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
657 program_transform_name
670 enable_option_checking
672 enable_maintainer_mode
676 ac_precious_vars
='build_alias
687 # Initialize some variables set by options.
689 ac_init_version
=false
690 ac_unrecognized_opts
=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
701 program_transform_name
=s
,x
,x
,
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir
='${exec_prefix}/bin'
716 sbindir
='${exec_prefix}/sbin'
717 libexecdir
='${exec_prefix}/libexec'
718 datarootdir
='${prefix}/share'
719 datadir
='${datarootdir}'
720 sysconfdir
='${prefix}/etc'
721 sharedstatedir
='${prefix}/com'
722 localstatedir
='${prefix}/var'
723 includedir
='${prefix}/include'
724 oldincludedir
='/usr/include'
725 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
726 infodir
='${datarootdir}/info'
731 libdir
='${exec_prefix}/lib'
732 localedir
='${datarootdir}/locale'
733 mandir
='${datarootdir}/man'
739 # If the previous option needs an argument, assign it.
740 if test -n "$ac_prev"; then
741 eval $ac_prev=\
$ac_option
747 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
759 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
762 -build |
--build |
--buil |
--bui |
--bu)
763 ac_prev
=build_alias
;;
764 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
765 build_alias
=$ac_optarg ;;
767 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
768 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
769 ac_prev
=cache_file
;;
770 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
771 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
772 cache_file
=$ac_optarg ;;
775 cache_file
=config.cache
;;
777 -datadir |
--datadir |
--datadi |
--datad)
779 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
780 datadir
=$ac_optarg ;;
782 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
783 |
--dataroo |
--dataro |
--datar)
784 ac_prev
=datarootdir
;;
785 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
786 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
787 datarootdir
=$ac_optarg ;;
789 -disable-* |
--disable-*)
790 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
793 as_fn_error
"invalid feature name: $ac_useropt"
794 ac_useropt_orig
=$ac_useropt
795 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep
=', ';;
803 eval enable_
$ac_useropt=no
;;
805 -docdir |
--docdir |
--docdi |
--doc |
--do)
807 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
810 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
812 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
815 -enable-* |
--enable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=\
$ac_optarg ;;
831 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
832 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
833 |
--exec |
--exe |
--ex)
834 ac_prev
=exec_prefix
;;
835 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
836 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
837 |
--exec=* |
--exe=* |
--ex=*)
838 exec_prefix
=$ac_optarg ;;
840 -gas |
--gas |
--ga |
--g)
841 # Obsolete; use --with-gas.
844 -help |
--help |
--hel |
--he |
-h)
846 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
847 ac_init_help
=recursive
;;
848 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
849 ac_init_help
=short
;;
851 -host |
--host |
--hos |
--ho)
852 ac_prev
=host_alias
;;
853 -host=* |
--host=* |
--hos=* |
--ho=*)
854 host_alias
=$ac_optarg ;;
856 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
858 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
860 htmldir
=$ac_optarg ;;
862 -includedir |
--includedir |
--includedi |
--included |
--include \
863 |
--includ |
--inclu |
--incl |
--inc)
864 ac_prev
=includedir
;;
865 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
866 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
867 includedir
=$ac_optarg ;;
869 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
871 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
872 infodir
=$ac_optarg ;;
874 -libdir |
--libdir |
--libdi |
--libd)
876 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
879 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
880 |
--libexe |
--libex |
--libe)
881 ac_prev
=libexecdir
;;
882 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
883 |
--libexe=* |
--libex=* |
--libe=*)
884 libexecdir
=$ac_optarg ;;
886 -localedir |
--localedir |
--localedi |
--localed |
--locale)
888 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
889 localedir
=$ac_optarg ;;
891 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
892 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
893 ac_prev
=localstatedir
;;
894 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
895 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
896 localstatedir
=$ac_optarg ;;
898 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
900 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
904 # Obsolete; use --without-fp.
907 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
908 |
--no-cr |
--no-c |
-n)
911 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
912 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
915 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
916 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
917 |
--oldin |
--oldi |
--old |
--ol |
--o)
918 ac_prev
=oldincludedir
;;
919 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
920 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
921 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
922 oldincludedir
=$ac_optarg ;;
924 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
926 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
929 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
930 |
--program-pre |
--program-pr |
--program-p)
931 ac_prev
=program_prefix
;;
932 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
933 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
934 program_prefix
=$ac_optarg ;;
936 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
937 |
--program-suf |
--program-su |
--program-s)
938 ac_prev
=program_suffix
;;
939 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
940 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
941 program_suffix
=$ac_optarg ;;
943 -program-transform-name |
--program-transform-name \
944 |
--program-transform-nam |
--program-transform-na \
945 |
--program-transform-n |
--program-transform- \
946 |
--program-transform |
--program-transfor \
947 |
--program-transfo |
--program-transf \
948 |
--program-trans |
--program-tran \
949 |
--progr-tra |
--program-tr |
--program-t)
950 ac_prev
=program_transform_name
;;
951 -program-transform-name=* |
--program-transform-name=* \
952 |
--program-transform-nam=* |
--program-transform-na=* \
953 |
--program-transform-n=* |
--program-transform-=* \
954 |
--program-transform=* |
--program-transfor=* \
955 |
--program-transfo=* |
--program-transf=* \
956 |
--program-trans=* |
--program-tran=* \
957 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
958 program_transform_name
=$ac_optarg ;;
960 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
962 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
965 -psdir |
--psdir |
--psdi |
--psd |
--ps)
967 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
971 |
-silent |
--silent |
--silen |
--sile |
--sil)
974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
978 sbindir
=$ac_optarg ;;
980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
984 ac_prev
=sharedstatedir
;;
985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
989 sharedstatedir
=$ac_optarg ;;
991 -site |
--site |
--sit)
993 -site=* |
--site=* |
--sit=*)
996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1003 ac_prev
=sysconfdir
;;
1004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1006 sysconfdir
=$ac_optarg ;;
1008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1009 ac_prev
=target_alias
;;
1010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1011 target_alias
=$ac_optarg ;;
1013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1016 -version |
--version |
--versio |
--versi |
--vers |
-V)
1017 ac_init_version
=: ;;
1020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error
"invalid package name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval with_
$ac_useropt=\
$ac_optarg ;;
1035 -without-* |
--without-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=no
;;
1052 # Obsolete; use --with-x.
1055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1057 ac_prev
=x_includes
;;
1058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1060 x_includes
=$ac_optarg ;;
1062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1064 ac_prev
=x_libraries
;;
1065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1067 x_libraries
=$ac_optarg ;;
1069 -*) as_fn_error
"unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information."
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1078 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\
$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1094 if test -n "$ac_prev"; then
1095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error
"missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val
=\$
$ac_var
1114 # Remove trailing slashes.
1117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\
$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$
]* | ?
:[\\/]* ) continue;;
1123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1125 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target
=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x
; then
1137 if test "x$build_alias" = x
; then
1138 cross_compiling
=maybe
1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1147 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1149 test "$silent" = yes && exec 6>/dev
/null
1152 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di
=`ls -di .` &&
1154 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error
"working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error
"pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted
=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir
=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1192 ac_srcdir_defaulted
=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1196 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var
in $ac_precious_vars; do
1213 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1215 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures libdecnumber to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1284 --build=BUILD configure
for building on BUILD
[guessed
]
1285 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1286 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1290 if test -n "$ac_init_help"; then
1291 case $ac_init_help in
1292 short | recursive
) echo "Configuration of libdecnumber :";;
1297 --disable-option-checking ignore unrecognized
--enable/--with options
1298 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1299 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1300 --enable-werror-always enable -Werror despite compiler version
1301 --enable-maintainer-mode enable rules only needed by maintainers
1302 --enable-decimal-float={no
,yes,bid
,dpd
}
1303 enable decimal float extension to C. Selecting
'bid'
1304 or
'dpd' choses
which decimal floating point format
1306 --enable-host-shared build
host code as shared libraries
1308 Some influential environment variables
:
1309 CC C compiler
command
1310 CFLAGS C compiler flags
1311 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1312 nonstandard directory
<lib dir
>
1313 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1314 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1315 you have headers
in a nonstandard directory
<include dir
>
1318 Use these variables to override the choices made by
`configure' or to help
1319 it to find libraries and programs with nonstandard names/locations.
1321 Report bugs to <gcc-bugs@gcc.gnu.org>.
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" ||
1330 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1384 libdecnumber configure
1385 generated by GNU Autoconf 2.64
1387 Copyright (C) 2009 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1394 ## ------------------------ ##
1395 ## Autoconf initialization. ##
1396 ## ------------------------ ##
1398 # ac_fn_c_try_compile LINENO
1399 # --------------------------
1400 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1401 ac_fn_c_try_compile ()
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 rm -f conftest.$ac_objext
1405 if { { ac_try="$ac_compile"
1407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1408 *) ac_try_echo
=$ac_try;;
1410 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411 $as_echo "$ac_try_echo"; } >&5
1412 (eval "$ac_compile") 2>conftest.err
1414 if test -s conftest.err
; then
1415 grep -v '^ *+' conftest.err
>conftest.er1
1416 cat conftest.er1
>&5
1417 mv -f conftest.er1 conftest.err
1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420 test $ac_status = 0; } && {
1421 test -z "$ac_c_werror_flag" ||
1422 test ! -s conftest.err
1423 } && test -s conftest.
$ac_objext; then :
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.
$ac_ext >&5
1431 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1434 } # ac_fn_c_try_compile
1436 # ac_fn_c_try_cpp LINENO
1437 # ----------------------
1438 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1441 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1442 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1445 *) ac_try_echo=$ac_try;;
1447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1451 if test -s conftest.err; then
1452 grep -v '^ *+' conftest.err >conftest.er1
1453 cat conftest.er1 >&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } >/dev/null && {
1458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1459 test ! -s conftest.err
1463 $as_echo "$as_me: failed program was:" >&5
1464 sed 's/^/| /' conftest.$ac_ext >&5
1468 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1474 # -------------------------------------------------------
1475 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1476 # the include files in INCLUDES and setting the cache variable VAR
1478 ac_fn_c_check_header_mongrel ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1483 $as_echo_n "checking for $2... " >&6; }
1484 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1485 $as_echo_n "(cached) " >&6
1488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1489 $as_echo "$ac_res" >&6; }
1491 # Is the header compilable?
1492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1493 $as_echo_n "checking $2 usability... " >&6; }
1494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1495 /* end confdefs.h. */
1499 if ac_fn_c_try_compile "$LINENO"; then :
1500 ac_header_compiler=yes
1502 ac_header_compiler=no
1504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1506 $as_echo "$ac_header_compiler" >&6; }
1508 # Is the header present?
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1510 $as_echo_n "checking $2 presence... " >&6; }
1511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1512 /* end confdefs.h. */
1515 if ac_fn_c_try_cpp "$LINENO"; then :
1516 ac_header_preproc=yes
1518 ac_header_preproc=no
1520 rm -f conftest.err conftest.$ac_ext
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1522 $as_echo "$ac_header_preproc" >&6; }
1524 # So? What about this header?
1525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1528 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1530 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1534 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1536 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1538 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1540 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1542 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1544 ## ----------------------------------- ##
1545 ## Report this to gcc-bugs@gcc.gnu.org ##
1546 ## ----------------------------------- ##
1548 ) | sed "s/^/$as_me: WARNING: /" >&2
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1552 $as_echo_n "checking for $2... " >&6; }
1553 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1554 $as_echo_n "(cached) " >&6
1556 eval "$3=\$ac_header_compiler"
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1560 $as_echo "$ac_res" >&6; }
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1564 } # ac_fn_c_check_header_mongrel
1566 # ac_fn_c_try_run LINENO
1567 # ----------------------
1568 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1569 # that executables *can* be run.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_link"
1575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1576 *) ac_try_echo
=$ac_try;;
1578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_link") 2>&5
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1584 { { case "(($ac_try" in
1585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_try") 2>&5
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; }; }; then :
1596 $as_echo "$as_me: program exited with status $ac_status" >&5
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1600 ac_retval=$ac_status
1602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1603 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1609 # -------------------------------------------------------
1610 # Tests whether HEADER exists and can be compiled using the include files in
1611 # INCLUDES, setting the cache variable VAR accordingly.
1612 ac_fn_c_check_header_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1618 $as_echo_n "(cached) " >&6
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1625 if ac_fn_c_try_compile "$LINENO"; then :
1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637 } # ac_fn_c_check_header_compile
1639 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1640 # -------------------------------------------
1641 # Tests whether TYPE exists after having included INCLUDES, setting cache
1642 # variable VAR accordingly.
1643 ac_fn_c_check_type ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1649 $as_echo_n "(cached) " >&6
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1664 if ac_fn_c_try_compile "$LINENO"; then :
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1677 if ac_fn_c_try_compile "$LINENO"; then :
1682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691 } # ac_fn_c_check_type
1693 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1694 # --------------------------------------------
1695 # Tries to find the compile-time value of EXPR in a program that includes
1696 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1698 ac_fn_c_compute_int ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if test "$cross_compiling" = yes; then
1702 # Depending upon the size, compute the lo and hi bounds.
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1709 static int test_array [1 - 2 * !(($2) >= 0)];
1716 if ac_fn_c_try_compile "$LINENO"; then :
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1725 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1732 if ac_fn_c_try_compile "$LINENO"; then :
1733 ac_hi=$ac_mid; break
1735 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1736 if test $ac_lo -le $ac_mid; then
1740 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1751 static int test_array [1 - 2 * !(($2) < 0)];
1758 if ac_fn_c_try_compile "$LINENO"; then :
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1767 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1774 if ac_fn_c_try_compile "$LINENO"; then :
1775 ac_lo=$ac_mid; break
1777 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1778 if test $ac_mid -le $ac_hi; then
1782 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 # Binary search between lo and hi bounds.
1793 while test "x$ac_lo" != "x$ac_hi"; do
1794 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1801 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1808 if ac_fn_c_try_compile "$LINENO"; then :
1811 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1823 static long int longval () { return $2; }
1824 static unsigned long int ulongval () { return $2; }
1831 FILE *f = fopen ("conftest.val", "w");
1836 long int i = longval ();
1839 fprintf (f, "%ld", i);
1843 unsigned long int i = ulongval ();
1846 fprintf (f, "%lu", i);
1848 /* Do not output a trailing newline, as this causes \r\n confusion
1849 on some platforms. */
1850 return ferror (f) || fclose (f) != 0;
1856 if ac_fn_c_try_run "$LINENO"; then :
1857 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1862 conftest.$ac_objext conftest.beam conftest.$ac_ext
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 } # ac_fn_c_compute_int
1870 cat >config.log <<_ACEOF
1871 This file contains any messages produced by compilers while
1872 running configure, to aid debugging if configure makes a mistake.
1874 It was created by libdecnumber $as_me , which was
1875 generated by GNU Autoconf 2.64. Invocation command line was
1887 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1888 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1889 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1890 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1891 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1893 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1894 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1896 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1897 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1898 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1899 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1900 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1901 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1902 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 $as_echo "PATH: $as_dir"
1927 # Keep a trace of the command line.
1928 # Strip out --no-create and --no-recursion so they do not pile up.
1929 # Strip out --silent because we don't want to record it for future runs.
1930 # Also quote any args containing shell meta-characters.
1931 # Make two passes to allow for proper duplicate-argument suppression.
1935 ac_must_keep_next=false
1941 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1943 | -silent | --silent | --silen | --sile | --sil)
1946 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1949 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1951 as_fn_append ac_configure_args1 " '$ac_arg'"
1952 if test $ac_must_keep_next = true; then
1953 ac_must_keep_next=false # Got value, back to normal.
1956 *=* | --config-cache | -C | -disable-* | --disable-* \
1957 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1958 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1959 | -with-* | --with-* | -without-* | --without-* | --x)
1960 case "$ac_configure_args0 " in
1961 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964 -* ) ac_must_keep_next=true ;;
1967 as_fn_append ac_configure_args " '$ac_arg'"
1972 { ac_configure_args0=; unset ac_configure_args0;}
1973 { ac_configure_args1=; unset ac_configure_args1;}
1975 # When interrupted or exit'd, cleanup temporary files, and complete
1976 # config.log. We remove comments because anyway the quotes in there
1977 # would cause problems or look ugly.
1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980 trap 'exit_status=$?
1981 # Save into config.log some information that might help in debugging.
1986 ## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##
1991 # The following way of writing the cache mishandles newlines in values,
1993 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1994 eval ac_val=\$$ac_var
1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002 _ | IFS | as_nl) ;; #(
2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004 *) { eval $ac_var=; unset $ac_var;} ;;
2009 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2010 *${as_nl}ac_space=\ *)
2012 "s/'\''/'\''\\\\'\'''\''/g;
2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2024 ## ----------------- ##
2025 ## Output variables. ##
2026 ## ----------------- ##
2029 for ac_var in $ac_subst_vars
2031 eval ac_val=\$$ac_var
2033 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 $as_echo "$ac_var='\''$ac_val'\''"
2039 if test -n "$ac_subst_files"; then
2041 ## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##
2046 for ac_var in $ac_subst_files
2048 eval ac_val=\$$ac_var
2050 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -s confdefs.h; then
2067 test "$ac_signal" != 0 &&
2068 $as_echo "$as_me: caught signal $ac_signal"
2069 $as_echo "$as_me: exit $exit_status"
2071 rm -f core *.core core.conftest.* &&
2072 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2075 for ac_signal in 1 2 13 15; do
2076 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2081 rm -f -r conftest* confdefs.h
2083 $as_echo "/* confdefs.h */" > confdefs.h
2085 # Predefined preprocessor variables.
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_NAME "$PACKAGE_NAME"
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_STRING "$PACKAGE_STRING"
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2107 cat >>confdefs.h <<_ACEOF
2108 #define PACKAGE_URL "$PACKAGE_URL"
2112 # Let the site file select an alternate cache file if it wants to.
2113 # Prefer an explicitly selected file to automatically selected ones.
2116 if test -n "$CONFIG_SITE"; then
2117 ac_site_file1=$CONFIG_SITE
2118 elif test "x$prefix" != xNONE; then
2119 ac_site_file1=$prefix/share/config.site
2120 ac_site_file2=$prefix/etc/config.site
2122 ac_site_file1=$ac_default_prefix/share/config.site
2123 ac_site_file2=$ac_default_prefix/etc/config.site
2125 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2127 test "x$ac_site_file" = xNONE && continue
2128 if test -r "$ac_site_file"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2130 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2131 sed 's/^/| /' "$ac_site_file" >&5
2136 if test -r "$cache_file"; then
2137 # Some versions of bash will fail to source /dev/null (special
2138 # files actually), so we avoid doing that.
2139 if test -f "$cache_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2141 $as_echo "$as_me: loading cache $cache_file" >&6;}
2143 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2144 *) . "./$cache_file";;
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2149 $as_echo "$as_me: creating cache $cache_file" >&6;}
2153 # Check that the precious variables saved in the cache have kept the same
2155 ac_cache_corrupted=false
2156 for ac_var in $ac_precious_vars; do
2157 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2158 eval ac_new_set=\$ac_env_${ac_var}_set
2159 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2160 eval ac_new_val=\$ac_env_${ac_var}_value
2161 case $ac_old_set,$ac_new_set in
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2164 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2165 ac_cache_corrupted=: ;;
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2168 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2169 ac_cache_corrupted=: ;;
2172 if test "x$ac_old_val" != "x$ac_new_val"; then
2173 # differences in whitespace do not lead to failure.
2174 ac_old_val_w=`echo x
$ac_old_val`
2175 ac_new_val_w=`echo x
$ac_new_val`
2176 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2178 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2179 ac_cache_corrupted=:
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2182 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2183 eval $ac_var=\$ac_old_val
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2186 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2188 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2191 # Pass precious variables to config.status.
2192 if test "$ac_new_set" = set; then
2194 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2195 *) ac_arg=$ac_var=$ac_new_val ;;
2197 case " $ac_configure_args " in
2198 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2199 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2203 if $ac_cache_corrupted; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2207 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2208 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2210 ## -------------------- ##
2211 ## Main body of script. ##
2212 ## -------------------- ##
2215 ac_cpp='$CPP $CPPFLAGS'
2216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2227 for ac_dir in .. "$srcdir"/..; do
2228 for ac_t in install-sh install.sh shtool; do
2229 if test -f "$ac_dir/$ac_t"; then
2231 ac_install_sh="$ac_aux_dir/$ac_t -c"
2236 if test -z "$ac_aux_dir"; then
2237 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2240 # These three variables are undocumented and unsupported,
2241 # and are intended to be withdrawn in a future Autoconf release.
2242 # They can cause serious problems if a builder's source tree is in a directory
2243 # whose full name contains unusual characters.
2244 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2245 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2246 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2250 # Checks for programs.
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2252 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2254 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2255 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2256 $as_echo_n "(cached) " >&6
2258 cat >conftest.make <<\_ACEOF
2261 @echo '@@@%%%=$(MAKE)=@@@%%%'
2263 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2264 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2266 eval ac_cv_prog_make_${ac_make}_set=yes;;
2268 eval ac_cv_prog_make_${ac_make}_set=no;;
2272 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2274 $as_echo "yes" >&6; }
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2278 $as_echo "no" >&6; }
2279 SET_MAKE="MAKE=${MAKE-make}"
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2326 if test -z "$ac_cv_prog_CC"; then
2328 # Extract the first word of "gcc", so it can be a program name with args.
2329 set dummy gcc; ac_word=$2
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2333 $as_echo_n "(cached) " >&6
2335 if test -n "$ac_ct_CC"; then
2336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_prog_ac_ct_CC="gcc"
2346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2356 if test -n "$ac_ct_CC"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2358 $as_echo "$ac_ct_CC" >&6; }
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2361 $as_echo "no" >&6; }
2364 if test "x$ac_ct_CC" = x; then
2367 case $cross_compiling:$ac_tool_warned in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2371 ac_tool_warned=yes ;;
2379 if test -z "$CC"; then
2380 if test -n "$ac_tool_prefix"; then
2381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2382 set dummy ${ac_tool_prefix}cc; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if test "${ac_cv_prog_CC+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_CC="${ac_tool_prefix}cc"
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$CC"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2411 $as_echo "$CC" >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2420 if test -z "$CC"; then
2421 # Extract the first word of "cc", so it can be a program name with args.
2422 set dummy cc; ac_word=$2
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if test "${ac_cv_prog_CC+set}" = set; then :
2426 $as_echo_n "(cached) " >&6
2428 if test -n "$CC"; then
2429 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2440 ac_prog_rejected=yes
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test $ac_prog_rejected = yes; then
2452 # We found a bogon in the path, so make sure we never use it.
2453 set dummy $ac_cv_prog_CC
2455 if test $# != 0; then
2456 # We chose a different compiler from the bogus one.
2457 # However, it has the same basename, so the bogon will be chosen
2458 # first if we set CC to just the basename; use the full file name.
2460 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 if test -n "$CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2468 $as_echo "$CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2476 if test -z "$CC"; then
2477 if test -n "$ac_tool_prefix"; then
2478 for ac_prog in cl.exe
2480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2481 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if test "${ac_cv_prog_CC+set}" = set; then :
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$CC"; then
2488 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test -n "$CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2517 test -n "$CC" && break
2520 if test -z "$CC"; then
2522 for ac_prog in cl.exe
2524 # Extract the first word of "$ac_prog", so it can be a program name with args.
2525 set dummy $ac_prog; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$ac_ct_CC"; then
2532 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_ac_ct_CC="$ac_prog"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2552 if test -n "$ac_ct_CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2554 $as_echo "$ac_ct_CC" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2561 test -n "$ac_ct_CC" && break
2564 if test "x$ac_ct_CC" = x; then
2567 case $cross_compiling:$ac_tool_warned in
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2571 ac_tool_warned=yes ;;
2580 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error "no acceptable C compiler found
in \
$PATH
2583 See \
`config.log' for more details." "$LINENO" 5; }
2585 # Provide some information about the compiler.
2586 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2589 for ac_option in --version -v -V -qversion; do
2590 { { ac_try="$ac_compiler $ac_option >&5"
2592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2593 *) ac_try_echo
=$ac_try;;
2595 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596 $as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2599 if test -s conftest.err
; then
2601 ... rest of stderr output deleted ...
2602 10q' conftest.err
>conftest.er1
2603 cat conftest.er1
>&5
2604 rm -f conftest.er1 conftest.err
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; }
2610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2621 ac_clean_files_save
=$ac_clean_files
2622 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2623 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2627 $as_echo_n "checking for C compiler default output file name... " >&6; }
2628 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2630 # The possible output files:
2631 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2634 for ac_file
in $ac_files
2637 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2638 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2643 if { { ac_try
="$ac_link_default"
2645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link_default") 2>&5
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; }; then :
2654 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2655 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2656 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2657 # so that the user can short-circuit this test for compilers unknown to
2659 for ac_file in $ac_files ''
2661 test -f "$ac_file" || continue
2663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2666 # We found the default executable, but exeext='' is most
2670 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2672 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2674 # We set ac_cv_exeext here because the later test for it is not
2675 # safe: cross compilers may not add the suffix if given an `-o'
2676 # argument, so we may need to know it at that point already.
2677 # Even if this section looks crufty: it has the advantage of
2684 test "$ac_cv_exeext" = no && ac_cv_exeext=
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2690 $as_echo "$ac_file" >&6; }
2691 if test -z "$ac_file"; then :
2692 $as_echo "$as_me: failed program was:" >&5
2693 sed 's
/^
/|
/' conftest.$ac_ext >&5
2695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2696 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2697 { as_fn_set_status 77
2698 as_fn_error "C compiler cannot create executables
2699 See \`config.log
' for more details." "$LINENO" 5; }; }
2701 ac_exeext=$ac_cv_exeext
2703 # Check that the compiler produces executables we can run. If not, either
2704 # the compiler is broken, or we cross compile.
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2706 $as_echo_n "checking whether the C compiler works... " >&6; }
2707 # If not cross compiling, check that we can run a simple program.
2708 if test "$cross_compiling" != yes; then
2709 if { ac_try='.
/$ac_file'
2710 { { case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_try") 2>&5
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }; }; then
2722 if test "$cross_compiling" = maybe; then
2725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2726 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2727 as_fn_error "cannot run C compiled programs.
2728 If you meant to cross compile, use \`--host'.
2729 See \`config.log' for more details.
" "$LINENO" 5; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2734 $as_echo "yes" >&6; }
2736 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2737 ac_clean_files=$ac_clean_files_save
2738 # Check that the compiler produces executables we can run. If not, either
2739 # the compiler is broken, or we cross compile.
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2741 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2743 $as_echo "$cross_compiling" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2746 $as_echo_n "checking
for suffix of executables...
" >&6; }
2747 if { { ac_try="$ac_link"
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_link") 2>&5
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2757 test $ac_status = 0; }; then :
2758 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2759 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2760 # work properly (i.e., refer to `conftest.exe'), while it won't with
2762 for ac_file in conftest.exe conftest conftest.*; do
2763 test -f "$ac_file" || continue
2765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2766 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2774 as_fn_error "cannot compute suffix of executables: cannot compile and link
2775 See \`config.log' for more details.
" "$LINENO" 5; }
2777 rm -f conftest$ac_cv_exeext
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2779 $as_echo "$ac_cv_exeext" >&6; }
2781 rm -f conftest.$ac_ext
2782 EXEEXT=$ac_cv_exeext
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2785 $as_echo_n "checking
for suffix of object files...
" >&6; }
2786 if test "${ac_cv_objext+set}" = set; then :
2787 $as_echo_n "(cached
) " >&6
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2800 rm -f conftest.o conftest.obj
2801 if { { ac_try="$ac_compile"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 $as_echo "$ac_try_echo"; } >&5
2808 (eval "$ac_compile") 2>&5
2810 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2811 test $ac_status = 0; }; then :
2812 for ac_file in conftest.o conftest.obj conftest.*; do
2813 test -f "$ac_file" || continue;
2815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2816 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821 $as_echo "$as_me: failed program was
:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error "cannot compute suffix of object files: cannot compile
2827 See \`config.log' for more details.
" "$LINENO" 5; }
2829 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2832 $as_echo "$ac_cv_objext" >&6; }
2833 OBJEXT=$ac_cv_objext
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2836 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2837 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2838 $as_echo_n "(cached
) " >&6
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2854 if ac_fn_c_try_compile "$LINENO"; then :
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2864 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2865 if test $ac_compiler_gnu = yes; then
2870 ac_test_CFLAGS=${CFLAGS+set}
2871 ac_save_CFLAGS=$CFLAGS
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2873 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2874 if test "${ac_cv_prog_cc_g+set}" = set; then :
2875 $as_echo_n "(cached
) " >&6
2877 ac_save_c_werror_flag=$ac_c_werror_flag
2878 ac_c_werror_flag=yes
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2892 if ac_fn_c_try_compile "$LINENO"; then :
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2907 if ac_fn_c_try_compile "$LINENO"; then :
2910 ac_c_werror_flag=$ac_save_c_werror_flag
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2923 if ac_fn_c_try_compile "$LINENO"; then :
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
2934 $as_echo "$ac_cv_prog_cc_g" >&6; }
2935 if test "$ac_test_CFLAGS" = set; then
2936 CFLAGS=$ac_save_CFLAGS
2937 elif test $ac_cv_prog_cc_g = yes; then
2938 if test "$GCC" = yes; then
2944 if test "$GCC" = yes; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
2951 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
2952 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2953 $as_echo_n "(cached
) " >&6
2955 ac_cv_prog_cc_c89=no
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2961 #include <sys/types.h>
2962 #include <sys/stat.h>
2963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2964 struct buf { int x; };
2965 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2966 static char *e (p, i)
2972 static char *f (char * (*g) (char **, int), char **p, ...)
2977 s = g (p, va_arg (v,int));
2982 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2983 function prototypes and stuff, but not '\xHH' hex character constants.
2984 These don't provoke an error unfortunately, instead are silently treated
2985 as 'x'. The following induces an error, until -std is added to get
2986 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2987 array size at least. It's necessary to write '\x00'==0 to get something
2988 that's true only with -std. */
2989 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2991 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2992 inside strings and character constants. */
2994 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2996 int test (int i, double x);
2997 struct s1 {int (*f) (int a);};
2998 struct s2 {int (*f) (double a);};
2999 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3005 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3010 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3011 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3013 CC="$ac_save_CC $ac_arg"
3014 if ac_fn_c_try_compile "$LINENO"; then :
3015 ac_cv_prog_cc_c89=$ac_arg
3017 rm -f core conftest.err conftest.$ac_objext
3018 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3020 rm -f conftest.$ac_ext
3025 case "x
$ac_cv_prog_cc_c89" in
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3028 $as_echo "none needed
" >&6; } ;;
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3031 $as_echo "unsupported
" >&6; } ;;
3033 CC="$CC $ac_cv_prog_cc_c89"
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3035 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3037 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3042 ac_cpp='$CPP $CPPFLAGS'
3043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3047 if test -n "$ac_tool_prefix"; then
3048 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3051 $as_echo_n "checking
for $ac_word...
" >&6; }
3052 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3053 $as_echo_n "(cached
) " >&6
3055 if test -n "$RANLIB"; then
3056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3075 RANLIB=$ac_cv_prog_RANLIB
3076 if test -n "$RANLIB"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3078 $as_echo "$RANLIB" >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3081 $as_echo "no
" >&6; }
3086 if test -z "$ac_cv_prog_RANLIB"; then
3087 ac_ct_RANLIB=$RANLIB
3088 # Extract the first word of "ranlib
", so it can be a program name with args.
3089 set dummy ranlib; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3091 $as_echo_n "checking
for $ac_word...
" >&6; }
3092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3093 $as_echo_n "(cached
) " >&6
3095 if test -n "$ac_ct_RANLIB"; then
3096 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3116 if test -n "$ac_ct_RANLIB"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3118 $as_echo "$ac_ct_RANLIB" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3121 $as_echo "no
" >&6; }
3124 if test "x
$ac_ct_RANLIB" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3130 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3131 ac_tool_warned=yes ;;
3133 RANLIB=$ac_ct_RANLIB
3136 RANLIB="$ac_cv_prog_RANLIB"
3140 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3141 for ac_prog in aclocal
3143 # Extract the first word of "$ac_prog", so it can be a program name with args.
3144 set dummy $ac_prog; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3146 $as_echo_n "checking
for $ac_word...
" >&6; }
3147 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
3148 $as_echo_n "(cached
) " >&6
3150 if test -n "$ACLOCAL"; then
3151 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_ACLOCAL="$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3170 ACLOCAL=$ac_cv_prog_ACLOCAL
3171 if test -n "$ACLOCAL"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ACLOCAL" >&5
3173 $as_echo "$ACLOCAL" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3176 $as_echo "no
" >&6; }
3180 test -n "$ACLOCAL" && break
3182 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal
"
3184 for ac_prog in autoconf
3186 # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3189 $as_echo_n "checking
for $ac_word...
" >&6; }
3190 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
3191 $as_echo_n "(cached
) " >&6
3193 if test -n "$AUTOCONF"; then
3194 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_AUTOCONF="$ac_prog"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3213 AUTOCONF=$ac_cv_prog_AUTOCONF
3214 if test -n "$AUTOCONF"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOCONF" >&5
3216 $as_echo "$AUTOCONF" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3219 $as_echo "no
" >&6; }
3223 test -n "$AUTOCONF" && break
3225 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf
"
3227 for ac_prog in autoheader
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy $ac_prog; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3232 $as_echo_n "checking
for $ac_word...
" >&6; }
3233 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
3234 $as_echo_n "(cached
) " >&6
3236 if test -n "$AUTOHEADER"; then
3237 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3246 ac_cv_prog_AUTOHEADER="$ac_prog"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3256 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3257 if test -n "$AUTOHEADER"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOHEADER" >&5
3259 $as_echo "$AUTOHEADER" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3262 $as_echo "no
" >&6; }
3266 test -n "$AUTOHEADER" && break
3268 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader
"
3271 # Figure out what compiler warnings we can enable.
3272 # See config/warnings.m4 for details.
3276 save_CFLAGS="$CFLAGS"
3277 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3278 -Wmissing-prototypes -Wold-style-definition \
3279 -Wmissing-format-attribute -Wcast-qual; do
3280 # Do the check with the no- prefix removed since gcc silently
3281 # accepts any -Wno-* option on purpose
3282 case $real_option in
3283 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3284 *) option=$real_option ;;
3286 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
3289 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
3290 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
3291 $as_echo_n "(cached
) " >&6
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 eval "$as_acx_Woption=yes"
3308 eval "$as_acx_Woption=no
"
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 eval ac_res=\$$as_acx_Woption
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3316 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3317 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3320 CFLAGS="$save_CFLAGS"
3323 # Do the check with the no- prefix removed from the warning options
3324 # since gcc silently accepts any -Wno-* option on purpose
3325 if test "$GCC" = yes; then :
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
-pedantic -Wlong-long" >&5
3327 $as_echo_n "checking whether
$CC supports
-pedantic -Wlong-long...
" >&6; }
3328 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
3329 $as_echo_n "(cached
) " >&6
3331 save_CFLAGS="$CFLAGS"
3332 CFLAGS="-pedantic -Wlong-long"
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 acx_cv_prog_cc_pedantic__Wlong_long=yes
3347 acx_cv_prog_cc_pedantic__Wlong_long=no
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 CFLAGS="$save_CFLAGS"
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3353 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3354 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3355 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3361 # Only enable with --enable-werror-always until existing warnings are
3364 # Check whether --enable-werror-always was given.
3365 if test "${enable_werror_always+set}" = set; then :
3366 enableval=$enable_werror_always;
3368 enable_werror_always=no
3371 if test $enable_werror_always = yes; then :
3372 WERROR="$WERROR${WERROR:+ }-Werror"
3377 # Checks for header files.
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3384 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3385 # On Suns, sometimes $CPP names a directory.
3386 if test -n "$CPP" && test -d "$CPP"; then
3389 if test -z "$CPP"; then
3390 if test "${ac_cv_prog_CPP+set}" = set; then :
3391 $as_echo_n "(cached
) " >&6
3393 # Double quotes because CPP needs to be expanded
3394 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3397 for ac_c_preproc_warn_flag in '' yes
3399 # Use a header file that comes with gcc, so configuring glibc
3400 # with a fresh cross-compiler works.
3401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3402 # <limits.h> exists even on freestanding compilers.
3403 # On the NeXT, cc -E runs the code through the compiler's parser,
3404 # not just through cpp. "Syntax error
" is here to catch this case.
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3408 # include <limits.h>
3410 # include <assert.h>
3414 if ac_fn_c_try_cpp "$LINENO"; then :
3417 # Broken: fails on valid input.
3420 rm -f conftest.err conftest.$ac_ext
3422 # OK, works on sane cases. Now check whether nonexistent headers
3423 # can be detected and how.
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3426 #include <ac_nonexistent.h>
3428 if ac_fn_c_try_cpp "$LINENO"; then :
3429 # Broken: success on invalid input.
3432 # Passes both tests.
3436 rm -f conftest.err conftest.$ac_ext
3439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3440 rm -f conftest.err conftest.$ac_ext
3441 if $ac_preproc_ok; then :
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3454 $as_echo "$CPP" >&6; }
3456 for ac_c_preproc_warn_flag in '' yes
3458 # Use a header file that comes with gcc, so configuring glibc
3459 # with a fresh cross-compiler works.
3460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3461 # <limits.h> exists even on freestanding compilers.
3462 # On the NeXT, cc -E runs the code through the compiler's parser,
3463 # not just through cpp. "Syntax error
" is here to catch this case.
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3467 # include <limits.h>
3469 # include <assert.h>
3473 if ac_fn_c_try_cpp "$LINENO"; then :
3476 # Broken: fails on valid input.
3479 rm -f conftest.err conftest.$ac_ext
3481 # OK, works on sane cases. Now check whether nonexistent headers
3482 # can be detected and how.
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3485 #include <ac_nonexistent.h>
3487 if ac_fn_c_try_cpp "$LINENO"; then :
3488 # Broken: success on invalid input.
3491 # Passes both tests.
3495 rm -f conftest.err conftest.$ac_ext
3498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3499 rm -f conftest.err conftest.$ac_ext
3500 if $ac_preproc_ok; then :
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3506 See \`config.log' for more details.
" "$LINENO" 5; }
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3517 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3518 if test "${ac_cv_path_GREP+set}" = set; then :
3519 $as_echo_n "(cached
) " >&6
3521 if test -z "$GREP"; then
3522 ac_path_GREP_found=false
3523 # Loop through the user's path and test for each of PROGNAME-LIST
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3528 test -z "$as_dir" && as_dir=.
3529 for ac_prog in grep ggrep; do
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3532 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3533 # Check for GNU ac_path_GREP and select it if it is found.
3534 # Check for GNU $ac_path_GREP
3535 case `"$ac_path_GREP" --version 2>&1` in
3537 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3540 $as_echo_n 0123456789 >"conftest.
in"
3543 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3544 mv "conftest.tmp
" "conftest.
in"
3545 cp "conftest.
in" "conftest.
nl"
3546 $as_echo 'GREP' >> "conftest.
nl"
3547 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3548 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3549 as_fn_arith $ac_count + 1 && ac_count=$as_val
3550 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3551 # Best one so far, save it but keep looking for a better one
3552 ac_cv_path_GREP="$ac_path_GREP"
3553 ac_path_GREP_max=$ac_count
3555 # 10*(2^10) chars as input seems more than enough
3556 test $ac_count -gt 10 && break
3558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3561 $ac_path_GREP_found && break 3
3566 if test -z "$ac_cv_path_GREP"; then
3567 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3570 ac_cv_path_GREP=$GREP
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3575 $as_echo "$ac_cv_path_GREP" >&6; }
3576 GREP="$ac_cv_path_GREP"
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3580 $as_echo_n "checking
for egrep...
" >&6; }
3581 if test "${ac_cv_path_EGREP+set}" = set; then :
3582 $as_echo_n "(cached
) " >&6
3584 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3585 then ac_cv_path_EGREP="$GREP -E"
3587 if test -z "$EGREP"; then
3588 ac_path_EGREP_found=false
3589 # Loop through the user's path and test for each of PROGNAME-LIST
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3594 test -z "$as_dir" && as_dir=.
3595 for ac_prog in egrep; do
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3598 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3599 # Check for GNU ac_path_EGREP and select it if it is found.
3600 # Check for GNU $ac_path_EGREP
3601 case `"$ac_path_EGREP" --version 2>&1` in
3603 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3606 $as_echo_n 0123456789 >"conftest.
in"
3609 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3610 mv "conftest.tmp
" "conftest.
in"
3611 cp "conftest.
in" "conftest.
nl"
3612 $as_echo 'EGREP' >> "conftest.
nl"
3613 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3614 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3615 as_fn_arith $ac_count + 1 && ac_count=$as_val
3616 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3617 # Best one so far, save it but keep looking for a better one
3618 ac_cv_path_EGREP="$ac_path_EGREP"
3619 ac_path_EGREP_max=$ac_count
3621 # 10*(2^10) chars as input seems more than enough
3622 test $ac_count -gt 10 && break
3624 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3627 $ac_path_EGREP_found && break 3
3632 if test -z "$ac_cv_path_EGREP"; then
3633 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3636 ac_cv_path_EGREP=$EGREP
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3642 $as_echo "$ac_cv_path_EGREP" >&6; }
3643 EGREP="$ac_cv_path_EGREP"
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3647 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3648 if test "${ac_cv_header_stdc+set}" = set; then :
3649 $as_echo_n "(cached
) " >&6
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667 ac_cv_header_stdc=yes
3669 ac_cv_header_stdc=no
3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673 if test $ac_cv_header_stdc = yes; then
3674 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3680 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3681 $EGREP "memchr
" >/dev/null 2>&1; then :
3684 ac_cv_header_stdc=no
3690 if test $ac_cv_header_stdc = yes; then
3691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3697 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3698 $EGREP "free
" >/dev/null 2>&1; then :
3701 ac_cv_header_stdc=no
3707 if test $ac_cv_header_stdc = yes; then
3708 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3709 if test "$cross_compiling" = yes; then :
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3716 #if ((' ' & 0x0FF) == 0x020)
3717 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3718 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3720 # define ISLOWER(c) \
3721 (('a' <= (c) && (c) <= 'i') \
3722 || ('j' <= (c) && (c) <= 'r') \
3723 || ('s' <= (c) && (c) <= 'z'))
3724 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3727 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3732 for (i = 0; i < 256; i++)
3733 if (XOR (islower (i), ISLOWER (i))
3734 || toupper (i) != TOUPPER (i))
3739 if ac_fn_c_try_run "$LINENO"; then :
3742 ac_cv_header_stdc=no
3744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3745 conftest.$ac_objext conftest.beam conftest.$ac_ext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3751 $as_echo "$ac_cv_header_stdc" >&6; }
3752 if test $ac_cv_header_stdc = yes; then
3754 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3758 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3759 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3760 inttypes.h stdint.h unistd.h
3762 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3763 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3765 eval as_val
=\$
$as_ac_Header
3766 if test "x$as_val" = x
""yes; then :
3767 cat >>confdefs.h
<<_ACEOF
3768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3776 for ac_header
in ctype.h stddef.h string.h stdio.h
3778 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3779 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3780 eval as_val
=\$
$as_ac_Header
3781 if test "x$as_val" = x
""yes; then :
3782 cat >>confdefs.h
<<_ACEOF
3783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3792 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3794 acx_cv_header_stdint
=stddef.h
3795 acx_cv_header_stdint_kind
="(already complete)"
3796 for i
in stdint.h
$inttype_headers; do
3797 unset ac_cv_type_uintptr_t
3798 unset ac_cv_type_uintmax_t
3799 unset ac_cv_type_int_least32_t
3800 unset ac_cv_type_int_fast32_t
3801 unset ac_cv_type_uint64_t
3802 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3803 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3806 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
3807 acx_cv_header_stdint
=$i
3812 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3815 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3818 acx_cv_header_stdint_kind
="(mostly complete)"
3821 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3824 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
3827 acx_cv_header_stdint_kind
="(mostly complete)"
3830 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3833 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
3836 acx_cv_header_stdint_kind
="(mostly complete)"
3839 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3842 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3845 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3850 if test "$acx_cv_header_stdint" = stddef.h
; then
3851 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3852 for i
in stdint.h
$inttype_headers; do
3853 unset ac_cv_type_uintptr_t
3854 unset ac_cv_type_uint32_t
3855 unset ac_cv_type_uint64_t
3856 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
3857 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
3860 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
3861 acx_cv_header_stdint
=$i
3866 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3869 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3873 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3876 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3883 if test "$acx_cv_header_stdint" = stddef.h
; then
3884 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3885 for i
in sys
/types.h
$inttype_headers; do
3886 unset ac_cv_type_u_int32_t
3887 unset ac_cv_type_u_int64_t
3888 $as_echo_n "looking for u_intXX_t types in $i, " >&6
3889 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
3892 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
3893 acx_cv_header_stdint
=$i
3898 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
3901 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
3908 if test "$acx_cv_header_stdint" = stddef.h
; then
3909 acx_cv_header_stdint_kind
="(using manual detection)"
3912 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3913 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3914 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3915 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3916 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3918 # ----------------- Summarize what we found so far
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
3921 $as_echo_n "checking what to include in gstdint.h... " >&6; }
3923 case `$as_basename -- gstdint.h ||
3924 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3925 Xgstdint.h : 'X\(//\)$' \| \
3926 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
3927 $as_echo X/gstdint.h |
3928 sed '/^.*\/\([^/][^/]*\)\/*$/{
3941 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
3942 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3943 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
3944 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
3949 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
3951 # ----------------- done included file, check C basic types --------
3953 # Lacking an uintptr_t? Test size of void *
3954 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
3955 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
3956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3958 # This bug is HP SR number 8606223364.
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
3960 $as_echo_n "checking size of void *... " >&6; }
3961 if test "${ac_cv_sizeof_void_p+set}" = set; then :
3962 $as_echo_n "(cached) " >&6
3964 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
3967 if test "$ac_cv_type_void_p" = yes; then
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 { as_fn_set_status
77
3971 as_fn_error
"cannot compute sizeof (void *)
3972 See \`config.log' for more details." "$LINENO" 5; }; }
3974 ac_cv_sizeof_void_p
=0
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
3980 $as_echo "$ac_cv_sizeof_void_p" >&6; }
3984 cat >>confdefs.h
<<_ACEOF
3985 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
3991 # Lacking an uint64_t? Test size of long
3992 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
3993 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
3994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3996 # This bug is HP SR number 8606223364.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
3998 $as_echo_n "checking size of long... " >&6; }
3999 if test "${ac_cv_sizeof_long+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4002 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4005 if test "$ac_cv_type_long" = yes; then
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 { as_fn_set_status
77
4009 as_fn_error
"cannot compute sizeof (long)
4010 See \`config.log' for more details." "$LINENO" 5; }; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4018 $as_echo "$ac_cv_sizeof_long" >&6; }
4022 cat >>confdefs.h
<<_ACEOF
4023 #define SIZEOF_LONG $ac_cv_sizeof_long
4029 if test $acx_cv_header_stdint = stddef.h
; then
4030 # Lacking a good header? Test size of everything and deduce all types.
4031 # The cast to long int works around a bug in the HP C Compiler
4032 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4033 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4034 # This bug is HP SR number 8606223364.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4036 $as_echo_n "checking size of int... " >&6; }
4037 if test "${ac_cv_sizeof_int+set}" = set; then :
4038 $as_echo_n "(cached) " >&6
4040 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4043 if test "$ac_cv_type_int" = yes; then
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 { as_fn_set_status
77
4047 as_fn_error
"cannot compute sizeof (int)
4048 See \`config.log' for more details." "$LINENO" 5; }; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4056 $as_echo "$ac_cv_sizeof_int" >&6; }
4060 cat >>confdefs.h
<<_ACEOF
4061 #define SIZEOF_INT $ac_cv_sizeof_int
4065 # The cast to long int works around a bug in the HP C Compiler
4066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4068 # This bug is HP SR number 8606223364.
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4070 $as_echo_n "checking size of short... " >&6; }
4071 if test "${ac_cv_sizeof_short+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4074 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4077 if test "$ac_cv_type_short" = yes; then
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 { as_fn_set_status
77
4081 as_fn_error
"cannot compute sizeof (short)
4082 See \`config.log' for more details." "$LINENO" 5; }; }
4084 ac_cv_sizeof_short
=0
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4090 $as_echo "$ac_cv_sizeof_short" >&6; }
4094 cat >>confdefs.h
<<_ACEOF
4095 #define SIZEOF_SHORT $ac_cv_sizeof_short
4099 # The cast to long int works around a bug in the HP C Compiler
4100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4102 # This bug is HP SR number 8606223364.
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4104 $as_echo_n "checking size of char... " >&6; }
4105 if test "${ac_cv_sizeof_char+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4111 if test "$ac_cv_type_char" = yes; then
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 { as_fn_set_status
77
4115 as_fn_error
"cannot compute sizeof (char)
4116 See \`config.log' for more details." "$LINENO" 5; }; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4124 $as_echo "$ac_cv_sizeof_char" >&6; }
4128 cat >>confdefs.h
<<_ACEOF
4129 #define SIZEOF_CHAR $ac_cv_sizeof_char
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4135 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4136 case "$ac_cv_sizeof_char" in
4137 1) acx_cv_type_int8_t
=char
;;
4138 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4141 $as_echo "$acx_cv_type_int8_t" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4144 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4145 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4146 2:*) acx_cv_type_int16_t
=int
;;
4147 *:2) acx_cv_type_int16_t
=short
;;
4148 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4151 $as_echo "$acx_cv_type_int16_t" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4154 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4155 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4156 4:*) acx_cv_type_int32_t
=int
;;
4157 *:4) acx_cv_type_int32_t
=long
;;
4158 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4161 $as_echo "$acx_cv_type_int32_t" >&6; }
4164 # These tests are here to make the output prettier
4166 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4167 case "$ac_cv_sizeof_long" in
4168 8) acx_cv_type_int64_t
=long
;;
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4171 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4173 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4176 # Now we can use the above types
4178 if test "$ac_cv_type_uintptr_t" != yes; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4180 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4181 case $ac_cv_sizeof_void_p in
4182 2) acx_cv_type_intptr_t
=int16_t
;;
4183 4) acx_cv_type_intptr_t
=int32_t
;;
4184 8) acx_cv_type_intptr_t
=int64_t
;;
4185 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4188 $as_echo "$acx_cv_type_intptr_t" >&6; }
4191 # ----------------- done all checks, emit header -------------
4192 ac_config_commands
="$ac_config_commands gstdint.h"
4197 # Checks for typedefs, structures, and compiler characteristics.
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4199 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4200 if test "${ac_cv_c_const+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4209 /* FIXME: Include the comments suggested by Paul. */
4211 /* Ultrix mips cc rejects this. */
4212 typedef int charset[2];
4214 /* SunOS 4.1.1 cc rejects this. */
4215 char const *const *pcpcc;
4217 /* NEC SVR4.0.2 mips cc rejects this. */
4218 struct point {int x, y;};
4219 static struct point const zero = {0,0};
4220 /* AIX XL C 1.02.0.0 rejects this.
4221 It does not let you subtract one const X* pointer from another in
4222 an arm of an if-expression whose if-part is not a constant
4224 const char *g = "string";
4225 pcpcc = &g + (g ? g-g : 0);
4226 /* HPUX 7.0 cc rejects these. */
4228 ppc = (char**) pcpcc;
4229 pcpcc = (char const *const *) ppc;
4230 { /* SCO 3.2v4 cc rejects this. */
4232 char const *s = 0 ? (char *) 0 : (char const *) 0;
4237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4239 const int *foo = &x[0];
4242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4243 typedef const int *iptr;
4247 { /* AIX XL C 1.02.0.0 rejects this saying
4248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4249 struct s { int j; const int *ap[3]; };
4250 struct s *b; b->j = 5;
4252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4256 return !cs[0] && !zero.x;
4263 if ac_fn_c_try_compile
"$LINENO"; then :
4268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4271 $as_echo "$ac_cv_c_const" >&6; }
4272 if test $ac_cv_c_const = no
; then
4274 $as_echo "#define const /**/" >>confdefs.h
4278 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4279 if test "x$ac_cv_type_off_t" = x
""yes; then :
4283 cat >>confdefs.h
<<_ACEOF
4284 #define off_t long int
4289 # The cast to long int works around a bug in the HP C Compiler
4290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4292 # This bug is HP SR number 8606223364.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4294 $as_echo_n "checking size of int... " >&6; }
4295 if test "${ac_cv_sizeof_int+set}" = set; then :
4296 $as_echo_n "(cached) " >&6
4298 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4301 if test "$ac_cv_type_int" = yes; then
4302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4304 { as_fn_set_status
77
4305 as_fn_error
"cannot compute sizeof (int)
4306 See \`config.log' for more details." "$LINENO" 5; }; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4314 $as_echo "$ac_cv_sizeof_int" >&6; }
4318 cat >>confdefs.h
<<_ACEOF
4319 #define SIZEOF_INT $ac_cv_sizeof_int
4323 # The cast to long int works around a bug in the HP C Compiler
4324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4326 # This bug is HP SR number 8606223364.
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4328 $as_echo_n "checking size of long... " >&6; }
4329 if test "${ac_cv_sizeof_long+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4335 if test "$ac_cv_type_long" = yes; then
4336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338 { as_fn_set_status
77
4339 as_fn_error
"cannot compute sizeof (long)
4340 See \`config.log' for more details." "$LINENO" 5; }; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4348 $as_echo "$ac_cv_sizeof_long" >&6; }
4352 cat >>confdefs.h
<<_ACEOF
4353 #define SIZEOF_LONG $ac_cv_sizeof_long
4358 # Checks for library functions.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4360 $as_echo_n "checking for ANSI C header files... " >&6; }
4361 if test "${ac_cv_header_stdc+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4379 if ac_fn_c_try_compile
"$LINENO"; then :
4380 ac_cv_header_stdc
=yes
4382 ac_cv_header_stdc
=no
4384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4386 if test $ac_cv_header_stdc = yes; then
4387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4394 $EGREP "memchr" >/dev
/null
2>&1; then :
4397 ac_cv_header_stdc
=no
4403 if test $ac_cv_header_stdc = yes; then
4404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4411 $EGREP "free" >/dev
/null
2>&1; then :
4414 ac_cv_header_stdc
=no
4420 if test $ac_cv_header_stdc = yes; then
4421 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4422 if test "$cross_compiling" = yes; then :
4425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4429 #if ((' ' & 0x0FF) == 0x020)
4430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4433 # define ISLOWER(c) \
4434 (('a' <= (c) && (c) <= 'i') \
4435 || ('j' <= (c) && (c) <= 'r') \
4436 || ('s' <= (c) && (c) <= 'z'))
4437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4445 for (i = 0; i < 256; i++)
4446 if (XOR (islower (i), ISLOWER (i))
4447 || toupper (i) != TOUPPER (i))
4452 if ac_fn_c_try_run
"$LINENO"; then :
4455 ac_cv_header_stdc
=no
4457 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4458 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4464 $as_echo "$ac_cv_header_stdc" >&6; }
4465 if test $ac_cv_header_stdc = yes; then
4467 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4472 # Check whether --enable-maintainer-mode was given.
4473 if test "${enable_maintainer_mode+set}" = set; then :
4474 enableval
=$enable_maintainer_mode;
4476 enable_maintainer_mode
=no
4480 if test "x$enable_maintainer_mode" = xno
; then
4487 # Make sure we can run config.sub.
4488 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4489 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4492 $as_echo_n "checking build system type... " >&6; }
4493 if test "${ac_cv_build+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4496 ac_build_alias
=$build_alias
4497 test "x$ac_build_alias" = x
&&
4498 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4499 test "x$ac_build_alias" = x
&&
4500 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4501 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4502 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4506 $as_echo "$ac_cv_build" >&6; }
4507 case $ac_cv_build in
4509 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4512 ac_save_IFS
=$IFS; IFS
='-'
4518 # Remember, the first character of IFS is used to create $*,
4519 # except with old shells:
4522 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4526 $as_echo_n "checking host system type... " >&6; }
4527 if test "${ac_cv_host+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 if test "x$host_alias" = x
; then
4531 ac_cv_host
=$ac_cv_build
4533 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4534 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4539 $as_echo "$ac_cv_host" >&6; }
4542 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4545 ac_save_IFS
=$IFS; IFS
='-'
4551 # Remember, the first character of IFS is used to create $*,
4552 # except with old shells:
4555 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4559 $as_echo_n "checking target system type... " >&6; }
4560 if test "${ac_cv_target+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 if test "x$target_alias" = x
; then
4564 ac_cv_target
=$ac_cv_host
4566 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4567 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4572 $as_echo "$ac_cv_target" >&6; }
4573 case $ac_cv_target in
4575 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4577 target
=$ac_cv_target
4578 ac_save_IFS
=$IFS; IFS
='-'
4584 # Remember, the first character of IFS is used to create $*,
4585 # except with old shells:
4588 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4591 # The aliases save the names the user supplied, while $host etc.
4592 # will get canonicalized.
4593 test -n "$target_alias" &&
4594 test "$program_prefix$program_suffix$program_transform_name" = \
4596 program_prefix
=${target_alias}-
4598 # Default decimal format
4599 # If you change the defaults here, be sure to change them in the GCC directory also
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4601 $as_echo_n "checking for decimal floating point... " >&6; }
4604 # Check whether --enable-decimal-float was given.
4605 if test "${enable_decimal_float+set}" = set; then :
4606 enableval
=$enable_decimal_float;
4607 case $enable_decimal_float in
4608 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4609 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4610 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4616 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4618 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4619 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4620 enable_decimal_float
=yes
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4624 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4625 enable_decimal_float
=no
4632 # x86's use BID format instead of DPD
4633 case x
$enable_decimal_float in
4636 i?
86*-*-* | x86_64
*-*-*)
4637 enable_decimal_float
=bid
4640 enable_decimal_float
=dpd
4643 default_decimal_float
=$enable_decimal_float
4646 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4647 # dependency on libdecnumber.
4648 default_decimal_float
=dpd
4655 # Use default_decimal_float for dependency.
4656 enable_decimal_float
=$default_decimal_float
4658 # If BID is being used, additional objects should be linked in.
4659 if test x
$enable_decimal_float = xbid
; then
4660 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4666 $as_echo "$enable_decimal_float" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4671 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4672 if test "${ac_cv_c_bigendian+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 ac_cv_c_bigendian
=unknown
4676 # See if we're dealing with a universal compiler.
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #ifndef __APPLE_CC__
4680 not a universal capable compiler
4685 if ac_fn_c_try_compile
"$LINENO"; then :
4687 # Check for potential -arch flags. It is not universal unless
4688 # there are at least two -arch flags with different values.
4691 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4692 if test -n "$ac_prev"; then
4694 i?
86 | x86_64 | ppc | ppc64
)
4695 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4698 ac_cv_c_bigendian
=universal
4704 elif test "x$ac_word" = "x-arch"; then
4709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4710 if test $ac_cv_c_bigendian = unknown
; then
4711 # See if sys/param.h defines the BYTE_ORDER macro.
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <sys/types.h>
4715 #include <sys/param.h>
4720 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4721 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4730 if ac_fn_c_try_compile
"$LINENO"; then :
4731 # It does; now see whether it defined to BIG_ENDIAN or not.
4732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <sys/types.h>
4735 #include <sys/param.h>
4740 #if BYTE_ORDER != BIG_ENDIAN
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_c_bigendian
=yes
4751 ac_cv_c_bigendian
=no
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 if test $ac_cv_c_bigendian = unknown
; then
4758 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4766 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4774 if ac_fn_c_try_compile
"$LINENO"; then :
4775 # It does; now see whether it defined to _BIG_ENDIAN or not.
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4791 if ac_fn_c_try_compile
"$LINENO"; then :
4792 ac_cv_c_bigendian
=yes
4794 ac_cv_c_bigendian
=no
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4800 if test $ac_cv_c_bigendian = unknown
; then
4801 # Compile a test program.
4802 if test "$cross_compiling" = yes; then :
4803 # Try to guess by grepping values from an object file.
4804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4806 short int ascii_mm[] =
4807 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4808 short int ascii_ii[] =
4809 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4810 int use_ascii (int i) {
4811 return ascii_mm[i] + ascii_ii[i];
4813 short int ebcdic_ii[] =
4814 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4815 short int ebcdic_mm[] =
4816 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4817 int use_ebcdic (int i) {
4818 return ebcdic_mm[i] + ebcdic_ii[i];
4825 return use_ascii (foo) == use_ebcdic (foo);
4830 if ac_fn_c_try_compile
"$LINENO"; then :
4831 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4832 ac_cv_c_bigendian
=yes
4834 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4835 if test "$ac_cv_c_bigendian" = unknown
; then
4836 ac_cv_c_bigendian
=no
4838 # finding both strings is unlikely to happen, but who knows?
4839 ac_cv_c_bigendian
=unknown
4843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4847 $ac_includes_default
4852 /* Are we little or big endian? From Harbison&Steele. */
4856 char c[sizeof (long int)];
4859 return u.c[sizeof (long int) - 1] == 1;
4865 if ac_fn_c_try_run
"$LINENO"; then :
4866 ac_cv_c_bigendian
=no
4868 ac_cv_c_bigendian
=yes
4870 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4871 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4877 $as_echo "$ac_cv_c_bigendian" >&6; }
4878 case $ac_cv_c_bigendian in #(
4880 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4886 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4890 as_fn_error
"unknown endianness
4891 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4895 # Enable --enable-host-shared.
4896 # Check whether --enable-host-shared was given.
4897 if test "${enable_host_shared+set}" = set; then :
4898 enableval
=$enable_host_shared; PICFLAG
=-fPIC
4907 ac_config_headers
="$ac_config_headers config.h:config.in"
4909 ac_config_files
="$ac_config_files Makefile"
4911 cat >confcache
<<\_ACEOF
4912 # This file is a shell script that caches the results of configure
4913 # tests run on this system so they can be shared between configure
4914 # scripts and configure runs, see configure's option --config-cache.
4915 # It is not useful on other systems. If it contains results you don't
4916 # want to keep, you may remove or edit it.
4918 # config.status only pays attention to the cache file if you give it
4919 # the --recheck option to rerun configure.
4921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4927 # The following way of writing the cache mishandles newlines in values,
4928 # but we know of no workaround that is simple, portable, and efficient.
4929 # So, we kill variables containing newlines.
4930 # Ultrix sh set writes to stderr and can't be redirected directly,
4931 # and sets the high bit in the cache file unless we assign to the vars.
4933 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4934 eval ac_val
=\$
$ac_var
4938 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4942 _ | IFS | as_nl
) ;; #(
4943 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4944 *) { eval $ac_var=; unset $ac_var;} ;;
4950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4951 *${as_nl}ac_space
=\
*)
4952 # `set' does not quote correctly, so add quotes: double-quote
4953 # substitution turns \\\\ into \\, and sed turns \\ into \.
4956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4959 # `set' quotes correctly as required by POSIX, so do not add quotes.
4960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4973 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4974 if test -w "$cache_file"; then
4975 test "x$cache_file" != "x/dev/null" &&
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4977 $as_echo "$as_me: updating cache $cache_file" >&6;}
4978 cat confcache
>$cache_file
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4986 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4987 # Let make expand exec_prefix.
4988 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4990 DEFS
=-DHAVE_CONFIG_H
4994 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4995 # 1. Remove the extension, and $U if already installed.
4996 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4997 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4998 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4999 # will be set to the directory where LIBOBJS objects are built.
5000 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5001 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5005 LTLIBOBJS
=$ac_ltlibobjs
5010 : ${CONFIG_STATUS=./config.status}
5012 ac_clean_files_save
=$ac_clean_files
5013 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5015 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5017 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5019 # Generated by $as_me.
5020 # Run this file to recreate the current configuration.
5021 # Compiler output produced by configure, useful for debugging
5022 # configure, is in config.log if it exists.
5028 SHELL=\${CONFIG_SHELL-$SHELL}
5031 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5032 ## -------------------- ##
5033 ## M4sh Initialization. ##
5034 ## -------------------- ##
5036 # Be more Bourne compatible
5037 DUALCASE
=1; export DUALCASE
# for MKS sh
5038 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5041 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5042 # is contrary to our usage. Disable this feature.
5043 alias -g '${1+"$@"}'='"$@"'
5044 setopt NO_GLOB_SUBST
5046 case `(set -o) 2>/dev/null` in #(
5058 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5059 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5062 # Prefer a ksh shell builtin over an external printf program on Solaris,
5063 # but without wasting forks for bash or zsh.
5064 if test -z "$BASH_VERSION$ZSH_VERSION" \
5065 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5066 as_echo='print
-r --'
5067 as_echo_n='print
-rn --'
5068 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5069 as_echo='printf %s
\n'
5070 as_echo_n='printf %s
'
5072 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5073 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5074 as_echo_n='/usr
/ucb
/echo -n'
5076 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5077 as_echo_n_body='eval
5081 expr "X$arg" : "X\\(.*\\)$as_nl";
5082 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5084 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5086 export as_echo_n_body
5087 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5090 as_echo='sh
-c $as_echo_body as_echo
'
5093 # The user is always right.
5094 if test "${PATH_SEPARATOR+set}" != set; then
5096 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5097 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5104 # We need space, tab and new line, in precisely that order. Quoting is
5105 # there to prevent editors from complaining about space-tab.
5106 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5107 # splitting by setting IFS to empty value.)
5110 # Find who we are. Look in the path if we contain no directory separator.
5112 *[\\/]* ) as_myself=$0 ;;
5113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir=.
5118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5124 # We did not find ourselves, most probably we were run as `sh COMMAND'
5125 # in which case we are not to be found in the path.
5126 if test "x$as_myself" = x
; then
5129 if test ! -f "$as_myself"; then
5130 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5134 # Unset variables that we do not need and which cause bugs (e.g. in
5135 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5136 # suppresses any "Segmentation fault" message there. '((' could
5137 # trigger a bug in pdksh 5.2.14.
5138 for as_var
in BASH_ENV ENV MAIL MAILPATH
5139 do eval test x\
${$as_var+set} = xset \
5140 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5153 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5156 # as_fn_error ERROR [LINENO LOG_FD]
5157 # ---------------------------------
5158 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5159 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5160 # script with status $?, using 1 if that was 0.
5163 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5165 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5166 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5168 $as_echo "$as_me: error: $1" >&2
5169 as_fn_exit
$as_status
5173 # as_fn_set_status STATUS
5174 # -----------------------
5175 # Set $? to STATUS, without forking.
5179 } # as_fn_set_status
5183 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5193 # Portably unset VAR.
5196 { eval $1=; unset $1;}
5198 as_unset
=as_fn_unset
5199 # as_fn_append VAR VALUE
5200 # ----------------------
5201 # Append the text in VALUE to the end of the definition contained in VAR. Take
5202 # advantage of any shell optimizations that allow amortized linear growth over
5203 # repeated appends, instead of the typical quadratic growth present in naive
5205 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5206 eval 'as_fn_append ()
5217 # as_fn_arith ARG...
5218 # ------------------
5219 # Perform arithmetic evaluation on the ARGs, and store the result in the
5220 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5221 # must be portable across $(()) and expr.
5222 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5223 eval 'as_fn_arith ()
5230 as_val
=`expr "$@" || test $? -eq 1`
5235 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5236 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5242 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5243 as_basename
=basename
5248 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5254 as_me
=`$as_basename -- "$0" ||
5255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5256 X"$0" : 'X\(//\)$' \| \
5257 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5259 sed '/^.*\/\([^/][^/]*\)\/*$/{
5273 # Avoid depending upon Character Ranges.
5274 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5275 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5276 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5277 as_cr_digits
='0123456789'
5278 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5280 ECHO_C
= ECHO_N
= ECHO_T
=
5281 case `echo -n x` in #(((((
5283 case `echo 'xy\c'` in
5284 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5286 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5293 rm -f conf$$ conf$$.exe conf$$.
file
5294 if test -d conf$$.dir
; then
5295 rm -f conf$$.dir
/conf$$.
file
5298 mkdir conf$$.dir
2>/dev
/null
5300 if (echo >conf$$.
file) 2>/dev
/null
; then
5301 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5303 # ... but there are two gotchas:
5304 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5305 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5306 # In both cases, we have to default to `cp -p'.
5307 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5309 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5317 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5318 rmdir conf$$.dir
2>/dev
/null
5323 # Create "$as_dir" as a directory, including parents if necessary.
5328 -*) as_dir
=.
/$as_dir;;
5330 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5334 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5335 *) as_qdir
=$as_dir;;
5337 as_dirs
="'$as_qdir' $as_dirs"
5338 as_dir
=`$as_dirname -- "$as_dir" ||
5339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5340 X"$as_dir" : 'X\(//\)[^/]' \| \
5341 X"$as_dir" : 'X\(//\)$' \| \
5342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5343 $as_echo X"$as_dir" |
5344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5361 test -d "$as_dir" && break
5363 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5364 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5368 if mkdir
-p .
2>/dev
/null
; then
5369 as_mkdir_p
='mkdir -p "$as_dir"'
5371 test -d .
/-p && rmdir .
/-p
5375 if test -x / >/dev
/null
2>&1; then
5378 if ls -dL / >/dev
/null
2>&1; then
5385 if test -d "$1"; then
5391 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5392 ???[sx]*):;;*)false;;esac;fi
5396 as_executable_p
=$as_test_x
5398 # Sed expression to map a string onto a valid CPP name.
5399 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5401 # Sed expression to map a string onto a valid variable name.
5402 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5406 ## ----------------------------------- ##
5407 ## Main body of $CONFIG_STATUS script. ##
5408 ## ----------------------------------- ##
5410 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5413 # Save the log message, to keep $0 and so on meaningful, and to
5414 # report actual input values of CONFIG_FILES etc. instead of their
5415 # values after options handling.
5417 This file was extended by libdecnumber $as_me , which was
5418 generated by GNU Autoconf 2.64. Invocation command line was
5420 CONFIG_FILES = $CONFIG_FILES
5421 CONFIG_HEADERS = $CONFIG_HEADERS
5422 CONFIG_LINKS = $CONFIG_LINKS
5423 CONFIG_COMMANDS = $CONFIG_COMMANDS
5426 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5431 case $ac_config_files in *"
5432 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5435 case $ac_config_headers in *"
5436 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5441 # Files that config.status was made for.
5442 config_files="$ac_config_files"
5443 config_headers="$ac_config_headers"
5444 config_commands="$ac_config_commands"
5448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5450 \`$as_me' instantiates files and other configuration actions
5451 from templates according to the current configuration. Unless the files
5452 and actions are specified as TAGs, all are instantiated by default.
5454 Usage: $0 [OPTION]... [TAG]...
5456 -h, --help print this help, then exit
5457 -V, --version print version number and configuration settings, then exit
5458 -q, --quiet, --silent
5459 do not print progress messages
5460 -d, --debug don't remove temporary files
5461 --recheck update $as_me by reconfiguring in the same conditions
5462 --file=FILE[:TEMPLATE]
5463 instantiate the configuration file FILE
5464 --header=FILE[:TEMPLATE]
5465 instantiate the configuration header FILE
5467 Configuration files:
5470 Configuration headers:
5473 Configuration commands:
5476 Report bugs to <gcc-bugs@gcc.gnu.org>."
5479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5481 libdecnumber config.status
5482 configured by $0, generated by GNU Autoconf 2.64,
5483 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5485 Copyright (C) 2009 Free Software Foundation, Inc.
5486 This config.status script is free software; the Free Software Foundation
5487 gives unlimited permission to copy, distribute and modify it."
5491 test -n "\$AWK" || AWK=awk
5494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5495 # The default lists apply if the user does not specify any file.
5501 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5502 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5513 # Handling of the options.
5514 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5516 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5517 $as_echo "$ac_cs_version"; exit ;;
5518 --debug |
--debu |
--deb |
--de |
--d |
-d )
5520 --file |
--fil |
--fi |
--f )
5523 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5525 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5526 ac_need_defaults
=false
;;
5527 --header |
--heade |
--head |
--hea )
5530 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5532 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5533 ac_need_defaults
=false
;;
5535 # Conflict between --help and --header
5536 as_fn_error
"ambiguous option: \`$1'
5537 Try \`$0 --help' for more information.";;
5538 --help |
--hel |
-h )
5539 $as_echo "$ac_cs_usage"; exit ;;
5540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5541 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5545 -*) as_fn_error
"unrecognized option: \`$1'
5546 Try \`$0 --help' for more information." ;;
5548 *) as_fn_append ac_config_targets
" $1"
5549 ac_need_defaults
=false
;;
5555 ac_configure_extra_args
=
5557 if $ac_cs_silent; then
5559 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 if \$ac_cs_recheck; then
5565 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5568 CONFIG_SHELL='$SHELL'
5574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5579 ## Running $as_me. ##
5585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5592 acx_cv_header_stdint="$acx_cv_header_stdint"
5593 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5594 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5595 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5596 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5597 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5598 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5599 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5600 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5601 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5602 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5603 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5604 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5605 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5612 # Handling of arguments.
5613 for ac_config_target
in $ac_config_targets
5615 case $ac_config_target in
5616 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
5617 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5618 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5620 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5625 # If the user did not use the arguments to specify the items to instantiate,
5626 # then the envvar interface is used. Set only those that are not.
5627 # We use the long form for the default assignment because of an extremely
5628 # bizarre bug on SunOS 4.1.3.
5629 if $ac_need_defaults; then
5630 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5631 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5632 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5635 # Have a temporary directory for convenience. Make it in the build tree
5636 # simply because there is no reason against having it here, and in addition,
5637 # creating and moving files from /tmp can sometimes cause problems.
5638 # Hook for its removal unless debugging.
5639 # Note that there is a small window in which the directory will not be cleaned:
5640 # after its creation but before its name has been assigned to `$tmp'.
5644 trap 'exit_status=$?
5645 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5647 trap 'as_fn_exit 1' 1 2 13 15
5649 # Create a (secure) tmp directory for tmp files.
5652 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5653 test -n "$tmp" && test -d "$tmp"
5656 tmp
=.
/conf$$
-$RANDOM
5657 (umask 077 && mkdir
"$tmp")
5658 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5660 # Set up the scripts for CONFIG_FILES section.
5661 # No need to generate them if there are no CONFIG_FILES.
5662 # This happens for instance with `./config.status config.h'.
5663 if test -n "$CONFIG_FILES"; then
5666 ac_cr
=`echo X | tr X '\015'`
5667 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5668 # But we know of no other shell where ac_cr would be empty at this
5669 # point, so we can use a bashism as a fallback.
5670 if test "x$ac_cr" = x
; then
5671 eval ac_cr
=\$
\'\\r
\'
5673 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5674 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5680 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5685 echo "cat >conf$$subs.awk <<_ACEOF" &&
5686 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5689 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5692 for ac_last_try in false false false false false :; do
5693 . ./conf$$subs.sh ||
5694 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5696 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5697 if test $ac_delim_n = $ac_delim_num; then
5699 elif $ac_last_try; then
5700 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5702 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5712 s/^/S["/; s
/!.
*/"]=/
5722 s/\(.\{148\}\).*/\1/
5724 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5729 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5736 s/\(.\{148\}\).*/\1/
5738 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5742 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5747 ' <conf$$subs.awk | sed '
5752 ' >>$CONFIG_STATUS || ac_write_fail=1
5753 rm -f conf$$subs.awk
5754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5756 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5757 for (key in S) S_is_set[key] = 1
5763 nfields = split(line, field, "@
")
5765 len = length(field[1])
5766 for (i = 2; i < nfields; i++) {
5768 keylen = length(key)
5769 if (S_is_set[key]) {
5771 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5772 len += length(value) + length(field[++i])
5783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5785 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5788 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5789 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5792 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5793 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5794 # trailing colons and then remove the whole line if VPATH becomes empty
5795 # (actually we leave an empty line to preserve line numbers).
5796 if test "x
$srcdir" = x.; then
5797 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5801 s/^\([^=]*=[ ]*\):*/\1/
5807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5808 fi # test -n "$CONFIG_FILES"
5810 # Set up the scripts for CONFIG_HEADERS section.
5811 # No need to generate them if there are no CONFIG_HEADERS.
5812 # This happens for instance with `./config.status Makefile'.
5813 if test -n "$CONFIG_HEADERS"; then
5814 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5818 # Transform confdefs.h into an awk script `defines.awk', embedded as
5819 # here-document in config.status, that substitutes the proper values into
5820 # config.h.in to produce config.h.
5822 # Create a delimiter string that does not exist in confdefs.h, to ease
5823 # handling of long lines.
5825 for ac_last_try in false false :; do
5826 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5827 if test -z "$ac_t"; then
5829 elif $ac_last_try; then
5830 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5832 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5836 # For the awk script, D is an array of macro values keyed by name,
5837 # likewise P contains macro parameters if any. Preserve backslash
5838 # newline sequences.
5840 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5842 s/.\{148\}/&'"$ac_delim"'/g
5845 s/^[ ]*#[ ]*define[ ][ ]*/ /
5852 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5854 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5858 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5859 D["\
1"]=" \
3\\\\\\n
"\\/p
5861 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5866 s/.\{148\}/&'"$ac_delim"'/g
5871 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5874 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5876 ' <confdefs.h | sed '
5877 s/'"$ac_delim"'/"\\\
5878 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5881 for (key in D) D_is_set[key] = 1
5884 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5886 split(line, arg, " ")
5887 if (arg[1] == "#") {
5891 defundef
= substr
(arg
[1], 2)
5894 split(mac1
, mac2
, "(") #)
5896 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5897 if (D_is_set
[macro
]) {
5898 # Preserve the white space surrounding the "#".
5899 print prefix
"define", macro P
[macro
] D
[macro
]
5902 # Replace #undef with comments. This is necessary, for example,
5903 # in the case of _POSIX_SOURCE, which is predefined and required
5904 # on some systems where configure will not decide to define it.
5905 if (defundef
== "undef") {
5906 print
"/*", prefix defundef
, macro
, "*/"
5914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5915 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5916 fi # test -n "$CONFIG_HEADERS"
5919 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5924 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5926 case $ac_mode$ac_tag in
5928 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5929 :[FH
]-) ac_tag
=-:-;;
5930 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5947 -) ac_f
="$tmp/stdin";;
5948 *) # Look for the file first in the build tree, then in the source tree
5949 # (if the path is not absolute). The absolute path cannot be DOS-style,
5950 # because $ac_f cannot contain `:'.
5954 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5956 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5958 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5959 as_fn_append ac_file_inputs
" '$ac_f'"
5962 # Let's still pretend it is `configure' which instantiates (i.e., don't
5963 # use $as_me), people would be surprised to read:
5964 # /* config.h. Generated by config.status. */
5965 configure_input
='Generated from '`
5966 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5968 if test x
"$ac_file" != x-
; then
5969 configure_input
="$ac_file. $configure_input"
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5971 $as_echo "$as_me: creating $ac_file" >&6;}
5973 # Neutralize special characters interpreted by sed in replacement strings.
5974 case $configure_input in #(
5975 *\
&* |
*\|
* |
*\\* )
5976 ac_sed_conf_input
=`$as_echo "$configure_input" |
5977 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5978 *) ac_sed_conf_input
=$configure_input;;
5982 *:-:* |
*:-) cat >"$tmp/stdin" \
5983 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5988 ac_dir
=`$as_dirname -- "$ac_file" ||
5989 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5990 X"$ac_file" : 'X\(//\)[^/]' \| \
5991 X"$ac_file" : 'X\(//\)$' \| \
5992 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5993 $as_echo X"$ac_file" |
5994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6011 as_dir
="$ac_dir"; as_fn_mkdir_p
6015 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6017 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6018 # A ".." for each directory in $ac_dir_suffix.
6019 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6020 case $ac_top_builddir_sub in
6021 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6022 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6025 ac_abs_top_builddir
=$ac_pwd
6026 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6027 # for backward compatibility:
6028 ac_top_builddir
=$ac_top_build_prefix
6031 .
) # We are building in place.
6033 ac_top_srcdir
=$ac_top_builddir_sub
6034 ac_abs_top_srcdir
=$ac_pwd ;;
6035 [\\/]* | ?
:[\\/]* ) # Absolute name.
6036 ac_srcdir
=$srcdir$ac_dir_suffix;
6037 ac_top_srcdir
=$srcdir
6038 ac_abs_top_srcdir
=$srcdir ;;
6040 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6041 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6042 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6044 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6056 # If the template does not know about datarootdir, expand it.
6057 # FIXME: This hack should be removed a few years after 2.60.
6058 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6069 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6070 *datarootdir
*) ac_datarootdir_seen
=yes;;
6071 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6073 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6076 ac_datarootdir_hack='
6077 s&@datadir@&$datadir&g
6078 s&@docdir@&$docdir&g
6079 s&@infodir@&$infodir&g
6080 s&@localedir@&$localedir&g
6081 s&@mandir@&$mandir&g
6082 s&\\\${datarootdir}&$datarootdir&g' ;;
6086 # Neutralize VPATH when `$srcdir' = `.'.
6087 # Shell code in configure.ac might set extrasub.
6088 # FIXME: do we really want to maintain this feature?
6089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6090 ac_sed_extra="$ac_vpsub
6093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6095 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6096 s|@configure_input@|
$ac_sed_conf_input|
;t t
6097 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6098 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6099 s
&@srcdir@
&$ac_srcdir&;t t
6100 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6101 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6102 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6103 s
&@builddir@
&$ac_builddir&;t t
6104 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6105 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6106 $ac_datarootdir_hack
6108 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6109 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6111 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6112 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6113 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6115 which seems to be undefined. Please make sure it is defined." >&5
6116 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6117 which seems to be undefined. Please make sure it is defined." >&2;}
6121 -) cat "$tmp/out" && rm -f "$tmp/out";;
6122 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6124 || as_fn_error "could not create $ac_file" "$LINENO" 5
6130 if test x"$ac_file" != x-; then
6132 $as_echo "/* $configure_input */" \
6133 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6134 } >"$tmp/config.h" \
6135 || as_fn_error "could not create $ac_file" "$LINENO" 5
6136 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6138 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6141 mv "$tmp/config.h" "$ac_file" \
6142 || as_fn_error "could not create $ac_file" "$LINENO" 5
6145 $as_echo "/* $configure_input */" \
6146 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6147 || as_fn_error "could not create -" "$LINENO" 5
6151 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6152 $as_echo "$as_me: executing $ac_file commands" >&6;}
6157 case $ac_file$ac_mode in
6159 if test "$GCC" = yes; then
6160 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6162 echo "/* generated for $CC */" > tmp-stdint.h
6165 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6167 #ifndef GCC_GENERATED_STDINT_H
6168 #define GCC_GENERATED_STDINT_H 1
6170 #include <sys/types.h>
6173 if test "$acx_cv_header_stdint" != stdint.h; then
6174 echo "#include <stddef.h>" >> tmp-stdint.h
6176 if test "$acx_cv_header_stdint" != stddef.h; then
6177 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6180 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6181 /* glibc uses these symbols as guards to prevent redefinitions. */
6182 #ifdef __int8_t_defined
6187 #ifdef __uint32_t_defined
6193 # ----------------- done header, emit basic int types -------------
6194 if test "$acx_cv_header_stdint" = stddef.h; then
6195 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6199 #ifndef __uint8_t_defined
6200 #define __uint8_t_defined
6202 typedef unsigned $acx_cv_type_int8_t uint8_t;
6209 #ifndef __uint16_t_defined
6210 #define __uint16_t_defined
6212 typedef unsigned $acx_cv_type_int16_t uint16_t;
6219 #ifndef __uint32_t_defined
6220 #define __uint32_t_defined
6222 typedef unsigned $acx_cv_type_int32_t uint32_t;
6229 #ifndef __int8_t_defined
6230 #define __int8_t_defined
6232 typedef $acx_cv_type_int8_t int8_t;
6239 #ifndef __int16_t_defined
6240 #define __int16_t_defined
6242 typedef $acx_cv_type_int16_t int16_t;
6249 #ifndef __int32_t_defined
6250 #define __int32_t_defined
6252 typedef $acx_cv_type_int32_t int32_t;
6257 elif test "$ac_cv_type_u_int32_t" = yes; then
6258 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6260 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6273 #ifndef __uint8_t_defined
6274 #define __uint8_t_defined
6276 typedef u_int8_t uint8_t;
6283 #ifndef __uint16_t_defined
6284 #define __uint16_t_defined
6286 typedef u_int16_t uint16_t;
6293 #ifndef __uint32_t_defined
6294 #define __uint32_t_defined
6296 typedef u_int32_t uint32_t;
6302 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6304 /* Some systems have guard macros to prevent redefinitions, define them. */
6326 # ------------- done basic int types, emit int64_t types ------------
6327 if test "$ac_cv_type_uint64_t" = yes; then
6328 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6330 /* system headers have good uint64_t and int64_t */
6338 elif test "$ac_cv_type_u_int64_t" = yes; then
6339 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6341 /* system headers have an u_int64_t (and int64_t) */
6347 #ifndef __uint64_t_defined
6348 #define __uint64_t_defined
6350 typedef u_int64_t uint64_t;
6355 elif test -n "$acx_cv_type_int64_t"; then
6356 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6358 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6362 typedef $acx_cv_type_int64_t int64_t;
6367 #ifndef __uint64_t_defined
6368 #define __uint64_t_defined
6370 typedef unsigned $acx_cv_type_int64_t uint64_t;
6376 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6378 /* some common heuristics for int64_t, using compiler-specific tests */
6379 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6382 #ifndef __int64_t_defined
6384 typedef long long int64_t;
6391 typedef unsigned long long uint64_t;
6395 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6396 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6397 does not implement __extension__. But that compiler doesn't define
6399 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6400 # define __extension__
6406 __extension__ typedef long long int64_t
;
6412 __extension__ typedef unsigned long long uint64_t
;
6416 #elif !defined __STRICT_ANSI__
6417 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6422 typedef __int64 int64_t
;
6428 typedef unsigned __int64 uint64_t
;
6431 # endif /* compiler */
6433 #endif /* ANSI version */
6437 # ------------- done int64_t types, emit intptr types ------------
6438 if test "$ac_cv_type_uintptr_t" != yes; then
6439 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6441 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6442 #ifndef __uintptr_t_defined
6444 typedef u$acx_cv_type_intptr_t uintptr_t;
6447 #ifndef __intptr_t_defined
6449 typedef $acx_cv_type_intptr_t intptr_t;
6455 # ------------- done intptr types, emit int_least types ------------
6456 if test "$ac_cv_type_int_least32_t" != yes; then
6457 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6459 /* Define int_least types */
6460 typedef int8_t int_least8_t;
6461 typedef int16_t int_least16_t;
6462 typedef int32_t int_least32_t;
6464 typedef int64_t int_least64_t;
6467 typedef uint8_t uint_least8_t;
6468 typedef uint16_t uint_least16_t;
6469 typedef uint32_t uint_least32_t;
6471 typedef uint64_t uint_least64_t;
6476 # ------------- done intptr types, emit int_fast types ------------
6477 if test "$ac_cv_type_int_fast32_t" != yes; then
6478 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6480 /* Define int_fast types. short is often slow */
6481 typedef int8_t int_fast8_t;
6482 typedef int int_fast16_t;
6483 typedef int32_t int_fast32_t;
6485 typedef int64_t int_fast64_t;
6488 typedef uint8_t uint_fast8_t;
6489 typedef unsigned int uint_fast16_t;
6490 typedef uint32_t uint_fast32_t;
6492 typedef uint64_t uint_fast64_t;
6497 if test "$ac_cv_type_uintmax_t" != yes; then
6498 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6500 /* Define intmax based on what we found */
6503 typedef int64_t intmax_t;
6505 typedef long intmax_t;
6510 typedef uint64_t uintmax_t;
6512 typedef unsigned long uintmax_t;
6518 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6520 #endif /* GCC_GENERATED_STDINT_H */
6523 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6526 mv -f tmp-stdint.h gstdint.h
6530 "config.h":H
) echo timestamp
> stamp-h1
;;
6538 ac_clean_files
=$ac_clean_files_save
6540 test $ac_write_fail = 0 ||
6541 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6544 # configure is writing to config.log, and then calls config.status.
6545 # config.status does its own redirection, appending to config.log.
6546 # Unfortunately, on DOS this fails, as config.log is still kept open
6547 # by configure, so config.status won't be able to write to it; its
6548 # output is simply discarded. So we exec the FD to /dev/null,
6549 # effectively closing config.log, so it can be properly (re)opened and
6550 # appended to by config.status. When coming back to configure, we
6551 # need to make the FD available again.
6552 if test "$no_create" != yes; then
6554 ac_config_status_args
=
6555 test "$silent" = yes &&
6556 ac_config_status_args
="$ac_config_status_args --quiet"
6558 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6560 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6561 # would make configure fail if this is the last instruction.
6562 $ac_cs_success || as_fn_exit $?
6564 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6566 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}