* alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
[official-gcc.git] / libgfortran / configure
blobc57cbfd9cce1e6f1496037b5ab5da2276cd2a62d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 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 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
556 case X$lt_ECHO in
557 X*--fallback-echo)
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
561 esac
563 ECHO=${lt_ECHO-echo}
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
566 shift
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
573 else
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
580 shift
581 cat <<_LT_EOF
583 _LT_EOF
584 exit 0
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
588 # if CDPATH is set.
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
598 then
599 break
601 done
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
608 else
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
617 IFS="$lt_save_ifs"
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
622 ECHO="$dir/echo"
623 break
625 done
626 IFS="$lt_save_ifs"
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
634 ECHO='print -r'
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
641 export CONFIG_SHELL
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
643 else
644 # Try using printf.
645 ECHO='printf %s\n'
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
649 # Cool, printf works
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
656 export CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
658 export SHELL
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
665 else
666 # maybe with a smaller string...
667 prev=:
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
671 then
672 break
674 prev="$cmd"
675 done
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
681 else
682 # Oops. We lost completely, so just stick with echo.
683 ECHO=echo
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
693 lt_ECHO=$ECHO
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
703 # Name of the host.
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
709 # Initializations.
711 ac_default_prefix=/usr/local
712 ac_clean_files=
713 ac_config_libobj_dir=.
714 LIBOBJS=
715 cross_compiling=no
716 subdirs=
717 MFLAGS=
718 MAKEFLAGS=
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
722 PACKAGE_NAME='GNU Fortran Runtime Library'
723 PACKAGE_TARNAME='libgfortran'
724 PACKAGE_VERSION='0.3'
725 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
726 PACKAGE_BUGREPORT=''
728 # Factoring default headers for most tests.
729 ac_includes_default="\
730 #include <stdio.h>
731 #ifdef HAVE_SYS_TYPES_H
732 # include <sys/types.h>
733 #endif
734 #ifdef HAVE_SYS_STAT_H
735 # include <sys/stat.h>
736 #endif
737 #ifdef STDC_HEADERS
738 # include <stdlib.h>
739 # include <stddef.h>
740 #else
741 # ifdef HAVE_STDLIB_H
742 # include <stdlib.h>
743 # endif
744 #endif
745 #ifdef HAVE_STRING_H
746 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
747 # include <memory.h>
748 # endif
749 # include <string.h>
750 #endif
751 #ifdef HAVE_STRINGS_H
752 # include <strings.h>
753 #endif
754 #ifdef HAVE_INTTYPES_H
755 # include <inttypes.h>
756 #endif
757 #ifdef HAVE_STDINT_H
758 # include <stdint.h>
759 #endif
760 #ifdef HAVE_UNISTD_H
761 # include <unistd.h>
762 #endif"
764 ac_subst_vars='SHELL
765 PATH_SEPARATOR
766 PACKAGE_NAME
767 PACKAGE_TARNAME
768 PACKAGE_VERSION
769 PACKAGE_STRING
770 PACKAGE_BUGREPORT
771 exec_prefix
772 prefix
773 program_transform_name
774 bindir
775 sbindir
776 libexecdir
777 datarootdir
778 datadir
779 sysconfdir
780 sharedstatedir
781 localstatedir
782 includedir
783 oldincludedir
784 docdir
785 infodir
786 htmldir
787 dvidir
788 pdfdir
789 psdir
790 libdir
791 localedir
792 mandir
793 DEFS
794 ECHO_C
795 ECHO_N
796 ECHO_T
797 LIBS
798 build_alias
799 host_alias
800 target_alias
801 build
802 build_cpu
803 build_vendor
804 build_os
805 build_libsubdir
806 build_subdir
807 host_subdir
808 target_subdir
809 onestep_TRUE
810 onestep_FALSE
811 onestep
812 host
813 host_cpu
814 host_vendor
815 host_os
816 target
817 target_cpu
818 target_vendor
819 target_os
820 INSTALL_PROGRAM
821 INSTALL_SCRIPT
822 INSTALL_DATA
823 CYGPATH_W
824 PACKAGE
825 VERSION
826 ACLOCAL
827 AUTOCONF
828 AUTOMAKE
829 AUTOHEADER
830 MAKEINFO
831 install_sh
832 STRIP
833 INSTALL_STRIP_PROGRAM
834 mkdir_p
836 SET_MAKE
837 am__leading_dot
838 AMTAR
839 am__tar
840 am__untar
841 MAINTAINER_MODE_TRUE
842 MAINTAINER_MODE_FALSE
843 MAINT
844 multi_basedir
845 toolexecdir
846 toolexeclibdir
848 CFLAGS
849 LDFLAGS
850 CPPFLAGS
851 ac_ct_CC
852 EXEEXT
853 OBJEXT
854 DEPDIR
855 am__include
856 am__quote
857 AMDEP_TRUE
858 AMDEP_FALSE
859 AMDEPBACKSLASH
860 CCDEPMODE
861 am__fastdepCC_TRUE
862 am__fastdepCC_FALSE
863 AM_FCFLAGS
864 AM_CFLAGS
865 LIBGFOR_USE_SYMVER_TRUE
866 LIBGFOR_USE_SYMVER_FALSE
869 RANLIB
870 LIBTOOL
872 GREP
873 EGREP
874 FGREP
876 DUMPBIN
877 ac_ct_DUMPBIN
879 LN_S
880 lt_ECHO
882 enable_shared
883 enable_static
885 FCFLAGS
886 ac_ct_FC
887 extra_ldflags_libgfortran
888 FPU_HOST_HEADER
889 LIBOBJS
890 LTLIBOBJS'
891 ac_subst_files=''
892 ac_precious_vars='build_alias
893 host_alias
894 target_alias
896 CPPFLAGS
898 FCFLAGS
899 LDFLAGS
900 LIBS'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
908 cache_file=/dev/null
909 exec_prefix=NONE
910 no_create=
911 no_recursion=
912 prefix=NONE
913 program_prefix=NONE
914 program_suffix=NONE
915 program_transform_name=s,x,x,
916 silent=
917 site=
918 srcdir=
919 verbose=
920 x_includes=NONE
921 x_libraries=NONE
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir='${exec_prefix}/bin'
930 sbindir='${exec_prefix}/sbin'
931 libexecdir='${exec_prefix}/libexec'
932 datarootdir='${prefix}/share'
933 datadir='${datarootdir}'
934 sysconfdir='${prefix}/etc'
935 sharedstatedir='${prefix}/com'
936 localstatedir='${prefix}/var'
937 includedir='${prefix}/include'
938 oldincludedir='/usr/include'
939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir='${datarootdir}/info'
941 htmldir='${docdir}'
942 dvidir='${docdir}'
943 pdfdir='${docdir}'
944 psdir='${docdir}'
945 libdir='${exec_prefix}/lib'
946 localedir='${datarootdir}/locale'
947 mandir='${datarootdir}/man'
949 ac_prev=
950 ac_dashdash=
951 for ac_option
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\$ac_option
956 ac_prev=
957 continue
960 case $ac_option in
961 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 *) ac_optarg=yes ;;
963 esac
965 # Accept the important Cygnus configure options, so we can diagnose typos.
967 case $ac_dashdash$ac_option in
969 ac_dashdash=yes ;;
971 -bindir | --bindir | --bindi | --bind | --bin | --bi)
972 ac_prev=bindir ;;
973 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
974 bindir=$ac_optarg ;;
976 -build | --build | --buil | --bui | --bu)
977 ac_prev=build_alias ;;
978 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
979 build_alias=$ac_optarg ;;
981 -cache-file | --cache-file | --cache-fil | --cache-fi \
982 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
983 ac_prev=cache_file ;;
984 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
985 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
986 cache_file=$ac_optarg ;;
988 --config-cache | -C)
989 cache_file=config.cache ;;
991 -datadir | --datadir | --datadi | --datad)
992 ac_prev=datadir ;;
993 -datadir=* | --datadir=* | --datadi=* | --datad=*)
994 datadir=$ac_optarg ;;
996 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
997 | --dataroo | --dataro | --datar)
998 ac_prev=datarootdir ;;
999 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1000 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1001 datarootdir=$ac_optarg ;;
1003 -disable-* | --disable-*)
1004 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1008 { (exit 1); exit 1; }; }
1009 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1010 eval enable_$ac_feature=no ;;
1012 -docdir | --docdir | --docdi | --doc | --do)
1013 ac_prev=docdir ;;
1014 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1015 docdir=$ac_optarg ;;
1017 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1018 ac_prev=dvidir ;;
1019 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1020 dvidir=$ac_optarg ;;
1022 -enable-* | --enable-*)
1023 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 eval enable_$ac_feature=\$ac_optarg ;;
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1042 with_gas=yes ;;
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 ac_prev=htmldir ;;
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 | --ht=*)
1060 htmldir=$ac_optarg ;;
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 ac_prev=infodir ;;
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1074 -libdir | --libdir | --libdi | --libd)
1075 ac_prev=libdir ;;
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 ac_prev=mandir ;;
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1105 with_fp=no ;;
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1109 no_create=yes ;;
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 no_recursion=yes ;;
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 ac_prev=prefix ;;
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 ac_prev=pdfdir ;;
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1165 -psdir | --psdir | --psdi | --psd | --ps)
1166 ac_prev=psdir ;;
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 psdir=$ac_optarg ;;
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1172 silent=yes ;;
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 ac_prev=sbindir ;;
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 | --sbi=* | --sb=*)
1178 sbindir=$ac_optarg ;;
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1183 | --sha | --sh)
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 | --sha=* | --sh=*)
1189 sharedstatedir=$ac_optarg ;;
1191 -site | --site | --sit)
1192 ac_prev=site ;;
1193 -site=* | --site=* | --sit=*)
1194 site=$ac_optarg ;;
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 ac_prev=srcdir ;;
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 verbose=yes ;;
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1219 -with-* | --with-*)
1220 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_$ac_package=\$ac_optarg ;;
1228 -without-* | --without-*)
1229 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 { echo "$as_me: error: invalid package name: $ac_package" >&2
1233 { (exit 1); exit 1; }; }
1234 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1235 eval with_$ac_package=no ;;
1237 --x)
1238 # Obsolete; use --with-x.
1239 with_x=yes ;;
1241 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1242 | --x-incl | --x-inc | --x-in | --x-i)
1243 ac_prev=x_includes ;;
1244 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1245 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1246 x_includes=$ac_optarg ;;
1248 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1249 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1250 ac_prev=x_libraries ;;
1251 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1252 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1253 x_libraries=$ac_optarg ;;
1255 -*) { echo "$as_me: error: unrecognized option: $ac_option
1256 Try \`$0 --help' for more information." >&2
1257 { (exit 1); exit 1; }; }
1260 *=*)
1261 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1264 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1265 { (exit 1); exit 1; }; }
1266 eval $ac_envvar=\$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1277 esac
1278 done
1280 if test -n "$ac_prev"; then
1281 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1282 { echo "$as_me: error: missing argument to $ac_option" >&2
1283 { (exit 1); exit 1; }; }
1286 # Be sure to have absolute directory names.
1287 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val=\$$ac_var
1293 case $ac_val in
1294 [\\/$]* | ?:[\\/]* ) continue;;
1295 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296 esac
1297 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1298 { (exit 1); exit 1; }; }
1299 done
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1304 build=$build_alias
1305 host=$host_alias
1306 target=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x; then
1310 if test "x$build_alias" = x; then
1311 cross_compiling=maybe
1312 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used." >&2
1314 elif test "x$build_alias" != "x$host_alias"; then
1315 cross_compiling=yes
1319 ac_tool_prefix=
1320 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1322 test "$silent" = yes && exec 6>/dev/null
1325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1326 ac_ls_di=`ls -di .` &&
1327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1328 { echo "$as_me: error: Working directory cannot be determined" >&2
1329 { (exit 1); exit 1; }; }
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 { echo "$as_me: error: pwd does not report name of working directory" >&2
1332 { (exit 1); exit 1; }; }
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir=`$as_dirname -- "$0" ||
1340 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$0" : 'X\(//\)[^/]' \| \
1342 X"$0" : 'X\(//\)$' \| \
1343 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1344 echo X"$0" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 s//\1/
1349 /^X\(\/\/\)[^/].*/{
1350 s//\1/
1353 /^X\(\/\/\)$/{
1354 s//\1/
1357 /^X\(\/\).*/{
1358 s//\1/
1361 s/.*/./; q'`
1362 srcdir=$ac_confdir
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 srcdir=..
1366 else
1367 ac_srcdir_defaulted=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1372 { (exit 1); exit 1; }; }
1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 ac_abs_confdir=`(
1376 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1377 { (exit 1); exit 1; }; }
1378 pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 cat <<_ACEOF
1403 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1412 Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 [PREFIX]
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1456 _ACEOF
1458 cat <<\_ACEOF
1460 Program names:
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465 System types:
1466 --build=BUILD configure for building on BUILD [guessed]
1467 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1468 --target=TARGET configure for building compilers for TARGET [HOST]
1469 _ACEOF
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1475 esac
1476 cat <<\_ACEOF
1478 Optional Features:
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1482 --enable-intermodule build the library in one step
1483 --enable-maintainer-mode enable make rules and dependencies not useful
1484 (and sometimes confusing) to the casual installer
1485 --enable-multilib build many library versions (default)
1486 --disable-dependency-tracking speeds up one-time build
1487 --enable-dependency-tracking do not reject slow dependency extractors
1488 --enable-shared[=PKGS] build shared libraries [default=yes]
1489 --enable-static[=PKGS] build static libraries [default=yes]
1490 --enable-fast-install[=PKGS]
1491 optimize for fast installation [default=yes]
1492 --disable-libtool-lock avoid locking (might break parallel builds)
1493 --disable-largefile omit support for large files
1495 Optional Packages:
1496 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1497 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1498 --with-build-libsubdir=DIR Directory where to find libraries for build system
1499 --with-pic try to use only PIC/non-PIC objects [default=use
1500 both]
1501 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1503 Some influential environment variables:
1504 CC C compiler command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1507 nonstandard directory <lib dir>
1508 LIBS libraries to pass to the linker, e.g. -l<library>
1509 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1510 you have headers in a nonstandard directory <include dir>
1511 CPP C preprocessor
1512 FC Fortran compiler command
1513 FCFLAGS Fortran compiler flags
1515 Use these variables to override the choices made by `configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1518 _ACEOF
1519 ac_status=$?
1522 if test "$ac_init_help" = "recursive"; then
1523 # If there are subdirs, report their specific --help.
1524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525 test -d "$ac_dir" || continue
1526 ac_builddir=.
1528 case "$ac_dir" in
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 esac ;;
1538 esac
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1544 case $srcdir in
1545 .) # We are building in place.
1546 ac_srcdir=.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1553 *) # Relative name.
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 esac
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1563 echo &&
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1566 echo &&
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1568 else
1569 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 fi || ac_status=$?
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1572 done
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1577 cat <<\_ACEOF
1578 GNU Fortran Runtime Library configure 0.3
1579 generated by GNU Autoconf 2.61
1581 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1588 cat >config.log <<_ACEOF
1589 This file contains any messages produced by compilers while
1590 running configure, to aid debugging if configure makes a mistake.
1592 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1593 generated by GNU Autoconf 2.61. Invocation command line was
1595 $ $0 $@
1597 _ACEOF
1598 exec 5>>config.log
1600 cat <<_ASUNAME
1601 ## --------- ##
1602 ## Platform. ##
1603 ## --------- ##
1605 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1606 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1607 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1608 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1609 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1611 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1612 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1614 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1615 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1616 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1617 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1618 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1619 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1620 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1622 _ASUNAME
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625 for as_dir in $PATH
1627 IFS=$as_save_IFS
1628 test -z "$as_dir" && as_dir=.
1629 echo "PATH: $as_dir"
1630 done
1631 IFS=$as_save_IFS
1633 } >&5
1635 cat >&5 <<_ACEOF
1638 ## ----------- ##
1639 ## Core tests. ##
1640 ## ----------- ##
1642 _ACEOF
1645 # Keep a trace of the command line.
1646 # Strip out --no-create and --no-recursion so they do not pile up.
1647 # Strip out --silent because we don't want to record it for future runs.
1648 # Also quote any args containing shell meta-characters.
1649 # Make two passes to allow for proper duplicate-argument suppression.
1650 ac_configure_args=
1651 ac_configure_args0=
1652 ac_configure_args1=
1653 ac_must_keep_next=false
1654 for ac_pass in 1 2
1656 for ac_arg
1658 case $ac_arg in
1659 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1661 | -silent | --silent | --silen | --sile | --sil)
1662 continue ;;
1663 *\'*)
1664 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1665 esac
1666 case $ac_pass in
1667 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1669 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1670 if test $ac_must_keep_next = true; then
1671 ac_must_keep_next=false # Got value, back to normal.
1672 else
1673 case $ac_arg in
1674 *=* | --config-cache | -C | -disable-* | --disable-* \
1675 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1676 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1677 | -with-* | --with-* | -without-* | --without-* | --x)
1678 case "$ac_configure_args0 " in
1679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1680 esac
1682 -* ) ac_must_keep_next=true ;;
1683 esac
1685 ac_configure_args="$ac_configure_args '$ac_arg'"
1687 esac
1688 done
1689 done
1690 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1691 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1693 # When interrupted or exit'd, cleanup temporary files, and complete
1694 # config.log. We remove comments because anyway the quotes in there
1695 # would cause problems or look ugly.
1696 # WARNING: Use '\'' to represent an apostrophe within the trap.
1697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1698 trap 'exit_status=$?
1699 # Save into config.log some information that might help in debugging.
1701 echo
1703 cat <<\_ASBOX
1704 ## ---------------- ##
1705 ## Cache variables. ##
1706 ## ---------------- ##
1707 _ASBOX
1708 echo
1709 # The following way of writing the cache mishandles newlines in values,
1711 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1712 eval ac_val=\$$ac_var
1713 case $ac_val in #(
1714 *${as_nl}*)
1715 case $ac_var in #(
1716 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1717 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1718 esac
1719 case $ac_var in #(
1720 _ | IFS | as_nl) ;; #(
1721 *) $as_unset $ac_var ;;
1722 esac ;;
1723 esac
1724 done
1725 (set) 2>&1 |
1726 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1727 *${as_nl}ac_space=\ *)
1728 sed -n \
1729 "s/'\''/'\''\\\\'\'''\''/g;
1730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1731 ;; #(
1733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1735 esac |
1736 sort
1738 echo
1740 cat <<\_ASBOX
1741 ## ----------------- ##
1742 ## Output variables. ##
1743 ## ----------------- ##
1744 _ASBOX
1745 echo
1746 for ac_var in $ac_subst_vars
1748 eval ac_val=\$$ac_var
1749 case $ac_val in
1750 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751 esac
1752 echo "$ac_var='\''$ac_val'\''"
1753 done | sort
1754 echo
1756 if test -n "$ac_subst_files"; then
1757 cat <<\_ASBOX
1758 ## ------------------- ##
1759 ## File substitutions. ##
1760 ## ------------------- ##
1761 _ASBOX
1762 echo
1763 for ac_var in $ac_subst_files
1765 eval ac_val=\$$ac_var
1766 case $ac_val in
1767 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1768 esac
1769 echo "$ac_var='\''$ac_val'\''"
1770 done | sort
1771 echo
1774 if test -s confdefs.h; then
1775 cat <<\_ASBOX
1776 ## ----------- ##
1777 ## confdefs.h. ##
1778 ## ----------- ##
1779 _ASBOX
1780 echo
1781 cat confdefs.h
1782 echo
1784 test "$ac_signal" != 0 &&
1785 echo "$as_me: caught signal $ac_signal"
1786 echo "$as_me: exit $exit_status"
1787 } >&5
1788 rm -f core *.core core.conftest.* &&
1789 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1790 exit $exit_status
1792 for ac_signal in 1 2 13 15; do
1793 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1794 done
1795 ac_signal=0
1797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1798 rm -f -r conftest* confdefs.h
1800 # Predefined preprocessor variables.
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_NAME "$PACKAGE_NAME"
1804 _ACEOF
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1809 _ACEOF
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1814 _ACEOF
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_STRING "$PACKAGE_STRING"
1819 _ACEOF
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1824 _ACEOF
1827 # Let the site file select an alternate cache file if it wants to.
1828 # Prefer explicitly selected file to automatically selected ones.
1829 if test -n "$CONFIG_SITE"; then
1830 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then
1832 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1833 else
1834 set x "$ac_default_prefix/share/config.site" \
1835 "$ac_default_prefix/etc/config.site"
1837 shift
1838 for ac_site_file
1840 if test -r "$ac_site_file"; then
1841 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1842 echo "$as_me: loading site script $ac_site_file" >&6;}
1843 sed 's/^/| /' "$ac_site_file" >&5
1844 . "$ac_site_file"
1846 done
1848 if test -r "$cache_file"; then
1849 # Some versions of bash will fail to source /dev/null (special
1850 # files actually), so we avoid doing that.
1851 if test -f "$cache_file"; then
1852 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1853 echo "$as_me: loading cache $cache_file" >&6;}
1854 case $cache_file in
1855 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856 *) . "./$cache_file";;
1857 esac
1859 else
1860 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861 echo "$as_me: creating cache $cache_file" >&6;}
1862 >$cache_file
1865 # Check that the precious variables saved in the cache have kept the same
1866 # value.
1867 ac_cache_corrupted=false
1868 for ac_var in $ac_precious_vars; do
1869 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1870 eval ac_new_set=\$ac_env_${ac_var}_set
1871 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1872 eval ac_new_val=\$ac_env_${ac_var}_value
1873 case $ac_old_set,$ac_new_set in
1874 set,)
1875 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1876 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877 ac_cache_corrupted=: ;;
1878 ,set)
1879 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1880 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1881 ac_cache_corrupted=: ;;
1882 ,);;
1884 if test "x$ac_old_val" != "x$ac_new_val"; then
1885 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1886 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1887 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1888 echo "$as_me: former value: $ac_old_val" >&2;}
1889 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1890 echo "$as_me: current value: $ac_new_val" >&2;}
1891 ac_cache_corrupted=:
1892 fi;;
1893 esac
1894 # Pass precious variables to config.status.
1895 if test "$ac_new_set" = set; then
1896 case $ac_new_val in
1897 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1898 *) ac_arg=$ac_var=$ac_new_val ;;
1899 esac
1900 case " $ac_configure_args " in
1901 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1902 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1903 esac
1905 done
1906 if $ac_cache_corrupted; then
1907 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1908 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1909 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1910 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1911 { (exit 1); exit 1; }; }
1938 ac_ext=c
1939 ac_cpp='$CPP $CPPFLAGS'
1940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1945 ac_config_headers="$ac_config_headers config.h"
1947 ac_aux_dir=
1948 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1949 if test -f "$ac_dir/install-sh"; then
1950 ac_aux_dir=$ac_dir
1951 ac_install_sh="$ac_aux_dir/install-sh -c"
1952 break
1953 elif test -f "$ac_dir/install.sh"; then
1954 ac_aux_dir=$ac_dir
1955 ac_install_sh="$ac_aux_dir/install.sh -c"
1956 break
1957 elif test -f "$ac_dir/shtool"; then
1958 ac_aux_dir=$ac_dir
1959 ac_install_sh="$ac_aux_dir/shtool install -c"
1960 break
1962 done
1963 if test -z "$ac_aux_dir"; then
1964 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1965 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1966 { (exit 1); exit 1; }; }
1969 # These three variables are undocumented and unsupported,
1970 # and are intended to be withdrawn in a future Autoconf release.
1971 # They can cause serious problems if a builder's source tree is in a directory
1972 # whose full name contains unusual characters.
1973 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1974 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1975 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1978 # Make sure we can run config.sub.
1979 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1980 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1981 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1982 { (exit 1); exit 1; }; }
1984 { echo "$as_me:$LINENO: checking build system type" >&5
1985 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1986 if test "${ac_cv_build+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 else
1989 ac_build_alias=$build_alias
1990 test "x$ac_build_alias" = x &&
1991 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1992 test "x$ac_build_alias" = x &&
1993 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1994 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1995 { (exit 1); exit 1; }; }
1996 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1997 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1998 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1999 { (exit 1); exit 1; }; }
2002 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2003 echo "${ECHO_T}$ac_cv_build" >&6; }
2004 case $ac_cv_build in
2005 *-*-*) ;;
2006 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2007 echo "$as_me: error: invalid value of canonical build" >&2;}
2008 { (exit 1); exit 1; }; };;
2009 esac
2010 build=$ac_cv_build
2011 ac_save_IFS=$IFS; IFS='-'
2012 set x $ac_cv_build
2013 shift
2014 build_cpu=$1
2015 build_vendor=$2
2016 shift; shift
2017 # Remember, the first character of IFS is used to create $*,
2018 # except with old shells:
2019 build_os=$*
2020 IFS=$ac_save_IFS
2021 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2024 case ${build_alias} in
2025 "") build_noncanonical=${build} ;;
2026 *) build_noncanonical=${build_alias} ;;
2027 esac
2029 case ${host_alias} in
2030 "") host_noncanonical=${build_noncanonical} ;;
2031 *) host_noncanonical=${host_alias} ;;
2032 esac
2034 case ${target_alias} in
2035 "") target_noncanonical=${host_noncanonical} ;;
2036 *) target_noncanonical=${target_alias} ;;
2037 esac
2040 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2041 # have matching libraries, they should use host libraries: Makefile.tpl
2042 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2043 # However, they still use the build modules, because the corresponding
2044 # host modules (e.g. bison) are only built for the host when bootstrap
2045 # finishes. So:
2046 # - build_subdir is where we find build modules, and never changes.
2047 # - build_libsubdir is where we find build libraries, and can be overridden.
2049 # Prefix 'build-' so this never conflicts with target_subdir.
2050 build_subdir="build-${build_noncanonical}"
2052 # Check whether --with-build-libsubdir was given.
2053 if test "${with_build_libsubdir+set}" = set; then
2054 withval=$with_build_libsubdir; build_libsubdir="$withval"
2055 else
2056 build_libsubdir="$build_subdir"
2059 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2060 if ( test $srcdir = . && test -d gcc ) \
2061 || test -d $srcdir/../host-${host_noncanonical}; then
2062 host_subdir="host-${host_noncanonical}"
2063 else
2064 host_subdir=.
2066 # No prefix.
2067 target_subdir=${target_noncanonical}
2070 # -------
2071 # Options
2072 # -------
2074 { echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2075 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6; }
2076 # Check whether --enable-version-specific-runtime-libs was given.
2077 if test "${enable_version_specific_runtime_libs+set}" = set; then
2078 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2079 yes) version_specific_libs=yes ;;
2080 no) version_specific_libs=no ;;
2081 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2082 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2083 { (exit 1); exit 1; }; };;
2084 esac
2085 else
2086 version_specific_libs=no
2089 { echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2090 echo "${ECHO_T}$version_specific_libs" >&6; }
2092 # Build with intermodule optimisations
2093 { echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
2094 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6; }
2095 # Check whether --enable-intermodule was given.
2096 if test "${enable_intermodule+set}" = set; then
2097 enableval=$enable_intermodule; case "$enable_intermodule" in
2098 yes) onestep="-onestep";;
2099 *) onestep="";;
2100 esac
2101 else
2102 onestep=""
2105 { echo "$as_me:$LINENO: result: $enable_intermodule" >&5
2106 echo "${ECHO_T}$enable_intermodule" >&6; }
2109 if test x$onestep = x-onestep; then
2110 onestep_TRUE=
2111 onestep_FALSE='#'
2112 else
2113 onestep_TRUE='#'
2114 onestep_FALSE=
2119 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2121 # You will slowly go insane if you do not grok the following fact: when
2122 # building this library, the top-level /target/ becomes the library's /host/.
2124 # configure then causes --target to default to --host, exactly like any
2125 # other package using autoconf. Therefore, 'target' and 'host' will
2126 # always be the same. This makes sense both for native and cross compilers
2127 # just think about it for a little while. :-)
2129 # Also, if this library is being configured as part of a cross compiler, the
2130 # top-level configure script will pass the "real" host as $with_cross_host.
2132 # Do not delete or change the following two lines. For why, see
2133 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2134 { echo "$as_me:$LINENO: checking host system type" >&5
2135 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2136 if test "${ac_cv_host+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 else
2139 if test "x$host_alias" = x; then
2140 ac_cv_host=$ac_cv_build
2141 else
2142 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2143 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2144 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2145 { (exit 1); exit 1; }; }
2149 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2150 echo "${ECHO_T}$ac_cv_host" >&6; }
2151 case $ac_cv_host in
2152 *-*-*) ;;
2153 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2154 echo "$as_me: error: invalid value of canonical host" >&2;}
2155 { (exit 1); exit 1; }; };;
2156 esac
2157 host=$ac_cv_host
2158 ac_save_IFS=$IFS; IFS='-'
2159 set x $ac_cv_host
2160 shift
2161 host_cpu=$1
2162 host_vendor=$2
2163 shift; shift
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2166 host_os=$*
2167 IFS=$ac_save_IFS
2168 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2171 { echo "$as_me:$LINENO: checking target system type" >&5
2172 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2173 if test "${ac_cv_target+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 else
2176 if test "x$target_alias" = x; then
2177 ac_cv_target=$ac_cv_host
2178 else
2179 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2180 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2181 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2186 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2187 echo "${ECHO_T}$ac_cv_target" >&6; }
2188 case $ac_cv_target in
2189 *-*-*) ;;
2190 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2191 echo "$as_me: error: invalid value of canonical target" >&2;}
2192 { (exit 1); exit 1; }; };;
2193 esac
2194 target=$ac_cv_target
2195 ac_save_IFS=$IFS; IFS='-'
2196 set x $ac_cv_target
2197 shift
2198 target_cpu=$1
2199 target_vendor=$2
2200 shift; shift
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2203 target_os=$*
2204 IFS=$ac_save_IFS
2205 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2208 # The aliases save the names the user supplied, while $host etc.
2209 # will get canonicalized.
2210 test -n "$target_alias" &&
2211 test "$program_prefix$program_suffix$program_transform_name" = \
2212 NONENONEs,x,x, &&
2213 program_prefix=${target_alias}-
2214 target_alias=${target_alias-$host_alias}
2216 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2217 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2218 # 1.9.6: minimum required version
2219 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2220 # of other PACKAGE_* variables will, however, and there's nothing
2221 # we can do about that; they come from AC_INIT).
2222 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2223 # file in the top srcdir, etc, etc), so stop complaining.
2224 # -Wall: turns on all automake warnings...
2225 # -Wno-portability: ...except this one, since GNU make is required.
2226 am__api_version="1.9"
2227 # Find a good install program. We prefer a C program (faster),
2228 # so one script is as good as another. But avoid the broken or
2229 # incompatible versions:
2230 # SysV /etc/install, /usr/sbin/install
2231 # SunOS /usr/etc/install
2232 # IRIX /sbin/install
2233 # AIX /bin/install
2234 # AmigaOS /C/install, which installs bootblocks on floppy discs
2235 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2236 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2237 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2238 # OS/2's system install, which has a completely different semantic
2239 # ./install, which can be erroneously created by make from ./install.sh.
2240 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2241 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2242 if test -z "$INSTALL"; then
2243 if test "${ac_cv_path_install+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 else
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 for as_dir in $PATH
2249 IFS=$as_save_IFS
2250 test -z "$as_dir" && as_dir=.
2251 # Account for people who put trailing slashes in PATH elements.
2252 case $as_dir/ in
2253 ./ | .// | /cC/* | \
2254 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2255 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2256 /usr/ucb/* ) ;;
2258 # OSF1 and SCO ODT 3.0 have their own names for install.
2259 # Don't use installbsd from OSF since it installs stuff as root
2260 # by default.
2261 for ac_prog in ginstall scoinst install; do
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2264 if test $ac_prog = install &&
2265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2266 # AIX install. It has an incompatible calling convention.
2268 elif test $ac_prog = install &&
2269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270 # program-specific install script used by HP pwplus--don't use.
2272 else
2273 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2274 break 3
2277 done
2278 done
2280 esac
2281 done
2282 IFS=$as_save_IFS
2286 if test "${ac_cv_path_install+set}" = set; then
2287 INSTALL=$ac_cv_path_install
2288 else
2289 # As a last resort, use the slow shell script. Don't cache a
2290 # value for INSTALL within a source directory, because that will
2291 # break other packages using the cache if that directory is
2292 # removed, or if the value is a relative name.
2293 INSTALL=$ac_install_sh
2296 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2297 echo "${ECHO_T}$INSTALL" >&6; }
2299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2300 # It thinks the first close brace ends the variable substitution.
2301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2305 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2307 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2308 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2309 # Just in case
2310 sleep 1
2311 echo timestamp > conftest.file
2312 # Do `set' in a subshell so we don't clobber the current shell's
2313 # arguments. Must try -L first in case configure is actually a
2314 # symlink; some systems play weird games with the mod time of symlinks
2315 # (eg FreeBSD returns the mod time of the symlink's containing
2316 # directory).
2317 if (
2318 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2319 if test "$*" = "X"; then
2320 # -L didn't work.
2321 set X `ls -t $srcdir/configure conftest.file`
2323 rm -f conftest.file
2324 if test "$*" != "X $srcdir/configure conftest.file" \
2325 && test "$*" != "X conftest.file $srcdir/configure"; then
2327 # If neither matched, then we have a broken ls. This can happen
2328 # if, for instance, CONFIG_SHELL is bash and it inherits a
2329 # broken ls alias from the environment. This has actually
2330 # happened. Such a system could not be considered "sane".
2331 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2332 alias in your environment" >&5
2333 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2334 alias in your environment" >&2;}
2335 { (exit 1); exit 1; }; }
2338 test "$2" = conftest.file
2340 then
2341 # Ok.
2343 else
2344 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2345 Check your system clock" >&5
2346 echo "$as_me: error: newly created file is older than distributed files!
2347 Check your system clock" >&2;}
2348 { (exit 1); exit 1; }; }
2350 { echo "$as_me:$LINENO: result: yes" >&5
2351 echo "${ECHO_T}yes" >&6; }
2352 test "$program_prefix" != NONE &&
2353 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2354 # Use a double $ so make ignores it.
2355 test "$program_suffix" != NONE &&
2356 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2357 # Double any \ or $. echo might interpret backslashes.
2358 # By default was `s,x,x', remove it if useless.
2359 cat <<\_ACEOF >conftest.sed
2360 s/[\\$]/&&/g;s/;s,x,x,$//
2361 _ACEOF
2362 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2363 rm -f conftest.sed
2365 # expand $ac_aux_dir to an absolute path
2366 am_aux_dir=`cd $ac_aux_dir && pwd`
2368 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2369 # Use eval to expand $SHELL
2370 if eval "$MISSING --run true"; then
2371 am_missing_run="$MISSING --run "
2372 else
2373 am_missing_run=
2374 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2375 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2378 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2379 # We used to keeping the `.' as first argument, in order to
2380 # allow $(mkdir_p) to be used without argument. As in
2381 # $(mkdir_p) $(somedir)
2382 # where $(somedir) is conditionally defined. However this is wrong
2383 # for two reasons:
2384 # 1. if the package is installed by a user who cannot write `.'
2385 # make install will fail,
2386 # 2. the above comment should most certainly read
2387 # $(mkdir_p) $(DESTDIR)$(somedir)
2388 # so it does not work when $(somedir) is undefined and
2389 # $(DESTDIR) is not.
2390 # To support the latter case, we have to write
2391 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2392 # so the `.' trick is pointless.
2393 mkdir_p='mkdir -p --'
2394 else
2395 # On NextStep and OpenStep, the `mkdir' command does not
2396 # recognize any option. It will interpret all options as
2397 # directories to create, and then abort because `.' already
2398 # exists.
2399 for d in ./-p ./--version;
2401 test -d $d && rmdir $d
2402 done
2403 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2404 if test -f "$ac_aux_dir/mkinstalldirs"; then
2405 mkdir_p='$(mkinstalldirs)'
2406 else
2407 mkdir_p='$(install_sh) -d'
2411 for ac_prog in gawk mawk nawk awk
2413 # Extract the first word of "$ac_prog", so it can be a program name with args.
2414 set dummy $ac_prog; ac_word=$2
2415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2417 if test "${ac_cv_prog_AWK+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 else
2420 if test -n "$AWK"; then
2421 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2422 else
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 for as_dir in $PATH
2426 IFS=$as_save_IFS
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_AWK="$ac_prog"
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 break 2
2434 done
2435 done
2436 IFS=$as_save_IFS
2440 AWK=$ac_cv_prog_AWK
2441 if test -n "$AWK"; then
2442 { echo "$as_me:$LINENO: result: $AWK" >&5
2443 echo "${ECHO_T}$AWK" >&6; }
2444 else
2445 { echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6; }
2450 test -n "$AWK" && break
2451 done
2453 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2454 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2455 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2456 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 else
2459 cat >conftest.make <<\_ACEOF
2460 SHELL = /bin/sh
2461 all:
2462 @echo '@@@%%%=$(MAKE)=@@@%%%'
2463 _ACEOF
2464 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2465 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2466 *@@@%%%=?*=@@@%%%*)
2467 eval ac_cv_prog_make_${ac_make}_set=yes;;
2469 eval ac_cv_prog_make_${ac_make}_set=no;;
2470 esac
2471 rm -f conftest.make
2473 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2474 { echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6; }
2476 SET_MAKE=
2477 else
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2480 SET_MAKE="MAKE=${MAKE-make}"
2483 rm -rf .tst 2>/dev/null
2484 mkdir .tst 2>/dev/null
2485 if test -d .tst; then
2486 am__leading_dot=.
2487 else
2488 am__leading_dot=_
2490 rmdir .tst 2>/dev/null
2492 # test to see if srcdir already configured
2493 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2494 test -f $srcdir/config.status; then
2495 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2496 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2497 { (exit 1); exit 1; }; }
2500 # test whether we have cygpath
2501 if test -z "$CYGPATH_W"; then
2502 if (cygpath --version) >/dev/null 2>/dev/null; then
2503 CYGPATH_W='cygpath -w'
2504 else
2505 CYGPATH_W=echo
2510 # Define the identity of the package.
2511 PACKAGE='libgfortran'
2512 VERSION='0.3'
2515 # Some tools Automake needs.
2517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2531 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2533 # Installed binaries are usually stripped using `strip' when the user
2534 # run `make install-strip'. However `strip' might not be the right
2535 # tool to use in cross-compilation environments, therefore Automake
2536 # will honor the `STRIP' environment variable to overrule this program.
2537 if test "$cross_compiling" != no; then
2538 if test -n "$ac_tool_prefix"; then
2539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2540 set dummy ${ac_tool_prefix}strip; ac_word=$2
2541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543 if test "${ac_cv_prog_STRIP+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test -n "$STRIP"; then
2547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2562 IFS=$as_save_IFS
2566 STRIP=$ac_cv_prog_STRIP
2567 if test -n "$STRIP"; then
2568 { echo "$as_me:$LINENO: result: $STRIP" >&5
2569 echo "${ECHO_T}$STRIP" >&6; }
2570 else
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2577 if test -z "$ac_cv_prog_STRIP"; then
2578 ac_ct_STRIP=$STRIP
2579 # Extract the first word of "strip", so it can be a program name with args.
2580 set dummy strip; ac_word=$2
2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 else
2586 if test -n "$ac_ct_STRIP"; then
2587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2588 else
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 for as_dir in $PATH
2592 IFS=$as_save_IFS
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_ac_ct_STRIP="strip"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 break 2
2600 done
2601 done
2602 IFS=$as_save_IFS
2606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2607 if test -n "$ac_ct_STRIP"; then
2608 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2609 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2610 else
2611 { echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6; }
2615 if test "x$ac_ct_STRIP" = x; then
2616 STRIP=":"
2617 else
2618 case $cross_compiling:$ac_tool_warned in
2619 yes:)
2620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2621 whose name does not start with the host triplet. If you think this
2622 configuration is useful to you, please write to autoconf@gnu.org." >&5
2623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2624 whose name does not start with the host triplet. If you think this
2625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2626 ac_tool_warned=yes ;;
2627 esac
2628 STRIP=$ac_ct_STRIP
2630 else
2631 STRIP="$ac_cv_prog_STRIP"
2635 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2637 # We need awk for the "check" target. The system "awk" is bad on
2638 # some platforms.
2639 # Always define AMTAR for backward compatibility.
2641 AMTAR=${AMTAR-"${am_missing_run}tar"}
2643 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2650 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2651 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2652 # Check whether --enable-maintainer-mode was given.
2653 if test "${enable_maintainer_mode+set}" = set; then
2654 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2655 else
2656 USE_MAINTAINER_MODE=no
2659 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2660 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2663 if test $USE_MAINTAINER_MODE = yes; then
2664 MAINTAINER_MODE_TRUE=
2665 MAINTAINER_MODE_FALSE='#'
2666 else
2667 MAINTAINER_MODE_TRUE='#'
2668 MAINTAINER_MODE_FALSE=
2671 MAINT=$MAINTAINER_MODE_TRUE
2674 # Default to --enable-multilib
2675 # Check whether --enable-multilib was given.
2676 if test "${enable_multilib+set}" = set; then
2677 enableval=$enable_multilib; case "$enableval" in
2678 yes) multilib=yes ;;
2679 no) multilib=no ;;
2680 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2681 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2682 { (exit 1); exit 1; }; } ;;
2683 esac
2684 else
2685 multilib=yes
2689 # We may get other options which we leave undocumented:
2690 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2691 # See config-ml.in if you want the gory details.
2693 if test "$srcdir" = "."; then
2694 if test "$with_target_subdir" != "."; then
2695 multi_basedir="$srcdir/$with_multisrctop../.."
2696 else
2697 multi_basedir="$srcdir/$with_multisrctop.."
2699 else
2700 multi_basedir="$srcdir/.."
2704 # Even if the default multilib is not a cross compilation,
2705 # it may be that some of the other multilibs are.
2706 if test $cross_compiling = no && test $multilib = yes \
2707 && test "x${with_multisubdir}" != x ; then
2708 cross_compiling=maybe
2711 ac_config_commands="$ac_config_commands default-1"
2714 # Handy for debugging:
2715 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2717 # Are we being configured with some form of cross compiler?
2718 # NB: We don't actually need to know this just now, but when, say, a test
2719 # suite is included, we'll have to know.
2720 if test "$build" != "$host"; then
2721 LIBGFOR_IS_NATIVE=false
2723 else
2724 LIBGFOR_IS_NATIVE=true
2727 # Calculate toolexeclibdir
2728 # Also toolexecdir, though it's only used in toolexeclibdir
2729 case ${version_specific_libs} in
2730 yes)
2731 # Need the gcc compiler version to know where to install libraries
2732 # and header files if --enable-version-specific-runtime-libs option
2733 # is selected.
2734 toolexecdir='$(libdir)/gcc/$(target_alias)'
2735 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2738 if test -n "$with_cross_host" &&
2739 test x"$with_cross_host" != x"no"; then
2740 # Install a library built with a cross compiler in tooldir, not libdir.
2741 toolexecdir='$(exec_prefix)/$(target_alias)'
2742 toolexeclibdir='$(toolexecdir)/lib'
2743 else
2744 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2745 toolexeclibdir='$(libdir)'
2747 multi_os_directory=`$CC -print-multi-os-directory`
2748 case $multi_os_directory in
2749 .) ;; # Avoid trailing /.
2750 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2751 esac
2753 esac
2757 # Check the compiler.
2758 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2759 # We must force CC to /not/ be precious variables; otherwise
2760 # the wrong, non-multilib-adjusted value will be used in multilibs.
2761 # As a side effect, we have to subst CFLAGS ourselves.
2765 ac_ext=c
2766 ac_cpp='$CPP $CPPFLAGS'
2767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2772 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 else
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC="$CC" # Let the user override the test.
2780 else
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 for as_dir in $PATH
2784 IFS=$as_save_IFS
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 break 2
2792 done
2793 done
2794 IFS=$as_save_IFS
2798 CC=$ac_cv_prog_CC
2799 if test -n "$CC"; then
2800 { echo "$as_me:$LINENO: result: $CC" >&5
2801 echo "${ECHO_T}$CC" >&6; }
2802 else
2803 { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2809 if test -z "$ac_cv_prog_CC"; then
2810 ac_ct_CC=$CC
2811 # Extract the first word of "gcc", so it can be a program name with args.
2812 set dummy gcc; ac_word=$2
2813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 else
2818 if test -n "$ac_ct_CC"; then
2819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2820 else
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 for as_dir in $PATH
2824 IFS=$as_save_IFS
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_ac_ct_CC="gcc"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 break 2
2832 done
2833 done
2834 IFS=$as_save_IFS
2838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2839 if test -n "$ac_ct_CC"; then
2840 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2841 echo "${ECHO_T}$ac_ct_CC" >&6; }
2842 else
2843 { echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6; }
2847 if test "x$ac_ct_CC" = x; then
2848 CC=""
2849 else
2850 case $cross_compiling:$ac_tool_warned in
2851 yes:)
2852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2853 whose name does not start with the host triplet. If you think this
2854 configuration is useful to you, please write to autoconf@gnu.org." >&5
2855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2856 whose name does not start with the host triplet. If you think this
2857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2858 ac_tool_warned=yes ;;
2859 esac
2860 CC=$ac_ct_CC
2862 else
2863 CC="$ac_cv_prog_CC"
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy ${ac_tool_prefix}cc; ac_word=$2
2870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2872 if test "${ac_cv_prog_CC+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 else
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC="$CC" # Let the user override the test.
2877 else
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH
2881 IFS=$as_save_IFS
2882 test -z "$as_dir" && as_dir=.
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885 ac_cv_prog_CC="${ac_tool_prefix}cc"
2886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 break 2
2889 done
2890 done
2891 IFS=$as_save_IFS
2895 CC=$ac_cv_prog_CC
2896 if test -n "$CC"; then
2897 { echo "$as_me:$LINENO: result: $CC" >&5
2898 echo "${ECHO_T}$CC" >&6; }
2899 else
2900 { echo "$as_me:$LINENO: result: no" >&5
2901 echo "${ECHO_T}no" >&6; }
2907 if test -z "$CC"; then
2908 # Extract the first word of "cc", so it can be a program name with args.
2909 set dummy cc; ac_word=$2
2910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2912 if test "${ac_cv_prog_CC+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 else
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC="$CC" # Let the user override the test.
2917 else
2918 ac_prog_rejected=no
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2922 IFS=$as_save_IFS
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2927 ac_prog_rejected=yes
2928 continue
2930 ac_cv_prog_CC="cc"
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 break 2
2934 done
2935 done
2936 IFS=$as_save_IFS
2938 if test $ac_prog_rejected = yes; then
2939 # We found a bogon in the path, so make sure we never use it.
2940 set dummy $ac_cv_prog_CC
2941 shift
2942 if test $# != 0; then
2943 # We chose a different compiler from the bogus one.
2944 # However, it has the same basename, so the bogon will be chosen
2945 # first if we set CC to just the basename; use the full file name.
2946 shift
2947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2952 CC=$ac_cv_prog_CC
2953 if test -n "$CC"; then
2954 { echo "$as_me:$LINENO: result: $CC" >&5
2955 echo "${ECHO_T}$CC" >&6; }
2956 else
2957 { echo "$as_me:$LINENO: result: no" >&5
2958 echo "${ECHO_T}no" >&6; }
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 for ac_prog in cl.exe
2967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 else
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC="$CC" # Let the user override the test.
2976 else
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2980 IFS=$as_save_IFS
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 break 2
2988 done
2989 done
2990 IFS=$as_save_IFS
2994 CC=$ac_cv_prog_CC
2995 if test -n "$CC"; then
2996 { echo "$as_me:$LINENO: result: $CC" >&5
2997 echo "${ECHO_T}$CC" >&6; }
2998 else
2999 { echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6; }
3004 test -n "$CC" && break
3005 done
3007 if test -z "$CC"; then
3008 ac_ct_CC=$CC
3009 for ac_prog in cl.exe
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy $ac_prog; ac_word=$2
3013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018 if test -n "$ac_ct_CC"; then
3019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3024 IFS=$as_save_IFS
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_ac_ct_CC="$ac_prog"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 break 2
3032 done
3033 done
3034 IFS=$as_save_IFS
3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3041 echo "${ECHO_T}$ac_ct_CC" >&6; }
3042 else
3043 { echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6; }
3048 test -n "$ac_ct_CC" && break
3049 done
3051 if test "x$ac_ct_CC" = x; then
3052 CC=""
3053 else
3054 case $cross_compiling:$ac_tool_warned in
3055 yes:)
3056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3057 whose name does not start with the host triplet. If you think this
3058 configuration is useful to you, please write to autoconf@gnu.org." >&5
3059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3062 ac_tool_warned=yes ;;
3063 esac
3064 CC=$ac_ct_CC
3071 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3072 See \`config.log' for more details." >&5
3073 echo "$as_me: error: no acceptable C compiler found in \$PATH
3074 See \`config.log' for more details." >&2;}
3075 { (exit 1); exit 1; }; }
3077 # Provide some information about the compiler.
3078 echo "$as_me:$LINENO: checking for C compiler version" >&5
3079 ac_compiler=`set X $ac_compile; echo $2`
3080 { (ac_try="$ac_compiler --version >&5"
3081 case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3084 esac
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_compiler --version >&5") 2>&5
3087 ac_status=$?
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }
3090 { (ac_try="$ac_compiler -v >&5"
3091 case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094 esac
3095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3096 (eval "$ac_compiler -v >&5") 2>&5
3097 ac_status=$?
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3100 { (ac_try="$ac_compiler -V >&5"
3101 case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_compiler -V >&5") 2>&5
3107 ac_status=$?
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3123 return 0;
3125 _ACEOF
3126 # FIXME: Cleanup?
3127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3128 (eval $ac_link) 2>&5
3129 ac_status=$?
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3132 gcc_no_link=no
3133 else
3134 gcc_no_link=yes
3137 if test x$gcc_no_link = xyes; then
3138 # Setting cross_compile will disable run tests; it will
3139 # also disable AC_CHECK_FILE but that's generally
3140 # correct if we can't link.
3141 cross_compiling=yes
3142 EXEEXT=
3143 else
3144 cat >conftest.$ac_ext <<_ACEOF
3145 /* confdefs.h. */
3146 _ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3152 main ()
3156 return 0;
3158 _ACEOF
3159 ac_clean_files_save=$ac_clean_files
3160 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3161 # Try to create an executable without -o first, disregard a.out.
3162 # It will help us diagnose broken compilers, and finding out an intuition
3163 # of exeext.
3164 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3165 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3166 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3168 # List of possible output files, starting from the most likely.
3169 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3170 # only as a last resort. b.out is created by i960 compilers.
3171 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3173 # The IRIX 6 linker writes into existing files which may not be
3174 # executable, retaining their permissions. Remove them first so a
3175 # subsequent execution test works.
3176 ac_rmfiles=
3177 for ac_file in $ac_files
3179 case $ac_file in
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3182 esac
3183 done
3184 rm -f $ac_rmfiles
3186 if { (ac_try="$ac_link_default"
3187 case "(($ac_try" in
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3190 esac
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_link_default") 2>&5
3193 ac_status=$?
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; then
3196 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3197 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3198 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3199 # so that the user can short-circuit this test for compilers unknown to
3200 # Autoconf.
3201 for ac_file in $ac_files ''
3203 test -f "$ac_file" || continue
3204 case $ac_file in
3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3207 [ab].out )
3208 # We found the default executable, but exeext='' is most
3209 # certainly right.
3210 break;;
3211 *.* )
3212 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3213 then :; else
3214 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3216 # We set ac_cv_exeext here because the later test for it is not
3217 # safe: cross compilers may not add the suffix if given an `-o'
3218 # argument, so we may need to know it at that point already.
3219 # Even if this section looks crufty: it has the advantage of
3220 # actually working.
3221 break;;
3223 break;;
3224 esac
3225 done
3226 test "$ac_cv_exeext" = no && ac_cv_exeext=
3228 else
3229 ac_file=''
3232 { echo "$as_me:$LINENO: result: $ac_file" >&5
3233 echo "${ECHO_T}$ac_file" >&6; }
3234 if test -z "$ac_file"; then
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3239 See \`config.log' for more details." >&5
3240 echo "$as_me: error: C compiler cannot create executables
3241 See \`config.log' for more details." >&2;}
3242 { (exit 77); exit 77; }; }
3245 ac_exeext=$ac_cv_exeext
3247 # Check that the compiler produces executables we can run. If not, either
3248 # the compiler is broken, or we cross compile.
3249 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3250 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3251 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3252 # If not cross compiling, check that we can run a simple program.
3253 if test "$cross_compiling" != yes; then
3254 if { ac_try='./$ac_file'
3255 { (case "(($ac_try" in
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3258 esac
3259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3260 (eval "$ac_try") 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 cross_compiling=no
3265 else
3266 if test "$cross_compiling" = maybe; then
3267 cross_compiling=yes
3268 else
3269 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3270 If you meant to cross compile, use \`--host'.
3271 See \`config.log' for more details." >&5
3272 echo "$as_me: error: cannot run C compiled programs.
3273 If you meant to cross compile, use \`--host'.
3274 See \`config.log' for more details." >&2;}
3275 { (exit 1); exit 1; }; }
3279 { echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6; }
3282 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3283 ac_clean_files=$ac_clean_files_save
3284 # Check that the compiler produces executables we can run. If not, either
3285 # the compiler is broken, or we cross compile.
3286 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3287 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3288 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3289 echo "${ECHO_T}$cross_compiling" >&6; }
3291 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3292 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3293 if { (ac_try="$ac_link"
3294 case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_link") 2>&5
3300 ac_status=$?
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; then
3303 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3304 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3305 # work properly (i.e., refer to `conftest.exe'), while it won't with
3306 # `rm'.
3307 for ac_file in conftest.exe conftest conftest.*; do
3308 test -f "$ac_file" || continue
3309 case $ac_file in
3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3311 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3312 break;;
3313 * ) break;;
3314 esac
3315 done
3316 else
3317 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3318 See \`config.log' for more details." >&5
3319 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3320 See \`config.log' for more details." >&2;}
3321 { (exit 1); exit 1; }; }
3324 rm -f conftest$ac_cv_exeext
3325 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3326 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3328 rm -f conftest.$ac_ext
3329 EXEEXT=$ac_cv_exeext
3330 ac_exeext=$EXEEXT
3332 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3333 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3334 if test "${ac_cv_objext+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337 cat >conftest.$ac_ext <<_ACEOF
3338 /* confdefs.h. */
3339 _ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3345 main ()
3349 return 0;
3351 _ACEOF
3352 rm -f conftest.o conftest.obj
3353 if { (ac_try="$ac_compile"
3354 case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3357 esac
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_compile") 2>&5
3360 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; then
3363 for ac_file in conftest.o conftest.obj conftest.*; do
3364 test -f "$ac_file" || continue;
3365 case $ac_file in
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3368 break;;
3369 esac
3370 done
3371 else
3372 echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3376 See \`config.log' for more details." >&5
3377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3378 See \`config.log' for more details." >&2;}
3379 { (exit 1); exit 1; }; }
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3384 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3385 echo "${ECHO_T}$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3387 ac_objext=$OBJEXT
3388 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3389 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 else
3393 cat >conftest.$ac_ext <<_ACEOF
3394 /* confdefs.h. */
3395 _ACEOF
3396 cat confdefs.h >>conftest.$ac_ext
3397 cat >>conftest.$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3401 main ()
3403 #ifndef __GNUC__
3404 choke me
3405 #endif
3408 return 0;
3410 _ACEOF
3411 rm -f conftest.$ac_objext
3412 if { (ac_try="$ac_compile"
3413 case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3416 esac
3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3418 (eval "$ac_compile") 2>conftest.er1
3419 ac_status=$?
3420 grep -v '^ *+' conftest.er1 >conftest.err
3421 rm -f conftest.er1
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } && {
3425 test -z "$ac_c_werror_flag" ||
3426 test ! -s conftest.err
3427 } && test -s conftest.$ac_objext; then
3428 ac_compiler_gnu=yes
3429 else
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3433 ac_compiler_gnu=no
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3440 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3441 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3442 GCC=`test $ac_compiler_gnu = yes && echo yes`
3443 ac_test_CFLAGS=${CFLAGS+set}
3444 ac_save_CFLAGS=$CFLAGS
3445 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3446 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3447 if test "${ac_cv_prog_cc_g+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 ac_save_c_werror_flag=$ac_c_werror_flag
3451 ac_c_werror_flag=yes
3452 ac_cv_prog_cc_g=no
3453 CFLAGS="-g"
3454 cat >conftest.$ac_ext <<_ACEOF
3455 /* confdefs.h. */
3456 _ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3462 main ()
3466 return 0;
3468 _ACEOF
3469 rm -f conftest.$ac_objext
3470 if { (ac_try="$ac_compile"
3471 case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3476 (eval "$ac_compile") 2>conftest.er1
3477 ac_status=$?
3478 grep -v '^ *+' conftest.er1 >conftest.err
3479 rm -f conftest.er1
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } && {
3483 test -z "$ac_c_werror_flag" ||
3484 test ! -s conftest.err
3485 } && test -s conftest.$ac_objext; then
3486 ac_cv_prog_cc_g=yes
3487 else
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 CFLAGS=""
3492 cat >conftest.$ac_ext <<_ACEOF
3493 /* confdefs.h. */
3494 _ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3500 main ()
3504 return 0;
3506 _ACEOF
3507 rm -f conftest.$ac_objext
3508 if { (ac_try="$ac_compile"
3509 case "(($ac_try" in
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3512 esac
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compile") 2>conftest.er1
3515 ac_status=$?
3516 grep -v '^ *+' conftest.er1 >conftest.err
3517 rm -f conftest.er1
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && {
3521 test -z "$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3523 } && test -s conftest.$ac_objext; then
3525 else
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 ac_c_werror_flag=$ac_save_c_werror_flag
3530 CFLAGS="-g"
3531 cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h. */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3539 main ()
3543 return 0;
3545 _ACEOF
3546 rm -f conftest.$ac_objext
3547 if { (ac_try="$ac_compile"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3563 ac_cv_prog_cc_g=yes
3564 else
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3581 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3582 if test "$ac_test_CFLAGS" = set; then
3583 CFLAGS=$ac_save_CFLAGS
3584 elif test $ac_cv_prog_cc_g = yes; then
3585 if test "$GCC" = yes; then
3586 CFLAGS="-g -O2"
3587 else
3588 CFLAGS="-g"
3590 else
3591 if test "$GCC" = yes; then
3592 CFLAGS="-O2"
3593 else
3594 CFLAGS=
3597 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3598 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3599 if test "${ac_cv_prog_cc_c89+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 else
3602 ac_cv_prog_cc_c89=no
3603 ac_save_CC=$CC
3604 cat >conftest.$ac_ext <<_ACEOF
3605 /* confdefs.h. */
3606 _ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 #include <stdarg.h>
3611 #include <stdio.h>
3612 #include <sys/types.h>
3613 #include <sys/stat.h>
3614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3615 struct buf { int x; };
3616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3617 static char *e (p, i)
3618 char **p;
3619 int i;
3621 return p[i];
3623 static char *f (char * (*g) (char **, int), char **p, ...)
3625 char *s;
3626 va_list v;
3627 va_start (v,p);
3628 s = g (p, va_arg (v,int));
3629 va_end (v);
3630 return s;
3633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3634 function prototypes and stuff, but not '\xHH' hex character constants.
3635 These don't provoke an error unfortunately, instead are silently treated
3636 as 'x'. The following induces an error, until -std is added to get
3637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3638 array size at least. It's necessary to write '\x00'==0 to get something
3639 that's true only with -std. */
3640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3643 inside strings and character constants. */
3644 #define FOO(x) 'x'
3645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3647 int test (int i, double x);
3648 struct s1 {int (*f) (int a);};
3649 struct s2 {int (*f) (double a);};
3650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3651 int argc;
3652 char **argv;
3654 main ()
3656 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3658 return 0;
3660 _ACEOF
3661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3662 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3664 CC="$ac_save_CC $ac_arg"
3665 rm -f conftest.$ac_objext
3666 if { (ac_try="$ac_compile"
3667 case "(($ac_try" in
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3670 esac
3671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_compile") 2>conftest.er1
3673 ac_status=$?
3674 grep -v '^ *+' conftest.er1 >conftest.err
3675 rm -f conftest.er1
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } && {
3679 test -z "$ac_c_werror_flag" ||
3680 test ! -s conftest.err
3681 } && test -s conftest.$ac_objext; then
3682 ac_cv_prog_cc_c89=$ac_arg
3683 else
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.$ac_ext >&5
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 done
3693 rm -f conftest.$ac_ext
3694 CC=$ac_save_CC
3697 # AC_CACHE_VAL
3698 case "x$ac_cv_prog_cc_c89" in
3700 { echo "$as_me:$LINENO: result: none needed" >&5
3701 echo "${ECHO_T}none needed" >&6; } ;;
3702 xno)
3703 { echo "$as_me:$LINENO: result: unsupported" >&5
3704 echo "${ECHO_T}unsupported" >&6; } ;;
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3708 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3709 esac
3712 ac_ext=c
3713 ac_cpp='$CPP $CPPFLAGS'
3714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3717 DEPDIR="${am__leading_dot}deps"
3719 ac_config_commands="$ac_config_commands depfiles"
3722 am_make=${MAKE-make}
3723 cat > confinc << 'END'
3724 am__doit:
3725 @echo done
3726 .PHONY: am__doit
3728 # If we don't find an include directive, just comment out the code.
3729 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3730 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3731 am__include="#"
3732 am__quote=
3733 _am_result=none
3734 # First try GNU make style include.
3735 echo "include confinc" > confmf
3736 # We grep out `Entering directory' and `Leaving directory'
3737 # messages which can occur if `w' ends up in MAKEFLAGS.
3738 # In particular we don't look at `^make:' because GNU make might
3739 # be invoked under some other name (usually "gmake"), in which
3740 # case it prints its new name instead of `make'.
3741 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3742 am__include=include
3743 am__quote=
3744 _am_result=GNU
3746 # Now try BSD make style include.
3747 if test "$am__include" = "#"; then
3748 echo '.include "confinc"' > confmf
3749 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3750 am__include=.include
3751 am__quote="\""
3752 _am_result=BSD
3757 { echo "$as_me:$LINENO: result: $_am_result" >&5
3758 echo "${ECHO_T}$_am_result" >&6; }
3759 rm -f confinc confmf
3761 # Check whether --enable-dependency-tracking was given.
3762 if test "${enable_dependency_tracking+set}" = set; then
3763 enableval=$enable_dependency_tracking;
3766 if test "x$enable_dependency_tracking" != xno; then
3767 am_depcomp="$ac_aux_dir/depcomp"
3768 AMDEPBACKSLASH='\'
3772 if test "x$enable_dependency_tracking" != xno; then
3773 AMDEP_TRUE=
3774 AMDEP_FALSE='#'
3775 else
3776 AMDEP_TRUE='#'
3777 AMDEP_FALSE=
3783 depcc="$CC" am_compiler_list=
3785 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3786 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3787 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3789 else
3790 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3791 # We make a subdir and do the tests there. Otherwise we can end up
3792 # making bogus files that we don't know about and never remove. For
3793 # instance it was reported that on HP-UX the gcc test will end up
3794 # making a dummy file named `D' -- because `-MD' means `put the output
3795 # in D'.
3796 mkdir conftest.dir
3797 # Copy depcomp to subdir because otherwise we won't find it if we're
3798 # using a relative directory.
3799 cp "$am_depcomp" conftest.dir
3800 cd conftest.dir
3801 # We will build objects and dependencies in a subdirectory because
3802 # it helps to detect inapplicable dependency modes. For instance
3803 # both Tru64's cc and ICC support -MD to output dependencies as a
3804 # side effect of compilation, but ICC will put the dependencies in
3805 # the current directory while Tru64 will put them in the object
3806 # directory.
3807 mkdir sub
3809 am_cv_CC_dependencies_compiler_type=none
3810 if test "$am_compiler_list" = ""; then
3811 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3813 for depmode in $am_compiler_list; do
3814 # Setup a source with many dependencies, because some compilers
3815 # like to wrap large dependency lists on column 80 (with \), and
3816 # we should not choose a depcomp mode which is confused by this.
3818 # We need to recreate these files for each test, as the compiler may
3819 # overwrite some of them when testing with obscure command lines.
3820 # This happens at least with the AIX C compiler.
3821 : > sub/conftest.c
3822 for i in 1 2 3 4 5 6; do
3823 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3824 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3825 # Solaris 8's {/usr,}/bin/sh.
3826 touch sub/conftst$i.h
3827 done
3828 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3830 case $depmode in
3831 nosideeffect)
3832 # after this tag, mechanisms are not by side-effect, so they'll
3833 # only be used when explicitly requested
3834 if test "x$enable_dependency_tracking" = xyes; then
3835 continue
3836 else
3837 break
3840 none) break ;;
3841 esac
3842 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3843 # mode. It turns out that the SunPro C++ compiler does not properly
3844 # handle `-M -o', and we need to detect this.
3845 if depmode=$depmode \
3846 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3847 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3848 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3849 >/dev/null 2>conftest.err &&
3850 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3851 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3852 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3853 # icc doesn't choke on unknown options, it will just issue warnings
3854 # or remarks (even with -Werror). So we grep stderr for any message
3855 # that says an option was ignored or not supported.
3856 # When given -MP, icc 7.0 and 7.1 complain thusly:
3857 # icc: Command line warning: ignoring option '-M'; no argument required
3858 # The diagnosis changed in icc 8.0:
3859 # icc: Command line remark: option '-MP' not supported
3860 if (grep 'ignoring option' conftest.err ||
3861 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3862 am_cv_CC_dependencies_compiler_type=$depmode
3863 break
3866 done
3868 cd ..
3869 rm -rf conftest.dir
3870 else
3871 am_cv_CC_dependencies_compiler_type=none
3875 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3876 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3877 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3882 test "x$enable_dependency_tracking" != xno \
3883 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3884 am__fastdepCC_TRUE=
3885 am__fastdepCC_FALSE='#'
3886 else
3887 am__fastdepCC_TRUE='#'
3888 am__fastdepCC_FALSE=
3894 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3895 if test "x$GCC" = "xyes"; then
3896 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3897 ## We like to use C99 routines when available. This makes sure that
3898 ## __STDC_VERSION__ is set such that libc includes make them available.
3899 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3900 ## Compile the following tests with the same system header contents
3901 ## that we'll encounter when compiling our own source files.
3902 CFLAGS="-std=gnu99 $CFLAGS"
3908 # Check for symbol versioning (copied from libssp).
3909 { echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3910 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6; }
3911 cat > conftest.map <<EOF
3912 FOO_1.0 {
3913 global: *foo*; bar; local: *;
3916 save_LDFLAGS="$LDFLAGS"
3917 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3919 if test x$gcc_no_link = xyes; then
3920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3922 { (exit 1); exit 1; }; }
3924 cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h. */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3930 int foo;
3932 main ()
3936 return 0;
3938 _ACEOF
3939 rm -f conftest.$ac_objext conftest$ac_exeext
3940 if { (ac_try="$ac_link"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3946 (eval "$ac_link") 2>conftest.er1
3947 ac_status=$?
3948 grep -v '^ *+' conftest.er1 >conftest.err
3949 rm -f conftest.er1
3950 cat conftest.err >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } && {
3953 test -z "$ac_c_werror_flag" ||
3954 test ! -s conftest.err
3955 } && test -s conftest$ac_exeext &&
3956 $as_test_x conftest$ac_exeext; then
3957 gfortran_use_symver=yes
3958 else
3959 echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3962 gfortran_use_symver=no
3965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3966 conftest$ac_exeext conftest.$ac_ext
3967 LDFLAGS="$save_LDFLAGS"
3968 { echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3969 echo "${ECHO_T}$gfortran_use_symver" >&6; }
3972 if test "x$gfortran_use_symver" = xyes; then
3973 LIBGFOR_USE_SYMVER_TRUE=
3974 LIBGFOR_USE_SYMVER_FALSE='#'
3975 else
3976 LIBGFOR_USE_SYMVER_TRUE='#'
3977 LIBGFOR_USE_SYMVER_FALSE=
3981 # Find other programs we need.
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3984 set dummy ${ac_tool_prefix}as; ac_word=$2
3985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3987 if test "${ac_cv_prog_AS+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$AS"; then
3991 ac_cv_prog_AS="$AS" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_AS="${ac_tool_prefix}as"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4006 IFS=$as_save_IFS
4010 AS=$ac_cv_prog_AS
4011 if test -n "$AS"; then
4012 { echo "$as_me:$LINENO: result: $AS" >&5
4013 echo "${ECHO_T}$AS" >&6; }
4014 else
4015 { echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6; }
4021 if test -z "$ac_cv_prog_AS"; then
4022 ac_ct_AS=$AS
4023 # Extract the first word of "as", so it can be a program name with args.
4024 set dummy as; ac_word=$2
4025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4027 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030 if test -n "$ac_ct_AS"; then
4031 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4040 ac_cv_prog_ac_ct_AS="as"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4051 if test -n "$ac_ct_AS"; then
4052 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4053 echo "${ECHO_T}$ac_ct_AS" >&6; }
4054 else
4055 { echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6; }
4059 if test "x$ac_ct_AS" = x; then
4060 AS=""
4061 else
4062 case $cross_compiling:$ac_tool_warned in
4063 yes:)
4064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4065 whose name does not start with the host triplet. If you think this
4066 configuration is useful to you, please write to autoconf@gnu.org." >&5
4067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4068 whose name does not start with the host triplet. If you think this
4069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4070 ac_tool_warned=yes ;;
4071 esac
4072 AS=$ac_ct_AS
4074 else
4075 AS="$ac_cv_prog_AS"
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}ar; ac_word=$2
4081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4083 if test "${ac_cv_prog_AR+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 else
4086 if test -n "$AR"; then
4087 ac_cv_prog_AR="$AR" # Let the user override the test.
4088 else
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096 ac_cv_prog_AR="${ac_tool_prefix}ar"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 break 2
4100 done
4101 done
4102 IFS=$as_save_IFS
4106 AR=$ac_cv_prog_AR
4107 if test -n "$AR"; then
4108 { echo "$as_me:$LINENO: result: $AR" >&5
4109 echo "${ECHO_T}$AR" >&6; }
4110 else
4111 { echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6; }
4117 if test -z "$ac_cv_prog_AR"; then
4118 ac_ct_AR=$AR
4119 # Extract the first word of "ar", so it can be a program name with args.
4120 set dummy ar; ac_word=$2
4121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4123 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 else
4126 if test -n "$ac_ct_AR"; then
4127 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4128 else
4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130 for as_dir in $PATH
4132 IFS=$as_save_IFS
4133 test -z "$as_dir" && as_dir=.
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4136 ac_cv_prog_ac_ct_AR="ar"
4137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 break 2
4140 done
4141 done
4142 IFS=$as_save_IFS
4146 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4147 if test -n "$ac_ct_AR"; then
4148 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4149 echo "${ECHO_T}$ac_ct_AR" >&6; }
4150 else
4151 { echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6; }
4155 if test "x$ac_ct_AR" = x; then
4156 AR=""
4157 else
4158 case $cross_compiling:$ac_tool_warned in
4159 yes:)
4160 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4161 whose name does not start with the host triplet. If you think this
4162 configuration is useful to you, please write to autoconf@gnu.org." >&5
4163 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4164 whose name does not start with the host triplet. If you think this
4165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4166 ac_tool_warned=yes ;;
4167 esac
4168 AR=$ac_ct_AR
4170 else
4171 AR="$ac_cv_prog_AR"
4174 if test -n "$ac_tool_prefix"; then
4175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4176 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4179 if test "${ac_cv_prog_RANLIB+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182 if test -n "$RANLIB"; then
4183 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4184 else
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 for as_dir in $PATH
4188 IFS=$as_save_IFS
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 break 2
4196 done
4197 done
4198 IFS=$as_save_IFS
4202 RANLIB=$ac_cv_prog_RANLIB
4203 if test -n "$RANLIB"; then
4204 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4205 echo "${ECHO_T}$RANLIB" >&6; }
4206 else
4207 { echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6; }
4213 if test -z "$ac_cv_prog_RANLIB"; then
4214 ac_ct_RANLIB=$RANLIB
4215 # Extract the first word of "ranlib", so it can be a program name with args.
4216 set dummy ranlib; ac_word=$2
4217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4219 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 else
4222 if test -n "$ac_ct_RANLIB"; then
4223 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4224 else
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 for as_dir in $PATH
4228 IFS=$as_save_IFS
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 ac_cv_prog_ac_ct_RANLIB="ranlib"
4233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 break 2
4236 done
4237 done
4238 IFS=$as_save_IFS
4242 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4243 if test -n "$ac_ct_RANLIB"; then
4244 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4245 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4246 else
4247 { echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6; }
4251 if test "x$ac_ct_RANLIB" = x; then
4252 RANLIB="ranlib-not-found-in-path-error"
4253 else
4254 case $cross_compiling:$ac_tool_warned in
4255 yes:)
4256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4257 whose name does not start with the host triplet. If you think this
4258 configuration is useful to you, please write to autoconf@gnu.org." >&5
4259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4260 whose name does not start with the host triplet. If you think this
4261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4262 ac_tool_warned=yes ;;
4263 esac
4264 RANLIB=$ac_ct_RANLIB
4266 else
4267 RANLIB="$ac_cv_prog_RANLIB"
4270 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4272 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4273 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 else
4276 cat >conftest.make <<\_ACEOF
4277 SHELL = /bin/sh
4278 all:
4279 @echo '@@@%%%=$(MAKE)=@@@%%%'
4280 _ACEOF
4281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4283 *@@@%%%=?*=@@@%%%*)
4284 eval ac_cv_prog_make_${ac_make}_set=yes;;
4286 eval ac_cv_prog_make_${ac_make}_set=no;;
4287 esac
4288 rm -f conftest.make
4290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4293 SET_MAKE=
4294 else
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 SET_MAKE="MAKE=${MAKE-make}"
4300 # Find a good install program. We prefer a C program (faster),
4301 # so one script is as good as another. But avoid the broken or
4302 # incompatible versions:
4303 # SysV /etc/install, /usr/sbin/install
4304 # SunOS /usr/etc/install
4305 # IRIX /sbin/install
4306 # AIX /bin/install
4307 # AmigaOS /C/install, which installs bootblocks on floppy discs
4308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4311 # OS/2's system install, which has a completely different semantic
4312 # ./install, which can be erroneously created by make from ./install.sh.
4313 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4314 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4315 if test -z "$INSTALL"; then
4316 if test "${ac_cv_path_install+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 else
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 for as_dir in $PATH
4322 IFS=$as_save_IFS
4323 test -z "$as_dir" && as_dir=.
4324 # Account for people who put trailing slashes in PATH elements.
4325 case $as_dir/ in
4326 ./ | .// | /cC/* | \
4327 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4328 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4329 /usr/ucb/* ) ;;
4331 # OSF1 and SCO ODT 3.0 have their own names for install.
4332 # Don't use installbsd from OSF since it installs stuff as root
4333 # by default.
4334 for ac_prog in ginstall scoinst install; do
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4337 if test $ac_prog = install &&
4338 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4339 # AIX install. It has an incompatible calling convention.
4341 elif test $ac_prog = install &&
4342 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4343 # program-specific install script used by HP pwplus--don't use.
4345 else
4346 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4347 break 3
4350 done
4351 done
4353 esac
4354 done
4355 IFS=$as_save_IFS
4359 if test "${ac_cv_path_install+set}" = set; then
4360 INSTALL=$ac_cv_path_install
4361 else
4362 # As a last resort, use the slow shell script. Don't cache a
4363 # value for INSTALL within a source directory, because that will
4364 # break other packages using the cache if that directory is
4365 # removed, or if the value is a relative name.
4366 INSTALL=$ac_install_sh
4369 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4370 echo "${ECHO_T}$INSTALL" >&6; }
4372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4373 # It thinks the first close brace ends the variable substitution.
4374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4381 # Configure libtool
4382 #AC_MSG_NOTICE([====== Starting libtool configuration])
4383 enable_dlopen=yes
4389 macro_version='2.1a'
4390 macro_revision='1.2435'
4403 ltmain="$ac_aux_dir/ltmain.sh"
4405 # Set options
4408 enable_win32_dll=no
4411 # Check whether --enable-shared was given.
4412 if test "${enable_shared+set}" = set; then
4413 enableval=$enable_shared; p=${PACKAGE-default}
4414 case $enableval in
4415 yes) enable_shared=yes ;;
4416 no) enable_shared=no ;;
4418 enable_shared=no
4419 # Look at the argument we got. We use all the common list separators.
4420 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4421 for pkg in $enableval; do
4422 IFS="$lt_save_ifs"
4423 if test "X$pkg" = "X$p"; then
4424 enable_shared=yes
4426 done
4427 IFS="$lt_save_ifs"
4429 esac
4430 else
4431 enable_shared=yes
4442 # Check whether --enable-static was given.
4443 if test "${enable_static+set}" = set; then
4444 enableval=$enable_static; p=${PACKAGE-default}
4445 case $enableval in
4446 yes) enable_static=yes ;;
4447 no) enable_static=no ;;
4449 enable_static=no
4450 # Look at the argument we got. We use all the common list separators.
4451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4452 for pkg in $enableval; do
4453 IFS="$lt_save_ifs"
4454 if test "X$pkg" = "X$p"; then
4455 enable_static=yes
4457 done
4458 IFS="$lt_save_ifs"
4460 esac
4461 else
4462 enable_static=yes
4474 # Check whether --with-pic was given.
4475 if test "${with_pic+set}" = set; then
4476 withval=$with_pic; pic_mode="$withval"
4477 else
4478 pic_mode=default
4482 test -z "$pic_mode" && pic_mode=default
4490 # Check whether --enable-fast-install was given.
4491 if test "${enable_fast_install+set}" = set; then
4492 enableval=$enable_fast_install; p=${PACKAGE-default}
4493 case $enableval in
4494 yes) enable_fast_install=yes ;;
4495 no) enable_fast_install=no ;;
4497 enable_fast_install=no
4498 # Look at the argument we got. We use all the common list separators.
4499 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4500 for pkg in $enableval; do
4501 IFS="$lt_save_ifs"
4502 if test "X$pkg" = "X$p"; then
4503 enable_fast_install=yes
4505 done
4506 IFS="$lt_save_ifs"
4508 esac
4509 else
4510 enable_fast_install=yes
4521 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4522 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4523 if test "${ac_cv_path_SED+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 else
4526 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4527 for ac_i in 1 2 3 4 5 6 7; do
4528 ac_script="$ac_script$as_nl$ac_script"
4529 done
4530 echo "$ac_script" | sed 99q >conftest.sed
4531 $as_unset ac_script || ac_script=
4532 # Extract the first word of "sed gsed" to use in msg output
4533 if test -z "$SED"; then
4534 set dummy sed gsed; ac_prog_name=$2
4535 if test "${ac_cv_path_SED+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 else
4538 ac_path_SED_found=false
4539 # Loop through the user's path and test for each of PROGNAME-LIST
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 for as_dir in $PATH
4543 IFS=$as_save_IFS
4544 test -z "$as_dir" && as_dir=.
4545 for ac_prog in sed gsed; do
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4548 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4549 # Check for GNU ac_path_SED and select it if it is found.
4550 # Check for GNU $ac_path_SED
4551 case `"$ac_path_SED" --version 2>&1` in
4552 *GNU*)
4553 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4555 ac_count=0
4556 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4557 while :
4559 cat "conftest.in" "conftest.in" >"conftest.tmp"
4560 mv "conftest.tmp" "conftest.in"
4561 cp "conftest.in" "conftest.nl"
4562 echo '' >> "conftest.nl"
4563 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4564 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4565 ac_count=`expr $ac_count + 1`
4566 if test $ac_count -gt ${ac_path_SED_max-0}; then
4567 # Best one so far, save it but keep looking for a better one
4568 ac_cv_path_SED="$ac_path_SED"
4569 ac_path_SED_max=$ac_count
4571 # 10*(2^10) chars as input seems more than enough
4572 test $ac_count -gt 10 && break
4573 done
4574 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4575 esac
4578 $ac_path_SED_found && break 3
4579 done
4580 done
4582 done
4583 IFS=$as_save_IFS
4588 SED="$ac_cv_path_SED"
4589 if test -z "$SED"; then
4590 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4591 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4592 { (exit 1); exit 1; }; }
4595 else
4596 ac_cv_path_SED=$SED
4600 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4601 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4602 SED="$ac_cv_path_SED"
4603 rm -f conftest.sed
4605 test -z "$SED" && SED=sed
4606 Xsed="$SED -e 1s/^X//"
4618 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4619 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4620 if test "${ac_cv_path_GREP+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623 # Extract the first word of "grep ggrep" to use in msg output
4624 if test -z "$GREP"; then
4625 set dummy grep ggrep; ac_prog_name=$2
4626 if test "${ac_cv_path_GREP+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 else
4629 ac_path_GREP_found=false
4630 # Loop through the user's path and test for each of PROGNAME-LIST
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_prog in grep ggrep; do
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4639 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 # Check for GNU ac_path_GREP and select it if it is found.
4641 # Check for GNU $ac_path_GREP
4642 case `"$ac_path_GREP" --version 2>&1` in
4643 *GNU*)
4644 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4646 ac_count=0
4647 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4648 while :
4650 cat "conftest.in" "conftest.in" >"conftest.tmp"
4651 mv "conftest.tmp" "conftest.in"
4652 cp "conftest.in" "conftest.nl"
4653 echo 'GREP' >> "conftest.nl"
4654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4656 ac_count=`expr $ac_count + 1`
4657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4658 # Best one so far, save it but keep looking for a better one
4659 ac_cv_path_GREP="$ac_path_GREP"
4660 ac_path_GREP_max=$ac_count
4662 # 10*(2^10) chars as input seems more than enough
4663 test $ac_count -gt 10 && break
4664 done
4665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 esac
4669 $ac_path_GREP_found && break 3
4670 done
4671 done
4673 done
4674 IFS=$as_save_IFS
4679 GREP="$ac_cv_path_GREP"
4680 if test -z "$GREP"; then
4681 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4682 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4683 { (exit 1); exit 1; }; }
4686 else
4687 ac_cv_path_GREP=$GREP
4692 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4693 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4694 GREP="$ac_cv_path_GREP"
4697 { echo "$as_me:$LINENO: checking for egrep" >&5
4698 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4699 if test "${ac_cv_path_EGREP+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4703 then ac_cv_path_EGREP="$GREP -E"
4704 else
4705 # Extract the first word of "egrep" to use in msg output
4706 if test -z "$EGREP"; then
4707 set dummy egrep; ac_prog_name=$2
4708 if test "${ac_cv_path_EGREP+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4711 ac_path_EGREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in egrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4722 # Check for GNU ac_path_EGREP and select it if it is found.
4723 # Check for GNU $ac_path_EGREP
4724 case `"$ac_path_EGREP" --version 2>&1` in
4725 *GNU*)
4726 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4728 ac_count=0
4729 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4730 while :
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 echo 'EGREP' >> "conftest.nl"
4736 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 ac_count=`expr $ac_count + 1`
4739 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_EGREP="$ac_path_EGREP"
4742 ac_path_EGREP_max=$ac_count
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4746 done
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4748 esac
4751 $ac_path_EGREP_found && break 3
4752 done
4753 done
4755 done
4756 IFS=$as_save_IFS
4761 EGREP="$ac_cv_path_EGREP"
4762 if test -z "$EGREP"; then
4763 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4764 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4765 { (exit 1); exit 1; }; }
4768 else
4769 ac_cv_path_EGREP=$EGREP
4775 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4776 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4777 EGREP="$ac_cv_path_EGREP"
4780 { echo "$as_me:$LINENO: checking for fgrep" >&5
4781 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4782 if test "${ac_cv_path_FGREP+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 else
4785 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4786 then ac_cv_path_FGREP="$GREP -F"
4787 else
4788 # Extract the first word of "fgrep" to use in msg output
4789 if test -z "$FGREP"; then
4790 set dummy fgrep; ac_prog_name=$2
4791 if test "${ac_cv_path_FGREP+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 else
4794 ac_path_FGREP_found=false
4795 # Loop through the user's path and test for each of PROGNAME-LIST
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4799 IFS=$as_save_IFS
4800 test -z "$as_dir" && as_dir=.
4801 for ac_prog in fgrep; do
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4804 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4805 # Check for GNU ac_path_FGREP and select it if it is found.
4806 # Check for GNU $ac_path_FGREP
4807 case `"$ac_path_FGREP" --version 2>&1` in
4808 *GNU*)
4809 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4811 ac_count=0
4812 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4813 while :
4815 cat "conftest.in" "conftest.in" >"conftest.tmp"
4816 mv "conftest.tmp" "conftest.in"
4817 cp "conftest.in" "conftest.nl"
4818 echo 'FGREP' >> "conftest.nl"
4819 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4820 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4821 ac_count=`expr $ac_count + 1`
4822 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4823 # Best one so far, save it but keep looking for a better one
4824 ac_cv_path_FGREP="$ac_path_FGREP"
4825 ac_path_FGREP_max=$ac_count
4827 # 10*(2^10) chars as input seems more than enough
4828 test $ac_count -gt 10 && break
4829 done
4830 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4831 esac
4834 $ac_path_FGREP_found && break 3
4835 done
4836 done
4838 done
4839 IFS=$as_save_IFS
4844 FGREP="$ac_cv_path_FGREP"
4845 if test -z "$FGREP"; then
4846 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4847 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4848 { (exit 1); exit 1; }; }
4851 else
4852 ac_cv_path_FGREP=$FGREP
4858 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4859 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4860 FGREP="$ac_cv_path_FGREP"
4863 test -z "$GREP" && GREP=grep
4883 # Check whether --with-gnu-ld was given.
4884 if test "${with_gnu_ld+set}" = set; then
4885 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4886 else
4887 with_gnu_ld=no
4890 ac_prog=ld
4891 if test "$GCC" = yes; then
4892 # Check if gcc -print-prog-name=ld gives a path.
4893 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4894 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4895 case $host in
4896 *-*-mingw*)
4897 # gcc leaves a trailing carriage return which upsets mingw
4898 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4900 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4901 esac
4902 case $ac_prog in
4903 # Accept absolute paths.
4904 [\\/]* | ?:[\\/]*)
4905 re_direlt='/[^/][^/]*/\.\./'
4906 # Canonicalize the pathname of ld
4907 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4908 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4909 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4910 done
4911 test -z "$LD" && LD="$ac_prog"
4914 # If it fails, then pretend we aren't using GCC.
4915 ac_prog=ld
4918 # If it is relative, then search for the first ld in PATH.
4919 with_gnu_ld=unknown
4921 esac
4922 elif test "$with_gnu_ld" = yes; then
4923 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4924 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4925 else
4926 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4927 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4929 if test "${lt_cv_path_LD+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 else
4932 if test -z "$LD"; then
4933 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4934 for ac_dir in $PATH; do
4935 IFS="$lt_save_ifs"
4936 test -z "$ac_dir" && ac_dir=.
4937 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4938 lt_cv_path_LD="$ac_dir/$ac_prog"
4939 # Check to see if the program is GNU ld. I'd rather use --version,
4940 # but apparently some variants of GNU ld only accept -v.
4941 # Break only if it was the GNU/non-GNU ld that we prefer.
4942 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4943 *GNU* | *'with BFD'*)
4944 test "$with_gnu_ld" != no && break
4947 test "$with_gnu_ld" != yes && break
4949 esac
4951 done
4952 IFS="$lt_save_ifs"
4953 else
4954 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4958 LD="$lt_cv_path_LD"
4959 if test -n "$LD"; then
4960 { echo "$as_me:$LINENO: result: $LD" >&5
4961 echo "${ECHO_T}$LD" >&6; }
4962 else
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4966 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4967 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4968 { (exit 1); exit 1; }; }
4969 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4970 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4971 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 else
4974 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4975 case `$LD -v 2>&1 </dev/null` in
4976 *GNU* | *'with BFD'*)
4977 lt_cv_prog_gnu_ld=yes
4980 lt_cv_prog_gnu_ld=no
4982 esac
4984 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4985 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4986 with_gnu_ld=$lt_cv_prog_gnu_ld
4997 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4998 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4999 if test "${lt_cv_path_NM+set}" = set; then
5000 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 else
5002 if test -n "$NM"; then
5003 # Let the user override the test.
5004 lt_cv_path_NM="$NM"
5005 else
5006 lt_nm_to_check="${ac_tool_prefix}nm"
5007 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5008 lt_nm_to_check="$lt_nm_to_check nm"
5010 for lt_tmp_nm in $lt_nm_to_check; do
5011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5012 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5013 IFS="$lt_save_ifs"
5014 test -z "$ac_dir" && ac_dir=.
5015 tmp_nm="$ac_dir/$lt_tmp_nm"
5016 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5017 # Check to see if the nm accepts a BSD-compat flag.
5018 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5019 # nm: unknown option "B" ignored
5020 # Tru64's nm complains that /dev/null is an invalid object file
5021 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5022 */dev/null* | *'Invalid file or object type'*)
5023 lt_cv_path_NM="$tmp_nm -B"
5024 break
5027 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5028 */dev/null*)
5029 lt_cv_path_NM="$tmp_nm -p"
5030 break
5033 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5034 continue # so that we can try to find one that supports BSD flags
5036 esac
5038 esac
5040 done
5041 IFS="$lt_save_ifs"
5042 done
5043 : ${lt_cv_path_NM=no}
5046 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5047 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5048 if test "$lt_cv_path_NM" != "no"; then
5049 NM="$lt_cv_path_NM"
5050 else
5051 # Didn't find any BSD compatible name lister, look for dumpbin.
5052 if test -n "$ac_tool_prefix"; then
5053 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5055 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5056 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5059 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 else
5062 if test -n "$DUMPBIN"; then
5063 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 DUMPBIN=$ac_cv_prog_DUMPBIN
5083 if test -n "$DUMPBIN"; then
5084 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5085 echo "${ECHO_T}$DUMPBIN" >&6; }
5086 else
5087 { echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6; }
5092 test -n "$DUMPBIN" && break
5093 done
5095 if test -z "$DUMPBIN"; then
5096 ac_ct_DUMPBIN=$DUMPBIN
5097 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5099 # Extract the first word of "$ac_prog", so it can be a program name with args.
5100 set dummy $ac_prog; ac_word=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 else
5106 if test -n "$ac_ct_DUMPBIN"; then
5107 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5122 IFS=$as_save_IFS
5126 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5127 if test -n "$ac_ct_DUMPBIN"; then
5128 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5129 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
5130 else
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$ac_ct_DUMPBIN" && break
5137 done
5139 if test "x$ac_ct_DUMPBIN" = x; then
5140 DUMPBIN=":"
5141 else
5142 case $cross_compiling:$ac_tool_warned in
5143 yes:)
5144 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5145 whose name does not start with the host triplet. If you think this
5146 configuration is useful to you, please write to autoconf@gnu.org." >&5
5147 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5148 whose name does not start with the host triplet. If you think this
5149 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5150 ac_tool_warned=yes ;;
5151 esac
5152 DUMPBIN=$ac_ct_DUMPBIN
5157 if test "$DUMPBIN" != ":"; then
5158 NM="$DUMPBIN"
5161 test -z "$NM" && NM=nm
5168 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5169 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5170 if test "${lt_cv_nm_interface+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 else
5173 lt_cv_nm_interface="BSD nm"
5174 echo "int some_variable = 0;" > conftest.$ac_ext
5175 (eval echo "\"\$as_me:5175: $ac_compile\"" >&5)
5176 (eval "$ac_compile" 2>conftest.err)
5177 cat conftest.err >&5
5178 (eval echo "\"\$as_me:5178: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5179 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5180 cat conftest.err >&5
5181 (eval echo "\"\$as_me:5181: output\"" >&5)
5182 cat conftest.out >&5
5183 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5184 lt_cv_nm_interface="MS dumpbin"
5186 rm -f conftest*
5188 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5189 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5191 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5192 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5193 LN_S=$as_ln_s
5194 if test "$LN_S" = "ln -s"; then
5195 { echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6; }
5197 else
5198 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5199 echo "${ECHO_T}no, using $LN_S" >&6; }
5202 # find the maximum length of command line arguments
5203 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5204 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5205 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 else
5209 teststring="ABCD"
5211 case $build_os in
5212 msdosdjgpp*)
5213 # On DJGPP, this test can blow up pretty badly due to problems in libc
5214 # (any single argument exceeding 2000 bytes causes a buffer overrun
5215 # during glob expansion). Even if it were fixed, the result of this
5216 # check would be larger than it should be.
5217 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5220 gnu*)
5221 # Under GNU Hurd, this test is not required because there is
5222 # no limit to the length of command line arguments.
5223 # Libtool will interpret -1 as no limit whatsoever
5224 lt_cv_sys_max_cmd_len=-1;
5227 cygwin* | mingw*)
5228 # On Win9x/ME, this test blows up -- it succeeds, but takes
5229 # about 5 minutes as the teststring grows exponentially.
5230 # Worse, since 9x/ME are not pre-emptively multitasking,
5231 # you end up with a "frozen" computer, even though with patience
5232 # the test eventually succeeds (with a max line length of 256k).
5233 # Instead, let's just punt: use the minimum linelength reported by
5234 # all of the supported platforms: 8192 (on NT/2K/XP).
5235 lt_cv_sys_max_cmd_len=8192;
5238 amigaos*)
5239 # On AmigaOS with pdksh, this test takes hours, literally.
5240 # So we just punt and use a minimum line length of 8192.
5241 lt_cv_sys_max_cmd_len=8192;
5244 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5245 # This has been around since 386BSD, at least. Likely further.
5246 if test -x /sbin/sysctl; then
5247 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5248 elif test -x /usr/sbin/sysctl; then
5249 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5250 else
5251 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5253 # And add a safety zone
5254 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5258 interix*)
5259 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5260 lt_cv_sys_max_cmd_len=196608
5263 osf*)
5264 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5265 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5266 # nice to cause kernel panics so lets avoid the loop below.
5267 # First set a reasonable default.
5268 lt_cv_sys_max_cmd_len=16384
5270 if test -x /sbin/sysconfig; then
5271 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5272 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5273 esac
5276 sco3.2v5*)
5277 lt_cv_sys_max_cmd_len=102400
5279 sysv5* | sco5v6* | sysv4.2uw2*)
5280 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5281 if test -n "$kargmax"; then
5282 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5283 else
5284 lt_cv_sys_max_cmd_len=32768
5288 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
5289 if test -n $lt_cv_sys_max_cmd_len; then
5290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5292 else
5293 # Make teststring a little bigger before we do anything with it.
5294 # a 1K string should be a reasonable start.
5295 for i in 1 2 3 4 5 6 7 8 ; do
5296 teststring=$teststring$teststring
5297 done
5298 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5299 # If test is not a shell built-in, we'll probably end up computing a
5300 # maximum length that is only half of the actual maximum length, but
5301 # we can't tell.
5302 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5303 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5304 test $i != 17 # 1/2 MB should be enough
5306 i=`expr $i + 1`
5307 teststring=$teststring$teststring
5308 done
5309 # Only check the string length outside the loop.
5310 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5311 teststring=
5312 # Add a significant safety factor because C++ compilers can tack on
5313 # massive amounts of additional arguments before passing them to the
5314 # linker. It appears as though 1/2 is a usable value.
5315 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5318 esac
5322 if test -n $lt_cv_sys_max_cmd_len ; then
5323 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5324 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5325 else
5326 { echo "$as_me:$LINENO: result: none" >&5
5327 echo "${ECHO_T}none" >&6; }
5329 max_cmd_len=$lt_cv_sys_max_cmd_len
5337 : ${CP="cp -f"}
5338 : ${MV="mv -f"}
5339 : ${RM="rm -f"}
5341 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5342 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5343 # Try some XSI features
5344 xsi_shell=no
5345 ( _lt_dummy="a/b/c"
5346 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5347 = c,a/b,, ) >/dev/null 2>&1 \
5348 && xsi_shell=yes
5349 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
5350 echo "${ECHO_T}$xsi_shell" >&6; }
5353 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5354 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5355 lt_shell_append=no
5356 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5357 >/dev/null 2>&1 \
5358 && lt_shell_append=yes
5359 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5360 echo "${ECHO_T}$lt_shell_append" >&6; }
5363 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5364 lt_unset=unset
5365 else
5366 lt_unset=false
5373 # test EBCDIC or ASCII
5374 case `echo X|tr X '\101'` in
5375 A) # ASCII based system
5376 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5377 lt_SP2NL='tr \040 \012'
5378 lt_NL2SP='tr \015\012 \040\040'
5380 *) # EBCDIC based system
5381 lt_SP2NL='tr \100 \n'
5382 lt_NL2SP='tr \r\n \100\100'
5384 esac
5394 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5395 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5396 if test "${lt_cv_ld_reload_flag+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 lt_cv_ld_reload_flag='-r'
5401 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5402 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5403 reload_flag=$lt_cv_ld_reload_flag
5404 case $reload_flag in
5405 "" | " "*) ;;
5406 *) reload_flag=" $reload_flag" ;;
5407 esac
5408 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5409 case $host_os in
5410 darwin*)
5411 if test "$GCC" = yes; then
5412 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5413 else
5414 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5417 esac
5428 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5429 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5430 if test "${lt_cv_deplibs_check_method+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 lt_cv_file_magic_cmd='$MAGIC_CMD'
5434 lt_cv_file_magic_test_file=
5435 lt_cv_deplibs_check_method='unknown'
5436 # Need to set the preceding variable on all platforms that support
5437 # interlibrary dependencies.
5438 # 'none' -- dependencies not supported.
5439 # `unknown' -- same as none, but documents that we really don't know.
5440 # 'pass_all' -- all dependencies passed with no checks.
5441 # 'test_compile' -- check by making test program.
5442 # 'file_magic [[regex]]' -- check by looking for files in library path
5443 # which responds to the $file_magic_cmd with a given extended regex.
5444 # If you have `file' or equivalent on your system and you're not sure
5445 # whether `pass_all' will *always* work, you probably want this one.
5447 case $host_os in
5448 aix[4-9]*)
5449 lt_cv_deplibs_check_method=pass_all
5452 beos*)
5453 lt_cv_deplibs_check_method=pass_all
5456 bsdi[45]*)
5457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5458 lt_cv_file_magic_cmd='/usr/bin/file -L'
5459 lt_cv_file_magic_test_file=/shlib/libc.so
5462 cygwin*)
5463 # func_win32_libid is a shell function defined in ltmain.sh
5464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5465 lt_cv_file_magic_cmd='func_win32_libid'
5468 mingw* | pw32*)
5469 # Base MSYS/MinGW do not provide the 'file' command needed by
5470 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5471 # unless we find 'file', for example because we are cross-compiling.
5472 if ( file / ) >/dev/null 2>&1; then
5473 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5474 lt_cv_file_magic_cmd='func_win32_libid'
5475 else
5476 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5477 lt_cv_file_magic_cmd='$OBJDUMP -f'
5481 darwin* | rhapsody*)
5482 lt_cv_deplibs_check_method=pass_all
5485 freebsd* | dragonfly*)
5486 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5487 case $host_cpu in
5488 i*86 )
5489 # Not sure whether the presence of OpenBSD here was a mistake.
5490 # Let's accept both of them until this is cleared up.
5491 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5492 lt_cv_file_magic_cmd=/usr/bin/file
5493 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5495 esac
5496 else
5497 lt_cv_deplibs_check_method=pass_all
5501 gnu*)
5502 lt_cv_deplibs_check_method=pass_all
5505 hpux10.20* | hpux11*)
5506 lt_cv_file_magic_cmd=/usr/bin/file
5507 case $host_cpu in
5508 ia64*)
5509 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5510 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5512 hppa*64*)
5513 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5514 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5517 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5518 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5520 esac
5523 interix[3-9]*)
5524 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5528 irix5* | irix6* | nonstopux*)
5529 case $LD in
5530 *-32|*"-32 ") libmagic=32-bit;;
5531 *-n32|*"-n32 ") libmagic=N32;;
5532 *-64|*"-64 ") libmagic=64-bit;;
5533 *) libmagic=never-match;;
5534 esac
5535 lt_cv_deplibs_check_method=pass_all
5538 # This must be Linux ELF.
5539 linux* | k*bsd*-gnu)
5540 lt_cv_deplibs_check_method=pass_all
5543 netbsd*)
5544 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5545 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5546 else
5547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5551 newos6*)
5552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5553 lt_cv_file_magic_cmd=/usr/bin/file
5554 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5557 *nto* | *qnx*)
5558 lt_cv_deplibs_check_method=pass_all
5561 openbsd*)
5562 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5563 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5564 else
5565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5569 osf3* | osf4* | osf5*)
5570 lt_cv_deplibs_check_method=pass_all
5573 rdos*)
5574 lt_cv_deplibs_check_method=pass_all
5577 solaris*)
5578 lt_cv_deplibs_check_method=pass_all
5581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5582 lt_cv_deplibs_check_method=pass_all
5585 sysv4 | sysv4.3*)
5586 case $host_vendor in
5587 motorola)
5588 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]'
5589 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5591 ncr)
5592 lt_cv_deplibs_check_method=pass_all
5594 sequent)
5595 lt_cv_file_magic_cmd='/bin/file'
5596 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5598 sni)
5599 lt_cv_file_magic_cmd='/bin/file'
5600 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5601 lt_cv_file_magic_test_file=/lib/libc.so
5603 siemens)
5604 lt_cv_deplibs_check_method=pass_all
5607 lt_cv_deplibs_check_method=pass_all
5609 esac
5612 tpf*)
5613 lt_cv_deplibs_check_method=pass_all
5615 esac
5618 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5619 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5620 file_magic_cmd=$lt_cv_file_magic_cmd
5621 deplibs_check_method=$lt_cv_deplibs_check_method
5622 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5635 if test -n "$ac_tool_prefix"; then
5636 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5637 set dummy ${ac_tool_prefix}ar; ac_word=$2
5638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5640 if test "${ac_cv_prog_AR+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 else
5643 if test -n "$AR"; then
5644 ac_cv_prog_AR="$AR" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_prog_AR="${ac_tool_prefix}ar"
5654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 AR=$ac_cv_prog_AR
5664 if test -n "$AR"; then
5665 { echo "$as_me:$LINENO: result: $AR" >&5
5666 echo "${ECHO_T}$AR" >&6; }
5667 else
5668 { echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6; }
5674 if test -z "$ac_cv_prog_AR"; then
5675 ac_ct_AR=$AR
5676 # Extract the first word of "ar", so it can be a program name with args.
5677 set dummy ar; ac_word=$2
5678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5680 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 else
5683 if test -n "$ac_ct_AR"; then
5684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5685 else
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH
5689 IFS=$as_save_IFS
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_prog_ac_ct_AR="ar"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 break 2
5697 done
5698 done
5699 IFS=$as_save_IFS
5703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5704 if test -n "$ac_ct_AR"; then
5705 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5706 echo "${ECHO_T}$ac_ct_AR" >&6; }
5707 else
5708 { echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6; }
5712 if test "x$ac_ct_AR" = x; then
5713 AR="false"
5714 else
5715 case $cross_compiling:$ac_tool_warned in
5716 yes:)
5717 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5718 whose name does not start with the host triplet. If you think this
5719 configuration is useful to you, please write to autoconf@gnu.org." >&5
5720 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5721 whose name does not start with the host triplet. If you think this
5722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5723 ac_tool_warned=yes ;;
5724 esac
5725 AR=$ac_ct_AR
5727 else
5728 AR="$ac_cv_prog_AR"
5731 test -z "$AR" && AR=ar
5732 test -z "$AR_FLAGS" && AR_FLAGS=cru
5744 if test -n "$ac_tool_prefix"; then
5745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5746 set dummy ${ac_tool_prefix}strip; ac_word=$2
5747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5749 if test "${ac_cv_prog_STRIP+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 else
5752 if test -n "$STRIP"; then
5753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 STRIP=$ac_cv_prog_STRIP
5773 if test -n "$STRIP"; then
5774 { echo "$as_me:$LINENO: result: $STRIP" >&5
5775 echo "${ECHO_T}$STRIP" >&6; }
5776 else
5777 { echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6; }
5783 if test -z "$ac_cv_prog_STRIP"; then
5784 ac_ct_STRIP=$STRIP
5785 # Extract the first word of "strip", so it can be a program name with args.
5786 set dummy strip; ac_word=$2
5787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5789 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else
5792 if test -n "$ac_ct_STRIP"; then
5793 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5794 else
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802 ac_cv_prog_ac_ct_STRIP="strip"
5803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 break 2
5806 done
5807 done
5808 IFS=$as_save_IFS
5812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5813 if test -n "$ac_ct_STRIP"; then
5814 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5815 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5816 else
5817 { echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6; }
5821 if test "x$ac_ct_STRIP" = x; then
5822 STRIP=":"
5823 else
5824 case $cross_compiling:$ac_tool_warned in
5825 yes:)
5826 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5827 whose name does not start with the host triplet. If you think this
5828 configuration is useful to you, please write to autoconf@gnu.org." >&5
5829 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5830 whose name does not start with the host triplet. If you think this
5831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5832 ac_tool_warned=yes ;;
5833 esac
5834 STRIP=$ac_ct_STRIP
5836 else
5837 STRIP="$ac_cv_prog_STRIP"
5840 test -z "$STRIP" && STRIP=:
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_RANLIB+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 else
5855 if test -n "$RANLIB"; then
5856 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5861 IFS=$as_save_IFS
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 break 2
5869 done
5870 done
5871 IFS=$as_save_IFS
5875 RANLIB=$ac_cv_prog_RANLIB
5876 if test -n "$RANLIB"; then
5877 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5878 echo "${ECHO_T}$RANLIB" >&6; }
5879 else
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5886 if test -z "$ac_cv_prog_RANLIB"; then
5887 ac_ct_RANLIB=$RANLIB
5888 # Extract the first word of "ranlib", so it can be a program name with args.
5889 set dummy ranlib; ac_word=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 else
5895 if test -n "$ac_ct_RANLIB"; then
5896 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_RANLIB="ranlib"
5906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5909 done
5910 done
5911 IFS=$as_save_IFS
5915 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5916 if test -n "$ac_ct_RANLIB"; then
5917 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5918 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5919 else
5920 { echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6; }
5924 if test "x$ac_ct_RANLIB" = x; then
5925 RANLIB=":"
5926 else
5927 case $cross_compiling:$ac_tool_warned in
5928 yes:)
5929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5930 whose name does not start with the host triplet. If you think this
5931 configuration is useful to you, please write to autoconf@gnu.org." >&5
5932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5933 whose name does not start with the host triplet. If you think this
5934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5935 ac_tool_warned=yes ;;
5936 esac
5937 RANLIB=$ac_ct_RANLIB
5939 else
5940 RANLIB="$ac_cv_prog_RANLIB"
5943 test -z "$RANLIB" && RANLIB=:
5950 # Determine commands to create old-style static archives.
5951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5952 old_postinstall_cmds='chmod 644 $oldlib'
5953 old_postuninstall_cmds=
5955 if test -n "$RANLIB"; then
5956 case $host_os in
5957 openbsd*)
5958 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5961 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5963 esac
5964 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6000 # If no C compiler was specified, use CC.
6001 LTCC=${LTCC-"$CC"}
6003 # If no C compiler flags were specified, use CFLAGS.
6004 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6006 # Allow CC to be a program name with arguments.
6007 compiler=$CC
6010 # Check for command to grab the raw symbol name followed by C symbol from nm.
6011 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6012 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6013 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 else
6017 # These are sane defaults that work on at least a few old systems.
6018 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6020 # Character class describing NM global symbol codes.
6021 symcode='[BCDEGRST]'
6023 # Regexp to match symbols that can be accessed directly from C.
6024 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6026 # Define system-specific variables.
6027 case $host_os in
6028 aix*)
6029 symcode='[BCDT]'
6031 cygwin* | mingw* | pw32*)
6032 symcode='[ABCDGISTW]'
6034 hpux*)
6035 if test "$host_cpu" = ia64; then
6036 symcode='[ABCDEGRST]'
6039 irix* | nonstopux*)
6040 symcode='[BCDEGRST]'
6042 osf*)
6043 symcode='[BCDEGQRST]'
6045 solaris*)
6046 symcode='[BDRT]'
6048 sco3.2v5*)
6049 symcode='[DT]'
6051 sysv4.2uw2*)
6052 symcode='[DT]'
6054 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6055 symcode='[ABDT]'
6057 sysv4)
6058 symcode='[DFNSTU]'
6060 esac
6062 # If we're using GNU nm, then use its standard symbol codes.
6063 case `$NM -V 2>&1` in
6064 *GNU* | *'with BFD'*)
6065 symcode='[ABCDGIRSTW]' ;;
6066 esac
6068 # Transform an extracted symbol line into a proper C declaration.
6069 # Some systems (esp. on ia64) link data and code symbols differently,
6070 # so use this general approach.
6071 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6073 # Transform an extracted symbol line into symbol name and symbol address
6074 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6076 # Handle CRLF in mingw tool chain
6077 opt_cr=
6078 case $build_os in
6079 mingw*)
6080 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6082 esac
6084 # Try without a prefix underscore, then with it.
6085 for ac_symprfx in "" "_"; do
6087 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6088 symxfrm="\\1 $ac_symprfx\\2 \\2"
6090 # Write the raw and C identifiers.
6091 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6092 # Fake it for dumpbin and say T for any non-static function
6093 # and D for any global variable.
6094 # Also find C++ and __fastcall symbols from MSVC++,
6095 # which start with @ or ?.
6096 lt_cv_sys_global_symbol_pipe="$AWK '"\
6097 " {last_section=section; section=\$ 3};"\
6098 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6099 " \$ 0!~/External *\|/{next};"\
6100 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6101 " {if(hide[section]) next};"\
6102 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6103 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6104 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6105 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6106 " ' prfx=^$ac_symprfx"
6107 else
6108 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6111 # Check to see that the pipe works correctly.
6112 pipe_works=no
6114 rm -f conftest*
6115 cat > conftest.$ac_ext <<_LT_EOF
6116 #ifdef __cplusplus
6117 extern "C" {
6118 #endif
6119 char nm_test_var;
6120 void nm_test_func(void);
6121 void nm_test_func(void){}
6122 #ifdef __cplusplus
6124 #endif
6125 int main(){nm_test_var='a';nm_test_func();return(0);}
6126 _LT_EOF
6128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6129 (eval $ac_compile) 2>&5
6130 ac_status=$?
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; then
6133 # Now try to grab the symbols.
6134 nlist=conftest.nm
6135 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6136 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6137 ac_status=$?
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); } && test -s "$nlist"; then
6140 # Try sorting and uniquifying the output.
6141 if sort "$nlist" | uniq > "$nlist"T; then
6142 mv -f "$nlist"T "$nlist"
6143 else
6144 rm -f "$nlist"T
6147 # Make sure that we snagged all the symbols we need.
6148 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6149 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6150 cat <<_LT_EOF > conftest.$ac_ext
6151 #ifdef __cplusplus
6152 extern "C" {
6153 #endif
6155 _LT_EOF
6156 # Now generate the symbol file.
6157 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6159 cat <<_LT_EOF >> conftest.$ac_ext
6161 /* The mapping between symbol names and symbols. */
6162 const struct {
6163 const char *name;
6164 void *address;
6166 lt__PROGRAM__LTX_preloaded_symbols[] =
6168 { "@PROGRAM@", (void *) 0 },
6169 _LT_EOF
6170 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6171 cat <<\_LT_EOF >> conftest.$ac_ext
6172 {0, (void *) 0}
6175 /* This works around a problem in FreeBSD linker */
6176 #ifdef FREEBSD_WORKAROUND
6177 static const void *lt_preloaded_setup() {
6178 return lt__PROGRAM__LTX_preloaded_symbols;
6180 #endif
6182 #ifdef __cplusplus
6184 #endif
6185 _LT_EOF
6186 # Now try linking the two files.
6187 mv conftest.$ac_objext conftstm.$ac_objext
6188 lt_save_LIBS="$LIBS"
6189 lt_save_CFLAGS="$CFLAGS"
6190 LIBS="conftstm.$ac_objext"
6191 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6193 (eval $ac_link) 2>&5
6194 ac_status=$?
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6197 pipe_works=yes
6199 LIBS="$lt_save_LIBS"
6200 CFLAGS="$lt_save_CFLAGS"
6201 else
6202 echo "cannot find nm_test_func in $nlist" >&5
6204 else
6205 echo "cannot find nm_test_var in $nlist" >&5
6207 else
6208 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6210 else
6211 echo "$progname: failed program was:" >&5
6212 cat conftest.$ac_ext >&5
6214 rm -f conftest* conftst*
6216 # Do not use the global_symbol_pipe unless it works.
6217 if test "$pipe_works" = yes; then
6218 break
6219 else
6220 lt_cv_sys_global_symbol_pipe=
6222 done
6226 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6227 lt_cv_sys_global_symbol_to_cdecl=
6229 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6230 { echo "$as_me:$LINENO: result: failed" >&5
6231 echo "${ECHO_T}failed" >&6; }
6232 else
6233 { echo "$as_me:$LINENO: result: ok" >&5
6234 echo "${ECHO_T}ok" >&6; }
6253 # Check whether --enable-libtool-lock was given.
6254 if test "${enable_libtool_lock+set}" = set; then
6255 enableval=$enable_libtool_lock;
6258 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6260 # Some flags need to be propagated to the compiler or linker for good
6261 # libtool support.
6262 case $host in
6263 ia64-*-hpux*)
6264 # Find out which ABI we are using.
6265 echo 'int i;' > conftest.$ac_ext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6267 (eval $ac_compile) 2>&5
6268 ac_status=$?
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; then
6271 case `/usr/bin/file conftest.$ac_objext` in
6272 *ELF-32*)
6273 HPUX_IA64_MODE="32"
6275 *ELF-64*)
6276 HPUX_IA64_MODE="64"
6278 esac
6280 rm -rf conftest*
6282 *-*-irix6*)
6283 # Find out which ABI we are using.
6284 echo '#line 6284 "configure"' > conftest.$ac_ext
6285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6286 (eval $ac_compile) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; then
6290 if test "$lt_cv_prog_gnu_ld" = yes; then
6291 case `/usr/bin/file conftest.$ac_objext` in
6292 *32-bit*)
6293 LD="${LD-ld} -melf32bsmip"
6295 *N32*)
6296 LD="${LD-ld} -melf32bmipn32"
6298 *64-bit*)
6299 LD="${LD-ld} -melf64bmip"
6301 esac
6302 else
6303 case `/usr/bin/file conftest.$ac_objext` in
6304 *32-bit*)
6305 LD="${LD-ld} -32"
6307 *N32*)
6308 LD="${LD-ld} -n32"
6310 *64-bit*)
6311 LD="${LD-ld} -64"
6313 esac
6316 rm -rf conftest*
6319 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6320 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6321 # Find out which ABI we are using.
6322 echo 'int i;' > conftest.$ac_ext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 (eval $ac_compile) 2>&5
6325 ac_status=$?
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; then
6328 case `/usr/bin/file conftest.o` in
6329 *32-bit*)
6330 case $host in
6331 x86_64-*kfreebsd*-gnu)
6332 LD="${LD-ld} -m elf_i386_fbsd"
6334 x86_64-*linux*)
6335 LD="${LD-ld} -m elf_i386"
6337 ppc64-*linux*|powerpc64-*linux*)
6338 LD="${LD-ld} -m elf32ppclinux"
6340 s390x-*linux*)
6341 LD="${LD-ld} -m elf_s390"
6343 sparc64-*linux*)
6344 LD="${LD-ld} -m elf32_sparc"
6346 esac
6348 *64-bit*)
6349 case $host in
6350 x86_64-*kfreebsd*-gnu)
6351 LD="${LD-ld} -m elf_x86_64_fbsd"
6353 x86_64-*linux*)
6354 LD="${LD-ld} -m elf_x86_64"
6356 ppc*-*linux*|powerpc*-*linux*)
6357 LD="${LD-ld} -m elf64ppc"
6359 s390*-*linux*|s390*-*tpf*)
6360 LD="${LD-ld} -m elf64_s390"
6362 sparc*-*linux*)
6363 LD="${LD-ld} -m elf64_sparc"
6365 esac
6367 esac
6369 rm -rf conftest*
6372 *-*-sco3.2v5*)
6373 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6374 SAVE_CFLAGS="$CFLAGS"
6375 CFLAGS="$CFLAGS -belf"
6376 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6377 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6378 if test "${lt_cv_cc_needs_belf+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 else
6381 ac_ext=c
6382 ac_cpp='$CPP $CPPFLAGS'
6383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6387 if test x$gcc_no_link = xyes; then
6388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6390 { (exit 1); exit 1; }; }
6392 cat >conftest.$ac_ext <<_ACEOF
6393 /* confdefs.h. */
6394 _ACEOF
6395 cat confdefs.h >>conftest.$ac_ext
6396 cat >>conftest.$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6400 main ()
6404 return 0;
6406 _ACEOF
6407 rm -f conftest.$ac_objext conftest$ac_exeext
6408 if { (ac_try="$ac_link"
6409 case "(($ac_try" in
6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6411 *) ac_try_echo=$ac_try;;
6412 esac
6413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6414 (eval "$ac_link") 2>conftest.er1
6415 ac_status=$?
6416 grep -v '^ *+' conftest.er1 >conftest.err
6417 rm -f conftest.er1
6418 cat conftest.err >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } && {
6421 test -z "$ac_c_werror_flag" ||
6422 test ! -s conftest.err
6423 } && test -s conftest$ac_exeext &&
6424 $as_test_x conftest$ac_exeext; then
6425 lt_cv_cc_needs_belf=yes
6426 else
6427 echo "$as_me: failed program was:" >&5
6428 sed 's/^/| /' conftest.$ac_ext >&5
6430 lt_cv_cc_needs_belf=no
6433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6434 conftest$ac_exeext conftest.$ac_ext
6435 ac_ext=c
6436 ac_cpp='$CPP $CPPFLAGS'
6437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6442 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6443 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6444 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6445 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6446 CFLAGS="$SAVE_CFLAGS"
6449 sparc*-*solaris*)
6450 # Find out which ABI we are using.
6451 echo 'int i;' > conftest.$ac_ext
6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 (eval $ac_compile) 2>&5
6454 ac_status=$?
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; then
6457 case `/usr/bin/file conftest.o` in
6458 *64-bit*)
6459 case $lt_cv_prog_gnu_ld in
6460 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6461 *) LD="${LD-ld} -64" ;;
6462 esac
6464 esac
6466 rm -rf conftest*
6468 esac
6470 need_locks="$enable_libtool_lock"
6472 ac_ext=c
6473 ac_cpp='$CPP $CPPFLAGS'
6474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6477 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6478 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6479 # On Suns, sometimes $CPP names a directory.
6480 if test -n "$CPP" && test -d "$CPP"; then
6481 CPP=
6483 if test -z "$CPP"; then
6484 if test "${ac_cv_prog_CPP+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 else
6487 # Double quotes because CPP needs to be expanded
6488 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6490 ac_preproc_ok=false
6491 for ac_c_preproc_warn_flag in '' yes
6493 # Use a header file that comes with gcc, so configuring glibc
6494 # with a fresh cross-compiler works.
6495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6496 # <limits.h> exists even on freestanding compilers.
6497 # On the NeXT, cc -E runs the code through the compiler's parser,
6498 # not just through cpp. "Syntax error" is here to catch this case.
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 #ifdef __STDC__
6506 # include <limits.h>
6507 #else
6508 # include <assert.h>
6509 #endif
6510 Syntax error
6511 _ACEOF
6512 if { (ac_try="$ac_cpp conftest.$ac_ext"
6513 case "(($ac_try" in
6514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515 *) ac_try_echo=$ac_try;;
6516 esac
6517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } >/dev/null && {
6525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6527 }; then
6529 else
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 # Broken: fails on valid input.
6534 continue
6537 rm -f conftest.err conftest.$ac_ext
6539 # OK, works on sane cases. Now check whether nonexistent headers
6540 # can be detected and how.
6541 cat >conftest.$ac_ext <<_ACEOF
6542 /* confdefs.h. */
6543 _ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6547 #include <ac_nonexistent.h>
6548 _ACEOF
6549 if { (ac_try="$ac_cpp conftest.$ac_ext"
6550 case "(($ac_try" in
6551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6553 esac
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6556 ac_status=$?
6557 grep -v '^ *+' conftest.er1 >conftest.err
6558 rm -f conftest.er1
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } >/dev/null && {
6562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 }; then
6565 # Broken: success on invalid input.
6566 continue
6567 else
6568 echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6571 # Passes both tests.
6572 ac_preproc_ok=:
6573 break
6576 rm -f conftest.err conftest.$ac_ext
6578 done
6579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6580 rm -f conftest.err conftest.$ac_ext
6581 if $ac_preproc_ok; then
6582 break
6585 done
6586 ac_cv_prog_CPP=$CPP
6589 CPP=$ac_cv_prog_CPP
6590 else
6591 ac_cv_prog_CPP=$CPP
6593 { echo "$as_me:$LINENO: result: $CPP" >&5
6594 echo "${ECHO_T}$CPP" >&6; }
6595 ac_preproc_ok=false
6596 for ac_c_preproc_warn_flag in '' yes
6598 # Use a header file that comes with gcc, so configuring glibc
6599 # with a fresh cross-compiler works.
6600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601 # <limits.h> exists even on freestanding compilers.
6602 # On the NeXT, cc -E runs the code through the compiler's parser,
6603 # not just through cpp. "Syntax error" is here to catch this case.
6604 cat >conftest.$ac_ext <<_ACEOF
6605 /* confdefs.h. */
6606 _ACEOF
6607 cat confdefs.h >>conftest.$ac_ext
6608 cat >>conftest.$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6610 #ifdef __STDC__
6611 # include <limits.h>
6612 #else
6613 # include <assert.h>
6614 #endif
6615 Syntax error
6616 _ACEOF
6617 if { (ac_try="$ac_cpp conftest.$ac_ext"
6618 case "(($ac_try" in
6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6620 *) ac_try_echo=$ac_try;;
6621 esac
6622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6624 ac_status=$?
6625 grep -v '^ *+' conftest.er1 >conftest.err
6626 rm -f conftest.er1
6627 cat conftest.err >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } >/dev/null && {
6630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6632 }; then
6634 else
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6638 # Broken: fails on valid input.
6639 continue
6642 rm -f conftest.err conftest.$ac_ext
6644 # OK, works on sane cases. Now check whether nonexistent headers
6645 # can be detected and how.
6646 cat >conftest.$ac_ext <<_ACEOF
6647 /* confdefs.h. */
6648 _ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6652 #include <ac_nonexistent.h>
6653 _ACEOF
6654 if { (ac_try="$ac_cpp conftest.$ac_ext"
6655 case "(($ac_try" in
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6658 esac
6659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6661 ac_status=$?
6662 grep -v '^ *+' conftest.er1 >conftest.err
6663 rm -f conftest.er1
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } >/dev/null && {
6667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6668 test ! -s conftest.err
6669 }; then
6670 # Broken: success on invalid input.
6671 continue
6672 else
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 # Passes both tests.
6677 ac_preproc_ok=:
6678 break
6681 rm -f conftest.err conftest.$ac_ext
6683 done
6684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6685 rm -f conftest.err conftest.$ac_ext
6686 if $ac_preproc_ok; then
6688 else
6689 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6690 See \`config.log' for more details." >&5
6691 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6692 See \`config.log' for more details." >&2;}
6693 { (exit 1); exit 1; }; }
6696 ac_ext=c
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6704 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6705 if test "${ac_cv_header_stdc+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6707 else
6708 cat >conftest.$ac_ext <<_ACEOF
6709 /* confdefs.h. */
6710 _ACEOF
6711 cat confdefs.h >>conftest.$ac_ext
6712 cat >>conftest.$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6714 #include <stdlib.h>
6715 #include <stdarg.h>
6716 #include <string.h>
6717 #include <float.h>
6720 main ()
6724 return 0;
6726 _ACEOF
6727 rm -f conftest.$ac_objext
6728 if { (ac_try="$ac_compile"
6729 case "(($ac_try" in
6730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6731 *) ac_try_echo=$ac_try;;
6732 esac
6733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6734 (eval "$ac_compile") 2>conftest.er1
6735 ac_status=$?
6736 grep -v '^ *+' conftest.er1 >conftest.err
6737 rm -f conftest.er1
6738 cat conftest.err >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } && {
6741 test -z "$ac_c_werror_flag" ||
6742 test ! -s conftest.err
6743 } && test -s conftest.$ac_objext; then
6744 ac_cv_header_stdc=yes
6745 else
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6749 ac_cv_header_stdc=no
6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6754 if test $ac_cv_header_stdc = yes; then
6755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6756 cat >conftest.$ac_ext <<_ACEOF
6757 /* confdefs.h. */
6758 _ACEOF
6759 cat confdefs.h >>conftest.$ac_ext
6760 cat >>conftest.$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6762 #include <string.h>
6764 _ACEOF
6765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6766 $EGREP "memchr" >/dev/null 2>&1; then
6768 else
6769 ac_cv_header_stdc=no
6771 rm -f conftest*
6775 if test $ac_cv_header_stdc = yes; then
6776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6777 cat >conftest.$ac_ext <<_ACEOF
6778 /* confdefs.h. */
6779 _ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
6782 /* end confdefs.h. */
6783 #include <stdlib.h>
6785 _ACEOF
6786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6787 $EGREP "free" >/dev/null 2>&1; then
6789 else
6790 ac_cv_header_stdc=no
6792 rm -f conftest*
6796 if test $ac_cv_header_stdc = yes; then
6797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6798 if test "$cross_compiling" = yes; then
6800 else
6801 cat >conftest.$ac_ext <<_ACEOF
6802 /* confdefs.h. */
6803 _ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 #include <ctype.h>
6808 #include <stdlib.h>
6809 #if ((' ' & 0x0FF) == 0x020)
6810 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6811 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6812 #else
6813 # define ISLOWER(c) \
6814 (('a' <= (c) && (c) <= 'i') \
6815 || ('j' <= (c) && (c) <= 'r') \
6816 || ('s' <= (c) && (c) <= 'z'))
6817 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6818 #endif
6820 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6822 main ()
6824 int i;
6825 for (i = 0; i < 256; i++)
6826 if (XOR (islower (i), ISLOWER (i))
6827 || toupper (i) != TOUPPER (i))
6828 return 2;
6829 return 0;
6831 _ACEOF
6832 rm -f conftest$ac_exeext
6833 if { (ac_try="$ac_link"
6834 case "(($ac_try" in
6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6837 esac
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839 (eval "$ac_link") 2>&5
6840 ac_status=$?
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6843 { (case "(($ac_try" in
6844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6845 *) ac_try_echo=$ac_try;;
6846 esac
6847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6848 (eval "$ac_try") 2>&5
6849 ac_status=$?
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6853 else
6854 echo "$as_me: program exited with status $ac_status" >&5
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 ( exit $ac_status )
6859 ac_cv_header_stdc=no
6861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6867 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6868 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6869 if test $ac_cv_header_stdc = yes; then
6871 cat >>confdefs.h <<\_ACEOF
6872 #define STDC_HEADERS 1
6873 _ACEOF
6877 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6887 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6888 inttypes.h stdint.h unistd.h
6890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 else
6896 cat >conftest.$ac_ext <<_ACEOF
6897 /* confdefs.h. */
6898 _ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6902 $ac_includes_default
6904 #include <$ac_header>
6905 _ACEOF
6906 rm -f conftest.$ac_objext
6907 if { (ac_try="$ac_compile"
6908 case "(($ac_try" in
6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6910 *) ac_try_echo=$ac_try;;
6911 esac
6912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6913 (eval "$ac_compile") 2>conftest.er1
6914 ac_status=$?
6915 grep -v '^ *+' conftest.er1 >conftest.err
6916 rm -f conftest.er1
6917 cat conftest.err >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } && {
6920 test -z "$ac_c_werror_flag" ||
6921 test ! -s conftest.err
6922 } && test -s conftest.$ac_objext; then
6923 eval "$as_ac_Header=yes"
6924 else
6925 echo "$as_me: failed program was:" >&5
6926 sed 's/^/| /' conftest.$ac_ext >&5
6928 eval "$as_ac_Header=no"
6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6933 ac_res=`eval echo '${'$as_ac_Header'}'`
6934 { echo "$as_me:$LINENO: result: $ac_res" >&5
6935 echo "${ECHO_T}$ac_res" >&6; }
6936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6937 cat >>confdefs.h <<_ACEOF
6938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6943 done
6947 for ac_header in dlfcn.h
6949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 else
6955 cat >conftest.$ac_ext <<_ACEOF
6956 /* confdefs.h. */
6957 _ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 $ac_includes_default
6963 #include <$ac_header>
6964 _ACEOF
6965 rm -f conftest.$ac_objext
6966 if { (ac_try="$ac_compile"
6967 case "(($ac_try" in
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6970 esac
6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972 (eval "$ac_compile") 2>conftest.er1
6973 ac_status=$?
6974 grep -v '^ *+' conftest.er1 >conftest.err
6975 rm -f conftest.er1
6976 cat conftest.err >&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); } && {
6979 test -z "$ac_c_werror_flag" ||
6980 test ! -s conftest.err
6981 } && test -s conftest.$ac_objext; then
6982 eval "$as_ac_Header=yes"
6983 else
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6987 eval "$as_ac_Header=no"
6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6992 ac_res=`eval echo '${'$as_ac_Header'}'`
6993 { echo "$as_me:$LINENO: result: $ac_res" >&5
6994 echo "${ECHO_T}$ac_res" >&6; }
6995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6996 cat >>confdefs.h <<_ACEOF
6997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998 _ACEOF
7002 done
7006 # This can be used to rebuild libtool when needed
7007 LIBTOOL_DEPS="$ltmain"
7009 # Always use our own libtool.
7010 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7036 test -z "$LN_S" && LN_S="ln -s"
7051 if test -n "${ZSH_VERSION+set}" ; then
7052 setopt NO_GLOB_SUBST
7055 { echo "$as_me:$LINENO: checking for objdir" >&5
7056 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7057 if test "${lt_cv_objdir+set}" = set; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 else
7060 rm -f .libs 2>/dev/null
7061 mkdir .libs 2>/dev/null
7062 if test -d .libs; then
7063 lt_cv_objdir=.libs
7064 else
7065 # MS-DOS does not allow filenames that begin with a dot.
7066 lt_cv_objdir=_libs
7068 rmdir .libs 2>/dev/null
7070 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7071 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7072 objdir=$lt_cv_objdir
7078 cat >>confdefs.h <<_ACEOF
7079 #define LT_OBJDIR "$lt_cv_objdir/"
7080 _ACEOF
7098 case $host_os in
7099 aix3*)
7100 # AIX sometimes has problems with the GCC collect2 program. For some
7101 # reason, if we set the COLLECT_NAMES environment variable, the problems
7102 # vanish in a puff of smoke.
7103 if test "X${COLLECT_NAMES+set}" != Xset; then
7104 COLLECT_NAMES=
7105 export COLLECT_NAMES
7108 esac
7110 # Sed substitution that helps us do robust quoting. It backslashifies
7111 # metacharacters that are still active within double-quoted strings.
7112 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7114 # Same as above, but do not quote variable references.
7115 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7117 # Sed substitution to delay expansion of an escaped shell variable in a
7118 # double_quote_subst'ed string.
7119 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7121 # Sed substitution to delay expansion of an escaped single quote.
7122 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7124 # Sed substitution to avoid accidental globbing in evaled expressions
7125 no_glob_subst='s/\*/\\\*/g'
7127 # Global variables:
7128 ofile=libtool
7129 can_build_shared=yes
7131 # All known linkers require a `.a' archive for static linking (except MSVC,
7132 # which needs '.lib').
7133 libext=a
7135 with_gnu_ld="$lt_cv_prog_gnu_ld"
7137 old_CC="$CC"
7138 old_CFLAGS="$CFLAGS"
7140 # Set sane defaults for various variables
7141 test -z "$CC" && CC=cc
7142 test -z "$LTCC" && LTCC=$CC
7143 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7144 test -z "$LD" && LD=ld
7145 test -z "$ac_objext" && ac_objext=o
7147 for cc_temp in $compiler""; do
7148 case $cc_temp in
7149 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7150 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7151 \-*) ;;
7152 *) break;;
7153 esac
7154 done
7155 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7158 # Only perform the check for file, if the check method requires it
7159 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7160 case $deplibs_check_method in
7161 file_magic*)
7162 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7163 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7164 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 else
7168 case $MAGIC_CMD in
7169 [\\/*] | ?:[\\/]*)
7170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7173 lt_save_MAGIC_CMD="$MAGIC_CMD"
7174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7175 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7176 for ac_dir in $ac_dummy; do
7177 IFS="$lt_save_ifs"
7178 test -z "$ac_dir" && ac_dir=.
7179 if test -f $ac_dir/${ac_tool_prefix}file; then
7180 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7181 if test -n "$file_magic_test_file"; then
7182 case $deplibs_check_method in
7183 "file_magic "*)
7184 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7186 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7187 $EGREP "$file_magic_regex" > /dev/null; then
7189 else
7190 cat <<_LT_EOF 1>&2
7192 *** Warning: the command libtool uses to detect shared libraries,
7193 *** $file_magic_cmd, produces output that libtool cannot recognize.
7194 *** The result is that libtool may fail to recognize shared libraries
7195 *** as such. This will affect the creation of libtool libraries that
7196 *** depend on shared libraries, but programs linked with such libtool
7197 *** libraries will work regardless of this problem. Nevertheless, you
7198 *** may want to report the problem to your system manager and/or to
7199 *** bug-libtool@gnu.org
7201 _LT_EOF
7202 fi ;;
7203 esac
7205 break
7207 done
7208 IFS="$lt_save_ifs"
7209 MAGIC_CMD="$lt_save_MAGIC_CMD"
7211 esac
7214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7215 if test -n "$MAGIC_CMD"; then
7216 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7217 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7218 else
7219 { echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6; }
7227 if test -z "$lt_cv_path_MAGIC_CMD"; then
7228 if test -n "$ac_tool_prefix"; then
7229 { echo "$as_me:$LINENO: checking for file" >&5
7230 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7231 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7233 else
7234 case $MAGIC_CMD in
7235 [\\/*] | ?:[\\/]*)
7236 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7239 lt_save_MAGIC_CMD="$MAGIC_CMD"
7240 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7241 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7242 for ac_dir in $ac_dummy; do
7243 IFS="$lt_save_ifs"
7244 test -z "$ac_dir" && ac_dir=.
7245 if test -f $ac_dir/file; then
7246 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7247 if test -n "$file_magic_test_file"; then
7248 case $deplibs_check_method in
7249 "file_magic "*)
7250 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7252 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7253 $EGREP "$file_magic_regex" > /dev/null; then
7255 else
7256 cat <<_LT_EOF 1>&2
7258 *** Warning: the command libtool uses to detect shared libraries,
7259 *** $file_magic_cmd, produces output that libtool cannot recognize.
7260 *** The result is that libtool may fail to recognize shared libraries
7261 *** as such. This will affect the creation of libtool libraries that
7262 *** depend on shared libraries, but programs linked with such libtool
7263 *** libraries will work regardless of this problem. Nevertheless, you
7264 *** may want to report the problem to your system manager and/or to
7265 *** bug-libtool@gnu.org
7267 _LT_EOF
7268 fi ;;
7269 esac
7271 break
7273 done
7274 IFS="$lt_save_ifs"
7275 MAGIC_CMD="$lt_save_MAGIC_CMD"
7277 esac
7280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7281 if test -n "$MAGIC_CMD"; then
7282 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7283 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7284 else
7285 { echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6; }
7290 else
7291 MAGIC_CMD=:
7297 esac
7299 # Use C for the default configuration in the libtool script
7301 lt_save_CC="$CC"
7302 ac_ext=c
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 # Source file extension for C test sources.
7310 ac_ext=c
7312 # Object file extension for compiled C test sources.
7313 objext=o
7314 objext=$objext
7316 # Code to be used in simple compile tests
7317 lt_simple_compile_test_code="int some_variable = 0;"
7319 # Code to be used in simple link tests
7320 lt_simple_link_test_code='int main(){return(0);}'
7328 # If no C compiler was specified, use CC.
7329 LTCC=${LTCC-"$CC"}
7331 # If no C compiler flags were specified, use CFLAGS.
7332 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7334 # Allow CC to be a program name with arguments.
7335 compiler=$CC
7337 # Save the default compiler, since it gets overwritten when the other
7338 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7339 compiler_DEFAULT=$CC
7341 # save warnings/boilerplate of simple test code
7342 ac_outfile=conftest.$ac_objext
7343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7345 _lt_compiler_boilerplate=`cat conftest.err`
7346 $RM conftest*
7348 ac_outfile=conftest.$ac_objext
7349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7351 _lt_linker_boilerplate=`cat conftest.err`
7352 $RM conftest*
7355 ## CAVEAT EMPTOR:
7356 ## There is no encapsulation within the following macros, do not change
7357 ## the running order or otherwise move them around unless you know exactly
7358 ## what you are doing...
7359 if test -n "$compiler"; then
7361 lt_prog_compiler_no_builtin_flag=
7363 if test "$GCC" = yes; then
7364 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7366 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7367 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7368 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7370 else
7371 lt_cv_prog_compiler_rtti_exceptions=no
7372 ac_outfile=conftest.$ac_objext
7373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7374 lt_compiler_flag="-fno-rtti -fno-exceptions"
7375 # Insert the option either (1) after the last *FLAGS variable, or
7376 # (2) before a word containing "conftest.", or (3) at the end.
7377 # Note that $ac_compile itself does not contain backslashes and begins
7378 # with a dollar sign (not a hyphen), so the echo should work correctly.
7379 # The option is referenced via a variable to avoid confusing sed.
7380 lt_compile=`echo "$ac_compile" | $SED \
7381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7383 -e 's:$: $lt_compiler_flag:'`
7384 (eval echo "\"\$as_me:7384: $lt_compile\"" >&5)
7385 (eval "$lt_compile" 2>conftest.err)
7386 ac_status=$?
7387 cat conftest.err >&5
7388 echo "$as_me:7388: \$? = $ac_status" >&5
7389 if (exit $ac_status) && test -s "$ac_outfile"; then
7390 # The compiler can only warn and ignore the option if not recognized
7391 # So say no if there are warnings other than the usual output.
7392 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7393 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7394 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7395 lt_cv_prog_compiler_rtti_exceptions=yes
7398 $RM conftest*
7401 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7402 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7404 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7405 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7406 else
7417 lt_prog_compiler_wl=
7418 lt_prog_compiler_pic=
7419 lt_prog_compiler_static=
7421 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7422 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7424 if test "$GCC" = yes; then
7425 lt_prog_compiler_wl='-Wl,'
7426 lt_prog_compiler_static='-static'
7428 case $host_os in
7429 aix*)
7430 # All AIX code is PIC.
7431 if test "$host_cpu" = ia64; then
7432 # AIX 5 now supports IA64 processor
7433 lt_prog_compiler_static='-Bstatic'
7437 amigaos*)
7438 if test "$host_cpu" = m68k; then
7439 # FIXME: we need at least 68020 code to build shared libraries, but
7440 # adding the `-m68020' flag to GCC prevents building anything better,
7441 # like `-m68040'.
7442 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7446 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7447 # PIC is the default for these OSes.
7450 mingw* | cygwin* | pw32* | os2*)
7451 # This hack is so that the source file can tell whether it is being
7452 # built for inclusion in a dll (and should export symbols for example).
7453 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7454 # (--disable-auto-import) libraries
7455 lt_prog_compiler_pic='-DDLL_EXPORT'
7458 darwin* | rhapsody*)
7459 # PIC is the default on this platform
7460 # Common symbols not allowed in MH_DYLIB files
7461 lt_prog_compiler_pic='-fno-common'
7464 hpux*)
7465 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7466 # not for PA HP-UX.
7467 case $host_cpu in
7468 hppa*64*|ia64*)
7469 # +Z the default
7472 lt_prog_compiler_pic='-fPIC'
7474 esac
7477 interix[3-9]*)
7478 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7479 # Instead, we relocate shared libraries at runtime.
7482 msdosdjgpp*)
7483 # Just because we use GCC doesn't mean we suddenly get shared libraries
7484 # on systems that don't support them.
7485 lt_prog_compiler_can_build_shared=no
7486 enable_shared=no
7489 *nto* | *qnx*)
7490 # QNX uses GNU C++, but need to define -shared option too, otherwise
7491 # it will coredump.
7492 lt_prog_compiler_pic='-fPIC -shared'
7495 sysv4*MP*)
7496 if test -d /usr/nec; then
7497 lt_prog_compiler_pic=-Kconform_pic
7502 lt_prog_compiler_pic='-fPIC'
7504 esac
7505 else
7506 # PORTME Check for flag to pass linker flags through the system compiler.
7507 case $host_os in
7508 aix*)
7509 lt_prog_compiler_wl='-Wl,'
7510 if test "$host_cpu" = ia64; then
7511 # AIX 5 now supports IA64 processor
7512 lt_prog_compiler_static='-Bstatic'
7513 else
7514 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7517 darwin*)
7518 # PIC is the default on this platform
7519 # Common symbols not allowed in MH_DYLIB files
7520 case $cc_basename in
7521 xlc*)
7522 lt_prog_compiler_pic='-qnocommon'
7523 lt_prog_compiler_wl='-Wl,'
7525 esac
7528 mingw* | cygwin* | pw32* | os2*)
7529 # This hack is so that the source file can tell whether it is being
7530 # built for inclusion in a dll (and should export symbols for example).
7531 lt_prog_compiler_pic='-DDLL_EXPORT'
7534 hpux9* | hpux10* | hpux11*)
7535 lt_prog_compiler_wl='-Wl,'
7536 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7537 # not for PA HP-UX.
7538 case $host_cpu in
7539 hppa*64*|ia64*)
7540 # +Z the default
7543 lt_prog_compiler_pic='+Z'
7545 esac
7546 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7547 lt_prog_compiler_static='${wl}-a ${wl}archive'
7550 irix5* | irix6* | nonstopux*)
7551 lt_prog_compiler_wl='-Wl,'
7552 # PIC (with -KPIC) is the default.
7553 lt_prog_compiler_static='-non_shared'
7556 linux* | k*bsd*-gnu)
7557 case $cc_basename in
7558 icc* | ecc*)
7559 lt_prog_compiler_wl='-Wl,'
7560 lt_prog_compiler_pic='-KPIC'
7561 lt_prog_compiler_static='-static'
7563 pgcc* | pgf77* | pgf90* | pgf95*)
7564 # Portland Group compilers (*not* the Pentium gcc compiler,
7565 # which looks to be a dead project)
7566 lt_prog_compiler_wl='-Wl,'
7567 lt_prog_compiler_pic='-fpic'
7568 lt_prog_compiler_static='-Bstatic'
7570 ccc*)
7571 lt_prog_compiler_wl='-Wl,'
7572 # All Alpha code is PIC.
7573 lt_prog_compiler_static='-non_shared'
7576 case `$CC -V 2>&1 | sed 5q` in
7577 *Sun\ C*)
7578 # Sun C 5.9
7579 lt_prog_compiler_pic='-KPIC'
7580 lt_prog_compiler_static='-Bstatic'
7581 lt_prog_compiler_wl='-Wl,'
7583 *Sun\ F*)
7584 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7585 lt_prog_compiler_pic='-KPIC'
7586 lt_prog_compiler_static='-Bstatic'
7587 lt_prog_compiler_wl=''
7589 esac
7591 esac
7594 newsos6)
7595 lt_prog_compiler_pic='-KPIC'
7596 lt_prog_compiler_static='-Bstatic'
7599 *nto* | *qnx*)
7600 # QNX uses GNU C++, but need to define -shared option too, otherwise
7601 # it will coredump.
7602 lt_prog_compiler_pic='-fPIC -shared'
7605 osf3* | osf4* | osf5*)
7606 lt_prog_compiler_wl='-Wl,'
7607 # All OSF/1 code is PIC.
7608 lt_prog_compiler_static='-non_shared'
7611 rdos*)
7612 lt_prog_compiler_static='-non_shared'
7615 solaris*)
7616 lt_prog_compiler_pic='-KPIC'
7617 lt_prog_compiler_static='-Bstatic'
7618 case $cc_basename in
7619 f77* | f90* | f95*)
7620 lt_prog_compiler_wl='-Qoption ld ';;
7622 lt_prog_compiler_wl='-Wl,';;
7623 esac
7626 sunos4*)
7627 lt_prog_compiler_wl='-Qoption ld '
7628 lt_prog_compiler_pic='-PIC'
7629 lt_prog_compiler_static='-Bstatic'
7632 sysv4 | sysv4.2uw2* | sysv4.3*)
7633 lt_prog_compiler_wl='-Wl,'
7634 lt_prog_compiler_pic='-KPIC'
7635 lt_prog_compiler_static='-Bstatic'
7638 sysv4*MP*)
7639 if test -d /usr/nec ;then
7640 lt_prog_compiler_pic='-Kconform_pic'
7641 lt_prog_compiler_static='-Bstatic'
7645 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7646 lt_prog_compiler_wl='-Wl,'
7647 lt_prog_compiler_pic='-KPIC'
7648 lt_prog_compiler_static='-Bstatic'
7651 unicos*)
7652 lt_prog_compiler_wl='-Wl,'
7653 lt_prog_compiler_can_build_shared=no
7656 uts4*)
7657 lt_prog_compiler_pic='-pic'
7658 lt_prog_compiler_static='-Bstatic'
7662 lt_prog_compiler_can_build_shared=no
7664 esac
7667 case $host_os in
7668 # For platforms which do not support PIC, -DPIC is meaningless:
7669 *djgpp*)
7670 lt_prog_compiler_pic=
7673 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7675 esac
7676 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7677 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7685 # Check to make sure the PIC flag actually works.
7687 if test -n "$lt_prog_compiler_pic"; then
7688 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7689 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7690 if test "${lt_prog_compiler_pic_works+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693 lt_prog_compiler_pic_works=no
7694 ac_outfile=conftest.$ac_objext
7695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7696 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7697 # Insert the option either (1) after the last *FLAGS variable, or
7698 # (2) before a word containing "conftest.", or (3) at the end.
7699 # Note that $ac_compile itself does not contain backslashes and begins
7700 # with a dollar sign (not a hyphen), so the echo should work correctly.
7701 # The option is referenced via a variable to avoid confusing sed.
7702 lt_compile=`echo "$ac_compile" | $SED \
7703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7705 -e 's:$: $lt_compiler_flag:'`
7706 (eval echo "\"\$as_me:7706: $lt_compile\"" >&5)
7707 (eval "$lt_compile" 2>conftest.err)
7708 ac_status=$?
7709 cat conftest.err >&5
7710 echo "$as_me:7710: \$? = $ac_status" >&5
7711 if (exit $ac_status) && test -s "$ac_outfile"; then
7712 # The compiler can only warn and ignore the option if not recognized
7713 # So say no if there are warnings other than the usual output.
7714 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7717 lt_prog_compiler_pic_works=yes
7720 $RM conftest*
7723 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7724 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7726 if test x"$lt_prog_compiler_pic_works" = xyes; then
7727 case $lt_prog_compiler_pic in
7728 "" | " "*) ;;
7729 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7730 esac
7731 else
7732 lt_prog_compiler_pic=
7733 lt_prog_compiler_can_build_shared=no
7744 # Check to make sure the static flag actually works.
7746 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7747 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7748 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7749 if test "${lt_prog_compiler_static_works+set}" = set; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 else
7752 lt_prog_compiler_static_works=no
7753 save_LDFLAGS="$LDFLAGS"
7754 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7755 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7756 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7757 # The linker can only warn and ignore the option if not recognized
7758 # So say no if there are warnings
7759 if test -s conftest.err; then
7760 # Append any errors to the config.log.
7761 cat conftest.err 1>&5
7762 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7763 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7764 if diff conftest.exp conftest.er2 >/dev/null; then
7765 lt_prog_compiler_static_works=yes
7767 else
7768 lt_prog_compiler_static_works=yes
7771 $RM conftest*
7772 LDFLAGS="$save_LDFLAGS"
7775 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7776 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7778 if test x"$lt_prog_compiler_static_works" = xyes; then
7780 else
7781 lt_prog_compiler_static=
7790 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7791 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7792 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7793 echo $ECHO_N "(cached) $ECHO_C" >&6
7794 else
7795 lt_cv_prog_compiler_c_o=no
7796 $RM -r conftest 2>/dev/null
7797 mkdir conftest
7798 cd conftest
7799 mkdir out
7800 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7802 lt_compiler_flag="-o out/conftest2.$ac_objext"
7803 # Insert the option either (1) after the last *FLAGS variable, or
7804 # (2) before a word containing "conftest.", or (3) at the end.
7805 # Note that $ac_compile itself does not contain backslashes and begins
7806 # with a dollar sign (not a hyphen), so the echo should work correctly.
7807 lt_compile=`echo "$ac_compile" | $SED \
7808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7810 -e 's:$: $lt_compiler_flag:'`
7811 (eval echo "\"\$as_me:7811: $lt_compile\"" >&5)
7812 (eval "$lt_compile" 2>out/conftest.err)
7813 ac_status=$?
7814 cat out/conftest.err >&5
7815 echo "$as_me:7815: \$? = $ac_status" >&5
7816 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7817 then
7818 # The compiler can only warn and ignore the option if not recognized
7819 # So say no if there are warnings
7820 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7821 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7822 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7823 lt_cv_prog_compiler_c_o=yes
7826 chmod u+w . 2>&5
7827 $RM conftest*
7828 # SGI C++ compiler will create directory out/ii_files/ for
7829 # template instantiation
7830 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7831 $RM out/* && rmdir out
7832 cd ..
7833 $RM -r conftest
7834 $RM conftest*
7837 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7845 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7846 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7847 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 else
7850 lt_cv_prog_compiler_c_o=no
7851 $RM -r conftest 2>/dev/null
7852 mkdir conftest
7853 cd conftest
7854 mkdir out
7855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7857 lt_compiler_flag="-o out/conftest2.$ac_objext"
7858 # Insert the option either (1) after the last *FLAGS variable, or
7859 # (2) before a word containing "conftest.", or (3) at the end.
7860 # Note that $ac_compile itself does not contain backslashes and begins
7861 # with a dollar sign (not a hyphen), so the echo should work correctly.
7862 lt_compile=`echo "$ac_compile" | $SED \
7863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7865 -e 's:$: $lt_compiler_flag:'`
7866 (eval echo "\"\$as_me:7866: $lt_compile\"" >&5)
7867 (eval "$lt_compile" 2>out/conftest.err)
7868 ac_status=$?
7869 cat out/conftest.err >&5
7870 echo "$as_me:7870: \$? = $ac_status" >&5
7871 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7872 then
7873 # The compiler can only warn and ignore the option if not recognized
7874 # So say no if there are warnings
7875 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7876 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7877 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7878 lt_cv_prog_compiler_c_o=yes
7881 chmod u+w . 2>&5
7882 $RM conftest*
7883 # SGI C++ compiler will create directory out/ii_files/ for
7884 # template instantiation
7885 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7886 $RM out/* && rmdir out
7887 cd ..
7888 $RM -r conftest
7889 $RM conftest*
7892 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7893 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7898 hard_links="nottested"
7899 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7900 # do not overwrite the value of need_locks provided by the user
7901 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7902 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7903 hard_links=yes
7904 $RM conftest*
7905 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7906 touch conftest.a
7907 ln conftest.a conftest.b 2>&5 || hard_links=no
7908 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7909 { echo "$as_me:$LINENO: result: $hard_links" >&5
7910 echo "${ECHO_T}$hard_links" >&6; }
7911 if test "$hard_links" = no; then
7912 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7913 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7914 need_locks=warn
7916 else
7917 need_locks=no
7925 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7926 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7928 runpath_var=
7929 allow_undefined_flag=
7930 always_export_symbols=no
7931 archive_cmds=
7932 archive_expsym_cmds=
7933 compiler_needs_object=no
7934 enable_shared_with_static_runtimes=no
7935 export_dynamic_flag_spec=
7936 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7937 hardcode_automatic=no
7938 hardcode_direct=no
7939 hardcode_direct_absolute=no
7940 hardcode_libdir_flag_spec=
7941 hardcode_libdir_flag_spec_ld=
7942 hardcode_libdir_separator=
7943 hardcode_minus_L=no
7944 hardcode_shlibpath_var=unsupported
7945 inherit_rpath=no
7946 link_all_deplibs=unknown
7947 module_cmds=
7948 module_expsym_cmds=
7949 old_archive_from_new_cmds=
7950 old_archive_from_expsyms_cmds=
7951 thread_safe_flag_spec=
7952 whole_archive_flag_spec=
7953 # include_expsyms should be a list of space-separated symbols to be *always*
7954 # included in the symbol list
7955 include_expsyms=
7956 # exclude_expsyms can be an extended regexp of symbols to exclude
7957 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7958 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7959 # as well as any symbol that contains `d'.
7960 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7961 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7962 # platforms (ab)use it in PIC code, but their linkers get confused if
7963 # the symbol is explicitly referenced. Since portable code cannot
7964 # rely on this symbol name, it's probably fine to never include it in
7965 # preloaded symbol tables.
7966 extract_expsyms_cmds=
7968 case $host_os in
7969 cygwin* | mingw* | pw32*)
7970 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7971 # When not using gcc, we currently assume that we are using
7972 # Microsoft Visual C++.
7973 if test "$GCC" != yes; then
7974 with_gnu_ld=no
7977 interix*)
7978 # we just hope/assume this is gcc and not c89 (= MSVC++)
7979 with_gnu_ld=yes
7981 openbsd*)
7982 with_gnu_ld=no
7984 esac
7986 ld_shlibs=yes
7987 if test "$with_gnu_ld" = yes; then
7988 # If archive_cmds runs LD, not CC, wlarc should be empty
7989 wlarc='${wl}'
7991 # Set some defaults for GNU ld with shared library support. These
7992 # are reset later if shared libraries are not supported. Putting them
7993 # here allows them to be overridden if necessary.
7994 runpath_var=LD_RUN_PATH
7995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7996 export_dynamic_flag_spec='${wl}--export-dynamic'
7997 # ancient GNU ld didn't support --whole-archive et. al.
7998 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7999 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8000 else
8001 whole_archive_flag_spec=
8003 supports_anon_versioning=no
8004 case `$LD -v 2>&1` in
8005 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8006 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8007 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8008 *\ 2.11.*) ;; # other 2.11 versions
8009 *) supports_anon_versioning=yes ;;
8010 esac
8012 # See if GNU ld supports shared libraries.
8013 case $host_os in
8014 aix[3-9]*)
8015 # On AIX/PPC, the GNU linker is very broken
8016 if test "$host_cpu" != ia64; then
8017 ld_shlibs=no
8018 cat <<_LT_EOF 1>&2
8020 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8021 *** to be unable to reliably create shared libraries on AIX.
8022 *** Therefore, libtool is disabling shared libraries support. If you
8023 *** really care for shared libraries, you may want to modify your PATH
8024 *** so that a non-GNU linker is found, and then restart.
8026 _LT_EOF
8030 amigaos*)
8031 if test "$host_cpu" = m68k; then
8032 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)'
8033 hardcode_libdir_flag_spec='-L$libdir'
8034 hardcode_minus_L=yes
8037 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8038 # that the semantics of dynamic libraries on AmigaOS, at least up
8039 # to version 4, is to share data among multiple programs linked
8040 # with the same dynamic library. Since this doesn't match the
8041 # behavior of shared libraries on other platforms, we can't use
8042 # them.
8043 ld_shlibs=no
8046 beos*)
8047 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8048 allow_undefined_flag=unsupported
8049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8050 # support --undefined. This deserves some investigation. FIXME
8051 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8052 else
8053 ld_shlibs=no
8057 cygwin* | mingw* | pw32*)
8058 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8059 # as there is no search path for DLLs.
8060 hardcode_libdir_flag_spec='-L$libdir'
8061 allow_undefined_flag=unsupported
8062 always_export_symbols=no
8063 enable_shared_with_static_runtimes=yes
8064 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8066 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8067 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8068 # If the export-symbols file already is a .def file (1st line
8069 # is EXPORTS), use it as is; otherwise, prepend...
8070 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8071 cp $export_symbols $output_objdir/$soname.def;
8072 else
8073 echo EXPORTS > $output_objdir/$soname.def;
8074 cat $export_symbols >> $output_objdir/$soname.def;
8076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8077 else
8078 ld_shlibs=no
8082 interix[3-9]*)
8083 hardcode_direct=no
8084 hardcode_shlibpath_var=no
8085 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8086 export_dynamic_flag_spec='${wl}-E'
8087 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8088 # Instead, shared libraries are loaded at an image base (0x10000000 by
8089 # default) and relocated if they conflict, which is a slow very memory
8090 # consuming and fragmenting process. To avoid this, we pick a random,
8091 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8092 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8093 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8094 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'
8097 gnu* | linux* | tpf* | k*bsd*-gnu)
8098 tmp_diet=no
8099 if test "$host_os" = linux-dietlibc; then
8100 case $cc_basename in
8101 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8102 esac
8104 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8105 && test "$tmp_diet" = no
8106 then
8107 tmp_addflag=
8108 case $cc_basename,$host_cpu in
8109 pgcc*) # Portland Group C compiler
8110 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8111 tmp_addflag=' $pic_flag'
8113 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8114 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8115 tmp_addflag=' $pic_flag -Mnomain' ;;
8116 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8117 tmp_addflag=' -i_dynamic' ;;
8118 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8119 tmp_addflag=' -i_dynamic -nofor_main' ;;
8120 ifc* | ifort*) # Intel Fortran compiler
8121 tmp_addflag=' -nofor_main' ;;
8122 esac
8123 case `$CC -V 2>&1 | sed 5q` in
8124 *Sun\ C*) # Sun C 5.9
8125 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8126 compiler_needs_object=yes
8127 tmp_sharedflag='-G' ;;
8128 *Sun\ F*) # Sun Fortran 8.3
8129 tmp_sharedflag='-G' ;;
8131 tmp_sharedflag='-shared' ;;
8132 esac
8133 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8135 if test "x$supports_anon_versioning" = xyes; then
8136 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8137 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8138 echo "local: *; };" >> $output_objdir/$libname.ver~
8139 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8141 else
8142 ld_shlibs=no
8146 netbsd*)
8147 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8148 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8149 wlarc=
8150 else
8151 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8152 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8156 solaris*)
8157 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8158 ld_shlibs=no
8159 cat <<_LT_EOF 1>&2
8161 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8162 *** create shared libraries on Solaris systems. Therefore, libtool
8163 *** is disabling shared libraries support. We urge you to upgrade GNU
8164 *** binutils to release 2.9.1 or newer. Another option is to modify
8165 *** your PATH or compiler configuration so that the native linker is
8166 *** used, and then restart.
8168 _LT_EOF
8169 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8171 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8172 else
8173 ld_shlibs=no
8177 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8178 case `$LD -v 2>&1` in
8179 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8180 ld_shlibs=no
8181 cat <<_LT_EOF 1>&2
8183 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8184 *** reliably create shared libraries on SCO systems. Therefore, libtool
8185 *** is disabling shared libraries support. We urge you to upgrade GNU
8186 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8187 *** your PATH or compiler configuration so that the native linker is
8188 *** used, and then restart.
8190 _LT_EOF
8193 # For security reasons, it is highly recommended that you always
8194 # use absolute paths for naming shared libraries, and exclude the
8195 # DT_RUNPATH tag from executables and libraries. But doing so
8196 # requires that you compile everything twice, which is a pain.
8197 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8198 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8201 else
8202 ld_shlibs=no
8205 esac
8208 sunos4*)
8209 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8210 wlarc=
8211 hardcode_direct=yes
8212 hardcode_shlibpath_var=no
8216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8217 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8218 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8219 else
8220 ld_shlibs=no
8223 esac
8225 if test "$ld_shlibs" = no; then
8226 runpath_var=
8227 hardcode_libdir_flag_spec=
8228 export_dynamic_flag_spec=
8229 whole_archive_flag_spec=
8231 else
8232 # PORTME fill in a description of your system's linker (not GNU ld)
8233 case $host_os in
8234 aix3*)
8235 allow_undefined_flag=unsupported
8236 always_export_symbols=yes
8237 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'
8238 # Note: this linker hardcodes the directories in LIBPATH if there
8239 # are no directories specified by -L.
8240 hardcode_minus_L=yes
8241 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8242 # Neither direct hardcoding nor static linking is supported with a
8243 # broken collect2.
8244 hardcode_direct=unsupported
8248 aix[4-9]*)
8249 if test "$host_cpu" = ia64; then
8250 # On IA64, the linker does run time linking by default, so we don't
8251 # have to do anything special.
8252 aix_use_runtimelinking=no
8253 exp_sym_flag='-Bexport'
8254 no_entry_flag=""
8255 else
8256 # If we're using GNU nm, then we don't want the "-C" option.
8257 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8258 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8259 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8260 else
8261 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'
8263 aix_use_runtimelinking=no
8265 # Test if we are trying to use run time linking or normal
8266 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8267 # need to do runtime linking.
8268 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8269 for ld_flag in $LDFLAGS; do
8270 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8271 aix_use_runtimelinking=yes
8272 break
8274 done
8276 esac
8278 exp_sym_flag='-bexport'
8279 no_entry_flag='-bnoentry'
8282 # When large executables or shared objects are built, AIX ld can
8283 # have problems creating the table of contents. If linking a library
8284 # or program results in "error TOC overflow" add -mminimal-toc to
8285 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8286 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8288 archive_cmds=''
8289 hardcode_direct=yes
8290 hardcode_direct_absolute=yes
8291 hardcode_libdir_separator=':'
8292 link_all_deplibs=yes
8293 file_list_spec='${wl}-f,'
8295 if test "$GCC" = yes; then
8296 case $host_os in aix4.[012]|aix4.[012].*)
8297 # We only want to do this on AIX 4.2 and lower, the check
8298 # below for broken collect2 doesn't work under 4.3+
8299 collect2name=`${CC} -print-prog-name=collect2`
8300 if test -f "$collect2name" &&
8301 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8302 then
8303 # We have reworked collect2
8305 else
8306 # We have old collect2
8307 hardcode_direct=unsupported
8308 # It fails to find uninstalled libraries when the uninstalled
8309 # path is not listed in the libpath. Setting hardcode_minus_L
8310 # to unsupported forces relinking
8311 hardcode_minus_L=yes
8312 hardcode_libdir_flag_spec='-L$libdir'
8313 hardcode_libdir_separator=
8316 esac
8317 shared_flag='-shared'
8318 if test "$aix_use_runtimelinking" = yes; then
8319 shared_flag="$shared_flag "'${wl}-G'
8321 else
8322 # not using gcc
8323 if test "$host_cpu" = ia64; then
8324 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8325 # chokes on -Wl,-G. The following line is correct:
8326 shared_flag='-G'
8327 else
8328 if test "$aix_use_runtimelinking" = yes; then
8329 shared_flag='${wl}-G'
8330 else
8331 shared_flag='${wl}-bM:SRE'
8336 # It seems that -bexpall does not export symbols beginning with
8337 # underscore (_), so it is better to generate a list of symbols to export.
8338 always_export_symbols=yes
8339 if test "$aix_use_runtimelinking" = yes; then
8340 # Warning - without using the other runtime loading flags (-brtl),
8341 # -berok will link without error, but may produce a broken library.
8342 allow_undefined_flag='-berok'
8343 # Determine the default libpath from the value encoded in an
8344 # empty executable.
8345 if test x$gcc_no_link = xyes; then
8346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8348 { (exit 1); exit 1; }; }
8350 cat >conftest.$ac_ext <<_ACEOF
8351 /* confdefs.h. */
8352 _ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8358 main ()
8362 return 0;
8364 _ACEOF
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8367 case "(($ac_try" in
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8370 esac
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8373 ac_status=$?
8374 grep -v '^ *+' conftest.er1 >conftest.err
8375 rm -f conftest.er1
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8384 lt_aix_libpath_sed='
8385 /Import File Strings/,/^$/ {
8386 /^0/ {
8387 s/^0 *\(.*\)$/\1/
8391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8392 # Check for a 64-bit object if we didn't find anything.
8393 if test -z "$aix_libpath"; then
8394 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8396 else
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8404 conftest$ac_exeext conftest.$ac_ext
8405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8408 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8409 else
8410 if test "$host_cpu" = ia64; then
8411 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8412 allow_undefined_flag="-z nodefs"
8413 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"
8414 else
8415 # Determine the default libpath from the value encoded in an
8416 # empty executable.
8417 if test x$gcc_no_link = xyes; then
8418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8420 { (exit 1); exit 1; }; }
8422 cat >conftest.$ac_ext <<_ACEOF
8423 /* confdefs.h. */
8424 _ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8430 main ()
8434 return 0;
8436 _ACEOF
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (ac_try="$ac_link"
8439 case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;;
8442 esac
8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 (eval "$ac_link") 2>conftest.er1
8445 ac_status=$?
8446 grep -v '^ *+' conftest.er1 >conftest.err
8447 rm -f conftest.er1
8448 cat conftest.err >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } && {
8451 test -z "$ac_c_werror_flag" ||
8452 test ! -s conftest.err
8453 } && test -s conftest$ac_exeext &&
8454 $as_test_x conftest$ac_exeext; then
8456 lt_aix_libpath_sed='
8457 /Import File Strings/,/^$/ {
8458 /^0/ {
8459 s/^0 *\(.*\)$/\1/
8463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8464 # Check for a 64-bit object if we didn't find anything.
8465 if test -z "$aix_libpath"; then
8466 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8468 else
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.$ac_ext >&5
8475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8476 conftest$ac_exeext conftest.$ac_ext
8477 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8479 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8480 # Warning - without using the other run time loading flags,
8481 # -berok will link without error, but may produce a broken library.
8482 no_undefined_flag=' ${wl}-bernotok'
8483 allow_undefined_flag=' ${wl}-berok'
8484 # Exported symbols can be pulled into shared objects from archives
8485 whole_archive_flag_spec='$convenience'
8486 archive_cmds_need_lc=yes
8487 # This is similar to how AIX traditionally builds its shared libraries.
8488 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'
8493 amigaos*)
8494 if test "$host_cpu" = m68k; then
8495 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)'
8496 hardcode_libdir_flag_spec='-L$libdir'
8497 hardcode_minus_L=yes
8499 # see comment about different semantics on the GNU ld section
8500 ld_shlibs=no
8503 bsdi[45]*)
8504 export_dynamic_flag_spec=-rdynamic
8507 cygwin* | mingw* | pw32*)
8508 # When not using gcc, we currently assume that we are using
8509 # Microsoft Visual C++.
8510 # hardcode_libdir_flag_spec is actually meaningless, as there is
8511 # no search path for DLLs.
8512 hardcode_libdir_flag_spec=' '
8513 allow_undefined_flag=unsupported
8514 # Tell ltmain to make .lib files, not .a files.
8515 libext=lib
8516 # Tell ltmain to make .dll files, not .so files.
8517 shrext_cmds=".dll"
8518 # FIXME: Setting linknames here is a bad hack.
8519 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8520 # The linker will automatically build a .lib file if we build a DLL.
8521 old_archive_from_new_cmds='true'
8522 # FIXME: Should let the user specify the lib program.
8523 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8524 fix_srcfile_path='`cygpath -w "$srcfile"`'
8525 enable_shared_with_static_runtimes=yes
8528 darwin* | rhapsody*)
8529 case $host_os in
8530 rhapsody* | darwin1.[012])
8531 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8533 *) # Darwin 1.3 on
8534 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8535 10.[012])
8536 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8538 10.*)
8539 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8541 esac
8543 esac
8544 archive_cmds_need_lc=no
8545 hardcode_direct=no
8546 hardcode_automatic=yes
8547 hardcode_shlibpath_var=unsupported
8548 whole_archive_flag_spec=''
8549 link_all_deplibs=yes
8550 if test "$GCC" = yes ; then
8551 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 else
8554 lt_cv_apple_cc_single_mod=no
8555 if test -z "${LT_MULTI_MODULE}"; then
8556 # By default we will add the -single_module flag. You can override
8557 # by either setting the environment variable LT_MULTI_MODULE
8558 # non-empty at configure time, or by adding -multi-module to the
8559 # link flags.
8560 echo "int foo(void){return 1;}" > conftest.c
8561 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8562 -dynamiclib ${wl}-single_module conftest.c
8563 if test -f libconftest.dylib; then
8564 lt_cv_apple_cc_single_mod=yes
8565 rm libconftest.dylib
8567 rm conftest.$ac_ext
8571 output_verbose_link_cmd=echo
8572 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8573 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8574 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8575 else
8576 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8577 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8579 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8580 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8581 else
8582 case $cc_basename in
8583 xlc*)
8584 output_verbose_link_cmd=echo
8585 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8586 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8588 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8589 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8592 ld_shlibs=no
8594 esac
8598 dgux*)
8599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8600 hardcode_libdir_flag_spec='-L$libdir'
8601 hardcode_shlibpath_var=no
8604 freebsd1*)
8605 ld_shlibs=no
8608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8609 # support. Future versions do this automatically, but an explicit c++rt0.o
8610 # does not break anything, and helps significantly (at the cost of a little
8611 # extra space).
8612 freebsd2.2*)
8613 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8614 hardcode_libdir_flag_spec='-R$libdir'
8615 hardcode_direct=yes
8616 hardcode_shlibpath_var=no
8619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8620 freebsd2*)
8621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8622 hardcode_direct=yes
8623 hardcode_minus_L=yes
8624 hardcode_shlibpath_var=no
8627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8628 freebsd* | dragonfly*)
8629 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8630 hardcode_libdir_flag_spec='-R$libdir'
8631 hardcode_direct=yes
8632 hardcode_shlibpath_var=no
8635 hpux9*)
8636 if test "$GCC" = yes; then
8637 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'
8638 else
8639 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'
8641 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8642 hardcode_libdir_separator=:
8643 hardcode_direct=yes
8645 # hardcode_minus_L: Not really in the search PATH,
8646 # but as the default location of the library.
8647 hardcode_minus_L=yes
8648 export_dynamic_flag_spec='${wl}-E'
8651 hpux10*)
8652 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8653 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8654 else
8655 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8657 if test "$with_gnu_ld" = no; then
8658 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8659 hardcode_libdir_flag_spec_ld='+b $libdir'
8660 hardcode_libdir_separator=:
8661 hardcode_direct=yes
8662 hardcode_direct_absolute=yes
8663 export_dynamic_flag_spec='${wl}-E'
8664 # hardcode_minus_L: Not really in the search PATH,
8665 # but as the default location of the library.
8666 hardcode_minus_L=yes
8670 hpux11*)
8671 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8672 case $host_cpu in
8673 hppa*64*)
8674 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8676 ia64*)
8677 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8682 esac
8683 else
8684 case $host_cpu in
8685 hppa*64*)
8686 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8688 ia64*)
8689 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8692 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8694 esac
8696 if test "$with_gnu_ld" = no; then
8697 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8698 hardcode_libdir_separator=:
8700 case $host_cpu in
8701 hppa*64*|ia64*)
8702 hardcode_direct=no
8703 hardcode_shlibpath_var=no
8706 hardcode_direct=yes
8707 hardcode_direct_absolute=yes
8708 export_dynamic_flag_spec='${wl}-E'
8710 # hardcode_minus_L: Not really in the search PATH,
8711 # but as the default location of the library.
8712 hardcode_minus_L=yes
8714 esac
8718 irix5* | irix6* | nonstopux*)
8719 if test "$GCC" = yes; then
8720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8721 # Try to use the -exported_symbol ld option, if it does not
8722 # work, assume that -exports_file does not work either and
8723 # implicitly export all symbols.
8724 save_LDFLAGS="$LDFLAGS"
8725 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8726 if test x$gcc_no_link = xyes; then
8727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8729 { (exit 1); exit 1; }; }
8731 cat >conftest.$ac_ext <<_ACEOF
8732 int foo(void) {}
8733 _ACEOF
8734 rm -f conftest.$ac_objext conftest$ac_exeext
8735 if { (ac_try="$ac_link"
8736 case "(($ac_try" in
8737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8738 *) ac_try_echo=$ac_try;;
8739 esac
8740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8741 (eval "$ac_link") 2>conftest.er1
8742 ac_status=$?
8743 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } && {
8748 test -z "$ac_c_werror_flag" ||
8749 test ! -s conftest.err
8750 } && test -s conftest$ac_exeext &&
8751 $as_test_x conftest$ac_exeext; then
8752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8754 else
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8762 conftest$ac_exeext conftest.$ac_ext
8763 LDFLAGS="$save_LDFLAGS"
8764 else
8765 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8766 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8768 archive_cmds_need_lc='no'
8769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8770 hardcode_libdir_separator=:
8771 inherit_rpath=yes
8772 link_all_deplibs=yes
8775 netbsd*)
8776 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8778 else
8779 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8781 hardcode_libdir_flag_spec='-R$libdir'
8782 hardcode_direct=yes
8783 hardcode_shlibpath_var=no
8786 newsos6)
8787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_direct=yes
8789 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8790 hardcode_libdir_separator=:
8791 hardcode_shlibpath_var=no
8794 *nto* | *qnx*)
8797 openbsd*)
8798 hardcode_direct=yes
8799 hardcode_shlibpath_var=no
8800 hardcode_direct_absolute=yes
8801 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8802 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8804 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8805 export_dynamic_flag_spec='${wl}-E'
8806 else
8807 case $host_os in
8808 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8810 hardcode_libdir_flag_spec='-R$libdir'
8813 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8814 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8816 esac
8820 os2*)
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_minus_L=yes
8823 allow_undefined_flag=unsupported
8824 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'
8825 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8828 osf3*)
8829 if test "$GCC" = yes; then
8830 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8832 else
8833 allow_undefined_flag=' -expect_unresolved \*'
8834 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8836 archive_cmds_need_lc='no'
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 hardcode_libdir_separator=:
8841 osf4* | osf5*) # as osf3* with the addition of -msym flag
8842 if test "$GCC" = yes; then
8843 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8844 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8846 else
8847 allow_undefined_flag=' -expect_unresolved \*'
8848 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8849 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~
8850 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8852 # Both c and cxx compiler support -rpath directly
8853 hardcode_libdir_flag_spec='-rpath $libdir'
8855 archive_cmds_need_lc='no'
8856 hardcode_libdir_separator=:
8859 solaris*)
8860 no_undefined_flag=' -z defs'
8861 if test "$GCC" = yes; then
8862 wlarc='${wl}'
8863 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8866 else
8867 case `$CC -V 2>&1` in
8868 *"Compilers 5.0"*)
8869 wlarc=''
8870 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8871 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8872 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8875 wlarc='${wl}'
8876 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8878 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8880 esac
8882 hardcode_libdir_flag_spec='-R$libdir'
8883 hardcode_shlibpath_var=no
8884 case $host_os in
8885 solaris2.[0-5] | solaris2.[0-5].*) ;;
8887 # The compiler driver will combine and reorder linker options,
8888 # but understands `-z linker_flag'. GCC discards it without `$wl',
8889 # but is careful enough not to reorder.
8890 # Supported since Solaris 2.6 (maybe 2.5.1?)
8891 if test "$GCC" = yes; then
8892 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8893 else
8894 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8897 esac
8898 link_all_deplibs=yes
8901 sunos4*)
8902 if test "x$host_vendor" = xsequent; then
8903 # Use $CC to link under sequent, because it throws in some extra .o
8904 # files that make .init and .fini sections work.
8905 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8906 else
8907 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8909 hardcode_libdir_flag_spec='-L$libdir'
8910 hardcode_direct=yes
8911 hardcode_minus_L=yes
8912 hardcode_shlibpath_var=no
8915 sysv4)
8916 case $host_vendor in
8917 sni)
8918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919 hardcode_direct=yes # is this really true???
8921 siemens)
8922 ## LD is ld it makes a PLAMLIB
8923 ## CC just makes a GrossModule.
8924 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8925 reload_cmds='$CC -r -o $output$reload_objs'
8926 hardcode_direct=no
8928 motorola)
8929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8932 esac
8933 runpath_var='LD_RUN_PATH'
8934 hardcode_shlibpath_var=no
8937 sysv4.3*)
8938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_shlibpath_var=no
8940 export_dynamic_flag_spec='-Bexport'
8943 sysv4*MP*)
8944 if test -d /usr/nec; then
8945 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8946 hardcode_shlibpath_var=no
8947 runpath_var=LD_RUN_PATH
8948 hardcode_runpath_var=yes
8949 ld_shlibs=yes
8953 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8954 no_undefined_flag='${wl}-z,text'
8955 archive_cmds_need_lc=no
8956 hardcode_shlibpath_var=no
8957 runpath_var='LD_RUN_PATH'
8959 if test "$GCC" = yes; then
8960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8962 else
8963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8968 sysv5* | sco3.2v5* | sco5v6*)
8969 # Note: We can NOT use -z defs as we might desire, because we do not
8970 # link with -lc, and that would cause any symbols used from libc to
8971 # always be unresolved, which means just about no library would
8972 # ever link correctly. If we're not using GNU ld we use -z text
8973 # though, which does catch some bad symbols but isn't as heavy-handed
8974 # as -z defs.
8975 no_undefined_flag='${wl}-z,text'
8976 allow_undefined_flag='${wl}-z,nodefs'
8977 archive_cmds_need_lc=no
8978 hardcode_shlibpath_var=no
8979 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8980 hardcode_libdir_separator=':'
8981 link_all_deplibs=yes
8982 export_dynamic_flag_spec='${wl}-Bexport'
8983 runpath_var='LD_RUN_PATH'
8985 if test "$GCC" = yes; then
8986 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8988 else
8989 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8994 uts4*)
8995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996 hardcode_libdir_flag_spec='-L$libdir'
8997 hardcode_shlibpath_var=no
9001 ld_shlibs=no
9003 esac
9005 if test x$host_vendor = xsni; then
9006 case $host in
9007 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9008 export_dynamic_flag_spec='${wl}-Blargedynsym'
9010 esac
9014 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9015 echo "${ECHO_T}$ld_shlibs" >&6; }
9016 test "$ld_shlibs" = no && can_build_shared=no
9018 with_gnu_ld=$with_gnu_ld
9035 # Do we need to explicitly link libc?
9037 case "x$archive_cmds_need_lc" in
9038 x|xyes)
9039 # Assume -lc should be added
9040 archive_cmds_need_lc=yes
9042 if test "$enable_shared" = yes && test "$GCC" = yes; then
9043 case $archive_cmds in
9044 *'~'*)
9045 # FIXME: we may have to deal with multi-command sequences.
9047 '$CC '*)
9048 # Test whether the compiler implicitly links with -lc since on some
9049 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9050 # to ld, don't add -lc before -lgcc.
9051 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9052 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9053 $RM conftest*
9054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9057 (eval $ac_compile) 2>&5
9058 ac_status=$?
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } 2>conftest.err; then
9061 soname=conftest
9062 lib=conftest
9063 libobjs=conftest.$ac_objext
9064 deplibs=
9065 wl=$lt_prog_compiler_wl
9066 pic_flag=$lt_prog_compiler_pic
9067 compiler_flags=-v
9068 linker_flags=-v
9069 verstring=
9070 output_objdir=.
9071 libname=conftest
9072 lt_save_allow_undefined_flag=$allow_undefined_flag
9073 allow_undefined_flag=
9074 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9075 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9076 ac_status=$?
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }
9079 then
9080 archive_cmds_need_lc=no
9081 else
9082 archive_cmds_need_lc=yes
9084 allow_undefined_flag=$lt_save_allow_undefined_flag
9085 else
9086 cat conftest.err 1>&5
9088 $RM conftest*
9089 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9090 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9092 esac
9095 esac
9253 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9254 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9255 withGCC=$GCC
9256 if test "$withGCC" = yes; then
9257 case $host_os in
9258 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9259 *) lt_awk_arg="/^libraries:/" ;;
9260 esac
9261 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9262 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9263 # if the path contains ";" then we assume it to be the separator
9264 # otherwise default to the standard path separator (i.e. ":") - it is
9265 # assumed that no part of a normal pathname contains ";" but that should
9266 # okay in the real world where ";" in dirpaths is itself problematic.
9267 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9268 else
9269 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9271 # Ok, now we have the path, separated by spaces, we can step through it
9272 # and add multilib dir if necessary.
9273 lt_tmp_lt_search_path_spec=
9274 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9275 for lt_sys_path in $lt_search_path_spec; do
9276 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9277 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9278 else
9279 test -d "$lt_sys_path" && \
9280 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9282 done
9283 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9284 BEGIN {RS=" "; FS="/|\n";} {
9285 lt_foo="";
9286 lt_count=0;
9287 for (lt_i = NF; lt_i > 0; lt_i--) {
9288 if ($lt_i != "" && $lt_i != ".") {
9289 if ($lt_i == "..") {
9290 lt_count++;
9291 } else {
9292 if (lt_count == 0) {
9293 lt_foo="/" $lt_i lt_foo;
9294 } else {
9295 lt_count--;
9300 if (lt_foo != "") { lt_freq[lt_foo]++; }
9301 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9303 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9304 else
9305 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9307 library_names_spec=
9308 libname_spec='lib$name'
9309 soname_spec=
9310 shrext_cmds=".so"
9311 postinstall_cmds=
9312 postuninstall_cmds=
9313 finish_cmds=
9314 finish_eval=
9315 shlibpath_var=
9316 shlibpath_overrides_runpath=unknown
9317 version_type=none
9318 dynamic_linker="$host_os ld.so"
9319 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9320 need_lib_prefix=unknown
9321 hardcode_into_libs=no
9323 # when you set need_version to no, make sure it does not cause -set_version
9324 # flags to be left without arguments
9325 need_version=unknown
9327 case $host_os in
9328 aix3*)
9329 version_type=linux
9330 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9331 shlibpath_var=LIBPATH
9333 # AIX 3 has no versioning support, so we append a major version to the name.
9334 soname_spec='${libname}${release}${shared_ext}$major'
9337 aix[4-9]*)
9338 version_type=linux
9339 need_lib_prefix=no
9340 need_version=no
9341 hardcode_into_libs=yes
9342 if test "$host_cpu" = ia64; then
9343 # AIX 5 supports IA64
9344 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9345 shlibpath_var=LD_LIBRARY_PATH
9346 else
9347 # With GCC up to 2.95.x, collect2 would create an import file
9348 # for dependence libraries. The import file would start with
9349 # the line `#! .'. This would cause the generated library to
9350 # depend on `.', always an invalid library. This was fixed in
9351 # development snapshots of GCC prior to 3.0.
9352 case $host_os in
9353 aix4 | aix4.[01] | aix4.[01].*)
9354 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9355 echo ' yes '
9356 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9358 else
9359 can_build_shared=no
9362 esac
9363 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9364 # soname into executable. Probably we can add versioning support to
9365 # collect2, so additional links can be useful in future.
9366 if test "$aix_use_runtimelinking" = yes; then
9367 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9368 # instead of lib<name>.a to let people know that these are not
9369 # typical AIX shared libraries.
9370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9371 else
9372 # We preserve .a as extension for shared libraries through AIX4.2
9373 # and later when we are not doing run time linking.
9374 library_names_spec='${libname}${release}.a $libname.a'
9375 soname_spec='${libname}${release}${shared_ext}$major'
9377 shlibpath_var=LIBPATH
9381 amigaos*)
9382 if test "$host_cpu" = m68k; then
9383 library_names_spec='$libname.ixlibrary $libname.a'
9384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9385 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9386 else
9387 dynamic_linker=no
9391 beos*)
9392 library_names_spec='${libname}${shared_ext}'
9393 dynamic_linker="$host_os ld.so"
9394 shlibpath_var=LIBRARY_PATH
9397 bsdi[45]*)
9398 version_type=linux
9399 need_version=no
9400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9401 soname_spec='${libname}${release}${shared_ext}$major'
9402 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9403 shlibpath_var=LD_LIBRARY_PATH
9404 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9405 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9406 # the default ld.so.conf also contains /usr/contrib/lib and
9407 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9408 # libtool to hard-code these into programs
9411 cygwin* | mingw* | pw32*)
9412 version_type=windows
9413 shrext_cmds=".dll"
9414 need_version=no
9415 need_lib_prefix=no
9417 case $withGCC,$host_os in
9418 yes,cygwin* | yes,mingw* | yes,pw32*)
9419 library_names_spec='$libname.dll.a'
9420 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9421 postinstall_cmds='base_file=`basename \${file}`~
9422 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9423 dldir=$destdir/`dirname \$dlpath`~
9424 test -d \$dldir || mkdir -p \$dldir~
9425 $install_prog $dir/$dlname \$dldir/$dlname~
9426 chmod a+x \$dldir/$dlname~
9427 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9428 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9430 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9431 dlpath=$dir/\$dldll~
9432 $RM \$dlpath'
9433 shlibpath_overrides_runpath=yes
9435 case $host_os in
9436 cygwin*)
9437 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9438 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9439 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9441 mingw*)
9442 # MinGW DLLs use traditional 'lib' prefix
9443 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9444 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9445 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9446 # It is most probably a Windows format PATH printed by
9447 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9448 # path with ; separators, and with drive letters. We can handle the
9449 # drive letters (cygwin fileutils understands them), so leave them,
9450 # especially as we might pass files found there to a mingw objdump,
9451 # which wouldn't understand a cygwinified path. Ahh.
9452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9453 else
9454 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9457 pw32*)
9458 # pw32 DLLs use 'pw' prefix rather than 'lib'
9459 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9461 esac
9465 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9467 esac
9468 dynamic_linker='Win32 ld.exe'
9469 # FIXME: first we should search . and the directory the executable is in
9470 shlibpath_var=PATH
9473 darwin* | rhapsody*)
9474 dynamic_linker="$host_os dyld"
9475 version_type=darwin
9476 need_lib_prefix=no
9477 need_version=no
9478 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9479 soname_spec='${libname}${release}${major}$shared_ext'
9480 shlibpath_overrides_runpath=yes
9481 shlibpath_var=DYLD_LIBRARY_PATH
9482 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9484 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9485 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9488 dgux*)
9489 version_type=linux
9490 need_lib_prefix=no
9491 need_version=no
9492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9493 soname_spec='${libname}${release}${shared_ext}$major'
9494 shlibpath_var=LD_LIBRARY_PATH
9497 freebsd1*)
9498 dynamic_linker=no
9501 freebsd* | dragonfly*)
9502 # DragonFly does not have aout. When/if they implement a new
9503 # versioning mechanism, adjust this.
9504 if test -x /usr/bin/objformat; then
9505 objformat=`/usr/bin/objformat`
9506 else
9507 case $host_os in
9508 freebsd[123]*) objformat=aout ;;
9509 *) objformat=elf ;;
9510 esac
9512 version_type=freebsd-$objformat
9513 case $version_type in
9514 freebsd-elf*)
9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9516 need_version=no
9517 need_lib_prefix=no
9519 freebsd-*)
9520 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9521 need_version=yes
9523 esac
9524 shlibpath_var=LD_LIBRARY_PATH
9525 case $host_os in
9526 freebsd2*)
9527 shlibpath_overrides_runpath=yes
9529 freebsd3.[01]* | freebsdelf3.[01]*)
9530 shlibpath_overrides_runpath=yes
9531 hardcode_into_libs=yes
9533 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9534 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9535 shlibpath_overrides_runpath=no
9536 hardcode_into_libs=yes
9538 *) # from 4.6 on, and DragonFly
9539 shlibpath_overrides_runpath=yes
9540 hardcode_into_libs=yes
9542 esac
9545 gnu*)
9546 version_type=linux
9547 need_lib_prefix=no
9548 need_version=no
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 shlibpath_var=LD_LIBRARY_PATH
9552 hardcode_into_libs=yes
9555 hpux9* | hpux10* | hpux11*)
9556 # Give a soname corresponding to the major version so that dld.sl refuses to
9557 # link against other versions.
9558 version_type=sunos
9559 need_lib_prefix=no
9560 need_version=no
9561 case $host_cpu in
9562 ia64*)
9563 shrext_cmds='.so'
9564 hardcode_into_libs=yes
9565 dynamic_linker="$host_os dld.so"
9566 shlibpath_var=LD_LIBRARY_PATH
9567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569 soname_spec='${libname}${release}${shared_ext}$major'
9570 if test "X$HPUX_IA64_MODE" = X32; then
9571 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9572 else
9573 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9575 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9577 hppa*64*)
9578 shrext_cmds='.sl'
9579 hardcode_into_libs=yes
9580 dynamic_linker="$host_os dld.sl"
9581 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9582 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584 soname_spec='${libname}${release}${shared_ext}$major'
9585 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9586 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9589 shrext_cmds='.sl'
9590 dynamic_linker="$host_os dld.sl"
9591 shlibpath_var=SHLIB_PATH
9592 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9594 soname_spec='${libname}${release}${shared_ext}$major'
9596 esac
9597 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9598 postinstall_cmds='chmod 555 $lib'
9601 interix[3-9]*)
9602 version_type=linux
9603 need_lib_prefix=no
9604 need_version=no
9605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9606 soname_spec='${libname}${release}${shared_ext}$major'
9607 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9608 shlibpath_var=LD_LIBRARY_PATH
9609 shlibpath_overrides_runpath=no
9610 hardcode_into_libs=yes
9613 irix5* | irix6* | nonstopux*)
9614 case $host_os in
9615 nonstopux*) version_type=nonstopux ;;
9617 if test "$lt_cv_prog_gnu_ld" = yes; then
9618 version_type=linux
9619 else
9620 version_type=irix
9621 fi ;;
9622 esac
9623 need_lib_prefix=no
9624 need_version=no
9625 soname_spec='${libname}${release}${shared_ext}$major'
9626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9627 case $host_os in
9628 irix5* | nonstopux*)
9629 libsuff= shlibsuff=
9632 case $LD in # libtool.m4 will add one of these switches to LD
9633 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9634 libsuff= shlibsuff= libmagic=32-bit;;
9635 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9636 libsuff=32 shlibsuff=N32 libmagic=N32;;
9637 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9638 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9639 *) libsuff= shlibsuff= libmagic=never-match;;
9640 esac
9642 esac
9643 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9644 shlibpath_overrides_runpath=no
9645 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9646 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9647 hardcode_into_libs=yes
9650 # No shared lib support for Linux oldld, aout, or coff.
9651 linux*oldld* | linux*aout* | linux*coff*)
9652 dynamic_linker=no
9655 # This must be Linux ELF.
9656 linux* | k*bsd*-gnu)
9657 version_type=linux
9658 need_lib_prefix=no
9659 need_version=no
9660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661 soname_spec='${libname}${release}${shared_ext}$major'
9662 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9663 shlibpath_var=LD_LIBRARY_PATH
9664 shlibpath_overrides_runpath=no
9665 # Some binutils ld are patched to set DT_RUNPATH
9666 save_LDFLAGS=$LDFLAGS
9667 save_libdir=$libdir
9668 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9669 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9670 if test x$gcc_no_link = xyes; then
9671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9673 { (exit 1); exit 1; }; }
9675 cat >conftest.$ac_ext <<_ACEOF
9676 /* confdefs.h. */
9677 _ACEOF
9678 cat confdefs.h >>conftest.$ac_ext
9679 cat >>conftest.$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9683 main ()
9687 return 0;
9689 _ACEOF
9690 rm -f conftest.$ac_objext conftest$ac_exeext
9691 if { (ac_try="$ac_link"
9692 case "(($ac_try" in
9693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694 *) ac_try_echo=$ac_try;;
9695 esac
9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 (eval "$ac_link") 2>conftest.er1
9698 ac_status=$?
9699 grep -v '^ *+' conftest.er1 >conftest.err
9700 rm -f conftest.er1
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } && {
9704 test -z "$ac_c_werror_flag" ||
9705 test ! -s conftest.err
9706 } && test -s conftest$ac_exeext &&
9707 $as_test_x conftest$ac_exeext; then
9708 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9709 shlibpath_overrides_runpath=yes
9712 else
9713 echo "$as_me: failed program was:" >&5
9714 sed 's/^/| /' conftest.$ac_ext >&5
9719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LDFLAGS=$save_LDFLAGS
9722 libdir=$save_libdir
9724 # This implies no fast_install, which is unacceptable.
9725 # Some rework will be needed to allow for fast_install
9726 # before this can be enabled.
9727 hardcode_into_libs=yes
9729 # Append ld.so.conf contents to the search path
9730 if test -f /etc/ld.so.conf; then
9731 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9732 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9735 # We used to test for /lib/ld.so.1 and disable shared libraries on
9736 # powerpc, because MkLinux only supported shared libraries with the
9737 # GNU dynamic linker. Since this was broken with cross compilers,
9738 # most powerpc-linux boxes support dynamic linking these days and
9739 # people can always --disable-shared, the test was removed, and we
9740 # assume the GNU/Linux dynamic linker is in use.
9741 dynamic_linker='GNU/Linux ld.so'
9744 netbsd*)
9745 version_type=sunos
9746 need_lib_prefix=no
9747 need_version=no
9748 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9751 dynamic_linker='NetBSD (a.out) ld.so'
9752 else
9753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9754 soname_spec='${libname}${release}${shared_ext}$major'
9755 dynamic_linker='NetBSD ld.elf_so'
9757 shlibpath_var=LD_LIBRARY_PATH
9758 shlibpath_overrides_runpath=yes
9759 hardcode_into_libs=yes
9762 newsos6)
9763 version_type=linux
9764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765 shlibpath_var=LD_LIBRARY_PATH
9766 shlibpath_overrides_runpath=yes
9769 *nto* | *qnx*)
9770 version_type=qnx
9771 need_lib_prefix=no
9772 need_version=no
9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774 soname_spec='${libname}${release}${shared_ext}$major'
9775 shlibpath_var=LD_LIBRARY_PATH
9776 shlibpath_overrides_runpath=no
9777 hardcode_into_libs=yes
9778 dynamic_linker='ldqnx.so'
9781 openbsd*)
9782 version_type=sunos
9783 sys_lib_dlsearch_path_spec="/usr/lib"
9784 need_lib_prefix=no
9785 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9786 case $host_os in
9787 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9788 *) need_version=no ;;
9789 esac
9790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9791 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9792 shlibpath_var=LD_LIBRARY_PATH
9793 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9794 case $host_os in
9795 openbsd2.[89] | openbsd2.[89].*)
9796 shlibpath_overrides_runpath=no
9799 shlibpath_overrides_runpath=yes
9801 esac
9802 else
9803 shlibpath_overrides_runpath=yes
9807 os2*)
9808 libname_spec='$name'
9809 shrext_cmds=".dll"
9810 need_lib_prefix=no
9811 library_names_spec='$libname${shared_ext} $libname.a'
9812 dynamic_linker='OS/2 ld.exe'
9813 shlibpath_var=LIBPATH
9816 osf3* | osf4* | osf5*)
9817 version_type=osf
9818 need_lib_prefix=no
9819 need_version=no
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 shlibpath_var=LD_LIBRARY_PATH
9823 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9824 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9827 rdos*)
9828 dynamic_linker=no
9831 solaris*)
9832 version_type=linux
9833 need_lib_prefix=no
9834 need_version=no
9835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 soname_spec='${libname}${release}${shared_ext}$major'
9837 shlibpath_var=LD_LIBRARY_PATH
9838 shlibpath_overrides_runpath=yes
9839 hardcode_into_libs=yes
9840 # ldd complains unless libraries are executable
9841 postinstall_cmds='chmod +x $lib'
9844 sunos4*)
9845 version_type=sunos
9846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9847 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9848 shlibpath_var=LD_LIBRARY_PATH
9849 shlibpath_overrides_runpath=yes
9850 if test "$with_gnu_ld" = yes; then
9851 need_lib_prefix=no
9853 need_version=yes
9856 sysv4 | sysv4.3*)
9857 version_type=linux
9858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859 soname_spec='${libname}${release}${shared_ext}$major'
9860 shlibpath_var=LD_LIBRARY_PATH
9861 case $host_vendor in
9862 sni)
9863 shlibpath_overrides_runpath=no
9864 need_lib_prefix=no
9865 runpath_var=LD_RUN_PATH
9867 siemens)
9868 need_lib_prefix=no
9870 motorola)
9871 need_lib_prefix=no
9872 need_version=no
9873 shlibpath_overrides_runpath=no
9874 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9876 esac
9879 sysv4*MP*)
9880 if test -d /usr/nec ;then
9881 version_type=linux
9882 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9883 soname_spec='$libname${shared_ext}.$major'
9884 shlibpath_var=LD_LIBRARY_PATH
9888 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9889 version_type=freebsd-elf
9890 need_lib_prefix=no
9891 need_version=no
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9893 soname_spec='${libname}${release}${shared_ext}$major'
9894 shlibpath_var=LD_LIBRARY_PATH
9895 shlibpath_overrides_runpath=yes
9896 hardcode_into_libs=yes
9897 if test "$with_gnu_ld" = yes; then
9898 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9899 else
9900 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9901 case $host_os in
9902 sco3.2v5*)
9903 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9905 esac
9907 sys_lib_dlsearch_path_spec='/usr/lib'
9910 tpf*)
9911 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9912 version_type=linux
9913 need_lib_prefix=no
9914 need_version=no
9915 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9916 shlibpath_var=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath=no
9918 hardcode_into_libs=yes
9921 uts4*)
9922 version_type=linux
9923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9924 soname_spec='${libname}${release}${shared_ext}$major'
9925 shlibpath_var=LD_LIBRARY_PATH
9929 dynamic_linker=no
9931 esac
9932 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9933 echo "${ECHO_T}$dynamic_linker" >&6; }
9934 test "$dynamic_linker" = no && can_build_shared=no
9936 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9937 if test "$GCC" = yes; then
9938 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10027 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10028 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10029 hardcode_action=
10030 if test -n "$hardcode_libdir_flag_spec" ||
10031 test -n "$runpath_var" ||
10032 test "X$hardcode_automatic" = "Xyes" ; then
10034 # We can hardcode non-existent directories.
10035 if test "$hardcode_direct" != no &&
10036 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10037 # have to relink, otherwise we might link with an installed library
10038 # when we should be linking with a yet-to-be-installed one
10039 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10040 test "$hardcode_minus_L" != no; then
10041 # Linking always hardcodes the temporary library directory.
10042 hardcode_action=relink
10043 else
10044 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10045 hardcode_action=immediate
10047 else
10048 # We cannot hardcode anything, or else we can only hardcode existing
10049 # directories.
10050 hardcode_action=unsupported
10052 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10053 echo "${ECHO_T}$hardcode_action" >&6; }
10055 if test "$hardcode_action" = relink ||
10056 test "$inherit_rpath" = yes; then
10057 # Fast installation is not supported
10058 enable_fast_install=no
10059 elif test "$shlibpath_overrides_runpath" = yes ||
10060 test "$enable_shared" = no; then
10061 # Fast installation is not necessary
10062 enable_fast_install=needless
10070 if test "x$enable_dlopen" != xyes; then
10071 enable_dlopen=unknown
10072 enable_dlopen_self=unknown
10073 enable_dlopen_self_static=unknown
10074 else
10075 lt_cv_dlopen=no
10076 lt_cv_dlopen_libs=
10078 case $host_os in
10079 beos*)
10080 lt_cv_dlopen="load_add_on"
10081 lt_cv_dlopen_libs=
10082 lt_cv_dlopen_self=yes
10085 mingw* | pw32*)
10086 lt_cv_dlopen="LoadLibrary"
10087 lt_cv_dlopen_libs=
10090 cygwin*)
10091 lt_cv_dlopen="dlopen"
10092 lt_cv_dlopen_libs=
10095 darwin*)
10096 # if libdl is installed we need to link against it
10097 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10098 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10099 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 else
10102 ac_check_lib_save_LIBS=$LIBS
10103 LIBS="-ldl $LIBS"
10104 if test x$gcc_no_link = xyes; then
10105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10107 { (exit 1); exit 1; }; }
10109 cat >conftest.$ac_ext <<_ACEOF
10110 /* confdefs.h. */
10111 _ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char dlopen ();
10124 main ()
10126 return dlopen ();
10128 return 0;
10130 _ACEOF
10131 rm -f conftest.$ac_objext conftest$ac_exeext
10132 if { (ac_try="$ac_link"
10133 case "(($ac_try" in
10134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10135 *) ac_try_echo=$ac_try;;
10136 esac
10137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10138 (eval "$ac_link") 2>conftest.er1
10139 ac_status=$?
10140 grep -v '^ *+' conftest.er1 >conftest.err
10141 rm -f conftest.er1
10142 cat conftest.err >&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } && {
10145 test -z "$ac_c_werror_flag" ||
10146 test ! -s conftest.err
10147 } && test -s conftest$ac_exeext &&
10148 $as_test_x conftest$ac_exeext; then
10149 ac_cv_lib_dl_dlopen=yes
10150 else
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.$ac_ext >&5
10154 ac_cv_lib_dl_dlopen=no
10157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10158 conftest$ac_exeext conftest.$ac_ext
10159 LIBS=$ac_check_lib_save_LIBS
10161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10162 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10163 if test $ac_cv_lib_dl_dlopen = yes; then
10164 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10165 else
10167 lt_cv_dlopen="dyld"
10168 lt_cv_dlopen_libs=
10169 lt_cv_dlopen_self=yes
10176 { echo "$as_me:$LINENO: checking for shl_load" >&5
10177 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10178 if test "${ac_cv_func_shl_load+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181 if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10194 #define shl_load innocuous_shl_load
10196 /* System header to define __stub macros and hopefully few prototypes,
10197 which can conflict with char shl_load (); below.
10198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199 <limits.h> exists even on freestanding compilers. */
10201 #ifdef __STDC__
10202 # include <limits.h>
10203 #else
10204 # include <assert.h>
10205 #endif
10207 #undef shl_load
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10212 #ifdef __cplusplus
10213 extern "C"
10214 #endif
10215 char shl_load ();
10216 /* The GNU C library defines this for functions which it implements
10217 to always fail with ENOSYS. Some functions are actually named
10218 something starting with __ and the normal name is an alias. */
10219 #if defined __stub_shl_load || defined __stub___shl_load
10220 choke me
10221 #endif
10224 main ()
10226 return shl_load ();
10228 return 0;
10230 _ACEOF
10231 rm -f conftest.$ac_objext conftest$ac_exeext
10232 if { (ac_try="$ac_link"
10233 case "(($ac_try" in
10234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10235 *) ac_try_echo=$ac_try;;
10236 esac
10237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10238 (eval "$ac_link") 2>conftest.er1
10239 ac_status=$?
10240 grep -v '^ *+' conftest.er1 >conftest.err
10241 rm -f conftest.er1
10242 cat conftest.err >&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } && {
10245 test -z "$ac_c_werror_flag" ||
10246 test ! -s conftest.err
10247 } && test -s conftest$ac_exeext &&
10248 $as_test_x conftest$ac_exeext; then
10249 ac_cv_func_shl_load=yes
10250 else
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_cv_func_shl_load=no
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258 conftest$ac_exeext conftest.$ac_ext
10260 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10261 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10262 if test $ac_cv_func_shl_load = yes; then
10263 lt_cv_dlopen="shl_load"
10264 else
10265 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10266 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10267 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 else
10270 ac_check_lib_save_LIBS=$LIBS
10271 LIBS="-ldld $LIBS"
10272 if test x$gcc_no_link = xyes; then
10273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10275 { (exit 1); exit 1; }; }
10277 cat >conftest.$ac_ext <<_ACEOF
10278 /* confdefs.h. */
10279 _ACEOF
10280 cat confdefs.h >>conftest.$ac_ext
10281 cat >>conftest.$ac_ext <<_ACEOF
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10287 #ifdef __cplusplus
10288 extern "C"
10289 #endif
10290 char shl_load ();
10292 main ()
10294 return shl_load ();
10296 return 0;
10298 _ACEOF
10299 rm -f conftest.$ac_objext conftest$ac_exeext
10300 if { (ac_try="$ac_link"
10301 case "(($ac_try" in
10302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10303 *) ac_try_echo=$ac_try;;
10304 esac
10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10306 (eval "$ac_link") 2>conftest.er1
10307 ac_status=$?
10308 grep -v '^ *+' conftest.er1 >conftest.err
10309 rm -f conftest.er1
10310 cat conftest.err >&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } && {
10313 test -z "$ac_c_werror_flag" ||
10314 test ! -s conftest.err
10315 } && test -s conftest$ac_exeext &&
10316 $as_test_x conftest$ac_exeext; then
10317 ac_cv_lib_dld_shl_load=yes
10318 else
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 ac_cv_lib_dld_shl_load=no
10325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10326 conftest$ac_exeext conftest.$ac_ext
10327 LIBS=$ac_check_lib_save_LIBS
10329 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10330 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10331 if test $ac_cv_lib_dld_shl_load = yes; then
10332 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10333 else
10334 { echo "$as_me:$LINENO: checking for dlopen" >&5
10335 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10336 if test "${ac_cv_func_dlopen+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else
10339 if test x$gcc_no_link = xyes; then
10340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10342 { (exit 1); exit 1; }; }
10344 cat >conftest.$ac_ext <<_ACEOF
10345 /* confdefs.h. */
10346 _ACEOF
10347 cat confdefs.h >>conftest.$ac_ext
10348 cat >>conftest.$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10350 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10352 #define dlopen innocuous_dlopen
10354 /* System header to define __stub macros and hopefully few prototypes,
10355 which can conflict with char dlopen (); below.
10356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10357 <limits.h> exists even on freestanding compilers. */
10359 #ifdef __STDC__
10360 # include <limits.h>
10361 #else
10362 # include <assert.h>
10363 #endif
10365 #undef dlopen
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char dlopen ();
10374 /* The GNU C library defines this for functions which it implements
10375 to always fail with ENOSYS. Some functions are actually named
10376 something starting with __ and the normal name is an alias. */
10377 #if defined __stub_dlopen || defined __stub___dlopen
10378 choke me
10379 #endif
10382 main ()
10384 return dlopen ();
10386 return 0;
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (ac_try="$ac_link"
10391 case "(($ac_try" in
10392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10393 *) ac_try_echo=$ac_try;;
10394 esac
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396 (eval "$ac_link") 2>conftest.er1
10397 ac_status=$?
10398 grep -v '^ *+' conftest.er1 >conftest.err
10399 rm -f conftest.er1
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && {
10403 test -z "$ac_c_werror_flag" ||
10404 test ! -s conftest.err
10405 } && test -s conftest$ac_exeext &&
10406 $as_test_x conftest$ac_exeext; then
10407 ac_cv_func_dlopen=yes
10408 else
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_cv_func_dlopen=no
10415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10416 conftest$ac_exeext conftest.$ac_ext
10418 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10419 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10420 if test $ac_cv_func_dlopen = yes; then
10421 lt_cv_dlopen="dlopen"
10422 else
10423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428 ac_check_lib_save_LIBS=$LIBS
10429 LIBS="-ldl $LIBS"
10430 if test x$gcc_no_link = xyes; then
10431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10433 { (exit 1); exit 1; }; }
10435 cat >conftest.$ac_ext <<_ACEOF
10436 /* confdefs.h. */
10437 _ACEOF
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10445 #ifdef __cplusplus
10446 extern "C"
10447 #endif
10448 char dlopen ();
10450 main ()
10452 return dlopen ();
10454 return 0;
10456 _ACEOF
10457 rm -f conftest.$ac_objext conftest$ac_exeext
10458 if { (ac_try="$ac_link"
10459 case "(($ac_try" in
10460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10461 *) ac_try_echo=$ac_try;;
10462 esac
10463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10464 (eval "$ac_link") 2>conftest.er1
10465 ac_status=$?
10466 grep -v '^ *+' conftest.er1 >conftest.err
10467 rm -f conftest.er1
10468 cat conftest.err >&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } && {
10471 test -z "$ac_c_werror_flag" ||
10472 test ! -s conftest.err
10473 } && test -s conftest$ac_exeext &&
10474 $as_test_x conftest$ac_exeext; then
10475 ac_cv_lib_dl_dlopen=yes
10476 else
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.$ac_ext >&5
10480 ac_cv_lib_dl_dlopen=no
10483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10488 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10489 if test $ac_cv_lib_dl_dlopen = yes; then
10490 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10491 else
10492 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10493 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10494 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10495 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 else
10497 ac_check_lib_save_LIBS=$LIBS
10498 LIBS="-lsvld $LIBS"
10499 if test x$gcc_no_link = xyes; then
10500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10502 { (exit 1); exit 1; }; }
10504 cat >conftest.$ac_ext <<_ACEOF
10505 /* confdefs.h. */
10506 _ACEOF
10507 cat confdefs.h >>conftest.$ac_ext
10508 cat >>conftest.$ac_ext <<_ACEOF
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10514 #ifdef __cplusplus
10515 extern "C"
10516 #endif
10517 char dlopen ();
10519 main ()
10521 return dlopen ();
10523 return 0;
10525 _ACEOF
10526 rm -f conftest.$ac_objext conftest$ac_exeext
10527 if { (ac_try="$ac_link"
10528 case "(($ac_try" in
10529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10530 *) ac_try_echo=$ac_try;;
10531 esac
10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10533 (eval "$ac_link") 2>conftest.er1
10534 ac_status=$?
10535 grep -v '^ *+' conftest.er1 >conftest.err
10536 rm -f conftest.er1
10537 cat conftest.err >&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); } && {
10540 test -z "$ac_c_werror_flag" ||
10541 test ! -s conftest.err
10542 } && test -s conftest$ac_exeext &&
10543 $as_test_x conftest$ac_exeext; then
10544 ac_cv_lib_svld_dlopen=yes
10545 else
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.$ac_ext >&5
10549 ac_cv_lib_svld_dlopen=no
10552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10557 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10558 if test $ac_cv_lib_svld_dlopen = yes; then
10559 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10560 else
10561 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10562 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10563 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10565 else
10566 ac_check_lib_save_LIBS=$LIBS
10567 LIBS="-ldld $LIBS"
10568 if test x$gcc_no_link = xyes; then
10569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10571 { (exit 1); exit 1; }; }
10573 cat >conftest.$ac_ext <<_ACEOF
10574 /* confdefs.h. */
10575 _ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char dld_link ();
10588 main ()
10590 return dld_link ();
10592 return 0;
10594 _ACEOF
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (ac_try="$ac_link"
10597 case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;;
10600 esac
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_link") 2>conftest.er1
10603 ac_status=$?
10604 grep -v '^ *+' conftest.er1 >conftest.err
10605 rm -f conftest.er1
10606 cat conftest.err >&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err
10611 } && test -s conftest$ac_exeext &&
10612 $as_test_x conftest$ac_exeext; then
10613 ac_cv_lib_dld_dld_link=yes
10614 else
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.$ac_ext >&5
10618 ac_cv_lib_dld_dld_link=no
10621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10622 conftest$ac_exeext conftest.$ac_ext
10623 LIBS=$ac_check_lib_save_LIBS
10625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10626 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10627 if test $ac_cv_lib_dld_dld_link = yes; then
10628 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10647 esac
10649 if test "x$lt_cv_dlopen" != xno; then
10650 enable_dlopen=yes
10651 else
10652 enable_dlopen=no
10655 case $lt_cv_dlopen in
10656 dlopen)
10657 save_CPPFLAGS="$CPPFLAGS"
10658 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10660 save_LDFLAGS="$LDFLAGS"
10661 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10663 save_LIBS="$LIBS"
10664 LIBS="$lt_cv_dlopen_libs $LIBS"
10666 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10667 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10668 if test "${lt_cv_dlopen_self+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 else
10671 if test "$cross_compiling" = yes; then :
10672 lt_cv_dlopen_self=cross
10673 else
10674 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10675 lt_status=$lt_dlunknown
10676 cat > conftest.$ac_ext <<_LT_EOF
10677 #line 10677 "configure"
10678 #include "confdefs.h"
10680 #if HAVE_DLFCN_H
10681 #include <dlfcn.h>
10682 #endif
10684 #include <stdio.h>
10686 #ifdef RTLD_GLOBAL
10687 # define LT_DLGLOBAL RTLD_GLOBAL
10688 #else
10689 # ifdef DL_GLOBAL
10690 # define LT_DLGLOBAL DL_GLOBAL
10691 # else
10692 # define LT_DLGLOBAL 0
10693 # endif
10694 #endif
10696 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10697 find out it does not work in some platform. */
10698 #ifndef LT_DLLAZY_OR_NOW
10699 # ifdef RTLD_LAZY
10700 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10701 # else
10702 # ifdef DL_LAZY
10703 # define LT_DLLAZY_OR_NOW DL_LAZY
10704 # else
10705 # ifdef RTLD_NOW
10706 # define LT_DLLAZY_OR_NOW RTLD_NOW
10707 # else
10708 # ifdef DL_NOW
10709 # define LT_DLLAZY_OR_NOW DL_NOW
10710 # else
10711 # define LT_DLLAZY_OR_NOW 0
10712 # endif
10713 # endif
10714 # endif
10715 # endif
10716 #endif
10718 #ifdef __cplusplus
10719 extern "C" void exit (int);
10720 #endif
10722 void fnord() { int i=42;}
10723 int main ()
10725 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10726 int status = $lt_dlunknown;
10728 if (self)
10730 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10731 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10732 /* dlclose (self); */
10734 else
10735 puts (dlerror ());
10737 exit (status);
10739 _LT_EOF
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741 (eval $ac_link) 2>&5
10742 ac_status=$?
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10745 (./conftest; exit; ) >&5 2>/dev/null
10746 lt_status=$?
10747 case x$lt_status in
10748 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10749 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10750 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10751 esac
10752 else :
10753 # compilation failed
10754 lt_cv_dlopen_self=no
10757 rm -fr conftest*
10761 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10762 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10764 if test "x$lt_cv_dlopen_self" = xyes; then
10765 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10766 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10767 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10768 if test "${lt_cv_dlopen_self_static+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10770 else
10771 if test "$cross_compiling" = yes; then :
10772 lt_cv_dlopen_self_static=cross
10773 else
10774 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10775 lt_status=$lt_dlunknown
10776 cat > conftest.$ac_ext <<_LT_EOF
10777 #line 10777 "configure"
10778 #include "confdefs.h"
10780 #if HAVE_DLFCN_H
10781 #include <dlfcn.h>
10782 #endif
10784 #include <stdio.h>
10786 #ifdef RTLD_GLOBAL
10787 # define LT_DLGLOBAL RTLD_GLOBAL
10788 #else
10789 # ifdef DL_GLOBAL
10790 # define LT_DLGLOBAL DL_GLOBAL
10791 # else
10792 # define LT_DLGLOBAL 0
10793 # endif
10794 #endif
10796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10797 find out it does not work in some platform. */
10798 #ifndef LT_DLLAZY_OR_NOW
10799 # ifdef RTLD_LAZY
10800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10801 # else
10802 # ifdef DL_LAZY
10803 # define LT_DLLAZY_OR_NOW DL_LAZY
10804 # else
10805 # ifdef RTLD_NOW
10806 # define LT_DLLAZY_OR_NOW RTLD_NOW
10807 # else
10808 # ifdef DL_NOW
10809 # define LT_DLLAZY_OR_NOW DL_NOW
10810 # else
10811 # define LT_DLLAZY_OR_NOW 0
10812 # endif
10813 # endif
10814 # endif
10815 # endif
10816 #endif
10818 #ifdef __cplusplus
10819 extern "C" void exit (int);
10820 #endif
10822 void fnord() { int i=42;}
10823 int main ()
10825 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10826 int status = $lt_dlunknown;
10828 if (self)
10830 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10831 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10832 /* dlclose (self); */
10834 else
10835 puts (dlerror ());
10837 exit (status);
10839 _LT_EOF
10840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10841 (eval $ac_link) 2>&5
10842 ac_status=$?
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10845 (./conftest; exit; ) >&5 2>/dev/null
10846 lt_status=$?
10847 case x$lt_status in
10848 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10849 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10850 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10851 esac
10852 else :
10853 # compilation failed
10854 lt_cv_dlopen_self_static=no
10857 rm -fr conftest*
10861 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10862 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10865 CPPFLAGS="$save_CPPFLAGS"
10866 LDFLAGS="$save_LDFLAGS"
10867 LIBS="$save_LIBS"
10869 esac
10871 case $lt_cv_dlopen_self in
10872 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10873 *) enable_dlopen_self=unknown ;;
10874 esac
10876 case $lt_cv_dlopen_self_static in
10877 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10878 *) enable_dlopen_self_static=unknown ;;
10879 esac
10898 striplib=
10899 old_striplib=
10900 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10901 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10902 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10903 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10904 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10905 { echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6; }
10907 else
10908 # FIXME - insert some real tests, host_os isn't really good enough
10909 case $host_os in
10910 darwin*)
10911 if test -n "$STRIP" ; then
10912 striplib="$STRIP -x"
10913 old_striplib="$STRIP -S"
10914 { echo "$as_me:$LINENO: result: yes" >&5
10915 echo "${ECHO_T}yes" >&6; }
10916 else
10917 { echo "$as_me:$LINENO: result: no" >&5
10918 echo "${ECHO_T}no" >&6; }
10922 { echo "$as_me:$LINENO: result: no" >&5
10923 echo "${ECHO_T}no" >&6; }
10925 esac
10939 # Report which library types will actually be built
10940 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10941 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10942 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10943 echo "${ECHO_T}$can_build_shared" >&6; }
10945 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10946 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10947 test "$can_build_shared" = "no" && enable_shared=no
10949 # On AIX, shared libraries and static libraries use the same namespace, and
10950 # are all built from PIC.
10951 case $host_os in
10952 aix3*)
10953 test "$enable_shared" = yes && enable_static=no
10954 if test -n "$RANLIB"; then
10955 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10956 postinstall_cmds='$RANLIB $lib'
10960 aix[4-9]*)
10961 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10962 test "$enable_shared" = yes && enable_static=no
10965 esac
10966 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10967 echo "${ECHO_T}$enable_shared" >&6; }
10969 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10970 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10971 # Make sure either enable_shared or enable_static is yes.
10972 test "$enable_shared" = yes || enable_static=yes
10973 { echo "$as_me:$LINENO: result: $enable_static" >&5
10974 echo "${ECHO_T}$enable_static" >&6; }
10980 ac_ext=c
10981 ac_cpp='$CPP $CPPFLAGS'
10982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10986 CC="$lt_save_CC"
11000 ac_config_commands="$ac_config_commands libtool"
11005 # Only expand once:
11010 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11012 # We need gfortran to compile parts of the library
11013 #AC_PROG_FC(gfortran)
11014 FC="$GFORTRAN"
11015 ac_ext=${ac_fc_srcext-f}
11016 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11017 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11018 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11019 if test -n "$ac_tool_prefix"; then
11020 for ac_prog in gfortran
11022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11026 if test "${ac_cv_prog_FC+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11028 else
11029 if test -n "$FC"; then
11030 ac_cv_prog_FC="$FC" # Let the user override the test.
11031 else
11032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11033 for as_dir in $PATH
11035 IFS=$as_save_IFS
11036 test -z "$as_dir" && as_dir=.
11037 for ac_exec_ext in '' $ac_executable_extensions; do
11038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11039 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11041 break 2
11043 done
11044 done
11045 IFS=$as_save_IFS
11049 FC=$ac_cv_prog_FC
11050 if test -n "$FC"; then
11051 { echo "$as_me:$LINENO: result: $FC" >&5
11052 echo "${ECHO_T}$FC" >&6; }
11053 else
11054 { echo "$as_me:$LINENO: result: no" >&5
11055 echo "${ECHO_T}no" >&6; }
11059 test -n "$FC" && break
11060 done
11062 if test -z "$FC"; then
11063 ac_ct_FC=$FC
11064 for ac_prog in gfortran
11066 # Extract the first word of "$ac_prog", so it can be a program name with args.
11067 set dummy $ac_prog; ac_word=$2
11068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11070 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 else
11073 if test -n "$ac_ct_FC"; then
11074 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11075 else
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $PATH
11079 IFS=$as_save_IFS
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11083 ac_cv_prog_ac_ct_FC="$ac_prog"
11084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11085 break 2
11087 done
11088 done
11089 IFS=$as_save_IFS
11093 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11094 if test -n "$ac_ct_FC"; then
11095 { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11096 echo "${ECHO_T}$ac_ct_FC" >&6; }
11097 else
11098 { echo "$as_me:$LINENO: result: no" >&5
11099 echo "${ECHO_T}no" >&6; }
11103 test -n "$ac_ct_FC" && break
11104 done
11106 if test "x$ac_ct_FC" = x; then
11107 FC=""
11108 else
11109 case $cross_compiling:$ac_tool_warned in
11110 yes:)
11111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11112 whose name does not start with the host triplet. If you think this
11113 configuration is useful to you, please write to autoconf@gnu.org." >&5
11114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11115 whose name does not start with the host triplet. If you think this
11116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11117 ac_tool_warned=yes ;;
11118 esac
11119 FC=$ac_ct_FC
11124 # Provide some information about the compiler.
11125 echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
11126 ac_compiler=`set X $ac_compile; echo $2`
11127 { (ac_try="$ac_compiler --version >&5"
11128 case "(($ac_try" in
11129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11131 esac
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_compiler --version >&5") 2>&5
11134 ac_status=$?
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }
11137 { (ac_try="$ac_compiler -v >&5"
11138 case "(($ac_try" in
11139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11141 esac
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_compiler -v >&5") 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }
11147 { (ac_try="$ac_compiler -V >&5"
11148 case "(($ac_try" in
11149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11151 esac
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_compiler -V >&5") 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }
11157 rm -f a.out
11159 # If we don't use `.F' as extension, the preprocessor is not run on the
11160 # input file. (Note that this only needs to work for GNU compilers.)
11161 ac_save_ext=$ac_ext
11162 ac_ext=F
11163 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11164 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; }
11165 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 else
11168 cat >conftest.$ac_ext <<_ACEOF
11169 program main
11170 #ifndef __GNUC__
11171 choke me
11172 #endif
11175 _ACEOF
11176 rm -f conftest.$ac_objext
11177 if { (ac_try="$ac_compile"
11178 case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11181 esac
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_compile") 2>conftest.er1
11184 ac_status=$?
11185 grep -v '^ *+' conftest.er1 >conftest.err
11186 rm -f conftest.er1
11187 cat conftest.err >&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } && {
11190 test -z "$ac_fc_werror_flag" ||
11191 test ! -s conftest.err
11192 } && test -s conftest.$ac_objext; then
11193 ac_compiler_gnu=yes
11194 else
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11198 ac_compiler_gnu=no
11201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11202 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11205 { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11206 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; }
11207 ac_ext=$ac_save_ext
11208 ac_test_FFLAGS=${FCFLAGS+set}
11209 ac_save_FFLAGS=$FCFLAGS
11210 FCFLAGS=
11211 { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11212 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; }
11213 if test "${ac_cv_prog_fc_g+set}" = set; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 else
11216 FCFLAGS=-g
11217 cat >conftest.$ac_ext <<_ACEOF
11218 program main
11221 _ACEOF
11222 rm -f conftest.$ac_objext
11223 if { (ac_try="$ac_compile"
11224 case "(($ac_try" in
11225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11226 *) ac_try_echo=$ac_try;;
11227 esac
11228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11229 (eval "$ac_compile") 2>conftest.er1
11230 ac_status=$?
11231 grep -v '^ *+' conftest.er1 >conftest.err
11232 rm -f conftest.er1
11233 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } && {
11236 test -z "$ac_fc_werror_flag" ||
11237 test ! -s conftest.err
11238 } && test -s conftest.$ac_objext; then
11239 ac_cv_prog_fc_g=yes
11240 else
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.$ac_ext >&5
11244 ac_cv_prog_fc_g=no
11247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11250 { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11251 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; }
11252 if test "$ac_test_FFLAGS" = set; then
11253 FCFLAGS=$ac_save_FFLAGS
11254 elif test $ac_cv_prog_fc_g = yes; then
11255 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11256 FCFLAGS="-g -O2"
11257 else
11258 FCFLAGS="-g"
11260 else
11261 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11262 FCFLAGS="-O2"
11263 else
11264 FCFLAGS=
11268 ac_ext=c
11269 ac_cpp='$CPP $CPPFLAGS'
11270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11275 ac_ext=${ac_fc_srcext-f}
11276 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11277 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11278 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11279 if test -n "$ac_tool_prefix"; then
11280 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11286 if test "${ac_cv_prog_FC+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 else
11289 if test -n "$FC"; then
11290 ac_cv_prog_FC="$FC" # Let the user override the test.
11291 else
11292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11293 for as_dir in $PATH
11295 IFS=$as_save_IFS
11296 test -z "$as_dir" && as_dir=.
11297 for ac_exec_ext in '' $ac_executable_extensions; do
11298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11299 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11301 break 2
11303 done
11304 done
11305 IFS=$as_save_IFS
11309 FC=$ac_cv_prog_FC
11310 if test -n "$FC"; then
11311 { echo "$as_me:$LINENO: result: $FC" >&5
11312 echo "${ECHO_T}$FC" >&6; }
11313 else
11314 { echo "$as_me:$LINENO: result: no" >&5
11315 echo "${ECHO_T}no" >&6; }
11319 test -n "$FC" && break
11320 done
11322 if test -z "$FC"; then
11323 ac_ct_FC=$FC
11324 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11326 # Extract the first word of "$ac_prog", so it can be a program name with args.
11327 set dummy $ac_prog; ac_word=$2
11328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11330 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11332 else
11333 if test -n "$ac_ct_FC"; then
11334 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11335 else
11336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337 for as_dir in $PATH
11339 IFS=$as_save_IFS
11340 test -z "$as_dir" && as_dir=.
11341 for ac_exec_ext in '' $ac_executable_extensions; do
11342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343 ac_cv_prog_ac_ct_FC="$ac_prog"
11344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11345 break 2
11347 done
11348 done
11349 IFS=$as_save_IFS
11353 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11354 if test -n "$ac_ct_FC"; then
11355 { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11356 echo "${ECHO_T}$ac_ct_FC" >&6; }
11357 else
11358 { echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6; }
11363 test -n "$ac_ct_FC" && break
11364 done
11366 if test "x$ac_ct_FC" = x; then
11367 FC=""
11368 else
11369 case $cross_compiling:$ac_tool_warned in
11370 yes:)
11371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11372 whose name does not start with the host triplet. If you think this
11373 configuration is useful to you, please write to autoconf@gnu.org." >&5
11374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11375 whose name does not start with the host triplet. If you think this
11376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11377 ac_tool_warned=yes ;;
11378 esac
11379 FC=$ac_ct_FC
11384 # Provide some information about the compiler.
11385 echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
11386 ac_compiler=`set X $ac_compile; echo $2`
11387 { (ac_try="$ac_compiler --version >&5"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11391 esac
11392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_compiler --version >&5") 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }
11397 { (ac_try="$ac_compiler -v >&5"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11401 esac
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_compiler -v >&5") 2>&5
11404 ac_status=$?
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }
11407 { (ac_try="$ac_compiler -V >&5"
11408 case "(($ac_try" in
11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11410 *) ac_try_echo=$ac_try;;
11411 esac
11412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11413 (eval "$ac_compiler -V >&5") 2>&5
11414 ac_status=$?
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); }
11417 rm -f a.out
11419 # If we don't use `.F' as extension, the preprocessor is not run on the
11420 # input file. (Note that this only needs to work for GNU compilers.)
11421 ac_save_ext=$ac_ext
11422 ac_ext=F
11423 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11424 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; }
11425 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 else
11428 cat >conftest.$ac_ext <<_ACEOF
11429 program main
11430 #ifndef __GNUC__
11431 choke me
11432 #endif
11435 _ACEOF
11436 rm -f conftest.$ac_objext
11437 if { (ac_try="$ac_compile"
11438 case "(($ac_try" in
11439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11440 *) ac_try_echo=$ac_try;;
11441 esac
11442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11443 (eval "$ac_compile") 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } && {
11450 test -z "$ac_fc_werror_flag" ||
11451 test ! -s conftest.err
11452 } && test -s conftest.$ac_objext; then
11453 ac_compiler_gnu=yes
11454 else
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11458 ac_compiler_gnu=no
11461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11462 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11465 { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11466 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; }
11467 ac_ext=$ac_save_ext
11468 ac_test_FFLAGS=${FCFLAGS+set}
11469 ac_save_FFLAGS=$FCFLAGS
11470 FCFLAGS=
11471 { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11472 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; }
11473 if test "${ac_cv_prog_fc_g+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 else
11476 FCFLAGS=-g
11477 cat >conftest.$ac_ext <<_ACEOF
11478 program main
11481 _ACEOF
11482 rm -f conftest.$ac_objext
11483 if { (ac_try="$ac_compile"
11484 case "(($ac_try" in
11485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11486 *) ac_try_echo=$ac_try;;
11487 esac
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_compile") 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } && {
11496 test -z "$ac_fc_werror_flag" ||
11497 test ! -s conftest.err
11498 } && test -s conftest.$ac_objext; then
11499 ac_cv_prog_fc_g=yes
11500 else
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.$ac_ext >&5
11504 ac_cv_prog_fc_g=no
11507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11510 { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11511 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; }
11512 if test "$ac_test_FFLAGS" = set; then
11513 FCFLAGS=$ac_save_FFLAGS
11514 elif test $ac_cv_prog_fc_g = yes; then
11515 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11516 FCFLAGS="-g -O2"
11517 else
11518 FCFLAGS="-g"
11520 else
11521 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11522 FCFLAGS="-O2"
11523 else
11524 FCFLAGS=
11528 ac_ext=c
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11534 if test -z "$FC" || test "X$FC" = "Xno"; then
11535 _lt_disable_FC=yes
11540 ac_ext=${ac_fc_srcext-f}
11541 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11542 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11546 archive_cmds_need_lc_FC=no
11547 allow_undefined_flag_FC=
11548 always_export_symbols_FC=no
11549 archive_expsym_cmds_FC=
11550 export_dynamic_flag_spec_FC=
11551 hardcode_direct_FC=no
11552 hardcode_direct_absolute_FC=no
11553 hardcode_libdir_flag_spec_FC=
11554 hardcode_libdir_flag_spec_ld_FC=
11555 hardcode_libdir_separator_FC=
11556 hardcode_minus_L_FC=no
11557 hardcode_automatic_FC=no
11558 inherit_rpath_FC=no
11559 module_cmds_FC=
11560 module_expsym_cmds_FC=
11561 link_all_deplibs_FC=unknown
11562 old_archive_cmds_FC=$old_archive_cmds
11563 no_undefined_flag_FC=
11564 whole_archive_flag_spec_FC=
11565 enable_shared_with_static_runtimes_FC=no
11567 # Source file extension for fc test sources.
11568 ac_ext=${ac_fc_srcext-f}
11570 # Object file extension for compiled fc test sources.
11571 objext=o
11572 objext_FC=$objext
11574 # No sense in running all these tests if we already determined that
11575 # the FC compiler isn't working. Some variables (like enable_shared)
11576 # are currently assumed to apply to all compilers on this platform,
11577 # and will be corrupted by setting them based on a non-working compiler.
11578 if test "$_lt_disable_FC" != yes; then
11579 # Code to be used in simple compile tests
11580 lt_simple_compile_test_code="\
11581 subroutine t
11582 return
11586 # Code to be used in simple link tests
11587 lt_simple_link_test_code="\
11588 program t
11592 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11599 # If no C compiler was specified, use CC.
11600 LTCC=${LTCC-"$CC"}
11602 # If no C compiler flags were specified, use CFLAGS.
11603 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11605 # Allow CC to be a program name with arguments.
11606 compiler=$CC
11609 # save warnings/boilerplate of simple test code
11610 ac_outfile=conftest.$ac_objext
11611 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11612 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11613 _lt_compiler_boilerplate=`cat conftest.err`
11614 $RM conftest*
11616 ac_outfile=conftest.$ac_objext
11617 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11618 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11619 _lt_linker_boilerplate=`cat conftest.err`
11620 $RM conftest*
11623 # Allow CC to be a program name with arguments.
11624 lt_save_CC="$CC"
11625 CC=${FC-"f95"}
11626 compiler=$CC
11627 compiler_FC=$CC
11628 for cc_temp in $compiler""; do
11629 case $cc_temp in
11630 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11631 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11632 \-*) ;;
11633 *) break;;
11634 esac
11635 done
11636 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11639 if test -n "$compiler"; then
11640 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11641 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11642 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11643 echo "${ECHO_T}$can_build_shared" >&6; }
11645 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11646 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11647 test "$can_build_shared" = "no" && enable_shared=no
11649 # On AIX, shared libraries and static libraries use the same namespace, and
11650 # are all built from PIC.
11651 case $host_os in
11652 aix3*)
11653 test "$enable_shared" = yes && enable_static=no
11654 if test -n "$RANLIB"; then
11655 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11656 postinstall_cmds='$RANLIB $lib'
11659 aix[4-9]*)
11660 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11661 test "$enable_shared" = yes && enable_static=no
11664 esac
11665 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11666 echo "${ECHO_T}$enable_shared" >&6; }
11668 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11669 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11670 # Make sure either enable_shared or enable_static is yes.
11671 test "$enable_shared" = yes || enable_static=yes
11672 { echo "$as_me:$LINENO: result: $enable_static" >&5
11673 echo "${ECHO_T}$enable_static" >&6; }
11675 GCC_FC="$ac_cv_fc_compiler_gnu"
11676 LD_FC="$LD"
11678 ## CAVEAT EMPTOR:
11679 ## There is no encapsulation within the following macros, do not change
11680 ## the running order or otherwise move them around unless you know exactly
11681 ## what you are doing...
11682 # Dependencies to place before and after the object being linked:
11683 predep_objects_FC=
11684 postdep_objects_FC=
11685 predeps_FC=
11686 postdeps_FC=
11687 compiler_lib_search_path_FC=
11689 cat > conftest.$ac_ext <<_LT_EOF
11690 subroutine foo
11691 implicit none
11692 integer a
11694 return
11696 _LT_EOF
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; then
11703 # Parse the compiler output and extract the necessary
11704 # objects, libraries and library flags.
11706 # Sentinel used to keep track of whether or not we are before
11707 # the conftest object file.
11708 pre_test_object_deps_done=no
11710 # The `*' in the case matches for architectures that use `case' in
11711 # $output_verbose_cmd can trigger glob expansion during the loop
11712 # eval without this substitution.
11713 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11715 for p in `eval $output_verbose_link_cmd`; do
11716 case $p in
11718 -L* | -R* | -l*)
11719 # Some compilers place space between "-{L,R}" and the path.
11720 # Remove the space.
11721 if test $p = "-L" ||
11722 test $p = "-R"; then
11723 prev=$p
11724 continue
11725 else
11726 prev=
11729 if test "$pre_test_object_deps_done" = no; then
11730 case $p in
11731 -L* | -R*)
11732 # Internal compiler library paths should come after those
11733 # provided the user. The postdeps already come after the
11734 # user supplied libs so there is no need to process them.
11735 if test -z "$compiler_lib_search_path_FC"; then
11736 compiler_lib_search_path_FC="${prev}${p}"
11737 else
11738 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11741 # The "-l" case would never come before the object being
11742 # linked, so don't bother handling this case.
11743 esac
11744 else
11745 if test -z "$postdeps_FC"; then
11746 postdeps_FC="${prev}${p}"
11747 else
11748 postdeps_FC="${postdeps_FC} ${prev}${p}"
11753 *.$objext)
11754 # This assumes that the test object file only shows up
11755 # once in the compiler output.
11756 if test "$p" = "conftest.$objext"; then
11757 pre_test_object_deps_done=yes
11758 continue
11761 if test "$pre_test_object_deps_done" = no; then
11762 if test -z "$predep_objects_FC"; then
11763 predep_objects_FC="$p"
11764 else
11765 predep_objects_FC="$predep_objects_FC $p"
11767 else
11768 if test -z "$postdep_objects_FC"; then
11769 postdep_objects_FC="$p"
11770 else
11771 postdep_objects_FC="$postdep_objects_FC $p"
11776 *) ;; # Ignore the rest.
11778 esac
11779 done
11781 # Clean up.
11782 rm -f a.out a.exe
11783 else
11784 echo "libtool.m4: error: problem compiling FC test program"
11787 $RM -f confest.$objext
11789 # PORTME: override above test on systems where it is broken
11792 case " $postdeps_FC " in
11793 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11794 esac
11821 lt_prog_compiler_wl_FC=
11822 lt_prog_compiler_pic_FC=
11823 lt_prog_compiler_static_FC=
11825 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11826 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11828 if test "$GCC" = yes; then
11829 lt_prog_compiler_wl_FC='-Wl,'
11830 lt_prog_compiler_static_FC='-static'
11832 case $host_os in
11833 aix*)
11834 # All AIX code is PIC.
11835 if test "$host_cpu" = ia64; then
11836 # AIX 5 now supports IA64 processor
11837 lt_prog_compiler_static_FC='-Bstatic'
11841 amigaos*)
11842 if test "$host_cpu" = m68k; then
11843 # FIXME: we need at least 68020 code to build shared libraries, but
11844 # adding the `-m68020' flag to GCC prevents building anything better,
11845 # like `-m68040'.
11846 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11850 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11851 # PIC is the default for these OSes.
11854 mingw* | cygwin* | pw32* | os2*)
11855 # This hack is so that the source file can tell whether it is being
11856 # built for inclusion in a dll (and should export symbols for example).
11857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11858 # (--disable-auto-import) libraries
11859 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11862 darwin* | rhapsody*)
11863 # PIC is the default on this platform
11864 # Common symbols not allowed in MH_DYLIB files
11865 lt_prog_compiler_pic_FC='-fno-common'
11868 hpux*)
11869 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11870 # not for PA HP-UX.
11871 case $host_cpu in
11872 hppa*64*|ia64*)
11873 # +Z the default
11876 lt_prog_compiler_pic_FC='-fPIC'
11878 esac
11881 interix[3-9]*)
11882 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11883 # Instead, we relocate shared libraries at runtime.
11886 msdosdjgpp*)
11887 # Just because we use GCC doesn't mean we suddenly get shared libraries
11888 # on systems that don't support them.
11889 lt_prog_compiler_can_build_shared_FC=no
11890 enable_shared=no
11893 *nto* | *qnx*)
11894 # QNX uses GNU C++, but need to define -shared option too, otherwise
11895 # it will coredump.
11896 lt_prog_compiler_pic_FC='-fPIC -shared'
11899 sysv4*MP*)
11900 if test -d /usr/nec; then
11901 lt_prog_compiler_pic_FC=-Kconform_pic
11906 lt_prog_compiler_pic_FC='-fPIC'
11908 esac
11909 else
11910 # PORTME Check for flag to pass linker flags through the system compiler.
11911 case $host_os in
11912 aix*)
11913 lt_prog_compiler_wl_FC='-Wl,'
11914 if test "$host_cpu" = ia64; then
11915 # AIX 5 now supports IA64 processor
11916 lt_prog_compiler_static_FC='-Bstatic'
11917 else
11918 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11921 darwin*)
11922 # PIC is the default on this platform
11923 # Common symbols not allowed in MH_DYLIB files
11924 case $cc_basename in
11925 xlc*)
11926 lt_prog_compiler_pic_FC='-qnocommon'
11927 lt_prog_compiler_wl_FC='-Wl,'
11929 esac
11932 mingw* | cygwin* | pw32* | os2*)
11933 # This hack is so that the source file can tell whether it is being
11934 # built for inclusion in a dll (and should export symbols for example).
11935 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11938 hpux9* | hpux10* | hpux11*)
11939 lt_prog_compiler_wl_FC='-Wl,'
11940 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11941 # not for PA HP-UX.
11942 case $host_cpu in
11943 hppa*64*|ia64*)
11944 # +Z the default
11947 lt_prog_compiler_pic_FC='+Z'
11949 esac
11950 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11951 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11954 irix5* | irix6* | nonstopux*)
11955 lt_prog_compiler_wl_FC='-Wl,'
11956 # PIC (with -KPIC) is the default.
11957 lt_prog_compiler_static_FC='-non_shared'
11960 linux* | k*bsd*-gnu)
11961 case $cc_basename in
11962 icc* | ecc*)
11963 lt_prog_compiler_wl_FC='-Wl,'
11964 lt_prog_compiler_pic_FC='-KPIC'
11965 lt_prog_compiler_static_FC='-static'
11967 pgcc* | pgf77* | pgf90* | pgf95*)
11968 # Portland Group compilers (*not* the Pentium gcc compiler,
11969 # which looks to be a dead project)
11970 lt_prog_compiler_wl_FC='-Wl,'
11971 lt_prog_compiler_pic_FC='-fpic'
11972 lt_prog_compiler_static_FC='-Bstatic'
11974 ccc*)
11975 lt_prog_compiler_wl_FC='-Wl,'
11976 # All Alpha code is PIC.
11977 lt_prog_compiler_static_FC='-non_shared'
11980 case `$CC -V 2>&1 | sed 5q` in
11981 *Sun\ C*)
11982 # Sun C 5.9
11983 lt_prog_compiler_pic_FC='-KPIC'
11984 lt_prog_compiler_static_FC='-Bstatic'
11985 lt_prog_compiler_wl_FC='-Wl,'
11987 *Sun\ F*)
11988 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11989 lt_prog_compiler_pic_FC='-KPIC'
11990 lt_prog_compiler_static_FC='-Bstatic'
11991 lt_prog_compiler_wl_FC=''
11993 esac
11995 esac
11998 newsos6)
11999 lt_prog_compiler_pic_FC='-KPIC'
12000 lt_prog_compiler_static_FC='-Bstatic'
12003 *nto* | *qnx*)
12004 # QNX uses GNU C++, but need to define -shared option too, otherwise
12005 # it will coredump.
12006 lt_prog_compiler_pic_FC='-fPIC -shared'
12009 osf3* | osf4* | osf5*)
12010 lt_prog_compiler_wl_FC='-Wl,'
12011 # All OSF/1 code is PIC.
12012 lt_prog_compiler_static_FC='-non_shared'
12015 rdos*)
12016 lt_prog_compiler_static_FC='-non_shared'
12019 solaris*)
12020 lt_prog_compiler_pic_FC='-KPIC'
12021 lt_prog_compiler_static_FC='-Bstatic'
12022 case $cc_basename in
12023 f77* | f90* | f95*)
12024 lt_prog_compiler_wl_FC='-Qoption ld ';;
12026 lt_prog_compiler_wl_FC='-Wl,';;
12027 esac
12030 sunos4*)
12031 lt_prog_compiler_wl_FC='-Qoption ld '
12032 lt_prog_compiler_pic_FC='-PIC'
12033 lt_prog_compiler_static_FC='-Bstatic'
12036 sysv4 | sysv4.2uw2* | sysv4.3*)
12037 lt_prog_compiler_wl_FC='-Wl,'
12038 lt_prog_compiler_pic_FC='-KPIC'
12039 lt_prog_compiler_static_FC='-Bstatic'
12042 sysv4*MP*)
12043 if test -d /usr/nec ;then
12044 lt_prog_compiler_pic_FC='-Kconform_pic'
12045 lt_prog_compiler_static_FC='-Bstatic'
12049 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12050 lt_prog_compiler_wl_FC='-Wl,'
12051 lt_prog_compiler_pic_FC='-KPIC'
12052 lt_prog_compiler_static_FC='-Bstatic'
12055 unicos*)
12056 lt_prog_compiler_wl_FC='-Wl,'
12057 lt_prog_compiler_can_build_shared_FC=no
12060 uts4*)
12061 lt_prog_compiler_pic_FC='-pic'
12062 lt_prog_compiler_static_FC='-Bstatic'
12066 lt_prog_compiler_can_build_shared_FC=no
12068 esac
12071 case $host_os in
12072 # For platforms which do not support PIC, -DPIC is meaningless:
12073 *djgpp*)
12074 lt_prog_compiler_pic_FC=
12077 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12079 esac
12080 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
12081 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6; }
12086 # Check to make sure the PIC flag actually works.
12088 if test -n "$lt_prog_compiler_pic_FC"; then
12089 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12090 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6; }
12091 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 else
12094 lt_prog_compiler_pic_works_FC=no
12095 ac_outfile=conftest.$ac_objext
12096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12097 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12098 # Insert the option either (1) after the last *FLAGS variable, or
12099 # (2) before a word containing "conftest.", or (3) at the end.
12100 # Note that $ac_compile itself does not contain backslashes and begins
12101 # with a dollar sign (not a hyphen), so the echo should work correctly.
12102 # The option is referenced via a variable to avoid confusing sed.
12103 lt_compile=`echo "$ac_compile" | $SED \
12104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12106 -e 's:$: $lt_compiler_flag:'`
12107 (eval echo "\"\$as_me:12107: $lt_compile\"" >&5)
12108 (eval "$lt_compile" 2>conftest.err)
12109 ac_status=$?
12110 cat conftest.err >&5
12111 echo "$as_me:12111: \$? = $ac_status" >&5
12112 if (exit $ac_status) && test -s "$ac_outfile"; then
12113 # The compiler can only warn and ignore the option if not recognized
12114 # So say no if there are warnings other than the usual output.
12115 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12117 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12118 lt_prog_compiler_pic_works_FC=yes
12121 $RM conftest*
12124 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
12125 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6; }
12127 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
12128 case $lt_prog_compiler_pic_FC in
12129 "" | " "*) ;;
12130 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12131 esac
12132 else
12133 lt_prog_compiler_pic_FC=
12134 lt_prog_compiler_can_build_shared_FC=no
12142 # Check to make sure the static flag actually works.
12144 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12145 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12146 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12147 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 lt_prog_compiler_static_works_FC=no
12151 save_LDFLAGS="$LDFLAGS"
12152 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12153 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12154 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12155 # The linker can only warn and ignore the option if not recognized
12156 # So say no if there are warnings
12157 if test -s conftest.err; then
12158 # Append any errors to the config.log.
12159 cat conftest.err 1>&5
12160 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12162 if diff conftest.exp conftest.er2 >/dev/null; then
12163 lt_prog_compiler_static_works_FC=yes
12165 else
12166 lt_prog_compiler_static_works_FC=yes
12169 $RM conftest*
12170 LDFLAGS="$save_LDFLAGS"
12173 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
12174 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6; }
12176 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
12178 else
12179 lt_prog_compiler_static_FC=
12185 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12186 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12187 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190 lt_cv_prog_compiler_c_o_FC=no
12191 $RM -r conftest 2>/dev/null
12192 mkdir conftest
12193 cd conftest
12194 mkdir out
12195 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12197 lt_compiler_flag="-o out/conftest2.$ac_objext"
12198 # Insert the option either (1) after the last *FLAGS variable, or
12199 # (2) before a word containing "conftest.", or (3) at the end.
12200 # Note that $ac_compile itself does not contain backslashes and begins
12201 # with a dollar sign (not a hyphen), so the echo should work correctly.
12202 lt_compile=`echo "$ac_compile" | $SED \
12203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12205 -e 's:$: $lt_compiler_flag:'`
12206 (eval echo "\"\$as_me:12206: $lt_compile\"" >&5)
12207 (eval "$lt_compile" 2>out/conftest.err)
12208 ac_status=$?
12209 cat out/conftest.err >&5
12210 echo "$as_me:12210: \$? = $ac_status" >&5
12211 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12212 then
12213 # The compiler can only warn and ignore the option if not recognized
12214 # So say no if there are warnings
12215 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12216 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12217 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12218 lt_cv_prog_compiler_c_o_FC=yes
12221 chmod u+w . 2>&5
12222 $RM conftest*
12223 # SGI C++ compiler will create directory out/ii_files/ for
12224 # template instantiation
12225 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12226 $RM out/* && rmdir out
12227 cd ..
12228 $RM -r conftest
12229 $RM conftest*
12232 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12233 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6; }
12237 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12238 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12239 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 else
12242 lt_cv_prog_compiler_c_o_FC=no
12243 $RM -r conftest 2>/dev/null
12244 mkdir conftest
12245 cd conftest
12246 mkdir out
12247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12249 lt_compiler_flag="-o out/conftest2.$ac_objext"
12250 # Insert the option either (1) after the last *FLAGS variable, or
12251 # (2) before a word containing "conftest.", or (3) at the end.
12252 # Note that $ac_compile itself does not contain backslashes and begins
12253 # with a dollar sign (not a hyphen), so the echo should work correctly.
12254 lt_compile=`echo "$ac_compile" | $SED \
12255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12257 -e 's:$: $lt_compiler_flag:'`
12258 (eval echo "\"\$as_me:12258: $lt_compile\"" >&5)
12259 (eval "$lt_compile" 2>out/conftest.err)
12260 ac_status=$?
12261 cat out/conftest.err >&5
12262 echo "$as_me:12262: \$? = $ac_status" >&5
12263 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12264 then
12265 # The compiler can only warn and ignore the option if not recognized
12266 # So say no if there are warnings
12267 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12268 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12269 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12270 lt_cv_prog_compiler_c_o_FC=yes
12273 chmod u+w . 2>&5
12274 $RM conftest*
12275 # SGI C++ compiler will create directory out/ii_files/ for
12276 # template instantiation
12277 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12278 $RM out/* && rmdir out
12279 cd ..
12280 $RM -r conftest
12281 $RM conftest*
12284 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12285 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6; }
12290 hard_links="nottested"
12291 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12292 # do not overwrite the value of need_locks provided by the user
12293 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12294 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12295 hard_links=yes
12296 $RM conftest*
12297 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12298 touch conftest.a
12299 ln conftest.a conftest.b 2>&5 || hard_links=no
12300 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12301 { echo "$as_me:$LINENO: result: $hard_links" >&5
12302 echo "${ECHO_T}$hard_links" >&6; }
12303 if test "$hard_links" = no; then
12304 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12305 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12306 need_locks=warn
12308 else
12309 need_locks=no
12314 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12315 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12317 runpath_var=
12318 allow_undefined_flag_FC=
12319 always_export_symbols_FC=no
12320 archive_cmds_FC=
12321 archive_expsym_cmds_FC=
12322 compiler_needs_object_FC=no
12323 enable_shared_with_static_runtimes_FC=no
12324 export_dynamic_flag_spec_FC=
12325 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12326 hardcode_automatic_FC=no
12327 hardcode_direct_FC=no
12328 hardcode_direct_absolute_FC=no
12329 hardcode_libdir_flag_spec_FC=
12330 hardcode_libdir_flag_spec_ld_FC=
12331 hardcode_libdir_separator_FC=
12332 hardcode_minus_L_FC=no
12333 hardcode_shlibpath_var_FC=unsupported
12334 inherit_rpath_FC=no
12335 link_all_deplibs_FC=unknown
12336 module_cmds_FC=
12337 module_expsym_cmds_FC=
12338 old_archive_from_new_cmds_FC=
12339 old_archive_from_expsyms_cmds_FC=
12340 thread_safe_flag_spec_FC=
12341 whole_archive_flag_spec_FC=
12342 # include_expsyms should be a list of space-separated symbols to be *always*
12343 # included in the symbol list
12344 include_expsyms_FC=
12345 # exclude_expsyms can be an extended regexp of symbols to exclude
12346 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12347 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12348 # as well as any symbol that contains `d'.
12349 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
12350 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12351 # platforms (ab)use it in PIC code, but their linkers get confused if
12352 # the symbol is explicitly referenced. Since portable code cannot
12353 # rely on this symbol name, it's probably fine to never include it in
12354 # preloaded symbol tables.
12355 extract_expsyms_cmds=
12357 case $host_os in
12358 cygwin* | mingw* | pw32*)
12359 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12360 # When not using gcc, we currently assume that we are using
12361 # Microsoft Visual C++.
12362 if test "$GCC" != yes; then
12363 with_gnu_ld=no
12366 interix*)
12367 # we just hope/assume this is gcc and not c89 (= MSVC++)
12368 with_gnu_ld=yes
12370 openbsd*)
12371 with_gnu_ld=no
12373 esac
12375 ld_shlibs_FC=yes
12376 if test "$with_gnu_ld" = yes; then
12377 # If archive_cmds runs LD, not CC, wlarc should be empty
12378 wlarc='${wl}'
12380 # Set some defaults for GNU ld with shared library support. These
12381 # are reset later if shared libraries are not supported. Putting them
12382 # here allows them to be overridden if necessary.
12383 runpath_var=LD_RUN_PATH
12384 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12385 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12386 # ancient GNU ld didn't support --whole-archive et. al.
12387 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12388 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12389 else
12390 whole_archive_flag_spec_FC=
12392 supports_anon_versioning=no
12393 case `$LD -v 2>&1` in
12394 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12395 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12396 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12397 *\ 2.11.*) ;; # other 2.11 versions
12398 *) supports_anon_versioning=yes ;;
12399 esac
12401 # See if GNU ld supports shared libraries.
12402 case $host_os in
12403 aix[3-9]*)
12404 # On AIX/PPC, the GNU linker is very broken
12405 if test "$host_cpu" != ia64; then
12406 ld_shlibs_FC=no
12407 cat <<_LT_EOF 1>&2
12409 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12410 *** to be unable to reliably create shared libraries on AIX.
12411 *** Therefore, libtool is disabling shared libraries support. If you
12412 *** really care for shared libraries, you may want to modify your PATH
12413 *** so that a non-GNU linker is found, and then restart.
12415 _LT_EOF
12419 amigaos*)
12420 if test "$host_cpu" = m68k; then
12421 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)'
12422 hardcode_libdir_flag_spec_FC='-L$libdir'
12423 hardcode_minus_L_FC=yes
12426 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12427 # that the semantics of dynamic libraries on AmigaOS, at least up
12428 # to version 4, is to share data among multiple programs linked
12429 # with the same dynamic library. Since this doesn't match the
12430 # behavior of shared libraries on other platforms, we can't use
12431 # them.
12432 ld_shlibs_FC=no
12435 beos*)
12436 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12437 allow_undefined_flag_FC=unsupported
12438 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12439 # support --undefined. This deserves some investigation. FIXME
12440 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12441 else
12442 ld_shlibs_FC=no
12446 cygwin* | mingw* | pw32*)
12447 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12448 # as there is no search path for DLLs.
12449 hardcode_libdir_flag_spec_FC='-L$libdir'
12450 allow_undefined_flag_FC=unsupported
12451 always_export_symbols_FC=no
12452 enable_shared_with_static_runtimes_FC=yes
12453 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12455 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12456 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12457 # If the export-symbols file already is a .def file (1st line
12458 # is EXPORTS), use it as is; otherwise, prepend...
12459 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12460 cp $export_symbols $output_objdir/$soname.def;
12461 else
12462 echo EXPORTS > $output_objdir/$soname.def;
12463 cat $export_symbols >> $output_objdir/$soname.def;
12465 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12466 else
12467 ld_shlibs_FC=no
12471 interix[3-9]*)
12472 hardcode_direct_FC=no
12473 hardcode_shlibpath_var_FC=no
12474 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12475 export_dynamic_flag_spec_FC='${wl}-E'
12476 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12477 # Instead, shared libraries are loaded at an image base (0x10000000 by
12478 # default) and relocated if they conflict, which is a slow very memory
12479 # consuming and fragmenting process. To avoid this, we pick a random,
12480 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12481 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12482 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'
12483 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'
12486 gnu* | linux* | tpf* | k*bsd*-gnu)
12487 tmp_diet=no
12488 if test "$host_os" = linux-dietlibc; then
12489 case $cc_basename in
12490 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12491 esac
12493 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12494 && test "$tmp_diet" = no
12495 then
12496 tmp_addflag=
12497 case $cc_basename,$host_cpu in
12498 pgcc*) # Portland Group C compiler
12499 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12500 tmp_addflag=' $pic_flag'
12502 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12503 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12504 tmp_addflag=' $pic_flag -Mnomain' ;;
12505 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12506 tmp_addflag=' -i_dynamic' ;;
12507 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12508 tmp_addflag=' -i_dynamic -nofor_main' ;;
12509 ifc* | ifort*) # Intel Fortran compiler
12510 tmp_addflag=' -nofor_main' ;;
12511 esac
12512 case `$CC -V 2>&1 | sed 5q` in
12513 *Sun\ C*) # Sun C 5.9
12514 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12515 compiler_needs_object_FC=yes
12516 tmp_sharedflag='-G' ;;
12517 *Sun\ F*) # Sun Fortran 8.3
12518 tmp_sharedflag='-G' ;;
12520 tmp_sharedflag='-shared' ;;
12521 esac
12522 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12524 if test "x$supports_anon_versioning" = xyes; then
12525 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12526 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12527 echo "local: *; };" >> $output_objdir/$libname.ver~
12528 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12530 else
12531 ld_shlibs_FC=no
12535 netbsd*)
12536 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12537 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12538 wlarc=
12539 else
12540 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12541 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12545 solaris*)
12546 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12547 ld_shlibs_FC=no
12548 cat <<_LT_EOF 1>&2
12550 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12551 *** create shared libraries on Solaris systems. Therefore, libtool
12552 *** is disabling shared libraries support. We urge you to upgrade GNU
12553 *** binutils to release 2.9.1 or newer. Another option is to modify
12554 *** your PATH or compiler configuration so that the native linker is
12555 *** used, and then restart.
12557 _LT_EOF
12558 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12559 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12560 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12561 else
12562 ld_shlibs_FC=no
12566 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12567 case `$LD -v 2>&1` in
12568 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12569 ld_shlibs_FC=no
12570 cat <<_LT_EOF 1>&2
12572 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12573 *** reliably create shared libraries on SCO systems. Therefore, libtool
12574 *** is disabling shared libraries support. We urge you to upgrade GNU
12575 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12576 *** your PATH or compiler configuration so that the native linker is
12577 *** used, and then restart.
12579 _LT_EOF
12582 # For security reasons, it is highly recommended that you always
12583 # use absolute paths for naming shared libraries, and exclude the
12584 # DT_RUNPATH tag from executables and libraries. But doing so
12585 # requires that you compile everything twice, which is a pain.
12586 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12587 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12588 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12589 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12590 else
12591 ld_shlibs_FC=no
12594 esac
12597 sunos4*)
12598 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12599 wlarc=
12600 hardcode_direct_FC=yes
12601 hardcode_shlibpath_var_FC=no
12605 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12606 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12607 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12608 else
12609 ld_shlibs_FC=no
12612 esac
12614 if test "$ld_shlibs_FC" = no; then
12615 runpath_var=
12616 hardcode_libdir_flag_spec_FC=
12617 export_dynamic_flag_spec_FC=
12618 whole_archive_flag_spec_FC=
12620 else
12621 # PORTME fill in a description of your system's linker (not GNU ld)
12622 case $host_os in
12623 aix3*)
12624 allow_undefined_flag_FC=unsupported
12625 always_export_symbols_FC=yes
12626 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'
12627 # Note: this linker hardcodes the directories in LIBPATH if there
12628 # are no directories specified by -L.
12629 hardcode_minus_L_FC=yes
12630 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12631 # Neither direct hardcoding nor static linking is supported with a
12632 # broken collect2.
12633 hardcode_direct_FC=unsupported
12637 aix[4-9]*)
12638 if test "$host_cpu" = ia64; then
12639 # On IA64, the linker does run time linking by default, so we don't
12640 # have to do anything special.
12641 aix_use_runtimelinking=no
12642 exp_sym_flag='-Bexport'
12643 no_entry_flag=""
12644 else
12645 # If we're using GNU nm, then we don't want the "-C" option.
12646 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12647 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12648 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12649 else
12650 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'
12652 aix_use_runtimelinking=no
12654 # Test if we are trying to use run time linking or normal
12655 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12656 # need to do runtime linking.
12657 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12658 for ld_flag in $LDFLAGS; do
12659 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12660 aix_use_runtimelinking=yes
12661 break
12663 done
12665 esac
12667 exp_sym_flag='-bexport'
12668 no_entry_flag='-bnoentry'
12671 # When large executables or shared objects are built, AIX ld can
12672 # have problems creating the table of contents. If linking a library
12673 # or program results in "error TOC overflow" add -mminimal-toc to
12674 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12675 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12677 archive_cmds_FC=''
12678 hardcode_direct_FC=yes
12679 hardcode_direct_absolute_FC=yes
12680 hardcode_libdir_separator_FC=':'
12681 link_all_deplibs_FC=yes
12682 file_list_spec_FC='${wl}-f,'
12684 if test "$GCC" = yes; then
12685 case $host_os in aix4.[012]|aix4.[012].*)
12686 # We only want to do this on AIX 4.2 and lower, the check
12687 # below for broken collect2 doesn't work under 4.3+
12688 collect2name=`${CC} -print-prog-name=collect2`
12689 if test -f "$collect2name" &&
12690 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12691 then
12692 # We have reworked collect2
12694 else
12695 # We have old collect2
12696 hardcode_direct_FC=unsupported
12697 # It fails to find uninstalled libraries when the uninstalled
12698 # path is not listed in the libpath. Setting hardcode_minus_L
12699 # to unsupported forces relinking
12700 hardcode_minus_L_FC=yes
12701 hardcode_libdir_flag_spec_FC='-L$libdir'
12702 hardcode_libdir_separator_FC=
12705 esac
12706 shared_flag='-shared'
12707 if test "$aix_use_runtimelinking" = yes; then
12708 shared_flag="$shared_flag "'${wl}-G'
12710 else
12711 # not using gcc
12712 if test "$host_cpu" = ia64; then
12713 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12714 # chokes on -Wl,-G. The following line is correct:
12715 shared_flag='-G'
12716 else
12717 if test "$aix_use_runtimelinking" = yes; then
12718 shared_flag='${wl}-G'
12719 else
12720 shared_flag='${wl}-bM:SRE'
12725 # It seems that -bexpall does not export symbols beginning with
12726 # underscore (_), so it is better to generate a list of symbols to export.
12727 always_export_symbols_FC=yes
12728 if test "$aix_use_runtimelinking" = yes; then
12729 # Warning - without using the other runtime loading flags (-brtl),
12730 # -berok will link without error, but may produce a broken library.
12731 allow_undefined_flag_FC='-berok'
12732 # Determine the default libpath from the value encoded in an
12733 # empty executable.
12734 if test x$gcc_no_link = xyes; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.$ac_ext <<_ACEOF
12740 program main
12743 _ACEOF
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (ac_try="$ac_link"
12746 case "(($ac_try" in
12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12749 esac
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_link") 2>conftest.er1
12752 ac_status=$?
12753 grep -v '^ *+' conftest.er1 >conftest.err
12754 rm -f conftest.er1
12755 cat conftest.err >&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } && {
12758 test -z "$ac_fc_werror_flag" ||
12759 test ! -s conftest.err
12760 } && test -s conftest$ac_exeext &&
12761 $as_test_x conftest$ac_exeext; then
12763 lt_aix_libpath_sed='
12764 /Import File Strings/,/^$/ {
12765 /^0/ {
12766 s/^0 *\(.*\)$/\1/
12770 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12771 # Check for a 64-bit object if we didn't find anything.
12772 if test -z "$aix_libpath"; then
12773 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12775 else
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.$ac_ext >&5
12782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12783 conftest$ac_exeext conftest.$ac_ext
12784 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12786 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12787 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12788 else
12789 if test "$host_cpu" = ia64; then
12790 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12791 allow_undefined_flag_FC="-z nodefs"
12792 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"
12793 else
12794 # Determine the default libpath from the value encoded in an
12795 # empty executable.
12796 if test x$gcc_no_link = xyes; then
12797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12799 { (exit 1); exit 1; }; }
12801 cat >conftest.$ac_ext <<_ACEOF
12802 program main
12805 _ACEOF
12806 rm -f conftest.$ac_objext conftest$ac_exeext
12807 if { (ac_try="$ac_link"
12808 case "(($ac_try" in
12809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12810 *) ac_try_echo=$ac_try;;
12811 esac
12812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_link") 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } && {
12820 test -z "$ac_fc_werror_flag" ||
12821 test ! -s conftest.err
12822 } && test -s conftest$ac_exeext &&
12823 $as_test_x conftest$ac_exeext; then
12825 lt_aix_libpath_sed='
12826 /Import File Strings/,/^$/ {
12827 /^0/ {
12828 s/^0 *\(.*\)$/\1/
12832 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12833 # Check for a 64-bit object if we didn't find anything.
12834 if test -z "$aix_libpath"; then
12835 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12845 conftest$ac_exeext conftest.$ac_ext
12846 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12848 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12849 # Warning - without using the other run time loading flags,
12850 # -berok will link without error, but may produce a broken library.
12851 no_undefined_flag_FC=' ${wl}-bernotok'
12852 allow_undefined_flag_FC=' ${wl}-berok'
12853 # Exported symbols can be pulled into shared objects from archives
12854 whole_archive_flag_spec_FC='$convenience'
12855 archive_cmds_need_lc_FC=yes
12856 # This is similar to how AIX traditionally builds its shared libraries.
12857 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'
12862 amigaos*)
12863 if test "$host_cpu" = m68k; then
12864 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)'
12865 hardcode_libdir_flag_spec_FC='-L$libdir'
12866 hardcode_minus_L_FC=yes
12868 # see comment about different semantics on the GNU ld section
12869 ld_shlibs_FC=no
12872 bsdi[45]*)
12873 export_dynamic_flag_spec_FC=-rdynamic
12876 cygwin* | mingw* | pw32*)
12877 # When not using gcc, we currently assume that we are using
12878 # Microsoft Visual C++.
12879 # hardcode_libdir_flag_spec is actually meaningless, as there is
12880 # no search path for DLLs.
12881 hardcode_libdir_flag_spec_FC=' '
12882 allow_undefined_flag_FC=unsupported
12883 # Tell ltmain to make .lib files, not .a files.
12884 libext=lib
12885 # Tell ltmain to make .dll files, not .so files.
12886 shrext_cmds=".dll"
12887 # FIXME: Setting linknames here is a bad hack.
12888 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12889 # The linker will automatically build a .lib file if we build a DLL.
12890 old_archive_from_new_cmds_FC='true'
12891 # FIXME: Should let the user specify the lib program.
12892 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12893 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12894 enable_shared_with_static_runtimes_FC=yes
12897 darwin* | rhapsody*)
12898 case $host_os in
12899 rhapsody* | darwin1.[012])
12900 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12902 *) # Darwin 1.3 on
12903 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12904 10.[012])
12905 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12907 10.*)
12908 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12910 esac
12912 esac
12913 archive_cmds_need_lc_FC=no
12914 hardcode_direct_FC=no
12915 hardcode_automatic_FC=yes
12916 hardcode_shlibpath_var_FC=unsupported
12917 whole_archive_flag_spec_FC=''
12918 link_all_deplibs_FC=yes
12919 if test "$GCC" = yes ; then
12920 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 else
12923 lt_cv_apple_cc_single_mod=no
12924 if test -z "${LT_MULTI_MODULE}"; then
12925 # By default we will add the -single_module flag. You can override
12926 # by either setting the environment variable LT_MULTI_MODULE
12927 # non-empty at configure time, or by adding -multi-module to the
12928 # link flags.
12929 echo "int foo(void){return 1;}" > conftest.c
12930 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12931 -dynamiclib ${wl}-single_module conftest.c
12932 if test -f libconftest.dylib; then
12933 lt_cv_apple_cc_single_mod=yes
12934 rm libconftest.dylib
12936 rm conftest.$ac_ext
12940 output_verbose_link_cmd=echo
12941 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12942 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12943 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12944 else
12945 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12946 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12948 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12949 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12950 else
12951 case $cc_basename in
12952 xlc*)
12953 output_verbose_link_cmd=echo
12954 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12955 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12956 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12957 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12958 module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12961 ld_shlibs_FC=no
12963 esac
12967 dgux*)
12968 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12969 hardcode_libdir_flag_spec_FC='-L$libdir'
12970 hardcode_shlibpath_var_FC=no
12973 freebsd1*)
12974 ld_shlibs_FC=no
12977 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12978 # support. Future versions do this automatically, but an explicit c++rt0.o
12979 # does not break anything, and helps significantly (at the cost of a little
12980 # extra space).
12981 freebsd2.2*)
12982 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12983 hardcode_libdir_flag_spec_FC='-R$libdir'
12984 hardcode_direct_FC=yes
12985 hardcode_shlibpath_var_FC=no
12988 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12989 freebsd2*)
12990 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12991 hardcode_direct_FC=yes
12992 hardcode_minus_L_FC=yes
12993 hardcode_shlibpath_var_FC=no
12996 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12997 freebsd* | dragonfly*)
12998 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12999 hardcode_libdir_flag_spec_FC='-R$libdir'
13000 hardcode_direct_FC=yes
13001 hardcode_shlibpath_var_FC=no
13004 hpux9*)
13005 if test "$GCC" = yes; then
13006 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'
13007 else
13008 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'
13010 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13011 hardcode_libdir_separator_FC=:
13012 hardcode_direct_FC=yes
13014 # hardcode_minus_L: Not really in the search PATH,
13015 # but as the default location of the library.
13016 hardcode_minus_L_FC=yes
13017 export_dynamic_flag_spec_FC='${wl}-E'
13020 hpux10*)
13021 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13022 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13023 else
13024 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13026 if test "$with_gnu_ld" = no; then
13027 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13028 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13029 hardcode_libdir_separator_FC=:
13030 hardcode_direct_FC=yes
13031 hardcode_direct_absolute_FC=yes
13032 export_dynamic_flag_spec_FC='${wl}-E'
13033 # hardcode_minus_L: Not really in the search PATH,
13034 # but as the default location of the library.
13035 hardcode_minus_L_FC=yes
13039 hpux11*)
13040 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13041 case $host_cpu in
13042 hppa*64*)
13043 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13045 ia64*)
13046 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13049 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13051 esac
13052 else
13053 case $host_cpu in
13054 hppa*64*)
13055 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13057 ia64*)
13058 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13061 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13063 esac
13065 if test "$with_gnu_ld" = no; then
13066 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13067 hardcode_libdir_separator_FC=:
13069 case $host_cpu in
13070 hppa*64*|ia64*)
13071 hardcode_direct_FC=no
13072 hardcode_shlibpath_var_FC=no
13075 hardcode_direct_FC=yes
13076 hardcode_direct_absolute_FC=yes
13077 export_dynamic_flag_spec_FC='${wl}-E'
13079 # hardcode_minus_L: Not really in the search PATH,
13080 # but as the default location of the library.
13081 hardcode_minus_L_FC=yes
13083 esac
13087 irix5* | irix6* | nonstopux*)
13088 if test "$GCC" = yes; then
13089 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13090 # Try to use the -exported_symbol ld option, if it does not
13091 # work, assume that -exports_file does not work either and
13092 # implicitly export all symbols.
13093 save_LDFLAGS="$LDFLAGS"
13094 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13095 if test x$gcc_no_link = xyes; then
13096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13098 { (exit 1); exit 1; }; }
13100 cat >conftest.$ac_ext <<_ACEOF
13101 int foo(void) {}
13102 _ACEOF
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (ac_try="$ac_link"
13105 case "(($ac_try" in
13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13108 esac
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_link") 2>conftest.er1
13111 ac_status=$?
13112 grep -v '^ *+' conftest.er1 >conftest.err
13113 rm -f conftest.er1
13114 cat conftest.err >&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } && {
13117 test -z "$ac_fc_werror_flag" ||
13118 test ! -s conftest.err
13119 } && test -s conftest$ac_exeext &&
13120 $as_test_x conftest$ac_exeext; then
13121 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13123 else
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LDFLAGS="$save_LDFLAGS"
13133 else
13134 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13135 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13137 archive_cmds_need_lc_FC='no'
13138 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13139 hardcode_libdir_separator_FC=:
13140 inherit_rpath_FC=yes
13141 link_all_deplibs_FC=yes
13144 netbsd*)
13145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13146 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13147 else
13148 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13150 hardcode_libdir_flag_spec_FC='-R$libdir'
13151 hardcode_direct_FC=yes
13152 hardcode_shlibpath_var_FC=no
13155 newsos6)
13156 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13157 hardcode_direct_FC=yes
13158 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13159 hardcode_libdir_separator_FC=:
13160 hardcode_shlibpath_var_FC=no
13163 *nto* | *qnx*)
13166 openbsd*)
13167 hardcode_direct_FC=yes
13168 hardcode_shlibpath_var_FC=no
13169 hardcode_direct_absolute_FC=yes
13170 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13171 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13173 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13174 export_dynamic_flag_spec_FC='${wl}-E'
13175 else
13176 case $host_os in
13177 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13178 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13179 hardcode_libdir_flag_spec_FC='-R$libdir'
13182 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13183 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13185 esac
13189 os2*)
13190 hardcode_libdir_flag_spec_FC='-L$libdir'
13191 hardcode_minus_L_FC=yes
13192 allow_undefined_flag_FC=unsupported
13193 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'
13194 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13197 osf3*)
13198 if test "$GCC" = yes; then
13199 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13200 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13201 else
13202 allow_undefined_flag_FC=' -expect_unresolved \*'
13203 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13205 archive_cmds_need_lc_FC='no'
13206 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13207 hardcode_libdir_separator_FC=:
13210 osf4* | osf5*) # as osf3* with the addition of -msym flag
13211 if test "$GCC" = yes; then
13212 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13213 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13214 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13215 else
13216 allow_undefined_flag_FC=' -expect_unresolved \*'
13217 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13218 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~
13219 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13221 # Both c and cxx compiler support -rpath directly
13222 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13224 archive_cmds_need_lc_FC='no'
13225 hardcode_libdir_separator_FC=:
13228 solaris*)
13229 no_undefined_flag_FC=' -z defs'
13230 if test "$GCC" = yes; then
13231 wlarc='${wl}'
13232 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13234 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13235 else
13236 case `$CC -V 2>&1` in
13237 *"Compilers 5.0"*)
13238 wlarc=''
13239 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13240 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13241 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13244 wlarc='${wl}'
13245 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13246 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13247 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13249 esac
13251 hardcode_libdir_flag_spec_FC='-R$libdir'
13252 hardcode_shlibpath_var_FC=no
13253 case $host_os in
13254 solaris2.[0-5] | solaris2.[0-5].*) ;;
13256 # The compiler driver will combine and reorder linker options,
13257 # but understands `-z linker_flag'. GCC discards it without `$wl',
13258 # but is careful enough not to reorder.
13259 # Supported since Solaris 2.6 (maybe 2.5.1?)
13260 if test "$GCC" = yes; then
13261 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13262 else
13263 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13266 esac
13267 link_all_deplibs_FC=yes
13270 sunos4*)
13271 if test "x$host_vendor" = xsequent; then
13272 # Use $CC to link under sequent, because it throws in some extra .o
13273 # files that make .init and .fini sections work.
13274 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13275 else
13276 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13278 hardcode_libdir_flag_spec_FC='-L$libdir'
13279 hardcode_direct_FC=yes
13280 hardcode_minus_L_FC=yes
13281 hardcode_shlibpath_var_FC=no
13284 sysv4)
13285 case $host_vendor in
13286 sni)
13287 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13288 hardcode_direct_FC=yes # is this really true???
13290 siemens)
13291 ## LD is ld it makes a PLAMLIB
13292 ## CC just makes a GrossModule.
13293 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13294 reload_cmds_FC='$CC -r -o $output$reload_objs'
13295 hardcode_direct_FC=no
13297 motorola)
13298 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13299 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13301 esac
13302 runpath_var='LD_RUN_PATH'
13303 hardcode_shlibpath_var_FC=no
13306 sysv4.3*)
13307 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13308 hardcode_shlibpath_var_FC=no
13309 export_dynamic_flag_spec_FC='-Bexport'
13312 sysv4*MP*)
13313 if test -d /usr/nec; then
13314 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13315 hardcode_shlibpath_var_FC=no
13316 runpath_var=LD_RUN_PATH
13317 hardcode_runpath_var=yes
13318 ld_shlibs_FC=yes
13322 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13323 no_undefined_flag_FC='${wl}-z,text'
13324 archive_cmds_need_lc_FC=no
13325 hardcode_shlibpath_var_FC=no
13326 runpath_var='LD_RUN_PATH'
13328 if test "$GCC" = yes; then
13329 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13330 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13331 else
13332 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13333 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13337 sysv5* | sco3.2v5* | sco5v6*)
13338 # Note: We can NOT use -z defs as we might desire, because we do not
13339 # link with -lc, and that would cause any symbols used from libc to
13340 # always be unresolved, which means just about no library would
13341 # ever link correctly. If we're not using GNU ld we use -z text
13342 # though, which does catch some bad symbols but isn't as heavy-handed
13343 # as -z defs.
13344 no_undefined_flag_FC='${wl}-z,text'
13345 allow_undefined_flag_FC='${wl}-z,nodefs'
13346 archive_cmds_need_lc_FC=no
13347 hardcode_shlibpath_var_FC=no
13348 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13349 hardcode_libdir_separator_FC=':'
13350 link_all_deplibs_FC=yes
13351 export_dynamic_flag_spec_FC='${wl}-Bexport'
13352 runpath_var='LD_RUN_PATH'
13354 if test "$GCC" = yes; then
13355 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13356 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13357 else
13358 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13359 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13363 uts4*)
13364 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13365 hardcode_libdir_flag_spec_FC='-L$libdir'
13366 hardcode_shlibpath_var_FC=no
13370 ld_shlibs_FC=no
13372 esac
13374 if test x$host_vendor = xsni; then
13375 case $host in
13376 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13377 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13379 esac
13383 { echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13384 echo "${ECHO_T}$ld_shlibs_FC" >&6; }
13385 test "$ld_shlibs_FC" = no && can_build_shared=no
13387 with_gnu_ld_FC=$with_gnu_ld
13395 # Do we need to explicitly link libc?
13397 case "x$archive_cmds_need_lc_FC" in
13398 x|xyes)
13399 # Assume -lc should be added
13400 archive_cmds_need_lc_FC=yes
13402 if test "$enable_shared" = yes && test "$GCC" = yes; then
13403 case $archive_cmds_FC in
13404 *'~'*)
13405 # FIXME: we may have to deal with multi-command sequences.
13407 '$CC '*)
13408 # Test whether the compiler implicitly links with -lc since on some
13409 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13410 # to ld, don't add -lc before -lgcc.
13411 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13412 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13413 $RM conftest*
13414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>&5
13418 ac_status=$?
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } 2>conftest.err; then
13421 soname=conftest
13422 lib=conftest
13423 libobjs=conftest.$ac_objext
13424 deplibs=
13425 wl=$lt_prog_compiler_wl_FC
13426 pic_flag=$lt_prog_compiler_pic_FC
13427 compiler_flags=-v
13428 linker_flags=-v
13429 verstring=
13430 output_objdir=.
13431 libname=conftest
13432 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13433 allow_undefined_flag_FC=
13434 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13435 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13436 ac_status=$?
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }
13439 then
13440 archive_cmds_need_lc_FC=no
13441 else
13442 archive_cmds_need_lc_FC=yes
13444 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13445 else
13446 cat conftest.err 1>&5
13448 $RM conftest*
13449 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
13450 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6; }
13452 esac
13455 esac
13520 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13521 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13522 withGCC=$ac_cv_fc_compiler_gnu
13523 library_names_spec=
13524 libname_spec='lib$name'
13525 soname_spec=
13526 shrext_cmds=".so"
13527 postinstall_cmds=
13528 postuninstall_cmds=
13529 finish_cmds=
13530 finish_eval=
13531 shlibpath_var=
13532 shlibpath_overrides_runpath=unknown
13533 version_type=none
13534 dynamic_linker="$host_os ld.so"
13535 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13536 need_lib_prefix=unknown
13537 hardcode_into_libs=no
13539 # when you set need_version to no, make sure it does not cause -set_version
13540 # flags to be left without arguments
13541 need_version=unknown
13543 case $host_os in
13544 aix3*)
13545 version_type=linux
13546 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13547 shlibpath_var=LIBPATH
13549 # AIX 3 has no versioning support, so we append a major version to the name.
13550 soname_spec='${libname}${release}${shared_ext}$major'
13553 aix[4-9]*)
13554 version_type=linux
13555 need_lib_prefix=no
13556 need_version=no
13557 hardcode_into_libs=yes
13558 if test "$host_cpu" = ia64; then
13559 # AIX 5 supports IA64
13560 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13561 shlibpath_var=LD_LIBRARY_PATH
13562 else
13563 # With GCC up to 2.95.x, collect2 would create an import file
13564 # for dependence libraries. The import file would start with
13565 # the line `#! .'. This would cause the generated library to
13566 # depend on `.', always an invalid library. This was fixed in
13567 # development snapshots of GCC prior to 3.0.
13568 case $host_os in
13569 aix4 | aix4.[01] | aix4.[01].*)
13570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13571 echo ' yes '
13572 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13574 else
13575 can_build_shared=no
13578 esac
13579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13580 # soname into executable. Probably we can add versioning support to
13581 # collect2, so additional links can be useful in future.
13582 if test "$aix_use_runtimelinking" = yes; then
13583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13584 # instead of lib<name>.a to let people know that these are not
13585 # typical AIX shared libraries.
13586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13587 else
13588 # We preserve .a as extension for shared libraries through AIX4.2
13589 # and later when we are not doing run time linking.
13590 library_names_spec='${libname}${release}.a $libname.a'
13591 soname_spec='${libname}${release}${shared_ext}$major'
13593 shlibpath_var=LIBPATH
13597 amigaos*)
13598 if test "$host_cpu" = m68k; then
13599 library_names_spec='$libname.ixlibrary $libname.a'
13600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13601 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13602 else
13603 dynamic_linker=no
13607 beos*)
13608 library_names_spec='${libname}${shared_ext}'
13609 dynamic_linker="$host_os ld.so"
13610 shlibpath_var=LIBRARY_PATH
13613 bsdi[45]*)
13614 version_type=linux
13615 need_version=no
13616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13617 soname_spec='${libname}${release}${shared_ext}$major'
13618 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13619 shlibpath_var=LD_LIBRARY_PATH
13620 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13621 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13622 # the default ld.so.conf also contains /usr/contrib/lib and
13623 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13624 # libtool to hard-code these into programs
13627 cygwin* | mingw* | pw32*)
13628 version_type=windows
13629 shrext_cmds=".dll"
13630 need_version=no
13631 need_lib_prefix=no
13633 case $withGCC,$host_os in
13634 yes,cygwin* | yes,mingw* | yes,pw32*)
13635 library_names_spec='$libname.dll.a'
13636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13637 postinstall_cmds='base_file=`basename \${file}`~
13638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13639 dldir=$destdir/`dirname \$dlpath`~
13640 test -d \$dldir || mkdir -p \$dldir~
13641 $install_prog $dir/$dlname \$dldir/$dlname~
13642 chmod a+x \$dldir/$dlname~
13643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13646 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13647 dlpath=$dir/\$dldll~
13648 $RM \$dlpath'
13649 shlibpath_overrides_runpath=yes
13651 case $host_os in
13652 cygwin*)
13653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13654 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13655 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13657 mingw*)
13658 # MinGW DLLs use traditional 'lib' prefix
13659 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13660 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13661 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13662 # It is most probably a Windows format PATH printed by
13663 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13664 # path with ; separators, and with drive letters. We can handle the
13665 # drive letters (cygwin fileutils understands them), so leave them,
13666 # especially as we might pass files found there to a mingw objdump,
13667 # which wouldn't understand a cygwinified path. Ahh.
13668 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13669 else
13670 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13673 pw32*)
13674 # pw32 DLLs use 'pw' prefix rather than 'lib'
13675 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13677 esac
13681 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13683 esac
13684 dynamic_linker='Win32 ld.exe'
13685 # FIXME: first we should search . and the directory the executable is in
13686 shlibpath_var=PATH
13689 darwin* | rhapsody*)
13690 dynamic_linker="$host_os dyld"
13691 version_type=darwin
13692 need_lib_prefix=no
13693 need_version=no
13694 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13695 soname_spec='${libname}${release}${major}$shared_ext'
13696 shlibpath_overrides_runpath=yes
13697 shlibpath_var=DYLD_LIBRARY_PATH
13698 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13700 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13703 dgux*)
13704 version_type=linux
13705 need_lib_prefix=no
13706 need_version=no
13707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13708 soname_spec='${libname}${release}${shared_ext}$major'
13709 shlibpath_var=LD_LIBRARY_PATH
13712 freebsd1*)
13713 dynamic_linker=no
13716 freebsd* | dragonfly*)
13717 # DragonFly does not have aout. When/if they implement a new
13718 # versioning mechanism, adjust this.
13719 if test -x /usr/bin/objformat; then
13720 objformat=`/usr/bin/objformat`
13721 else
13722 case $host_os in
13723 freebsd[123]*) objformat=aout ;;
13724 *) objformat=elf ;;
13725 esac
13727 version_type=freebsd-$objformat
13728 case $version_type in
13729 freebsd-elf*)
13730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13731 need_version=no
13732 need_lib_prefix=no
13734 freebsd-*)
13735 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13736 need_version=yes
13738 esac
13739 shlibpath_var=LD_LIBRARY_PATH
13740 case $host_os in
13741 freebsd2*)
13742 shlibpath_overrides_runpath=yes
13744 freebsd3.[01]* | freebsdelf3.[01]*)
13745 shlibpath_overrides_runpath=yes
13746 hardcode_into_libs=yes
13748 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13749 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13750 shlibpath_overrides_runpath=no
13751 hardcode_into_libs=yes
13753 *) # from 4.6 on, and DragonFly
13754 shlibpath_overrides_runpath=yes
13755 hardcode_into_libs=yes
13757 esac
13760 gnu*)
13761 version_type=linux
13762 need_lib_prefix=no
13763 need_version=no
13764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13765 soname_spec='${libname}${release}${shared_ext}$major'
13766 shlibpath_var=LD_LIBRARY_PATH
13767 hardcode_into_libs=yes
13770 hpux9* | hpux10* | hpux11*)
13771 # Give a soname corresponding to the major version so that dld.sl refuses to
13772 # link against other versions.
13773 version_type=sunos
13774 need_lib_prefix=no
13775 need_version=no
13776 case $host_cpu in
13777 ia64*)
13778 shrext_cmds='.so'
13779 hardcode_into_libs=yes
13780 dynamic_linker="$host_os dld.so"
13781 shlibpath_var=LD_LIBRARY_PATH
13782 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784 soname_spec='${libname}${release}${shared_ext}$major'
13785 if test "X$HPUX_IA64_MODE" = X32; then
13786 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13787 else
13788 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13790 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13792 hppa*64*)
13793 shrext_cmds='.sl'
13794 hardcode_into_libs=yes
13795 dynamic_linker="$host_os dld.sl"
13796 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13797 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13799 soname_spec='${libname}${release}${shared_ext}$major'
13800 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13801 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13804 shrext_cmds='.sl'
13805 dynamic_linker="$host_os dld.sl"
13806 shlibpath_var=SHLIB_PATH
13807 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13809 soname_spec='${libname}${release}${shared_ext}$major'
13811 esac
13812 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13813 postinstall_cmds='chmod 555 $lib'
13816 interix[3-9]*)
13817 version_type=linux
13818 need_lib_prefix=no
13819 need_version=no
13820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13821 soname_spec='${libname}${release}${shared_ext}$major'
13822 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13823 shlibpath_var=LD_LIBRARY_PATH
13824 shlibpath_overrides_runpath=no
13825 hardcode_into_libs=yes
13828 irix5* | irix6* | nonstopux*)
13829 case $host_os in
13830 nonstopux*) version_type=nonstopux ;;
13832 if test "$lt_cv_prog_gnu_ld" = yes; then
13833 version_type=linux
13834 else
13835 version_type=irix
13836 fi ;;
13837 esac
13838 need_lib_prefix=no
13839 need_version=no
13840 soname_spec='${libname}${release}${shared_ext}$major'
13841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13842 case $host_os in
13843 irix5* | nonstopux*)
13844 libsuff= shlibsuff=
13847 case $LD in # libtool.m4 will add one of these switches to LD
13848 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13849 libsuff= shlibsuff= libmagic=32-bit;;
13850 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13851 libsuff=32 shlibsuff=N32 libmagic=N32;;
13852 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13853 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13854 *) libsuff= shlibsuff= libmagic=never-match;;
13855 esac
13857 esac
13858 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13859 shlibpath_overrides_runpath=no
13860 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13861 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13862 hardcode_into_libs=yes
13865 # No shared lib support for Linux oldld, aout, or coff.
13866 linux*oldld* | linux*aout* | linux*coff*)
13867 dynamic_linker=no
13870 # This must be Linux ELF.
13871 linux* | k*bsd*-gnu)
13872 version_type=linux
13873 need_lib_prefix=no
13874 need_version=no
13875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13876 soname_spec='${libname}${release}${shared_ext}$major'
13877 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13878 shlibpath_var=LD_LIBRARY_PATH
13879 shlibpath_overrides_runpath=no
13880 # Some binutils ld are patched to set DT_RUNPATH
13881 save_LDFLAGS=$LDFLAGS
13882 save_libdir=$libdir
13883 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13884 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13885 if test x$gcc_no_link = xyes; then
13886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13888 { (exit 1); exit 1; }; }
13890 cat >conftest.$ac_ext <<_ACEOF
13891 program main
13894 _ACEOF
13895 rm -f conftest.$ac_objext conftest$ac_exeext
13896 if { (ac_try="$ac_link"
13897 case "(($ac_try" in
13898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13900 esac
13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13902 (eval "$ac_link") 2>conftest.er1
13903 ac_status=$?
13904 grep -v '^ *+' conftest.er1 >conftest.err
13905 rm -f conftest.er1
13906 cat conftest.err >&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } && {
13909 test -z "$ac_fc_werror_flag" ||
13910 test ! -s conftest.err
13911 } && test -s conftest$ac_exeext &&
13912 $as_test_x conftest$ac_exeext; then
13913 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13914 shlibpath_overrides_runpath=yes
13917 else
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LDFLAGS=$save_LDFLAGS
13927 libdir=$save_libdir
13929 # This implies no fast_install, which is unacceptable.
13930 # Some rework will be needed to allow for fast_install
13931 # before this can be enabled.
13932 hardcode_into_libs=yes
13934 # Append ld.so.conf contents to the search path
13935 if test -f /etc/ld.so.conf; then
13936 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13937 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13940 # We used to test for /lib/ld.so.1 and disable shared libraries on
13941 # powerpc, because MkLinux only supported shared libraries with the
13942 # GNU dynamic linker. Since this was broken with cross compilers,
13943 # most powerpc-linux boxes support dynamic linking these days and
13944 # people can always --disable-shared, the test was removed, and we
13945 # assume the GNU/Linux dynamic linker is in use.
13946 dynamic_linker='GNU/Linux ld.so'
13949 netbsd*)
13950 version_type=sunos
13951 need_lib_prefix=no
13952 need_version=no
13953 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13956 dynamic_linker='NetBSD (a.out) ld.so'
13957 else
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13959 soname_spec='${libname}${release}${shared_ext}$major'
13960 dynamic_linker='NetBSD ld.elf_so'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=yes
13964 hardcode_into_libs=yes
13967 newsos6)
13968 version_type=linux
13969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13970 shlibpath_var=LD_LIBRARY_PATH
13971 shlibpath_overrides_runpath=yes
13974 *nto* | *qnx*)
13975 version_type=qnx
13976 need_lib_prefix=no
13977 need_version=no
13978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 shlibpath_var=LD_LIBRARY_PATH
13981 shlibpath_overrides_runpath=no
13982 hardcode_into_libs=yes
13983 dynamic_linker='ldqnx.so'
13986 openbsd*)
13987 version_type=sunos
13988 sys_lib_dlsearch_path_spec="/usr/lib"
13989 need_lib_prefix=no
13990 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13991 case $host_os in
13992 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13993 *) need_version=no ;;
13994 esac
13995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13996 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13997 shlibpath_var=LD_LIBRARY_PATH
13998 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13999 case $host_os in
14000 openbsd2.[89] | openbsd2.[89].*)
14001 shlibpath_overrides_runpath=no
14004 shlibpath_overrides_runpath=yes
14006 esac
14007 else
14008 shlibpath_overrides_runpath=yes
14012 os2*)
14013 libname_spec='$name'
14014 shrext_cmds=".dll"
14015 need_lib_prefix=no
14016 library_names_spec='$libname${shared_ext} $libname.a'
14017 dynamic_linker='OS/2 ld.exe'
14018 shlibpath_var=LIBPATH
14021 osf3* | osf4* | osf5*)
14022 version_type=osf
14023 need_lib_prefix=no
14024 need_version=no
14025 soname_spec='${libname}${release}${shared_ext}$major'
14026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14027 shlibpath_var=LD_LIBRARY_PATH
14028 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14029 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14032 rdos*)
14033 dynamic_linker=no
14036 solaris*)
14037 version_type=linux
14038 need_lib_prefix=no
14039 need_version=no
14040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14041 soname_spec='${libname}${release}${shared_ext}$major'
14042 shlibpath_var=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath=yes
14044 hardcode_into_libs=yes
14045 # ldd complains unless libraries are executable
14046 postinstall_cmds='chmod +x $lib'
14049 sunos4*)
14050 version_type=sunos
14051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14052 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14053 shlibpath_var=LD_LIBRARY_PATH
14054 shlibpath_overrides_runpath=yes
14055 if test "$with_gnu_ld" = yes; then
14056 need_lib_prefix=no
14058 need_version=yes
14061 sysv4 | sysv4.3*)
14062 version_type=linux
14063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14064 soname_spec='${libname}${release}${shared_ext}$major'
14065 shlibpath_var=LD_LIBRARY_PATH
14066 case $host_vendor in
14067 sni)
14068 shlibpath_overrides_runpath=no
14069 need_lib_prefix=no
14070 runpath_var=LD_RUN_PATH
14072 siemens)
14073 need_lib_prefix=no
14075 motorola)
14076 need_lib_prefix=no
14077 need_version=no
14078 shlibpath_overrides_runpath=no
14079 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14081 esac
14084 sysv4*MP*)
14085 if test -d /usr/nec ;then
14086 version_type=linux
14087 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14088 soname_spec='$libname${shared_ext}.$major'
14089 shlibpath_var=LD_LIBRARY_PATH
14093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14094 version_type=freebsd-elf
14095 need_lib_prefix=no
14096 need_version=no
14097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14098 soname_spec='${libname}${release}${shared_ext}$major'
14099 shlibpath_var=LD_LIBRARY_PATH
14100 shlibpath_overrides_runpath=yes
14101 hardcode_into_libs=yes
14102 if test "$with_gnu_ld" = yes; then
14103 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14104 else
14105 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14106 case $host_os in
14107 sco3.2v5*)
14108 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14110 esac
14112 sys_lib_dlsearch_path_spec='/usr/lib'
14115 tpf*)
14116 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14117 version_type=linux
14118 need_lib_prefix=no
14119 need_version=no
14120 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14121 shlibpath_var=LD_LIBRARY_PATH
14122 shlibpath_overrides_runpath=no
14123 hardcode_into_libs=yes
14126 uts4*)
14127 version_type=linux
14128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14129 soname_spec='${libname}${release}${shared_ext}$major'
14130 shlibpath_var=LD_LIBRARY_PATH
14134 dynamic_linker=no
14136 esac
14137 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14138 echo "${ECHO_T}$dynamic_linker" >&6; }
14139 test "$dynamic_linker" = no && can_build_shared=no
14141 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14142 if test "$GCC" = yes; then
14143 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14181 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14182 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14183 hardcode_action_FC=
14184 if test -n "$hardcode_libdir_flag_spec_FC" ||
14185 test -n "$runpath_var_FC" ||
14186 test "X$hardcode_automatic_FC" = "Xyes" ; then
14188 # We can hardcode non-existent directories.
14189 if test "$hardcode_direct_FC" != no &&
14190 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14191 # have to relink, otherwise we might link with an installed library
14192 # when we should be linking with a yet-to-be-installed one
14193 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14194 test "$hardcode_minus_L_FC" != no; then
14195 # Linking always hardcodes the temporary library directory.
14196 hardcode_action_FC=relink
14197 else
14198 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14199 hardcode_action_FC=immediate
14201 else
14202 # We cannot hardcode anything, or else we can only hardcode existing
14203 # directories.
14204 hardcode_action_FC=unsupported
14206 { echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14207 echo "${ECHO_T}$hardcode_action_FC" >&6; }
14209 if test "$hardcode_action_FC" = relink ||
14210 test "$inherit_rpath_FC" = yes; then
14211 # Fast installation is not supported
14212 enable_fast_install=no
14213 elif test "$shlibpath_overrides_runpath" = yes ||
14214 test "$enable_shared" = no; then
14215 # Fast installation is not necessary
14216 enable_fast_install=needless
14225 fi # test -n "$compiler"
14227 CC="$lt_save_CC"
14228 fi # test "$_lt_disable_FC" != yes
14230 ac_ext=c
14231 ac_cpp='$CPP $CPPFLAGS'
14232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14238 # extra LD Flags which are required for targets
14239 case "${host}" in
14240 *-darwin*)
14241 # Darwin needs -single_module when linking libgfortran
14242 extra_ldflags_libgfortran=-Wl,-single_module
14244 esac
14247 # We need a working compiler at that point, otherwise give a clear
14248 # error message and bail out.
14250 { echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14251 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6; }
14252 ac_ext=${ac_fc_srcext-f}
14253 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14254 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14255 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14257 cat >conftest.$ac_ext <<_ACEOF
14259 program foo
14260 real, parameter :: bar = sin (12.34 / 2.5)
14261 end program foo
14262 _ACEOF
14263 rm -f conftest.$ac_objext
14264 if { (ac_try="$ac_compile"
14265 case "(($ac_try" in
14266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14267 *) ac_try_echo=$ac_try;;
14268 esac
14269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14270 (eval "$ac_compile") 2>conftest.er1
14271 ac_status=$?
14272 grep -v '^ *+' conftest.er1 >conftest.err
14273 rm -f conftest.er1
14274 cat conftest.err >&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } && {
14277 test -z "$ac_fc_werror_flag" ||
14278 test ! -s conftest.err
14279 } && test -s conftest.$ac_objext; then
14280 { echo "$as_me:$LINENO: result: yes" >&5
14281 echo "${ECHO_T}yes" >&6; }
14282 else
14283 echo "$as_me: failed program was:" >&5
14284 sed 's/^/| /' conftest.$ac_ext >&5
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14288 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
14289 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14290 { (exit 1); exit 1; }; }
14294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14295 ac_ext=c
14296 ac_cpp='$CPP $CPPFLAGS'
14297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14303 # Check whether --enable-largefile was given.
14304 if test "${enable_largefile+set}" = set; then
14305 enableval=$enable_largefile;
14308 if test "$enable_largefile" != no; then
14310 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14311 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
14312 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315 ac_cv_sys_largefile_CC=no
14316 if test "$GCC" != yes; then
14317 ac_save_CC=$CC
14318 while :; do
14319 # IRIX 6.2 and later do not support large files by default,
14320 # so use the C compiler's -n32 option if that helps.
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327 #include <sys/types.h>
14328 /* Check that off_t can represent 2**63 - 1 correctly.
14329 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14330 since some C++ compilers masquerading as C compilers
14331 incorrectly reject 9223372036854775807. */
14332 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14333 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14334 && LARGE_OFF_T % 2147483647 == 1)
14335 ? 1 : -1];
14337 main ()
14341 return 0;
14343 _ACEOF
14344 rm -f conftest.$ac_objext
14345 if { (ac_try="$ac_compile"
14346 case "(($ac_try" in
14347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14349 esac
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compile") 2>conftest.er1
14352 ac_status=$?
14353 grep -v '^ *+' conftest.er1 >conftest.err
14354 rm -f conftest.er1
14355 cat conftest.err >&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); } && {
14358 test -z "$ac_c_werror_flag" ||
14359 test ! -s conftest.err
14360 } && test -s conftest.$ac_objext; then
14361 break
14362 else
14363 echo "$as_me: failed program was:" >&5
14364 sed 's/^/| /' conftest.$ac_ext >&5
14369 rm -f core conftest.err conftest.$ac_objext
14370 CC="$CC -n32"
14371 rm -f conftest.$ac_objext
14372 if { (ac_try="$ac_compile"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14376 esac
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_compile") 2>conftest.er1
14379 ac_status=$?
14380 grep -v '^ *+' conftest.er1 >conftest.err
14381 rm -f conftest.er1
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest.$ac_objext; then
14388 ac_cv_sys_largefile_CC=' -n32'; break
14389 else
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.$ac_ext >&5
14396 rm -f core conftest.err conftest.$ac_objext
14397 break
14398 done
14399 CC=$ac_save_CC
14400 rm -f conftest.$ac_ext
14403 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14404 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
14405 if test "$ac_cv_sys_largefile_CC" != no; then
14406 CC=$CC$ac_cv_sys_largefile_CC
14409 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14410 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
14411 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 else
14414 while :; do
14415 cat >conftest.$ac_ext <<_ACEOF
14416 /* confdefs.h. */
14417 _ACEOF
14418 cat confdefs.h >>conftest.$ac_ext
14419 cat >>conftest.$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421 #include <sys/types.h>
14422 /* Check that off_t can represent 2**63 - 1 correctly.
14423 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14424 since some C++ compilers masquerading as C compilers
14425 incorrectly reject 9223372036854775807. */
14426 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14427 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14428 && LARGE_OFF_T % 2147483647 == 1)
14429 ? 1 : -1];
14431 main ()
14435 return 0;
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14443 esac
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14446 ac_status=$?
14447 grep -v '^ *+' conftest.er1 >conftest.err
14448 rm -f conftest.er1
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_cv_sys_file_offset_bits=no; break
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h. */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 #define _FILE_OFFSET_BITS 64
14471 #include <sys/types.h>
14472 /* Check that off_t can represent 2**63 - 1 correctly.
14473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14474 since some C++ compilers masquerading as C compilers
14475 incorrectly reject 9223372036854775807. */
14476 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14478 && LARGE_OFF_T % 2147483647 == 1)
14479 ? 1 : -1];
14481 main ()
14485 return 0;
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14493 esac
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 ac_cv_sys_file_offset_bits=64; break
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14514 ac_cv_sys_file_offset_bits=unknown
14515 break
14516 done
14518 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14519 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
14520 case $ac_cv_sys_file_offset_bits in #(
14521 no | unknown) ;;
14523 cat >>confdefs.h <<_ACEOF
14524 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14525 _ACEOF
14527 esac
14528 rm -f conftest*
14529 if test $ac_cv_sys_file_offset_bits = unknown; then
14530 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14531 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
14532 if test "${ac_cv_sys_large_files+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 else
14535 while :; do
14536 cat >conftest.$ac_ext <<_ACEOF
14537 /* confdefs.h. */
14538 _ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 #include <sys/types.h>
14543 /* Check that off_t can represent 2**63 - 1 correctly.
14544 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14545 since some C++ compilers masquerading as C compilers
14546 incorrectly reject 9223372036854775807. */
14547 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14548 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14549 && LARGE_OFF_T % 2147483647 == 1)
14550 ? 1 : -1];
14552 main ()
14556 return 0;
14558 _ACEOF
14559 rm -f conftest.$ac_objext
14560 if { (ac_try="$ac_compile"
14561 case "(($ac_try" in
14562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14564 esac
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_compile") 2>conftest.er1
14567 ac_status=$?
14568 grep -v '^ *+' conftest.er1 >conftest.err
14569 rm -f conftest.er1
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } && {
14573 test -z "$ac_c_werror_flag" ||
14574 test ! -s conftest.err
14575 } && test -s conftest.$ac_objext; then
14576 ac_cv_sys_large_files=no; break
14577 else
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14585 cat >conftest.$ac_ext <<_ACEOF
14586 /* confdefs.h. */
14587 _ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591 #define _LARGE_FILES 1
14592 #include <sys/types.h>
14593 /* Check that off_t can represent 2**63 - 1 correctly.
14594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14595 since some C++ compilers masquerading as C compilers
14596 incorrectly reject 9223372036854775807. */
14597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14599 && LARGE_OFF_T % 2147483647 == 1)
14600 ? 1 : -1];
14602 main ()
14606 return 0;
14608 _ACEOF
14609 rm -f conftest.$ac_objext
14610 if { (ac_try="$ac_compile"
14611 case "(($ac_try" in
14612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14613 *) ac_try_echo=$ac_try;;
14614 esac
14615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14616 (eval "$ac_compile") 2>conftest.er1
14617 ac_status=$?
14618 grep -v '^ *+' conftest.er1 >conftest.err
14619 rm -f conftest.er1
14620 cat conftest.err >&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } && {
14623 test -z "$ac_c_werror_flag" ||
14624 test ! -s conftest.err
14625 } && test -s conftest.$ac_objext; then
14626 ac_cv_sys_large_files=1; break
14627 else
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 ac_cv_sys_large_files=unknown
14636 break
14637 done
14639 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14640 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
14641 case $ac_cv_sys_large_files in #(
14642 no | unknown) ;;
14644 cat >>confdefs.h <<_ACEOF
14645 #define _LARGE_FILES $ac_cv_sys_large_files
14646 _ACEOF
14648 esac
14649 rm -f conftest*
14653 { echo "$as_me:$LINENO: checking for off_t" >&5
14654 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
14655 if test "${ac_cv_type_off_t+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 else
14658 cat >conftest.$ac_ext <<_ACEOF
14659 /* confdefs.h. */
14660 _ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14664 $ac_includes_default
14665 typedef off_t ac__type_new_;
14667 main ()
14669 if ((ac__type_new_ *) 0)
14670 return 0;
14671 if (sizeof (ac__type_new_))
14672 return 0;
14674 return 0;
14676 _ACEOF
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_type_off_t=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_type_off_t=no
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14705 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
14706 if test $ac_cv_type_off_t = yes; then
14708 else
14710 cat >>confdefs.h <<_ACEOF
14711 #define off_t long int
14712 _ACEOF
14717 # check header files
14718 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14719 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14720 if test "${ac_cv_header_stdc+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723 cat >conftest.$ac_ext <<_ACEOF
14724 /* confdefs.h. */
14725 _ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729 #include <stdlib.h>
14730 #include <stdarg.h>
14731 #include <string.h>
14732 #include <float.h>
14735 main ()
14739 return 0;
14741 _ACEOF
14742 rm -f conftest.$ac_objext
14743 if { (ac_try="$ac_compile"
14744 case "(($ac_try" in
14745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14746 *) ac_try_echo=$ac_try;;
14747 esac
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_compile") 2>conftest.er1
14750 ac_status=$?
14751 grep -v '^ *+' conftest.er1 >conftest.err
14752 rm -f conftest.er1
14753 cat conftest.err >&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } && {
14756 test -z "$ac_c_werror_flag" ||
14757 test ! -s conftest.err
14758 } && test -s conftest.$ac_objext; then
14759 ac_cv_header_stdc=yes
14760 else
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.$ac_ext >&5
14764 ac_cv_header_stdc=no
14767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 if test $ac_cv_header_stdc = yes; then
14770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14771 cat >conftest.$ac_ext <<_ACEOF
14772 /* confdefs.h. */
14773 _ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 #include <string.h>
14779 _ACEOF
14780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14781 $EGREP "memchr" >/dev/null 2>&1; then
14783 else
14784 ac_cv_header_stdc=no
14786 rm -f conftest*
14790 if test $ac_cv_header_stdc = yes; then
14791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14792 cat >conftest.$ac_ext <<_ACEOF
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <stdlib.h>
14800 _ACEOF
14801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14802 $EGREP "free" >/dev/null 2>&1; then
14804 else
14805 ac_cv_header_stdc=no
14807 rm -f conftest*
14811 if test $ac_cv_header_stdc = yes; then
14812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14813 if test "$cross_compiling" = yes; then
14815 else
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 #include <ctype.h>
14823 #include <stdlib.h>
14824 #if ((' ' & 0x0FF) == 0x020)
14825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14827 #else
14828 # define ISLOWER(c) \
14829 (('a' <= (c) && (c) <= 'i') \
14830 || ('j' <= (c) && (c) <= 'r') \
14831 || ('s' <= (c) && (c) <= 'z'))
14832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14833 #endif
14835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14837 main ()
14839 int i;
14840 for (i = 0; i < 256; i++)
14841 if (XOR (islower (i), ISLOWER (i))
14842 || toupper (i) != TOUPPER (i))
14843 return 2;
14844 return 0;
14846 _ACEOF
14847 rm -f conftest$ac_exeext
14848 if { (ac_try="$ac_link"
14849 case "(($ac_try" in
14850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14851 *) ac_try_echo=$ac_try;;
14852 esac
14853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14854 (eval "$ac_link") 2>&5
14855 ac_status=$?
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14858 { (case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_try") 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14868 else
14869 echo "$as_me: program exited with status $ac_status" >&5
14870 echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.$ac_ext >&5
14873 ( exit $ac_status )
14874 ac_cv_header_stdc=no
14876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14882 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14883 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14884 if test $ac_cv_header_stdc = yes; then
14886 cat >>confdefs.h <<\_ACEOF
14887 #define STDC_HEADERS 1
14888 _ACEOF
14892 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14893 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
14894 if test "${ac_cv_header_time+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 else
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 #include <sys/types.h>
14904 #include <sys/time.h>
14905 #include <time.h>
14908 main ()
14910 if ((struct tm *) 0)
14911 return 0;
14913 return 0;
14915 _ACEOF
14916 rm -f conftest.$ac_objext
14917 if { (ac_try="$ac_compile"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14921 esac
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_compile") 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest.$ac_objext; then
14933 ac_cv_header_time=yes
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 ac_cv_header_time=no
14941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14944 echo "${ECHO_T}$ac_cv_header_time" >&6; }
14945 if test $ac_cv_header_time = yes; then
14947 cat >>confdefs.h <<\_ACEOF
14948 #define TIME_WITH_SYS_TIME 1
14949 _ACEOF
14959 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 ac_res=`eval echo '${'$as_ac_Header'}'`
14969 { echo "$as_me:$LINENO: result: $ac_res" >&5
14970 echo "${ECHO_T}$ac_res" >&6; }
14971 else
14972 # Is the header compilable?
14973 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14975 cat >conftest.$ac_ext <<_ACEOF
14976 /* confdefs.h. */
14977 _ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 $ac_includes_default
14982 #include <$ac_header>
14983 _ACEOF
14984 rm -f conftest.$ac_objext
14985 if { (ac_try="$ac_compile"
14986 case "(($ac_try" in
14987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14989 esac
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_compile") 2>conftest.er1
14992 ac_status=$?
14993 grep -v '^ *+' conftest.er1 >conftest.err
14994 rm -f conftest.er1
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } && {
14998 test -z "$ac_c_werror_flag" ||
14999 test ! -s conftest.err
15000 } && test -s conftest.$ac_objext; then
15001 ac_header_compiler=yes
15002 else
15003 echo "$as_me: failed program was:" >&5
15004 sed 's/^/| /' conftest.$ac_ext >&5
15006 ac_header_compiler=no
15009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15010 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15011 echo "${ECHO_T}$ac_header_compiler" >&6; }
15013 # Is the header present?
15014 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15016 cat >conftest.$ac_ext <<_ACEOF
15017 /* confdefs.h. */
15018 _ACEOF
15019 cat confdefs.h >>conftest.$ac_ext
15020 cat >>conftest.$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15022 #include <$ac_header>
15023 _ACEOF
15024 if { (ac_try="$ac_cpp conftest.$ac_ext"
15025 case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15028 esac
15029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15031 ac_status=$?
15032 grep -v '^ *+' conftest.er1 >conftest.err
15033 rm -f conftest.er1
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } >/dev/null && {
15037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15038 test ! -s conftest.err
15039 }; then
15040 ac_header_preproc=yes
15041 else
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15045 ac_header_preproc=no
15048 rm -f conftest.err conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15050 echo "${ECHO_T}$ac_header_preproc" >&6; }
15052 # So? What about this header?
15053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15054 yes:no: )
15055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15059 ac_header_preproc=yes
15061 no:yes:* )
15062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15076 esac
15077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 eval "$as_ac_Header=\$ac_header_preproc"
15084 ac_res=`eval echo '${'$as_ac_Header'}'`
15085 { echo "$as_me:$LINENO: result: $ac_res" >&5
15086 echo "${ECHO_T}$ac_res" >&6; }
15089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15090 cat >>confdefs.h <<_ACEOF
15091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15092 _ACEOF
15096 done
15102 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 ac_res=`eval echo '${'$as_ac_Header'}'`
15112 { echo "$as_me:$LINENO: result: $ac_res" >&5
15113 echo "${ECHO_T}$ac_res" >&6; }
15114 else
15115 # Is the header compilable?
15116 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15118 cat >conftest.$ac_ext <<_ACEOF
15119 /* confdefs.h. */
15120 _ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_includes_default
15125 #include <$ac_header>
15126 _ACEOF
15127 rm -f conftest.$ac_objext
15128 if { (ac_try="$ac_compile"
15129 case "(($ac_try" in
15130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15131 *) ac_try_echo=$ac_try;;
15132 esac
15133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15134 (eval "$ac_compile") 2>conftest.er1
15135 ac_status=$?
15136 grep -v '^ *+' conftest.er1 >conftest.err
15137 rm -f conftest.er1
15138 cat conftest.err >&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); } && {
15141 test -z "$ac_c_werror_flag" ||
15142 test ! -s conftest.err
15143 } && test -s conftest.$ac_objext; then
15144 ac_header_compiler=yes
15145 else
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.$ac_ext >&5
15149 ac_header_compiler=no
15152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15154 echo "${ECHO_T}$ac_header_compiler" >&6; }
15156 # Is the header present?
15157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15159 cat >conftest.$ac_ext <<_ACEOF
15160 /* confdefs.h. */
15161 _ACEOF
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 #include <$ac_header>
15166 _ACEOF
15167 if { (ac_try="$ac_cpp conftest.$ac_ext"
15168 case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15171 esac
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15174 ac_status=$?
15175 grep -v '^ *+' conftest.er1 >conftest.err
15176 rm -f conftest.er1
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } >/dev/null && {
15180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15182 }; then
15183 ac_header_preproc=yes
15184 else
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.$ac_ext >&5
15188 ac_header_preproc=no
15191 rm -f conftest.err conftest.$ac_ext
15192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15193 echo "${ECHO_T}$ac_header_preproc" >&6; }
15195 # So? What about this header?
15196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15197 yes:no: )
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15202 ac_header_preproc=yes
15204 no:yes:* )
15205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15219 esac
15220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 eval "$as_ac_Header=\$ac_header_preproc"
15227 ac_res=`eval echo '${'$as_ac_Header'}'`
15228 { echo "$as_me:$LINENO: result: $ac_res" >&5
15229 echo "${ECHO_T}$ac_res" >&6; }
15232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15233 cat >>confdefs.h <<_ACEOF
15234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15235 _ACEOF
15239 done
15246 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 ac_res=`eval echo '${'$as_ac_Header'}'`
15256 { echo "$as_me:$LINENO: result: $ac_res" >&5
15257 echo "${ECHO_T}$ac_res" >&6; }
15258 else
15259 # Is the header compilable?
15260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268 $ac_includes_default
15269 #include <$ac_header>
15270 _ACEOF
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15276 esac
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15279 ac_status=$?
15280 grep -v '^ *+' conftest.er1 >conftest.err
15281 rm -f conftest.er1
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 ac_header_compiler=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15293 ac_header_compiler=no
15296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15298 echo "${ECHO_T}$ac_header_compiler" >&6; }
15300 # Is the header present?
15301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 #include <$ac_header>
15310 _ACEOF
15311 if { (ac_try="$ac_cpp conftest.$ac_ext"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15315 esac
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } >/dev/null && {
15324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 }; then
15327 ac_header_preproc=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_header_preproc=no
15335 rm -f conftest.err conftest.$ac_ext
15336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15337 echo "${ECHO_T}$ac_header_preproc" >&6; }
15339 # So? What about this header?
15340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15341 yes:no: )
15342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15346 ac_header_preproc=yes
15348 no:yes:* )
15349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15363 esac
15364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 eval "$as_ac_Header=\$ac_header_preproc"
15371 ac_res=`eval echo '${'$as_ac_Header'}'`
15372 { echo "$as_me:$LINENO: result: $ac_res" >&5
15373 echo "${ECHO_T}$ac_res" >&6; }
15376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15377 cat >>confdefs.h <<_ACEOF
15378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15379 _ACEOF
15383 done
15390 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 ac_res=`eval echo '${'$as_ac_Header'}'`
15400 { echo "$as_me:$LINENO: result: $ac_res" >&5
15401 echo "${ECHO_T}$ac_res" >&6; }
15402 else
15403 # Is the header compilable?
15404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15406 cat >conftest.$ac_ext <<_ACEOF
15407 /* confdefs.h. */
15408 _ACEOF
15409 cat confdefs.h >>conftest.$ac_ext
15410 cat >>conftest.$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15412 $ac_includes_default
15413 #include <$ac_header>
15414 _ACEOF
15415 rm -f conftest.$ac_objext
15416 if { (ac_try="$ac_compile"
15417 case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_compile") 2>conftest.er1
15423 ac_status=$?
15424 grep -v '^ *+' conftest.er1 >conftest.err
15425 rm -f conftest.er1
15426 cat conftest.err >&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } && {
15429 test -z "$ac_c_werror_flag" ||
15430 test ! -s conftest.err
15431 } && test -s conftest.$ac_objext; then
15432 ac_header_compiler=yes
15433 else
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 ac_header_compiler=no
15440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15442 echo "${ECHO_T}$ac_header_compiler" >&6; }
15444 # Is the header present?
15445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15447 cat >conftest.$ac_ext <<_ACEOF
15448 /* confdefs.h. */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 #include <$ac_header>
15454 _ACEOF
15455 if { (ac_try="$ac_cpp conftest.$ac_ext"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15459 esac
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } >/dev/null && {
15468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 }; then
15471 ac_header_preproc=yes
15472 else
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15476 ac_header_preproc=no
15479 rm -f conftest.err conftest.$ac_ext
15480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15481 echo "${ECHO_T}$ac_header_preproc" >&6; }
15483 # So? What about this header?
15484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15485 yes:no: )
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15490 ac_header_preproc=yes
15492 no:yes:* )
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15507 esac
15508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 else
15513 eval "$as_ac_Header=\$ac_header_preproc"
15515 ac_res=`eval echo '${'$as_ac_Header'}'`
15516 { echo "$as_me:$LINENO: result: $ac_res" >&5
15517 echo "${ECHO_T}$ac_res" >&6; }
15520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15521 cat >>confdefs.h <<_ACEOF
15522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15523 _ACEOF
15527 done
15529 if test "${ac_cv_header_complex_h+set}" = set; then
15530 { echo "$as_me:$LINENO: checking for complex.h" >&5
15531 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6; }
15532 if test "${ac_cv_header_complex_h+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 { echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15536 echo "${ECHO_T}$ac_cv_header_complex_h" >&6; }
15537 else
15538 # Is the header compilable?
15539 { echo "$as_me:$LINENO: checking complex.h usability" >&5
15540 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6; }
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547 $ac_includes_default
15548 #include <complex.h>
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest.$ac_objext; then
15567 ac_header_compiler=yes
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15572 ac_header_compiler=no
15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15576 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15577 echo "${ECHO_T}$ac_header_compiler" >&6; }
15579 # Is the header present?
15580 { echo "$as_me:$LINENO: checking complex.h presence" >&5
15581 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6; }
15582 cat >conftest.$ac_ext <<_ACEOF
15583 /* confdefs.h. */
15584 _ACEOF
15585 cat confdefs.h >>conftest.$ac_ext
15586 cat >>conftest.$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #include <complex.h>
15589 _ACEOF
15590 if { (ac_try="$ac_cpp conftest.$ac_ext"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } >/dev/null && {
15603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 }; then
15606 ac_header_preproc=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15611 ac_header_preproc=no
15614 rm -f conftest.err conftest.$ac_ext
15615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15616 echo "${ECHO_T}$ac_header_preproc" >&6; }
15618 # So? What about this header?
15619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15620 yes:no: )
15621 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15622 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15624 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15625 ac_header_preproc=yes
15627 no:yes:* )
15628 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15629 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15630 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15631 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15632 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15633 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15634 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15635 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15637 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15639 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15642 esac
15643 { echo "$as_me:$LINENO: checking for complex.h" >&5
15644 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6; }
15645 if test "${ac_cv_header_complex_h+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 else
15648 ac_cv_header_complex_h=$ac_header_preproc
15650 { echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15651 echo "${ECHO_T}$ac_cv_header_complex_h" >&6; }
15654 if test $ac_cv_header_complex_h = yes; then
15656 cat >>confdefs.h <<\_ACEOF
15657 #define HAVE_COMPLEX_H 1
15658 _ACEOF
15665 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15667 acx_cv_header_stdint=stddef.h
15668 acx_cv_header_stdint_kind="(already complete)"
15669 for i in stdint.h $inttype_headers; do
15670 unset ac_cv_type_uintptr_t
15671 unset ac_cv_type_uintmax_t
15672 unset ac_cv_type_int_least32_t
15673 unset ac_cv_type_int_fast32_t
15674 unset ac_cv_type_uint64_t
15675 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15676 { echo "$as_me:$LINENO: checking for uintmax_t" >&5
15677 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; }
15678 if test "${ac_cv_type_uintmax_t+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h. */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 #include <sys/types.h>
15688 #include <$i>
15690 typedef uintmax_t ac__type_new_;
15692 main ()
15694 if ((ac__type_new_ *) 0)
15695 return 0;
15696 if (sizeof (ac__type_new_))
15697 return 0;
15699 return 0;
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (ac_try="$ac_compile"
15704 case "(($ac_try" in
15705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15706 *) ac_try_echo=$ac_try;;
15707 esac
15708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15709 (eval "$ac_compile") 2>conftest.er1
15710 ac_status=$?
15711 grep -v '^ *+' conftest.er1 >conftest.err
15712 rm -f conftest.er1
15713 cat conftest.err >&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } && {
15716 test -z "$ac_c_werror_flag" ||
15717 test ! -s conftest.err
15718 } && test -s conftest.$ac_objext; then
15719 ac_cv_type_uintmax_t=yes
15720 else
15721 echo "$as_me: failed program was:" >&5
15722 sed 's/^/| /' conftest.$ac_ext >&5
15724 ac_cv_type_uintmax_t=no
15727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15729 { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15730 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; }
15731 if test $ac_cv_type_uintmax_t = yes; then
15732 acx_cv_header_stdint=$i
15733 else
15734 continue
15737 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
15738 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
15739 if test "${ac_cv_type_uintptr_t+set}" = set; then
15740 echo $ECHO_N "(cached) $ECHO_C" >&6
15741 else
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 #include <sys/types.h>
15749 #include <$i>
15751 typedef uintptr_t ac__type_new_;
15753 main ()
15755 if ((ac__type_new_ *) 0)
15756 return 0;
15757 if (sizeof (ac__type_new_))
15758 return 0;
15760 return 0;
15762 _ACEOF
15763 rm -f conftest.$ac_objext
15764 if { (ac_try="$ac_compile"
15765 case "(($ac_try" in
15766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15767 *) ac_try_echo=$ac_try;;
15768 esac
15769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15770 (eval "$ac_compile") 2>conftest.er1
15771 ac_status=$?
15772 grep -v '^ *+' conftest.er1 >conftest.err
15773 rm -f conftest.er1
15774 cat conftest.err >&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } && {
15777 test -z "$ac_c_werror_flag" ||
15778 test ! -s conftest.err
15779 } && test -s conftest.$ac_objext; then
15780 ac_cv_type_uintptr_t=yes
15781 else
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15785 ac_cv_type_uintptr_t=no
15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15790 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15791 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
15792 if test $ac_cv_type_uintptr_t = yes; then
15794 else
15795 acx_cv_header_stdint_kind="(mostly complete)"
15798 { echo "$as_me:$LINENO: checking for int_least32_t" >&5
15799 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
15800 if test "${ac_cv_type_int_least32_t+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 else
15803 cat >conftest.$ac_ext <<_ACEOF
15804 /* confdefs.h. */
15805 _ACEOF
15806 cat confdefs.h >>conftest.$ac_ext
15807 cat >>conftest.$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15809 #include <sys/types.h>
15810 #include <$i>
15812 typedef int_least32_t ac__type_new_;
15814 main ()
15816 if ((ac__type_new_ *) 0)
15817 return 0;
15818 if (sizeof (ac__type_new_))
15819 return 0;
15821 return 0;
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (ac_try="$ac_compile"
15826 case "(($ac_try" in
15827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15828 *) ac_try_echo=$ac_try;;
15829 esac
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_compile") 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_c_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest.$ac_objext; then
15841 ac_cv_type_int_least32_t=yes
15842 else
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.$ac_ext >&5
15846 ac_cv_type_int_least32_t=no
15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15852 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
15853 if test $ac_cv_type_int_least32_t = yes; then
15855 else
15856 acx_cv_header_stdint_kind="(mostly complete)"
15859 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15860 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
15861 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 #include <sys/types.h>
15871 #include <$i>
15873 typedef int_fast32_t ac__type_new_;
15875 main ()
15877 if ((ac__type_new_ *) 0)
15878 return 0;
15879 if (sizeof (ac__type_new_))
15880 return 0;
15882 return 0;
15884 _ACEOF
15885 rm -f conftest.$ac_objext
15886 if { (ac_try="$ac_compile"
15887 case "(($ac_try" in
15888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15889 *) ac_try_echo=$ac_try;;
15890 esac
15891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15892 (eval "$ac_compile") 2>conftest.er1
15893 ac_status=$?
15894 grep -v '^ *+' conftest.er1 >conftest.err
15895 rm -f conftest.er1
15896 cat conftest.err >&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } && {
15899 test -z "$ac_c_werror_flag" ||
15900 test ! -s conftest.err
15901 } && test -s conftest.$ac_objext; then
15902 ac_cv_type_int_fast32_t=yes
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 ac_cv_type_int_fast32_t=no
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15913 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
15914 if test $ac_cv_type_int_fast32_t = yes; then
15916 else
15917 acx_cv_header_stdint_kind="(mostly complete)"
15920 { echo "$as_me:$LINENO: checking for uint64_t" >&5
15921 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
15922 if test "${ac_cv_type_uint64_t+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 else
15925 cat >conftest.$ac_ext <<_ACEOF
15926 /* confdefs.h. */
15927 _ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 #include <sys/types.h>
15932 #include <$i>
15934 typedef uint64_t ac__type_new_;
15936 main ()
15938 if ((ac__type_new_ *) 0)
15939 return 0;
15940 if (sizeof (ac__type_new_))
15941 return 0;
15943 return 0;
15945 _ACEOF
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15951 esac
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15954 ac_status=$?
15955 grep -v '^ *+' conftest.er1 >conftest.err
15956 rm -f conftest.er1
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15963 ac_cv_type_uint64_t=yes
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15968 ac_cv_type_uint64_t=no
15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15974 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15975 if test $ac_cv_type_uint64_t = yes; then
15977 else
15978 acx_cv_header_stdint_kind="(lacks uint64_t)"
15981 break
15982 done
15983 if test "$acx_cv_header_stdint" = stddef.h; then
15984 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15985 for i in stdint.h $inttype_headers; do
15986 unset ac_cv_type_uintptr_t
15987 unset ac_cv_type_uint32_t
15988 unset ac_cv_type_uint64_t
15989 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15990 { echo "$as_me:$LINENO: checking for uint32_t" >&5
15991 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
15992 if test "${ac_cv_type_uint32_t+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 #include <sys/types.h>
16002 #include <$i>
16004 typedef uint32_t ac__type_new_;
16006 main ()
16008 if ((ac__type_new_ *) 0)
16009 return 0;
16010 if (sizeof (ac__type_new_))
16011 return 0;
16013 return 0;
16015 _ACEOF
16016 rm -f conftest.$ac_objext
16017 if { (ac_try="$ac_compile"
16018 case "(($ac_try" in
16019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16020 *) ac_try_echo=$ac_try;;
16021 esac
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_compile") 2>conftest.er1
16024 ac_status=$?
16025 grep -v '^ *+' conftest.er1 >conftest.err
16026 rm -f conftest.er1
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } && {
16030 test -z "$ac_c_werror_flag" ||
16031 test ! -s conftest.err
16032 } && test -s conftest.$ac_objext; then
16033 ac_cv_type_uint32_t=yes
16034 else
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16038 ac_cv_type_uint32_t=no
16041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16043 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16044 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
16045 if test $ac_cv_type_uint32_t = yes; then
16046 acx_cv_header_stdint=$i
16047 else
16048 continue
16051 { echo "$as_me:$LINENO: checking for uint64_t" >&5
16052 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
16053 if test "${ac_cv_type_uint64_t+set}" = set; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 else
16056 cat >conftest.$ac_ext <<_ACEOF
16057 /* confdefs.h. */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 #include <sys/types.h>
16063 #include <$i>
16065 typedef uint64_t ac__type_new_;
16067 main ()
16069 if ((ac__type_new_ *) 0)
16070 return 0;
16071 if (sizeof (ac__type_new_))
16072 return 0;
16074 return 0;
16076 _ACEOF
16077 rm -f conftest.$ac_objext
16078 if { (ac_try="$ac_compile"
16079 case "(($ac_try" in
16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16081 *) ac_try_echo=$ac_try;;
16082 esac
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_compile") 2>conftest.er1
16085 ac_status=$?
16086 grep -v '^ *+' conftest.er1 >conftest.err
16087 rm -f conftest.er1
16088 cat conftest.err >&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } && {
16091 test -z "$ac_c_werror_flag" ||
16092 test ! -s conftest.err
16093 } && test -s conftest.$ac_objext; then
16094 ac_cv_type_uint64_t=yes
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 ac_cv_type_uint64_t=no
16102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16104 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16105 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
16107 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
16108 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
16109 if test "${ac_cv_type_uintptr_t+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <sys/types.h>
16119 #include <$i>
16121 typedef uintptr_t ac__type_new_;
16123 main ()
16125 if ((ac__type_new_ *) 0)
16126 return 0;
16127 if (sizeof (ac__type_new_))
16128 return 0;
16130 return 0;
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (ac_try="$ac_compile"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_compile") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest.$ac_objext; then
16150 ac_cv_type_uintptr_t=yes
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16155 ac_cv_type_uintptr_t=no
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16160 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16161 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
16163 break
16164 done
16166 if test "$acx_cv_header_stdint" = stddef.h; then
16167 acx_cv_header_stdint_kind="(u_intXX_t style)"
16168 for i in sys/types.h $inttype_headers; do
16169 unset ac_cv_type_u_int32_t
16170 unset ac_cv_type_u_int64_t
16171 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16172 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
16173 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
16174 if test "${ac_cv_type_u_int32_t+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177 cat >conftest.$ac_ext <<_ACEOF
16178 /* confdefs.h. */
16179 _ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 #include <sys/types.h>
16184 #include <$i>
16186 typedef u_int32_t ac__type_new_;
16188 main ()
16190 if ((ac__type_new_ *) 0)
16191 return 0;
16192 if (sizeof (ac__type_new_))
16193 return 0;
16195 return 0;
16197 _ACEOF
16198 rm -f conftest.$ac_objext
16199 if { (ac_try="$ac_compile"
16200 case "(($ac_try" in
16201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16202 *) ac_try_echo=$ac_try;;
16203 esac
16204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16205 (eval "$ac_compile") 2>conftest.er1
16206 ac_status=$?
16207 grep -v '^ *+' conftest.er1 >conftest.err
16208 rm -f conftest.er1
16209 cat conftest.err >&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } && {
16212 test -z "$ac_c_werror_flag" ||
16213 test ! -s conftest.err
16214 } && test -s conftest.$ac_objext; then
16215 ac_cv_type_u_int32_t=yes
16216 else
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.$ac_ext >&5
16220 ac_cv_type_u_int32_t=no
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16225 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16226 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
16227 if test $ac_cv_type_u_int32_t = yes; then
16228 acx_cv_header_stdint=$i
16229 else
16230 continue
16233 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
16234 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
16235 if test "${ac_cv_type_u_int64_t+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 else
16238 cat >conftest.$ac_ext <<_ACEOF
16239 /* confdefs.h. */
16240 _ACEOF
16241 cat confdefs.h >>conftest.$ac_ext
16242 cat >>conftest.$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 #include <sys/types.h>
16245 #include <$i>
16247 typedef u_int64_t ac__type_new_;
16249 main ()
16251 if ((ac__type_new_ *) 0)
16252 return 0;
16253 if (sizeof (ac__type_new_))
16254 return 0;
16256 return 0;
16258 _ACEOF
16259 rm -f conftest.$ac_objext
16260 if { (ac_try="$ac_compile"
16261 case "(($ac_try" in
16262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16263 *) ac_try_echo=$ac_try;;
16264 esac
16265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16266 (eval "$ac_compile") 2>conftest.er1
16267 ac_status=$?
16268 grep -v '^ *+' conftest.er1 >conftest.err
16269 rm -f conftest.er1
16270 cat conftest.err >&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } && {
16273 test -z "$ac_c_werror_flag" ||
16274 test ! -s conftest.err
16275 } && test -s conftest.$ac_objext; then
16276 ac_cv_type_u_int64_t=yes
16277 else
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16281 ac_cv_type_u_int64_t=no
16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16286 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16287 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16289 break
16290 done
16292 if test "$acx_cv_header_stdint" = stddef.h; then
16293 acx_cv_header_stdint_kind="(using manual detection)"
16296 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16297 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16298 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16299 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16300 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16302 # ----------------- Summarize what we found so far
16304 { echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16305 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6; }
16307 case `$as_basename -- gstdint.h ||
16308 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16309 Xgstdint.h : 'X\(//\)$' \| \
16310 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16311 echo X/gstdint.h |
16312 sed '/^.*\/\([^/][^/]*\)\/*$/{
16313 s//\1/
16316 /^X\/\(\/\/\)$/{
16317 s//\1/
16320 /^X\/\(\/\).*/{
16321 s//\1/
16324 s/.*/./; q'` in
16325 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16326 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16327 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16328 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16329 *) ;;
16330 esac
16332 { echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16333 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16335 # ----------------- done included file, check C basic types --------
16337 # Lacking an uintptr_t? Test size of void *
16338 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16339 stddef.h:* | *:no) { echo "$as_me:$LINENO: checking for void *" >&5
16340 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
16341 if test "${ac_cv_type_void_p+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16351 typedef void * ac__type_new_;
16353 main ()
16355 if ((ac__type_new_ *) 0)
16356 return 0;
16357 if (sizeof (ac__type_new_))
16358 return 0;
16360 return 0;
16362 _ACEOF
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_c_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_type_void_p=yes
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16385 ac_cv_type_void_p=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16391 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
16393 # The cast to long int works around a bug in the HP C Compiler
16394 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16395 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16396 # This bug is HP SR number 8606223364.
16397 { echo "$as_me:$LINENO: checking size of void *" >&5
16398 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
16399 if test "${ac_cv_sizeof_void_p+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 if test "$cross_compiling" = yes; then
16403 # Depending upon the size, compute the lo and hi bounds.
16404 cat >conftest.$ac_ext <<_ACEOF
16405 /* confdefs.h. */
16406 _ACEOF
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 $ac_includes_default
16411 typedef void * ac__type_sizeof_;
16413 main ()
16415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16416 test_array [0] = 0
16419 return 0;
16421 _ACEOF
16422 rm -f conftest.$ac_objext
16423 if { (ac_try="$ac_compile"
16424 case "(($ac_try" in
16425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16427 esac
16428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16429 (eval "$ac_compile") 2>conftest.er1
16430 ac_status=$?
16431 grep -v '^ *+' conftest.er1 >conftest.err
16432 rm -f conftest.er1
16433 cat conftest.err >&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } && {
16436 test -z "$ac_c_werror_flag" ||
16437 test ! -s conftest.err
16438 } && test -s conftest.$ac_objext; then
16439 ac_lo=0 ac_mid=0
16440 while :; do
16441 cat >conftest.$ac_ext <<_ACEOF
16442 /* confdefs.h. */
16443 _ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16447 $ac_includes_default
16448 typedef void * ac__type_sizeof_;
16450 main ()
16452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16453 test_array [0] = 0
16456 return 0;
16458 _ACEOF
16459 rm -f conftest.$ac_objext
16460 if { (ac_try="$ac_compile"
16461 case "(($ac_try" in
16462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16463 *) ac_try_echo=$ac_try;;
16464 esac
16465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16466 (eval "$ac_compile") 2>conftest.er1
16467 ac_status=$?
16468 grep -v '^ *+' conftest.er1 >conftest.err
16469 rm -f conftest.er1
16470 cat conftest.err >&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } && {
16473 test -z "$ac_c_werror_flag" ||
16474 test ! -s conftest.err
16475 } && test -s conftest.$ac_objext; then
16476 ac_hi=$ac_mid; break
16477 else
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16481 ac_lo=`expr $ac_mid + 1`
16482 if test $ac_lo -le $ac_mid; then
16483 ac_lo= ac_hi=
16484 break
16486 ac_mid=`expr 2 '*' $ac_mid + 1`
16489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16490 done
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 cat >conftest.$ac_ext <<_ACEOF
16496 /* confdefs.h. */
16497 _ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 $ac_includes_default
16502 typedef void * ac__type_sizeof_;
16504 main ()
16506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16507 test_array [0] = 0
16510 return 0;
16512 _ACEOF
16513 rm -f conftest.$ac_objext
16514 if { (ac_try="$ac_compile"
16515 case "(($ac_try" in
16516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16517 *) ac_try_echo=$ac_try;;
16518 esac
16519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16520 (eval "$ac_compile") 2>conftest.er1
16521 ac_status=$?
16522 grep -v '^ *+' conftest.er1 >conftest.err
16523 rm -f conftest.er1
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } && {
16527 test -z "$ac_c_werror_flag" ||
16528 test ! -s conftest.err
16529 } && test -s conftest.$ac_objext; then
16530 ac_hi=-1 ac_mid=-1
16531 while :; do
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 $ac_includes_default
16539 typedef void * ac__type_sizeof_;
16541 main ()
16543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16544 test_array [0] = 0
16547 return 0;
16549 _ACEOF
16550 rm -f conftest.$ac_objext
16551 if { (ac_try="$ac_compile"
16552 case "(($ac_try" in
16553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16554 *) ac_try_echo=$ac_try;;
16555 esac
16556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16557 (eval "$ac_compile") 2>conftest.er1
16558 ac_status=$?
16559 grep -v '^ *+' conftest.er1 >conftest.err
16560 rm -f conftest.er1
16561 cat conftest.err >&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && {
16564 test -z "$ac_c_werror_flag" ||
16565 test ! -s conftest.err
16566 } && test -s conftest.$ac_objext; then
16567 ac_lo=$ac_mid; break
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16572 ac_hi=`expr '(' $ac_mid ')' - 1`
16573 if test $ac_mid -le $ac_hi; then
16574 ac_lo= ac_hi=
16575 break
16577 ac_mid=`expr 2 '*' $ac_mid`
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581 done
16582 else
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16586 ac_lo= ac_hi=
16589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16593 # Binary search between lo and hi bounds.
16594 while test "x$ac_lo" != "x$ac_hi"; do
16595 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16603 typedef void * ac__type_sizeof_;
16605 main ()
16607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16608 test_array [0] = 0
16611 return 0;
16613 _ACEOF
16614 rm -f conftest.$ac_objext
16615 if { (ac_try="$ac_compile"
16616 case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16619 esac
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_compile") 2>conftest.er1
16622 ac_status=$?
16623 grep -v '^ *+' conftest.er1 >conftest.err
16624 rm -f conftest.er1
16625 cat conftest.err >&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } && {
16628 test -z "$ac_c_werror_flag" ||
16629 test ! -s conftest.err
16630 } && test -s conftest.$ac_objext; then
16631 ac_hi=$ac_mid
16632 else
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16636 ac_lo=`expr '(' $ac_mid ')' + 1`
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 done
16641 case $ac_lo in
16642 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16643 '') if test "$ac_cv_type_void_p" = yes; then
16644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
16645 See \`config.log' for more details." >&5
16646 echo "$as_me: error: cannot compute sizeof (void *)
16647 See \`config.log' for more details." >&2;}
16648 { (exit 77); exit 77; }; }
16649 else
16650 ac_cv_sizeof_void_p=0
16651 fi ;;
16652 esac
16653 else
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 typedef void * ac__type_sizeof_;
16662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16664 #include <stdio.h>
16665 #include <stdlib.h>
16667 main ()
16670 FILE *f = fopen ("conftest.val", "w");
16671 if (! f)
16672 return 1;
16673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16675 long int i = longval ();
16676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16677 return 1;
16678 fprintf (f, "%ld\n", i);
16680 else
16682 unsigned long int i = ulongval ();
16683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16684 return 1;
16685 fprintf (f, "%lu\n", i);
16687 return ferror (f) || fclose (f) != 0;
16690 return 0;
16692 _ACEOF
16693 rm -f conftest$ac_exeext
16694 if { (ac_try="$ac_link"
16695 case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16698 esac
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_link") 2>&5
16701 ac_status=$?
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16704 { (case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_try") 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 ac_cv_sizeof_void_p=`cat conftest.val`
16714 else
16715 echo "$as_me: program exited with status $ac_status" >&5
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16719 ( exit $ac_status )
16720 if test "$ac_cv_type_void_p" = yes; then
16721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
16722 See \`config.log' for more details." >&5
16723 echo "$as_me: error: cannot compute sizeof (void *)
16724 See \`config.log' for more details." >&2;}
16725 { (exit 77); exit 77; }; }
16726 else
16727 ac_cv_sizeof_void_p=0
16730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16732 rm -f conftest.val
16734 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16735 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
16739 cat >>confdefs.h <<_ACEOF
16740 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16741 _ACEOF
16744 esac
16746 # Lacking an uint64_t? Test size of long
16747 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16748 stddef.h:*:* | *:no:no) { echo "$as_me:$LINENO: checking for long" >&5
16749 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
16750 if test "${ac_cv_type_long+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 typedef long ac__type_new_;
16762 main ()
16764 if ((ac__type_new_ *) 0)
16765 return 0;
16766 if (sizeof (ac__type_new_))
16767 return 0;
16769 return 0;
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (ac_try="$ac_compile"
16774 case "(($ac_try" in
16775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16776 *) ac_try_echo=$ac_try;;
16777 esac
16778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16779 (eval "$ac_compile") 2>conftest.er1
16780 ac_status=$?
16781 grep -v '^ *+' conftest.er1 >conftest.err
16782 rm -f conftest.er1
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && {
16786 test -z "$ac_c_werror_flag" ||
16787 test ! -s conftest.err
16788 } && test -s conftest.$ac_objext; then
16789 ac_cv_type_long=yes
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16794 ac_cv_type_long=no
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16799 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16800 echo "${ECHO_T}$ac_cv_type_long" >&6; }
16802 # The cast to long int works around a bug in the HP C Compiler
16803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16805 # This bug is HP SR number 8606223364.
16806 { echo "$as_me:$LINENO: checking size of long" >&5
16807 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
16808 if test "${ac_cv_sizeof_long+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 else
16811 if test "$cross_compiling" = yes; then
16812 # Depending upon the size, compute the lo and hi bounds.
16813 cat >conftest.$ac_ext <<_ACEOF
16814 /* confdefs.h. */
16815 _ACEOF
16816 cat confdefs.h >>conftest.$ac_ext
16817 cat >>conftest.$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 $ac_includes_default
16820 typedef long ac__type_sizeof_;
16822 main ()
16824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16825 test_array [0] = 0
16828 return 0;
16830 _ACEOF
16831 rm -f conftest.$ac_objext
16832 if { (ac_try="$ac_compile"
16833 case "(($ac_try" in
16834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16836 esac
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_compile") 2>conftest.er1
16839 ac_status=$?
16840 grep -v '^ *+' conftest.er1 >conftest.err
16841 rm -f conftest.er1
16842 cat conftest.err >&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } && {
16845 test -z "$ac_c_werror_flag" ||
16846 test ! -s conftest.err
16847 } && test -s conftest.$ac_objext; then
16848 ac_lo=0 ac_mid=0
16849 while :; do
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857 typedef long ac__type_sizeof_;
16859 main ()
16861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16862 test_array [0] = 0
16865 return 0;
16867 _ACEOF
16868 rm -f conftest.$ac_objext
16869 if { (ac_try="$ac_compile"
16870 case "(($ac_try" in
16871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16872 *) ac_try_echo=$ac_try;;
16873 esac
16874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16875 (eval "$ac_compile") 2>conftest.er1
16876 ac_status=$?
16877 grep -v '^ *+' conftest.er1 >conftest.err
16878 rm -f conftest.er1
16879 cat conftest.err >&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && {
16882 test -z "$ac_c_werror_flag" ||
16883 test ! -s conftest.err
16884 } && test -s conftest.$ac_objext; then
16885 ac_hi=$ac_mid; break
16886 else
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16890 ac_lo=`expr $ac_mid + 1`
16891 if test $ac_lo -le $ac_mid; then
16892 ac_lo= ac_hi=
16893 break
16895 ac_mid=`expr 2 '*' $ac_mid + 1`
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899 done
16900 else
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16904 cat >conftest.$ac_ext <<_ACEOF
16905 /* confdefs.h. */
16906 _ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16911 typedef long ac__type_sizeof_;
16913 main ()
16915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16916 test_array [0] = 0
16919 return 0;
16921 _ACEOF
16922 rm -f conftest.$ac_objext
16923 if { (ac_try="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16930 ac_status=$?
16931 grep -v '^ *+' conftest.er1 >conftest.err
16932 rm -f conftest.er1
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_hi=-1 ac_mid=-1
16940 while :; do
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 $ac_includes_default
16948 typedef long ac__type_sizeof_;
16950 main ()
16952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16953 test_array [0] = 0
16956 return 0;
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (ac_try="$ac_compile"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_compile") 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } && {
16973 test -z "$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16975 } && test -s conftest.$ac_objext; then
16976 ac_lo=$ac_mid; break
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16981 ac_hi=`expr '(' $ac_mid ')' - 1`
16982 if test $ac_mid -le $ac_hi; then
16983 ac_lo= ac_hi=
16984 break
16986 ac_mid=`expr 2 '*' $ac_mid`
16989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16990 done
16991 else
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.$ac_ext >&5
16995 ac_lo= ac_hi=
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 # Binary search between lo and hi bounds.
17003 while test "x$ac_lo" != "x$ac_hi"; do
17004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 typedef long ac__type_sizeof_;
17014 main ()
17016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17017 test_array [0] = 0
17020 return 0;
17022 _ACEOF
17023 rm -f conftest.$ac_objext
17024 if { (ac_try="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17028 esac
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17031 ac_status=$?
17032 grep -v '^ *+' conftest.er1 >conftest.err
17033 rm -f conftest.er1
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_c_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17040 ac_hi=$ac_mid
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 ac_lo=`expr '(' $ac_mid ')' + 1`
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 done
17050 case $ac_lo in
17051 ?*) ac_cv_sizeof_long=$ac_lo;;
17052 '') if test "$ac_cv_type_long" = yes; then
17053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17054 See \`config.log' for more details." >&5
17055 echo "$as_me: error: cannot compute sizeof (long)
17056 See \`config.log' for more details." >&2;}
17057 { (exit 77); exit 77; }; }
17058 else
17059 ac_cv_sizeof_long=0
17060 fi ;;
17061 esac
17062 else
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 $ac_includes_default
17070 typedef long ac__type_sizeof_;
17071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17073 #include <stdio.h>
17074 #include <stdlib.h>
17076 main ()
17079 FILE *f = fopen ("conftest.val", "w");
17080 if (! f)
17081 return 1;
17082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17084 long int i = longval ();
17085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17086 return 1;
17087 fprintf (f, "%ld\n", i);
17089 else
17091 unsigned long int i = ulongval ();
17092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17093 return 1;
17094 fprintf (f, "%lu\n", i);
17096 return ferror (f) || fclose (f) != 0;
17099 return 0;
17101 _ACEOF
17102 rm -f conftest$ac_exeext
17103 if { (ac_try="$ac_link"
17104 case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17107 esac
17108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_link") 2>&5
17110 ac_status=$?
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17113 { (case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17116 esac
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_try") 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 ac_cv_sizeof_long=`cat conftest.val`
17123 else
17124 echo "$as_me: program exited with status $ac_status" >&5
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17128 ( exit $ac_status )
17129 if test "$ac_cv_type_long" = yes; then
17130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17131 See \`config.log' for more details." >&5
17132 echo "$as_me: error: cannot compute sizeof (long)
17133 See \`config.log' for more details." >&2;}
17134 { (exit 77); exit 77; }; }
17135 else
17136 ac_cv_sizeof_long=0
17139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17141 rm -f conftest.val
17143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17144 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
17148 cat >>confdefs.h <<_ACEOF
17149 #define SIZEOF_LONG $ac_cv_sizeof_long
17150 _ACEOF
17153 esac
17155 if test $acx_cv_header_stdint = stddef.h; then
17156 # Lacking a good header? Test size of everything and deduce all types.
17157 { echo "$as_me:$LINENO: checking for int" >&5
17158 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
17159 if test "${ac_cv_type_int+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 else
17162 cat >conftest.$ac_ext <<_ACEOF
17163 /* confdefs.h. */
17164 _ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 $ac_includes_default
17169 typedef int ac__type_new_;
17171 main ()
17173 if ((ac__type_new_ *) 0)
17174 return 0;
17175 if (sizeof (ac__type_new_))
17176 return 0;
17178 return 0;
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (ac_try="$ac_compile"
17183 case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17186 esac
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_compile") 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && {
17195 test -z "$ac_c_werror_flag" ||
17196 test ! -s conftest.err
17197 } && test -s conftest.$ac_objext; then
17198 ac_cv_type_int=yes
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 ac_cv_type_int=no
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17209 echo "${ECHO_T}$ac_cv_type_int" >&6; }
17211 # The cast to long int works around a bug in the HP C Compiler
17212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17214 # This bug is HP SR number 8606223364.
17215 { echo "$as_me:$LINENO: checking size of int" >&5
17216 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
17217 if test "${ac_cv_sizeof_int+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 else
17220 if test "$cross_compiling" = yes; then
17221 # Depending upon the size, compute the lo and hi bounds.
17222 cat >conftest.$ac_ext <<_ACEOF
17223 /* confdefs.h. */
17224 _ACEOF
17225 cat confdefs.h >>conftest.$ac_ext
17226 cat >>conftest.$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 $ac_includes_default
17229 typedef int ac__type_sizeof_;
17231 main ()
17233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17234 test_array [0] = 0
17237 return 0;
17239 _ACEOF
17240 rm -f conftest.$ac_objext
17241 if { (ac_try="$ac_compile"
17242 case "(($ac_try" in
17243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17244 *) ac_try_echo=$ac_try;;
17245 esac
17246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17247 (eval "$ac_compile") 2>conftest.er1
17248 ac_status=$?
17249 grep -v '^ *+' conftest.er1 >conftest.err
17250 rm -f conftest.er1
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } && {
17254 test -z "$ac_c_werror_flag" ||
17255 test ! -s conftest.err
17256 } && test -s conftest.$ac_objext; then
17257 ac_lo=0 ac_mid=0
17258 while :; do
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h. */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 $ac_includes_default
17266 typedef int ac__type_sizeof_;
17268 main ()
17270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17271 test_array [0] = 0
17274 return 0;
17276 _ACEOF
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_c_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.$ac_objext; then
17294 ac_hi=$ac_mid; break
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17299 ac_lo=`expr $ac_mid + 1`
17300 if test $ac_lo -le $ac_mid; then
17301 ac_lo= ac_hi=
17302 break
17304 ac_mid=`expr 2 '*' $ac_mid + 1`
17307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17308 done
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17320 typedef int ac__type_sizeof_;
17322 main ()
17324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17325 test_array [0] = 0
17328 return 0;
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17336 esac
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17339 ac_status=$?
17340 grep -v '^ *+' conftest.er1 >conftest.err
17341 rm -f conftest.er1
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 ac_hi=-1 ac_mid=-1
17349 while :; do
17350 cat >conftest.$ac_ext <<_ACEOF
17351 /* confdefs.h. */
17352 _ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17357 typedef int ac__type_sizeof_;
17359 main ()
17361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17362 test_array [0] = 0
17365 return 0;
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17373 esac
17374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17376 ac_status=$?
17377 grep -v '^ *+' conftest.er1 >conftest.err
17378 rm -f conftest.er1
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_c_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.$ac_objext; then
17385 ac_lo=$ac_mid; break
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17390 ac_hi=`expr '(' $ac_mid ')' - 1`
17391 if test $ac_mid -le $ac_hi; then
17392 ac_lo= ac_hi=
17393 break
17395 ac_mid=`expr 2 '*' $ac_mid`
17398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 done
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 ac_lo= ac_hi=
17407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411 # Binary search between lo and hi bounds.
17412 while test "x$ac_lo" != "x$ac_hi"; do
17413 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 $ac_includes_default
17421 typedef int ac__type_sizeof_;
17423 main ()
17425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17426 test_array [0] = 0
17429 return 0;
17431 _ACEOF
17432 rm -f conftest.$ac_objext
17433 if { (ac_try="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 ac_hi=$ac_mid
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 ac_lo=`expr '(' $ac_mid ')' + 1`
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 done
17459 case $ac_lo in
17460 ?*) ac_cv_sizeof_int=$ac_lo;;
17461 '') if test "$ac_cv_type_int" = yes; then
17462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17463 See \`config.log' for more details." >&5
17464 echo "$as_me: error: cannot compute sizeof (int)
17465 See \`config.log' for more details." >&2;}
17466 { (exit 77); exit 77; }; }
17467 else
17468 ac_cv_sizeof_int=0
17469 fi ;;
17470 esac
17471 else
17472 cat >conftest.$ac_ext <<_ACEOF
17473 /* confdefs.h. */
17474 _ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478 $ac_includes_default
17479 typedef int ac__type_sizeof_;
17480 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17481 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17482 #include <stdio.h>
17483 #include <stdlib.h>
17485 main ()
17488 FILE *f = fopen ("conftest.val", "w");
17489 if (! f)
17490 return 1;
17491 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17493 long int i = longval ();
17494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17495 return 1;
17496 fprintf (f, "%ld\n", i);
17498 else
17500 unsigned long int i = ulongval ();
17501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17502 return 1;
17503 fprintf (f, "%lu\n", i);
17505 return ferror (f) || fclose (f) != 0;
17508 return 0;
17510 _ACEOF
17511 rm -f conftest$ac_exeext
17512 if { (ac_try="$ac_link"
17513 case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17516 esac
17517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_link") 2>&5
17519 ac_status=$?
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17522 { (case "(($ac_try" in
17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17524 *) ac_try_echo=$ac_try;;
17525 esac
17526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17527 (eval "$ac_try") 2>&5
17528 ac_status=$?
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; }; then
17531 ac_cv_sizeof_int=`cat conftest.val`
17532 else
17533 echo "$as_me: program exited with status $ac_status" >&5
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17537 ( exit $ac_status )
17538 if test "$ac_cv_type_int" = yes; then
17539 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17540 See \`config.log' for more details." >&5
17541 echo "$as_me: error: cannot compute sizeof (int)
17542 See \`config.log' for more details." >&2;}
17543 { (exit 77); exit 77; }; }
17544 else
17545 ac_cv_sizeof_int=0
17548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17550 rm -f conftest.val
17552 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17553 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
17557 cat >>confdefs.h <<_ACEOF
17558 #define SIZEOF_INT $ac_cv_sizeof_int
17559 _ACEOF
17562 { echo "$as_me:$LINENO: checking for short" >&5
17563 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
17564 if test "${ac_cv_type_short+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 else
17567 cat >conftest.$ac_ext <<_ACEOF
17568 /* confdefs.h. */
17569 _ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 $ac_includes_default
17574 typedef short ac__type_new_;
17576 main ()
17578 if ((ac__type_new_ *) 0)
17579 return 0;
17580 if (sizeof (ac__type_new_))
17581 return 0;
17583 return 0;
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17591 esac
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17594 ac_status=$?
17595 grep -v '^ *+' conftest.er1 >conftest.err
17596 rm -f conftest.er1
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.$ac_objext; then
17603 ac_cv_type_short=yes
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17608 ac_cv_type_short=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17614 echo "${ECHO_T}$ac_cv_type_short" >&6; }
17616 # The cast to long int works around a bug in the HP C Compiler
17617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17619 # This bug is HP SR number 8606223364.
17620 { echo "$as_me:$LINENO: checking size of short" >&5
17621 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
17622 if test "${ac_cv_sizeof_short+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 if test "$cross_compiling" = yes; then
17626 # Depending upon the size, compute the lo and hi bounds.
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17634 typedef short ac__type_sizeof_;
17636 main ()
17638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17639 test_array [0] = 0
17642 return 0;
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (ac_try="$ac_compile"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_compile") 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest.$ac_objext; then
17662 ac_lo=0 ac_mid=0
17663 while :; do
17664 cat >conftest.$ac_ext <<_ACEOF
17665 /* confdefs.h. */
17666 _ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 $ac_includes_default
17671 typedef short ac__type_sizeof_;
17673 main ()
17675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17676 test_array [0] = 0
17679 return 0;
17681 _ACEOF
17682 rm -f conftest.$ac_objext
17683 if { (ac_try="$ac_compile"
17684 case "(($ac_try" in
17685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17686 *) ac_try_echo=$ac_try;;
17687 esac
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_compile") 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } && {
17696 test -z "$ac_c_werror_flag" ||
17697 test ! -s conftest.err
17698 } && test -s conftest.$ac_objext; then
17699 ac_hi=$ac_mid; break
17700 else
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 ac_lo=`expr $ac_mid + 1`
17705 if test $ac_lo -le $ac_mid; then
17706 ac_lo= ac_hi=
17707 break
17709 ac_mid=`expr 2 '*' $ac_mid + 1`
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 done
17714 else
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 $ac_includes_default
17725 typedef short ac__type_sizeof_;
17727 main ()
17729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17730 test_array [0] = 0
17733 return 0;
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_hi=-1 ac_mid=-1
17754 while :; do
17755 cat >conftest.$ac_ext <<_ACEOF
17756 /* confdefs.h. */
17757 _ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 $ac_includes_default
17762 typedef short ac__type_sizeof_;
17764 main ()
17766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17767 test_array [0] = 0
17770 return 0;
17772 _ACEOF
17773 rm -f conftest.$ac_objext
17774 if { (ac_try="$ac_compile"
17775 case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17778 esac
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_compile") 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } && {
17787 test -z "$ac_c_werror_flag" ||
17788 test ! -s conftest.err
17789 } && test -s conftest.$ac_objext; then
17790 ac_lo=$ac_mid; break
17791 else
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.$ac_ext >&5
17795 ac_hi=`expr '(' $ac_mid ')' - 1`
17796 if test $ac_mid -le $ac_hi; then
17797 ac_lo= ac_hi=
17798 break
17800 ac_mid=`expr 2 '*' $ac_mid`
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 done
17805 else
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17809 ac_lo= ac_hi=
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 # Binary search between lo and hi bounds.
17817 while test "x$ac_lo" != "x$ac_hi"; do
17818 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826 typedef short ac__type_sizeof_;
17828 main ()
17830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17831 test_array [0] = 0
17834 return 0;
17836 _ACEOF
17837 rm -f conftest.$ac_objext
17838 if { (ac_try="$ac_compile"
17839 case "(($ac_try" in
17840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17841 *) ac_try_echo=$ac_try;;
17842 esac
17843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17844 (eval "$ac_compile") 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } && {
17851 test -z "$ac_c_werror_flag" ||
17852 test ! -s conftest.err
17853 } && test -s conftest.$ac_objext; then
17854 ac_hi=$ac_mid
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 ac_lo=`expr '(' $ac_mid ')' + 1`
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 done
17864 case $ac_lo in
17865 ?*) ac_cv_sizeof_short=$ac_lo;;
17866 '') if test "$ac_cv_type_short" = yes; then
17867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
17868 See \`config.log' for more details." >&5
17869 echo "$as_me: error: cannot compute sizeof (short)
17870 See \`config.log' for more details." >&2;}
17871 { (exit 77); exit 77; }; }
17872 else
17873 ac_cv_sizeof_short=0
17874 fi ;;
17875 esac
17876 else
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 $ac_includes_default
17884 typedef short ac__type_sizeof_;
17885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17887 #include <stdio.h>
17888 #include <stdlib.h>
17890 main ()
17893 FILE *f = fopen ("conftest.val", "w");
17894 if (! f)
17895 return 1;
17896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17898 long int i = longval ();
17899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17900 return 1;
17901 fprintf (f, "%ld\n", i);
17903 else
17905 unsigned long int i = ulongval ();
17906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17907 return 1;
17908 fprintf (f, "%lu\n", i);
17910 return ferror (f) || fclose (f) != 0;
17913 return 0;
17915 _ACEOF
17916 rm -f conftest$ac_exeext
17917 if { (ac_try="$ac_link"
17918 case "(($ac_try" in
17919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17921 esac
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_link") 2>&5
17924 ac_status=$?
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17927 { (case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17930 esac
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_try") 2>&5
17933 ac_status=$?
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 ac_cv_sizeof_short=`cat conftest.val`
17937 else
17938 echo "$as_me: program exited with status $ac_status" >&5
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17942 ( exit $ac_status )
17943 if test "$ac_cv_type_short" = yes; then
17944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
17945 See \`config.log' for more details." >&5
17946 echo "$as_me: error: cannot compute sizeof (short)
17947 See \`config.log' for more details." >&2;}
17948 { (exit 77); exit 77; }; }
17949 else
17950 ac_cv_sizeof_short=0
17953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17955 rm -f conftest.val
17957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17958 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
17962 cat >>confdefs.h <<_ACEOF
17963 #define SIZEOF_SHORT $ac_cv_sizeof_short
17964 _ACEOF
17967 { echo "$as_me:$LINENO: checking for char" >&5
17968 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
17969 if test "${ac_cv_type_char+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 $ac_includes_default
17979 typedef char ac__type_new_;
17981 main ()
17983 if ((ac__type_new_ *) 0)
17984 return 0;
17985 if (sizeof (ac__type_new_))
17986 return 0;
17988 return 0;
17990 _ACEOF
17991 rm -f conftest.$ac_objext
17992 if { (ac_try="$ac_compile"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17996 esac
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_compile") 2>conftest.er1
17999 ac_status=$?
18000 grep -v '^ *+' conftest.er1 >conftest.err
18001 rm -f conftest.er1
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } && {
18005 test -z "$ac_c_werror_flag" ||
18006 test ! -s conftest.err
18007 } && test -s conftest.$ac_objext; then
18008 ac_cv_type_char=yes
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_type_char=no
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18019 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18021 # The cast to long int works around a bug in the HP C Compiler
18022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18024 # This bug is HP SR number 8606223364.
18025 { echo "$as_me:$LINENO: checking size of char" >&5
18026 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
18027 if test "${ac_cv_sizeof_char+set}" = set; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 else
18030 if test "$cross_compiling" = yes; then
18031 # Depending upon the size, compute the lo and hi bounds.
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18039 typedef char ac__type_sizeof_;
18041 main ()
18043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18044 test_array [0] = 0
18047 return 0;
18049 _ACEOF
18050 rm -f conftest.$ac_objext
18051 if { (ac_try="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18055 esac
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_c_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.$ac_objext; then
18067 ac_lo=0 ac_mid=0
18068 while :; do
18069 cat >conftest.$ac_ext <<_ACEOF
18070 /* confdefs.h. */
18071 _ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 $ac_includes_default
18076 typedef char ac__type_sizeof_;
18078 main ()
18080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18081 test_array [0] = 0
18084 return 0;
18086 _ACEOF
18087 rm -f conftest.$ac_objext
18088 if { (ac_try="$ac_compile"
18089 case "(($ac_try" in
18090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18091 *) ac_try_echo=$ac_try;;
18092 esac
18093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18094 (eval "$ac_compile") 2>conftest.er1
18095 ac_status=$?
18096 grep -v '^ *+' conftest.er1 >conftest.err
18097 rm -f conftest.er1
18098 cat conftest.err >&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } && {
18101 test -z "$ac_c_werror_flag" ||
18102 test ! -s conftest.err
18103 } && test -s conftest.$ac_objext; then
18104 ac_hi=$ac_mid; break
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18109 ac_lo=`expr $ac_mid + 1`
18110 if test $ac_lo -le $ac_mid; then
18111 ac_lo= ac_hi=
18112 break
18114 ac_mid=`expr 2 '*' $ac_mid + 1`
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18118 done
18119 else
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18123 cat >conftest.$ac_ext <<_ACEOF
18124 /* confdefs.h. */
18125 _ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 $ac_includes_default
18130 typedef char ac__type_sizeof_;
18132 main ()
18134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18135 test_array [0] = 0
18138 return 0;
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (ac_try="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18146 esac
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_c_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18158 ac_hi=-1 ac_mid=-1
18159 while :; do
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 typedef char ac__type_sizeof_;
18169 main ()
18171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18172 test_array [0] = 0
18175 return 0;
18177 _ACEOF
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18183 esac
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_lo=$ac_mid; break
18196 else
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_hi=`expr '(' $ac_mid ')' - 1`
18201 if test $ac_mid -le $ac_hi; then
18202 ac_lo= ac_hi=
18203 break
18205 ac_mid=`expr 2 '*' $ac_mid`
18208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 done
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 ac_lo= ac_hi=
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 # Binary search between lo and hi bounds.
18222 while test "x$ac_lo" != "x$ac_hi"; do
18223 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 typedef char ac__type_sizeof_;
18233 main ()
18235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18236 test_array [0] = 0
18239 return 0;
18241 _ACEOF
18242 rm -f conftest.$ac_objext
18243 if { (ac_try="$ac_compile"
18244 case "(($ac_try" in
18245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18246 *) ac_try_echo=$ac_try;;
18247 esac
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_compile") 2>conftest.er1
18250 ac_status=$?
18251 grep -v '^ *+' conftest.er1 >conftest.err
18252 rm -f conftest.er1
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && {
18256 test -z "$ac_c_werror_flag" ||
18257 test ! -s conftest.err
18258 } && test -s conftest.$ac_objext; then
18259 ac_hi=$ac_mid
18260 else
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.$ac_ext >&5
18264 ac_lo=`expr '(' $ac_mid ')' + 1`
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 done
18269 case $ac_lo in
18270 ?*) ac_cv_sizeof_char=$ac_lo;;
18271 '') if test "$ac_cv_type_char" = yes; then
18272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18273 See \`config.log' for more details." >&5
18274 echo "$as_me: error: cannot compute sizeof (char)
18275 See \`config.log' for more details." >&2;}
18276 { (exit 77); exit 77; }; }
18277 else
18278 ac_cv_sizeof_char=0
18279 fi ;;
18280 esac
18281 else
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18289 typedef char ac__type_sizeof_;
18290 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18291 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18292 #include <stdio.h>
18293 #include <stdlib.h>
18295 main ()
18298 FILE *f = fopen ("conftest.val", "w");
18299 if (! f)
18300 return 1;
18301 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18303 long int i = longval ();
18304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18305 return 1;
18306 fprintf (f, "%ld\n", i);
18308 else
18310 unsigned long int i = ulongval ();
18311 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18312 return 1;
18313 fprintf (f, "%lu\n", i);
18315 return ferror (f) || fclose (f) != 0;
18318 return 0;
18320 _ACEOF
18321 rm -f conftest$ac_exeext
18322 if { (ac_try="$ac_link"
18323 case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18326 esac
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_link") 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18332 { (case "(($ac_try" in
18333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18335 esac
18336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_try") 2>&5
18338 ac_status=$?
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_cv_sizeof_char=`cat conftest.val`
18342 else
18343 echo "$as_me: program exited with status $ac_status" >&5
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18347 ( exit $ac_status )
18348 if test "$ac_cv_type_char" = yes; then
18349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18350 See \`config.log' for more details." >&5
18351 echo "$as_me: error: cannot compute sizeof (char)
18352 See \`config.log' for more details." >&2;}
18353 { (exit 77); exit 77; }; }
18354 else
18355 ac_cv_sizeof_char=0
18358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18360 rm -f conftest.val
18362 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18363 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18367 cat >>confdefs.h <<_ACEOF
18368 #define SIZEOF_CHAR $ac_cv_sizeof_char
18369 _ACEOF
18373 { echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18374 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6; }
18375 case "$ac_cv_sizeof_char" in
18376 1) acx_cv_type_int8_t=char ;;
18377 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18378 echo "$as_me: error: no 8-bit type" >&2;}
18379 { (exit please report a bug); exit please report a bug; }; }
18380 esac
18381 { echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18382 echo "${ECHO_T}$acx_cv_type_int8_t" >&6; }
18384 { echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18385 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6; }
18386 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18387 2:*) acx_cv_type_int16_t=int ;;
18388 *:2) acx_cv_type_int16_t=short ;;
18389 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18390 echo "$as_me: error: no 16-bit type" >&2;}
18391 { (exit please report a bug); exit please report a bug; }; }
18392 esac
18393 { echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18394 echo "${ECHO_T}$acx_cv_type_int16_t" >&6; }
18396 { echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18397 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6; }
18398 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18399 4:*) acx_cv_type_int32_t=int ;;
18400 *:4) acx_cv_type_int32_t=long ;;
18401 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18402 echo "$as_me: error: no 32-bit type" >&2;}
18403 { (exit please report a bug); exit please report a bug; }; }
18404 esac
18405 { echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18406 echo "${ECHO_T}$acx_cv_type_int32_t" >&6; }
18409 # These tests are here to make the output prettier
18411 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18412 case "$ac_cv_sizeof_long" in
18413 8) acx_cv_type_int64_t=long ;;
18414 esac
18415 { echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18416 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6; }
18417 { echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18418 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
18421 # Now we can use the above types
18423 if test "$ac_cv_type_uintptr_t" != yes; then
18424 { echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18425 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6; }
18426 case $ac_cv_sizeof_void_p in
18427 2) acx_cv_type_intptr_t=int16_t ;;
18428 4) acx_cv_type_intptr_t=int32_t ;;
18429 8) acx_cv_type_intptr_t=int64_t ;;
18430 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18431 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18432 { (exit please report a bug); exit please report a bug; }; }
18433 esac
18434 { echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18435 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6; }
18438 # ----------------- done all checks, emit header -------------
18439 ac_config_commands="$ac_config_commands gstdint.h"
18444 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18445 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
18446 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18457 main ()
18459 static struct stat ac_aggr;
18460 if (ac_aggr.st_blksize)
18461 return 0;
18463 return 0;
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (ac_try="$ac_compile"
18468 case "(($ac_try" in
18469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18471 esac
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_compile") 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && {
18480 test -z "$ac_c_werror_flag" ||
18481 test ! -s conftest.err
18482 } && test -s conftest.$ac_objext; then
18483 ac_cv_member_struct_stat_st_blksize=yes
18484 else
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.$ac_ext >&5
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 $ac_includes_default
18496 main ()
18498 static struct stat ac_aggr;
18499 if (sizeof ac_aggr.st_blksize)
18500 return 0;
18502 return 0;
18504 _ACEOF
18505 rm -f conftest.$ac_objext
18506 if { (ac_try="$ac_compile"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18510 esac
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_compile") 2>conftest.er1
18513 ac_status=$?
18514 grep -v '^ *+' conftest.er1 >conftest.err
18515 rm -f conftest.er1
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_c_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest.$ac_objext; then
18522 ac_cv_member_struct_stat_st_blksize=yes
18523 else
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 ac_cv_member_struct_stat_st_blksize=no
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18536 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
18537 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18539 cat >>confdefs.h <<_ACEOF
18540 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18541 _ACEOF
18546 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18547 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
18548 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 $ac_includes_default
18559 main ()
18561 static struct stat ac_aggr;
18562 if (ac_aggr.st_blocks)
18563 return 0;
18565 return 0;
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 ac_cv_member_struct_stat_st_blocks=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18598 main ()
18600 static struct stat ac_aggr;
18601 if (sizeof ac_aggr.st_blocks)
18602 return 0;
18604 return 0;
18606 _ACEOF
18607 rm -f conftest.$ac_objext
18608 if { (ac_try="$ac_compile"
18609 case "(($ac_try" in
18610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18611 *) ac_try_echo=$ac_try;;
18612 esac
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614 (eval "$ac_compile") 2>conftest.er1
18615 ac_status=$?
18616 grep -v '^ *+' conftest.er1 >conftest.err
18617 rm -f conftest.er1
18618 cat conftest.err >&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } && {
18621 test -z "$ac_c_werror_flag" ||
18622 test ! -s conftest.err
18623 } && test -s conftest.$ac_objext; then
18624 ac_cv_member_struct_stat_st_blocks=yes
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18629 ac_cv_member_struct_stat_st_blocks=no
18632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18638 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
18639 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18641 cat >>confdefs.h <<_ACEOF
18642 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18643 _ACEOF
18648 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18649 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
18650 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 else
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18661 main ()
18663 static struct stat ac_aggr;
18664 if (ac_aggr.st_rdev)
18665 return 0;
18667 return 0;
18669 _ACEOF
18670 rm -f conftest.$ac_objext
18671 if { (ac_try="$ac_compile"
18672 case "(($ac_try" in
18673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18674 *) ac_try_echo=$ac_try;;
18675 esac
18676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18677 (eval "$ac_compile") 2>conftest.er1
18678 ac_status=$?
18679 grep -v '^ *+' conftest.er1 >conftest.err
18680 rm -f conftest.er1
18681 cat conftest.err >&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } && {
18684 test -z "$ac_c_werror_flag" ||
18685 test ! -s conftest.err
18686 } && test -s conftest.$ac_objext; then
18687 ac_cv_member_struct_stat_st_rdev=yes
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18700 main ()
18702 static struct stat ac_aggr;
18703 if (sizeof ac_aggr.st_rdev)
18704 return 0;
18706 return 0;
18708 _ACEOF
18709 rm -f conftest.$ac_objext
18710 if { (ac_try="$ac_compile"
18711 case "(($ac_try" in
18712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18713 *) ac_try_echo=$ac_try;;
18714 esac
18715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18716 (eval "$ac_compile") 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && {
18723 test -z "$ac_c_werror_flag" ||
18724 test ! -s conftest.err
18725 } && test -s conftest.$ac_objext; then
18726 ac_cv_member_struct_stat_st_rdev=yes
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18731 ac_cv_member_struct_stat_st_rdev=no
18734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18739 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18740 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
18741 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_STRUCT_STAT_ST_RDEV 1
18745 _ACEOF
18751 # Check for library functions.
18760 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768 if test x$gcc_no_link = xyes; then
18769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18771 { (exit 1); exit 1; }; }
18773 cat >conftest.$ac_ext <<_ACEOF
18774 /* confdefs.h. */
18775 _ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18781 #define $ac_func innocuous_$ac_func
18783 /* System header to define __stub macros and hopefully few prototypes,
18784 which can conflict with char $ac_func (); below.
18785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18786 <limits.h> exists even on freestanding compilers. */
18788 #ifdef __STDC__
18789 # include <limits.h>
18790 #else
18791 # include <assert.h>
18792 #endif
18794 #undef $ac_func
18796 /* Override any GCC internal prototype to avoid an error.
18797 Use char because int might match the return type of a GCC
18798 builtin and then its argument prototype would still apply. */
18799 #ifdef __cplusplus
18800 extern "C"
18801 #endif
18802 char $ac_func ();
18803 /* The GNU C library defines this for functions which it implements
18804 to always fail with ENOSYS. Some functions are actually named
18805 something starting with __ and the normal name is an alias. */
18806 #if defined __stub_$ac_func || defined __stub___$ac_func
18807 choke me
18808 #endif
18811 main ()
18813 return $ac_func ();
18815 return 0;
18817 _ACEOF
18818 rm -f conftest.$ac_objext conftest$ac_exeext
18819 if { (ac_try="$ac_link"
18820 case "(($ac_try" in
18821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18822 *) ac_try_echo=$ac_try;;
18823 esac
18824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18825 (eval "$ac_link") 2>conftest.er1
18826 ac_status=$?
18827 grep -v '^ *+' conftest.er1 >conftest.err
18828 rm -f conftest.er1
18829 cat conftest.err >&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); } && {
18832 test -z "$ac_c_werror_flag" ||
18833 test ! -s conftest.err
18834 } && test -s conftest$ac_exeext &&
18835 $as_test_x conftest$ac_exeext; then
18836 eval "$as_ac_var=yes"
18837 else
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.$ac_ext >&5
18841 eval "$as_ac_var=no"
18844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18845 conftest$ac_exeext conftest.$ac_ext
18847 ac_res=`eval echo '${'$as_ac_var'}'`
18848 { echo "$as_me:$LINENO: result: $ac_res" >&5
18849 echo "${ECHO_T}$ac_res" >&6; }
18850 if test `eval echo '${'$as_ac_var'}'` = yes; then
18851 cat >>confdefs.h <<_ACEOF
18852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18853 _ACEOF
18856 done
18866 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 else
18874 if test x$gcc_no_link = xyes; then
18875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877 { (exit 1); exit 1; }; }
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h. */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18887 #define $ac_func innocuous_$ac_func
18889 /* System header to define __stub macros and hopefully few prototypes,
18890 which can conflict with char $ac_func (); below.
18891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18892 <limits.h> exists even on freestanding compilers. */
18894 #ifdef __STDC__
18895 # include <limits.h>
18896 #else
18897 # include <assert.h>
18898 #endif
18900 #undef $ac_func
18902 /* Override any GCC internal prototype to avoid an error.
18903 Use char because int might match the return type of a GCC
18904 builtin and then its argument prototype would still apply. */
18905 #ifdef __cplusplus
18906 extern "C"
18907 #endif
18908 char $ac_func ();
18909 /* The GNU C library defines this for functions which it implements
18910 to always fail with ENOSYS. Some functions are actually named
18911 something starting with __ and the normal name is an alias. */
18912 #if defined __stub_$ac_func || defined __stub___$ac_func
18913 choke me
18914 #endif
18917 main ()
18919 return $ac_func ();
18921 return 0;
18923 _ACEOF
18924 rm -f conftest.$ac_objext conftest$ac_exeext
18925 if { (ac_try="$ac_link"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_link") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest$ac_exeext &&
18941 $as_test_x conftest$ac_exeext; then
18942 eval "$as_ac_var=yes"
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 eval "$as_ac_var=no"
18950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18951 conftest$ac_exeext conftest.$ac_ext
18953 ac_res=`eval echo '${'$as_ac_var'}'`
18954 { echo "$as_me:$LINENO: result: $ac_res" >&5
18955 echo "${ECHO_T}$ac_res" >&6; }
18956 if test `eval echo '${'$as_ac_var'}'` = yes; then
18957 cat >>confdefs.h <<_ACEOF
18958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18959 _ACEOF
18962 done
18974 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982 if test x$gcc_no_link = xyes; then
18983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18985 { (exit 1); exit 1; }; }
18987 cat >conftest.$ac_ext <<_ACEOF
18988 /* confdefs.h. */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18995 #define $ac_func innocuous_$ac_func
18997 /* System header to define __stub macros and hopefully few prototypes,
18998 which can conflict with char $ac_func (); below.
18999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19000 <limits.h> exists even on freestanding compilers. */
19002 #ifdef __STDC__
19003 # include <limits.h>
19004 #else
19005 # include <assert.h>
19006 #endif
19008 #undef $ac_func
19010 /* Override any GCC internal prototype to avoid an error.
19011 Use char because int might match the return type of a GCC
19012 builtin and then its argument prototype would still apply. */
19013 #ifdef __cplusplus
19014 extern "C"
19015 #endif
19016 char $ac_func ();
19017 /* The GNU C library defines this for functions which it implements
19018 to always fail with ENOSYS. Some functions are actually named
19019 something starting with __ and the normal name is an alias. */
19020 #if defined __stub_$ac_func || defined __stub___$ac_func
19021 choke me
19022 #endif
19025 main ()
19027 return $ac_func ();
19029 return 0;
19031 _ACEOF
19032 rm -f conftest.$ac_objext conftest$ac_exeext
19033 if { (ac_try="$ac_link"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19037 esac
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_link") 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } && {
19046 test -z "$ac_c_werror_flag" ||
19047 test ! -s conftest.err
19048 } && test -s conftest$ac_exeext &&
19049 $as_test_x conftest$ac_exeext; then
19050 eval "$as_ac_var=yes"
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19055 eval "$as_ac_var=no"
19058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19059 conftest$ac_exeext conftest.$ac_ext
19061 ac_res=`eval echo '${'$as_ac_var'}'`
19062 { echo "$as_me:$LINENO: result: $ac_res" >&5
19063 echo "${ECHO_T}$ac_res" >&6; }
19064 if test `eval echo '${'$as_ac_var'}'` = yes; then
19065 cat >>confdefs.h <<_ACEOF
19066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19067 _ACEOF
19070 done
19081 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 else
19089 if test x$gcc_no_link = xyes; then
19090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092 { (exit 1); exit 1; }; }
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19102 #define $ac_func innocuous_$ac_func
19104 /* System header to define __stub macros and hopefully few prototypes,
19105 which can conflict with char $ac_func (); below.
19106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19107 <limits.h> exists even on freestanding compilers. */
19109 #ifdef __STDC__
19110 # include <limits.h>
19111 #else
19112 # include <assert.h>
19113 #endif
19115 #undef $ac_func
19117 /* Override any GCC internal prototype to avoid an error.
19118 Use char because int might match the return type of a GCC
19119 builtin and then its argument prototype would still apply. */
19120 #ifdef __cplusplus
19121 extern "C"
19122 #endif
19123 char $ac_func ();
19124 /* The GNU C library defines this for functions which it implements
19125 to always fail with ENOSYS. Some functions are actually named
19126 something starting with __ and the normal name is an alias. */
19127 #if defined __stub_$ac_func || defined __stub___$ac_func
19128 choke me
19129 #endif
19132 main ()
19134 return $ac_func ();
19136 return 0;
19138 _ACEOF
19139 rm -f conftest.$ac_objext conftest$ac_exeext
19140 if { (ac_try="$ac_link"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19144 esac
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_link") 2>conftest.er1
19147 ac_status=$?
19148 grep -v '^ *+' conftest.er1 >conftest.err
19149 rm -f conftest.er1
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest$ac_exeext &&
19156 $as_test_x conftest$ac_exeext; then
19157 eval "$as_ac_var=yes"
19158 else
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.$ac_ext >&5
19162 eval "$as_ac_var=no"
19165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19166 conftest$ac_exeext conftest.$ac_ext
19168 ac_res=`eval echo '${'$as_ac_var'}'`
19169 { echo "$as_me:$LINENO: result: $ac_res" >&5
19170 echo "${ECHO_T}$ac_res" >&6; }
19171 if test `eval echo '${'$as_ac_var'}'` = yes; then
19172 cat >>confdefs.h <<_ACEOF
19173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19174 _ACEOF
19177 done
19187 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19194 else
19195 if test x$gcc_no_link = xyes; then
19196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19198 { (exit 1); exit 1; }; }
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19208 #define $ac_func innocuous_$ac_func
19210 /* System header to define __stub macros and hopefully few prototypes,
19211 which can conflict with char $ac_func (); below.
19212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19213 <limits.h> exists even on freestanding compilers. */
19215 #ifdef __STDC__
19216 # include <limits.h>
19217 #else
19218 # include <assert.h>
19219 #endif
19221 #undef $ac_func
19223 /* Override any GCC internal prototype to avoid an error.
19224 Use char because int might match the return type of a GCC
19225 builtin and then its argument prototype would still apply. */
19226 #ifdef __cplusplus
19227 extern "C"
19228 #endif
19229 char $ac_func ();
19230 /* The GNU C library defines this for functions which it implements
19231 to always fail with ENOSYS. Some functions are actually named
19232 something starting with __ and the normal name is an alias. */
19233 #if defined __stub_$ac_func || defined __stub___$ac_func
19234 choke me
19235 #endif
19238 main ()
19240 return $ac_func ();
19242 return 0;
19244 _ACEOF
19245 rm -f conftest.$ac_objext conftest$ac_exeext
19246 if { (ac_try="$ac_link"
19247 case "(($ac_try" in
19248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19249 *) ac_try_echo=$ac_try;;
19250 esac
19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19252 (eval "$ac_link") 2>conftest.er1
19253 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } && {
19259 test -z "$ac_c_werror_flag" ||
19260 test ! -s conftest.err
19261 } && test -s conftest$ac_exeext &&
19262 $as_test_x conftest$ac_exeext; then
19263 eval "$as_ac_var=yes"
19264 else
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.$ac_ext >&5
19268 eval "$as_ac_var=no"
19271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19272 conftest$ac_exeext conftest.$ac_ext
19274 ac_res=`eval echo '${'$as_ac_var'}'`
19275 { echo "$as_me:$LINENO: result: $ac_res" >&5
19276 echo "${ECHO_T}$ac_res" >&6; }
19277 if test `eval echo '${'$as_ac_var'}'` = yes; then
19278 cat >>confdefs.h <<_ACEOF
19279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19280 _ACEOF
19283 done
19286 # Check for glibc backtrace functions
19289 for ac_func in backtrace backtrace_symbols
19291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297 if test x$gcc_no_link = xyes; then
19298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19300 { (exit 1); exit 1; }; }
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19310 #define $ac_func innocuous_$ac_func
19312 /* System header to define __stub macros and hopefully few prototypes,
19313 which can conflict with char $ac_func (); below.
19314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19315 <limits.h> exists even on freestanding compilers. */
19317 #ifdef __STDC__
19318 # include <limits.h>
19319 #else
19320 # include <assert.h>
19321 #endif
19323 #undef $ac_func
19325 /* Override any GCC internal prototype to avoid an error.
19326 Use char because int might match the return type of a GCC
19327 builtin and then its argument prototype would still apply. */
19328 #ifdef __cplusplus
19329 extern "C"
19330 #endif
19331 char $ac_func ();
19332 /* The GNU C library defines this for functions which it implements
19333 to always fail with ENOSYS. Some functions are actually named
19334 something starting with __ and the normal name is an alias. */
19335 #if defined __stub_$ac_func || defined __stub___$ac_func
19336 choke me
19337 #endif
19340 main ()
19342 return $ac_func ();
19344 return 0;
19346 _ACEOF
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (ac_try="$ac_link"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_link") 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_c_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest$ac_exeext &&
19364 $as_test_x conftest$ac_exeext; then
19365 eval "$as_ac_var=yes"
19366 else
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19370 eval "$as_ac_var=no"
19373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19374 conftest$ac_exeext conftest.$ac_ext
19376 ac_res=`eval echo '${'$as_ac_var'}'`
19377 { echo "$as_me:$LINENO: result: $ac_res" >&5
19378 echo "${ECHO_T}$ac_res" >&6; }
19379 if test `eval echo '${'$as_ac_var'}'` = yes; then
19380 cat >>confdefs.h <<_ACEOF
19381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19382 _ACEOF
19385 done
19388 # Check for types
19389 { echo "$as_me:$LINENO: checking for intptr_t" >&5
19390 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
19391 if test "${ac_cv_type_intptr_t+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 else
19394 cat >conftest.$ac_ext <<_ACEOF
19395 /* confdefs.h. */
19396 _ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 $ac_includes_default
19401 typedef intptr_t ac__type_new_;
19403 main ()
19405 if ((ac__type_new_ *) 0)
19406 return 0;
19407 if (sizeof (ac__type_new_))
19408 return 0;
19410 return 0;
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19418 esac
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19421 ac_status=$?
19422 grep -v '^ *+' conftest.er1 >conftest.err
19423 rm -f conftest.er1
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_type_intptr_t=yes
19431 else
19432 echo "$as_me: failed program was:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19435 ac_cv_type_intptr_t=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 { echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19441 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
19442 if test $ac_cv_type_intptr_t = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_INTPTR_T 1
19446 _ACEOF
19452 # Check libc for getgid, getpid, getuid
19453 { echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19454 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6; }
19455 if test "${ac_cv_lib_c_getgid+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458 ac_check_lib_save_LIBS=$LIBS
19459 LIBS="-lc $LIBS"
19460 if test x$gcc_no_link = xyes; then
19461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19463 { (exit 1); exit 1; }; }
19465 cat >conftest.$ac_ext <<_ACEOF
19466 /* confdefs.h. */
19467 _ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19472 /* Override any GCC internal prototype to avoid an error.
19473 Use char because int might match the return type of a GCC
19474 builtin and then its argument prototype would still apply. */
19475 #ifdef __cplusplus
19476 extern "C"
19477 #endif
19478 char getgid ();
19480 main ()
19482 return getgid ();
19484 return 0;
19486 _ACEOF
19487 rm -f conftest.$ac_objext conftest$ac_exeext
19488 if { (ac_try="$ac_link"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19492 esac
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_link") 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest$ac_exeext &&
19504 $as_test_x conftest$ac_exeext; then
19505 ac_cv_lib_c_getgid=yes
19506 else
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.$ac_ext >&5
19510 ac_cv_lib_c_getgid=no
19513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19514 conftest$ac_exeext conftest.$ac_ext
19515 LIBS=$ac_check_lib_save_LIBS
19517 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19518 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6; }
19519 if test $ac_cv_lib_c_getgid = yes; then
19521 cat >>confdefs.h <<\_ACEOF
19522 #define HAVE_GETGID 1
19523 _ACEOF
19527 { echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19528 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6; }
19529 if test "${ac_cv_lib_c_getpid+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 else
19532 ac_check_lib_save_LIBS=$LIBS
19533 LIBS="-lc $LIBS"
19534 if test x$gcc_no_link = xyes; then
19535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19537 { (exit 1); exit 1; }; }
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19546 /* Override any GCC internal prototype to avoid an error.
19547 Use char because int might match the return type of a GCC
19548 builtin and then its argument prototype would still apply. */
19549 #ifdef __cplusplus
19550 extern "C"
19551 #endif
19552 char getpid ();
19554 main ()
19556 return getpid ();
19558 return 0;
19560 _ACEOF
19561 rm -f conftest.$ac_objext conftest$ac_exeext
19562 if { (ac_try="$ac_link"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_link") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest$ac_exeext &&
19578 $as_test_x conftest$ac_exeext; then
19579 ac_cv_lib_c_getpid=yes
19580 else
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.$ac_ext >&5
19584 ac_cv_lib_c_getpid=no
19587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19588 conftest$ac_exeext conftest.$ac_ext
19589 LIBS=$ac_check_lib_save_LIBS
19591 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19592 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6; }
19593 if test $ac_cv_lib_c_getpid = yes; then
19595 cat >>confdefs.h <<\_ACEOF
19596 #define HAVE_GETPID 1
19597 _ACEOF
19601 { echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19602 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6; }
19603 if test "${ac_cv_lib_c_getppid+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 else
19606 ac_check_lib_save_LIBS=$LIBS
19607 LIBS="-lc $LIBS"
19608 if test x$gcc_no_link = xyes; then
19609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19611 { (exit 1); exit 1; }; }
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19620 /* Override any GCC internal prototype to avoid an error.
19621 Use char because int might match the return type of a GCC
19622 builtin and then its argument prototype would still apply. */
19623 #ifdef __cplusplus
19624 extern "C"
19625 #endif
19626 char getppid ();
19628 main ()
19630 return getppid ();
19632 return 0;
19634 _ACEOF
19635 rm -f conftest.$ac_objext conftest$ac_exeext
19636 if { (ac_try="$ac_link"
19637 case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19640 esac
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_link") 2>conftest.er1
19643 ac_status=$?
19644 grep -v '^ *+' conftest.er1 >conftest.err
19645 rm -f conftest.er1
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest$ac_exeext &&
19652 $as_test_x conftest$ac_exeext; then
19653 ac_cv_lib_c_getppid=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_lib_c_getppid=no
19661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19662 conftest$ac_exeext conftest.$ac_ext
19663 LIBS=$ac_check_lib_save_LIBS
19665 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19666 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6; }
19667 if test $ac_cv_lib_c_getppid = yes; then
19669 cat >>confdefs.h <<\_ACEOF
19670 #define HAVE_GETPPID 1
19671 _ACEOF
19675 { echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19676 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6; }
19677 if test "${ac_cv_lib_c_getuid+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 else
19680 ac_check_lib_save_LIBS=$LIBS
19681 LIBS="-lc $LIBS"
19682 if test x$gcc_no_link = xyes; then
19683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19685 { (exit 1); exit 1; }; }
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19694 /* Override any GCC internal prototype to avoid an error.
19695 Use char because int might match the return type of a GCC
19696 builtin and then its argument prototype would still apply. */
19697 #ifdef __cplusplus
19698 extern "C"
19699 #endif
19700 char getuid ();
19702 main ()
19704 return getuid ();
19706 return 0;
19708 _ACEOF
19709 rm -f conftest.$ac_objext conftest$ac_exeext
19710 if { (ac_try="$ac_link"
19711 case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19714 esac
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_link") 2>conftest.er1
19717 ac_status=$?
19718 grep -v '^ *+' conftest.er1 >conftest.err
19719 rm -f conftest.er1
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest$ac_exeext &&
19726 $as_test_x conftest$ac_exeext; then
19727 ac_cv_lib_c_getuid=yes
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_lib_c_getuid=no
19735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19736 conftest$ac_exeext conftest.$ac_ext
19737 LIBS=$ac_check_lib_save_LIBS
19739 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19740 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6; }
19741 if test $ac_cv_lib_c_getuid = yes; then
19743 cat >>confdefs.h <<\_ACEOF
19744 #define HAVE_GETUID 1
19745 _ACEOF
19749 { echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19750 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6; }
19751 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 else
19754 ac_check_lib_save_LIBS=$LIBS
19755 LIBS="-lc $LIBS"
19756 if test x$gcc_no_link = xyes; then
19757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19759 { (exit 1); exit 1; }; }
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19768 /* Override any GCC internal prototype to avoid an error.
19769 Use char because int might match the return type of a GCC
19770 builtin and then its argument prototype would still apply. */
19771 #ifdef __cplusplus
19772 extern "C"
19773 #endif
19774 char geteuid ();
19776 main ()
19778 return geteuid ();
19780 return 0;
19782 _ACEOF
19783 rm -f conftest.$ac_objext conftest$ac_exeext
19784 if { (ac_try="$ac_link"
19785 case "(($ac_try" in
19786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19787 *) ac_try_echo=$ac_try;;
19788 esac
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_link") 2>conftest.er1
19791 ac_status=$?
19792 grep -v '^ *+' conftest.er1 >conftest.err
19793 rm -f conftest.er1
19794 cat conftest.err >&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } && {
19797 test -z "$ac_c_werror_flag" ||
19798 test ! -s conftest.err
19799 } && test -s conftest$ac_exeext &&
19800 $as_test_x conftest$ac_exeext; then
19801 ac_cv_lib_c_geteuid=yes
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19806 ac_cv_lib_c_geteuid=no
19809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19810 conftest$ac_exeext conftest.$ac_ext
19811 LIBS=$ac_check_lib_save_LIBS
19813 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19814 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6; }
19815 if test $ac_cv_lib_c_geteuid = yes; then
19817 cat >>confdefs.h <<\_ACEOF
19818 #define HAVE_GETEUID 1
19819 _ACEOF
19824 # Check for C99 (and other IEEE) math functions
19825 { echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19826 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6; }
19827 if test "${ac_cv_lib_m_acosf+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 else
19830 ac_check_lib_save_LIBS=$LIBS
19831 LIBS="-lm $LIBS"
19832 if test x$gcc_no_link = xyes; then
19833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19835 { (exit 1); exit 1; }; }
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h. */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19844 /* Override any GCC internal prototype to avoid an error.
19845 Use char because int might match the return type of a GCC
19846 builtin and then its argument prototype would still apply. */
19847 #ifdef __cplusplus
19848 extern "C"
19849 #endif
19850 char acosf ();
19852 main ()
19854 return acosf ();
19856 return 0;
19858 _ACEOF
19859 rm -f conftest.$ac_objext conftest$ac_exeext
19860 if { (ac_try="$ac_link"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19864 esac
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_link") 2>conftest.er1
19867 ac_status=$?
19868 grep -v '^ *+' conftest.er1 >conftest.err
19869 rm -f conftest.er1
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest$ac_exeext &&
19876 $as_test_x conftest$ac_exeext; then
19877 ac_cv_lib_m_acosf=yes
19878 else
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.$ac_ext >&5
19882 ac_cv_lib_m_acosf=no
19885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19886 conftest$ac_exeext conftest.$ac_ext
19887 LIBS=$ac_check_lib_save_LIBS
19889 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19890 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6; }
19891 if test $ac_cv_lib_m_acosf = yes; then
19893 cat >>confdefs.h <<\_ACEOF
19894 #define HAVE_ACOSF 1
19895 _ACEOF
19899 { echo "$as_me:$LINENO: checking for acos in -lm" >&5
19900 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6; }
19901 if test "${ac_cv_lib_m_acos+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 else
19904 ac_check_lib_save_LIBS=$LIBS
19905 LIBS="-lm $LIBS"
19906 if test x$gcc_no_link = xyes; then
19907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19909 { (exit 1); exit 1; }; }
19911 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */
19913 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19918 /* Override any GCC internal prototype to avoid an error.
19919 Use char because int might match the return type of a GCC
19920 builtin and then its argument prototype would still apply. */
19921 #ifdef __cplusplus
19922 extern "C"
19923 #endif
19924 char acos ();
19926 main ()
19928 return acos ();
19930 return 0;
19932 _ACEOF
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest$ac_exeext &&
19950 $as_test_x conftest$ac_exeext; then
19951 ac_cv_lib_m_acos=yes
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ac_cv_lib_m_acos=no
19959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19960 conftest$ac_exeext conftest.$ac_ext
19961 LIBS=$ac_check_lib_save_LIBS
19963 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19964 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6; }
19965 if test $ac_cv_lib_m_acos = yes; then
19967 cat >>confdefs.h <<\_ACEOF
19968 #define HAVE_ACOS 1
19969 _ACEOF
19973 { echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19974 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6; }
19975 if test "${ac_cv_lib_m_acosl+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 else
19978 ac_check_lib_save_LIBS=$LIBS
19979 LIBS="-lm $LIBS"
19980 if test x$gcc_no_link = xyes; then
19981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19983 { (exit 1); exit 1; }; }
19985 cat >conftest.$ac_ext <<_ACEOF
19986 /* confdefs.h. */
19987 _ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
19995 #ifdef __cplusplus
19996 extern "C"
19997 #endif
19998 char acosl ();
20000 main ()
20002 return acosl ();
20004 return 0;
20006 _ACEOF
20007 rm -f conftest.$ac_objext conftest$ac_exeext
20008 if { (ac_try="$ac_link"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_link") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest$ac_exeext &&
20024 $as_test_x conftest$ac_exeext; then
20025 ac_cv_lib_m_acosl=yes
20026 else
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20030 ac_cv_lib_m_acosl=no
20033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20034 conftest$ac_exeext conftest.$ac_ext
20035 LIBS=$ac_check_lib_save_LIBS
20037 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20038 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6; }
20039 if test $ac_cv_lib_m_acosl = yes; then
20041 cat >>confdefs.h <<\_ACEOF
20042 #define HAVE_ACOSL 1
20043 _ACEOF
20047 { echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20048 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6; }
20049 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 ac_check_lib_save_LIBS=$LIBS
20053 LIBS="-lm $LIBS"
20054 if test x$gcc_no_link = xyes; then
20055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20057 { (exit 1); exit 1; }; }
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
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. */
20069 #ifdef __cplusplus
20070 extern "C"
20071 #endif
20072 char acoshf ();
20074 main ()
20076 return acoshf ();
20078 return 0;
20080 _ACEOF
20081 rm -f conftest.$ac_objext conftest$ac_exeext
20082 if { (ac_try="$ac_link"
20083 case "(($ac_try" in
20084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20085 *) ac_try_echo=$ac_try;;
20086 esac
20087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20088 (eval "$ac_link") 2>conftest.er1
20089 ac_status=$?
20090 grep -v '^ *+' conftest.er1 >conftest.err
20091 rm -f conftest.er1
20092 cat conftest.err >&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } && {
20095 test -z "$ac_c_werror_flag" ||
20096 test ! -s conftest.err
20097 } && test -s conftest$ac_exeext &&
20098 $as_test_x conftest$ac_exeext; then
20099 ac_cv_lib_m_acoshf=yes
20100 else
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20104 ac_cv_lib_m_acoshf=no
20107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20108 conftest$ac_exeext conftest.$ac_ext
20109 LIBS=$ac_check_lib_save_LIBS
20111 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20112 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6; }
20113 if test $ac_cv_lib_m_acoshf = yes; then
20115 cat >>confdefs.h <<\_ACEOF
20116 #define HAVE_ACOSHF 1
20117 _ACEOF
20121 { echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20122 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6; }
20123 if test "${ac_cv_lib_m_acosh+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 ac_check_lib_save_LIBS=$LIBS
20127 LIBS="-lm $LIBS"
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 #ifdef __cplusplus
20144 extern "C"
20145 #endif
20146 char acosh ();
20148 main ()
20150 return acosh ();
20152 return 0;
20154 _ACEOF
20155 rm -f conftest.$ac_objext conftest$ac_exeext
20156 if { (ac_try="$ac_link"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20160 esac
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_link") 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest$ac_exeext &&
20172 $as_test_x conftest$ac_exeext; then
20173 ac_cv_lib_m_acosh=yes
20174 else
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20178 ac_cv_lib_m_acosh=no
20181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20182 conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20185 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20186 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6; }
20187 if test $ac_cv_lib_m_acosh = yes; then
20189 cat >>confdefs.h <<\_ACEOF
20190 #define HAVE_ACOSH 1
20191 _ACEOF
20195 { echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20196 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6; }
20197 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
20200 ac_check_lib_save_LIBS=$LIBS
20201 LIBS="-lm $LIBS"
20202 if test x$gcc_no_link = xyes; then
20203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20205 { (exit 1); exit 1; }; }
20207 cat >conftest.$ac_ext <<_ACEOF
20208 /* confdefs.h. */
20209 _ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20214 /* Override any GCC internal prototype to avoid an error.
20215 Use char because int might match the return type of a GCC
20216 builtin and then its argument prototype would still apply. */
20217 #ifdef __cplusplus
20218 extern "C"
20219 #endif
20220 char acoshl ();
20222 main ()
20224 return acoshl ();
20226 return 0;
20228 _ACEOF
20229 rm -f conftest.$ac_objext conftest$ac_exeext
20230 if { (ac_try="$ac_link"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20234 esac
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_link") 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest$ac_exeext &&
20246 $as_test_x conftest$ac_exeext; then
20247 ac_cv_lib_m_acoshl=yes
20248 else
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20252 ac_cv_lib_m_acoshl=no
20255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20256 conftest$ac_exeext conftest.$ac_ext
20257 LIBS=$ac_check_lib_save_LIBS
20259 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20260 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6; }
20261 if test $ac_cv_lib_m_acoshl = yes; then
20263 cat >>confdefs.h <<\_ACEOF
20264 #define HAVE_ACOSHL 1
20265 _ACEOF
20269 { echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20270 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6; }
20271 if test "${ac_cv_lib_m_asinf+set}" = set; then
20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20273 else
20274 ac_check_lib_save_LIBS=$LIBS
20275 LIBS="-lm $LIBS"
20276 if test x$gcc_no_link = xyes; then
20277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20279 { (exit 1); exit 1; }; }
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20288 /* Override any GCC internal prototype to avoid an error.
20289 Use char because int might match the return type of a GCC
20290 builtin and then its argument prototype would still apply. */
20291 #ifdef __cplusplus
20292 extern "C"
20293 #endif
20294 char asinf ();
20296 main ()
20298 return asinf ();
20300 return 0;
20302 _ACEOF
20303 rm -f conftest.$ac_objext conftest$ac_exeext
20304 if { (ac_try="$ac_link"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20308 esac
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_link") 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest$ac_exeext &&
20320 $as_test_x conftest$ac_exeext; then
20321 ac_cv_lib_m_asinf=yes
20322 else
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 ac_cv_lib_m_asinf=no
20329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20330 conftest$ac_exeext conftest.$ac_ext
20331 LIBS=$ac_check_lib_save_LIBS
20333 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20334 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6; }
20335 if test $ac_cv_lib_m_asinf = yes; then
20337 cat >>confdefs.h <<\_ACEOF
20338 #define HAVE_ASINF 1
20339 _ACEOF
20343 { echo "$as_me:$LINENO: checking for asin in -lm" >&5
20344 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6; }
20345 if test "${ac_cv_lib_m_asin+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 else
20348 ac_check_lib_save_LIBS=$LIBS
20349 LIBS="-lm $LIBS"
20350 if test x$gcc_no_link = xyes; then
20351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20353 { (exit 1); exit 1; }; }
20355 cat >conftest.$ac_ext <<_ACEOF
20356 /* confdefs.h. */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20362 /* Override any GCC internal prototype to avoid an error.
20363 Use char because int might match the return type of a GCC
20364 builtin and then its argument prototype would still apply. */
20365 #ifdef __cplusplus
20366 extern "C"
20367 #endif
20368 char asin ();
20370 main ()
20372 return asin ();
20374 return 0;
20376 _ACEOF
20377 rm -f conftest.$ac_objext conftest$ac_exeext
20378 if { (ac_try="$ac_link"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20382 esac
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_link") 2>conftest.er1
20385 ac_status=$?
20386 grep -v '^ *+' conftest.er1 >conftest.err
20387 rm -f conftest.er1
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest$ac_exeext &&
20394 $as_test_x conftest$ac_exeext; then
20395 ac_cv_lib_m_asin=yes
20396 else
20397 echo "$as_me: failed program was:" >&5
20398 sed 's/^/| /' conftest.$ac_ext >&5
20400 ac_cv_lib_m_asin=no
20403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20404 conftest$ac_exeext conftest.$ac_ext
20405 LIBS=$ac_check_lib_save_LIBS
20407 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20408 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6; }
20409 if test $ac_cv_lib_m_asin = yes; then
20411 cat >>confdefs.h <<\_ACEOF
20412 #define HAVE_ASIN 1
20413 _ACEOF
20417 { echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20418 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6; }
20419 if test "${ac_cv_lib_m_asinl+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 else
20422 ac_check_lib_save_LIBS=$LIBS
20423 LIBS="-lm $LIBS"
20424 if test x$gcc_no_link = xyes; then
20425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20427 { (exit 1); exit 1; }; }
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20436 /* Override any GCC internal prototype to avoid an error.
20437 Use char because int might match the return type of a GCC
20438 builtin and then its argument prototype would still apply. */
20439 #ifdef __cplusplus
20440 extern "C"
20441 #endif
20442 char asinl ();
20444 main ()
20446 return asinl ();
20448 return 0;
20450 _ACEOF
20451 rm -f conftest.$ac_objext conftest$ac_exeext
20452 if { (ac_try="$ac_link"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20456 esac
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_link") 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest$ac_exeext &&
20468 $as_test_x conftest$ac_exeext; then
20469 ac_cv_lib_m_asinl=yes
20470 else
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20474 ac_cv_lib_m_asinl=no
20477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20478 conftest$ac_exeext conftest.$ac_ext
20479 LIBS=$ac_check_lib_save_LIBS
20481 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20482 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6; }
20483 if test $ac_cv_lib_m_asinl = yes; then
20485 cat >>confdefs.h <<\_ACEOF
20486 #define HAVE_ASINL 1
20487 _ACEOF
20491 { echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20492 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6; }
20493 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 else
20496 ac_check_lib_save_LIBS=$LIBS
20497 LIBS="-lm $LIBS"
20498 if test x$gcc_no_link = xyes; then
20499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20501 { (exit 1); exit 1; }; }
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20510 /* Override any GCC internal prototype to avoid an error.
20511 Use char because int might match the return type of a GCC
20512 builtin and then its argument prototype would still apply. */
20513 #ifdef __cplusplus
20514 extern "C"
20515 #endif
20516 char asinhf ();
20518 main ()
20520 return asinhf ();
20522 return 0;
20524 _ACEOF
20525 rm -f conftest.$ac_objext conftest$ac_exeext
20526 if { (ac_try="$ac_link"
20527 case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20530 esac
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_link") 2>conftest.er1
20533 ac_status=$?
20534 grep -v '^ *+' conftest.er1 >conftest.err
20535 rm -f conftest.er1
20536 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && {
20539 test -z "$ac_c_werror_flag" ||
20540 test ! -s conftest.err
20541 } && test -s conftest$ac_exeext &&
20542 $as_test_x conftest$ac_exeext; then
20543 ac_cv_lib_m_asinhf=yes
20544 else
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20548 ac_cv_lib_m_asinhf=no
20551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20552 conftest$ac_exeext conftest.$ac_ext
20553 LIBS=$ac_check_lib_save_LIBS
20555 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20556 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6; }
20557 if test $ac_cv_lib_m_asinhf = yes; then
20559 cat >>confdefs.h <<\_ACEOF
20560 #define HAVE_ASINHF 1
20561 _ACEOF
20565 { echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20566 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6; }
20567 if test "${ac_cv_lib_m_asinh+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 else
20570 ac_check_lib_save_LIBS=$LIBS
20571 LIBS="-lm $LIBS"
20572 if test x$gcc_no_link = xyes; then
20573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20575 { (exit 1); exit 1; }; }
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20584 /* Override any GCC internal prototype to avoid an error.
20585 Use char because int might match the return type of a GCC
20586 builtin and then its argument prototype would still apply. */
20587 #ifdef __cplusplus
20588 extern "C"
20589 #endif
20590 char asinh ();
20592 main ()
20594 return asinh ();
20596 return 0;
20598 _ACEOF
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (ac_try="$ac_link"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20604 esac
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_link") 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest$ac_exeext &&
20616 $as_test_x conftest$ac_exeext; then
20617 ac_cv_lib_m_asinh=yes
20618 else
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20622 ac_cv_lib_m_asinh=no
20625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20626 conftest$ac_exeext conftest.$ac_ext
20627 LIBS=$ac_check_lib_save_LIBS
20629 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20630 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6; }
20631 if test $ac_cv_lib_m_asinh = yes; then
20633 cat >>confdefs.h <<\_ACEOF
20634 #define HAVE_ASINH 1
20635 _ACEOF
20639 { echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20640 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6; }
20641 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 else
20644 ac_check_lib_save_LIBS=$LIBS
20645 LIBS="-lm $LIBS"
20646 if test x$gcc_no_link = xyes; then
20647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20649 { (exit 1); exit 1; }; }
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20658 /* Override any GCC internal prototype to avoid an error.
20659 Use char because int might match the return type of a GCC
20660 builtin and then its argument prototype would still apply. */
20661 #ifdef __cplusplus
20662 extern "C"
20663 #endif
20664 char asinhl ();
20666 main ()
20668 return asinhl ();
20670 return 0;
20672 _ACEOF
20673 rm -f conftest.$ac_objext conftest$ac_exeext
20674 if { (ac_try="$ac_link"
20675 case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20678 esac
20679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20680 (eval "$ac_link") 2>conftest.er1
20681 ac_status=$?
20682 grep -v '^ *+' conftest.er1 >conftest.err
20683 rm -f conftest.er1
20684 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && {
20687 test -z "$ac_c_werror_flag" ||
20688 test ! -s conftest.err
20689 } && test -s conftest$ac_exeext &&
20690 $as_test_x conftest$ac_exeext; then
20691 ac_cv_lib_m_asinhl=yes
20692 else
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 ac_cv_lib_m_asinhl=no
20699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20700 conftest$ac_exeext conftest.$ac_ext
20701 LIBS=$ac_check_lib_save_LIBS
20703 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20704 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6; }
20705 if test $ac_cv_lib_m_asinhl = yes; then
20707 cat >>confdefs.h <<\_ACEOF
20708 #define HAVE_ASINHL 1
20709 _ACEOF
20713 { echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20714 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6; }
20715 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718 ac_check_lib_save_LIBS=$LIBS
20719 LIBS="-lm $LIBS"
20720 if test x$gcc_no_link = xyes; then
20721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20723 { (exit 1); exit 1; }; }
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20732 /* Override any GCC internal prototype to avoid an error.
20733 Use char because int might match the return type of a GCC
20734 builtin and then its argument prototype would still apply. */
20735 #ifdef __cplusplus
20736 extern "C"
20737 #endif
20738 char atan2f ();
20740 main ()
20742 return atan2f ();
20744 return 0;
20746 _ACEOF
20747 rm -f conftest.$ac_objext conftest$ac_exeext
20748 if { (ac_try="$ac_link"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_link") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest$ac_exeext &&
20764 $as_test_x conftest$ac_exeext; then
20765 ac_cv_lib_m_atan2f=yes
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20770 ac_cv_lib_m_atan2f=no
20773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20774 conftest$ac_exeext conftest.$ac_ext
20775 LIBS=$ac_check_lib_save_LIBS
20777 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20778 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6; }
20779 if test $ac_cv_lib_m_atan2f = yes; then
20781 cat >>confdefs.h <<\_ACEOF
20782 #define HAVE_ATAN2F 1
20783 _ACEOF
20787 { echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20788 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6; }
20789 if test "${ac_cv_lib_m_atan2+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 else
20792 ac_check_lib_save_LIBS=$LIBS
20793 LIBS="-lm $LIBS"
20794 if test x$gcc_no_link = xyes; then
20795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20797 { (exit 1); exit 1; }; }
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20806 /* Override any GCC internal prototype to avoid an error.
20807 Use char because int might match the return type of a GCC
20808 builtin and then its argument prototype would still apply. */
20809 #ifdef __cplusplus
20810 extern "C"
20811 #endif
20812 char atan2 ();
20814 main ()
20816 return atan2 ();
20818 return 0;
20820 _ACEOF
20821 rm -f conftest.$ac_objext conftest$ac_exeext
20822 if { (ac_try="$ac_link"
20823 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20826 esac
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_link") 2>conftest.er1
20829 ac_status=$?
20830 grep -v '^ *+' conftest.er1 >conftest.err
20831 rm -f conftest.er1
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest$ac_exeext &&
20838 $as_test_x conftest$ac_exeext; then
20839 ac_cv_lib_m_atan2=yes
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 ac_cv_lib_m_atan2=no
20847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20848 conftest$ac_exeext conftest.$ac_ext
20849 LIBS=$ac_check_lib_save_LIBS
20851 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20852 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6; }
20853 if test $ac_cv_lib_m_atan2 = yes; then
20855 cat >>confdefs.h <<\_ACEOF
20856 #define HAVE_ATAN2 1
20857 _ACEOF
20861 { echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20862 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6; }
20863 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 ac_check_lib_save_LIBS=$LIBS
20867 LIBS="-lm $LIBS"
20868 if test x$gcc_no_link = xyes; then
20869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20871 { (exit 1); exit 1; }; }
20873 cat >conftest.$ac_ext <<_ACEOF
20874 /* confdefs.h. */
20875 _ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20880 /* Override any GCC internal prototype to avoid an error.
20881 Use char because int might match the return type of a GCC
20882 builtin and then its argument prototype would still apply. */
20883 #ifdef __cplusplus
20884 extern "C"
20885 #endif
20886 char atan2l ();
20888 main ()
20890 return atan2l ();
20892 return 0;
20894 _ACEOF
20895 rm -f conftest.$ac_objext conftest$ac_exeext
20896 if { (ac_try="$ac_link"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_link") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest$ac_exeext &&
20912 $as_test_x conftest$ac_exeext; then
20913 ac_cv_lib_m_atan2l=yes
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20918 ac_cv_lib_m_atan2l=no
20921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20922 conftest$ac_exeext conftest.$ac_ext
20923 LIBS=$ac_check_lib_save_LIBS
20925 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20926 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6; }
20927 if test $ac_cv_lib_m_atan2l = yes; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_ATAN2L 1
20931 _ACEOF
20935 { echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20936 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6; }
20937 if test "${ac_cv_lib_m_atanf+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20939 else
20940 ac_check_lib_save_LIBS=$LIBS
20941 LIBS="-lm $LIBS"
20942 if test x$gcc_no_link = xyes; then
20943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20945 { (exit 1); exit 1; }; }
20947 cat >conftest.$ac_ext <<_ACEOF
20948 /* confdefs.h. */
20949 _ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20954 /* Override any GCC internal prototype to avoid an error.
20955 Use char because int might match the return type of a GCC
20956 builtin and then its argument prototype would still apply. */
20957 #ifdef __cplusplus
20958 extern "C"
20959 #endif
20960 char atanf ();
20962 main ()
20964 return atanf ();
20966 return 0;
20968 _ACEOF
20969 rm -f conftest.$ac_objext conftest$ac_exeext
20970 if { (ac_try="$ac_link"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20974 esac
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_link") 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest$ac_exeext &&
20986 $as_test_x conftest$ac_exeext; then
20987 ac_cv_lib_m_atanf=yes
20988 else
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20992 ac_cv_lib_m_atanf=no
20995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20996 conftest$ac_exeext conftest.$ac_ext
20997 LIBS=$ac_check_lib_save_LIBS
20999 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21000 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6; }
21001 if test $ac_cv_lib_m_atanf = yes; then
21003 cat >>confdefs.h <<\_ACEOF
21004 #define HAVE_ATANF 1
21005 _ACEOF
21009 { echo "$as_me:$LINENO: checking for atan in -lm" >&5
21010 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6; }
21011 if test "${ac_cv_lib_m_atan+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014 ac_check_lib_save_LIBS=$LIBS
21015 LIBS="-lm $LIBS"
21016 if test x$gcc_no_link = xyes; then
21017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21019 { (exit 1); exit 1; }; }
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h. */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21028 /* Override any GCC internal prototype to avoid an error.
21029 Use char because int might match the return type of a GCC
21030 builtin and then its argument prototype would still apply. */
21031 #ifdef __cplusplus
21032 extern "C"
21033 #endif
21034 char atan ();
21036 main ()
21038 return atan ();
21040 return 0;
21042 _ACEOF
21043 rm -f conftest.$ac_objext conftest$ac_exeext
21044 if { (ac_try="$ac_link"
21045 case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21048 esac
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_link") 2>conftest.er1
21051 ac_status=$?
21052 grep -v '^ *+' conftest.er1 >conftest.err
21053 rm -f conftest.er1
21054 cat conftest.err >&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } && {
21057 test -z "$ac_c_werror_flag" ||
21058 test ! -s conftest.err
21059 } && test -s conftest$ac_exeext &&
21060 $as_test_x conftest$ac_exeext; then
21061 ac_cv_lib_m_atan=yes
21062 else
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 ac_cv_lib_m_atan=no
21069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21070 conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21073 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21074 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6; }
21075 if test $ac_cv_lib_m_atan = yes; then
21077 cat >>confdefs.h <<\_ACEOF
21078 #define HAVE_ATAN 1
21079 _ACEOF
21083 { echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21084 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6; }
21085 if test "${ac_cv_lib_m_atanl+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21087 else
21088 ac_check_lib_save_LIBS=$LIBS
21089 LIBS="-lm $LIBS"
21090 if test x$gcc_no_link = xyes; then
21091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21093 { (exit 1); exit 1; }; }
21095 cat >conftest.$ac_ext <<_ACEOF
21096 /* confdefs.h. */
21097 _ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21102 /* Override any GCC internal prototype to avoid an error.
21103 Use char because int might match the return type of a GCC
21104 builtin and then its argument prototype would still apply. */
21105 #ifdef __cplusplus
21106 extern "C"
21107 #endif
21108 char atanl ();
21110 main ()
21112 return atanl ();
21114 return 0;
21116 _ACEOF
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (ac_try="$ac_link"
21119 case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21122 esac
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_link") 2>conftest.er1
21125 ac_status=$?
21126 grep -v '^ *+' conftest.er1 >conftest.err
21127 rm -f conftest.er1
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest$ac_exeext &&
21134 $as_test_x conftest$ac_exeext; then
21135 ac_cv_lib_m_atanl=yes
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21140 ac_cv_lib_m_atanl=no
21143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21144 conftest$ac_exeext conftest.$ac_ext
21145 LIBS=$ac_check_lib_save_LIBS
21147 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21148 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6; }
21149 if test $ac_cv_lib_m_atanl = yes; then
21151 cat >>confdefs.h <<\_ACEOF
21152 #define HAVE_ATANL 1
21153 _ACEOF
21157 { echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21158 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6; }
21159 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21160 echo $ECHO_N "(cached) $ECHO_C" >&6
21161 else
21162 ac_check_lib_save_LIBS=$LIBS
21163 LIBS="-lm $LIBS"
21164 if test x$gcc_no_link = xyes; then
21165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21167 { (exit 1); exit 1; }; }
21169 cat >conftest.$ac_ext <<_ACEOF
21170 /* confdefs.h. */
21171 _ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21176 /* Override any GCC internal prototype to avoid an error.
21177 Use char because int might match the return type of a GCC
21178 builtin and then its argument prototype would still apply. */
21179 #ifdef __cplusplus
21180 extern "C"
21181 #endif
21182 char atanhf ();
21184 main ()
21186 return atanhf ();
21188 return 0;
21190 _ACEOF
21191 rm -f conftest.$ac_objext conftest$ac_exeext
21192 if { (ac_try="$ac_link"
21193 case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21196 esac
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_link") 2>conftest.er1
21199 ac_status=$?
21200 grep -v '^ *+' conftest.er1 >conftest.err
21201 rm -f conftest.er1
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } && {
21205 test -z "$ac_c_werror_flag" ||
21206 test ! -s conftest.err
21207 } && test -s conftest$ac_exeext &&
21208 $as_test_x conftest$ac_exeext; then
21209 ac_cv_lib_m_atanhf=yes
21210 else
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21214 ac_cv_lib_m_atanhf=no
21217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21218 conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21221 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21222 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6; }
21223 if test $ac_cv_lib_m_atanhf = yes; then
21225 cat >>confdefs.h <<\_ACEOF
21226 #define HAVE_ATANHF 1
21227 _ACEOF
21231 { echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21232 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6; }
21233 if test "${ac_cv_lib_m_atanh+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 else
21236 ac_check_lib_save_LIBS=$LIBS
21237 LIBS="-lm $LIBS"
21238 if test x$gcc_no_link = xyes; then
21239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21241 { (exit 1); exit 1; }; }
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 /* Override any GCC internal prototype to avoid an error.
21251 Use char because int might match the return type of a GCC
21252 builtin and then its argument prototype would still apply. */
21253 #ifdef __cplusplus
21254 extern "C"
21255 #endif
21256 char atanh ();
21258 main ()
21260 return atanh ();
21262 return 0;
21264 _ACEOF
21265 rm -f conftest.$ac_objext conftest$ac_exeext
21266 if { (ac_try="$ac_link"
21267 case "(($ac_try" in
21268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21270 esac
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_link") 2>conftest.er1
21273 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 } && test -s conftest$ac_exeext &&
21282 $as_test_x conftest$ac_exeext; then
21283 ac_cv_lib_m_atanh=yes
21284 else
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21288 ac_cv_lib_m_atanh=no
21291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21292 conftest$ac_exeext conftest.$ac_ext
21293 LIBS=$ac_check_lib_save_LIBS
21295 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21296 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6; }
21297 if test $ac_cv_lib_m_atanh = yes; then
21299 cat >>confdefs.h <<\_ACEOF
21300 #define HAVE_ATANH 1
21301 _ACEOF
21305 { echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21306 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6; }
21307 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 else
21310 ac_check_lib_save_LIBS=$LIBS
21311 LIBS="-lm $LIBS"
21312 if test x$gcc_no_link = xyes; then
21313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21315 { (exit 1); exit 1; }; }
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21324 /* Override any GCC internal prototype to avoid an error.
21325 Use char because int might match the return type of a GCC
21326 builtin and then its argument prototype would still apply. */
21327 #ifdef __cplusplus
21328 extern "C"
21329 #endif
21330 char atanhl ();
21332 main ()
21334 return atanhl ();
21336 return 0;
21338 _ACEOF
21339 rm -f conftest.$ac_objext conftest$ac_exeext
21340 if { (ac_try="$ac_link"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21344 esac
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_link") 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest$ac_exeext &&
21356 $as_test_x conftest$ac_exeext; then
21357 ac_cv_lib_m_atanhl=yes
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 ac_cv_lib_m_atanhl=no
21365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21366 conftest$ac_exeext conftest.$ac_ext
21367 LIBS=$ac_check_lib_save_LIBS
21369 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21370 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6; }
21371 if test $ac_cv_lib_m_atanhl = yes; then
21373 cat >>confdefs.h <<\_ACEOF
21374 #define HAVE_ATANHL 1
21375 _ACEOF
21379 { echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21380 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6; }
21381 if test "${ac_cv_lib_m_cargf+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 else
21384 ac_check_lib_save_LIBS=$LIBS
21385 LIBS="-lm $LIBS"
21386 if test x$gcc_no_link = xyes; then
21387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21389 { (exit 1); exit 1; }; }
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21398 /* Override any GCC internal prototype to avoid an error.
21399 Use char because int might match the return type of a GCC
21400 builtin and then its argument prototype would still apply. */
21401 #ifdef __cplusplus
21402 extern "C"
21403 #endif
21404 char cargf ();
21406 main ()
21408 return cargf ();
21410 return 0;
21412 _ACEOF
21413 rm -f conftest.$ac_objext conftest$ac_exeext
21414 if { (ac_try="$ac_link"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21418 esac
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_link") 2>conftest.er1
21421 ac_status=$?
21422 grep -v '^ *+' conftest.er1 >conftest.err
21423 rm -f conftest.er1
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest$ac_exeext &&
21430 $as_test_x conftest$ac_exeext; then
21431 ac_cv_lib_m_cargf=yes
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21436 ac_cv_lib_m_cargf=no
21439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21440 conftest$ac_exeext conftest.$ac_ext
21441 LIBS=$ac_check_lib_save_LIBS
21443 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21444 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6; }
21445 if test $ac_cv_lib_m_cargf = yes; then
21447 cat >>confdefs.h <<\_ACEOF
21448 #define HAVE_CARGF 1
21449 _ACEOF
21453 { echo "$as_me:$LINENO: checking for carg in -lm" >&5
21454 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6; }
21455 if test "${ac_cv_lib_m_carg+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 else
21458 ac_check_lib_save_LIBS=$LIBS
21459 LIBS="-lm $LIBS"
21460 if test x$gcc_no_link = xyes; then
21461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21463 { (exit 1); exit 1; }; }
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21472 /* Override any GCC internal prototype to avoid an error.
21473 Use char because int might match the return type of a GCC
21474 builtin and then its argument prototype would still apply. */
21475 #ifdef __cplusplus
21476 extern "C"
21477 #endif
21478 char carg ();
21480 main ()
21482 return carg ();
21484 return 0;
21486 _ACEOF
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (ac_try="$ac_link"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 *) ac_try_echo=$ac_try;;
21492 esac
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_link") 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } && {
21501 test -z "$ac_c_werror_flag" ||
21502 test ! -s conftest.err
21503 } && test -s conftest$ac_exeext &&
21504 $as_test_x conftest$ac_exeext; then
21505 ac_cv_lib_m_carg=yes
21506 else
21507 echo "$as_me: failed program was:" >&5
21508 sed 's/^/| /' conftest.$ac_ext >&5
21510 ac_cv_lib_m_carg=no
21513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21514 conftest$ac_exeext conftest.$ac_ext
21515 LIBS=$ac_check_lib_save_LIBS
21517 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21518 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6; }
21519 if test $ac_cv_lib_m_carg = yes; then
21521 cat >>confdefs.h <<\_ACEOF
21522 #define HAVE_CARG 1
21523 _ACEOF
21527 { echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21528 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6; }
21529 if test "${ac_cv_lib_m_cargl+set}" = set; then
21530 echo $ECHO_N "(cached) $ECHO_C" >&6
21531 else
21532 ac_check_lib_save_LIBS=$LIBS
21533 LIBS="-lm $LIBS"
21534 if test x$gcc_no_link = xyes; then
21535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21537 { (exit 1); exit 1; }; }
21539 cat >conftest.$ac_ext <<_ACEOF
21540 /* confdefs.h. */
21541 _ACEOF
21542 cat confdefs.h >>conftest.$ac_ext
21543 cat >>conftest.$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21546 /* Override any GCC internal prototype to avoid an error.
21547 Use char because int might match the return type of a GCC
21548 builtin and then its argument prototype would still apply. */
21549 #ifdef __cplusplus
21550 extern "C"
21551 #endif
21552 char cargl ();
21554 main ()
21556 return cargl ();
21558 return 0;
21560 _ACEOF
21561 rm -f conftest.$ac_objext conftest$ac_exeext
21562 if { (ac_try="$ac_link"
21563 case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_link") 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } && {
21575 test -z "$ac_c_werror_flag" ||
21576 test ! -s conftest.err
21577 } && test -s conftest$ac_exeext &&
21578 $as_test_x conftest$ac_exeext; then
21579 ac_cv_lib_m_cargl=yes
21580 else
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21584 ac_cv_lib_m_cargl=no
21587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21588 conftest$ac_exeext conftest.$ac_ext
21589 LIBS=$ac_check_lib_save_LIBS
21591 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21592 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6; }
21593 if test $ac_cv_lib_m_cargl = yes; then
21595 cat >>confdefs.h <<\_ACEOF
21596 #define HAVE_CARGL 1
21597 _ACEOF
21601 { echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21602 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6; }
21603 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21604 echo $ECHO_N "(cached) $ECHO_C" >&6
21605 else
21606 ac_check_lib_save_LIBS=$LIBS
21607 LIBS="-lm $LIBS"
21608 if test x$gcc_no_link = xyes; then
21609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21611 { (exit 1); exit 1; }; }
21613 cat >conftest.$ac_ext <<_ACEOF
21614 /* confdefs.h. */
21615 _ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21620 /* Override any GCC internal prototype to avoid an error.
21621 Use char because int might match the return type of a GCC
21622 builtin and then its argument prototype would still apply. */
21623 #ifdef __cplusplus
21624 extern "C"
21625 #endif
21626 char ceilf ();
21628 main ()
21630 return ceilf ();
21632 return 0;
21634 _ACEOF
21635 rm -f conftest.$ac_objext conftest$ac_exeext
21636 if { (ac_try="$ac_link"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21640 esac
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_link") 2>conftest.er1
21643 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest$ac_exeext &&
21652 $as_test_x conftest$ac_exeext; then
21653 ac_cv_lib_m_ceilf=yes
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21658 ac_cv_lib_m_ceilf=no
21661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21662 conftest$ac_exeext conftest.$ac_ext
21663 LIBS=$ac_check_lib_save_LIBS
21665 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21666 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6; }
21667 if test $ac_cv_lib_m_ceilf = yes; then
21669 cat >>confdefs.h <<\_ACEOF
21670 #define HAVE_CEILF 1
21671 _ACEOF
21675 { echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21676 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
21677 if test "${ac_cv_lib_m_ceil+set}" = set; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 else
21680 ac_check_lib_save_LIBS=$LIBS
21681 LIBS="-lm $LIBS"
21682 if test x$gcc_no_link = xyes; then
21683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21685 { (exit 1); exit 1; }; }
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21694 /* Override any GCC internal prototype to avoid an error.
21695 Use char because int might match the return type of a GCC
21696 builtin and then its argument prototype would still apply. */
21697 #ifdef __cplusplus
21698 extern "C"
21699 #endif
21700 char ceil ();
21702 main ()
21704 return ceil ();
21706 return 0;
21708 _ACEOF
21709 rm -f conftest.$ac_objext conftest$ac_exeext
21710 if { (ac_try="$ac_link"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21714 esac
21715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21716 (eval "$ac_link") 2>conftest.er1
21717 ac_status=$?
21718 grep -v '^ *+' conftest.er1 >conftest.err
21719 rm -f conftest.er1
21720 cat conftest.err >&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } && {
21723 test -z "$ac_c_werror_flag" ||
21724 test ! -s conftest.err
21725 } && test -s conftest$ac_exeext &&
21726 $as_test_x conftest$ac_exeext; then
21727 ac_cv_lib_m_ceil=yes
21728 else
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21732 ac_cv_lib_m_ceil=no
21735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21736 conftest$ac_exeext conftest.$ac_ext
21737 LIBS=$ac_check_lib_save_LIBS
21739 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21740 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
21741 if test $ac_cv_lib_m_ceil = yes; then
21743 cat >>confdefs.h <<\_ACEOF
21744 #define HAVE_CEIL 1
21745 _ACEOF
21749 { echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21750 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6; }
21751 if test "${ac_cv_lib_m_ceill+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 ac_check_lib_save_LIBS=$LIBS
21755 LIBS="-lm $LIBS"
21756 if test x$gcc_no_link = xyes; then
21757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21759 { (exit 1); exit 1; }; }
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21768 /* Override any GCC internal prototype to avoid an error.
21769 Use char because int might match the return type of a GCC
21770 builtin and then its argument prototype would still apply. */
21771 #ifdef __cplusplus
21772 extern "C"
21773 #endif
21774 char ceill ();
21776 main ()
21778 return ceill ();
21780 return 0;
21782 _ACEOF
21783 rm -f conftest.$ac_objext conftest$ac_exeext
21784 if { (ac_try="$ac_link"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21788 esac
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_link") 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest$ac_exeext &&
21800 $as_test_x conftest$ac_exeext; then
21801 ac_cv_lib_m_ceill=yes
21802 else
21803 echo "$as_me: failed program was:" >&5
21804 sed 's/^/| /' conftest.$ac_ext >&5
21806 ac_cv_lib_m_ceill=no
21809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21810 conftest$ac_exeext conftest.$ac_ext
21811 LIBS=$ac_check_lib_save_LIBS
21813 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21814 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6; }
21815 if test $ac_cv_lib_m_ceill = yes; then
21817 cat >>confdefs.h <<\_ACEOF
21818 #define HAVE_CEILL 1
21819 _ACEOF
21823 { echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21824 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6; }
21825 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21827 else
21828 ac_check_lib_save_LIBS=$LIBS
21829 LIBS="-lm $LIBS"
21830 if test x$gcc_no_link = xyes; then
21831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21833 { (exit 1); exit 1; }; }
21835 cat >conftest.$ac_ext <<_ACEOF
21836 /* confdefs.h. */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21842 /* Override any GCC internal prototype to avoid an error.
21843 Use char because int might match the return type of a GCC
21844 builtin and then its argument prototype would still apply. */
21845 #ifdef __cplusplus
21846 extern "C"
21847 #endif
21848 char copysignf ();
21850 main ()
21852 return copysignf ();
21854 return 0;
21856 _ACEOF
21857 rm -f conftest.$ac_objext conftest$ac_exeext
21858 if { (ac_try="$ac_link"
21859 case "(($ac_try" in
21860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21861 *) ac_try_echo=$ac_try;;
21862 esac
21863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 (eval "$ac_link") 2>conftest.er1
21865 ac_status=$?
21866 grep -v '^ *+' conftest.er1 >conftest.err
21867 rm -f conftest.er1
21868 cat conftest.err >&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } && {
21871 test -z "$ac_c_werror_flag" ||
21872 test ! -s conftest.err
21873 } && test -s conftest$ac_exeext &&
21874 $as_test_x conftest$ac_exeext; then
21875 ac_cv_lib_m_copysignf=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ac_cv_lib_m_copysignf=no
21883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21884 conftest$ac_exeext conftest.$ac_ext
21885 LIBS=$ac_check_lib_save_LIBS
21887 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21888 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6; }
21889 if test $ac_cv_lib_m_copysignf = yes; then
21891 cat >>confdefs.h <<\_ACEOF
21892 #define HAVE_COPYSIGNF 1
21893 _ACEOF
21897 { echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21898 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6; }
21899 if test "${ac_cv_lib_m_copysign+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21901 else
21902 ac_check_lib_save_LIBS=$LIBS
21903 LIBS="-lm $LIBS"
21904 if test x$gcc_no_link = xyes; then
21905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21907 { (exit 1); exit 1; }; }
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21916 /* Override any GCC internal prototype to avoid an error.
21917 Use char because int might match the return type of a GCC
21918 builtin and then its argument prototype would still apply. */
21919 #ifdef __cplusplus
21920 extern "C"
21921 #endif
21922 char copysign ();
21924 main ()
21926 return copysign ();
21928 return 0;
21930 _ACEOF
21931 rm -f conftest.$ac_objext conftest$ac_exeext
21932 if { (ac_try="$ac_link"
21933 case "(($ac_try" in
21934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21935 *) ac_try_echo=$ac_try;;
21936 esac
21937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_link") 2>conftest.er1
21939 ac_status=$?
21940 grep -v '^ *+' conftest.er1 >conftest.err
21941 rm -f conftest.er1
21942 cat conftest.err >&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } && {
21945 test -z "$ac_c_werror_flag" ||
21946 test ! -s conftest.err
21947 } && test -s conftest$ac_exeext &&
21948 $as_test_x conftest$ac_exeext; then
21949 ac_cv_lib_m_copysign=yes
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21954 ac_cv_lib_m_copysign=no
21957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21958 conftest$ac_exeext conftest.$ac_ext
21959 LIBS=$ac_check_lib_save_LIBS
21961 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21962 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6; }
21963 if test $ac_cv_lib_m_copysign = yes; then
21965 cat >>confdefs.h <<\_ACEOF
21966 #define HAVE_COPYSIGN 1
21967 _ACEOF
21971 { echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21972 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6; }
21973 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21974 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 else
21976 ac_check_lib_save_LIBS=$LIBS
21977 LIBS="-lm $LIBS"
21978 if test x$gcc_no_link = xyes; then
21979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21981 { (exit 1); exit 1; }; }
21983 cat >conftest.$ac_ext <<_ACEOF
21984 /* confdefs.h. */
21985 _ACEOF
21986 cat confdefs.h >>conftest.$ac_ext
21987 cat >>conftest.$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21990 /* Override any GCC internal prototype to avoid an error.
21991 Use char because int might match the return type of a GCC
21992 builtin and then its argument prototype would still apply. */
21993 #ifdef __cplusplus
21994 extern "C"
21995 #endif
21996 char copysignl ();
21998 main ()
22000 return copysignl ();
22002 return 0;
22004 _ACEOF
22005 rm -f conftest.$ac_objext conftest$ac_exeext
22006 if { (ac_try="$ac_link"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22010 esac
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_link") 2>conftest.er1
22013 ac_status=$?
22014 grep -v '^ *+' conftest.er1 >conftest.err
22015 rm -f conftest.er1
22016 cat conftest.err >&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } && {
22019 test -z "$ac_c_werror_flag" ||
22020 test ! -s conftest.err
22021 } && test -s conftest$ac_exeext &&
22022 $as_test_x conftest$ac_exeext; then
22023 ac_cv_lib_m_copysignl=yes
22024 else
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22028 ac_cv_lib_m_copysignl=no
22031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22032 conftest$ac_exeext conftest.$ac_ext
22033 LIBS=$ac_check_lib_save_LIBS
22035 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22036 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6; }
22037 if test $ac_cv_lib_m_copysignl = yes; then
22039 cat >>confdefs.h <<\_ACEOF
22040 #define HAVE_COPYSIGNL 1
22041 _ACEOF
22045 { echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22046 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6; }
22047 if test "${ac_cv_lib_m_cosf+set}" = set; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 else
22050 ac_check_lib_save_LIBS=$LIBS
22051 LIBS="-lm $LIBS"
22052 if test x$gcc_no_link = xyes; then
22053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22055 { (exit 1); exit 1; }; }
22057 cat >conftest.$ac_ext <<_ACEOF
22058 /* confdefs.h. */
22059 _ACEOF
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22064 /* Override any GCC internal prototype to avoid an error.
22065 Use char because int might match the return type of a GCC
22066 builtin and then its argument prototype would still apply. */
22067 #ifdef __cplusplus
22068 extern "C"
22069 #endif
22070 char cosf ();
22072 main ()
22074 return cosf ();
22076 return 0;
22078 _ACEOF
22079 rm -f conftest.$ac_objext conftest$ac_exeext
22080 if { (ac_try="$ac_link"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22084 esac
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_link") 2>conftest.er1
22087 ac_status=$?
22088 grep -v '^ *+' conftest.er1 >conftest.err
22089 rm -f conftest.er1
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest$ac_exeext &&
22096 $as_test_x conftest$ac_exeext; then
22097 ac_cv_lib_m_cosf=yes
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22102 ac_cv_lib_m_cosf=no
22105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22106 conftest$ac_exeext conftest.$ac_ext
22107 LIBS=$ac_check_lib_save_LIBS
22109 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22110 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6; }
22111 if test $ac_cv_lib_m_cosf = yes; then
22113 cat >>confdefs.h <<\_ACEOF
22114 #define HAVE_COSF 1
22115 _ACEOF
22119 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
22120 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
22121 if test "${ac_cv_lib_m_cos+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22123 else
22124 ac_check_lib_save_LIBS=$LIBS
22125 LIBS="-lm $LIBS"
22126 if test x$gcc_no_link = xyes; then
22127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22129 { (exit 1); exit 1; }; }
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22138 /* Override any GCC internal prototype to avoid an error.
22139 Use char because int might match the return type of a GCC
22140 builtin and then its argument prototype would still apply. */
22141 #ifdef __cplusplus
22142 extern "C"
22143 #endif
22144 char cos ();
22146 main ()
22148 return cos ();
22150 return 0;
22152 _ACEOF
22153 rm -f conftest.$ac_objext conftest$ac_exeext
22154 if { (ac_try="$ac_link"
22155 case "(($ac_try" in
22156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22157 *) ac_try_echo=$ac_try;;
22158 esac
22159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22160 (eval "$ac_link") 2>conftest.er1
22161 ac_status=$?
22162 grep -v '^ *+' conftest.er1 >conftest.err
22163 rm -f conftest.er1
22164 cat conftest.err >&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } && {
22167 test -z "$ac_c_werror_flag" ||
22168 test ! -s conftest.err
22169 } && test -s conftest$ac_exeext &&
22170 $as_test_x conftest$ac_exeext; then
22171 ac_cv_lib_m_cos=yes
22172 else
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22176 ac_cv_lib_m_cos=no
22179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22180 conftest$ac_exeext conftest.$ac_ext
22181 LIBS=$ac_check_lib_save_LIBS
22183 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22184 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
22185 if test $ac_cv_lib_m_cos = yes; then
22187 cat >>confdefs.h <<\_ACEOF
22188 #define HAVE_COS 1
22189 _ACEOF
22193 { echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22194 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6; }
22195 if test "${ac_cv_lib_m_cosl+set}" = set; then
22196 echo $ECHO_N "(cached) $ECHO_C" >&6
22197 else
22198 ac_check_lib_save_LIBS=$LIBS
22199 LIBS="-lm $LIBS"
22200 if test x$gcc_no_link = xyes; then
22201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22203 { (exit 1); exit 1; }; }
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22212 /* Override any GCC internal prototype to avoid an error.
22213 Use char because int might match the return type of a GCC
22214 builtin and then its argument prototype would still apply. */
22215 #ifdef __cplusplus
22216 extern "C"
22217 #endif
22218 char cosl ();
22220 main ()
22222 return cosl ();
22224 return 0;
22226 _ACEOF
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (ac_try="$ac_link"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_link") 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest$ac_exeext &&
22244 $as_test_x conftest$ac_exeext; then
22245 ac_cv_lib_m_cosl=yes
22246 else
22247 echo "$as_me: failed program was:" >&5
22248 sed 's/^/| /' conftest.$ac_ext >&5
22250 ac_cv_lib_m_cosl=no
22253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22254 conftest$ac_exeext conftest.$ac_ext
22255 LIBS=$ac_check_lib_save_LIBS
22257 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22258 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6; }
22259 if test $ac_cv_lib_m_cosl = yes; then
22261 cat >>confdefs.h <<\_ACEOF
22262 #define HAVE_COSL 1
22263 _ACEOF
22267 { echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22268 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6; }
22269 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 else
22272 ac_check_lib_save_LIBS=$LIBS
22273 LIBS="-lm $LIBS"
22274 if test x$gcc_no_link = xyes; then
22275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22277 { (exit 1); exit 1; }; }
22279 cat >conftest.$ac_ext <<_ACEOF
22280 /* confdefs.h. */
22281 _ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22286 /* Override any GCC internal prototype to avoid an error.
22287 Use char because int might match the return type of a GCC
22288 builtin and then its argument prototype would still apply. */
22289 #ifdef __cplusplus
22290 extern "C"
22291 #endif
22292 char ccosf ();
22294 main ()
22296 return ccosf ();
22298 return 0;
22300 _ACEOF
22301 rm -f conftest.$ac_objext conftest$ac_exeext
22302 if { (ac_try="$ac_link"
22303 case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22306 esac
22307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_link") 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } && {
22315 test -z "$ac_c_werror_flag" ||
22316 test ! -s conftest.err
22317 } && test -s conftest$ac_exeext &&
22318 $as_test_x conftest$ac_exeext; then
22319 ac_cv_lib_m_ccosf=yes
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22324 ac_cv_lib_m_ccosf=no
22327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22328 conftest$ac_exeext conftest.$ac_ext
22329 LIBS=$ac_check_lib_save_LIBS
22331 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22332 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6; }
22333 if test $ac_cv_lib_m_ccosf = yes; then
22335 cat >>confdefs.h <<\_ACEOF
22336 #define HAVE_CCOSF 1
22337 _ACEOF
22341 { echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22342 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6; }
22343 if test "${ac_cv_lib_m_ccos+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 else
22346 ac_check_lib_save_LIBS=$LIBS
22347 LIBS="-lm $LIBS"
22348 if test x$gcc_no_link = xyes; then
22349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22351 { (exit 1); exit 1; }; }
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22360 /* Override any GCC internal prototype to avoid an error.
22361 Use char because int might match the return type of a GCC
22362 builtin and then its argument prototype would still apply. */
22363 #ifdef __cplusplus
22364 extern "C"
22365 #endif
22366 char ccos ();
22368 main ()
22370 return ccos ();
22372 return 0;
22374 _ACEOF
22375 rm -f conftest.$ac_objext conftest$ac_exeext
22376 if { (ac_try="$ac_link"
22377 case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_link") 2>conftest.er1
22383 ac_status=$?
22384 grep -v '^ *+' conftest.er1 >conftest.err
22385 rm -f conftest.er1
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && {
22389 test -z "$ac_c_werror_flag" ||
22390 test ! -s conftest.err
22391 } && test -s conftest$ac_exeext &&
22392 $as_test_x conftest$ac_exeext; then
22393 ac_cv_lib_m_ccos=yes
22394 else
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.$ac_ext >&5
22398 ac_cv_lib_m_ccos=no
22401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22402 conftest$ac_exeext conftest.$ac_ext
22403 LIBS=$ac_check_lib_save_LIBS
22405 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22406 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6; }
22407 if test $ac_cv_lib_m_ccos = yes; then
22409 cat >>confdefs.h <<\_ACEOF
22410 #define HAVE_CCOS 1
22411 _ACEOF
22415 { echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22416 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6; }
22417 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22419 else
22420 ac_check_lib_save_LIBS=$LIBS
22421 LIBS="-lm $LIBS"
22422 if test x$gcc_no_link = xyes; then
22423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22425 { (exit 1); exit 1; }; }
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22434 /* Override any GCC internal prototype to avoid an error.
22435 Use char because int might match the return type of a GCC
22436 builtin and then its argument prototype would still apply. */
22437 #ifdef __cplusplus
22438 extern "C"
22439 #endif
22440 char ccosl ();
22442 main ()
22444 return ccosl ();
22446 return 0;
22448 _ACEOF
22449 rm -f conftest.$ac_objext conftest$ac_exeext
22450 if { (ac_try="$ac_link"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22454 esac
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_link") 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest$ac_exeext &&
22466 $as_test_x conftest$ac_exeext; then
22467 ac_cv_lib_m_ccosl=yes
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22472 ac_cv_lib_m_ccosl=no
22475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22476 conftest$ac_exeext conftest.$ac_ext
22477 LIBS=$ac_check_lib_save_LIBS
22479 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22480 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6; }
22481 if test $ac_cv_lib_m_ccosl = yes; then
22483 cat >>confdefs.h <<\_ACEOF
22484 #define HAVE_CCOSL 1
22485 _ACEOF
22489 { echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22490 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6; }
22491 if test "${ac_cv_lib_m_coshf+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 else
22494 ac_check_lib_save_LIBS=$LIBS
22495 LIBS="-lm $LIBS"
22496 if test x$gcc_no_link = xyes; then
22497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22499 { (exit 1); exit 1; }; }
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 /* Override any GCC internal prototype to avoid an error.
22509 Use char because int might match the return type of a GCC
22510 builtin and then its argument prototype would still apply. */
22511 #ifdef __cplusplus
22512 extern "C"
22513 #endif
22514 char coshf ();
22516 main ()
22518 return coshf ();
22520 return 0;
22522 _ACEOF
22523 rm -f conftest.$ac_objext conftest$ac_exeext
22524 if { (ac_try="$ac_link"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22528 esac
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_link") 2>conftest.er1
22531 ac_status=$?
22532 grep -v '^ *+' conftest.er1 >conftest.err
22533 rm -f conftest.er1
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && {
22537 test -z "$ac_c_werror_flag" ||
22538 test ! -s conftest.err
22539 } && test -s conftest$ac_exeext &&
22540 $as_test_x conftest$ac_exeext; then
22541 ac_cv_lib_m_coshf=yes
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22546 ac_cv_lib_m_coshf=no
22549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22550 conftest$ac_exeext conftest.$ac_ext
22551 LIBS=$ac_check_lib_save_LIBS
22553 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22554 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6; }
22555 if test $ac_cv_lib_m_coshf = yes; then
22557 cat >>confdefs.h <<\_ACEOF
22558 #define HAVE_COSHF 1
22559 _ACEOF
22563 { echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22564 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6; }
22565 if test "${ac_cv_lib_m_cosh+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 else
22568 ac_check_lib_save_LIBS=$LIBS
22569 LIBS="-lm $LIBS"
22570 if test x$gcc_no_link = xyes; then
22571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22573 { (exit 1); exit 1; }; }
22575 cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22582 /* Override any GCC internal prototype to avoid an error.
22583 Use char because int might match the return type of a GCC
22584 builtin and then its argument prototype would still apply. */
22585 #ifdef __cplusplus
22586 extern "C"
22587 #endif
22588 char cosh ();
22590 main ()
22592 return cosh ();
22594 return 0;
22596 _ACEOF
22597 rm -f conftest.$ac_objext conftest$ac_exeext
22598 if { (ac_try="$ac_link"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_link") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest$ac_exeext &&
22614 $as_test_x conftest$ac_exeext; then
22615 ac_cv_lib_m_cosh=yes
22616 else
22617 echo "$as_me: failed program was:" >&5
22618 sed 's/^/| /' conftest.$ac_ext >&5
22620 ac_cv_lib_m_cosh=no
22623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22624 conftest$ac_exeext conftest.$ac_ext
22625 LIBS=$ac_check_lib_save_LIBS
22627 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22628 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6; }
22629 if test $ac_cv_lib_m_cosh = yes; then
22631 cat >>confdefs.h <<\_ACEOF
22632 #define HAVE_COSH 1
22633 _ACEOF
22637 { echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22638 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6; }
22639 if test "${ac_cv_lib_m_coshl+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 else
22642 ac_check_lib_save_LIBS=$LIBS
22643 LIBS="-lm $LIBS"
22644 if test x$gcc_no_link = xyes; then
22645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647 { (exit 1); exit 1; }; }
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22656 /* Override any GCC internal prototype to avoid an error.
22657 Use char because int might match the return type of a GCC
22658 builtin and then its argument prototype would still apply. */
22659 #ifdef __cplusplus
22660 extern "C"
22661 #endif
22662 char coshl ();
22664 main ()
22666 return coshl ();
22668 return 0;
22670 _ACEOF
22671 rm -f conftest.$ac_objext conftest$ac_exeext
22672 if { (ac_try="$ac_link"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22676 esac
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_link") 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest$ac_exeext &&
22688 $as_test_x conftest$ac_exeext; then
22689 ac_cv_lib_m_coshl=yes
22690 else
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.$ac_ext >&5
22694 ac_cv_lib_m_coshl=no
22697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22698 conftest$ac_exeext conftest.$ac_ext
22699 LIBS=$ac_check_lib_save_LIBS
22701 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22702 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6; }
22703 if test $ac_cv_lib_m_coshl = yes; then
22705 cat >>confdefs.h <<\_ACEOF
22706 #define HAVE_COSHL 1
22707 _ACEOF
22711 { echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22712 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6; }
22713 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22715 else
22716 ac_check_lib_save_LIBS=$LIBS
22717 LIBS="-lm $LIBS"
22718 if test x$gcc_no_link = xyes; then
22719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22721 { (exit 1); exit 1; }; }
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22730 /* Override any GCC internal prototype to avoid an error.
22731 Use char because int might match the return type of a GCC
22732 builtin and then its argument prototype would still apply. */
22733 #ifdef __cplusplus
22734 extern "C"
22735 #endif
22736 char ccoshf ();
22738 main ()
22740 return ccoshf ();
22742 return 0;
22744 _ACEOF
22745 rm -f conftest.$ac_objext conftest$ac_exeext
22746 if { (ac_try="$ac_link"
22747 case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22750 esac
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_link") 2>conftest.er1
22753 ac_status=$?
22754 grep -v '^ *+' conftest.er1 >conftest.err
22755 rm -f conftest.er1
22756 cat conftest.err >&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } && {
22759 test -z "$ac_c_werror_flag" ||
22760 test ! -s conftest.err
22761 } && test -s conftest$ac_exeext &&
22762 $as_test_x conftest$ac_exeext; then
22763 ac_cv_lib_m_ccoshf=yes
22764 else
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 ac_cv_lib_m_ccoshf=no
22771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22772 conftest$ac_exeext conftest.$ac_ext
22773 LIBS=$ac_check_lib_save_LIBS
22775 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22776 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6; }
22777 if test $ac_cv_lib_m_ccoshf = yes; then
22779 cat >>confdefs.h <<\_ACEOF
22780 #define HAVE_CCOSHF 1
22781 _ACEOF
22785 { echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22786 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6; }
22787 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790 ac_check_lib_save_LIBS=$LIBS
22791 LIBS="-lm $LIBS"
22792 if test x$gcc_no_link = xyes; then
22793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22795 { (exit 1); exit 1; }; }
22797 cat >conftest.$ac_ext <<_ACEOF
22798 /* confdefs.h. */
22799 _ACEOF
22800 cat confdefs.h >>conftest.$ac_ext
22801 cat >>conftest.$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22804 /* Override any GCC internal prototype to avoid an error.
22805 Use char because int might match the return type of a GCC
22806 builtin and then its argument prototype would still apply. */
22807 #ifdef __cplusplus
22808 extern "C"
22809 #endif
22810 char ccosh ();
22812 main ()
22814 return ccosh ();
22816 return 0;
22818 _ACEOF
22819 rm -f conftest.$ac_objext conftest$ac_exeext
22820 if { (ac_try="$ac_link"
22821 case "(($ac_try" in
22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22824 esac
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_link") 2>conftest.er1
22827 ac_status=$?
22828 grep -v '^ *+' conftest.er1 >conftest.err
22829 rm -f conftest.er1
22830 cat conftest.err >&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } && {
22833 test -z "$ac_c_werror_flag" ||
22834 test ! -s conftest.err
22835 } && test -s conftest$ac_exeext &&
22836 $as_test_x conftest$ac_exeext; then
22837 ac_cv_lib_m_ccosh=yes
22838 else
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22842 ac_cv_lib_m_ccosh=no
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22847 LIBS=$ac_check_lib_save_LIBS
22849 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22850 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6; }
22851 if test $ac_cv_lib_m_ccosh = yes; then
22853 cat >>confdefs.h <<\_ACEOF
22854 #define HAVE_CCOSH 1
22855 _ACEOF
22859 { echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22860 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6; }
22861 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 else
22864 ac_check_lib_save_LIBS=$LIBS
22865 LIBS="-lm $LIBS"
22866 if test x$gcc_no_link = xyes; then
22867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22869 { (exit 1); exit 1; }; }
22871 cat >conftest.$ac_ext <<_ACEOF
22872 /* confdefs.h. */
22873 _ACEOF
22874 cat confdefs.h >>conftest.$ac_ext
22875 cat >>conftest.$ac_ext <<_ACEOF
22876 /* end confdefs.h. */
22878 /* Override any GCC internal prototype to avoid an error.
22879 Use char because int might match the return type of a GCC
22880 builtin and then its argument prototype would still apply. */
22881 #ifdef __cplusplus
22882 extern "C"
22883 #endif
22884 char ccoshl ();
22886 main ()
22888 return ccoshl ();
22890 return 0;
22892 _ACEOF
22893 rm -f conftest.$ac_objext conftest$ac_exeext
22894 if { (ac_try="$ac_link"
22895 case "(($ac_try" in
22896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22897 *) ac_try_echo=$ac_try;;
22898 esac
22899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22900 (eval "$ac_link") 2>conftest.er1
22901 ac_status=$?
22902 grep -v '^ *+' conftest.er1 >conftest.err
22903 rm -f conftest.er1
22904 cat conftest.err >&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } && {
22907 test -z "$ac_c_werror_flag" ||
22908 test ! -s conftest.err
22909 } && test -s conftest$ac_exeext &&
22910 $as_test_x conftest$ac_exeext; then
22911 ac_cv_lib_m_ccoshl=yes
22912 else
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22916 ac_cv_lib_m_ccoshl=no
22919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22920 conftest$ac_exeext conftest.$ac_ext
22921 LIBS=$ac_check_lib_save_LIBS
22923 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22924 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6; }
22925 if test $ac_cv_lib_m_ccoshl = yes; then
22927 cat >>confdefs.h <<\_ACEOF
22928 #define HAVE_CCOSHL 1
22929 _ACEOF
22933 { echo "$as_me:$LINENO: checking for expf in -lm" >&5
22934 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6; }
22935 if test "${ac_cv_lib_m_expf+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 else
22938 ac_check_lib_save_LIBS=$LIBS
22939 LIBS="-lm $LIBS"
22940 if test x$gcc_no_link = xyes; then
22941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22943 { (exit 1); exit 1; }; }
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22952 /* Override any GCC internal prototype to avoid an error.
22953 Use char because int might match the return type of a GCC
22954 builtin and then its argument prototype would still apply. */
22955 #ifdef __cplusplus
22956 extern "C"
22957 #endif
22958 char expf ();
22960 main ()
22962 return expf ();
22964 return 0;
22966 _ACEOF
22967 rm -f conftest.$ac_objext conftest$ac_exeext
22968 if { (ac_try="$ac_link"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_link") 2>conftest.er1
22975 ac_status=$?
22976 grep -v '^ *+' conftest.er1 >conftest.err
22977 rm -f conftest.er1
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest$ac_exeext &&
22984 $as_test_x conftest$ac_exeext; then
22985 ac_cv_lib_m_expf=yes
22986 else
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22990 ac_cv_lib_m_expf=no
22993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22994 conftest$ac_exeext conftest.$ac_ext
22995 LIBS=$ac_check_lib_save_LIBS
22997 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22998 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6; }
22999 if test $ac_cv_lib_m_expf = yes; then
23001 cat >>confdefs.h <<\_ACEOF
23002 #define HAVE_EXPF 1
23003 _ACEOF
23007 { echo "$as_me:$LINENO: checking for exp in -lm" >&5
23008 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6; }
23009 if test "${ac_cv_lib_m_exp+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 else
23012 ac_check_lib_save_LIBS=$LIBS
23013 LIBS="-lm $LIBS"
23014 if test x$gcc_no_link = xyes; then
23015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23017 { (exit 1); exit 1; }; }
23019 cat >conftest.$ac_ext <<_ACEOF
23020 /* confdefs.h. */
23021 _ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23026 /* Override any GCC internal prototype to avoid an error.
23027 Use char because int might match the return type of a GCC
23028 builtin and then its argument prototype would still apply. */
23029 #ifdef __cplusplus
23030 extern "C"
23031 #endif
23032 char exp ();
23034 main ()
23036 return exp ();
23038 return 0;
23040 _ACEOF
23041 rm -f conftest.$ac_objext conftest$ac_exeext
23042 if { (ac_try="$ac_link"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23046 esac
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_link") 2>conftest.er1
23049 ac_status=$?
23050 grep -v '^ *+' conftest.er1 >conftest.err
23051 rm -f conftest.er1
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest$ac_exeext &&
23058 $as_test_x conftest$ac_exeext; then
23059 ac_cv_lib_m_exp=yes
23060 else
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23064 ac_cv_lib_m_exp=no
23067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23068 conftest$ac_exeext conftest.$ac_ext
23069 LIBS=$ac_check_lib_save_LIBS
23071 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23072 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6; }
23073 if test $ac_cv_lib_m_exp = yes; then
23075 cat >>confdefs.h <<\_ACEOF
23076 #define HAVE_EXP 1
23077 _ACEOF
23081 { echo "$as_me:$LINENO: checking for expl in -lm" >&5
23082 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6; }
23083 if test "${ac_cv_lib_m_expl+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 ac_check_lib_save_LIBS=$LIBS
23087 LIBS="-lm $LIBS"
23088 if test x$gcc_no_link = xyes; then
23089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23091 { (exit 1); exit 1; }; }
23093 cat >conftest.$ac_ext <<_ACEOF
23094 /* confdefs.h. */
23095 _ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23100 /* Override any GCC internal prototype to avoid an error.
23101 Use char because int might match the return type of a GCC
23102 builtin and then its argument prototype would still apply. */
23103 #ifdef __cplusplus
23104 extern "C"
23105 #endif
23106 char expl ();
23108 main ()
23110 return expl ();
23112 return 0;
23114 _ACEOF
23115 rm -f conftest.$ac_objext conftest$ac_exeext
23116 if { (ac_try="$ac_link"
23117 case "(($ac_try" in
23118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23119 *) ac_try_echo=$ac_try;;
23120 esac
23121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23122 (eval "$ac_link") 2>conftest.er1
23123 ac_status=$?
23124 grep -v '^ *+' conftest.er1 >conftest.err
23125 rm -f conftest.er1
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } && {
23129 test -z "$ac_c_werror_flag" ||
23130 test ! -s conftest.err
23131 } && test -s conftest$ac_exeext &&
23132 $as_test_x conftest$ac_exeext; then
23133 ac_cv_lib_m_expl=yes
23134 else
23135 echo "$as_me: failed program was:" >&5
23136 sed 's/^/| /' conftest.$ac_ext >&5
23138 ac_cv_lib_m_expl=no
23141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23142 conftest$ac_exeext conftest.$ac_ext
23143 LIBS=$ac_check_lib_save_LIBS
23145 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23146 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6; }
23147 if test $ac_cv_lib_m_expl = yes; then
23149 cat >>confdefs.h <<\_ACEOF
23150 #define HAVE_EXPL 1
23151 _ACEOF
23155 { echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23156 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6; }
23157 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 else
23160 ac_check_lib_save_LIBS=$LIBS
23161 LIBS="-lm $LIBS"
23162 if test x$gcc_no_link = xyes; then
23163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23165 { (exit 1); exit 1; }; }
23167 cat >conftest.$ac_ext <<_ACEOF
23168 /* confdefs.h. */
23169 _ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23174 /* Override any GCC internal prototype to avoid an error.
23175 Use char because int might match the return type of a GCC
23176 builtin and then its argument prototype would still apply. */
23177 #ifdef __cplusplus
23178 extern "C"
23179 #endif
23180 char cexpf ();
23182 main ()
23184 return cexpf ();
23186 return 0;
23188 _ACEOF
23189 rm -f conftest.$ac_objext conftest$ac_exeext
23190 if { (ac_try="$ac_link"
23191 case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23194 esac
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_link") 2>conftest.er1
23197 ac_status=$?
23198 grep -v '^ *+' conftest.er1 >conftest.err
23199 rm -f conftest.er1
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest$ac_exeext &&
23206 $as_test_x conftest$ac_exeext; then
23207 ac_cv_lib_m_cexpf=yes
23208 else
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23212 ac_cv_lib_m_cexpf=no
23215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23216 conftest$ac_exeext conftest.$ac_ext
23217 LIBS=$ac_check_lib_save_LIBS
23219 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23220 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6; }
23221 if test $ac_cv_lib_m_cexpf = yes; then
23223 cat >>confdefs.h <<\_ACEOF
23224 #define HAVE_CEXPF 1
23225 _ACEOF
23229 { echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23230 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6; }
23231 if test "${ac_cv_lib_m_cexp+set}" = set; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 else
23234 ac_check_lib_save_LIBS=$LIBS
23235 LIBS="-lm $LIBS"
23236 if test x$gcc_no_link = xyes; then
23237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23239 { (exit 1); exit 1; }; }
23241 cat >conftest.$ac_ext <<_ACEOF
23242 /* confdefs.h. */
23243 _ACEOF
23244 cat confdefs.h >>conftest.$ac_ext
23245 cat >>conftest.$ac_ext <<_ACEOF
23246 /* end confdefs.h. */
23248 /* Override any GCC internal prototype to avoid an error.
23249 Use char because int might match the return type of a GCC
23250 builtin and then its argument prototype would still apply. */
23251 #ifdef __cplusplus
23252 extern "C"
23253 #endif
23254 char cexp ();
23256 main ()
23258 return cexp ();
23260 return 0;
23262 _ACEOF
23263 rm -f conftest.$ac_objext conftest$ac_exeext
23264 if { (ac_try="$ac_link"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23268 esac
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_link") 2>conftest.er1
23271 ac_status=$?
23272 grep -v '^ *+' conftest.er1 >conftest.err
23273 rm -f conftest.er1
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && {
23277 test -z "$ac_c_werror_flag" ||
23278 test ! -s conftest.err
23279 } && test -s conftest$ac_exeext &&
23280 $as_test_x conftest$ac_exeext; then
23281 ac_cv_lib_m_cexp=yes
23282 else
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
23286 ac_cv_lib_m_cexp=no
23289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23290 conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23293 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23294 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6; }
23295 if test $ac_cv_lib_m_cexp = yes; then
23297 cat >>confdefs.h <<\_ACEOF
23298 #define HAVE_CEXP 1
23299 _ACEOF
23303 { echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23304 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6; }
23305 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23307 else
23308 ac_check_lib_save_LIBS=$LIBS
23309 LIBS="-lm $LIBS"
23310 if test x$gcc_no_link = xyes; then
23311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23313 { (exit 1); exit 1; }; }
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23322 /* Override any GCC internal prototype to avoid an error.
23323 Use char because int might match the return type of a GCC
23324 builtin and then its argument prototype would still apply. */
23325 #ifdef __cplusplus
23326 extern "C"
23327 #endif
23328 char cexpl ();
23330 main ()
23332 return cexpl ();
23334 return 0;
23336 _ACEOF
23337 rm -f conftest.$ac_objext conftest$ac_exeext
23338 if { (ac_try="$ac_link"
23339 case "(($ac_try" in
23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23341 *) ac_try_echo=$ac_try;;
23342 esac
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_link") 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } && {
23351 test -z "$ac_c_werror_flag" ||
23352 test ! -s conftest.err
23353 } && test -s conftest$ac_exeext &&
23354 $as_test_x conftest$ac_exeext; then
23355 ac_cv_lib_m_cexpl=yes
23356 else
23357 echo "$as_me: failed program was:" >&5
23358 sed 's/^/| /' conftest.$ac_ext >&5
23360 ac_cv_lib_m_cexpl=no
23363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23364 conftest$ac_exeext conftest.$ac_ext
23365 LIBS=$ac_check_lib_save_LIBS
23367 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23368 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6; }
23369 if test $ac_cv_lib_m_cexpl = yes; then
23371 cat >>confdefs.h <<\_ACEOF
23372 #define HAVE_CEXPL 1
23373 _ACEOF
23377 { echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23378 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6; }
23379 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23380 echo $ECHO_N "(cached) $ECHO_C" >&6
23381 else
23382 ac_check_lib_save_LIBS=$LIBS
23383 LIBS="-lm $LIBS"
23384 if test x$gcc_no_link = xyes; then
23385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23387 { (exit 1); exit 1; }; }
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23396 /* Override any GCC internal prototype to avoid an error.
23397 Use char because int might match the return type of a GCC
23398 builtin and then its argument prototype would still apply. */
23399 #ifdef __cplusplus
23400 extern "C"
23401 #endif
23402 char fabsf ();
23404 main ()
23406 return fabsf ();
23408 return 0;
23410 _ACEOF
23411 rm -f conftest.$ac_objext conftest$ac_exeext
23412 if { (ac_try="$ac_link"
23413 case "(($ac_try" in
23414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23416 esac
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_link") 2>conftest.er1
23419 ac_status=$?
23420 grep -v '^ *+' conftest.er1 >conftest.err
23421 rm -f conftest.er1
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } && {
23425 test -z "$ac_c_werror_flag" ||
23426 test ! -s conftest.err
23427 } && test -s conftest$ac_exeext &&
23428 $as_test_x conftest$ac_exeext; then
23429 ac_cv_lib_m_fabsf=yes
23430 else
23431 echo "$as_me: failed program was:" >&5
23432 sed 's/^/| /' conftest.$ac_ext >&5
23434 ac_cv_lib_m_fabsf=no
23437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23438 conftest$ac_exeext conftest.$ac_ext
23439 LIBS=$ac_check_lib_save_LIBS
23441 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23442 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6; }
23443 if test $ac_cv_lib_m_fabsf = yes; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define HAVE_FABSF 1
23447 _ACEOF
23451 { echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23452 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6; }
23453 if test "${ac_cv_lib_m_fabs+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456 ac_check_lib_save_LIBS=$LIBS
23457 LIBS="-lm $LIBS"
23458 if test x$gcc_no_link = xyes; then
23459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23461 { (exit 1); exit 1; }; }
23463 cat >conftest.$ac_ext <<_ACEOF
23464 /* confdefs.h. */
23465 _ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23470 /* Override any GCC internal prototype to avoid an error.
23471 Use char because int might match the return type of a GCC
23472 builtin and then its argument prototype would still apply. */
23473 #ifdef __cplusplus
23474 extern "C"
23475 #endif
23476 char fabs ();
23478 main ()
23480 return fabs ();
23482 return 0;
23484 _ACEOF
23485 rm -f conftest.$ac_objext conftest$ac_exeext
23486 if { (ac_try="$ac_link"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_link") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_c_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest$ac_exeext &&
23502 $as_test_x conftest$ac_exeext; then
23503 ac_cv_lib_m_fabs=yes
23504 else
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23508 ac_cv_lib_m_fabs=no
23511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23512 conftest$ac_exeext conftest.$ac_ext
23513 LIBS=$ac_check_lib_save_LIBS
23515 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23516 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6; }
23517 if test $ac_cv_lib_m_fabs = yes; then
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_FABS 1
23521 _ACEOF
23525 { echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23526 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6; }
23527 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23529 else
23530 ac_check_lib_save_LIBS=$LIBS
23531 LIBS="-lm $LIBS"
23532 if test x$gcc_no_link = xyes; then
23533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23535 { (exit 1); exit 1; }; }
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23544 /* Override any GCC internal prototype to avoid an error.
23545 Use char because int might match the return type of a GCC
23546 builtin and then its argument prototype would still apply. */
23547 #ifdef __cplusplus
23548 extern "C"
23549 #endif
23550 char fabsl ();
23552 main ()
23554 return fabsl ();
23556 return 0;
23558 _ACEOF
23559 rm -f conftest.$ac_objext conftest$ac_exeext
23560 if { (ac_try="$ac_link"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23564 esac
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_link") 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest$ac_exeext &&
23576 $as_test_x conftest$ac_exeext; then
23577 ac_cv_lib_m_fabsl=yes
23578 else
23579 echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.$ac_ext >&5
23582 ac_cv_lib_m_fabsl=no
23585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23586 conftest$ac_exeext conftest.$ac_ext
23587 LIBS=$ac_check_lib_save_LIBS
23589 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23590 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6; }
23591 if test $ac_cv_lib_m_fabsl = yes; then
23593 cat >>confdefs.h <<\_ACEOF
23594 #define HAVE_FABSL 1
23595 _ACEOF
23599 { echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23600 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6; }
23601 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 else
23604 ac_check_lib_save_LIBS=$LIBS
23605 LIBS="-lm $LIBS"
23606 if test x$gcc_no_link = xyes; then
23607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23609 { (exit 1); exit 1; }; }
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23618 /* Override any GCC internal prototype to avoid an error.
23619 Use char because int might match the return type of a GCC
23620 builtin and then its argument prototype would still apply. */
23621 #ifdef __cplusplus
23622 extern "C"
23623 #endif
23624 char cabsf ();
23626 main ()
23628 return cabsf ();
23630 return 0;
23632 _ACEOF
23633 rm -f conftest.$ac_objext conftest$ac_exeext
23634 if { (ac_try="$ac_link"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23638 esac
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_link") 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest$ac_exeext &&
23650 $as_test_x conftest$ac_exeext; then
23651 ac_cv_lib_m_cabsf=yes
23652 else
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23656 ac_cv_lib_m_cabsf=no
23659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23660 conftest$ac_exeext conftest.$ac_ext
23661 LIBS=$ac_check_lib_save_LIBS
23663 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23664 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6; }
23665 if test $ac_cv_lib_m_cabsf = yes; then
23667 cat >>confdefs.h <<\_ACEOF
23668 #define HAVE_CABSF 1
23669 _ACEOF
23673 { echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23674 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6; }
23675 if test "${ac_cv_lib_m_cabs+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23677 else
23678 ac_check_lib_save_LIBS=$LIBS
23679 LIBS="-lm $LIBS"
23680 if test x$gcc_no_link = xyes; then
23681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23683 { (exit 1); exit 1; }; }
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23692 /* Override any GCC internal prototype to avoid an error.
23693 Use char because int might match the return type of a GCC
23694 builtin and then its argument prototype would still apply. */
23695 #ifdef __cplusplus
23696 extern "C"
23697 #endif
23698 char cabs ();
23700 main ()
23702 return cabs ();
23704 return 0;
23706 _ACEOF
23707 rm -f conftest.$ac_objext conftest$ac_exeext
23708 if { (ac_try="$ac_link"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23712 esac
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_link") 2>conftest.er1
23715 ac_status=$?
23716 grep -v '^ *+' conftest.er1 >conftest.err
23717 rm -f conftest.er1
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } && {
23721 test -z "$ac_c_werror_flag" ||
23722 test ! -s conftest.err
23723 } && test -s conftest$ac_exeext &&
23724 $as_test_x conftest$ac_exeext; then
23725 ac_cv_lib_m_cabs=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23730 ac_cv_lib_m_cabs=no
23733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23734 conftest$ac_exeext conftest.$ac_ext
23735 LIBS=$ac_check_lib_save_LIBS
23737 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23738 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6; }
23739 if test $ac_cv_lib_m_cabs = yes; then
23741 cat >>confdefs.h <<\_ACEOF
23742 #define HAVE_CABS 1
23743 _ACEOF
23747 { echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23748 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6; }
23749 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 else
23752 ac_check_lib_save_LIBS=$LIBS
23753 LIBS="-lm $LIBS"
23754 if test x$gcc_no_link = xyes; then
23755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23757 { (exit 1); exit 1; }; }
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23766 /* Override any GCC internal prototype to avoid an error.
23767 Use char because int might match the return type of a GCC
23768 builtin and then its argument prototype would still apply. */
23769 #ifdef __cplusplus
23770 extern "C"
23771 #endif
23772 char cabsl ();
23774 main ()
23776 return cabsl ();
23778 return 0;
23780 _ACEOF
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (ac_try="$ac_link"
23783 case "(($ac_try" in
23784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23786 esac
23787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_link") 2>conftest.er1
23789 ac_status=$?
23790 grep -v '^ *+' conftest.er1 >conftest.err
23791 rm -f conftest.er1
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } && {
23795 test -z "$ac_c_werror_flag" ||
23796 test ! -s conftest.err
23797 } && test -s conftest$ac_exeext &&
23798 $as_test_x conftest$ac_exeext; then
23799 ac_cv_lib_m_cabsl=yes
23800 else
23801 echo "$as_me: failed program was:" >&5
23802 sed 's/^/| /' conftest.$ac_ext >&5
23804 ac_cv_lib_m_cabsl=no
23807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23808 conftest$ac_exeext conftest.$ac_ext
23809 LIBS=$ac_check_lib_save_LIBS
23811 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23812 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6; }
23813 if test $ac_cv_lib_m_cabsl = yes; then
23815 cat >>confdefs.h <<\_ACEOF
23816 #define HAVE_CABSL 1
23817 _ACEOF
23821 { echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23822 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6; }
23823 if test "${ac_cv_lib_m_floorf+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23826 ac_check_lib_save_LIBS=$LIBS
23827 LIBS="-lm $LIBS"
23828 if test x$gcc_no_link = xyes; then
23829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23831 { (exit 1); exit 1; }; }
23833 cat >conftest.$ac_ext <<_ACEOF
23834 /* confdefs.h. */
23835 _ACEOF
23836 cat confdefs.h >>conftest.$ac_ext
23837 cat >>conftest.$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23840 /* Override any GCC internal prototype to avoid an error.
23841 Use char because int might match the return type of a GCC
23842 builtin and then its argument prototype would still apply. */
23843 #ifdef __cplusplus
23844 extern "C"
23845 #endif
23846 char floorf ();
23848 main ()
23850 return floorf ();
23852 return 0;
23854 _ACEOF
23855 rm -f conftest.$ac_objext conftest$ac_exeext
23856 if { (ac_try="$ac_link"
23857 case "(($ac_try" in
23858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23859 *) ac_try_echo=$ac_try;;
23860 esac
23861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23862 (eval "$ac_link") 2>conftest.er1
23863 ac_status=$?
23864 grep -v '^ *+' conftest.er1 >conftest.err
23865 rm -f conftest.er1
23866 cat conftest.err >&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } && {
23869 test -z "$ac_c_werror_flag" ||
23870 test ! -s conftest.err
23871 } && test -s conftest$ac_exeext &&
23872 $as_test_x conftest$ac_exeext; then
23873 ac_cv_lib_m_floorf=yes
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23878 ac_cv_lib_m_floorf=no
23881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23882 conftest$ac_exeext conftest.$ac_ext
23883 LIBS=$ac_check_lib_save_LIBS
23885 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23886 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6; }
23887 if test $ac_cv_lib_m_floorf = yes; then
23889 cat >>confdefs.h <<\_ACEOF
23890 #define HAVE_FLOORF 1
23891 _ACEOF
23895 { echo "$as_me:$LINENO: checking for floor in -lm" >&5
23896 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6; }
23897 if test "${ac_cv_lib_m_floor+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 else
23900 ac_check_lib_save_LIBS=$LIBS
23901 LIBS="-lm $LIBS"
23902 if test x$gcc_no_link = xyes; then
23903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23905 { (exit 1); exit 1; }; }
23907 cat >conftest.$ac_ext <<_ACEOF
23908 /* confdefs.h. */
23909 _ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23914 /* Override any GCC internal prototype to avoid an error.
23915 Use char because int might match the return type of a GCC
23916 builtin and then its argument prototype would still apply. */
23917 #ifdef __cplusplus
23918 extern "C"
23919 #endif
23920 char floor ();
23922 main ()
23924 return floor ();
23926 return 0;
23928 _ACEOF
23929 rm -f conftest.$ac_objext conftest$ac_exeext
23930 if { (ac_try="$ac_link"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23934 esac
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_link") 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_c_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest$ac_exeext &&
23946 $as_test_x conftest$ac_exeext; then
23947 ac_cv_lib_m_floor=yes
23948 else
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23952 ac_cv_lib_m_floor=no
23955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23956 conftest$ac_exeext conftest.$ac_ext
23957 LIBS=$ac_check_lib_save_LIBS
23959 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23960 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6; }
23961 if test $ac_cv_lib_m_floor = yes; then
23963 cat >>confdefs.h <<\_ACEOF
23964 #define HAVE_FLOOR 1
23965 _ACEOF
23969 { echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23970 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6; }
23971 if test "${ac_cv_lib_m_floorl+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974 ac_check_lib_save_LIBS=$LIBS
23975 LIBS="-lm $LIBS"
23976 if test x$gcc_no_link = xyes; then
23977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23979 { (exit 1); exit 1; }; }
23981 cat >conftest.$ac_ext <<_ACEOF
23982 /* confdefs.h. */
23983 _ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23988 /* Override any GCC internal prototype to avoid an error.
23989 Use char because int might match the return type of a GCC
23990 builtin and then its argument prototype would still apply. */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 char floorl ();
23996 main ()
23998 return floorl ();
24000 return 0;
24002 _ACEOF
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 if { (ac_try="$ac_link"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24008 esac
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_link") 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest$ac_exeext &&
24020 $as_test_x conftest$ac_exeext; then
24021 ac_cv_lib_m_floorl=yes
24022 else
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24026 ac_cv_lib_m_floorl=no
24029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24030 conftest$ac_exeext conftest.$ac_ext
24031 LIBS=$ac_check_lib_save_LIBS
24033 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24034 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6; }
24035 if test $ac_cv_lib_m_floorl = yes; then
24037 cat >>confdefs.h <<\_ACEOF
24038 #define HAVE_FLOORL 1
24039 _ACEOF
24043 { echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24044 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6; }
24045 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else
24048 ac_check_lib_save_LIBS=$LIBS
24049 LIBS="-lm $LIBS"
24050 if test x$gcc_no_link = xyes; then
24051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24053 { (exit 1); exit 1; }; }
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24062 /* Override any GCC internal prototype to avoid an error.
24063 Use char because int might match the return type of a GCC
24064 builtin and then its argument prototype would still apply. */
24065 #ifdef __cplusplus
24066 extern "C"
24067 #endif
24068 char fmodf ();
24070 main ()
24072 return fmodf ();
24074 return 0;
24076 _ACEOF
24077 rm -f conftest.$ac_objext conftest$ac_exeext
24078 if { (ac_try="$ac_link"
24079 case "(($ac_try" in
24080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081 *) ac_try_echo=$ac_try;;
24082 esac
24083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084 (eval "$ac_link") 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } && {
24091 test -z "$ac_c_werror_flag" ||
24092 test ! -s conftest.err
24093 } && test -s conftest$ac_exeext &&
24094 $as_test_x conftest$ac_exeext; then
24095 ac_cv_lib_m_fmodf=yes
24096 else
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24100 ac_cv_lib_m_fmodf=no
24103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24104 conftest$ac_exeext conftest.$ac_ext
24105 LIBS=$ac_check_lib_save_LIBS
24107 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24108 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6; }
24109 if test $ac_cv_lib_m_fmodf = yes; then
24111 cat >>confdefs.h <<\_ACEOF
24112 #define HAVE_FMODF 1
24113 _ACEOF
24117 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24118 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }
24119 if test "${ac_cv_lib_m_fmod+set}" = set; then
24120 echo $ECHO_N "(cached) $ECHO_C" >&6
24121 else
24122 ac_check_lib_save_LIBS=$LIBS
24123 LIBS="-lm $LIBS"
24124 if test x$gcc_no_link = xyes; then
24125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24127 { (exit 1); exit 1; }; }
24129 cat >conftest.$ac_ext <<_ACEOF
24130 /* confdefs.h. */
24131 _ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24136 /* Override any GCC internal prototype to avoid an error.
24137 Use char because int might match the return type of a GCC
24138 builtin and then its argument prototype would still apply. */
24139 #ifdef __cplusplus
24140 extern "C"
24141 #endif
24142 char fmod ();
24144 main ()
24146 return fmod ();
24148 return 0;
24150 _ACEOF
24151 rm -f conftest.$ac_objext conftest$ac_exeext
24152 if { (ac_try="$ac_link"
24153 case "(($ac_try" in
24154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24155 *) ac_try_echo=$ac_try;;
24156 esac
24157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 (eval "$ac_link") 2>conftest.er1
24159 ac_status=$?
24160 grep -v '^ *+' conftest.er1 >conftest.err
24161 rm -f conftest.er1
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && {
24165 test -z "$ac_c_werror_flag" ||
24166 test ! -s conftest.err
24167 } && test -s conftest$ac_exeext &&
24168 $as_test_x conftest$ac_exeext; then
24169 ac_cv_lib_m_fmod=yes
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24174 ac_cv_lib_m_fmod=no
24177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24178 conftest$ac_exeext conftest.$ac_ext
24179 LIBS=$ac_check_lib_save_LIBS
24181 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24182 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }
24183 if test $ac_cv_lib_m_fmod = yes; then
24185 cat >>confdefs.h <<\_ACEOF
24186 #define HAVE_FMOD 1
24187 _ACEOF
24191 { echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24192 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6; }
24193 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 else
24196 ac_check_lib_save_LIBS=$LIBS
24197 LIBS="-lm $LIBS"
24198 if test x$gcc_no_link = xyes; then
24199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24201 { (exit 1); exit 1; }; }
24203 cat >conftest.$ac_ext <<_ACEOF
24204 /* confdefs.h. */
24205 _ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24210 /* Override any GCC internal prototype to avoid an error.
24211 Use char because int might match the return type of a GCC
24212 builtin and then its argument prototype would still apply. */
24213 #ifdef __cplusplus
24214 extern "C"
24215 #endif
24216 char fmodl ();
24218 main ()
24220 return fmodl ();
24222 return 0;
24224 _ACEOF
24225 rm -f conftest.$ac_objext conftest$ac_exeext
24226 if { (ac_try="$ac_link"
24227 case "(($ac_try" in
24228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24229 *) ac_try_echo=$ac_try;;
24230 esac
24231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24232 (eval "$ac_link") 2>conftest.er1
24233 ac_status=$?
24234 grep -v '^ *+' conftest.er1 >conftest.err
24235 rm -f conftest.er1
24236 cat conftest.err >&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } && {
24239 test -z "$ac_c_werror_flag" ||
24240 test ! -s conftest.err
24241 } && test -s conftest$ac_exeext &&
24242 $as_test_x conftest$ac_exeext; then
24243 ac_cv_lib_m_fmodl=yes
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24248 ac_cv_lib_m_fmodl=no
24251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24252 conftest$ac_exeext conftest.$ac_ext
24253 LIBS=$ac_check_lib_save_LIBS
24255 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24256 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6; }
24257 if test $ac_cv_lib_m_fmodl = yes; then
24259 cat >>confdefs.h <<\_ACEOF
24260 #define HAVE_FMODL 1
24261 _ACEOF
24265 { echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24266 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6; }
24267 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24268 echo $ECHO_N "(cached) $ECHO_C" >&6
24269 else
24270 ac_check_lib_save_LIBS=$LIBS
24271 LIBS="-lm $LIBS"
24272 if test x$gcc_no_link = xyes; then
24273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24275 { (exit 1); exit 1; }; }
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24284 /* Override any GCC internal prototype to avoid an error.
24285 Use char because int might match the return type of a GCC
24286 builtin and then its argument prototype would still apply. */
24287 #ifdef __cplusplus
24288 extern "C"
24289 #endif
24290 char frexpf ();
24292 main ()
24294 return frexpf ();
24296 return 0;
24298 _ACEOF
24299 rm -f conftest.$ac_objext conftest$ac_exeext
24300 if { (ac_try="$ac_link"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24304 esac
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_link") 2>conftest.er1
24307 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_c_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest$ac_exeext &&
24316 $as_test_x conftest$ac_exeext; then
24317 ac_cv_lib_m_frexpf=yes
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24322 ac_cv_lib_m_frexpf=no
24325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24326 conftest$ac_exeext conftest.$ac_ext
24327 LIBS=$ac_check_lib_save_LIBS
24329 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24330 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6; }
24331 if test $ac_cv_lib_m_frexpf = yes; then
24333 cat >>confdefs.h <<\_ACEOF
24334 #define HAVE_FREXPF 1
24335 _ACEOF
24339 { echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24340 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6; }
24341 if test "${ac_cv_lib_m_frexp+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 else
24344 ac_check_lib_save_LIBS=$LIBS
24345 LIBS="-lm $LIBS"
24346 if test x$gcc_no_link = xyes; then
24347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24349 { (exit 1); exit 1; }; }
24351 cat >conftest.$ac_ext <<_ACEOF
24352 /* confdefs.h. */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h. */
24358 /* Override any GCC internal prototype to avoid an error.
24359 Use char because int might match the return type of a GCC
24360 builtin and then its argument prototype would still apply. */
24361 #ifdef __cplusplus
24362 extern "C"
24363 #endif
24364 char frexp ();
24366 main ()
24368 return frexp ();
24370 return 0;
24372 _ACEOF
24373 rm -f conftest.$ac_objext conftest$ac_exeext
24374 if { (ac_try="$ac_link"
24375 case "(($ac_try" in
24376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24377 *) ac_try_echo=$ac_try;;
24378 esac
24379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24380 (eval "$ac_link") 2>conftest.er1
24381 ac_status=$?
24382 grep -v '^ *+' conftest.er1 >conftest.err
24383 rm -f conftest.er1
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } && {
24387 test -z "$ac_c_werror_flag" ||
24388 test ! -s conftest.err
24389 } && test -s conftest$ac_exeext &&
24390 $as_test_x conftest$ac_exeext; then
24391 ac_cv_lib_m_frexp=yes
24392 else
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24396 ac_cv_lib_m_frexp=no
24399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24400 conftest$ac_exeext conftest.$ac_ext
24401 LIBS=$ac_check_lib_save_LIBS
24403 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24404 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6; }
24405 if test $ac_cv_lib_m_frexp = yes; then
24407 cat >>confdefs.h <<\_ACEOF
24408 #define HAVE_FREXP 1
24409 _ACEOF
24413 { echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24414 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6; }
24415 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 else
24418 ac_check_lib_save_LIBS=$LIBS
24419 LIBS="-lm $LIBS"
24420 if test x$gcc_no_link = xyes; then
24421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24423 { (exit 1); exit 1; }; }
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 /* Override any GCC internal prototype to avoid an error.
24433 Use char because int might match the return type of a GCC
24434 builtin and then its argument prototype would still apply. */
24435 #ifdef __cplusplus
24436 extern "C"
24437 #endif
24438 char frexpl ();
24440 main ()
24442 return frexpl ();
24444 return 0;
24446 _ACEOF
24447 rm -f conftest.$ac_objext conftest$ac_exeext
24448 if { (ac_try="$ac_link"
24449 case "(($ac_try" in
24450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24451 *) ac_try_echo=$ac_try;;
24452 esac
24453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24454 (eval "$ac_link") 2>conftest.er1
24455 ac_status=$?
24456 grep -v '^ *+' conftest.er1 >conftest.err
24457 rm -f conftest.er1
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } && {
24461 test -z "$ac_c_werror_flag" ||
24462 test ! -s conftest.err
24463 } && test -s conftest$ac_exeext &&
24464 $as_test_x conftest$ac_exeext; then
24465 ac_cv_lib_m_frexpl=yes
24466 else
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.$ac_ext >&5
24470 ac_cv_lib_m_frexpl=no
24473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24474 conftest$ac_exeext conftest.$ac_ext
24475 LIBS=$ac_check_lib_save_LIBS
24477 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24478 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6; }
24479 if test $ac_cv_lib_m_frexpl = yes; then
24481 cat >>confdefs.h <<\_ACEOF
24482 #define HAVE_FREXPL 1
24483 _ACEOF
24487 { echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24488 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6; }
24489 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 else
24492 ac_check_lib_save_LIBS=$LIBS
24493 LIBS="-lm $LIBS"
24494 if test x$gcc_no_link = xyes; then
24495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24497 { (exit 1); exit 1; }; }
24499 cat >conftest.$ac_ext <<_ACEOF
24500 /* confdefs.h. */
24501 _ACEOF
24502 cat confdefs.h >>conftest.$ac_ext
24503 cat >>conftest.$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24506 /* Override any GCC internal prototype to avoid an error.
24507 Use char because int might match the return type of a GCC
24508 builtin and then its argument prototype would still apply. */
24509 #ifdef __cplusplus
24510 extern "C"
24511 #endif
24512 char hypotf ();
24514 main ()
24516 return hypotf ();
24518 return 0;
24520 _ACEOF
24521 rm -f conftest.$ac_objext conftest$ac_exeext
24522 if { (ac_try="$ac_link"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24526 esac
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_link") 2>conftest.er1
24529 ac_status=$?
24530 grep -v '^ *+' conftest.er1 >conftest.err
24531 rm -f conftest.er1
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && {
24535 test -z "$ac_c_werror_flag" ||
24536 test ! -s conftest.err
24537 } && test -s conftest$ac_exeext &&
24538 $as_test_x conftest$ac_exeext; then
24539 ac_cv_lib_m_hypotf=yes
24540 else
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24544 ac_cv_lib_m_hypotf=no
24547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24548 conftest$ac_exeext conftest.$ac_ext
24549 LIBS=$ac_check_lib_save_LIBS
24551 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24552 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6; }
24553 if test $ac_cv_lib_m_hypotf = yes; then
24555 cat >>confdefs.h <<\_ACEOF
24556 #define HAVE_HYPOTF 1
24557 _ACEOF
24561 { echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24562 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6; }
24563 if test "${ac_cv_lib_m_hypot+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 else
24566 ac_check_lib_save_LIBS=$LIBS
24567 LIBS="-lm $LIBS"
24568 if test x$gcc_no_link = xyes; then
24569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24571 { (exit 1); exit 1; }; }
24573 cat >conftest.$ac_ext <<_ACEOF
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24580 /* Override any GCC internal prototype to avoid an error.
24581 Use char because int might match the return type of a GCC
24582 builtin and then its argument prototype would still apply. */
24583 #ifdef __cplusplus
24584 extern "C"
24585 #endif
24586 char hypot ();
24588 main ()
24590 return hypot ();
24592 return 0;
24594 _ACEOF
24595 rm -f conftest.$ac_objext conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24600 esac
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>conftest.er1
24603 ac_status=$?
24604 grep -v '^ *+' conftest.er1 >conftest.err
24605 rm -f conftest.er1
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_c_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest$ac_exeext &&
24612 $as_test_x conftest$ac_exeext; then
24613 ac_cv_lib_m_hypot=yes
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24618 ac_cv_lib_m_hypot=no
24621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24622 conftest$ac_exeext conftest.$ac_ext
24623 LIBS=$ac_check_lib_save_LIBS
24625 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24626 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6; }
24627 if test $ac_cv_lib_m_hypot = yes; then
24629 cat >>confdefs.h <<\_ACEOF
24630 #define HAVE_HYPOT 1
24631 _ACEOF
24635 { echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24636 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6; }
24637 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24639 else
24640 ac_check_lib_save_LIBS=$LIBS
24641 LIBS="-lm $LIBS"
24642 if test x$gcc_no_link = xyes; then
24643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24645 { (exit 1); exit 1; }; }
24647 cat >conftest.$ac_ext <<_ACEOF
24648 /* confdefs.h. */
24649 _ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24654 /* Override any GCC internal prototype to avoid an error.
24655 Use char because int might match the return type of a GCC
24656 builtin and then its argument prototype would still apply. */
24657 #ifdef __cplusplus
24658 extern "C"
24659 #endif
24660 char hypotl ();
24662 main ()
24664 return hypotl ();
24666 return 0;
24668 _ACEOF
24669 rm -f conftest.$ac_objext conftest$ac_exeext
24670 if { (ac_try="$ac_link"
24671 case "(($ac_try" in
24672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24673 *) ac_try_echo=$ac_try;;
24674 esac
24675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24676 (eval "$ac_link") 2>conftest.er1
24677 ac_status=$?
24678 grep -v '^ *+' conftest.er1 >conftest.err
24679 rm -f conftest.er1
24680 cat conftest.err >&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && {
24683 test -z "$ac_c_werror_flag" ||
24684 test ! -s conftest.err
24685 } && test -s conftest$ac_exeext &&
24686 $as_test_x conftest$ac_exeext; then
24687 ac_cv_lib_m_hypotl=yes
24688 else
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24692 ac_cv_lib_m_hypotl=no
24695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24696 conftest$ac_exeext conftest.$ac_ext
24697 LIBS=$ac_check_lib_save_LIBS
24699 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24700 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6; }
24701 if test $ac_cv_lib_m_hypotl = yes; then
24703 cat >>confdefs.h <<\_ACEOF
24704 #define HAVE_HYPOTL 1
24705 _ACEOF
24709 { echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24710 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6; }
24711 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 else
24714 ac_check_lib_save_LIBS=$LIBS
24715 LIBS="-lm $LIBS"
24716 if test x$gcc_no_link = xyes; then
24717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24719 { (exit 1); exit 1; }; }
24721 cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h. */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 /* Override any GCC internal prototype to avoid an error.
24729 Use char because int might match the return type of a GCC
24730 builtin and then its argument prototype would still apply. */
24731 #ifdef __cplusplus
24732 extern "C"
24733 #endif
24734 char ldexpf ();
24736 main ()
24738 return ldexpf ();
24740 return 0;
24742 _ACEOF
24743 rm -f conftest.$ac_objext conftest$ac_exeext
24744 if { (ac_try="$ac_link"
24745 case "(($ac_try" in
24746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24747 *) ac_try_echo=$ac_try;;
24748 esac
24749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24750 (eval "$ac_link") 2>conftest.er1
24751 ac_status=$?
24752 grep -v '^ *+' conftest.er1 >conftest.err
24753 rm -f conftest.er1
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } && {
24757 test -z "$ac_c_werror_flag" ||
24758 test ! -s conftest.err
24759 } && test -s conftest$ac_exeext &&
24760 $as_test_x conftest$ac_exeext; then
24761 ac_cv_lib_m_ldexpf=yes
24762 else
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24766 ac_cv_lib_m_ldexpf=no
24769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24770 conftest$ac_exeext conftest.$ac_ext
24771 LIBS=$ac_check_lib_save_LIBS
24773 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24774 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6; }
24775 if test $ac_cv_lib_m_ldexpf = yes; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_LDEXPF 1
24779 _ACEOF
24783 { echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24784 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6; }
24785 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 ac_check_lib_save_LIBS=$LIBS
24789 LIBS="-lm $LIBS"
24790 if test x$gcc_no_link = xyes; then
24791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24793 { (exit 1); exit 1; }; }
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24802 /* Override any GCC internal prototype to avoid an error.
24803 Use char because int might match the return type of a GCC
24804 builtin and then its argument prototype would still apply. */
24805 #ifdef __cplusplus
24806 extern "C"
24807 #endif
24808 char ldexp ();
24810 main ()
24812 return ldexp ();
24814 return 0;
24816 _ACEOF
24817 rm -f conftest.$ac_objext conftest$ac_exeext
24818 if { (ac_try="$ac_link"
24819 case "(($ac_try" in
24820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24821 *) ac_try_echo=$ac_try;;
24822 esac
24823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24824 (eval "$ac_link") 2>conftest.er1
24825 ac_status=$?
24826 grep -v '^ *+' conftest.er1 >conftest.err
24827 rm -f conftest.er1
24828 cat conftest.err >&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && {
24831 test -z "$ac_c_werror_flag" ||
24832 test ! -s conftest.err
24833 } && test -s conftest$ac_exeext &&
24834 $as_test_x conftest$ac_exeext; then
24835 ac_cv_lib_m_ldexp=yes
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24840 ac_cv_lib_m_ldexp=no
24843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24844 conftest$ac_exeext conftest.$ac_ext
24845 LIBS=$ac_check_lib_save_LIBS
24847 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24848 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6; }
24849 if test $ac_cv_lib_m_ldexp = yes; then
24851 cat >>confdefs.h <<\_ACEOF
24852 #define HAVE_LDEXP 1
24853 _ACEOF
24857 { echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24858 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6; }
24859 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24860 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 else
24862 ac_check_lib_save_LIBS=$LIBS
24863 LIBS="-lm $LIBS"
24864 if test x$gcc_no_link = xyes; then
24865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24867 { (exit 1); exit 1; }; }
24869 cat >conftest.$ac_ext <<_ACEOF
24870 /* confdefs.h. */
24871 _ACEOF
24872 cat confdefs.h >>conftest.$ac_ext
24873 cat >>conftest.$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24876 /* Override any GCC internal prototype to avoid an error.
24877 Use char because int might match the return type of a GCC
24878 builtin and then its argument prototype would still apply. */
24879 #ifdef __cplusplus
24880 extern "C"
24881 #endif
24882 char ldexpl ();
24884 main ()
24886 return ldexpl ();
24888 return 0;
24890 _ACEOF
24891 rm -f conftest.$ac_objext conftest$ac_exeext
24892 if { (ac_try="$ac_link"
24893 case "(($ac_try" in
24894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24895 *) ac_try_echo=$ac_try;;
24896 esac
24897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24898 (eval "$ac_link") 2>conftest.er1
24899 ac_status=$?
24900 grep -v '^ *+' conftest.er1 >conftest.err
24901 rm -f conftest.er1
24902 cat conftest.err >&5
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); } && {
24905 test -z "$ac_c_werror_flag" ||
24906 test ! -s conftest.err
24907 } && test -s conftest$ac_exeext &&
24908 $as_test_x conftest$ac_exeext; then
24909 ac_cv_lib_m_ldexpl=yes
24910 else
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.$ac_ext >&5
24914 ac_cv_lib_m_ldexpl=no
24917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24918 conftest$ac_exeext conftest.$ac_ext
24919 LIBS=$ac_check_lib_save_LIBS
24921 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24922 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6; }
24923 if test $ac_cv_lib_m_ldexpl = yes; then
24925 cat >>confdefs.h <<\_ACEOF
24926 #define HAVE_LDEXPL 1
24927 _ACEOF
24931 { echo "$as_me:$LINENO: checking for logf in -lm" >&5
24932 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6; }
24933 if test "${ac_cv_lib_m_logf+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24935 else
24936 ac_check_lib_save_LIBS=$LIBS
24937 LIBS="-lm $LIBS"
24938 if test x$gcc_no_link = xyes; then
24939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24941 { (exit 1); exit 1; }; }
24943 cat >conftest.$ac_ext <<_ACEOF
24944 /* confdefs.h. */
24945 _ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24950 /* Override any GCC internal prototype to avoid an error.
24951 Use char because int might match the return type of a GCC
24952 builtin and then its argument prototype would still apply. */
24953 #ifdef __cplusplus
24954 extern "C"
24955 #endif
24956 char logf ();
24958 main ()
24960 return logf ();
24962 return 0;
24964 _ACEOF
24965 rm -f conftest.$ac_objext conftest$ac_exeext
24966 if { (ac_try="$ac_link"
24967 case "(($ac_try" in
24968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24969 *) ac_try_echo=$ac_try;;
24970 esac
24971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24972 (eval "$ac_link") 2>conftest.er1
24973 ac_status=$?
24974 grep -v '^ *+' conftest.er1 >conftest.err
24975 rm -f conftest.er1
24976 cat conftest.err >&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); } && {
24979 test -z "$ac_c_werror_flag" ||
24980 test ! -s conftest.err
24981 } && test -s conftest$ac_exeext &&
24982 $as_test_x conftest$ac_exeext; then
24983 ac_cv_lib_m_logf=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24988 ac_cv_lib_m_logf=no
24991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24992 conftest$ac_exeext conftest.$ac_ext
24993 LIBS=$ac_check_lib_save_LIBS
24995 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24996 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6; }
24997 if test $ac_cv_lib_m_logf = yes; then
24999 cat >>confdefs.h <<\_ACEOF
25000 #define HAVE_LOGF 1
25001 _ACEOF
25005 { echo "$as_me:$LINENO: checking for log in -lm" >&5
25006 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; }
25007 if test "${ac_cv_lib_m_log+set}" = set; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25010 ac_check_lib_save_LIBS=$LIBS
25011 LIBS="-lm $LIBS"
25012 if test x$gcc_no_link = xyes; then
25013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25015 { (exit 1); exit 1; }; }
25017 cat >conftest.$ac_ext <<_ACEOF
25018 /* confdefs.h. */
25019 _ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25024 /* Override any GCC internal prototype to avoid an error.
25025 Use char because int might match the return type of a GCC
25026 builtin and then its argument prototype would still apply. */
25027 #ifdef __cplusplus
25028 extern "C"
25029 #endif
25030 char log ();
25032 main ()
25034 return log ();
25036 return 0;
25038 _ACEOF
25039 rm -f conftest.$ac_objext conftest$ac_exeext
25040 if { (ac_try="$ac_link"
25041 case "(($ac_try" in
25042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25043 *) ac_try_echo=$ac_try;;
25044 esac
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_link") 2>conftest.er1
25047 ac_status=$?
25048 grep -v '^ *+' conftest.er1 >conftest.err
25049 rm -f conftest.er1
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_c_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest$ac_exeext &&
25056 $as_test_x conftest$ac_exeext; then
25057 ac_cv_lib_m_log=yes
25058 else
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.$ac_ext >&5
25062 ac_cv_lib_m_log=no
25065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25066 conftest$ac_exeext conftest.$ac_ext
25067 LIBS=$ac_check_lib_save_LIBS
25069 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25070 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; }
25071 if test $ac_cv_lib_m_log = yes; then
25073 cat >>confdefs.h <<\_ACEOF
25074 #define HAVE_LOG 1
25075 _ACEOF
25079 { echo "$as_me:$LINENO: checking for logl in -lm" >&5
25080 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6; }
25081 if test "${ac_cv_lib_m_logl+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084 ac_check_lib_save_LIBS=$LIBS
25085 LIBS="-lm $LIBS"
25086 if test x$gcc_no_link = xyes; then
25087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25089 { (exit 1); exit 1; }; }
25091 cat >conftest.$ac_ext <<_ACEOF
25092 /* confdefs.h. */
25093 _ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25098 /* Override any GCC internal prototype to avoid an error.
25099 Use char because int might match the return type of a GCC
25100 builtin and then its argument prototype would still apply. */
25101 #ifdef __cplusplus
25102 extern "C"
25103 #endif
25104 char logl ();
25106 main ()
25108 return logl ();
25110 return 0;
25112 _ACEOF
25113 rm -f conftest.$ac_objext conftest$ac_exeext
25114 if { (ac_try="$ac_link"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25118 esac
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_link") 2>conftest.er1
25121 ac_status=$?
25122 grep -v '^ *+' conftest.er1 >conftest.err
25123 rm -f conftest.er1
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_c_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest$ac_exeext &&
25130 $as_test_x conftest$ac_exeext; then
25131 ac_cv_lib_m_logl=yes
25132 else
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25136 ac_cv_lib_m_logl=no
25139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25140 conftest$ac_exeext conftest.$ac_ext
25141 LIBS=$ac_check_lib_save_LIBS
25143 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25144 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6; }
25145 if test $ac_cv_lib_m_logl = yes; then
25147 cat >>confdefs.h <<\_ACEOF
25148 #define HAVE_LOGL 1
25149 _ACEOF
25153 { echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25154 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6; }
25155 if test "${ac_cv_lib_m_clogf+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 else
25158 ac_check_lib_save_LIBS=$LIBS
25159 LIBS="-lm $LIBS"
25160 if test x$gcc_no_link = xyes; then
25161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25163 { (exit 1); exit 1; }; }
25165 cat >conftest.$ac_ext <<_ACEOF
25166 /* confdefs.h. */
25167 _ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25172 /* Override any GCC internal prototype to avoid an error.
25173 Use char because int might match the return type of a GCC
25174 builtin and then its argument prototype would still apply. */
25175 #ifdef __cplusplus
25176 extern "C"
25177 #endif
25178 char clogf ();
25180 main ()
25182 return clogf ();
25184 return 0;
25186 _ACEOF
25187 rm -f conftest.$ac_objext conftest$ac_exeext
25188 if { (ac_try="$ac_link"
25189 case "(($ac_try" in
25190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25191 *) ac_try_echo=$ac_try;;
25192 esac
25193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25194 (eval "$ac_link") 2>conftest.er1
25195 ac_status=$?
25196 grep -v '^ *+' conftest.er1 >conftest.err
25197 rm -f conftest.er1
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } && {
25201 test -z "$ac_c_werror_flag" ||
25202 test ! -s conftest.err
25203 } && test -s conftest$ac_exeext &&
25204 $as_test_x conftest$ac_exeext; then
25205 ac_cv_lib_m_clogf=yes
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25210 ac_cv_lib_m_clogf=no
25213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25214 conftest$ac_exeext conftest.$ac_ext
25215 LIBS=$ac_check_lib_save_LIBS
25217 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25218 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6; }
25219 if test $ac_cv_lib_m_clogf = yes; then
25221 cat >>confdefs.h <<\_ACEOF
25222 #define HAVE_CLOGF 1
25223 _ACEOF
25227 { echo "$as_me:$LINENO: checking for clog in -lm" >&5
25228 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6; }
25229 if test "${ac_cv_lib_m_clog+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232 ac_check_lib_save_LIBS=$LIBS
25233 LIBS="-lm $LIBS"
25234 if test x$gcc_no_link = xyes; then
25235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25237 { (exit 1); exit 1; }; }
25239 cat >conftest.$ac_ext <<_ACEOF
25240 /* confdefs.h. */
25241 _ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25246 /* Override any GCC internal prototype to avoid an error.
25247 Use char because int might match the return type of a GCC
25248 builtin and then its argument prototype would still apply. */
25249 #ifdef __cplusplus
25250 extern "C"
25251 #endif
25252 char clog ();
25254 main ()
25256 return clog ();
25258 return 0;
25260 _ACEOF
25261 rm -f conftest.$ac_objext conftest$ac_exeext
25262 if { (ac_try="$ac_link"
25263 case "(($ac_try" in
25264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25265 *) ac_try_echo=$ac_try;;
25266 esac
25267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25268 (eval "$ac_link") 2>conftest.er1
25269 ac_status=$?
25270 grep -v '^ *+' conftest.er1 >conftest.err
25271 rm -f conftest.er1
25272 cat conftest.err >&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); } && {
25275 test -z "$ac_c_werror_flag" ||
25276 test ! -s conftest.err
25277 } && test -s conftest$ac_exeext &&
25278 $as_test_x conftest$ac_exeext; then
25279 ac_cv_lib_m_clog=yes
25280 else
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.$ac_ext >&5
25284 ac_cv_lib_m_clog=no
25287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25288 conftest$ac_exeext conftest.$ac_ext
25289 LIBS=$ac_check_lib_save_LIBS
25291 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25292 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6; }
25293 if test $ac_cv_lib_m_clog = yes; then
25295 cat >>confdefs.h <<\_ACEOF
25296 #define HAVE_CLOG 1
25297 _ACEOF
25301 { echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25302 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6; }
25303 if test "${ac_cv_lib_m_clogl+set}" = set; then
25304 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 else
25306 ac_check_lib_save_LIBS=$LIBS
25307 LIBS="-lm $LIBS"
25308 if test x$gcc_no_link = xyes; then
25309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25311 { (exit 1); exit 1; }; }
25313 cat >conftest.$ac_ext <<_ACEOF
25314 /* confdefs.h. */
25315 _ACEOF
25316 cat confdefs.h >>conftest.$ac_ext
25317 cat >>conftest.$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25320 /* Override any GCC internal prototype to avoid an error.
25321 Use char because int might match the return type of a GCC
25322 builtin and then its argument prototype would still apply. */
25323 #ifdef __cplusplus
25324 extern "C"
25325 #endif
25326 char clogl ();
25328 main ()
25330 return clogl ();
25332 return 0;
25334 _ACEOF
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (ac_try="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25340 esac
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>conftest.er1
25343 ac_status=$?
25344 grep -v '^ *+' conftest.er1 >conftest.err
25345 rm -f conftest.er1
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_c_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest$ac_exeext &&
25352 $as_test_x conftest$ac_exeext; then
25353 ac_cv_lib_m_clogl=yes
25354 else
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25358 ac_cv_lib_m_clogl=no
25361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25362 conftest$ac_exeext conftest.$ac_ext
25363 LIBS=$ac_check_lib_save_LIBS
25365 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25366 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6; }
25367 if test $ac_cv_lib_m_clogl = yes; then
25369 cat >>confdefs.h <<\_ACEOF
25370 #define HAVE_CLOGL 1
25371 _ACEOF
25375 { echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25376 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6; }
25377 if test "${ac_cv_lib_m_log10f+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25380 ac_check_lib_save_LIBS=$LIBS
25381 LIBS="-lm $LIBS"
25382 if test x$gcc_no_link = xyes; then
25383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25385 { (exit 1); exit 1; }; }
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25394 /* Override any GCC internal prototype to avoid an error.
25395 Use char because int might match the return type of a GCC
25396 builtin and then its argument prototype would still apply. */
25397 #ifdef __cplusplus
25398 extern "C"
25399 #endif
25400 char log10f ();
25402 main ()
25404 return log10f ();
25406 return 0;
25408 _ACEOF
25409 rm -f conftest.$ac_objext conftest$ac_exeext
25410 if { (ac_try="$ac_link"
25411 case "(($ac_try" in
25412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25413 *) ac_try_echo=$ac_try;;
25414 esac
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416 (eval "$ac_link") 2>conftest.er1
25417 ac_status=$?
25418 grep -v '^ *+' conftest.er1 >conftest.err
25419 rm -f conftest.er1
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } && {
25423 test -z "$ac_c_werror_flag" ||
25424 test ! -s conftest.err
25425 } && test -s conftest$ac_exeext &&
25426 $as_test_x conftest$ac_exeext; then
25427 ac_cv_lib_m_log10f=yes
25428 else
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.$ac_ext >&5
25432 ac_cv_lib_m_log10f=no
25435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25436 conftest$ac_exeext conftest.$ac_ext
25437 LIBS=$ac_check_lib_save_LIBS
25439 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25440 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6; }
25441 if test $ac_cv_lib_m_log10f = yes; then
25443 cat >>confdefs.h <<\_ACEOF
25444 #define HAVE_LOG10F 1
25445 _ACEOF
25449 { echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25450 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6; }
25451 if test "${ac_cv_lib_m_log10+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25453 else
25454 ac_check_lib_save_LIBS=$LIBS
25455 LIBS="-lm $LIBS"
25456 if test x$gcc_no_link = xyes; then
25457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25459 { (exit 1); exit 1; }; }
25461 cat >conftest.$ac_ext <<_ACEOF
25462 /* confdefs.h. */
25463 _ACEOF
25464 cat confdefs.h >>conftest.$ac_ext
25465 cat >>conftest.$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25468 /* Override any GCC internal prototype to avoid an error.
25469 Use char because int might match the return type of a GCC
25470 builtin and then its argument prototype would still apply. */
25471 #ifdef __cplusplus
25472 extern "C"
25473 #endif
25474 char log10 ();
25476 main ()
25478 return log10 ();
25480 return 0;
25482 _ACEOF
25483 rm -f conftest.$ac_objext conftest$ac_exeext
25484 if { (ac_try="$ac_link"
25485 case "(($ac_try" in
25486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25487 *) ac_try_echo=$ac_try;;
25488 esac
25489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25490 (eval "$ac_link") 2>conftest.er1
25491 ac_status=$?
25492 grep -v '^ *+' conftest.er1 >conftest.err
25493 rm -f conftest.er1
25494 cat conftest.err >&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } && {
25497 test -z "$ac_c_werror_flag" ||
25498 test ! -s conftest.err
25499 } && test -s conftest$ac_exeext &&
25500 $as_test_x conftest$ac_exeext; then
25501 ac_cv_lib_m_log10=yes
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 ac_cv_lib_m_log10=no
25509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25510 conftest$ac_exeext conftest.$ac_ext
25511 LIBS=$ac_check_lib_save_LIBS
25513 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25514 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6; }
25515 if test $ac_cv_lib_m_log10 = yes; then
25517 cat >>confdefs.h <<\_ACEOF
25518 #define HAVE_LOG10 1
25519 _ACEOF
25523 { echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25524 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6; }
25525 if test "${ac_cv_lib_m_log10l+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25528 ac_check_lib_save_LIBS=$LIBS
25529 LIBS="-lm $LIBS"
25530 if test x$gcc_no_link = xyes; then
25531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25533 { (exit 1); exit 1; }; }
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h. */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25542 /* Override any GCC internal prototype to avoid an error.
25543 Use char because int might match the return type of a GCC
25544 builtin and then its argument prototype would still apply. */
25545 #ifdef __cplusplus
25546 extern "C"
25547 #endif
25548 char log10l ();
25550 main ()
25552 return log10l ();
25554 return 0;
25556 _ACEOF
25557 rm -f conftest.$ac_objext conftest$ac_exeext
25558 if { (ac_try="$ac_link"
25559 case "(($ac_try" in
25560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25561 *) ac_try_echo=$ac_try;;
25562 esac
25563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25564 (eval "$ac_link") 2>conftest.er1
25565 ac_status=$?
25566 grep -v '^ *+' conftest.er1 >conftest.err
25567 rm -f conftest.er1
25568 cat conftest.err >&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); } && {
25571 test -z "$ac_c_werror_flag" ||
25572 test ! -s conftest.err
25573 } && test -s conftest$ac_exeext &&
25574 $as_test_x conftest$ac_exeext; then
25575 ac_cv_lib_m_log10l=yes
25576 else
25577 echo "$as_me: failed program was:" >&5
25578 sed 's/^/| /' conftest.$ac_ext >&5
25580 ac_cv_lib_m_log10l=no
25583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25584 conftest$ac_exeext conftest.$ac_ext
25585 LIBS=$ac_check_lib_save_LIBS
25587 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25588 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6; }
25589 if test $ac_cv_lib_m_log10l = yes; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define HAVE_LOG10L 1
25593 _ACEOF
25597 { echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25598 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6; }
25599 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 else
25602 ac_check_lib_save_LIBS=$LIBS
25603 LIBS="-lm $LIBS"
25604 if test x$gcc_no_link = xyes; then
25605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25607 { (exit 1); exit 1; }; }
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25616 /* Override any GCC internal prototype to avoid an error.
25617 Use char because int might match the return type of a GCC
25618 builtin and then its argument prototype would still apply. */
25619 #ifdef __cplusplus
25620 extern "C"
25621 #endif
25622 char clog10f ();
25624 main ()
25626 return clog10f ();
25628 return 0;
25630 _ACEOF
25631 rm -f conftest.$ac_objext conftest$ac_exeext
25632 if { (ac_try="$ac_link"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25636 esac
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_link") 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest$ac_exeext &&
25648 $as_test_x conftest$ac_exeext; then
25649 ac_cv_lib_m_clog10f=yes
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25654 ac_cv_lib_m_clog10f=no
25657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25658 conftest$ac_exeext conftest.$ac_ext
25659 LIBS=$ac_check_lib_save_LIBS
25661 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25662 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6; }
25663 if test $ac_cv_lib_m_clog10f = yes; then
25665 cat >>confdefs.h <<\_ACEOF
25666 #define HAVE_CLOG10F 1
25667 _ACEOF
25671 { echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25672 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6; }
25673 if test "${ac_cv_lib_m_clog10+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676 ac_check_lib_save_LIBS=$LIBS
25677 LIBS="-lm $LIBS"
25678 if test x$gcc_no_link = xyes; then
25679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25681 { (exit 1); exit 1; }; }
25683 cat >conftest.$ac_ext <<_ACEOF
25684 /* confdefs.h. */
25685 _ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25690 /* Override any GCC internal prototype to avoid an error.
25691 Use char because int might match the return type of a GCC
25692 builtin and then its argument prototype would still apply. */
25693 #ifdef __cplusplus
25694 extern "C"
25695 #endif
25696 char clog10 ();
25698 main ()
25700 return clog10 ();
25702 return 0;
25704 _ACEOF
25705 rm -f conftest.$ac_objext conftest$ac_exeext
25706 if { (ac_try="$ac_link"
25707 case "(($ac_try" in
25708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25709 *) ac_try_echo=$ac_try;;
25710 esac
25711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25712 (eval "$ac_link") 2>conftest.er1
25713 ac_status=$?
25714 grep -v '^ *+' conftest.er1 >conftest.err
25715 rm -f conftest.er1
25716 cat conftest.err >&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } && {
25719 test -z "$ac_c_werror_flag" ||
25720 test ! -s conftest.err
25721 } && test -s conftest$ac_exeext &&
25722 $as_test_x conftest$ac_exeext; then
25723 ac_cv_lib_m_clog10=yes
25724 else
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25728 ac_cv_lib_m_clog10=no
25731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25732 conftest$ac_exeext conftest.$ac_ext
25733 LIBS=$ac_check_lib_save_LIBS
25735 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25736 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6; }
25737 if test $ac_cv_lib_m_clog10 = yes; then
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_CLOG10 1
25741 _ACEOF
25745 { echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25746 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6; }
25747 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750 ac_check_lib_save_LIBS=$LIBS
25751 LIBS="-lm $LIBS"
25752 if test x$gcc_no_link = xyes; then
25753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25755 { (exit 1); exit 1; }; }
25757 cat >conftest.$ac_ext <<_ACEOF
25758 /* confdefs.h. */
25759 _ACEOF
25760 cat confdefs.h >>conftest.$ac_ext
25761 cat >>conftest.$ac_ext <<_ACEOF
25762 /* end confdefs.h. */
25764 /* Override any GCC internal prototype to avoid an error.
25765 Use char because int might match the return type of a GCC
25766 builtin and then its argument prototype would still apply. */
25767 #ifdef __cplusplus
25768 extern "C"
25769 #endif
25770 char clog10l ();
25772 main ()
25774 return clog10l ();
25776 return 0;
25778 _ACEOF
25779 rm -f conftest.$ac_objext conftest$ac_exeext
25780 if { (ac_try="$ac_link"
25781 case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25784 esac
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_link") 2>conftest.er1
25787 ac_status=$?
25788 grep -v '^ *+' conftest.er1 >conftest.err
25789 rm -f conftest.er1
25790 cat conftest.err >&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); } && {
25793 test -z "$ac_c_werror_flag" ||
25794 test ! -s conftest.err
25795 } && test -s conftest$ac_exeext &&
25796 $as_test_x conftest$ac_exeext; then
25797 ac_cv_lib_m_clog10l=yes
25798 else
25799 echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.$ac_ext >&5
25802 ac_cv_lib_m_clog10l=no
25805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25806 conftest$ac_exeext conftest.$ac_ext
25807 LIBS=$ac_check_lib_save_LIBS
25809 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25810 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6; }
25811 if test $ac_cv_lib_m_clog10l = yes; then
25813 cat >>confdefs.h <<\_ACEOF
25814 #define HAVE_CLOG10L 1
25815 _ACEOF
25819 { echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25820 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6; }
25821 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 ac_check_lib_save_LIBS=$LIBS
25825 LIBS="-lm $LIBS"
25826 if test x$gcc_no_link = xyes; then
25827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25829 { (exit 1); exit 1; }; }
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25838 /* Override any GCC internal prototype to avoid an error.
25839 Use char because int might match the return type of a GCC
25840 builtin and then its argument prototype would still apply. */
25841 #ifdef __cplusplus
25842 extern "C"
25843 #endif
25844 char nextafterf ();
25846 main ()
25848 return nextafterf ();
25850 return 0;
25852 _ACEOF
25853 rm -f conftest.$ac_objext conftest$ac_exeext
25854 if { (ac_try="$ac_link"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25858 esac
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_link") 2>conftest.er1
25861 ac_status=$?
25862 grep -v '^ *+' conftest.er1 >conftest.err
25863 rm -f conftest.er1
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest$ac_exeext &&
25870 $as_test_x conftest$ac_exeext; then
25871 ac_cv_lib_m_nextafterf=yes
25872 else
25873 echo "$as_me: failed program was:" >&5
25874 sed 's/^/| /' conftest.$ac_ext >&5
25876 ac_cv_lib_m_nextafterf=no
25879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25880 conftest$ac_exeext conftest.$ac_ext
25881 LIBS=$ac_check_lib_save_LIBS
25883 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25884 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6; }
25885 if test $ac_cv_lib_m_nextafterf = yes; then
25887 cat >>confdefs.h <<\_ACEOF
25888 #define HAVE_NEXTAFTERF 1
25889 _ACEOF
25893 { echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25894 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6; }
25895 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 else
25898 ac_check_lib_save_LIBS=$LIBS
25899 LIBS="-lm $LIBS"
25900 if test x$gcc_no_link = xyes; then
25901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25903 { (exit 1); exit 1; }; }
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25912 /* Override any GCC internal prototype to avoid an error.
25913 Use char because int might match the return type of a GCC
25914 builtin and then its argument prototype would still apply. */
25915 #ifdef __cplusplus
25916 extern "C"
25917 #endif
25918 char nextafter ();
25920 main ()
25922 return nextafter ();
25924 return 0;
25926 _ACEOF
25927 rm -f conftest.$ac_objext conftest$ac_exeext
25928 if { (ac_try="$ac_link"
25929 case "(($ac_try" in
25930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25931 *) ac_try_echo=$ac_try;;
25932 esac
25933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25934 (eval "$ac_link") 2>conftest.er1
25935 ac_status=$?
25936 grep -v '^ *+' conftest.er1 >conftest.err
25937 rm -f conftest.er1
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } && {
25941 test -z "$ac_c_werror_flag" ||
25942 test ! -s conftest.err
25943 } && test -s conftest$ac_exeext &&
25944 $as_test_x conftest$ac_exeext; then
25945 ac_cv_lib_m_nextafter=yes
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25950 ac_cv_lib_m_nextafter=no
25953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25954 conftest$ac_exeext conftest.$ac_ext
25955 LIBS=$ac_check_lib_save_LIBS
25957 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25958 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6; }
25959 if test $ac_cv_lib_m_nextafter = yes; then
25961 cat >>confdefs.h <<\_ACEOF
25962 #define HAVE_NEXTAFTER 1
25963 _ACEOF
25967 { echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25968 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6; }
25969 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25971 else
25972 ac_check_lib_save_LIBS=$LIBS
25973 LIBS="-lm $LIBS"
25974 if test x$gcc_no_link = xyes; then
25975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25977 { (exit 1); exit 1; }; }
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25986 /* Override any GCC internal prototype to avoid an error.
25987 Use char because int might match the return type of a GCC
25988 builtin and then its argument prototype would still apply. */
25989 #ifdef __cplusplus
25990 extern "C"
25991 #endif
25992 char nextafterl ();
25994 main ()
25996 return nextafterl ();
25998 return 0;
26000 _ACEOF
26001 rm -f conftest.$ac_objext conftest$ac_exeext
26002 if { (ac_try="$ac_link"
26003 case "(($ac_try" in
26004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26005 *) ac_try_echo=$ac_try;;
26006 esac
26007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26008 (eval "$ac_link") 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } && {
26015 test -z "$ac_c_werror_flag" ||
26016 test ! -s conftest.err
26017 } && test -s conftest$ac_exeext &&
26018 $as_test_x conftest$ac_exeext; then
26019 ac_cv_lib_m_nextafterl=yes
26020 else
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26024 ac_cv_lib_m_nextafterl=no
26027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26028 conftest$ac_exeext conftest.$ac_ext
26029 LIBS=$ac_check_lib_save_LIBS
26031 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26032 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6; }
26033 if test $ac_cv_lib_m_nextafterl = yes; then
26035 cat >>confdefs.h <<\_ACEOF
26036 #define HAVE_NEXTAFTERL 1
26037 _ACEOF
26041 { echo "$as_me:$LINENO: checking for powf in -lm" >&5
26042 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6; }
26043 if test "${ac_cv_lib_m_powf+set}" = set; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26045 else
26046 ac_check_lib_save_LIBS=$LIBS
26047 LIBS="-lm $LIBS"
26048 if test x$gcc_no_link = xyes; then
26049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26051 { (exit 1); exit 1; }; }
26053 cat >conftest.$ac_ext <<_ACEOF
26054 /* confdefs.h. */
26055 _ACEOF
26056 cat confdefs.h >>conftest.$ac_ext
26057 cat >>conftest.$ac_ext <<_ACEOF
26058 /* end confdefs.h. */
26060 /* Override any GCC internal prototype to avoid an error.
26061 Use char because int might match the return type of a GCC
26062 builtin and then its argument prototype would still apply. */
26063 #ifdef __cplusplus
26064 extern "C"
26065 #endif
26066 char powf ();
26068 main ()
26070 return powf ();
26072 return 0;
26074 _ACEOF
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26080 esac
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26083 ac_status=$?
26084 grep -v '^ *+' conftest.er1 >conftest.err
26085 rm -f conftest.er1
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 ac_cv_lib_m_powf=yes
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26098 ac_cv_lib_m_powf=no
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26103 LIBS=$ac_check_lib_save_LIBS
26105 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26106 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6; }
26107 if test $ac_cv_lib_m_powf = yes; then
26109 cat >>confdefs.h <<\_ACEOF
26110 #define HAVE_POWF 1
26111 _ACEOF
26115 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
26116 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
26117 if test "${ac_cv_lib_m_pow+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 else
26120 ac_check_lib_save_LIBS=$LIBS
26121 LIBS="-lm $LIBS"
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26134 /* Override any GCC internal prototype to avoid an error.
26135 Use char because int might match the return type of a GCC
26136 builtin and then its argument prototype would still apply. */
26137 #ifdef __cplusplus
26138 extern "C"
26139 #endif
26140 char pow ();
26142 main ()
26144 return pow ();
26146 return 0;
26148 _ACEOF
26149 rm -f conftest.$ac_objext conftest$ac_exeext
26150 if { (ac_try="$ac_link"
26151 case "(($ac_try" in
26152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26153 *) ac_try_echo=$ac_try;;
26154 esac
26155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26156 (eval "$ac_link") 2>conftest.er1
26157 ac_status=$?
26158 grep -v '^ *+' conftest.er1 >conftest.err
26159 rm -f conftest.er1
26160 cat conftest.err >&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } && {
26163 test -z "$ac_c_werror_flag" ||
26164 test ! -s conftest.err
26165 } && test -s conftest$ac_exeext &&
26166 $as_test_x conftest$ac_exeext; then
26167 ac_cv_lib_m_pow=yes
26168 else
26169 echo "$as_me: failed program was:" >&5
26170 sed 's/^/| /' conftest.$ac_ext >&5
26172 ac_cv_lib_m_pow=no
26175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26176 conftest$ac_exeext conftest.$ac_ext
26177 LIBS=$ac_check_lib_save_LIBS
26179 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26180 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
26181 if test $ac_cv_lib_m_pow = yes; then
26183 cat >>confdefs.h <<\_ACEOF
26184 #define HAVE_POW 1
26185 _ACEOF
26189 { echo "$as_me:$LINENO: checking for powl in -lm" >&5
26190 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6; }
26191 if test "${ac_cv_lib_m_powl+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194 ac_check_lib_save_LIBS=$LIBS
26195 LIBS="-lm $LIBS"
26196 if test x$gcc_no_link = xyes; then
26197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26199 { (exit 1); exit 1; }; }
26201 cat >conftest.$ac_ext <<_ACEOF
26202 /* confdefs.h. */
26203 _ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26208 /* Override any GCC internal prototype to avoid an error.
26209 Use char because int might match the return type of a GCC
26210 builtin and then its argument prototype would still apply. */
26211 #ifdef __cplusplus
26212 extern "C"
26213 #endif
26214 char powl ();
26216 main ()
26218 return powl ();
26220 return 0;
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (ac_try="$ac_link"
26225 case "(($ac_try" in
26226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26227 *) ac_try_echo=$ac_try;;
26228 esac
26229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26230 (eval "$ac_link") 2>conftest.er1
26231 ac_status=$?
26232 grep -v '^ *+' conftest.er1 >conftest.err
26233 rm -f conftest.er1
26234 cat conftest.err >&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); } && {
26237 test -z "$ac_c_werror_flag" ||
26238 test ! -s conftest.err
26239 } && test -s conftest$ac_exeext &&
26240 $as_test_x conftest$ac_exeext; then
26241 ac_cv_lib_m_powl=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26246 ac_cv_lib_m_powl=no
26249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26250 conftest$ac_exeext conftest.$ac_ext
26251 LIBS=$ac_check_lib_save_LIBS
26253 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26254 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6; }
26255 if test $ac_cv_lib_m_powl = yes; then
26257 cat >>confdefs.h <<\_ACEOF
26258 #define HAVE_POWL 1
26259 _ACEOF
26263 { echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26264 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6; }
26265 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26267 else
26268 ac_check_lib_save_LIBS=$LIBS
26269 LIBS="-lm $LIBS"
26270 if test x$gcc_no_link = xyes; then
26271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26273 { (exit 1); exit 1; }; }
26275 cat >conftest.$ac_ext <<_ACEOF
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26282 /* Override any GCC internal prototype to avoid an error.
26283 Use char because int might match the return type of a GCC
26284 builtin and then its argument prototype would still apply. */
26285 #ifdef __cplusplus
26286 extern "C"
26287 #endif
26288 char cpowf ();
26290 main ()
26292 return cpowf ();
26294 return 0;
26296 _ACEOF
26297 rm -f conftest.$ac_objext conftest$ac_exeext
26298 if { (ac_try="$ac_link"
26299 case "(($ac_try" in
26300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26301 *) ac_try_echo=$ac_try;;
26302 esac
26303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26304 (eval "$ac_link") 2>conftest.er1
26305 ac_status=$?
26306 grep -v '^ *+' conftest.er1 >conftest.err
26307 rm -f conftest.er1
26308 cat conftest.err >&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } && {
26311 test -z "$ac_c_werror_flag" ||
26312 test ! -s conftest.err
26313 } && test -s conftest$ac_exeext &&
26314 $as_test_x conftest$ac_exeext; then
26315 ac_cv_lib_m_cpowf=yes
26316 else
26317 echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.$ac_ext >&5
26320 ac_cv_lib_m_cpowf=no
26323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26324 conftest$ac_exeext conftest.$ac_ext
26325 LIBS=$ac_check_lib_save_LIBS
26327 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26328 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6; }
26329 if test $ac_cv_lib_m_cpowf = yes; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE_CPOWF 1
26333 _ACEOF
26337 { echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26338 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6; }
26339 if test "${ac_cv_lib_m_cpow+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 else
26342 ac_check_lib_save_LIBS=$LIBS
26343 LIBS="-lm $LIBS"
26344 if test x$gcc_no_link = xyes; then
26345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26347 { (exit 1); exit 1; }; }
26349 cat >conftest.$ac_ext <<_ACEOF
26350 /* confdefs.h. */
26351 _ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26356 /* Override any GCC internal prototype to avoid an error.
26357 Use char because int might match the return type of a GCC
26358 builtin and then its argument prototype would still apply. */
26359 #ifdef __cplusplus
26360 extern "C"
26361 #endif
26362 char cpow ();
26364 main ()
26366 return cpow ();
26368 return 0;
26370 _ACEOF
26371 rm -f conftest.$ac_objext conftest$ac_exeext
26372 if { (ac_try="$ac_link"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26376 esac
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_link") 2>conftest.er1
26379 ac_status=$?
26380 grep -v '^ *+' conftest.er1 >conftest.err
26381 rm -f conftest.er1
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_c_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest$ac_exeext &&
26388 $as_test_x conftest$ac_exeext; then
26389 ac_cv_lib_m_cpow=yes
26390 else
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26394 ac_cv_lib_m_cpow=no
26397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26398 conftest$ac_exeext conftest.$ac_ext
26399 LIBS=$ac_check_lib_save_LIBS
26401 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26402 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6; }
26403 if test $ac_cv_lib_m_cpow = yes; then
26405 cat >>confdefs.h <<\_ACEOF
26406 #define HAVE_CPOW 1
26407 _ACEOF
26411 { echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26412 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6; }
26413 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26414 echo $ECHO_N "(cached) $ECHO_C" >&6
26415 else
26416 ac_check_lib_save_LIBS=$LIBS
26417 LIBS="-lm $LIBS"
26418 if test x$gcc_no_link = xyes; then
26419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26421 { (exit 1); exit 1; }; }
26423 cat >conftest.$ac_ext <<_ACEOF
26424 /* confdefs.h. */
26425 _ACEOF
26426 cat confdefs.h >>conftest.$ac_ext
26427 cat >>conftest.$ac_ext <<_ACEOF
26428 /* end confdefs.h. */
26430 /* Override any GCC internal prototype to avoid an error.
26431 Use char because int might match the return type of a GCC
26432 builtin and then its argument prototype would still apply. */
26433 #ifdef __cplusplus
26434 extern "C"
26435 #endif
26436 char cpowl ();
26438 main ()
26440 return cpowl ();
26442 return 0;
26444 _ACEOF
26445 rm -f conftest.$ac_objext conftest$ac_exeext
26446 if { (ac_try="$ac_link"
26447 case "(($ac_try" in
26448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26449 *) ac_try_echo=$ac_try;;
26450 esac
26451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26452 (eval "$ac_link") 2>conftest.er1
26453 ac_status=$?
26454 grep -v '^ *+' conftest.er1 >conftest.err
26455 rm -f conftest.er1
26456 cat conftest.err >&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); } && {
26459 test -z "$ac_c_werror_flag" ||
26460 test ! -s conftest.err
26461 } && test -s conftest$ac_exeext &&
26462 $as_test_x conftest$ac_exeext; then
26463 ac_cv_lib_m_cpowl=yes
26464 else
26465 echo "$as_me: failed program was:" >&5
26466 sed 's/^/| /' conftest.$ac_ext >&5
26468 ac_cv_lib_m_cpowl=no
26471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26472 conftest$ac_exeext conftest.$ac_ext
26473 LIBS=$ac_check_lib_save_LIBS
26475 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26476 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6; }
26477 if test $ac_cv_lib_m_cpowl = yes; then
26479 cat >>confdefs.h <<\_ACEOF
26480 #define HAVE_CPOWL 1
26481 _ACEOF
26485 { echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26486 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6; }
26487 if test "${ac_cv_lib_m_roundf+set}" = set; then
26488 echo $ECHO_N "(cached) $ECHO_C" >&6
26489 else
26490 ac_check_lib_save_LIBS=$LIBS
26491 LIBS="-lm $LIBS"
26492 if test x$gcc_no_link = xyes; then
26493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26495 { (exit 1); exit 1; }; }
26497 cat >conftest.$ac_ext <<_ACEOF
26498 /* confdefs.h. */
26499 _ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26507 #ifdef __cplusplus
26508 extern "C"
26509 #endif
26510 char roundf ();
26512 main ()
26514 return roundf ();
26516 return 0;
26518 _ACEOF
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_m_roundf=yes
26538 else
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26542 ac_cv_lib_m_roundf=no
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26550 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6; }
26551 if test $ac_cv_lib_m_roundf = yes; then
26553 cat >>confdefs.h <<\_ACEOF
26554 #define HAVE_ROUNDF 1
26555 _ACEOF
26559 { echo "$as_me:$LINENO: checking for round in -lm" >&5
26560 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6; }
26561 if test "${ac_cv_lib_m_round+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 else
26564 ac_check_lib_save_LIBS=$LIBS
26565 LIBS="-lm $LIBS"
26566 if test x$gcc_no_link = xyes; then
26567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26569 { (exit 1); exit 1; }; }
26571 cat >conftest.$ac_ext <<_ACEOF
26572 /* confdefs.h. */
26573 _ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h. */
26578 /* Override any GCC internal prototype to avoid an error.
26579 Use char because int might match the return type of a GCC
26580 builtin and then its argument prototype would still apply. */
26581 #ifdef __cplusplus
26582 extern "C"
26583 #endif
26584 char round ();
26586 main ()
26588 return round ();
26590 return 0;
26592 _ACEOF
26593 rm -f conftest.$ac_objext conftest$ac_exeext
26594 if { (ac_try="$ac_link"
26595 case "(($ac_try" in
26596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26597 *) ac_try_echo=$ac_try;;
26598 esac
26599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26600 (eval "$ac_link") 2>conftest.er1
26601 ac_status=$?
26602 grep -v '^ *+' conftest.er1 >conftest.err
26603 rm -f conftest.er1
26604 cat conftest.err >&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } && {
26607 test -z "$ac_c_werror_flag" ||
26608 test ! -s conftest.err
26609 } && test -s conftest$ac_exeext &&
26610 $as_test_x conftest$ac_exeext; then
26611 ac_cv_lib_m_round=yes
26612 else
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26616 ac_cv_lib_m_round=no
26619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26620 conftest$ac_exeext conftest.$ac_ext
26621 LIBS=$ac_check_lib_save_LIBS
26623 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26624 echo "${ECHO_T}$ac_cv_lib_m_round" >&6; }
26625 if test $ac_cv_lib_m_round = yes; then
26627 cat >>confdefs.h <<\_ACEOF
26628 #define HAVE_ROUND 1
26629 _ACEOF
26633 { echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26634 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6; }
26635 if test "${ac_cv_lib_m_roundl+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 else
26638 ac_check_lib_save_LIBS=$LIBS
26639 LIBS="-lm $LIBS"
26640 if test x$gcc_no_link = xyes; then
26641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26643 { (exit 1); exit 1; }; }
26645 cat >conftest.$ac_ext <<_ACEOF
26646 /* confdefs.h. */
26647 _ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26652 /* Override any GCC internal prototype to avoid an error.
26653 Use char because int might match the return type of a GCC
26654 builtin and then its argument prototype would still apply. */
26655 #ifdef __cplusplus
26656 extern "C"
26657 #endif
26658 char roundl ();
26660 main ()
26662 return roundl ();
26664 return 0;
26666 _ACEOF
26667 rm -f conftest.$ac_objext conftest$ac_exeext
26668 if { (ac_try="$ac_link"
26669 case "(($ac_try" in
26670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26671 *) ac_try_echo=$ac_try;;
26672 esac
26673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26674 (eval "$ac_link") 2>conftest.er1
26675 ac_status=$?
26676 grep -v '^ *+' conftest.er1 >conftest.err
26677 rm -f conftest.er1
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } && {
26681 test -z "$ac_c_werror_flag" ||
26682 test ! -s conftest.err
26683 } && test -s conftest$ac_exeext &&
26684 $as_test_x conftest$ac_exeext; then
26685 ac_cv_lib_m_roundl=yes
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26690 ac_cv_lib_m_roundl=no
26693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26694 conftest$ac_exeext conftest.$ac_ext
26695 LIBS=$ac_check_lib_save_LIBS
26697 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26698 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6; }
26699 if test $ac_cv_lib_m_roundl = yes; then
26701 cat >>confdefs.h <<\_ACEOF
26702 #define HAVE_ROUNDL 1
26703 _ACEOF
26707 { echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26708 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6; }
26709 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26712 ac_check_lib_save_LIBS=$LIBS
26713 LIBS="-lm $LIBS"
26714 if test x$gcc_no_link = xyes; then
26715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26717 { (exit 1); exit 1; }; }
26719 cat >conftest.$ac_ext <<_ACEOF
26720 /* confdefs.h. */
26721 _ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26726 /* Override any GCC internal prototype to avoid an error.
26727 Use char because int might match the return type of a GCC
26728 builtin and then its argument prototype would still apply. */
26729 #ifdef __cplusplus
26730 extern "C"
26731 #endif
26732 char lroundf ();
26734 main ()
26736 return lroundf ();
26738 return 0;
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (ac_try="$ac_link"
26743 case "(($ac_try" in
26744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26745 *) ac_try_echo=$ac_try;;
26746 esac
26747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26748 (eval "$ac_link") 2>conftest.er1
26749 ac_status=$?
26750 grep -v '^ *+' conftest.er1 >conftest.err
26751 rm -f conftest.er1
26752 cat conftest.err >&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } && {
26755 test -z "$ac_c_werror_flag" ||
26756 test ! -s conftest.err
26757 } && test -s conftest$ac_exeext &&
26758 $as_test_x conftest$ac_exeext; then
26759 ac_cv_lib_m_lroundf=yes
26760 else
26761 echo "$as_me: failed program was:" >&5
26762 sed 's/^/| /' conftest.$ac_ext >&5
26764 ac_cv_lib_m_lroundf=no
26767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26768 conftest$ac_exeext conftest.$ac_ext
26769 LIBS=$ac_check_lib_save_LIBS
26771 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26772 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6; }
26773 if test $ac_cv_lib_m_lroundf = yes; then
26775 cat >>confdefs.h <<\_ACEOF
26776 #define HAVE_LROUNDF 1
26777 _ACEOF
26781 { echo "$as_me:$LINENO: checking for lround in -lm" >&5
26782 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6; }
26783 if test "${ac_cv_lib_m_lround+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 else
26786 ac_check_lib_save_LIBS=$LIBS
26787 LIBS="-lm $LIBS"
26788 if test x$gcc_no_link = xyes; then
26789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26791 { (exit 1); exit 1; }; }
26793 cat >conftest.$ac_ext <<_ACEOF
26794 /* confdefs.h. */
26795 _ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26800 /* Override any GCC internal prototype to avoid an error.
26801 Use char because int might match the return type of a GCC
26802 builtin and then its argument prototype would still apply. */
26803 #ifdef __cplusplus
26804 extern "C"
26805 #endif
26806 char lround ();
26808 main ()
26810 return lround ();
26812 return 0;
26814 _ACEOF
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (ac_try="$ac_link"
26817 case "(($ac_try" in
26818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819 *) ac_try_echo=$ac_try;;
26820 esac
26821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822 (eval "$ac_link") 2>conftest.er1
26823 ac_status=$?
26824 grep -v '^ *+' conftest.er1 >conftest.err
26825 rm -f conftest.er1
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } && {
26829 test -z "$ac_c_werror_flag" ||
26830 test ! -s conftest.err
26831 } && test -s conftest$ac_exeext &&
26832 $as_test_x conftest$ac_exeext; then
26833 ac_cv_lib_m_lround=yes
26834 else
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26838 ac_cv_lib_m_lround=no
26841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26842 conftest$ac_exeext conftest.$ac_ext
26843 LIBS=$ac_check_lib_save_LIBS
26845 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26846 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6; }
26847 if test $ac_cv_lib_m_lround = yes; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_LROUND 1
26851 _ACEOF
26855 { echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26856 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6; }
26857 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 else
26860 ac_check_lib_save_LIBS=$LIBS
26861 LIBS="-lm $LIBS"
26862 if test x$gcc_no_link = xyes; then
26863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26865 { (exit 1); exit 1; }; }
26867 cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 /* Override any GCC internal prototype to avoid an error.
26875 Use char because int might match the return type of a GCC
26876 builtin and then its argument prototype would still apply. */
26877 #ifdef __cplusplus
26878 extern "C"
26879 #endif
26880 char lroundl ();
26882 main ()
26884 return lroundl ();
26886 return 0;
26888 _ACEOF
26889 rm -f conftest.$ac_objext conftest$ac_exeext
26890 if { (ac_try="$ac_link"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26894 esac
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_link") 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } && {
26903 test -z "$ac_c_werror_flag" ||
26904 test ! -s conftest.err
26905 } && test -s conftest$ac_exeext &&
26906 $as_test_x conftest$ac_exeext; then
26907 ac_cv_lib_m_lroundl=yes
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26912 ac_cv_lib_m_lroundl=no
26915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26916 conftest$ac_exeext conftest.$ac_ext
26917 LIBS=$ac_check_lib_save_LIBS
26919 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26920 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6; }
26921 if test $ac_cv_lib_m_lroundl = yes; then
26923 cat >>confdefs.h <<\_ACEOF
26924 #define HAVE_LROUNDL 1
26925 _ACEOF
26929 { echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26930 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6; }
26931 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 else
26934 ac_check_lib_save_LIBS=$LIBS
26935 LIBS="-lm $LIBS"
26936 if test x$gcc_no_link = xyes; then
26937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26939 { (exit 1); exit 1; }; }
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26948 /* Override any GCC internal prototype to avoid an error.
26949 Use char because int might match the return type of a GCC
26950 builtin and then its argument prototype would still apply. */
26951 #ifdef __cplusplus
26952 extern "C"
26953 #endif
26954 char llroundf ();
26956 main ()
26958 return llroundf ();
26960 return 0;
26962 _ACEOF
26963 rm -f conftest.$ac_objext conftest$ac_exeext
26964 if { (ac_try="$ac_link"
26965 case "(($ac_try" in
26966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26967 *) ac_try_echo=$ac_try;;
26968 esac
26969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26970 (eval "$ac_link") 2>conftest.er1
26971 ac_status=$?
26972 grep -v '^ *+' conftest.er1 >conftest.err
26973 rm -f conftest.er1
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } && {
26977 test -z "$ac_c_werror_flag" ||
26978 test ! -s conftest.err
26979 } && test -s conftest$ac_exeext &&
26980 $as_test_x conftest$ac_exeext; then
26981 ac_cv_lib_m_llroundf=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26986 ac_cv_lib_m_llroundf=no
26989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26990 conftest$ac_exeext conftest.$ac_ext
26991 LIBS=$ac_check_lib_save_LIBS
26993 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26994 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6; }
26995 if test $ac_cv_lib_m_llroundf = yes; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define HAVE_LLROUNDF 1
26999 _ACEOF
27003 { echo "$as_me:$LINENO: checking for llround in -lm" >&5
27004 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6; }
27005 if test "${ac_cv_lib_m_llround+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 else
27008 ac_check_lib_save_LIBS=$LIBS
27009 LIBS="-lm $LIBS"
27010 if test x$gcc_no_link = xyes; then
27011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27013 { (exit 1); exit 1; }; }
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27022 /* Override any GCC internal prototype to avoid an error.
27023 Use char because int might match the return type of a GCC
27024 builtin and then its argument prototype would still apply. */
27025 #ifdef __cplusplus
27026 extern "C"
27027 #endif
27028 char llround ();
27030 main ()
27032 return llround ();
27034 return 0;
27036 _ACEOF
27037 rm -f conftest.$ac_objext conftest$ac_exeext
27038 if { (ac_try="$ac_link"
27039 case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27042 esac
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_link") 2>conftest.er1
27045 ac_status=$?
27046 grep -v '^ *+' conftest.er1 >conftest.err
27047 rm -f conftest.er1
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } && {
27051 test -z "$ac_c_werror_flag" ||
27052 test ! -s conftest.err
27053 } && test -s conftest$ac_exeext &&
27054 $as_test_x conftest$ac_exeext; then
27055 ac_cv_lib_m_llround=yes
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27060 ac_cv_lib_m_llround=no
27063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27064 conftest$ac_exeext conftest.$ac_ext
27065 LIBS=$ac_check_lib_save_LIBS
27067 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27068 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6; }
27069 if test $ac_cv_lib_m_llround = yes; then
27071 cat >>confdefs.h <<\_ACEOF
27072 #define HAVE_LLROUND 1
27073 _ACEOF
27077 { echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27078 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6; }
27079 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27080 echo $ECHO_N "(cached) $ECHO_C" >&6
27081 else
27082 ac_check_lib_save_LIBS=$LIBS
27083 LIBS="-lm $LIBS"
27084 if test x$gcc_no_link = xyes; then
27085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27087 { (exit 1); exit 1; }; }
27089 cat >conftest.$ac_ext <<_ACEOF
27090 /* confdefs.h. */
27091 _ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 /* Override any GCC internal prototype to avoid an error.
27097 Use char because int might match the return type of a GCC
27098 builtin and then its argument prototype would still apply. */
27099 #ifdef __cplusplus
27100 extern "C"
27101 #endif
27102 char llroundl ();
27104 main ()
27106 return llroundl ();
27108 return 0;
27110 _ACEOF
27111 rm -f conftest.$ac_objext conftest$ac_exeext
27112 if { (ac_try="$ac_link"
27113 case "(($ac_try" in
27114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27115 *) ac_try_echo=$ac_try;;
27116 esac
27117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27118 (eval "$ac_link") 2>conftest.er1
27119 ac_status=$?
27120 grep -v '^ *+' conftest.er1 >conftest.err
27121 rm -f conftest.er1
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } && {
27125 test -z "$ac_c_werror_flag" ||
27126 test ! -s conftest.err
27127 } && test -s conftest$ac_exeext &&
27128 $as_test_x conftest$ac_exeext; then
27129 ac_cv_lib_m_llroundl=yes
27130 else
27131 echo "$as_me: failed program was:" >&5
27132 sed 's/^/| /' conftest.$ac_ext >&5
27134 ac_cv_lib_m_llroundl=no
27137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27138 conftest$ac_exeext conftest.$ac_ext
27139 LIBS=$ac_check_lib_save_LIBS
27141 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27142 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6; }
27143 if test $ac_cv_lib_m_llroundl = yes; then
27145 cat >>confdefs.h <<\_ACEOF
27146 #define HAVE_LLROUNDL 1
27147 _ACEOF
27151 { echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27152 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6; }
27153 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 else
27156 ac_check_lib_save_LIBS=$LIBS
27157 LIBS="-lm $LIBS"
27158 if test x$gcc_no_link = xyes; then
27159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27161 { (exit 1); exit 1; }; }
27163 cat >conftest.$ac_ext <<_ACEOF
27164 /* confdefs.h. */
27165 _ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27170 /* Override any GCC internal prototype to avoid an error.
27171 Use char because int might match the return type of a GCC
27172 builtin and then its argument prototype would still apply. */
27173 #ifdef __cplusplus
27174 extern "C"
27175 #endif
27176 char scalbnf ();
27178 main ()
27180 return scalbnf ();
27182 return 0;
27184 _ACEOF
27185 rm -f conftest.$ac_objext conftest$ac_exeext
27186 if { (ac_try="$ac_link"
27187 case "(($ac_try" in
27188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27189 *) ac_try_echo=$ac_try;;
27190 esac
27191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27192 (eval "$ac_link") 2>conftest.er1
27193 ac_status=$?
27194 grep -v '^ *+' conftest.er1 >conftest.err
27195 rm -f conftest.er1
27196 cat conftest.err >&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } && {
27199 test -z "$ac_c_werror_flag" ||
27200 test ! -s conftest.err
27201 } && test -s conftest$ac_exeext &&
27202 $as_test_x conftest$ac_exeext; then
27203 ac_cv_lib_m_scalbnf=yes
27204 else
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27208 ac_cv_lib_m_scalbnf=no
27211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27212 conftest$ac_exeext conftest.$ac_ext
27213 LIBS=$ac_check_lib_save_LIBS
27215 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27216 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6; }
27217 if test $ac_cv_lib_m_scalbnf = yes; then
27219 cat >>confdefs.h <<\_ACEOF
27220 #define HAVE_SCALBNF 1
27221 _ACEOF
27225 { echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27226 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6; }
27227 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 ac_check_lib_save_LIBS=$LIBS
27231 LIBS="-lm $LIBS"
27232 if test x$gcc_no_link = xyes; then
27233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27235 { (exit 1); exit 1; }; }
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27244 /* Override any GCC internal prototype to avoid an error.
27245 Use char because int might match the return type of a GCC
27246 builtin and then its argument prototype would still apply. */
27247 #ifdef __cplusplus
27248 extern "C"
27249 #endif
27250 char scalbn ();
27252 main ()
27254 return scalbn ();
27256 return 0;
27258 _ACEOF
27259 rm -f conftest.$ac_objext conftest$ac_exeext
27260 if { (ac_try="$ac_link"
27261 case "(($ac_try" in
27262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27263 *) ac_try_echo=$ac_try;;
27264 esac
27265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27266 (eval "$ac_link") 2>conftest.er1
27267 ac_status=$?
27268 grep -v '^ *+' conftest.er1 >conftest.err
27269 rm -f conftest.er1
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } && {
27273 test -z "$ac_c_werror_flag" ||
27274 test ! -s conftest.err
27275 } && test -s conftest$ac_exeext &&
27276 $as_test_x conftest$ac_exeext; then
27277 ac_cv_lib_m_scalbn=yes
27278 else
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27282 ac_cv_lib_m_scalbn=no
27285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27286 conftest$ac_exeext conftest.$ac_ext
27287 LIBS=$ac_check_lib_save_LIBS
27289 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27290 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6; }
27291 if test $ac_cv_lib_m_scalbn = yes; then
27293 cat >>confdefs.h <<\_ACEOF
27294 #define HAVE_SCALBN 1
27295 _ACEOF
27299 { echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27300 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6; }
27301 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 else
27304 ac_check_lib_save_LIBS=$LIBS
27305 LIBS="-lm $LIBS"
27306 if test x$gcc_no_link = xyes; then
27307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27309 { (exit 1); exit 1; }; }
27311 cat >conftest.$ac_ext <<_ACEOF
27312 /* confdefs.h. */
27313 _ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27318 /* Override any GCC internal prototype to avoid an error.
27319 Use char because int might match the return type of a GCC
27320 builtin and then its argument prototype would still apply. */
27321 #ifdef __cplusplus
27322 extern "C"
27323 #endif
27324 char scalbnl ();
27326 main ()
27328 return scalbnl ();
27330 return 0;
27332 _ACEOF
27333 rm -f conftest.$ac_objext conftest$ac_exeext
27334 if { (ac_try="$ac_link"
27335 case "(($ac_try" in
27336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27337 *) ac_try_echo=$ac_try;;
27338 esac
27339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27340 (eval "$ac_link") 2>conftest.er1
27341 ac_status=$?
27342 grep -v '^ *+' conftest.er1 >conftest.err
27343 rm -f conftest.er1
27344 cat conftest.err >&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } && {
27347 test -z "$ac_c_werror_flag" ||
27348 test ! -s conftest.err
27349 } && test -s conftest$ac_exeext &&
27350 $as_test_x conftest$ac_exeext; then
27351 ac_cv_lib_m_scalbnl=yes
27352 else
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.$ac_ext >&5
27356 ac_cv_lib_m_scalbnl=no
27359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27360 conftest$ac_exeext conftest.$ac_ext
27361 LIBS=$ac_check_lib_save_LIBS
27363 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27364 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6; }
27365 if test $ac_cv_lib_m_scalbnl = yes; then
27367 cat >>confdefs.h <<\_ACEOF
27368 #define HAVE_SCALBNL 1
27369 _ACEOF
27373 { echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27374 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6; }
27375 if test "${ac_cv_lib_m_sinf+set}" = set; then
27376 echo $ECHO_N "(cached) $ECHO_C" >&6
27377 else
27378 ac_check_lib_save_LIBS=$LIBS
27379 LIBS="-lm $LIBS"
27380 if test x$gcc_no_link = xyes; then
27381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27383 { (exit 1); exit 1; }; }
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27392 /* Override any GCC internal prototype to avoid an error.
27393 Use char because int might match the return type of a GCC
27394 builtin and then its argument prototype would still apply. */
27395 #ifdef __cplusplus
27396 extern "C"
27397 #endif
27398 char sinf ();
27400 main ()
27402 return sinf ();
27404 return 0;
27406 _ACEOF
27407 rm -f conftest.$ac_objext conftest$ac_exeext
27408 if { (ac_try="$ac_link"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_link") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest$ac_exeext &&
27424 $as_test_x conftest$ac_exeext; then
27425 ac_cv_lib_m_sinf=yes
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27430 ac_cv_lib_m_sinf=no
27433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27434 conftest$ac_exeext conftest.$ac_ext
27435 LIBS=$ac_check_lib_save_LIBS
27437 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27438 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6; }
27439 if test $ac_cv_lib_m_sinf = yes; then
27441 cat >>confdefs.h <<\_ACEOF
27442 #define HAVE_SINF 1
27443 _ACEOF
27447 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27448 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27449 if test "${ac_cv_lib_m_sin+set}" = set; then
27450 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 else
27452 ac_check_lib_save_LIBS=$LIBS
27453 LIBS="-lm $LIBS"
27454 if test x$gcc_no_link = xyes; then
27455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27457 { (exit 1); exit 1; }; }
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27466 /* Override any GCC internal prototype to avoid an error.
27467 Use char because int might match the return type of a GCC
27468 builtin and then its argument prototype would still apply. */
27469 #ifdef __cplusplus
27470 extern "C"
27471 #endif
27472 char sin ();
27474 main ()
27476 return sin ();
27478 return 0;
27480 _ACEOF
27481 rm -f conftest.$ac_objext conftest$ac_exeext
27482 if { (ac_try="$ac_link"
27483 case "(($ac_try" in
27484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27485 *) ac_try_echo=$ac_try;;
27486 esac
27487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27488 (eval "$ac_link") 2>conftest.er1
27489 ac_status=$?
27490 grep -v '^ *+' conftest.er1 >conftest.err
27491 rm -f conftest.er1
27492 cat conftest.err >&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); } && {
27495 test -z "$ac_c_werror_flag" ||
27496 test ! -s conftest.err
27497 } && test -s conftest$ac_exeext &&
27498 $as_test_x conftest$ac_exeext; then
27499 ac_cv_lib_m_sin=yes
27500 else
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.$ac_ext >&5
27504 ac_cv_lib_m_sin=no
27507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27508 conftest$ac_exeext conftest.$ac_ext
27509 LIBS=$ac_check_lib_save_LIBS
27511 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27512 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27513 if test $ac_cv_lib_m_sin = yes; then
27515 cat >>confdefs.h <<\_ACEOF
27516 #define HAVE_SIN 1
27517 _ACEOF
27521 { echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27522 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6; }
27523 if test "${ac_cv_lib_m_sinl+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 else
27526 ac_check_lib_save_LIBS=$LIBS
27527 LIBS="-lm $LIBS"
27528 if test x$gcc_no_link = xyes; then
27529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27531 { (exit 1); exit 1; }; }
27533 cat >conftest.$ac_ext <<_ACEOF
27534 /* confdefs.h. */
27535 _ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27540 /* Override any GCC internal prototype to avoid an error.
27541 Use char because int might match the return type of a GCC
27542 builtin and then its argument prototype would still apply. */
27543 #ifdef __cplusplus
27544 extern "C"
27545 #endif
27546 char sinl ();
27548 main ()
27550 return sinl ();
27552 return 0;
27554 _ACEOF
27555 rm -f conftest.$ac_objext conftest$ac_exeext
27556 if { (ac_try="$ac_link"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27560 esac
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_link") 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest$ac_exeext &&
27572 $as_test_x conftest$ac_exeext; then
27573 ac_cv_lib_m_sinl=yes
27574 else
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27578 ac_cv_lib_m_sinl=no
27581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27582 conftest$ac_exeext conftest.$ac_ext
27583 LIBS=$ac_check_lib_save_LIBS
27585 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27586 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6; }
27587 if test $ac_cv_lib_m_sinl = yes; then
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_SINL 1
27591 _ACEOF
27595 { echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27596 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6; }
27597 if test "${ac_cv_lib_m_csinf+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27599 else
27600 ac_check_lib_save_LIBS=$LIBS
27601 LIBS="-lm $LIBS"
27602 if test x$gcc_no_link = xyes; then
27603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27605 { (exit 1); exit 1; }; }
27607 cat >conftest.$ac_ext <<_ACEOF
27608 /* confdefs.h. */
27609 _ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27614 /* Override any GCC internal prototype to avoid an error.
27615 Use char because int might match the return type of a GCC
27616 builtin and then its argument prototype would still apply. */
27617 #ifdef __cplusplus
27618 extern "C"
27619 #endif
27620 char csinf ();
27622 main ()
27624 return csinf ();
27626 return 0;
27628 _ACEOF
27629 rm -f conftest.$ac_objext conftest$ac_exeext
27630 if { (ac_try="$ac_link"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27633 *) ac_try_echo=$ac_try;;
27634 esac
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_link") 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest$ac_exeext &&
27646 $as_test_x conftest$ac_exeext; then
27647 ac_cv_lib_m_csinf=yes
27648 else
27649 echo "$as_me: failed program was:" >&5
27650 sed 's/^/| /' conftest.$ac_ext >&5
27652 ac_cv_lib_m_csinf=no
27655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27656 conftest$ac_exeext conftest.$ac_ext
27657 LIBS=$ac_check_lib_save_LIBS
27659 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27660 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6; }
27661 if test $ac_cv_lib_m_csinf = yes; then
27663 cat >>confdefs.h <<\_ACEOF
27664 #define HAVE_CSINF 1
27665 _ACEOF
27669 { echo "$as_me:$LINENO: checking for csin in -lm" >&5
27670 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6; }
27671 if test "${ac_cv_lib_m_csin+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27673 else
27674 ac_check_lib_save_LIBS=$LIBS
27675 LIBS="-lm $LIBS"
27676 if test x$gcc_no_link = xyes; then
27677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679 { (exit 1); exit 1; }; }
27681 cat >conftest.$ac_ext <<_ACEOF
27682 /* confdefs.h. */
27683 _ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27688 /* Override any GCC internal prototype to avoid an error.
27689 Use char because int might match the return type of a GCC
27690 builtin and then its argument prototype would still apply. */
27691 #ifdef __cplusplus
27692 extern "C"
27693 #endif
27694 char csin ();
27696 main ()
27698 return csin ();
27700 return 0;
27702 _ACEOF
27703 rm -f conftest.$ac_objext conftest$ac_exeext
27704 if { (ac_try="$ac_link"
27705 case "(($ac_try" in
27706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27707 *) ac_try_echo=$ac_try;;
27708 esac
27709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27710 (eval "$ac_link") 2>conftest.er1
27711 ac_status=$?
27712 grep -v '^ *+' conftest.er1 >conftest.err
27713 rm -f conftest.er1
27714 cat conftest.err >&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } && {
27717 test -z "$ac_c_werror_flag" ||
27718 test ! -s conftest.err
27719 } && test -s conftest$ac_exeext &&
27720 $as_test_x conftest$ac_exeext; then
27721 ac_cv_lib_m_csin=yes
27722 else
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27726 ac_cv_lib_m_csin=no
27729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27730 conftest$ac_exeext conftest.$ac_ext
27731 LIBS=$ac_check_lib_save_LIBS
27733 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27734 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6; }
27735 if test $ac_cv_lib_m_csin = yes; then
27737 cat >>confdefs.h <<\_ACEOF
27738 #define HAVE_CSIN 1
27739 _ACEOF
27743 { echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27744 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6; }
27745 if test "${ac_cv_lib_m_csinl+set}" = set; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
27748 ac_check_lib_save_LIBS=$LIBS
27749 LIBS="-lm $LIBS"
27750 if test x$gcc_no_link = xyes; then
27751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27753 { (exit 1); exit 1; }; }
27755 cat >conftest.$ac_ext <<_ACEOF
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27762 /* Override any GCC internal prototype to avoid an error.
27763 Use char because int might match the return type of a GCC
27764 builtin and then its argument prototype would still apply. */
27765 #ifdef __cplusplus
27766 extern "C"
27767 #endif
27768 char csinl ();
27770 main ()
27772 return csinl ();
27774 return 0;
27776 _ACEOF
27777 rm -f conftest.$ac_objext conftest$ac_exeext
27778 if { (ac_try="$ac_link"
27779 case "(($ac_try" in
27780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27781 *) ac_try_echo=$ac_try;;
27782 esac
27783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27784 (eval "$ac_link") 2>conftest.er1
27785 ac_status=$?
27786 grep -v '^ *+' conftest.er1 >conftest.err
27787 rm -f conftest.er1
27788 cat conftest.err >&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); } && {
27791 test -z "$ac_c_werror_flag" ||
27792 test ! -s conftest.err
27793 } && test -s conftest$ac_exeext &&
27794 $as_test_x conftest$ac_exeext; then
27795 ac_cv_lib_m_csinl=yes
27796 else
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27800 ac_cv_lib_m_csinl=no
27803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27804 conftest$ac_exeext conftest.$ac_ext
27805 LIBS=$ac_check_lib_save_LIBS
27807 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27808 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6; }
27809 if test $ac_cv_lib_m_csinl = yes; then
27811 cat >>confdefs.h <<\_ACEOF
27812 #define HAVE_CSINL 1
27813 _ACEOF
27817 { echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27818 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6; }
27819 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822 ac_check_lib_save_LIBS=$LIBS
27823 LIBS="-lm $LIBS"
27824 if test x$gcc_no_link = xyes; then
27825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27827 { (exit 1); exit 1; }; }
27829 cat >conftest.$ac_ext <<_ACEOF
27830 /* confdefs.h. */
27831 _ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27836 /* Override any GCC internal prototype to avoid an error.
27837 Use char because int might match the return type of a GCC
27838 builtin and then its argument prototype would still apply. */
27839 #ifdef __cplusplus
27840 extern "C"
27841 #endif
27842 char sinhf ();
27844 main ()
27846 return sinhf ();
27848 return 0;
27850 _ACEOF
27851 rm -f conftest.$ac_objext conftest$ac_exeext
27852 if { (ac_try="$ac_link"
27853 case "(($ac_try" in
27854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27855 *) ac_try_echo=$ac_try;;
27856 esac
27857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27858 (eval "$ac_link") 2>conftest.er1
27859 ac_status=$?
27860 grep -v '^ *+' conftest.er1 >conftest.err
27861 rm -f conftest.er1
27862 cat conftest.err >&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); } && {
27865 test -z "$ac_c_werror_flag" ||
27866 test ! -s conftest.err
27867 } && test -s conftest$ac_exeext &&
27868 $as_test_x conftest$ac_exeext; then
27869 ac_cv_lib_m_sinhf=yes
27870 else
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27874 ac_cv_lib_m_sinhf=no
27877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27878 conftest$ac_exeext conftest.$ac_ext
27879 LIBS=$ac_check_lib_save_LIBS
27881 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27882 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6; }
27883 if test $ac_cv_lib_m_sinhf = yes; then
27885 cat >>confdefs.h <<\_ACEOF
27886 #define HAVE_SINHF 1
27887 _ACEOF
27891 { echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27892 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6; }
27893 if test "${ac_cv_lib_m_sinh+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 else
27896 ac_check_lib_save_LIBS=$LIBS
27897 LIBS="-lm $LIBS"
27898 if test x$gcc_no_link = xyes; then
27899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27901 { (exit 1); exit 1; }; }
27903 cat >conftest.$ac_ext <<_ACEOF
27904 /* confdefs.h. */
27905 _ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h. */
27910 /* Override any GCC internal prototype to avoid an error.
27911 Use char because int might match the return type of a GCC
27912 builtin and then its argument prototype would still apply. */
27913 #ifdef __cplusplus
27914 extern "C"
27915 #endif
27916 char sinh ();
27918 main ()
27920 return sinh ();
27922 return 0;
27924 _ACEOF
27925 rm -f conftest.$ac_objext conftest$ac_exeext
27926 if { (ac_try="$ac_link"
27927 case "(($ac_try" in
27928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27929 *) ac_try_echo=$ac_try;;
27930 esac
27931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27932 (eval "$ac_link") 2>conftest.er1
27933 ac_status=$?
27934 grep -v '^ *+' conftest.er1 >conftest.err
27935 rm -f conftest.er1
27936 cat conftest.err >&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } && {
27939 test -z "$ac_c_werror_flag" ||
27940 test ! -s conftest.err
27941 } && test -s conftest$ac_exeext &&
27942 $as_test_x conftest$ac_exeext; then
27943 ac_cv_lib_m_sinh=yes
27944 else
27945 echo "$as_me: failed program was:" >&5
27946 sed 's/^/| /' conftest.$ac_ext >&5
27948 ac_cv_lib_m_sinh=no
27951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27952 conftest$ac_exeext conftest.$ac_ext
27953 LIBS=$ac_check_lib_save_LIBS
27955 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27956 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6; }
27957 if test $ac_cv_lib_m_sinh = yes; then
27959 cat >>confdefs.h <<\_ACEOF
27960 #define HAVE_SINH 1
27961 _ACEOF
27965 { echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27966 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6; }
27967 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27968 echo $ECHO_N "(cached) $ECHO_C" >&6
27969 else
27970 ac_check_lib_save_LIBS=$LIBS
27971 LIBS="-lm $LIBS"
27972 if test x$gcc_no_link = xyes; then
27973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27975 { (exit 1); exit 1; }; }
27977 cat >conftest.$ac_ext <<_ACEOF
27978 /* confdefs.h. */
27979 _ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27984 /* Override any GCC internal prototype to avoid an error.
27985 Use char because int might match the return type of a GCC
27986 builtin and then its argument prototype would still apply. */
27987 #ifdef __cplusplus
27988 extern "C"
27989 #endif
27990 char sinhl ();
27992 main ()
27994 return sinhl ();
27996 return 0;
27998 _ACEOF
27999 rm -f conftest.$ac_objext conftest$ac_exeext
28000 if { (ac_try="$ac_link"
28001 case "(($ac_try" in
28002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28003 *) ac_try_echo=$ac_try;;
28004 esac
28005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28006 (eval "$ac_link") 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } && {
28013 test -z "$ac_c_werror_flag" ||
28014 test ! -s conftest.err
28015 } && test -s conftest$ac_exeext &&
28016 $as_test_x conftest$ac_exeext; then
28017 ac_cv_lib_m_sinhl=yes
28018 else
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28022 ac_cv_lib_m_sinhl=no
28025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28026 conftest$ac_exeext conftest.$ac_ext
28027 LIBS=$ac_check_lib_save_LIBS
28029 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28030 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6; }
28031 if test $ac_cv_lib_m_sinhl = yes; then
28033 cat >>confdefs.h <<\_ACEOF
28034 #define HAVE_SINHL 1
28035 _ACEOF
28039 { echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28040 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6; }
28041 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 else
28044 ac_check_lib_save_LIBS=$LIBS
28045 LIBS="-lm $LIBS"
28046 if test x$gcc_no_link = xyes; then
28047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28049 { (exit 1); exit 1; }; }
28051 cat >conftest.$ac_ext <<_ACEOF
28052 /* confdefs.h. */
28053 _ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28058 /* Override any GCC internal prototype to avoid an error.
28059 Use char because int might match the return type of a GCC
28060 builtin and then its argument prototype would still apply. */
28061 #ifdef __cplusplus
28062 extern "C"
28063 #endif
28064 char csinhf ();
28066 main ()
28068 return csinhf ();
28070 return 0;
28072 _ACEOF
28073 rm -f conftest.$ac_objext conftest$ac_exeext
28074 if { (ac_try="$ac_link"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_link") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest$ac_exeext &&
28090 $as_test_x conftest$ac_exeext; then
28091 ac_cv_lib_m_csinhf=yes
28092 else
28093 echo "$as_me: failed program was:" >&5
28094 sed 's/^/| /' conftest.$ac_ext >&5
28096 ac_cv_lib_m_csinhf=no
28099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28100 conftest$ac_exeext conftest.$ac_ext
28101 LIBS=$ac_check_lib_save_LIBS
28103 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28104 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6; }
28105 if test $ac_cv_lib_m_csinhf = yes; then
28107 cat >>confdefs.h <<\_ACEOF
28108 #define HAVE_CSINHF 1
28109 _ACEOF
28113 { echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28114 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6; }
28115 if test "${ac_cv_lib_m_csinh+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 else
28118 ac_check_lib_save_LIBS=$LIBS
28119 LIBS="-lm $LIBS"
28120 if test x$gcc_no_link = xyes; then
28121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28123 { (exit 1); exit 1; }; }
28125 cat >conftest.$ac_ext <<_ACEOF
28126 /* confdefs.h. */
28127 _ACEOF
28128 cat confdefs.h >>conftest.$ac_ext
28129 cat >>conftest.$ac_ext <<_ACEOF
28130 /* end confdefs.h. */
28132 /* Override any GCC internal prototype to avoid an error.
28133 Use char because int might match the return type of a GCC
28134 builtin and then its argument prototype would still apply. */
28135 #ifdef __cplusplus
28136 extern "C"
28137 #endif
28138 char csinh ();
28140 main ()
28142 return csinh ();
28144 return 0;
28146 _ACEOF
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (ac_try="$ac_link"
28149 case "(($ac_try" in
28150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28151 *) ac_try_echo=$ac_try;;
28152 esac
28153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28154 (eval "$ac_link") 2>conftest.er1
28155 ac_status=$?
28156 grep -v '^ *+' conftest.er1 >conftest.err
28157 rm -f conftest.er1
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } && {
28161 test -z "$ac_c_werror_flag" ||
28162 test ! -s conftest.err
28163 } && test -s conftest$ac_exeext &&
28164 $as_test_x conftest$ac_exeext; then
28165 ac_cv_lib_m_csinh=yes
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28170 ac_cv_lib_m_csinh=no
28173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28174 conftest$ac_exeext conftest.$ac_ext
28175 LIBS=$ac_check_lib_save_LIBS
28177 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28178 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6; }
28179 if test $ac_cv_lib_m_csinh = yes; then
28181 cat >>confdefs.h <<\_ACEOF
28182 #define HAVE_CSINH 1
28183 _ACEOF
28187 { echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28188 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6; }
28189 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28190 echo $ECHO_N "(cached) $ECHO_C" >&6
28191 else
28192 ac_check_lib_save_LIBS=$LIBS
28193 LIBS="-lm $LIBS"
28194 if test x$gcc_no_link = xyes; then
28195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28197 { (exit 1); exit 1; }; }
28199 cat >conftest.$ac_ext <<_ACEOF
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28206 /* Override any GCC internal prototype to avoid an error.
28207 Use char because int might match the return type of a GCC
28208 builtin and then its argument prototype would still apply. */
28209 #ifdef __cplusplus
28210 extern "C"
28211 #endif
28212 char csinhl ();
28214 main ()
28216 return csinhl ();
28218 return 0;
28220 _ACEOF
28221 rm -f conftest.$ac_objext conftest$ac_exeext
28222 if { (ac_try="$ac_link"
28223 case "(($ac_try" in
28224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28225 *) ac_try_echo=$ac_try;;
28226 esac
28227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28228 (eval "$ac_link") 2>conftest.er1
28229 ac_status=$?
28230 grep -v '^ *+' conftest.er1 >conftest.err
28231 rm -f conftest.er1
28232 cat conftest.err >&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } && {
28235 test -z "$ac_c_werror_flag" ||
28236 test ! -s conftest.err
28237 } && test -s conftest$ac_exeext &&
28238 $as_test_x conftest$ac_exeext; then
28239 ac_cv_lib_m_csinhl=yes
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 ac_cv_lib_m_csinhl=no
28247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28248 conftest$ac_exeext conftest.$ac_ext
28249 LIBS=$ac_check_lib_save_LIBS
28251 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28252 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6; }
28253 if test $ac_cv_lib_m_csinhl = yes; then
28255 cat >>confdefs.h <<\_ACEOF
28256 #define HAVE_CSINHL 1
28257 _ACEOF
28261 { echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28262 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6; }
28263 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 ac_check_lib_save_LIBS=$LIBS
28267 LIBS="-lm $LIBS"
28268 if test x$gcc_no_link = xyes; then
28269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28271 { (exit 1); exit 1; }; }
28273 cat >conftest.$ac_ext <<_ACEOF
28274 /* confdefs.h. */
28275 _ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28280 /* Override any GCC internal prototype to avoid an error.
28281 Use char because int might match the return type of a GCC
28282 builtin and then its argument prototype would still apply. */
28283 #ifdef __cplusplus
28284 extern "C"
28285 #endif
28286 char sqrtf ();
28288 main ()
28290 return sqrtf ();
28292 return 0;
28294 _ACEOF
28295 rm -f conftest.$ac_objext conftest$ac_exeext
28296 if { (ac_try="$ac_link"
28297 case "(($ac_try" in
28298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28300 esac
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_link") 2>conftest.er1
28303 ac_status=$?
28304 grep -v '^ *+' conftest.er1 >conftest.err
28305 rm -f conftest.er1
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } && {
28309 test -z "$ac_c_werror_flag" ||
28310 test ! -s conftest.err
28311 } && test -s conftest$ac_exeext &&
28312 $as_test_x conftest$ac_exeext; then
28313 ac_cv_lib_m_sqrtf=yes
28314 else
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28318 ac_cv_lib_m_sqrtf=no
28321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28322 conftest$ac_exeext conftest.$ac_ext
28323 LIBS=$ac_check_lib_save_LIBS
28325 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28326 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6; }
28327 if test $ac_cv_lib_m_sqrtf = yes; then
28329 cat >>confdefs.h <<\_ACEOF
28330 #define HAVE_SQRTF 1
28331 _ACEOF
28335 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28336 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
28337 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28339 else
28340 ac_check_lib_save_LIBS=$LIBS
28341 LIBS="-lm $LIBS"
28342 if test x$gcc_no_link = xyes; then
28343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28345 { (exit 1); exit 1; }; }
28347 cat >conftest.$ac_ext <<_ACEOF
28348 /* confdefs.h. */
28349 _ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28354 /* Override any GCC internal prototype to avoid an error.
28355 Use char because int might match the return type of a GCC
28356 builtin and then its argument prototype would still apply. */
28357 #ifdef __cplusplus
28358 extern "C"
28359 #endif
28360 char sqrt ();
28362 main ()
28364 return sqrt ();
28366 return 0;
28368 _ACEOF
28369 rm -f conftest.$ac_objext conftest$ac_exeext
28370 if { (ac_try="$ac_link"
28371 case "(($ac_try" in
28372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28373 *) ac_try_echo=$ac_try;;
28374 esac
28375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28376 (eval "$ac_link") 2>conftest.er1
28377 ac_status=$?
28378 grep -v '^ *+' conftest.er1 >conftest.err
28379 rm -f conftest.er1
28380 cat conftest.err >&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } && {
28383 test -z "$ac_c_werror_flag" ||
28384 test ! -s conftest.err
28385 } && test -s conftest$ac_exeext &&
28386 $as_test_x conftest$ac_exeext; then
28387 ac_cv_lib_m_sqrt=yes
28388 else
28389 echo "$as_me: failed program was:" >&5
28390 sed 's/^/| /' conftest.$ac_ext >&5
28392 ac_cv_lib_m_sqrt=no
28395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28396 conftest$ac_exeext conftest.$ac_ext
28397 LIBS=$ac_check_lib_save_LIBS
28399 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28400 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
28401 if test $ac_cv_lib_m_sqrt = yes; then
28403 cat >>confdefs.h <<\_ACEOF
28404 #define HAVE_SQRT 1
28405 _ACEOF
28409 { echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28410 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6; }
28411 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 else
28414 ac_check_lib_save_LIBS=$LIBS
28415 LIBS="-lm $LIBS"
28416 if test x$gcc_no_link = xyes; then
28417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28419 { (exit 1); exit 1; }; }
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h. */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28428 /* Override any GCC internal prototype to avoid an error.
28429 Use char because int might match the return type of a GCC
28430 builtin and then its argument prototype would still apply. */
28431 #ifdef __cplusplus
28432 extern "C"
28433 #endif
28434 char sqrtl ();
28436 main ()
28438 return sqrtl ();
28440 return 0;
28442 _ACEOF
28443 rm -f conftest.$ac_objext conftest$ac_exeext
28444 if { (ac_try="$ac_link"
28445 case "(($ac_try" in
28446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28447 *) ac_try_echo=$ac_try;;
28448 esac
28449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28450 (eval "$ac_link") 2>conftest.er1
28451 ac_status=$?
28452 grep -v '^ *+' conftest.er1 >conftest.err
28453 rm -f conftest.er1
28454 cat conftest.err >&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); } && {
28457 test -z "$ac_c_werror_flag" ||
28458 test ! -s conftest.err
28459 } && test -s conftest$ac_exeext &&
28460 $as_test_x conftest$ac_exeext; then
28461 ac_cv_lib_m_sqrtl=yes
28462 else
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28466 ac_cv_lib_m_sqrtl=no
28469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28470 conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28473 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28474 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6; }
28475 if test $ac_cv_lib_m_sqrtl = yes; then
28477 cat >>confdefs.h <<\_ACEOF
28478 #define HAVE_SQRTL 1
28479 _ACEOF
28483 { echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28484 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6; }
28485 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488 ac_check_lib_save_LIBS=$LIBS
28489 LIBS="-lm $LIBS"
28490 if test x$gcc_no_link = xyes; then
28491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28493 { (exit 1); exit 1; }; }
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28502 /* Override any GCC internal prototype to avoid an error.
28503 Use char because int might match the return type of a GCC
28504 builtin and then its argument prototype would still apply. */
28505 #ifdef __cplusplus
28506 extern "C"
28507 #endif
28508 char csqrtf ();
28510 main ()
28512 return csqrtf ();
28514 return 0;
28516 _ACEOF
28517 rm -f conftest.$ac_objext conftest$ac_exeext
28518 if { (ac_try="$ac_link"
28519 case "(($ac_try" in
28520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28522 esac
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_link") 2>conftest.er1
28525 ac_status=$?
28526 grep -v '^ *+' conftest.er1 >conftest.err
28527 rm -f conftest.er1
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } && {
28531 test -z "$ac_c_werror_flag" ||
28532 test ! -s conftest.err
28533 } && test -s conftest$ac_exeext &&
28534 $as_test_x conftest$ac_exeext; then
28535 ac_cv_lib_m_csqrtf=yes
28536 else
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.$ac_ext >&5
28540 ac_cv_lib_m_csqrtf=no
28543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28544 conftest$ac_exeext conftest.$ac_ext
28545 LIBS=$ac_check_lib_save_LIBS
28547 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28548 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6; }
28549 if test $ac_cv_lib_m_csqrtf = yes; then
28551 cat >>confdefs.h <<\_ACEOF
28552 #define HAVE_CSQRTF 1
28553 _ACEOF
28557 { echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28558 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6; }
28559 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 else
28562 ac_check_lib_save_LIBS=$LIBS
28563 LIBS="-lm $LIBS"
28564 if test x$gcc_no_link = xyes; then
28565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28567 { (exit 1); exit 1; }; }
28569 cat >conftest.$ac_ext <<_ACEOF
28570 /* confdefs.h. */
28571 _ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28576 /* Override any GCC internal prototype to avoid an error.
28577 Use char because int might match the return type of a GCC
28578 builtin and then its argument prototype would still apply. */
28579 #ifdef __cplusplus
28580 extern "C"
28581 #endif
28582 char csqrt ();
28584 main ()
28586 return csqrt ();
28588 return 0;
28590 _ACEOF
28591 rm -f conftest.$ac_objext conftest$ac_exeext
28592 if { (ac_try="$ac_link"
28593 case "(($ac_try" in
28594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28596 esac
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_link") 2>conftest.er1
28599 ac_status=$?
28600 grep -v '^ *+' conftest.er1 >conftest.err
28601 rm -f conftest.er1
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && {
28605 test -z "$ac_c_werror_flag" ||
28606 test ! -s conftest.err
28607 } && test -s conftest$ac_exeext &&
28608 $as_test_x conftest$ac_exeext; then
28609 ac_cv_lib_m_csqrt=yes
28610 else
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.$ac_ext >&5
28614 ac_cv_lib_m_csqrt=no
28617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28618 conftest$ac_exeext conftest.$ac_ext
28619 LIBS=$ac_check_lib_save_LIBS
28621 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28622 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6; }
28623 if test $ac_cv_lib_m_csqrt = yes; then
28625 cat >>confdefs.h <<\_ACEOF
28626 #define HAVE_CSQRT 1
28627 _ACEOF
28631 { echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28632 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6; }
28633 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636 ac_check_lib_save_LIBS=$LIBS
28637 LIBS="-lm $LIBS"
28638 if test x$gcc_no_link = xyes; then
28639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28641 { (exit 1); exit 1; }; }
28643 cat >conftest.$ac_ext <<_ACEOF
28644 /* confdefs.h. */
28645 _ACEOF
28646 cat confdefs.h >>conftest.$ac_ext
28647 cat >>conftest.$ac_ext <<_ACEOF
28648 /* end confdefs.h. */
28650 /* Override any GCC internal prototype to avoid an error.
28651 Use char because int might match the return type of a GCC
28652 builtin and then its argument prototype would still apply. */
28653 #ifdef __cplusplus
28654 extern "C"
28655 #endif
28656 char csqrtl ();
28658 main ()
28660 return csqrtl ();
28662 return 0;
28664 _ACEOF
28665 rm -f conftest.$ac_objext conftest$ac_exeext
28666 if { (ac_try="$ac_link"
28667 case "(($ac_try" in
28668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28669 *) ac_try_echo=$ac_try;;
28670 esac
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_link") 2>conftest.er1
28673 ac_status=$?
28674 grep -v '^ *+' conftest.er1 >conftest.err
28675 rm -f conftest.er1
28676 cat conftest.err >&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } && {
28679 test -z "$ac_c_werror_flag" ||
28680 test ! -s conftest.err
28681 } && test -s conftest$ac_exeext &&
28682 $as_test_x conftest$ac_exeext; then
28683 ac_cv_lib_m_csqrtl=yes
28684 else
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 ac_cv_lib_m_csqrtl=no
28691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28692 conftest$ac_exeext conftest.$ac_ext
28693 LIBS=$ac_check_lib_save_LIBS
28695 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28696 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6; }
28697 if test $ac_cv_lib_m_csqrtl = yes; then
28699 cat >>confdefs.h <<\_ACEOF
28700 #define HAVE_CSQRTL 1
28701 _ACEOF
28705 { echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28706 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6; }
28707 if test "${ac_cv_lib_m_tanf+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 else
28710 ac_check_lib_save_LIBS=$LIBS
28711 LIBS="-lm $LIBS"
28712 if test x$gcc_no_link = xyes; then
28713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28715 { (exit 1); exit 1; }; }
28717 cat >conftest.$ac_ext <<_ACEOF
28718 /* confdefs.h. */
28719 _ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28724 /* Override any GCC internal prototype to avoid an error.
28725 Use char because int might match the return type of a GCC
28726 builtin and then its argument prototype would still apply. */
28727 #ifdef __cplusplus
28728 extern "C"
28729 #endif
28730 char tanf ();
28732 main ()
28734 return tanf ();
28736 return 0;
28738 _ACEOF
28739 rm -f conftest.$ac_objext conftest$ac_exeext
28740 if { (ac_try="$ac_link"
28741 case "(($ac_try" in
28742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28743 *) ac_try_echo=$ac_try;;
28744 esac
28745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28746 (eval "$ac_link") 2>conftest.er1
28747 ac_status=$?
28748 grep -v '^ *+' conftest.er1 >conftest.err
28749 rm -f conftest.er1
28750 cat conftest.err >&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } && {
28753 test -z "$ac_c_werror_flag" ||
28754 test ! -s conftest.err
28755 } && test -s conftest$ac_exeext &&
28756 $as_test_x conftest$ac_exeext; then
28757 ac_cv_lib_m_tanf=yes
28758 else
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.$ac_ext >&5
28762 ac_cv_lib_m_tanf=no
28765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28766 conftest$ac_exeext conftest.$ac_ext
28767 LIBS=$ac_check_lib_save_LIBS
28769 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28770 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6; }
28771 if test $ac_cv_lib_m_tanf = yes; then
28773 cat >>confdefs.h <<\_ACEOF
28774 #define HAVE_TANF 1
28775 _ACEOF
28779 { echo "$as_me:$LINENO: checking for tan in -lm" >&5
28780 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6; }
28781 if test "${ac_cv_lib_m_tan+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 ac_check_lib_save_LIBS=$LIBS
28785 LIBS="-lm $LIBS"
28786 if test x$gcc_no_link = xyes; then
28787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28789 { (exit 1); exit 1; }; }
28791 cat >conftest.$ac_ext <<_ACEOF
28792 /* confdefs.h. */
28793 _ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28798 /* Override any GCC internal prototype to avoid an error.
28799 Use char because int might match the return type of a GCC
28800 builtin and then its argument prototype would still apply. */
28801 #ifdef __cplusplus
28802 extern "C"
28803 #endif
28804 char tan ();
28806 main ()
28808 return tan ();
28810 return 0;
28812 _ACEOF
28813 rm -f conftest.$ac_objext conftest$ac_exeext
28814 if { (ac_try="$ac_link"
28815 case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28818 esac
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_link") 2>conftest.er1
28821 ac_status=$?
28822 grep -v '^ *+' conftest.er1 >conftest.err
28823 rm -f conftest.er1
28824 cat conftest.err >&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } && {
28827 test -z "$ac_c_werror_flag" ||
28828 test ! -s conftest.err
28829 } && test -s conftest$ac_exeext &&
28830 $as_test_x conftest$ac_exeext; then
28831 ac_cv_lib_m_tan=yes
28832 else
28833 echo "$as_me: failed program was:" >&5
28834 sed 's/^/| /' conftest.$ac_ext >&5
28836 ac_cv_lib_m_tan=no
28839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28840 conftest$ac_exeext conftest.$ac_ext
28841 LIBS=$ac_check_lib_save_LIBS
28843 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28844 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6; }
28845 if test $ac_cv_lib_m_tan = yes; then
28847 cat >>confdefs.h <<\_ACEOF
28848 #define HAVE_TAN 1
28849 _ACEOF
28853 { echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28854 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6; }
28855 if test "${ac_cv_lib_m_tanl+set}" = set; then
28856 echo $ECHO_N "(cached) $ECHO_C" >&6
28857 else
28858 ac_check_lib_save_LIBS=$LIBS
28859 LIBS="-lm $LIBS"
28860 if test x$gcc_no_link = xyes; then
28861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28863 { (exit 1); exit 1; }; }
28865 cat >conftest.$ac_ext <<_ACEOF
28866 /* confdefs.h. */
28867 _ACEOF
28868 cat confdefs.h >>conftest.$ac_ext
28869 cat >>conftest.$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28872 /* Override any GCC internal prototype to avoid an error.
28873 Use char because int might match the return type of a GCC
28874 builtin and then its argument prototype would still apply. */
28875 #ifdef __cplusplus
28876 extern "C"
28877 #endif
28878 char tanl ();
28880 main ()
28882 return tanl ();
28884 return 0;
28886 _ACEOF
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28892 esac
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 ac_cv_lib_m_tanl=yes
28906 else
28907 echo "$as_me: failed program was:" >&5
28908 sed 's/^/| /' conftest.$ac_ext >&5
28910 ac_cv_lib_m_tanl=no
28913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28914 conftest$ac_exeext conftest.$ac_ext
28915 LIBS=$ac_check_lib_save_LIBS
28917 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28918 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6; }
28919 if test $ac_cv_lib_m_tanl = yes; then
28921 cat >>confdefs.h <<\_ACEOF
28922 #define HAVE_TANL 1
28923 _ACEOF
28927 { echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28928 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6; }
28929 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28931 else
28932 ac_check_lib_save_LIBS=$LIBS
28933 LIBS="-lm $LIBS"
28934 if test x$gcc_no_link = xyes; then
28935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28937 { (exit 1); exit 1; }; }
28939 cat >conftest.$ac_ext <<_ACEOF
28940 /* confdefs.h. */
28941 _ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28946 /* Override any GCC internal prototype to avoid an error.
28947 Use char because int might match the return type of a GCC
28948 builtin and then its argument prototype would still apply. */
28949 #ifdef __cplusplus
28950 extern "C"
28951 #endif
28952 char ctanf ();
28954 main ()
28956 return ctanf ();
28958 return 0;
28960 _ACEOF
28961 rm -f conftest.$ac_objext conftest$ac_exeext
28962 if { (ac_try="$ac_link"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28966 esac
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_link") 2>conftest.er1
28969 ac_status=$?
28970 grep -v '^ *+' conftest.er1 >conftest.err
28971 rm -f conftest.er1
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest$ac_exeext &&
28978 $as_test_x conftest$ac_exeext; then
28979 ac_cv_lib_m_ctanf=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 ac_cv_lib_m_ctanf=no
28987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28992 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6; }
28993 if test $ac_cv_lib_m_ctanf = yes; then
28995 cat >>confdefs.h <<\_ACEOF
28996 #define HAVE_CTANF 1
28997 _ACEOF
29001 { echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29002 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6; }
29003 if test "${ac_cv_lib_m_ctan+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29006 ac_check_lib_save_LIBS=$LIBS
29007 LIBS="-lm $LIBS"
29008 if test x$gcc_no_link = xyes; then
29009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011 { (exit 1); exit 1; }; }
29013 cat >conftest.$ac_ext <<_ACEOF
29014 /* confdefs.h. */
29015 _ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 /* Override any GCC internal prototype to avoid an error.
29021 Use char because int might match the return type of a GCC
29022 builtin and then its argument prototype would still apply. */
29023 #ifdef __cplusplus
29024 extern "C"
29025 #endif
29026 char ctan ();
29028 main ()
29030 return ctan ();
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (ac_try="$ac_link"
29037 case "(($ac_try" in
29038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29039 *) ac_try_echo=$ac_try;;
29040 esac
29041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29042 (eval "$ac_link") 2>conftest.er1
29043 ac_status=$?
29044 grep -v '^ *+' conftest.er1 >conftest.err
29045 rm -f conftest.er1
29046 cat conftest.err >&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } && {
29049 test -z "$ac_c_werror_flag" ||
29050 test ! -s conftest.err
29051 } && test -s conftest$ac_exeext &&
29052 $as_test_x conftest$ac_exeext; then
29053 ac_cv_lib_m_ctan=yes
29054 else
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.$ac_ext >&5
29058 ac_cv_lib_m_ctan=no
29061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29062 conftest$ac_exeext conftest.$ac_ext
29063 LIBS=$ac_check_lib_save_LIBS
29065 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29066 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6; }
29067 if test $ac_cv_lib_m_ctan = yes; then
29069 cat >>confdefs.h <<\_ACEOF
29070 #define HAVE_CTAN 1
29071 _ACEOF
29075 { echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29076 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6; }
29077 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 else
29080 ac_check_lib_save_LIBS=$LIBS
29081 LIBS="-lm $LIBS"
29082 if test x$gcc_no_link = xyes; then
29083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29085 { (exit 1); exit 1; }; }
29087 cat >conftest.$ac_ext <<_ACEOF
29088 /* confdefs.h. */
29089 _ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29094 /* Override any GCC internal prototype to avoid an error.
29095 Use char because int might match the return type of a GCC
29096 builtin and then its argument prototype would still apply. */
29097 #ifdef __cplusplus
29098 extern "C"
29099 #endif
29100 char ctanl ();
29102 main ()
29104 return ctanl ();
29106 return 0;
29108 _ACEOF
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (ac_try="$ac_link"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29114 esac
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_link") 2>conftest.er1
29117 ac_status=$?
29118 grep -v '^ *+' conftest.er1 >conftest.err
29119 rm -f conftest.er1
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest$ac_exeext &&
29126 $as_test_x conftest$ac_exeext; then
29127 ac_cv_lib_m_ctanl=yes
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29132 ac_cv_lib_m_ctanl=no
29135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29136 conftest$ac_exeext conftest.$ac_ext
29137 LIBS=$ac_check_lib_save_LIBS
29139 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29140 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6; }
29141 if test $ac_cv_lib_m_ctanl = yes; then
29143 cat >>confdefs.h <<\_ACEOF
29144 #define HAVE_CTANL 1
29145 _ACEOF
29149 { echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29150 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6; }
29151 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29153 else
29154 ac_check_lib_save_LIBS=$LIBS
29155 LIBS="-lm $LIBS"
29156 if test x$gcc_no_link = xyes; then
29157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29159 { (exit 1); exit 1; }; }
29161 cat >conftest.$ac_ext <<_ACEOF
29162 /* confdefs.h. */
29163 _ACEOF
29164 cat confdefs.h >>conftest.$ac_ext
29165 cat >>conftest.$ac_ext <<_ACEOF
29166 /* end confdefs.h. */
29168 /* Override any GCC internal prototype to avoid an error.
29169 Use char because int might match the return type of a GCC
29170 builtin and then its argument prototype would still apply. */
29171 #ifdef __cplusplus
29172 extern "C"
29173 #endif
29174 char tanhf ();
29176 main ()
29178 return tanhf ();
29180 return 0;
29182 _ACEOF
29183 rm -f conftest.$ac_objext conftest$ac_exeext
29184 if { (ac_try="$ac_link"
29185 case "(($ac_try" in
29186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29187 *) ac_try_echo=$ac_try;;
29188 esac
29189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 (eval "$ac_link") 2>conftest.er1
29191 ac_status=$?
29192 grep -v '^ *+' conftest.er1 >conftest.err
29193 rm -f conftest.er1
29194 cat conftest.err >&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); } && {
29197 test -z "$ac_c_werror_flag" ||
29198 test ! -s conftest.err
29199 } && test -s conftest$ac_exeext &&
29200 $as_test_x conftest$ac_exeext; then
29201 ac_cv_lib_m_tanhf=yes
29202 else
29203 echo "$as_me: failed program was:" >&5
29204 sed 's/^/| /' conftest.$ac_ext >&5
29206 ac_cv_lib_m_tanhf=no
29209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29210 conftest$ac_exeext conftest.$ac_ext
29211 LIBS=$ac_check_lib_save_LIBS
29213 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29214 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6; }
29215 if test $ac_cv_lib_m_tanhf = yes; then
29217 cat >>confdefs.h <<\_ACEOF
29218 #define HAVE_TANHF 1
29219 _ACEOF
29223 { echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29224 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6; }
29225 if test "${ac_cv_lib_m_tanh+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 else
29228 ac_check_lib_save_LIBS=$LIBS
29229 LIBS="-lm $LIBS"
29230 if test x$gcc_no_link = xyes; then
29231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29233 { (exit 1); exit 1; }; }
29235 cat >conftest.$ac_ext <<_ACEOF
29236 /* confdefs.h. */
29237 _ACEOF
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29242 /* Override any GCC internal prototype to avoid an error.
29243 Use char because int might match the return type of a GCC
29244 builtin and then its argument prototype would still apply. */
29245 #ifdef __cplusplus
29246 extern "C"
29247 #endif
29248 char tanh ();
29250 main ()
29252 return tanh ();
29254 return 0;
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (ac_try="$ac_link"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29262 esac
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_link") 2>conftest.er1
29265 ac_status=$?
29266 grep -v '^ *+' conftest.er1 >conftest.err
29267 rm -f conftest.er1
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_c_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest$ac_exeext &&
29274 $as_test_x conftest$ac_exeext; then
29275 ac_cv_lib_m_tanh=yes
29276 else
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29280 ac_cv_lib_m_tanh=no
29283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29284 conftest$ac_exeext conftest.$ac_ext
29285 LIBS=$ac_check_lib_save_LIBS
29287 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29288 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6; }
29289 if test $ac_cv_lib_m_tanh = yes; then
29291 cat >>confdefs.h <<\_ACEOF
29292 #define HAVE_TANH 1
29293 _ACEOF
29297 { echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29298 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6; }
29299 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29300 echo $ECHO_N "(cached) $ECHO_C" >&6
29301 else
29302 ac_check_lib_save_LIBS=$LIBS
29303 LIBS="-lm $LIBS"
29304 if test x$gcc_no_link = xyes; then
29305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29307 { (exit 1); exit 1; }; }
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29316 /* Override any GCC internal prototype to avoid an error.
29317 Use char because int might match the return type of a GCC
29318 builtin and then its argument prototype would still apply. */
29319 #ifdef __cplusplus
29320 extern "C"
29321 #endif
29322 char tanhl ();
29324 main ()
29326 return tanhl ();
29328 return 0;
29330 _ACEOF
29331 rm -f conftest.$ac_objext conftest$ac_exeext
29332 if { (ac_try="$ac_link"
29333 case "(($ac_try" in
29334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29336 esac
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_link") 2>conftest.er1
29339 ac_status=$?
29340 grep -v '^ *+' conftest.er1 >conftest.err
29341 rm -f conftest.er1
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } && {
29345 test -z "$ac_c_werror_flag" ||
29346 test ! -s conftest.err
29347 } && test -s conftest$ac_exeext &&
29348 $as_test_x conftest$ac_exeext; then
29349 ac_cv_lib_m_tanhl=yes
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29354 ac_cv_lib_m_tanhl=no
29357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29358 conftest$ac_exeext conftest.$ac_ext
29359 LIBS=$ac_check_lib_save_LIBS
29361 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29362 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6; }
29363 if test $ac_cv_lib_m_tanhl = yes; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define HAVE_TANHL 1
29367 _ACEOF
29371 { echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29372 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6; }
29373 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 ac_check_lib_save_LIBS=$LIBS
29377 LIBS="-lm $LIBS"
29378 if test x$gcc_no_link = xyes; then
29379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29381 { (exit 1); exit 1; }; }
29383 cat >conftest.$ac_ext <<_ACEOF
29384 /* confdefs.h. */
29385 _ACEOF
29386 cat confdefs.h >>conftest.$ac_ext
29387 cat >>conftest.$ac_ext <<_ACEOF
29388 /* end confdefs.h. */
29390 /* Override any GCC internal prototype to avoid an error.
29391 Use char because int might match the return type of a GCC
29392 builtin and then its argument prototype would still apply. */
29393 #ifdef __cplusplus
29394 extern "C"
29395 #endif
29396 char ctanhf ();
29398 main ()
29400 return ctanhf ();
29402 return 0;
29404 _ACEOF
29405 rm -f conftest.$ac_objext conftest$ac_exeext
29406 if { (ac_try="$ac_link"
29407 case "(($ac_try" in
29408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29409 *) ac_try_echo=$ac_try;;
29410 esac
29411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29412 (eval "$ac_link") 2>conftest.er1
29413 ac_status=$?
29414 grep -v '^ *+' conftest.er1 >conftest.err
29415 rm -f conftest.er1
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } && {
29419 test -z "$ac_c_werror_flag" ||
29420 test ! -s conftest.err
29421 } && test -s conftest$ac_exeext &&
29422 $as_test_x conftest$ac_exeext; then
29423 ac_cv_lib_m_ctanhf=yes
29424 else
29425 echo "$as_me: failed program was:" >&5
29426 sed 's/^/| /' conftest.$ac_ext >&5
29428 ac_cv_lib_m_ctanhf=no
29431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29432 conftest$ac_exeext conftest.$ac_ext
29433 LIBS=$ac_check_lib_save_LIBS
29435 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29436 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6; }
29437 if test $ac_cv_lib_m_ctanhf = yes; then
29439 cat >>confdefs.h <<\_ACEOF
29440 #define HAVE_CTANHF 1
29441 _ACEOF
29445 { echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29446 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6; }
29447 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 else
29450 ac_check_lib_save_LIBS=$LIBS
29451 LIBS="-lm $LIBS"
29452 if test x$gcc_no_link = xyes; then
29453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29455 { (exit 1); exit 1; }; }
29457 cat >conftest.$ac_ext <<_ACEOF
29458 /* confdefs.h. */
29459 _ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29464 /* Override any GCC internal prototype to avoid an error.
29465 Use char because int might match the return type of a GCC
29466 builtin and then its argument prototype would still apply. */
29467 #ifdef __cplusplus
29468 extern "C"
29469 #endif
29470 char ctanh ();
29472 main ()
29474 return ctanh ();
29476 return 0;
29478 _ACEOF
29479 rm -f conftest.$ac_objext conftest$ac_exeext
29480 if { (ac_try="$ac_link"
29481 case "(($ac_try" in
29482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29484 esac
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_link") 2>conftest.er1
29487 ac_status=$?
29488 grep -v '^ *+' conftest.er1 >conftest.err
29489 rm -f conftest.er1
29490 cat conftest.err >&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } && {
29493 test -z "$ac_c_werror_flag" ||
29494 test ! -s conftest.err
29495 } && test -s conftest$ac_exeext &&
29496 $as_test_x conftest$ac_exeext; then
29497 ac_cv_lib_m_ctanh=yes
29498 else
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.$ac_ext >&5
29502 ac_cv_lib_m_ctanh=no
29505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29506 conftest$ac_exeext conftest.$ac_ext
29507 LIBS=$ac_check_lib_save_LIBS
29509 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29510 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6; }
29511 if test $ac_cv_lib_m_ctanh = yes; then
29513 cat >>confdefs.h <<\_ACEOF
29514 #define HAVE_CTANH 1
29515 _ACEOF
29519 { echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29520 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6; }
29521 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29523 else
29524 ac_check_lib_save_LIBS=$LIBS
29525 LIBS="-lm $LIBS"
29526 if test x$gcc_no_link = xyes; then
29527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29529 { (exit 1); exit 1; }; }
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29538 /* Override any GCC internal prototype to avoid an error.
29539 Use char because int might match the return type of a GCC
29540 builtin and then its argument prototype would still apply. */
29541 #ifdef __cplusplus
29542 extern "C"
29543 #endif
29544 char ctanhl ();
29546 main ()
29548 return ctanhl ();
29550 return 0;
29552 _ACEOF
29553 rm -f conftest.$ac_objext conftest$ac_exeext
29554 if { (ac_try="$ac_link"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29558 esac
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_link") 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_c_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest$ac_exeext &&
29570 $as_test_x conftest$ac_exeext; then
29571 ac_cv_lib_m_ctanhl=yes
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29576 ac_cv_lib_m_ctanhl=no
29579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29580 conftest$ac_exeext conftest.$ac_ext
29581 LIBS=$ac_check_lib_save_LIBS
29583 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29584 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6; }
29585 if test $ac_cv_lib_m_ctanhl = yes; then
29587 cat >>confdefs.h <<\_ACEOF
29588 #define HAVE_CTANHL 1
29589 _ACEOF
29593 { echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29594 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6; }
29595 if test "${ac_cv_lib_m_truncf+set}" = set; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29597 else
29598 ac_check_lib_save_LIBS=$LIBS
29599 LIBS="-lm $LIBS"
29600 if test x$gcc_no_link = xyes; then
29601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29603 { (exit 1); exit 1; }; }
29605 cat >conftest.$ac_ext <<_ACEOF
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29615 #ifdef __cplusplus
29616 extern "C"
29617 #endif
29618 char truncf ();
29620 main ()
29622 return truncf ();
29624 return 0;
29626 _ACEOF
29627 rm -f conftest.$ac_objext conftest$ac_exeext
29628 if { (ac_try="$ac_link"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29632 esac
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_link") 2>conftest.er1
29635 ac_status=$?
29636 grep -v '^ *+' conftest.er1 >conftest.err
29637 rm -f conftest.er1
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } && {
29641 test -z "$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29643 } && test -s conftest$ac_exeext &&
29644 $as_test_x conftest$ac_exeext; then
29645 ac_cv_lib_m_truncf=yes
29646 else
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.$ac_ext >&5
29650 ac_cv_lib_m_truncf=no
29653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29654 conftest$ac_exeext conftest.$ac_ext
29655 LIBS=$ac_check_lib_save_LIBS
29657 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29658 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6; }
29659 if test $ac_cv_lib_m_truncf = yes; then
29661 cat >>confdefs.h <<\_ACEOF
29662 #define HAVE_TRUNCF 1
29663 _ACEOF
29667 { echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29668 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6; }
29669 if test "${ac_cv_lib_m_trunc+set}" = set; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 else
29672 ac_check_lib_save_LIBS=$LIBS
29673 LIBS="-lm $LIBS"
29674 if test x$gcc_no_link = xyes; then
29675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29677 { (exit 1); exit 1; }; }
29679 cat >conftest.$ac_ext <<_ACEOF
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 /* Override any GCC internal prototype to avoid an error.
29687 Use char because int might match the return type of a GCC
29688 builtin and then its argument prototype would still apply. */
29689 #ifdef __cplusplus
29690 extern "C"
29691 #endif
29692 char trunc ();
29694 main ()
29696 return trunc ();
29698 return 0;
29700 _ACEOF
29701 rm -f conftest.$ac_objext conftest$ac_exeext
29702 if { (ac_try="$ac_link"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29706 esac
29707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_link") 2>conftest.er1
29709 ac_status=$?
29710 grep -v '^ *+' conftest.er1 >conftest.err
29711 rm -f conftest.er1
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } && {
29715 test -z "$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29717 } && test -s conftest$ac_exeext &&
29718 $as_test_x conftest$ac_exeext; then
29719 ac_cv_lib_m_trunc=yes
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29724 ac_cv_lib_m_trunc=no
29727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29728 conftest$ac_exeext conftest.$ac_ext
29729 LIBS=$ac_check_lib_save_LIBS
29731 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29732 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6; }
29733 if test $ac_cv_lib_m_trunc = yes; then
29735 cat >>confdefs.h <<\_ACEOF
29736 #define HAVE_TRUNC 1
29737 _ACEOF
29741 { echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29742 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6; }
29743 if test "${ac_cv_lib_m_truncl+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746 ac_check_lib_save_LIBS=$LIBS
29747 LIBS="-lm $LIBS"
29748 if test x$gcc_no_link = xyes; then
29749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29751 { (exit 1); exit 1; }; }
29753 cat >conftest.$ac_ext <<_ACEOF
29754 /* confdefs.h. */
29755 _ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29760 /* Override any GCC internal prototype to avoid an error.
29761 Use char because int might match the return type of a GCC
29762 builtin and then its argument prototype would still apply. */
29763 #ifdef __cplusplus
29764 extern "C"
29765 #endif
29766 char truncl ();
29768 main ()
29770 return truncl ();
29772 return 0;
29774 _ACEOF
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (ac_try="$ac_link"
29777 case "(($ac_try" in
29778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29779 *) ac_try_echo=$ac_try;;
29780 esac
29781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29782 (eval "$ac_link") 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } && {
29789 test -z "$ac_c_werror_flag" ||
29790 test ! -s conftest.err
29791 } && test -s conftest$ac_exeext &&
29792 $as_test_x conftest$ac_exeext; then
29793 ac_cv_lib_m_truncl=yes
29794 else
29795 echo "$as_me: failed program was:" >&5
29796 sed 's/^/| /' conftest.$ac_ext >&5
29798 ac_cv_lib_m_truncl=no
29801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29802 conftest$ac_exeext conftest.$ac_ext
29803 LIBS=$ac_check_lib_save_LIBS
29805 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29806 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6; }
29807 if test $ac_cv_lib_m_truncl = yes; then
29809 cat >>confdefs.h <<\_ACEOF
29810 #define HAVE_TRUNCL 1
29811 _ACEOF
29815 { echo "$as_me:$LINENO: checking for erff in -lm" >&5
29816 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6; }
29817 if test "${ac_cv_lib_m_erff+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29819 else
29820 ac_check_lib_save_LIBS=$LIBS
29821 LIBS="-lm $LIBS"
29822 if test x$gcc_no_link = xyes; then
29823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29825 { (exit 1); exit 1; }; }
29827 cat >conftest.$ac_ext <<_ACEOF
29828 /* confdefs.h. */
29829 _ACEOF
29830 cat confdefs.h >>conftest.$ac_ext
29831 cat >>conftest.$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29834 /* Override any GCC internal prototype to avoid an error.
29835 Use char because int might match the return type of a GCC
29836 builtin and then its argument prototype would still apply. */
29837 #ifdef __cplusplus
29838 extern "C"
29839 #endif
29840 char erff ();
29842 main ()
29844 return erff ();
29846 return 0;
29848 _ACEOF
29849 rm -f conftest.$ac_objext conftest$ac_exeext
29850 if { (ac_try="$ac_link"
29851 case "(($ac_try" in
29852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29853 *) ac_try_echo=$ac_try;;
29854 esac
29855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29856 (eval "$ac_link") 2>conftest.er1
29857 ac_status=$?
29858 grep -v '^ *+' conftest.er1 >conftest.err
29859 rm -f conftest.er1
29860 cat conftest.err >&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); } && {
29863 test -z "$ac_c_werror_flag" ||
29864 test ! -s conftest.err
29865 } && test -s conftest$ac_exeext &&
29866 $as_test_x conftest$ac_exeext; then
29867 ac_cv_lib_m_erff=yes
29868 else
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 ac_cv_lib_m_erff=no
29875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29876 conftest$ac_exeext conftest.$ac_ext
29877 LIBS=$ac_check_lib_save_LIBS
29879 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29880 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6; }
29881 if test $ac_cv_lib_m_erff = yes; then
29883 cat >>confdefs.h <<\_ACEOF
29884 #define HAVE_ERFF 1
29885 _ACEOF
29889 { echo "$as_me:$LINENO: checking for erf in -lm" >&5
29890 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6; }
29891 if test "${ac_cv_lib_m_erf+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 else
29894 ac_check_lib_save_LIBS=$LIBS
29895 LIBS="-lm $LIBS"
29896 if test x$gcc_no_link = xyes; then
29897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29899 { (exit 1); exit 1; }; }
29901 cat >conftest.$ac_ext <<_ACEOF
29902 /* confdefs.h. */
29903 _ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h. */
29908 /* Override any GCC internal prototype to avoid an error.
29909 Use char because int might match the return type of a GCC
29910 builtin and then its argument prototype would still apply. */
29911 #ifdef __cplusplus
29912 extern "C"
29913 #endif
29914 char erf ();
29916 main ()
29918 return erf ();
29920 return 0;
29922 _ACEOF
29923 rm -f conftest.$ac_objext conftest$ac_exeext
29924 if { (ac_try="$ac_link"
29925 case "(($ac_try" in
29926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29927 *) ac_try_echo=$ac_try;;
29928 esac
29929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29930 (eval "$ac_link") 2>conftest.er1
29931 ac_status=$?
29932 grep -v '^ *+' conftest.er1 >conftest.err
29933 rm -f conftest.er1
29934 cat conftest.err >&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } && {
29937 test -z "$ac_c_werror_flag" ||
29938 test ! -s conftest.err
29939 } && test -s conftest$ac_exeext &&
29940 $as_test_x conftest$ac_exeext; then
29941 ac_cv_lib_m_erf=yes
29942 else
29943 echo "$as_me: failed program was:" >&5
29944 sed 's/^/| /' conftest.$ac_ext >&5
29946 ac_cv_lib_m_erf=no
29949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29950 conftest$ac_exeext conftest.$ac_ext
29951 LIBS=$ac_check_lib_save_LIBS
29953 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29954 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6; }
29955 if test $ac_cv_lib_m_erf = yes; then
29957 cat >>confdefs.h <<\_ACEOF
29958 #define HAVE_ERF 1
29959 _ACEOF
29963 { echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29964 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6; }
29965 if test "${ac_cv_lib_m_erfl+set}" = set; then
29966 echo $ECHO_N "(cached) $ECHO_C" >&6
29967 else
29968 ac_check_lib_save_LIBS=$LIBS
29969 LIBS="-lm $LIBS"
29970 if test x$gcc_no_link = xyes; then
29971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29973 { (exit 1); exit 1; }; }
29975 cat >conftest.$ac_ext <<_ACEOF
29976 /* confdefs.h. */
29977 _ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29982 /* Override any GCC internal prototype to avoid an error.
29983 Use char because int might match the return type of a GCC
29984 builtin and then its argument prototype would still apply. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 char erfl ();
29990 main ()
29992 return erfl ();
29994 return 0;
29996 _ACEOF
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (ac_try="$ac_link"
29999 case "(($ac_try" in
30000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30001 *) ac_try_echo=$ac_try;;
30002 esac
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_link") 2>conftest.er1
30005 ac_status=$?
30006 grep -v '^ *+' conftest.er1 >conftest.err
30007 rm -f conftest.er1
30008 cat conftest.err >&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); } && {
30011 test -z "$ac_c_werror_flag" ||
30012 test ! -s conftest.err
30013 } && test -s conftest$ac_exeext &&
30014 $as_test_x conftest$ac_exeext; then
30015 ac_cv_lib_m_erfl=yes
30016 else
30017 echo "$as_me: failed program was:" >&5
30018 sed 's/^/| /' conftest.$ac_ext >&5
30020 ac_cv_lib_m_erfl=no
30023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30024 conftest$ac_exeext conftest.$ac_ext
30025 LIBS=$ac_check_lib_save_LIBS
30027 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30028 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6; }
30029 if test $ac_cv_lib_m_erfl = yes; then
30031 cat >>confdefs.h <<\_ACEOF
30032 #define HAVE_ERFL 1
30033 _ACEOF
30037 { echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30038 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6; }
30039 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 else
30042 ac_check_lib_save_LIBS=$LIBS
30043 LIBS="-lm $LIBS"
30044 if test x$gcc_no_link = xyes; then
30045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30047 { (exit 1); exit 1; }; }
30049 cat >conftest.$ac_ext <<_ACEOF
30050 /* confdefs.h. */
30051 _ACEOF
30052 cat confdefs.h >>conftest.$ac_ext
30053 cat >>conftest.$ac_ext <<_ACEOF
30054 /* end confdefs.h. */
30056 /* Override any GCC internal prototype to avoid an error.
30057 Use char because int might match the return type of a GCC
30058 builtin and then its argument prototype would still apply. */
30059 #ifdef __cplusplus
30060 extern "C"
30061 #endif
30062 char erfcf ();
30064 main ()
30066 return erfcf ();
30068 return 0;
30070 _ACEOF
30071 rm -f conftest.$ac_objext conftest$ac_exeext
30072 if { (ac_try="$ac_link"
30073 case "(($ac_try" in
30074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30075 *) ac_try_echo=$ac_try;;
30076 esac
30077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30078 (eval "$ac_link") 2>conftest.er1
30079 ac_status=$?
30080 grep -v '^ *+' conftest.er1 >conftest.err
30081 rm -f conftest.er1
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } && {
30085 test -z "$ac_c_werror_flag" ||
30086 test ! -s conftest.err
30087 } && test -s conftest$ac_exeext &&
30088 $as_test_x conftest$ac_exeext; then
30089 ac_cv_lib_m_erfcf=yes
30090 else
30091 echo "$as_me: failed program was:" >&5
30092 sed 's/^/| /' conftest.$ac_ext >&5
30094 ac_cv_lib_m_erfcf=no
30097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30098 conftest$ac_exeext conftest.$ac_ext
30099 LIBS=$ac_check_lib_save_LIBS
30101 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30102 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6; }
30103 if test $ac_cv_lib_m_erfcf = yes; then
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_ERFCF 1
30107 _ACEOF
30111 { echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30112 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_m_erfc+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30115 else
30116 ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-lm $LIBS"
30118 if test x$gcc_no_link = xyes; then
30119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30121 { (exit 1); exit 1; }; }
30123 cat >conftest.$ac_ext <<_ACEOF
30124 /* confdefs.h. */
30125 _ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h. */
30130 /* Override any GCC internal prototype to avoid an error.
30131 Use char because int might match the return type of a GCC
30132 builtin and then its argument prototype would still apply. */
30133 #ifdef __cplusplus
30134 extern "C"
30135 #endif
30136 char erfc ();
30138 main ()
30140 return erfc ();
30142 return 0;
30144 _ACEOF
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (ac_try="$ac_link"
30147 case "(($ac_try" in
30148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30149 *) ac_try_echo=$ac_try;;
30150 esac
30151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30152 (eval "$ac_link") 2>conftest.er1
30153 ac_status=$?
30154 grep -v '^ *+' conftest.er1 >conftest.err
30155 rm -f conftest.er1
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } && {
30159 test -z "$ac_c_werror_flag" ||
30160 test ! -s conftest.err
30161 } && test -s conftest$ac_exeext &&
30162 $as_test_x conftest$ac_exeext; then
30163 ac_cv_lib_m_erfc=yes
30164 else
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.$ac_ext >&5
30168 ac_cv_lib_m_erfc=no
30171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30172 conftest$ac_exeext conftest.$ac_ext
30173 LIBS=$ac_check_lib_save_LIBS
30175 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30176 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6; }
30177 if test $ac_cv_lib_m_erfc = yes; then
30179 cat >>confdefs.h <<\_ACEOF
30180 #define HAVE_ERFC 1
30181 _ACEOF
30185 { echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30186 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6; }
30187 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30189 else
30190 ac_check_lib_save_LIBS=$LIBS
30191 LIBS="-lm $LIBS"
30192 if test x$gcc_no_link = xyes; then
30193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30195 { (exit 1); exit 1; }; }
30197 cat >conftest.$ac_ext <<_ACEOF
30198 /* confdefs.h. */
30199 _ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30204 /* Override any GCC internal prototype to avoid an error.
30205 Use char because int might match the return type of a GCC
30206 builtin and then its argument prototype would still apply. */
30207 #ifdef __cplusplus
30208 extern "C"
30209 #endif
30210 char erfcl ();
30212 main ()
30214 return erfcl ();
30216 return 0;
30218 _ACEOF
30219 rm -f conftest.$ac_objext conftest$ac_exeext
30220 if { (ac_try="$ac_link"
30221 case "(($ac_try" in
30222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30223 *) ac_try_echo=$ac_try;;
30224 esac
30225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30226 (eval "$ac_link") 2>conftest.er1
30227 ac_status=$?
30228 grep -v '^ *+' conftest.er1 >conftest.err
30229 rm -f conftest.er1
30230 cat conftest.err >&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); } && {
30233 test -z "$ac_c_werror_flag" ||
30234 test ! -s conftest.err
30235 } && test -s conftest$ac_exeext &&
30236 $as_test_x conftest$ac_exeext; then
30237 ac_cv_lib_m_erfcl=yes
30238 else
30239 echo "$as_me: failed program was:" >&5
30240 sed 's/^/| /' conftest.$ac_ext >&5
30242 ac_cv_lib_m_erfcl=no
30245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30246 conftest$ac_exeext conftest.$ac_ext
30247 LIBS=$ac_check_lib_save_LIBS
30249 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30250 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6; }
30251 if test $ac_cv_lib_m_erfcl = yes; then
30253 cat >>confdefs.h <<\_ACEOF
30254 #define HAVE_ERFCL 1
30255 _ACEOF
30259 { echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30260 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6; }
30261 if test "${ac_cv_lib_m_j0f+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30263 else
30264 ac_check_lib_save_LIBS=$LIBS
30265 LIBS="-lm $LIBS"
30266 if test x$gcc_no_link = xyes; then
30267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30269 { (exit 1); exit 1; }; }
30271 cat >conftest.$ac_ext <<_ACEOF
30272 /* confdefs.h. */
30273 _ACEOF
30274 cat confdefs.h >>conftest.$ac_ext
30275 cat >>conftest.$ac_ext <<_ACEOF
30276 /* end confdefs.h. */
30278 /* Override any GCC internal prototype to avoid an error.
30279 Use char because int might match the return type of a GCC
30280 builtin and then its argument prototype would still apply. */
30281 #ifdef __cplusplus
30282 extern "C"
30283 #endif
30284 char j0f ();
30286 main ()
30288 return j0f ();
30290 return 0;
30292 _ACEOF
30293 rm -f conftest.$ac_objext conftest$ac_exeext
30294 if { (ac_try="$ac_link"
30295 case "(($ac_try" in
30296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30297 *) ac_try_echo=$ac_try;;
30298 esac
30299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30300 (eval "$ac_link") 2>conftest.er1
30301 ac_status=$?
30302 grep -v '^ *+' conftest.er1 >conftest.err
30303 rm -f conftest.er1
30304 cat conftest.err >&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } && {
30307 test -z "$ac_c_werror_flag" ||
30308 test ! -s conftest.err
30309 } && test -s conftest$ac_exeext &&
30310 $as_test_x conftest$ac_exeext; then
30311 ac_cv_lib_m_j0f=yes
30312 else
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.$ac_ext >&5
30316 ac_cv_lib_m_j0f=no
30319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30320 conftest$ac_exeext conftest.$ac_ext
30321 LIBS=$ac_check_lib_save_LIBS
30323 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30324 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6; }
30325 if test $ac_cv_lib_m_j0f = yes; then
30327 cat >>confdefs.h <<\_ACEOF
30328 #define HAVE_J0F 1
30329 _ACEOF
30333 { echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30334 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6; }
30335 if test "${ac_cv_lib_m_j0+set}" = set; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 else
30338 ac_check_lib_save_LIBS=$LIBS
30339 LIBS="-lm $LIBS"
30340 if test x$gcc_no_link = xyes; then
30341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30343 { (exit 1); exit 1; }; }
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30352 /* Override any GCC internal prototype to avoid an error.
30353 Use char because int might match the return type of a GCC
30354 builtin and then its argument prototype would still apply. */
30355 #ifdef __cplusplus
30356 extern "C"
30357 #endif
30358 char j0 ();
30360 main ()
30362 return j0 ();
30364 return 0;
30366 _ACEOF
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (ac_try="$ac_link"
30369 case "(($ac_try" in
30370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30371 *) ac_try_echo=$ac_try;;
30372 esac
30373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30374 (eval "$ac_link") 2>conftest.er1
30375 ac_status=$?
30376 grep -v '^ *+' conftest.er1 >conftest.err
30377 rm -f conftest.er1
30378 cat conftest.err >&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } && {
30381 test -z "$ac_c_werror_flag" ||
30382 test ! -s conftest.err
30383 } && test -s conftest$ac_exeext &&
30384 $as_test_x conftest$ac_exeext; then
30385 ac_cv_lib_m_j0=yes
30386 else
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30390 ac_cv_lib_m_j0=no
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 LIBS=$ac_check_lib_save_LIBS
30397 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30398 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6; }
30399 if test $ac_cv_lib_m_j0 = yes; then
30401 cat >>confdefs.h <<\_ACEOF
30402 #define HAVE_J0 1
30403 _ACEOF
30407 { echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30408 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6; }
30409 if test "${ac_cv_lib_m_j0l+set}" = set; then
30410 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 else
30412 ac_check_lib_save_LIBS=$LIBS
30413 LIBS="-lm $LIBS"
30414 if test x$gcc_no_link = xyes; then
30415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30417 { (exit 1); exit 1; }; }
30419 cat >conftest.$ac_ext <<_ACEOF
30420 /* confdefs.h. */
30421 _ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30429 #ifdef __cplusplus
30430 extern "C"
30431 #endif
30432 char j0l ();
30434 main ()
30436 return j0l ();
30438 return 0;
30440 _ACEOF
30441 rm -f conftest.$ac_objext conftest$ac_exeext
30442 if { (ac_try="$ac_link"
30443 case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30446 esac
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_link") 2>conftest.er1
30449 ac_status=$?
30450 grep -v '^ *+' conftest.er1 >conftest.err
30451 rm -f conftest.er1
30452 cat conftest.err >&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } && {
30455 test -z "$ac_c_werror_flag" ||
30456 test ! -s conftest.err
30457 } && test -s conftest$ac_exeext &&
30458 $as_test_x conftest$ac_exeext; then
30459 ac_cv_lib_m_j0l=yes
30460 else
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30464 ac_cv_lib_m_j0l=no
30467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30468 conftest$ac_exeext conftest.$ac_ext
30469 LIBS=$ac_check_lib_save_LIBS
30471 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30472 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6; }
30473 if test $ac_cv_lib_m_j0l = yes; then
30475 cat >>confdefs.h <<\_ACEOF
30476 #define HAVE_J0L 1
30477 _ACEOF
30481 { echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30482 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6; }
30483 if test "${ac_cv_lib_m_j1f+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30485 else
30486 ac_check_lib_save_LIBS=$LIBS
30487 LIBS="-lm $LIBS"
30488 if test x$gcc_no_link = xyes; then
30489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30491 { (exit 1); exit 1; }; }
30493 cat >conftest.$ac_ext <<_ACEOF
30494 /* confdefs.h. */
30495 _ACEOF
30496 cat confdefs.h >>conftest.$ac_ext
30497 cat >>conftest.$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30500 /* Override any GCC internal prototype to avoid an error.
30501 Use char because int might match the return type of a GCC
30502 builtin and then its argument prototype would still apply. */
30503 #ifdef __cplusplus
30504 extern "C"
30505 #endif
30506 char j1f ();
30508 main ()
30510 return j1f ();
30512 return 0;
30514 _ACEOF
30515 rm -f conftest.$ac_objext conftest$ac_exeext
30516 if { (ac_try="$ac_link"
30517 case "(($ac_try" in
30518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30519 *) ac_try_echo=$ac_try;;
30520 esac
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_link") 2>conftest.er1
30523 ac_status=$?
30524 grep -v '^ *+' conftest.er1 >conftest.err
30525 rm -f conftest.er1
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } && {
30529 test -z "$ac_c_werror_flag" ||
30530 test ! -s conftest.err
30531 } && test -s conftest$ac_exeext &&
30532 $as_test_x conftest$ac_exeext; then
30533 ac_cv_lib_m_j1f=yes
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30538 ac_cv_lib_m_j1f=no
30541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30542 conftest$ac_exeext conftest.$ac_ext
30543 LIBS=$ac_check_lib_save_LIBS
30545 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30546 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6; }
30547 if test $ac_cv_lib_m_j1f = yes; then
30549 cat >>confdefs.h <<\_ACEOF
30550 #define HAVE_J1F 1
30551 _ACEOF
30555 { echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30556 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6; }
30557 if test "${ac_cv_lib_m_j1+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 else
30560 ac_check_lib_save_LIBS=$LIBS
30561 LIBS="-lm $LIBS"
30562 if test x$gcc_no_link = xyes; then
30563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30565 { (exit 1); exit 1; }; }
30567 cat >conftest.$ac_ext <<_ACEOF
30568 /* confdefs.h. */
30569 _ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30574 /* Override any GCC internal prototype to avoid an error.
30575 Use char because int might match the return type of a GCC
30576 builtin and then its argument prototype would still apply. */
30577 #ifdef __cplusplus
30578 extern "C"
30579 #endif
30580 char j1 ();
30582 main ()
30584 return j1 ();
30586 return 0;
30588 _ACEOF
30589 rm -f conftest.$ac_objext conftest$ac_exeext
30590 if { (ac_try="$ac_link"
30591 case "(($ac_try" in
30592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30593 *) ac_try_echo=$ac_try;;
30594 esac
30595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30596 (eval "$ac_link") 2>conftest.er1
30597 ac_status=$?
30598 grep -v '^ *+' conftest.er1 >conftest.err
30599 rm -f conftest.er1
30600 cat conftest.err >&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } && {
30603 test -z "$ac_c_werror_flag" ||
30604 test ! -s conftest.err
30605 } && test -s conftest$ac_exeext &&
30606 $as_test_x conftest$ac_exeext; then
30607 ac_cv_lib_m_j1=yes
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30612 ac_cv_lib_m_j1=no
30615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30616 conftest$ac_exeext conftest.$ac_ext
30617 LIBS=$ac_check_lib_save_LIBS
30619 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30620 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6; }
30621 if test $ac_cv_lib_m_j1 = yes; then
30623 cat >>confdefs.h <<\_ACEOF
30624 #define HAVE_J1 1
30625 _ACEOF
30629 { echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30630 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6; }
30631 if test "${ac_cv_lib_m_j1l+set}" = set; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30633 else
30634 ac_check_lib_save_LIBS=$LIBS
30635 LIBS="-lm $LIBS"
30636 if test x$gcc_no_link = xyes; then
30637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30639 { (exit 1); exit 1; }; }
30641 cat >conftest.$ac_ext <<_ACEOF
30642 /* confdefs.h. */
30643 _ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30648 /* Override any GCC internal prototype to avoid an error.
30649 Use char because int might match the return type of a GCC
30650 builtin and then its argument prototype would still apply. */
30651 #ifdef __cplusplus
30652 extern "C"
30653 #endif
30654 char j1l ();
30656 main ()
30658 return j1l ();
30660 return 0;
30662 _ACEOF
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (ac_try="$ac_link"
30665 case "(($ac_try" in
30666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30667 *) ac_try_echo=$ac_try;;
30668 esac
30669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30670 (eval "$ac_link") 2>conftest.er1
30671 ac_status=$?
30672 grep -v '^ *+' conftest.er1 >conftest.err
30673 rm -f conftest.er1
30674 cat conftest.err >&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && {
30677 test -z "$ac_c_werror_flag" ||
30678 test ! -s conftest.err
30679 } && test -s conftest$ac_exeext &&
30680 $as_test_x conftest$ac_exeext; then
30681 ac_cv_lib_m_j1l=yes
30682 else
30683 echo "$as_me: failed program was:" >&5
30684 sed 's/^/| /' conftest.$ac_ext >&5
30686 ac_cv_lib_m_j1l=no
30689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30690 conftest$ac_exeext conftest.$ac_ext
30691 LIBS=$ac_check_lib_save_LIBS
30693 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30694 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6; }
30695 if test $ac_cv_lib_m_j1l = yes; then
30697 cat >>confdefs.h <<\_ACEOF
30698 #define HAVE_J1L 1
30699 _ACEOF
30703 { echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30704 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6; }
30705 if test "${ac_cv_lib_m_jnf+set}" = set; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 else
30708 ac_check_lib_save_LIBS=$LIBS
30709 LIBS="-lm $LIBS"
30710 if test x$gcc_no_link = xyes; then
30711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30713 { (exit 1); exit 1; }; }
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30722 /* Override any GCC internal prototype to avoid an error.
30723 Use char because int might match the return type of a GCC
30724 builtin and then its argument prototype would still apply. */
30725 #ifdef __cplusplus
30726 extern "C"
30727 #endif
30728 char jnf ();
30730 main ()
30732 return jnf ();
30734 return 0;
30736 _ACEOF
30737 rm -f conftest.$ac_objext conftest$ac_exeext
30738 if { (ac_try="$ac_link"
30739 case "(($ac_try" in
30740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30741 *) ac_try_echo=$ac_try;;
30742 esac
30743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30744 (eval "$ac_link") 2>conftest.er1
30745 ac_status=$?
30746 grep -v '^ *+' conftest.er1 >conftest.err
30747 rm -f conftest.er1
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } && {
30751 test -z "$ac_c_werror_flag" ||
30752 test ! -s conftest.err
30753 } && test -s conftest$ac_exeext &&
30754 $as_test_x conftest$ac_exeext; then
30755 ac_cv_lib_m_jnf=yes
30756 else
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30760 ac_cv_lib_m_jnf=no
30763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30764 conftest$ac_exeext conftest.$ac_ext
30765 LIBS=$ac_check_lib_save_LIBS
30767 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30768 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6; }
30769 if test $ac_cv_lib_m_jnf = yes; then
30771 cat >>confdefs.h <<\_ACEOF
30772 #define HAVE_JNF 1
30773 _ACEOF
30777 { echo "$as_me:$LINENO: checking for jn in -lm" >&5
30778 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6; }
30779 if test "${ac_cv_lib_m_jn+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 ac_check_lib_save_LIBS=$LIBS
30783 LIBS="-lm $LIBS"
30784 if test x$gcc_no_link = xyes; then
30785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30787 { (exit 1); exit 1; }; }
30789 cat >conftest.$ac_ext <<_ACEOF
30790 /* confdefs.h. */
30791 _ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30796 /* Override any GCC internal prototype to avoid an error.
30797 Use char because int might match the return type of a GCC
30798 builtin and then its argument prototype would still apply. */
30799 #ifdef __cplusplus
30800 extern "C"
30801 #endif
30802 char jn ();
30804 main ()
30806 return jn ();
30808 return 0;
30810 _ACEOF
30811 rm -f conftest.$ac_objext conftest$ac_exeext
30812 if { (ac_try="$ac_link"
30813 case "(($ac_try" in
30814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30815 *) ac_try_echo=$ac_try;;
30816 esac
30817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30818 (eval "$ac_link") 2>conftest.er1
30819 ac_status=$?
30820 grep -v '^ *+' conftest.er1 >conftest.err
30821 rm -f conftest.er1
30822 cat conftest.err >&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); } && {
30825 test -z "$ac_c_werror_flag" ||
30826 test ! -s conftest.err
30827 } && test -s conftest$ac_exeext &&
30828 $as_test_x conftest$ac_exeext; then
30829 ac_cv_lib_m_jn=yes
30830 else
30831 echo "$as_me: failed program was:" >&5
30832 sed 's/^/| /' conftest.$ac_ext >&5
30834 ac_cv_lib_m_jn=no
30837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30838 conftest$ac_exeext conftest.$ac_ext
30839 LIBS=$ac_check_lib_save_LIBS
30841 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30842 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6; }
30843 if test $ac_cv_lib_m_jn = yes; then
30845 cat >>confdefs.h <<\_ACEOF
30846 #define HAVE_JN 1
30847 _ACEOF
30851 { echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30852 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6; }
30853 if test "${ac_cv_lib_m_jnl+set}" = set; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 else
30856 ac_check_lib_save_LIBS=$LIBS
30857 LIBS="-lm $LIBS"
30858 if test x$gcc_no_link = xyes; then
30859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30861 { (exit 1); exit 1; }; }
30863 cat >conftest.$ac_ext <<_ACEOF
30864 /* confdefs.h. */
30865 _ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30870 /* Override any GCC internal prototype to avoid an error.
30871 Use char because int might match the return type of a GCC
30872 builtin and then its argument prototype would still apply. */
30873 #ifdef __cplusplus
30874 extern "C"
30875 #endif
30876 char jnl ();
30878 main ()
30880 return jnl ();
30882 return 0;
30884 _ACEOF
30885 rm -f conftest.$ac_objext conftest$ac_exeext
30886 if { (ac_try="$ac_link"
30887 case "(($ac_try" in
30888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30889 *) ac_try_echo=$ac_try;;
30890 esac
30891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30892 (eval "$ac_link") 2>conftest.er1
30893 ac_status=$?
30894 grep -v '^ *+' conftest.er1 >conftest.err
30895 rm -f conftest.er1
30896 cat conftest.err >&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } && {
30899 test -z "$ac_c_werror_flag" ||
30900 test ! -s conftest.err
30901 } && test -s conftest$ac_exeext &&
30902 $as_test_x conftest$ac_exeext; then
30903 ac_cv_lib_m_jnl=yes
30904 else
30905 echo "$as_me: failed program was:" >&5
30906 sed 's/^/| /' conftest.$ac_ext >&5
30908 ac_cv_lib_m_jnl=no
30911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30912 conftest$ac_exeext conftest.$ac_ext
30913 LIBS=$ac_check_lib_save_LIBS
30915 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30916 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6; }
30917 if test $ac_cv_lib_m_jnl = yes; then
30919 cat >>confdefs.h <<\_ACEOF
30920 #define HAVE_JNL 1
30921 _ACEOF
30925 { echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30926 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6; }
30927 if test "${ac_cv_lib_m_y0f+set}" = set; then
30928 echo $ECHO_N "(cached) $ECHO_C" >&6
30929 else
30930 ac_check_lib_save_LIBS=$LIBS
30931 LIBS="-lm $LIBS"
30932 if test x$gcc_no_link = xyes; then
30933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30935 { (exit 1); exit 1; }; }
30937 cat >conftest.$ac_ext <<_ACEOF
30938 /* confdefs.h. */
30939 _ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30944 /* Override any GCC internal prototype to avoid an error.
30945 Use char because int might match the return type of a GCC
30946 builtin and then its argument prototype would still apply. */
30947 #ifdef __cplusplus
30948 extern "C"
30949 #endif
30950 char y0f ();
30952 main ()
30954 return y0f ();
30956 return 0;
30958 _ACEOF
30959 rm -f conftest.$ac_objext conftest$ac_exeext
30960 if { (ac_try="$ac_link"
30961 case "(($ac_try" in
30962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30963 *) ac_try_echo=$ac_try;;
30964 esac
30965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30966 (eval "$ac_link") 2>conftest.er1
30967 ac_status=$?
30968 grep -v '^ *+' conftest.er1 >conftest.err
30969 rm -f conftest.er1
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } && {
30973 test -z "$ac_c_werror_flag" ||
30974 test ! -s conftest.err
30975 } && test -s conftest$ac_exeext &&
30976 $as_test_x conftest$ac_exeext; then
30977 ac_cv_lib_m_y0f=yes
30978 else
30979 echo "$as_me: failed program was:" >&5
30980 sed 's/^/| /' conftest.$ac_ext >&5
30982 ac_cv_lib_m_y0f=no
30985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30986 conftest$ac_exeext conftest.$ac_ext
30987 LIBS=$ac_check_lib_save_LIBS
30989 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30990 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6; }
30991 if test $ac_cv_lib_m_y0f = yes; then
30993 cat >>confdefs.h <<\_ACEOF
30994 #define HAVE_Y0F 1
30995 _ACEOF
30999 { echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31000 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6; }
31001 if test "${ac_cv_lib_m_y0+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 else
31004 ac_check_lib_save_LIBS=$LIBS
31005 LIBS="-lm $LIBS"
31006 if test x$gcc_no_link = xyes; then
31007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31009 { (exit 1); exit 1; }; }
31011 cat >conftest.$ac_ext <<_ACEOF
31012 /* confdefs.h. */
31013 _ACEOF
31014 cat confdefs.h >>conftest.$ac_ext
31015 cat >>conftest.$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31018 /* Override any GCC internal prototype to avoid an error.
31019 Use char because int might match the return type of a GCC
31020 builtin and then its argument prototype would still apply. */
31021 #ifdef __cplusplus
31022 extern "C"
31023 #endif
31024 char y0 ();
31026 main ()
31028 return y0 ();
31030 return 0;
31032 _ACEOF
31033 rm -f conftest.$ac_objext conftest$ac_exeext
31034 if { (ac_try="$ac_link"
31035 case "(($ac_try" in
31036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31037 *) ac_try_echo=$ac_try;;
31038 esac
31039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31040 (eval "$ac_link") 2>conftest.er1
31041 ac_status=$?
31042 grep -v '^ *+' conftest.er1 >conftest.err
31043 rm -f conftest.er1
31044 cat conftest.err >&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } && {
31047 test -z "$ac_c_werror_flag" ||
31048 test ! -s conftest.err
31049 } && test -s conftest$ac_exeext &&
31050 $as_test_x conftest$ac_exeext; then
31051 ac_cv_lib_m_y0=yes
31052 else
31053 echo "$as_me: failed program was:" >&5
31054 sed 's/^/| /' conftest.$ac_ext >&5
31056 ac_cv_lib_m_y0=no
31059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31060 conftest$ac_exeext conftest.$ac_ext
31061 LIBS=$ac_check_lib_save_LIBS
31063 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31064 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6; }
31065 if test $ac_cv_lib_m_y0 = yes; then
31067 cat >>confdefs.h <<\_ACEOF
31068 #define HAVE_Y0 1
31069 _ACEOF
31073 { echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31074 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6; }
31075 if test "${ac_cv_lib_m_y0l+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31077 else
31078 ac_check_lib_save_LIBS=$LIBS
31079 LIBS="-lm $LIBS"
31080 if test x$gcc_no_link = xyes; then
31081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31083 { (exit 1); exit 1; }; }
31085 cat >conftest.$ac_ext <<_ACEOF
31086 /* confdefs.h. */
31087 _ACEOF
31088 cat confdefs.h >>conftest.$ac_ext
31089 cat >>conftest.$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31092 /* Override any GCC internal prototype to avoid an error.
31093 Use char because int might match the return type of a GCC
31094 builtin and then its argument prototype would still apply. */
31095 #ifdef __cplusplus
31096 extern "C"
31097 #endif
31098 char y0l ();
31100 main ()
31102 return y0l ();
31104 return 0;
31106 _ACEOF
31107 rm -f conftest.$ac_objext conftest$ac_exeext
31108 if { (ac_try="$ac_link"
31109 case "(($ac_try" in
31110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31111 *) ac_try_echo=$ac_try;;
31112 esac
31113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31114 (eval "$ac_link") 2>conftest.er1
31115 ac_status=$?
31116 grep -v '^ *+' conftest.er1 >conftest.err
31117 rm -f conftest.er1
31118 cat conftest.err >&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } && {
31121 test -z "$ac_c_werror_flag" ||
31122 test ! -s conftest.err
31123 } && test -s conftest$ac_exeext &&
31124 $as_test_x conftest$ac_exeext; then
31125 ac_cv_lib_m_y0l=yes
31126 else
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.$ac_ext >&5
31130 ac_cv_lib_m_y0l=no
31133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31134 conftest$ac_exeext conftest.$ac_ext
31135 LIBS=$ac_check_lib_save_LIBS
31137 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31138 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6; }
31139 if test $ac_cv_lib_m_y0l = yes; then
31141 cat >>confdefs.h <<\_ACEOF
31142 #define HAVE_Y0L 1
31143 _ACEOF
31147 { echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31148 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6; }
31149 if test "${ac_cv_lib_m_y1f+set}" = set; then
31150 echo $ECHO_N "(cached) $ECHO_C" >&6
31151 else
31152 ac_check_lib_save_LIBS=$LIBS
31153 LIBS="-lm $LIBS"
31154 if test x$gcc_no_link = xyes; then
31155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31157 { (exit 1); exit 1; }; }
31159 cat >conftest.$ac_ext <<_ACEOF
31160 /* confdefs.h. */
31161 _ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31169 #ifdef __cplusplus
31170 extern "C"
31171 #endif
31172 char y1f ();
31174 main ()
31176 return y1f ();
31178 return 0;
31180 _ACEOF
31181 rm -f conftest.$ac_objext conftest$ac_exeext
31182 if { (ac_try="$ac_link"
31183 case "(($ac_try" in
31184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31185 *) ac_try_echo=$ac_try;;
31186 esac
31187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31188 (eval "$ac_link") 2>conftest.er1
31189 ac_status=$?
31190 grep -v '^ *+' conftest.er1 >conftest.err
31191 rm -f conftest.er1
31192 cat conftest.err >&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); } && {
31195 test -z "$ac_c_werror_flag" ||
31196 test ! -s conftest.err
31197 } && test -s conftest$ac_exeext &&
31198 $as_test_x conftest$ac_exeext; then
31199 ac_cv_lib_m_y1f=yes
31200 else
31201 echo "$as_me: failed program was:" >&5
31202 sed 's/^/| /' conftest.$ac_ext >&5
31204 ac_cv_lib_m_y1f=no
31207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31208 conftest$ac_exeext conftest.$ac_ext
31209 LIBS=$ac_check_lib_save_LIBS
31211 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31212 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6; }
31213 if test $ac_cv_lib_m_y1f = yes; then
31215 cat >>confdefs.h <<\_ACEOF
31216 #define HAVE_Y1F 1
31217 _ACEOF
31221 { echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31222 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6; }
31223 if test "${ac_cv_lib_m_y1+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 else
31226 ac_check_lib_save_LIBS=$LIBS
31227 LIBS="-lm $LIBS"
31228 if test x$gcc_no_link = xyes; then
31229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31231 { (exit 1); exit 1; }; }
31233 cat >conftest.$ac_ext <<_ACEOF
31234 /* confdefs.h. */
31235 _ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h. */
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 char y1 ();
31248 main ()
31250 return y1 ();
31252 return 0;
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31260 esac
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } && {
31269 test -z "$ac_c_werror_flag" ||
31270 test ! -s conftest.err
31271 } && test -s conftest$ac_exeext &&
31272 $as_test_x conftest$ac_exeext; then
31273 ac_cv_lib_m_y1=yes
31274 else
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.$ac_ext >&5
31278 ac_cv_lib_m_y1=no
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31286 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6; }
31287 if test $ac_cv_lib_m_y1 = yes; then
31289 cat >>confdefs.h <<\_ACEOF
31290 #define HAVE_Y1 1
31291 _ACEOF
31295 { echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31296 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6; }
31297 if test "${ac_cv_lib_m_y1l+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31299 else
31300 ac_check_lib_save_LIBS=$LIBS
31301 LIBS="-lm $LIBS"
31302 if test x$gcc_no_link = xyes; then
31303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31305 { (exit 1); exit 1; }; }
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31314 /* Override any GCC internal prototype to avoid an error.
31315 Use char because int might match the return type of a GCC
31316 builtin and then its argument prototype would still apply. */
31317 #ifdef __cplusplus
31318 extern "C"
31319 #endif
31320 char y1l ();
31322 main ()
31324 return y1l ();
31326 return 0;
31328 _ACEOF
31329 rm -f conftest.$ac_objext conftest$ac_exeext
31330 if { (ac_try="$ac_link"
31331 case "(($ac_try" in
31332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31333 *) ac_try_echo=$ac_try;;
31334 esac
31335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31336 (eval "$ac_link") 2>conftest.er1
31337 ac_status=$?
31338 grep -v '^ *+' conftest.er1 >conftest.err
31339 rm -f conftest.er1
31340 cat conftest.err >&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); } && {
31343 test -z "$ac_c_werror_flag" ||
31344 test ! -s conftest.err
31345 } && test -s conftest$ac_exeext &&
31346 $as_test_x conftest$ac_exeext; then
31347 ac_cv_lib_m_y1l=yes
31348 else
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31352 ac_cv_lib_m_y1l=no
31355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31356 conftest$ac_exeext conftest.$ac_ext
31357 LIBS=$ac_check_lib_save_LIBS
31359 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31360 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6; }
31361 if test $ac_cv_lib_m_y1l = yes; then
31363 cat >>confdefs.h <<\_ACEOF
31364 #define HAVE_Y1L 1
31365 _ACEOF
31369 { echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31370 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6; }
31371 if test "${ac_cv_lib_m_ynf+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 else
31374 ac_check_lib_save_LIBS=$LIBS
31375 LIBS="-lm $LIBS"
31376 if test x$gcc_no_link = xyes; then
31377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31379 { (exit 1); exit 1; }; }
31381 cat >conftest.$ac_ext <<_ACEOF
31382 /* confdefs.h. */
31383 _ACEOF
31384 cat confdefs.h >>conftest.$ac_ext
31385 cat >>conftest.$ac_ext <<_ACEOF
31386 /* end confdefs.h. */
31388 /* Override any GCC internal prototype to avoid an error.
31389 Use char because int might match the return type of a GCC
31390 builtin and then its argument prototype would still apply. */
31391 #ifdef __cplusplus
31392 extern "C"
31393 #endif
31394 char ynf ();
31396 main ()
31398 return ynf ();
31400 return 0;
31402 _ACEOF
31403 rm -f conftest.$ac_objext conftest$ac_exeext
31404 if { (ac_try="$ac_link"
31405 case "(($ac_try" in
31406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31407 *) ac_try_echo=$ac_try;;
31408 esac
31409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31410 (eval "$ac_link") 2>conftest.er1
31411 ac_status=$?
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } && {
31417 test -z "$ac_c_werror_flag" ||
31418 test ! -s conftest.err
31419 } && test -s conftest$ac_exeext &&
31420 $as_test_x conftest$ac_exeext; then
31421 ac_cv_lib_m_ynf=yes
31422 else
31423 echo "$as_me: failed program was:" >&5
31424 sed 's/^/| /' conftest.$ac_ext >&5
31426 ac_cv_lib_m_ynf=no
31429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31430 conftest$ac_exeext conftest.$ac_ext
31431 LIBS=$ac_check_lib_save_LIBS
31433 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31434 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6; }
31435 if test $ac_cv_lib_m_ynf = yes; then
31437 cat >>confdefs.h <<\_ACEOF
31438 #define HAVE_YNF 1
31439 _ACEOF
31443 { echo "$as_me:$LINENO: checking for yn in -lm" >&5
31444 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6; }
31445 if test "${ac_cv_lib_m_yn+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448 ac_check_lib_save_LIBS=$LIBS
31449 LIBS="-lm $LIBS"
31450 if test x$gcc_no_link = xyes; then
31451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31453 { (exit 1); exit 1; }; }
31455 cat >conftest.$ac_ext <<_ACEOF
31456 /* confdefs.h. */
31457 _ACEOF
31458 cat confdefs.h >>conftest.$ac_ext
31459 cat >>conftest.$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31462 /* Override any GCC internal prototype to avoid an error.
31463 Use char because int might match the return type of a GCC
31464 builtin and then its argument prototype would still apply. */
31465 #ifdef __cplusplus
31466 extern "C"
31467 #endif
31468 char yn ();
31470 main ()
31472 return yn ();
31474 return 0;
31476 _ACEOF
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (ac_try="$ac_link"
31479 case "(($ac_try" in
31480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31482 esac
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_link") 2>conftest.er1
31485 ac_status=$?
31486 grep -v '^ *+' conftest.er1 >conftest.err
31487 rm -f conftest.er1
31488 cat conftest.err >&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } && {
31491 test -z "$ac_c_werror_flag" ||
31492 test ! -s conftest.err
31493 } && test -s conftest$ac_exeext &&
31494 $as_test_x conftest$ac_exeext; then
31495 ac_cv_lib_m_yn=yes
31496 else
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.$ac_ext >&5
31500 ac_cv_lib_m_yn=no
31503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31504 conftest$ac_exeext conftest.$ac_ext
31505 LIBS=$ac_check_lib_save_LIBS
31507 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31508 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6; }
31509 if test $ac_cv_lib_m_yn = yes; then
31511 cat >>confdefs.h <<\_ACEOF
31512 #define HAVE_YN 1
31513 _ACEOF
31517 { echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31518 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6; }
31519 if test "${ac_cv_lib_m_ynl+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 else
31522 ac_check_lib_save_LIBS=$LIBS
31523 LIBS="-lm $LIBS"
31524 if test x$gcc_no_link = xyes; then
31525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31527 { (exit 1); exit 1; }; }
31529 cat >conftest.$ac_ext <<_ACEOF
31530 /* confdefs.h. */
31531 _ACEOF
31532 cat confdefs.h >>conftest.$ac_ext
31533 cat >>conftest.$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31536 /* Override any GCC internal prototype to avoid an error.
31537 Use char because int might match the return type of a GCC
31538 builtin and then its argument prototype would still apply. */
31539 #ifdef __cplusplus
31540 extern "C"
31541 #endif
31542 char ynl ();
31544 main ()
31546 return ynl ();
31548 return 0;
31550 _ACEOF
31551 rm -f conftest.$ac_objext conftest$ac_exeext
31552 if { (ac_try="$ac_link"
31553 case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31556 esac
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_link") 2>conftest.er1
31559 ac_status=$?
31560 grep -v '^ *+' conftest.er1 >conftest.err
31561 rm -f conftest.er1
31562 cat conftest.err >&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } && {
31565 test -z "$ac_c_werror_flag" ||
31566 test ! -s conftest.err
31567 } && test -s conftest$ac_exeext &&
31568 $as_test_x conftest$ac_exeext; then
31569 ac_cv_lib_m_ynl=yes
31570 else
31571 echo "$as_me: failed program was:" >&5
31572 sed 's/^/| /' conftest.$ac_ext >&5
31574 ac_cv_lib_m_ynl=no
31577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31578 conftest$ac_exeext conftest.$ac_ext
31579 LIBS=$ac_check_lib_save_LIBS
31581 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31582 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6; }
31583 if test $ac_cv_lib_m_ynl = yes; then
31585 cat >>confdefs.h <<\_ACEOF
31586 #define HAVE_YNL 1
31587 _ACEOF
31591 { echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31592 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6; }
31593 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31595 else
31596 ac_check_lib_save_LIBS=$LIBS
31597 LIBS="-lm $LIBS"
31598 if test x$gcc_no_link = xyes; then
31599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31601 { (exit 1); exit 1; }; }
31603 cat >conftest.$ac_ext <<_ACEOF
31604 /* confdefs.h. */
31605 _ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31610 /* Override any GCC internal prototype to avoid an error.
31611 Use char because int might match the return type of a GCC
31612 builtin and then its argument prototype would still apply. */
31613 #ifdef __cplusplus
31614 extern "C"
31615 #endif
31616 char tgamma ();
31618 main ()
31620 return tgamma ();
31622 return 0;
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (ac_try="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31630 esac
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest$ac_exeext &&
31642 $as_test_x conftest$ac_exeext; then
31643 ac_cv_lib_m_tgamma=yes
31644 else
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.$ac_ext >&5
31648 ac_cv_lib_m_tgamma=no
31651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31652 conftest$ac_exeext conftest.$ac_ext
31653 LIBS=$ac_check_lib_save_LIBS
31655 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31656 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6; }
31657 if test $ac_cv_lib_m_tgamma = yes; then
31659 cat >>confdefs.h <<\_ACEOF
31660 #define HAVE_TGAMMA 1
31661 _ACEOF
31665 { echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31666 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6; }
31667 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 else
31670 ac_check_lib_save_LIBS=$LIBS
31671 LIBS="-lm $LIBS"
31672 if test x$gcc_no_link = xyes; then
31673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31675 { (exit 1); exit 1; }; }
31677 cat >conftest.$ac_ext <<_ACEOF
31678 /* confdefs.h. */
31679 _ACEOF
31680 cat confdefs.h >>conftest.$ac_ext
31681 cat >>conftest.$ac_ext <<_ACEOF
31682 /* end confdefs.h. */
31684 /* Override any GCC internal prototype to avoid an error.
31685 Use char because int might match the return type of a GCC
31686 builtin and then its argument prototype would still apply. */
31687 #ifdef __cplusplus
31688 extern "C"
31689 #endif
31690 char tgammaf ();
31692 main ()
31694 return tgammaf ();
31696 return 0;
31698 _ACEOF
31699 rm -f conftest.$ac_objext conftest$ac_exeext
31700 if { (ac_try="$ac_link"
31701 case "(($ac_try" in
31702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31703 *) ac_try_echo=$ac_try;;
31704 esac
31705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31706 (eval "$ac_link") 2>conftest.er1
31707 ac_status=$?
31708 grep -v '^ *+' conftest.er1 >conftest.err
31709 rm -f conftest.er1
31710 cat conftest.err >&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } && {
31713 test -z "$ac_c_werror_flag" ||
31714 test ! -s conftest.err
31715 } && test -s conftest$ac_exeext &&
31716 $as_test_x conftest$ac_exeext; then
31717 ac_cv_lib_m_tgammaf=yes
31718 else
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31722 ac_cv_lib_m_tgammaf=no
31725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31726 conftest$ac_exeext conftest.$ac_ext
31727 LIBS=$ac_check_lib_save_LIBS
31729 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31730 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6; }
31731 if test $ac_cv_lib_m_tgammaf = yes; then
31733 cat >>confdefs.h <<\_ACEOF
31734 #define HAVE_TGAMMAF 1
31735 _ACEOF
31739 { echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31740 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6; }
31741 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 else
31744 ac_check_lib_save_LIBS=$LIBS
31745 LIBS="-lm $LIBS"
31746 if test x$gcc_no_link = xyes; then
31747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31749 { (exit 1); exit 1; }; }
31751 cat >conftest.$ac_ext <<_ACEOF
31752 /* confdefs.h. */
31753 _ACEOF
31754 cat confdefs.h >>conftest.$ac_ext
31755 cat >>conftest.$ac_ext <<_ACEOF
31756 /* end confdefs.h. */
31758 /* Override any GCC internal prototype to avoid an error.
31759 Use char because int might match the return type of a GCC
31760 builtin and then its argument prototype would still apply. */
31761 #ifdef __cplusplus
31762 extern "C"
31763 #endif
31764 char tgammal ();
31766 main ()
31768 return tgammal ();
31770 return 0;
31772 _ACEOF
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (ac_try="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31778 esac
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31781 ac_status=$?
31782 grep -v '^ *+' conftest.er1 >conftest.err
31783 rm -f conftest.er1
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest$ac_exeext &&
31790 $as_test_x conftest$ac_exeext; then
31791 ac_cv_lib_m_tgammal=yes
31792 else
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31796 ac_cv_lib_m_tgammal=no
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31801 LIBS=$ac_check_lib_save_LIBS
31803 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31804 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6; }
31805 if test $ac_cv_lib_m_tgammal = yes; then
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_TGAMMAL 1
31809 _ACEOF
31813 { echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31814 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6; }
31815 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31816 echo $ECHO_N "(cached) $ECHO_C" >&6
31817 else
31818 ac_check_lib_save_LIBS=$LIBS
31819 LIBS="-lm $LIBS"
31820 if test x$gcc_no_link = xyes; then
31821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31823 { (exit 1); exit 1; }; }
31825 cat >conftest.$ac_ext <<_ACEOF
31826 /* confdefs.h. */
31827 _ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31832 /* Override any GCC internal prototype to avoid an error.
31833 Use char because int might match the return type of a GCC
31834 builtin and then its argument prototype would still apply. */
31835 #ifdef __cplusplus
31836 extern "C"
31837 #endif
31838 char lgamma ();
31840 main ()
31842 return lgamma ();
31844 return 0;
31846 _ACEOF
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (ac_try="$ac_link"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31851 *) ac_try_echo=$ac_try;;
31852 esac
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_link") 2>conftest.er1
31855 ac_status=$?
31856 grep -v '^ *+' conftest.er1 >conftest.err
31857 rm -f conftest.er1
31858 cat conftest.err >&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest$ac_exeext &&
31864 $as_test_x conftest$ac_exeext; then
31865 ac_cv_lib_m_lgamma=yes
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31870 ac_cv_lib_m_lgamma=no
31873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31874 conftest$ac_exeext conftest.$ac_ext
31875 LIBS=$ac_check_lib_save_LIBS
31877 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31878 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6; }
31879 if test $ac_cv_lib_m_lgamma = yes; then
31881 cat >>confdefs.h <<\_ACEOF
31882 #define HAVE_LGAMMA 1
31883 _ACEOF
31887 { echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31888 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6; }
31889 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31890 echo $ECHO_N "(cached) $ECHO_C" >&6
31891 else
31892 ac_check_lib_save_LIBS=$LIBS
31893 LIBS="-lm $LIBS"
31894 if test x$gcc_no_link = xyes; then
31895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31897 { (exit 1); exit 1; }; }
31899 cat >conftest.$ac_ext <<_ACEOF
31900 /* confdefs.h. */
31901 _ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31906 /* Override any GCC internal prototype to avoid an error.
31907 Use char because int might match the return type of a GCC
31908 builtin and then its argument prototype would still apply. */
31909 #ifdef __cplusplus
31910 extern "C"
31911 #endif
31912 char lgammaf ();
31914 main ()
31916 return lgammaf ();
31918 return 0;
31920 _ACEOF
31921 rm -f conftest.$ac_objext conftest$ac_exeext
31922 if { (ac_try="$ac_link"
31923 case "(($ac_try" in
31924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31925 *) ac_try_echo=$ac_try;;
31926 esac
31927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31928 (eval "$ac_link") 2>conftest.er1
31929 ac_status=$?
31930 grep -v '^ *+' conftest.er1 >conftest.err
31931 rm -f conftest.er1
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } && {
31935 test -z "$ac_c_werror_flag" ||
31936 test ! -s conftest.err
31937 } && test -s conftest$ac_exeext &&
31938 $as_test_x conftest$ac_exeext; then
31939 ac_cv_lib_m_lgammaf=yes
31940 else
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31944 ac_cv_lib_m_lgammaf=no
31947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31948 conftest$ac_exeext conftest.$ac_ext
31949 LIBS=$ac_check_lib_save_LIBS
31951 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31952 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6; }
31953 if test $ac_cv_lib_m_lgammaf = yes; then
31955 cat >>confdefs.h <<\_ACEOF
31956 #define HAVE_LGAMMAF 1
31957 _ACEOF
31961 { echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31962 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6; }
31963 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31964 echo $ECHO_N "(cached) $ECHO_C" >&6
31965 else
31966 ac_check_lib_save_LIBS=$LIBS
31967 LIBS="-lm $LIBS"
31968 if test x$gcc_no_link = xyes; then
31969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31971 { (exit 1); exit 1; }; }
31973 cat >conftest.$ac_ext <<_ACEOF
31974 /* confdefs.h. */
31975 _ACEOF
31976 cat confdefs.h >>conftest.$ac_ext
31977 cat >>conftest.$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31980 /* Override any GCC internal prototype to avoid an error.
31981 Use char because int might match the return type of a GCC
31982 builtin and then its argument prototype would still apply. */
31983 #ifdef __cplusplus
31984 extern "C"
31985 #endif
31986 char lgammal ();
31988 main ()
31990 return lgammal ();
31992 return 0;
31994 _ACEOF
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (ac_try="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32000 esac
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32003 ac_status=$?
32004 grep -v '^ *+' conftest.er1 >conftest.err
32005 rm -f conftest.er1
32006 cat conftest.err >&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest$ac_exeext &&
32012 $as_test_x conftest$ac_exeext; then
32013 ac_cv_lib_m_lgammal=yes
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32018 ac_cv_lib_m_lgammal=no
32021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32022 conftest$ac_exeext conftest.$ac_ext
32023 LIBS=$ac_check_lib_save_LIBS
32025 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32026 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6; }
32027 if test $ac_cv_lib_m_lgammal = yes; then
32029 cat >>confdefs.h <<\_ACEOF
32030 #define HAVE_LGAMMAL 1
32031 _ACEOF
32036 # On AIX, clog is present in libm as __clog
32037 { echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32038 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6; }
32039 if test "${ac_cv_lib_m___clog+set}" = set; then
32040 echo $ECHO_N "(cached) $ECHO_C" >&6
32041 else
32042 ac_check_lib_save_LIBS=$LIBS
32043 LIBS="-lm $LIBS"
32044 if test x$gcc_no_link = xyes; then
32045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32047 { (exit 1); exit 1; }; }
32049 cat >conftest.$ac_ext <<_ACEOF
32050 /* confdefs.h. */
32051 _ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32056 /* Override any GCC internal prototype to avoid an error.
32057 Use char because int might match the return type of a GCC
32058 builtin and then its argument prototype would still apply. */
32059 #ifdef __cplusplus
32060 extern "C"
32061 #endif
32062 char __clog ();
32064 main ()
32066 return __clog ();
32068 return 0;
32070 _ACEOF
32071 rm -f conftest.$ac_objext conftest$ac_exeext
32072 if { (ac_try="$ac_link"
32073 case "(($ac_try" in
32074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32075 *) ac_try_echo=$ac_try;;
32076 esac
32077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32078 (eval "$ac_link") 2>conftest.er1
32079 ac_status=$?
32080 grep -v '^ *+' conftest.er1 >conftest.err
32081 rm -f conftest.er1
32082 cat conftest.err >&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } && {
32085 test -z "$ac_c_werror_flag" ||
32086 test ! -s conftest.err
32087 } && test -s conftest$ac_exeext &&
32088 $as_test_x conftest$ac_exeext; then
32089 ac_cv_lib_m___clog=yes
32090 else
32091 echo "$as_me: failed program was:" >&5
32092 sed 's/^/| /' conftest.$ac_ext >&5
32094 ac_cv_lib_m___clog=no
32097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32098 conftest$ac_exeext conftest.$ac_ext
32099 LIBS=$ac_check_lib_save_LIBS
32101 { echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32102 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6; }
32103 if test $ac_cv_lib_m___clog = yes; then
32105 cat >>confdefs.h <<\_ACEOF
32106 #define HAVE_CLOG 1
32107 _ACEOF
32112 # Check for a isfinite macro that works on long doubles.
32114 { echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32115 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6; }
32116 if test "${have_broken_isfinite+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 else
32120 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32121 LIBS="$LIBS -lm"
32122 if test "$cross_compiling" = yes; then
32124 case "${target}" in
32125 hppa*-*-hpux*) have_broken_isfinite=yes ;;
32126 *) have_broken_isfinite=no ;;
32127 esac
32128 else
32129 cat >conftest.$ac_ext <<_ACEOF
32130 /* confdefs.h. */
32131 _ACEOF
32132 cat confdefs.h >>conftest.$ac_ext
32133 cat >>conftest.$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32136 #include <math.h>
32137 #include <float.h>
32138 int main ()
32140 #ifdef isfinite
32141 #ifdef LDBL_MAX
32142 if (!isfinite(LDBL_MAX)) return 1;
32143 #endif
32144 #ifdef DBL_MAX
32145 if (!isfinite(DBL_MAX)) return 1;
32146 #endif
32147 #endif
32148 return 0;
32150 _ACEOF
32151 rm -f conftest$ac_exeext
32152 if { (ac_try="$ac_link"
32153 case "(($ac_try" in
32154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32155 *) ac_try_echo=$ac_try;;
32156 esac
32157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32158 (eval "$ac_link") 2>&5
32159 ac_status=$?
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32162 { (case "(($ac_try" in
32163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32164 *) ac_try_echo=$ac_try;;
32165 esac
32166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32167 (eval "$ac_try") 2>&5
32168 ac_status=$?
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; }; then
32171 have_broken_isfinite=no
32172 else
32173 echo "$as_me: program exited with status $ac_status" >&5
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32177 ( exit $ac_status )
32178 have_broken_isfinite=yes
32180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32184 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32186 { echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32187 echo "${ECHO_T}$have_broken_isfinite" >&6; }
32188 if test x"$have_broken_isfinite" = xyes; then
32190 cat >>confdefs.h <<\_ACEOF
32191 #define HAVE_BROKEN_ISFINITE 1
32192 _ACEOF
32196 # Check for a isnan macro that works on long doubles.
32198 { echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32199 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6; }
32200 if test "${have_broken_isnan+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 else
32204 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32205 LIBS="$LIBS -lm"
32206 if test "$cross_compiling" = yes; then
32208 case "${target}" in
32209 hppa*-*-hpux*) have_broken_isnan=yes ;;
32210 *) have_broken_isnan=no ;;
32211 esac
32212 else
32213 cat >conftest.$ac_ext <<_ACEOF
32214 /* confdefs.h. */
32215 _ACEOF
32216 cat confdefs.h >>conftest.$ac_ext
32217 cat >>conftest.$ac_ext <<_ACEOF
32218 /* end confdefs.h. */
32220 #include <math.h>
32221 #include <float.h>
32222 int main ()
32224 #ifdef isnan
32225 #ifdef LDBL_MAX
32227 long double x;
32228 x = __builtin_nanl ("");
32229 if (!isnan(x)) return 1;
32230 if (isnan(LDBL_MAX)) return 1;
32231 #ifdef NAN
32232 x = (long double) NAN;
32233 if (!isnan(x)) return 1;
32234 #endif
32236 #endif
32237 #ifdef DBL_MAX
32239 double y;
32240 y = __builtin_nan ("");
32241 if (!isnan(y)) return 1;
32242 if (isnan(DBL_MAX)) return 1;
32243 #ifdef NAN
32244 y = (double) NAN;
32245 if (!isnan(y)) return 1;
32246 #endif
32248 #endif
32249 #endif
32250 return 0;
32252 _ACEOF
32253 rm -f conftest$ac_exeext
32254 if { (ac_try="$ac_link"
32255 case "(($ac_try" in
32256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32257 *) ac_try_echo=$ac_try;;
32258 esac
32259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32260 (eval "$ac_link") 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32264 { (case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32266 *) ac_try_echo=$ac_try;;
32267 esac
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_try") 2>&5
32270 ac_status=$?
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 have_broken_isnan=no
32274 else
32275 echo "$as_me: program exited with status $ac_status" >&5
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32279 ( exit $ac_status )
32280 have_broken_isnan=yes
32282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32286 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32288 { echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32289 echo "${ECHO_T}$have_broken_isnan" >&6; }
32290 if test x"$have_broken_isnan" = xyes; then
32292 cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_BROKEN_ISNAN 1
32294 _ACEOF
32298 # Check for a fpclassify macro that works on long doubles.
32300 { echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32301 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6; }
32302 if test "${have_broken_fpclassify+set}" = set; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 else
32306 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32307 LIBS="$LIBS -lm"
32308 if test "$cross_compiling" = yes; then
32310 case "${target}" in
32311 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32312 *) have_broken_fpclassify=no ;;
32313 esac
32314 else
32315 cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h. */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32322 #include <math.h>
32323 #include <float.h>
32324 int main ()
32326 #ifdef fpclassify
32327 #ifdef LDBL_MAX
32328 if (fpclassify(LDBL_MAX) == FP_NAN
32329 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32330 #endif
32331 #ifdef DBL_MAX
32332 if (fpclassify(DBL_MAX) == FP_NAN
32333 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32334 #endif
32335 #endif
32336 return 0;
32338 _ACEOF
32339 rm -f conftest$ac_exeext
32340 if { (ac_try="$ac_link"
32341 case "(($ac_try" in
32342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32343 *) ac_try_echo=$ac_try;;
32344 esac
32345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32346 (eval "$ac_link") 2>&5
32347 ac_status=$?
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32350 { (case "(($ac_try" in
32351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32352 *) ac_try_echo=$ac_try;;
32353 esac
32354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32355 (eval "$ac_try") 2>&5
32356 ac_status=$?
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; }; then
32359 have_broken_fpclassify=no
32360 else
32361 echo "$as_me: program exited with status $ac_status" >&5
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32365 ( exit $ac_status )
32366 have_broken_fpclassify=yes
32368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32372 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32374 { echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32375 echo "${ECHO_T}$have_broken_fpclassify" >&6; }
32376 if test x"$have_broken_fpclassify" = xyes; then
32378 cat >>confdefs.h <<\_ACEOF
32379 #define HAVE_BROKEN_FPCLASSIFY 1
32380 _ACEOF
32384 # Check whether the system has a working stat()
32386 { echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32387 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6; }
32388 if test "${have_working_stat+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32390 else
32392 if test "$cross_compiling" = yes; then
32394 case "${target}" in
32395 *mingw*) have_working_stat=no ;;
32396 *) have_working_stat=yes;;
32397 esac
32398 else
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32406 #include <stdio.h>
32407 #include <sys/types.h>
32408 #include <sys/stat.h>
32409 #include <unistd.h>
32411 int main ()
32413 FILE *f, *g;
32414 struct stat st1, st2;
32416 f = fopen ("foo", "w");
32417 g = fopen ("bar", "w");
32418 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32419 return 1;
32420 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32421 return 1;
32422 fclose(f);
32423 fclose(g);
32424 return 0;
32426 _ACEOF
32427 rm -f conftest$ac_exeext
32428 if { (ac_try="$ac_link"
32429 case "(($ac_try" in
32430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32431 *) ac_try_echo=$ac_try;;
32432 esac
32433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32434 (eval "$ac_link") 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32438 { (case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32441 esac
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_try") 2>&5
32444 ac_status=$?
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32447 have_working_stat=yes
32448 else
32449 echo "$as_me: program exited with status $ac_status" >&5
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.$ac_ext >&5
32453 ( exit $ac_status )
32454 have_working_stat=no
32456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32461 { echo "$as_me:$LINENO: result: $have_working_stat" >&5
32462 echo "${ECHO_T}$have_working_stat" >&6; }
32463 if test x"$have_working_stat" = xyes; then
32465 cat >>confdefs.h <<\_ACEOF
32466 #define HAVE_WORKING_STAT 1
32467 _ACEOF
32471 # Check whether __mingw_snprintf() is present
32473 { echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32474 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6; }
32475 if test "${have_mingw_snprintf+set}" = set; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32477 else
32479 if test x$gcc_no_link = xyes; then
32480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32482 { (exit 1); exit 1; }; }
32484 cat >conftest.$ac_ext <<_ACEOF
32485 /* confdefs.h. */
32486 _ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32491 #include <stdio.h>
32492 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32495 main ()
32498 __mingw_snprintf (NULL, 0, "%d\n", 1);
32501 return 0;
32503 _ACEOF
32504 rm -f conftest.$ac_objext conftest$ac_exeext
32505 if { (ac_try="$ac_link"
32506 case "(($ac_try" in
32507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32508 *) ac_try_echo=$ac_try;;
32509 esac
32510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32511 (eval "$ac_link") 2>conftest.er1
32512 ac_status=$?
32513 grep -v '^ *+' conftest.er1 >conftest.err
32514 rm -f conftest.er1
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } && {
32518 test -z "$ac_c_werror_flag" ||
32519 test ! -s conftest.err
32520 } && test -s conftest$ac_exeext &&
32521 $as_test_x conftest$ac_exeext; then
32522 eval "have_mingw_snprintf=yes"
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32527 eval "have_mingw_snprintf=no"
32530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32531 conftest$ac_exeext conftest.$ac_ext
32534 { echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32535 echo "${ECHO_T}$have_mingw_snprintf" >&6; }
32536 if test x"$have_mingw_snprintf" = xyes; then
32538 cat >>confdefs.h <<\_ACEOF
32539 #define HAVE_MINGW_SNPRINTF 1
32540 _ACEOF
32545 # Check for GNU libc feenableexcept
32546 { echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32547 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6; }
32548 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32549 echo $ECHO_N "(cached) $ECHO_C" >&6
32550 else
32551 ac_check_lib_save_LIBS=$LIBS
32552 LIBS="-lm $LIBS"
32553 if test x$gcc_no_link = xyes; then
32554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556 { (exit 1); exit 1; }; }
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h. */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32565 /* Override any GCC internal prototype to avoid an error.
32566 Use char because int might match the return type of a GCC
32567 builtin and then its argument prototype would still apply. */
32568 #ifdef __cplusplus
32569 extern "C"
32570 #endif
32571 char feenableexcept ();
32573 main ()
32575 return feenableexcept ();
32577 return 0;
32579 _ACEOF
32580 rm -f conftest.$ac_objext conftest$ac_exeext
32581 if { (ac_try="$ac_link"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32585 esac
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_link") 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } && {
32594 test -z "$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32596 } && test -s conftest$ac_exeext &&
32597 $as_test_x conftest$ac_exeext; then
32598 ac_cv_lib_m_feenableexcept=yes
32599 else
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32603 ac_cv_lib_m_feenableexcept=no
32606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32607 conftest$ac_exeext conftest.$ac_ext
32608 LIBS=$ac_check_lib_save_LIBS
32610 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32611 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6; }
32612 if test $ac_cv_lib_m_feenableexcept = yes; then
32613 have_feenableexcept=yes
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_FEENABLEEXCEPT 1
32616 _ACEOF
32621 # Check for SysV fpsetmask
32623 { echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32624 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6; }
32625 if test "${have_fpsetmask+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32629 if test x$gcc_no_link = xyes; then
32630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32632 { (exit 1); exit 1; }; }
32634 cat >conftest.$ac_ext <<_ACEOF
32635 /* confdefs.h. */
32636 _ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32641 #if HAVE_FLOATINGPOINT_H
32642 # include <floatingpoint.h>
32643 #endif /* HAVE_FLOATINGPOINT_H */
32644 #if HAVE_IEEEFP_H
32645 # include <ieeefp.h>
32646 #endif /* HAVE_IEEEFP_H */
32648 main ()
32650 fpsetmask(0);
32652 return 0;
32654 _ACEOF
32655 rm -f conftest.$ac_objext conftest$ac_exeext
32656 if { (ac_try="$ac_link"
32657 case "(($ac_try" in
32658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32659 *) ac_try_echo=$ac_try;;
32660 esac
32661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32662 (eval "$ac_link") 2>conftest.er1
32663 ac_status=$?
32664 grep -v '^ *+' conftest.er1 >conftest.err
32665 rm -f conftest.er1
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } && {
32669 test -z "$ac_c_werror_flag" ||
32670 test ! -s conftest.err
32671 } && test -s conftest$ac_exeext &&
32672 $as_test_x conftest$ac_exeext; then
32673 eval "have_fpsetmask=yes"
32674 else
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32678 eval "have_fpsetmask=no"
32681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32682 conftest$ac_exeext conftest.$ac_ext
32685 { echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32686 echo "${ECHO_T}$have_fpsetmask" >&6; }
32687 if test x"$have_fpsetmask" = xyes; then
32689 cat >>confdefs.h <<\_ACEOF
32690 #define HAVE_FPSETMASK 1
32691 _ACEOF
32696 # Check for AIX fp_trap and fp_enable
32697 { echo "$as_me:$LINENO: checking for fp_trap" >&5
32698 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6; }
32699 if test "${ac_cv_func_fp_trap+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 else
32702 if test x$gcc_no_link = xyes; then
32703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32705 { (exit 1); exit 1; }; }
32707 cat >conftest.$ac_ext <<_ACEOF
32708 /* confdefs.h. */
32709 _ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32715 #define fp_trap innocuous_fp_trap
32717 /* System header to define __stub macros and hopefully few prototypes,
32718 which can conflict with char fp_trap (); below.
32719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32720 <limits.h> exists even on freestanding compilers. */
32722 #ifdef __STDC__
32723 # include <limits.h>
32724 #else
32725 # include <assert.h>
32726 #endif
32728 #undef fp_trap
32730 /* Override any GCC internal prototype to avoid an error.
32731 Use char because int might match the return type of a GCC
32732 builtin and then its argument prototype would still apply. */
32733 #ifdef __cplusplus
32734 extern "C"
32735 #endif
32736 char fp_trap ();
32737 /* The GNU C library defines this for functions which it implements
32738 to always fail with ENOSYS. Some functions are actually named
32739 something starting with __ and the normal name is an alias. */
32740 #if defined __stub_fp_trap || defined __stub___fp_trap
32741 choke me
32742 #endif
32745 main ()
32747 return fp_trap ();
32749 return 0;
32751 _ACEOF
32752 rm -f conftest.$ac_objext conftest$ac_exeext
32753 if { (ac_try="$ac_link"
32754 case "(($ac_try" in
32755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32756 *) ac_try_echo=$ac_try;;
32757 esac
32758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32759 (eval "$ac_link") 2>conftest.er1
32760 ac_status=$?
32761 grep -v '^ *+' conftest.er1 >conftest.err
32762 rm -f conftest.er1
32763 cat conftest.err >&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } && {
32766 test -z "$ac_c_werror_flag" ||
32767 test ! -s conftest.err
32768 } && test -s conftest$ac_exeext &&
32769 $as_test_x conftest$ac_exeext; then
32770 ac_cv_func_fp_trap=yes
32771 else
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.$ac_ext >&5
32775 ac_cv_func_fp_trap=no
32778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32779 conftest$ac_exeext conftest.$ac_ext
32781 { echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32782 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6; }
32783 if test $ac_cv_func_fp_trap = yes; then
32784 have_fp_trap=yes
32785 cat >>confdefs.h <<\_ACEOF
32786 #define HAVE_FP_TRAP 1
32787 _ACEOF
32791 { echo "$as_me:$LINENO: checking for fp_enable" >&5
32792 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6; }
32793 if test "${ac_cv_func_fp_enable+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 else
32796 if test x$gcc_no_link = xyes; then
32797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32799 { (exit 1); exit 1; }; }
32801 cat >conftest.$ac_ext <<_ACEOF
32802 /* confdefs.h. */
32803 _ACEOF
32804 cat confdefs.h >>conftest.$ac_ext
32805 cat >>conftest.$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32809 #define fp_enable innocuous_fp_enable
32811 /* System header to define __stub macros and hopefully few prototypes,
32812 which can conflict with char fp_enable (); below.
32813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32814 <limits.h> exists even on freestanding compilers. */
32816 #ifdef __STDC__
32817 # include <limits.h>
32818 #else
32819 # include <assert.h>
32820 #endif
32822 #undef fp_enable
32824 /* Override any GCC internal prototype to avoid an error.
32825 Use char because int might match the return type of a GCC
32826 builtin and then its argument prototype would still apply. */
32827 #ifdef __cplusplus
32828 extern "C"
32829 #endif
32830 char fp_enable ();
32831 /* The GNU C library defines this for functions which it implements
32832 to always fail with ENOSYS. Some functions are actually named
32833 something starting with __ and the normal name is an alias. */
32834 #if defined __stub_fp_enable || defined __stub___fp_enable
32835 choke me
32836 #endif
32839 main ()
32841 return fp_enable ();
32843 return 0;
32845 _ACEOF
32846 rm -f conftest.$ac_objext conftest$ac_exeext
32847 if { (ac_try="$ac_link"
32848 case "(($ac_try" in
32849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32850 *) ac_try_echo=$ac_try;;
32851 esac
32852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32853 (eval "$ac_link") 2>conftest.er1
32854 ac_status=$?
32855 grep -v '^ *+' conftest.er1 >conftest.err
32856 rm -f conftest.er1
32857 cat conftest.err >&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } && {
32860 test -z "$ac_c_werror_flag" ||
32861 test ! -s conftest.err
32862 } && test -s conftest$ac_exeext &&
32863 $as_test_x conftest$ac_exeext; then
32864 ac_cv_func_fp_enable=yes
32865 else
32866 echo "$as_me: failed program was:" >&5
32867 sed 's/^/| /' conftest.$ac_ext >&5
32869 ac_cv_func_fp_enable=no
32872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32873 conftest$ac_exeext conftest.$ac_ext
32875 { echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32876 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6; }
32877 if test $ac_cv_func_fp_enable = yes; then
32878 have_fp_enable=yes
32879 cat >>confdefs.h <<\_ACEOF
32880 #define HAVE_FP_ENABLE 1
32881 _ACEOF
32886 # Runs configure.host to set up necessary host-dependent shell variables.
32887 # We then display a message about it, and propagate them through the
32888 # build chain.
32889 . ${srcdir}/configure.host
32890 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32891 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32892 FPU_HOST_HEADER=config/${fpu_host}.h
32895 # Check out attribute support.
32897 { echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32898 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6; }
32899 if test "${have_attribute_visibility+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32901 else
32903 save_CFLAGS="$CFLAGS"
32904 CFLAGS="$CFLAGS -Werror"
32905 cat >conftest.$ac_ext <<_ACEOF
32906 /* confdefs.h. */
32907 _ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 void __attribute__((visibility("hidden"))) foo(void) { }
32913 main ()
32917 return 0;
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (ac_try="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32925 esac
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32928 ac_status=$?
32929 grep -v '^ *+' conftest.er1 >conftest.err
32930 rm -f conftest.er1
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 have_attribute_visibility=yes
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32942 have_attribute_visibility=no
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946 CFLAGS="$save_CFLAGS"
32948 { echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32949 echo "${ECHO_T}$have_attribute_visibility" >&6; }
32950 if test $have_attribute_visibility = yes; then
32952 cat >>confdefs.h <<\_ACEOF
32953 #define HAVE_ATTRIBUTE_VISIBILITY 1
32954 _ACEOF
32958 { echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32959 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6; }
32960 if test "${have_attribute_dllexport+set}" = set; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 else
32964 save_CFLAGS="$CFLAGS"
32965 CFLAGS="$CFLAGS -Werror"
32966 cat >conftest.$ac_ext <<_ACEOF
32967 /* confdefs.h. */
32968 _ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972 void __attribute__((dllexport)) foo(void) { }
32974 main ()
32978 return 0;
32980 _ACEOF
32981 rm -f conftest.$ac_objext
32982 if { (ac_try="$ac_compile"
32983 case "(($ac_try" in
32984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985 *) ac_try_echo=$ac_try;;
32986 esac
32987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988 (eval "$ac_compile") 2>conftest.er1
32989 ac_status=$?
32990 grep -v '^ *+' conftest.er1 >conftest.err
32991 rm -f conftest.er1
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } && {
32995 test -z "$ac_c_werror_flag" ||
32996 test ! -s conftest.err
32997 } && test -s conftest.$ac_objext; then
32998 have_attribute_dllexport=yes
32999 else
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.$ac_ext >&5
33003 have_attribute_dllexport=no
33006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33007 CFLAGS="$save_CFLAGS"
33009 { echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
33010 echo "${ECHO_T}$have_attribute_dllexport" >&6; }
33011 if test $have_attribute_dllexport = yes; then
33013 cat >>confdefs.h <<\_ACEOF
33014 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33015 _ACEOF
33019 { echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33020 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6; }
33021 if test "${have_attribute_alias+set}" = set; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 else
33025 if test x$gcc_no_link = xyes; then
33026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33028 { (exit 1); exit 1; }; }
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33037 void foo(void) { }
33038 extern void bar(void) __attribute__((alias("foo")));
33040 main ()
33042 bar();
33044 return 0;
33046 _ACEOF
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (ac_try="$ac_link"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33052 esac
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_link") 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_c_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest$ac_exeext &&
33064 $as_test_x conftest$ac_exeext; then
33065 have_attribute_alias=yes
33066 else
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.$ac_ext >&5
33070 have_attribute_alias=no
33073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33074 conftest$ac_exeext conftest.$ac_ext
33076 { echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
33077 echo "${ECHO_T}$have_attribute_alias" >&6; }
33078 if test $have_attribute_alias = yes; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define HAVE_ATTRIBUTE_ALIAS 1
33082 _ACEOF
33086 # Check out sync builtins support.
33088 { echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33089 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6; }
33090 if test "${have_sync_fetch_and_add+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 else
33094 if test x$gcc_no_link = xyes; then
33095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33097 { (exit 1); exit 1; }; }
33099 cat >conftest.$ac_ext <<_ACEOF
33100 /* confdefs.h. */
33101 _ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33105 int foovar = 0;
33107 main ()
33110 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33111 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33113 return 0;
33115 _ACEOF
33116 rm -f conftest.$ac_objext conftest$ac_exeext
33117 if { (ac_try="$ac_link"
33118 case "(($ac_try" in
33119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33120 *) ac_try_echo=$ac_try;;
33121 esac
33122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33123 (eval "$ac_link") 2>conftest.er1
33124 ac_status=$?
33125 grep -v '^ *+' conftest.er1 >conftest.err
33126 rm -f conftest.er1
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } && {
33130 test -z "$ac_c_werror_flag" ||
33131 test ! -s conftest.err
33132 } && test -s conftest$ac_exeext &&
33133 $as_test_x conftest$ac_exeext; then
33134 have_sync_fetch_and_add=yes
33135 else
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33139 have_sync_fetch_and_add=no
33142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33143 conftest$ac_exeext conftest.$ac_ext
33145 { echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33146 echo "${ECHO_T}$have_sync_fetch_and_add" >&6; }
33147 if test $have_sync_fetch_and_add = yes; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define HAVE_SYNC_FETCH_AND_ADD 1
33151 _ACEOF
33155 # Check out thread support.
33157 { echo "$as_me:$LINENO: checking configured target thread model" >&5
33158 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6; }
33159 if test "${target_thread_file+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33163 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33165 { echo "$as_me:$LINENO: result: $target_thread_file" >&5
33166 echo "${ECHO_T}$target_thread_file" >&6; }
33168 if test $target_thread_file != single; then
33170 cat >>confdefs.h <<\_ACEOF
33171 #define HAVE_GTHR_DEFAULT 1
33172 _ACEOF
33176 # Check out #pragma weak.
33178 { echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33179 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6; }
33180 if test "${have_pragma_weak+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 else
33184 gfor_save_CFLAGS="$CFLAGS"
33185 CFLAGS="$CFLAGS -Wunknown-pragmas"
33186 cat >conftest.$ac_ext <<_ACEOF
33187 /* confdefs.h. */
33188 _ACEOF
33189 cat confdefs.h >>conftest.$ac_ext
33190 cat >>conftest.$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33192 void foo (void);
33193 #pragma weak foo
33195 main ()
33197 if (foo) foo ();
33199 return 0;
33201 _ACEOF
33202 rm -f conftest.$ac_objext
33203 if { (ac_try="$ac_compile"
33204 case "(($ac_try" in
33205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33206 *) ac_try_echo=$ac_try;;
33207 esac
33208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33209 (eval "$ac_compile") 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } && {
33216 test -z "$ac_c_werror_flag" ||
33217 test ! -s conftest.err
33218 } && test -s conftest.$ac_objext; then
33219 have_pragma_weak=yes
33220 else
33221 echo "$as_me: failed program was:" >&5
33222 sed 's/^/| /' conftest.$ac_ext >&5
33224 have_pragma_weak=no
33227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 { echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33230 echo "${ECHO_T}$have_pragma_weak" >&6; }
33231 if test $have_pragma_weak = yes; then
33233 cat >>confdefs.h <<\_ACEOF
33234 #define SUPPORTS_WEAK 1
33235 _ACEOF
33238 case "$host" in
33239 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33241 cat >>confdefs.h <<\_ACEOF
33242 #define GTHREAD_USE_WEAK 0
33243 _ACEOF
33246 esac
33248 # Various other checks on target
33250 { echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33251 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6; }
33252 if test "${have_unlink_open_file+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 else
33256 if test "$cross_compiling" = yes; then
33258 case "${target}" in
33259 *mingw*) have_unlink_open_file=no ;;
33260 *) have_unlink_open_file=yes;;
33261 esac
33262 else
33263 cat >conftest.$ac_ext <<_ACEOF
33264 /* confdefs.h. */
33265 _ACEOF
33266 cat confdefs.h >>conftest.$ac_ext
33267 cat >>conftest.$ac_ext <<_ACEOF
33268 /* end confdefs.h. */
33270 #include <errno.h>
33271 #include <fcntl.h>
33272 #include <unistd.h>
33273 #include <sys/stat.h>
33275 int main ()
33277 int fd;
33279 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33280 if (fd <= 0)
33281 return 0;
33282 if (unlink ("testfile") == -1)
33283 return 1;
33284 write (fd, "This is a test\n", 15);
33285 close (fd);
33287 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33288 return 0;
33289 else
33290 return 1;
33292 _ACEOF
33293 rm -f conftest$ac_exeext
33294 if { (ac_try="$ac_link"
33295 case "(($ac_try" in
33296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33297 *) ac_try_echo=$ac_try;;
33298 esac
33299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33300 (eval "$ac_link") 2>&5
33301 ac_status=$?
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33304 { (case "(($ac_try" in
33305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33306 *) ac_try_echo=$ac_try;;
33307 esac
33308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33309 (eval "$ac_try") 2>&5
33310 ac_status=$?
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 have_unlink_open_file=yes
33314 else
33315 echo "$as_me: program exited with status $ac_status" >&5
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33319 ( exit $ac_status )
33320 have_unlink_open_file=no
33322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33327 { echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33328 echo "${ECHO_T}$have_unlink_open_file" >&6; }
33329 if test x"$have_unlink_open_file" = xyes; then
33331 cat >>confdefs.h <<\_ACEOF
33332 #define HAVE_UNLINK_OPEN_FILE 1
33333 _ACEOF
33337 # Check whether line terminator is LF or CRLF
33339 { echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33340 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6; }
33341 if test "${have_crlf+set}" = set; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 else
33345 if test "$cross_compiling" = yes; then
33347 case "${target}" in
33348 *mingw*) have_crlf=yes ;;
33349 *) have_crlf=no;;
33350 esac
33351 else
33352 cat >conftest.$ac_ext <<_ACEOF
33353 /* confdefs.h. */
33354 _ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33359 /* This test program should exit with status 0 if system uses a CRLF as
33360 line terminator, and status 1 otherwise.
33361 Since it is used to check for mingw systems, and should return 0 in any
33362 other case, in case of a failure we will not use CRLF. */
33363 #include <sys/stat.h>
33364 #include <stdlib.h>
33365 #include <fcntl.h>
33366 #include <stdio.h>
33368 int main ()
33370 #ifndef O_BINARY
33371 exit(1);
33372 #else
33373 int fd, bytes;
33374 char buff[5];
33376 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33377 if (fd < 0)
33378 exit(1);
33379 if (write (fd, "\n", 1) < 0)
33380 perror ("write");
33382 close (fd);
33384 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33385 exit(1);
33386 bytes = read (fd, buff, 5);
33387 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33388 exit(0);
33389 else
33390 exit(1);
33391 #endif
33393 _ACEOF
33394 rm -f conftest$ac_exeext
33395 if { (ac_try="$ac_link"
33396 case "(($ac_try" in
33397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33398 *) ac_try_echo=$ac_try;;
33399 esac
33400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33401 (eval "$ac_link") 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33405 { (case "(($ac_try" in
33406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33407 *) ac_try_echo=$ac_try;;
33408 esac
33409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33410 (eval "$ac_try") 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 have_crlf=yes
33415 else
33416 echo "$as_me: program exited with status $ac_status" >&5
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33420 ( exit $ac_status )
33421 have_crlf=no
33423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33428 { echo "$as_me:$LINENO: result: $have_crlf" >&5
33429 echo "${ECHO_T}$have_crlf" >&6; }
33430 if test x"$have_crlf" = xyes; then
33432 cat >>confdefs.h <<\_ACEOF
33433 #define HAVE_CRLF 1
33434 _ACEOF
33438 cat >confcache <<\_ACEOF
33439 # This file is a shell script that caches the results of configure
33440 # tests run on this system so they can be shared between configure
33441 # scripts and configure runs, see configure's option --config-cache.
33442 # It is not useful on other systems. If it contains results you don't
33443 # want to keep, you may remove or edit it.
33445 # config.status only pays attention to the cache file if you give it
33446 # the --recheck option to rerun configure.
33448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33450 # following values.
33452 _ACEOF
33454 # The following way of writing the cache mishandles newlines in values,
33455 # but we know of no workaround that is simple, portable, and efficient.
33456 # So, we kill variables containing newlines.
33457 # Ultrix sh set writes to stderr and can't be redirected directly,
33458 # and sets the high bit in the cache file unless we assign to the vars.
33460 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33461 eval ac_val=\$$ac_var
33462 case $ac_val in #(
33463 *${as_nl}*)
33464 case $ac_var in #(
33465 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33466 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33467 esac
33468 case $ac_var in #(
33469 _ | IFS | as_nl) ;; #(
33470 *) $as_unset $ac_var ;;
33471 esac ;;
33472 esac
33473 done
33475 (set) 2>&1 |
33476 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33477 *${as_nl}ac_space=\ *)
33478 # `set' does not quote correctly, so add quotes (double-quote
33479 # substitution turns \\\\ into \\, and sed turns \\ into \).
33480 sed -n \
33481 "s/'/'\\\\''/g;
33482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33483 ;; #(
33485 # `set' quotes correctly as required by POSIX, so do not add quotes.
33486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33488 esac |
33489 sort
33491 sed '
33492 /^ac_cv_env_/b end
33493 t clear
33494 :clear
33495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33496 t end
33497 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33498 :end' >>confcache
33499 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33500 if test -w "$cache_file"; then
33501 test "x$cache_file" != "x/dev/null" &&
33502 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33503 echo "$as_me: updating cache $cache_file" >&6;}
33504 cat confcache >$cache_file
33505 else
33506 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33507 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33510 rm -f confcache
33512 if test ${multilib} = yes; then
33513 multilib_arg="--enable-multilib"
33514 else
33515 multilib_arg=
33518 # Write our Makefile.
33519 ac_config_files="$ac_config_files Makefile"
33521 cat >confcache <<\_ACEOF
33522 # This file is a shell script that caches the results of configure
33523 # tests run on this system so they can be shared between configure
33524 # scripts and configure runs, see configure's option --config-cache.
33525 # It is not useful on other systems. If it contains results you don't
33526 # want to keep, you may remove or edit it.
33528 # config.status only pays attention to the cache file if you give it
33529 # the --recheck option to rerun configure.
33531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33533 # following values.
33535 _ACEOF
33537 # The following way of writing the cache mishandles newlines in values,
33538 # but we know of no workaround that is simple, portable, and efficient.
33539 # So, we kill variables containing newlines.
33540 # Ultrix sh set writes to stderr and can't be redirected directly,
33541 # and sets the high bit in the cache file unless we assign to the vars.
33543 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33544 eval ac_val=\$$ac_var
33545 case $ac_val in #(
33546 *${as_nl}*)
33547 case $ac_var in #(
33548 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33549 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33550 esac
33551 case $ac_var in #(
33552 _ | IFS | as_nl) ;; #(
33553 *) $as_unset $ac_var ;;
33554 esac ;;
33555 esac
33556 done
33558 (set) 2>&1 |
33559 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33560 *${as_nl}ac_space=\ *)
33561 # `set' does not quote correctly, so add quotes (double-quote
33562 # substitution turns \\\\ into \\, and sed turns \\ into \).
33563 sed -n \
33564 "s/'/'\\\\''/g;
33565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33566 ;; #(
33568 # `set' quotes correctly as required by POSIX, so do not add quotes.
33569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33571 esac |
33572 sort
33574 sed '
33575 /^ac_cv_env_/b end
33576 t clear
33577 :clear
33578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33579 t end
33580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33581 :end' >>confcache
33582 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33583 if test -w "$cache_file"; then
33584 test "x$cache_file" != "x/dev/null" &&
33585 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33586 echo "$as_me: updating cache $cache_file" >&6;}
33587 cat confcache >$cache_file
33588 else
33589 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33590 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33593 rm -f confcache
33595 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33596 # Let make expand exec_prefix.
33597 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33599 DEFS=-DHAVE_CONFIG_H
33601 ac_libobjs=
33602 ac_ltlibobjs=
33603 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33604 # 1. Remove the extension, and $U if already installed.
33605 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33606 ac_i=`echo "$ac_i" | sed "$ac_script"`
33607 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33608 # will be set to the directory where LIBOBJS objects are built.
33609 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33610 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33611 done
33612 LIBOBJS=$ac_libobjs
33614 LTLIBOBJS=$ac_ltlibobjs
33617 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33618 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33619 Usually this means the macro was only invoked conditionally." >&5
33620 echo "$as_me: error: conditional \"onestep\" was never defined.
33621 Usually this means the macro was only invoked conditionally." >&2;}
33622 { (exit 1); exit 1; }; }
33624 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33625 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33626 Usually this means the macro was only invoked conditionally." >&5
33627 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33628 Usually this means the macro was only invoked conditionally." >&2;}
33629 { (exit 1); exit 1; }; }
33631 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33632 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33633 Usually this means the macro was only invoked conditionally." >&5
33634 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33635 Usually this means the macro was only invoked conditionally." >&2;}
33636 { (exit 1); exit 1; }; }
33638 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33639 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33640 Usually this means the macro was only invoked conditionally." >&5
33641 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33642 Usually this means the macro was only invoked conditionally." >&2;}
33643 { (exit 1); exit 1; }; }
33645 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33646 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33647 Usually this means the macro was only invoked conditionally." >&5
33648 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33649 Usually this means the macro was only invoked conditionally." >&2;}
33650 { (exit 1); exit 1; }; }
33653 : ${CONFIG_STATUS=./config.status}
33654 ac_clean_files_save=$ac_clean_files
33655 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33656 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33657 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33658 cat >$CONFIG_STATUS <<_ACEOF
33659 #! $SHELL
33660 # Generated by $as_me.
33661 # Run this file to recreate the current configuration.
33662 # Compiler output produced by configure, useful for debugging
33663 # configure, is in config.log if it exists.
33665 debug=false
33666 ac_cs_recheck=false
33667 ac_cs_silent=false
33668 SHELL=\${CONFIG_SHELL-$SHELL}
33669 _ACEOF
33671 cat >>$CONFIG_STATUS <<\_ACEOF
33672 ## --------------------- ##
33673 ## M4sh Initialization. ##
33674 ## --------------------- ##
33676 # Be more Bourne compatible
33677 DUALCASE=1; export DUALCASE # for MKS sh
33678 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33679 emulate sh
33680 NULLCMD=:
33681 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33682 # is contrary to our usage. Disable this feature.
33683 alias -g '${1+"$@"}'='"$@"'
33684 setopt NO_GLOB_SUBST
33685 else
33686 case `(set -o) 2>/dev/null` in
33687 *posix*) set -o posix ;;
33688 esac
33695 # PATH needs CR
33696 # Avoid depending upon Character Ranges.
33697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33700 as_cr_digits='0123456789'
33701 as_cr_alnum=$as_cr_Letters$as_cr_digits
33703 # The user is always right.
33704 if test "${PATH_SEPARATOR+set}" != set; then
33705 echo "#! /bin/sh" >conf$$.sh
33706 echo "exit 0" >>conf$$.sh
33707 chmod +x conf$$.sh
33708 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33709 PATH_SEPARATOR=';'
33710 else
33711 PATH_SEPARATOR=:
33713 rm -f conf$$.sh
33716 # Support unset when possible.
33717 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33718 as_unset=unset
33719 else
33720 as_unset=false
33724 # IFS
33725 # We need space, tab and new line, in precisely that order. Quoting is
33726 # there to prevent editors from complaining about space-tab.
33727 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33728 # splitting by setting IFS to empty value.)
33729 as_nl='
33731 IFS=" "" $as_nl"
33733 # Find who we are. Look in the path if we contain no directory separator.
33734 case $0 in
33735 *[\\/]* ) as_myself=$0 ;;
33736 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33737 for as_dir in $PATH
33739 IFS=$as_save_IFS
33740 test -z "$as_dir" && as_dir=.
33741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33742 done
33743 IFS=$as_save_IFS
33746 esac
33747 # We did not find ourselves, most probably we were run as `sh COMMAND'
33748 # in which case we are not to be found in the path.
33749 if test "x$as_myself" = x; then
33750 as_myself=$0
33752 if test ! -f "$as_myself"; then
33753 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33754 { (exit 1); exit 1; }
33757 # Work around bugs in pre-3.0 UWIN ksh.
33758 for as_var in ENV MAIL MAILPATH
33759 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33760 done
33761 PS1='$ '
33762 PS2='> '
33763 PS4='+ '
33765 # NLS nuisances.
33766 for as_var in \
33767 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33768 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33769 LC_TELEPHONE LC_TIME
33771 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33772 eval $as_var=C; export $as_var
33773 else
33774 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33776 done
33778 # Required to use basename.
33779 if expr a : '\(a\)' >/dev/null 2>&1 &&
33780 test "X`expr 00001 : '.*\(...\)'`" = X001; then
33781 as_expr=expr
33782 else
33783 as_expr=false
33786 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33787 as_basename=basename
33788 else
33789 as_basename=false
33793 # Name of the executable.
33794 as_me=`$as_basename -- "$0" ||
33795 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33796 X"$0" : 'X\(//\)$' \| \
33797 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33798 echo X/"$0" |
33799 sed '/^.*\/\([^/][^/]*\)\/*$/{
33800 s//\1/
33803 /^X\/\(\/\/\)$/{
33804 s//\1/
33807 /^X\/\(\/\).*/{
33808 s//\1/
33811 s/.*/./; q'`
33813 # CDPATH.
33814 $as_unset CDPATH
33818 as_lineno_1=$LINENO
33819 as_lineno_2=$LINENO
33820 test "x$as_lineno_1" != "x$as_lineno_2" &&
33821 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33823 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33824 # uniformly replaced by the line number. The first 'sed' inserts a
33825 # line-number line after each line using $LINENO; the second 'sed'
33826 # does the real work. The second script uses 'N' to pair each
33827 # line-number line with the line containing $LINENO, and appends
33828 # trailing '-' during substitution so that $LINENO is not a special
33829 # case at line end.
33830 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33831 # scripts with optimization help from Paolo Bonzini. Blame Lee
33832 # E. McMahon (1931-1989) for sed's syntax. :-)
33833 sed -n '
33835 /[$]LINENO/=
33836 ' <$as_myself |
33837 sed '
33838 s/[$]LINENO.*/&-/
33839 t lineno
33841 :lineno
33843 :loop
33844 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33845 t loop
33846 s/-\n.*//
33847 ' >$as_me.lineno &&
33848 chmod +x "$as_me.lineno" ||
33849 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33850 { (exit 1); exit 1; }; }
33852 # Don't try to exec as it changes $[0], causing all sort of problems
33853 # (the dirname of $[0] is not the place where we might find the
33854 # original and so on. Autoconf is especially sensitive to this).
33855 . "./$as_me.lineno"
33856 # Exit status is that of the last command.
33857 exit
33861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33862 as_dirname=dirname
33863 else
33864 as_dirname=false
33867 ECHO_C= ECHO_N= ECHO_T=
33868 case `echo -n x` in
33869 -n*)
33870 case `echo 'x\c'` in
33871 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33872 *) ECHO_C='\c';;
33873 esac;;
33875 ECHO_N='-n';;
33876 esac
33878 if expr a : '\(a\)' >/dev/null 2>&1 &&
33879 test "X`expr 00001 : '.*\(...\)'`" = X001; then
33880 as_expr=expr
33881 else
33882 as_expr=false
33885 rm -f conf$$ conf$$.exe conf$$.file
33886 if test -d conf$$.dir; then
33887 rm -f conf$$.dir/conf$$.file
33888 else
33889 rm -f conf$$.dir
33890 mkdir conf$$.dir
33892 echo >conf$$.file
33893 if ln -s conf$$.file conf$$ 2>/dev/null; then
33894 as_ln_s='ln -s'
33895 # ... but there are two gotchas:
33896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33898 # In both cases, we have to default to `cp -p'.
33899 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33900 as_ln_s='cp -p'
33901 elif ln conf$$.file conf$$ 2>/dev/null; then
33902 as_ln_s=ln
33903 else
33904 as_ln_s='cp -p'
33906 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33907 rmdir conf$$.dir 2>/dev/null
33909 if mkdir -p . 2>/dev/null; then
33910 as_mkdir_p=:
33911 else
33912 test -d ./-p && rmdir ./-p
33913 as_mkdir_p=false
33916 if test -x / >/dev/null 2>&1; then
33917 as_test_x='test -x'
33918 else
33919 if ls -dL / >/dev/null 2>&1; then
33920 as_ls_L_option=L
33921 else
33922 as_ls_L_option=
33924 as_test_x='
33925 eval sh -c '\''
33926 if test -d "$1"; then
33927 test -d "$1/.";
33928 else
33929 case $1 in
33930 -*)set "./$1";;
33931 esac;
33932 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33933 ???[sx]*):;;*)false;;esac;fi
33934 '\'' sh
33937 as_executable_p=$as_test_x
33939 # Sed expression to map a string onto a valid CPP name.
33940 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33942 # Sed expression to map a string onto a valid variable name.
33943 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33946 exec 6>&1
33948 # Save the log message, to keep $[0] and so on meaningful, and to
33949 # report actual input values of CONFIG_FILES etc. instead of their
33950 # values after options handling.
33951 ac_log="
33952 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33953 generated by GNU Autoconf 2.61. Invocation command line was
33955 CONFIG_FILES = $CONFIG_FILES
33956 CONFIG_HEADERS = $CONFIG_HEADERS
33957 CONFIG_LINKS = $CONFIG_LINKS
33958 CONFIG_COMMANDS = $CONFIG_COMMANDS
33959 $ $0 $@
33961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33964 _ACEOF
33966 cat >>$CONFIG_STATUS <<_ACEOF
33967 # Files that config.status was made for.
33968 config_files="$ac_config_files"
33969 config_headers="$ac_config_headers"
33970 config_commands="$ac_config_commands"
33972 _ACEOF
33974 cat >>$CONFIG_STATUS <<\_ACEOF
33975 ac_cs_usage="\
33976 \`$as_me' instantiates files from templates according to the
33977 current configuration.
33979 Usage: $0 [OPTIONS] [FILE]...
33981 -h, --help print this help, then exit
33982 -V, --version print version number and configuration settings, then exit
33983 -q, --quiet do not print progress messages
33984 -d, --debug don't remove temporary files
33985 --recheck update $as_me by reconfiguring in the same conditions
33986 --file=FILE[:TEMPLATE]
33987 instantiate the configuration file FILE
33988 --header=FILE[:TEMPLATE]
33989 instantiate the configuration header FILE
33991 Configuration files:
33992 $config_files
33994 Configuration headers:
33995 $config_headers
33997 Configuration commands:
33998 $config_commands
34000 Report bugs to <bug-autoconf@gnu.org>."
34002 _ACEOF
34003 cat >>$CONFIG_STATUS <<_ACEOF
34004 ac_cs_version="\\
34005 GNU Fortran Runtime Library config.status 0.3
34006 configured by $0, generated by GNU Autoconf 2.61,
34007 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34009 Copyright (C) 2006 Free Software Foundation, Inc.
34010 This config.status script is free software; the Free Software Foundation
34011 gives unlimited permission to copy, distribute and modify it."
34013 ac_pwd='$ac_pwd'
34014 srcdir='$srcdir'
34015 INSTALL='$INSTALL'
34016 _ACEOF
34018 cat >>$CONFIG_STATUS <<\_ACEOF
34019 # If no file are specified by the user, then we need to provide default
34020 # value. By we need to know if files were specified by the user.
34021 ac_need_defaults=:
34022 while test $# != 0
34024 case $1 in
34025 --*=*)
34026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34028 ac_shift=:
34031 ac_option=$1
34032 ac_optarg=$2
34033 ac_shift=shift
34035 esac
34037 case $ac_option in
34038 # Handling of the options.
34039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34040 ac_cs_recheck=: ;;
34041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34042 echo "$ac_cs_version"; exit ;;
34043 --debug | --debu | --deb | --de | --d | -d )
34044 debug=: ;;
34045 --file | --fil | --fi | --f )
34046 $ac_shift
34047 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34048 ac_need_defaults=false;;
34049 --header | --heade | --head | --hea )
34050 $ac_shift
34051 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34052 ac_need_defaults=false;;
34053 --he | --h)
34054 # Conflict between --help and --header
34055 { echo "$as_me: error: ambiguous option: $1
34056 Try \`$0 --help' for more information." >&2
34057 { (exit 1); exit 1; }; };;
34058 --help | --hel | -h )
34059 echo "$ac_cs_usage"; exit ;;
34060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34061 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34062 ac_cs_silent=: ;;
34064 # This is an error.
34065 -*) { echo "$as_me: error: unrecognized option: $1
34066 Try \`$0 --help' for more information." >&2
34067 { (exit 1); exit 1; }; } ;;
34069 *) ac_config_targets="$ac_config_targets $1"
34070 ac_need_defaults=false ;;
34072 esac
34073 shift
34074 done
34076 ac_configure_extra_args=
34078 if $ac_cs_silent; then
34079 exec 6>/dev/null
34080 ac_configure_extra_args="$ac_configure_extra_args --silent"
34083 _ACEOF
34084 cat >>$CONFIG_STATUS <<_ACEOF
34085 if \$ac_cs_recheck; then
34086 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34087 CONFIG_SHELL=$SHELL
34088 export CONFIG_SHELL
34089 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34092 _ACEOF
34093 cat >>$CONFIG_STATUS <<\_ACEOF
34094 exec 5>>config.log
34096 echo
34097 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34098 ## Running $as_me. ##
34099 _ASBOX
34100 echo "$ac_log"
34101 } >&5
34103 _ACEOF
34104 cat >>$CONFIG_STATUS <<_ACEOF
34106 # INIT-COMMANDS
34109 srcdir="$srcdir"
34110 host="$host"
34111 target="$target"
34112 with_multisubdir="$with_multisubdir"
34113 with_multisrctop="$with_multisrctop"
34114 with_target_subdir="$with_target_subdir"
34115 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34116 multi_basedir="$multi_basedir"
34117 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34118 CC="$CC"
34119 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34122 # The HP-UX ksh and POSIX shell print the target directory to stdout
34123 # if CDPATH is set.
34124 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34126 sed_quote_subst='$sed_quote_subst'
34127 double_quote_subst='$double_quote_subst'
34128 delay_variable_subst='$delay_variable_subst'
34129 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34130 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34131 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34132 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34133 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34134 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34135 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34136 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34137 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34138 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34139 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34140 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34141 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34142 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34143 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34144 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34145 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34146 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34147 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34148 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34149 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34150 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34151 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34152 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34153 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34154 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34155 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34156 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34157 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34158 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34159 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34160 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34161 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34162 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34163 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34164 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34165 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34166 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34167 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34168 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34169 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34170 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34171 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34172 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
34173 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34174 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34175 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34176 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34177 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34178 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34179 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34180 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34181 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34182 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34183 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34184 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34185 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34186 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34187 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34188 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34189 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34190 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34191 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34192 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34193 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34194 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34195 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34196 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34197 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34198 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34199 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34200 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34201 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34202 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34203 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34204 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34205 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34206 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34207 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34208 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34209 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34210 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34211 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34212 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34213 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34214 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34215 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34216 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34217 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34218 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34219 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34220 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34221 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34222 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34223 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34224 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34225 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34226 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34227 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34228 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34229 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34230 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34231 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34232 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34233 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34234 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34235 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34236 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34237 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34238 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34239 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34240 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34241 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34242 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34243 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34244 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34245 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34246 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34247 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34248 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34249 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34250 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34251 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34252 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34253 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34254 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34255 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34256 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34257 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34258 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34259 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34260 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34261 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34262 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34263 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34264 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34265 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34266 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34267 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34268 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34269 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34270 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34271 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34272 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34273 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34274 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34275 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34276 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34277 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34278 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34279 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34280 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34281 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34282 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34283 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34284 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34285 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34286 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34287 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34288 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34289 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34290 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34292 LTCC='$LTCC'
34293 LTCFLAGS='$LTCFLAGS'
34294 compiler='$compiler_DEFAULT'
34296 # Quote evaled strings.
34297 for var in SED \
34298 GREP \
34299 EGREP \
34300 FGREP \
34301 LD \
34302 NM \
34303 LN_S \
34304 lt_SP2NL \
34305 lt_NL2SP \
34306 reload_flag \
34307 deplibs_check_method \
34308 file_magic_cmd \
34309 AR \
34310 AR_FLAGS \
34311 STRIP \
34312 RANLIB \
34313 CC \
34314 CFLAGS \
34315 compiler \
34316 lt_cv_sys_global_symbol_pipe \
34317 lt_cv_sys_global_symbol_to_cdecl \
34318 lt_cv_sys_global_symbol_to_c_name_address \
34319 SHELL \
34320 ECHO \
34321 lt_prog_compiler_no_builtin_flag \
34322 lt_prog_compiler_wl \
34323 lt_prog_compiler_pic \
34324 lt_prog_compiler_static \
34325 lt_cv_prog_compiler_c_o \
34326 need_locks \
34327 shrext_cmds \
34328 export_dynamic_flag_spec \
34329 whole_archive_flag_spec \
34330 compiler_needs_object \
34331 with_gnu_ld \
34332 allow_undefined_flag \
34333 no_undefined_flag \
34334 hardcode_libdir_flag_spec \
34335 hardcode_libdir_flag_spec_ld \
34336 hardcode_libdir_separator \
34337 fix_srcfile_path \
34338 exclude_expsyms \
34339 include_expsyms \
34340 file_list_spec \
34341 variables_saved_for_relink \
34342 libname_spec \
34343 library_names_spec \
34344 soname_spec \
34345 finish_eval \
34346 old_striplib \
34347 striplib \
34348 predep_objects \
34349 postdep_objects \
34350 predeps \
34351 postdeps \
34352 compiler_lib_search_path \
34353 LD_FC \
34354 compiler_FC \
34355 lt_prog_compiler_no_builtin_flag_FC \
34356 lt_prog_compiler_wl_FC \
34357 lt_prog_compiler_pic_FC \
34358 lt_prog_compiler_static_FC \
34359 lt_cv_prog_compiler_c_o_FC \
34360 export_dynamic_flag_spec_FC \
34361 whole_archive_flag_spec_FC \
34362 compiler_needs_object_FC \
34363 with_gnu_ld_FC \
34364 allow_undefined_flag_FC \
34365 no_undefined_flag_FC \
34366 hardcode_libdir_flag_spec_FC \
34367 hardcode_libdir_flag_spec_ld_FC \
34368 hardcode_libdir_separator_FC \
34369 fix_srcfile_path_FC \
34370 exclude_expsyms_FC \
34371 include_expsyms_FC \
34372 file_list_spec_FC \
34373 predep_objects_FC \
34374 postdep_objects_FC \
34375 predeps_FC \
34376 postdeps_FC \
34377 compiler_lib_search_path_FC; do
34378 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34379 *[\\\\\\\`\\"\\\$]*)
34380 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34383 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34385 esac
34386 done
34388 # Double-quote double-evaled strings.
34389 for var in reload_cmds \
34390 old_postinstall_cmds \
34391 old_postuninstall_cmds \
34392 old_archive_cmds \
34393 extract_expsyms_cmds \
34394 old_archive_from_new_cmds \
34395 old_archive_from_expsyms_cmds \
34396 archive_cmds \
34397 archive_expsym_cmds \
34398 module_cmds \
34399 module_expsym_cmds \
34400 export_symbols_cmds \
34401 prelink_cmds \
34402 postinstall_cmds \
34403 postuninstall_cmds \
34404 finish_cmds \
34405 sys_lib_search_path_spec \
34406 sys_lib_dlsearch_path_spec \
34407 old_archive_cmds_FC \
34408 old_archive_from_new_cmds_FC \
34409 old_archive_from_expsyms_cmds_FC \
34410 archive_cmds_FC \
34411 archive_expsym_cmds_FC \
34412 module_cmds_FC \
34413 module_expsym_cmds_FC \
34414 export_symbols_cmds_FC \
34415 prelink_cmds_FC; do
34416 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34417 *[\\\\\\\`\\"\\\$]*)
34418 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34421 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34423 esac
34424 done
34426 # Fix-up fallback echo if it was mangled by the above quoting rules.
34427 case \$lt_ECHO in
34428 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34430 esac
34432 ac_aux_dir='$ac_aux_dir'
34433 xsi_shell='$xsi_shell'
34434 lt_shell_append='$lt_shell_append'
34436 # See if we are running on zsh, and set the options which allow our
34437 # commands through without removal of \ escapes INIT.
34438 if test -n "\${ZSH_VERSION+set}" ; then
34439 setopt NO_GLOB_SUBST
34443 PACKAGE='$PACKAGE'
34444 VERSION='$VERSION'
34445 TIMESTAMP='$TIMESTAMP'
34446 RM='$RM'
34447 ofile='$ofile'
34454 GCC="$GCC"
34455 CC="$CC"
34456 acx_cv_header_stdint="$acx_cv_header_stdint"
34457 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34458 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34459 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34460 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34461 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34462 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34463 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34464 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34465 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34466 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34467 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34468 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34469 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34472 _ACEOF
34474 cat >>$CONFIG_STATUS <<\_ACEOF
34476 # Handling of arguments.
34477 for ac_config_target in $ac_config_targets
34479 case $ac_config_target in
34480 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34481 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34482 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34483 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34484 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34485 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34487 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34488 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34489 { (exit 1); exit 1; }; };;
34490 esac
34491 done
34494 # If the user did not use the arguments to specify the items to instantiate,
34495 # then the envvar interface is used. Set only those that are not.
34496 # We use the long form for the default assignment because of an extremely
34497 # bizarre bug on SunOS 4.1.3.
34498 if $ac_need_defaults; then
34499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34501 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34504 # Have a temporary directory for convenience. Make it in the build tree
34505 # simply because there is no reason against having it here, and in addition,
34506 # creating and moving files from /tmp can sometimes cause problems.
34507 # Hook for its removal unless debugging.
34508 # Note that there is a small window in which the directory will not be cleaned:
34509 # after its creation but before its name has been assigned to `$tmp'.
34510 $debug ||
34512 tmp=
34513 trap 'exit_status=$?
34514 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34516 trap '{ (exit 1); exit 1; }' 1 2 13 15
34518 # Create a (secure) tmp directory for tmp files.
34521 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34522 test -n "$tmp" && test -d "$tmp"
34523 } ||
34525 tmp=./conf$$-$RANDOM
34526 (umask 077 && mkdir "$tmp")
34527 } ||
34529 echo "$me: cannot create a temporary directory in ." >&2
34530 { (exit 1); exit 1; }
34534 # Set up the sed scripts for CONFIG_FILES section.
34537 # No need to generate the scripts if there are no CONFIG_FILES.
34538 # This happens for instance when ./config.status config.h
34539 if test -n "$CONFIG_FILES"; then
34541 _ACEOF
34545 ac_delim='%!_!# '
34546 for ac_last_try in false false false false false :; do
34547 cat >conf$$subs.sed <<_ACEOF
34548 SHELL!$SHELL$ac_delim
34549 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34550 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34551 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34552 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34553 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34554 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34555 exec_prefix!$exec_prefix$ac_delim
34556 prefix!$prefix$ac_delim
34557 program_transform_name!$program_transform_name$ac_delim
34558 bindir!$bindir$ac_delim
34559 sbindir!$sbindir$ac_delim
34560 libexecdir!$libexecdir$ac_delim
34561 datarootdir!$datarootdir$ac_delim
34562 datadir!$datadir$ac_delim
34563 sysconfdir!$sysconfdir$ac_delim
34564 sharedstatedir!$sharedstatedir$ac_delim
34565 localstatedir!$localstatedir$ac_delim
34566 includedir!$includedir$ac_delim
34567 oldincludedir!$oldincludedir$ac_delim
34568 docdir!$docdir$ac_delim
34569 infodir!$infodir$ac_delim
34570 htmldir!$htmldir$ac_delim
34571 dvidir!$dvidir$ac_delim
34572 pdfdir!$pdfdir$ac_delim
34573 psdir!$psdir$ac_delim
34574 libdir!$libdir$ac_delim
34575 localedir!$localedir$ac_delim
34576 mandir!$mandir$ac_delim
34577 DEFS!$DEFS$ac_delim
34578 ECHO_C!$ECHO_C$ac_delim
34579 ECHO_N!$ECHO_N$ac_delim
34580 ECHO_T!$ECHO_T$ac_delim
34581 LIBS!$LIBS$ac_delim
34582 build_alias!$build_alias$ac_delim
34583 host_alias!$host_alias$ac_delim
34584 target_alias!$target_alias$ac_delim
34585 build!$build$ac_delim
34586 build_cpu!$build_cpu$ac_delim
34587 build_vendor!$build_vendor$ac_delim
34588 build_os!$build_os$ac_delim
34589 build_libsubdir!$build_libsubdir$ac_delim
34590 build_subdir!$build_subdir$ac_delim
34591 host_subdir!$host_subdir$ac_delim
34592 target_subdir!$target_subdir$ac_delim
34593 onestep_TRUE!$onestep_TRUE$ac_delim
34594 onestep_FALSE!$onestep_FALSE$ac_delim
34595 onestep!$onestep$ac_delim
34596 host!$host$ac_delim
34597 host_cpu!$host_cpu$ac_delim
34598 host_vendor!$host_vendor$ac_delim
34599 host_os!$host_os$ac_delim
34600 target!$target$ac_delim
34601 target_cpu!$target_cpu$ac_delim
34602 target_vendor!$target_vendor$ac_delim
34603 target_os!$target_os$ac_delim
34604 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34605 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34606 INSTALL_DATA!$INSTALL_DATA$ac_delim
34607 CYGPATH_W!$CYGPATH_W$ac_delim
34608 PACKAGE!$PACKAGE$ac_delim
34609 VERSION!$VERSION$ac_delim
34610 ACLOCAL!$ACLOCAL$ac_delim
34611 AUTOCONF!$AUTOCONF$ac_delim
34612 AUTOMAKE!$AUTOMAKE$ac_delim
34613 AUTOHEADER!$AUTOHEADER$ac_delim
34614 MAKEINFO!$MAKEINFO$ac_delim
34615 install_sh!$install_sh$ac_delim
34616 STRIP!$STRIP$ac_delim
34617 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34618 mkdir_p!$mkdir_p$ac_delim
34619 AWK!$AWK$ac_delim
34620 SET_MAKE!$SET_MAKE$ac_delim
34621 am__leading_dot!$am__leading_dot$ac_delim
34622 AMTAR!$AMTAR$ac_delim
34623 am__tar!$am__tar$ac_delim
34624 am__untar!$am__untar$ac_delim
34625 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
34626 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
34627 MAINT!$MAINT$ac_delim
34628 multi_basedir!$multi_basedir$ac_delim
34629 toolexecdir!$toolexecdir$ac_delim
34630 toolexeclibdir!$toolexeclibdir$ac_delim
34631 CC!$CC$ac_delim
34632 CFLAGS!$CFLAGS$ac_delim
34633 LDFLAGS!$LDFLAGS$ac_delim
34634 CPPFLAGS!$CPPFLAGS$ac_delim
34635 ac_ct_CC!$ac_ct_CC$ac_delim
34636 EXEEXT!$EXEEXT$ac_delim
34637 OBJEXT!$OBJEXT$ac_delim
34638 DEPDIR!$DEPDIR$ac_delim
34639 am__include!$am__include$ac_delim
34640 am__quote!$am__quote$ac_delim
34641 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34642 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34643 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34644 CCDEPMODE!$CCDEPMODE$ac_delim
34645 _ACEOF
34647 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34648 break
34649 elif $ac_last_try; then
34650 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34651 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34652 { (exit 1); exit 1; }; }
34653 else
34654 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34656 done
34658 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34659 if test -n "$ac_eof"; then
34660 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34661 ac_eof=`expr $ac_eof + 1`
34664 cat >>$CONFIG_STATUS <<_ACEOF
34665 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34666 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34667 _ACEOF
34668 sed '
34669 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34670 s/^/s,@/; s/!/@,|#_!!_#|/
34673 s/'"$ac_delim"'$/,g/; t
34674 s/$/\\/; p
34675 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34676 ' >>$CONFIG_STATUS <conf$$subs.sed
34677 rm -f conf$$subs.sed
34678 cat >>$CONFIG_STATUS <<_ACEOF
34679 CEOF$ac_eof
34680 _ACEOF
34683 ac_delim='%!_!# '
34684 for ac_last_try in false false false false false :; do
34685 cat >conf$$subs.sed <<_ACEOF
34686 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34687 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34688 AM_FCFLAGS!$AM_FCFLAGS$ac_delim
34689 AM_CFLAGS!$AM_CFLAGS$ac_delim
34690 LIBGFOR_USE_SYMVER_TRUE!$LIBGFOR_USE_SYMVER_TRUE$ac_delim
34691 LIBGFOR_USE_SYMVER_FALSE!$LIBGFOR_USE_SYMVER_FALSE$ac_delim
34692 AS!$AS$ac_delim
34693 AR!$AR$ac_delim
34694 RANLIB!$RANLIB$ac_delim
34695 LIBTOOL!$LIBTOOL$ac_delim
34696 SED!$SED$ac_delim
34697 GREP!$GREP$ac_delim
34698 EGREP!$EGREP$ac_delim
34699 FGREP!$FGREP$ac_delim
34700 LD!$LD$ac_delim
34701 DUMPBIN!$DUMPBIN$ac_delim
34702 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
34703 NM!$NM$ac_delim
34704 LN_S!$LN_S$ac_delim
34705 lt_ECHO!$lt_ECHO$ac_delim
34706 CPP!$CPP$ac_delim
34707 enable_shared!$enable_shared$ac_delim
34708 enable_static!$enable_static$ac_delim
34709 FC!$FC$ac_delim
34710 FCFLAGS!$FCFLAGS$ac_delim
34711 ac_ct_FC!$ac_ct_FC$ac_delim
34712 extra_ldflags_libgfortran!$extra_ldflags_libgfortran$ac_delim
34713 FPU_HOST_HEADER!$FPU_HOST_HEADER$ac_delim
34714 LIBOBJS!$LIBOBJS$ac_delim
34715 LTLIBOBJS!$LTLIBOBJS$ac_delim
34716 _ACEOF
34718 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
34719 break
34720 elif $ac_last_try; then
34721 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34722 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34723 { (exit 1); exit 1; }; }
34724 else
34725 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34727 done
34729 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34730 if test -n "$ac_eof"; then
34731 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34732 ac_eof=`expr $ac_eof + 1`
34735 cat >>$CONFIG_STATUS <<_ACEOF
34736 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34737 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34738 _ACEOF
34739 sed '
34740 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34741 s/^/s,@/; s/!/@,|#_!!_#|/
34744 s/'"$ac_delim"'$/,g/; t
34745 s/$/\\/; p
34746 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34747 ' >>$CONFIG_STATUS <conf$$subs.sed
34748 rm -f conf$$subs.sed
34749 cat >>$CONFIG_STATUS <<_ACEOF
34750 :end
34751 s/|#_!!_#|//g
34752 CEOF$ac_eof
34753 _ACEOF
34756 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34757 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34758 # trailing colons and then remove the whole line if VPATH becomes empty
34759 # (actually we leave an empty line to preserve line numbers).
34760 if test "x$srcdir" = x.; then
34761 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34762 s/:*\$(srcdir):*/:/
34763 s/:*\${srcdir}:*/:/
34764 s/:*@srcdir@:*/:/
34765 s/^\([^=]*=[ ]*\):*/\1/
34766 s/:*$//
34767 s/^[^=]*=[ ]*$//
34771 cat >>$CONFIG_STATUS <<\_ACEOF
34772 fi # test -n "$CONFIG_FILES"
34775 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34777 case $ac_tag in
34778 :[FHLC]) ac_mode=$ac_tag; continue;;
34779 esac
34780 case $ac_mode$ac_tag in
34781 :[FHL]*:*);;
34782 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34783 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34784 { (exit 1); exit 1; }; };;
34785 :[FH]-) ac_tag=-:-;;
34786 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34787 esac
34788 ac_save_IFS=$IFS
34789 IFS=:
34790 set x $ac_tag
34791 IFS=$ac_save_IFS
34792 shift
34793 ac_file=$1
34794 shift
34796 case $ac_mode in
34797 :L) ac_source=$1;;
34798 :[FH])
34799 ac_file_inputs=
34800 for ac_f
34802 case $ac_f in
34803 -) ac_f="$tmp/stdin";;
34804 *) # Look for the file first in the build tree, then in the source tree
34805 # (if the path is not absolute). The absolute path cannot be DOS-style,
34806 # because $ac_f cannot contain `:'.
34807 test -f "$ac_f" ||
34808 case $ac_f in
34809 [\\/$]*) false;;
34810 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34811 esac ||
34812 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34813 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34814 { (exit 1); exit 1; }; };;
34815 esac
34816 ac_file_inputs="$ac_file_inputs $ac_f"
34817 done
34819 # Let's still pretend it is `configure' which instantiates (i.e., don't
34820 # use $as_me), people would be surprised to read:
34821 # /* config.h. Generated by config.status. */
34822 configure_input="Generated from "`IFS=:
34823 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34824 if test x"$ac_file" != x-; then
34825 configure_input="$ac_file. $configure_input"
34826 { echo "$as_me:$LINENO: creating $ac_file" >&5
34827 echo "$as_me: creating $ac_file" >&6;}
34830 case $ac_tag in
34831 *:-:* | *:-) cat >"$tmp/stdin";;
34832 esac
34834 esac
34836 ac_dir=`$as_dirname -- "$ac_file" ||
34837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34838 X"$ac_file" : 'X\(//\)[^/]' \| \
34839 X"$ac_file" : 'X\(//\)$' \| \
34840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34841 echo X"$ac_file" |
34842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34843 s//\1/
34846 /^X\(\/\/\)[^/].*/{
34847 s//\1/
34850 /^X\(\/\/\)$/{
34851 s//\1/
34854 /^X\(\/\).*/{
34855 s//\1/
34858 s/.*/./; q'`
34859 { as_dir="$ac_dir"
34860 case $as_dir in #(
34861 -*) as_dir=./$as_dir;;
34862 esac
34863 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34864 as_dirs=
34865 while :; do
34866 case $as_dir in #(
34867 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34868 *) as_qdir=$as_dir;;
34869 esac
34870 as_dirs="'$as_qdir' $as_dirs"
34871 as_dir=`$as_dirname -- "$as_dir" ||
34872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34873 X"$as_dir" : 'X\(//\)[^/]' \| \
34874 X"$as_dir" : 'X\(//\)$' \| \
34875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34876 echo X"$as_dir" |
34877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34878 s//\1/
34881 /^X\(\/\/\)[^/].*/{
34882 s//\1/
34885 /^X\(\/\/\)$/{
34886 s//\1/
34889 /^X\(\/\).*/{
34890 s//\1/
34893 s/.*/./; q'`
34894 test -d "$as_dir" && break
34895 done
34896 test -z "$as_dirs" || eval "mkdir $as_dirs"
34897 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34898 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34899 { (exit 1); exit 1; }; }; }
34900 ac_builddir=.
34902 case "$ac_dir" in
34903 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34906 # A ".." for each directory in $ac_dir_suffix.
34907 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34908 case $ac_top_builddir_sub in
34909 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34910 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34911 esac ;;
34912 esac
34913 ac_abs_top_builddir=$ac_pwd
34914 ac_abs_builddir=$ac_pwd$ac_dir_suffix
34915 # for backward compatibility:
34916 ac_top_builddir=$ac_top_build_prefix
34918 case $srcdir in
34919 .) # We are building in place.
34920 ac_srcdir=.
34921 ac_top_srcdir=$ac_top_builddir_sub
34922 ac_abs_top_srcdir=$ac_pwd ;;
34923 [\\/]* | ?:[\\/]* ) # Absolute name.
34924 ac_srcdir=$srcdir$ac_dir_suffix;
34925 ac_top_srcdir=$srcdir
34926 ac_abs_top_srcdir=$srcdir ;;
34927 *) # Relative name.
34928 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34929 ac_top_srcdir=$ac_top_build_prefix$srcdir
34930 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34931 esac
34932 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34935 case $ac_mode in
34938 # CONFIG_FILE
34941 case $INSTALL in
34942 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34943 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34944 esac
34945 _ACEOF
34947 cat >>$CONFIG_STATUS <<\_ACEOF
34948 # If the template does not know about datarootdir, expand it.
34949 # FIXME: This hack should be removed a few years after 2.60.
34950 ac_datarootdir_hack=; ac_datarootdir_seen=
34952 case `sed -n '/datarootdir/ {
34956 /@datadir@/p
34957 /@docdir@/p
34958 /@infodir@/p
34959 /@localedir@/p
34960 /@mandir@/p
34961 ' $ac_file_inputs` in
34962 *datarootdir*) ac_datarootdir_seen=yes;;
34963 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34964 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34965 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34966 _ACEOF
34967 cat >>$CONFIG_STATUS <<_ACEOF
34968 ac_datarootdir_hack='
34969 s&@datadir@&$datadir&g
34970 s&@docdir@&$docdir&g
34971 s&@infodir@&$infodir&g
34972 s&@localedir@&$localedir&g
34973 s&@mandir@&$mandir&g
34974 s&\\\${datarootdir}&$datarootdir&g' ;;
34975 esac
34976 _ACEOF
34978 # Neutralize VPATH when `$srcdir' = `.'.
34979 # Shell code in configure.ac might set extrasub.
34980 # FIXME: do we really want to maintain this feature?
34981 cat >>$CONFIG_STATUS <<_ACEOF
34982 sed "$ac_vpsub
34983 $extrasub
34984 _ACEOF
34985 cat >>$CONFIG_STATUS <<\_ACEOF
34987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34988 s&@configure_input@&$configure_input&;t t
34989 s&@top_builddir@&$ac_top_builddir_sub&;t t
34990 s&@srcdir@&$ac_srcdir&;t t
34991 s&@abs_srcdir@&$ac_abs_srcdir&;t t
34992 s&@top_srcdir@&$ac_top_srcdir&;t t
34993 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34994 s&@builddir@&$ac_builddir&;t t
34995 s&@abs_builddir@&$ac_abs_builddir&;t t
34996 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34997 s&@INSTALL@&$ac_INSTALL&;t t
34998 $ac_datarootdir_hack
34999 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
35001 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35002 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
35003 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
35004 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35005 which seems to be undefined. Please make sure it is defined." >&5
35006 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35007 which seems to be undefined. Please make sure it is defined." >&2;}
35009 rm -f "$tmp/stdin"
35010 case $ac_file in
35011 -) cat "$tmp/out"; rm -f "$tmp/out";;
35012 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35013 esac
35017 # CONFIG_HEADER
35019 _ACEOF
35021 # Transform confdefs.h into a sed script `conftest.defines', that
35022 # substitutes the proper values into config.h.in to produce config.h.
35023 rm -f conftest.defines conftest.tail
35024 # First, append a space to every undef/define line, to ease matching.
35025 echo 's/$/ /' >conftest.defines
35026 # Then, protect against being on the right side of a sed subst, or in
35027 # an unquoted here document, in config.status. If some macros were
35028 # called several times there might be several #defines for the same
35029 # symbol, which is useless. But do not sort them, since the last
35030 # AC_DEFINE must be honored.
35031 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35032 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35033 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35034 # PARAMS is the parameter list in the macro definition--in most cases, it's
35035 # just an empty string.
35036 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35037 ac_dB='\\)[ (].*,\\1define\\2'
35038 ac_dC=' '
35039 ac_dD=' ,'
35041 uniq confdefs.h |
35042 sed -n '
35043 t rset
35044 :rset
35045 s/^[ ]*#[ ]*define[ ][ ]*//
35046 t ok
35049 s/[\\&,]/\\&/g
35050 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35051 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35052 ' >>conftest.defines
35054 # Remove the space that was appended to ease matching.
35055 # Then replace #undef with comments. This is necessary, for
35056 # example, in the case of _POSIX_SOURCE, which is predefined and required
35057 # on some systems where configure will not decide to define it.
35058 # (The regexp can be short, since the line contains either #define or #undef.)
35059 echo 's/ $//
35060 s,^[ #]*u.*,/* & */,' >>conftest.defines
35062 # Break up conftest.defines:
35063 ac_max_sed_lines=50
35065 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35066 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35067 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35068 # et cetera.
35069 ac_in='$ac_file_inputs'
35070 ac_out='"$tmp/out1"'
35071 ac_nxt='"$tmp/out2"'
35073 while :
35075 # Write a here document:
35076 cat >>$CONFIG_STATUS <<_ACEOF
35077 # First, check the format of the line:
35078 cat >"\$tmp/defines.sed" <<\\CEOF
35079 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35080 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35082 :def
35083 _ACEOF
35084 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
35085 echo 'CEOF
35086 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35087 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
35088 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
35089 grep . conftest.tail >/dev/null || break
35090 rm -f conftest.defines
35091 mv conftest.tail conftest.defines
35092 done
35093 rm -f conftest.defines conftest.tail
35095 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35096 cat >>$CONFIG_STATUS <<\_ACEOF
35097 if test x"$ac_file" != x-; then
35098 echo "/* $configure_input */" >"$tmp/config.h"
35099 cat "$ac_result" >>"$tmp/config.h"
35100 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
35101 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35102 echo "$as_me: $ac_file is unchanged" >&6;}
35103 else
35104 rm -f $ac_file
35105 mv "$tmp/config.h" $ac_file
35107 else
35108 echo "/* $configure_input */"
35109 cat "$ac_result"
35111 rm -f "$tmp/out12"
35112 # Compute $ac_file's index in $config_headers.
35113 _am_stamp_count=1
35114 for _am_header in $config_headers :; do
35115 case $_am_header in
35116 $ac_file | $ac_file:* )
35117 break ;;
35119 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35120 esac
35121 done
35122 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
35123 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35124 X$ac_file : 'X\(//\)[^/]' \| \
35125 X$ac_file : 'X\(//\)$' \| \
35126 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
35127 echo X$ac_file |
35128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35129 s//\1/
35132 /^X\(\/\/\)[^/].*/{
35133 s//\1/
35136 /^X\(\/\/\)$/{
35137 s//\1/
35140 /^X\(\/\).*/{
35141 s//\1/
35144 s/.*/./; q'`/stamp-h$_am_stamp_count
35147 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35148 echo "$as_me: executing $ac_file commands" >&6;}
35150 esac
35153 case $ac_file$ac_mode in
35154 "default-1":C)
35155 # Only add multilib support code if we just rebuilt the top-level
35156 # Makefile.
35157 case " $CONFIG_FILES " in
35158 *" Makefile "*)
35159 ac_file=Makefile . ${multi_basedir}/config-ml.in
35161 esac ;;
35162 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35163 # Strip MF so we end up with the name of the file.
35164 mf=`echo "$mf" | sed -e 's/:.*$//'`
35165 # Check whether this is an Automake generated Makefile or not.
35166 # We used to match only the files named `Makefile.in', but
35167 # some people rename them; so instead we look at the file content.
35168 # Grep'ing the first line is not enough: some people post-process
35169 # each Makefile.in and add a new line on top of each file to say so.
35170 # So let's grep whole file.
35171 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35172 dirpart=`$as_dirname -- "$mf" ||
35173 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35174 X"$mf" : 'X\(//\)[^/]' \| \
35175 X"$mf" : 'X\(//\)$' \| \
35176 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35177 echo X"$mf" |
35178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35179 s//\1/
35182 /^X\(\/\/\)[^/].*/{
35183 s//\1/
35186 /^X\(\/\/\)$/{
35187 s//\1/
35190 /^X\(\/\).*/{
35191 s//\1/
35194 s/.*/./; q'`
35195 else
35196 continue
35198 # Extract the definition of DEPDIR, am__include, and am__quote
35199 # from the Makefile without running `make'.
35200 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35201 test -z "$DEPDIR" && continue
35202 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35203 test -z "am__include" && continue
35204 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35205 # When using ansi2knr, U may be empty or an underscore; expand it
35206 U=`sed -n 's/^U = //p' < "$mf"`
35207 # Find all dependency output files, they are included files with
35208 # $(DEPDIR) in their names. We invoke sed twice because it is the
35209 # simplest approach to changing $(DEPDIR) to its actual value in the
35210 # expansion.
35211 for file in `sed -n "
35212 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35213 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35214 # Make sure the directory exists.
35215 test -f "$dirpart/$file" && continue
35216 fdir=`$as_dirname -- "$file" ||
35217 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35218 X"$file" : 'X\(//\)[^/]' \| \
35219 X"$file" : 'X\(//\)$' \| \
35220 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35221 echo X"$file" |
35222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35223 s//\1/
35226 /^X\(\/\/\)[^/].*/{
35227 s//\1/
35230 /^X\(\/\/\)$/{
35231 s//\1/
35234 /^X\(\/\).*/{
35235 s//\1/
35238 s/.*/./; q'`
35239 { as_dir=$dirpart/$fdir
35240 case $as_dir in #(
35241 -*) as_dir=./$as_dir;;
35242 esac
35243 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35244 as_dirs=
35245 while :; do
35246 case $as_dir in #(
35247 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35248 *) as_qdir=$as_dir;;
35249 esac
35250 as_dirs="'$as_qdir' $as_dirs"
35251 as_dir=`$as_dirname -- "$as_dir" ||
35252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35253 X"$as_dir" : 'X\(//\)[^/]' \| \
35254 X"$as_dir" : 'X\(//\)$' \| \
35255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35256 echo X"$as_dir" |
35257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35258 s//\1/
35261 /^X\(\/\/\)[^/].*/{
35262 s//\1/
35265 /^X\(\/\/\)$/{
35266 s//\1/
35269 /^X\(\/\).*/{
35270 s//\1/
35273 s/.*/./; q'`
35274 test -d "$as_dir" && break
35275 done
35276 test -z "$as_dirs" || eval "mkdir $as_dirs"
35277 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35278 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35279 { (exit 1); exit 1; }; }; }
35280 # echo "creating $dirpart/$file"
35281 echo '# dummy' > "$dirpart/$file"
35282 done
35283 done
35285 "libtool":C)
35287 # See if we are running on zsh, and set the options which allow our
35288 # commands through without removal of \ escapes.
35289 if test -n "${ZSH_VERSION+set}" ; then
35290 setopt NO_GLOB_SUBST
35293 cfgfile="${ofile}T"
35294 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35295 $RM "$cfgfile"
35297 cat <<_LT_EOF >> "$cfgfile"
35298 #! $SHELL
35300 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35301 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35302 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35303 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35305 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35306 # 2006, 2007 Free Software Foundation, Inc.
35308 # This file is part of GNU Libtool:
35309 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35311 # This program is free software; you can redistribute it and/or modify
35312 # it under the terms of the GNU General Public License as published by
35313 # the Free Software Foundation; either version 2 of the License, or
35314 # (at your option) any later version.
35316 # This program is distributed in the hope that it will be useful, but
35317 # WITHOUT ANY WARRANTY; without even the implied warranty of
35318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35319 # General Public License for more details.
35321 # You should have received a copy of the GNU General Public License
35322 # along with this program; if not, a copy can be downloaded from
35323 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35324 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35325 # MA 02110-1301, USA.
35327 # As a special exception to the GNU General Public License, if you
35328 # distribute this file as part of a program that contains a
35329 # configuration script generated by Autoconf, you may include it under
35330 # the same distribution terms that you use for the rest of that program.
35333 # The names of the tagged configurations supported by this script.
35334 available_tags="FC "
35336 # ### BEGIN LIBTOOL CONFIG
35338 # Which release of libtool.m4 was used?
35339 macro_version=$macro_version
35340 macro_revision=$macro_revision
35342 # Whether or not to build shared libraries.
35343 build_libtool_libs=$enable_shared
35345 # Whether or not to build static libraries.
35346 build_old_libs=$enable_static
35348 # What type of objects to build.
35349 pic_mode=$pic_mode
35351 # Whether or not to optimize for fast installation.
35352 fast_install=$enable_fast_install
35354 # The host system.
35355 host_alias=$host_alias
35356 host=$host
35357 host_os=$host_os
35359 # The build system.
35360 build_alias=$build_alias
35361 build=$build
35362 build_os=$build_os
35364 # A sed program that does not truncate output.
35365 SED=$lt_SED
35367 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35368 Xsed="\$SED -e 1s/^X//"
35370 # A grep program that handles long lines.
35371 GREP=$lt_GREP
35373 # An ERE matcher.
35374 EGREP=$lt_EGREP
35376 # A literal string matcher.
35377 FGREP=$lt_FGREP
35379 # A BSD- or MS-compatible name lister.
35380 NM=$lt_NM
35382 # Whether we need soft or hard links.
35383 LN_S=$lt_LN_S
35385 # What is the maximum length of a command?
35386 max_cmd_len=$max_cmd_len
35388 # Object file suffix (normally "o").
35389 objext=$ac_objext
35391 # Executable file suffix (normally "").
35392 exeext=$exeext
35394 # whether the shell understands "unset".
35395 lt_unset=$lt_unset
35397 # turn spaces into newlines.
35398 SP2NL=$lt_lt_SP2NL
35400 # turn newlines into spaces.
35401 NL2SP=$lt_lt_NL2SP
35403 # How to create reloadable object files.
35404 reload_flag=$lt_reload_flag
35405 reload_cmds=$lt_reload_cmds
35407 # Method to check whether dependent libraries are shared objects.
35408 deplibs_check_method=$lt_deplibs_check_method
35410 # Command to use when deplibs_check_method == "file_magic".
35411 file_magic_cmd=$lt_file_magic_cmd
35413 # The archiver.
35414 AR=$lt_AR
35415 AR_FLAGS=$lt_AR_FLAGS
35417 # A symbol stripping program.
35418 STRIP=$lt_STRIP
35420 # Commands used to install an old-style archive.
35421 RANLIB=$lt_RANLIB
35422 old_postinstall_cmds=$lt_old_postinstall_cmds
35423 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35425 # A C compiler.
35426 LTCC=$lt_CC
35428 # LTCC compiler flags.
35429 LTCFLAGS=$lt_CFLAGS
35431 # Take the output of nm and produce a listing of raw symbols and C names.
35432 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35434 # Transform the output of nm in a proper C declaration.
35435 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35437 # Transform the output of nm in a C name address pair.
35438 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35440 # The name of the directory that contains temporary libtool files.
35441 objdir=$objdir
35443 # Shell to use when invoking shell scripts.
35444 SHELL=$lt_SHELL
35446 # An echo program that does not interpret backslashes.
35447 ECHO=$lt_ECHO
35449 # Used to examine libraries when file_magic_cmd begins with "file".
35450 MAGIC_CMD=$MAGIC_CMD
35452 # Must we lock files when doing compilation?
35453 need_locks=$lt_need_locks
35455 # Old archive suffix (normally "a").
35456 libext=$libext
35458 # Shared library suffix (normally ".so").
35459 shrext_cmds=$lt_shrext_cmds
35461 # The commands to extract the exported symbol list from a shared archive.
35462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35464 # Variables whose values should be saved in libtool wrapper scripts and
35465 # restored at link time.
35466 variables_saved_for_relink=$lt_variables_saved_for_relink
35468 # Do we need the "lib" prefix for modules?
35469 need_lib_prefix=$need_lib_prefix
35471 # Do we need a version for libraries?
35472 need_version=$need_version
35474 # Library versioning type.
35475 version_type=$version_type
35477 # Shared library runtime path variable.
35478 runpath_var=$runpath_var
35480 # Shared library path variable.
35481 shlibpath_var=$shlibpath_var
35483 # Is shlibpath searched before the hard-coded library search path?
35484 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35486 # Format of library name prefix.
35487 libname_spec=$lt_libname_spec
35489 # List of archive names. First name is the real one, the rest are links.
35490 # The last name is the one that the linker finds with -lNAME
35491 library_names_spec=$lt_library_names_spec
35493 # The coded name of the library, if different from the real name.
35494 soname_spec=$lt_soname_spec
35496 # Command to use after installation of a shared archive.
35497 postinstall_cmds=$lt_postinstall_cmds
35499 # Command to use after uninstallation of a shared archive.
35500 postuninstall_cmds=$lt_postuninstall_cmds
35502 # Commands used to finish a libtool library installation in a directory.
35503 finish_cmds=$lt_finish_cmds
35505 # As "finish_cmds", except a single script fragment to be evaled but
35506 # not shown.
35507 finish_eval=$lt_finish_eval
35509 # Whether we should hardcode library paths into libraries.
35510 hardcode_into_libs=$hardcode_into_libs
35512 # Compile-time system search path for libraries.
35513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35515 # Run-time system search path for libraries.
35516 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35518 # Whether dlopen is supported.
35519 dlopen_support=$enable_dlopen
35521 # Whether dlopen of programs is supported.
35522 dlopen_self=$enable_dlopen_self
35524 # Whether dlopen of statically linked programs is supported.
35525 dlopen_self_static=$enable_dlopen_self_static
35527 # Commands to strip libraries.
35528 old_striplib=$lt_old_striplib
35529 striplib=$lt_striplib
35532 # The linker used to build libraries.
35533 LD=$lt_LD
35535 # Commands used to build an old-style archive.
35536 old_archive_cmds=$lt_old_archive_cmds
35538 # A language specific compiler.
35539 CC=$lt_compiler
35541 # Is the compiler the GNU compiler?
35542 with_gcc=$GCC
35544 # Compiler flag to turn off builtin functions.
35545 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35547 # How to pass a linker flag through the compiler.
35548 wl=$lt_lt_prog_compiler_wl
35550 # Additional compiler flags for building library objects.
35551 pic_flag=$lt_lt_prog_compiler_pic
35553 # Compiler flag to prevent dynamic linking.
35554 link_static_flag=$lt_lt_prog_compiler_static
35556 # Does compiler simultaneously support -c and -o options?
35557 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35559 # Whether or not to add -lc for building shared libraries.
35560 build_libtool_need_lc=$archive_cmds_need_lc
35562 # Whether or not to disallow shared libs when runtime libs are static.
35563 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35565 # Compiler flag to allow reflexive dlopens.
35566 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35568 # Compiler flag to generate shared objects directly from archives.
35569 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35571 # Whether the compiler copes with passing no objects directly.
35572 compiler_needs_object=$lt_compiler_needs_object
35574 # Create an old-style archive from a shared archive.
35575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35577 # Create a temporary old-style archive to link instead of a shared archive.
35578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35580 # Commands used to build a shared archive.
35581 archive_cmds=$lt_archive_cmds
35582 archive_expsym_cmds=$lt_archive_expsym_cmds
35584 # Commands used to build a loadable module if different from building
35585 # a shared archive.
35586 module_cmds=$lt_module_cmds
35587 module_expsym_cmds=$lt_module_expsym_cmds
35589 # Whether we are building with GNU ld or not.
35590 with_gnu_ld=$lt_with_gnu_ld
35592 # Flag that allows shared libraries with undefined symbols to be built.
35593 allow_undefined_flag=$lt_allow_undefined_flag
35595 # Flag that enforces no undefined symbols.
35596 no_undefined_flag=$lt_no_undefined_flag
35598 # Flag to hardcode \$libdir into a binary during linking.
35599 # This must work even if \$libdir does not exist
35600 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35602 # If ld is used when linking, flag to hardcode \$libdir into a binary
35603 # during linking. This must work even if \$libdir does not exist.
35604 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35606 # Whether we need a single "-rpath" flag with a separated argument.
35607 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35609 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35610 # DIR into the resulting binary.
35611 hardcode_direct=$hardcode_direct
35613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35614 # DIR into the resulting binary and the resulting library dependency is
35615 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35616 # library is relocated.
35617 hardcode_direct_absolute=$hardcode_direct_absolute
35619 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35620 # into the resulting binary.
35621 hardcode_minus_L=$hardcode_minus_L
35623 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35624 # into the resulting binary.
35625 hardcode_shlibpath_var=$hardcode_shlibpath_var
35627 # Set to "yes" if building a shared library automatically hardcodes DIR
35628 # into the library and all subsequent libraries and executables linked
35629 # against it.
35630 hardcode_automatic=$hardcode_automatic
35632 # Set to yes if linker adds runtime paths of dependent libraries
35633 # to runtime path list.
35634 inherit_rpath=$inherit_rpath
35636 # Whether libtool must link a program against all its dependency libraries.
35637 link_all_deplibs=$link_all_deplibs
35639 # Fix the shell variable \$srcfile for the compiler.
35640 fix_srcfile_path=$lt_fix_srcfile_path
35642 # Set to "yes" if exported symbols are required.
35643 always_export_symbols=$always_export_symbols
35645 # The commands to list exported symbols.
35646 export_symbols_cmds=$lt_export_symbols_cmds
35648 # Symbols that should not be listed in the preloaded symbols.
35649 exclude_expsyms=$lt_exclude_expsyms
35651 # Symbols that must always be exported.
35652 include_expsyms=$lt_include_expsyms
35654 # Commands necessary for linking programs (against libraries) with templates.
35655 prelink_cmds=$lt_prelink_cmds
35657 # Specify filename containing input files.
35658 file_list_spec=$lt_file_list_spec
35660 # How to hardcode a shared library path into an executable.
35661 hardcode_action=$hardcode_action
35663 # Dependencies to place before and after the objects being linked to
35664 # create a shared library.
35665 predep_objects=$lt_predep_objects
35666 postdep_objects=$lt_postdep_objects
35667 predeps=$lt_predeps
35668 postdeps=$lt_postdeps
35670 # The library search path used internally by the compiler when linking
35671 # a shared library.
35672 compiler_lib_search_path=$lt_compiler_lib_search_path
35674 # ### END LIBTOOL CONFIG
35676 _LT_EOF
35678 case $host_os in
35679 aix3*)
35680 cat <<\_LT_EOF >> "$cfgfile"
35681 # AIX sometimes has problems with the GCC collect2 program. For some
35682 # reason, if we set the COLLECT_NAMES environment variable, the problems
35683 # vanish in a puff of smoke.
35684 if test "X${COLLECT_NAMES+set}" != Xset; then
35685 COLLECT_NAMES=
35686 export COLLECT_NAMES
35688 _LT_EOF
35690 esac
35693 ltmain="$ac_aux_dir/ltmain.sh"
35696 # We use sed instead of cat because bash on DJGPP gets confused if
35697 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35698 # text mode, it properly converts lines to CR/LF. This bash problem
35699 # is reportedly fixed, but why not run on old versions too?
35700 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35701 || (rm -f "$cfgfile"; exit 1)
35703 case $xsi_shell in
35704 yes)
35705 cat << \_LT_EOF >> "$cfgfile"
35706 # func_dirname file append nondir_replacement
35707 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35708 # otherwise set result to NONDIR_REPLACEMENT.
35709 func_dirname ()
35711 case ${1} in
35712 */*) func_dirname_result="${1%/*}${2}" ;;
35713 * ) func_dirname_result="${3}" ;;
35714 esac
35717 # func_basename file
35718 func_basename ()
35720 func_basename_result="${1##*/}"
35723 # func_stripname prefix suffix name
35724 # strip PREFIX and SUFFIX off of NAME.
35725 # PREFIX and SUFFIX must not contain globbing or regex special
35726 # characters, hashes, percent signs, but SUFFIX may contain a leading
35727 # dot (in which case that matches only a dot).
35728 func_stripname ()
35730 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35731 # positional parameters, so assign one to ordinary parameter first.
35732 func_stripname_result=${3}
35733 func_stripname_result=${func_stripname_result#"${1}"}
35734 func_stripname_result=${func_stripname_result%"${2}"}
35737 # func_opt_split
35738 func_opt_split ()
35740 func_opt_split_opt=${1%%=*}
35741 func_opt_split_arg=${1#*=}
35744 # func_lo2o object
35745 func_lo2o ()
35747 case ${1} in
35748 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35749 *) func_lo2o_result=${1} ;;
35750 esac
35752 _LT_EOF
35754 *) # Bourne compatible functions.
35755 cat << \_LT_EOF >> "$cfgfile"
35756 # func_dirname file append nondir_replacement
35757 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35758 # otherwise set result to NONDIR_REPLACEMENT.
35759 func_dirname ()
35761 # Extract subdirectory from the argument.
35762 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35763 if test "X$func_dirname_result" = "X${1}"; then
35764 func_dirname_result="${3}"
35765 else
35766 func_dirname_result="$func_dirname_result${2}"
35770 # func_basename file
35771 func_basename ()
35773 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35776 # func_stripname prefix suffix name
35777 # strip PREFIX and SUFFIX off of NAME.
35778 # PREFIX and SUFFIX must not contain globbing or regex special
35779 # characters, hashes, percent signs, but SUFFIX may contain a leading
35780 # dot (in which case that matches only a dot).
35781 # func_strip_suffix prefix name
35782 func_stripname ()
35784 case ${2} in
35785 .*) func_stripname_result=`$ECHO "X${3}" \
35786 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35787 *) func_stripname_result=`$ECHO "X${3}" \
35788 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35789 esac
35792 # sed scripts:
35793 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35794 my_sed_long_arg='1s/^-[^=]*=//'
35796 # func_opt_split
35797 func_opt_split ()
35799 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35800 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35803 # func_lo2o object
35804 func_lo2o ()
35806 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35808 _LT_EOF
35809 esac
35811 case $lt_shell_append in
35812 yes)
35813 cat << \_LT_EOF >> "$cfgfile"
35815 # func_append var value
35816 # Append VALUE to the end of shell variable VAR.
35817 func_append ()
35819 eval "$1+=\$2"
35821 _LT_EOF
35824 cat << \_LT_EOF >> "$cfgfile"
35826 # func_append var value
35827 # Append VALUE to the end of shell variable VAR.
35828 func_append ()
35830 eval "$1=\$$1\$2"
35832 _LT_EOF
35834 esac
35837 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35838 || (rm -f "$cfgfile"; exit 1)
35840 mv -f "$cfgfile" "$ofile" ||
35841 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35842 chmod +x "$ofile"
35845 cat <<_LT_EOF >> "$ofile"
35847 # ### BEGIN LIBTOOL TAG CONFIG: FC
35849 # The linker used to build libraries.
35850 LD=$lt_LD_FC
35852 # Commands used to build an old-style archive.
35853 old_archive_cmds=$lt_old_archive_cmds_FC
35855 # A language specific compiler.
35856 CC=$lt_compiler_FC
35858 # Is the compiler the GNU compiler?
35859 with_gcc=$GCC_FC
35861 # Compiler flag to turn off builtin functions.
35862 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35864 # How to pass a linker flag through the compiler.
35865 wl=$lt_lt_prog_compiler_wl_FC
35867 # Additional compiler flags for building library objects.
35868 pic_flag=$lt_lt_prog_compiler_pic_FC
35870 # Compiler flag to prevent dynamic linking.
35871 link_static_flag=$lt_lt_prog_compiler_static_FC
35873 # Does compiler simultaneously support -c and -o options?
35874 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35876 # Whether or not to add -lc for building shared libraries.
35877 build_libtool_need_lc=$archive_cmds_need_lc_FC
35879 # Whether or not to disallow shared libs when runtime libs are static.
35880 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35882 # Compiler flag to allow reflexive dlopens.
35883 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35885 # Compiler flag to generate shared objects directly from archives.
35886 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35888 # Whether the compiler copes with passing no objects directly.
35889 compiler_needs_object=$lt_compiler_needs_object_FC
35891 # Create an old-style archive from a shared archive.
35892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35894 # Create a temporary old-style archive to link instead of a shared archive.
35895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35897 # Commands used to build a shared archive.
35898 archive_cmds=$lt_archive_cmds_FC
35899 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35901 # Commands used to build a loadable module if different from building
35902 # a shared archive.
35903 module_cmds=$lt_module_cmds_FC
35904 module_expsym_cmds=$lt_module_expsym_cmds_FC
35906 # Whether we are building with GNU ld or not.
35907 with_gnu_ld=$lt_with_gnu_ld_FC
35909 # Flag that allows shared libraries with undefined symbols to be built.
35910 allow_undefined_flag=$lt_allow_undefined_flag_FC
35912 # Flag that enforces no undefined symbols.
35913 no_undefined_flag=$lt_no_undefined_flag_FC
35915 # Flag to hardcode \$libdir into a binary during linking.
35916 # This must work even if \$libdir does not exist
35917 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35919 # If ld is used when linking, flag to hardcode \$libdir into a binary
35920 # during linking. This must work even if \$libdir does not exist.
35921 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35923 # Whether we need a single "-rpath" flag with a separated argument.
35924 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35926 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35927 # DIR into the resulting binary.
35928 hardcode_direct=$hardcode_direct_FC
35930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35931 # DIR into the resulting binary and the resulting library dependency is
35932 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35933 # library is relocated.
35934 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35936 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35937 # into the resulting binary.
35938 hardcode_minus_L=$hardcode_minus_L_FC
35940 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35941 # into the resulting binary.
35942 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35944 # Set to "yes" if building a shared library automatically hardcodes DIR
35945 # into the library and all subsequent libraries and executables linked
35946 # against it.
35947 hardcode_automatic=$hardcode_automatic_FC
35949 # Set to yes if linker adds runtime paths of dependent libraries
35950 # to runtime path list.
35951 inherit_rpath=$inherit_rpath_FC
35953 # Whether libtool must link a program against all its dependency libraries.
35954 link_all_deplibs=$link_all_deplibs_FC
35956 # Fix the shell variable \$srcfile for the compiler.
35957 fix_srcfile_path=$lt_fix_srcfile_path_FC
35959 # Set to "yes" if exported symbols are required.
35960 always_export_symbols=$always_export_symbols_FC
35962 # The commands to list exported symbols.
35963 export_symbols_cmds=$lt_export_symbols_cmds_FC
35965 # Symbols that should not be listed in the preloaded symbols.
35966 exclude_expsyms=$lt_exclude_expsyms_FC
35968 # Symbols that must always be exported.
35969 include_expsyms=$lt_include_expsyms_FC
35971 # Commands necessary for linking programs (against libraries) with templates.
35972 prelink_cmds=$lt_prelink_cmds_FC
35974 # Specify filename containing input files.
35975 file_list_spec=$lt_file_list_spec_FC
35977 # How to hardcode a shared library path into an executable.
35978 hardcode_action=$hardcode_action_FC
35980 # Dependencies to place before and after the objects being linked to
35981 # create a shared library.
35982 predep_objects=$lt_predep_objects_FC
35983 postdep_objects=$lt_postdep_objects_FC
35984 predeps=$lt_predeps_FC
35985 postdeps=$lt_postdeps_FC
35987 # The library search path used internally by the compiler when linking
35988 # a shared library.
35989 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35991 # ### END LIBTOOL TAG CONFIG: FC
35992 _LT_EOF
35995 "gstdint.h":C)
35996 if test "$GCC" = yes; then
35997 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35998 else
35999 echo "/* generated for $CC */" > tmp-stdint.h
36002 sed 's/^ *//' >> tmp-stdint.h <<EOF
36004 #ifndef GCC_GENERATED_STDINT_H
36005 #define GCC_GENERATED_STDINT_H 1
36007 #include <sys/types.h>
36010 if test "$acx_cv_header_stdint" != stdint.h; then
36011 echo "#include <stddef.h>" >> tmp-stdint.h
36013 if test "$acx_cv_header_stdint" != stddef.h; then
36014 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36017 sed 's/^ *//' >> tmp-stdint.h <<EOF
36018 /* glibc uses these symbols as guards to prevent redefinitions. */
36019 #ifdef __int8_t_defined
36020 #define _INT8_T
36021 #define _INT16_T
36022 #define _INT32_T
36023 #endif
36024 #ifdef __uint32_t_defined
36025 #define _UINT32_T
36026 #endif
36030 # ----------------- done header, emit basic int types -------------
36031 if test "$acx_cv_header_stdint" = stddef.h; then
36032 sed 's/^ *//' >> tmp-stdint.h <<EOF
36034 #ifndef _UINT8_T
36035 #define _UINT8_T
36036 #ifndef __uint8_t_defined
36037 #define __uint8_t_defined
36038 typedef unsigned $acx_cv_type_int8_t uint8_t;
36039 #endif
36040 #endif
36042 #ifndef _UINT16_T
36043 #define _UINT16_T
36044 #ifndef __uint16_t_defined
36045 #define __uint16_t_defined
36046 typedef unsigned $acx_cv_type_int16_t uint16_t;
36047 #endif
36048 #endif
36050 #ifndef _UINT32_T
36051 #define _UINT32_T
36052 #ifndef __uint32_t_defined
36053 #define __uint32_t_defined
36054 typedef unsigned $acx_cv_type_int32_t uint32_t;
36055 #endif
36056 #endif
36058 #ifndef _INT8_T
36059 #define _INT8_T
36060 #ifndef __int8_t_defined
36061 #define __int8_t_defined
36062 typedef $acx_cv_type_int8_t int8_t;
36063 #endif
36064 #endif
36066 #ifndef _INT16_T
36067 #define _INT16_T
36068 #ifndef __int16_t_defined
36069 #define __int16_t_defined
36070 typedef $acx_cv_type_int16_t int16_t;
36071 #endif
36072 #endif
36074 #ifndef _INT32_T
36075 #define _INT32_T
36076 #ifndef __int32_t_defined
36077 #define __int32_t_defined
36078 typedef $acx_cv_type_int32_t int32_t;
36079 #endif
36080 #endif
36082 elif test "$ac_cv_type_u_int32_t" = yes; then
36083 sed 's/^ *//' >> tmp-stdint.h <<EOF
36085 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36086 #ifndef _INT8_T
36087 #define _INT8_T
36088 #endif
36089 #ifndef _INT16_T
36090 #define _INT16_T
36091 #endif
36092 #ifndef _INT32_T
36093 #define _INT32_T
36094 #endif
36096 #ifndef _UINT8_T
36097 #define _UINT8_T
36098 #ifndef __uint8_t_defined
36099 #define __uint8_t_defined
36100 typedef u_int8_t uint8_t;
36101 #endif
36102 #endif
36104 #ifndef _UINT16_T
36105 #define _UINT16_T
36106 #ifndef __uint16_t_defined
36107 #define __uint16_t_defined
36108 typedef u_int16_t uint16_t;
36109 #endif
36110 #endif
36112 #ifndef _UINT32_T
36113 #define _UINT32_T
36114 #ifndef __uint32_t_defined
36115 #define __uint32_t_defined
36116 typedef u_int32_t uint32_t;
36117 #endif
36118 #endif
36120 else
36121 sed 's/^ *//' >> tmp-stdint.h <<EOF
36123 /* Some systems have guard macros to prevent redefinitions, define them. */
36124 #ifndef _INT8_T
36125 #define _INT8_T
36126 #endif
36127 #ifndef _INT16_T
36128 #define _INT16_T
36129 #endif
36130 #ifndef _INT32_T
36131 #define _INT32_T
36132 #endif
36133 #ifndef _UINT8_T
36134 #define _UINT8_T
36135 #endif
36136 #ifndef _UINT16_T
36137 #define _UINT16_T
36138 #endif
36139 #ifndef _UINT32_T
36140 #define _UINT32_T
36141 #endif
36145 # ------------- done basic int types, emit int64_t types ------------
36146 if test "$ac_cv_type_uint64_t" = yes; then
36147 sed 's/^ *//' >> tmp-stdint.h <<EOF
36149 /* system headers have good uint64_t and int64_t */
36150 #ifndef _INT64_T
36151 #define _INT64_T
36152 #endif
36153 #ifndef _UINT64_T
36154 #define _UINT64_T
36155 #endif
36157 elif test "$ac_cv_type_u_int64_t" = yes; then
36158 sed 's/^ *//' >> tmp-stdint.h <<EOF
36160 /* system headers have an u_int64_t (and int64_t) */
36161 #ifndef _INT64_T
36162 #define _INT64_T
36163 #endif
36164 #ifndef _UINT64_T
36165 #define _UINT64_T
36166 #ifndef __uint64_t_defined
36167 #define __uint64_t_defined
36168 typedef u_int64_t uint64_t;
36169 #endif
36170 #endif
36172 elif test -n "$acx_cv_type_int64_t"; then
36173 sed 's/^ *//' >> tmp-stdint.h <<EOF
36175 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36176 #ifndef _INT64_T
36177 #define _INT64_T
36178 typedef $acx_cv_type_int64_t int64_t;
36179 #endif
36180 #ifndef _UINT64_T
36181 #define _UINT64_T
36182 #ifndef __uint64_t_defined
36183 #define __uint64_t_defined
36184 typedef unsigned $acx_cv_type_int64_t uint64_t;
36185 #endif
36186 #endif
36188 else
36189 sed 's/^ *//' >> tmp-stdint.h <<EOF
36191 /* some common heuristics for int64_t, using compiler-specific tests */
36192 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36193 #ifndef _INT64_T
36194 #define _INT64_T
36195 #ifndef __int64_t_defined
36196 typedef long long int64_t;
36197 #endif
36198 #endif
36199 #ifndef _UINT64_T
36200 #define _UINT64_T
36201 typedef unsigned long long uint64_t;
36202 #endif
36204 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36205 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36206 does not implement __extension__. But that compiler doesn't define
36207 __GNUC_MINOR__. */
36208 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36209 # define __extension__
36210 # endif
36212 # ifndef _INT64_T
36213 # define _INT64_T
36214 __extension__ typedef long long int64_t;
36215 # endif
36216 # ifndef _UINT64_T
36217 # define _UINT64_T
36218 __extension__ typedef unsigned long long uint64_t;
36219 # endif
36221 #elif !defined __STRICT_ANSI__
36222 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36224 # ifndef _INT64_T
36225 # define _INT64_T
36226 typedef __int64 int64_t;
36227 # endif
36228 # ifndef _UINT64_T
36229 # define _UINT64_T
36230 typedef unsigned __int64 uint64_t;
36231 # endif
36232 # endif /* compiler */
36234 #endif /* ANSI version */
36238 # ------------- done int64_t types, emit intptr types ------------
36239 if test "$ac_cv_type_uintptr_t" != yes; then
36240 sed 's/^ *//' >> tmp-stdint.h <<EOF
36242 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36243 #ifndef __uintptr_t_defined
36244 typedef u$acx_cv_type_intptr_t uintptr_t;
36245 #endif
36246 #ifndef __intptr_t_defined
36247 typedef $acx_cv_type_intptr_t intptr_t;
36248 #endif
36252 # ------------- done intptr types, emit int_least types ------------
36253 if test "$ac_cv_type_int_least32_t" != yes; then
36254 sed 's/^ *//' >> tmp-stdint.h <<EOF
36256 /* Define int_least types */
36257 typedef int8_t int_least8_t;
36258 typedef int16_t int_least16_t;
36259 typedef int32_t int_least32_t;
36260 #ifdef _INT64_T
36261 typedef int64_t int_least64_t;
36262 #endif
36264 typedef uint8_t uint_least8_t;
36265 typedef uint16_t uint_least16_t;
36266 typedef uint32_t uint_least32_t;
36267 #ifdef _UINT64_T
36268 typedef uint64_t uint_least64_t;
36269 #endif
36273 # ------------- done intptr types, emit int_fast types ------------
36274 if test "$ac_cv_type_int_fast32_t" != yes; then
36275 sed 's/^ *//' >> tmp-stdint.h <<EOF
36277 /* Define int_fast types. short is often slow */
36278 typedef int8_t int_fast8_t;
36279 typedef int int_fast16_t;
36280 typedef int32_t int_fast32_t;
36281 #ifdef _INT64_T
36282 typedef int64_t int_fast64_t;
36283 #endif
36285 typedef uint8_t uint_fast8_t;
36286 typedef unsigned int uint_fast16_t;
36287 typedef uint32_t uint_fast32_t;
36288 #ifdef _UINT64_T
36289 typedef uint64_t uint_fast64_t;
36290 #endif
36294 if test "$ac_cv_type_uintmax_t" != yes; then
36295 sed 's/^ *//' >> tmp-stdint.h <<EOF
36297 /* Define intmax based on what we found */
36298 #ifdef _INT64_T
36299 typedef int64_t intmax_t;
36300 #else
36301 typedef long intmax_t;
36302 #endif
36303 #ifdef _UINT64_T
36304 typedef uint64_t uintmax_t;
36305 #else
36306 typedef unsigned long uintmax_t;
36307 #endif
36311 sed 's/^ *//' >> tmp-stdint.h <<EOF
36313 #endif /* GCC_GENERATED_STDINT_H */
36316 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36317 rm -f tmp-stdint.h
36318 else
36319 mv -f tmp-stdint.h gstdint.h
36324 esac
36325 done # for ac_tag
36328 { (exit 0); exit 0; }
36329 _ACEOF
36330 chmod +x $CONFIG_STATUS
36331 ac_clean_files=$ac_clean_files_save
36334 # configure is writing to config.log, and then calls config.status.
36335 # config.status does its own redirection, appending to config.log.
36336 # Unfortunately, on DOS this fails, as config.log is still kept open
36337 # by configure, so config.status won't be able to write to it; its
36338 # output is simply discarded. So we exec the FD to /dev/null,
36339 # effectively closing config.log, so it can be properly (re)opened and
36340 # appended to by config.status. When coming back to configure, we
36341 # need to make the FD available again.
36342 if test "$no_create" != yes; then
36343 ac_cs_success=:
36344 ac_config_status_args=
36345 test "$silent" = yes &&
36346 ac_config_status_args="$ac_config_status_args --quiet"
36347 exec 5>/dev/null
36348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36349 exec 5>>config.log
36350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36351 # would make configure fail if this is the last instruction.
36352 $ac_cs_success || { (exit 1); exit 1; }