2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libdecnumber .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: gcc-bugs@gcc.gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev
/null
6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='libdecnumber'
551 PACKAGE_TARNAME
='libdecnumber'
553 PACKAGE_STRING
='libdecnumber '
554 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
557 ac_unique_file
="decNumber.h"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars
='LTLIBOBJS
656 program_transform_name
669 enable_option_checking
671 enable_maintainer_mode
674 ac_precious_vars
='build_alias
685 # Initialize some variables set by options.
687 ac_init_version
=false
688 ac_unrecognized_opts
=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
699 program_transform_name
=s
,x
,x
,
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir
='${exec_prefix}/bin'
714 sbindir
='${exec_prefix}/sbin'
715 libexecdir
='${exec_prefix}/libexec'
716 datarootdir
='${prefix}/share'
717 datadir
='${datarootdir}'
718 sysconfdir
='${prefix}/etc'
719 sharedstatedir
='${prefix}/com'
720 localstatedir
='${prefix}/var'
721 includedir
='${prefix}/include'
722 oldincludedir
='/usr/include'
723 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
724 infodir
='${datarootdir}/info'
729 libdir
='${exec_prefix}/lib'
730 localedir
='${datarootdir}/locale'
731 mandir
='${datarootdir}/man'
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\
$ac_option
745 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749 # Accept the important Cygnus configure options, so we can diagnose typos.
751 case $ac_dashdash$ac_option in
755 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
757 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
760 -build |
--build |
--buil |
--bui |
--bu)
761 ac_prev
=build_alias
;;
762 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
763 build_alias
=$ac_optarg ;;
765 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
766 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
767 ac_prev
=cache_file
;;
768 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
769 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
770 cache_file
=$ac_optarg ;;
773 cache_file
=config.cache
;;
775 -datadir |
--datadir |
--datadi |
--datad)
777 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
778 datadir
=$ac_optarg ;;
780 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
781 |
--dataroo |
--dataro |
--datar)
782 ac_prev
=datarootdir
;;
783 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
784 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
785 datarootdir
=$ac_optarg ;;
787 -disable-* |
--disable-*)
788 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
791 as_fn_error
"invalid feature name: $ac_useropt"
792 ac_useropt_orig
=$ac_useropt
793 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794 case $ac_user_opts in
798 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799 ac_unrecognized_sep
=', ';;
801 eval enable_
$ac_useropt=no
;;
803 -docdir |
--docdir |
--docdi |
--doc |
--do)
805 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
808 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
810 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
813 -enable-* |
--enable-*)
814 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
817 as_fn_error
"invalid feature name: $ac_useropt"
818 ac_useropt_orig
=$ac_useropt
819 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
824 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
825 ac_unrecognized_sep
=', ';;
827 eval enable_
$ac_useropt=\
$ac_optarg ;;
829 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
830 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
831 |
--exec |
--exe |
--ex)
832 ac_prev
=exec_prefix
;;
833 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
834 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
835 |
--exec=* |
--exe=* |
--ex=*)
836 exec_prefix
=$ac_optarg ;;
838 -gas |
--gas |
--ga |
--g)
839 # Obsolete; use --with-gas.
842 -help |
--help |
--hel |
--he |
-h)
844 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
845 ac_init_help
=recursive
;;
846 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
847 ac_init_help
=short
;;
849 -host |
--host |
--hos |
--ho)
850 ac_prev
=host_alias
;;
851 -host=* |
--host=* |
--hos=* |
--ho=*)
852 host_alias
=$ac_optarg ;;
854 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
856 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
858 htmldir
=$ac_optarg ;;
860 -includedir |
--includedir |
--includedi |
--included |
--include \
861 |
--includ |
--inclu |
--incl |
--inc)
862 ac_prev
=includedir
;;
863 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
864 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
865 includedir
=$ac_optarg ;;
867 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
869 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
870 infodir
=$ac_optarg ;;
872 -libdir |
--libdir |
--libdi |
--libd)
874 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
877 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
878 |
--libexe |
--libex |
--libe)
879 ac_prev
=libexecdir
;;
880 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
881 |
--libexe=* |
--libex=* |
--libe=*)
882 libexecdir
=$ac_optarg ;;
884 -localedir |
--localedir |
--localedi |
--localed |
--locale)
886 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
887 localedir
=$ac_optarg ;;
889 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
890 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
891 ac_prev
=localstatedir
;;
892 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
893 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
894 localstatedir
=$ac_optarg ;;
896 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
898 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
902 # Obsolete; use --without-fp.
905 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
906 |
--no-cr |
--no-c |
-n)
909 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
910 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
913 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
914 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
915 |
--oldin |
--oldi |
--old |
--ol |
--o)
916 ac_prev
=oldincludedir
;;
917 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
918 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
919 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
920 oldincludedir
=$ac_optarg ;;
922 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
924 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
927 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
928 |
--program-pre |
--program-pr |
--program-p)
929 ac_prev
=program_prefix
;;
930 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
931 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
932 program_prefix
=$ac_optarg ;;
934 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
935 |
--program-suf |
--program-su |
--program-s)
936 ac_prev
=program_suffix
;;
937 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
938 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
939 program_suffix
=$ac_optarg ;;
941 -program-transform-name |
--program-transform-name \
942 |
--program-transform-nam |
--program-transform-na \
943 |
--program-transform-n |
--program-transform- \
944 |
--program-transform |
--program-transfor \
945 |
--program-transfo |
--program-transf \
946 |
--program-trans |
--program-tran \
947 |
--progr-tra |
--program-tr |
--program-t)
948 ac_prev
=program_transform_name
;;
949 -program-transform-name=* |
--program-transform-name=* \
950 |
--program-transform-nam=* |
--program-transform-na=* \
951 |
--program-transform-n=* |
--program-transform-=* \
952 |
--program-transform=* |
--program-transfor=* \
953 |
--program-transfo=* |
--program-transf=* \
954 |
--program-trans=* |
--program-tran=* \
955 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
956 program_transform_name
=$ac_optarg ;;
958 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
960 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
963 -psdir |
--psdir |
--psdi |
--psd |
--ps)
965 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
968 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
969 |
-silent |
--silent |
--silen |
--sile |
--sil)
972 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
974 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
976 sbindir
=$ac_optarg ;;
978 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
979 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
980 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
982 ac_prev
=sharedstatedir
;;
983 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
984 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
985 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
987 sharedstatedir
=$ac_optarg ;;
989 -site |
--site |
--sit)
991 -site=* |
--site=* |
--sit=*)
994 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
996 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
999 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1000 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1001 ac_prev
=sysconfdir
;;
1002 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1003 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1004 sysconfdir
=$ac_optarg ;;
1006 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1007 ac_prev
=target_alias
;;
1008 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1009 target_alias
=$ac_optarg ;;
1011 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1014 -version |
--version |
--versio |
--versi |
--vers |
-V)
1015 ac_init_version
=: ;;
1018 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1021 as_fn_error
"invalid package name: $ac_useropt"
1022 ac_useropt_orig
=$ac_useropt
1023 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1028 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029 ac_unrecognized_sep
=', ';;
1031 eval with_
$ac_useropt=\
$ac_optarg ;;
1033 -without-* |
--without-*)
1034 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1037 as_fn_error
"invalid package name: $ac_useropt"
1038 ac_useropt_orig
=$ac_useropt
1039 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1044 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045 ac_unrecognized_sep
=', ';;
1047 eval with_
$ac_useropt=no
;;
1050 # Obsolete; use --with-x.
1053 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1054 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1055 ac_prev
=x_includes
;;
1056 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1057 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1058 x_includes
=$ac_optarg ;;
1060 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1061 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1062 ac_prev
=x_libraries
;;
1063 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1064 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1065 x_libraries
=$ac_optarg ;;
1067 -*) as_fn_error
"unrecognized option: \`$ac_option'
1068 Try \`$0 --help' for more information."
1072 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 case $ac_envvar in #(
1075 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1076 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1078 eval $ac_envvar=\
$ac_optarg
1079 export $ac_envvar ;;
1082 # FIXME: should be removed in autoconf 3.0.
1083 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1085 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092 if test -n "$ac_prev"; then
1093 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1094 as_fn_error
"missing argument to $ac_option"
1097 if test -n "$ac_unrecognized_opts"; then
1098 case $enable_option_checking in
1100 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1101 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1105 # Check all directory arguments for consistency.
1106 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107 datadir sysconfdir sharedstatedir localstatedir includedir \
1108 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109 libdir localedir mandir
1111 eval ac_val
=\$
$ac_var
1112 # Remove trailing slashes.
1115 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116 eval $ac_var=\
$ac_val;;
1118 # Be sure to have absolute directory names.
1120 [\\/$
]* | ?
:[\\/]* ) continue;;
1121 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1123 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1126 # There might be people who depend on the old broken behavior: `$host'
1127 # used to hold the argument of --host etc.
1128 # FIXME: To remove some day.
1131 target
=$target_alias
1133 # FIXME: To remove some day.
1134 if test "x$host_alias" != x
; then
1135 if test "x$build_alias" = x
; then
1136 cross_compiling
=maybe
1137 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1138 If a cross compiler is detected then cross compile mode will be used." >&2
1139 elif test "x$build_alias" != "x$host_alias"; then
1145 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1147 test "$silent" = yes && exec 6>/dev
/null
1150 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1151 ac_ls_di
=`ls -di .` &&
1152 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1153 as_fn_error
"working directory cannot be determined"
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 as_fn_error
"pwd does not report name of working directory"
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted
=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir
=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 $as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted
=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1194 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1196 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1208 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 for ac_var
in $ac_precious_vars; do
1211 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1213 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1224 \`configure' configures libdecnumber to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1282 --build=BUILD configure
for building on BUILD
[guessed
]
1283 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1284 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive
) echo "Configuration of libdecnumber :";;
1295 --disable-option-checking ignore unrecognized
--enable/--with options
1296 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1297 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1298 --enable-werror-always enable -Werror despite compiler version
1299 --enable-maintainer-mode enable rules only needed by maintainers
1300 --enable-decimal-float={no
,yes,bid
,dpd
}
1301 enable decimal float extension to C. Selecting
'bid'
1302 or
'dpd' choses
which decimal floating point format
1305 Some influential environment variables
:
1306 CC C compiler
command
1307 CFLAGS C compiler flags
1308 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1309 nonstandard directory
<lib dir
>
1310 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1311 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1312 you have headers
in a nonstandard directory
<include dir
>
1315 Use these variables to override the choices made by
`configure' or to help
1316 it to find libraries and programs with nonstandard names/locations.
1318 Report bugs to <gcc-bugs@gcc.gnu.org>.
1323 if test "$ac_init_help" = "recursive"; then
1324 # If there are subdirs, report their specific --help.
1325 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1326 test -d "$ac_dir" ||
1327 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1335 # A ".." for each directory in $ac_dir_suffix.
1336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1337 case $ac_top_builddir_sub in
1338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1342 ac_abs_top_builddir=$ac_pwd
1343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1344 # for backward compatibility:
1345 ac_top_builddir=$ac_top_build_prefix
1348 .) # We are building in place.
1350 ac_top_srcdir=$ac_top_builddir_sub
1351 ac_abs_top_srcdir=$ac_pwd ;;
1352 [\\/]* | ?:[\\/]* ) # Absolute name.
1353 ac_srcdir=$srcdir$ac_dir_suffix;
1354 ac_top_srcdir=$srcdir
1355 ac_abs_top_srcdir=$srcdir ;;
1357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1358 ac_top_srcdir=$ac_top_build_prefix$srcdir
1359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363 cd "$ac_dir" || { ac_status=$?; continue; }
1364 # Check for guested configure.
1365 if test -f "$ac_srcdir/configure.gnu"; then
1367 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368 elif test -f "$ac_srcdir/configure"; then
1370 $SHELL "$ac_srcdir/configure" --help=recursive
1372 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374 cd "$ac_pwd" || { ac_status=$?; break; }
1378 test -n "$ac_init_help" && exit $ac_status
1379 if $ac_init_version; then
1381 libdecnumber configure
1382 generated by GNU Autoconf 2.64
1384 Copyright (C) 2009 Free Software Foundation, Inc.
1385 This configure script is free software; the Free Software Foundation
1386 gives unlimited permission to copy, distribute and modify it.
1391 ## ------------------------ ##
1392 ## Autoconf initialization. ##
1393 ## ------------------------ ##
1395 # ac_fn_c_try_compile LINENO
1396 # --------------------------
1397 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_c_try_compile ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 rm -f conftest.$ac_objext
1402 if { { ac_try="$ac_compile"
1404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1405 *) ac_try_echo
=$ac_try;;
1407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_compile") 2>conftest.err
1411 if test -s conftest.err
; then
1412 grep -v '^ *+' conftest.err
>conftest.er1
1413 cat conftest.er1
>&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_c_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest.
$ac_objext; then :
1423 $as_echo "$as_me: failed program was:" >&5
1424 sed 's/^/| /' conftest.
$ac_ext >&5
1428 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1431 } # ac_fn_c_try_compile
1433 # ac_fn_c_try_cpp LINENO
1434 # ----------------------
1435 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1438 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1439 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1442 *) ac_try_echo=$ac_try;;
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1448 if test -s conftest.err; then
1449 grep -v '^ *+' conftest.err >conftest.er1
1450 cat conftest.er1 >&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } >/dev/null && {
1455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1456 test ! -s conftest.err
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1465 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1470 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1471 # -------------------------------------------------------
1472 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1473 # the include files in INCLUDES and setting the cache variable VAR
1475 ac_fn_c_check_header_mongrel ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1480 $as_echo_n "checking for $2... " >&6; }
1481 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1482 $as_echo_n "(cached) " >&6
1485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1486 $as_echo "$ac_res" >&6; }
1488 # Is the header compilable?
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1490 $as_echo_n "checking $2 usability... " >&6; }
1491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1492 /* end confdefs.h. */
1496 if ac_fn_c_try_compile "$LINENO"; then :
1497 ac_header_compiler=yes
1499 ac_header_compiler=no
1501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1503 $as_echo "$ac_header_compiler" >&6; }
1505 # Is the header present?
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1507 $as_echo_n "checking $2 presence... " >&6; }
1508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1509 /* end confdefs.h. */
1512 if ac_fn_c_try_cpp "$LINENO"; then :
1513 ac_header_preproc=yes
1515 ac_header_preproc=no
1517 rm -f conftest.err conftest.$ac_ext
1518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1519 $as_echo "$ac_header_preproc" >&6; }
1521 # So? What about this header?
1522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1525 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1527 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1531 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1533 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1535 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1537 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1539 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1541 ## ----------------------------------- ##
1542 ## Report this to gcc-bugs@gcc.gnu.org ##
1543 ## ----------------------------------- ##
1545 ) | sed "s/^/$as_me: WARNING: /" >&2
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1549 $as_echo_n "checking for $2... " >&6; }
1550 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1551 $as_echo_n "(cached) " >&6
1553 eval "$3=\$ac_header_compiler"
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1557 $as_echo "$ac_res" >&6; }
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 } # ac_fn_c_check_header_mongrel
1563 # ac_fn_c_try_run LINENO
1564 # ----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1566 # that executables *can* be run.
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 if { { ac_try="$ac_link"
1572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1573 *) ac_try_echo
=$ac_try;;
1575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>&5
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1581 { { case "(($ac_try" in
1582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_try") 2>&5
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; }; }; then :
1593 $as_echo "$as_me: program exited with status $ac_status" >&5
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1597 ac_retval=$ac_status
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1637 # -------------------------------------------
1638 # Tests whether TYPE exists after having included INCLUDES, setting cache
1639 # variable VAR accordingly.
1640 ac_fn_c_check_type ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646 $as_echo_n "(cached) " >&6
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1661 if ac_fn_c_try_compile "$LINENO"; then :
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1674 if ac_fn_c_try_compile "$LINENO"; then :
1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_type
1690 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1691 # --------------------------------------------
1692 # Tries to find the compile-time value of EXPR in a program that includes
1693 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1695 ac_fn_c_compute_int ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if test "$cross_compiling" = yes; then
1699 # Depending upon the size, compute the lo and hi bounds.
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1706 static int test_array [1 - 2 * !(($2) >= 0)];
1713 if ac_fn_c_try_compile "$LINENO"; then :
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1722 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1729 if ac_fn_c_try_compile "$LINENO"; then :
1730 ac_hi=$ac_mid; break
1732 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1733 if test $ac_lo -le $ac_mid; then
1737 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1748 static int test_array [1 - 2 * !(($2) < 0)];
1755 if ac_fn_c_try_compile "$LINENO"; then :
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1764 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772 ac_lo=$ac_mid; break
1774 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1775 if test $ac_mid -le $ac_hi; then
1779 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 # Binary search between lo and hi bounds.
1790 while test "x$ac_lo" != "x$ac_hi"; do
1791 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1798 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1805 if ac_fn_c_try_compile "$LINENO"; then :
1808 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1820 static long int longval () { return $2; }
1821 static unsigned long int ulongval () { return $2; }
1828 FILE *f = fopen ("conftest.val", "w");
1833 long int i = longval ();
1836 fprintf (f, "%ld", i);
1840 unsigned long int i = ulongval ();
1843 fprintf (f, "%lu", i);
1845 /* Do not output a trailing newline, as this causes \r\n confusion
1846 on some platforms. */
1847 return ferror (f) || fclose (f) != 0;
1853 if ac_fn_c_try_run "$LINENO"; then :
1854 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1859 conftest.$ac_objext conftest.beam conftest.$ac_ext
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 } # ac_fn_c_compute_int
1867 cat >config.log <<_ACEOF
1868 This file contains any messages produced by compilers while
1869 running configure, to aid debugging if configure makes a mistake.
1871 It was created by libdecnumber $as_me , which was
1872 generated by GNU Autoconf 2.64. Invocation command line was
1884 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1885 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1886 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1887 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1888 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1891 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1893 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1895 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1896 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1897 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1898 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1899 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 $as_echo "PATH: $as_dir"
1924 # Keep a trace of the command line.
1925 # Strip out --no-create and --no-recursion so they do not pile up.
1926 # Strip out --silent because we don't want to record it for future runs.
1927 # Also quote any args containing shell meta-characters.
1928 # Make two passes to allow for proper duplicate-argument suppression.
1932 ac_must_keep_next=false
1938 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1939 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1940 | -silent | --silent | --silen | --sile | --sil)
1943 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1946 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1948 as_fn_append ac_configure_args1 " '$ac_arg'"
1949 if test $ac_must_keep_next = true; then
1950 ac_must_keep_next=false # Got value, back to normal.
1953 *=* | --config-cache | -C | -disable-* | --disable-* \
1954 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1955 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1956 | -with-* | --with-* | -without-* | --without-* | --x)
1957 case "$ac_configure_args0 " in
1958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1961 -* ) ac_must_keep_next=true ;;
1964 as_fn_append ac_configure_args " '$ac_arg'"
1969 { ac_configure_args0=; unset ac_configure_args0;}
1970 { ac_configure_args1=; unset ac_configure_args1;}
1972 # When interrupted or exit'd, cleanup temporary files, and complete
1973 # config.log. We remove comments because anyway the quotes in there
1974 # would cause problems or look ugly.
1975 # WARNING: Use '\'' to represent an apostrophe within the trap.
1976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1977 trap 'exit_status=$?
1978 # Save into config.log some information that might help in debugging.
1983 ## ---------------- ##
1984 ## Cache variables. ##
1985 ## ---------------- ##
1988 # The following way of writing the cache mishandles newlines in values,
1990 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1991 eval ac_val=\$$ac_var
1995 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1999 _ | IFS | as_nl) ;; #(
2000 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2001 *) { eval $ac_var=; unset $ac_var;} ;;
2006 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2007 *${as_nl}ac_space=\ *)
2009 "s/'\''/'\''\\\\'\'''\''/g;
2010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021 ## ----------------- ##
2022 ## Output variables. ##
2023 ## ----------------- ##
2026 for ac_var in $ac_subst_vars
2028 eval ac_val=\$$ac_var
2030 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032 $as_echo "$ac_var='\''$ac_val'\''"
2036 if test -n "$ac_subst_files"; then
2038 ## ------------------- ##
2039 ## File substitutions. ##
2040 ## ------------------- ##
2043 for ac_var in $ac_subst_files
2045 eval ac_val=\$$ac_var
2047 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2049 $as_echo "$ac_var='\''$ac_val'\''"
2054 if test -s confdefs.h; then
2064 test "$ac_signal" != 0 &&
2065 $as_echo "$as_me: caught signal $ac_signal"
2066 $as_echo "$as_me: exit $exit_status"
2068 rm -f core *.core core.conftest.* &&
2069 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2072 for ac_signal in 1 2 13 15; do
2073 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2078 rm -f -r conftest* confdefs.h
2080 $as_echo "/* confdefs.h */" > confdefs.h
2082 # Predefined preprocessor variables.
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_NAME "$PACKAGE_NAME"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_STRING "$PACKAGE_STRING"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_URL "$PACKAGE_URL"
2109 # Let the site file select an alternate cache file if it wants to.
2110 # Prefer an explicitly selected file to automatically selected ones.
2113 if test -n "$CONFIG_SITE"; then
2114 ac_site_file1=$CONFIG_SITE
2115 elif test "x$prefix" != xNONE; then
2116 ac_site_file1=$prefix/share/config.site
2117 ac_site_file2=$prefix/etc/config.site
2119 ac_site_file1=$ac_default_prefix/share/config.site
2120 ac_site_file2=$ac_default_prefix/etc/config.site
2122 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2124 test "x$ac_site_file" = xNONE && continue
2125 if test -r "$ac_site_file"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2127 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2128 sed 's/^/| /' "$ac_site_file" >&5
2133 if test -r "$cache_file"; then
2134 # Some versions of bash will fail to source /dev/null (special
2135 # files actually), so we avoid doing that.
2136 if test -f "$cache_file"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2138 $as_echo "$as_me: loading cache $cache_file" >&6;}
2140 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2141 *) . "./$cache_file";;
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2146 $as_echo "$as_me: creating cache $cache_file" >&6;}
2150 # Check that the precious variables saved in the cache have kept the same
2152 ac_cache_corrupted=false
2153 for ac_var in $ac_precious_vars; do
2154 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2155 eval ac_new_set=\$ac_env_${ac_var}_set
2156 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2157 eval ac_new_val=\$ac_env_${ac_var}_value
2158 case $ac_old_set,$ac_new_set in
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2161 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2162 ac_cache_corrupted=: ;;
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2165 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2166 ac_cache_corrupted=: ;;
2169 if test "x$ac_old_val" != "x$ac_new_val"; then
2170 # differences in whitespace do not lead to failure.
2171 ac_old_val_w=`echo x
$ac_old_val`
2172 ac_new_val_w=`echo x
$ac_new_val`
2173 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2175 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2176 ac_cache_corrupted=:
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2179 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2180 eval $ac_var=\$ac_old_val
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2183 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2185 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2188 # Pass precious variables to config.status.
2189 if test "$ac_new_set" = set; then
2191 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2192 *) ac_arg=$ac_var=$ac_new_val ;;
2194 case " $ac_configure_args " in
2195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2196 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2200 if $ac_cache_corrupted; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2204 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2205 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2207 ## -------------------- ##
2208 ## Main body of script. ##
2209 ## -------------------- ##
2212 ac_cpp='$CPP $CPPFLAGS'
2213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224 for ac_dir in .. "$srcdir"/..; do
2225 for ac_t in install-sh install.sh shtool; do
2226 if test -f "$ac_dir/$ac_t"; then
2228 ac_install_sh="$ac_aux_dir/$ac_t -c"
2233 if test -z "$ac_aux_dir"; then
2234 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2237 # These three variables are undocumented and unsupported,
2238 # and are intended to be withdrawn in a future Autoconf release.
2239 # They can cause serious problems if a builder's source tree is in a directory
2240 # whose full name contains unusual characters.
2241 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2242 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2243 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2247 # Checks for programs.
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2249 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2251 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2253 $as_echo_n "(cached) " >&6
2255 cat >conftest.make <<\_ACEOF
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271 $as_echo "yes" >&6; }
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2288 $as_echo_n "checking for $ac_word... " >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then :
2290 $as_echo_n "(cached) " >&6
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test -n "$CC"; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2315 $as_echo "$CC" >&6; }
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318 $as_echo "no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2328 $as_echo_n "checking for $ac_word... " >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2330 $as_echo_n "(cached) " >&6
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC="gcc"
2343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2355 $as_echo "$ac_ct_CC" >&6; }
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2358 $as_echo "no" >&6; }
2361 if test "x$ac_ct_CC" = x; then
2364 case $cross_compiling:$ac_tool_warned in
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2368 ac_tool_warned=yes ;;
2376 if test -z "$CC"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2379 set dummy ${ac_tool_prefix}cc; ac_word=$2
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2381 $as_echo_n "checking for $ac_word... " >&6; }
2382 if test "${ac_cv_prog_CC+set}" = set; then :
2383 $as_echo_n "(cached) " >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_prog_CC="${ac_tool_prefix}cc"
2396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2408 $as_echo "$CC" >&6; }
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2417 if test -z "$CC"; then
2418 # Extract the first word of "cc", so it can be a program name with args.
2419 set dummy cc; ac_word=$2
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if test "${ac_cv_prog_CC+set}" = set; then :
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$CC"; then
2426 ac_cv_prog_CC="$CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2437 ac_prog_rejected=yes
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test $ac_prog_rejected = yes; then
2449 # We found a bogon in the path, so make sure we never use it.
2450 set dummy $ac_cv_prog_CC
2452 if test $# != 0; then
2453 # We chose a different compiler from the bogus one.
2454 # However, it has the same basename, so the bogon will be chosen
2455 # first if we set CC to just the basename; use the full file name.
2457 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2463 if test -n "$CC"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2465 $as_echo "$CC" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2473 if test -z "$CC"; then
2474 if test -n "$ac_tool_prefix"; then
2475 for ac_prog in cl.exe
2477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then :
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC="$CC" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2507 $as_echo "$CC" >&6; }
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510 $as_echo "no" >&6; }
2514 test -n "$CC" && break
2517 if test -z "$CC"; then
2519 for ac_prog in cl.exe
2521 # Extract the first word of "$ac_prog", so it can be a program name with args.
2522 set dummy $ac_prog; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2526 $as_echo_n "(cached) " >&6
2528 if test -n "$ac_ct_CC"; then
2529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_ac_ct_CC="$ac_prog"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2549 if test -n "$ac_ct_CC"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2551 $as_echo "$ac_ct_CC" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2558 test -n "$ac_ct_CC" && break
2561 if test "x$ac_ct_CC" = x; then
2564 case $cross_compiling:$ac_tool_warned in
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2568 ac_tool_warned=yes ;;
2577 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 as_fn_error "no acceptable C compiler found
in \
$PATH
2580 See \
`config.log' for more details." "$LINENO" 5; }
2582 # Provide some information about the compiler.
2583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2586 for ac_option in --version -v -V -qversion; do
2587 { { ac_try="$ac_compiler $ac_option >&5"
2589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2590 *) ac_try_echo
=$ac_try;;
2592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2596 if test -s conftest.err
; then
2598 ... rest of stderr output deleted ...
2599 10q' conftest.err
>conftest.er1
2600 cat conftest.er1
>&5
2601 rm -f conftest.er1 conftest.err
2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2604 test $ac_status = 0; }
2607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2618 ac_clean_files_save
=$ac_clean_files
2619 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2620 # Try to create an executable without -o first, disregard a.out.
2621 # It will help us diagnose broken compilers, and finding out an intuition
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2624 $as_echo_n "checking for C compiler default output file name... " >&6; }
2625 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2627 # The possible output files:
2628 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2631 for ac_file
in $ac_files
2634 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2635 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2640 if { { ac_try
="$ac_link_default"
2642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_link_default") 2>&5
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; }; then :
2651 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2652 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2653 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2654 # so that the user can short-circuit this test for compilers unknown to
2656 for ac_file in $ac_files ''
2658 test -f "$ac_file" || continue
2660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2663 # We found the default executable, but exeext='' is most
2667 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2671 # We set ac_cv_exeext here because the later test for it is not
2672 # safe: cross compilers may not add the suffix if given an `-o'
2673 # argument, so we may need to know it at that point already.
2674 # Even if this section looks crufty: it has the advantage of
2681 test "$ac_cv_exeext" = no && ac_cv_exeext=
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2687 $as_echo "$ac_file" >&6; }
2688 if test -z "$ac_file"; then :
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's
/^
/|
/' conftest.$ac_ext >&5
2692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2693 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2694 { as_fn_set_status 77
2695 as_fn_error "C compiler cannot create executables
2696 See \`config.log
' for more details." "$LINENO" 5; }; }
2698 ac_exeext=$ac_cv_exeext
2700 # Check that the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2703 $as_echo_n "checking whether the C compiler works... " >&6; }
2704 # If not cross compiling, check that we can run a simple program.
2705 if test "$cross_compiling" != yes; then
2706 if { ac_try='.
/$ac_file'
2707 { { case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2712 $as_echo "$ac_try_echo"; } >&5
2713 (eval "$ac_try") 2>&5
2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2716 test $ac_status = 0; }; }; then
2719 if test "$cross_compiling" = maybe; then
2722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2723 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2724 as_fn_error "cannot run C compiled programs.
2725 If you meant to cross compile, use \`--host'.
2726 See \`config.log' for more details.
" "$LINENO" 5; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2731 $as_echo "yes" >&6; }
2733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2734 ac_clean_files=$ac_clean_files_save
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2738 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2740 $as_echo "$cross_compiling" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2743 $as_echo_n "checking
for suffix of executables...
" >&6; }
2744 if { { ac_try="$ac_link"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_link") 2>&5
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2754 test $ac_status = 0; }; then :
2755 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2756 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2757 # work properly (i.e., refer to `conftest.exe'), while it won't with
2759 for ac_file in conftest.exe conftest conftest.*; do
2760 test -f "$ac_file" || continue
2762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2763 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2771 as_fn_error "cannot compute suffix of executables: cannot compile and link
2772 See \`config.log' for more details.
" "$LINENO" 5; }
2774 rm -f conftest$ac_cv_exeext
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2776 $as_echo "$ac_cv_exeext" >&6; }
2778 rm -f conftest.$ac_ext
2779 EXEEXT=$ac_cv_exeext
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2782 $as_echo_n "checking
for suffix of object files...
" >&6; }
2783 if test "${ac_cv_objext+set}" = set; then :
2784 $as_echo_n "(cached
) " >&6
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2797 rm -f conftest.o conftest.obj
2798 if { { ac_try="$ac_compile"
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2803 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_compile") 2>&5
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2808 test $ac_status = 0; }; then :
2809 for ac_file in conftest.o conftest.obj conftest.*; do
2810 test -f "$ac_file" || continue;
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2813 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2818 $as_echo "$as_me: failed program was
:" >&5
2819 sed 's/^/| /' conftest.$ac_ext >&5
2821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823 as_fn_error "cannot compute suffix of object files: cannot compile
2824 See \`config.log' for more details.
" "$LINENO" 5; }
2826 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2829 $as_echo "$ac_cv_objext" >&6; }
2830 OBJEXT=$ac_cv_objext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2833 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2834 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2835 $as_echo_n "(cached
) " >&6
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2851 if ac_fn_c_try_compile "$LINENO"; then :
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2861 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2862 if test $ac_compiler_gnu = yes; then
2867 ac_test_CFLAGS=${CFLAGS+set}
2868 ac_save_CFLAGS=$CFLAGS
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2870 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2871 if test "${ac_cv_prog_cc_g+set}" = set; then :
2872 $as_echo_n "(cached
) " >&6
2874 ac_save_c_werror_flag=$ac_c_werror_flag
2875 ac_c_werror_flag=yes
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2889 if ac_fn_c_try_compile "$LINENO"; then :
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2904 if ac_fn_c_try_compile "$LINENO"; then :
2907 ac_c_werror_flag=$ac_save_c_werror_flag
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2920 if ac_fn_c_try_compile "$LINENO"; then :
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 ac_c_werror_flag=$ac_save_c_werror_flag
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
2931 $as_echo "$ac_cv_prog_cc_g" >&6; }
2932 if test "$ac_test_CFLAGS" = set; then
2933 CFLAGS=$ac_save_CFLAGS
2934 elif test $ac_cv_prog_cc_g = yes; then
2935 if test "$GCC" = yes; then
2941 if test "$GCC" = yes; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
2948 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
2949 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2950 $as_echo_n "(cached
) " >&6
2952 ac_cv_prog_cc_c89=no
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2958 #include <sys/types.h>
2959 #include <sys/stat.h>
2960 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2961 struct buf { int x; };
2962 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2963 static char *e (p, i)
2969 static char *f (char * (*g) (char **, int), char **p, ...)
2974 s = g (p, va_arg (v,int));
2979 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2980 function prototypes and stuff, but not '\xHH' hex character constants.
2981 These don't provoke an error unfortunately, instead are silently treated
2982 as 'x'. The following induces an error, until -std is added to get
2983 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2984 array size at least. It's necessary to write '\x00'==0 to get something
2985 that's true only with -std. */
2986 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2988 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2989 inside strings and character constants. */
2991 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2993 int test (int i, double x);
2994 struct s1 {int (*f) (int a);};
2995 struct s2 {int (*f) (double a);};
2996 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3002 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3007 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3008 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3010 CC="$ac_save_CC $ac_arg"
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 ac_cv_prog_cc_c89=$ac_arg
3014 rm -f core conftest.err conftest.$ac_objext
3015 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3017 rm -f conftest.$ac_ext
3022 case "x
$ac_cv_prog_cc_c89" in
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3025 $as_echo "none needed
" >&6; } ;;
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3028 $as_echo "unsupported
" >&6; } ;;
3030 CC="$CC $ac_cv_prog_cc_c89"
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3032 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3034 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3039 ac_cpp='$CPP $CPPFLAGS'
3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3044 if test -n "$ac_tool_prefix"; then
3045 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3046 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3048 $as_echo_n "checking
for $ac_word...
" >&6; }
3049 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3050 $as_echo_n "(cached
) " >&6
3052 if test -n "$RANLIB"; then
3053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3072 RANLIB=$ac_cv_prog_RANLIB
3073 if test -n "$RANLIB"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3075 $as_echo "$RANLIB" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3078 $as_echo "no
" >&6; }
3083 if test -z "$ac_cv_prog_RANLIB"; then
3084 ac_ct_RANLIB=$RANLIB
3085 # Extract the first word of "ranlib
", so it can be a program name with args.
3086 set dummy ranlib; ac_word=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3088 $as_echo_n "checking
for $ac_word...
" >&6; }
3089 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3090 $as_echo_n "(cached
) " >&6
3092 if test -n "$ac_ct_RANLIB"; then
3093 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3112 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3113 if test -n "$ac_ct_RANLIB"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3115 $as_echo "$ac_ct_RANLIB" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3118 $as_echo "no
" >&6; }
3121 if test "x
$ac_ct_RANLIB" = x; then
3124 case $cross_compiling:$ac_tool_warned in
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3127 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3128 ac_tool_warned=yes ;;
3130 RANLIB=$ac_ct_RANLIB
3133 RANLIB="$ac_cv_prog_RANLIB"
3137 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3138 for ac_prog in aclocal
3140 # Extract the first word of "$ac_prog", so it can be a program name with args.
3141 set dummy $ac_prog; ac_word=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3143 $as_echo_n "checking
for $ac_word...
" >&6; }
3144 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
3145 $as_echo_n "(cached
) " >&6
3147 if test -n "$ACLOCAL"; then
3148 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir=.
3155 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3157 ac_cv_prog_ACLOCAL="$ac_prog"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3167 ACLOCAL=$ac_cv_prog_ACLOCAL
3168 if test -n "$ACLOCAL"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ACLOCAL" >&5
3170 $as_echo "$ACLOCAL" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3173 $as_echo "no
" >&6; }
3177 test -n "$ACLOCAL" && break
3179 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal
"
3181 for ac_prog in autoconf
3183 # Extract the first word of "$ac_prog", so it can be a program name with args.
3184 set dummy $ac_prog; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3186 $as_echo_n "checking
for $ac_word...
" >&6; }
3187 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
3188 $as_echo_n "(cached
) " >&6
3190 if test -n "$AUTOCONF"; then
3191 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 ac_cv_prog_AUTOCONF="$ac_prog"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3210 AUTOCONF=$ac_cv_prog_AUTOCONF
3211 if test -n "$AUTOCONF"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOCONF" >&5
3213 $as_echo "$AUTOCONF" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3216 $as_echo "no
" >&6; }
3220 test -n "$AUTOCONF" && break
3222 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf
"
3224 for ac_prog in autoheader
3226 # Extract the first word of "$ac_prog", so it can be a program name with args.
3227 set dummy $ac_prog; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3229 $as_echo_n "checking
for $ac_word...
" >&6; }
3230 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
3231 $as_echo_n "(cached
) " >&6
3233 if test -n "$AUTOHEADER"; then
3234 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_AUTOHEADER="$ac_prog"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3253 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3254 if test -n "$AUTOHEADER"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOHEADER" >&5
3256 $as_echo "$AUTOHEADER" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3259 $as_echo "no
" >&6; }
3263 test -n "$AUTOHEADER" && break
3265 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader
"
3268 # Figure out what compiler warnings we can enable.
3269 # See config/warnings.m4 for details.
3273 save_CFLAGS="$CFLAGS"
3274 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3275 -Wmissing-prototypes -Wold-style-definition \
3276 -Wmissing-format-attribute -Wcast-qual; do
3277 # Do the check with the no- prefix removed since gcc silently
3278 # accepts any -Wno-* option on purpose
3279 case $real_option in
3280 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3281 *) option=$real_option ;;
3283 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
3286 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
3287 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
3288 $as_echo_n "(cached
) " >&6
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 if ac_fn_c_try_compile "$LINENO"; then :
3303 eval "$as_acx_Woption=yes"
3305 eval "$as_acx_Woption=no
"
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 eval ac_res=\$$as_acx_Woption
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
3312 $as_echo "$ac_res" >&6; }
3313 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3314 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3317 CFLAGS="$save_CFLAGS"
3320 # Do the check with the no- prefix removed from the warning options
3321 # since gcc silently accepts any -Wno-* option on purpose
3322 if test "$GCC" = yes; then :
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
-pedantic -Wlong-long" >&5
3324 $as_echo_n "checking whether
$CC supports
-pedantic -Wlong-long...
" >&6; }
3325 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
3326 $as_echo_n "(cached
) " >&6
3328 save_CFLAGS="$CFLAGS"
3329 CFLAGS="-pedantic -Wlong-long"
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3342 acx_cv_prog_cc_pedantic__Wlong_long=yes
3344 acx_cv_prog_cc_pedantic__Wlong_long=no
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 CFLAGS="$save_CFLAGS"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3350 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3351 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3352 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3358 # Only enable with --enable-werror-always until existing warnings are
3361 # Check whether --enable-werror-always was given.
3362 if test "${enable_werror_always+set}" = set; then :
3363 enableval=$enable_werror_always;
3365 enable_werror_always=no
3368 if test $enable_werror_always = yes; then :
3369 WERROR="$WERROR${WERROR:+ }-Werror"
3374 # Checks for header files.
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3381 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3382 # On Suns, sometimes $CPP names a directory.
3383 if test -n "$CPP" && test -d "$CPP"; then
3386 if test -z "$CPP"; then
3387 if test "${ac_cv_prog_CPP+set}" = set; then :
3388 $as_echo_n "(cached
) " >&6
3390 # Double quotes because CPP needs to be expanded
3391 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3394 for ac_c_preproc_warn_flag in '' yes
3396 # Use a header file that comes with gcc, so configuring glibc
3397 # with a fresh cross-compiler works.
3398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3399 # <limits.h> exists even on freestanding compilers.
3400 # On the NeXT, cc -E runs the code through the compiler's parser,
3401 # not just through cpp. "Syntax error
" is here to catch this case.
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3405 # include <limits.h>
3407 # include <assert.h>
3411 if ac_fn_c_try_cpp "$LINENO"; then :
3414 # Broken: fails on valid input.
3417 rm -f conftest.err conftest.$ac_ext
3419 # OK, works on sane cases. Now check whether nonexistent headers
3420 # can be detected and how.
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3423 #include <ac_nonexistent.h>
3425 if ac_fn_c_try_cpp "$LINENO"; then :
3426 # Broken: success on invalid input.
3429 # Passes both tests.
3433 rm -f conftest.err conftest.$ac_ext
3436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3437 rm -f conftest.err conftest.$ac_ext
3438 if $ac_preproc_ok; then :
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3451 $as_echo "$CPP" >&6; }
3453 for ac_c_preproc_warn_flag in '' yes
3455 # Use a header file that comes with gcc, so configuring glibc
3456 # with a fresh cross-compiler works.
3457 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3458 # <limits.h> exists even on freestanding compilers.
3459 # On the NeXT, cc -E runs the code through the compiler's parser,
3460 # not just through cpp. "Syntax error
" is here to catch this case.
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3464 # include <limits.h>
3466 # include <assert.h>
3470 if ac_fn_c_try_cpp "$LINENO"; then :
3473 # Broken: fails on valid input.
3476 rm -f conftest.err conftest.$ac_ext
3478 # OK, works on sane cases. Now check whether nonexistent headers
3479 # can be detected and how.
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3482 #include <ac_nonexistent.h>
3484 if ac_fn_c_try_cpp "$LINENO"; then :
3485 # Broken: success on invalid input.
3488 # Passes both tests.
3492 rm -f conftest.err conftest.$ac_ext
3495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3496 rm -f conftest.err conftest.$ac_ext
3497 if $ac_preproc_ok; then :
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3503 See \`config.log' for more details.
" "$LINENO" 5; }
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3514 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3515 if test "${ac_cv_path_GREP+set}" = set; then :
3516 $as_echo_n "(cached
) " >&6
3518 if test -z "$GREP"; then
3519 ac_path_GREP_found=false
3520 # Loop through the user's path and test for each of PROGNAME-LIST
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3525 test -z "$as_dir" && as_dir=.
3526 for ac_prog in grep ggrep; do
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3529 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3530 # Check for GNU ac_path_GREP and select it if it is found.
3531 # Check for GNU $ac_path_GREP
3532 case `"$ac_path_GREP" --version 2>&1` in
3534 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3537 $as_echo_n 0123456789 >"conftest.
in"
3540 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3541 mv "conftest.tmp
" "conftest.
in"
3542 cp "conftest.
in" "conftest.
nl"
3543 $as_echo 'GREP' >> "conftest.
nl"
3544 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3545 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3546 as_fn_arith $ac_count + 1 && ac_count=$as_val
3547 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3548 # Best one so far, save it but keep looking for a better one
3549 ac_cv_path_GREP="$ac_path_GREP"
3550 ac_path_GREP_max=$ac_count
3552 # 10*(2^10) chars as input seems more than enough
3553 test $ac_count -gt 10 && break
3555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3558 $ac_path_GREP_found && break 3
3563 if test -z "$ac_cv_path_GREP"; then
3564 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3567 ac_cv_path_GREP=$GREP
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3572 $as_echo "$ac_cv_path_GREP" >&6; }
3573 GREP="$ac_cv_path_GREP"
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3577 $as_echo_n "checking
for egrep...
" >&6; }
3578 if test "${ac_cv_path_EGREP+set}" = set; then :
3579 $as_echo_n "(cached
) " >&6
3581 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3582 then ac_cv_path_EGREP="$GREP -E"
3584 if test -z "$EGREP"; then
3585 ac_path_EGREP_found=false
3586 # Loop through the user's path and test for each of PROGNAME-LIST
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3591 test -z "$as_dir" && as_dir=.
3592 for ac_prog in egrep; do
3593 for ac_exec_ext in '' $ac_executable_extensions; do
3594 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3595 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3596 # Check for GNU ac_path_EGREP and select it if it is found.
3597 # Check for GNU $ac_path_EGREP
3598 case `"$ac_path_EGREP" --version 2>&1` in
3600 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3603 $as_echo_n 0123456789 >"conftest.
in"
3606 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3607 mv "conftest.tmp
" "conftest.
in"
3608 cp "conftest.
in" "conftest.
nl"
3609 $as_echo 'EGREP' >> "conftest.
nl"
3610 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3611 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3612 as_fn_arith $ac_count + 1 && ac_count=$as_val
3613 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3614 # Best one so far, save it but keep looking for a better one
3615 ac_cv_path_EGREP="$ac_path_EGREP"
3616 ac_path_EGREP_max=$ac_count
3618 # 10*(2^10) chars as input seems more than enough
3619 test $ac_count -gt 10 && break
3621 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3624 $ac_path_EGREP_found && break 3
3629 if test -z "$ac_cv_path_EGREP"; then
3630 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3633 ac_cv_path_EGREP=$EGREP
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3639 $as_echo "$ac_cv_path_EGREP" >&6; }
3640 EGREP="$ac_cv_path_EGREP"
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3644 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3645 if test "${ac_cv_header_stdc+set}" = set; then :
3646 $as_echo_n "(cached
) " >&6
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 ac_cv_header_stdc=yes
3666 ac_cv_header_stdc=no
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 if test $ac_cv_header_stdc = yes; then
3671 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3677 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3678 $EGREP "memchr
" >/dev/null 2>&1; then :
3681 ac_cv_header_stdc=no
3687 if test $ac_cv_header_stdc = yes; then
3688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3694 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3695 $EGREP "free
" >/dev/null 2>&1; then :
3698 ac_cv_header_stdc=no
3704 if test $ac_cv_header_stdc = yes; then
3705 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3706 if test "$cross_compiling" = yes; then :
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3713 #if ((' ' & 0x0FF) == 0x020)
3714 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3715 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3717 # define ISLOWER(c) \
3718 (('a' <= (c) && (c) <= 'i') \
3719 || ('j' <= (c) && (c) <= 'r') \
3720 || ('s' <= (c) && (c) <= 'z'))
3721 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3724 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3729 for (i = 0; i < 256; i++)
3730 if (XOR (islower (i), ISLOWER (i))
3731 || toupper (i) != TOUPPER (i))
3736 if ac_fn_c_try_run "$LINENO"; then :
3739 ac_cv_header_stdc=no
3741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3742 conftest.$ac_objext conftest.beam conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3748 $as_echo "$ac_cv_header_stdc" >&6; }
3749 if test $ac_cv_header_stdc = yes; then
3751 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3755 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3756 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3757 inttypes.h stdint.h unistd.h
3759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3760 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3762 eval as_val
=\$
$as_ac_Header
3763 if test "x$as_val" = x
""yes; then :
3764 cat >>confdefs.h
<<_ACEOF
3765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3773 for ac_header
in ctype.h stddef.h string.h stdio.h
3775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3776 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3777 eval as_val
=\$
$as_ac_Header
3778 if test "x$as_val" = x
""yes; then :
3779 cat >>confdefs.h
<<_ACEOF
3780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3789 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3791 acx_cv_header_stdint
=stddef.h
3792 acx_cv_header_stdint_kind
="(already complete)"
3793 for i
in stdint.h
$inttype_headers; do
3794 unset ac_cv_type_uintptr_t
3795 unset ac_cv_type_uintmax_t
3796 unset ac_cv_type_int_least32_t
3797 unset ac_cv_type_int_fast32_t
3798 unset ac_cv_type_uint64_t
3799 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3800 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3803 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
3804 acx_cv_header_stdint
=$i
3809 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3812 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3815 acx_cv_header_stdint_kind
="(mostly complete)"
3818 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3821 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
3824 acx_cv_header_stdint_kind
="(mostly complete)"
3827 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3830 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
3833 acx_cv_header_stdint_kind
="(mostly complete)"
3836 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3839 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3842 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3847 if test "$acx_cv_header_stdint" = stddef.h
; then
3848 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3849 for i
in stdint.h
$inttype_headers; do
3850 unset ac_cv_type_uintptr_t
3851 unset ac_cv_type_uint32_t
3852 unset ac_cv_type_uint64_t
3853 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
3854 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
3857 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
3858 acx_cv_header_stdint
=$i
3863 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3866 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3870 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3873 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3880 if test "$acx_cv_header_stdint" = stddef.h
; then
3881 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3882 for i
in sys
/types.h
$inttype_headers; do
3883 unset ac_cv_type_u_int32_t
3884 unset ac_cv_type_u_int64_t
3885 $as_echo_n "looking for u_intXX_t types in $i, " >&6
3886 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
3889 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
3890 acx_cv_header_stdint
=$i
3895 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
3898 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
3905 if test "$acx_cv_header_stdint" = stddef.h
; then
3906 acx_cv_header_stdint_kind
="(using manual detection)"
3909 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3910 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3911 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3912 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3913 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3915 # ----------------- Summarize what we found so far
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
3918 $as_echo_n "checking what to include in gstdint.h... " >&6; }
3920 case `$as_basename -- gstdint.h ||
3921 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3922 Xgstdint.h : 'X\(//\)$' \| \
3923 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
3924 $as_echo X/gstdint.h |
3925 sed '/^.*\/\([^/][^/]*\)\/*$/{
3938 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
3939 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3940 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
3941 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
3946 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
3948 # ----------------- done included file, check C basic types --------
3950 # Lacking an uintptr_t? Test size of void *
3951 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
3952 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
3953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3955 # This bug is HP SR number 8606223364.
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
3957 $as_echo_n "checking size of void *... " >&6; }
3958 if test "${ac_cv_sizeof_void_p+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3961 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
3964 if test "$ac_cv_type_void_p" = yes; then
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 { as_fn_set_status
77
3968 as_fn_error
"cannot compute sizeof (void *)
3969 See \`config.log' for more details." "$LINENO" 5; }; }
3971 ac_cv_sizeof_void_p
=0
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
3977 $as_echo "$ac_cv_sizeof_void_p" >&6; }
3981 cat >>confdefs.h
<<_ACEOF
3982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
3988 # Lacking an uint64_t? Test size of long
3989 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
3990 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
3991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3993 # This bug is HP SR number 8606223364.
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
3995 $as_echo_n "checking size of long... " >&6; }
3996 if test "${ac_cv_sizeof_long+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4002 if test "$ac_cv_type_long" = yes; then
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 { as_fn_set_status
77
4006 as_fn_error
"cannot compute sizeof (long)
4007 See \`config.log' for more details." "$LINENO" 5; }; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4015 $as_echo "$ac_cv_sizeof_long" >&6; }
4019 cat >>confdefs.h
<<_ACEOF
4020 #define SIZEOF_LONG $ac_cv_sizeof_long
4026 if test $acx_cv_header_stdint = stddef.h
; then
4027 # Lacking a good header? Test size of everything and deduce all types.
4028 # The cast to long int works around a bug in the HP C Compiler
4029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4031 # This bug is HP SR number 8606223364.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4033 $as_echo_n "checking size of int... " >&6; }
4034 if test "${ac_cv_sizeof_int+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4040 if test "$ac_cv_type_int" = yes; then
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 { as_fn_set_status
77
4044 as_fn_error
"cannot compute sizeof (int)
4045 See \`config.log' for more details." "$LINENO" 5; }; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4053 $as_echo "$ac_cv_sizeof_int" >&6; }
4057 cat >>confdefs.h
<<_ACEOF
4058 #define SIZEOF_INT $ac_cv_sizeof_int
4062 # The cast to long int works around a bug in the HP C Compiler
4063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4065 # This bug is HP SR number 8606223364.
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4067 $as_echo_n "checking size of short... " >&6; }
4068 if test "${ac_cv_sizeof_short+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4071 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4074 if test "$ac_cv_type_short" = yes; then
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 { as_fn_set_status
77
4078 as_fn_error
"cannot compute sizeof (short)
4079 See \`config.log' for more details." "$LINENO" 5; }; }
4081 ac_cv_sizeof_short
=0
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4087 $as_echo "$ac_cv_sizeof_short" >&6; }
4091 cat >>confdefs.h
<<_ACEOF
4092 #define SIZEOF_SHORT $ac_cv_sizeof_short
4096 # The cast to long int works around a bug in the HP C Compiler
4097 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4098 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4099 # This bug is HP SR number 8606223364.
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4101 $as_echo_n "checking size of char... " >&6; }
4102 if test "${ac_cv_sizeof_char+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4108 if test "$ac_cv_type_char" = yes; then
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 { as_fn_set_status
77
4112 as_fn_error
"cannot compute sizeof (char)
4113 See \`config.log' for more details." "$LINENO" 5; }; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4121 $as_echo "$ac_cv_sizeof_char" >&6; }
4125 cat >>confdefs.h
<<_ACEOF
4126 #define SIZEOF_CHAR $ac_cv_sizeof_char
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4132 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4133 case "$ac_cv_sizeof_char" in
4134 1) acx_cv_type_int8_t
=char
;;
4135 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4138 $as_echo "$acx_cv_type_int8_t" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4141 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4142 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4143 2:*) acx_cv_type_int16_t
=int
;;
4144 *:2) acx_cv_type_int16_t
=short
;;
4145 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4148 $as_echo "$acx_cv_type_int16_t" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4151 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4152 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4153 4:*) acx_cv_type_int32_t
=int
;;
4154 *:4) acx_cv_type_int32_t
=long
;;
4155 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4158 $as_echo "$acx_cv_type_int32_t" >&6; }
4161 # These tests are here to make the output prettier
4163 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4164 case "$ac_cv_sizeof_long" in
4165 8) acx_cv_type_int64_t
=long
;;
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4168 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4170 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4173 # Now we can use the above types
4175 if test "$ac_cv_type_uintptr_t" != yes; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4177 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4178 case $ac_cv_sizeof_void_p in
4179 2) acx_cv_type_intptr_t
=int16_t
;;
4180 4) acx_cv_type_intptr_t
=int32_t
;;
4181 8) acx_cv_type_intptr_t
=int64_t
;;
4182 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4185 $as_echo "$acx_cv_type_intptr_t" >&6; }
4188 # ----------------- done all checks, emit header -------------
4189 ac_config_commands
="$ac_config_commands gstdint.h"
4194 # Checks for typedefs, structures, and compiler characteristics.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4196 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4197 if test "${ac_cv_c_const+set}" = set; then :
4198 $as_echo_n "(cached) " >&6
4200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4206 /* FIXME: Include the comments suggested by Paul. */
4208 /* Ultrix mips cc rejects this. */
4209 typedef int charset[2];
4211 /* SunOS 4.1.1 cc rejects this. */
4212 char const *const *pcpcc;
4214 /* NEC SVR4.0.2 mips cc rejects this. */
4215 struct point {int x, y;};
4216 static struct point const zero = {0,0};
4217 /* AIX XL C 1.02.0.0 rejects this.
4218 It does not let you subtract one const X* pointer from another in
4219 an arm of an if-expression whose if-part is not a constant
4221 const char *g = "string";
4222 pcpcc = &g + (g ? g-g : 0);
4223 /* HPUX 7.0 cc rejects these. */
4225 ppc = (char**) pcpcc;
4226 pcpcc = (char const *const *) ppc;
4227 { /* SCO 3.2v4 cc rejects this. */
4229 char const *s = 0 ? (char *) 0 : (char const *) 0;
4234 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4236 const int *foo = &x[0];
4239 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4240 typedef const int *iptr;
4244 { /* AIX XL C 1.02.0.0 rejects this saying
4245 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4246 struct s { int j; const int *ap[3]; };
4247 struct s *b; b->j = 5;
4249 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4253 return !cs[0] && !zero.x;
4260 if ac_fn_c_try_compile
"$LINENO"; then :
4265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4268 $as_echo "$ac_cv_c_const" >&6; }
4269 if test $ac_cv_c_const = no
; then
4271 $as_echo "#define const /**/" >>confdefs.h
4275 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4276 if test "x$ac_cv_type_off_t" = x
""yes; then :
4280 cat >>confdefs.h
<<_ACEOF
4281 #define off_t long int
4286 # The cast to long int works around a bug in the HP C Compiler
4287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4289 # This bug is HP SR number 8606223364.
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4291 $as_echo_n "checking size of int... " >&6; }
4292 if test "${ac_cv_sizeof_int+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4298 if test "$ac_cv_type_int" = yes; then
4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4301 { as_fn_set_status
77
4302 as_fn_error
"cannot compute sizeof (int)
4303 See \`config.log' for more details." "$LINENO" 5; }; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4311 $as_echo "$ac_cv_sizeof_int" >&6; }
4315 cat >>confdefs.h
<<_ACEOF
4316 #define SIZEOF_INT $ac_cv_sizeof_int
4320 # The cast to long int works around a bug in the HP C Compiler
4321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4323 # This bug is HP SR number 8606223364.
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4325 $as_echo_n "checking size of long... " >&6; }
4326 if test "${ac_cv_sizeof_long+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4332 if test "$ac_cv_type_long" = yes; then
4333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4335 { as_fn_set_status
77
4336 as_fn_error
"cannot compute sizeof (long)
4337 See \`config.log' for more details." "$LINENO" 5; }; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4345 $as_echo "$ac_cv_sizeof_long" >&6; }
4349 cat >>confdefs.h
<<_ACEOF
4350 #define SIZEOF_LONG $ac_cv_sizeof_long
4355 # Checks for library functions.
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4357 $as_echo_n "checking for ANSI C header files... " >&6; }
4358 if test "${ac_cv_header_stdc+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4376 if ac_fn_c_try_compile
"$LINENO"; then :
4377 ac_cv_header_stdc
=yes
4379 ac_cv_header_stdc
=no
4381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4383 if test $ac_cv_header_stdc = yes; then
4384 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4391 $EGREP "memchr" >/dev
/null
2>&1; then :
4394 ac_cv_header_stdc
=no
4400 if test $ac_cv_header_stdc = yes; then
4401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4408 $EGREP "free" >/dev
/null
2>&1; then :
4411 ac_cv_header_stdc
=no
4417 if test $ac_cv_header_stdc = yes; then
4418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4419 if test "$cross_compiling" = yes; then :
4422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4426 #if ((' ' & 0x0FF) == 0x020)
4427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4430 # define ISLOWER(c) \
4431 (('a' <= (c) && (c) <= 'i') \
4432 || ('j' <= (c) && (c) <= 'r') \
4433 || ('s' <= (c) && (c) <= 'z'))
4434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4442 for (i = 0; i < 256; i++)
4443 if (XOR (islower (i), ISLOWER (i))
4444 || toupper (i) != TOUPPER (i))
4449 if ac_fn_c_try_run
"$LINENO"; then :
4452 ac_cv_header_stdc
=no
4454 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4455 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4461 $as_echo "$ac_cv_header_stdc" >&6; }
4462 if test $ac_cv_header_stdc = yes; then
4464 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4469 # Check whether --enable-maintainer-mode was given.
4470 if test "${enable_maintainer_mode+set}" = set; then :
4471 enableval
=$enable_maintainer_mode;
4473 enable_maintainer_mode
=no
4477 if test "x$enable_maintainer_mode" = xno
; then
4484 # Make sure we can run config.sub.
4485 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4486 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4489 $as_echo_n "checking build system type... " >&6; }
4490 if test "${ac_cv_build+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4493 ac_build_alias
=$build_alias
4494 test "x$ac_build_alias" = x
&&
4495 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4496 test "x$ac_build_alias" = x
&&
4497 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4498 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4499 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4503 $as_echo "$ac_cv_build" >&6; }
4504 case $ac_cv_build in
4506 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4509 ac_save_IFS
=$IFS; IFS
='-'
4515 # Remember, the first character of IFS is used to create $*,
4516 # except with old shells:
4519 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4523 $as_echo_n "checking host system type... " >&6; }
4524 if test "${ac_cv_host+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 if test "x$host_alias" = x
; then
4528 ac_cv_host
=$ac_cv_build
4530 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4531 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4536 $as_echo "$ac_cv_host" >&6; }
4539 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4542 ac_save_IFS
=$IFS; IFS
='-'
4548 # Remember, the first character of IFS is used to create $*,
4549 # except with old shells:
4552 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4556 $as_echo_n "checking target system type... " >&6; }
4557 if test "${ac_cv_target+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test "x$target_alias" = x
; then
4561 ac_cv_target
=$ac_cv_host
4563 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4564 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4569 $as_echo "$ac_cv_target" >&6; }
4570 case $ac_cv_target in
4572 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4574 target
=$ac_cv_target
4575 ac_save_IFS
=$IFS; IFS
='-'
4581 # Remember, the first character of IFS is used to create $*,
4582 # except with old shells:
4585 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4588 # The aliases save the names the user supplied, while $host etc.
4589 # will get canonicalized.
4590 test -n "$target_alias" &&
4591 test "$program_prefix$program_suffix$program_transform_name" = \
4593 program_prefix
=${target_alias}-
4595 # Default decimal format
4596 # If you change the defaults here, be sure to change them in the GCC directory also
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4598 $as_echo_n "checking for decimal floating point... " >&6; }
4601 # Check whether --enable-decimal-float was given.
4602 if test "${enable_decimal_float+set}" = set; then :
4603 enableval
=$enable_decimal_float;
4604 case $enable_decimal_float in
4605 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4606 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4607 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4613 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4615 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4616 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4617 enable_decimal_float
=yes
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4621 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4622 enable_decimal_float
=no
4629 # x86's use BID format instead of DPD
4630 case x
$enable_decimal_float in
4633 i?
86*-*-* | x86_64
*-*-*)
4634 enable_decimal_float
=bid
4637 enable_decimal_float
=dpd
4640 default_decimal_float
=$enable_decimal_float
4643 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4644 # dependency on libdecnumber.
4645 default_decimal_float
=dpd
4652 # Use default_decimal_float for dependency.
4653 enable_decimal_float
=$default_decimal_float
4655 # If BID is being used, additional objects should be linked in.
4656 if test x
$enable_decimal_float = xbid
; then
4657 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4663 $as_echo "$enable_decimal_float" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4668 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4669 if test "${ac_cv_c_bigendian+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4672 ac_cv_c_bigendian
=unknown
4673 # See if we're dealing with a universal compiler.
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4676 #ifndef __APPLE_CC__
4677 not a universal capable compiler
4682 if ac_fn_c_try_compile
"$LINENO"; then :
4684 # Check for potential -arch flags. It is not universal unless
4685 # there are at least two -arch flags with different values.
4688 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4689 if test -n "$ac_prev"; then
4691 i?
86 | x86_64 | ppc | ppc64
)
4692 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4695 ac_cv_c_bigendian
=universal
4701 elif test "x$ac_word" = "x-arch"; then
4706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4707 if test $ac_cv_c_bigendian = unknown
; then
4708 # See if sys/param.h defines the BYTE_ORDER macro.
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #include <sys/types.h>
4712 #include <sys/param.h>
4717 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4718 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4727 if ac_fn_c_try_compile
"$LINENO"; then :
4728 # It does; now see whether it defined to BIG_ENDIAN or not.
4729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4731 #include <sys/types.h>
4732 #include <sys/param.h>
4737 #if BYTE_ORDER != BIG_ENDIAN
4745 if ac_fn_c_try_compile
"$LINENO"; then :
4746 ac_cv_c_bigendian
=yes
4748 ac_cv_c_bigendian
=no
4750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4754 if test $ac_cv_c_bigendian = unknown
; then
4755 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4763 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4771 if ac_fn_c_try_compile
"$LINENO"; then :
4772 # It does; now see whether it defined to _BIG_ENDIAN or not.
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4788 if ac_fn_c_try_compile
"$LINENO"; then :
4789 ac_cv_c_bigendian
=yes
4791 ac_cv_c_bigendian
=no
4793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 if test $ac_cv_c_bigendian = unknown
; then
4798 # Compile a test program.
4799 if test "$cross_compiling" = yes; then :
4800 # Try to guess by grepping values from an object file.
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 short int ascii_mm[] =
4804 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4805 short int ascii_ii[] =
4806 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4807 int use_ascii (int i) {
4808 return ascii_mm[i] + ascii_ii[i];
4810 short int ebcdic_ii[] =
4811 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4812 short int ebcdic_mm[] =
4813 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4814 int use_ebcdic (int i) {
4815 return ebcdic_mm[i] + ebcdic_ii[i];
4822 return use_ascii (foo) == use_ebcdic (foo);
4827 if ac_fn_c_try_compile
"$LINENO"; then :
4828 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4829 ac_cv_c_bigendian
=yes
4831 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4832 if test "$ac_cv_c_bigendian" = unknown
; then
4833 ac_cv_c_bigendian
=no
4835 # finding both strings is unlikely to happen, but who knows?
4836 ac_cv_c_bigendian
=unknown
4840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4844 $ac_includes_default
4849 /* Are we little or big endian? From Harbison&Steele. */
4853 char c[sizeof (long int)];
4856 return u.c[sizeof (long int) - 1] == 1;
4862 if ac_fn_c_try_run
"$LINENO"; then :
4863 ac_cv_c_bigendian
=no
4865 ac_cv_c_bigendian
=yes
4867 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4868 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4874 $as_echo "$ac_cv_c_bigendian" >&6; }
4875 case $ac_cv_c_bigendian in #(
4877 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4883 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4887 as_fn_error
"unknown endianness
4888 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4894 ac_config_headers
="$ac_config_headers config.h:config.in"
4896 ac_config_files
="$ac_config_files Makefile"
4898 cat >confcache
<<\_ACEOF
4899 # This file is a shell script that caches the results of configure
4900 # tests run on this system so they can be shared between configure
4901 # scripts and configure runs, see configure's option --config-cache.
4902 # It is not useful on other systems. If it contains results you don't
4903 # want to keep, you may remove or edit it.
4905 # config.status only pays attention to the cache file if you give it
4906 # the --recheck option to rerun configure.
4908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4914 # The following way of writing the cache mishandles newlines in values,
4915 # but we know of no workaround that is simple, portable, and efficient.
4916 # So, we kill variables containing newlines.
4917 # Ultrix sh set writes to stderr and can't be redirected directly,
4918 # and sets the high bit in the cache file unless we assign to the vars.
4920 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4921 eval ac_val
=\$
$ac_var
4925 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4929 _ | IFS | as_nl
) ;; #(
4930 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4931 *) { eval $ac_var=; unset $ac_var;} ;;
4937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4938 *${as_nl}ac_space
=\
*)
4939 # `set' does not quote correctly, so add quotes: double-quote
4940 # substitution turns \\\\ into \\, and sed turns \\ into \.
4943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4946 # `set' quotes correctly as required by POSIX, so do not add quotes.
4947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4960 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4961 if test -w "$cache_file"; then
4962 test "x$cache_file" != "x/dev/null" &&
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4964 $as_echo "$as_me: updating cache $cache_file" >&6;}
4965 cat confcache
>$cache_file
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4968 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4973 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4974 # Let make expand exec_prefix.
4975 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4977 DEFS
=-DHAVE_CONFIG_H
4981 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4982 # 1. Remove the extension, and $U if already installed.
4983 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4984 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4985 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4986 # will be set to the directory where LIBOBJS objects are built.
4987 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4988 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4992 LTLIBOBJS
=$ac_ltlibobjs
4997 : ${CONFIG_STATUS=./config.status}
4999 ac_clean_files_save
=$ac_clean_files
5000 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5002 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5004 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5006 # Generated by $as_me.
5007 # Run this file to recreate the current configuration.
5008 # Compiler output produced by configure, useful for debugging
5009 # configure, is in config.log if it exists.
5015 SHELL=\${CONFIG_SHELL-$SHELL}
5018 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5019 ## -------------------- ##
5020 ## M4sh Initialization. ##
5021 ## -------------------- ##
5023 # Be more Bourne compatible
5024 DUALCASE
=1; export DUALCASE
# for MKS sh
5025 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5028 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5029 # is contrary to our usage. Disable this feature.
5030 alias -g '${1+"$@"}'='"$@"'
5031 setopt NO_GLOB_SUBST
5033 case `(set -o) 2>/dev/null` in #(
5045 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5046 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5047 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5048 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5049 # Prefer a ksh shell builtin over an external printf program on Solaris,
5050 # but without wasting forks for bash or zsh.
5051 if test -z "$BASH_VERSION$ZSH_VERSION" \
5052 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5053 as_echo='print
-r --'
5054 as_echo_n='print
-rn --'
5055 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5056 as_echo='printf %s
\n'
5057 as_echo_n='printf %s
'
5059 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5060 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5061 as_echo_n='/usr
/ucb
/echo -n'
5063 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5064 as_echo_n_body='eval
5068 expr "X$arg" : "X\\(.*\\)$as_nl";
5069 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5071 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5073 export as_echo_n_body
5074 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5077 as_echo='sh
-c $as_echo_body as_echo
'
5080 # The user is always right.
5081 if test "${PATH_SEPARATOR+set}" != set; then
5083 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5084 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5091 # We need space, tab and new line, in precisely that order. Quoting is
5092 # there to prevent editors from complaining about space-tab.
5093 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5094 # splitting by setting IFS to empty value.)
5097 # Find who we are. Look in the path if we contain no directory separator.
5099 *[\\/]* ) as_myself=$0 ;;
5100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir=.
5105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5111 # We did not find ourselves, most probably we were run as `sh COMMAND'
5112 # in which case we are not to be found in the path.
5113 if test "x$as_myself" = x
; then
5116 if test ! -f "$as_myself"; then
5117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5121 # Unset variables that we do not need and which cause bugs (e.g. in
5122 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5123 # suppresses any "Segmentation fault" message there. '((' could
5124 # trigger a bug in pdksh 5.2.14.
5125 for as_var
in BASH_ENV ENV MAIL MAILPATH
5126 do eval test x\
${$as_var+set} = xset \
5127 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5140 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5143 # as_fn_error ERROR [LINENO LOG_FD]
5144 # ---------------------------------
5145 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5146 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5147 # script with status $?, using 1 if that was 0.
5150 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5152 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5153 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5155 $as_echo "$as_me: error: $1" >&2
5156 as_fn_exit
$as_status
5160 # as_fn_set_status STATUS
5161 # -----------------------
5162 # Set $? to STATUS, without forking.
5166 } # as_fn_set_status
5170 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5180 # Portably unset VAR.
5183 { eval $1=; unset $1;}
5185 as_unset
=as_fn_unset
5186 # as_fn_append VAR VALUE
5187 # ----------------------
5188 # Append the text in VALUE to the end of the definition contained in VAR. Take
5189 # advantage of any shell optimizations that allow amortized linear growth over
5190 # repeated appends, instead of the typical quadratic growth present in naive
5192 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5193 eval 'as_fn_append ()
5204 # as_fn_arith ARG...
5205 # ------------------
5206 # Perform arithmetic evaluation on the ARGs, and store the result in the
5207 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5208 # must be portable across $(()) and expr.
5209 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5210 eval 'as_fn_arith ()
5217 as_val
=`expr "$@" || test $? -eq 1`
5222 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5223 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5229 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5230 as_basename
=basename
5235 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5241 as_me
=`$as_basename -- "$0" ||
5242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5243 X"$0" : 'X\(//\)$' \| \
5244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5246 sed '/^.*\/\([^/][^/]*\)\/*$/{
5260 # Avoid depending upon Character Ranges.
5261 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5262 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5263 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5264 as_cr_digits
='0123456789'
5265 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5267 ECHO_C
= ECHO_N
= ECHO_T
=
5268 case `echo -n x` in #(((((
5270 case `echo 'xy\c'` in
5271 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5273 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5280 rm -f conf$$ conf$$.exe conf$$.
file
5281 if test -d conf$$.dir
; then
5282 rm -f conf$$.dir
/conf$$.
file
5285 mkdir conf$$.dir
2>/dev
/null
5287 if (echo >conf$$.
file) 2>/dev
/null
; then
5288 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5290 # ... but there are two gotchas:
5291 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5292 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5293 # In both cases, we have to default to `cp -p'.
5294 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5296 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5304 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5305 rmdir conf$$.dir
2>/dev
/null
5310 # Create "$as_dir" as a directory, including parents if necessary.
5315 -*) as_dir
=.
/$as_dir;;
5317 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5321 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5322 *) as_qdir
=$as_dir;;
5324 as_dirs
="'$as_qdir' $as_dirs"
5325 as_dir
=`$as_dirname -- "$as_dir" ||
5326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5327 X"$as_dir" : 'X\(//\)[^/]' \| \
5328 X"$as_dir" : 'X\(//\)$' \| \
5329 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5330 $as_echo X"$as_dir" |
5331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5348 test -d "$as_dir" && break
5350 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5351 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5355 if mkdir
-p .
2>/dev
/null
; then
5356 as_mkdir_p
='mkdir -p "$as_dir"'
5358 test -d .
/-p && rmdir .
/-p
5362 if test -x / >/dev
/null
2>&1; then
5365 if ls -dL / >/dev
/null
2>&1; then
5372 if test -d "$1"; then
5378 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5379 ???[sx]*):;;*)false;;esac;fi
5383 as_executable_p
=$as_test_x
5385 # Sed expression to map a string onto a valid CPP name.
5386 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5388 # Sed expression to map a string onto a valid variable name.
5389 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5393 ## ----------------------------------- ##
5394 ## Main body of $CONFIG_STATUS script. ##
5395 ## ----------------------------------- ##
5397 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5400 # Save the log message, to keep $0 and so on meaningful, and to
5401 # report actual input values of CONFIG_FILES etc. instead of their
5402 # values after options handling.
5404 This file was extended by libdecnumber $as_me , which was
5405 generated by GNU Autoconf 2.64. Invocation command line was
5407 CONFIG_FILES = $CONFIG_FILES
5408 CONFIG_HEADERS = $CONFIG_HEADERS
5409 CONFIG_LINKS = $CONFIG_LINKS
5410 CONFIG_COMMANDS = $CONFIG_COMMANDS
5413 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5418 case $ac_config_files in *"
5419 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5422 case $ac_config_headers in *"
5423 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5428 # Files that config.status was made for.
5429 config_files="$ac_config_files"
5430 config_headers="$ac_config_headers"
5431 config_commands="$ac_config_commands"
5435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5437 \`$as_me' instantiates files and other configuration actions
5438 from templates according to the current configuration. Unless the files
5439 and actions are specified as TAGs, all are instantiated by default.
5441 Usage: $0 [OPTION]... [TAG]...
5443 -h, --help print this help, then exit
5444 -V, --version print version number and configuration settings, then exit
5445 -q, --quiet, --silent
5446 do not print progress messages
5447 -d, --debug don't remove temporary files
5448 --recheck update $as_me by reconfiguring in the same conditions
5449 --file=FILE[:TEMPLATE]
5450 instantiate the configuration file FILE
5451 --header=FILE[:TEMPLATE]
5452 instantiate the configuration header FILE
5454 Configuration files:
5457 Configuration headers:
5460 Configuration commands:
5463 Report bugs to <gcc-bugs@gcc.gnu.org>."
5466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5468 libdecnumber config.status
5469 configured by $0, generated by GNU Autoconf 2.64,
5470 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5472 Copyright (C) 2009 Free Software Foundation, Inc.
5473 This config.status script is free software; the Free Software Foundation
5474 gives unlimited permission to copy, distribute and modify it."
5478 test -n "\$AWK" || AWK=awk
5481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5482 # The default lists apply if the user does not specify any file.
5488 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5489 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5500 # Handling of the options.
5501 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5503 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5504 $as_echo "$ac_cs_version"; exit ;;
5505 --debug |
--debu |
--deb |
--de |
--d |
-d )
5507 --file |
--fil |
--fi |
--f )
5510 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5512 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5513 ac_need_defaults
=false
;;
5514 --header |
--heade |
--head |
--hea )
5517 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5519 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5520 ac_need_defaults
=false
;;
5522 # Conflict between --help and --header
5523 as_fn_error
"ambiguous option: \`$1'
5524 Try \`$0 --help' for more information.";;
5525 --help |
--hel |
-h )
5526 $as_echo "$ac_cs_usage"; exit ;;
5527 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5528 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5532 -*) as_fn_error
"unrecognized option: \`$1'
5533 Try \`$0 --help' for more information." ;;
5535 *) as_fn_append ac_config_targets
" $1"
5536 ac_need_defaults
=false
;;
5542 ac_configure_extra_args
=
5544 if $ac_cs_silent; then
5546 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5551 if \$ac_cs_recheck; then
5552 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5554 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5555 CONFIG_SHELL='$SHELL'
5561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5565 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5566 ## Running $as_me. ##
5572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5579 acx_cv_header_stdint="$acx_cv_header_stdint"
5580 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5581 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5582 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5583 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5584 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5585 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5586 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5587 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5588 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5589 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5590 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5591 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5592 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5599 # Handling of arguments.
5600 for ac_config_target
in $ac_config_targets
5602 case $ac_config_target in
5603 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
5604 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5605 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5607 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5612 # If the user did not use the arguments to specify the items to instantiate,
5613 # then the envvar interface is used. Set only those that are not.
5614 # We use the long form for the default assignment because of an extremely
5615 # bizarre bug on SunOS 4.1.3.
5616 if $ac_need_defaults; then
5617 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5618 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5619 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5622 # Have a temporary directory for convenience. Make it in the build tree
5623 # simply because there is no reason against having it here, and in addition,
5624 # creating and moving files from /tmp can sometimes cause problems.
5625 # Hook for its removal unless debugging.
5626 # Note that there is a small window in which the directory will not be cleaned:
5627 # after its creation but before its name has been assigned to `$tmp'.
5631 trap 'exit_status=$?
5632 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5634 trap 'as_fn_exit 1' 1 2 13 15
5636 # Create a (secure) tmp directory for tmp files.
5639 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5640 test -n "$tmp" && test -d "$tmp"
5643 tmp
=.
/conf$$
-$RANDOM
5644 (umask 077 && mkdir
"$tmp")
5645 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5647 # Set up the scripts for CONFIG_FILES section.
5648 # No need to generate them if there are no CONFIG_FILES.
5649 # This happens for instance with `./config.status config.h'.
5650 if test -n "$CONFIG_FILES"; then
5653 ac_cr
=`echo X | tr X '\015'`
5654 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5655 # But we know of no other shell where ac_cr would be empty at this
5656 # point, so we can use a bashism as a fallback.
5657 if test "x$ac_cr" = x
; then
5658 eval ac_cr
=\$
\'\\r
\'
5660 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5661 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5667 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5672 echo "cat >conf$$subs.awk <<_ACEOF" &&
5673 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5676 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5677 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5679 for ac_last_try in false false false false false :; do
5680 . ./conf$$subs.sh ||
5681 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5683 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5684 if test $ac_delim_n = $ac_delim_num; then
5686 elif $ac_last_try; then
5687 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5689 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5695 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5699 s/^/S["/; s
/!.
*/"]=/
5709 s/\(.\{148\}\).*/\1/
5711 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5716 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5723 s/\(.\{148\}\).*/\1/
5725 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5729 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5734 ' <conf$$subs.awk | sed '
5739 ' >>$CONFIG_STATUS || ac_write_fail=1
5740 rm -f conf$$subs.awk
5741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5743 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5744 for (key in S) S_is_set[key] = 1
5750 nfields = split(line, field, "@
")
5752 len = length(field[1])
5753 for (i = 2; i < nfields; i++) {
5755 keylen = length(key)
5756 if (S_is_set[key]) {
5758 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5759 len += length(value) + length(field[++i])
5770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5772 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5775 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5776 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5779 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5780 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5781 # trailing colons and then remove the whole line if VPATH becomes empty
5782 # (actually we leave an empty line to preserve line numbers).
5783 if test "x
$srcdir" = x.; then
5784 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5788 s/^\([^=]*=[ ]*\):*/\1/
5794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5795 fi # test -n "$CONFIG_FILES"
5797 # Set up the scripts for CONFIG_HEADERS section.
5798 # No need to generate them if there are no CONFIG_HEADERS.
5799 # This happens for instance with `./config.status Makefile'.
5800 if test -n "$CONFIG_HEADERS"; then
5801 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5805 # Transform confdefs.h into an awk script `defines.awk', embedded as
5806 # here-document in config.status, that substitutes the proper values into
5807 # config.h.in to produce config.h.
5809 # Create a delimiter string that does not exist in confdefs.h, to ease
5810 # handling of long lines.
5812 for ac_last_try in false false :; do
5813 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5814 if test -z "$ac_t"; then
5816 elif $ac_last_try; then
5817 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5819 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5823 # For the awk script, D is an array of macro values keyed by name,
5824 # likewise P contains macro parameters if any. Preserve backslash
5825 # newline sequences.
5827 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5829 s/.\{148\}/&'"$ac_delim"'/g
5832 s/^[ ]*#[ ]*define[ ][ ]*/ /
5839 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5841 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5846 D["\
1"]=" \
3\\\\\\n
"\\/p
5848 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5853 s/.\{148\}/&'"$ac_delim"'/g
5858 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5861 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5863 ' <confdefs.h | sed '
5864 s/'"$ac_delim"'/"\\\
5865 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5868 for (key in D) D_is_set[key] = 1
5871 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5873 split(line, arg, " ")
5874 if (arg[1] == "#") {
5878 defundef
= substr
(arg
[1], 2)
5881 split(mac1
, mac2
, "(") #)
5883 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5884 if (D_is_set
[macro
]) {
5885 # Preserve the white space surrounding the "#".
5886 print prefix
"define", macro P
[macro
] D
[macro
]
5889 # Replace #undef with comments. This is necessary, for example,
5890 # in the case of _POSIX_SOURCE, which is predefined and required
5891 # on some systems where configure will not decide to define it.
5892 if (defundef
== "undef") {
5893 print
"/*", prefix defundef
, macro
, "*/"
5901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5902 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5903 fi # test -n "$CONFIG_HEADERS"
5906 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5911 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5913 case $ac_mode$ac_tag in
5915 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5916 :[FH
]-) ac_tag
=-:-;;
5917 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5934 -) ac_f
="$tmp/stdin";;
5935 *) # Look for the file first in the build tree, then in the source tree
5936 # (if the path is not absolute). The absolute path cannot be DOS-style,
5937 # because $ac_f cannot contain `:'.
5941 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5943 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5945 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5946 as_fn_append ac_file_inputs
" '$ac_f'"
5949 # Let's still pretend it is `configure' which instantiates (i.e., don't
5950 # use $as_me), people would be surprised to read:
5951 # /* config.h. Generated by config.status. */
5952 configure_input
='Generated from '`
5953 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5955 if test x
"$ac_file" != x-
; then
5956 configure_input
="$ac_file. $configure_input"
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5958 $as_echo "$as_me: creating $ac_file" >&6;}
5960 # Neutralize special characters interpreted by sed in replacement strings.
5961 case $configure_input in #(
5962 *\
&* |
*\|
* |
*\\* )
5963 ac_sed_conf_input
=`$as_echo "$configure_input" |
5964 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5965 *) ac_sed_conf_input
=$configure_input;;
5969 *:-:* |
*:-) cat >"$tmp/stdin" \
5970 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5975 ac_dir
=`$as_dirname -- "$ac_file" ||
5976 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5977 X"$ac_file" : 'X\(//\)[^/]' \| \
5978 X"$ac_file" : 'X\(//\)$' \| \
5979 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5980 $as_echo X"$ac_file" |
5981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5998 as_dir
="$ac_dir"; as_fn_mkdir_p
6002 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6004 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6005 # A ".." for each directory in $ac_dir_suffix.
6006 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6007 case $ac_top_builddir_sub in
6008 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6009 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6012 ac_abs_top_builddir
=$ac_pwd
6013 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6014 # for backward compatibility:
6015 ac_top_builddir
=$ac_top_build_prefix
6018 .
) # We are building in place.
6020 ac_top_srcdir
=$ac_top_builddir_sub
6021 ac_abs_top_srcdir
=$ac_pwd ;;
6022 [\\/]* | ?
:[\\/]* ) # Absolute name.
6023 ac_srcdir
=$srcdir$ac_dir_suffix;
6024 ac_top_srcdir
=$srcdir
6025 ac_abs_top_srcdir
=$srcdir ;;
6027 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6028 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6029 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6031 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6043 # If the template does not know about datarootdir, expand it.
6044 # FIXME: This hack should be removed a few years after 2.60.
6045 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6056 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6057 *datarootdir
*) ac_datarootdir_seen
=yes;;
6058 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6060 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6063 ac_datarootdir_hack='
6064 s&@datadir@&$datadir&g
6065 s&@docdir@&$docdir&g
6066 s&@infodir@&$infodir&g
6067 s&@localedir@&$localedir&g
6068 s&@mandir@&$mandir&g
6069 s&\\\${datarootdir}&$datarootdir&g' ;;
6073 # Neutralize VPATH when `$srcdir' = `.'.
6074 # Shell code in configure.ac might set extrasub.
6075 # FIXME: do we really want to maintain this feature?
6076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6077 ac_sed_extra="$ac_vpsub
6080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6082 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6083 s|@configure_input@|
$ac_sed_conf_input|
;t t
6084 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6085 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6086 s
&@srcdir@
&$ac_srcdir&;t t
6087 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6088 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6089 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6090 s
&@builddir@
&$ac_builddir&;t t
6091 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6092 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6093 $ac_datarootdir_hack
6095 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6096 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6099 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6100 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6102 which seems to be undefined. Please make sure it is defined." >&5
6103 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6104 which seems to be undefined. Please make sure it is defined." >&2;}
6108 -) cat "$tmp/out" && rm -f "$tmp/out";;
6109 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6111 || as_fn_error "could not create $ac_file" "$LINENO" 5
6117 if test x"$ac_file" != x-; then
6119 $as_echo "/* $configure_input */" \
6120 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6121 } >"$tmp/config.h" \
6122 || as_fn_error "could not create $ac_file" "$LINENO" 5
6123 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6125 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6128 mv "$tmp/config.h" "$ac_file" \
6129 || as_fn_error "could not create $ac_file" "$LINENO" 5
6132 $as_echo "/* $configure_input */" \
6133 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6134 || as_fn_error "could not create -" "$LINENO" 5
6138 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6139 $as_echo "$as_me: executing $ac_file commands" >&6;}
6144 case $ac_file$ac_mode in
6146 if test "$GCC" = yes; then
6147 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6149 echo "/* generated for $CC */" > tmp-stdint.h
6152 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6154 #ifndef GCC_GENERATED_STDINT_H
6155 #define GCC_GENERATED_STDINT_H 1
6157 #include <sys/types.h>
6160 if test "$acx_cv_header_stdint" != stdint.h; then
6161 echo "#include <stddef.h>" >> tmp-stdint.h
6163 if test "$acx_cv_header_stdint" != stddef.h; then
6164 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6167 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6168 /* glibc uses these symbols as guards to prevent redefinitions. */
6169 #ifdef __int8_t_defined
6174 #ifdef __uint32_t_defined
6180 # ----------------- done header, emit basic int types -------------
6181 if test "$acx_cv_header_stdint" = stddef.h; then
6182 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6186 #ifndef __uint8_t_defined
6187 #define __uint8_t_defined
6189 typedef unsigned $acx_cv_type_int8_t uint8_t;
6196 #ifndef __uint16_t_defined
6197 #define __uint16_t_defined
6199 typedef unsigned $acx_cv_type_int16_t uint16_t;
6206 #ifndef __uint32_t_defined
6207 #define __uint32_t_defined
6209 typedef unsigned $acx_cv_type_int32_t uint32_t;
6216 #ifndef __int8_t_defined
6217 #define __int8_t_defined
6219 typedef $acx_cv_type_int8_t int8_t;
6226 #ifndef __int16_t_defined
6227 #define __int16_t_defined
6229 typedef $acx_cv_type_int16_t int16_t;
6236 #ifndef __int32_t_defined
6237 #define __int32_t_defined
6239 typedef $acx_cv_type_int32_t int32_t;
6244 elif test "$ac_cv_type_u_int32_t" = yes; then
6245 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6247 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6260 #ifndef __uint8_t_defined
6261 #define __uint8_t_defined
6263 typedef u_int8_t uint8_t;
6270 #ifndef __uint16_t_defined
6271 #define __uint16_t_defined
6273 typedef u_int16_t uint16_t;
6280 #ifndef __uint32_t_defined
6281 #define __uint32_t_defined
6283 typedef u_int32_t uint32_t;
6289 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6291 /* Some systems have guard macros to prevent redefinitions, define them. */
6313 # ------------- done basic int types, emit int64_t types ------------
6314 if test "$ac_cv_type_uint64_t" = yes; then
6315 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6317 /* system headers have good uint64_t and int64_t */
6325 elif test "$ac_cv_type_u_int64_t" = yes; then
6326 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6328 /* system headers have an u_int64_t (and int64_t) */
6334 #ifndef __uint64_t_defined
6335 #define __uint64_t_defined
6337 typedef u_int64_t uint64_t;
6342 elif test -n "$acx_cv_type_int64_t"; then
6343 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6345 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6349 typedef $acx_cv_type_int64_t int64_t;
6354 #ifndef __uint64_t_defined
6355 #define __uint64_t_defined
6357 typedef unsigned $acx_cv_type_int64_t uint64_t;
6363 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6365 /* some common heuristics for int64_t, using compiler-specific tests */
6366 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6369 #ifndef __int64_t_defined
6371 typedef long long int64_t;
6378 typedef unsigned long long uint64_t;
6382 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6383 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6384 does not implement __extension__. But that compiler doesn't define
6386 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6387 # define __extension__
6393 __extension__ typedef long long int64_t
;
6399 __extension__ typedef unsigned long long uint64_t
;
6403 #elif !defined __STRICT_ANSI__
6404 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6409 typedef __int64 int64_t
;
6415 typedef unsigned __int64 uint64_t
;
6418 # endif /* compiler */
6420 #endif /* ANSI version */
6424 # ------------- done int64_t types, emit intptr types ------------
6425 if test "$ac_cv_type_uintptr_t" != yes; then
6426 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6428 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6429 #ifndef __uintptr_t_defined
6431 typedef u$acx_cv_type_intptr_t uintptr_t;
6434 #ifndef __intptr_t_defined
6436 typedef $acx_cv_type_intptr_t intptr_t;
6442 # ------------- done intptr types, emit int_least types ------------
6443 if test "$ac_cv_type_int_least32_t" != yes; then
6444 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6446 /* Define int_least types */
6447 typedef int8_t int_least8_t;
6448 typedef int16_t int_least16_t;
6449 typedef int32_t int_least32_t;
6451 typedef int64_t int_least64_t;
6454 typedef uint8_t uint_least8_t;
6455 typedef uint16_t uint_least16_t;
6456 typedef uint32_t uint_least32_t;
6458 typedef uint64_t uint_least64_t;
6463 # ------------- done intptr types, emit int_fast types ------------
6464 if test "$ac_cv_type_int_fast32_t" != yes; then
6465 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6467 /* Define int_fast types. short is often slow */
6468 typedef int8_t int_fast8_t;
6469 typedef int int_fast16_t;
6470 typedef int32_t int_fast32_t;
6472 typedef int64_t int_fast64_t;
6475 typedef uint8_t uint_fast8_t;
6476 typedef unsigned int uint_fast16_t;
6477 typedef uint32_t uint_fast32_t;
6479 typedef uint64_t uint_fast64_t;
6484 if test "$ac_cv_type_uintmax_t" != yes; then
6485 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6487 /* Define intmax based on what we found */
6490 typedef int64_t intmax_t;
6492 typedef long intmax_t;
6497 typedef uint64_t uintmax_t;
6499 typedef unsigned long uintmax_t;
6505 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6507 #endif /* GCC_GENERATED_STDINT_H */
6510 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6513 mv -f tmp-stdint.h gstdint.h
6517 "config.h":H
) echo timestamp
> stamp-h1
;;
6525 ac_clean_files
=$ac_clean_files_save
6527 test $ac_write_fail = 0 ||
6528 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6531 # configure is writing to config.log, and then calls config.status.
6532 # config.status does its own redirection, appending to config.log.
6533 # Unfortunately, on DOS this fails, as config.log is still kept open
6534 # by configure, so config.status won't be able to write to it; its
6535 # output is simply discarded. So we exec the FD to /dev/null,
6536 # effectively closing config.log, so it can be properly (re)opened and
6537 # appended to by config.status. When coming back to configure, we
6538 # need to make the FD available again.
6539 if test "$no_create" != yes; then
6541 ac_config_status_args
=
6542 test "$silent" = yes &&
6543 ac_config_status_args
="$ac_config_status_args --quiet"
6545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6548 # would make configure fail if this is the last instruction.
6549 $ac_cs_success || as_fn_exit $?
6551 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6553 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}