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
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
669 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
755 enable_version_specific_runtime_libs
757 enable_maintainer_mode
759 enable_dependency_tracking
768 ac_precious_vars='build_alias
779 # Initialize some variables set by options.
781 ac_init_version=false
782 ac_unrecognized_opts=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name=s,x,x,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 -build | --build | --buil | --bui | --bu)
855 ac_prev=build_alias ;;
856 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857 build_alias=$ac_optarg ;;
859 -cache-file | --cache-file | --cache-fil | --cache-fi \
860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861 ac_prev=cache_file ;;
862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864 cache_file=$ac_optarg ;;
867 cache_file=config.cache ;;
869 -datadir | --datadir | --datadi | --datad)
871 -datadir=* | --datadir=* | --datadi=* | --datad=*)
872 datadir=$ac_optarg ;;
874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875 | --dataroo | --dataro | --datar)
876 ac_prev=datarootdir ;;
877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879 datarootdir=$ac_optarg ;;
881 -disable-* | --disable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 as_fn_error "invalid feature name: $ac_useropt"
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
895 eval enable_$ac_useropt=no ;;
897 -docdir | --docdir | --docdi | --doc | --do)
899 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
902 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
904 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
907 -enable-* | --enable-*)
908 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909 # Reject names that are not valid shell variable names.
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911 as_fn_error "invalid feature name: $ac_useropt"
912 ac_useropt_orig=$ac_useropt
913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914 case $ac_user_opts in
918 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919 ac_unrecognized_sep=', ';;
921 eval enable_$ac_useropt=\$ac_optarg ;;
923 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925 | --exec | --exe | --ex)
926 ac_prev=exec_prefix ;;
927 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929 | --exec=* | --exe=* | --ex=*)
930 exec_prefix=$ac_optarg ;;
932 -gas | --gas | --ga | --g)
933 # Obsolete; use --with-gas.
936 -help | --help | --hel | --he | -h)
938 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939 ac_init_help=recursive ;;
940 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941 ac_init_help=short ;;
943 -host | --host | --hos | --ho)
944 ac_prev=host_alias ;;
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
948 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 htmldir=$ac_optarg ;;
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958 | --includ=* | --inclu=* | --incl=* | --inc=*)
959 includedir=$ac_optarg ;;
961 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964 infodir=$ac_optarg ;;
966 -libdir | --libdir | --libdi | --libd)
968 -libdir=* | --libdir=* | --libdi=* | --libd=*)
971 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972 | --libexe | --libex | --libe)
973 ac_prev=libexecdir ;;
974 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975 | --libexe=* | --libex=* | --libe=*)
976 libexecdir=$ac_optarg ;;
978 -localedir | --localedir | --localedi | --localed | --locale)
980 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981 localedir=$ac_optarg ;;
983 -localstatedir | --localstatedir | --localstatedi | --localstated \
984 | --localstate | --localstat | --localsta | --localst | --locals)
985 ac_prev=localstatedir ;;
986 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988 localstatedir=$ac_optarg ;;
990 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 # Obsolete; use --without-fp.
999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000 | --no-cr | --no-c | -n)
1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1007 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009 | --oldin | --oldi | --old | --ol | --o)
1010 ac_prev=oldincludedir ;;
1011 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014 oldincludedir=$ac_optarg ;;
1016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019 prefix=$ac_optarg ;;
1021 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022 | --program-pre | --program-pr | --program-p)
1023 ac_prev=program_prefix ;;
1024 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026 program_prefix=$ac_optarg ;;
1028 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029 | --program-suf | --program-su | --program-s)
1030 ac_prev=program_suffix ;;
1031 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033 program_suffix=$ac_optarg ;;
1035 -program-transform-name | --program-transform-name \
1036 | --program-transform-nam | --program-transform-na \
1037 | --program-transform-n | --program-transform- \
1038 | --program-transform | --program-transfor \
1039 | --program-transfo | --program-transf \
1040 | --program-trans | --program-tran \
1041 | --progr-tra | --program-tr | --program-t)
1042 ac_prev=program_transform_name ;;
1043 -program-transform-name=* | --program-transform-name=* \
1044 | --program-transform-nam=* | --program-transform-na=* \
1045 | --program-transform-n=* | --program-transform-=* \
1046 | --program-transform=* | --program-transfor=* \
1047 | --program-transfo=* | --program-transf=* \
1048 | --program-trans=* | --program-tran=* \
1049 | --progr-tra=* | --program-tr=* | --program-t=*)
1050 program_transform_name=$ac_optarg ;;
1052 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055 pdfdir=$ac_optarg ;;
1057 -psdir | --psdir | --psdi | --psd | --ps)
1059 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 sbindir=$ac_optarg ;;
1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074 | --sharedst | --shareds | --shared | --share | --shar \
1076 ac_prev=sharedstatedir ;;
1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 sharedstatedir=$ac_optarg ;;
1083 -site | --site | --sit)
1085 -site=* | --site=* | --sit=*)
1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091 srcdir=$ac_optarg ;;
1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094 | --syscon | --sysco | --sysc | --sys | --sy)
1095 ac_prev=sysconfdir ;;
1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098 sysconfdir=$ac_optarg ;;
1100 -target | --target | --targe | --targ | --tar | --ta | --t)
1101 ac_prev=target_alias ;;
1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103 target_alias=$ac_optarg ;;
1105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1108 -version | --version | --versio | --versi | --vers | -V)
1109 ac_init_version=: ;;
1112 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval with_$ac_useropt=\$ac_optarg ;;
1127 -without-* | --without-*)
1128 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131 as_fn_error "invalid package name: $ac_useropt"
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1141 eval with_$ac_useropt=no ;;
1144 # Obsolete; use --with-x.
1147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148 | --x-incl | --x-inc | --x-in | --x-i)
1149 ac_prev=x_includes ;;
1150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152 x_includes=$ac_optarg ;;
1154 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156 ac_prev=x_libraries ;;
1157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159 x_libraries=$ac_optarg ;;
1161 -*) as_fn_error "unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information."
1166 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 case $ac_envvar in #(
1169 '' | [0-9]* | *[!_$as_cr_alnum]* )
1170 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1172 eval $ac_envvar=\$ac_optarg
1173 export $ac_envvar ;;
1176 # FIXME: should be removed in autoconf 3.0.
1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1186 if test -n "$ac_prev"; then
1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1188 as_fn_error "missing argument to $ac_option"
1191 if test -n "$ac_unrecognized_opts"; then
1192 case $enable_option_checking in
1194 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 # Check all directory arguments for consistency.
1200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir
1205 eval ac_val=\$$ac_var
1206 # Remove trailing slashes.
1209 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210 eval $ac_var=\$ac_val;;
1212 # Be sure to have absolute directory names.
1214 [\\/$]* | ?:[\\/]* ) continue;;
1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1225 target=$target_alias
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229 if test "x$build_alias" = x; then
1230 cross_compiling=maybe
1231 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232 If a cross compiler is detected then cross compile mode will be used." >&2
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241 test "$silent" = yes && exec 6>/dev/null
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247 as_fn_error "working directory cannot be determined"
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249 as_fn_error "pwd does not report name of working directory"
1252 # Find the source files, if location was not specified.
1253 if test -z "$srcdir"; then
1254 ac_srcdir_defaulted=yes
1255 # Try the directory containing this script, then the parent directory.
1256 ac_confdir=`$as_dirname -- "$as_myself" ||
1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258 X"$as_myself" : 'X\(//\)[^/]' \| \
1259 X"$as_myself" : 'X\(//\)$' \| \
1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261 $as_echo X"$as_myself" |
1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1284 ac_srcdir_defaulted=no
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1288 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var in $ac_precious_vars; do
1305 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_${ac_var}_value=\$${ac_var}
1307 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381 --build=BUILD configure for building on BUILD [guessed]
1382 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1383 --target=TARGET configure for building compilers for TARGET [HOST]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1398 --enable-intermodule build the library in one step
1399 --enable-maintainer-mode enable make rules and dependencies not useful
1400 (and sometimes confusing) to the casual installer
1401 --enable-multilib build many library versions (default)
1402 --disable-dependency-tracking speeds up one-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-shared[=PKGS] build shared libraries [default=yes]
1405 --enable-static[=PKGS] build static libraries [default=yes]
1406 --enable-fast-install[=PKGS]
1407 optimize for fast installation [default=yes]
1408 --disable-libtool-lock avoid locking (might break parallel builds)
1409 --disable-largefile omit support for large files
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-build-libsubdir=DIR Directory where to find libraries for build system
1415 --with-pic try to use only PIC/non-PIC objects [default=use
1417 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1428 FC Fortran compiler command
1429 FCFLAGS Fortran compiler flags
1431 Use these variables to override the choices made by `configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to the package provider.
1435 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1436 General help using GNU software: <http://www.gnu.org/gethelp/>.
1441 if test "$ac_init_help" = "recursive"; then
1442 # If there are subdirs, report their specific --help.
1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444 test -d "$ac_dir" ||
1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1466 .) # We are building in place.
1468 ac_top_srcdir=$ac_top_builddir_sub
1469 ac_abs_top_srcdir=$ac_pwd ;;
1470 [\\/]* | ?:[\\/]* ) # Absolute name.
1471 ac_srcdir=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir=$srcdir
1473 ac_abs_top_srcdir=$srcdir ;;
1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" || { ac_status=$?; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 cd "$ac_pwd" || { ac_status=$?; break; }
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1499 GNU Fortran Runtime Library configure 0.3
1500 generated by GNU Autoconf 2.64
1502 Copyright (C) 2009 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1509 ## ------------------------ ##
1510 ## Autoconf initialization. ##
1511 ## ------------------------ ##
1513 # ac_fn_c_try_compile LINENO
1514 # --------------------------
1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_compile ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 rm -f conftest.$ac_objext
1520 if { { ac_try="$ac_compile"
1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_compile") 2>conftest.err
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } && {
1536 test -z "$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1538 } && test -s conftest.$ac_objext; then :
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1549 } # ac_fn_c_try_compile
1551 # ac_fn_c_try_link LINENO
1552 # -----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded.
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext conftest$ac_exeext
1558 if { { ac_try="$ac_link"
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_link") 2>conftest.err
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest$ac_exeext && {
1577 test "$cross_compiling" = yes ||
1578 $as_test_x conftest$ac_exeext
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1588 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1589 # interfere with the next link command; also delete a directory that is
1590 # left behind by Apple's compiler. We do this before executing the actions.
1591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1595 } # ac_fn_c_try_link
1597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists and can be compiled using the include files in
1600 # INCLUDES, setting the cache variable VAR accordingly.
1601 ac_fn_c_check_header_compile ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1607 $as_echo_n "(cached) " >&6
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1614 if ac_fn_c_try_compile "$LINENO"; then :
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1626 } # ac_fn_c_check_header_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if { { ac_try="$ac_cpp conftest.$ac_ext"
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } >/dev/null && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 # ac_fn_c_try_run LINENO
1666 # ----------------------
1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1668 # that executables *can* be run.
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 if { { ac_try="$ac_link"
1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_link") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1683 { { case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_try") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; }; }; then :
1695 $as_echo "$as_me: program exited with status $ac_status" >&5
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1699 ac_retval=$ac_status
1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 # ac_fn_c_check_func LINENO FUNC VAR
1708 # ----------------------------------
1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1710 ac_fn_c_check_func ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1716 $as_echo_n "(cached) " >&6
1718 if test x$gcc_no_link = xyes; then
1719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1725 #define $2 innocuous_$2
1727 /* System header to define __stub macros and hopefully few prototypes,
1728 which can conflict with char $2 (); below.
1729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730 <limits.h> exists even on freestanding compilers. */
1733 # include <limits.h>
1735 # include <assert.h>
1740 /* Override any GCC internal prototype to avoid an error.
1741 Use char because int might match the return type of a GCC
1742 builtin and then its argument prototype would still apply. */
1747 /* The GNU C library defines this for functions which it implements
1748 to always fail with ENOSYS. Some functions are actually named
1749 something starting with __ and the normal name is an alias. */
1750 #if defined __stub_$2 || defined __stub___$2
1762 if ac_fn_c_try_link "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext \
1768 conftest$ac_exeext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 } # ac_fn_c_check_func
1777 # ac_fn_fc_try_compile LINENO
1778 # ---------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_fc_try_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 rm -f conftest.$ac_objext
1784 if { { ac_try="$ac_compile"
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_compile") 2>conftest.err
1793 if test -s conftest.err; then
1794 grep -v '^ *+' conftest.err >conftest.er1
1795 cat conftest.er1 >&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_fc_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest.$ac_objext; then :
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 } # ac_fn_fc_try_compile
1815 # ac_fn_fc_try_link LINENO
1816 # ------------------------
1817 # Try to link conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_fc_try_link ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext conftest$ac_exeext
1822 if { { ac_try="$ac_link"
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_link") 2>conftest.err
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_fc_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest$ac_exeext && {
1841 test "$cross_compiling" = yes ||
1842 $as_test_x conftest$ac_exeext
1846 $as_echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.$ac_ext >&5
1851 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1852 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1853 # interfere with the next link command; also delete a directory that is
1854 # left behind by Apple's compiler. We do this before executing the actions.
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859 } # ac_fn_fc_try_link
1861 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1862 # -------------------------------------------
1863 # Tests whether TYPE exists after having included INCLUDES, setting cache
1864 # variable VAR accordingly.
1865 ac_fn_c_check_type ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871 $as_echo_n "(cached) " >&6
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1886 if ac_fn_c_try_compile "$LINENO"; then :
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1899 if ac_fn_c_try_compile "$LINENO"; then :
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 } # ac_fn_c_check_type
1915 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1916 # -------------------------------------------------------
1917 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1918 # the include files in INCLUDES and setting the cache variable VAR
1920 ac_fn_c_check_header_mongrel ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927 $as_echo_n "(cached) " >&6
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1933 # Is the header compilable?
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1935 $as_echo_n "checking $2 usability... " >&6; }
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1941 if ac_fn_c_try_compile "$LINENO"; then :
1942 ac_header_compiler=yes
1944 ac_header_compiler=no
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1948 $as_echo "$ac_header_compiler" >&6; }
1950 # Is the header present?
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1952 $as_echo_n "checking $2 presence... " >&6; }
1953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1957 if ac_fn_c_try_cpp "$LINENO"; then :
1958 ac_header_preproc=yes
1960 ac_header_preproc=no
1962 rm -f conftest.err conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1964 $as_echo "$ac_header_preproc" >&6; }
1966 # So? What about this header?
1967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1970 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1976 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1978 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1980 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1982 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1984 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1990 $as_echo_n "(cached) " >&6
1992 eval "$3=\$ac_header_compiler"
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1998 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2000 } # ac_fn_c_check_header_mongrel
2002 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2003 # --------------------------------------------
2004 # Tries to find the compile-time value of EXPR in a program that includes
2005 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2007 ac_fn_c_compute_int ()
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 if test "$cross_compiling" = yes; then
2011 # Depending upon the size, compute the lo and hi bounds.
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2018 static int test_array [1 - 2 * !(($2) >= 0)];
2025 if ac_fn_c_try_compile "$LINENO"; then :
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_hi=$ac_mid; break
2044 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2045 if test $ac_lo -le $ac_mid; then
2049 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2060 static int test_array [1 - 2 * !(($2) < 0)];
2067 if ac_fn_c_try_compile "$LINENO"; then :
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2076 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 ac_lo=$ac_mid; break
2086 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2087 if test $ac_mid -le $ac_hi; then
2091 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 # Binary search between lo and hi bounds.
2102 while test "x$ac_lo" != "x$ac_hi"; do
2103 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2110 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2117 if ac_fn_c_try_compile "$LINENO"; then :
2120 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2132 static long int longval () { return $2; }
2133 static unsigned long int ulongval () { return $2; }
2140 FILE *f = fopen ("conftest.val", "w");
2145 long int i = longval ();
2148 fprintf (f, "%ld", i);
2152 unsigned long int i = ulongval ();
2155 fprintf (f, "%lu", i);
2157 /* Do not output a trailing newline, as this causes \r\n confusion
2158 on some platforms. */
2159 return ferror (f) || fclose (f) != 0;
2165 if ac_fn_c_try_run "$LINENO"; then :
2166 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2171 conftest.$ac_objext conftest.beam conftest.$ac_ext
2175 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2178 } # ac_fn_c_compute_int
2180 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2181 # ----------------------------------------------------
2182 # Tries to find if the field MEMBER exists in type AGGR, after including
2183 # INCLUDES, setting cache variable VAR accordingly.
2184 ac_fn_c_check_member ()
2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2188 $as_echo_n "checking for $2.$3... " >&6; }
2189 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2190 $as_echo_n "(cached) " >&6
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2205 if ac_fn_c_try_compile "$LINENO"; then :
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2215 if (sizeof ac_aggr.$3)
2221 if ac_fn_c_try_compile "$LINENO"; then :
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2235 } # ac_fn_c_check_member
2236 cat >config.log <<_ACEOF
2237 This file contains any messages produced by compilers while
2238 running configure, to aid debugging if configure makes a mistake.
2240 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2241 generated by GNU Autoconf 2.64. Invocation command line was
2253 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2254 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2255 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2256 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2257 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2259 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2260 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2262 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2263 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2264 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2265 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2266 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2267 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2268 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 $as_echo "PATH: $as_dir"
2293 # Keep a trace of the command line.
2294 # Strip out --no-create and --no-recursion so they do not pile up.
2295 # Strip out --silent because we don't want to record it for future runs.
2296 # Also quote any args containing shell meta-characters.
2297 # Make two passes to allow for proper duplicate-argument suppression.
2301 ac_must_keep_next=false
2307 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2309 | -silent | --silent | --silen | --sile | --sil)
2312 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2315 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2317 as_fn_append ac_configure_args1 " '$ac_arg'"
2318 if test $ac_must_keep_next = true; then
2319 ac_must_keep_next=false # Got value, back to normal.
2322 *=* | --config-cache | -C | -disable-* | --disable-* \
2323 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2324 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2325 | -with-* | --with-* | -without-* | --without-* | --x)
2326 case "$ac_configure_args0 " in
2327 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2330 -* ) ac_must_keep_next=true ;;
2333 as_fn_append ac_configure_args " '$ac_arg'"
2338 { ac_configure_args0=; unset ac_configure_args0;}
2339 { ac_configure_args1=; unset ac_configure_args1;}
2341 # When interrupted or exit'd, cleanup temporary files, and complete
2342 # config.log. We remove comments because anyway the quotes in there
2343 # would cause problems or look ugly.
2344 # WARNING: Use '\'' to represent an apostrophe within the trap.
2345 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2346 trap 'exit_status=$?
2347 # Save into config.log some information that might help in debugging.
2352 ## ---------------- ##
2353 ## Cache variables. ##
2354 ## ---------------- ##
2357 # The following way of writing the cache mishandles newlines in values,
2359 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2360 eval ac_val=\$$ac_var
2364 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2368 _ | IFS | as_nl) ;; #(
2369 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2370 *) { eval $ac_var=; unset $ac_var;} ;;
2375 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2376 *${as_nl}ac_space=\ *)
2378 "s/'\''/'\''\\\\'\'''\''/g;
2379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2382 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2390 ## ----------------- ##
2391 ## Output variables. ##
2392 ## ----------------- ##
2395 for ac_var in $ac_subst_vars
2397 eval ac_val=\$$ac_var
2399 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2401 $as_echo "$ac_var='\''$ac_val'\''"
2405 if test -n "$ac_subst_files"; then
2407 ## ------------------- ##
2408 ## File substitutions. ##
2409 ## ------------------- ##
2412 for ac_var in $ac_subst_files
2414 eval ac_val=\$$ac_var
2416 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2418 $as_echo "$ac_var='\''$ac_val'\''"
2423 if test -s confdefs.h; then
2433 test "$ac_signal" != 0 &&
2434 $as_echo "$as_me: caught signal $ac_signal"
2435 $as_echo "$as_me: exit $exit_status"
2437 rm -f core *.core core.conftest.* &&
2438 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2441 for ac_signal in 1 2 13 15; do
2442 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2446 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2447 rm -f -r conftest* confdefs.h
2449 $as_echo "/* confdefs.h */" > confdefs.h
2451 # Predefined preprocessor variables.
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_NAME "$PACKAGE_NAME"
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_STRING "$PACKAGE_STRING"
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_URL "$PACKAGE_URL"
2478 # Let the site file select an alternate cache file if it wants to.
2479 # Prefer an explicitly selected file to automatically selected ones.
2482 if test -n "$CONFIG_SITE"; then
2483 ac_site_file1=$CONFIG_SITE
2484 elif test "x$prefix" != xNONE; then
2485 ac_site_file1=$prefix/share/config.site
2486 ac_site_file2=$prefix/etc/config.site
2488 ac_site_file1=$ac_default_prefix/share/config.site
2489 ac_site_file2=$ac_default_prefix/etc/config.site
2491 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2493 test "x$ac_site_file" = xNONE && continue
2494 if test -r "$ac_site_file"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2496 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2497 sed 's/^/| /' "$ac_site_file" >&5
2502 if test -r "$cache_file"; then
2503 # Some versions of bash will fail to source /dev/null (special
2504 # files actually), so we avoid doing that.
2505 if test -f "$cache_file"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2507 $as_echo "$as_me: loading cache $cache_file" >&6;}
2509 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2510 *) . "./$cache_file";;
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2515 $as_echo "$as_me: creating cache $cache_file" >&6;}
2519 # Check that the precious variables saved in the cache have kept the same
2521 ac_cache_corrupted=false
2522 for ac_var in $ac_precious_vars; do
2523 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524 eval ac_new_set=\$ac_env_${ac_var}_set
2525 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526 eval ac_new_val=\$ac_env_${ac_var}_value
2527 case $ac_old_set,$ac_new_set in
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531 ac_cache_corrupted=: ;;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535 ac_cache_corrupted=: ;;
2538 if test "x$ac_old_val" != "x$ac_new_val"; then
2539 # differences in whitespace do not lead to failure.
2540 ac_old_val_w=`echo x $ac_old_val`
2541 ac_new_val_w=`echo x $ac_new_val`
2542 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545 ac_cache_corrupted=:
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549 eval $ac_var=\$ac_old_val
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2552 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2554 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2557 # Pass precious variables to config.status.
2558 if test "$ac_new_set" = set; then
2560 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561 *) ac_arg=$ac_var=$ac_new_val ;;
2563 case " $ac_configure_args " in
2564 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2565 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2569 if $ac_cache_corrupted; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2576 ## -------------------- ##
2577 ## Main body of script. ##
2578 ## -------------------- ##
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2590 ac_config_headers="$ac_config_headers config.h"
2593 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2594 for ac_t in install-sh install.sh shtool; do
2595 if test -f "$ac_dir/$ac_t"; then
2597 ac_install_sh="$ac_aux_dir/$ac_t -c"
2602 if test -z "$ac_aux_dir"; then
2603 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2606 # These three variables are undocumented and unsupported,
2607 # and are intended to be withdrawn in a future Autoconf release.
2608 # They can cause serious problems if a builder's source tree is in a directory
2609 # whose full name contains unusual characters.
2610 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2611 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2612 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2615 # Make sure we can run config.sub.
2616 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2617 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2620 $as_echo_n "checking build system type... " >&6; }
2621 if test "${ac_cv_build+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 ac_build_alias=$build_alias
2625 test "x$ac_build_alias" = x &&
2626 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2627 test "x$ac_build_alias" = x &&
2628 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2629 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2630 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2634 $as_echo "$ac_cv_build" >&6; }
2635 case $ac_cv_build in
2637 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2640 ac_save_IFS=$IFS; IFS='-'
2646 # Remember, the first character of IFS is used to create $*,
2647 # except with old shells:
2650 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2653 case ${build_alias} in
2654 "") build_noncanonical=${build} ;;
2655 *) build_noncanonical=${build_alias} ;;
2658 case ${host_alias} in
2659 "") host_noncanonical=${build_noncanonical} ;;
2660 *) host_noncanonical=${host_alias} ;;
2663 case ${target_alias} in
2664 "") target_noncanonical=${host_noncanonical} ;;
2665 *) target_noncanonical=${target_alias} ;;
2669 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2670 # have matching libraries, they should use host libraries: Makefile.tpl
2671 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2672 # However, they still use the build modules, because the corresponding
2673 # host modules (e.g. bison) are only built for the host when bootstrap
2675 # - build_subdir is where we find build modules, and never changes.
2676 # - build_libsubdir is where we find build libraries, and can be overridden.
2678 # Prefix 'build-' so this never conflicts with target_subdir.
2679 build_subdir="build-${build_noncanonical}"
2681 # Check whether --with-build-libsubdir was given.
2682 if test "${with_build_libsubdir+set}" = set; then :
2683 withval=$with_build_libsubdir; build_libsubdir="$withval"
2685 build_libsubdir="$build_subdir"
2688 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2689 if ( test $srcdir = . && test -d gcc ) \
2690 || test -d $srcdir/../host-${host_noncanonical}; then
2691 host_subdir="host-${host_noncanonical}"
2696 target_subdir=${target_noncanonical}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2704 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2705 # Check whether --enable-version-specific-runtime-libs was given.
2706 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2707 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2708 yes) version_specific_libs=yes ;;
2709 no) version_specific_libs=no ;;
2710 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2713 version_specific_libs=no
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2717 $as_echo "$version_specific_libs" >&6; }
2719 # Build with intermodule optimisations
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2721 $as_echo_n "checking for --enable-intermodule... " >&6; }
2722 # Check whether --enable-intermodule was given.
2723 if test "${enable_intermodule+set}" = set; then :
2724 enableval=$enable_intermodule; case "$enable_intermodule" in
2725 yes) onestep="-onestep";;
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2733 $as_echo "$enable_intermodule" >&6; }
2734 if test x$onestep = x-onestep; then
2744 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2746 # You will slowly go insane if you do not grok the following fact: when
2747 # building this library, the top-level /target/ becomes the library's /host/.
2749 # configure then causes --target to default to --host, exactly like any
2750 # other package using autoconf. Therefore, 'target' and 'host' will
2751 # always be the same. This makes sense both for native and cross compilers
2752 # just think about it for a little while. :-)
2754 # Also, if this library is being configured as part of a cross compiler, the
2755 # top-level configure script will pass the "real" host as $with_cross_host.
2757 # Do not delete or change the following two lines. For why, see
2758 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2760 $as_echo_n "checking host system type... " >&6; }
2761 if test "${ac_cv_host+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 if test "x$host_alias" = x; then
2765 ac_cv_host=$ac_cv_build
2767 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2768 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2773 $as_echo "$ac_cv_host" >&6; }
2776 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2779 ac_save_IFS=$IFS; IFS='-'
2785 # Remember, the first character of IFS is used to create $*,
2786 # except with old shells:
2789 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2793 $as_echo_n "checking target system type... " >&6; }
2794 if test "${ac_cv_target+set}" = set; then :
2795 $as_echo_n "(cached) " >&6
2797 if test "x$target_alias" = x; then
2798 ac_cv_target=$ac_cv_host
2800 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2801 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2806 $as_echo "$ac_cv_target" >&6; }
2807 case $ac_cv_target in
2809 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2811 target=$ac_cv_target
2812 ac_save_IFS=$IFS; IFS='-'
2818 # Remember, the first character of IFS is used to create $*,
2819 # except with old shells:
2822 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2825 # The aliases save the names the user supplied, while $host etc.
2826 # will get canonicalized.
2827 test -n "$target_alias" &&
2828 test "$program_prefix$program_suffix$program_transform_name" = \
2830 program_prefix=${target_alias}-
2832 target_alias=${target_alias-$host_alias}
2834 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2835 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2836 # 1.9.6: minimum required version
2837 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2838 # of other PACKAGE_* variables will, however, and there's nothing
2839 # we can do about that; they come from AC_INIT).
2840 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2841 # file in the top srcdir, etc, etc), so stop complaining.
2842 # no-dist: we don't want 'dist' and related rules.
2843 # -Wall: turns on all automake warnings...
2844 # -Wno-portability: ...except this one, since GNU make is required.
2845 am__api_version='1.11'
2847 # Find a good install program. We prefer a C program (faster),
2848 # so one script is as good as another. But avoid the broken or
2849 # incompatible versions:
2850 # SysV /etc/install, /usr/sbin/install
2851 # SunOS /usr/etc/install
2852 # IRIX /sbin/install
2854 # AmigaOS /C/install, which installs bootblocks on floppy discs
2855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2858 # OS/2's system install, which has a completely different semantic
2859 # ./install, which can be erroneously created by make from ./install.sh.
2860 # Reject install programs that cannot install multiple files.
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2862 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2863 if test -z "$INSTALL"; then
2864 if test "${ac_cv_path_install+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 # Account for people who put trailing slashes in PATH elements.
2873 case $as_dir/ in #((
2874 ./ | .// | /[cC]/* | \
2875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2876 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2879 # OSF1 and SCO ODT 3.0 have their own names for install.
2880 # Don't use installbsd from OSF since it installs stuff as root
2882 for ac_prog in ginstall scoinst install; do
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2885 if test $ac_prog = install &&
2886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2887 # AIX install. It has an incompatible calling convention.
2889 elif test $ac_prog = install &&
2890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891 # program-specific install script used by HP pwplus--don't use.
2894 rm -rf conftest.one conftest.two conftest.dir
2895 echo one > conftest.one
2896 echo two > conftest.two
2898 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2899 test -s conftest.one && test -s conftest.two &&
2900 test -s conftest.dir/conftest.one &&
2901 test -s conftest.dir/conftest.two
2903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2916 rm -rf conftest.one conftest.two conftest.dir
2919 if test "${ac_cv_path_install+set}" = set; then
2920 INSTALL=$ac_cv_path_install
2922 # As a last resort, use the slow shell script. Don't cache a
2923 # value for INSTALL within a source directory, because that will
2924 # break other packages using the cache if that directory is
2925 # removed, or if the value is a relative name.
2926 INSTALL=$ac_install_sh
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2930 $as_echo "$INSTALL" >&6; }
2932 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2933 # It thinks the first close brace ends the variable substitution.
2934 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2936 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2938 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2941 $as_echo_n "checking whether build environment is sane... " >&6; }
2944 echo timestamp > conftest.file
2945 # Reject unsafe characters in $srcdir or the absolute working directory
2946 # name. Accept space and tab only in the latter.
2950 *[\\\"\#\$\&\'\`$am_lf]*)
2951 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2954 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2955 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2958 # Do `set' in a subshell so we don't clobber the current shell's
2959 # arguments. Must try -L first in case configure is actually a
2960 # symlink; some systems play weird games with the mod time of symlinks
2961 # (eg FreeBSD returns the mod time of the symlink's containing
2964 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2965 if test "$*" = "X"; then
2967 set X `ls -t "$srcdir/configure" conftest.file`
2970 if test "$*" != "X $srcdir/configure conftest.file" \
2971 && test "$*" != "X conftest.file $srcdir/configure"; then
2973 # If neither matched, then we have a broken ls. This can happen
2974 # if, for instance, CONFIG_SHELL is bash and it inherits a
2975 # broken ls alias from the environment. This has actually
2976 # happened. Such a system could not be considered "sane".
2977 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2978 alias in your environment" "$LINENO" 5
2981 test "$2" = conftest.file
2987 as_fn_error "newly created file is older than distributed files!
2988 Check your system clock" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2991 $as_echo "yes" >&6; }
2992 test "$program_prefix" != NONE &&
2993 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2994 # Use a double $ so make ignores it.
2995 test "$program_suffix" != NONE &&
2996 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2997 # Double any \ or $.
2998 # By default was `s,x,x', remove it if useless.
2999 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3000 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3002 # expand $ac_aux_dir to an absolute path
3003 am_aux_dir=`cd $ac_aux_dir && pwd`
3005 if test x"${MISSING+set}" != xset; then
3008 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3010 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3013 # Use eval to expand $SHELL
3014 if eval "$MISSING --run true"; then
3015 am_missing_run="$MISSING --run "
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3019 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3022 if test x"${install_sh}" != xset; then
3025 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3027 install_sh="\${SHELL} $am_aux_dir/install-sh"
3031 # Installed binaries are usually stripped using `strip' when the user
3032 # run `make install-strip'. However `strip' might not be the right
3033 # tool to use in cross-compilation environments, therefore Automake
3034 # will honor the `STRIP' environment variable to overrule this program.
3035 if test "$cross_compiling" != no; then
3036 if test -n "$ac_tool_prefix"; then
3037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3038 set dummy ${ac_tool_prefix}strip; ac_word=$2
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040 $as_echo_n "checking for $ac_word... " >&6; }
3041 if test "${ac_cv_prog_STRIP+set}" = set; then :
3042 $as_echo_n "(cached) " >&6
3044 if test -n "$STRIP"; then
3045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir=.
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 STRIP=$ac_cv_prog_STRIP
3065 if test -n "$STRIP"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3067 $as_echo "$STRIP" >&6; }
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3075 if test -z "$ac_cv_prog_STRIP"; then
3077 # Extract the first word of "strip", so it can be a program name with args.
3078 set dummy strip; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$ac_ct_STRIP"; then
3085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir=.
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094 ac_cv_prog_ac_ct_STRIP="strip"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3105 if test -n "$ac_ct_STRIP"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3107 $as_echo "$ac_ct_STRIP" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3113 if test "x$ac_ct_STRIP" = x; then
3116 case $cross_compiling:$ac_tool_warned in
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned=yes ;;
3125 STRIP="$ac_cv_prog_STRIP"
3129 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3132 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3133 if test -z "$MKDIR_P"; then
3134 if test "${ac_cv_path_mkdir+set}" = set; then :
3135 $as_echo_n "(cached) " >&6
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3141 test -z "$as_dir" && as_dir=.
3142 for ac_prog in mkdir gmkdir; do
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3145 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3146 'mkdir (GNU coreutils) '* | \
3147 'mkdir (coreutils) '* | \
3148 'mkdir (fileutils) '4.1*)
3149 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3159 if test "${ac_cv_path_mkdir+set}" = set; then
3160 MKDIR_P="$ac_cv_path_mkdir -p"
3162 # As a last resort, use the slow shell script. Don't cache a
3163 # value for MKDIR_P within a source directory, because that will
3164 # break other packages using the cache if that directory is
3165 # removed, or if the value is a relative name.
3166 test -d ./--version && rmdir ./--version
3167 MKDIR_P="$ac_install_sh -d"
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3171 $as_echo "$MKDIR_P" >&6; }
3175 [\\/$]* | ?:[\\/]*) ;;
3176 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3179 for ac_prog in gawk mawk nawk awk
3181 # Extract the first word of "$ac_prog", so it can be a program name with args.
3182 set dummy $ac_prog; ac_word=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if test "${ac_cv_prog_AWK+set}" = set; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$AWK"; then
3189 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir=.
3196 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_AWK="$ac_prog"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 if test -n "$AWK"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3211 $as_echo "$AWK" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3218 test -n "$AWK" && break
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3222 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3224 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3226 $as_echo_n "(cached) " >&6
3228 cat >conftest.make <<\_ACEOF
3231 @echo '@@@%%%=$(MAKE)=@@@%%%'
3233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3236 eval ac_cv_prog_make_${ac_make}_set=yes;;
3238 eval ac_cv_prog_make_${ac_make}_set=no;;
3242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 SET_MAKE="MAKE=${MAKE-make}"
3252 rm -rf .tst 2>/dev/null
3253 mkdir .tst 2>/dev/null
3254 if test -d .tst; then
3259 rmdir .tst 2>/dev/null
3261 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3262 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3263 # is not polluted with repeated "-I."
3264 am__isrc=' -I$(srcdir)'
3265 # test to see if srcdir already configured
3266 if test -f $srcdir/config.status; then
3267 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3271 # test whether we have cygpath
3272 if test -z "$CYGPATH_W"; then
3273 if (cygpath --version) >/dev/null 2>/dev/null; then
3274 CYGPATH_W='cygpath -w'
3281 # Define the identity of the package.
3282 PACKAGE='libgfortran'
3286 # Some tools Automake needs.
3288 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3291 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3294 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3297 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3300 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3302 # We need awk for the "check" target. The system "awk" is bad on
3304 # Always define AMTAR for backward compatibility.
3306 AMTAR=${AMTAR-"${am_missing_run}tar"}
3308 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3317 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3318 # Check whether --enable-maintainer-mode was given.
3319 if test "${enable_maintainer_mode+set}" = set; then :
3320 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3322 USE_MAINTAINER_MODE=no
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3326 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3327 if test $USE_MAINTAINER_MODE = yes; then
3328 MAINTAINER_MODE_TRUE=
3329 MAINTAINER_MODE_FALSE='#'
3331 MAINTAINER_MODE_TRUE='#'
3332 MAINTAINER_MODE_FALSE=
3335 MAINT=$MAINTAINER_MODE_TRUE
3338 # Default to --enable-multilib
3339 # Check whether --enable-multilib was given.
3340 if test "${enable_multilib+set}" = set; then :
3341 enableval=$enable_multilib; case "$enableval" in
3342 yes) multilib=yes ;;
3344 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3351 # We may get other options which we leave undocumented:
3352 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3353 # See config-ml.in if you want the gory details.
3355 if test "$srcdir" = "."; then
3356 if test "$with_target_subdir" != "."; then
3357 multi_basedir="$srcdir/$with_multisrctop../.."
3359 multi_basedir="$srcdir/$with_multisrctop.."
3362 multi_basedir="$srcdir/.."
3366 # Even if the default multilib is not a cross compilation,
3367 # it may be that some of the other multilibs are.
3368 if test $cross_compiling = no && test $multilib = yes \
3369 && test "x${with_multisubdir}" != x ; then
3370 cross_compiling=maybe
3373 ac_config_commands="$ac_config_commands default-1"
3376 # Handy for debugging:
3377 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3379 # Are we being configured with some form of cross compiler?
3380 # NB: We don't actually need to know this just now, but when, say, a test
3381 # suite is included, we'll have to know.
3382 if test "$build" != "$host"; then
3383 LIBGFOR_IS_NATIVE=false
3386 LIBGFOR_IS_NATIVE=true
3389 # Calculate toolexeclibdir
3390 # Also toolexecdir, though it's only used in toolexeclibdir
3391 case ${version_specific_libs} in
3393 # Need the gcc compiler version to know where to install libraries
3394 # and header files if --enable-version-specific-runtime-libs option
3396 toolexecdir='$(libdir)/gcc/$(target_alias)'
3397 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3400 if test -n "$with_cross_host" &&
3401 test x"$with_cross_host" != x"no"; then
3402 # Install a library built with a cross compiler in tooldir, not libdir.
3403 toolexecdir='$(exec_prefix)/$(target_alias)'
3404 toolexeclibdir='$(toolexecdir)/lib'
3406 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3407 toolexeclibdir='$(libdir)'
3409 multi_os_directory=`$CC -print-multi-os-directory`
3410 case $multi_os_directory in
3411 .) ;; # Avoid trailing /.
3412 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3419 # Create a spec file, so that compile/link tests don't fail
3420 test -f libgfortran.spec || touch libgfortran.spec
3422 # Check the compiler.
3423 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3424 # We must force CC to /not/ be precious variables; otherwise
3425 # the wrong, non-multilib-adjusted value will be used in multilibs.
3426 # As a side effect, we have to subst CFLAGS ourselves.
3431 ac_cpp='$CPP $CPPFLAGS'
3432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3435 if test -n "$ac_tool_prefix"; then
3436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_CC+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$CC"; then
3444 ac_cv_prog_CC="$CC" # Let the user override the test.
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 if test -n "$CC"; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3466 $as_echo "$CC" >&6; }
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3474 if test -z "$ac_cv_prog_CC"; then
3476 # Extract the first word of "gcc", so it can be a program name with args.
3477 set dummy gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -n "$ac_ct_CC"; then
3484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493 ac_cv_prog_ac_ct_CC="gcc"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3504 if test -n "$ac_ct_CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3506 $as_echo "$ac_ct_CC" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3512 if test "x$ac_ct_CC" = x; then
3515 case $cross_compiling:$ac_tool_warned in
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3527 if test -z "$CC"; then
3528 if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3530 set dummy ${ac_tool_prefix}cc; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if test "${ac_cv_prog_CC+set}" = set; then :
3534 $as_echo_n "(cached) " >&6
3536 if test -n "$CC"; then
3537 ac_cv_prog_CC="$CC" # Let the user override the test.
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3546 ac_cv_prog_CC="${ac_tool_prefix}cc"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 if test -n "$CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3568 if test -z "$CC"; then
3569 # Extract the first word of "cc", so it can be a program name with args.
3570 set dummy cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3588 ac_prog_rejected=yes
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 if test $ac_prog_rejected = yes; then
3600 # We found a bogon in the path, so make sure we never use it.
3601 set dummy $ac_cv_prog_CC
3603 if test $# != 0; then
3604 # We chose a different compiler from the bogus one.
3605 # However, it has the same basename, so the bogon will be chosen
3606 # first if we set CC to just the basename; use the full file name.
3608 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3614 if test -n "$CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3616 $as_echo "$CC" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$CC"; then
3625 if test -n "$ac_tool_prefix"; then
3626 for ac_prog in cl.exe
3628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if test "${ac_cv_prog_CC+set}" = set; then :
3633 $as_echo_n "(cached) " >&6
3635 if test -n "$CC"; then
3636 ac_cv_prog_CC="$CC" # Let the user override the test.
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3645 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 if test -n "$CC"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3665 test -n "$CC" && break
3668 if test -z "$CC"; then
3670 for ac_prog in cl.exe
3672 # Extract the first word of "$ac_prog", so it can be a program name with args.
3673 set dummy $ac_prog; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="$ac_prog"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3709 test -n "$ac_ct_CC" && break
3712 if test "x$ac_ct_CC" = x; then
3715 case $cross_compiling:$ac_tool_warned in
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3719 ac_tool_warned=yes ;;
3728 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error "no acceptable C compiler found in \$PATH
3731 See \`config.log' for more details." "$LINENO" 5; }
3733 # Provide some information about the compiler.
3734 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3737 for ac_option in --version -v -V -qversion; do
3738 { { ac_try="$ac_compiler $ac_option >&5"
3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744 $as_echo "$ac_try_echo"; } >&5
3745 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3747 if test -s conftest.err; then
3749 ... rest of stderr output deleted ...
3750 10q' conftest.err >conftest.er1
3751 cat conftest.er1 >&5
3752 rm -f conftest.er1 conftest.err
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755 test $ac_status = 0; }
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3771 (eval $ac_link) 2>&5
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }; then :
3779 if test x$gcc_no_link = xyes; then
3780 # Setting cross_compile will disable run tests; it will
3781 # also disable AC_CHECK_FILE but that's generally
3782 # correct if we can't link.
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3797 ac_clean_files_save=$ac_clean_files
3798 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3799 # Try to create an executable without -o first, disregard a.out.
3800 # It will help us diagnose broken compilers, and finding out an intuition
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3803 $as_echo_n "checking for C compiler default output file name... " >&6; }
3804 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3806 # The possible output files:
3807 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3810 for ac_file in $ac_files
3813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3814 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3819 if { { ac_try="$ac_link_default"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_link_default") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }; then :
3830 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3831 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3832 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3833 # so that the user can short-circuit this test for compilers unknown to
3835 for ac_file in $ac_files ''
3837 test -f "$ac_file" || continue
3839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3842 # We found the default executable, but exeext='' is most
3846 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3848 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3850 # We set ac_cv_exeext here because the later test for it is not
3851 # safe: cross compilers may not add the suffix if given an `-o'
3852 # argument, so we may need to know it at that point already.
3853 # Even if this section looks crufty: it has the advantage of
3860 test "$ac_cv_exeext" = no && ac_cv_exeext=
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3866 $as_echo "$ac_file" >&6; }
3867 if test -z "$ac_file"; then :
3868 $as_echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 { as_fn_set_status 77
3874 as_fn_error "C compiler cannot create executables
3875 See \`config.log' for more details." "$LINENO" 5; }; }
3877 ac_exeext=$ac_cv_exeext
3879 # Check that the compiler produces executables we can run. If not, either
3880 # the compiler is broken, or we cross compile.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3882 $as_echo_n "checking whether the C compiler works... " >&6; }
3883 # If not cross compiling, check that we can run a simple program.
3884 if test "$cross_compiling" != yes; then
3885 if { ac_try='./$ac_file'
3886 { { case "(($ac_try" in
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_try") 2>&5
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; }; then
3898 if test "$cross_compiling" = maybe; then
3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error "cannot run C compiled programs.
3904 If you meant to cross compile, use \`--host'.
3905 See \`config.log' for more details." "$LINENO" 5; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3912 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3913 ac_clean_files=$ac_clean_files_save
3914 # Check that the compiler produces executables we can run. If not, either
3915 # the compiler is broken, or we cross compile.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3917 $as_echo_n "checking whether we are cross compiling... " >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3919 $as_echo "$cross_compiling" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3922 $as_echo_n "checking for suffix of executables... " >&6; }
3923 if { { ac_try="$ac_link"
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link") 2>&5
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3935 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3936 # work properly (i.e., refer to `conftest.exe'), while it won't with
3938 for ac_file in conftest.exe conftest conftest.*; do
3939 test -f "$ac_file" || continue
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 as_fn_error "cannot compute suffix of executables: cannot compile and link
3951 See \`config.log' for more details." "$LINENO" 5; }
3953 rm -f conftest$ac_cv_exeext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3955 $as_echo "$ac_cv_exeext" >&6; }
3957 rm -f conftest.$ac_ext
3958 EXEEXT=$ac_cv_exeext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962 $as_echo_n "checking for suffix of object files... " >&6; }
3963 if test "${ac_cv_objext+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try="$ac_compile"
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_compile") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 for ac_file in conftest.o conftest.obj conftest.*; do
3990 test -f "$ac_file" || continue;
3992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3998 $as_echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error "cannot compute suffix of object files: cannot compile
4004 See \`config.log' for more details." "$LINENO" 5; }
4006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009 $as_echo "$ac_cv_objext" >&6; }
4010 OBJEXT=$ac_cv_objext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4015 $as_echo_n "(cached) " >&6
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4031 if ac_fn_c_try_compile "$LINENO"; then :
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042 if test $ac_compiler_gnu = yes; then
4047 ac_test_CFLAGS=${CFLAGS+set}
4048 ac_save_CFLAGS=$CFLAGS
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4051 if test "${ac_cv_prog_cc_g+set}" = set; then :
4052 $as_echo_n "(cached) " >&6
4054 ac_save_c_werror_flag=$ac_c_werror_flag
4055 ac_c_werror_flag=yes
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile "$LINENO"; then :
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_c_try_compile "$LINENO"; then :
4087 ac_c_werror_flag=$ac_save_c_werror_flag
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4100 if ac_fn_c_try_compile "$LINENO"; then :
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_c_werror_flag=$ac_save_c_werror_flag
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111 $as_echo "$ac_cv_prog_cc_g" >&6; }
4112 if test "$ac_test_CFLAGS" = set; then
4113 CFLAGS=$ac_save_CFLAGS
4114 elif test $ac_cv_prog_cc_g = yes; then
4115 if test "$GCC" = yes; then
4121 if test "$GCC" = yes; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4132 ac_cv_prog_cc_c89=no
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 #include <sys/types.h>
4139 #include <sys/stat.h>
4140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4141 struct buf { int x; };
4142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4143 static char *e (p, i)
4149 static char *f (char * (*g) (char **, int), char **p, ...)
4154 s = g (p, va_arg (v,int));
4159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4160 function prototypes and stuff, but not '\xHH' hex character constants.
4161 These don't provoke an error unfortunately, instead are silently treated
4162 as 'x'. The following induces an error, until -std is added to get
4163 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4164 array size at least. It's necessary to write '\x00'==0 to get something
4165 that's true only with -std. */
4166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4169 inside strings and character constants. */
4171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4173 int test (int i, double x);
4174 struct s1 {int (*f) (int a);};
4175 struct s2 {int (*f) (double a);};
4176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4182 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4188 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4190 CC="$ac_save_CC $ac_arg"
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_prog_cc_c89=$ac_arg
4194 rm -f core conftest.err conftest.$ac_objext
4195 test "x$ac_cv_prog_cc_c89" != "xno" && break
4197 rm -f conftest.$ac_ext
4202 case "x$ac_cv_prog_cc_c89" in
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4205 $as_echo "none needed" >&6; } ;;
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4208 $as_echo "unsupported" >&6; } ;;
4210 CC="$CC $ac_cv_prog_cc_c89"
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4214 if test "x$ac_cv_prog_cc_c89" != xno; then :
4219 ac_cpp='$CPP $CPPFLAGS'
4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4223 DEPDIR="${am__leading_dot}deps"
4225 ac_config_commands="$ac_config_commands depfiles"
4228 am_make=${MAKE-make}
4229 cat > confinc << 'END'
4231 @echo this is the am__doit target
4234 # If we don't find an include directive, just comment out the code.
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4236 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4240 # First try GNU make style include.
4241 echo "include confinc" > confmf
4242 # Ignore all kinds of additional output from `make'.
4243 case `$am_make -s -f confmf 2> /dev/null` in #(
4244 *the\ am__doit\ target*)
4250 # Now try BSD make style include.
4251 if test "$am__include" = "#"; then
4252 echo '.include "confinc"' > confmf
4253 case `$am_make -s -f confmf 2> /dev/null` in #(
4254 *the\ am__doit\ target*)
4255 am__include=.include
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4264 $as_echo "$_am_result" >&6; }
4265 rm -f confinc confmf
4267 # Check whether --enable-dependency-tracking was given.
4268 if test "${enable_dependency_tracking+set}" = set; then :
4269 enableval=$enable_dependency_tracking;
4272 if test "x$enable_dependency_tracking" != xno; then
4273 am_depcomp="$ac_aux_dir/depcomp"
4276 if test "x$enable_dependency_tracking" != xno; then
4286 depcc="$CC" am_compiler_list=
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294 # We make a subdir and do the tests there. Otherwise we can end up
4295 # making bogus files that we don't know about and never remove. For
4296 # instance it was reported that on HP-UX the gcc test will end up
4297 # making a dummy file named `D' -- because `-MD' means `put the output
4300 # Copy depcomp to subdir because otherwise we won't find it if we're
4301 # using a relative directory.
4302 cp "$am_depcomp" conftest.dir
4304 # We will build objects and dependencies in a subdirectory because
4305 # it helps to detect inapplicable dependency modes. For instance
4306 # both Tru64's cc and ICC support -MD to output dependencies as a
4307 # side effect of compilation, but ICC will put the dependencies in
4308 # the current directory while Tru64 will put them in the object
4312 am_cv_CC_dependencies_compiler_type=none
4313 if test "$am_compiler_list" = ""; then
4314 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4317 case " $depcc " in #(
4318 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4321 for depmode in $am_compiler_list; do
4322 # Setup a source with many dependencies, because some compilers
4323 # like to wrap large dependency lists on column 80 (with \), and
4324 # we should not choose a depcomp mode which is confused by this.
4326 # We need to recreate these files for each test, as the compiler may
4327 # overwrite some of them when testing with obscure command lines.
4328 # This happens at least with the AIX C compiler.
4330 for i in 1 2 3 4 5 6; do
4331 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333 # Solaris 8's {/usr,}/bin/sh.
4334 touch sub/conftst$i.h
4336 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4338 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339 # mode. It turns out that the SunPro C++ compiler does not properly
4340 # handle `-M -o', and we need to detect this. Also, some Intel
4341 # versions had trouble with output in subdirs
4342 am__obj=sub/conftest.${OBJEXT-o}
4343 am__minus_obj="-o $am__obj"
4346 # This depmode causes a compiler race in universal mode.
4347 test "$am__universal" = false || continue
4350 # after this tag, mechanisms are not by side-effect, so they'll
4351 # only be used when explicitly requested
4352 if test "x$enable_dependency_tracking" = xyes; then
4358 msvisualcpp | msvcmsys)
4359 # This compiler won't grok `-c -o', but also, the minuso test has
4360 # not run yet. These depmodes are late enough in the game, and
4361 # so weak that their functioning should not be impacted.
4362 am__obj=conftest.${OBJEXT-o}
4367 if depmode=$depmode \
4368 source=sub/conftest.c object=$am__obj \
4369 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371 >/dev/null 2>conftest.err &&
4372 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376 # icc doesn't choke on unknown options, it will just issue warnings
4377 # or remarks (even with -Werror). So we grep stderr for any message
4378 # that says an option was ignored or not supported.
4379 # When given -MP, icc 7.0 and 7.1 complain thusly:
4380 # icc: Command line warning: ignoring option '-M'; no argument required
4381 # The diagnosis changed in icc 8.0:
4382 # icc: Command line remark: option '-MP' not supported
4383 if (grep 'ignoring option' conftest.err ||
4384 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385 am_cv_CC_dependencies_compiler_type=$depmode
4394 am_cv_CC_dependencies_compiler_type=none
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4403 test "x$enable_dependency_tracking" != xno \
4404 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4406 am__fastdepCC_FALSE='#'
4408 am__fastdepCC_TRUE='#'
4409 am__fastdepCC_FALSE=
4415 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4416 if test "x$GCC" = "xyes"; then
4417 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4418 ## We like to use C99 routines when available. This makes sure that
4419 ## __STDC_VERSION__ is set such that libc includes make them available.
4420 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4421 ## Compile the following tests with the same system header contents
4422 ## that we'll encounter when compiling our own source files.
4423 CFLAGS="-std=gnu99 $CFLAGS"
4429 # Check for symbol versioning (copied from libssp).
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4431 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4432 save_LDFLAGS="$LDFLAGS"
4433 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4434 cat > conftest.map <<EOF
4436 global: *foo*; bar; local: *;
4440 if test x$gcc_no_link = xyes; then
4441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4454 if ac_fn_c_try_link "$LINENO"; then :
4455 gfortran_use_symver=gnu
4457 gfortran_use_symver=no
4459 rm -f core conftest.err conftest.$ac_objext \
4460 conftest$ac_exeext conftest.$ac_ext
4461 if test x$gfortran_use_symver = xno; then
4462 case "$target_os" in
4464 LDFLAGS="$save_LDFLAGS"
4465 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4466 # Sun ld cannot handle wildcards and treats all entries as undefined.
4467 cat > conftest.map <<EOF
4469 global: foo; local: *;
4472 if test x$gcc_no_link = xyes; then
4473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4486 if ac_fn_c_try_link "$LINENO"; then :
4487 gfortran_use_symver=sun
4489 gfortran_use_symver=no
4491 rm -f core conftest.err conftest.$ac_objext \
4492 conftest$ac_exeext conftest.$ac_ext
4496 LDFLAGS="$save_LDFLAGS"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4498 $as_echo "$gfortran_use_symver" >&6; }
4499 if test "x$gfortran_use_symver" != xno; then
4500 LIBGFOR_USE_SYMVER_TRUE=
4501 LIBGFOR_USE_SYMVER_FALSE='#'
4503 LIBGFOR_USE_SYMVER_TRUE='#'
4504 LIBGFOR_USE_SYMVER_FALSE=
4507 if test "x$gfortran_use_symver" = xgnu; then
4508 LIBGFOR_USE_SYMVER_GNU_TRUE=
4509 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4511 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4512 LIBGFOR_USE_SYMVER_GNU_FALSE=
4515 if test "x$gfortran_use_symver" = xsun; then
4516 LIBGFOR_USE_SYMVER_SUN_TRUE=
4517 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4519 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4520 LIBGFOR_USE_SYMVER_SUN_FALSE=
4524 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4525 # similarly to how libstdc++ does it
4526 ac_test_CFLAGS="${CFLAGS+set}"
4527 ac_save_CFLAGS="$CFLAGS"
4529 # Check for -ffunction-sections -fdata-sections
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4531 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4532 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4544 if ac_fn_c_try_compile "$LINENO"; then :
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 if test "$ac_test_CFLAGS" = set; then
4551 CFLAGS="$ac_save_CFLAGS"
4553 # this is the suspicious part
4556 if test x"$ac_fdsections" = x"yes"; then
4557 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4560 $as_echo "$ac_fdsections" >&6; }
4563 # Find other programs we need.
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4566 set dummy ${ac_tool_prefix}as; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if test "${ac_cv_prog_AS+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$AS"; then
4573 ac_cv_prog_AS="$AS" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_AS="${ac_tool_prefix}as"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 if test -n "$AS"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4595 $as_echo "$AS" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4603 if test -z "$ac_cv_prog_AS"; then
4605 # Extract the first word of "as", so it can be a program name with args.
4606 set dummy as; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$ac_ct_AS"; then
4613 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_ac_ct_AS="as"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4633 if test -n "$ac_ct_AS"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4635 $as_echo "$ac_ct_AS" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4641 if test "x$ac_ct_AS" = x; then
4644 case $cross_compiling:$ac_tool_warned in
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}ar; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_AR+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$AR"; then
4665 ac_cv_prog_AR="$AR" # Let the user override the test.
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_AR="${ac_tool_prefix}ar"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 if test -n "$AR"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4687 $as_echo "$AR" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_AR"; then
4697 # Extract the first word of "ar", so it can be a program name with args.
4698 set dummy ar; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_AR"; then
4705 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_ac_ct_AR="ar"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4725 if test -n "$ac_ct_AR"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4727 $as_echo "$ac_ct_AR" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_AR" = x; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$RANLIB"; then
4757 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4766 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 RANLIB=$ac_cv_prog_RANLIB
4777 if test -n "$RANLIB"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4779 $as_echo "$RANLIB" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4787 if test -z "$ac_cv_prog_RANLIB"; then
4788 ac_ct_RANLIB=$RANLIB
4789 # Extract the first word of "ranlib", so it can be a program name with args.
4790 set dummy ranlib; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -n "$ac_ct_RANLIB"; then
4797 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806 ac_cv_prog_ac_ct_RANLIB="ranlib"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4817 if test -n "$ac_ct_RANLIB"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4819 $as_echo "$ac_ct_RANLIB" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4825 if test "x$ac_ct_RANLIB" = x; then
4826 RANLIB="ranlib-not-found-in-path-error"
4828 case $cross_compiling:$ac_tool_warned in
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4832 ac_tool_warned=yes ;;
4834 RANLIB=$ac_ct_RANLIB
4837 RANLIB="$ac_cv_prog_RANLIB"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4841 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4843 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4845 $as_echo_n "(cached) " >&6
4847 cat >conftest.make <<\_ACEOF
4850 @echo '@@@%%%=$(MAKE)=@@@%%%'
4852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4855 eval ac_cv_prog_make_${ac_make}_set=yes;;
4857 eval ac_cv_prog_make_${ac_make}_set=no;;
4861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4863 $as_echo "yes" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4868 SET_MAKE="MAKE=${MAKE-make}"
4874 #AC_MSG_NOTICE([====== Starting libtool configuration])
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4882 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4887 macro_version='2.2.7a'
4888 macro_revision='1.3134'
4902 ltmain="$ac_aux_dir/ltmain.sh"
4904 # Backslashify metacharacters that are still active within
4905 # double-quoted strings.
4906 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4908 # Same as above, but do not quote variable references.
4909 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4911 # Sed substitution to delay expansion of an escaped shell variable in a
4912 # double_quote_subst'ed string.
4913 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4915 # Sed substitution to delay expansion of an escaped single quote.
4916 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4918 # Sed substitution to avoid accidental globbing in evaled expressions
4919 no_glob_subst='s/\*/\\\*/g'
4921 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4922 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4923 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4926 $as_echo_n "checking how to print strings... " >&6; }
4927 # Test print first, because it will be a builtin if present.
4928 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4929 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4931 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4934 # Use this function as a fallback that always works.
4935 func_fallback_echo ()
4937 eval 'cat <<_LTECHO_EOF
4941 ECHO='func_fallback_echo'
4944 # func_echo_all arg...
4945 # Invoke $ECHO with all args, space-separated.
4952 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4953 $as_echo "printf" >&6; } ;;
4954 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4955 $as_echo "print -r" >&6; } ;;
4956 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4957 $as_echo "cat" >&6; } ;;
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4974 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4975 if test "${ac_cv_path_SED+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4979 for ac_i in 1 2 3 4 5 6 7; do
4980 ac_script="$ac_script$as_nl$ac_script"
4982 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4983 { ac_script=; unset ac_script;}
4984 if test -z "$SED"; then
4985 ac_path_SED_found=false
4986 # Loop through the user's path and test for each of PROGNAME-LIST
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir=.
4992 for ac_prog in sed gsed; do
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4995 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4996 # Check for GNU ac_path_SED and select it if it is found.
4997 # Check for GNU $ac_path_SED
4998 case `"$ac_path_SED" --version 2>&1` in
5000 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5003 $as_echo_n 0123456789 >"conftest.in"
5006 cat "conftest.in" "conftest.in" >"conftest.tmp"
5007 mv "conftest.tmp" "conftest.in"
5008 cp "conftest.in" "conftest.nl"
5009 $as_echo '' >> "conftest.nl"
5010 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5011 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5012 as_fn_arith $ac_count + 1 && ac_count=$as_val
5013 if test $ac_count -gt ${ac_path_SED_max-0}; then
5014 # Best one so far, save it but keep looking for a better one
5015 ac_cv_path_SED="$ac_path_SED"
5016 ac_path_SED_max=$ac_count
5018 # 10*(2^10) chars as input seems more than enough
5019 test $ac_count -gt 10 && break
5021 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5024 $ac_path_SED_found && break 3
5029 if test -z "$ac_cv_path_SED"; then
5030 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5038 $as_echo "$ac_cv_path_SED" >&6; }
5039 SED="$ac_cv_path_SED"
5042 test -z "$SED" && SED=sed
5043 Xsed="$SED -e 1s/^X//"
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5056 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5057 if test "${ac_cv_path_GREP+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -z "$GREP"; then
5061 ac_path_GREP_found=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5067 test -z "$as_dir" && as_dir=.
5068 for ac_prog in grep ggrep; do
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5071 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5072 # Check for GNU ac_path_GREP and select it if it is found.
5073 # Check for GNU $ac_path_GREP
5074 case `"$ac_path_GREP" --version 2>&1` in
5076 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5079 $as_echo_n 0123456789 >"conftest.in"
5082 cat "conftest.in" "conftest.in" >"conftest.tmp"
5083 mv "conftest.tmp" "conftest.in"
5084 cp "conftest.in" "conftest.nl"
5085 $as_echo 'GREP' >> "conftest.nl"
5086 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5088 as_fn_arith $ac_count + 1 && ac_count=$as_val
5089 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5090 # Best one so far, save it but keep looking for a better one
5091 ac_cv_path_GREP="$ac_path_GREP"
5092 ac_path_GREP_max=$ac_count
5094 # 10*(2^10) chars as input seems more than enough
5095 test $ac_count -gt 10 && break
5097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5100 $ac_path_GREP_found && break 3
5105 if test -z "$ac_cv_path_GREP"; then
5106 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5109 ac_cv_path_GREP=$GREP
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5114 $as_echo "$ac_cv_path_GREP" >&6; }
5115 GREP="$ac_cv_path_GREP"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5119 $as_echo_n "checking for egrep... " >&6; }
5120 if test "${ac_cv_path_EGREP+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5124 then ac_cv_path_EGREP="$GREP -E"
5126 if test -z "$EGREP"; then
5127 ac_path_EGREP_found=false
5128 # Loop through the user's path and test for each of PROGNAME-LIST
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5133 test -z "$as_dir" && as_dir=.
5134 for ac_prog in egrep; do
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5137 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5138 # Check for GNU ac_path_EGREP and select it if it is found.
5139 # Check for GNU $ac_path_EGREP
5140 case `"$ac_path_EGREP" --version 2>&1` in
5142 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5145 $as_echo_n 0123456789 >"conftest.in"
5148 cat "conftest.in" "conftest.in" >"conftest.tmp"
5149 mv "conftest.tmp" "conftest.in"
5150 cp "conftest.in" "conftest.nl"
5151 $as_echo 'EGREP' >> "conftest.nl"
5152 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5153 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5154 as_fn_arith $ac_count + 1 && ac_count=$as_val
5155 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5156 # Best one so far, save it but keep looking for a better one
5157 ac_cv_path_EGREP="$ac_path_EGREP"
5158 ac_path_EGREP_max=$ac_count
5160 # 10*(2^10) chars as input seems more than enough
5161 test $ac_count -gt 10 && break
5163 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5166 $ac_path_EGREP_found && break 3
5171 if test -z "$ac_cv_path_EGREP"; then
5172 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5175 ac_cv_path_EGREP=$EGREP
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5181 $as_echo "$ac_cv_path_EGREP" >&6; }
5182 EGREP="$ac_cv_path_EGREP"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5186 $as_echo_n "checking for fgrep... " >&6; }
5187 if test "${ac_cv_path_FGREP+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5191 then ac_cv_path_FGREP="$GREP -F"
5193 if test -z "$FGREP"; then
5194 ac_path_FGREP_found=false
5195 # Loop through the user's path and test for each of PROGNAME-LIST
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5200 test -z "$as_dir" && as_dir=.
5201 for ac_prog in fgrep; do
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5204 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5205 # Check for GNU ac_path_FGREP and select it if it is found.
5206 # Check for GNU $ac_path_FGREP
5207 case `"$ac_path_FGREP" --version 2>&1` in
5209 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5212 $as_echo_n 0123456789 >"conftest.in"
5215 cat "conftest.in" "conftest.in" >"conftest.tmp"
5216 mv "conftest.tmp" "conftest.in"
5217 cp "conftest.in" "conftest.nl"
5218 $as_echo 'FGREP' >> "conftest.nl"
5219 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5220 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5221 as_fn_arith $ac_count + 1 && ac_count=$as_val
5222 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5223 # Best one so far, save it but keep looking for a better one
5224 ac_cv_path_FGREP="$ac_path_FGREP"
5225 ac_path_FGREP_max=$ac_count
5227 # 10*(2^10) chars as input seems more than enough
5228 test $ac_count -gt 10 && break
5230 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5233 $ac_path_FGREP_found && break 3
5238 if test -z "$ac_cv_path_FGREP"; then
5239 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5242 ac_cv_path_FGREP=$FGREP
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5248 $as_echo "$ac_cv_path_FGREP" >&6; }
5249 FGREP="$ac_cv_path_FGREP"
5252 test -z "$GREP" && GREP=grep
5272 # Check whether --with-gnu-ld was given.
5273 if test "${with_gnu_ld+set}" = set; then :
5274 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5280 if test "$GCC" = yes; then
5281 # Check if gcc -print-prog-name=ld gives a path.
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5283 $as_echo_n "checking for ld used by $CC... " >&6; }
5286 # gcc leaves a trailing carriage return which upsets mingw
5287 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5289 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5292 # Accept absolute paths.
5294 re_direlt='/[^/][^/]*/\.\./'
5295 # Canonicalize the pathname of ld
5296 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5297 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5298 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5300 test -z "$LD" && LD="$ac_prog"
5303 # If it fails, then pretend we aren't using GCC.
5307 # If it is relative, then search for the first ld in PATH.
5311 elif test "$with_gnu_ld" = yes; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5313 $as_echo_n "checking for GNU ld... " >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5316 $as_echo_n "checking for non-GNU ld... " >&6; }
5318 if test "${lt_cv_path_LD+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5321 if test -z "$LD"; then
5322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5323 for ac_dir in $PATH; do
5325 test -z "$ac_dir" && ac_dir=.
5326 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5327 lt_cv_path_LD="$ac_dir/$ac_prog"
5328 # Check to see if the program is GNU ld. I'd rather use --version,
5329 # but apparently some variants of GNU ld only accept -v.
5330 # Break only if it was the GNU/non-GNU ld that we prefer.
5331 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5332 *GNU* | *'with BFD'*)
5333 test "$with_gnu_ld" != no && break
5336 test "$with_gnu_ld" != yes && break
5343 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5348 if test -n "$LD"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5350 $as_echo "$LD" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5355 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5358 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5359 $as_echo_n "(cached) " >&6
5361 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5362 case `$LD -v 2>&1 </dev/null` in
5363 *GNU* | *'with BFD'*)
5364 lt_cv_prog_gnu_ld=yes
5367 lt_cv_prog_gnu_ld=no
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5373 with_gnu_ld=$lt_cv_prog_gnu_ld
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5384 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5385 if test "${lt_cv_path_NM+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5388 if test -n "$NM"; then
5389 # Let the user override the test.
5392 lt_nm_to_check="${ac_tool_prefix}nm"
5393 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5394 lt_nm_to_check="$lt_nm_to_check nm"
5396 for lt_tmp_nm in $lt_nm_to_check; do
5397 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5398 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5400 test -z "$ac_dir" && ac_dir=.
5401 tmp_nm="$ac_dir/$lt_tmp_nm"
5402 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5403 # Check to see if the nm accepts a BSD-compat flag.
5404 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5405 # nm: unknown option "B" ignored
5406 # Tru64's nm complains that /dev/null is an invalid object file
5407 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5408 */dev/null* | *'Invalid file or object type'*)
5409 lt_cv_path_NM="$tmp_nm -B"
5413 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5415 lt_cv_path_NM="$tmp_nm -p"
5419 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5420 continue # so that we can try to find one that supports BSD flags
5429 : ${lt_cv_path_NM=no}
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5433 $as_echo "$lt_cv_path_NM" >&6; }
5434 if test "$lt_cv_path_NM" != "no"; then
5437 # Didn't find any BSD compatible name lister, look for dumpbin.
5438 if test -n "$DUMPBIN"; then :
5439 # Let the user override the test.
5441 if test -n "$ac_tool_prefix"; then
5442 for ac_prog in dumpbin "link -dump"
5444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5449 $as_echo_n "(cached) " >&6
5451 if test -n "$DUMPBIN"; then
5452 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir=.
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5461 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 DUMPBIN=$ac_cv_prog_DUMPBIN
5472 if test -n "$DUMPBIN"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5474 $as_echo "$DUMPBIN" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 test -n "$DUMPBIN" && break
5484 if test -z "$DUMPBIN"; then
5485 ac_ct_DUMPBIN=$DUMPBIN
5486 for ac_prog in dumpbin "link -dump"
5488 # Extract the first word of "$ac_prog", so it can be a program name with args.
5489 set dummy $ac_prog; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5493 $as_echo_n "(cached) " >&6
5495 if test -n "$ac_ct_DUMPBIN"; then
5496 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5516 if test -n "$ac_ct_DUMPBIN"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5518 $as_echo "$ac_ct_DUMPBIN" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5525 test -n "$ac_ct_DUMPBIN" && break
5528 if test "x$ac_ct_DUMPBIN" = x; then
5531 case $cross_compiling:$ac_tool_warned in
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5537 DUMPBIN=$ac_ct_DUMPBIN
5541 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5543 DUMPBIN="$DUMPBIN -symbols"
5551 if test "$DUMPBIN" != ":"; then
5555 test -z "$NM" && NM=nm
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5563 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5564 if test "${lt_cv_nm_interface+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5567 lt_cv_nm_interface="BSD nm"
5568 echo "int some_variable = 0;" > conftest.$ac_ext
5569 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5570 (eval "$ac_compile" 2>conftest.err)
5571 cat conftest.err >&5
5572 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5573 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5574 cat conftest.err >&5
5575 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5576 cat conftest.out >&5
5577 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5578 lt_cv_nm_interface="MS dumpbin"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5583 $as_echo "$lt_cv_nm_interface" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5586 $as_echo_n "checking whether ln -s works... " >&6; }
5588 if test "$LN_S" = "ln -s"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5590 $as_echo "yes" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5593 $as_echo "no, using $LN_S" >&6; }
5596 # find the maximum length of command line arguments
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5598 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5599 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5600 $as_echo_n "(cached) " >&6
5607 # On DJGPP, this test can blow up pretty badly due to problems in libc
5608 # (any single argument exceeding 2000 bytes causes a buffer overrun
5609 # during glob expansion). Even if it were fixed, the result of this
5610 # check would be larger than it should be.
5611 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5615 # Under GNU Hurd, this test is not required because there is
5616 # no limit to the length of command line arguments.
5617 # Libtool will interpret -1 as no limit whatsoever
5618 lt_cv_sys_max_cmd_len=-1;
5621 cygwin* | mingw* | cegcc*)
5622 # On Win9x/ME, this test blows up -- it succeeds, but takes
5623 # about 5 minutes as the teststring grows exponentially.
5624 # Worse, since 9x/ME are not pre-emptively multitasking,
5625 # you end up with a "frozen" computer, even though with patience
5626 # the test eventually succeeds (with a max line length of 256k).
5627 # Instead, let's just punt: use the minimum linelength reported by
5628 # all of the supported platforms: 8192 (on NT/2K/XP).
5629 lt_cv_sys_max_cmd_len=8192;
5633 # On MiNT this can take a long time and run out of memory.
5634 lt_cv_sys_max_cmd_len=8192;
5638 # On AmigaOS with pdksh, this test takes hours, literally.
5639 # So we just punt and use a minimum line length of 8192.
5640 lt_cv_sys_max_cmd_len=8192;
5643 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5644 # This has been around since 386BSD, at least. Likely further.
5645 if test -x /sbin/sysctl; then
5646 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5647 elif test -x /usr/sbin/sysctl; then
5648 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5650 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5652 # And add a safety zone
5653 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5654 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5658 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5659 lt_cv_sys_max_cmd_len=196608
5663 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5664 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5665 # nice to cause kernel panics so lets avoid the loop below.
5666 # First set a reasonable default.
5667 lt_cv_sys_max_cmd_len=16384
5669 if test -x /sbin/sysconfig; then
5670 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5671 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5676 lt_cv_sys_max_cmd_len=102400
5678 sysv5* | sco5v6* | sysv4.2uw2*)
5679 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5680 if test -n "$kargmax"; then
5681 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5683 lt_cv_sys_max_cmd_len=32768
5687 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5688 if test -n "$lt_cv_sys_max_cmd_len"; then
5689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5690 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5692 # Make teststring a little bigger before we do anything with it.
5693 # a 1K string should be a reasonable start.
5694 for i in 1 2 3 4 5 6 7 8 ; do
5695 teststring=$teststring$teststring
5697 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5698 # If test is not a shell built-in, we'll probably end up computing a
5699 # maximum length that is only half of the actual maximum length, but
5701 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5702 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5703 test $i != 17 # 1/2 MB should be enough
5706 teststring=$teststring$teststring
5708 # Only check the string length outside the loop.
5709 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5711 # Add a significant safety factor because C++ compilers can tack on
5712 # massive amounts of additional arguments before passing them to the
5713 # linker. It appears as though 1/2 is a usable value.
5714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5721 if test -n $lt_cv_sys_max_cmd_len ; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5726 $as_echo "none" >&6; }
5728 max_cmd_len=$lt_cv_sys_max_cmd_len
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5741 # Try some XSI features
5744 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5746 && eval 'test $(( 1 + 1 )) -eq 2 \
5747 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5750 $as_echo "$xsi_shell" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5754 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5756 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5758 && lt_shell_append=yes
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5760 $as_echo "$lt_shell_append" >&6; }
5763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5773 # test EBCDIC or ASCII
5774 case `echo X|tr X '\101'` in
5775 A) # ASCII based system
5776 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5777 lt_SP2NL='tr \040 \012'
5778 lt_NL2SP='tr \015\012 \040\040'
5780 *) # EBCDIC based system
5781 lt_SP2NL='tr \100 \n'
5782 lt_NL2SP='tr \r\n \100\100'
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5795 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5796 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5797 $as_echo_n "(cached) " >&6
5799 lt_cv_ld_reload_flag='-r'
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5806 *) reload_flag=" $reload_flag" ;;
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5811 if test "$GCC" = yes; then
5812 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5814 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5827 if test -n "$ac_tool_prefix"; then
5828 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -n "$OBJDUMP"; then
5836 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5845 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 OBJDUMP=$ac_cv_prog_OBJDUMP
5856 if test -n "$OBJDUMP"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5858 $as_echo "$OBJDUMP" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5866 if test -z "$ac_cv_prog_OBJDUMP"; then
5867 ac_ct_OBJDUMP=$OBJDUMP
5868 # Extract the first word of "objdump", so it can be a program name with args.
5869 set dummy objdump; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$ac_ct_OBJDUMP"; then
5876 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5896 if test -n "$ac_ct_OBJDUMP"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5898 $as_echo "$ac_ct_OBJDUMP" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5904 if test "x$ac_ct_OBJDUMP" = x; then
5907 case $cross_compiling:$ac_tool_warned in
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5913 OBJDUMP=$ac_ct_OBJDUMP
5916 OBJDUMP="$ac_cv_prog_OBJDUMP"
5919 test -z "$OBJDUMP" && OBJDUMP=objdump
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5930 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5931 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5932 $as_echo_n "(cached) " >&6
5934 lt_cv_file_magic_cmd='$MAGIC_CMD'
5935 lt_cv_file_magic_test_file=
5936 lt_cv_deplibs_check_method='unknown'
5937 # Need to set the preceding variable on all platforms that support
5938 # interlibrary dependencies.
5939 # 'none' -- dependencies not supported.
5940 # `unknown' -- same as none, but documents that we really don't know.
5941 # 'pass_all' -- all dependencies passed with no checks.
5942 # 'test_compile' -- check by making test program.
5943 # 'file_magic [[regex]]' -- check by looking for files in library path
5944 # which responds to the $file_magic_cmd with a given extended regex.
5945 # If you have `file' or equivalent on your system and you're not sure
5946 # whether `pass_all' will *always* work, you probably want this one.
5950 lt_cv_deplibs_check_method=pass_all
5954 lt_cv_deplibs_check_method=pass_all
5958 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5959 lt_cv_file_magic_cmd='/usr/bin/file -L'
5960 lt_cv_file_magic_test_file=/shlib/libc.so
5964 # func_win32_libid is a shell function defined in ltmain.sh
5965 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5966 lt_cv_file_magic_cmd='func_win32_libid'
5970 # Base MSYS/MinGW do not provide the 'file' command needed by
5971 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5972 # unless we find 'file', for example because we are cross-compiling.
5973 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5974 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5975 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5976 lt_cv_file_magic_cmd='func_win32_libid'
5978 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5979 lt_cv_file_magic_cmd='$OBJDUMP -f'
5984 # use the weaker test based on 'objdump'. See mingw*.
5985 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5986 lt_cv_file_magic_cmd='$OBJDUMP -f'
5989 darwin* | rhapsody*)
5990 lt_cv_deplibs_check_method=pass_all
5993 freebsd* | dragonfly*)
5994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5997 # Not sure whether the presence of OpenBSD here was a mistake.
5998 # Let's accept both of them until this is cleared up.
5999 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6000 lt_cv_file_magic_cmd=/usr/bin/file
6001 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6005 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method=pass_all
6014 lt_cv_deplibs_check_method=pass_all
6017 hpux10.20* | hpux11*)
6018 lt_cv_file_magic_cmd=/usr/bin/file
6021 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6022 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6025 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]'
6026 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6029 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6030 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6036 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6040 irix5* | irix6* | nonstopux*)
6042 *-32|*"-32 ") libmagic=32-bit;;
6043 *-n32|*"-n32 ") libmagic=N32;;
6044 *-64|*"-64 ") libmagic=64-bit;;
6045 *) libmagic=never-match;;
6047 lt_cv_deplibs_check_method=pass_all
6050 # This must be Linux ELF.
6051 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6052 lt_cv_deplibs_check_method=pass_all
6056 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6064 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6065 lt_cv_file_magic_cmd=/usr/bin/file
6066 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6070 lt_cv_deplibs_check_method=pass_all
6074 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6077 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6081 osf3* | osf4* | osf5*)
6082 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_deplibs_check_method=pass_all
6090 lt_cv_deplibs_check_method=pass_all
6093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6094 lt_cv_deplibs_check_method=pass_all
6098 case $host_vendor in
6100 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]'
6101 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6104 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_file_magic_cmd='/bin/file'
6108 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6111 lt_cv_file_magic_cmd='/bin/file'
6112 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6113 lt_cv_file_magic_test_file=/lib/libc.so
6116 lt_cv_deplibs_check_method=pass_all
6119 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_deplibs_check_method=pass_all
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6131 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6132 file_magic_cmd=$lt_cv_file_magic_cmd
6133 deplibs_check_method=$lt_cv_deplibs_check_method
6134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6147 if test -n "$ac_tool_prefix"; then
6148 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}ar; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test "${ac_cv_prog_AR+set}" = set; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -n "$AR"; then
6156 ac_cv_prog_AR="$AR" # Let the user override the test.
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165 ac_cv_prog_AR="${ac_tool_prefix}ar"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 if test -n "$AR"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6178 $as_echo "$AR" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6186 if test -z "$ac_cv_prog_AR"; then
6188 # Extract the first word of "ar", so it can be a program name with args.
6189 set dummy ar; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6193 $as_echo_n "(cached) " >&6
6195 if test -n "$ac_ct_AR"; then
6196 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6205 ac_cv_prog_ac_ct_AR="ar"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6216 if test -n "$ac_ct_AR"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6218 $as_echo "$ac_ct_AR" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6224 if test "x$ac_ct_AR" = x; then
6227 case $cross_compiling:$ac_tool_warned in
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6231 ac_tool_warned=yes ;;
6239 test -z "$AR" && AR=ar
6240 test -z "$AR_FLAGS" && AR_FLAGS=cru
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}strip; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if test "${ac_cv_prog_STRIP+set}" = set; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$STRIP"; then
6261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 STRIP=$ac_cv_prog_STRIP
6281 if test -n "$STRIP"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6283 $as_echo "$STRIP" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6291 if test -z "$ac_cv_prog_STRIP"; then
6293 # Extract the first word of "strip", so it can be a program name with args.
6294 set dummy strip; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -n "$ac_ct_STRIP"; then
6301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310 ac_cv_prog_ac_ct_STRIP="strip"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6321 if test -n "$ac_ct_STRIP"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6323 $as_echo "$ac_ct_STRIP" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6329 if test "x$ac_ct_STRIP" = x; then
6332 case $cross_compiling:$ac_tool_warned in
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6336 ac_tool_warned=yes ;;
6341 STRIP="$ac_cv_prog_STRIP"
6344 test -z "$STRIP" && STRIP=:
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6357 $as_echo_n "(cached) " >&6
6359 if test -n "$RANLIB"; then
6360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 RANLIB=$ac_cv_prog_RANLIB
6380 if test -n "$RANLIB"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6382 $as_echo "$RANLIB" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6390 if test -z "$ac_cv_prog_RANLIB"; then
6391 ac_ct_RANLIB=$RANLIB
6392 # Extract the first word of "ranlib", so it can be a program name with args.
6393 set dummy ranlib; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6397 $as_echo_n "(cached) " >&6
6399 if test -n "$ac_ct_RANLIB"; then
6400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_ac_ct_RANLIB="ranlib"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6420 if test -n "$ac_ct_RANLIB"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6422 $as_echo "$ac_ct_RANLIB" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6428 if test "x$ac_ct_RANLIB" = x; then
6431 case $cross_compiling:$ac_tool_warned in
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6435 ac_tool_warned=yes ;;
6437 RANLIB=$ac_ct_RANLIB
6440 RANLIB="$ac_cv_prog_RANLIB"
6443 test -z "$RANLIB" && RANLIB=:
6450 # Determine commands to create old-style static archives.
6451 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6452 old_postinstall_cmds='chmod 644 $oldlib'
6453 old_postuninstall_cmds=
6455 if test -n "$RANLIB"; then
6458 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6461 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6464 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6469 lock_old_archive_extraction=yes ;;
6471 lock_old_archive_extraction=no ;;
6512 # If no C compiler was specified, use CC.
6515 # If no C compiler flags were specified, use CFLAGS.
6516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6518 # Allow CC to be a program name with arguments.
6522 # Check for command to grab the raw symbol name followed by C symbol from nm.
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6524 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6525 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6526 $as_echo_n "(cached) " >&6
6529 # These are sane defaults that work on at least a few old systems.
6530 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6532 # Character class describing NM global symbol codes.
6533 symcode='[BCDEGRST]'
6535 # Regexp to match symbols that can be accessed directly from C.
6536 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6538 # Define system-specific variables.
6543 cygwin* | mingw* | pw32* | cegcc*)
6544 symcode='[ABCDGISTW]'
6547 if test "$host_cpu" = ia64; then
6548 symcode='[ABCDEGRST]'
6552 symcode='[BCDEGRST]'
6555 symcode='[BCDEGQRST]'
6566 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6574 # If we're using GNU nm, then use its standard symbol codes.
6575 case `$NM -V 2>&1` in
6576 *GNU* | *'with BFD'*)
6577 symcode='[ABCDGIRSTW]' ;;
6580 # Transform an extracted symbol line into a proper C declaration.
6581 # Some systems (esp. on ia64) link data and code symbols differently,
6582 # so use this general approach.
6583 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6585 # Transform an extracted symbol line into symbol name and symbol address
6586 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6587 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'"
6589 # Handle CRLF in mingw tool chain
6593 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6597 # Try without a prefix underscore, then with it.
6598 for ac_symprfx in "" "_"; do
6600 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6601 symxfrm="\\1 $ac_symprfx\\2 \\2"
6603 # Write the raw and C identifiers.
6604 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6605 # Fake it for dumpbin and say T for any non-static function
6606 # and D for any global variable.
6607 # Also find C++ and __fastcall symbols from MSVC++,
6608 # which start with @ or ?.
6609 lt_cv_sys_global_symbol_pipe="$AWK '"\
6610 " {last_section=section; section=\$ 3};"\
6611 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6612 " \$ 0!~/External *\|/{next};"\
6613 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6614 " {if(hide[section]) next};"\
6615 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6616 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6617 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6618 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6619 " ' prfx=^$ac_symprfx"
6621 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6624 # Check to see that the pipe works correctly.
6628 cat > conftest.$ac_ext <<_LT_EOF
6633 void nm_test_func(void);
6634 void nm_test_func(void){}
6638 int main(){nm_test_var='a';nm_test_func();return(0);}
6641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6642 (eval $ac_compile) 2>&5
6644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645 test $ac_status = 0; }; then
6646 # Now try to grab the symbols.
6648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6649 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6652 test $ac_status = 0; } && test -s "$nlist"; then
6653 # Try sorting and uniquifying the output.
6654 if sort "$nlist" | uniq > "$nlist"T; then
6655 mv -f "$nlist"T "$nlist"
6660 # Make sure that we snagged all the symbols we need.
6661 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6662 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6663 cat <<_LT_EOF > conftest.$ac_ext
6669 # Now generate the symbol file.
6670 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6672 cat <<_LT_EOF >> conftest.$ac_ext
6674 /* The mapping between symbol names and symbols. */
6679 lt__PROGRAM__LTX_preloaded_symbols[] =
6681 { "@PROGRAM@", (void *) 0 },
6683 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6684 cat <<\_LT_EOF >> conftest.$ac_ext
6688 /* This works around a problem in FreeBSD linker */
6689 #ifdef FREEBSD_WORKAROUND
6690 static const void *lt_preloaded_setup() {
6691 return lt__PROGRAM__LTX_preloaded_symbols;
6699 # Now try linking the two files.
6700 mv conftest.$ac_objext conftstm.$ac_objext
6701 lt_save_LIBS="$LIBS"
6702 lt_save_CFLAGS="$CFLAGS"
6703 LIBS="conftstm.$ac_objext"
6704 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6706 (eval $ac_link) 2>&5
6708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6709 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6712 LIBS="$lt_save_LIBS"
6713 CFLAGS="$lt_save_CFLAGS"
6715 echo "cannot find nm_test_func in $nlist" >&5
6718 echo "cannot find nm_test_var in $nlist" >&5
6721 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6724 echo "$progname: failed program was:" >&5
6725 cat conftest.$ac_ext >&5
6727 rm -rf conftest* conftst*
6729 # Do not use the global_symbol_pipe unless it works.
6730 if test "$pipe_works" = yes; then
6733 lt_cv_sys_global_symbol_pipe=
6739 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6740 lt_cv_sys_global_symbol_to_cdecl=
6742 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6744 $as_echo "failed" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6747 $as_echo "ok" >&6; }
6771 # Check whether --enable-libtool-lock was given.
6772 if test "${enable_libtool_lock+set}" = set; then :
6773 enableval=$enable_libtool_lock;
6776 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6778 # Some flags need to be propagated to the compiler or linker for good
6782 # Find out which ABI we are using.
6783 echo 'int i;' > conftest.$ac_ext
6784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785 (eval $ac_compile) 2>&5
6787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6788 test $ac_status = 0; }; then
6789 case `/usr/bin/file conftest.$ac_objext` in
6801 # Find out which ABI we are using.
6802 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6804 (eval $ac_compile) 2>&5
6806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6807 test $ac_status = 0; }; then
6808 if test "$lt_cv_prog_gnu_ld" = yes; then
6809 case `/usr/bin/file conftest.$ac_objext` in
6811 LD="${LD-ld} -melf32bsmip"
6814 LD="${LD-ld} -melf32bmipn32"
6817 LD="${LD-ld} -melf64bmip"
6821 case `/usr/bin/file conftest.$ac_objext` in
6837 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6838 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6839 # Find out which ABI we are using.
6840 echo 'int i;' > conftest.$ac_ext
6841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6842 (eval $ac_compile) 2>&5
6844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6845 test $ac_status = 0; }; then
6846 case `/usr/bin/file conftest.o` in
6849 x86_64-*kfreebsd*-gnu)
6850 LD="${LD-ld} -m elf_i386_fbsd"
6853 LD="${LD-ld} -m elf_i386"
6855 ppc64-*linux*|powerpc64-*linux*)
6856 LD="${LD-ld} -m elf32ppclinux"
6859 LD="${LD-ld} -m elf_s390"
6862 LD="${LD-ld} -m elf32_sparc"
6868 x86_64-*kfreebsd*-gnu)
6869 LD="${LD-ld} -m elf_x86_64_fbsd"
6872 LD="${LD-ld} -m elf_x86_64"
6874 ppc*-*linux*|powerpc*-*linux*)
6875 LD="${LD-ld} -m elf64ppc"
6877 s390*-*linux*|s390*-*tpf*)
6878 LD="${LD-ld} -m elf64_s390"
6881 LD="${LD-ld} -m elf64_sparc"
6891 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6892 SAVE_CFLAGS="$CFLAGS"
6893 CFLAGS="$CFLAGS -belf"
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6895 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6896 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6897 $as_echo_n "(cached) " >&6
6900 ac_cpp='$CPP $CPPFLAGS'
6901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6905 if test x$gcc_no_link = xyes; then
6906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h. */
6919 if ac_fn_c_try_link "$LINENO"; then :
6920 lt_cv_cc_needs_belf=yes
6922 lt_cv_cc_needs_belf=no
6924 rm -f core conftest.err conftest.$ac_objext \
6925 conftest$ac_exeext conftest.$ac_ext
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6934 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6935 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6936 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6937 CFLAGS="$SAVE_CFLAGS"
6941 # Find out which ABI we are using.
6942 echo 'int i;' > conftest.$ac_ext
6943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6944 (eval $ac_compile) 2>&5
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947 test $ac_status = 0; }; then
6948 case `/usr/bin/file conftest.o` in
6950 case $lt_cv_prog_gnu_ld in
6951 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6953 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6965 need_locks="$enable_libtool_lock"
6969 rhapsody* | darwin*)
6970 if test -n "$ac_tool_prefix"; then
6971 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6972 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6976 $as_echo_n "(cached) " >&6
6978 if test -n "$DSYMUTIL"; then
6979 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6999 if test -n "$DSYMUTIL"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7001 $as_echo "$DSYMUTIL" >&6; }
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7009 if test -z "$ac_cv_prog_DSYMUTIL"; then
7010 ac_ct_DSYMUTIL=$DSYMUTIL
7011 # Extract the first word of "dsymutil", so it can be a program name with args.
7012 set dummy dsymutil; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7016 $as_echo_n "(cached) " >&6
7018 if test -n "$ac_ct_DSYMUTIL"; then
7019 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir=.
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7028 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7039 if test -n "$ac_ct_DSYMUTIL"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7041 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7047 if test "x$ac_ct_DSYMUTIL" = x; then
7050 case $cross_compiling:$ac_tool_warned in
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7054 ac_tool_warned=yes ;;
7056 DSYMUTIL=$ac_ct_DSYMUTIL
7059 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$NMEDIT"; then
7071 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 NMEDIT=$ac_cv_prog_NMEDIT
7091 if test -n "$NMEDIT"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7093 $as_echo "$NMEDIT" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$ac_cv_prog_NMEDIT"; then
7102 ac_ct_NMEDIT=$NMEDIT
7103 # Extract the first word of "nmedit", so it can be a program name with args.
7104 set dummy nmedit; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7110 if test -n "$ac_ct_NMEDIT"; then
7111 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7131 if test -n "$ac_ct_NMEDIT"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7133 $as_echo "$ac_ct_NMEDIT" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7139 if test "x$ac_ct_NMEDIT" = x; then
7142 case $cross_compiling:$ac_tool_warned in
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned=yes ;;
7148 NMEDIT=$ac_ct_NMEDIT
7151 NMEDIT="$ac_cv_prog_NMEDIT"
7154 if test -n "$ac_tool_prefix"; then
7155 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7156 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if test "${ac_cv_prog_LIPO+set}" = set; then :
7160 $as_echo_n "(cached) " >&6
7162 if test -n "$LIPO"; then
7163 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 LIPO=$ac_cv_prog_LIPO
7183 if test -n "$LIPO"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7185 $as_echo "$LIPO" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7193 if test -z "$ac_cv_prog_LIPO"; then
7195 # Extract the first word of "lipo", so it can be a program name with args.
7196 set dummy lipo; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7200 $as_echo_n "(cached) " >&6
7202 if test -n "$ac_ct_LIPO"; then
7203 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_prog_ac_ct_LIPO="lipo"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7223 if test -n "$ac_ct_LIPO"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7225 $as_echo "$ac_ct_LIPO" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7231 if test "x$ac_ct_LIPO" = x; then
7234 case $cross_compiling:$ac_tool_warned in
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7238 ac_tool_warned=yes ;;
7243 LIPO="$ac_cv_prog_LIPO"
7246 if test -n "$ac_tool_prefix"; then
7247 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}otool; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7252 $as_echo_n "(cached) " >&6
7254 if test -n "$OTOOL"; then
7255 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 OTOOL=$ac_cv_prog_OTOOL
7275 if test -n "$OTOOL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7277 $as_echo "$OTOOL" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7285 if test -z "$ac_cv_prog_OTOOL"; then
7287 # Extract the first word of "otool", so it can be a program name with args.
7288 set dummy otool; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7294 if test -n "$ac_ct_OTOOL"; then
7295 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_ac_ct_OTOOL="otool"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7315 if test -n "$ac_ct_OTOOL"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7317 $as_echo "$ac_ct_OTOOL" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7323 if test "x$ac_ct_OTOOL" = x; then
7326 case $cross_compiling:$ac_tool_warned in
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7330 ac_tool_warned=yes ;;
7335 OTOOL="$ac_cv_prog_OTOOL"
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7346 if test -n "$OTOOL64"; then
7347 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 OTOOL64=$ac_cv_prog_OTOOL64
7367 if test -n "$OTOOL64"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7369 $as_echo "$OTOOL64" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_OTOOL64"; then
7378 ac_ct_OTOOL64=$OTOOL64
7379 # Extract the first word of "otool64", so it can be a program name with args.
7380 set dummy otool64; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7386 if test -n "$ac_ct_OTOOL64"; then
7387 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_OTOOL64="otool64"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7407 if test -n "$ac_ct_OTOOL64"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7409 $as_echo "$ac_ct_OTOOL64" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_OTOOL64" = x; then
7418 case $cross_compiling:$ac_tool_warned in
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7424 OTOOL64=$ac_ct_OTOOL64
7427 OTOOL64="$ac_cv_prog_OTOOL64"
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7457 $as_echo_n "checking for -single_module linker flag... " >&6; }
7458 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7461 lt_cv_apple_cc_single_mod=no
7462 if test -z "${LT_MULTI_MODULE}"; then
7463 # By default we will add the -single_module flag. You can override
7464 # by either setting the environment variable LT_MULTI_MODULE
7465 # non-empty at configure time, or by adding -multi_module to the
7467 rm -rf libconftest.dylib*
7468 echo "int foo(void){return 1;}" > conftest.c
7469 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7470 -dynamiclib -Wl,-single_module conftest.c" >&5
7471 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7472 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7474 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7475 lt_cv_apple_cc_single_mod=yes
7477 cat conftest.err >&5
7479 rm -rf libconftest.dylib*
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7484 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7486 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7487 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7490 lt_cv_ld_exported_symbols_list=no
7491 save_LDFLAGS=$LDFLAGS
7492 echo "_main" > conftest.sym
7493 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7494 if test x$gcc_no_link = xyes; then
7495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7508 if ac_fn_c_try_link "$LINENO"; then :
7509 lt_cv_ld_exported_symbols_list=yes
7511 lt_cv_ld_exported_symbols_list=no
7513 rm -f core conftest.err conftest.$ac_objext \
7514 conftest$ac_exeext conftest.$ac_ext
7515 LDFLAGS="$save_LDFLAGS"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7519 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7521 $as_echo_n "checking for -force_load linker flag... " >&6; }
7522 if test "${lt_cv_ld_force_load+set}" = set; then :
7523 $as_echo_n "(cached) " >&6
7525 lt_cv_ld_force_load=no
7526 cat > conftest.c << _LT_EOF
7527 int forced_loaded() { return 2;}
7529 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7530 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7531 echo "$AR cru libconftest.a conftest.o" >&5
7532 $AR cru libconftest.a conftest.o 2>&5
7533 cat > conftest.c << _LT_EOF
7534 int main() { return 0;}
7536 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7537 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7539 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7540 lt_cv_ld_force_load=yes
7542 cat conftest.err >&5
7544 rm -f conftest.err libconftest.a conftest conftest.c
7545 rm -rf conftest.dSYM
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7549 $as_echo "$lt_cv_ld_force_load" >&6; }
7551 rhapsody* | darwin1.[012])
7552 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7554 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7555 darwin*) # darwin 5.x on
7556 # if running on 10.5 or later, the deployment target defaults
7557 # to the OS version, if on x86, and 10.4, the deployment
7558 # target defaults to 10.4. Don't you love it?
7559 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7560 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7561 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7563 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7569 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7570 _lt_dar_single_mod='$single_module'
7572 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7573 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7575 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7577 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7578 _lt_dsymutil='~$DSYMUTIL $lib || :'
7586 ac_cpp='$CPP $CPPFLAGS'
7587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7591 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7592 # On Suns, sometimes $CPP names a directory.
7593 if test -n "$CPP" && test -d "$CPP"; then
7596 if test -z "$CPP"; then
7597 if test "${ac_cv_prog_CPP+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7600 # Double quotes because CPP needs to be expanded
7601 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7604 for ac_c_preproc_warn_flag in '' yes
7606 # Use a header file that comes with gcc, so configuring glibc
7607 # with a fresh cross-compiler works.
7608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7609 # <limits.h> exists even on freestanding compilers.
7610 # On the NeXT, cc -E runs the code through the compiler's parser,
7611 # not just through cpp. "Syntax error" is here to catch this case.
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7615 # include <limits.h>
7617 # include <assert.h>
7621 if ac_fn_c_try_cpp "$LINENO"; then :
7624 # Broken: fails on valid input.
7627 rm -f conftest.err conftest.$ac_ext
7629 # OK, works on sane cases. Now check whether nonexistent headers
7630 # can be detected and how.
7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h. */
7633 #include <ac_nonexistent.h>
7635 if ac_fn_c_try_cpp "$LINENO"; then :
7636 # Broken: success on invalid input.
7639 # Passes both tests.
7643 rm -f conftest.err conftest.$ac_ext
7646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7647 rm -f conftest.err conftest.$ac_ext
7648 if $ac_preproc_ok; then :
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7661 $as_echo "$CPP" >&6; }
7663 for ac_c_preproc_warn_flag in '' yes
7665 # Use a header file that comes with gcc, so configuring glibc
7666 # with a fresh cross-compiler works.
7667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7668 # <limits.h> exists even on freestanding compilers.
7669 # On the NeXT, cc -E runs the code through the compiler's parser,
7670 # not just through cpp. "Syntax error" is here to catch this case.
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7674 # include <limits.h>
7676 # include <assert.h>
7680 if ac_fn_c_try_cpp "$LINENO"; then :
7683 # Broken: fails on valid input.
7686 rm -f conftest.err conftest.$ac_ext
7688 # OK, works on sane cases. Now check whether nonexistent headers
7689 # can be detected and how.
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <ac_nonexistent.h>
7694 if ac_fn_c_try_cpp "$LINENO"; then :
7695 # Broken: success on invalid input.
7698 # Passes both tests.
7702 rm -f conftest.err conftest.$ac_ext
7705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7706 rm -f conftest.err conftest.$ac_ext
7707 if $ac_preproc_ok; then :
7710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7712 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7713 See \`config.log' for more details." "$LINENO" 5; }
7717 ac_cpp='$CPP $CPPFLAGS'
7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7724 $as_echo_n "checking for ANSI C header files... " >&6; }
7725 if test "${ac_cv_header_stdc+set}" = set; then :
7726 $as_echo_n "(cached) " >&6
7728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7743 if ac_fn_c_try_compile "$LINENO"; then :
7744 ac_cv_header_stdc=yes
7746 ac_cv_header_stdc=no
7748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7750 if test $ac_cv_header_stdc = yes; then
7751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7758 $EGREP "memchr" >/dev/null 2>&1; then :
7761 ac_cv_header_stdc=no
7767 if test $ac_cv_header_stdc = yes; then
7768 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7775 $EGREP "free" >/dev/null 2>&1; then :
7778 ac_cv_header_stdc=no
7784 if test $ac_cv_header_stdc = yes; then
7785 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7786 if test "$cross_compiling" = yes; then :
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7793 #if ((' ' & 0x0FF) == 0x020)
7794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7797 # define ISLOWER(c) \
7798 (('a' <= (c) && (c) <= 'i') \
7799 || ('j' <= (c) && (c) <= 'r') \
7800 || ('s' <= (c) && (c) <= 'z'))
7801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7809 for (i = 0; i < 256; i++)
7810 if (XOR (islower (i), ISLOWER (i))
7811 || toupper (i) != TOUPPER (i))
7816 if ac_fn_c_try_run "$LINENO"; then :
7819 ac_cv_header_stdc=no
7821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7822 conftest.$ac_objext conftest.beam conftest.$ac_ext
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7828 $as_echo "$ac_cv_header_stdc" >&6; }
7829 if test $ac_cv_header_stdc = yes; then
7831 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7835 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7836 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7837 inttypes.h stdint.h unistd.h
7839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7842 eval as_val=\$$as_ac_Header
7843 if test "x$as_val" = x""yes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7853 for ac_header in dlfcn.h
7855 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7857 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_DLFCN_H 1
7878 # Check whether --enable-shared was given.
7879 if test "${enable_shared+set}" = set; then :
7880 enableval=$enable_shared; p=${PACKAGE-default}
7882 yes) enable_shared=yes ;;
7883 no) enable_shared=no ;;
7886 # Look at the argument we got. We use all the common list separators.
7887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7888 for pkg in $enableval; do
7890 if test "X$pkg" = "X$p"; then
7909 # Check whether --enable-static was given.
7910 if test "${enable_static+set}" = set; then :
7911 enableval=$enable_static; p=${PACKAGE-default}
7913 yes) enable_static=yes ;;
7914 no) enable_static=no ;;
7917 # Look at the argument we got. We use all the common list separators.
7918 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7919 for pkg in $enableval; do
7921 if test "X$pkg" = "X$p"; then
7941 # Check whether --with-pic was given.
7942 if test "${with_pic+set}" = set; then :
7943 withval=$with_pic; pic_mode="$withval"
7949 test -z "$pic_mode" && pic_mode=default
7957 # Check whether --enable-fast-install was given.
7958 if test "${enable_fast_install+set}" = set; then :
7959 enableval=$enable_fast_install; p=${PACKAGE-default}
7961 yes) enable_fast_install=yes ;;
7962 no) enable_fast_install=no ;;
7964 enable_fast_install=no
7965 # Look at the argument we got. We use all the common list separators.
7966 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7967 for pkg in $enableval; do
7969 if test "X$pkg" = "X$p"; then
7970 enable_fast_install=yes
7977 enable_fast_install=yes
7990 # This can be used to rebuild libtool when needed
7991 LIBTOOL_DEPS="$ltmain"
7993 # Always use our own libtool.
7994 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8021 test -z "$LN_S" && LN_S="ln -s"
8036 if test -n "${ZSH_VERSION+set}" ; then
8037 setopt NO_GLOB_SUBST
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8041 $as_echo_n "checking for objdir... " >&6; }
8042 if test "${lt_cv_objdir+set}" = set; then :
8043 $as_echo_n "(cached) " >&6
8045 rm -f .libs 2>/dev/null
8046 mkdir .libs 2>/dev/null
8047 if test -d .libs; then
8050 # MS-DOS does not allow filenames that begin with a dot.
8053 rmdir .libs 2>/dev/null
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8056 $as_echo "$lt_cv_objdir" >&6; }
8057 objdir=$lt_cv_objdir
8063 cat >>confdefs.h <<_ACEOF
8064 #define LT_OBJDIR "$lt_cv_objdir/"
8072 # AIX sometimes has problems with the GCC collect2 program. For some
8073 # reason, if we set the COLLECT_NAMES environment variable, the problems
8074 # vanish in a puff of smoke.
8075 if test "X${COLLECT_NAMES+set}" != Xset; then
8077 export COLLECT_NAMES
8084 can_build_shared=yes
8086 # All known linkers require a `.a' archive for static linking (except MSVC,
8087 # which needs '.lib').
8090 with_gnu_ld="$lt_cv_prog_gnu_ld"
8093 old_CFLAGS="$CFLAGS"
8095 # Set sane defaults for various variables
8096 test -z "$CC" && CC=cc
8097 test -z "$LTCC" && LTCC=$CC
8098 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8099 test -z "$LD" && LD=ld
8100 test -z "$ac_objext" && ac_objext=o
8102 for cc_temp in $compiler""; do
8104 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8105 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8110 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8113 # Only perform the check for file, if the check method requires it
8114 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8115 case $deplibs_check_method in
8117 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8119 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8121 $as_echo_n "(cached) " >&6
8125 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8128 lt_save_MAGIC_CMD="$MAGIC_CMD"
8129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8130 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8131 for ac_dir in $ac_dummy; do
8133 test -z "$ac_dir" && ac_dir=.
8134 if test -f $ac_dir/${ac_tool_prefix}file; then
8135 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8136 if test -n "$file_magic_test_file"; then
8137 case $deplibs_check_method in
8139 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8140 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8141 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8142 $EGREP "$file_magic_regex" > /dev/null; then
8147 *** Warning: the command libtool uses to detect shared libraries,
8148 *** $file_magic_cmd, produces output that libtool cannot recognize.
8149 *** The result is that libtool may fail to recognize shared libraries
8150 *** as such. This will affect the creation of libtool libraries that
8151 *** depend on shared libraries, but programs linked with such libtool
8152 *** libraries will work regardless of this problem. Nevertheless, you
8153 *** may want to report the problem to your system manager and/or to
8154 *** bug-libtool@gnu.org
8164 MAGIC_CMD="$lt_save_MAGIC_CMD"
8169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8170 if test -n "$MAGIC_CMD"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8172 $as_echo "$MAGIC_CMD" >&6; }
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8182 if test -z "$lt_cv_path_MAGIC_CMD"; then
8183 if test -n "$ac_tool_prefix"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8185 $as_echo_n "checking for file... " >&6; }
8186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8191 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8194 lt_save_MAGIC_CMD="$MAGIC_CMD"
8195 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8196 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8197 for ac_dir in $ac_dummy; do
8199 test -z "$ac_dir" && ac_dir=.
8200 if test -f $ac_dir/file; then
8201 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8202 if test -n "$file_magic_test_file"; then
8203 case $deplibs_check_method in
8205 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8206 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8207 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8208 $EGREP "$file_magic_regex" > /dev/null; then
8213 *** Warning: the command libtool uses to detect shared libraries,
8214 *** $file_magic_cmd, produces output that libtool cannot recognize.
8215 *** The result is that libtool may fail to recognize shared libraries
8216 *** as such. This will affect the creation of libtool libraries that
8217 *** depend on shared libraries, but programs linked with such libtool
8218 *** libraries will work regardless of this problem. Nevertheless, you
8219 *** may want to report the problem to your system manager and/or to
8220 *** bug-libtool@gnu.org
8230 MAGIC_CMD="$lt_save_MAGIC_CMD"
8235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236 if test -n "$MAGIC_CMD"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8238 $as_echo "$MAGIC_CMD" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8254 # Use C for the default configuration in the libtool script
8258 ac_cpp='$CPP $CPPFLAGS'
8259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8264 # Source file extension for C test sources.
8267 # Object file extension for compiled C test sources.
8271 # Code to be used in simple compile tests
8272 lt_simple_compile_test_code="int some_variable = 0;"
8274 # Code to be used in simple link tests
8275 lt_simple_link_test_code='int main(){return(0);}'
8283 # If no C compiler was specified, use CC.
8286 # If no C compiler flags were specified, use CFLAGS.
8287 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8289 # Allow CC to be a program name with arguments.
8292 # Save the default compiler, since it gets overwritten when the other
8293 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8294 compiler_DEFAULT=$CC
8296 # save warnings/boilerplate of simple test code
8297 ac_outfile=conftest.$ac_objext
8298 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8299 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8300 _lt_compiler_boilerplate=`cat conftest.err`
8303 ac_outfile=conftest.$ac_objext
8304 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8305 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306 _lt_linker_boilerplate=`cat conftest.err`
8311 ## There is no encapsulation within the following macros, do not change
8312 ## the running order or otherwise move them around unless you know exactly
8313 ## what you are doing...
8314 if test -n "$compiler"; then
8316 lt_prog_compiler_no_builtin_flag=
8318 if test "$GCC" = yes; then
8319 case $cc_basename in
8321 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8323 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8327 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8328 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8329 $as_echo_n "(cached) " >&6
8331 lt_cv_prog_compiler_rtti_exceptions=no
8332 ac_outfile=conftest.$ac_objext
8333 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8334 lt_compiler_flag="-fno-rtti -fno-exceptions"
8335 # Insert the option either (1) after the last *FLAGS variable, or
8336 # (2) before a word containing "conftest.", or (3) at the end.
8337 # Note that $ac_compile itself does not contain backslashes and begins
8338 # with a dollar sign (not a hyphen), so the echo should work correctly.
8339 # The option is referenced via a variable to avoid confusing sed.
8340 lt_compile=`echo "$ac_compile" | $SED \
8341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8343 -e 's:$: $lt_compiler_flag:'`
8344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8345 (eval "$lt_compile" 2>conftest.err)
8347 cat conftest.err >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 if (exit $ac_status) && test -s "$ac_outfile"; then
8350 # The compiler can only warn and ignore the option if not recognized
8351 # So say no if there are warnings other than the usual output.
8352 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8353 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8354 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8355 lt_cv_prog_compiler_rtti_exceptions=yes
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8362 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8364 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8365 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8377 lt_prog_compiler_wl=
8378 lt_prog_compiler_pic=
8379 lt_prog_compiler_static=
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8382 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8384 if test "$GCC" = yes; then
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_static='-static'
8390 # All AIX code is PIC.
8391 if test "$host_cpu" = ia64; then
8392 # AIX 5 now supports IA64 processor
8393 lt_prog_compiler_static='-Bstatic'
8400 # see comment about AmigaOS4 .so support
8401 lt_prog_compiler_pic='-fPIC'
8404 # FIXME: we need at least 68020 code to build shared libraries, but
8405 # adding the `-m68020' flag to GCC prevents building anything better,
8407 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8412 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8413 # PIC is the default for these OSes.
8416 mingw* | cygwin* | pw32* | os2* | cegcc*)
8417 # This hack is so that the source file can tell whether it is being
8418 # built for inclusion in a dll (and should export symbols for example).
8419 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8420 # (--disable-auto-import) libraries
8421 lt_prog_compiler_pic='-DDLL_EXPORT'
8424 darwin* | rhapsody*)
8425 # PIC is the default on this platform
8426 # Common symbols not allowed in MH_DYLIB files
8427 lt_prog_compiler_pic='-fno-common'
8431 # PIC is the default for Haiku.
8432 # The "-static" flag exists, but is broken.
8433 lt_prog_compiler_static=
8437 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8438 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8439 # sets the default TLS model and affects inlining.
8445 lt_prog_compiler_pic='-fPIC'
8451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8452 # Instead, we relocate shared libraries at runtime.
8456 # Just because we use GCC doesn't mean we suddenly get shared libraries
8457 # on systems that don't support them.
8458 lt_prog_compiler_can_build_shared=no
8463 # QNX uses GNU C++, but need to define -shared option too, otherwise
8465 lt_prog_compiler_pic='-fPIC -shared'
8469 if test -d /usr/nec; then
8470 lt_prog_compiler_pic=-Kconform_pic
8475 lt_prog_compiler_pic='-fPIC'
8479 case $cc_basename in
8480 nvcc*) # Cuda Compiler Driver 2.2
8481 lt_prog_compiler_wl='-Xlinker '
8482 lt_prog_compiler_pic='-Xcompiler -fPIC'
8486 # PORTME Check for flag to pass linker flags through the system compiler.
8489 lt_prog_compiler_wl='-Wl,'
8490 if test "$host_cpu" = ia64; then
8491 # AIX 5 now supports IA64 processor
8492 lt_prog_compiler_static='-Bstatic'
8494 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8498 mingw* | cygwin* | pw32* | os2* | cegcc*)
8499 # This hack is so that the source file can tell whether it is being
8500 # built for inclusion in a dll (and should export symbols for example).
8501 lt_prog_compiler_pic='-DDLL_EXPORT'
8504 hpux9* | hpux10* | hpux11*)
8505 lt_prog_compiler_wl='-Wl,'
8506 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8513 lt_prog_compiler_pic='+Z'
8516 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8517 lt_prog_compiler_static='${wl}-a ${wl}archive'
8520 irix5* | irix6* | nonstopux*)
8521 lt_prog_compiler_wl='-Wl,'
8522 # PIC (with -KPIC) is the default.
8523 lt_prog_compiler_static='-non_shared'
8526 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8527 case $cc_basename in
8528 # old Intel for x86_64 which still supported -KPIC.
8530 lt_prog_compiler_wl='-Wl,'
8531 lt_prog_compiler_pic='-KPIC'
8532 lt_prog_compiler_static='-static'
8534 # icc used to be incompatible with GCC.
8535 # ICC 10 doesn't accept -KPIC any more.
8537 lt_prog_compiler_wl='-Wl,'
8538 lt_prog_compiler_pic='-fPIC'
8539 lt_prog_compiler_static='-static'
8541 # Lahey Fortran 8.1.
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_pic='--shared'
8545 lt_prog_compiler_static='--static'
8547 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8548 # Portland Group compilers (*not* the Pentium gcc compiler,
8549 # which looks to be a dead project)
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_pic='-fpic'
8552 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_wl='-Wl,'
8556 # All Alpha code is PIC.
8557 lt_prog_compiler_static='-non_shared'
8559 xl* | bgxl* | bgf* | mpixl*)
8560 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_pic='-qpic'
8563 lt_prog_compiler_static='-qstaticlink'
8566 case `$CC -V 2>&1 | sed 5q` in
8567 *Sun\ F* | *Sun*Fortran*)
8568 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8569 lt_prog_compiler_pic='-KPIC'
8570 lt_prog_compiler_static='-Bstatic'
8571 lt_prog_compiler_wl=''
8575 lt_prog_compiler_pic='-KPIC'
8576 lt_prog_compiler_static='-Bstatic'
8577 lt_prog_compiler_wl='-Wl,'
8585 lt_prog_compiler_pic='-KPIC'
8586 lt_prog_compiler_static='-Bstatic'
8590 # QNX uses GNU C++, but need to define -shared option too, otherwise
8592 lt_prog_compiler_pic='-fPIC -shared'
8595 osf3* | osf4* | osf5*)
8596 lt_prog_compiler_wl='-Wl,'
8597 # All OSF/1 code is PIC.
8598 lt_prog_compiler_static='-non_shared'
8602 lt_prog_compiler_static='-non_shared'
8606 lt_prog_compiler_pic='-KPIC'
8607 lt_prog_compiler_static='-Bstatic'
8608 case $cc_basename in
8610 lt_prog_compiler_wl='-Qoption ld ';;
8612 lt_prog_compiler_wl='-Wl,';;
8617 lt_prog_compiler_wl='-Qoption ld '
8618 lt_prog_compiler_pic='-PIC'
8619 lt_prog_compiler_static='-Bstatic'
8622 sysv4 | sysv4.2uw2* | sysv4.3*)
8623 lt_prog_compiler_wl='-Wl,'
8624 lt_prog_compiler_pic='-KPIC'
8625 lt_prog_compiler_static='-Bstatic'
8629 if test -d /usr/nec ;then
8630 lt_prog_compiler_pic='-Kconform_pic'
8631 lt_prog_compiler_static='-Bstatic'
8635 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8636 lt_prog_compiler_wl='-Wl,'
8637 lt_prog_compiler_pic='-KPIC'
8638 lt_prog_compiler_static='-Bstatic'
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_can_build_shared=no
8647 lt_prog_compiler_pic='-pic'
8648 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_can_build_shared=no
8658 # For platforms which do not support PIC, -DPIC is meaningless:
8660 lt_prog_compiler_pic=
8663 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8667 $as_echo "$lt_prog_compiler_pic" >&6; }
8675 # Check to make sure the PIC flag actually works.
8677 if test -n "$lt_prog_compiler_pic"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8679 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8680 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8681 $as_echo_n "(cached) " >&6
8683 lt_cv_prog_compiler_pic_works=no
8684 ac_outfile=conftest.$ac_objext
8685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8686 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8687 # Insert the option either (1) after the last *FLAGS variable, or
8688 # (2) before a word containing "conftest.", or (3) at the end.
8689 # Note that $ac_compile itself does not contain backslashes and begins
8690 # with a dollar sign (not a hyphen), so the echo should work correctly.
8691 # The option is referenced via a variable to avoid confusing sed.
8692 lt_compile=`echo "$ac_compile" | $SED \
8693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8695 -e 's:$: $lt_compiler_flag:'`
8696 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8697 (eval "$lt_compile" 2>conftest.err)
8699 cat conftest.err >&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 if (exit $ac_status) && test -s "$ac_outfile"; then
8702 # The compiler can only warn and ignore the option if not recognized
8703 # So say no if there are warnings other than the usual output.
8704 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8706 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8707 lt_cv_prog_compiler_pic_works=yes
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8714 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8716 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8717 case $lt_prog_compiler_pic in
8719 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8722 lt_prog_compiler_pic=
8723 lt_prog_compiler_can_build_shared=no
8734 # Check to make sure the static flag actually works.
8736 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8739 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8740 $as_echo_n "(cached) " >&6
8742 lt_cv_prog_compiler_static_works=no
8743 save_LDFLAGS="$LDFLAGS"
8744 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8745 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8746 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8747 # The linker can only warn and ignore the option if not recognized
8748 # So say no if there are warnings
8749 if test -s conftest.err; then
8750 # Append any errors to the config.log.
8751 cat conftest.err 1>&5
8752 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754 if diff conftest.exp conftest.er2 >/dev/null; then
8755 lt_cv_prog_compiler_static_works=yes
8758 lt_cv_prog_compiler_static_works=yes
8762 LDFLAGS="$save_LDFLAGS"
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8766 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8768 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8771 lt_prog_compiler_static=
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8781 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8782 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8783 $as_echo_n "(cached) " >&6
8785 lt_cv_prog_compiler_c_o=no
8786 $RM -r conftest 2>/dev/null
8790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8792 lt_compiler_flag="-o out/conftest2.$ac_objext"
8793 # Insert the option either (1) after the last *FLAGS variable, or
8794 # (2) before a word containing "conftest.", or (3) at the end.
8795 # Note that $ac_compile itself does not contain backslashes and begins
8796 # with a dollar sign (not a hyphen), so the echo should work correctly.
8797 lt_compile=`echo "$ac_compile" | $SED \
8798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8800 -e 's:$: $lt_compiler_flag:'`
8801 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8802 (eval "$lt_compile" 2>out/conftest.err)
8804 cat out/conftest.err >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8808 # The compiler can only warn and ignore the option if not recognized
8809 # So say no if there are warnings
8810 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8811 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8812 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8813 lt_cv_prog_compiler_c_o=yes
8818 # SGI C++ compiler will create directory out/ii_files/ for
8819 # template instantiation
8820 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8821 $RM out/* && rmdir out
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8828 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8836 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8837 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8838 $as_echo_n "(cached) " >&6
8840 lt_cv_prog_compiler_c_o=no
8841 $RM -r conftest 2>/dev/null
8845 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="-o out/conftest2.$ac_objext"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 lt_compile=`echo "$ac_compile" | $SED \
8853 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8855 -e 's:$: $lt_compiler_flag:'`
8856 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8857 (eval "$lt_compile" 2>out/conftest.err)
8859 cat out/conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8866 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8867 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_c_o=yes
8873 # SGI C++ compiler will create directory out/ii_files/ for
8874 # template instantiation
8875 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8876 $RM out/* && rmdir out
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8883 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8888 hard_links="nottested"
8889 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8890 # do not overwrite the value of need_locks provided by the user
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8892 $as_echo_n "checking if we can lock with hard links... " >&6; }
8895 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8897 ln conftest.a conftest.b 2>&5 || hard_links=no
8898 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8900 $as_echo "$hard_links" >&6; }
8901 if test "$hard_links" = no; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8903 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8916 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8919 allow_undefined_flag=
8920 always_export_symbols=no
8922 archive_expsym_cmds=
8923 compiler_needs_object=no
8924 enable_shared_with_static_runtimes=no
8925 export_dynamic_flag_spec=
8926 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8927 hardcode_automatic=no
8929 hardcode_direct_absolute=no
8930 hardcode_libdir_flag_spec=
8931 hardcode_libdir_flag_spec_ld=
8932 hardcode_libdir_separator=
8934 hardcode_shlibpath_var=unsupported
8936 link_all_deplibs=unknown
8939 old_archive_from_new_cmds=
8940 old_archive_from_expsyms_cmds=
8941 thread_safe_flag_spec=
8942 whole_archive_flag_spec=
8943 # include_expsyms should be a list of space-separated symbols to be *always*
8944 # included in the symbol list
8946 # exclude_expsyms can be an extended regexp of symbols to exclude
8947 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8948 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8949 # as well as any symbol that contains `d'.
8950 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8951 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8952 # platforms (ab)use it in PIC code, but their linkers get confused if
8953 # the symbol is explicitly referenced. Since portable code cannot
8954 # rely on this symbol name, it's probably fine to never include it in
8955 # preloaded symbol tables.
8956 # Exclude shared library initialization/finalization symbols.
8957 extract_expsyms_cmds=
8960 cygwin* | mingw* | pw32* | cegcc*)
8961 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8962 # When not using gcc, we currently assume that we are using
8963 # Microsoft Visual C++.
8964 if test "$GCC" != yes; then
8969 # we just hope/assume this is gcc and not c89 (= MSVC++)
8979 # On some targets, GNU ld is compatible enough with the native linker
8980 # that we're better off using the native interface for both.
8981 lt_use_gnu_ld_interface=no
8982 if test "$with_gnu_ld" = yes; then
8985 # The AIX port of GNU ld has always aspired to compatibility
8986 # with the native linker. However, as the warning in the GNU ld
8987 # block says, versions before 2.19.5* couldn't really create working
8988 # shared libraries, regardless of the interface used.
8989 case `$LD -v 2>&1` in
8990 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8991 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8992 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8994 lt_use_gnu_ld_interface=yes
8999 lt_use_gnu_ld_interface=yes
9004 if test "$lt_use_gnu_ld_interface" = yes; then
9005 # If archive_cmds runs LD, not CC, wlarc should be empty
9008 # Set some defaults for GNU ld with shared library support. These
9009 # are reset later if shared libraries are not supported. Putting them
9010 # here allows them to be overridden if necessary.
9011 runpath_var=LD_RUN_PATH
9012 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9013 export_dynamic_flag_spec='${wl}--export-dynamic'
9014 # ancient GNU ld didn't support --whole-archive et. al.
9015 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9016 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9018 whole_archive_flag_spec=
9020 supports_anon_versioning=no
9021 case `$LD -v 2>&1` in
9022 *GNU\ gold*) supports_anon_versioning=yes ;;
9023 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9024 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9025 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9026 *\ 2.11.*) ;; # other 2.11 versions
9027 *) supports_anon_versioning=yes ;;
9030 # See if GNU ld supports shared libraries.
9033 # On AIX/PPC, the GNU linker is very broken
9034 if test "$host_cpu" != ia64; then
9038 *** Warning: the GNU linker, at least up to release 2.19, is reported
9039 *** to be unable to reliably create shared libraries on AIX.
9040 *** Therefore, libtool is disabling shared libraries support. If you
9041 *** really care for shared libraries, you may want to install binutils
9042 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9043 *** You will then need to restart the configuration process.
9052 # see comment about AmigaOS4 .so support
9053 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054 archive_expsym_cmds=''
9057 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)'
9058 hardcode_libdir_flag_spec='-L$libdir'
9059 hardcode_minus_L=yes
9065 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9066 allow_undefined_flag=unsupported
9067 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9068 # support --undefined. This deserves some investigation. FIXME
9069 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075 cygwin* | mingw* | pw32* | cegcc*)
9076 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9077 # as there is no search path for DLLs.
9078 hardcode_libdir_flag_spec='-L$libdir'
9079 export_dynamic_flag_spec='${wl}--export-all-symbols'
9080 allow_undefined_flag=unsupported
9081 always_export_symbols=no
9082 enable_shared_with_static_runtimes=yes
9083 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9085 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9087 # If the export-symbols file already is a .def file (1st line
9088 # is EXPORTS), use it as is; otherwise, prepend...
9089 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9090 cp $export_symbols $output_objdir/$soname.def;
9092 echo EXPORTS > $output_objdir/$soname.def;
9093 cat $export_symbols >> $output_objdir/$soname.def;
9095 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9102 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103 link_all_deplibs=yes
9108 hardcode_shlibpath_var=no
9109 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9110 export_dynamic_flag_spec='${wl}-E'
9111 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9112 # Instead, shared libraries are loaded at an image base (0x10000000 by
9113 # default) and relocated if they conflict, which is a slow very memory
9114 # consuming and fragmenting process. To avoid this, we pick a random,
9115 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9116 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9117 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9118 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'
9121 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9123 if test "$host_os" = linux-dietlibc; then
9124 case $cc_basename in
9125 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9128 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9129 && test "$tmp_diet" = no
9132 tmp_sharedflag='-shared'
9133 case $cc_basename,$host_cpu in
9134 pgcc*) # Portland Group C compiler
9135 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'
9136 tmp_addflag=' $pic_flag'
9138 pgf77* | pgf90* | pgf95* | pgfortran*)
9139 # Portland Group f77 and f90 compilers
9140 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'
9141 tmp_addflag=' $pic_flag -Mnomain' ;;
9142 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9143 tmp_addflag=' -i_dynamic' ;;
9144 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9145 tmp_addflag=' -i_dynamic -nofor_main' ;;
9146 ifc* | ifort*) # Intel Fortran compiler
9147 tmp_addflag=' -nofor_main' ;;
9148 lf95*) # Lahey Fortran 8.1
9149 whole_archive_flag_spec=
9150 tmp_sharedflag='--shared' ;;
9151 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9152 tmp_sharedflag='-qmkshrobj'
9154 nvcc*) # Cuda Compiler Driver 2.2
9155 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'
9156 compiler_needs_object=yes
9159 case `$CC -V 2>&1 | sed 5q` in
9160 *Sun\ C*) # Sun C 5.9
9161 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'
9162 compiler_needs_object=yes
9163 tmp_sharedflag='-G' ;;
9164 *Sun\ F*) # Sun Fortran 8.3
9165 tmp_sharedflag='-G' ;;
9167 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169 if test "x$supports_anon_versioning" = xyes; then
9170 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9172 echo "local: *; };" >> $output_objdir/$libname.ver~
9173 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9176 case $cc_basename in
9177 xlf* | bgf* | bgxlf* | mpixlf*)
9178 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9179 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9180 hardcode_libdir_flag_spec=
9181 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9182 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9183 if test "x$supports_anon_versioning" = xyes; then
9184 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9185 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9186 echo "local: *; };" >> $output_objdir/$libname.ver~
9187 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9197 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9198 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9207 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9211 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9212 *** create shared libraries on Solaris systems. Therefore, libtool
9213 *** is disabling shared libraries support. We urge you to upgrade GNU
9214 *** binutils to release 2.9.1 or newer. Another option is to modify
9215 *** your PATH or compiler configuration so that the native linker is
9216 *** used, and then restart.
9219 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9220 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9227 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9228 case `$LD -v 2>&1` in
9229 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9233 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9234 *** reliably create shared libraries on SCO systems. Therefore, libtool
9235 *** is disabling shared libraries support. We urge you to upgrade GNU
9236 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9237 *** your PATH or compiler configuration so that the native linker is
9238 *** used, and then restart.
9243 # For security reasons, it is highly recommended that you always
9244 # use absolute paths for naming shared libraries, and exclude the
9245 # DT_RUNPATH tag from executables and libraries. But doing so
9246 # requires that you compile everything twice, which is a pain.
9247 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9259 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_shlibpath_var=no
9266 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9275 if test "$ld_shlibs" = no; then
9277 hardcode_libdir_flag_spec=
9278 export_dynamic_flag_spec=
9279 whole_archive_flag_spec=
9282 # PORTME fill in a description of your system's linker (not GNU ld)
9285 allow_undefined_flag=unsupported
9286 always_export_symbols=yes
9287 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'
9288 # Note: this linker hardcodes the directories in LIBPATH if there
9289 # are no directories specified by -L.
9290 hardcode_minus_L=yes
9291 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9292 # Neither direct hardcoding nor static linking is supported with a
9294 hardcode_direct=unsupported
9299 if test "$host_cpu" = ia64; then
9300 # On IA64, the linker does run time linking by default, so we don't
9301 # have to do anything special.
9302 aix_use_runtimelinking=no
9303 exp_sym_flag='-Bexport'
9306 # If we're using GNU nm, then we don't want the "-C" option.
9307 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9308 # Also, AIX nm treats weak defined symbols like other global
9309 # defined symbols, whereas GNU nm marks them as "W".
9310 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9311 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'
9313 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'
9315 aix_use_runtimelinking=no
9317 # Test if we are trying to use run time linking or normal
9318 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9319 # need to do runtime linking.
9320 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9321 for ld_flag in $LDFLAGS; do
9322 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9323 aix_use_runtimelinking=yes
9330 exp_sym_flag='-bexport'
9331 no_entry_flag='-bnoentry'
9334 # When large executables or shared objects are built, AIX ld can
9335 # have problems creating the table of contents. If linking a library
9336 # or program results in "error TOC overflow" add -mminimal-toc to
9337 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9338 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9342 hardcode_direct_absolute=yes
9343 hardcode_libdir_separator=':'
9344 link_all_deplibs=yes
9345 file_list_spec='${wl}-f,'
9347 if test "$GCC" = yes; then
9348 case $host_os in aix4.[012]|aix4.[012].*)
9349 # We only want to do this on AIX 4.2 and lower, the check
9350 # below for broken collect2 doesn't work under 4.3+
9351 collect2name=`${CC} -print-prog-name=collect2`
9352 if test -f "$collect2name" &&
9353 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9355 # We have reworked collect2
9358 # We have old collect2
9359 hardcode_direct=unsupported
9360 # It fails to find uninstalled libraries when the uninstalled
9361 # path is not listed in the libpath. Setting hardcode_minus_L
9362 # to unsupported forces relinking
9363 hardcode_minus_L=yes
9364 hardcode_libdir_flag_spec='-L$libdir'
9365 hardcode_libdir_separator=
9369 shared_flag='-shared'
9370 if test "$aix_use_runtimelinking" = yes; then
9371 shared_flag="$shared_flag "'${wl}-G'
9375 if test "$host_cpu" = ia64; then
9376 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9377 # chokes on -Wl,-G. The following line is correct:
9380 if test "$aix_use_runtimelinking" = yes; then
9381 shared_flag='${wl}-G'
9383 shared_flag='${wl}-bM:SRE'
9388 export_dynamic_flag_spec='${wl}-bexpall'
9389 # It seems that -bexpall does not export symbols beginning with
9390 # underscore (_), so it is better to generate a list of symbols to export.
9391 always_export_symbols=yes
9392 if test "$aix_use_runtimelinking" = yes; then
9393 # Warning - without using the other runtime loading flags (-brtl),
9394 # -berok will link without error, but may produce a broken library.
9395 allow_undefined_flag='-berok'
9396 # Determine the default libpath from the value encoded in an
9398 if test x$gcc_no_link = xyes; then
9399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9412 if ac_fn_c_try_link "$LINENO"; then :
9414 lt_aix_libpath_sed='
9415 /Import File Strings/,/^$/ {
9421 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9422 # Check for a 64-bit object if we didn't find anything.
9423 if test -z "$aix_libpath"; then
9424 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9431 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9432 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"
9434 if test "$host_cpu" = ia64; then
9435 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9436 allow_undefined_flag="-z nodefs"
9437 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"
9439 # Determine the default libpath from the value encoded in an
9441 if test x$gcc_no_link = xyes; then
9442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9455 if ac_fn_c_try_link "$LINENO"; then :
9457 lt_aix_libpath_sed='
9458 /Import File Strings/,/^$/ {
9464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465 # Check for a 64-bit object if we didn't find anything.
9466 if test -z "$aix_libpath"; then
9467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9474 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9475 # Warning - without using the other run time loading flags,
9476 # -berok will link without error, but may produce a broken library.
9477 no_undefined_flag=' ${wl}-bernotok'
9478 allow_undefined_flag=' ${wl}-berok'
9479 if test "$with_gnu_ld" = yes; then
9480 # We only use this code for GNU lds that support --whole-archive.
9481 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9483 # Exported symbols can be pulled into shared objects from archives
9484 whole_archive_flag_spec='$convenience'
9486 archive_cmds_need_lc=yes
9487 # This is similar to how AIX traditionally builds its shared libraries.
9488 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'
9496 # see comment about AmigaOS4 .so support
9497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498 archive_expsym_cmds=''
9501 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)'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_minus_L=yes
9509 export_dynamic_flag_spec=-rdynamic
9512 cygwin* | mingw* | pw32* | cegcc*)
9513 # When not using gcc, we currently assume that we are using
9514 # Microsoft Visual C++.
9515 # hardcode_libdir_flag_spec is actually meaningless, as there is
9516 # no search path for DLLs.
9517 hardcode_libdir_flag_spec=' '
9518 allow_undefined_flag=unsupported
9519 # Tell ltmain to make .lib files, not .a files.
9521 # Tell ltmain to make .dll files, not .so files.
9523 # FIXME: Setting linknames here is a bad hack.
9524 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9525 # The linker will automatically build a .lib file if we build a DLL.
9526 old_archive_from_new_cmds='true'
9527 # FIXME: Should let the user specify the lib program.
9528 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9529 fix_srcfile_path='`cygpath -w "$srcfile"`'
9530 enable_shared_with_static_runtimes=yes
9533 darwin* | rhapsody*)
9536 archive_cmds_need_lc=no
9538 hardcode_automatic=yes
9539 hardcode_shlibpath_var=unsupported
9540 if test "$lt_cv_ld_force_load" = "yes"; then
9541 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\"`'
9543 whole_archive_flag_spec=''
9545 link_all_deplibs=yes
9546 allow_undefined_flag="$_lt_dar_allow_undefined"
9547 case $cc_basename in
9548 ifort*) _lt_dar_can_shared=yes ;;
9549 *) _lt_dar_can_shared=$GCC ;;
9551 if test "$_lt_dar_can_shared" = "yes"; then
9552 output_verbose_link_cmd=func_echo_all
9553 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9554 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9555 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}"
9556 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}"
9565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_libdir_flag_spec='-L$libdir'
9567 hardcode_shlibpath_var=no
9574 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9575 # support. Future versions do this automatically, but an explicit c++rt0.o
9576 # does not break anything, and helps significantly (at the cost of a little
9579 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9580 hardcode_libdir_flag_spec='-R$libdir'
9582 hardcode_shlibpath_var=no
9585 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9587 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_minus_L=yes
9590 hardcode_shlibpath_var=no
9593 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9594 freebsd* | dragonfly*)
9595 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9596 hardcode_libdir_flag_spec='-R$libdir'
9598 hardcode_shlibpath_var=no
9602 if test "$GCC" = yes; then
9603 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'
9605 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'
9607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9608 hardcode_libdir_separator=:
9611 # hardcode_minus_L: Not really in the search PATH,
9612 # but as the default location of the library.
9613 hardcode_minus_L=yes
9614 export_dynamic_flag_spec='${wl}-E'
9618 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9619 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9623 if test "$with_gnu_ld" = no; then
9624 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9625 hardcode_libdir_flag_spec_ld='+b $libdir'
9626 hardcode_libdir_separator=:
9628 hardcode_direct_absolute=yes
9629 export_dynamic_flag_spec='${wl}-E'
9630 # hardcode_minus_L: Not really in the search PATH,
9631 # but as the default location of the library.
9632 hardcode_minus_L=yes
9637 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9640 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9652 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9659 # Older versions of the 11.00 compiler do not understand -b yet
9660 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9662 $as_echo_n "checking if $CC understands -b... " >&6; }
9663 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9664 $as_echo_n "(cached) " >&6
9666 lt_cv_prog_compiler__b=no
9667 save_LDFLAGS="$LDFLAGS"
9668 LDFLAGS="$LDFLAGS -b"
9669 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9670 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9671 # The linker can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 if test -s conftest.err; then
9674 # Append any errors to the config.log.
9675 cat conftest.err 1>&5
9676 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9677 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9678 if diff conftest.exp conftest.er2 >/dev/null; then
9679 lt_cv_prog_compiler__b=yes
9682 lt_cv_prog_compiler__b=yes
9686 LDFLAGS="$save_LDFLAGS"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9690 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9692 if test x"$lt_cv_prog_compiler__b" = xyes; then
9693 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9701 if test "$with_gnu_ld" = no; then
9702 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703 hardcode_libdir_separator=:
9708 hardcode_shlibpath_var=no
9712 hardcode_direct_absolute=yes
9713 export_dynamic_flag_spec='${wl}-E'
9715 # hardcode_minus_L: Not really in the search PATH,
9716 # but as the default location of the library.
9717 hardcode_minus_L=yes
9723 irix5* | irix6* | nonstopux*)
9724 if test "$GCC" = yes; then
9725 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'
9726 # Try to use the -exported_symbol ld option, if it does not
9727 # work, assume that -exports_file does not work either and
9728 # implicitly export all symbols.
9729 save_LDFLAGS="$LDFLAGS"
9730 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9731 if test x$gcc_no_link = xyes; then
9732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 if ac_fn_c_try_link "$LINENO"; then :
9739 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'
9742 rm -f core conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9744 LDFLAGS="$save_LDFLAGS"
9746 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'
9747 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'
9749 archive_cmds_need_lc='no'
9750 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9751 hardcode_libdir_separator=:
9753 link_all_deplibs=yes
9757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9758 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9760 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9762 hardcode_libdir_flag_spec='-R$libdir'
9764 hardcode_shlibpath_var=no
9768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9771 hardcode_libdir_separator=:
9772 hardcode_shlibpath_var=no
9779 if test -f /usr/libexec/ld.so; then
9781 hardcode_shlibpath_var=no
9782 hardcode_direct_absolute=yes
9783 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9786 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9787 export_dynamic_flag_spec='${wl}-E'
9790 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9791 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9792 hardcode_libdir_flag_spec='-R$libdir'
9795 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9796 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9806 hardcode_libdir_flag_spec='-L$libdir'
9807 hardcode_minus_L=yes
9808 allow_undefined_flag=unsupported
9809 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'
9810 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9814 if test "$GCC" = yes; then
9815 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9816 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'
9818 allow_undefined_flag=' -expect_unresolved \*'
9819 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'
9821 archive_cmds_need_lc='no'
9822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9823 hardcode_libdir_separator=:
9826 osf4* | osf5*) # as osf3* with the addition of -msym flag
9827 if test "$GCC" = yes; then
9828 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9829 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'
9830 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832 allow_undefined_flag=' -expect_unresolved \*'
9833 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'
9834 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~
9835 $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'
9837 # Both c and cxx compiler support -rpath directly
9838 hardcode_libdir_flag_spec='-rpath $libdir'
9840 archive_cmds_need_lc='no'
9841 hardcode_libdir_separator=:
9845 no_undefined_flag=' -z defs'
9846 if test "$GCC" = yes; then
9848 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9850 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9852 case `$CC -V 2>&1` in
9855 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9857 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9861 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9862 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9863 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9867 hardcode_libdir_flag_spec='-R$libdir'
9868 hardcode_shlibpath_var=no
9870 solaris2.[0-5] | solaris2.[0-5].*) ;;
9872 # The compiler driver will combine and reorder linker options,
9873 # but understands `-z linker_flag'. GCC discards it without `$wl',
9874 # but is careful enough not to reorder.
9875 # Supported since Solaris 2.6 (maybe 2.5.1?)
9876 if test "$GCC" = yes; then
9877 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9879 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9883 link_all_deplibs=yes
9887 if test "x$host_vendor" = xsequent; then
9888 # Use $CC to link under sequent, because it throws in some extra .o
9889 # files that make .init and .fini sections work.
9890 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9894 hardcode_libdir_flag_spec='-L$libdir'
9896 hardcode_minus_L=yes
9897 hardcode_shlibpath_var=no
9901 case $host_vendor in
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=yes # is this really true???
9907 ## LD is ld it makes a PLAMLIB
9908 ## CC just makes a GrossModule.
9909 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9910 reload_cmds='$CC -r -o $output$reload_objs'
9914 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9918 runpath_var='LD_RUN_PATH'
9919 hardcode_shlibpath_var=no
9923 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924 hardcode_shlibpath_var=no
9925 export_dynamic_flag_spec='-Bexport'
9929 if test -d /usr/nec; then
9930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_shlibpath_var=no
9932 runpath_var=LD_RUN_PATH
9933 hardcode_runpath_var=yes
9938 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9939 no_undefined_flag='${wl}-z,text'
9940 archive_cmds_need_lc=no
9941 hardcode_shlibpath_var=no
9942 runpath_var='LD_RUN_PATH'
9944 if test "$GCC" = yes; then
9945 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 sysv5* | sco3.2v5* | sco5v6*)
9954 # Note: We can NOT use -z defs as we might desire, because we do not
9955 # link with -lc, and that would cause any symbols used from libc to
9956 # always be unresolved, which means just about no library would
9957 # ever link correctly. If we're not using GNU ld we use -z text
9958 # though, which does catch some bad symbols but isn't as heavy-handed
9960 no_undefined_flag='${wl}-z,text'
9961 allow_undefined_flag='${wl}-z,nodefs'
9962 archive_cmds_need_lc=no
9963 hardcode_shlibpath_var=no
9964 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9965 hardcode_libdir_separator=':'
9966 link_all_deplibs=yes
9967 export_dynamic_flag_spec='${wl}-Bexport'
9968 runpath_var='LD_RUN_PATH'
9970 if test "$GCC" = yes; then
9971 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9980 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9981 hardcode_libdir_flag_spec='-L$libdir'
9982 hardcode_shlibpath_var=no
9990 if test x$host_vendor = xsni; then
9992 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9993 export_dynamic_flag_spec='${wl}-Blargedynsym'
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10000 $as_echo "$ld_shlibs" >&6; }
10001 test "$ld_shlibs" = no && can_build_shared=no
10003 with_gnu_ld=$with_gnu_ld
10020 # Do we need to explicitly link libc?
10022 case "x$archive_cmds_need_lc" in
10024 # Assume -lc should be added
10025 archive_cmds_need_lc=yes
10027 if test "$enable_shared" = yes && test "$GCC" = yes; then
10028 case $archive_cmds in
10030 # FIXME: we may have to deal with multi-command sequences.
10033 # Test whether the compiler implicitly links with -lc since on some
10034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10035 # to ld, don't add -lc before -lgcc.
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10038 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10039 $as_echo_n "(cached) " >&6
10042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10045 (eval $ac_compile) 2>&5
10047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10048 test $ac_status = 0; } 2>conftest.err; then
10051 libobjs=conftest.$ac_objext
10053 wl=$lt_prog_compiler_wl
10054 pic_flag=$lt_prog_compiler_pic
10060 lt_save_allow_undefined_flag=$allow_undefined_flag
10061 allow_undefined_flag=
10062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10063 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10066 test $ac_status = 0; }
10068 lt_cv_archive_cmds_need_lc=no
10070 lt_cv_archive_cmds_need_lc=yes
10072 allow_undefined_flag=$lt_save_allow_undefined_flag
10074 cat conftest.err 1>&5
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10080 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10081 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10245 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10247 if test "$GCC" = yes; then
10249 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10250 *) lt_awk_arg="/^libraries:/" ;;
10253 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10254 *) lt_sed_strip_eq="s,=/,/,g" ;;
10256 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10257 case $lt_search_path_spec in
10259 # if the path contains ";" then we assume it to be the separator
10260 # otherwise default to the standard path separator (i.e. ":") - it is
10261 # assumed that no part of a normal pathname contains ";" but that should
10262 # okay in the real world where ";" in dirpaths is itself problematic.
10263 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10266 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10269 # Ok, now we have the path, separated by spaces, we can step through it
10270 # and add multilib dir if necessary.
10271 lt_tmp_lt_search_path_spec=
10272 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10273 for lt_sys_path in $lt_search_path_spec; do
10274 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10275 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10277 test -d "$lt_sys_path" && \
10278 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10281 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10282 BEGIN {RS=" "; FS="/|\n";} {
10285 for (lt_i = NF; lt_i > 0; lt_i--) {
10286 if ($lt_i != "" && $lt_i != ".") {
10287 if ($lt_i == "..") {
10290 if (lt_count == 0) {
10291 lt_foo="/" $lt_i lt_foo;
10298 if (lt_foo != "") { lt_freq[lt_foo]++; }
10299 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10301 # AWK program above erroneously prepends '/' to C:/dos/paths
10304 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10305 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10307 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10309 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10311 library_names_spec=
10312 libname_spec='lib$name'
10316 postuninstall_cmds=
10320 shlibpath_overrides_runpath=unknown
10322 dynamic_linker="$host_os ld.so"
10323 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10324 need_lib_prefix=unknown
10325 hardcode_into_libs=no
10327 # when you set need_version to no, make sure it does not cause -set_version
10328 # flags to be left without arguments
10329 need_version=unknown
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10335 shlibpath_var=LIBPATH
10337 # AIX 3 has no versioning support, so we append a major version to the name.
10338 soname_spec='${libname}${release}${shared_ext}$major'
10345 hardcode_into_libs=yes
10346 if test "$host_cpu" = ia64; then
10347 # AIX 5 supports IA64
10348 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10349 shlibpath_var=LD_LIBRARY_PATH
10351 # With GCC up to 2.95.x, collect2 would create an import file
10352 # for dependence libraries. The import file would start with
10353 # the line `#! .'. This would cause the generated library to
10354 # depend on `.', always an invalid library. This was fixed in
10355 # development snapshots of GCC prior to 3.0.
10357 aix4 | aix4.[01] | aix4.[01].*)
10358 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10360 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10363 can_build_shared=no
10367 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10368 # soname into executable. Probably we can add versioning support to
10369 # collect2, so additional links can be useful in future.
10370 if test "$aix_use_runtimelinking" = yes; then
10371 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10372 # instead of lib<name>.a to let people know that these are not
10373 # typical AIX shared libraries.
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 # We preserve .a as extension for shared libraries through AIX4.2
10377 # and later when we are not doing run time linking.
10378 library_names_spec='${libname}${release}.a $libname.a'
10379 soname_spec='${libname}${release}${shared_ext}$major'
10381 shlibpath_var=LIBPATH
10388 # Since July 2007 AmigaOS4 officially supports .so libraries.
10389 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10393 library_names_spec='$libname.ixlibrary $libname.a'
10394 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10395 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'
10401 library_names_spec='${libname}${shared_ext}'
10402 dynamic_linker="$host_os ld.so"
10403 shlibpath_var=LIBRARY_PATH
10409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10410 soname_spec='${libname}${release}${shared_ext}$major'
10411 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10412 shlibpath_var=LD_LIBRARY_PATH
10413 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10414 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10415 # the default ld.so.conf also contains /usr/contrib/lib and
10416 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10417 # libtool to hard-code these into programs
10420 cygwin* | mingw* | pw32* | cegcc*)
10421 version_type=windows
10426 case $GCC,$host_os in
10427 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10428 library_names_spec='$libname.dll.a'
10429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10430 postinstall_cmds='base_file=`basename \${file}`~
10431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10432 dldir=$destdir/`dirname \$dlpath`~
10433 test -d \$dldir || mkdir -p \$dldir~
10434 $install_prog $dir/$dlname \$dldir/$dlname~
10435 chmod a+x \$dldir/$dlname~
10436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10440 dlpath=$dir/\$dldll~
10442 shlibpath_overrides_runpath=yes
10446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10447 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10449 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10452 # MinGW DLLs use traditional 'lib' prefix
10453 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10456 # pw32 DLLs use 'pw' prefix rather than 'lib'
10457 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10463 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10466 dynamic_linker='Win32 ld.exe'
10467 # FIXME: first we should search . and the directory the executable is in
10471 darwin* | rhapsody*)
10472 dynamic_linker="$host_os dyld"
10473 version_type=darwin
10476 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10477 soname_spec='${libname}${release}${major}$shared_ext'
10478 shlibpath_overrides_runpath=yes
10479 shlibpath_var=DYLD_LIBRARY_PATH
10480 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10482 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10483 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10492 shlibpath_var=LD_LIBRARY_PATH
10499 freebsd* | dragonfly*)
10500 # DragonFly does not have aout. When/if they implement a new
10501 # versioning mechanism, adjust this.
10502 if test -x /usr/bin/objformat; then
10503 objformat=`/usr/bin/objformat`
10506 freebsd[123]*) objformat=aout ;;
10507 *) objformat=elf ;;
10510 version_type=freebsd-$objformat
10511 case $version_type in
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10522 shlibpath_var=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath=yes
10527 freebsd3.[01]* | freebsdelf3.[01]*)
10528 shlibpath_overrides_runpath=yes
10529 hardcode_into_libs=yes
10531 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10532 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10533 shlibpath_overrides_runpath=no
10534 hardcode_into_libs=yes
10536 *) # from 4.6 on, and DragonFly
10537 shlibpath_overrides_runpath=yes
10538 hardcode_into_libs=yes
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548 soname_spec='${libname}${release}${shared_ext}$major'
10549 shlibpath_var=LD_LIBRARY_PATH
10550 hardcode_into_libs=yes
10557 dynamic_linker="$host_os runtime_loader"
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10559 soname_spec='${libname}${release}${shared_ext}$major'
10560 shlibpath_var=LIBRARY_PATH
10561 shlibpath_overrides_runpath=yes
10562 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10563 hardcode_into_libs=yes
10566 hpux9* | hpux10* | hpux11*)
10567 # Give a soname corresponding to the major version so that dld.sl refuses to
10568 # link against other versions.
10575 hardcode_into_libs=yes
10576 dynamic_linker="$host_os dld.so"
10577 shlibpath_var=LD_LIBRARY_PATH
10578 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 if test "X$HPUX_IA64_MODE" = X32; then
10582 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10584 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10586 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10590 hardcode_into_libs=yes
10591 dynamic_linker="$host_os dld.sl"
10592 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10593 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10597 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10601 dynamic_linker="$host_os dld.sl"
10602 shlibpath_var=SHLIB_PATH
10603 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 soname_spec='${libname}${release}${shared_ext}$major'
10608 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10609 postinstall_cmds='chmod 555 $lib'
10610 # or fails outright, so override atomically:
10611 install_override_mode=555
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10621 shlibpath_var=LD_LIBRARY_PATH
10622 shlibpath_overrides_runpath=no
10623 hardcode_into_libs=yes
10626 irix5* | irix6* | nonstopux*)
10628 nonstopux*) version_type=nonstopux ;;
10630 if test "$lt_cv_prog_gnu_ld" = yes; then
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10641 irix5* | nonstopux*)
10642 libsuff= shlibsuff=
10645 case $LD in # libtool.m4 will add one of these switches to LD
10646 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10647 libsuff= shlibsuff= libmagic=32-bit;;
10648 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10649 libsuff=32 shlibsuff=N32 libmagic=N32;;
10650 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10651 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10652 *) libsuff= shlibsuff= libmagic=never-match;;
10656 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10657 shlibpath_overrides_runpath=no
10658 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10659 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10660 hardcode_into_libs=yes
10663 # No shared lib support for Linux oldld, aout, or coff.
10664 linux*oldld* | linux*aout* | linux*coff*)
10668 # This must be Linux ELF.
10669 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=no
10679 # Some binutils ld are patched to set DT_RUNPATH
10680 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10681 $as_echo_n "(cached) " >&6
10683 lt_cv_shlibpath_overrides_runpath=no
10684 save_LDFLAGS=$LDFLAGS
10685 save_libdir=$libdir
10686 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10687 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10688 if test x$gcc_no_link = xyes; then
10689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10704 lt_cv_shlibpath_overrides_runpath=yes
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LDFLAGS=$save_LDFLAGS
10710 libdir=$save_libdir
10714 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10716 # This implies no fast_install, which is unacceptable.
10717 # Some rework will be needed to allow for fast_install
10718 # before this can be enabled.
10719 hardcode_into_libs=yes
10721 # Append ld.so.conf contents to the search path
10722 if test -f /etc/ld.so.conf; then
10723 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' ' '`
10724 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10727 # We used to test for /lib/ld.so.1 and disable shared libraries on
10728 # powerpc, because MkLinux only supported shared libraries with the
10729 # GNU dynamic linker. Since this was broken with cross compilers,
10730 # most powerpc-linux boxes support dynamic linking these days and
10731 # people can always --disable-shared, the test was removed, and we
10732 # assume the GNU/Linux dynamic linker is in use.
10733 dynamic_linker='GNU/Linux ld.so'
10740 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743 dynamic_linker='NetBSD (a.out) ld.so'
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 dynamic_linker='NetBSD ld.elf_so'
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=yes
10751 hardcode_into_libs=yes
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10770 dynamic_linker='ldqnx.so'
10775 sys_lib_dlsearch_path_spec="/usr/lib"
10777 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10779 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10780 *) need_version=no ;;
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10787 openbsd2.[89] | openbsd2.[89].*)
10788 shlibpath_overrides_runpath=no
10791 shlibpath_overrides_runpath=yes
10795 shlibpath_overrides_runpath=yes
10800 libname_spec='$name'
10803 library_names_spec='$libname${shared_ext} $libname.a'
10804 dynamic_linker='OS/2 ld.exe'
10805 shlibpath_var=LIBPATH
10808 osf3* | osf4* | osf5*)
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=yes
10831 hardcode_into_libs=yes
10832 # ldd complains unless libraries are executable
10833 postinstall_cmds='chmod +x $lib'
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=yes
10842 if test "$with_gnu_ld" = yes; then
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 case $host_vendor in
10855 shlibpath_overrides_runpath=no
10857 runpath_var=LD_RUN_PATH
10865 shlibpath_overrides_runpath=no
10866 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10872 if test -d /usr/nec ;then
10874 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875 soname_spec='$libname${shared_ext}.$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10881 version_type=freebsd-elf
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=yes
10888 hardcode_into_libs=yes
10889 if test "$with_gnu_ld" = yes; then
10890 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10892 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10895 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10899 sys_lib_dlsearch_path_spec='/usr/lib'
10903 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10910 hardcode_into_libs=yes
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 shlibpath_var=LD_LIBRARY_PATH
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035 test -n "$runpath_var" ||
11036 test "X$hardcode_automatic" = "Xyes" ; then
11038 # We can hardcode non-existent directories.
11039 if test "$hardcode_direct" != no &&
11040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041 # have to relink, otherwise we might link with an installed library
11042 # when we should be linking with a yet-to-be-installed one
11043 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044 test "$hardcode_minus_L" != no; then
11045 # Linking always hardcodes the temporary library directory.
11046 hardcode_action=relink
11048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049 hardcode_action=immediate
11052 # We cannot hardcode anything, or else we can only hardcode existing
11054 hardcode_action=unsupported
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11059 if test "$hardcode_action" = relink ||
11060 test "$inherit_rpath" = yes; then
11061 # Fast installation is not supported
11062 enable_fast_install=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064 test "$enable_shared" = no; then
11065 # Fast installation is not necessary
11066 enable_fast_install=needless
11074 if test "x$enable_dlopen" != xyes; then
11075 enable_dlopen=unknown
11076 enable_dlopen_self=unknown
11077 enable_dlopen_self_static=unknown
11084 lt_cv_dlopen="load_add_on"
11086 lt_cv_dlopen_self=yes
11089 mingw* | pw32* | cegcc*)
11090 lt_cv_dlopen="LoadLibrary"
11095 lt_cv_dlopen="dlopen"
11100 # if libdl is installed we need to link against it
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11104 $as_echo_n "(cached) " >&6
11106 ac_check_lib_save_LIBS=$LIBS
11108 if test x$gcc_no_link = xyes; then
11109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 ac_cv_lib_dl_dlopen=yes
11132 ac_cv_lib_dl_dlopen=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11139 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11140 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11144 lt_cv_dlopen="dyld"
11146 lt_cv_dlopen_self=yes
11153 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11154 if test "x$ac_cv_func_shl_load" = x""yes; then :
11155 lt_cv_dlopen="shl_load"
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11158 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11159 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11160 $as_echo_n "(cached) " >&6
11162 ac_check_lib_save_LIBS=$LIBS
11164 if test x$gcc_no_link = xyes; then
11165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11180 return shl_load ();
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 ac_cv_lib_dld_shl_load=yes
11188 ac_cv_lib_dld_shl_load=no
11190 rm -f core conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11195 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11196 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11197 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11199 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11200 if test "x$ac_cv_func_dlopen" = x""yes; then :
11201 lt_cv_dlopen="dlopen"
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11206 $as_echo_n "(cached) " >&6
11208 ac_check_lib_save_LIBS=$LIBS
11210 if test x$gcc_no_link = xyes; then
11211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 ac_cv_lib_dl_dlopen=yes
11234 ac_cv_lib_dl_dlopen=no
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11241 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11242 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11246 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11247 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11248 $as_echo_n "(cached) " >&6
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lsvld $LIBS"
11252 if test x$gcc_no_link = xyes; then
11253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 ac_cv_lib_svld_dlopen=yes
11276 ac_cv_lib_svld_dlopen=no
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11283 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11284 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11285 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11288 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11289 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_lib_save_LIBS=$LIBS
11294 if test x$gcc_no_link = xyes; then
11295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11310 return dld_link ();
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_dld_dld_link=yes
11318 ac_cv_lib_dld_dld_link=no
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11325 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11326 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11327 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11348 if test "x$lt_cv_dlopen" != xno; then
11354 case $lt_cv_dlopen in
11356 save_CPPFLAGS="$CPPFLAGS"
11357 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11359 save_LDFLAGS="$LDFLAGS"
11360 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11363 LIBS="$lt_cv_dlopen_libs $LIBS"
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11366 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11367 if test "${lt_cv_dlopen_self+set}" = set; then :
11368 $as_echo_n "(cached) " >&6
11370 if test "$cross_compiling" = yes; then :
11371 lt_cv_dlopen_self=cross
11373 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11374 lt_status=$lt_dlunknown
11375 cat > conftest.$ac_ext <<_LT_EOF
11376 #line 11376 "configure"
11377 #include "confdefs.h"
11386 # define LT_DLGLOBAL RTLD_GLOBAL
11389 # define LT_DLGLOBAL DL_GLOBAL
11391 # define LT_DLGLOBAL 0
11395 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11396 find out it does not work in some platform. */
11397 #ifndef LT_DLLAZY_OR_NOW
11399 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11402 # define LT_DLLAZY_OR_NOW DL_LAZY
11405 # define LT_DLLAZY_OR_NOW RTLD_NOW
11408 # define LT_DLLAZY_OR_NOW DL_NOW
11410 # define LT_DLLAZY_OR_NOW 0
11417 /* When -fvisbility=hidden is used, assume the code has been annotated
11418 correspondingly for the symbols needed. */
11419 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11420 void fnord () __attribute__((visibility("default")));
11423 void fnord () { int i=42; }
11426 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11427 int status = $lt_dlunknown;
11431 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11434 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11435 else puts (dlerror ());
11437 /* dlclose (self); */
11445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11446 (eval $ac_link) 2>&5
11448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11449 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11450 (./conftest; exit; ) >&5 2>/dev/null
11452 case x$lt_status in
11453 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11454 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11455 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11458 # compilation failed
11459 lt_cv_dlopen_self=no
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11467 $as_echo "$lt_cv_dlopen_self" >&6; }
11469 if test "x$lt_cv_dlopen_self" = xyes; then
11470 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11472 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11473 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11474 $as_echo_n "(cached) " >&6
11476 if test "$cross_compiling" = yes; then :
11477 lt_cv_dlopen_self_static=cross
11479 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11480 lt_status=$lt_dlunknown
11481 cat > conftest.$ac_ext <<_LT_EOF
11482 #line 11482 "configure"
11483 #include "confdefs.h"
11492 # define LT_DLGLOBAL RTLD_GLOBAL
11495 # define LT_DLGLOBAL DL_GLOBAL
11497 # define LT_DLGLOBAL 0
11501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11502 find out it does not work in some platform. */
11503 #ifndef LT_DLLAZY_OR_NOW
11505 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11508 # define LT_DLLAZY_OR_NOW DL_LAZY
11511 # define LT_DLLAZY_OR_NOW RTLD_NOW
11514 # define LT_DLLAZY_OR_NOW DL_NOW
11516 # define LT_DLLAZY_OR_NOW 0
11523 /* When -fvisbility=hidden is used, assume the code has been annotated
11524 correspondingly for the symbols needed. */
11525 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11526 void fnord () __attribute__((visibility("default")));
11529 void fnord () { int i=42; }
11532 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11533 int status = $lt_dlunknown;
11537 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11540 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11541 else puts (dlerror ());
11543 /* dlclose (self); */
11551 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11552 (eval $ac_link) 2>&5
11554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11555 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11556 (./conftest; exit; ) >&5 2>/dev/null
11558 case x$lt_status in
11559 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11560 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11561 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11564 # compilation failed
11565 lt_cv_dlopen_self_static=no
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11573 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11576 CPPFLAGS="$save_CPPFLAGS"
11577 LDFLAGS="$save_LDFLAGS"
11582 case $lt_cv_dlopen_self in
11583 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11584 *) enable_dlopen_self=unknown ;;
11587 case $lt_cv_dlopen_self_static in
11588 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11589 *) enable_dlopen_self_static=unknown ;;
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11612 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11613 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11614 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11615 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11619 # FIXME - insert some real tests, host_os isn't really good enough
11622 if test -n "$STRIP" ; then
11623 striplib="$STRIP -x"
11624 old_striplib="$STRIP -S"
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11626 $as_echo "yes" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11629 $as_echo "no" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11650 # Report which library types will actually be built
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11652 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11654 $as_echo "$can_build_shared" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11657 $as_echo_n "checking whether to build shared libraries... " >&6; }
11658 test "$can_build_shared" = "no" && enable_shared=no
11660 # On AIX, shared libraries and static libraries use the same namespace, and
11661 # are all built from PIC.
11664 test "$enable_shared" = yes && enable_static=no
11665 if test -n "$RANLIB"; then
11666 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11667 postinstall_cmds='$RANLIB $lib'
11672 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11673 test "$enable_shared" = yes && enable_static=no
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11678 $as_echo "$enable_shared" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11681 $as_echo_n "checking whether to build static libraries... " >&6; }
11682 # Make sure either enable_shared or enable_static is yes.
11683 test "$enable_shared" = yes || enable_static=yes
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11685 $as_echo "$enable_static" >&6; }
11692 ac_cpp='$CPP $CPPFLAGS'
11693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11711 ac_config_commands="$ac_config_commands libtool"
11716 # Only expand once:
11723 *-cygwin* | *-mingw*)
11724 # 'host' will be top-level target in the case of a target lib,
11725 # we must compare to with_cross_host to decide if this is a native
11726 # or cross-compiler and select where to install dlls appropriately.
11727 if test -n "$with_cross_host" &&
11728 test x"$with_cross_host" != x"no"; then
11729 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
11731 lt_host_flags='-no-undefined -bindir "$(bindir)"';
11743 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11745 # We need gfortran to compile parts of the library
11746 #AC_PROG_FC(gfortran)
11748 ac_ext=${ac_fc_srcext-f}
11749 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11750 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11752 if test -n "$ac_tool_prefix"; then
11753 for ac_prog in gfortran
11755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11758 $as_echo_n "checking for $ac_word... " >&6; }
11759 if test "${ac_cv_prog_FC+set}" = set; then :
11760 $as_echo_n "(cached) " >&6
11762 if test -n "$FC"; then
11763 ac_cv_prog_FC="$FC" # Let the user override the test.
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11769 test -z "$as_dir" && as_dir=.
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11772 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11783 if test -n "$FC"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11785 $as_echo "$FC" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11792 test -n "$FC" && break
11795 if test -z "$FC"; then
11797 for ac_prog in gfortran
11799 # Extract the first word of "$ac_prog", so it can be a program name with args.
11800 set dummy $ac_prog; ac_word=$2
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11802 $as_echo_n "checking for $ac_word... " >&6; }
11803 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11804 $as_echo_n "(cached) " >&6
11806 if test -n "$ac_ct_FC"; then
11807 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11816 ac_cv_prog_ac_ct_FC="$ac_prog"
11817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11826 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11827 if test -n "$ac_ct_FC"; then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11829 $as_echo "$ac_ct_FC" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11836 test -n "$ac_ct_FC" && break
11839 if test "x$ac_ct_FC" = x; then
11842 case $cross_compiling:$ac_tool_warned in
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11846 ac_tool_warned=yes ;;
11853 # Provide some information about the compiler.
11854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11857 for ac_option in --version -v -V -qversion; do
11858 { { ac_try="$ac_compiler $ac_option >&5"
11859 case "(($ac_try" in
11860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11861 *) ac_try_echo=$ac_try;;
11863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11864 $as_echo "$ac_try_echo"; } >&5
11865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11867 if test -s conftest.err; then
11869 ... rest of stderr output deleted ...
11870 10q' conftest.err >conftest.er1
11871 cat conftest.er1 >&5
11872 rm -f conftest.er1 conftest.err
11874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11875 test $ac_status = 0; }
11879 # If we don't use `.F' as extension, the preprocessor is not run on the
11880 # input file. (Note that this only needs to work for GNU compilers.)
11881 ac_save_ext=$ac_ext
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11884 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11885 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11886 $as_echo_n "(cached) " >&6
11888 cat > conftest.$ac_ext <<_ACEOF
11896 if ac_fn_fc_try_compile "$LINENO"; then :
11897 ac_compiler_gnu=yes
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11906 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11907 ac_ext=$ac_save_ext
11908 ac_test_FCFLAGS=${FCFLAGS+set}
11909 ac_save_FCFLAGS=$FCFLAGS
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11912 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11913 if test "${ac_cv_prog_fc_g+set}" = set; then :
11914 $as_echo_n "(cached) " >&6
11917 cat > conftest.$ac_ext <<_ACEOF
11922 if ac_fn_fc_try_compile "$LINENO"; then :
11923 ac_cv_prog_fc_g=yes
11927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11931 $as_echo "$ac_cv_prog_fc_g" >&6; }
11932 if test "$ac_test_FCFLAGS" = set; then
11933 FCFLAGS=$ac_save_FCFLAGS
11934 elif test $ac_cv_prog_fc_g = yes; then
11935 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11941 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11954 ac_ext=${ac_fc_srcext-f}
11955 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11956 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11960 if test -z "$FC" || test "X$FC" = "Xno"; then
11964 archive_cmds_need_lc_FC=no
11965 allow_undefined_flag_FC=
11966 always_export_symbols_FC=no
11967 archive_expsym_cmds_FC=
11968 export_dynamic_flag_spec_FC=
11969 hardcode_direct_FC=no
11970 hardcode_direct_absolute_FC=no
11971 hardcode_libdir_flag_spec_FC=
11972 hardcode_libdir_flag_spec_ld_FC=
11973 hardcode_libdir_separator_FC=
11974 hardcode_minus_L_FC=no
11975 hardcode_automatic_FC=no
11976 inherit_rpath_FC=no
11978 module_expsym_cmds_FC=
11979 link_all_deplibs_FC=unknown
11980 old_archive_cmds_FC=$old_archive_cmds
11981 reload_flag_FC=$reload_flag
11982 reload_cmds_FC=$reload_cmds
11983 no_undefined_flag_FC=
11984 whole_archive_flag_spec_FC=
11985 enable_shared_with_static_runtimes_FC=no
11987 # Source file extension for fc test sources.
11988 ac_ext=${ac_fc_srcext-f}
11990 # Object file extension for compiled fc test sources.
11994 # No sense in running all these tests if we already determined that
11995 # the FC compiler isn't working. Some variables (like enable_shared)
11996 # are currently assumed to apply to all compilers on this platform,
11997 # and will be corrupted by setting them based on a non-working compiler.
11998 if test "$_lt_disable_FC" != yes; then
11999 # Code to be used in simple compile tests
12000 lt_simple_compile_test_code="\
12006 # Code to be used in simple link tests
12007 lt_simple_link_test_code="\
12012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12019 # If no C compiler was specified, use CC.
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12025 # Allow CC to be a program name with arguments.
12029 # save warnings/boilerplate of simple test code
12030 ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12036 ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12043 # Allow CC to be a program name with arguments.
12048 GCC=$ac_cv_fc_compiler_gnu
12051 for cc_temp in $compiler""; do
12053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12054 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12062 if test -n "$compiler"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12064 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12066 $as_echo "$can_build_shared" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12069 $as_echo_n "checking whether to build shared libraries... " >&6; }
12070 test "$can_build_shared" = "no" && enable_shared=no
12072 # On AIX, shared libraries and static libraries use the same namespace, and
12073 # are all built from PIC.
12076 test "$enable_shared" = yes && enable_static=no
12077 if test -n "$RANLIB"; then
12078 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12079 postinstall_cmds='$RANLIB $lib'
12083 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12084 test "$enable_shared" = yes && enable_static=no
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12089 $as_echo "$enable_shared" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12092 $as_echo_n "checking whether to build static libraries... " >&6; }
12093 # Make sure either enable_shared or enable_static is yes.
12094 test "$enable_shared" = yes || enable_static=yes
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12096 $as_echo "$enable_static" >&6; }
12098 GCC_FC="$ac_cv_fc_compiler_gnu"
12102 ## There is no encapsulation within the following macros, do not change
12103 ## the running order or otherwise move them around unless you know exactly
12104 ## what you are doing...
12105 # Dependencies to place before and after the object being linked:
12107 postdep_objects_FC=
12110 compiler_lib_search_path_FC=
12112 cat > conftest.$ac_ext <<_LT_EOF
12121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12122 (eval $ac_compile) 2>&5
12124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12125 test $ac_status = 0; }; then
12126 # Parse the compiler output and extract the necessary
12127 # objects, libraries and library flags.
12129 # Sentinel used to keep track of whether or not we are before
12130 # the conftest object file.
12131 pre_test_object_deps_done=no
12133 for p in `eval "$output_verbose_link_cmd"`; do
12137 # Some compilers place space between "-{L,R}" and the path.
12138 # Remove the space.
12139 if test $p = "-L" ||
12140 test $p = "-R"; then
12147 if test "$pre_test_object_deps_done" = no; then
12150 # Internal compiler library paths should come after those
12151 # provided the user. The postdeps already come after the
12152 # user supplied libs so there is no need to process them.
12153 if test -z "$compiler_lib_search_path_FC"; then
12154 compiler_lib_search_path_FC="${prev}${p}"
12156 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12159 # The "-l" case would never come before the object being
12160 # linked, so don't bother handling this case.
12163 if test -z "$postdeps_FC"; then
12164 postdeps_FC="${prev}${p}"
12166 postdeps_FC="${postdeps_FC} ${prev}${p}"
12172 # This assumes that the test object file only shows up
12173 # once in the compiler output.
12174 if test "$p" = "conftest.$objext"; then
12175 pre_test_object_deps_done=yes
12179 if test "$pre_test_object_deps_done" = no; then
12180 if test -z "$predep_objects_FC"; then
12181 predep_objects_FC="$p"
12183 predep_objects_FC="$predep_objects_FC $p"
12186 if test -z "$postdep_objects_FC"; then
12187 postdep_objects_FC="$p"
12189 postdep_objects_FC="$postdep_objects_FC $p"
12194 *) ;; # Ignore the rest.
12202 echo "libtool.m4: error: problem compiling FC test program"
12205 $RM -f confest.$objext
12207 # PORTME: override above test on systems where it is broken
12210 case " $postdeps_FC " in
12211 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12213 compiler_lib_search_dirs_FC=
12214 if test -n "${compiler_lib_search_path_FC}"; then
12215 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12248 lt_prog_compiler_wl_FC=
12249 lt_prog_compiler_pic_FC=
12250 lt_prog_compiler_static_FC=
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12253 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12255 if test "$GCC" = yes; then
12256 lt_prog_compiler_wl_FC='-Wl,'
12257 lt_prog_compiler_static_FC='-static'
12261 # All AIX code is PIC.
12262 if test "$host_cpu" = ia64; then
12263 # AIX 5 now supports IA64 processor
12264 lt_prog_compiler_static_FC='-Bstatic'
12271 # see comment about AmigaOS4 .so support
12272 lt_prog_compiler_pic_FC='-fPIC'
12275 # FIXME: we need at least 68020 code to build shared libraries, but
12276 # adding the `-m68020' flag to GCC prevents building anything better,
12278 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12283 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12284 # PIC is the default for these OSes.
12287 mingw* | cygwin* | pw32* | os2* | cegcc*)
12288 # This hack is so that the source file can tell whether it is being
12289 # built for inclusion in a dll (and should export symbols for example).
12290 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12291 # (--disable-auto-import) libraries
12292 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12295 darwin* | rhapsody*)
12296 # PIC is the default on this platform
12297 # Common symbols not allowed in MH_DYLIB files
12298 lt_prog_compiler_pic_FC='-fno-common'
12302 # PIC is the default for Haiku.
12303 # The "-static" flag exists, but is broken.
12304 lt_prog_compiler_static_FC=
12308 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12309 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12310 # sets the default TLS model and affects inlining.
12316 lt_prog_compiler_pic_FC='-fPIC'
12322 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12323 # Instead, we relocate shared libraries at runtime.
12327 # Just because we use GCC doesn't mean we suddenly get shared libraries
12328 # on systems that don't support them.
12329 lt_prog_compiler_can_build_shared_FC=no
12334 # QNX uses GNU C++, but need to define -shared option too, otherwise
12335 # it will coredump.
12336 lt_prog_compiler_pic_FC='-fPIC -shared'
12340 if test -d /usr/nec; then
12341 lt_prog_compiler_pic_FC=-Kconform_pic
12346 lt_prog_compiler_pic_FC='-fPIC'
12350 case $cc_basename in
12351 nvcc*) # Cuda Compiler Driver 2.2
12352 lt_prog_compiler_wl_FC='-Xlinker '
12353 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12357 # PORTME Check for flag to pass linker flags through the system compiler.
12360 lt_prog_compiler_wl_FC='-Wl,'
12361 if test "$host_cpu" = ia64; then
12362 # AIX 5 now supports IA64 processor
12363 lt_prog_compiler_static_FC='-Bstatic'
12365 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12369 mingw* | cygwin* | pw32* | os2* | cegcc*)
12370 # This hack is so that the source file can tell whether it is being
12371 # built for inclusion in a dll (and should export symbols for example).
12372 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12375 hpux9* | hpux10* | hpux11*)
12376 lt_prog_compiler_wl_FC='-Wl,'
12377 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12378 # not for PA HP-UX.
12384 lt_prog_compiler_pic_FC='+Z'
12387 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12388 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12391 irix5* | irix6* | nonstopux*)
12392 lt_prog_compiler_wl_FC='-Wl,'
12393 # PIC (with -KPIC) is the default.
12394 lt_prog_compiler_static_FC='-non_shared'
12397 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12398 case $cc_basename in
12399 # old Intel for x86_64 which still supported -KPIC.
12401 lt_prog_compiler_wl_FC='-Wl,'
12402 lt_prog_compiler_pic_FC='-KPIC'
12403 lt_prog_compiler_static_FC='-static'
12405 # icc used to be incompatible with GCC.
12406 # ICC 10 doesn't accept -KPIC any more.
12408 lt_prog_compiler_wl_FC='-Wl,'
12409 lt_prog_compiler_pic_FC='-fPIC'
12410 lt_prog_compiler_static_FC='-static'
12412 # Lahey Fortran 8.1.
12414 lt_prog_compiler_wl_FC='-Wl,'
12415 lt_prog_compiler_pic_FC='--shared'
12416 lt_prog_compiler_static_FC='--static'
12418 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12419 # Portland Group compilers (*not* the Pentium gcc compiler,
12420 # which looks to be a dead project)
12421 lt_prog_compiler_wl_FC='-Wl,'
12422 lt_prog_compiler_pic_FC='-fpic'
12423 lt_prog_compiler_static_FC='-Bstatic'
12426 lt_prog_compiler_wl_FC='-Wl,'
12427 # All Alpha code is PIC.
12428 lt_prog_compiler_static_FC='-non_shared'
12430 xl* | bgxl* | bgf* | mpixl*)
12431 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12432 lt_prog_compiler_wl_FC='-Wl,'
12433 lt_prog_compiler_pic_FC='-qpic'
12434 lt_prog_compiler_static_FC='-qstaticlink'
12437 case `$CC -V 2>&1 | sed 5q` in
12438 *Sun\ F* | *Sun*Fortran*)
12439 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12440 lt_prog_compiler_pic_FC='-KPIC'
12441 lt_prog_compiler_static_FC='-Bstatic'
12442 lt_prog_compiler_wl_FC=''
12446 lt_prog_compiler_pic_FC='-KPIC'
12447 lt_prog_compiler_static_FC='-Bstatic'
12448 lt_prog_compiler_wl_FC='-Wl,'
12456 lt_prog_compiler_pic_FC='-KPIC'
12457 lt_prog_compiler_static_FC='-Bstatic'
12461 # QNX uses GNU C++, but need to define -shared option too, otherwise
12462 # it will coredump.
12463 lt_prog_compiler_pic_FC='-fPIC -shared'
12466 osf3* | osf4* | osf5*)
12467 lt_prog_compiler_wl_FC='-Wl,'
12468 # All OSF/1 code is PIC.
12469 lt_prog_compiler_static_FC='-non_shared'
12473 lt_prog_compiler_static_FC='-non_shared'
12477 lt_prog_compiler_pic_FC='-KPIC'
12478 lt_prog_compiler_static_FC='-Bstatic'
12479 case $cc_basename in
12480 f77* | f90* | f95*)
12481 lt_prog_compiler_wl_FC='-Qoption ld ';;
12483 lt_prog_compiler_wl_FC='-Wl,';;
12488 lt_prog_compiler_wl_FC='-Qoption ld '
12489 lt_prog_compiler_pic_FC='-PIC'
12490 lt_prog_compiler_static_FC='-Bstatic'
12493 sysv4 | sysv4.2uw2* | sysv4.3*)
12494 lt_prog_compiler_wl_FC='-Wl,'
12495 lt_prog_compiler_pic_FC='-KPIC'
12496 lt_prog_compiler_static_FC='-Bstatic'
12500 if test -d /usr/nec ;then
12501 lt_prog_compiler_pic_FC='-Kconform_pic'
12502 lt_prog_compiler_static_FC='-Bstatic'
12506 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12507 lt_prog_compiler_wl_FC='-Wl,'
12508 lt_prog_compiler_pic_FC='-KPIC'
12509 lt_prog_compiler_static_FC='-Bstatic'
12513 lt_prog_compiler_wl_FC='-Wl,'
12514 lt_prog_compiler_can_build_shared_FC=no
12518 lt_prog_compiler_pic_FC='-pic'
12519 lt_prog_compiler_static_FC='-Bstatic'
12523 lt_prog_compiler_can_build_shared_FC=no
12529 # For platforms which do not support PIC, -DPIC is meaningless:
12531 lt_prog_compiler_pic_FC=
12534 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12538 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12543 # Check to make sure the PIC flag actually works.
12545 if test -n "$lt_prog_compiler_pic_FC"; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12547 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12548 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12549 $as_echo_n "(cached) " >&6
12551 lt_cv_prog_compiler_pic_works_FC=no
12552 ac_outfile=conftest.$ac_objext
12553 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12554 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12555 # Insert the option either (1) after the last *FLAGS variable, or
12556 # (2) before a word containing "conftest.", or (3) at the end.
12557 # Note that $ac_compile itself does not contain backslashes and begins
12558 # with a dollar sign (not a hyphen), so the echo should work correctly.
12559 # The option is referenced via a variable to avoid confusing sed.
12560 lt_compile=`echo "$ac_compile" | $SED \
12561 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12563 -e 's:$: $lt_compiler_flag:'`
12564 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12565 (eval "$lt_compile" 2>conftest.err)
12567 cat conftest.err >&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 if (exit $ac_status) && test -s "$ac_outfile"; then
12570 # The compiler can only warn and ignore the option if not recognized
12571 # So say no if there are warnings other than the usual output.
12572 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12573 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12574 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12575 lt_cv_prog_compiler_pic_works_FC=yes
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12582 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12584 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12585 case $lt_prog_compiler_pic_FC in
12587 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12590 lt_prog_compiler_pic_FC=
12591 lt_prog_compiler_can_build_shared_FC=no
12599 # Check to make sure the static flag actually works.
12601 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12603 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12604 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12605 $as_echo_n "(cached) " >&6
12607 lt_cv_prog_compiler_static_works_FC=no
12608 save_LDFLAGS="$LDFLAGS"
12609 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12610 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12611 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12612 # The linker can only warn and ignore the option if not recognized
12613 # So say no if there are warnings
12614 if test -s conftest.err; then
12615 # Append any errors to the config.log.
12616 cat conftest.err 1>&5
12617 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12619 if diff conftest.exp conftest.er2 >/dev/null; then
12620 lt_cv_prog_compiler_static_works_FC=yes
12623 lt_cv_prog_compiler_static_works_FC=yes
12627 LDFLAGS="$save_LDFLAGS"
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12631 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12633 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12636 lt_prog_compiler_static_FC=
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12644 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12645 $as_echo_n "(cached) " >&6
12647 lt_cv_prog_compiler_c_o_FC=no
12648 $RM -r conftest 2>/dev/null
12652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12654 lt_compiler_flag="-o out/conftest2.$ac_objext"
12655 # Insert the option either (1) after the last *FLAGS variable, or
12656 # (2) before a word containing "conftest.", or (3) at the end.
12657 # Note that $ac_compile itself does not contain backslashes and begins
12658 # with a dollar sign (not a hyphen), so the echo should work correctly.
12659 lt_compile=`echo "$ac_compile" | $SED \
12660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12662 -e 's:$: $lt_compiler_flag:'`
12663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12664 (eval "$lt_compile" 2>out/conftest.err)
12666 cat out/conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12670 # The compiler can only warn and ignore the option if not recognized
12671 # So say no if there are warnings
12672 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12673 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12674 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12675 lt_cv_prog_compiler_c_o_FC=yes
12680 # SGI C++ compiler will create directory out/ii_files/ for
12681 # template instantiation
12682 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12683 $RM out/* && rmdir out
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12690 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12696 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12697 $as_echo_n "(cached) " >&6
12699 lt_cv_prog_compiler_c_o_FC=no
12700 $RM -r conftest 2>/dev/null
12704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12706 lt_compiler_flag="-o out/conftest2.$ac_objext"
12707 # Insert the option either (1) after the last *FLAGS variable, or
12708 # (2) before a word containing "conftest.", or (3) at the end.
12709 # Note that $ac_compile itself does not contain backslashes and begins
12710 # with a dollar sign (not a hyphen), so the echo should work correctly.
12711 lt_compile=`echo "$ac_compile" | $SED \
12712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12714 -e 's:$: $lt_compiler_flag:'`
12715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12716 (eval "$lt_compile" 2>out/conftest.err)
12718 cat out/conftest.err >&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12722 # The compiler can only warn and ignore the option if not recognized
12723 # So say no if there are warnings
12724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12725 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12726 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12727 lt_cv_prog_compiler_c_o_FC=yes
12732 # SGI C++ compiler will create directory out/ii_files/ for
12733 # template instantiation
12734 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12735 $RM out/* && rmdir out
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12742 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12747 hard_links="nottested"
12748 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12749 # do not overwrite the value of need_locks provided by the user
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12751 $as_echo_n "checking if we can lock with hard links... " >&6; }
12754 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12756 ln conftest.a conftest.b 2>&5 || hard_links=no
12757 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12759 $as_echo "$hard_links" >&6; }
12760 if test "$hard_links" = no; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12762 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12772 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12775 allow_undefined_flag_FC=
12776 always_export_symbols_FC=no
12778 archive_expsym_cmds_FC=
12779 compiler_needs_object_FC=no
12780 enable_shared_with_static_runtimes_FC=no
12781 export_dynamic_flag_spec_FC=
12782 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12783 hardcode_automatic_FC=no
12784 hardcode_direct_FC=no
12785 hardcode_direct_absolute_FC=no
12786 hardcode_libdir_flag_spec_FC=
12787 hardcode_libdir_flag_spec_ld_FC=
12788 hardcode_libdir_separator_FC=
12789 hardcode_minus_L_FC=no
12790 hardcode_shlibpath_var_FC=unsupported
12791 inherit_rpath_FC=no
12792 link_all_deplibs_FC=unknown
12794 module_expsym_cmds_FC=
12795 old_archive_from_new_cmds_FC=
12796 old_archive_from_expsyms_cmds_FC=
12797 thread_safe_flag_spec_FC=
12798 whole_archive_flag_spec_FC=
12799 # include_expsyms should be a list of space-separated symbols to be *always*
12800 # included in the symbol list
12801 include_expsyms_FC=
12802 # exclude_expsyms can be an extended regexp of symbols to exclude
12803 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12804 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12805 # as well as any symbol that contains `d'.
12806 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12807 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12808 # platforms (ab)use it in PIC code, but their linkers get confused if
12809 # the symbol is explicitly referenced. Since portable code cannot
12810 # rely on this symbol name, it's probably fine to never include it in
12811 # preloaded symbol tables.
12812 # Exclude shared library initialization/finalization symbols.
12813 extract_expsyms_cmds=
12816 cygwin* | mingw* | pw32* | cegcc*)
12817 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12818 # When not using gcc, we currently assume that we are using
12819 # Microsoft Visual C++.
12820 if test "$GCC" != yes; then
12825 # we just hope/assume this is gcc and not c89 (= MSVC++)
12835 # On some targets, GNU ld is compatible enough with the native linker
12836 # that we're better off using the native interface for both.
12837 lt_use_gnu_ld_interface=no
12838 if test "$with_gnu_ld" = yes; then
12841 # The AIX port of GNU ld has always aspired to compatibility
12842 # with the native linker. However, as the warning in the GNU ld
12843 # block says, versions before 2.19.5* couldn't really create working
12844 # shared libraries, regardless of the interface used.
12845 case `$LD -v 2>&1` in
12846 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12847 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12848 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12850 lt_use_gnu_ld_interface=yes
12855 lt_use_gnu_ld_interface=yes
12860 if test "$lt_use_gnu_ld_interface" = yes; then
12861 # If archive_cmds runs LD, not CC, wlarc should be empty
12864 # Set some defaults for GNU ld with shared library support. These
12865 # are reset later if shared libraries are not supported. Putting them
12866 # here allows them to be overridden if necessary.
12867 runpath_var=LD_RUN_PATH
12868 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12869 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12870 # ancient GNU ld didn't support --whole-archive et. al.
12871 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12872 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12874 whole_archive_flag_spec_FC=
12876 supports_anon_versioning=no
12877 case `$LD -v 2>&1` in
12878 *GNU\ gold*) supports_anon_versioning=yes ;;
12879 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12880 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12881 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12882 *\ 2.11.*) ;; # other 2.11 versions
12883 *) supports_anon_versioning=yes ;;
12886 # See if GNU ld supports shared libraries.
12889 # On AIX/PPC, the GNU linker is very broken
12890 if test "$host_cpu" != ia64; then
12894 *** Warning: the GNU linker, at least up to release 2.19, is reported
12895 *** to be unable to reliably create shared libraries on AIX.
12896 *** Therefore, libtool is disabling shared libraries support. If you
12897 *** really care for shared libraries, you may want to install binutils
12898 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12899 *** You will then need to restart the configuration process.
12908 # see comment about AmigaOS4 .so support
12909 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12910 archive_expsym_cmds_FC=''
12913 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)'
12914 hardcode_libdir_flag_spec_FC='-L$libdir'
12915 hardcode_minus_L_FC=yes
12921 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12922 allow_undefined_flag_FC=unsupported
12923 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12924 # support --undefined. This deserves some investigation. FIXME
12925 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12931 cygwin* | mingw* | pw32* | cegcc*)
12932 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12933 # as there is no search path for DLLs.
12934 hardcode_libdir_flag_spec_FC='-L$libdir'
12935 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12936 allow_undefined_flag_FC=unsupported
12937 always_export_symbols_FC=no
12938 enable_shared_with_static_runtimes_FC=yes
12939 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12941 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12942 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12943 # If the export-symbols file already is a .def file (1st line
12944 # is EXPORTS), use it as is; otherwise, prepend...
12945 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12946 cp $export_symbols $output_objdir/$soname.def;
12948 echo EXPORTS > $output_objdir/$soname.def;
12949 cat $export_symbols >> $output_objdir/$soname.def;
12951 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12958 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12959 link_all_deplibs_FC=yes
12963 hardcode_direct_FC=no
12964 hardcode_shlibpath_var_FC=no
12965 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12966 export_dynamic_flag_spec_FC='${wl}-E'
12967 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12968 # Instead, shared libraries are loaded at an image base (0x10000000 by
12969 # default) and relocated if they conflict, which is a slow very memory
12970 # consuming and fragmenting process. To avoid this, we pick a random,
12971 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12972 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12973 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'
12974 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'
12977 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12979 if test "$host_os" = linux-dietlibc; then
12980 case $cc_basename in
12981 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12984 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12985 && test "$tmp_diet" = no
12988 tmp_sharedflag='-shared'
12989 case $cc_basename,$host_cpu in
12990 pgcc*) # Portland Group C compiler
12991 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'
12992 tmp_addflag=' $pic_flag'
12994 pgf77* | pgf90* | pgf95* | pgfortran*)
12995 # Portland Group f77 and f90 compilers
12996 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'
12997 tmp_addflag=' $pic_flag -Mnomain' ;;
12998 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12999 tmp_addflag=' -i_dynamic' ;;
13000 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13001 tmp_addflag=' -i_dynamic -nofor_main' ;;
13002 ifc* | ifort*) # Intel Fortran compiler
13003 tmp_addflag=' -nofor_main' ;;
13004 lf95*) # Lahey Fortran 8.1
13005 whole_archive_flag_spec_FC=
13006 tmp_sharedflag='--shared' ;;
13007 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13008 tmp_sharedflag='-qmkshrobj'
13010 nvcc*) # Cuda Compiler Driver 2.2
13011 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'
13012 compiler_needs_object_FC=yes
13015 case `$CC -V 2>&1 | sed 5q` in
13016 *Sun\ C*) # Sun C 5.9
13017 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'
13018 compiler_needs_object_FC=yes
13019 tmp_sharedflag='-G' ;;
13020 *Sun\ F*) # Sun Fortran 8.3
13021 tmp_sharedflag='-G' ;;
13023 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13025 if test "x$supports_anon_versioning" = xyes; then
13026 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13028 echo "local: *; };" >> $output_objdir/$libname.ver~
13029 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13032 case $cc_basename in
13033 xlf* | bgf* | bgxlf* | mpixlf*)
13034 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13035 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13036 hardcode_libdir_flag_spec_FC=
13037 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13038 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13039 if test "x$supports_anon_versioning" = xyes; then
13040 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13041 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13042 echo "local: *; };" >> $output_objdir/$libname.ver~
13043 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13053 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13054 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13057 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13063 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13067 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13068 *** create shared libraries on Solaris systems. Therefore, libtool
13069 *** is disabling shared libraries support. We urge you to upgrade GNU
13070 *** binutils to release 2.9.1 or newer. Another option is to modify
13071 *** your PATH or compiler configuration so that the native linker is
13072 *** used, and then restart.
13075 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13076 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13077 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13083 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13084 case `$LD -v 2>&1` in
13085 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13089 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13090 *** reliably create shared libraries on SCO systems. Therefore, libtool
13091 *** is disabling shared libraries support. We urge you to upgrade GNU
13092 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13093 *** your PATH or compiler configuration so that the native linker is
13094 *** used, and then restart.
13099 # For security reasons, it is highly recommended that you always
13100 # use absolute paths for naming shared libraries, and exclude the
13101 # DT_RUNPATH tag from executables and libraries. But doing so
13102 # requires that you compile everything twice, which is a pain.
13103 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13104 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13105 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13106 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13115 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13117 hardcode_direct_FC=yes
13118 hardcode_shlibpath_var_FC=no
13122 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13123 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13124 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13131 if test "$ld_shlibs_FC" = no; then
13133 hardcode_libdir_flag_spec_FC=
13134 export_dynamic_flag_spec_FC=
13135 whole_archive_flag_spec_FC=
13138 # PORTME fill in a description of your system's linker (not GNU ld)
13141 allow_undefined_flag_FC=unsupported
13142 always_export_symbols_FC=yes
13143 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'
13144 # Note: this linker hardcodes the directories in LIBPATH if there
13145 # are no directories specified by -L.
13146 hardcode_minus_L_FC=yes
13147 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13148 # Neither direct hardcoding nor static linking is supported with a
13150 hardcode_direct_FC=unsupported
13155 if test "$host_cpu" = ia64; then
13156 # On IA64, the linker does run time linking by default, so we don't
13157 # have to do anything special.
13158 aix_use_runtimelinking=no
13159 exp_sym_flag='-Bexport'
13162 # If we're using GNU nm, then we don't want the "-C" option.
13163 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13164 # Also, AIX nm treats weak defined symbols like other global
13165 # defined symbols, whereas GNU nm marks them as "W".
13166 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13167 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'
13169 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'
13171 aix_use_runtimelinking=no
13173 # Test if we are trying to use run time linking or normal
13174 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13175 # need to do runtime linking.
13176 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13177 for ld_flag in $LDFLAGS; do
13178 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13179 aix_use_runtimelinking=yes
13186 exp_sym_flag='-bexport'
13187 no_entry_flag='-bnoentry'
13190 # When large executables or shared objects are built, AIX ld can
13191 # have problems creating the table of contents. If linking a library
13192 # or program results in "error TOC overflow" add -mminimal-toc to
13193 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13194 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13197 hardcode_direct_FC=yes
13198 hardcode_direct_absolute_FC=yes
13199 hardcode_libdir_separator_FC=':'
13200 link_all_deplibs_FC=yes
13201 file_list_spec_FC='${wl}-f,'
13203 if test "$GCC" = yes; then
13204 case $host_os in aix4.[012]|aix4.[012].*)
13205 # We only want to do this on AIX 4.2 and lower, the check
13206 # below for broken collect2 doesn't work under 4.3+
13207 collect2name=`${CC} -print-prog-name=collect2`
13208 if test -f "$collect2name" &&
13209 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13211 # We have reworked collect2
13214 # We have old collect2
13215 hardcode_direct_FC=unsupported
13216 # It fails to find uninstalled libraries when the uninstalled
13217 # path is not listed in the libpath. Setting hardcode_minus_L
13218 # to unsupported forces relinking
13219 hardcode_minus_L_FC=yes
13220 hardcode_libdir_flag_spec_FC='-L$libdir'
13221 hardcode_libdir_separator_FC=
13225 shared_flag='-shared'
13226 if test "$aix_use_runtimelinking" = yes; then
13227 shared_flag="$shared_flag "'${wl}-G'
13231 if test "$host_cpu" = ia64; then
13232 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13233 # chokes on -Wl,-G. The following line is correct:
13236 if test "$aix_use_runtimelinking" = yes; then
13237 shared_flag='${wl}-G'
13239 shared_flag='${wl}-bM:SRE'
13244 export_dynamic_flag_spec_FC='${wl}-bexpall'
13245 # It seems that -bexpall does not export symbols beginning with
13246 # underscore (_), so it is better to generate a list of symbols to export.
13247 always_export_symbols_FC=yes
13248 if test "$aix_use_runtimelinking" = yes; then
13249 # Warning - without using the other runtime loading flags (-brtl),
13250 # -berok will link without error, but may produce a broken library.
13251 allow_undefined_flag_FC='-berok'
13252 # Determine the default libpath from the value encoded in an
13253 # empty executable.
13254 if test x$gcc_no_link = xyes; then
13255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13257 cat > conftest.$ac_ext <<_ACEOF
13262 if ac_fn_fc_try_link "$LINENO"; then :
13264 lt_aix_libpath_sed='
13265 /Import File Strings/,/^$/ {
13271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13272 # Check for a 64-bit object if we didn't find anything.
13273 if test -z "$aix_libpath"; then
13274 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13281 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13282 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"
13284 if test "$host_cpu" = ia64; then
13285 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13286 allow_undefined_flag_FC="-z nodefs"
13287 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"
13289 # Determine the default libpath from the value encoded in an
13290 # empty executable.
13291 if test x$gcc_no_link = xyes; then
13292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13294 cat > conftest.$ac_ext <<_ACEOF
13299 if ac_fn_fc_try_link "$LINENO"; then :
13301 lt_aix_libpath_sed='
13302 /Import File Strings/,/^$/ {
13308 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13309 # Check for a 64-bit object if we didn't find anything.
13310 if test -z "$aix_libpath"; then
13311 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13314 rm -f core conftest.err conftest.$ac_objext \
13315 conftest$ac_exeext conftest.$ac_ext
13316 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13318 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13319 # Warning - without using the other run time loading flags,
13320 # -berok will link without error, but may produce a broken library.
13321 no_undefined_flag_FC=' ${wl}-bernotok'
13322 allow_undefined_flag_FC=' ${wl}-berok'
13323 if test "$with_gnu_ld" = yes; then
13324 # We only use this code for GNU lds that support --whole-archive.
13325 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13327 # Exported symbols can be pulled into shared objects from archives
13328 whole_archive_flag_spec_FC='$convenience'
13330 archive_cmds_need_lc_FC=yes
13331 # This is similar to how AIX traditionally builds its shared libraries.
13332 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'
13340 # see comment about AmigaOS4 .so support
13341 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13342 archive_expsym_cmds_FC=''
13345 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)'
13346 hardcode_libdir_flag_spec_FC='-L$libdir'
13347 hardcode_minus_L_FC=yes
13353 export_dynamic_flag_spec_FC=-rdynamic
13356 cygwin* | mingw* | pw32* | cegcc*)
13357 # When not using gcc, we currently assume that we are using
13358 # Microsoft Visual C++.
13359 # hardcode_libdir_flag_spec is actually meaningless, as there is
13360 # no search path for DLLs.
13361 hardcode_libdir_flag_spec_FC=' '
13362 allow_undefined_flag_FC=unsupported
13363 # Tell ltmain to make .lib files, not .a files.
13365 # Tell ltmain to make .dll files, not .so files.
13367 # FIXME: Setting linknames here is a bad hack.
13368 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13369 # The linker will automatically build a .lib file if we build a DLL.
13370 old_archive_from_new_cmds_FC='true'
13371 # FIXME: Should let the user specify the lib program.
13372 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13373 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13374 enable_shared_with_static_runtimes_FC=yes
13377 darwin* | rhapsody*)
13380 archive_cmds_need_lc_FC=no
13381 hardcode_direct_FC=no
13382 hardcode_automatic_FC=yes
13383 hardcode_shlibpath_var_FC=unsupported
13384 if test "$lt_cv_ld_force_load" = "yes"; then
13385 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\"`'
13387 whole_archive_flag_spec_FC=''
13389 link_all_deplibs_FC=yes
13390 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13391 case $cc_basename in
13392 ifort*) _lt_dar_can_shared=yes ;;
13393 *) _lt_dar_can_shared=$GCC ;;
13395 if test "$_lt_dar_can_shared" = "yes"; then
13396 output_verbose_link_cmd=func_echo_all
13397 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}"
13398 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13399 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}"
13400 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}"
13409 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13410 hardcode_libdir_flag_spec_FC='-L$libdir'
13411 hardcode_shlibpath_var_FC=no
13418 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13419 # support. Future versions do this automatically, but an explicit c++rt0.o
13420 # does not break anything, and helps significantly (at the cost of a little
13423 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13424 hardcode_libdir_flag_spec_FC='-R$libdir'
13425 hardcode_direct_FC=yes
13426 hardcode_shlibpath_var_FC=no
13429 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13431 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13432 hardcode_direct_FC=yes
13433 hardcode_minus_L_FC=yes
13434 hardcode_shlibpath_var_FC=no
13437 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13438 freebsd* | dragonfly*)
13439 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13440 hardcode_libdir_flag_spec_FC='-R$libdir'
13441 hardcode_direct_FC=yes
13442 hardcode_shlibpath_var_FC=no
13446 if test "$GCC" = yes; then
13447 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'
13449 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'
13451 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13452 hardcode_libdir_separator_FC=:
13453 hardcode_direct_FC=yes
13455 # hardcode_minus_L: Not really in the search PATH,
13456 # but as the default location of the library.
13457 hardcode_minus_L_FC=yes
13458 export_dynamic_flag_spec_FC='${wl}-E'
13462 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13463 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13465 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13467 if test "$with_gnu_ld" = no; then
13468 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13469 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13470 hardcode_libdir_separator_FC=:
13471 hardcode_direct_FC=yes
13472 hardcode_direct_absolute_FC=yes
13473 export_dynamic_flag_spec_FC='${wl}-E'
13474 # hardcode_minus_L: Not really in the search PATH,
13475 # but as the default location of the library.
13476 hardcode_minus_L_FC=yes
13481 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13484 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13487 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13496 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13499 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13502 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13506 if test "$with_gnu_ld" = no; then
13507 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13508 hardcode_libdir_separator_FC=:
13512 hardcode_direct_FC=no
13513 hardcode_shlibpath_var_FC=no
13516 hardcode_direct_FC=yes
13517 hardcode_direct_absolute_FC=yes
13518 export_dynamic_flag_spec_FC='${wl}-E'
13520 # hardcode_minus_L: Not really in the search PATH,
13521 # but as the default location of the library.
13522 hardcode_minus_L_FC=yes
13528 irix5* | irix6* | nonstopux*)
13529 if test "$GCC" = yes; then
13530 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'
13531 # Try to use the -exported_symbol ld option, if it does not
13532 # work, assume that -exports_file does not work either and
13533 # implicitly export all symbols.
13534 save_LDFLAGS="$LDFLAGS"
13535 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13536 if test x$gcc_no_link = xyes; then
13537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13539 cat > conftest.$ac_ext <<_ACEOF
13542 if ac_fn_fc_try_link "$LINENO"; then :
13543 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'
13546 rm -f core conftest.err conftest.$ac_objext \
13547 conftest$ac_exeext conftest.$ac_ext
13548 LDFLAGS="$save_LDFLAGS"
13550 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'
13551 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'
13553 archive_cmds_need_lc_FC='no'
13554 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13555 hardcode_libdir_separator_FC=:
13556 inherit_rpath_FC=yes
13557 link_all_deplibs_FC=yes
13561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13562 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13564 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13566 hardcode_libdir_flag_spec_FC='-R$libdir'
13567 hardcode_direct_FC=yes
13568 hardcode_shlibpath_var_FC=no
13572 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13573 hardcode_direct_FC=yes
13574 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13575 hardcode_libdir_separator_FC=:
13576 hardcode_shlibpath_var_FC=no
13583 if test -f /usr/libexec/ld.so; then
13584 hardcode_direct_FC=yes
13585 hardcode_shlibpath_var_FC=no
13586 hardcode_direct_absolute_FC=yes
13587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13588 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13589 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13590 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13591 export_dynamic_flag_spec_FC='${wl}-E'
13594 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13595 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13596 hardcode_libdir_flag_spec_FC='-R$libdir'
13599 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13600 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13610 hardcode_libdir_flag_spec_FC='-L$libdir'
13611 hardcode_minus_L_FC=yes
13612 allow_undefined_flag_FC=unsupported
13613 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'
13614 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13618 if test "$GCC" = yes; then
13619 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13620 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'
13622 allow_undefined_flag_FC=' -expect_unresolved \*'
13623 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'
13625 archive_cmds_need_lc_FC='no'
13626 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13627 hardcode_libdir_separator_FC=:
13630 osf4* | osf5*) # as osf3* with the addition of -msym flag
13631 if test "$GCC" = yes; then
13632 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13633 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'
13634 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13636 allow_undefined_flag_FC=' -expect_unresolved \*'
13637 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'
13638 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~
13639 $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'
13641 # Both c and cxx compiler support -rpath directly
13642 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13644 archive_cmds_need_lc_FC='no'
13645 hardcode_libdir_separator_FC=:
13649 no_undefined_flag_FC=' -z defs'
13650 if test "$GCC" = yes; then
13652 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13653 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13654 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13656 case `$CC -V 2>&1` in
13659 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13660 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13665 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13666 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13667 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13671 hardcode_libdir_flag_spec_FC='-R$libdir'
13672 hardcode_shlibpath_var_FC=no
13674 solaris2.[0-5] | solaris2.[0-5].*) ;;
13676 # The compiler driver will combine and reorder linker options,
13677 # but understands `-z linker_flag'. GCC discards it without `$wl',
13678 # but is careful enough not to reorder.
13679 # Supported since Solaris 2.6 (maybe 2.5.1?)
13680 if test "$GCC" = yes; then
13681 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13683 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13687 link_all_deplibs_FC=yes
13691 if test "x$host_vendor" = xsequent; then
13692 # Use $CC to link under sequent, because it throws in some extra .o
13693 # files that make .init and .fini sections work.
13694 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13696 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13698 hardcode_libdir_flag_spec_FC='-L$libdir'
13699 hardcode_direct_FC=yes
13700 hardcode_minus_L_FC=yes
13701 hardcode_shlibpath_var_FC=no
13705 case $host_vendor in
13707 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13708 hardcode_direct_FC=yes # is this really true???
13711 ## LD is ld it makes a PLAMLIB
13712 ## CC just makes a GrossModule.
13713 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13714 reload_cmds_FC='$CC -r -o $output$reload_objs'
13715 hardcode_direct_FC=no
13718 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13719 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13722 runpath_var='LD_RUN_PATH'
13723 hardcode_shlibpath_var_FC=no
13727 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13728 hardcode_shlibpath_var_FC=no
13729 export_dynamic_flag_spec_FC='-Bexport'
13733 if test -d /usr/nec; then
13734 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13735 hardcode_shlibpath_var_FC=no
13736 runpath_var=LD_RUN_PATH
13737 hardcode_runpath_var=yes
13742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13743 no_undefined_flag_FC='${wl}-z,text'
13744 archive_cmds_need_lc_FC=no
13745 hardcode_shlibpath_var_FC=no
13746 runpath_var='LD_RUN_PATH'
13748 if test "$GCC" = yes; then
13749 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13750 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13752 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13757 sysv5* | sco3.2v5* | sco5v6*)
13758 # Note: We can NOT use -z defs as we might desire, because we do not
13759 # link with -lc, and that would cause any symbols used from libc to
13760 # always be unresolved, which means just about no library would
13761 # ever link correctly. If we're not using GNU ld we use -z text
13762 # though, which does catch some bad symbols but isn't as heavy-handed
13764 no_undefined_flag_FC='${wl}-z,text'
13765 allow_undefined_flag_FC='${wl}-z,nodefs'
13766 archive_cmds_need_lc_FC=no
13767 hardcode_shlibpath_var_FC=no
13768 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13769 hardcode_libdir_separator_FC=':'
13770 link_all_deplibs_FC=yes
13771 export_dynamic_flag_spec_FC='${wl}-Bexport'
13772 runpath_var='LD_RUN_PATH'
13774 if test "$GCC" = yes; then
13775 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13778 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13779 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13785 hardcode_libdir_flag_spec_FC='-L$libdir'
13786 hardcode_shlibpath_var_FC=no
13794 if test x$host_vendor = xsni; then
13796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13797 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13804 $as_echo "$ld_shlibs_FC" >&6; }
13805 test "$ld_shlibs_FC" = no && can_build_shared=no
13807 with_gnu_ld_FC=$with_gnu_ld
13815 # Do we need to explicitly link libc?
13817 case "x$archive_cmds_need_lc_FC" in
13819 # Assume -lc should be added
13820 archive_cmds_need_lc_FC=yes
13822 if test "$enable_shared" = yes && test "$GCC" = yes; then
13823 case $archive_cmds_FC in
13825 # FIXME: we may have to deal with multi-command sequences.
13828 # Test whether the compiler implicitly links with -lc since on some
13829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13830 # to ld, don't add -lc before -lgcc.
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13833 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13834 $as_echo_n "(cached) " >&6
13837 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13840 (eval $ac_compile) 2>&5
13842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13843 test $ac_status = 0; } 2>conftest.err; then
13846 libobjs=conftest.$ac_objext
13848 wl=$lt_prog_compiler_wl_FC
13849 pic_flag=$lt_prog_compiler_pic_FC
13855 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13856 allow_undefined_flag_FC=
13857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13858 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13861 test $ac_status = 0; }
13863 lt_cv_archive_cmds_need_lc_FC=no
13865 lt_cv_archive_cmds_need_lc_FC=yes
13867 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13869 cat conftest.err 1>&5
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13875 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13876 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13947 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13949 library_names_spec=
13950 libname_spec='lib$name'
13954 postuninstall_cmds=
13958 shlibpath_overrides_runpath=unknown
13960 dynamic_linker="$host_os ld.so"
13961 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13962 need_lib_prefix=unknown
13963 hardcode_into_libs=no
13965 # when you set need_version to no, make sure it does not cause -set_version
13966 # flags to be left without arguments
13967 need_version=unknown
13972 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13973 shlibpath_var=LIBPATH
13975 # AIX 3 has no versioning support, so we append a major version to the name.
13976 soname_spec='${libname}${release}${shared_ext}$major'
13983 hardcode_into_libs=yes
13984 if test "$host_cpu" = ia64; then
13985 # AIX 5 supports IA64
13986 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13987 shlibpath_var=LD_LIBRARY_PATH
13989 # With GCC up to 2.95.x, collect2 would create an import file
13990 # for dependence libraries. The import file would start with
13991 # the line `#! .'. This would cause the generated library to
13992 # depend on `.', always an invalid library. This was fixed in
13993 # development snapshots of GCC prior to 3.0.
13995 aix4 | aix4.[01] | aix4.[01].*)
13996 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13998 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14001 can_build_shared=no
14005 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14006 # soname into executable. Probably we can add versioning support to
14007 # collect2, so additional links can be useful in future.
14008 if test "$aix_use_runtimelinking" = yes; then
14009 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14010 # instead of lib<name>.a to let people know that these are not
14011 # typical AIX shared libraries.
14012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14014 # We preserve .a as extension for shared libraries through AIX4.2
14015 # and later when we are not doing run time linking.
14016 library_names_spec='${libname}${release}.a $libname.a'
14017 soname_spec='${libname}${release}${shared_ext}$major'
14019 shlibpath_var=LIBPATH
14026 # Since July 2007 AmigaOS4 officially supports .so libraries.
14027 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14031 library_names_spec='$libname.ixlibrary $libname.a'
14032 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14033 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'
14039 library_names_spec='${libname}${shared_ext}'
14040 dynamic_linker="$host_os ld.so"
14041 shlibpath_var=LIBRARY_PATH
14047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14048 soname_spec='${libname}${release}${shared_ext}$major'
14049 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14050 shlibpath_var=LD_LIBRARY_PATH
14051 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14052 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14053 # the default ld.so.conf also contains /usr/contrib/lib and
14054 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14055 # libtool to hard-code these into programs
14058 cygwin* | mingw* | pw32* | cegcc*)
14059 version_type=windows
14064 case $GCC,$host_os in
14065 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14066 library_names_spec='$libname.dll.a'
14067 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14068 postinstall_cmds='base_file=`basename \${file}`~
14069 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14070 dldir=$destdir/`dirname \$dlpath`~
14071 test -d \$dldir || mkdir -p \$dldir~
14072 $install_prog $dir/$dlname \$dldir/$dlname~
14073 chmod a+x \$dldir/$dlname~
14074 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14075 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14077 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14078 dlpath=$dir/\$dldll~
14080 shlibpath_overrides_runpath=yes
14084 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14085 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14089 # MinGW DLLs use traditional 'lib' prefix
14090 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14093 # pw32 DLLs use 'pw' prefix rather than 'lib'
14094 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14100 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14103 dynamic_linker='Win32 ld.exe'
14104 # FIXME: first we should search . and the directory the executable is in
14108 darwin* | rhapsody*)
14109 dynamic_linker="$host_os dyld"
14110 version_type=darwin
14113 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14114 soname_spec='${libname}${release}${major}$shared_ext'
14115 shlibpath_overrides_runpath=yes
14116 shlibpath_var=DYLD_LIBRARY_PATH
14117 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14119 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14127 soname_spec='${libname}${release}${shared_ext}$major'
14128 shlibpath_var=LD_LIBRARY_PATH
14135 freebsd* | dragonfly*)
14136 # DragonFly does not have aout. When/if they implement a new
14137 # versioning mechanism, adjust this.
14138 if test -x /usr/bin/objformat; then
14139 objformat=`/usr/bin/objformat`
14142 freebsd[123]*) objformat=aout ;;
14143 *) objformat=elf ;;
14146 version_type=freebsd-$objformat
14147 case $version_type in
14149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14158 shlibpath_var=LD_LIBRARY_PATH
14161 shlibpath_overrides_runpath=yes
14163 freebsd3.[01]* | freebsdelf3.[01]*)
14164 shlibpath_overrides_runpath=yes
14165 hardcode_into_libs=yes
14167 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14168 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14169 shlibpath_overrides_runpath=no
14170 hardcode_into_libs=yes
14172 *) # from 4.6 on, and DragonFly
14173 shlibpath_overrides_runpath=yes
14174 hardcode_into_libs=yes
14183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14184 soname_spec='${libname}${release}${shared_ext}$major'
14185 shlibpath_var=LD_LIBRARY_PATH
14186 hardcode_into_libs=yes
14193 dynamic_linker="$host_os runtime_loader"
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14195 soname_spec='${libname}${release}${shared_ext}$major'
14196 shlibpath_var=LIBRARY_PATH
14197 shlibpath_overrides_runpath=yes
14198 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14199 hardcode_into_libs=yes
14202 hpux9* | hpux10* | hpux11*)
14203 # Give a soname corresponding to the major version so that dld.sl refuses to
14204 # link against other versions.
14211 hardcode_into_libs=yes
14212 dynamic_linker="$host_os dld.so"
14213 shlibpath_var=LD_LIBRARY_PATH
14214 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14216 soname_spec='${libname}${release}${shared_ext}$major'
14217 if test "X$HPUX_IA64_MODE" = X32; then
14218 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14220 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14222 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14226 hardcode_into_libs=yes
14227 dynamic_linker="$host_os dld.sl"
14228 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14229 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231 soname_spec='${libname}${release}${shared_ext}$major'
14232 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14233 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14237 dynamic_linker="$host_os dld.sl"
14238 shlibpath_var=SHLIB_PATH
14239 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14241 soname_spec='${libname}${release}${shared_ext}$major'
14244 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14245 postinstall_cmds='chmod 555 $lib'
14246 # or fails outright, so override atomically:
14247 install_override_mode=555
14254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14255 soname_spec='${libname}${release}${shared_ext}$major'
14256 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14257 shlibpath_var=LD_LIBRARY_PATH
14258 shlibpath_overrides_runpath=no
14259 hardcode_into_libs=yes
14262 irix5* | irix6* | nonstopux*)
14264 nonstopux*) version_type=nonstopux ;;
14266 if test "$lt_cv_prog_gnu_ld" = yes; then
14274 soname_spec='${libname}${release}${shared_ext}$major'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14277 irix5* | nonstopux*)
14278 libsuff= shlibsuff=
14281 case $LD in # libtool.m4 will add one of these switches to LD
14282 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14283 libsuff= shlibsuff= libmagic=32-bit;;
14284 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14285 libsuff=32 shlibsuff=N32 libmagic=N32;;
14286 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14287 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14288 *) libsuff= shlibsuff= libmagic=never-match;;
14292 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14293 shlibpath_overrides_runpath=no
14294 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14295 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14296 hardcode_into_libs=yes
14299 # No shared lib support for Linux oldld, aout, or coff.
14300 linux*oldld* | linux*aout* | linux*coff*)
14304 # This must be Linux ELF.
14305 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310 soname_spec='${libname}${release}${shared_ext}$major'
14311 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14312 shlibpath_var=LD_LIBRARY_PATH
14313 shlibpath_overrides_runpath=no
14315 # Some binutils ld are patched to set DT_RUNPATH
14316 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14317 $as_echo_n "(cached) " >&6
14319 lt_cv_shlibpath_overrides_runpath=no
14320 save_LDFLAGS=$LDFLAGS
14321 save_libdir=$libdir
14322 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14323 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14324 if test x$gcc_no_link = xyes; then
14325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14327 cat > conftest.$ac_ext <<_ACEOF
14332 if ac_fn_fc_try_link "$LINENO"; then :
14333 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14334 lt_cv_shlibpath_overrides_runpath=yes
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14339 LDFLAGS=$save_LDFLAGS
14340 libdir=$save_libdir
14344 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14346 # This implies no fast_install, which is unacceptable.
14347 # Some rework will be needed to allow for fast_install
14348 # before this can be enabled.
14349 hardcode_into_libs=yes
14351 # Append ld.so.conf contents to the search path
14352 if test -f /etc/ld.so.conf; then
14353 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' ' '`
14354 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14357 # We used to test for /lib/ld.so.1 and disable shared libraries on
14358 # powerpc, because MkLinux only supported shared libraries with the
14359 # GNU dynamic linker. Since this was broken with cross compilers,
14360 # most powerpc-linux boxes support dynamic linking these days and
14361 # people can always --disable-shared, the test was removed, and we
14362 # assume the GNU/Linux dynamic linker is in use.
14363 dynamic_linker='GNU/Linux ld.so'
14370 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14372 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14373 dynamic_linker='NetBSD (a.out) ld.so'
14375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 dynamic_linker='NetBSD ld.elf_so'
14379 shlibpath_var=LD_LIBRARY_PATH
14380 shlibpath_overrides_runpath=yes
14381 hardcode_into_libs=yes
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 shlibpath_var=LD_LIBRARY_PATH
14388 shlibpath_overrides_runpath=yes
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LD_LIBRARY_PATH
14398 shlibpath_overrides_runpath=no
14399 hardcode_into_libs=yes
14400 dynamic_linker='ldqnx.so'
14405 sys_lib_dlsearch_path_spec="/usr/lib"
14407 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14409 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14410 *) need_version=no ;;
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14413 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14417 openbsd2.[89] | openbsd2.[89].*)
14418 shlibpath_overrides_runpath=no
14421 shlibpath_overrides_runpath=yes
14425 shlibpath_overrides_runpath=yes
14430 libname_spec='$name'
14433 library_names_spec='$libname${shared_ext} $libname.a'
14434 dynamic_linker='OS/2 ld.exe'
14435 shlibpath_var=LIBPATH
14438 osf3* | osf4* | osf5*)
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14446 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
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 shlibpath_overrides_runpath=yes
14461 hardcode_into_libs=yes
14462 # ldd complains unless libraries are executable
14463 postinstall_cmds='chmod +x $lib'
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14469 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14470 shlibpath_var=LD_LIBRARY_PATH
14471 shlibpath_overrides_runpath=yes
14472 if test "$with_gnu_ld" = yes; then
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 shlibpath_var=LD_LIBRARY_PATH
14483 case $host_vendor in
14485 shlibpath_overrides_runpath=no
14487 runpath_var=LD_RUN_PATH
14495 shlibpath_overrides_runpath=no
14496 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14502 if test -d /usr/nec ;then
14504 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14505 soname_spec='$libname${shared_ext}.$major'
14506 shlibpath_var=LD_LIBRARY_PATH
14510 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14511 version_type=freebsd-elf
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14515 soname_spec='${libname}${release}${shared_ext}$major'
14516 shlibpath_var=LD_LIBRARY_PATH
14517 shlibpath_overrides_runpath=yes
14518 hardcode_into_libs=yes
14519 if test "$with_gnu_ld" = yes; then
14520 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14522 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14525 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14529 sys_lib_dlsearch_path_spec='/usr/lib'
14533 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538 shlibpath_var=LD_LIBRARY_PATH
14539 shlibpath_overrides_runpath=no
14540 hardcode_into_libs=yes
14545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 shlibpath_var=LD_LIBRARY_PATH
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14555 $as_echo "$dynamic_linker" >&6; }
14556 test "$dynamic_linker" = no && can_build_shared=no
14558 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14559 if test "$GCC" = yes; then
14560 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14563 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14564 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14566 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14567 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14608 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14609 hardcode_action_FC=
14610 if test -n "$hardcode_libdir_flag_spec_FC" ||
14611 test -n "$runpath_var_FC" ||
14612 test "X$hardcode_automatic_FC" = "Xyes" ; then
14614 # We can hardcode non-existent directories.
14615 if test "$hardcode_direct_FC" != no &&
14616 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14617 # have to relink, otherwise we might link with an installed library
14618 # when we should be linking with a yet-to-be-installed one
14619 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14620 test "$hardcode_minus_L_FC" != no; then
14621 # Linking always hardcodes the temporary library directory.
14622 hardcode_action_FC=relink
14624 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14625 hardcode_action_FC=immediate
14628 # We cannot hardcode anything, or else we can only hardcode existing
14630 hardcode_action_FC=unsupported
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14633 $as_echo "$hardcode_action_FC" >&6; }
14635 if test "$hardcode_action_FC" = relink ||
14636 test "$inherit_rpath_FC" = yes; then
14637 # Fast installation is not supported
14638 enable_fast_install=no
14639 elif test "$shlibpath_overrides_runpath" = yes ||
14640 test "$enable_shared" = no; then
14641 # Fast installation is not necessary
14642 enable_fast_install=needless
14651 fi # test -n "$compiler"
14655 fi # test "$_lt_disable_FC" != yes
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14665 # extra LD Flags which are required for targets
14668 # Darwin needs -single_module when linking libgfortran
14669 extra_ldflags_libgfortran=-Wl,-single_module
14674 # We need a working compiler at that point, otherwise give a clear
14675 # error message and bail out.
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14678 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14679 ac_ext=${ac_fc_srcext-f}
14680 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14681 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14684 cat > conftest.$ac_ext <<_ACEOF
14687 real, parameter :: bar = sin (12.34 / 2.5)
14690 if ac_fn_fc_try_compile "$LINENO"; then :
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14692 $as_echo "yes" >&6; }
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695 $as_echo "no" >&6; }
14696 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14701 ac_cpp='$CPP $CPPFLAGS'
14702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14708 # Check whether --enable-largefile was given.
14709 if test "${enable_largefile+set}" = set; then :
14710 enableval=$enable_largefile;
14713 if test "$enable_largefile" != no; then
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14716 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14717 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14718 $as_echo_n "(cached) " >&6
14720 ac_cv_sys_largefile_CC=no
14721 if test "$GCC" != yes; then
14724 # IRIX 6.2 and later do not support large files by default,
14725 # so use the C compiler's -n32 option if that helps.
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 #include <sys/types.h>
14729 /* Check that off_t can represent 2**63 - 1 correctly.
14730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14731 since some C++ compilers masquerading as C compilers
14732 incorrectly reject 9223372036854775807. */
14733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14735 && LARGE_OFF_T % 2147483647 == 1)
14745 if ac_fn_c_try_compile "$LINENO"; then :
14748 rm -f core conftest.err conftest.$ac_objext
14750 if ac_fn_c_try_compile "$LINENO"; then :
14751 ac_cv_sys_largefile_CC=' -n32'; break
14753 rm -f core conftest.err conftest.$ac_objext
14757 rm -f conftest.$ac_ext
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14761 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14762 if test "$ac_cv_sys_largefile_CC" != no; then
14763 CC=$CC$ac_cv_sys_largefile_CC
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14767 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14768 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14769 $as_echo_n "(cached) " >&6
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 #include <sys/types.h>
14775 /* Check that off_t can represent 2**63 - 1 correctly.
14776 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14777 since some C++ compilers masquerading as C compilers
14778 incorrectly reject 9223372036854775807. */
14779 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14780 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14781 && LARGE_OFF_T % 2147483647 == 1)
14791 if ac_fn_c_try_compile "$LINENO"; then :
14792 ac_cv_sys_file_offset_bits=no; break
14794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14797 #define _FILE_OFFSET_BITS 64
14798 #include <sys/types.h>
14799 /* Check that off_t can represent 2**63 - 1 correctly.
14800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14801 since some C++ compilers masquerading as C compilers
14802 incorrectly reject 9223372036854775807. */
14803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14805 && LARGE_OFF_T % 2147483647 == 1)
14815 if ac_fn_c_try_compile "$LINENO"; then :
14816 ac_cv_sys_file_offset_bits=64; break
14818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14819 ac_cv_sys_file_offset_bits=unknown
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14824 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14825 case $ac_cv_sys_file_offset_bits in #(
14828 cat >>confdefs.h <<_ACEOF
14829 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14834 if test $ac_cv_sys_file_offset_bits = unknown; then
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14836 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14837 if test "${ac_cv_sys_large_files+set}" = set; then :
14838 $as_echo_n "(cached) " >&6
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 #include <sys/types.h>
14844 /* Check that off_t can represent 2**63 - 1 correctly.
14845 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14846 since some C++ compilers masquerading as C compilers
14847 incorrectly reject 9223372036854775807. */
14848 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14849 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14850 && LARGE_OFF_T % 2147483647 == 1)
14860 if ac_fn_c_try_compile "$LINENO"; then :
14861 ac_cv_sys_large_files=no; break
14863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 #define _LARGE_FILES 1
14867 #include <sys/types.h>
14868 /* Check that off_t can represent 2**63 - 1 correctly.
14869 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14870 since some C++ compilers masquerading as C compilers
14871 incorrectly reject 9223372036854775807. */
14872 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14873 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14874 && LARGE_OFF_T % 2147483647 == 1)
14884 if ac_fn_c_try_compile "$LINENO"; then :
14885 ac_cv_sys_large_files=1; break
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888 ac_cv_sys_large_files=unknown
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14893 $as_echo "$ac_cv_sys_large_files" >&6; }
14894 case $ac_cv_sys_large_files in #(
14897 cat >>confdefs.h <<_ACEOF
14898 #define _LARGE_FILES $ac_cv_sys_large_files
14906 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14907 if test "x$ac_cv_type_off_t" = x""yes; then :
14911 cat >>confdefs.h <<_ACEOF
14912 #define off_t long int
14918 # check header files
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14920 $as_echo_n "checking for ANSI C header files... " >&6; }
14921 if test "${ac_cv_header_stdc+set}" = set; then :
14922 $as_echo_n "(cached) " >&6
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 #include <stdlib.h>
14927 #include <stdarg.h>
14928 #include <string.h>
14939 if ac_fn_c_try_compile "$LINENO"; then :
14940 ac_cv_header_stdc=yes
14942 ac_cv_header_stdc=no
14944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14946 if test $ac_cv_header_stdc = yes; then
14947 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <string.h>
14953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14954 $EGREP "memchr" >/dev/null 2>&1; then :
14957 ac_cv_header_stdc=no
14963 if test $ac_cv_header_stdc = yes; then
14964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <stdlib.h>
14970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14971 $EGREP "free" >/dev/null 2>&1; then :
14974 ac_cv_header_stdc=no
14980 if test $ac_cv_header_stdc = yes; then
14981 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14982 if test "$cross_compiling" = yes; then :
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14988 #include <stdlib.h>
14989 #if ((' ' & 0x0FF) == 0x020)
14990 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14991 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14993 # define ISLOWER(c) \
14994 (('a' <= (c) && (c) <= 'i') \
14995 || ('j' <= (c) && (c) <= 'r') \
14996 || ('s' <= (c) && (c) <= 'z'))
14997 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15000 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15005 for (i = 0; i < 256; i++)
15006 if (XOR (islower (i), ISLOWER (i))
15007 || toupper (i) != TOUPPER (i))
15012 if ac_fn_c_try_run "$LINENO"; then :
15015 ac_cv_header_stdc=no
15017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15018 conftest.$ac_objext conftest.beam conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15024 $as_echo "$ac_cv_header_stdc" >&6; }
15025 if test $ac_cv_header_stdc = yes; then
15027 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15032 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15033 if test "${ac_cv_header_time+set}" = set; then :
15034 $as_echo_n "(cached) " >&6
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #include <sys/types.h>
15039 #include <sys/time.h>
15045 if ((struct tm *) 0)
15051 if ac_fn_c_try_compile "$LINENO"; then :
15052 ac_cv_header_time=yes
15054 ac_cv_header_time=no
15056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15059 $as_echo "$ac_cv_header_time" >&6; }
15060 if test $ac_cv_header_time = yes; then
15062 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15066 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15069 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15070 eval as_val=\$$as_ac_Header
15071 if test "x$as_val" = x""yes; then :
15072 cat >>confdefs.h <<_ACEOF
15073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15080 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15083 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15084 eval as_val=\$$as_ac_Header
15085 if test "x$as_val" = x""yes; then :
15086 cat >>confdefs.h <<_ACEOF
15087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15094 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15096 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15098 eval as_val=\$$as_ac_Header
15099 if test "x$as_val" = x""yes; then :
15100 cat >>confdefs.h <<_ACEOF
15101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15108 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15111 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15112 eval as_val=\$$as_ac_Header
15113 if test "x$as_val" = x""yes; then :
15114 cat >>confdefs.h <<_ACEOF
15115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15122 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15123 if test "x$ac_cv_header_complex_h" = x""yes; then :
15125 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15132 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15134 acx_cv_header_stdint=stddef.h
15135 acx_cv_header_stdint_kind="(already complete)"
15136 for i in stdint.h $inttype_headers; do
15137 unset ac_cv_type_uintptr_t
15138 unset ac_cv_type_uintmax_t
15139 unset ac_cv_type_int_least32_t
15140 unset ac_cv_type_int_fast32_t
15141 unset ac_cv_type_uint64_t
15142 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15143 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15146 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15147 acx_cv_header_stdint=$i
15152 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15155 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15158 acx_cv_header_stdint_kind="(mostly complete)"
15161 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15164 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15167 acx_cv_header_stdint_kind="(mostly complete)"
15170 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15173 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15176 acx_cv_header_stdint_kind="(mostly complete)"
15179 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15182 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15185 acx_cv_header_stdint_kind="(lacks uint64_t)"
15190 if test "$acx_cv_header_stdint" = stddef.h; then
15191 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15192 for i in stdint.h $inttype_headers; do
15193 unset ac_cv_type_uintptr_t
15194 unset ac_cv_type_uint32_t
15195 unset ac_cv_type_uint64_t
15196 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15197 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15200 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15201 acx_cv_header_stdint=$i
15206 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15209 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15213 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15216 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15223 if test "$acx_cv_header_stdint" = stddef.h; then
15224 acx_cv_header_stdint_kind="(u_intXX_t style)"
15225 for i in sys/types.h $inttype_headers; do
15226 unset ac_cv_type_u_int32_t
15227 unset ac_cv_type_u_int64_t
15228 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15229 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15232 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15233 acx_cv_header_stdint=$i
15238 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15241 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15248 if test "$acx_cv_header_stdint" = stddef.h; then
15249 acx_cv_header_stdint_kind="(using manual detection)"
15252 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15253 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15254 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15255 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15256 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15258 # ----------------- Summarize what we found so far
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15261 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15263 case `$as_basename -- gstdint.h ||
15264 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15265 Xgstdint.h : 'X\(//\)$' \| \
15266 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15267 $as_echo X/gstdint.h |
15268 sed '/^.*\/\([^/][^/]*\)\/*$/{
15281 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15282 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15283 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15284 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15289 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15291 # ----------------- done included file, check C basic types --------
15293 # Lacking an uintptr_t? Test size of void *
15294 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15295 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15298 # This bug is HP SR number 8606223364.
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15300 $as_echo_n "checking size of void *... " >&6; }
15301 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15302 $as_echo_n "(cached) " >&6
15304 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15307 if test "$ac_cv_type_void_p" = yes; then
15308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15310 { as_fn_set_status 77
15311 as_fn_error "cannot compute sizeof (void *)
15312 See \`config.log' for more details." "$LINENO" 5; }; }
15314 ac_cv_sizeof_void_p=0
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15320 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15324 cat >>confdefs.h <<_ACEOF
15325 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15331 # Lacking an uint64_t? Test size of long
15332 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15333 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15336 # This bug is HP SR number 8606223364.
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15338 $as_echo_n "checking size of long... " >&6; }
15339 if test "${ac_cv_sizeof_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15342 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15345 if test "$ac_cv_type_long" = yes; then
15346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15348 { as_fn_set_status 77
15349 as_fn_error "cannot compute sizeof (long)
15350 See \`config.log' for more details." "$LINENO" 5; }; }
15352 ac_cv_sizeof_long=0
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15358 $as_echo "$ac_cv_sizeof_long" >&6; }
15362 cat >>confdefs.h <<_ACEOF
15363 #define SIZEOF_LONG $ac_cv_sizeof_long
15369 if test $acx_cv_header_stdint = stddef.h; then
15370 # Lacking a good header? Test size of everything and deduce all types.
15371 # The cast to long int works around a bug in the HP C Compiler
15372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15374 # This bug is HP SR number 8606223364.
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15376 $as_echo_n "checking size of int... " >&6; }
15377 if test "${ac_cv_sizeof_int+set}" = set; then :
15378 $as_echo_n "(cached) " >&6
15380 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15383 if test "$ac_cv_type_int" = yes; then
15384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15386 { as_fn_set_status 77
15387 as_fn_error "cannot compute sizeof (int)
15388 See \`config.log' for more details." "$LINENO" 5; }; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15396 $as_echo "$ac_cv_sizeof_int" >&6; }
15400 cat >>confdefs.h <<_ACEOF
15401 #define SIZEOF_INT $ac_cv_sizeof_int
15405 # The cast to long int works around a bug in the HP C Compiler
15406 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15407 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15408 # This bug is HP SR number 8606223364.
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15410 $as_echo_n "checking size of short... " >&6; }
15411 if test "${ac_cv_sizeof_short+set}" = set; then :
15412 $as_echo_n "(cached) " >&6
15414 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15417 if test "$ac_cv_type_short" = yes; then
15418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15420 { as_fn_set_status 77
15421 as_fn_error "cannot compute sizeof (short)
15422 See \`config.log' for more details." "$LINENO" 5; }; }
15424 ac_cv_sizeof_short=0
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15430 $as_echo "$ac_cv_sizeof_short" >&6; }
15434 cat >>confdefs.h <<_ACEOF
15435 #define SIZEOF_SHORT $ac_cv_sizeof_short
15439 # The cast to long int works around a bug in the HP C Compiler
15440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15442 # This bug is HP SR number 8606223364.
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15444 $as_echo_n "checking size of char... " >&6; }
15445 if test "${ac_cv_sizeof_char+set}" = set; then :
15446 $as_echo_n "(cached) " >&6
15448 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15451 if test "$ac_cv_type_char" = yes; then
15452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15454 { as_fn_set_status 77
15455 as_fn_error "cannot compute sizeof (char)
15456 See \`config.log' for more details." "$LINENO" 5; }; }
15458 ac_cv_sizeof_char=0
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15464 $as_echo "$ac_cv_sizeof_char" >&6; }
15468 cat >>confdefs.h <<_ACEOF
15469 #define SIZEOF_CHAR $ac_cv_sizeof_char
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15475 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15476 case "$ac_cv_sizeof_char" in
15477 1) acx_cv_type_int8_t=char ;;
15478 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15481 $as_echo "$acx_cv_type_int8_t" >&6; }
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15484 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15485 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15486 2:*) acx_cv_type_int16_t=int ;;
15487 *:2) acx_cv_type_int16_t=short ;;
15488 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15491 $as_echo "$acx_cv_type_int16_t" >&6; }
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15494 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15495 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15496 4:*) acx_cv_type_int32_t=int ;;
15497 *:4) acx_cv_type_int32_t=long ;;
15498 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15501 $as_echo "$acx_cv_type_int32_t" >&6; }
15504 # These tests are here to make the output prettier
15506 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15507 case "$ac_cv_sizeof_long" in
15508 8) acx_cv_type_int64_t=long ;;
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15511 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15513 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15516 # Now we can use the above types
15518 if test "$ac_cv_type_uintptr_t" != yes; then
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15520 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15521 case $ac_cv_sizeof_void_p in
15522 2) acx_cv_type_intptr_t=int16_t ;;
15523 4) acx_cv_type_intptr_t=int32_t ;;
15524 8) acx_cv_type_intptr_t=int64_t ;;
15525 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15528 $as_echo "$acx_cv_type_intptr_t" >&6; }
15531 # ----------------- done all checks, emit header -------------
15532 ac_config_commands="$ac_config_commands gstdint.h"
15537 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15538 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15547 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15548 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15557 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15558 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_STRUCT_STAT_ST_RDEV 1
15568 # Check for library functions.
15569 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15573 eval as_val=\$$as_ac_var
15574 if test "x$as_val" = x""yes; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15582 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15586 eval as_val=\$$as_ac_var
15587 if test "x$as_val" = x""yes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15595 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15599 eval as_val=\$$as_ac_var
15600 if test "x$as_val" = x""yes; then :
15601 cat >>confdefs.h <<_ACEOF
15602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15608 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15612 eval as_val=\$$as_ac_var
15613 if test "x$as_val" = x""yes; then :
15614 cat >>confdefs.h <<_ACEOF
15615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15621 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15625 eval as_val=\$$as_ac_var
15626 if test "x$as_val" = x""yes; then :
15627 cat >>confdefs.h <<_ACEOF
15628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15634 for ac_func in localtime_r gmtime_r
15636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15638 eval as_val=\$$as_ac_var
15639 if test "x$as_val" = x""yes; then :
15640 cat >>confdefs.h <<_ACEOF
15641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15648 # Check for glibc backtrace functions
15649 for ac_func in backtrace backtrace_symbols
15651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15653 eval as_val=\$$as_ac_var
15654 if test "x$as_val" = x""yes; then :
15655 cat >>confdefs.h <<_ACEOF
15656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15664 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15665 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15667 cat >>confdefs.h <<_ACEOF
15668 #define HAVE_INTPTR_T 1
15674 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15675 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_UINTPTR_T 1
15685 # Check libc for getgid, getpid, getuid
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15687 $as_echo_n "checking for getgid in -lc... " >&6; }
15688 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15689 $as_echo_n "(cached) " >&6
15691 ac_check_lib_save_LIBS=$LIBS
15693 if test x$gcc_no_link = xyes; then
15694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15699 /* Override any GCC internal prototype to avoid an error.
15700 Use char because int might match the return type of a GCC
15701 builtin and then its argument prototype would still apply. */
15714 if ac_fn_c_try_link "$LINENO"; then :
15715 ac_cv_lib_c_getgid=yes
15717 ac_cv_lib_c_getgid=no
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_lib_save_LIBS
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15724 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15725 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15727 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15732 $as_echo_n "checking for getpid in -lc... " >&6; }
15733 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15734 $as_echo_n "(cached) " >&6
15736 ac_check_lib_save_LIBS=$LIBS
15738 if test x$gcc_no_link = xyes; then
15739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h. */
15744 /* Override any GCC internal prototype to avoid an error.
15745 Use char because int might match the return type of a GCC
15746 builtin and then its argument prototype would still apply. */
15759 if ac_fn_c_try_link "$LINENO"; then :
15760 ac_cv_lib_c_getpid=yes
15762 ac_cv_lib_c_getpid=no
15764 rm -f core conftest.err conftest.$ac_objext \
15765 conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_check_lib_save_LIBS
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15769 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15770 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15772 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15777 $as_echo_n "checking for getppid in -lc... " >&6; }
15778 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15779 $as_echo_n "(cached) " >&6
15781 ac_check_lib_save_LIBS=$LIBS
15783 if test x$gcc_no_link = xyes; then
15784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15789 /* Override any GCC internal prototype to avoid an error.
15790 Use char because int might match the return type of a GCC
15791 builtin and then its argument prototype would still apply. */
15804 if ac_fn_c_try_link "$LINENO"; then :
15805 ac_cv_lib_c_getppid=yes
15807 ac_cv_lib_c_getppid=no
15809 rm -f core conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_lib_save_LIBS
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15814 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15815 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15817 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15822 $as_echo_n "checking for getuid in -lc... " >&6; }
15823 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15824 $as_echo_n "(cached) " >&6
15826 ac_check_lib_save_LIBS=$LIBS
15828 if test x$gcc_no_link = xyes; then
15829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15834 /* Override any GCC internal prototype to avoid an error.
15835 Use char because int might match the return type of a GCC
15836 builtin and then its argument prototype would still apply. */
15849 if ac_fn_c_try_link "$LINENO"; then :
15850 ac_cv_lib_c_getuid=yes
15852 ac_cv_lib_c_getuid=no
15854 rm -f core conftest.err conftest.$ac_objext \
15855 conftest$ac_exeext conftest.$ac_ext
15856 LIBS=$ac_check_lib_save_LIBS
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15859 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15860 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15862 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15867 $as_echo_n "checking for geteuid in -lc... " >&6; }
15868 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15869 $as_echo_n "(cached) " >&6
15871 ac_check_lib_save_LIBS=$LIBS
15873 if test x$gcc_no_link = xyes; then
15874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877 /* end confdefs.h. */
15879 /* Override any GCC internal prototype to avoid an error.
15880 Use char because int might match the return type of a GCC
15881 builtin and then its argument prototype would still apply. */
15894 if ac_fn_c_try_link "$LINENO"; then :
15895 ac_cv_lib_c_geteuid=yes
15897 ac_cv_lib_c_geteuid=no
15899 rm -f core conftest.err conftest.$ac_objext \
15900 conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_lib_save_LIBS
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15904 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15905 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15907 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15912 # Check for C99 (and other IEEE) math functions
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15914 $as_echo_n "checking for acosf in -lm... " >&6; }
15915 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15916 $as_echo_n "(cached) " >&6
15918 ac_check_lib_save_LIBS=$LIBS
15920 if test x$gcc_no_link = xyes; then
15921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15926 /* Override any GCC internal prototype to avoid an error.
15927 Use char because int might match the return type of a GCC
15928 builtin and then its argument prototype would still apply. */
15941 if ac_fn_c_try_link "$LINENO"; then :
15942 ac_cv_lib_m_acosf=yes
15944 ac_cv_lib_m_acosf=no
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15948 LIBS=$ac_check_lib_save_LIBS
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15951 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15952 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15954 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15959 $as_echo_n "checking for acos in -lm... " >&6; }
15960 if test "${ac_cv_lib_m_acos+set}" = set; then :
15961 $as_echo_n "(cached) " >&6
15963 ac_check_lib_save_LIBS=$LIBS
15965 if test x$gcc_no_link = xyes; then
15966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15986 if ac_fn_c_try_link "$LINENO"; then :
15987 ac_cv_lib_m_acos=yes
15989 ac_cv_lib_m_acos=no
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15996 $as_echo "$ac_cv_lib_m_acos" >&6; }
15997 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15999 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16004 $as_echo_n "checking for acosl in -lm... " >&6; }
16005 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16006 $as_echo_n "(cached) " >&6
16008 ac_check_lib_save_LIBS=$LIBS
16010 if test x$gcc_no_link = xyes; then
16011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16031 if ac_fn_c_try_link "$LINENO"; then :
16032 ac_cv_lib_m_acosl=yes
16034 ac_cv_lib_m_acosl=no
16036 rm -f core conftest.err conftest.$ac_objext \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_lib_save_LIBS
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16041 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16042 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16044 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16049 $as_echo_n "checking for acoshf in -lm... " >&6; }
16050 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16051 $as_echo_n "(cached) " >&6
16053 ac_check_lib_save_LIBS=$LIBS
16055 if test x$gcc_no_link = xyes; then
16056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h. */
16061 /* Override any GCC internal prototype to avoid an error.
16062 Use char because int might match the return type of a GCC
16063 builtin and then its argument prototype would still apply. */
16076 if ac_fn_c_try_link "$LINENO"; then :
16077 ac_cv_lib_m_acoshf=yes
16079 ac_cv_lib_m_acoshf=no
16081 rm -f core conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_lib_save_LIBS
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16086 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16087 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16089 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16094 $as_echo_n "checking for acosh in -lm... " >&6; }
16095 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16096 $as_echo_n "(cached) " >&6
16098 ac_check_lib_save_LIBS=$LIBS
16100 if test x$gcc_no_link = xyes; then
16101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16106 /* Override any GCC internal prototype to avoid an error.
16107 Use char because int might match the return type of a GCC
16108 builtin and then its argument prototype would still apply. */
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 ac_cv_lib_m_acosh=yes
16124 ac_cv_lib_m_acosh=no
16126 rm -f core conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_check_lib_save_LIBS
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16131 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16132 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16134 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16139 $as_echo_n "checking for acoshl in -lm... " >&6; }
16140 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16141 $as_echo_n "(cached) " >&6
16143 ac_check_lib_save_LIBS=$LIBS
16145 if test x$gcc_no_link = xyes; then
16146 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_lib_m_acoshl=yes
16169 ac_cv_lib_m_acoshl=no
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16173 LIBS=$ac_check_lib_save_LIBS
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16176 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16177 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16179 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16184 $as_echo_n "checking for asinf in -lm... " >&6; }
16185 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16186 $as_echo_n "(cached) " >&6
16188 ac_check_lib_save_LIBS=$LIBS
16190 if test x$gcc_no_link = xyes; then
16191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16196 /* Override any GCC internal prototype to avoid an error.
16197 Use char because int might match the return type of a GCC
16198 builtin and then its argument prototype would still apply. */
16211 if ac_fn_c_try_link "$LINENO"; then :
16212 ac_cv_lib_m_asinf=yes
16214 ac_cv_lib_m_asinf=no
16216 rm -f core conftest.err conftest.$ac_objext \
16217 conftest$ac_exeext conftest.$ac_ext
16218 LIBS=$ac_check_lib_save_LIBS
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16221 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16222 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16224 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16229 $as_echo_n "checking for asin in -lm... " >&6; }
16230 if test "${ac_cv_lib_m_asin+set}" = set; then :
16231 $as_echo_n "(cached) " >&6
16233 ac_check_lib_save_LIBS=$LIBS
16235 if test x$gcc_no_link = xyes; then
16236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16241 /* Override any GCC internal prototype to avoid an error.
16242 Use char because int might match the return type of a GCC
16243 builtin and then its argument prototype would still apply. */
16256 if ac_fn_c_try_link "$LINENO"; then :
16257 ac_cv_lib_m_asin=yes
16259 ac_cv_lib_m_asin=no
16261 rm -f core conftest.err conftest.$ac_objext \
16262 conftest$ac_exeext conftest.$ac_ext
16263 LIBS=$ac_check_lib_save_LIBS
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16266 $as_echo "$ac_cv_lib_m_asin" >&6; }
16267 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16269 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16274 $as_echo_n "checking for asinl in -lm... " >&6; }
16275 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16276 $as_echo_n "(cached) " >&6
16278 ac_check_lib_save_LIBS=$LIBS
16280 if test x$gcc_no_link = xyes; then
16281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16286 /* Override any GCC internal prototype to avoid an error.
16287 Use char because int might match the return type of a GCC
16288 builtin and then its argument prototype would still apply. */
16301 if ac_fn_c_try_link "$LINENO"; then :
16302 ac_cv_lib_m_asinl=yes
16304 ac_cv_lib_m_asinl=no
16306 rm -f core conftest.err conftest.$ac_objext \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_lib_save_LIBS
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16311 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16312 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16314 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16319 $as_echo_n "checking for asinhf in -lm... " >&6; }
16320 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16321 $as_echo_n "(cached) " >&6
16323 ac_check_lib_save_LIBS=$LIBS
16325 if test x$gcc_no_link = xyes; then
16326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16331 /* Override any GCC internal prototype to avoid an error.
16332 Use char because int might match the return type of a GCC
16333 builtin and then its argument prototype would still apply. */
16346 if ac_fn_c_try_link "$LINENO"; then :
16347 ac_cv_lib_m_asinhf=yes
16349 ac_cv_lib_m_asinhf=no
16351 rm -f core conftest.err conftest.$ac_objext \
16352 conftest$ac_exeext conftest.$ac_ext
16353 LIBS=$ac_check_lib_save_LIBS
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16356 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16357 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16359 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16364 $as_echo_n "checking for asinh in -lm... " >&6; }
16365 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16366 $as_echo_n "(cached) " >&6
16368 ac_check_lib_save_LIBS=$LIBS
16370 if test x$gcc_no_link = xyes; then
16371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 ac_cv_lib_m_asinh=yes
16394 ac_cv_lib_m_asinh=no
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_lib_save_LIBS
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16401 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16402 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16404 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16409 $as_echo_n "checking for asinhl in -lm... " >&6; }
16410 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16411 $as_echo_n "(cached) " >&6
16413 ac_check_lib_save_LIBS=$LIBS
16415 if test x$gcc_no_link = xyes; then
16416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 ac_cv_lib_m_asinhl=yes
16439 ac_cv_lib_m_asinhl=no
16441 rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16443 LIBS=$ac_check_lib_save_LIBS
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16446 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16447 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16449 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16454 $as_echo_n "checking for atan2f in -lm... " >&6; }
16455 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16456 $as_echo_n "(cached) " >&6
16458 ac_check_lib_save_LIBS=$LIBS
16460 if test x$gcc_no_link = xyes; then
16461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_lib_m_atan2f=yes
16484 ac_cv_lib_m_atan2f=no
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16491 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16492 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16494 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16499 $as_echo_n "checking for atan2 in -lm... " >&6; }
16500 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16501 $as_echo_n "(cached) " >&6
16503 ac_check_lib_save_LIBS=$LIBS
16505 if test x$gcc_no_link = xyes; then
16506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16511 /* Override any GCC internal prototype to avoid an error.
16512 Use char because int might match the return type of a GCC
16513 builtin and then its argument prototype would still apply. */
16526 if ac_fn_c_try_link "$LINENO"; then :
16527 ac_cv_lib_m_atan2=yes
16529 ac_cv_lib_m_atan2=no
16531 rm -f core conftest.err conftest.$ac_objext \
16532 conftest$ac_exeext conftest.$ac_ext
16533 LIBS=$ac_check_lib_save_LIBS
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16536 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16537 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16539 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16544 $as_echo_n "checking for atan2l in -lm... " >&6; }
16545 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16546 $as_echo_n "(cached) " >&6
16548 ac_check_lib_save_LIBS=$LIBS
16550 if test x$gcc_no_link = xyes; then
16551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16556 /* Override any GCC internal prototype to avoid an error.
16557 Use char because int might match the return type of a GCC
16558 builtin and then its argument prototype would still apply. */
16571 if ac_fn_c_try_link "$LINENO"; then :
16572 ac_cv_lib_m_atan2l=yes
16574 ac_cv_lib_m_atan2l=no
16576 rm -f core conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_lib_save_LIBS
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16581 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16582 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16584 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16589 $as_echo_n "checking for atanf in -lm... " >&6; }
16590 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16591 $as_echo_n "(cached) " >&6
16593 ac_check_lib_save_LIBS=$LIBS
16595 if test x$gcc_no_link = xyes; then
16596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16601 /* Override any GCC internal prototype to avoid an error.
16602 Use char because int might match the return type of a GCC
16603 builtin and then its argument prototype would still apply. */
16616 if ac_fn_c_try_link "$LINENO"; then :
16617 ac_cv_lib_m_atanf=yes
16619 ac_cv_lib_m_atanf=no
16621 rm -f core conftest.err conftest.$ac_objext \
16622 conftest$ac_exeext conftest.$ac_ext
16623 LIBS=$ac_check_lib_save_LIBS
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16626 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16627 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16629 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16634 $as_echo_n "checking for atan in -lm... " >&6; }
16635 if test "${ac_cv_lib_m_atan+set}" = set; then :
16636 $as_echo_n "(cached) " >&6
16638 ac_check_lib_save_LIBS=$LIBS
16640 if test x$gcc_no_link = xyes; then
16641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16646 /* Override any GCC internal prototype to avoid an error.
16647 Use char because int might match the return type of a GCC
16648 builtin and then its argument prototype would still apply. */
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_lib_m_atan=yes
16664 ac_cv_lib_m_atan=no
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 LIBS=$ac_check_lib_save_LIBS
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16671 $as_echo "$ac_cv_lib_m_atan" >&6; }
16672 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16674 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16679 $as_echo_n "checking for atanl in -lm... " >&6; }
16680 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16681 $as_echo_n "(cached) " >&6
16683 ac_check_lib_save_LIBS=$LIBS
16685 if test x$gcc_no_link = xyes; then
16686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16691 /* Override any GCC internal prototype to avoid an error.
16692 Use char because int might match the return type of a GCC
16693 builtin and then its argument prototype would still apply. */
16706 if ac_fn_c_try_link "$LINENO"; then :
16707 ac_cv_lib_m_atanl=yes
16709 ac_cv_lib_m_atanl=no
16711 rm -f core conftest.err conftest.$ac_objext \
16712 conftest$ac_exeext conftest.$ac_ext
16713 LIBS=$ac_check_lib_save_LIBS
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16716 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16717 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16719 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16724 $as_echo_n "checking for atanhf in -lm... " >&6; }
16725 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16726 $as_echo_n "(cached) " >&6
16728 ac_check_lib_save_LIBS=$LIBS
16730 if test x$gcc_no_link = xyes; then
16731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16751 if ac_fn_c_try_link "$LINENO"; then :
16752 ac_cv_lib_m_atanhf=yes
16754 ac_cv_lib_m_atanhf=no
16756 rm -f core conftest.err conftest.$ac_objext \
16757 conftest$ac_exeext conftest.$ac_ext
16758 LIBS=$ac_check_lib_save_LIBS
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16761 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16762 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16764 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16769 $as_echo_n "checking for atanh in -lm... " >&6; }
16770 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16771 $as_echo_n "(cached) " >&6
16773 ac_check_lib_save_LIBS=$LIBS
16775 if test x$gcc_no_link = xyes; then
16776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16781 /* Override any GCC internal prototype to avoid an error.
16782 Use char because int might match the return type of a GCC
16783 builtin and then its argument prototype would still apply. */
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 ac_cv_lib_m_atanh=yes
16799 ac_cv_lib_m_atanh=no
16801 rm -f core conftest.err conftest.$ac_objext \
16802 conftest$ac_exeext conftest.$ac_ext
16803 LIBS=$ac_check_lib_save_LIBS
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16806 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16807 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16809 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16814 $as_echo_n "checking for atanhl in -lm... " >&6; }
16815 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16816 $as_echo_n "(cached) " >&6
16818 ac_check_lib_save_LIBS=$LIBS
16820 if test x$gcc_no_link = xyes; then
16821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16841 if ac_fn_c_try_link "$LINENO"; then :
16842 ac_cv_lib_m_atanhl=yes
16844 ac_cv_lib_m_atanhl=no
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16851 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16852 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16854 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16859 $as_echo_n "checking for cargf in -lm... " >&6; }
16860 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16861 $as_echo_n "(cached) " >&6
16863 ac_check_lib_save_LIBS=$LIBS
16865 if test x$gcc_no_link = xyes; then
16866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16871 /* Override any GCC internal prototype to avoid an error.
16872 Use char because int might match the return type of a GCC
16873 builtin and then its argument prototype would still apply. */
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 ac_cv_lib_m_cargf=yes
16889 ac_cv_lib_m_cargf=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 LIBS=$ac_check_lib_save_LIBS
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16896 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16897 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16899 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16904 $as_echo_n "checking for carg in -lm... " >&6; }
16905 if test "${ac_cv_lib_m_carg+set}" = set; then :
16906 $as_echo_n "(cached) " >&6
16908 ac_check_lib_save_LIBS=$LIBS
16910 if test x$gcc_no_link = xyes; then
16911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16916 /* Override any GCC internal prototype to avoid an error.
16917 Use char because int might match the return type of a GCC
16918 builtin and then its argument prototype would still apply. */
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_lib_m_carg=yes
16934 ac_cv_lib_m_carg=no
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938 LIBS=$ac_check_lib_save_LIBS
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16941 $as_echo "$ac_cv_lib_m_carg" >&6; }
16942 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16944 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16949 $as_echo_n "checking for cargl in -lm... " >&6; }
16950 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16951 $as_echo_n "(cached) " >&6
16953 ac_check_lib_save_LIBS=$LIBS
16955 if test x$gcc_no_link = xyes; then
16956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16961 /* Override any GCC internal prototype to avoid an error.
16962 Use char because int might match the return type of a GCC
16963 builtin and then its argument prototype would still apply. */
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_lib_m_cargl=yes
16979 ac_cv_lib_m_cargl=no
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 LIBS=$ac_check_lib_save_LIBS
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16986 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16987 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16989 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16994 $as_echo_n "checking for ceilf in -lm... " >&6; }
16995 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16996 $as_echo_n "(cached) " >&6
16998 ac_check_lib_save_LIBS=$LIBS
17000 if test x$gcc_no_link = xyes; then
17001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17006 /* Override any GCC internal prototype to avoid an error.
17007 Use char because int might match the return type of a GCC
17008 builtin and then its argument prototype would still apply. */
17021 if ac_fn_c_try_link "$LINENO"; then :
17022 ac_cv_lib_m_ceilf=yes
17024 ac_cv_lib_m_ceilf=no
17026 rm -f core conftest.err conftest.$ac_objext \
17027 conftest$ac_exeext conftest.$ac_ext
17028 LIBS=$ac_check_lib_save_LIBS
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17031 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17032 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17034 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17039 $as_echo_n "checking for ceil in -lm... " >&6; }
17040 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17041 $as_echo_n "(cached) " >&6
17043 ac_check_lib_save_LIBS=$LIBS
17045 if test x$gcc_no_link = xyes; then
17046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17051 /* Override any GCC internal prototype to avoid an error.
17052 Use char because int might match the return type of a GCC
17053 builtin and then its argument prototype would still apply. */
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_lib_m_ceil=yes
17069 ac_cv_lib_m_ceil=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 LIBS=$ac_check_lib_save_LIBS
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17076 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17077 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17079 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17084 $as_echo_n "checking for ceill in -lm... " >&6; }
17085 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17086 $as_echo_n "(cached) " >&6
17088 ac_check_lib_save_LIBS=$LIBS
17090 if test x$gcc_no_link = xyes; then
17091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17096 /* Override any GCC internal prototype to avoid an error.
17097 Use char because int might match the return type of a GCC
17098 builtin and then its argument prototype would still apply. */
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_lib_m_ceill=yes
17114 ac_cv_lib_m_ceill=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 LIBS=$ac_check_lib_save_LIBS
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17121 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17122 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17124 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17129 $as_echo_n "checking for copysignf in -lm... " >&6; }
17130 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17131 $as_echo_n "(cached) " >&6
17133 ac_check_lib_save_LIBS=$LIBS
17135 if test x$gcc_no_link = xyes; then
17136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17141 /* Override any GCC internal prototype to avoid an error.
17142 Use char because int might match the return type of a GCC
17143 builtin and then its argument prototype would still apply. */
17151 return copysignf ();
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_lib_m_copysignf=yes
17159 ac_cv_lib_m_copysignf=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 LIBS=$ac_check_lib_save_LIBS
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17166 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17167 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17169 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17174 $as_echo_n "checking for copysign in -lm... " >&6; }
17175 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17176 $as_echo_n "(cached) " >&6
17178 ac_check_lib_save_LIBS=$LIBS
17180 if test x$gcc_no_link = xyes; then
17181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17196 return copysign ();
17201 if ac_fn_c_try_link "$LINENO"; then :
17202 ac_cv_lib_m_copysign=yes
17204 ac_cv_lib_m_copysign=no
17206 rm -f core conftest.err conftest.$ac_objext \
17207 conftest$ac_exeext conftest.$ac_ext
17208 LIBS=$ac_check_lib_save_LIBS
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17211 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17212 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17214 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17219 $as_echo_n "checking for copysignl in -lm... " >&6; }
17220 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17221 $as_echo_n "(cached) " >&6
17223 ac_check_lib_save_LIBS=$LIBS
17225 if test x$gcc_no_link = xyes; then
17226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17231 /* Override any GCC internal prototype to avoid an error.
17232 Use char because int might match the return type of a GCC
17233 builtin and then its argument prototype would still apply. */
17241 return copysignl ();
17246 if ac_fn_c_try_link "$LINENO"; then :
17247 ac_cv_lib_m_copysignl=yes
17249 ac_cv_lib_m_copysignl=no
17251 rm -f core conftest.err conftest.$ac_objext \
17252 conftest$ac_exeext conftest.$ac_ext
17253 LIBS=$ac_check_lib_save_LIBS
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17256 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17257 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17259 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17264 $as_echo_n "checking for cosf in -lm... " >&6; }
17265 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17266 $as_echo_n "(cached) " >&6
17268 ac_check_lib_save_LIBS=$LIBS
17270 if test x$gcc_no_link = xyes; then
17271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17276 /* Override any GCC internal prototype to avoid an error.
17277 Use char because int might match the return type of a GCC
17278 builtin and then its argument prototype would still apply. */
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 ac_cv_lib_m_cosf=yes
17294 ac_cv_lib_m_cosf=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 LIBS=$ac_check_lib_save_LIBS
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17301 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17302 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17304 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17309 $as_echo_n "checking for cos in -lm... " >&6; }
17310 if test "${ac_cv_lib_m_cos+set}" = set; then :
17311 $as_echo_n "(cached) " >&6
17313 ac_check_lib_save_LIBS=$LIBS
17315 if test x$gcc_no_link = xyes; then
17316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17321 /* Override any GCC internal prototype to avoid an error.
17322 Use char because int might match the return type of a GCC
17323 builtin and then its argument prototype would still apply. */
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_lib_m_cos=yes
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 LIBS=$ac_check_lib_save_LIBS
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17346 $as_echo "$ac_cv_lib_m_cos" >&6; }
17347 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17349 $as_echo "#define HAVE_COS 1" >>confdefs.h
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17354 $as_echo_n "checking for cosl in -lm... " >&6; }
17355 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17358 ac_check_lib_save_LIBS=$LIBS
17360 if test x$gcc_no_link = xyes; then
17361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17366 /* Override any GCC internal prototype to avoid an error.
17367 Use char because int might match the return type of a GCC
17368 builtin and then its argument prototype would still apply. */
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_lib_m_cosl=yes
17384 ac_cv_lib_m_cosl=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 LIBS=$ac_check_lib_save_LIBS
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17391 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17392 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17394 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17399 $as_echo_n "checking for ccosf in -lm... " >&6; }
17400 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17401 $as_echo_n "(cached) " >&6
17403 ac_check_lib_save_LIBS=$LIBS
17405 if test x$gcc_no_link = xyes; then
17406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17411 /* Override any GCC internal prototype to avoid an error.
17412 Use char because int might match the return type of a GCC
17413 builtin and then its argument prototype would still apply. */
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 ac_cv_lib_m_ccosf=yes
17429 ac_cv_lib_m_ccosf=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 LIBS=$ac_check_lib_save_LIBS
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17436 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17437 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17439 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17444 $as_echo_n "checking for ccos in -lm... " >&6; }
17445 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17446 $as_echo_n "(cached) " >&6
17448 ac_check_lib_save_LIBS=$LIBS
17450 if test x$gcc_no_link = xyes; then
17451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17456 /* Override any GCC internal prototype to avoid an error.
17457 Use char because int might match the return type of a GCC
17458 builtin and then its argument prototype would still apply. */
17471 if ac_fn_c_try_link "$LINENO"; then :
17472 ac_cv_lib_m_ccos=yes
17474 ac_cv_lib_m_ccos=no
17476 rm -f core conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17481 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17482 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17484 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17489 $as_echo_n "checking for ccosl in -lm... " >&6; }
17490 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17493 ac_check_lib_save_LIBS=$LIBS
17495 if test x$gcc_no_link = xyes; then
17496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17501 /* Override any GCC internal prototype to avoid an error.
17502 Use char because int might match the return type of a GCC
17503 builtin and then its argument prototype would still apply. */
17516 if ac_fn_c_try_link "$LINENO"; then :
17517 ac_cv_lib_m_ccosl=yes
17519 ac_cv_lib_m_ccosl=no
17521 rm -f core conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_lib_save_LIBS
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17526 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17527 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17529 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17534 $as_echo_n "checking for coshf in -lm... " >&6; }
17535 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17536 $as_echo_n "(cached) " >&6
17538 ac_check_lib_save_LIBS=$LIBS
17540 if test x$gcc_no_link = xyes; then
17541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17546 /* Override any GCC internal prototype to avoid an error.
17547 Use char because int might match the return type of a GCC
17548 builtin and then its argument prototype would still apply. */
17561 if ac_fn_c_try_link "$LINENO"; then :
17562 ac_cv_lib_m_coshf=yes
17564 ac_cv_lib_m_coshf=no
17566 rm -f core conftest.err conftest.$ac_objext \
17567 conftest$ac_exeext conftest.$ac_ext
17568 LIBS=$ac_check_lib_save_LIBS
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17571 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17572 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17574 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17579 $as_echo_n "checking for cosh in -lm... " >&6; }
17580 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17581 $as_echo_n "(cached) " >&6
17583 ac_check_lib_save_LIBS=$LIBS
17585 if test x$gcc_no_link = xyes; then
17586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17591 /* Override any GCC internal prototype to avoid an error.
17592 Use char because int might match the return type of a GCC
17593 builtin and then its argument prototype would still apply. */
17606 if ac_fn_c_try_link "$LINENO"; then :
17607 ac_cv_lib_m_cosh=yes
17609 ac_cv_lib_m_cosh=no
17611 rm -f core conftest.err conftest.$ac_objext \
17612 conftest$ac_exeext conftest.$ac_ext
17613 LIBS=$ac_check_lib_save_LIBS
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17616 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17617 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17619 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17624 $as_echo_n "checking for coshl in -lm... " >&6; }
17625 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17626 $as_echo_n "(cached) " >&6
17628 ac_check_lib_save_LIBS=$LIBS
17630 if test x$gcc_no_link = xyes; then
17631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17634 /* end confdefs.h. */
17636 /* Override any GCC internal prototype to avoid an error.
17637 Use char because int might match the return type of a GCC
17638 builtin and then its argument prototype would still apply. */
17651 if ac_fn_c_try_link "$LINENO"; then :
17652 ac_cv_lib_m_coshl=yes
17654 ac_cv_lib_m_coshl=no
17656 rm -f core conftest.err conftest.$ac_objext \
17657 conftest$ac_exeext conftest.$ac_ext
17658 LIBS=$ac_check_lib_save_LIBS
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17661 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17662 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17664 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17669 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17670 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17673 ac_check_lib_save_LIBS=$LIBS
17675 if test x$gcc_no_link = xyes; then
17676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17681 /* Override any GCC internal prototype to avoid an error.
17682 Use char because int might match the return type of a GCC
17683 builtin and then its argument prototype would still apply. */
17696 if ac_fn_c_try_link "$LINENO"; then :
17697 ac_cv_lib_m_ccoshf=yes
17699 ac_cv_lib_m_ccoshf=no
17701 rm -f core conftest.err conftest.$ac_objext \
17702 conftest$ac_exeext conftest.$ac_ext
17703 LIBS=$ac_check_lib_save_LIBS
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17706 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17707 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17709 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17714 $as_echo_n "checking for ccosh in -lm... " >&6; }
17715 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17718 ac_check_lib_save_LIBS=$LIBS
17720 if test x$gcc_no_link = xyes; then
17721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17726 /* Override any GCC internal prototype to avoid an error.
17727 Use char because int might match the return type of a GCC
17728 builtin and then its argument prototype would still apply. */
17741 if ac_fn_c_try_link "$LINENO"; then :
17742 ac_cv_lib_m_ccosh=yes
17744 ac_cv_lib_m_ccosh=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17748 LIBS=$ac_check_lib_save_LIBS
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17751 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17752 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17754 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17759 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17760 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17763 ac_check_lib_save_LIBS=$LIBS
17765 if test x$gcc_no_link = xyes; then
17766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17771 /* Override any GCC internal prototype to avoid an error.
17772 Use char because int might match the return type of a GCC
17773 builtin and then its argument prototype would still apply. */
17786 if ac_fn_c_try_link "$LINENO"; then :
17787 ac_cv_lib_m_ccoshl=yes
17789 ac_cv_lib_m_ccoshl=no
17791 rm -f core conftest.err conftest.$ac_objext \
17792 conftest$ac_exeext conftest.$ac_ext
17793 LIBS=$ac_check_lib_save_LIBS
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17796 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17797 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17799 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17804 $as_echo_n "checking for expf in -lm... " >&6; }
17805 if test "${ac_cv_lib_m_expf+set}" = set; then :
17806 $as_echo_n "(cached) " >&6
17808 ac_check_lib_save_LIBS=$LIBS
17810 if test x$gcc_no_link = xyes; then
17811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17816 /* Override any GCC internal prototype to avoid an error.
17817 Use char because int might match the return type of a GCC
17818 builtin and then its argument prototype would still apply. */
17831 if ac_fn_c_try_link "$LINENO"; then :
17832 ac_cv_lib_m_expf=yes
17834 ac_cv_lib_m_expf=no
17836 rm -f core conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext conftest.$ac_ext
17838 LIBS=$ac_check_lib_save_LIBS
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17841 $as_echo "$ac_cv_lib_m_expf" >&6; }
17842 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17844 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17849 $as_echo_n "checking for exp in -lm... " >&6; }
17850 if test "${ac_cv_lib_m_exp+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17853 ac_check_lib_save_LIBS=$LIBS
17855 if test x$gcc_no_link = xyes; then
17856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17861 /* Override any GCC internal prototype to avoid an error.
17862 Use char because int might match the return type of a GCC
17863 builtin and then its argument prototype would still apply. */
17876 if ac_fn_c_try_link "$LINENO"; then :
17877 ac_cv_lib_m_exp=yes
17881 rm -f core conftest.err conftest.$ac_objext \
17882 conftest$ac_exeext conftest.$ac_ext
17883 LIBS=$ac_check_lib_save_LIBS
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17886 $as_echo "$ac_cv_lib_m_exp" >&6; }
17887 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17889 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17894 $as_echo_n "checking for expl in -lm... " >&6; }
17895 if test "${ac_cv_lib_m_expl+set}" = set; then :
17896 $as_echo_n "(cached) " >&6
17898 ac_check_lib_save_LIBS=$LIBS
17900 if test x$gcc_no_link = xyes; then
17901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17906 /* Override any GCC internal prototype to avoid an error.
17907 Use char because int might match the return type of a GCC
17908 builtin and then its argument prototype would still apply. */
17921 if ac_fn_c_try_link "$LINENO"; then :
17922 ac_cv_lib_m_expl=yes
17924 ac_cv_lib_m_expl=no
17926 rm -f core conftest.err conftest.$ac_objext \
17927 conftest$ac_exeext conftest.$ac_ext
17928 LIBS=$ac_check_lib_save_LIBS
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17931 $as_echo "$ac_cv_lib_m_expl" >&6; }
17932 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17934 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17939 $as_echo_n "checking for cexpf in -lm... " >&6; }
17940 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17941 $as_echo_n "(cached) " >&6
17943 ac_check_lib_save_LIBS=$LIBS
17945 if test x$gcc_no_link = xyes; then
17946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17966 if ac_fn_c_try_link "$LINENO"; then :
17967 ac_cv_lib_m_cexpf=yes
17969 ac_cv_lib_m_cexpf=no
17971 rm -f core conftest.err conftest.$ac_objext \
17972 conftest$ac_exeext conftest.$ac_ext
17973 LIBS=$ac_check_lib_save_LIBS
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17976 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17977 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17979 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17984 $as_echo_n "checking for cexp in -lm... " >&6; }
17985 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17986 $as_echo_n "(cached) " >&6
17988 ac_check_lib_save_LIBS=$LIBS
17990 if test x$gcc_no_link = xyes; then
17991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17996 /* Override any GCC internal prototype to avoid an error.
17997 Use char because int might match the return type of a GCC
17998 builtin and then its argument prototype would still apply. */
18011 if ac_fn_c_try_link "$LINENO"; then :
18012 ac_cv_lib_m_cexp=yes
18014 ac_cv_lib_m_cexp=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_lib_save_LIBS
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18021 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18022 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18024 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18029 $as_echo_n "checking for cexpl in -lm... " >&6; }
18030 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18031 $as_echo_n "(cached) " >&6
18033 ac_check_lib_save_LIBS=$LIBS
18035 if test x$gcc_no_link = xyes; then
18036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18041 /* Override any GCC internal prototype to avoid an error.
18042 Use char because int might match the return type of a GCC
18043 builtin and then its argument prototype would still apply. */
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 ac_cv_lib_m_cexpl=yes
18059 ac_cv_lib_m_cexpl=no
18061 rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18063 LIBS=$ac_check_lib_save_LIBS
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18066 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18067 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18069 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18074 $as_echo_n "checking for fabsf in -lm... " >&6; }
18075 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18076 $as_echo_n "(cached) " >&6
18078 ac_check_lib_save_LIBS=$LIBS
18080 if test x$gcc_no_link = xyes; then
18081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18086 /* Override any GCC internal prototype to avoid an error.
18087 Use char because int might match the return type of a GCC
18088 builtin and then its argument prototype would still apply. */
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_lib_m_fabsf=yes
18104 ac_cv_lib_m_fabsf=no
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_check_lib_save_LIBS
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18111 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18112 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18114 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18119 $as_echo_n "checking for fabs in -lm... " >&6; }
18120 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18121 $as_echo_n "(cached) " >&6
18123 ac_check_lib_save_LIBS=$LIBS
18125 if test x$gcc_no_link = xyes; then
18126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18131 /* Override any GCC internal prototype to avoid an error.
18132 Use char because int might match the return type of a GCC
18133 builtin and then its argument prototype would still apply. */
18146 if ac_fn_c_try_link "$LINENO"; then :
18147 ac_cv_lib_m_fabs=yes
18149 ac_cv_lib_m_fabs=no
18151 rm -f core conftest.err conftest.$ac_objext \
18152 conftest$ac_exeext conftest.$ac_ext
18153 LIBS=$ac_check_lib_save_LIBS
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18156 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18157 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18159 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18164 $as_echo_n "checking for fabsl in -lm... " >&6; }
18165 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18166 $as_echo_n "(cached) " >&6
18168 ac_check_lib_save_LIBS=$LIBS
18170 if test x$gcc_no_link = xyes; then
18171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_lib_m_fabsl=yes
18194 ac_cv_lib_m_fabsl=no
18196 rm -f core conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18198 LIBS=$ac_check_lib_save_LIBS
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18201 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18202 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18204 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18209 $as_echo_n "checking for cabsf in -lm... " >&6; }
18210 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18211 $as_echo_n "(cached) " >&6
18213 ac_check_lib_save_LIBS=$LIBS
18215 if test x$gcc_no_link = xyes; then
18216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18221 /* Override any GCC internal prototype to avoid an error.
18222 Use char because int might match the return type of a GCC
18223 builtin and then its argument prototype would still apply. */
18236 if ac_fn_c_try_link "$LINENO"; then :
18237 ac_cv_lib_m_cabsf=yes
18239 ac_cv_lib_m_cabsf=no
18241 rm -f core conftest.err conftest.$ac_objext \
18242 conftest$ac_exeext conftest.$ac_ext
18243 LIBS=$ac_check_lib_save_LIBS
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18246 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18247 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18249 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18254 $as_echo_n "checking for cabs in -lm... " >&6; }
18255 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18256 $as_echo_n "(cached) " >&6
18258 ac_check_lib_save_LIBS=$LIBS
18260 if test x$gcc_no_link = xyes; then
18261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h. */
18266 /* Override any GCC internal prototype to avoid an error.
18267 Use char because int might match the return type of a GCC
18268 builtin and then its argument prototype would still apply. */
18281 if ac_fn_c_try_link "$LINENO"; then :
18282 ac_cv_lib_m_cabs=yes
18284 ac_cv_lib_m_cabs=no
18286 rm -f core conftest.err conftest.$ac_objext \
18287 conftest$ac_exeext conftest.$ac_ext
18288 LIBS=$ac_check_lib_save_LIBS
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18291 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18292 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18294 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18299 $as_echo_n "checking for cabsl in -lm... " >&6; }
18300 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18301 $as_echo_n "(cached) " >&6
18303 ac_check_lib_save_LIBS=$LIBS
18305 if test x$gcc_no_link = xyes; then
18306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18326 if ac_fn_c_try_link "$LINENO"; then :
18327 ac_cv_lib_m_cabsl=yes
18329 ac_cv_lib_m_cabsl=no
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 LIBS=$ac_check_lib_save_LIBS
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18336 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18337 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18339 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18344 $as_echo_n "checking for floorf in -lm... " >&6; }
18345 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18346 $as_echo_n "(cached) " >&6
18348 ac_check_lib_save_LIBS=$LIBS
18350 if test x$gcc_no_link = xyes; then
18351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18356 /* Override any GCC internal prototype to avoid an error.
18357 Use char because int might match the return type of a GCC
18358 builtin and then its argument prototype would still apply. */
18371 if ac_fn_c_try_link "$LINENO"; then :
18372 ac_cv_lib_m_floorf=yes
18374 ac_cv_lib_m_floorf=no
18376 rm -f core conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18378 LIBS=$ac_check_lib_save_LIBS
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18381 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18382 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18384 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18389 $as_echo_n "checking for floor in -lm... " >&6; }
18390 if test "${ac_cv_lib_m_floor+set}" = set; then :
18391 $as_echo_n "(cached) " >&6
18393 ac_check_lib_save_LIBS=$LIBS
18395 if test x$gcc_no_link = xyes; then
18396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18416 if ac_fn_c_try_link "$LINENO"; then :
18417 ac_cv_lib_m_floor=yes
18419 ac_cv_lib_m_floor=no
18421 rm -f core conftest.err conftest.$ac_objext \
18422 conftest$ac_exeext conftest.$ac_ext
18423 LIBS=$ac_check_lib_save_LIBS
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18426 $as_echo "$ac_cv_lib_m_floor" >&6; }
18427 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18429 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18434 $as_echo_n "checking for floorl in -lm... " >&6; }
18435 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18436 $as_echo_n "(cached) " >&6
18438 ac_check_lib_save_LIBS=$LIBS
18440 if test x$gcc_no_link = xyes; then
18441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18461 if ac_fn_c_try_link "$LINENO"; then :
18462 ac_cv_lib_m_floorl=yes
18464 ac_cv_lib_m_floorl=no
18466 rm -f core conftest.err conftest.$ac_objext \
18467 conftest$ac_exeext conftest.$ac_ext
18468 LIBS=$ac_check_lib_save_LIBS
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18471 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18472 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18474 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18479 $as_echo_n "checking for fmodf in -lm... " >&6; }
18480 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18481 $as_echo_n "(cached) " >&6
18483 ac_check_lib_save_LIBS=$LIBS
18485 if test x$gcc_no_link = xyes; then
18486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 /* Override any GCC internal prototype to avoid an error.
18492 Use char because int might match the return type of a GCC
18493 builtin and then its argument prototype would still apply. */
18506 if ac_fn_c_try_link "$LINENO"; then :
18507 ac_cv_lib_m_fmodf=yes
18509 ac_cv_lib_m_fmodf=no
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_lib_save_LIBS
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18516 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18517 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18519 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18524 $as_echo_n "checking for fmod in -lm... " >&6; }
18525 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18526 $as_echo_n "(cached) " >&6
18528 ac_check_lib_save_LIBS=$LIBS
18530 if test x$gcc_no_link = xyes; then
18531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18536 /* Override any GCC internal prototype to avoid an error.
18537 Use char because int might match the return type of a GCC
18538 builtin and then its argument prototype would still apply. */
18551 if ac_fn_c_try_link "$LINENO"; then :
18552 ac_cv_lib_m_fmod=yes
18554 ac_cv_lib_m_fmod=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18558 LIBS=$ac_check_lib_save_LIBS
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18561 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18562 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18564 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18569 $as_echo_n "checking for fmodl in -lm... " >&6; }
18570 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18571 $as_echo_n "(cached) " >&6
18573 ac_check_lib_save_LIBS=$LIBS
18575 if test x$gcc_no_link = xyes; then
18576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18581 /* Override any GCC internal prototype to avoid an error.
18582 Use char because int might match the return type of a GCC
18583 builtin and then its argument prototype would still apply. */
18596 if ac_fn_c_try_link "$LINENO"; then :
18597 ac_cv_lib_m_fmodl=yes
18599 ac_cv_lib_m_fmodl=no
18601 rm -f core conftest.err conftest.$ac_objext \
18602 conftest$ac_exeext conftest.$ac_ext
18603 LIBS=$ac_check_lib_save_LIBS
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18606 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18607 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18609 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18614 $as_echo_n "checking for frexpf in -lm... " >&6; }
18615 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18616 $as_echo_n "(cached) " >&6
18618 ac_check_lib_save_LIBS=$LIBS
18620 if test x$gcc_no_link = xyes; then
18621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18626 /* Override any GCC internal prototype to avoid an error.
18627 Use char because int might match the return type of a GCC
18628 builtin and then its argument prototype would still apply. */
18641 if ac_fn_c_try_link "$LINENO"; then :
18642 ac_cv_lib_m_frexpf=yes
18644 ac_cv_lib_m_frexpf=no
18646 rm -f core conftest.err conftest.$ac_objext \
18647 conftest$ac_exeext conftest.$ac_ext
18648 LIBS=$ac_check_lib_save_LIBS
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18651 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18652 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18654 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18659 $as_echo_n "checking for frexp in -lm... " >&6; }
18660 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18661 $as_echo_n "(cached) " >&6
18663 ac_check_lib_save_LIBS=$LIBS
18665 if test x$gcc_no_link = xyes; then
18666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18671 /* Override any GCC internal prototype to avoid an error.
18672 Use char because int might match the return type of a GCC
18673 builtin and then its argument prototype would still apply. */
18686 if ac_fn_c_try_link "$LINENO"; then :
18687 ac_cv_lib_m_frexp=yes
18689 ac_cv_lib_m_frexp=no
18691 rm -f core conftest.err conftest.$ac_objext \
18692 conftest$ac_exeext conftest.$ac_ext
18693 LIBS=$ac_check_lib_save_LIBS
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18696 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18697 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18699 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18704 $as_echo_n "checking for frexpl in -lm... " >&6; }
18705 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18706 $as_echo_n "(cached) " >&6
18708 ac_check_lib_save_LIBS=$LIBS
18710 if test x$gcc_no_link = xyes; then
18711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18716 /* Override any GCC internal prototype to avoid an error.
18717 Use char because int might match the return type of a GCC
18718 builtin and then its argument prototype would still apply. */
18731 if ac_fn_c_try_link "$LINENO"; then :
18732 ac_cv_lib_m_frexpl=yes
18734 ac_cv_lib_m_frexpl=no
18736 rm -f core conftest.err conftest.$ac_objext \
18737 conftest$ac_exeext conftest.$ac_ext
18738 LIBS=$ac_check_lib_save_LIBS
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18741 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18742 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18744 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18749 $as_echo_n "checking for hypotf in -lm... " >&6; }
18750 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18751 $as_echo_n "(cached) " >&6
18753 ac_check_lib_save_LIBS=$LIBS
18755 if test x$gcc_no_link = xyes; then
18756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18761 /* Override any GCC internal prototype to avoid an error.
18762 Use char because int might match the return type of a GCC
18763 builtin and then its argument prototype would still apply. */
18776 if ac_fn_c_try_link "$LINENO"; then :
18777 ac_cv_lib_m_hypotf=yes
18779 ac_cv_lib_m_hypotf=no
18781 rm -f core conftest.err conftest.$ac_objext \
18782 conftest$ac_exeext conftest.$ac_ext
18783 LIBS=$ac_check_lib_save_LIBS
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18786 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18787 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18789 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18794 $as_echo_n "checking for hypot in -lm... " >&6; }
18795 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18798 ac_check_lib_save_LIBS=$LIBS
18800 if test x$gcc_no_link = xyes; then
18801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18806 /* Override any GCC internal prototype to avoid an error.
18807 Use char because int might match the return type of a GCC
18808 builtin and then its argument prototype would still apply. */
18821 if ac_fn_c_try_link "$LINENO"; then :
18822 ac_cv_lib_m_hypot=yes
18824 ac_cv_lib_m_hypot=no
18826 rm -f core conftest.err conftest.$ac_objext \
18827 conftest$ac_exeext conftest.$ac_ext
18828 LIBS=$ac_check_lib_save_LIBS
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18831 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18832 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18834 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18839 $as_echo_n "checking for hypotl in -lm... " >&6; }
18840 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18841 $as_echo_n "(cached) " >&6
18843 ac_check_lib_save_LIBS=$LIBS
18845 if test x$gcc_no_link = xyes; then
18846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18851 /* Override any GCC internal prototype to avoid an error.
18852 Use char because int might match the return type of a GCC
18853 builtin and then its argument prototype would still apply. */
18866 if ac_fn_c_try_link "$LINENO"; then :
18867 ac_cv_lib_m_hypotl=yes
18869 ac_cv_lib_m_hypotl=no
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18873 LIBS=$ac_check_lib_save_LIBS
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18876 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18877 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18879 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18884 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18885 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18886 $as_echo_n "(cached) " >&6
18888 ac_check_lib_save_LIBS=$LIBS
18890 if test x$gcc_no_link = xyes; then
18891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18896 /* Override any GCC internal prototype to avoid an error.
18897 Use char because int might match the return type of a GCC
18898 builtin and then its argument prototype would still apply. */
18911 if ac_fn_c_try_link "$LINENO"; then :
18912 ac_cv_lib_m_ldexpf=yes
18914 ac_cv_lib_m_ldexpf=no
18916 rm -f core conftest.err conftest.$ac_objext \
18917 conftest$ac_exeext conftest.$ac_ext
18918 LIBS=$ac_check_lib_save_LIBS
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18921 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18922 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18924 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18929 $as_echo_n "checking for ldexp in -lm... " >&6; }
18930 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18931 $as_echo_n "(cached) " >&6
18933 ac_check_lib_save_LIBS=$LIBS
18935 if test x$gcc_no_link = xyes; then
18936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18941 /* Override any GCC internal prototype to avoid an error.
18942 Use char because int might match the return type of a GCC
18943 builtin and then its argument prototype would still apply. */
18956 if ac_fn_c_try_link "$LINENO"; then :
18957 ac_cv_lib_m_ldexp=yes
18959 ac_cv_lib_m_ldexp=no
18961 rm -f core conftest.err conftest.$ac_objext \
18962 conftest$ac_exeext conftest.$ac_ext
18963 LIBS=$ac_check_lib_save_LIBS
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18966 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18967 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18969 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18974 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18975 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18976 $as_echo_n "(cached) " >&6
18978 ac_check_lib_save_LIBS=$LIBS
18980 if test x$gcc_no_link = xyes; then
18981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18986 /* Override any GCC internal prototype to avoid an error.
18987 Use char because int might match the return type of a GCC
18988 builtin and then its argument prototype would still apply. */
19001 if ac_fn_c_try_link "$LINENO"; then :
19002 ac_cv_lib_m_ldexpl=yes
19004 ac_cv_lib_m_ldexpl=no
19006 rm -f core conftest.err conftest.$ac_objext \
19007 conftest$ac_exeext conftest.$ac_ext
19008 LIBS=$ac_check_lib_save_LIBS
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19011 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19012 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19014 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19019 $as_echo_n "checking for logf in -lm... " >&6; }
19020 if test "${ac_cv_lib_m_logf+set}" = set; then :
19021 $as_echo_n "(cached) " >&6
19023 ac_check_lib_save_LIBS=$LIBS
19025 if test x$gcc_no_link = xyes; then
19026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19031 /* Override any GCC internal prototype to avoid an error.
19032 Use char because int might match the return type of a GCC
19033 builtin and then its argument prototype would still apply. */
19046 if ac_fn_c_try_link "$LINENO"; then :
19047 ac_cv_lib_m_logf=yes
19049 ac_cv_lib_m_logf=no
19051 rm -f core conftest.err conftest.$ac_objext \
19052 conftest$ac_exeext conftest.$ac_ext
19053 LIBS=$ac_check_lib_save_LIBS
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19056 $as_echo "$ac_cv_lib_m_logf" >&6; }
19057 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19064 $as_echo_n "checking for log in -lm... " >&6; }
19065 if test "${ac_cv_lib_m_log+set}" = set; then :
19066 $as_echo_n "(cached) " >&6
19068 ac_check_lib_save_LIBS=$LIBS
19070 if test x$gcc_no_link = xyes; then
19071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19076 /* Override any GCC internal prototype to avoid an error.
19077 Use char because int might match the return type of a GCC
19078 builtin and then its argument prototype would still apply. */
19091 if ac_fn_c_try_link "$LINENO"; then :
19092 ac_cv_lib_m_log=yes
19096 rm -f core conftest.err conftest.$ac_objext \
19097 conftest$ac_exeext conftest.$ac_ext
19098 LIBS=$ac_check_lib_save_LIBS
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19101 $as_echo "$ac_cv_lib_m_log" >&6; }
19102 if test "x$ac_cv_lib_m_log" = x""yes; then :
19104 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19109 $as_echo_n "checking for logl in -lm... " >&6; }
19110 if test "${ac_cv_lib_m_logl+set}" = set; then :
19111 $as_echo_n "(cached) " >&6
19113 ac_check_lib_save_LIBS=$LIBS
19115 if test x$gcc_no_link = xyes; then
19116 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19121 /* Override any GCC internal prototype to avoid an error.
19122 Use char because int might match the return type of a GCC
19123 builtin and then its argument prototype would still apply. */
19136 if ac_fn_c_try_link "$LINENO"; then :
19137 ac_cv_lib_m_logl=yes
19139 ac_cv_lib_m_logl=no
19141 rm -f core conftest.err conftest.$ac_objext \
19142 conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_check_lib_save_LIBS
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19146 $as_echo "$ac_cv_lib_m_logl" >&6; }
19147 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19149 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19154 $as_echo_n "checking for clogf in -lm... " >&6; }
19155 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19156 $as_echo_n "(cached) " >&6
19158 ac_check_lib_save_LIBS=$LIBS
19160 if test x$gcc_no_link = xyes; then
19161 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19164 /* end confdefs.h. */
19166 /* Override any GCC internal prototype to avoid an error.
19167 Use char because int might match the return type of a GCC
19168 builtin and then its argument prototype would still apply. */
19181 if ac_fn_c_try_link "$LINENO"; then :
19182 ac_cv_lib_m_clogf=yes
19184 ac_cv_lib_m_clogf=no
19186 rm -f core conftest.err conftest.$ac_objext \
19187 conftest$ac_exeext conftest.$ac_ext
19188 LIBS=$ac_check_lib_save_LIBS
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19191 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19192 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19194 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19199 $as_echo_n "checking for clog in -lm... " >&6; }
19200 if test "${ac_cv_lib_m_clog+set}" = set; then :
19201 $as_echo_n "(cached) " >&6
19203 ac_check_lib_save_LIBS=$LIBS
19205 if test x$gcc_no_link = xyes; then
19206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19211 /* Override any GCC internal prototype to avoid an error.
19212 Use char because int might match the return type of a GCC
19213 builtin and then its argument prototype would still apply. */
19226 if ac_fn_c_try_link "$LINENO"; then :
19227 ac_cv_lib_m_clog=yes
19229 ac_cv_lib_m_clog=no
19231 rm -f core conftest.err conftest.$ac_objext \
19232 conftest$ac_exeext conftest.$ac_ext
19233 LIBS=$ac_check_lib_save_LIBS
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19236 $as_echo "$ac_cv_lib_m_clog" >&6; }
19237 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19239 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19244 $as_echo_n "checking for clogl in -lm... " >&6; }
19245 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19246 $as_echo_n "(cached) " >&6
19248 ac_check_lib_save_LIBS=$LIBS
19250 if test x$gcc_no_link = xyes; then
19251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19256 /* Override any GCC internal prototype to avoid an error.
19257 Use char because int might match the return type of a GCC
19258 builtin and then its argument prototype would still apply. */
19271 if ac_fn_c_try_link "$LINENO"; then :
19272 ac_cv_lib_m_clogl=yes
19274 ac_cv_lib_m_clogl=no
19276 rm -f core conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19278 LIBS=$ac_check_lib_save_LIBS
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19281 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19282 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19284 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19289 $as_echo_n "checking for log10f in -lm... " >&6; }
19290 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19291 $as_echo_n "(cached) " >&6
19293 ac_check_lib_save_LIBS=$LIBS
19295 if test x$gcc_no_link = xyes; then
19296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19301 /* Override any GCC internal prototype to avoid an error.
19302 Use char because int might match the return type of a GCC
19303 builtin and then its argument prototype would still apply. */
19316 if ac_fn_c_try_link "$LINENO"; then :
19317 ac_cv_lib_m_log10f=yes
19319 ac_cv_lib_m_log10f=no
19321 rm -f core conftest.err conftest.$ac_objext \
19322 conftest$ac_exeext conftest.$ac_ext
19323 LIBS=$ac_check_lib_save_LIBS
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19326 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19327 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19334 $as_echo_n "checking for log10 in -lm... " >&6; }
19335 if test "${ac_cv_lib_m_log10+set}" = set; then :
19336 $as_echo_n "(cached) " >&6
19338 ac_check_lib_save_LIBS=$LIBS
19340 if test x$gcc_no_link = xyes; then
19341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19346 /* Override any GCC internal prototype to avoid an error.
19347 Use char because int might match the return type of a GCC
19348 builtin and then its argument prototype would still apply. */
19361 if ac_fn_c_try_link "$LINENO"; then :
19362 ac_cv_lib_m_log10=yes
19364 ac_cv_lib_m_log10=no
19366 rm -f core conftest.err conftest.$ac_objext \
19367 conftest$ac_exeext conftest.$ac_ext
19368 LIBS=$ac_check_lib_save_LIBS
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19371 $as_echo "$ac_cv_lib_m_log10" >&6; }
19372 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19374 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19379 $as_echo_n "checking for log10l in -lm... " >&6; }
19380 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19381 $as_echo_n "(cached) " >&6
19383 ac_check_lib_save_LIBS=$LIBS
19385 if test x$gcc_no_link = xyes; then
19386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h. */
19391 /* Override any GCC internal prototype to avoid an error.
19392 Use char because int might match the return type of a GCC
19393 builtin and then its argument prototype would still apply. */
19406 if ac_fn_c_try_link "$LINENO"; then :
19407 ac_cv_lib_m_log10l=yes
19409 ac_cv_lib_m_log10l=no
19411 rm -f core conftest.err conftest.$ac_objext \
19412 conftest$ac_exeext conftest.$ac_ext
19413 LIBS=$ac_check_lib_save_LIBS
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19416 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19417 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19419 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19424 $as_echo_n "checking for clog10f in -lm... " >&6; }
19425 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19426 $as_echo_n "(cached) " >&6
19428 ac_check_lib_save_LIBS=$LIBS
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19436 /* Override any GCC internal prototype to avoid an error.
19437 Use char because int might match the return type of a GCC
19438 builtin and then its argument prototype would still apply. */
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 ac_cv_lib_m_clog10f=yes
19454 ac_cv_lib_m_clog10f=no
19456 rm -f core conftest.err conftest.$ac_objext \
19457 conftest$ac_exeext conftest.$ac_ext
19458 LIBS=$ac_check_lib_save_LIBS
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19461 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19462 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19464 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19469 $as_echo_n "checking for clog10 in -lm... " >&6; }
19470 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19471 $as_echo_n "(cached) " >&6
19473 ac_check_lib_save_LIBS=$LIBS
19475 if test x$gcc_no_link = xyes; then
19476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19481 /* Override any GCC internal prototype to avoid an error.
19482 Use char because int might match the return type of a GCC
19483 builtin and then its argument prototype would still apply. */
19496 if ac_fn_c_try_link "$LINENO"; then :
19497 ac_cv_lib_m_clog10=yes
19499 ac_cv_lib_m_clog10=no
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19503 LIBS=$ac_check_lib_save_LIBS
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19506 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19507 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19509 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19514 $as_echo_n "checking for clog10l in -lm... " >&6; }
19515 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19516 $as_echo_n "(cached) " >&6
19518 ac_check_lib_save_LIBS=$LIBS
19520 if test x$gcc_no_link = xyes; then
19521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19526 /* Override any GCC internal prototype to avoid an error.
19527 Use char because int might match the return type of a GCC
19528 builtin and then its argument prototype would still apply. */
19541 if ac_fn_c_try_link "$LINENO"; then :
19542 ac_cv_lib_m_clog10l=yes
19544 ac_cv_lib_m_clog10l=no
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19548 LIBS=$ac_check_lib_save_LIBS
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19551 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19552 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19554 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19559 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19560 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19561 $as_echo_n "(cached) " >&6
19563 ac_check_lib_save_LIBS=$LIBS
19565 if test x$gcc_no_link = xyes; then
19566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19577 char nextafterf ();
19581 return nextafterf ();
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 ac_cv_lib_m_nextafterf=yes
19589 ac_cv_lib_m_nextafterf=no
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19593 LIBS=$ac_check_lib_save_LIBS
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19596 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19597 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19599 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19604 $as_echo_n "checking for nextafter in -lm... " >&6; }
19605 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19606 $as_echo_n "(cached) " >&6
19608 ac_check_lib_save_LIBS=$LIBS
19610 if test x$gcc_no_link = xyes; then
19611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19616 /* Override any GCC internal prototype to avoid an error.
19617 Use char because int might match the return type of a GCC
19618 builtin and then its argument prototype would still apply. */
19626 return nextafter ();
19631 if ac_fn_c_try_link "$LINENO"; then :
19632 ac_cv_lib_m_nextafter=yes
19634 ac_cv_lib_m_nextafter=no
19636 rm -f core conftest.err conftest.$ac_objext \
19637 conftest$ac_exeext conftest.$ac_ext
19638 LIBS=$ac_check_lib_save_LIBS
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19641 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19642 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19644 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19649 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19650 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19651 $as_echo_n "(cached) " >&6
19653 ac_check_lib_save_LIBS=$LIBS
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19661 /* Override any GCC internal prototype to avoid an error.
19662 Use char because int might match the return type of a GCC
19663 builtin and then its argument prototype would still apply. */
19667 char nextafterl ();
19671 return nextafterl ();
19676 if ac_fn_c_try_link "$LINENO"; then :
19677 ac_cv_lib_m_nextafterl=yes
19679 ac_cv_lib_m_nextafterl=no
19681 rm -f core conftest.err conftest.$ac_objext \
19682 conftest$ac_exeext conftest.$ac_ext
19683 LIBS=$ac_check_lib_save_LIBS
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19686 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19687 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19689 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19694 $as_echo_n "checking for powf in -lm... " >&6; }
19695 if test "${ac_cv_lib_m_powf+set}" = set; then :
19696 $as_echo_n "(cached) " >&6
19698 ac_check_lib_save_LIBS=$LIBS
19700 if test x$gcc_no_link = xyes; then
19701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19706 /* Override any GCC internal prototype to avoid an error.
19707 Use char because int might match the return type of a GCC
19708 builtin and then its argument prototype would still apply. */
19721 if ac_fn_c_try_link "$LINENO"; then :
19722 ac_cv_lib_m_powf=yes
19724 ac_cv_lib_m_powf=no
19726 rm -f core conftest.err conftest.$ac_objext \
19727 conftest$ac_exeext conftest.$ac_ext
19728 LIBS=$ac_check_lib_save_LIBS
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19731 $as_echo "$ac_cv_lib_m_powf" >&6; }
19732 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19734 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19739 $as_echo_n "checking for pow in -lm... " >&6; }
19740 if test "${ac_cv_lib_m_pow+set}" = set; then :
19741 $as_echo_n "(cached) " >&6
19743 ac_check_lib_save_LIBS=$LIBS
19745 if test x$gcc_no_link = xyes; then
19746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19751 /* Override any GCC internal prototype to avoid an error.
19752 Use char because int might match the return type of a GCC
19753 builtin and then its argument prototype would still apply. */
19766 if ac_fn_c_try_link "$LINENO"; then :
19767 ac_cv_lib_m_pow=yes
19771 rm -f core conftest.err conftest.$ac_objext \
19772 conftest$ac_exeext conftest.$ac_ext
19773 LIBS=$ac_check_lib_save_LIBS
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19776 $as_echo "$ac_cv_lib_m_pow" >&6; }
19777 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19779 $as_echo "#define HAVE_POW 1" >>confdefs.h
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19784 $as_echo_n "checking for powl in -lm... " >&6; }
19785 if test "${ac_cv_lib_m_powl+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19788 ac_check_lib_save_LIBS=$LIBS
19790 if test x$gcc_no_link = xyes; then
19791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19796 /* Override any GCC internal prototype to avoid an error.
19797 Use char because int might match the return type of a GCC
19798 builtin and then its argument prototype would still apply. */
19811 if ac_fn_c_try_link "$LINENO"; then :
19812 ac_cv_lib_m_powl=yes
19814 ac_cv_lib_m_powl=no
19816 rm -f core conftest.err conftest.$ac_objext \
19817 conftest$ac_exeext conftest.$ac_ext
19818 LIBS=$ac_check_lib_save_LIBS
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19821 $as_echo "$ac_cv_lib_m_powl" >&6; }
19822 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19824 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19829 $as_echo_n "checking for cpowf in -lm... " >&6; }
19830 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19831 $as_echo_n "(cached) " >&6
19833 ac_check_lib_save_LIBS=$LIBS
19835 if test x$gcc_no_link = xyes; then
19836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19841 /* Override any GCC internal prototype to avoid an error.
19842 Use char because int might match the return type of a GCC
19843 builtin and then its argument prototype would still apply. */
19856 if ac_fn_c_try_link "$LINENO"; then :
19857 ac_cv_lib_m_cpowf=yes
19859 ac_cv_lib_m_cpowf=no
19861 rm -f core conftest.err conftest.$ac_objext \
19862 conftest$ac_exeext conftest.$ac_ext
19863 LIBS=$ac_check_lib_save_LIBS
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19866 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19867 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19869 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19874 $as_echo_n "checking for cpow in -lm... " >&6; }
19875 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19876 $as_echo_n "(cached) " >&6
19878 ac_check_lib_save_LIBS=$LIBS
19880 if test x$gcc_no_link = xyes; then
19881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19886 /* Override any GCC internal prototype to avoid an error.
19887 Use char because int might match the return type of a GCC
19888 builtin and then its argument prototype would still apply. */
19901 if ac_fn_c_try_link "$LINENO"; then :
19902 ac_cv_lib_m_cpow=yes
19904 ac_cv_lib_m_cpow=no
19906 rm -f core conftest.err conftest.$ac_objext \
19907 conftest$ac_exeext conftest.$ac_ext
19908 LIBS=$ac_check_lib_save_LIBS
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19911 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19912 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19914 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19919 $as_echo_n "checking for cpowl in -lm... " >&6; }
19920 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19921 $as_echo_n "(cached) " >&6
19923 ac_check_lib_save_LIBS=$LIBS
19925 if test x$gcc_no_link = xyes; then
19926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 /* Override any GCC internal prototype to avoid an error.
19932 Use char because int might match the return type of a GCC
19933 builtin and then its argument prototype would still apply. */
19946 if ac_fn_c_try_link "$LINENO"; then :
19947 ac_cv_lib_m_cpowl=yes
19949 ac_cv_lib_m_cpowl=no
19951 rm -f core conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19953 LIBS=$ac_check_lib_save_LIBS
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19956 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19957 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19959 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19964 $as_echo_n "checking for roundf in -lm... " >&6; }
19965 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19966 $as_echo_n "(cached) " >&6
19968 ac_check_lib_save_LIBS=$LIBS
19970 if test x$gcc_no_link = xyes; then
19971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19974 /* end confdefs.h. */
19976 /* Override any GCC internal prototype to avoid an error.
19977 Use char because int might match the return type of a GCC
19978 builtin and then its argument prototype would still apply. */
19991 if ac_fn_c_try_link "$LINENO"; then :
19992 ac_cv_lib_m_roundf=yes
19994 ac_cv_lib_m_roundf=no
19996 rm -f core conftest.err conftest.$ac_objext \
19997 conftest$ac_exeext conftest.$ac_ext
19998 LIBS=$ac_check_lib_save_LIBS
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20001 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20002 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20004 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20009 $as_echo_n "checking for round in -lm... " >&6; }
20010 if test "${ac_cv_lib_m_round+set}" = set; then :
20011 $as_echo_n "(cached) " >&6
20013 ac_check_lib_save_LIBS=$LIBS
20015 if test x$gcc_no_link = xyes; then
20016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h. */
20021 /* Override any GCC internal prototype to avoid an error.
20022 Use char because int might match the return type of a GCC
20023 builtin and then its argument prototype would still apply. */
20036 if ac_fn_c_try_link "$LINENO"; then :
20037 ac_cv_lib_m_round=yes
20039 ac_cv_lib_m_round=no
20041 rm -f core conftest.err conftest.$ac_objext \
20042 conftest$ac_exeext conftest.$ac_ext
20043 LIBS=$ac_check_lib_save_LIBS
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20046 $as_echo "$ac_cv_lib_m_round" >&6; }
20047 if test "x$ac_cv_lib_m_round" = x""yes; then :
20049 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20054 $as_echo_n "checking for roundl in -lm... " >&6; }
20055 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20056 $as_echo_n "(cached) " >&6
20058 ac_check_lib_save_LIBS=$LIBS
20060 if test x$gcc_no_link = xyes; then
20061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h. */
20066 /* Override any GCC internal prototype to avoid an error.
20067 Use char because int might match the return type of a GCC
20068 builtin and then its argument prototype would still apply. */
20081 if ac_fn_c_try_link "$LINENO"; then :
20082 ac_cv_lib_m_roundl=yes
20084 ac_cv_lib_m_roundl=no
20086 rm -f core conftest.err conftest.$ac_objext \
20087 conftest$ac_exeext conftest.$ac_ext
20088 LIBS=$ac_check_lib_save_LIBS
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20091 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20092 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20094 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20099 $as_echo_n "checking for lroundf in -lm... " >&6; }
20100 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20101 $as_echo_n "(cached) " >&6
20103 ac_check_lib_save_LIBS=$LIBS
20105 if test x$gcc_no_link = xyes; then
20106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20111 /* Override any GCC internal prototype to avoid an error.
20112 Use char because int might match the return type of a GCC
20113 builtin and then its argument prototype would still apply. */
20126 if ac_fn_c_try_link "$LINENO"; then :
20127 ac_cv_lib_m_lroundf=yes
20129 ac_cv_lib_m_lroundf=no
20131 rm -f core conftest.err conftest.$ac_objext \
20132 conftest$ac_exeext conftest.$ac_ext
20133 LIBS=$ac_check_lib_save_LIBS
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20136 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20137 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20139 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20144 $as_echo_n "checking for lround in -lm... " >&6; }
20145 if test "${ac_cv_lib_m_lround+set}" = set; then :
20146 $as_echo_n "(cached) " >&6
20148 ac_check_lib_save_LIBS=$LIBS
20150 if test x$gcc_no_link = xyes; then
20151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 /* end confdefs.h. */
20156 /* Override any GCC internal prototype to avoid an error.
20157 Use char because int might match the return type of a GCC
20158 builtin and then its argument prototype would still apply. */
20171 if ac_fn_c_try_link "$LINENO"; then :
20172 ac_cv_lib_m_lround=yes
20174 ac_cv_lib_m_lround=no
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20178 LIBS=$ac_check_lib_save_LIBS
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20181 $as_echo "$ac_cv_lib_m_lround" >&6; }
20182 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20184 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20189 $as_echo_n "checking for lroundl in -lm... " >&6; }
20190 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20191 $as_echo_n "(cached) " >&6
20193 ac_check_lib_save_LIBS=$LIBS
20195 if test x$gcc_no_link = xyes; then
20196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h. */
20201 /* Override any GCC internal prototype to avoid an error.
20202 Use char because int might match the return type of a GCC
20203 builtin and then its argument prototype would still apply. */
20216 if ac_fn_c_try_link "$LINENO"; then :
20217 ac_cv_lib_m_lroundl=yes
20219 ac_cv_lib_m_lroundl=no
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20223 LIBS=$ac_check_lib_save_LIBS
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20226 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20227 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20229 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20234 $as_echo_n "checking for llroundf in -lm... " >&6; }
20235 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20238 ac_check_lib_save_LIBS=$LIBS
20240 if test x$gcc_no_link = xyes; then
20241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20246 /* Override any GCC internal prototype to avoid an error.
20247 Use char because int might match the return type of a GCC
20248 builtin and then its argument prototype would still apply. */
20256 return llroundf ();
20261 if ac_fn_c_try_link "$LINENO"; then :
20262 ac_cv_lib_m_llroundf=yes
20264 ac_cv_lib_m_llroundf=no
20266 rm -f core conftest.err conftest.$ac_objext \
20267 conftest$ac_exeext conftest.$ac_ext
20268 LIBS=$ac_check_lib_save_LIBS
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20271 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20272 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20274 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20279 $as_echo_n "checking for llround in -lm... " >&6; }
20280 if test "${ac_cv_lib_m_llround+set}" = set; then :
20281 $as_echo_n "(cached) " >&6
20283 ac_check_lib_save_LIBS=$LIBS
20285 if test x$gcc_no_link = xyes; then
20286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289 /* end confdefs.h. */
20291 /* Override any GCC internal prototype to avoid an error.
20292 Use char because int might match the return type of a GCC
20293 builtin and then its argument prototype would still apply. */
20306 if ac_fn_c_try_link "$LINENO"; then :
20307 ac_cv_lib_m_llround=yes
20309 ac_cv_lib_m_llround=no
20311 rm -f core conftest.err conftest.$ac_objext \
20312 conftest$ac_exeext conftest.$ac_ext
20313 LIBS=$ac_check_lib_save_LIBS
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20316 $as_echo "$ac_cv_lib_m_llround" >&6; }
20317 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20319 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20324 $as_echo_n "checking for llroundl in -lm... " >&6; }
20325 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20326 $as_echo_n "(cached) " >&6
20328 ac_check_lib_save_LIBS=$LIBS
20330 if test x$gcc_no_link = xyes; then
20331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20336 /* Override any GCC internal prototype to avoid an error.
20337 Use char because int might match the return type of a GCC
20338 builtin and then its argument prototype would still apply. */
20346 return llroundl ();
20351 if ac_fn_c_try_link "$LINENO"; then :
20352 ac_cv_lib_m_llroundl=yes
20354 ac_cv_lib_m_llroundl=no
20356 rm -f core conftest.err conftest.$ac_objext \
20357 conftest$ac_exeext conftest.$ac_ext
20358 LIBS=$ac_check_lib_save_LIBS
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20361 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20362 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20364 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20369 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20370 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20373 ac_check_lib_save_LIBS=$LIBS
20375 if test x$gcc_no_link = xyes; then
20376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h. */
20381 /* Override any GCC internal prototype to avoid an error.
20382 Use char because int might match the return type of a GCC
20383 builtin and then its argument prototype would still apply. */
20396 if ac_fn_c_try_link "$LINENO"; then :
20397 ac_cv_lib_m_scalbnf=yes
20399 ac_cv_lib_m_scalbnf=no
20401 rm -f core conftest.err conftest.$ac_objext \
20402 conftest$ac_exeext conftest.$ac_ext
20403 LIBS=$ac_check_lib_save_LIBS
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20406 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20407 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20409 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20414 $as_echo_n "checking for scalbn in -lm... " >&6; }
20415 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20416 $as_echo_n "(cached) " >&6
20418 ac_check_lib_save_LIBS=$LIBS
20420 if test x$gcc_no_link = xyes; then
20421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20426 /* Override any GCC internal prototype to avoid an error.
20427 Use char because int might match the return type of a GCC
20428 builtin and then its argument prototype would still apply. */
20441 if ac_fn_c_try_link "$LINENO"; then :
20442 ac_cv_lib_m_scalbn=yes
20444 ac_cv_lib_m_scalbn=no
20446 rm -f core conftest.err conftest.$ac_objext \
20447 conftest$ac_exeext conftest.$ac_ext
20448 LIBS=$ac_check_lib_save_LIBS
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20451 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20452 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20454 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20459 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20460 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20461 $as_echo_n "(cached) " >&6
20463 ac_check_lib_save_LIBS=$LIBS
20465 if test x$gcc_no_link = xyes; then
20466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20469 /* end confdefs.h. */
20471 /* Override any GCC internal prototype to avoid an error.
20472 Use char because int might match the return type of a GCC
20473 builtin and then its argument prototype would still apply. */
20486 if ac_fn_c_try_link "$LINENO"; then :
20487 ac_cv_lib_m_scalbnl=yes
20489 ac_cv_lib_m_scalbnl=no
20491 rm -f core conftest.err conftest.$ac_objext \
20492 conftest$ac_exeext conftest.$ac_ext
20493 LIBS=$ac_check_lib_save_LIBS
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20496 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20497 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20499 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20504 $as_echo_n "checking for sinf in -lm... " >&6; }
20505 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20506 $as_echo_n "(cached) " >&6
20508 ac_check_lib_save_LIBS=$LIBS
20510 if test x$gcc_no_link = xyes; then
20511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20514 /* end confdefs.h. */
20516 /* Override any GCC internal prototype to avoid an error.
20517 Use char because int might match the return type of a GCC
20518 builtin and then its argument prototype would still apply. */
20531 if ac_fn_c_try_link "$LINENO"; then :
20532 ac_cv_lib_m_sinf=yes
20534 ac_cv_lib_m_sinf=no
20536 rm -f core conftest.err conftest.$ac_objext \
20537 conftest$ac_exeext conftest.$ac_ext
20538 LIBS=$ac_check_lib_save_LIBS
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20541 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20542 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20544 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20549 $as_echo_n "checking for sin in -lm... " >&6; }
20550 if test "${ac_cv_lib_m_sin+set}" = set; then :
20551 $as_echo_n "(cached) " >&6
20553 ac_check_lib_save_LIBS=$LIBS
20555 if test x$gcc_no_link = xyes; then
20556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20559 /* end confdefs.h. */
20561 /* Override any GCC internal prototype to avoid an error.
20562 Use char because int might match the return type of a GCC
20563 builtin and then its argument prototype would still apply. */
20576 if ac_fn_c_try_link "$LINENO"; then :
20577 ac_cv_lib_m_sin=yes
20581 rm -f core conftest.err conftest.$ac_objext \
20582 conftest$ac_exeext conftest.$ac_ext
20583 LIBS=$ac_check_lib_save_LIBS
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20586 $as_echo "$ac_cv_lib_m_sin" >&6; }
20587 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20589 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20594 $as_echo_n "checking for sinl in -lm... " >&6; }
20595 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20596 $as_echo_n "(cached) " >&6
20598 ac_check_lib_save_LIBS=$LIBS
20600 if test x$gcc_no_link = xyes; then
20601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 /* Override any GCC internal prototype to avoid an error.
20607 Use char because int might match the return type of a GCC
20608 builtin and then its argument prototype would still apply. */
20621 if ac_fn_c_try_link "$LINENO"; then :
20622 ac_cv_lib_m_sinl=yes
20624 ac_cv_lib_m_sinl=no
20626 rm -f core conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext conftest.$ac_ext
20628 LIBS=$ac_check_lib_save_LIBS
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20631 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20632 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20634 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20639 $as_echo_n "checking for csinf in -lm... " >&6; }
20640 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20641 $as_echo_n "(cached) " >&6
20643 ac_check_lib_save_LIBS=$LIBS
20645 if test x$gcc_no_link = xyes; then
20646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20651 /* Override any GCC internal prototype to avoid an error.
20652 Use char because int might match the return type of a GCC
20653 builtin and then its argument prototype would still apply. */
20666 if ac_fn_c_try_link "$LINENO"; then :
20667 ac_cv_lib_m_csinf=yes
20669 ac_cv_lib_m_csinf=no
20671 rm -f core conftest.err conftest.$ac_objext \
20672 conftest$ac_exeext conftest.$ac_ext
20673 LIBS=$ac_check_lib_save_LIBS
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20676 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20677 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20679 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20684 $as_echo_n "checking for csin in -lm... " >&6; }
20685 if test "${ac_cv_lib_m_csin+set}" = set; then :
20686 $as_echo_n "(cached) " >&6
20688 ac_check_lib_save_LIBS=$LIBS
20690 if test x$gcc_no_link = xyes; then
20691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20694 /* end confdefs.h. */
20696 /* Override any GCC internal prototype to avoid an error.
20697 Use char because int might match the return type of a GCC
20698 builtin and then its argument prototype would still apply. */
20711 if ac_fn_c_try_link "$LINENO"; then :
20712 ac_cv_lib_m_csin=yes
20714 ac_cv_lib_m_csin=no
20716 rm -f core conftest.err conftest.$ac_objext \
20717 conftest$ac_exeext conftest.$ac_ext
20718 LIBS=$ac_check_lib_save_LIBS
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20721 $as_echo "$ac_cv_lib_m_csin" >&6; }
20722 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20724 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20729 $as_echo_n "checking for csinl in -lm... " >&6; }
20730 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20731 $as_echo_n "(cached) " >&6
20733 ac_check_lib_save_LIBS=$LIBS
20735 if test x$gcc_no_link = xyes; then
20736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h. */
20741 /* Override any GCC internal prototype to avoid an error.
20742 Use char because int might match the return type of a GCC
20743 builtin and then its argument prototype would still apply. */
20756 if ac_fn_c_try_link "$LINENO"; then :
20757 ac_cv_lib_m_csinl=yes
20759 ac_cv_lib_m_csinl=no
20761 rm -f core conftest.err conftest.$ac_objext \
20762 conftest$ac_exeext conftest.$ac_ext
20763 LIBS=$ac_check_lib_save_LIBS
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20766 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20767 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20769 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20774 $as_echo_n "checking for sinhf in -lm... " >&6; }
20775 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20776 $as_echo_n "(cached) " >&6
20778 ac_check_lib_save_LIBS=$LIBS
20780 if test x$gcc_no_link = xyes; then
20781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20786 /* Override any GCC internal prototype to avoid an error.
20787 Use char because int might match the return type of a GCC
20788 builtin and then its argument prototype would still apply. */
20801 if ac_fn_c_try_link "$LINENO"; then :
20802 ac_cv_lib_m_sinhf=yes
20804 ac_cv_lib_m_sinhf=no
20806 rm -f core conftest.err conftest.$ac_objext \
20807 conftest$ac_exeext conftest.$ac_ext
20808 LIBS=$ac_check_lib_save_LIBS
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20811 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20812 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20814 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20819 $as_echo_n "checking for sinh in -lm... " >&6; }
20820 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20821 $as_echo_n "(cached) " >&6
20823 ac_check_lib_save_LIBS=$LIBS
20825 if test x$gcc_no_link = xyes; then
20826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20831 /* Override any GCC internal prototype to avoid an error.
20832 Use char because int might match the return type of a GCC
20833 builtin and then its argument prototype would still apply. */
20846 if ac_fn_c_try_link "$LINENO"; then :
20847 ac_cv_lib_m_sinh=yes
20849 ac_cv_lib_m_sinh=no
20851 rm -f core conftest.err conftest.$ac_objext \
20852 conftest$ac_exeext conftest.$ac_ext
20853 LIBS=$ac_check_lib_save_LIBS
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20856 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20857 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20859 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20864 $as_echo_n "checking for sinhl in -lm... " >&6; }
20865 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20866 $as_echo_n "(cached) " >&6
20868 ac_check_lib_save_LIBS=$LIBS
20870 if test x$gcc_no_link = xyes; then
20871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20876 /* Override any GCC internal prototype to avoid an error.
20877 Use char because int might match the return type of a GCC
20878 builtin and then its argument prototype would still apply. */
20891 if ac_fn_c_try_link "$LINENO"; then :
20892 ac_cv_lib_m_sinhl=yes
20894 ac_cv_lib_m_sinhl=no
20896 rm -f core conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20898 LIBS=$ac_check_lib_save_LIBS
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20901 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20902 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20904 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20909 $as_echo_n "checking for csinhf in -lm... " >&6; }
20910 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20911 $as_echo_n "(cached) " >&6
20913 ac_check_lib_save_LIBS=$LIBS
20915 if test x$gcc_no_link = xyes; then
20916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20921 /* Override any GCC internal prototype to avoid an error.
20922 Use char because int might match the return type of a GCC
20923 builtin and then its argument prototype would still apply. */
20936 if ac_fn_c_try_link "$LINENO"; then :
20937 ac_cv_lib_m_csinhf=yes
20939 ac_cv_lib_m_csinhf=no
20941 rm -f core conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20946 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20947 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20949 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20954 $as_echo_n "checking for csinh in -lm... " >&6; }
20955 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20956 $as_echo_n "(cached) " >&6
20958 ac_check_lib_save_LIBS=$LIBS
20960 if test x$gcc_no_link = xyes; then
20961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20966 /* Override any GCC internal prototype to avoid an error.
20967 Use char because int might match the return type of a GCC
20968 builtin and then its argument prototype would still apply. */
20981 if ac_fn_c_try_link "$LINENO"; then :
20982 ac_cv_lib_m_csinh=yes
20984 ac_cv_lib_m_csinh=no
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988 LIBS=$ac_check_lib_save_LIBS
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20991 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20992 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20994 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20999 $as_echo_n "checking for csinhl in -lm... " >&6; }
21000 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21001 $as_echo_n "(cached) " >&6
21003 ac_check_lib_save_LIBS=$LIBS
21005 if test x$gcc_no_link = xyes; then
21006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21009 /* end confdefs.h. */
21011 /* Override any GCC internal prototype to avoid an error.
21012 Use char because int might match the return type of a GCC
21013 builtin and then its argument prototype would still apply. */
21026 if ac_fn_c_try_link "$LINENO"; then :
21027 ac_cv_lib_m_csinhl=yes
21029 ac_cv_lib_m_csinhl=no
21031 rm -f core conftest.err conftest.$ac_objext \
21032 conftest$ac_exeext conftest.$ac_ext
21033 LIBS=$ac_check_lib_save_LIBS
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21036 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21037 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21039 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21044 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21045 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21046 $as_echo_n "(cached) " >&6
21048 ac_check_lib_save_LIBS=$LIBS
21050 if test x$gcc_no_link = xyes; then
21051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21054 /* end confdefs.h. */
21056 /* Override any GCC internal prototype to avoid an error.
21057 Use char because int might match the return type of a GCC
21058 builtin and then its argument prototype would still apply. */
21071 if ac_fn_c_try_link "$LINENO"; then :
21072 ac_cv_lib_m_sqrtf=yes
21074 ac_cv_lib_m_sqrtf=no
21076 rm -f core conftest.err conftest.$ac_objext \
21077 conftest$ac_exeext conftest.$ac_ext
21078 LIBS=$ac_check_lib_save_LIBS
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21081 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21082 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21084 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21089 $as_echo_n "checking for sqrt in -lm... " >&6; }
21090 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21093 ac_check_lib_save_LIBS=$LIBS
21095 if test x$gcc_no_link = xyes; then
21096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21101 /* Override any GCC internal prototype to avoid an error.
21102 Use char because int might match the return type of a GCC
21103 builtin and then its argument prototype would still apply. */
21116 if ac_fn_c_try_link "$LINENO"; then :
21117 ac_cv_lib_m_sqrt=yes
21119 ac_cv_lib_m_sqrt=no
21121 rm -f core conftest.err conftest.$ac_objext \
21122 conftest$ac_exeext conftest.$ac_ext
21123 LIBS=$ac_check_lib_save_LIBS
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21126 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21127 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21129 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21134 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21135 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21136 $as_echo_n "(cached) " >&6
21138 ac_check_lib_save_LIBS=$LIBS
21140 if test x$gcc_no_link = xyes; then
21141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21146 /* Override any GCC internal prototype to avoid an error.
21147 Use char because int might match the return type of a GCC
21148 builtin and then its argument prototype would still apply. */
21161 if ac_fn_c_try_link "$LINENO"; then :
21162 ac_cv_lib_m_sqrtl=yes
21164 ac_cv_lib_m_sqrtl=no
21166 rm -f core conftest.err conftest.$ac_objext \
21167 conftest$ac_exeext conftest.$ac_ext
21168 LIBS=$ac_check_lib_save_LIBS
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21171 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21172 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21174 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21179 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21180 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21181 $as_echo_n "(cached) " >&6
21183 ac_check_lib_save_LIBS=$LIBS
21185 if test x$gcc_no_link = xyes; then
21186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21191 /* Override any GCC internal prototype to avoid an error.
21192 Use char because int might match the return type of a GCC
21193 builtin and then its argument prototype would still apply. */
21206 if ac_fn_c_try_link "$LINENO"; then :
21207 ac_cv_lib_m_csqrtf=yes
21209 ac_cv_lib_m_csqrtf=no
21211 rm -f core conftest.err conftest.$ac_objext \
21212 conftest$ac_exeext conftest.$ac_ext
21213 LIBS=$ac_check_lib_save_LIBS
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21216 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21217 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21219 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21224 $as_echo_n "checking for csqrt in -lm... " >&6; }
21225 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21228 ac_check_lib_save_LIBS=$LIBS
21230 if test x$gcc_no_link = xyes; then
21231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h. */
21236 /* Override any GCC internal prototype to avoid an error.
21237 Use char because int might match the return type of a GCC
21238 builtin and then its argument prototype would still apply. */
21251 if ac_fn_c_try_link "$LINENO"; then :
21252 ac_cv_lib_m_csqrt=yes
21254 ac_cv_lib_m_csqrt=no
21256 rm -f core conftest.err conftest.$ac_objext \
21257 conftest$ac_exeext conftest.$ac_ext
21258 LIBS=$ac_check_lib_save_LIBS
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21261 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21262 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21264 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21269 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21270 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21271 $as_echo_n "(cached) " >&6
21273 ac_check_lib_save_LIBS=$LIBS
21275 if test x$gcc_no_link = xyes; then
21276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21281 /* Override any GCC internal prototype to avoid an error.
21282 Use char because int might match the return type of a GCC
21283 builtin and then its argument prototype would still apply. */
21296 if ac_fn_c_try_link "$LINENO"; then :
21297 ac_cv_lib_m_csqrtl=yes
21299 ac_cv_lib_m_csqrtl=no
21301 rm -f core conftest.err conftest.$ac_objext \
21302 conftest$ac_exeext conftest.$ac_ext
21303 LIBS=$ac_check_lib_save_LIBS
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21306 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21307 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21309 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21314 $as_echo_n "checking for tanf in -lm... " >&6; }
21315 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21316 $as_echo_n "(cached) " >&6
21318 ac_check_lib_save_LIBS=$LIBS
21320 if test x$gcc_no_link = xyes; then
21321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21326 /* Override any GCC internal prototype to avoid an error.
21327 Use char because int might match the return type of a GCC
21328 builtin and then its argument prototype would still apply. */
21341 if ac_fn_c_try_link "$LINENO"; then :
21342 ac_cv_lib_m_tanf=yes
21344 ac_cv_lib_m_tanf=no
21346 rm -f core conftest.err conftest.$ac_objext \
21347 conftest$ac_exeext conftest.$ac_ext
21348 LIBS=$ac_check_lib_save_LIBS
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21351 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21352 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21354 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21359 $as_echo_n "checking for tan in -lm... " >&6; }
21360 if test "${ac_cv_lib_m_tan+set}" = set; then :
21361 $as_echo_n "(cached) " >&6
21363 ac_check_lib_save_LIBS=$LIBS
21365 if test x$gcc_no_link = xyes; then
21366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21371 /* Override any GCC internal prototype to avoid an error.
21372 Use char because int might match the return type of a GCC
21373 builtin and then its argument prototype would still apply. */
21386 if ac_fn_c_try_link "$LINENO"; then :
21387 ac_cv_lib_m_tan=yes
21391 rm -f core conftest.err conftest.$ac_objext \
21392 conftest$ac_exeext conftest.$ac_ext
21393 LIBS=$ac_check_lib_save_LIBS
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21396 $as_echo "$ac_cv_lib_m_tan" >&6; }
21397 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21399 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21404 $as_echo_n "checking for tanl in -lm... " >&6; }
21405 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21406 $as_echo_n "(cached) " >&6
21408 ac_check_lib_save_LIBS=$LIBS
21410 if test x$gcc_no_link = xyes; then
21411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21416 /* Override any GCC internal prototype to avoid an error.
21417 Use char because int might match the return type of a GCC
21418 builtin and then its argument prototype would still apply. */
21431 if ac_fn_c_try_link "$LINENO"; then :
21432 ac_cv_lib_m_tanl=yes
21434 ac_cv_lib_m_tanl=no
21436 rm -f core conftest.err conftest.$ac_objext \
21437 conftest$ac_exeext conftest.$ac_ext
21438 LIBS=$ac_check_lib_save_LIBS
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21441 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21442 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21444 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21449 $as_echo_n "checking for ctanf in -lm... " >&6; }
21450 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21451 $as_echo_n "(cached) " >&6
21453 ac_check_lib_save_LIBS=$LIBS
21455 if test x$gcc_no_link = xyes; then
21456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21461 /* Override any GCC internal prototype to avoid an error.
21462 Use char because int might match the return type of a GCC
21463 builtin and then its argument prototype would still apply. */
21476 if ac_fn_c_try_link "$LINENO"; then :
21477 ac_cv_lib_m_ctanf=yes
21479 ac_cv_lib_m_ctanf=no
21481 rm -f core conftest.err conftest.$ac_objext \
21482 conftest$ac_exeext conftest.$ac_ext
21483 LIBS=$ac_check_lib_save_LIBS
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21486 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21487 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21489 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21494 $as_echo_n "checking for ctan in -lm... " >&6; }
21495 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21496 $as_echo_n "(cached) " >&6
21498 ac_check_lib_save_LIBS=$LIBS
21500 if test x$gcc_no_link = xyes; then
21501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21506 /* Override any GCC internal prototype to avoid an error.
21507 Use char because int might match the return type of a GCC
21508 builtin and then its argument prototype would still apply. */
21521 if ac_fn_c_try_link "$LINENO"; then :
21522 ac_cv_lib_m_ctan=yes
21524 ac_cv_lib_m_ctan=no
21526 rm -f core conftest.err conftest.$ac_objext \
21527 conftest$ac_exeext conftest.$ac_ext
21528 LIBS=$ac_check_lib_save_LIBS
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21531 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21532 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21534 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21539 $as_echo_n "checking for ctanl in -lm... " >&6; }
21540 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21541 $as_echo_n "(cached) " >&6
21543 ac_check_lib_save_LIBS=$LIBS
21545 if test x$gcc_no_link = xyes; then
21546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21549 /* end confdefs.h. */
21551 /* Override any GCC internal prototype to avoid an error.
21552 Use char because int might match the return type of a GCC
21553 builtin and then its argument prototype would still apply. */
21566 if ac_fn_c_try_link "$LINENO"; then :
21567 ac_cv_lib_m_ctanl=yes
21569 ac_cv_lib_m_ctanl=no
21571 rm -f core conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21573 LIBS=$ac_check_lib_save_LIBS
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21576 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21577 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21579 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21584 $as_echo_n "checking for tanhf in -lm... " >&6; }
21585 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21586 $as_echo_n "(cached) " >&6
21588 ac_check_lib_save_LIBS=$LIBS
21590 if test x$gcc_no_link = xyes; then
21591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21596 /* Override any GCC internal prototype to avoid an error.
21597 Use char because int might match the return type of a GCC
21598 builtin and then its argument prototype would still apply. */
21611 if ac_fn_c_try_link "$LINENO"; then :
21612 ac_cv_lib_m_tanhf=yes
21614 ac_cv_lib_m_tanhf=no
21616 rm -f core conftest.err conftest.$ac_objext \
21617 conftest$ac_exeext conftest.$ac_ext
21618 LIBS=$ac_check_lib_save_LIBS
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21621 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21622 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21624 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21629 $as_echo_n "checking for tanh in -lm... " >&6; }
21630 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21631 $as_echo_n "(cached) " >&6
21633 ac_check_lib_save_LIBS=$LIBS
21635 if test x$gcc_no_link = xyes; then
21636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21641 /* Override any GCC internal prototype to avoid an error.
21642 Use char because int might match the return type of a GCC
21643 builtin and then its argument prototype would still apply. */
21656 if ac_fn_c_try_link "$LINENO"; then :
21657 ac_cv_lib_m_tanh=yes
21659 ac_cv_lib_m_tanh=no
21661 rm -f core conftest.err conftest.$ac_objext \
21662 conftest$ac_exeext conftest.$ac_ext
21663 LIBS=$ac_check_lib_save_LIBS
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21666 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21667 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21669 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21674 $as_echo_n "checking for tanhl in -lm... " >&6; }
21675 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21676 $as_echo_n "(cached) " >&6
21678 ac_check_lib_save_LIBS=$LIBS
21680 if test x$gcc_no_link = xyes; then
21681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21686 /* Override any GCC internal prototype to avoid an error.
21687 Use char because int might match the return type of a GCC
21688 builtin and then its argument prototype would still apply. */
21701 if ac_fn_c_try_link "$LINENO"; then :
21702 ac_cv_lib_m_tanhl=yes
21704 ac_cv_lib_m_tanhl=no
21706 rm -f core conftest.err conftest.$ac_objext \
21707 conftest$ac_exeext conftest.$ac_ext
21708 LIBS=$ac_check_lib_save_LIBS
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21711 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21712 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21714 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21719 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21720 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21721 $as_echo_n "(cached) " >&6
21723 ac_check_lib_save_LIBS=$LIBS
21725 if test x$gcc_no_link = xyes; then
21726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21729 /* end confdefs.h. */
21731 /* Override any GCC internal prototype to avoid an error.
21732 Use char because int might match the return type of a GCC
21733 builtin and then its argument prototype would still apply. */
21746 if ac_fn_c_try_link "$LINENO"; then :
21747 ac_cv_lib_m_ctanhf=yes
21749 ac_cv_lib_m_ctanhf=no
21751 rm -f core conftest.err conftest.$ac_objext \
21752 conftest$ac_exeext conftest.$ac_ext
21753 LIBS=$ac_check_lib_save_LIBS
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21756 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21757 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21759 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21764 $as_echo_n "checking for ctanh in -lm... " >&6; }
21765 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21766 $as_echo_n "(cached) " >&6
21768 ac_check_lib_save_LIBS=$LIBS
21770 if test x$gcc_no_link = xyes; then
21771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21776 /* Override any GCC internal prototype to avoid an error.
21777 Use char because int might match the return type of a GCC
21778 builtin and then its argument prototype would still apply. */
21791 if ac_fn_c_try_link "$LINENO"; then :
21792 ac_cv_lib_m_ctanh=yes
21794 ac_cv_lib_m_ctanh=no
21796 rm -f core conftest.err conftest.$ac_objext \
21797 conftest$ac_exeext conftest.$ac_ext
21798 LIBS=$ac_check_lib_save_LIBS
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21801 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21802 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21804 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21809 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21810 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21811 $as_echo_n "(cached) " >&6
21813 ac_check_lib_save_LIBS=$LIBS
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21821 /* Override any GCC internal prototype to avoid an error.
21822 Use char because int might match the return type of a GCC
21823 builtin and then its argument prototype would still apply. */
21836 if ac_fn_c_try_link "$LINENO"; then :
21837 ac_cv_lib_m_ctanhl=yes
21839 ac_cv_lib_m_ctanhl=no
21841 rm -f core conftest.err conftest.$ac_objext \
21842 conftest$ac_exeext conftest.$ac_ext
21843 LIBS=$ac_check_lib_save_LIBS
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21846 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21847 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21849 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21854 $as_echo_n "checking for truncf in -lm... " >&6; }
21855 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21856 $as_echo_n "(cached) " >&6
21858 ac_check_lib_save_LIBS=$LIBS
21860 if test x$gcc_no_link = xyes; then
21861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21866 /* Override any GCC internal prototype to avoid an error.
21867 Use char because int might match the return type of a GCC
21868 builtin and then its argument prototype would still apply. */
21881 if ac_fn_c_try_link "$LINENO"; then :
21882 ac_cv_lib_m_truncf=yes
21884 ac_cv_lib_m_truncf=no
21886 rm -f core conftest.err conftest.$ac_objext \
21887 conftest$ac_exeext conftest.$ac_ext
21888 LIBS=$ac_check_lib_save_LIBS
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21891 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21892 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21894 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21899 $as_echo_n "checking for trunc in -lm... " >&6; }
21900 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21901 $as_echo_n "(cached) " >&6
21903 ac_check_lib_save_LIBS=$LIBS
21905 if test x$gcc_no_link = xyes; then
21906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21909 /* end confdefs.h. */
21911 /* Override any GCC internal prototype to avoid an error.
21912 Use char because int might match the return type of a GCC
21913 builtin and then its argument prototype would still apply. */
21926 if ac_fn_c_try_link "$LINENO"; then :
21927 ac_cv_lib_m_trunc=yes
21929 ac_cv_lib_m_trunc=no
21931 rm -f core conftest.err conftest.$ac_objext \
21932 conftest$ac_exeext conftest.$ac_ext
21933 LIBS=$ac_check_lib_save_LIBS
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21936 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21937 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21939 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21944 $as_echo_n "checking for truncl in -lm... " >&6; }
21945 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21946 $as_echo_n "(cached) " >&6
21948 ac_check_lib_save_LIBS=$LIBS
21950 if test x$gcc_no_link = xyes; then
21951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21954 /* end confdefs.h. */
21956 /* Override any GCC internal prototype to avoid an error.
21957 Use char because int might match the return type of a GCC
21958 builtin and then its argument prototype would still apply. */
21971 if ac_fn_c_try_link "$LINENO"; then :
21972 ac_cv_lib_m_truncl=yes
21974 ac_cv_lib_m_truncl=no
21976 rm -f core conftest.err conftest.$ac_objext \
21977 conftest$ac_exeext conftest.$ac_ext
21978 LIBS=$ac_check_lib_save_LIBS
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21981 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21982 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21984 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21989 $as_echo_n "checking for erff in -lm... " >&6; }
21990 if test "${ac_cv_lib_m_erff+set}" = set; then :
21991 $as_echo_n "(cached) " >&6
21993 ac_check_lib_save_LIBS=$LIBS
21995 if test x$gcc_no_link = xyes; then
21996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21999 /* end confdefs.h. */
22001 /* Override any GCC internal prototype to avoid an error.
22002 Use char because int might match the return type of a GCC
22003 builtin and then its argument prototype would still apply. */
22016 if ac_fn_c_try_link "$LINENO"; then :
22017 ac_cv_lib_m_erff=yes
22019 ac_cv_lib_m_erff=no
22021 rm -f core conftest.err conftest.$ac_objext \
22022 conftest$ac_exeext conftest.$ac_ext
22023 LIBS=$ac_check_lib_save_LIBS
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22026 $as_echo "$ac_cv_lib_m_erff" >&6; }
22027 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22029 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22034 $as_echo_n "checking for erf in -lm... " >&6; }
22035 if test "${ac_cv_lib_m_erf+set}" = set; then :
22036 $as_echo_n "(cached) " >&6
22038 ac_check_lib_save_LIBS=$LIBS
22040 if test x$gcc_no_link = xyes; then
22041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h. */
22046 /* Override any GCC internal prototype to avoid an error.
22047 Use char because int might match the return type of a GCC
22048 builtin and then its argument prototype would still apply. */
22061 if ac_fn_c_try_link "$LINENO"; then :
22062 ac_cv_lib_m_erf=yes
22066 rm -f core conftest.err conftest.$ac_objext \
22067 conftest$ac_exeext conftest.$ac_ext
22068 LIBS=$ac_check_lib_save_LIBS
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22071 $as_echo "$ac_cv_lib_m_erf" >&6; }
22072 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22074 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22079 $as_echo_n "checking for erfl in -lm... " >&6; }
22080 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22083 ac_check_lib_save_LIBS=$LIBS
22085 if test x$gcc_no_link = xyes; then
22086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22089 /* end confdefs.h. */
22091 /* Override any GCC internal prototype to avoid an error.
22092 Use char because int might match the return type of a GCC
22093 builtin and then its argument prototype would still apply. */
22106 if ac_fn_c_try_link "$LINENO"; then :
22107 ac_cv_lib_m_erfl=yes
22109 ac_cv_lib_m_erfl=no
22111 rm -f core conftest.err conftest.$ac_objext \
22112 conftest$ac_exeext conftest.$ac_ext
22113 LIBS=$ac_check_lib_save_LIBS
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22116 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22117 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22119 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22124 $as_echo_n "checking for erfcf in -lm... " >&6; }
22125 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22126 $as_echo_n "(cached) " >&6
22128 ac_check_lib_save_LIBS=$LIBS
22130 if test x$gcc_no_link = xyes; then
22131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22134 /* end confdefs.h. */
22136 /* Override any GCC internal prototype to avoid an error.
22137 Use char because int might match the return type of a GCC
22138 builtin and then its argument prototype would still apply. */
22151 if ac_fn_c_try_link "$LINENO"; then :
22152 ac_cv_lib_m_erfcf=yes
22154 ac_cv_lib_m_erfcf=no
22156 rm -f core conftest.err conftest.$ac_objext \
22157 conftest$ac_exeext conftest.$ac_ext
22158 LIBS=$ac_check_lib_save_LIBS
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22161 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22162 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22164 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22169 $as_echo_n "checking for erfc in -lm... " >&6; }
22170 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22171 $as_echo_n "(cached) " >&6
22173 ac_check_lib_save_LIBS=$LIBS
22175 if test x$gcc_no_link = xyes; then
22176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22179 /* end confdefs.h. */
22181 /* Override any GCC internal prototype to avoid an error.
22182 Use char because int might match the return type of a GCC
22183 builtin and then its argument prototype would still apply. */
22196 if ac_fn_c_try_link "$LINENO"; then :
22197 ac_cv_lib_m_erfc=yes
22199 ac_cv_lib_m_erfc=no
22201 rm -f core conftest.err conftest.$ac_objext \
22202 conftest$ac_exeext conftest.$ac_ext
22203 LIBS=$ac_check_lib_save_LIBS
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22206 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22207 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22209 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22214 $as_echo_n "checking for erfcl in -lm... " >&6; }
22215 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22216 $as_echo_n "(cached) " >&6
22218 ac_check_lib_save_LIBS=$LIBS
22220 if test x$gcc_no_link = xyes; then
22221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22226 /* Override any GCC internal prototype to avoid an error.
22227 Use char because int might match the return type of a GCC
22228 builtin and then its argument prototype would still apply. */
22241 if ac_fn_c_try_link "$LINENO"; then :
22242 ac_cv_lib_m_erfcl=yes
22244 ac_cv_lib_m_erfcl=no
22246 rm -f core conftest.err conftest.$ac_objext \
22247 conftest$ac_exeext conftest.$ac_ext
22248 LIBS=$ac_check_lib_save_LIBS
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22251 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22252 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22254 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22259 $as_echo_n "checking for j0f in -lm... " >&6; }
22260 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22261 $as_echo_n "(cached) " >&6
22263 ac_check_lib_save_LIBS=$LIBS
22265 if test x$gcc_no_link = xyes; then
22266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22269 /* end confdefs.h. */
22271 /* Override any GCC internal prototype to avoid an error.
22272 Use char because int might match the return type of a GCC
22273 builtin and then its argument prototype would still apply. */
22286 if ac_fn_c_try_link "$LINENO"; then :
22287 ac_cv_lib_m_j0f=yes
22291 rm -f core conftest.err conftest.$ac_objext \
22292 conftest$ac_exeext conftest.$ac_ext
22293 LIBS=$ac_check_lib_save_LIBS
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22296 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22297 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22299 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22304 $as_echo_n "checking for j0 in -lm... " >&6; }
22305 if test "${ac_cv_lib_m_j0+set}" = set; then :
22306 $as_echo_n "(cached) " >&6
22308 ac_check_lib_save_LIBS=$LIBS
22310 if test x$gcc_no_link = xyes; then
22311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22316 /* Override any GCC internal prototype to avoid an error.
22317 Use char because int might match the return type of a GCC
22318 builtin and then its argument prototype would still apply. */
22331 if ac_fn_c_try_link "$LINENO"; then :
22336 rm -f core conftest.err conftest.$ac_objext \
22337 conftest$ac_exeext conftest.$ac_ext
22338 LIBS=$ac_check_lib_save_LIBS
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22341 $as_echo "$ac_cv_lib_m_j0" >&6; }
22342 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22344 $as_echo "#define HAVE_J0 1" >>confdefs.h
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22349 $as_echo_n "checking for j0l in -lm... " >&6; }
22350 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22351 $as_echo_n "(cached) " >&6
22353 ac_check_lib_save_LIBS=$LIBS
22355 if test x$gcc_no_link = xyes; then
22356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h. */
22361 /* Override any GCC internal prototype to avoid an error.
22362 Use char because int might match the return type of a GCC
22363 builtin and then its argument prototype would still apply. */
22376 if ac_fn_c_try_link "$LINENO"; then :
22377 ac_cv_lib_m_j0l=yes
22381 rm -f core conftest.err conftest.$ac_objext \
22382 conftest$ac_exeext conftest.$ac_ext
22383 LIBS=$ac_check_lib_save_LIBS
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22386 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22387 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22389 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22394 $as_echo_n "checking for j1f in -lm... " >&6; }
22395 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22398 ac_check_lib_save_LIBS=$LIBS
22400 if test x$gcc_no_link = xyes; then
22401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22406 /* Override any GCC internal prototype to avoid an error.
22407 Use char because int might match the return type of a GCC
22408 builtin and then its argument prototype would still apply. */
22421 if ac_fn_c_try_link "$LINENO"; then :
22422 ac_cv_lib_m_j1f=yes
22426 rm -f core conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22431 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22432 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22434 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22439 $as_echo_n "checking for j1 in -lm... " >&6; }
22440 if test "${ac_cv_lib_m_j1+set}" = set; then :
22441 $as_echo_n "(cached) " >&6
22443 ac_check_lib_save_LIBS=$LIBS
22445 if test x$gcc_no_link = xyes; then
22446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22449 /* end confdefs.h. */
22451 /* Override any GCC internal prototype to avoid an error.
22452 Use char because int might match the return type of a GCC
22453 builtin and then its argument prototype would still apply. */
22466 if ac_fn_c_try_link "$LINENO"; then :
22471 rm -f core conftest.err conftest.$ac_objext \
22472 conftest$ac_exeext conftest.$ac_ext
22473 LIBS=$ac_check_lib_save_LIBS
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22476 $as_echo "$ac_cv_lib_m_j1" >&6; }
22477 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22479 $as_echo "#define HAVE_J1 1" >>confdefs.h
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22484 $as_echo_n "checking for j1l in -lm... " >&6; }
22485 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22486 $as_echo_n "(cached) " >&6
22488 ac_check_lib_save_LIBS=$LIBS
22490 if test x$gcc_no_link = xyes; then
22491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22494 /* end confdefs.h. */
22496 /* Override any GCC internal prototype to avoid an error.
22497 Use char because int might match the return type of a GCC
22498 builtin and then its argument prototype would still apply. */
22511 if ac_fn_c_try_link "$LINENO"; then :
22512 ac_cv_lib_m_j1l=yes
22516 rm -f core conftest.err conftest.$ac_objext \
22517 conftest$ac_exeext conftest.$ac_ext
22518 LIBS=$ac_check_lib_save_LIBS
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22521 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22522 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22524 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22529 $as_echo_n "checking for jnf in -lm... " >&6; }
22530 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22531 $as_echo_n "(cached) " >&6
22533 ac_check_lib_save_LIBS=$LIBS
22535 if test x$gcc_no_link = xyes; then
22536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h. */
22541 /* Override any GCC internal prototype to avoid an error.
22542 Use char because int might match the return type of a GCC
22543 builtin and then its argument prototype would still apply. */
22556 if ac_fn_c_try_link "$LINENO"; then :
22557 ac_cv_lib_m_jnf=yes
22561 rm -f core conftest.err conftest.$ac_objext \
22562 conftest$ac_exeext conftest.$ac_ext
22563 LIBS=$ac_check_lib_save_LIBS
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22566 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22567 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22569 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22574 $as_echo_n "checking for jn in -lm... " >&6; }
22575 if test "${ac_cv_lib_m_jn+set}" = set; then :
22576 $as_echo_n "(cached) " >&6
22578 ac_check_lib_save_LIBS=$LIBS
22580 if test x$gcc_no_link = xyes; then
22581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22586 /* Override any GCC internal prototype to avoid an error.
22587 Use char because int might match the return type of a GCC
22588 builtin and then its argument prototype would still apply. */
22601 if ac_fn_c_try_link "$LINENO"; then :
22606 rm -f core conftest.err conftest.$ac_objext \
22607 conftest$ac_exeext conftest.$ac_ext
22608 LIBS=$ac_check_lib_save_LIBS
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22611 $as_echo "$ac_cv_lib_m_jn" >&6; }
22612 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22614 $as_echo "#define HAVE_JN 1" >>confdefs.h
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22619 $as_echo_n "checking for jnl in -lm... " >&6; }
22620 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22623 ac_check_lib_save_LIBS=$LIBS
22625 if test x$gcc_no_link = xyes; then
22626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h. */
22631 /* Override any GCC internal prototype to avoid an error.
22632 Use char because int might match the return type of a GCC
22633 builtin and then its argument prototype would still apply. */
22646 if ac_fn_c_try_link "$LINENO"; then :
22647 ac_cv_lib_m_jnl=yes
22651 rm -f core conftest.err conftest.$ac_objext \
22652 conftest$ac_exeext conftest.$ac_ext
22653 LIBS=$ac_check_lib_save_LIBS
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22656 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22657 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22659 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22664 $as_echo_n "checking for y0f in -lm... " >&6; }
22665 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22666 $as_echo_n "(cached) " >&6
22668 ac_check_lib_save_LIBS=$LIBS
22670 if test x$gcc_no_link = xyes; then
22671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22674 /* end confdefs.h. */
22676 /* Override any GCC internal prototype to avoid an error.
22677 Use char because int might match the return type of a GCC
22678 builtin and then its argument prototype would still apply. */
22691 if ac_fn_c_try_link "$LINENO"; then :
22692 ac_cv_lib_m_y0f=yes
22696 rm -f core conftest.err conftest.$ac_objext \
22697 conftest$ac_exeext conftest.$ac_ext
22698 LIBS=$ac_check_lib_save_LIBS
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22701 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22702 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22704 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22709 $as_echo_n "checking for y0 in -lm... " >&6; }
22710 if test "${ac_cv_lib_m_y0+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22713 ac_check_lib_save_LIBS=$LIBS
22715 if test x$gcc_no_link = xyes; then
22716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22721 /* Override any GCC internal prototype to avoid an error.
22722 Use char because int might match the return type of a GCC
22723 builtin and then its argument prototype would still apply. */
22736 if ac_fn_c_try_link "$LINENO"; then :
22741 rm -f core conftest.err conftest.$ac_objext \
22742 conftest$ac_exeext conftest.$ac_ext
22743 LIBS=$ac_check_lib_save_LIBS
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22746 $as_echo "$ac_cv_lib_m_y0" >&6; }
22747 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22749 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22754 $as_echo_n "checking for y0l in -lm... " >&6; }
22755 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22756 $as_echo_n "(cached) " >&6
22758 ac_check_lib_save_LIBS=$LIBS
22760 if test x$gcc_no_link = xyes; then
22761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h. */
22766 /* Override any GCC internal prototype to avoid an error.
22767 Use char because int might match the return type of a GCC
22768 builtin and then its argument prototype would still apply. */
22781 if ac_fn_c_try_link "$LINENO"; then :
22782 ac_cv_lib_m_y0l=yes
22786 rm -f core conftest.err conftest.$ac_objext \
22787 conftest$ac_exeext conftest.$ac_ext
22788 LIBS=$ac_check_lib_save_LIBS
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22791 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22792 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22794 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22799 $as_echo_n "checking for y1f in -lm... " >&6; }
22800 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22801 $as_echo_n "(cached) " >&6
22803 ac_check_lib_save_LIBS=$LIBS
22805 if test x$gcc_no_link = xyes; then
22806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22809 /* end confdefs.h. */
22811 /* Override any GCC internal prototype to avoid an error.
22812 Use char because int might match the return type of a GCC
22813 builtin and then its argument prototype would still apply. */
22826 if ac_fn_c_try_link "$LINENO"; then :
22827 ac_cv_lib_m_y1f=yes
22831 rm -f core conftest.err conftest.$ac_objext \
22832 conftest$ac_exeext conftest.$ac_ext
22833 LIBS=$ac_check_lib_save_LIBS
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22836 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22837 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22839 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22844 $as_echo_n "checking for y1 in -lm... " >&6; }
22845 if test "${ac_cv_lib_m_y1+set}" = set; then :
22846 $as_echo_n "(cached) " >&6
22848 ac_check_lib_save_LIBS=$LIBS
22850 if test x$gcc_no_link = xyes; then
22851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h. */
22856 /* Override any GCC internal prototype to avoid an error.
22857 Use char because int might match the return type of a GCC
22858 builtin and then its argument prototype would still apply. */
22871 if ac_fn_c_try_link "$LINENO"; then :
22876 rm -f core conftest.err conftest.$ac_objext \
22877 conftest$ac_exeext conftest.$ac_ext
22878 LIBS=$ac_check_lib_save_LIBS
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22881 $as_echo "$ac_cv_lib_m_y1" >&6; }
22882 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22884 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22889 $as_echo_n "checking for y1l in -lm... " >&6; }
22890 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22893 ac_check_lib_save_LIBS=$LIBS
22895 if test x$gcc_no_link = xyes; then
22896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22899 /* end confdefs.h. */
22901 /* Override any GCC internal prototype to avoid an error.
22902 Use char because int might match the return type of a GCC
22903 builtin and then its argument prototype would still apply. */
22916 if ac_fn_c_try_link "$LINENO"; then :
22917 ac_cv_lib_m_y1l=yes
22921 rm -f core conftest.err conftest.$ac_objext \
22922 conftest$ac_exeext conftest.$ac_ext
22923 LIBS=$ac_check_lib_save_LIBS
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22926 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22927 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22929 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22934 $as_echo_n "checking for ynf in -lm... " >&6; }
22935 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22936 $as_echo_n "(cached) " >&6
22938 ac_check_lib_save_LIBS=$LIBS
22940 if test x$gcc_no_link = xyes; then
22941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22944 /* end confdefs.h. */
22946 /* Override any GCC internal prototype to avoid an error.
22947 Use char because int might match the return type of a GCC
22948 builtin and then its argument prototype would still apply. */
22961 if ac_fn_c_try_link "$LINENO"; then :
22962 ac_cv_lib_m_ynf=yes
22966 rm -f core conftest.err conftest.$ac_objext \
22967 conftest$ac_exeext conftest.$ac_ext
22968 LIBS=$ac_check_lib_save_LIBS
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22971 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22972 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22974 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22979 $as_echo_n "checking for yn in -lm... " >&6; }
22980 if test "${ac_cv_lib_m_yn+set}" = set; then :
22981 $as_echo_n "(cached) " >&6
22983 ac_check_lib_save_LIBS=$LIBS
22985 if test x$gcc_no_link = xyes; then
22986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22989 /* end confdefs.h. */
22991 /* Override any GCC internal prototype to avoid an error.
22992 Use char because int might match the return type of a GCC
22993 builtin and then its argument prototype would still apply. */
23006 if ac_fn_c_try_link "$LINENO"; then :
23011 rm -f core conftest.err conftest.$ac_objext \
23012 conftest$ac_exeext conftest.$ac_ext
23013 LIBS=$ac_check_lib_save_LIBS
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23016 $as_echo "$ac_cv_lib_m_yn" >&6; }
23017 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23019 $as_echo "#define HAVE_YN 1" >>confdefs.h
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23024 $as_echo_n "checking for ynl in -lm... " >&6; }
23025 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23026 $as_echo_n "(cached) " >&6
23028 ac_check_lib_save_LIBS=$LIBS
23030 if test x$gcc_no_link = xyes; then
23031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23036 /* Override any GCC internal prototype to avoid an error.
23037 Use char because int might match the return type of a GCC
23038 builtin and then its argument prototype would still apply. */
23051 if ac_fn_c_try_link "$LINENO"; then :
23052 ac_cv_lib_m_ynl=yes
23056 rm -f core conftest.err conftest.$ac_objext \
23057 conftest$ac_exeext conftest.$ac_ext
23058 LIBS=$ac_check_lib_save_LIBS
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23061 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23062 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23064 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23069 $as_echo_n "checking for tgamma in -lm... " >&6; }
23070 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23071 $as_echo_n "(cached) " >&6
23073 ac_check_lib_save_LIBS=$LIBS
23075 if test x$gcc_no_link = xyes; then
23076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23079 /* end confdefs.h. */
23081 /* Override any GCC internal prototype to avoid an error.
23082 Use char because int might match the return type of a GCC
23083 builtin and then its argument prototype would still apply. */
23096 if ac_fn_c_try_link "$LINENO"; then :
23097 ac_cv_lib_m_tgamma=yes
23099 ac_cv_lib_m_tgamma=no
23101 rm -f core conftest.err conftest.$ac_objext \
23102 conftest$ac_exeext conftest.$ac_ext
23103 LIBS=$ac_check_lib_save_LIBS
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23106 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23107 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23109 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23114 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23115 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23116 $as_echo_n "(cached) " >&6
23118 ac_check_lib_save_LIBS=$LIBS
23120 if test x$gcc_no_link = xyes; then
23121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23126 /* Override any GCC internal prototype to avoid an error.
23127 Use char because int might match the return type of a GCC
23128 builtin and then its argument prototype would still apply. */
23141 if ac_fn_c_try_link "$LINENO"; then :
23142 ac_cv_lib_m_tgammaf=yes
23144 ac_cv_lib_m_tgammaf=no
23146 rm -f core conftest.err conftest.$ac_objext \
23147 conftest$ac_exeext conftest.$ac_ext
23148 LIBS=$ac_check_lib_save_LIBS
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23151 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23152 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23154 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23159 $as_echo_n "checking for tgammal in -lm... " >&6; }
23160 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23161 $as_echo_n "(cached) " >&6
23163 ac_check_lib_save_LIBS=$LIBS
23165 if test x$gcc_no_link = xyes; then
23166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23169 /* end confdefs.h. */
23171 /* Override any GCC internal prototype to avoid an error.
23172 Use char because int might match the return type of a GCC
23173 builtin and then its argument prototype would still apply. */
23186 if ac_fn_c_try_link "$LINENO"; then :
23187 ac_cv_lib_m_tgammal=yes
23189 ac_cv_lib_m_tgammal=no
23191 rm -f core conftest.err conftest.$ac_objext \
23192 conftest$ac_exeext conftest.$ac_ext
23193 LIBS=$ac_check_lib_save_LIBS
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23196 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23197 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23199 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23204 $as_echo_n "checking for lgamma in -lm... " >&6; }
23205 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23206 $as_echo_n "(cached) " >&6
23208 ac_check_lib_save_LIBS=$LIBS
23210 if test x$gcc_no_link = xyes; then
23211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23216 /* Override any GCC internal prototype to avoid an error.
23217 Use char because int might match the return type of a GCC
23218 builtin and then its argument prototype would still apply. */
23231 if ac_fn_c_try_link "$LINENO"; then :
23232 ac_cv_lib_m_lgamma=yes
23234 ac_cv_lib_m_lgamma=no
23236 rm -f core conftest.err conftest.$ac_objext \
23237 conftest$ac_exeext conftest.$ac_ext
23238 LIBS=$ac_check_lib_save_LIBS
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23241 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23242 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23244 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23249 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23250 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23251 $as_echo_n "(cached) " >&6
23253 ac_check_lib_save_LIBS=$LIBS
23255 if test x$gcc_no_link = xyes; then
23256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23261 /* Override any GCC internal prototype to avoid an error.
23262 Use char because int might match the return type of a GCC
23263 builtin and then its argument prototype would still apply. */
23276 if ac_fn_c_try_link "$LINENO"; then :
23277 ac_cv_lib_m_lgammaf=yes
23279 ac_cv_lib_m_lgammaf=no
23281 rm -f core conftest.err conftest.$ac_objext \
23282 conftest$ac_exeext conftest.$ac_ext
23283 LIBS=$ac_check_lib_save_LIBS
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23286 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23287 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23289 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23294 $as_echo_n "checking for lgammal in -lm... " >&6; }
23295 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23296 $as_echo_n "(cached) " >&6
23298 ac_check_lib_save_LIBS=$LIBS
23300 if test x$gcc_no_link = xyes; then
23301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23306 /* Override any GCC internal prototype to avoid an error.
23307 Use char because int might match the return type of a GCC
23308 builtin and then its argument prototype would still apply. */
23321 if ac_fn_c_try_link "$LINENO"; then :
23322 ac_cv_lib_m_lgammal=yes
23324 ac_cv_lib_m_lgammal=no
23326 rm -f core conftest.err conftest.$ac_objext \
23327 conftest$ac_exeext conftest.$ac_ext
23328 LIBS=$ac_check_lib_save_LIBS
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23331 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23332 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23334 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23339 # Check for GFORTRAN_C99_1.1 funcs
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23341 $as_echo_n "checking for cacos in -lm... " >&6; }
23342 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23343 $as_echo_n "(cached) " >&6
23345 ac_check_lib_save_LIBS=$LIBS
23347 if test x$gcc_no_link = xyes; then
23348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23351 /* end confdefs.h. */
23353 /* Override any GCC internal prototype to avoid an error.
23354 Use char because int might match the return type of a GCC
23355 builtin and then its argument prototype would still apply. */
23368 if ac_fn_c_try_link "$LINENO"; then :
23369 ac_cv_lib_m_cacos=yes
23371 ac_cv_lib_m_cacos=no
23373 rm -f core conftest.err conftest.$ac_objext \
23374 conftest$ac_exeext conftest.$ac_ext
23375 LIBS=$ac_check_lib_save_LIBS
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23378 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23379 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23381 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23386 $as_echo_n "checking for cacosf in -lm... " >&6; }
23387 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23388 $as_echo_n "(cached) " >&6
23390 ac_check_lib_save_LIBS=$LIBS
23392 if test x$gcc_no_link = xyes; then
23393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23398 /* Override any GCC internal prototype to avoid an error.
23399 Use char because int might match the return type of a GCC
23400 builtin and then its argument prototype would still apply. */
23413 if ac_fn_c_try_link "$LINENO"; then :
23414 ac_cv_lib_m_cacosf=yes
23416 ac_cv_lib_m_cacosf=no
23418 rm -f core conftest.err conftest.$ac_objext \
23419 conftest$ac_exeext conftest.$ac_ext
23420 LIBS=$ac_check_lib_save_LIBS
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23423 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23424 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23426 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23431 $as_echo_n "checking for cacosh in -lm... " >&6; }
23432 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23433 $as_echo_n "(cached) " >&6
23435 ac_check_lib_save_LIBS=$LIBS
23437 if test x$gcc_no_link = xyes; then
23438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23443 /* Override any GCC internal prototype to avoid an error.
23444 Use char because int might match the return type of a GCC
23445 builtin and then its argument prototype would still apply. */
23458 if ac_fn_c_try_link "$LINENO"; then :
23459 ac_cv_lib_m_cacosh=yes
23461 ac_cv_lib_m_cacosh=no
23463 rm -f core conftest.err conftest.$ac_objext \
23464 conftest$ac_exeext conftest.$ac_ext
23465 LIBS=$ac_check_lib_save_LIBS
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23468 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23469 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23471 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23476 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23477 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23478 $as_echo_n "(cached) " >&6
23480 ac_check_lib_save_LIBS=$LIBS
23482 if test x$gcc_no_link = xyes; then
23483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23486 /* end confdefs.h. */
23488 /* Override any GCC internal prototype to avoid an error.
23489 Use char because int might match the return type of a GCC
23490 builtin and then its argument prototype would still apply. */
23503 if ac_fn_c_try_link "$LINENO"; then :
23504 ac_cv_lib_m_cacoshf=yes
23506 ac_cv_lib_m_cacoshf=no
23508 rm -f core conftest.err conftest.$ac_objext \
23509 conftest$ac_exeext conftest.$ac_ext
23510 LIBS=$ac_check_lib_save_LIBS
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23513 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23514 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23516 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23521 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23522 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23523 $as_echo_n "(cached) " >&6
23525 ac_check_lib_save_LIBS=$LIBS
23527 if test x$gcc_no_link = xyes; then
23528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23531 /* end confdefs.h. */
23533 /* Override any GCC internal prototype to avoid an error.
23534 Use char because int might match the return type of a GCC
23535 builtin and then its argument prototype would still apply. */
23548 if ac_fn_c_try_link "$LINENO"; then :
23549 ac_cv_lib_m_cacoshl=yes
23551 ac_cv_lib_m_cacoshl=no
23553 rm -f core conftest.err conftest.$ac_objext \
23554 conftest$ac_exeext conftest.$ac_ext
23555 LIBS=$ac_check_lib_save_LIBS
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23558 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23559 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23561 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23566 $as_echo_n "checking for cacosl in -lm... " >&6; }
23567 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23568 $as_echo_n "(cached) " >&6
23570 ac_check_lib_save_LIBS=$LIBS
23572 if test x$gcc_no_link = xyes; then
23573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h. */
23578 /* Override any GCC internal prototype to avoid an error.
23579 Use char because int might match the return type of a GCC
23580 builtin and then its argument prototype would still apply. */
23593 if ac_fn_c_try_link "$LINENO"; then :
23594 ac_cv_lib_m_cacosl=yes
23596 ac_cv_lib_m_cacosl=no
23598 rm -f core conftest.err conftest.$ac_objext \
23599 conftest$ac_exeext conftest.$ac_ext
23600 LIBS=$ac_check_lib_save_LIBS
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23603 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23604 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23606 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23611 $as_echo_n "checking for casin in -lm... " >&6; }
23612 if test "${ac_cv_lib_m_casin+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23615 ac_check_lib_save_LIBS=$LIBS
23617 if test x$gcc_no_link = xyes; then
23618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23623 /* Override any GCC internal prototype to avoid an error.
23624 Use char because int might match the return type of a GCC
23625 builtin and then its argument prototype would still apply. */
23638 if ac_fn_c_try_link "$LINENO"; then :
23639 ac_cv_lib_m_casin=yes
23641 ac_cv_lib_m_casin=no
23643 rm -f core conftest.err conftest.$ac_objext \
23644 conftest$ac_exeext conftest.$ac_ext
23645 LIBS=$ac_check_lib_save_LIBS
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23648 $as_echo "$ac_cv_lib_m_casin" >&6; }
23649 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23651 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23656 $as_echo_n "checking for casinf in -lm... " >&6; }
23657 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23658 $as_echo_n "(cached) " >&6
23660 ac_check_lib_save_LIBS=$LIBS
23662 if test x$gcc_no_link = xyes; then
23663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h. */
23668 /* Override any GCC internal prototype to avoid an error.
23669 Use char because int might match the return type of a GCC
23670 builtin and then its argument prototype would still apply. */
23683 if ac_fn_c_try_link "$LINENO"; then :
23684 ac_cv_lib_m_casinf=yes
23686 ac_cv_lib_m_casinf=no
23688 rm -f core conftest.err conftest.$ac_objext \
23689 conftest$ac_exeext conftest.$ac_ext
23690 LIBS=$ac_check_lib_save_LIBS
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23693 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23694 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23696 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23701 $as_echo_n "checking for casinh in -lm... " >&6; }
23702 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23705 ac_check_lib_save_LIBS=$LIBS
23707 if test x$gcc_no_link = xyes; then
23708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 /* end confdefs.h. */
23713 /* Override any GCC internal prototype to avoid an error.
23714 Use char because int might match the return type of a GCC
23715 builtin and then its argument prototype would still apply. */
23728 if ac_fn_c_try_link "$LINENO"; then :
23729 ac_cv_lib_m_casinh=yes
23731 ac_cv_lib_m_casinh=no
23733 rm -f core conftest.err conftest.$ac_objext \
23734 conftest$ac_exeext conftest.$ac_ext
23735 LIBS=$ac_check_lib_save_LIBS
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23738 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23739 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23741 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23746 $as_echo_n "checking for casinhf in -lm... " >&6; }
23747 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23748 $as_echo_n "(cached) " >&6
23750 ac_check_lib_save_LIBS=$LIBS
23752 if test x$gcc_no_link = xyes; then
23753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23756 /* end confdefs.h. */
23758 /* Override any GCC internal prototype to avoid an error.
23759 Use char because int might match the return type of a GCC
23760 builtin and then its argument prototype would still apply. */
23773 if ac_fn_c_try_link "$LINENO"; then :
23774 ac_cv_lib_m_casinhf=yes
23776 ac_cv_lib_m_casinhf=no
23778 rm -f core conftest.err conftest.$ac_objext \
23779 conftest$ac_exeext conftest.$ac_ext
23780 LIBS=$ac_check_lib_save_LIBS
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23783 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23784 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23786 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23791 $as_echo_n "checking for casinhl in -lm... " >&6; }
23792 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23793 $as_echo_n "(cached) " >&6
23795 ac_check_lib_save_LIBS=$LIBS
23797 if test x$gcc_no_link = xyes; then
23798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23803 /* Override any GCC internal prototype to avoid an error.
23804 Use char because int might match the return type of a GCC
23805 builtin and then its argument prototype would still apply. */
23818 if ac_fn_c_try_link "$LINENO"; then :
23819 ac_cv_lib_m_casinhl=yes
23821 ac_cv_lib_m_casinhl=no
23823 rm -f core conftest.err conftest.$ac_objext \
23824 conftest$ac_exeext conftest.$ac_ext
23825 LIBS=$ac_check_lib_save_LIBS
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23828 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23829 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23831 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23836 $as_echo_n "checking for casinl in -lm... " >&6; }
23837 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23840 ac_check_lib_save_LIBS=$LIBS
23842 if test x$gcc_no_link = xyes; then
23843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h. */
23848 /* Override any GCC internal prototype to avoid an error.
23849 Use char because int might match the return type of a GCC
23850 builtin and then its argument prototype would still apply. */
23863 if ac_fn_c_try_link "$LINENO"; then :
23864 ac_cv_lib_m_casinl=yes
23866 ac_cv_lib_m_casinl=no
23868 rm -f core conftest.err conftest.$ac_objext \
23869 conftest$ac_exeext conftest.$ac_ext
23870 LIBS=$ac_check_lib_save_LIBS
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23873 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23874 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23876 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23881 $as_echo_n "checking for catan in -lm... " >&6; }
23882 if test "${ac_cv_lib_m_catan+set}" = set; then :
23883 $as_echo_n "(cached) " >&6
23885 ac_check_lib_save_LIBS=$LIBS
23887 if test x$gcc_no_link = xyes; then
23888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23893 /* Override any GCC internal prototype to avoid an error.
23894 Use char because int might match the return type of a GCC
23895 builtin and then its argument prototype would still apply. */
23908 if ac_fn_c_try_link "$LINENO"; then :
23909 ac_cv_lib_m_catan=yes
23911 ac_cv_lib_m_catan=no
23913 rm -f core conftest.err conftest.$ac_objext \
23914 conftest$ac_exeext conftest.$ac_ext
23915 LIBS=$ac_check_lib_save_LIBS
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23918 $as_echo "$ac_cv_lib_m_catan" >&6; }
23919 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23921 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23926 $as_echo_n "checking for catanf in -lm... " >&6; }
23927 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23928 $as_echo_n "(cached) " >&6
23930 ac_check_lib_save_LIBS=$LIBS
23932 if test x$gcc_no_link = xyes; then
23933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23938 /* Override any GCC internal prototype to avoid an error.
23939 Use char because int might match the return type of a GCC
23940 builtin and then its argument prototype would still apply. */
23953 if ac_fn_c_try_link "$LINENO"; then :
23954 ac_cv_lib_m_catanf=yes
23956 ac_cv_lib_m_catanf=no
23958 rm -f core conftest.err conftest.$ac_objext \
23959 conftest$ac_exeext conftest.$ac_ext
23960 LIBS=$ac_check_lib_save_LIBS
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23963 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23964 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23966 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23971 $as_echo_n "checking for catanh in -lm... " >&6; }
23972 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23973 $as_echo_n "(cached) " >&6
23975 ac_check_lib_save_LIBS=$LIBS
23977 if test x$gcc_no_link = xyes; then
23978 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23981 /* end confdefs.h. */
23983 /* Override any GCC internal prototype to avoid an error.
23984 Use char because int might match the return type of a GCC
23985 builtin and then its argument prototype would still apply. */
23998 if ac_fn_c_try_link "$LINENO"; then :
23999 ac_cv_lib_m_catanh=yes
24001 ac_cv_lib_m_catanh=no
24003 rm -f core conftest.err conftest.$ac_objext \
24004 conftest$ac_exeext conftest.$ac_ext
24005 LIBS=$ac_check_lib_save_LIBS
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24008 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24009 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24011 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24016 $as_echo_n "checking for catanhf in -lm... " >&6; }
24017 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24018 $as_echo_n "(cached) " >&6
24020 ac_check_lib_save_LIBS=$LIBS
24022 if test x$gcc_no_link = xyes; then
24023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h. */
24028 /* Override any GCC internal prototype to avoid an error.
24029 Use char because int might match the return type of a GCC
24030 builtin and then its argument prototype would still apply. */
24043 if ac_fn_c_try_link "$LINENO"; then :
24044 ac_cv_lib_m_catanhf=yes
24046 ac_cv_lib_m_catanhf=no
24048 rm -f core conftest.err conftest.$ac_objext \
24049 conftest$ac_exeext conftest.$ac_ext
24050 LIBS=$ac_check_lib_save_LIBS
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24053 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24054 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24056 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24061 $as_echo_n "checking for catanhl in -lm... " >&6; }
24062 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24065 ac_check_lib_save_LIBS=$LIBS
24067 if test x$gcc_no_link = xyes; then
24068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24071 /* end confdefs.h. */
24073 /* Override any GCC internal prototype to avoid an error.
24074 Use char because int might match the return type of a GCC
24075 builtin and then its argument prototype would still apply. */
24088 if ac_fn_c_try_link "$LINENO"; then :
24089 ac_cv_lib_m_catanhl=yes
24091 ac_cv_lib_m_catanhl=no
24093 rm -f core conftest.err conftest.$ac_objext \
24094 conftest$ac_exeext conftest.$ac_ext
24095 LIBS=$ac_check_lib_save_LIBS
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24098 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24099 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24101 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24106 $as_echo_n "checking for catanl in -lm... " >&6; }
24107 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24108 $as_echo_n "(cached) " >&6
24110 ac_check_lib_save_LIBS=$LIBS
24112 if test x$gcc_no_link = xyes; then
24113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h. */
24118 /* Override any GCC internal prototype to avoid an error.
24119 Use char because int might match the return type of a GCC
24120 builtin and then its argument prototype would still apply. */
24133 if ac_fn_c_try_link "$LINENO"; then :
24134 ac_cv_lib_m_catanl=yes
24136 ac_cv_lib_m_catanl=no
24138 rm -f core conftest.err conftest.$ac_objext \
24139 conftest$ac_exeext conftest.$ac_ext
24140 LIBS=$ac_check_lib_save_LIBS
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24143 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24144 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24146 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24151 # On AIX, clog is present in libm as __clog
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24153 $as_echo_n "checking for __clog in -lm... " >&6; }
24154 if test "${ac_cv_lib_m___clog+set}" = set; then :
24155 $as_echo_n "(cached) " >&6
24157 ac_check_lib_save_LIBS=$LIBS
24159 if test x$gcc_no_link = xyes; then
24160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24163 /* end confdefs.h. */
24165 /* Override any GCC internal prototype to avoid an error.
24166 Use char because int might match the return type of a GCC
24167 builtin and then its argument prototype would still apply. */
24180 if ac_fn_c_try_link "$LINENO"; then :
24181 ac_cv_lib_m___clog=yes
24183 ac_cv_lib_m___clog=no
24185 rm -f core conftest.err conftest.$ac_objext \
24186 conftest$ac_exeext conftest.$ac_ext
24187 LIBS=$ac_check_lib_save_LIBS
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24190 $as_echo "$ac_cv_lib_m___clog" >&6; }
24191 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24193 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24198 # Check whether the system has a working stat()
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24201 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24202 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24203 $as_echo_n "(cached) " >&6
24206 if test "$cross_compiling" = yes; then :
24208 case "${target}" in
24209 *mingw*) libgfor_cv_have_working_stat=no ;;
24210 *) libgfor_cv_have_working_stat=yes;;
24213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24217 #include <sys/types.h>
24218 #include <sys/stat.h>
24219 #include <unistd.h>
24224 struct stat st1, st2;
24226 f = fopen ("foo", "w");
24227 g = fopen ("bar", "w");
24228 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24230 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24237 if ac_fn_c_try_run "$LINENO"; then :
24238 libgfor_cv_have_working_stat=yes
24240 libgfor_cv_have_working_stat=no
24242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24243 conftest.$ac_objext conftest.beam conftest.$ac_ext
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24248 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24249 if test x"$libgfor_cv_have_working_stat" = xyes; then
24251 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24255 # Check whether __mingw_snprintf() is present
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24258 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24259 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24260 $as_echo_n "(cached) " >&6
24263 if test x$gcc_no_link = xyes; then
24264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24270 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24276 __mingw_snprintf (NULL, 0, "%d\n", 1);
24282 if ac_fn_c_try_link "$LINENO"; then :
24283 eval "libgfor_cv_have_mingw_snprintf=yes"
24285 eval "libgfor_cv_have_mingw_snprintf=no"
24287 rm -f core conftest.err conftest.$ac_objext \
24288 conftest$ac_exeext conftest.$ac_ext
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24292 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24293 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24295 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24300 # Check for a broken powf implementation
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24303 $as_echo_n "checking whether powf is broken... " >&6; }
24304 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24305 $as_echo_n "(cached) " >&6
24308 case "${target}" in
24309 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24310 *) libgfor_cv_have_broken_powf=no;;
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24314 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24315 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24317 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24322 # Check whether we have a __float128 type
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24326 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24327 if test "${libgfor_cv_have_float128+set}" = set; then :
24328 $as_echo_n "(cached) " >&6
24331 if test x$gcc_no_link = xyes; then
24332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24343 typedef _Complex float __attribute__((mode(TC))) __complex128;
24346 x = __builtin_huge_valq() - 2.e1000Q;
24348 __complex128 z1, z2;
24359 if ac_fn_c_try_link "$LINENO"; then :
24360 libgfor_cv_have_float128=yes
24362 libgfor_cv_have_float128=no
24364 rm -f core conftest.err conftest.$ac_objext \
24365 conftest$ac_exeext conftest.$ac_ext
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24369 $as_echo "$libgfor_cv_have_float128" >&6; }
24371 if test "x$libgfor_cv_have_float128" = xyes; then
24373 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24376 ac_xsave_c_werror_flag=$ac_c_werror_flag
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24378 $as_echo_n "checking whether --as-needed works... " >&6; }
24379 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24380 $as_echo_n "(cached) " >&6
24383 save_LDFLAGS="$LDFLAGS"
24384 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24385 libgfor_cv_have_as_needed=no
24387 ac_c_werror_flag=yes
24388 if test x$gcc_no_link = xyes; then
24389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h. */
24402 if ac_fn_c_try_link "$LINENO"; then :
24403 libgfor_cv_have_as_needed=yes
24405 libgfor_cv_have_as_needed=no
24407 rm -f core conftest.err conftest.$ac_objext \
24408 conftest$ac_exeext conftest.$ac_ext
24409 LDFLAGS="$save_LDFLAGS"
24410 ac_c_werror_flag=$ac_xsave_c_werror_flag
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24414 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24416 if test "x$libgfor_cv_have_as_needed" = xyes; then
24417 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24419 LIBQUADSPEC="-lquadmath"
24421 if test -f ../libquadmath/libquadmath.la; then
24422 LIBQUADLIB=../libquadmath/libquadmath.la
24423 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
24424 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
24426 LIBQUADLIB="-lquadmath"
24437 if test "x$libgfor_cv_have_float128" = xyes; then
24438 LIBGFOR_BUILD_QUAD_TRUE=
24439 LIBGFOR_BUILD_QUAD_FALSE='#'
24441 LIBGFOR_BUILD_QUAD_TRUE='#'
24442 LIBGFOR_BUILD_QUAD_FALSE=
24447 # Check for GNU libc feenableexcept
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24449 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24450 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24453 ac_check_lib_save_LIBS=$LIBS
24455 if test x$gcc_no_link = xyes; then
24456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24461 /* Override any GCC internal prototype to avoid an error.
24462 Use char because int might match the return type of a GCC
24463 builtin and then its argument prototype would still apply. */
24467 char feenableexcept ();
24471 return feenableexcept ();
24476 if ac_fn_c_try_link "$LINENO"; then :
24477 ac_cv_lib_m_feenableexcept=yes
24479 ac_cv_lib_m_feenableexcept=no
24481 rm -f core conftest.err conftest.$ac_objext \
24482 conftest$ac_exeext conftest.$ac_ext
24483 LIBS=$ac_check_lib_save_LIBS
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24486 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24487 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24488 have_feenableexcept=yes
24489 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24494 # Check for SysV fpsetmask
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24497 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24498 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24499 $as_echo_n "(cached) " >&6
24502 if test x$gcc_no_link = xyes; then
24503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24506 /* end confdefs.h. */
24508 #if HAVE_FLOATINGPOINT_H
24509 # include <floatingpoint.h>
24510 #endif /* HAVE_FLOATINGPOINT_H */
24512 # include <ieeefp.h>
24513 #endif /* HAVE_IEEEFP_H */
24522 if ac_fn_c_try_link "$LINENO"; then :
24523 eval "libgfor_cv_have_fpsetmask=yes"
24525 eval "libgfor_cv_have_fpsetmask=no"
24527 rm -f core conftest.err conftest.$ac_objext \
24528 conftest$ac_exeext conftest.$ac_ext
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24532 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24533 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24535 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24540 # Check for AIX fp_trap and fp_enable
24541 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24542 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24544 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24548 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24549 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24551 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24556 # Runs configure.host to set up necessary host-dependent shell variables.
24557 # We then display a message about it, and propagate them through the
24559 . ${srcdir}/configure.host
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24561 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24562 FPU_HOST_HEADER=config/${fpu_host}.h
24565 # Some targets require additional compiler options for IEEE compatibility.
24566 IEEE_FLAGS="${ieee_flags}"
24569 # Check out attribute support.
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24572 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24573 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24574 $as_echo_n "(cached) " >&6
24577 save_CFLAGS="$CFLAGS"
24578 CFLAGS="$CFLAGS -Werror"
24579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24580 /* end confdefs.h. */
24581 void __attribute__((visibility("hidden"))) foo(void) { }
24590 if ac_fn_c_try_compile "$LINENO"; then :
24591 libgfor_cv_have_attribute_visibility=yes
24593 libgfor_cv_have_attribute_visibility=no
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 CFLAGS="$save_CFLAGS"
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24599 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24600 if test $libgfor_cv_have_attribute_visibility = yes; then
24602 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24607 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24608 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24609 $as_echo_n "(cached) " >&6
24612 save_CFLAGS="$CFLAGS"
24613 CFLAGS="$CFLAGS -Werror"
24614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24615 /* end confdefs.h. */
24616 void __attribute__((dllexport)) foo(void) { }
24625 if ac_fn_c_try_compile "$LINENO"; then :
24626 libgfor_cv_have_attribute_dllexport=yes
24628 libgfor_cv_have_attribute_dllexport=no
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631 CFLAGS="$save_CFLAGS"
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24634 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24635 if test $libgfor_cv_have_attribute_dllexport = yes; then
24637 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24642 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24643 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24644 $as_echo_n "(cached) " >&6
24647 if test x$gcc_no_link = xyes; then
24648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24654 extern void bar(void) __attribute__((alias("foo")));
24663 if ac_fn_c_try_link "$LINENO"; then :
24664 libgfor_cv_have_attribute_alias=yes
24666 libgfor_cv_have_attribute_alias=no
24668 rm -f core conftest.err conftest.$ac_objext \
24669 conftest$ac_exeext conftest.$ac_ext
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24672 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24673 if test $libgfor_cv_have_attribute_alias = yes; then
24675 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24679 # Check out sync builtins support.
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24682 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24683 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24687 if test x$gcc_no_link = xyes; then
24688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h. */
24697 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24698 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24703 if ac_fn_c_try_link "$LINENO"; then :
24704 libgfor_cv_have_sync_fetch_and_add=yes
24706 libgfor_cv_have_sync_fetch_and_add=no
24708 rm -f core conftest.err conftest.$ac_objext \
24709 conftest$ac_exeext conftest.$ac_ext
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24712 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24713 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24715 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24719 # Check out thread support.
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24722 $as_echo_n "checking configured target thread model... " >&6; }
24723 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24724 $as_echo_n "(cached) " >&6
24727 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24730 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24732 if test $libgfor_cv_target_thread_file != single; then
24734 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24738 # Check out #pragma weak.
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24741 $as_echo_n "checking whether pragma weak works... " >&6; }
24742 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24743 $as_echo_n "(cached) " >&6
24746 gfor_save_CFLAGS="$CFLAGS"
24747 CFLAGS="$CFLAGS -Wunknown-pragmas"
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24760 if ac_fn_c_try_compile "$LINENO"; then :
24761 libgfor_cv_have_pragma_weak=yes
24763 libgfor_cv_have_pragma_weak=no
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24768 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24769 if test $libgfor_cv_have_pragma_weak = yes; then
24771 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24775 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24777 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24782 # Various other checks on target
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24785 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24786 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24787 $as_echo_n "(cached) " >&6
24790 if test "$cross_compiling" = yes; then :
24792 case "${target}" in
24793 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24794 *) libgfor_cv_have_unlink_open_file=yes;;
24797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24798 /* end confdefs.h. */
24802 #include <unistd.h>
24803 #include <sys/stat.h>
24809 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24812 if (unlink ("testfile") == -1)
24814 write (fd, "This is a test\n", 15);
24817 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24823 if ac_fn_c_try_run "$LINENO"; then :
24824 libgfor_cv_have_unlink_open_file=yes
24826 libgfor_cv_have_unlink_open_file=no
24828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24829 conftest.$ac_objext conftest.beam conftest.$ac_ext
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24834 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24835 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24837 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24841 # Check whether line terminator is LF or CRLF
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24844 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24845 if test "${libgfor_cv_have_crlf+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24849 if test "$cross_compiling" = yes; then :
24851 case "${target}" in
24852 *mingw*) libgfor_cv_have_crlf=yes ;;
24853 *) libgfor_cv_have_crlf=no;;
24856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h. */
24859 /* This test program should exit with status 0 if system uses a CRLF as
24860 line terminator, and status 1 otherwise.
24861 Since it is used to check for mingw systems, and should return 0 in any
24862 other case, in case of a failure we will not use CRLF. */
24863 #include <sys/stat.h>
24864 #include <stdlib.h>
24876 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24879 if (write (fd, "\n", 1) < 0)
24884 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24886 bytes = read (fd, buff, 5);
24887 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24894 if ac_fn_c_try_run "$LINENO"; then :
24895 libgfor_cv_have_crlf=yes
24897 libgfor_cv_have_crlf=no
24899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24900 conftest.$ac_objext conftest.beam conftest.$ac_ext
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24905 $as_echo "$libgfor_cv_have_crlf" >&6; }
24906 if test x"$libgfor_cv_have_crlf" = xyes; then
24908 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24912 cat >confcache <<\_ACEOF
24913 # This file is a shell script that caches the results of configure
24914 # tests run on this system so they can be shared between configure
24915 # scripts and configure runs, see configure's option --config-cache.
24916 # It is not useful on other systems. If it contains results you don't
24917 # want to keep, you may remove or edit it.
24919 # config.status only pays attention to the cache file if you give it
24920 # the --recheck option to rerun configure.
24922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24924 # following values.
24928 # The following way of writing the cache mishandles newlines in values,
24929 # but we know of no workaround that is simple, portable, and efficient.
24930 # So, we kill variables containing newlines.
24931 # Ultrix sh set writes to stderr and can't be redirected directly,
24932 # and sets the high bit in the cache file unless we assign to the vars.
24934 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24935 eval ac_val=\$$ac_var
24939 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24940 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24943 _ | IFS | as_nl) ;; #(
24944 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24945 *) { eval $ac_var=; unset $ac_var;} ;;
24951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24952 *${as_nl}ac_space=\ *)
24953 # `set' does not quote correctly, so add quotes: double-quote
24954 # substitution turns \\\\ into \\, and sed turns \\ into \.
24957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24960 # `set' quotes correctly as required by POSIX, so do not add quotes.
24961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24975 if test -w "$cache_file"; then
24976 test "x$cache_file" != "x/dev/null" &&
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24978 $as_echo "$as_me: updating cache $cache_file" >&6;}
24979 cat confcache >$cache_file
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24982 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24987 if test ${multilib} = yes; then
24988 multilib_arg="--enable-multilib"
24993 # Write our Makefile and spec file.
24994 ac_config_files="$ac_config_files Makefile libgfortran.spec"
24996 cat >confcache <<\_ACEOF
24997 # This file is a shell script that caches the results of configure
24998 # tests run on this system so they can be shared between configure
24999 # scripts and configure runs, see configure's option --config-cache.
25000 # It is not useful on other systems. If it contains results you don't
25001 # want to keep, you may remove or edit it.
25003 # config.status only pays attention to the cache file if you give it
25004 # the --recheck option to rerun configure.
25006 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25007 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25008 # following values.
25012 # The following way of writing the cache mishandles newlines in values,
25013 # but we know of no workaround that is simple, portable, and efficient.
25014 # So, we kill variables containing newlines.
25015 # Ultrix sh set writes to stderr and can't be redirected directly,
25016 # and sets the high bit in the cache file unless we assign to the vars.
25018 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25019 eval ac_val=\$$ac_var
25023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25027 _ | IFS | as_nl) ;; #(
25028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25029 *) { eval $ac_var=; unset $ac_var;} ;;
25035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25036 *${as_nl}ac_space=\ *)
25037 # `set' does not quote correctly, so add quotes: double-quote
25038 # substitution turns \\\\ into \\, and sed turns \\ into \.
25041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25044 # `set' quotes correctly as required by POSIX, so do not add quotes.
25045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25058 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25059 if test -w "$cache_file"; then
25060 test "x$cache_file" != "x/dev/null" &&
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25062 $as_echo "$as_me: updating cache $cache_file" >&6;}
25063 cat confcache >$cache_file
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25066 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25071 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25072 # Let make expand exec_prefix.
25073 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25075 DEFS=-DHAVE_CONFIG_H
25079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25080 # 1. Remove the extension, and $U if already installed.
25081 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25082 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25084 # will be set to the directory where LIBOBJS objects are built.
25085 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25086 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25088 LIBOBJS=$ac_libobjs
25090 LTLIBOBJS=$ac_ltlibobjs
25093 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25094 as_fn_error "conditional \"onestep\" was never defined.
25095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25097 if test -n "$EXEEXT"; then
25099 am__EXEEXT_FALSE='#'
25101 am__EXEEXT_TRUE='#'
25105 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25106 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25109 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25110 as_fn_error "conditional \"AMDEP\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25113 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25114 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25117 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25118 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25121 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25122 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25125 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25126 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25129 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25130 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25134 : ${CONFIG_STATUS=./config.status}
25136 ac_clean_files_save=$ac_clean_files
25137 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25139 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25141 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25143 # Generated by $as_me.
25144 # Run this file to recreate the current configuration.
25145 # Compiler output produced by configure, useful for debugging
25146 # configure, is in config.log if it exists.
25149 ac_cs_recheck=false
25152 SHELL=\${CONFIG_SHELL-$SHELL}
25155 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25156 ## -------------------- ##
25157 ## M4sh Initialization. ##
25158 ## -------------------- ##
25160 # Be more Bourne compatible
25161 DUALCASE=1; export DUALCASE # for MKS sh
25162 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25165 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25166 # is contrary to our usage. Disable this feature.
25167 alias -g '${1+"$@"}'='"$@"'
25168 setopt NO_GLOB_SUBST
25170 case `(set -o) 2>/dev/null` in #(
25182 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25183 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25186 # Prefer a ksh shell builtin over an external printf program on Solaris,
25187 # but without wasting forks for bash or zsh.
25188 if test -z "$BASH_VERSION$ZSH_VERSION" \
25189 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25190 as_echo='print -r --'
25191 as_echo_n='print -rn --'
25192 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25193 as_echo='printf %s\n'
25194 as_echo_n='printf %s'
25196 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25197 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25198 as_echo_n='/usr/ucb/echo -n'
25200 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25201 as_echo_n_body='eval
25205 expr "X$arg" : "X\\(.*\\)$as_nl";
25206 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25208 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25210 export as_echo_n_body
25211 as_echo_n='sh -c $as_echo_n_body as_echo'
25213 export as_echo_body
25214 as_echo='sh -c $as_echo_body as_echo'
25217 # The user is always right.
25218 if test "${PATH_SEPARATOR+set}" != set; then
25220 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25221 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25228 # We need space, tab and new line, in precisely that order. Quoting is
25229 # there to prevent editors from complaining about space-tab.
25230 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25231 # splitting by setting IFS to empty value.)
25234 # Find who we are. Look in the path if we contain no directory separator.
25236 *[\\/]* ) as_myself=$0 ;;
25237 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25238 for as_dir in $PATH
25241 test -z "$as_dir" && as_dir=.
25242 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25248 # We did not find ourselves, most probably we were run as `sh COMMAND'
25249 # in which case we are not to be found in the path.
25250 if test "x$as_myself" = x; then
25253 if test ! -f "$as_myself"; then
25254 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25258 # Unset variables that we do not need and which cause bugs (e.g. in
25259 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25260 # suppresses any "Segmentation fault" message there. '((' could
25261 # trigger a bug in pdksh 5.2.14.
25262 for as_var in BASH_ENV ENV MAIL MAILPATH
25263 do eval test x\${$as_var+set} = xset \
25264 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25280 # as_fn_error ERROR [LINENO LOG_FD]
25281 # ---------------------------------
25282 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25283 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25284 # script with status $?, using 1 if that was 0.
25287 as_status=$?; test $as_status -eq 0 && as_status=1
25289 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25290 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25292 $as_echo "$as_me: error: $1" >&2
25293 as_fn_exit $as_status
25297 # as_fn_set_status STATUS
25298 # -----------------------
25299 # Set $? to STATUS, without forking.
25300 as_fn_set_status ()
25303 } # as_fn_set_status
25305 # as_fn_exit STATUS
25306 # -----------------
25307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25311 as_fn_set_status $1
25317 # Portably unset VAR.
25320 { eval $1=; unset $1;}
25322 as_unset=as_fn_unset
25323 # as_fn_append VAR VALUE
25324 # ----------------------
25325 # Append the text in VALUE to the end of the definition contained in VAR. Take
25326 # advantage of any shell optimizations that allow amortized linear growth over
25327 # repeated appends, instead of the typical quadratic growth present in naive
25329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25330 eval 'as_fn_append ()
25341 # as_fn_arith ARG...
25342 # ------------------
25343 # Perform arithmetic evaluation on the ARGs, and store the result in the
25344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25345 # must be portable across $(()) and expr.
25346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25347 eval 'as_fn_arith ()
25354 as_val=`expr "$@" || test $? -eq 1`
25359 if expr a : '\(a\)' >/dev/null 2>&1 &&
25360 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25366 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25367 as_basename=basename
25372 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25378 as_me=`$as_basename -- "$0" ||
25379 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25380 X"$0" : 'X\(//\)$' \| \
25381 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25383 sed '/^.*\/\([^/][^/]*\)\/*$/{
25397 # Avoid depending upon Character Ranges.
25398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25401 as_cr_digits='0123456789'
25402 as_cr_alnum=$as_cr_Letters$as_cr_digits
25404 ECHO_C= ECHO_N= ECHO_T=
25405 case `echo -n x` in #(((((
25407 case `echo 'xy\c'` in
25408 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25410 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25417 rm -f conf$$ conf$$.exe conf$$.file
25418 if test -d conf$$.dir; then
25419 rm -f conf$$.dir/conf$$.file
25422 mkdir conf$$.dir 2>/dev/null
25424 if (echo >conf$$.file) 2>/dev/null; then
25425 if ln -s conf$$.file conf$$ 2>/dev/null; then
25427 # ... but there are two gotchas:
25428 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25429 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25430 # In both cases, we have to default to `cp -p'.
25431 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25433 elif ln conf$$.file conf$$ 2>/dev/null; then
25441 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25442 rmdir conf$$.dir 2>/dev/null
25447 # Create "$as_dir" as a directory, including parents if necessary.
25452 -*) as_dir=./$as_dir;;
25454 test -d "$as_dir" || eval $as_mkdir_p || {
25458 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25459 *) as_qdir=$as_dir;;
25461 as_dirs="'$as_qdir' $as_dirs"
25462 as_dir=`$as_dirname -- "$as_dir" ||
25463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25464 X"$as_dir" : 'X\(//\)[^/]' \| \
25465 X"$as_dir" : 'X\(//\)$' \| \
25466 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25467 $as_echo X"$as_dir" |
25468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25472 /^X\(\/\/\)[^/].*/{
25485 test -d "$as_dir" && break
25487 test -z "$as_dirs" || eval "mkdir $as_dirs"
25488 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25492 if mkdir -p . 2>/dev/null; then
25493 as_mkdir_p='mkdir -p "$as_dir"'
25495 test -d ./-p && rmdir ./-p
25499 if test -x / >/dev/null 2>&1; then
25500 as_test_x='test -x'
25502 if ls -dL / >/dev/null 2>&1; then
25509 if test -d "$1"; then
25515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25516 ???[sx]*):;;*)false;;esac;fi
25520 as_executable_p=$as_test_x
25522 # Sed expression to map a string onto a valid CPP name.
25523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25525 # Sed expression to map a string onto a valid variable name.
25526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25530 ## ----------------------------------- ##
25531 ## Main body of $CONFIG_STATUS script. ##
25532 ## ----------------------------------- ##
25534 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25537 # Save the log message, to keep $0 and so on meaningful, and to
25538 # report actual input values of CONFIG_FILES etc. instead of their
25539 # values after options handling.
25541 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25542 generated by GNU Autoconf 2.64. Invocation command line was
25544 CONFIG_FILES = $CONFIG_FILES
25545 CONFIG_HEADERS = $CONFIG_HEADERS
25546 CONFIG_LINKS = $CONFIG_LINKS
25547 CONFIG_COMMANDS = $CONFIG_COMMANDS
25550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25555 case $ac_config_files in *"
25556 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25559 case $ac_config_headers in *"
25560 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25565 # Files that config.status was made for.
25566 config_files="$ac_config_files"
25567 config_headers="$ac_config_headers"
25568 config_commands="$ac_config_commands"
25572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25574 \`$as_me' instantiates files and other configuration actions
25575 from templates according to the current configuration. Unless the files
25576 and actions are specified as TAGs, all are instantiated by default.
25578 Usage: $0 [OPTION]... [TAG]...
25580 -h, --help print this help, then exit
25581 -V, --version print version number and configuration settings, then exit
25582 -q, --quiet, --silent
25583 do not print progress messages
25584 -d, --debug don't remove temporary files
25585 --recheck update $as_me by reconfiguring in the same conditions
25586 --file=FILE[:TEMPLATE]
25587 instantiate the configuration file FILE
25588 --header=FILE[:TEMPLATE]
25589 instantiate the configuration header FILE
25591 Configuration files:
25594 Configuration headers:
25597 Configuration commands:
25600 Report bugs to the package provider.
25601 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25602 General help using GNU software: <http://www.gnu.org/gethelp/>."
25605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25607 GNU Fortran Runtime Library config.status 0.3
25608 configured by $0, generated by GNU Autoconf 2.64,
25609 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25611 Copyright (C) 2009 Free Software Foundation, Inc.
25612 This config.status script is free software; the Free Software Foundation
25613 gives unlimited permission to copy, distribute and modify it."
25620 test -n "\$AWK" || AWK=awk
25623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25624 # The default lists apply if the user does not specify any file.
25630 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25631 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25642 # Handling of the options.
25643 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25645 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25646 $as_echo "$ac_cs_version"; exit ;;
25647 --debug | --debu | --deb | --de | --d | -d )
25649 --file | --fil | --fi | --f )
25652 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25654 as_fn_append CONFIG_FILES " '$ac_optarg'"
25655 ac_need_defaults=false;;
25656 --header | --heade | --head | --hea )
25659 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25661 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25662 ac_need_defaults=false;;
25664 # Conflict between --help and --header
25665 as_fn_error "ambiguous option: \`$1'
25666 Try \`$0 --help' for more information.";;
25667 --help | --hel | -h )
25668 $as_echo "$ac_cs_usage"; exit ;;
25669 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25670 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25673 # This is an error.
25674 -*) as_fn_error "unrecognized option: \`$1'
25675 Try \`$0 --help' for more information." ;;
25677 *) as_fn_append ac_config_targets " $1"
25678 ac_need_defaults=false ;;
25684 ac_configure_extra_args=
25686 if $ac_cs_silent; then
25688 ac_configure_extra_args="$ac_configure_extra_args --silent"
25692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25693 if \$ac_cs_recheck; then
25694 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25696 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25697 CONFIG_SHELL='$SHELL'
25698 export CONFIG_SHELL
25703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25707 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25708 ## Running $as_me. ##
25714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25722 with_multisubdir="$with_multisubdir"
25723 with_multisrctop="$with_multisrctop"
25724 with_target_subdir="$with_target_subdir"
25725 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25726 multi_basedir="$multi_basedir"
25727 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25730 GFORTRAN="$GFORTRAN"
25732 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25735 # The HP-UX ksh and POSIX shell print the target directory to stdout
25736 # if CDPATH is set.
25737 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25739 sed_quote_subst='$sed_quote_subst'
25740 double_quote_subst='$double_quote_subst'
25741 delay_variable_subst='$delay_variable_subst'
25742 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25743 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25744 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25745 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25746 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25747 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25748 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25749 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25750 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25751 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25752 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25753 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25754 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25755 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25756 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25757 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25758 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25759 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25760 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25761 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25762 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25763 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25764 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25765 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25766 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25767 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25768 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25769 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25770 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25771 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25772 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25773 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25774 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25775 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25776 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25777 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25778 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25779 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25780 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25781 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25782 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25783 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25784 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25785 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25786 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25787 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25788 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25789 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25790 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"`'
25791 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25792 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25793 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25794 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25795 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25796 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25797 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25798 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25799 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25800 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25801 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25802 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25803 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25804 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25805 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25806 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25807 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25808 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25809 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25810 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25811 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25812 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25813 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25814 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25815 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25816 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25817 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25818 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25819 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25820 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25821 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25822 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25823 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25824 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25825 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25826 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25827 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25828 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25829 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25830 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25831 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25832 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25833 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25834 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25835 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25836 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25837 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25838 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25839 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25840 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25841 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25842 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25843 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25844 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25845 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25846 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25847 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25848 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25849 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25850 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25851 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25852 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25853 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25854 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25855 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25856 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25857 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25858 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25859 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25860 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25861 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25862 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25863 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25864 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25865 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25866 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25867 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25868 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25869 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25870 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25871 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25872 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25873 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25874 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25875 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25876 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25877 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25878 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25879 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25880 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25881 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25882 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25883 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25884 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25885 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25886 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25887 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25888 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25889 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25890 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25891 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25892 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25893 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25894 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25895 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25896 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25897 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25898 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25899 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25900 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25901 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25902 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25903 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25904 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25905 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25906 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25907 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25908 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25909 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25910 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25911 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25912 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25913 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25914 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25915 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25916 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25919 LTCFLAGS='$LTCFLAGS'
25920 compiler='$compiler_DEFAULT'
25922 # A function that is used when there is no print builtin or printf.
25923 func_fallback_echo ()
25925 eval 'cat <<_LTECHO_EOF
25930 # Quote evaled strings.
25944 deplibs_check_method \
25953 lt_cv_sys_global_symbol_pipe \
25954 lt_cv_sys_global_symbol_to_cdecl \
25955 lt_cv_sys_global_symbol_to_c_name_address \
25956 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25957 lt_prog_compiler_no_builtin_flag \
25958 lt_prog_compiler_wl \
25959 lt_prog_compiler_pic \
25960 lt_prog_compiler_static \
25961 lt_cv_prog_compiler_c_o \
25969 export_dynamic_flag_spec \
25970 whole_archive_flag_spec \
25971 compiler_needs_object \
25973 allow_undefined_flag \
25974 no_undefined_flag \
25975 hardcode_libdir_flag_spec \
25976 hardcode_libdir_flag_spec_ld \
25977 hardcode_libdir_separator \
25982 variables_saved_for_relink \
25984 library_names_spec \
25986 install_override_mode \
25990 compiler_lib_search_dirs \
25995 compiler_lib_search_path \
25999 lt_prog_compiler_no_builtin_flag_FC \
26000 lt_prog_compiler_wl_FC \
26001 lt_prog_compiler_pic_FC \
26002 lt_prog_compiler_static_FC \
26003 lt_cv_prog_compiler_c_o_FC \
26004 export_dynamic_flag_spec_FC \
26005 whole_archive_flag_spec_FC \
26006 compiler_needs_object_FC \
26008 allow_undefined_flag_FC \
26009 no_undefined_flag_FC \
26010 hardcode_libdir_flag_spec_FC \
26011 hardcode_libdir_flag_spec_ld_FC \
26012 hardcode_libdir_separator_FC \
26013 fix_srcfile_path_FC \
26014 exclude_expsyms_FC \
26015 include_expsyms_FC \
26016 file_list_spec_FC \
26017 compiler_lib_search_dirs_FC \
26018 predep_objects_FC \
26019 postdep_objects_FC \
26022 compiler_lib_search_path_FC; do
26023 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26024 *[\\\\\\\`\\"\\\$]*)
26025 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26028 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26033 # Double-quote double-evaled strings.
26034 for var in reload_cmds \
26035 old_postinstall_cmds \
26036 old_postuninstall_cmds \
26038 extract_expsyms_cmds \
26039 old_archive_from_new_cmds \
26040 old_archive_from_expsyms_cmds \
26042 archive_expsym_cmds \
26044 module_expsym_cmds \
26045 export_symbols_cmds \
26048 postuninstall_cmds \
26050 sys_lib_search_path_spec \
26051 sys_lib_dlsearch_path_spec \
26053 old_archive_cmds_FC \
26054 old_archive_from_new_cmds_FC \
26055 old_archive_from_expsyms_cmds_FC \
26057 archive_expsym_cmds_FC \
26059 module_expsym_cmds_FC \
26060 export_symbols_cmds_FC \
26061 prelink_cmds_FC; do
26062 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26063 *[\\\\\\\`\\"\\\$]*)
26064 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26067 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26072 ac_aux_dir='$ac_aux_dir'
26073 xsi_shell='$xsi_shell'
26074 lt_shell_append='$lt_shell_append'
26076 # See if we are running on zsh, and set the options which allow our
26077 # commands through without removal of \ escapes INIT.
26078 if test -n "\${ZSH_VERSION+set}" ; then
26079 setopt NO_GLOB_SUBST
26085 TIMESTAMP='$TIMESTAMP'
26096 acx_cv_header_stdint="$acx_cv_header_stdint"
26097 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26098 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26099 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26100 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26101 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26102 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26103 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26104 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26105 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26106 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26107 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26108 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26109 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26116 # Handling of arguments.
26117 for ac_config_target in $ac_config_targets
26119 case $ac_config_target in
26120 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26121 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26122 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26123 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26124 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26125 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26126 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26128 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26133 # If the user did not use the arguments to specify the items to instantiate,
26134 # then the envvar interface is used. Set only those that are not.
26135 # We use the long form for the default assignment because of an extremely
26136 # bizarre bug on SunOS 4.1.3.
26137 if $ac_need_defaults; then
26138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26143 # Have a temporary directory for convenience. Make it in the build tree
26144 # simply because there is no reason against having it here, and in addition,
26145 # creating and moving files from /tmp can sometimes cause problems.
26146 # Hook for its removal unless debugging.
26147 # Note that there is a small window in which the directory will not be cleaned:
26148 # after its creation but before its name has been assigned to `$tmp'.
26152 trap 'exit_status=$?
26153 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26155 trap 'as_fn_exit 1' 1 2 13 15
26157 # Create a (secure) tmp directory for tmp files.
26160 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26161 test -n "$tmp" && test -d "$tmp"
26164 tmp=./conf$$-$RANDOM
26165 (umask 077 && mkdir "$tmp")
26166 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26168 # Set up the scripts for CONFIG_FILES section.
26169 # No need to generate them if there are no CONFIG_FILES.
26170 # This happens for instance with `./config.status config.h'.
26171 if test -n "$CONFIG_FILES"; then
26174 ac_cr=`echo X | tr X '\015'`
26175 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26176 # But we know of no other shell where ac_cr would be empty at this
26177 # point, so we can use a bashism as a fallback.
26178 if test "x$ac_cr" = x; then
26179 eval ac_cr=\$\'\\r\'
26181 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26182 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26185 ac_cs_awk_cr=$ac_cr
26188 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26193 echo "cat >conf$$subs.awk <<_ACEOF" &&
26194 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26196 } >conf$$subs.sh ||
26197 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26198 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26200 for ac_last_try in false false false false false :; do
26201 . ./conf$$subs.sh ||
26202 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26204 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26205 if test $ac_delim_n = $ac_delim_num; then
26207 elif $ac_last_try; then
26208 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26210 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26213 rm -f conf$$subs.sh
26215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26216 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26220 s/^/S["/; s/!.*/"]=/
26230 s/\(.\{148\}\).*/\1/
26232 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26244 s/\(.\{148\}\).*/\1/
26246 s/["\\]/\\&/g; s/^/"/; s/$/"/
26250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26255 ' <conf$$subs.awk | sed '
26260 ' >>$CONFIG_STATUS || ac_write_fail=1
26261 rm -f conf$$subs.awk
26262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26264 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26265 for (key in S) S_is_set[key] = 1
26271 nfields = split(line, field, "@")
26273 len = length(field[1])
26274 for (i = 2; i < nfields; i++) {
26276 keylen = length(key)
26277 if (S_is_set[key]) {
26279 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26280 len += length(value) + length(field[++i])
26291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26292 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26293 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26296 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26297 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26302 # trailing colons and then remove the whole line if VPATH becomes empty
26303 # (actually we leave an empty line to preserve line numbers).
26304 if test "x$srcdir" = x.; then
26305 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26306 s/:*\$(srcdir):*/:/
26307 s/:*\${srcdir}:*/:/
26309 s/^\([^=]*=[ ]*\):*/\1/
26315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26316 fi # test -n "$CONFIG_FILES"
26318 # Set up the scripts for CONFIG_HEADERS section.
26319 # No need to generate them if there are no CONFIG_HEADERS.
26320 # This happens for instance with `./config.status Makefile'.
26321 if test -n "$CONFIG_HEADERS"; then
26322 cat >"$tmp/defines.awk" <<\_ACAWK ||
26326 # Transform confdefs.h into an awk script `defines.awk', embedded as
26327 # here-document in config.status, that substitutes the proper values into
26328 # config.h.in to produce config.h.
26330 # Create a delimiter string that does not exist in confdefs.h, to ease
26331 # handling of long lines.
26333 for ac_last_try in false false :; do
26334 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26335 if test -z "$ac_t"; then
26337 elif $ac_last_try; then
26338 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26344 # For the awk script, D is an array of macro values keyed by name,
26345 # likewise P contains macro parameters if any. Preserve backslash
26346 # newline sequences.
26348 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26350 s/.\{148\}/&'"$ac_delim"'/g
26353 s/^[ ]*#[ ]*define[ ][ ]*/ /
26360 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26367 D["\1"]=" \3\\\\\\n"\\/p
26369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26374 s/.\{148\}/&'"$ac_delim"'/g
26379 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26382 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26384 ' <confdefs.h | sed '
26385 s/'"$ac_delim"'/"\\\
26386 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26389 for (key in D) D_is_set[key] = 1
26392 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26394 split(line, arg, " ")
26395 if (arg[1] == "#") {
26399 defundef = substr(arg[1], 2)
26402 split(mac1, mac2, "(") #)
26404 prefix = substr(line, 1, index(line, defundef) - 1)
26405 if (D_is_set[macro]) {
26406 # Preserve the white space surrounding the "#".
26407 print prefix "define", macro P[macro] D[macro]
26410 # Replace #undef with comments. This is necessary, for example,
26411 # in the case of _POSIX_SOURCE, which is predefined and required
26412 # on some systems where configure will not decide to define it.
26413 if (defundef == "undef") {
26414 print "/*", prefix defundef, macro, "*/"
26422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26423 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26424 fi # test -n "$CONFIG_HEADERS"
26427 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26432 :[FHLC]) ac_mode=$ac_tag; continue;;
26434 case $ac_mode$ac_tag in
26436 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26437 :[FH]-) ac_tag=-:-;;
26438 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26455 -) ac_f="$tmp/stdin";;
26456 *) # Look for the file first in the build tree, then in the source tree
26457 # (if the path is not absolute). The absolute path cannot be DOS-style,
26458 # because $ac_f cannot contain `:'.
26462 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26464 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26466 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26467 as_fn_append ac_file_inputs " '$ac_f'"
26470 # Let's still pretend it is `configure' which instantiates (i.e., don't
26471 # use $as_me), people would be surprised to read:
26472 # /* config.h. Generated by config.status. */
26473 configure_input='Generated from '`
26474 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26476 if test x"$ac_file" != x-; then
26477 configure_input="$ac_file. $configure_input"
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26479 $as_echo "$as_me: creating $ac_file" >&6;}
26481 # Neutralize special characters interpreted by sed in replacement strings.
26482 case $configure_input in #(
26483 *\&* | *\|* | *\\* )
26484 ac_sed_conf_input=`$as_echo "$configure_input" |
26485 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26486 *) ac_sed_conf_input=$configure_input;;
26490 *:-:* | *:-) cat >"$tmp/stdin" \
26491 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26496 ac_dir=`$as_dirname -- "$ac_file" ||
26497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26498 X"$ac_file" : 'X\(//\)[^/]' \| \
26499 X"$ac_file" : 'X\(//\)$' \| \
26500 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26501 $as_echo X"$ac_file" |
26502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26506 /^X\(\/\/\)[^/].*/{
26519 as_dir="$ac_dir"; as_fn_mkdir_p
26523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26525 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26526 # A ".." for each directory in $ac_dir_suffix.
26527 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26528 case $ac_top_builddir_sub in
26529 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26530 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26533 ac_abs_top_builddir=$ac_pwd
26534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26535 # for backward compatibility:
26536 ac_top_builddir=$ac_top_build_prefix
26539 .) # We are building in place.
26541 ac_top_srcdir=$ac_top_builddir_sub
26542 ac_abs_top_srcdir=$ac_pwd ;;
26543 [\\/]* | ?:[\\/]* ) # Absolute name.
26544 ac_srcdir=$srcdir$ac_dir_suffix;
26545 ac_top_srcdir=$srcdir
26546 ac_abs_top_srcdir=$srcdir ;;
26547 *) # Relative name.
26548 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26549 ac_top_srcdir=$ac_top_build_prefix$srcdir
26550 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26562 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26563 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26565 ac_MKDIR_P=$MKDIR_P
26567 [\\/$]* | ?:[\\/]* ) ;;
26568 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26573 # If the template does not know about datarootdir, expand it.
26574 # FIXME: This hack should be removed a few years after 2.60.
26575 ac_datarootdir_hack=; ac_datarootdir_seen=
26586 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26587 *datarootdir*) ac_datarootdir_seen=yes;;
26588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26590 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26593 ac_datarootdir_hack='
26594 s&@datadir@&$datadir&g
26595 s&@docdir@&$docdir&g
26596 s&@infodir@&$infodir&g
26597 s&@localedir@&$localedir&g
26598 s&@mandir@&$mandir&g
26599 s&\\\${datarootdir}&$datarootdir&g' ;;
26603 # Neutralize VPATH when `$srcdir' = `.'.
26604 # Shell code in configure.ac might set extrasub.
26605 # FIXME: do we really want to maintain this feature?
26606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26607 ac_sed_extra="$ac_vpsub
26610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26613 s|@configure_input@|$ac_sed_conf_input|;t t
26614 s&@top_builddir@&$ac_top_builddir_sub&;t t
26615 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26616 s&@srcdir@&$ac_srcdir&;t t
26617 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26618 s&@top_srcdir@&$ac_top_srcdir&;t t
26619 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26620 s&@builddir@&$ac_builddir&;t t
26621 s&@abs_builddir@&$ac_abs_builddir&;t t
26622 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26623 s&@INSTALL@&$ac_INSTALL&;t t
26624 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26625 $ac_datarootdir_hack
26627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26628 || as_fn_error "could not create $ac_file" "$LINENO" 5
26630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26631 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26634 which seems to be undefined. Please make sure it is defined." >&5
26635 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26636 which seems to be undefined. Please make sure it is defined." >&2;}
26640 -) cat "$tmp/out" && rm -f "$tmp/out";;
26641 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26643 || as_fn_error "could not create $ac_file" "$LINENO" 5
26649 if test x"$ac_file" != x-; then
26651 $as_echo "/* $configure_input */" \
26652 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26653 } >"$tmp/config.h" \
26654 || as_fn_error "could not create $ac_file" "$LINENO" 5
26655 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26657 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26660 mv "$tmp/config.h" "$ac_file" \
26661 || as_fn_error "could not create $ac_file" "$LINENO" 5
26664 $as_echo "/* $configure_input */" \
26665 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26666 || as_fn_error "could not create -" "$LINENO" 5
26668 # Compute "$ac_file"'s index in $config_headers.
26671 for _am_header in $config_headers :; do
26672 case $_am_header in
26673 $_am_arg | $_am_arg:* )
26676 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26679 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26680 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26681 X"$_am_arg" : 'X\(//\)[^/]' \| \
26682 X"$_am_arg" : 'X\(//\)$' \| \
26683 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26684 $as_echo X"$_am_arg" |
26685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26689 /^X\(\/\/\)[^/].*/{
26701 s/.*/./; q'`/stamp-h$_am_stamp_count
26704 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26705 $as_echo "$as_me: executing $ac_file commands" >&6;}
26710 case $ac_file$ac_mode in
26712 # Only add multilib support code if we just rebuilt the top-level
26714 case " $CONFIG_FILES " in
26716 ac_file=Makefile . ${multi_basedir}/config-ml.in
26719 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26720 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26721 # are listed without --file. Let's play safe and only enable the eval
26722 # if we detect the quoting.
26723 case $CONFIG_FILES in
26724 *\'*) eval set x "$CONFIG_FILES" ;;
26725 *) set x $CONFIG_FILES ;;
26730 # Strip MF so we end up with the name of the file.
26731 mf=`echo "$mf" | sed -e 's/:.*$//'`
26732 # Check whether this is an Automake generated Makefile or not.
26733 # We used to match only the files named `Makefile.in', but
26734 # some people rename them; so instead we look at the file content.
26735 # Grep'ing the first line is not enough: some people post-process
26736 # each Makefile.in and add a new line on top of each file to say so.
26737 # Grep'ing the whole file is not good either: AIX grep has a line
26738 # limit of 2048, but all sed's we know have understand at least 4000.
26739 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26740 dirpart=`$as_dirname -- "$mf" ||
26741 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26742 X"$mf" : 'X\(//\)[^/]' \| \
26743 X"$mf" : 'X\(//\)$' \| \
26744 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26750 /^X\(\/\/\)[^/].*/{
26766 # Extract the definition of DEPDIR, am__include, and am__quote
26767 # from the Makefile without running `make'.
26768 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26769 test -z "$DEPDIR" && continue
26770 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26771 test -z "am__include" && continue
26772 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26773 # When using ansi2knr, U may be empty or an underscore; expand it
26774 U=`sed -n 's/^U = //p' < "$mf"`
26775 # Find all dependency output files, they are included files with
26776 # $(DEPDIR) in their names. We invoke sed twice because it is the
26777 # simplest approach to changing $(DEPDIR) to its actual value in the
26779 for file in `sed -n "
26780 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26781 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26782 # Make sure the directory exists.
26783 test -f "$dirpart/$file" && continue
26784 fdir=`$as_dirname -- "$file" ||
26785 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26786 X"$file" : 'X\(//\)[^/]' \| \
26787 X"$file" : 'X\(//\)$' \| \
26788 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26789 $as_echo X"$file" |
26790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26794 /^X\(\/\/\)[^/].*/{
26807 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26808 # echo "creating $dirpart/$file"
26809 echo '# dummy' > "$dirpart/$file"
26816 # See if we are running on zsh, and set the options which allow our
26817 # commands through without removal of \ escapes.
26818 if test -n "${ZSH_VERSION+set}" ; then
26819 setopt NO_GLOB_SUBST
26822 cfgfile="${ofile}T"
26823 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26826 cat <<_LT_EOF >> "$cfgfile"
26829 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26830 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26831 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26832 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26834 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26835 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26836 # Written by Gordon Matzigkeit, 1996
26838 # This file is part of GNU Libtool.
26840 # GNU Libtool is free software; you can redistribute it and/or
26841 # modify it under the terms of the GNU General Public License as
26842 # published by the Free Software Foundation; either version 2 of
26843 # the License, or (at your option) any later version.
26845 # As a special exception to the GNU General Public License,
26846 # if you distribute this file as part of a program or library that
26847 # is built using GNU Libtool, you may include this file under the
26848 # same distribution terms that you use for the rest of that program.
26850 # GNU Libtool is distributed in the hope that it will be useful,
26851 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26852 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26853 # GNU General Public License for more details.
26855 # You should have received a copy of the GNU General Public License
26856 # along with GNU Libtool; see the file COPYING. If not, a copy
26857 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26858 # obtained by writing to the Free Software Foundation, Inc.,
26859 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26862 # The names of the tagged configurations supported by this script.
26863 available_tags="FC "
26865 # ### BEGIN LIBTOOL CONFIG
26867 # Which release of libtool.m4 was used?
26868 macro_version=$macro_version
26869 macro_revision=$macro_revision
26871 # Whether or not to build shared libraries.
26872 build_libtool_libs=$enable_shared
26874 # Whether or not to build static libraries.
26875 build_old_libs=$enable_static
26877 # What type of objects to build.
26880 # Whether or not to optimize for fast installation.
26881 fast_install=$enable_fast_install
26883 # Shell to use when invoking shell scripts.
26886 # An echo program that protects backslashes.
26890 host_alias=$host_alias
26894 # The build system.
26895 build_alias=$build_alias
26899 # A sed program that does not truncate output.
26902 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26903 Xsed="\$SED -e 1s/^X//"
26905 # A grep program that handles long lines.
26911 # A literal string matcher.
26914 # A BSD- or MS-compatible name lister.
26917 # Whether we need soft or hard links.
26920 # What is the maximum length of a command?
26921 max_cmd_len=$max_cmd_len
26923 # Object file suffix (normally "o").
26926 # Executable file suffix (normally "").
26929 # whether the shell understands "unset".
26932 # turn spaces into newlines.
26935 # turn newlines into spaces.
26938 # An object symbol dumper.
26939 OBJDUMP=$lt_OBJDUMP
26941 # Method to check whether dependent libraries are shared objects.
26942 deplibs_check_method=$lt_deplibs_check_method
26944 # Command to use when deplibs_check_method == "file_magic".
26945 file_magic_cmd=$lt_file_magic_cmd
26949 AR_FLAGS=$lt_AR_FLAGS
26951 # A symbol stripping program.
26954 # Commands used to install an old-style archive.
26956 old_postinstall_cmds=$lt_old_postinstall_cmds
26957 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26959 # Whether to use a lock for old archive extraction.
26960 lock_old_archive_extraction=$lock_old_archive_extraction
26965 # LTCC compiler flags.
26966 LTCFLAGS=$lt_CFLAGS
26968 # Take the output of nm and produce a listing of raw symbols and C names.
26969 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26971 # Transform the output of nm in a proper C declaration.
26972 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26974 # Transform the output of nm in a C name address pair.
26975 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26977 # Transform the output of nm in a C name address pair when lib prefix is needed.
26978 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26980 # The name of the directory that contains temporary libtool files.
26983 # Used to examine libraries when file_magic_cmd begins with "file".
26984 MAGIC_CMD=$MAGIC_CMD
26986 # Must we lock files when doing compilation?
26987 need_locks=$lt_need_locks
26989 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26990 DSYMUTIL=$lt_DSYMUTIL
26992 # Tool to change global to local symbols on Mac OS X.
26995 # Tool to manipulate fat objects and archives on Mac OS X.
26998 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27001 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27002 OTOOL64=$lt_OTOOL64
27004 # Old archive suffix (normally "a").
27007 # Shared library suffix (normally ".so").
27008 shrext_cmds=$lt_shrext_cmds
27010 # The commands to extract the exported symbol list from a shared archive.
27011 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27013 # Variables whose values should be saved in libtool wrapper scripts and
27014 # restored at link time.
27015 variables_saved_for_relink=$lt_variables_saved_for_relink
27017 # Do we need the "lib" prefix for modules?
27018 need_lib_prefix=$need_lib_prefix
27020 # Do we need a version for libraries?
27021 need_version=$need_version
27023 # Library versioning type.
27024 version_type=$version_type
27026 # Shared library runtime path variable.
27027 runpath_var=$runpath_var
27029 # Shared library path variable.
27030 shlibpath_var=$shlibpath_var
27032 # Is shlibpath searched before the hard-coded library search path?
27033 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27035 # Format of library name prefix.
27036 libname_spec=$lt_libname_spec
27038 # List of archive names. First name is the real one, the rest are links.
27039 # The last name is the one that the linker finds with -lNAME
27040 library_names_spec=$lt_library_names_spec
27042 # The coded name of the library, if different from the real name.
27043 soname_spec=$lt_soname_spec
27045 # Permission mode override for installation of shared libraries.
27046 install_override_mode=$lt_install_override_mode
27048 # Command to use after installation of a shared archive.
27049 postinstall_cmds=$lt_postinstall_cmds
27051 # Command to use after uninstallation of a shared archive.
27052 postuninstall_cmds=$lt_postuninstall_cmds
27054 # Commands used to finish a libtool library installation in a directory.
27055 finish_cmds=$lt_finish_cmds
27057 # As "finish_cmds", except a single script fragment to be evaled but
27059 finish_eval=$lt_finish_eval
27061 # Whether we should hardcode library paths into libraries.
27062 hardcode_into_libs=$hardcode_into_libs
27064 # Compile-time system search path for libraries.
27065 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27067 # Run-time system search path for libraries.
27068 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27070 # Whether dlopen is supported.
27071 dlopen_support=$enable_dlopen
27073 # Whether dlopen of programs is supported.
27074 dlopen_self=$enable_dlopen_self
27076 # Whether dlopen of statically linked programs is supported.
27077 dlopen_self_static=$enable_dlopen_self_static
27079 # Commands to strip libraries.
27080 old_striplib=$lt_old_striplib
27081 striplib=$lt_striplib
27084 # The linker used to build libraries.
27087 # How to create reloadable object files.
27088 reload_flag=$lt_reload_flag
27089 reload_cmds=$lt_reload_cmds
27091 # Commands used to build an old-style archive.
27092 old_archive_cmds=$lt_old_archive_cmds
27094 # A language specific compiler.
27097 # Is the compiler the GNU compiler?
27100 # Compiler flag to turn off builtin functions.
27101 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27103 # How to pass a linker flag through the compiler.
27104 wl=$lt_lt_prog_compiler_wl
27106 # Additional compiler flags for building library objects.
27107 pic_flag=$lt_lt_prog_compiler_pic
27109 # Compiler flag to prevent dynamic linking.
27110 link_static_flag=$lt_lt_prog_compiler_static
27112 # Does compiler simultaneously support -c and -o options?
27113 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27115 # Whether or not to add -lc for building shared libraries.
27116 build_libtool_need_lc=$archive_cmds_need_lc
27118 # Whether or not to disallow shared libs when runtime libs are static.
27119 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27121 # Compiler flag to allow reflexive dlopens.
27122 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27124 # Compiler flag to generate shared objects directly from archives.
27125 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27127 # Whether the compiler copes with passing no objects directly.
27128 compiler_needs_object=$lt_compiler_needs_object
27130 # Create an old-style archive from a shared archive.
27131 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27133 # Create a temporary old-style archive to link instead of a shared archive.
27134 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27136 # Commands used to build a shared archive.
27137 archive_cmds=$lt_archive_cmds
27138 archive_expsym_cmds=$lt_archive_expsym_cmds
27140 # Commands used to build a loadable module if different from building
27141 # a shared archive.
27142 module_cmds=$lt_module_cmds
27143 module_expsym_cmds=$lt_module_expsym_cmds
27145 # Whether we are building with GNU ld or not.
27146 with_gnu_ld=$lt_with_gnu_ld
27148 # Flag that allows shared libraries with undefined symbols to be built.
27149 allow_undefined_flag=$lt_allow_undefined_flag
27151 # Flag that enforces no undefined symbols.
27152 no_undefined_flag=$lt_no_undefined_flag
27154 # Flag to hardcode \$libdir into a binary during linking.
27155 # This must work even if \$libdir does not exist
27156 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27158 # If ld is used when linking, flag to hardcode \$libdir into a binary
27159 # during linking. This must work even if \$libdir does not exist.
27160 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27162 # Whether we need a single "-rpath" flag with a separated argument.
27163 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27165 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27166 # DIR into the resulting binary.
27167 hardcode_direct=$hardcode_direct
27169 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27170 # DIR into the resulting binary and the resulting library dependency is
27171 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27172 # library is relocated.
27173 hardcode_direct_absolute=$hardcode_direct_absolute
27175 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27176 # into the resulting binary.
27177 hardcode_minus_L=$hardcode_minus_L
27179 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27180 # into the resulting binary.
27181 hardcode_shlibpath_var=$hardcode_shlibpath_var
27183 # Set to "yes" if building a shared library automatically hardcodes DIR
27184 # into the library and all subsequent libraries and executables linked
27186 hardcode_automatic=$hardcode_automatic
27188 # Set to yes if linker adds runtime paths of dependent libraries
27189 # to runtime path list.
27190 inherit_rpath=$inherit_rpath
27192 # Whether libtool must link a program against all its dependency libraries.
27193 link_all_deplibs=$link_all_deplibs
27195 # Fix the shell variable \$srcfile for the compiler.
27196 fix_srcfile_path=$lt_fix_srcfile_path
27198 # Set to "yes" if exported symbols are required.
27199 always_export_symbols=$always_export_symbols
27201 # The commands to list exported symbols.
27202 export_symbols_cmds=$lt_export_symbols_cmds
27204 # Symbols that should not be listed in the preloaded symbols.
27205 exclude_expsyms=$lt_exclude_expsyms
27207 # Symbols that must always be exported.
27208 include_expsyms=$lt_include_expsyms
27210 # Commands necessary for linking programs (against libraries) with templates.
27211 prelink_cmds=$lt_prelink_cmds
27213 # Specify filename containing input files.
27214 file_list_spec=$lt_file_list_spec
27216 # How to hardcode a shared library path into an executable.
27217 hardcode_action=$hardcode_action
27219 # The directories searched by this compiler when creating a shared library.
27220 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27222 # Dependencies to place before and after the objects being linked to
27223 # create a shared library.
27224 predep_objects=$lt_predep_objects
27225 postdep_objects=$lt_postdep_objects
27226 predeps=$lt_predeps
27227 postdeps=$lt_postdeps
27229 # The library search path used internally by the compiler when linking
27230 # a shared library.
27231 compiler_lib_search_path=$lt_compiler_lib_search_path
27233 # ### END LIBTOOL CONFIG
27239 cat <<\_LT_EOF >> "$cfgfile"
27240 # AIX sometimes has problems with the GCC collect2 program. For some
27241 # reason, if we set the COLLECT_NAMES environment variable, the problems
27242 # vanish in a puff of smoke.
27243 if test "X${COLLECT_NAMES+set}" != Xset; then
27245 export COLLECT_NAMES
27252 ltmain="$ac_aux_dir/ltmain.sh"
27255 # We use sed instead of cat because bash on DJGPP gets confused if
27256 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27257 # text mode, it properly converts lines to CR/LF. This bash problem
27258 # is reportedly fixed, but why not run on old versions too?
27259 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27260 || (rm -f "$cfgfile"; exit 1)
27264 cat << \_LT_EOF >> "$cfgfile"
27266 # func_dirname file append nondir_replacement
27267 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27268 # otherwise set result to NONDIR_REPLACEMENT.
27272 */*) func_dirname_result="${1%/*}${2}" ;;
27273 * ) func_dirname_result="${3}" ;;
27277 # func_basename file
27280 func_basename_result="${1##*/}"
27283 # func_dirname_and_basename file append nondir_replacement
27284 # perform func_basename and func_dirname in a single function
27286 # dirname: Compute the dirname of FILE. If nonempty,
27287 # add APPEND to the result, otherwise set result
27288 # to NONDIR_REPLACEMENT.
27289 # value returned in "$func_dirname_result"
27290 # basename: Compute filename of FILE.
27291 # value retuned in "$func_basename_result"
27292 # Implementation must be kept synchronized with func_dirname
27293 # and func_basename. For efficiency, we do not delegate to
27294 # those functions but instead duplicate the functionality here.
27295 func_dirname_and_basename ()
27298 */*) func_dirname_result="${1%/*}${2}" ;;
27299 * ) func_dirname_result="${3}" ;;
27301 func_basename_result="${1##*/}"
27304 # func_stripname prefix suffix name
27305 # strip PREFIX and SUFFIX off of NAME.
27306 # PREFIX and SUFFIX must not contain globbing or regex special
27307 # characters, hashes, percent signs, but SUFFIX may contain a leading
27308 # dot (in which case that matches only a dot).
27311 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27312 # positional parameters, so assign one to ordinary parameter first.
27313 func_stripname_result=${3}
27314 func_stripname_result=${func_stripname_result#"${1}"}
27315 func_stripname_result=${func_stripname_result%"${2}"}
27321 func_opt_split_opt=${1%%=*}
27322 func_opt_split_arg=${1#*=}
27329 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27330 *) func_lo2o_result=${1} ;;
27334 # func_xform libobj-or-source
27337 func_xform_result=${1%.*}.lo
27340 # func_arith arithmetic-term...
27343 func_arith_result=$(( $* ))
27347 # STRING may not start with a hyphen.
27350 func_len_result=${#1}
27355 *) # Bourne compatible functions.
27356 cat << \_LT_EOF >> "$cfgfile"
27358 # func_dirname file append nondir_replacement
27359 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27360 # otherwise set result to NONDIR_REPLACEMENT.
27363 # Extract subdirectory from the argument.
27364 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27365 if test "X$func_dirname_result" = "X${1}"; then
27366 func_dirname_result="${3}"
27368 func_dirname_result="$func_dirname_result${2}"
27372 # func_basename file
27375 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27379 # func_stripname prefix suffix name
27380 # strip PREFIX and SUFFIX off of NAME.
27381 # PREFIX and SUFFIX must not contain globbing or regex special
27382 # characters, hashes, percent signs, but SUFFIX may contain a leading
27383 # dot (in which case that matches only a dot).
27384 # func_strip_suffix prefix name
27388 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27389 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27394 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27395 my_sed_long_arg='1s/^-[^=]*=//'
27400 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27401 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27407 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27410 # func_xform libobj-or-source
27413 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27416 # func_arith arithmetic-term...
27419 func_arith_result=`expr "$@"`
27423 # STRING may not start with a hyphen.
27426 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27432 case $lt_shell_append in
27434 cat << \_LT_EOF >> "$cfgfile"
27436 # func_append var value
27437 # Append VALUE to the end of shell variable VAR.
27445 cat << \_LT_EOF >> "$cfgfile"
27447 # func_append var value
27448 # Append VALUE to the end of shell variable VAR.
27459 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27460 || (rm -f "$cfgfile"; exit 1)
27462 mv -f "$cfgfile" "$ofile" ||
27463 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27467 cat <<_LT_EOF >> "$ofile"
27469 # ### BEGIN LIBTOOL TAG CONFIG: FC
27471 # The linker used to build libraries.
27474 # How to create reloadable object files.
27475 reload_flag=$lt_reload_flag_FC
27476 reload_cmds=$lt_reload_cmds_FC
27478 # Commands used to build an old-style archive.
27479 old_archive_cmds=$lt_old_archive_cmds_FC
27481 # A language specific compiler.
27484 # Is the compiler the GNU compiler?
27487 # Compiler flag to turn off builtin functions.
27488 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27490 # How to pass a linker flag through the compiler.
27491 wl=$lt_lt_prog_compiler_wl_FC
27493 # Additional compiler flags for building library objects.
27494 pic_flag=$lt_lt_prog_compiler_pic_FC
27496 # Compiler flag to prevent dynamic linking.
27497 link_static_flag=$lt_lt_prog_compiler_static_FC
27499 # Does compiler simultaneously support -c and -o options?
27500 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27502 # Whether or not to add -lc for building shared libraries.
27503 build_libtool_need_lc=$archive_cmds_need_lc_FC
27505 # Whether or not to disallow shared libs when runtime libs are static.
27506 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27508 # Compiler flag to allow reflexive dlopens.
27509 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27511 # Compiler flag to generate shared objects directly from archives.
27512 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27514 # Whether the compiler copes with passing no objects directly.
27515 compiler_needs_object=$lt_compiler_needs_object_FC
27517 # Create an old-style archive from a shared archive.
27518 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27520 # Create a temporary old-style archive to link instead of a shared archive.
27521 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27523 # Commands used to build a shared archive.
27524 archive_cmds=$lt_archive_cmds_FC
27525 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27527 # Commands used to build a loadable module if different from building
27528 # a shared archive.
27529 module_cmds=$lt_module_cmds_FC
27530 module_expsym_cmds=$lt_module_expsym_cmds_FC
27532 # Whether we are building with GNU ld or not.
27533 with_gnu_ld=$lt_with_gnu_ld_FC
27535 # Flag that allows shared libraries with undefined symbols to be built.
27536 allow_undefined_flag=$lt_allow_undefined_flag_FC
27538 # Flag that enforces no undefined symbols.
27539 no_undefined_flag=$lt_no_undefined_flag_FC
27541 # Flag to hardcode \$libdir into a binary during linking.
27542 # This must work even if \$libdir does not exist
27543 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27545 # If ld is used when linking, flag to hardcode \$libdir into a binary
27546 # during linking. This must work even if \$libdir does not exist.
27547 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27549 # Whether we need a single "-rpath" flag with a separated argument.
27550 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27552 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27553 # DIR into the resulting binary.
27554 hardcode_direct=$hardcode_direct_FC
27556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27557 # DIR into the resulting binary and the resulting library dependency is
27558 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27559 # library is relocated.
27560 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27562 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27563 # into the resulting binary.
27564 hardcode_minus_L=$hardcode_minus_L_FC
27566 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27567 # into the resulting binary.
27568 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27570 # Set to "yes" if building a shared library automatically hardcodes DIR
27571 # into the library and all subsequent libraries and executables linked
27573 hardcode_automatic=$hardcode_automatic_FC
27575 # Set to yes if linker adds runtime paths of dependent libraries
27576 # to runtime path list.
27577 inherit_rpath=$inherit_rpath_FC
27579 # Whether libtool must link a program against all its dependency libraries.
27580 link_all_deplibs=$link_all_deplibs_FC
27582 # Fix the shell variable \$srcfile for the compiler.
27583 fix_srcfile_path=$lt_fix_srcfile_path_FC
27585 # Set to "yes" if exported symbols are required.
27586 always_export_symbols=$always_export_symbols_FC
27588 # The commands to list exported symbols.
27589 export_symbols_cmds=$lt_export_symbols_cmds_FC
27591 # Symbols that should not be listed in the preloaded symbols.
27592 exclude_expsyms=$lt_exclude_expsyms_FC
27594 # Symbols that must always be exported.
27595 include_expsyms=$lt_include_expsyms_FC
27597 # Commands necessary for linking programs (against libraries) with templates.
27598 prelink_cmds=$lt_prelink_cmds_FC
27600 # Specify filename containing input files.
27601 file_list_spec=$lt_file_list_spec_FC
27603 # How to hardcode a shared library path into an executable.
27604 hardcode_action=$hardcode_action_FC
27606 # The directories searched by this compiler when creating a shared library.
27607 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27609 # Dependencies to place before and after the objects being linked to
27610 # create a shared library.
27611 predep_objects=$lt_predep_objects_FC
27612 postdep_objects=$lt_postdep_objects_FC
27613 predeps=$lt_predeps_FC
27614 postdeps=$lt_postdeps_FC
27616 # The library search path used internally by the compiler when linking
27617 # a shared library.
27618 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27620 # ### END LIBTOOL TAG CONFIG: FC
27625 if test "$GCC" = yes; then
27626 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27628 echo "/* generated for $CC */" > tmp-stdint.h
27631 sed 's/^ *//' >> tmp-stdint.h <<EOF
27633 #ifndef GCC_GENERATED_STDINT_H
27634 #define GCC_GENERATED_STDINT_H 1
27636 #include <sys/types.h>
27639 if test "$acx_cv_header_stdint" != stdint.h; then
27640 echo "#include <stddef.h>" >> tmp-stdint.h
27642 if test "$acx_cv_header_stdint" != stddef.h; then
27643 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27646 sed 's/^ *//' >> tmp-stdint.h <<EOF
27647 /* glibc uses these symbols as guards to prevent redefinitions. */
27648 #ifdef __int8_t_defined
27653 #ifdef __uint32_t_defined
27659 # ----------------- done header, emit basic int types -------------
27660 if test "$acx_cv_header_stdint" = stddef.h; then
27661 sed 's/^ *//' >> tmp-stdint.h <<EOF
27665 #ifndef __uint8_t_defined
27666 #define __uint8_t_defined
27668 typedef unsigned $acx_cv_type_int8_t uint8_t;
27675 #ifndef __uint16_t_defined
27676 #define __uint16_t_defined
27678 typedef unsigned $acx_cv_type_int16_t uint16_t;
27685 #ifndef __uint32_t_defined
27686 #define __uint32_t_defined
27688 typedef unsigned $acx_cv_type_int32_t uint32_t;
27695 #ifndef __int8_t_defined
27696 #define __int8_t_defined
27698 typedef $acx_cv_type_int8_t int8_t;
27705 #ifndef __int16_t_defined
27706 #define __int16_t_defined
27708 typedef $acx_cv_type_int16_t int16_t;
27715 #ifndef __int32_t_defined
27716 #define __int32_t_defined
27718 typedef $acx_cv_type_int32_t int32_t;
27723 elif test "$ac_cv_type_u_int32_t" = yes; then
27724 sed 's/^ *//' >> tmp-stdint.h <<EOF
27726 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27739 #ifndef __uint8_t_defined
27740 #define __uint8_t_defined
27742 typedef u_int8_t uint8_t;
27749 #ifndef __uint16_t_defined
27750 #define __uint16_t_defined
27752 typedef u_int16_t uint16_t;
27759 #ifndef __uint32_t_defined
27760 #define __uint32_t_defined
27762 typedef u_int32_t uint32_t;
27768 sed 's/^ *//' >> tmp-stdint.h <<EOF
27770 /* Some systems have guard macros to prevent redefinitions, define them. */
27792 # ------------- done basic int types, emit int64_t types ------------
27793 if test "$ac_cv_type_uint64_t" = yes; then
27794 sed 's/^ *//' >> tmp-stdint.h <<EOF
27796 /* system headers have good uint64_t and int64_t */
27804 elif test "$ac_cv_type_u_int64_t" = yes; then
27805 sed 's/^ *//' >> tmp-stdint.h <<EOF
27807 /* system headers have an u_int64_t (and int64_t) */
27813 #ifndef __uint64_t_defined
27814 #define __uint64_t_defined
27816 typedef u_int64_t uint64_t;
27821 elif test -n "$acx_cv_type_int64_t"; then
27822 sed 's/^ *//' >> tmp-stdint.h <<EOF
27824 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27828 typedef $acx_cv_type_int64_t int64_t;
27833 #ifndef __uint64_t_defined
27834 #define __uint64_t_defined
27836 typedef unsigned $acx_cv_type_int64_t uint64_t;
27842 sed 's/^ *//' >> tmp-stdint.h <<EOF
27844 /* some common heuristics for int64_t, using compiler-specific tests */
27845 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27848 #ifndef __int64_t_defined
27850 typedef long long int64_t;
27857 typedef unsigned long long uint64_t;
27861 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27862 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27863 does not implement __extension__. But that compiler doesn't define
27865 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27866 # define __extension__
27872 __extension__ typedef long long int64_t;
27878 __extension__ typedef unsigned long long uint64_t;
27882 #elif !defined __STRICT_ANSI__
27883 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27888 typedef __int64 int64_t;
27894 typedef unsigned __int64 uint64_t;
27897 # endif /* compiler */
27899 #endif /* ANSI version */
27903 # ------------- done int64_t types, emit intptr types ------------
27904 if test "$ac_cv_type_uintptr_t" != yes; then
27905 sed 's/^ *//' >> tmp-stdint.h <<EOF
27907 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27908 #ifndef __uintptr_t_defined
27910 typedef u$acx_cv_type_intptr_t uintptr_t;
27913 #ifndef __intptr_t_defined
27915 typedef $acx_cv_type_intptr_t intptr_t;
27921 # ------------- done intptr types, emit int_least types ------------
27922 if test "$ac_cv_type_int_least32_t" != yes; then
27923 sed 's/^ *//' >> tmp-stdint.h <<EOF
27925 /* Define int_least types */
27926 typedef int8_t int_least8_t;
27927 typedef int16_t int_least16_t;
27928 typedef int32_t int_least32_t;
27930 typedef int64_t int_least64_t;
27933 typedef uint8_t uint_least8_t;
27934 typedef uint16_t uint_least16_t;
27935 typedef uint32_t uint_least32_t;
27937 typedef uint64_t uint_least64_t;
27942 # ------------- done intptr types, emit int_fast types ------------
27943 if test "$ac_cv_type_int_fast32_t" != yes; then
27944 sed 's/^ *//' >> tmp-stdint.h <<EOF
27946 /* Define int_fast types. short is often slow */
27947 typedef int8_t int_fast8_t;
27948 typedef int int_fast16_t;
27949 typedef int32_t int_fast32_t;
27951 typedef int64_t int_fast64_t;
27954 typedef uint8_t uint_fast8_t;
27955 typedef unsigned int uint_fast16_t;
27956 typedef uint32_t uint_fast32_t;
27958 typedef uint64_t uint_fast64_t;
27963 if test "$ac_cv_type_uintmax_t" != yes; then
27964 sed 's/^ *//' >> tmp-stdint.h <<EOF
27966 /* Define intmax based on what we found */
27969 typedef int64_t intmax_t;
27971 typedef long intmax_t;
27976 typedef uint64_t uintmax_t;
27978 typedef unsigned long uintmax_t;
27984 sed 's/^ *//' >> tmp-stdint.h <<EOF
27986 #endif /* GCC_GENERATED_STDINT_H */
27989 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27992 mv -f tmp-stdint.h gstdint.h
28003 ac_clean_files=$ac_clean_files_save
28005 test $ac_write_fail = 0 ||
28006 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28009 # configure is writing to config.log, and then calls config.status.
28010 # config.status does its own redirection, appending to config.log.
28011 # Unfortunately, on DOS this fails, as config.log is still kept open
28012 # by configure, so config.status won't be able to write to it; its
28013 # output is simply discarded. So we exec the FD to /dev/null,
28014 # effectively closing config.log, so it can be properly (re)opened and
28015 # appended to by config.status. When coming back to configure, we
28016 # need to make the FD available again.
28017 if test "$no_create" != yes; then
28019 ac_config_status_args=
28020 test "$silent" = yes &&
28021 ac_config_status_args="$ac_config_status_args --quiet"
28023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28026 # would make configure fail if this is the last instruction.
28027 $ac_cs_success || as_fn_exit $?
28029 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28031 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}