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
658 program_transform_name
671 enable_option_checking
673 enable_maintainer_mode
677 ac_precious_vars
='build_alias
688 # Initialize some variables set by options.
690 ac_init_version
=false
691 ac_unrecognized_opts
=
693 # The variables have the same names as the options, with
694 # dashes changed to underlines.
702 program_transform_name
=s
,x
,x
,
710 # Installation directory options.
711 # These are left unexpanded so users can "make install exec_prefix=/foo"
712 # and all the variables that are supposed to be based on exec_prefix
713 # by default will actually change.
714 # Use braces instead of parens because sh, perl, etc. also accept them.
715 # (The list follows the same order as the GNU Coding Standards.)
716 bindir
='${exec_prefix}/bin'
717 sbindir
='${exec_prefix}/sbin'
718 libexecdir
='${exec_prefix}/libexec'
719 datarootdir
='${prefix}/share'
720 datadir
='${datarootdir}'
721 sysconfdir
='${prefix}/etc'
722 sharedstatedir
='${prefix}/com'
723 localstatedir
='${prefix}/var'
724 includedir
='${prefix}/include'
725 oldincludedir
='/usr/include'
726 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
727 infodir
='${datarootdir}/info'
732 libdir
='${exec_prefix}/lib'
733 localedir
='${datarootdir}/locale'
734 mandir
='${datarootdir}/man'
740 # If the previous option needs an argument, assign it.
741 if test -n "$ac_prev"; then
742 eval $ac_prev=\
$ac_option
748 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 # Accept the important Cygnus configure options, so we can diagnose typos.
754 case $ac_dashdash$ac_option in
758 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
760 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
763 -build |
--build |
--buil |
--bui |
--bu)
764 ac_prev
=build_alias
;;
765 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
766 build_alias
=$ac_optarg ;;
768 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
769 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
770 ac_prev
=cache_file
;;
771 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
772 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
773 cache_file
=$ac_optarg ;;
776 cache_file
=config.cache
;;
778 -datadir |
--datadir |
--datadi |
--datad)
780 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
781 datadir
=$ac_optarg ;;
783 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
784 |
--dataroo |
--dataro |
--datar)
785 ac_prev
=datarootdir
;;
786 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
787 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
788 datarootdir
=$ac_optarg ;;
790 -disable-* |
--disable-*)
791 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
794 as_fn_error
"invalid feature name: $ac_useropt"
795 ac_useropt_orig
=$ac_useropt
796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
802 ac_unrecognized_sep
=', ';;
804 eval enable_
$ac_useropt=no
;;
806 -docdir |
--docdir |
--docdi |
--doc |
--do)
808 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
811 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
813 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
816 -enable-* |
--enable-*)
817 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
820 as_fn_error
"invalid feature name: $ac_useropt"
821 ac_useropt_orig
=$ac_useropt
822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828 ac_unrecognized_sep
=', ';;
830 eval enable_
$ac_useropt=\
$ac_optarg ;;
832 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
833 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
834 |
--exec |
--exe |
--ex)
835 ac_prev
=exec_prefix
;;
836 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
837 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
838 |
--exec=* |
--exe=* |
--ex=*)
839 exec_prefix
=$ac_optarg ;;
841 -gas |
--gas |
--ga |
--g)
842 # Obsolete; use --with-gas.
845 -help |
--help |
--hel |
--he |
-h)
847 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
848 ac_init_help
=recursive
;;
849 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
850 ac_init_help
=short
;;
852 -host |
--host |
--hos |
--ho)
853 ac_prev
=host_alias
;;
854 -host=* |
--host=* |
--hos=* |
--ho=*)
855 host_alias
=$ac_optarg ;;
857 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
859 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
861 htmldir
=$ac_optarg ;;
863 -includedir |
--includedir |
--includedi |
--included |
--include \
864 |
--includ |
--inclu |
--incl |
--inc)
865 ac_prev
=includedir
;;
866 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
867 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
868 includedir
=$ac_optarg ;;
870 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
872 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
873 infodir
=$ac_optarg ;;
875 -libdir |
--libdir |
--libdi |
--libd)
877 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
880 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
881 |
--libexe |
--libex |
--libe)
882 ac_prev
=libexecdir
;;
883 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
884 |
--libexe=* |
--libex=* |
--libe=*)
885 libexecdir
=$ac_optarg ;;
887 -localedir |
--localedir |
--localedi |
--localed |
--locale)
889 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
890 localedir
=$ac_optarg ;;
892 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
893 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
894 ac_prev
=localstatedir
;;
895 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
896 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
897 localstatedir
=$ac_optarg ;;
899 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
901 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
905 # Obsolete; use --without-fp.
908 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
909 |
--no-cr |
--no-c |
-n)
912 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
913 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
916 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
917 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
918 |
--oldin |
--oldi |
--old |
--ol |
--o)
919 ac_prev
=oldincludedir
;;
920 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
921 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
922 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
923 oldincludedir
=$ac_optarg ;;
925 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
927 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
930 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
931 |
--program-pre |
--program-pr |
--program-p)
932 ac_prev
=program_prefix
;;
933 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
934 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
935 program_prefix
=$ac_optarg ;;
937 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
938 |
--program-suf |
--program-su |
--program-s)
939 ac_prev
=program_suffix
;;
940 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
941 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
942 program_suffix
=$ac_optarg ;;
944 -program-transform-name |
--program-transform-name \
945 |
--program-transform-nam |
--program-transform-na \
946 |
--program-transform-n |
--program-transform- \
947 |
--program-transform |
--program-transfor \
948 |
--program-transfo |
--program-transf \
949 |
--program-trans |
--program-tran \
950 |
--progr-tra |
--program-tr |
--program-t)
951 ac_prev
=program_transform_name
;;
952 -program-transform-name=* |
--program-transform-name=* \
953 |
--program-transform-nam=* |
--program-transform-na=* \
954 |
--program-transform-n=* |
--program-transform-=* \
955 |
--program-transform=* |
--program-transfor=* \
956 |
--program-transfo=* |
--program-transf=* \
957 |
--program-trans=* |
--program-tran=* \
958 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
959 program_transform_name
=$ac_optarg ;;
961 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
963 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
966 -psdir |
--psdir |
--psdi |
--psd |
--ps)
968 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
971 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
972 |
-silent |
--silent |
--silen |
--sile |
--sil)
975 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
977 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
979 sbindir
=$ac_optarg ;;
981 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
982 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
983 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
985 ac_prev
=sharedstatedir
;;
986 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
987 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
988 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
990 sharedstatedir
=$ac_optarg ;;
992 -site |
--site |
--sit)
994 -site=* |
--site=* |
--sit=*)
997 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
999 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1000 srcdir
=$ac_optarg ;;
1002 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1003 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1004 ac_prev
=sysconfdir
;;
1005 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1006 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1007 sysconfdir
=$ac_optarg ;;
1009 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1010 ac_prev
=target_alias
;;
1011 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1012 target_alias
=$ac_optarg ;;
1014 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1017 -version |
--version |
--versio |
--versi |
--vers |
-V)
1018 ac_init_version
=: ;;
1021 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1024 as_fn_error
"invalid package name: $ac_useropt"
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval with_
$ac_useropt=\
$ac_optarg ;;
1036 -without-* |
--without-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1040 as_fn_error
"invalid package name: $ac_useropt"
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval with_
$ac_useropt=no
;;
1053 # Obsolete; use --with-x.
1056 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1057 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1058 ac_prev
=x_includes
;;
1059 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1060 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1061 x_includes
=$ac_optarg ;;
1063 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1064 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1065 ac_prev
=x_libraries
;;
1066 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1067 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1068 x_libraries
=$ac_optarg ;;
1070 -*) as_fn_error
"unrecognized option: \`$ac_option'
1071 Try \`$0 --help' for more information."
1075 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1076 # Reject names that are not valid shell variable names.
1077 case $ac_envvar in #(
1078 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1079 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1081 eval $ac_envvar=\
$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1095 if test -n "$ac_prev"; then
1096 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1097 as_fn_error
"missing argument to $ac_option"
1100 if test -n "$ac_unrecognized_opts"; then
1101 case $enable_option_checking in
1103 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1104 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 # Check all directory arguments for consistency.
1109 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val
=\$
$ac_var
1115 # Remove trailing slashes.
1118 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1119 eval $ac_var=\
$ac_val;;
1121 # Be sure to have absolute directory names.
1123 [\\/$
]* | ?
:[\\/]* ) continue;;
1124 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1126 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1129 # There might be people who depend on the old broken behavior: `$host'
1130 # used to hold the argument of --host etc.
1131 # FIXME: To remove some day.
1134 target
=$target_alias
1136 # FIXME: To remove some day.
1137 if test "x$host_alias" != x
; then
1138 if test "x$build_alias" = x
; then
1139 cross_compiling
=maybe
1140 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1141 If a cross compiler is detected then cross compile mode will be used." >&2
1142 elif test "x$build_alias" != "x$host_alias"; then
1148 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1150 test "$silent" = yes && exec 6>/dev
/null
1153 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1154 ac_ls_di
=`ls -di .` &&
1155 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1156 as_fn_error
"working directory cannot be determined"
1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 as_fn_error
"pwd does not report name of working directory"
1161 # Find the source files, if location was not specified.
1162 if test -z "$srcdir"; then
1163 ac_srcdir_defaulted
=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir
=`$as_dirname -- "$as_myself" ||
1166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$as_myself" : 'X\(//\)[^/]' \| \
1168 X"$as_myself" : 'X\(//\)$' \| \
1169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170 $as_echo X"$as_myself" |
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1193 ac_srcdir_defaulted
=no
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1197 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1199 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1211 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 for ac_var
in $ac_precious_vars; do
1214 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1216 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1227 \`configure' configures libdecnumber to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1285 --build=BUILD configure
for building on BUILD
[guessed
]
1286 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1287 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1291 if test -n "$ac_init_help"; then
1292 case $ac_init_help in
1293 short | recursive
) echo "Configuration of libdecnumber :";;
1298 --disable-option-checking ignore unrecognized
--enable/--with options
1299 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1300 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1301 --enable-werror-always enable -Werror despite compiler version
1302 --enable-maintainer-mode enable rules only needed by maintainers
1303 --enable-decimal-float={no
,yes,bid
,dpd
}
1304 enable decimal float extension to C. Selecting
'bid'
1305 or
'dpd' choses
which decimal floating point format
1307 --enable-host-shared build
host code as shared libraries
1309 Some influential environment variables
:
1310 CC C compiler
command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1313 nonstandard directory
<lib dir
>
1314 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1315 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1316 you have headers
in a nonstandard directory
<include dir
>
1319 Use these variables to override the choices made by
`configure' or to help
1320 it to find libraries and programs with nonstandard names/locations.
1322 Report bugs to <gcc-bugs@gcc.gnu.org>.
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" ||
1331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1352 .) # We are building in place.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1385 libdecnumber configure
1386 generated by GNU Autoconf 2.64
1388 Copyright (C) 2009 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1395 ## ------------------------ ##
1396 ## Autoconf initialization. ##
1397 ## ------------------------ ##
1399 # ac_fn_c_try_compile LINENO
1400 # --------------------------
1401 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1402 ac_fn_c_try_compile ()
1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405 rm -f conftest.$ac_objext
1406 if { { ac_try="$ac_compile"
1408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1409 *) ac_try_echo
=$ac_try;;
1411 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412 $as_echo "$ac_try_echo"; } >&5
1413 (eval "$ac_compile") 2>conftest.err
1415 if test -s conftest.err
; then
1416 grep -v '^ *+' conftest.err
>conftest.er1
1417 cat conftest.er1
>&5
1418 mv -f conftest.er1 conftest.err
1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 test $ac_status = 0; } && {
1422 test -z "$ac_c_werror_flag" ||
1423 test ! -s conftest.err
1424 } && test -s conftest.
$ac_objext; then :
1427 $as_echo "$as_me: failed program was:" >&5
1428 sed 's/^/| /' conftest.
$ac_ext >&5
1432 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1435 } # ac_fn_c_try_compile
1437 # ac_fn_c_try_cpp LINENO
1438 # ----------------------
1439 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1442 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1443 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } >/dev/null && {
1459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1469 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1474 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1475 # -------------------------------------------------------
1476 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1477 # the include files in INCLUDES and setting the cache variable VAR
1479 ac_fn_c_check_header_mongrel ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484 $as_echo_n "checking for $2... " >&6; }
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 $as_echo_n "(cached) " >&6
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1490 $as_echo "$ac_res" >&6; }
1492 # Is the header compilable?
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1494 $as_echo_n "checking $2 usability... " >&6; }
1495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496 /* end confdefs.h. */
1500 if ac_fn_c_try_compile "$LINENO"; then :
1501 ac_header_compiler=yes
1503 ac_header_compiler=no
1505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1507 $as_echo "$ac_header_compiler" >&6; }
1509 # Is the header present?
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1511 $as_echo_n "checking $2 presence... " >&6; }
1512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1513 /* end confdefs.h. */
1516 if ac_fn_c_try_cpp "$LINENO"; then :
1517 ac_header_preproc=yes
1519 ac_header_preproc=no
1521 rm -f conftest.err conftest.$ac_ext
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1523 $as_echo "$ac_header_preproc" >&6; }
1525 # So? What about this header?
1526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1529 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1531 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1535 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1537 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1539 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1541 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1543 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1545 ## ----------------------------------- ##
1546 ## Report this to gcc-bugs@gcc.gnu.org ##
1547 ## ----------------------------------- ##
1549 ) | sed "s/^/$as_me: WARNING: /" >&2
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1555 $as_echo_n "(cached) " >&6
1557 eval "$3=\$ac_header_compiler"
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565 } # ac_fn_c_check_header_mongrel
1567 # ac_fn_c_try_run LINENO
1568 # ----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1570 # that executables *can* be run.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_link"
1576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1577 *) ac_try_echo
=$ac_try;;
1579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>&5
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1585 { { case "(($ac_try" in
1586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_try") 2>&5
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; }; }; then :
1597 $as_echo "$as_me: program exited with status $ac_status" >&5
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1601 ac_retval=$ac_status
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1626 if ac_fn_c_try_compile "$LINENO"; then :
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1641 # -------------------------------------------
1642 # Tests whether TYPE exists after having included INCLUDES, setting cache
1643 # variable VAR accordingly.
1644 ac_fn_c_check_type ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_type
1694 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1695 # --------------------------------------------
1696 # Tries to find the compile-time value of EXPR in a program that includes
1697 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1699 ac_fn_c_compute_int ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 if test "$cross_compiling" = yes; then
1703 # Depending upon the size, compute the lo and hi bounds.
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1710 static int test_array [1 - 2 * !(($2) >= 0)];
1717 if ac_fn_c_try_compile "$LINENO"; then :
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1726 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734 ac_hi=$ac_mid; break
1736 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1737 if test $ac_lo -le $ac_mid; then
1741 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1752 static int test_array [1 - 2 * !(($2) < 0)];
1759 if ac_fn_c_try_compile "$LINENO"; then :
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1768 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 ac_lo=$ac_mid; break
1778 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1779 if test $ac_mid -le $ac_hi; then
1783 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 # Binary search between lo and hi bounds.
1794 while test "x$ac_lo" != "x$ac_hi"; do
1795 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1802 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1809 if ac_fn_c_try_compile "$LINENO"; then :
1812 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1824 static long int longval () { return $2; }
1825 static unsigned long int ulongval () { return $2; }
1832 FILE *f = fopen ("conftest.val", "w");
1837 long int i = longval ();
1840 fprintf (f, "%ld", i);
1844 unsigned long int i = ulongval ();
1847 fprintf (f, "%lu", i);
1849 /* Do not output a trailing newline, as this causes \r\n confusion
1850 on some platforms. */
1851 return ferror (f) || fclose (f) != 0;
1857 if ac_fn_c_try_run "$LINENO"; then :
1858 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1863 conftest.$ac_objext conftest.beam conftest.$ac_ext
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 } # ac_fn_c_compute_int
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by libdecnumber $as_me , which was
1876 generated by GNU Autoconf 2.64. Invocation command line was
1888 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1889 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1890 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1891 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1892 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1895 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1897 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1898 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1899 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1900 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1901 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1902 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1903 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 $as_echo "PATH: $as_dir"
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_must_keep_next=false
1942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944 | -silent | --silent | --silen | --sile | --sil)
1947 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952 as_fn_append ac_configure_args1 " '$ac_arg'"
1953 if test $ac_must_keep_next = true; then
1954 ac_must_keep_next=false # Got value, back to normal.
1957 *=* | --config-cache | -C | -disable-* | --disable-* \
1958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960 | -with-* | --with-* | -without-* | --without-* | --x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1965 -* ) ac_must_keep_next=true ;;
1968 as_fn_append ac_configure_args " '$ac_arg'"
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1987 ## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##
1992 # The following way of writing the cache mishandles newlines in values,
1994 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1995 eval ac_val=\$$ac_var
1999 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2003 _ | IFS | as_nl) ;; #(
2004 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2005 *) { eval $ac_var=; unset $ac_var;} ;;
2010 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2011 *${as_nl}ac_space=\ *)
2013 "s/'\''/'\''\\\\'\'''\''/g;
2014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2025 ## ----------------- ##
2026 ## Output variables. ##
2027 ## ----------------- ##
2030 for ac_var in $ac_subst_vars
2032 eval ac_val=\$$ac_var
2034 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -n "$ac_subst_files"; then
2042 ## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##
2047 for ac_var in $ac_subst_files
2049 eval ac_val=\$$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2058 if test -s confdefs.h; then
2068 test "$ac_signal" != 0 &&
2069 $as_echo "$as_me: caught signal $ac_signal"
2070 $as_echo "$as_me: exit $exit_status"
2072 rm -f core *.core core.conftest.* &&
2073 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2076 for ac_signal in 1 2 13 15; do
2077 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2082 rm -f -r conftest* confdefs.h
2084 $as_echo "/* confdefs.h */" > confdefs.h
2086 # Predefined preprocessor variables.
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_STRING "$PACKAGE_STRING"
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_URL "$PACKAGE_URL"
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer an explicitly selected file to automatically selected ones.
2117 if test -n "$CONFIG_SITE"; then
2118 ac_site_file1=$CONFIG_SITE
2119 elif test "x$prefix" != xNONE; then
2120 ac_site_file1=$prefix/share/config.site
2121 ac_site_file2=$prefix/etc/config.site
2123 ac_site_file1=$ac_default_prefix/share/config.site
2124 ac_site_file2=$ac_default_prefix/etc/config.site
2126 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2128 test "x$ac_site_file" = xNONE && continue
2129 if test -r "$ac_site_file"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2131 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2132 sed 's/^/| /' "$ac_site_file" >&5
2137 if test -r "$cache_file"; then
2138 # Some versions of bash will fail to source /dev/null (special
2139 # files actually), so we avoid doing that.
2140 if test -f "$cache_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
2144 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2145 *) . "./$cache_file";;
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
2154 # Check that the precious variables saved in the cache have kept the same
2156 ac_cache_corrupted=false
2157 for ac_var in $ac_precious_vars; do
2158 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2159 eval ac_new_set=\$ac_env_${ac_var}_set
2160 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2161 eval ac_new_val=\$ac_env_${ac_var}_value
2162 case $ac_old_set,$ac_new_set in
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2165 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166 ac_cache_corrupted=: ;;
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2169 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2170 ac_cache_corrupted=: ;;
2173 if test "x$ac_old_val" != "x$ac_new_val"; then
2174 # differences in whitespace do not lead to failure.
2175 ac_old_val_w=`echo x
$ac_old_val`
2176 ac_new_val_w=`echo x
$ac_new_val`
2177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2180 ac_cache_corrupted=:
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184 eval $ac_var=\$ac_old_val
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2192 # Pass precious variables to config.status.
2193 if test "$ac_new_set" = set; then
2195 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2196 *) ac_arg=$ac_var=$ac_new_val ;;
2198 case " $ac_configure_args " in
2199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2204 if $ac_cache_corrupted; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2228 for ac_dir in .. "$srcdir"/..; do
2229 for ac_t in install-sh install.sh shtool; do
2230 if test -f "$ac_dir/$ac_t"; then
2232 ac_install_sh="$ac_aux_dir/$ac_t -c"
2237 if test -z "$ac_aux_dir"; then
2238 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2241 # These three variables are undocumented and unsupported,
2242 # and are intended to be withdrawn in a future Autoconf release.
2243 # They can cause serious problems if a builder's source tree is in a directory
2244 # whose full name contains unusual characters.
2245 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2246 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2247 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2251 # Checks for programs.
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2253 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2255 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2257 $as_echo_n "(cached) " >&6
2259 cat >conftest.make <<\_ACEOF
2262 @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2267 eval ac_cv_prog_make_${ac_make}_set=yes;;
2269 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2275 $as_echo "yes" >&6; }
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279 $as_echo "no" >&6; }
2280 SET_MAKE="MAKE=${MAKE-make}"
2284 ac_cpp='$CPP $CPPFLAGS'
2285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2290 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2319 $as_echo "$CC" >&6; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2327 if test -z "$ac_cv_prog_CC"; then
2329 # Extract the first word of "gcc", so it can be a program name with args.
2330 set dummy gcc; ac_word=$2
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2332 $as_echo_n "checking for $ac_word... " >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2334 $as_echo_n "(cached) " >&6
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC="gcc"
2347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2359 $as_echo "$ac_ct_CC" >&6; }
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2362 $as_echo "no" >&6; }
2365 if test "x$ac_ct_CC" = x; then
2368 case $cross_compiling:$ac_tool_warned in
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2372 ac_tool_warned=yes ;;
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test -n "$CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2412 $as_echo "$CC" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then :
2427 $as_echo_n "(cached) " >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2467 if test -n "$CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469 $as_echo "$CC" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484 $as_echo_n "checking for $ac_word... " >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then :
2486 $as_echo_n "(cached) " >&6
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 if test -n "$CC"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2511 $as_echo "$CC" >&6; }
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514 $as_echo "no" >&6; }
2518 test -n "$CC" && break
2521 if test -z "$CC"; then
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2555 $as_echo "$ac_ct_CC" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2562 test -n "$ac_ct_CC" && break
2565 if test "x$ac_ct_CC" = x; then
2568 case $cross_compiling:$ac_tool_warned in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2572 ac_tool_warned=yes ;;
2581 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error "no acceptable C compiler found
in \
$PATH
2584 See \
`config.log' for more details." "$LINENO" 5; }
2586 # Provide some information about the compiler.
2587 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2590 for ac_option in --version -v -V -qversion; do
2591 { { ac_try="$ac_compiler $ac_option >&5"
2593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2594 *) ac_try_echo
=$ac_try;;
2596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2600 if test -s conftest.err
; then
2602 ... rest of stderr output deleted ...
2603 10q' conftest.err
>conftest.er1
2604 cat conftest.er1
>&5
2605 rm -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; }
2611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2622 ac_clean_files_save
=$ac_clean_files
2623 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2624 # Try to create an executable without -o first, disregard a.out.
2625 # It will help us diagnose broken compilers, and finding out an intuition
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2628 $as_echo_n "checking for C compiler default output file name... " >&6; }
2629 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2631 # The possible output files:
2632 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2635 for ac_file
in $ac_files
2638 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2639 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2644 if { { ac_try
="$ac_link_default"
2646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link_default") 2>&5
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; }; then :
2655 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2656 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2657 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2658 # so that the user can short-circuit this test for compilers unknown to
2660 for ac_file in $ac_files ''
2662 test -f "$ac_file" || continue
2664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2667 # We found the default executable, but exeext='' is most
2671 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2673 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2675 # We set ac_cv_exeext here because the later test for it is not
2676 # safe: cross compilers may not add the suffix if given an `-o'
2677 # argument, so we may need to know it at that point already.
2678 # Even if this section looks crufty: it has the advantage of
2685 test "$ac_cv_exeext" = no && ac_cv_exeext=
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2691 $as_echo "$ac_file" >&6; }
2692 if test -z "$ac_file"; then :
2693 $as_echo "$as_me: failed program was:" >&5
2694 sed 's
/^
/|
/' conftest.$ac_ext >&5
2696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2697 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2698 { as_fn_set_status 77
2699 as_fn_error "C compiler cannot create executables
2700 See \`config.log
' for more details." "$LINENO" 5; }; }
2702 ac_exeext=$ac_cv_exeext
2704 # Check that the compiler produces executables we can run. If not, either
2705 # the compiler is broken, or we cross compile.
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2707 $as_echo_n "checking whether the C compiler works... " >&6; }
2708 # If not cross compiling, check that we can run a simple program.
2709 if test "$cross_compiling" != yes; then
2710 if { ac_try='.
/$ac_file'
2711 { { case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_try") 2>&5
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; }; }; then
2723 if test "$cross_compiling" = maybe; then
2726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2728 as_fn_error "cannot run C compiled programs.
2729 If you meant to cross compile, use \`--host'.
2730 See \`config.log' for more details.
" "$LINENO" 5; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2735 $as_echo "yes" >&6; }
2737 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2738 ac_clean_files=$ac_clean_files_save
2739 # Check that the compiler produces executables we can run. If not, either
2740 # the compiler is broken, or we cross compile.
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2742 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
2744 $as_echo "$cross_compiling" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2747 $as_echo_n "checking
for suffix of executables...
" >&6; }
2748 if { { ac_try="$ac_link"
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2754 $as_echo "$ac_try_echo"; } >&5
2755 (eval "$ac_link") 2>&5
2757 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2758 test $ac_status = 0; }; then :
2759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2763 for ac_file in conftest.exe conftest conftest.*; do
2764 test -f "$ac_file" || continue
2766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2767 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 as_fn_error "cannot compute suffix of executables: cannot compile and link
2776 See \`config.log' for more details.
" "$LINENO" 5; }
2778 rm -f conftest$ac_cv_exeext
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2780 $as_echo "$ac_cv_exeext" >&6; }
2782 rm -f conftest.$ac_ext
2783 EXEEXT=$ac_cv_exeext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
2786 $as_echo_n "checking
for suffix of object files...
" >&6; }
2787 if test "${ac_cv_objext+set}" = set; then :
2788 $as_echo_n "(cached
) " >&6
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2801 rm -f conftest.o conftest.obj
2802 if { { ac_try="$ac_compile"
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>&5
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2812 test $ac_status = 0; }; then :
2813 for ac_file in conftest.o conftest.obj conftest.*; do
2814 test -f "$ac_file" || continue;
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2822 $as_echo "$as_me: failed program was
:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 as_fn_error "cannot compute suffix of object files: cannot compile
2828 See \`config.log' for more details.
" "$LINENO" 5; }
2830 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
2833 $as_echo "$ac_cv_objext" >&6; }
2834 OBJEXT=$ac_cv_objext
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
2837 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2838 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2839 $as_echo_n "(cached
) " >&6
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2855 if ac_fn_c_try_compile "$LINENO"; then :
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
2865 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2866 if test $ac_compiler_gnu = yes; then
2871 ac_test_CFLAGS=${CFLAGS+set}
2872 ac_save_CFLAGS=$CFLAGS
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
2874 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2875 if test "${ac_cv_prog_cc_g+set}" = set; then :
2876 $as_echo_n "(cached
) " >&6
2878 ac_save_c_werror_flag=$ac_c_werror_flag
2879 ac_c_werror_flag=yes
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2893 if ac_fn_c_try_compile "$LINENO"; then :
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2908 if ac_fn_c_try_compile "$LINENO"; then :
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2924 if ac_fn_c_try_compile "$LINENO"; then :
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 ac_c_werror_flag=$ac_save_c_werror_flag
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
2935 $as_echo "$ac_cv_prog_cc_g" >&6; }
2936 if test "$ac_test_CFLAGS" = set; then
2937 CFLAGS=$ac_save_CFLAGS
2938 elif test $ac_cv_prog_cc_g = yes; then
2939 if test "$GCC" = yes; then
2945 if test "$GCC" = yes; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
2952 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
2953 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2954 $as_echo_n "(cached
) " >&6
2956 ac_cv_prog_cc_c89=no
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 #include <sys/types.h>
2963 #include <sys/stat.h>
2964 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2965 struct buf { int x; };
2966 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2967 static char *e (p, i)
2973 static char *f (char * (*g) (char **, int), char **p, ...)
2978 s = g (p, va_arg (v,int));
2983 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2984 function prototypes and stuff, but not '\xHH' hex character constants.
2985 These don't provoke an error unfortunately, instead are silently treated
2986 as 'x'. The following induces an error, until -std is added to get
2987 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2988 array size at least. It's necessary to write '\x00'==0 to get something
2989 that's true only with -std. */
2990 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2993 inside strings and character constants. */
2995 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2997 int test (int i, double x);
2998 struct s1 {int (*f) (int a);};
2999 struct s2 {int (*f) (double a);};
3000 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3006 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3011 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3012 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3014 CC="$ac_save_CC $ac_arg"
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_cv_prog_cc_c89=$ac_arg
3018 rm -f core conftest.err conftest.$ac_objext
3019 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3021 rm -f conftest.$ac_ext
3026 case "x
$ac_cv_prog_cc_c89" in
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3029 $as_echo "none needed
" >&6; } ;;
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3032 $as_echo "unsupported
" >&6; } ;;
3034 CC="$CC $ac_cv_prog_cc_c89"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3036 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3038 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3043 ac_cpp='$CPP $CPPFLAGS'
3044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 if test -n "$ac_tool_prefix"; then
3049 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3050 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3052 $as_echo_n "checking
for $ac_word...
" >&6; }
3053 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3054 $as_echo_n "(cached
) " >&6
3056 if test -n "$RANLIB"; then
3057 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3076 RANLIB=$ac_cv_prog_RANLIB
3077 if test -n "$RANLIB"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3079 $as_echo "$RANLIB" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3082 $as_echo "no
" >&6; }
3087 if test -z "$ac_cv_prog_RANLIB"; then
3088 ac_ct_RANLIB=$RANLIB
3089 # Extract the first word of "ranlib
", so it can be a program name with args.
3090 set dummy ranlib; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3092 $as_echo_n "checking
for $ac_word...
" >&6; }
3093 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3094 $as_echo_n "(cached
) " >&6
3096 if test -n "$ac_ct_RANLIB"; then
3097 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3106 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3117 if test -n "$ac_ct_RANLIB"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3119 $as_echo "$ac_ct_RANLIB" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3122 $as_echo "no
" >&6; }
3125 if test "x
$ac_ct_RANLIB" = x; then
3128 case $cross_compiling:$ac_tool_warned in
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3131 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3132 ac_tool_warned=yes ;;
3134 RANLIB=$ac_ct_RANLIB
3137 RANLIB="$ac_cv_prog_RANLIB"
3141 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3142 for ac_prog in aclocal
3144 # Extract the first word of "$ac_prog", so it can be a program name with args.
3145 set dummy $ac_prog; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3147 $as_echo_n "checking
for $ac_word...
" >&6; }
3148 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
3149 $as_echo_n "(cached
) " >&6
3151 if test -n "$ACLOCAL"; then
3152 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161 ac_cv_prog_ACLOCAL="$ac_prog"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3171 ACLOCAL=$ac_cv_prog_ACLOCAL
3172 if test -n "$ACLOCAL"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ACLOCAL" >&5
3174 $as_echo "$ACLOCAL" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3177 $as_echo "no
" >&6; }
3181 test -n "$ACLOCAL" && break
3183 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal
"
3185 for ac_prog in autoconf
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy $ac_prog; ac_word=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3190 $as_echo_n "checking
for $ac_word...
" >&6; }
3191 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
3192 $as_echo_n "(cached
) " >&6
3194 if test -n "$AUTOCONF"; then
3195 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_AUTOCONF="$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3214 AUTOCONF=$ac_cv_prog_AUTOCONF
3215 if test -n "$AUTOCONF"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOCONF" >&5
3217 $as_echo "$AUTOCONF" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3220 $as_echo "no
" >&6; }
3224 test -n "$AUTOCONF" && break
3226 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf
"
3228 for ac_prog in autoheader
3230 # Extract the first word of "$ac_prog", so it can be a program name with args.
3231 set dummy $ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3233 $as_echo_n "checking
for $ac_word...
" >&6; }
3234 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
3235 $as_echo_n "(cached
) " >&6
3237 if test -n "$AUTOHEADER"; then
3238 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_AUTOHEADER="$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3257 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3258 if test -n "$AUTOHEADER"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOHEADER" >&5
3260 $as_echo "$AUTOHEADER" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3263 $as_echo "no
" >&6; }
3267 test -n "$AUTOHEADER" && break
3269 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader
"
3272 # Figure out what compiler warnings we can enable.
3273 # See config/warnings.m4 for details.
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283 save_CFLAGS="$CFLAGS"
3284 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3285 -Wmissing-prototypes -Wold-style-definition \
3286 -Wmissing-format-attribute -Wcast-qual; do
3287 # Do the check with the no- prefix removed since gcc silently
3288 # accepts any -Wno-* option on purpose
3289 case $real_option in
3290 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3291 *) option=$real_option ;;
3293 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
3296 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
3297 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
3298 $as_echo_n "(cached
) " >&6
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3312 if ac_fn_c_try_compile "$LINENO"; then :
3313 eval "$as_acx_Woption=yes"
3315 eval "$as_acx_Woption=no
"
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 eval ac_res=\$$as_acx_Woption
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
3322 $as_echo "$ac_res" >&6; }
3323 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3324 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3327 CFLAGS="$save_CFLAGS"
3329 ac_cpp='$CPP $CPPFLAGS'
3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 # Do the check with the no- prefix removed from the warning options
3343 # since gcc silently accepts any -Wno-* option on purpose
3344 if test "$GCC" = yes; then :
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
-pedantic -Wlong-long" >&5
3346 $as_echo_n "checking whether
$CC supports
-pedantic -Wlong-long...
" >&6; }
3347 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
3348 $as_echo_n "(cached
) " >&6
3350 save_CFLAGS="$CFLAGS"
3351 CFLAGS="-pedantic -Wlong-long"
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_c_try_compile "$LINENO"; then :
3364 acx_cv_prog_cc_pedantic__Wlong_long=yes
3366 acx_cv_prog_cc_pedantic__Wlong_long=no
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 CFLAGS="$save_CFLAGS"
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3372 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3373 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3374 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
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
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 save_CFLAGS="$CFLAGS"
3394 for real_option in -fno-lto; do
3395 # Do the check with the no- prefix removed since gcc silently
3396 # accepts any -Wno-* option on purpose
3397 case $real_option in
3398 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3399 *) option=$real_option ;;
3401 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
3404 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
3405 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
3406 $as_echo_n "(cached
) " >&6
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 eval "$as_acx_Woption=yes"
3423 eval "$as_acx_Woption=no
"
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 eval ac_res=\$$as_acx_Woption
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
3430 $as_echo "$ac_res" >&6; }
3431 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3432 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3435 CFLAGS="$save_CFLAGS"
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3444 # Only enable with --enable-werror-always until existing warnings are
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 # Check whether --enable-werror-always was given.
3454 if test "${enable_werror_always+set}" = set; then :
3455 enableval=$enable_werror_always;
3457 enable_werror_always=no
3460 if test $enable_werror_always = yes; then :
3461 WERROR="$WERROR${WERROR:+ }-Werror"
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 # Checks for header files.
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3479 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3480 # On Suns, sometimes $CPP names a directory.
3481 if test -n "$CPP" && test -d "$CPP"; then
3484 if test -z "$CPP"; then
3485 if test "${ac_cv_prog_CPP+set}" = set; then :
3486 $as_echo_n "(cached
) " >&6
3488 # Double quotes because CPP needs to be expanded
3489 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3492 for ac_c_preproc_warn_flag in '' yes
3494 # Use a header file that comes with gcc, so configuring glibc
3495 # with a fresh cross-compiler works.
3496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3497 # <limits.h> exists even on freestanding compilers.
3498 # On the NeXT, cc -E runs the code through the compiler's parser,
3499 # not just through cpp. "Syntax error
" is here to catch this case.
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3503 # include <limits.h>
3505 # include <assert.h>
3509 if ac_fn_c_try_cpp "$LINENO"; then :
3512 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 #include <ac_nonexistent.h>
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3524 # Broken: success on invalid input.
3527 # Passes both tests.
3531 rm -f conftest.err conftest.$ac_ext
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.$ac_ext
3536 if $ac_preproc_ok; then :
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
3551 for ac_c_preproc_warn_flag in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error
" is here to catch this case.
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3562 # include <limits.h>
3564 # include <assert.h>
3568 if ac_fn_c_try_cpp "$LINENO"; then :
3571 # Broken: fails on valid input.
3574 rm -f conftest.err conftest.$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3580 #include <ac_nonexistent.h>
3582 if ac_fn_c_try_cpp "$LINENO"; then :
3583 # Broken: success on invalid input.
3586 # Passes both tests.
3590 rm -f conftest.err conftest.$ac_ext
3593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3594 rm -f conftest.err conftest.$ac_ext
3595 if $ac_preproc_ok; then :
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3601 See \`config.log' for more details.
" "$LINENO" 5; }
3605 ac_cpp='$CPP $CPPFLAGS'
3606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3612 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3613 if test "${ac_cv_path_GREP+set}" = set; then :
3614 $as_echo_n "(cached
) " >&6
3616 if test -z "$GREP"; then
3617 ac_path_GREP_found=false
3618 # Loop through the user's path and test for each of PROGNAME-LIST
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3623 test -z "$as_dir" && as_dir=.
3624 for ac_prog in grep ggrep; do
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3627 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3628 # Check for GNU ac_path_GREP and select it if it is found.
3629 # Check for GNU $ac_path_GREP
3630 case `"$ac_path_GREP" --version 2>&1` in
3632 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3635 $as_echo_n 0123456789 >"conftest.
in"
3638 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3639 mv "conftest.tmp
" "conftest.
in"
3640 cp "conftest.
in" "conftest.
nl"
3641 $as_echo 'GREP' >> "conftest.
nl"
3642 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3643 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3644 as_fn_arith $ac_count + 1 && ac_count=$as_val
3645 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3646 # Best one so far, save it but keep looking for a better one
3647 ac_cv_path_GREP="$ac_path_GREP"
3648 ac_path_GREP_max=$ac_count
3650 # 10*(2^10) chars as input seems more than enough
3651 test $ac_count -gt 10 && break
3653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3656 $ac_path_GREP_found && break 3
3661 if test -z "$ac_cv_path_GREP"; then
3662 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3665 ac_cv_path_GREP=$GREP
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3670 $as_echo "$ac_cv_path_GREP" >&6; }
3671 GREP="$ac_cv_path_GREP"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3675 $as_echo_n "checking
for egrep...
" >&6; }
3676 if test "${ac_cv_path_EGREP+set}" = set; then :
3677 $as_echo_n "(cached
) " >&6
3679 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3680 then ac_cv_path_EGREP="$GREP -E"
3682 if test -z "$EGREP"; then
3683 ac_path_EGREP_found=false
3684 # Loop through the user's path and test for each of PROGNAME-LIST
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3689 test -z "$as_dir" && as_dir=.
3690 for ac_prog in egrep; do
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3693 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3694 # Check for GNU ac_path_EGREP and select it if it is found.
3695 # Check for GNU $ac_path_EGREP
3696 case `"$ac_path_EGREP" --version 2>&1` in
3698 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3701 $as_echo_n 0123456789 >"conftest.
in"
3704 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3705 mv "conftest.tmp
" "conftest.
in"
3706 cp "conftest.
in" "conftest.
nl"
3707 $as_echo 'EGREP' >> "conftest.
nl"
3708 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3709 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3710 as_fn_arith $ac_count + 1 && ac_count=$as_val
3711 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3712 # Best one so far, save it but keep looking for a better one
3713 ac_cv_path_EGREP="$ac_path_EGREP"
3714 ac_path_EGREP_max=$ac_count
3716 # 10*(2^10) chars as input seems more than enough
3717 test $ac_count -gt 10 && break
3719 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3722 $ac_path_EGREP_found && break 3
3727 if test -z "$ac_cv_path_EGREP"; then
3728 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3731 ac_cv_path_EGREP=$EGREP
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3737 $as_echo "$ac_cv_path_EGREP" >&6; }
3738 EGREP="$ac_cv_path_EGREP"
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3742 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3743 if test "${ac_cv_header_stdc+set}" = set; then :
3744 $as_echo_n "(cached
) " >&6
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762 ac_cv_header_stdc=yes
3764 ac_cv_header_stdc=no
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 if test $ac_cv_header_stdc = yes; then
3769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3775 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3776 $EGREP "memchr
" >/dev/null 2>&1; then :
3779 ac_cv_header_stdc=no
3785 if test $ac_cv_header_stdc = yes; then
3786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3792 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3793 $EGREP "free
" >/dev/null 2>&1; then :
3796 ac_cv_header_stdc=no
3802 if test $ac_cv_header_stdc = yes; then
3803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3804 if test "$cross_compiling" = yes; then :
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3811 #if ((' ' & 0x0FF) == 0x020)
3812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3815 # define ISLOWER(c) \
3816 (('a' <= (c) && (c) <= 'i') \
3817 || ('j' <= (c) && (c) <= 'r') \
3818 || ('s' <= (c) && (c) <= 'z'))
3819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3827 for (i = 0; i < 256; i++)
3828 if (XOR (islower (i), ISLOWER (i))
3829 || toupper (i) != TOUPPER (i))
3834 if ac_fn_c_try_run "$LINENO"; then :
3837 ac_cv_header_stdc=no
3839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3840 conftest.$ac_objext conftest.beam conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3846 $as_echo "$ac_cv_header_stdc" >&6; }
3847 if test $ac_cv_header_stdc = yes; then
3849 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3853 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3854 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3855 inttypes.h stdint.h unistd.h
3857 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3858 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3860 eval as_val
=\$
$as_ac_Header
3861 if test "x$as_val" = x
""yes; then :
3862 cat >>confdefs.h
<<_ACEOF
3863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3871 for ac_header
in ctype.h stddef.h string.h stdio.h
3873 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3874 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3875 eval as_val
=\$
$as_ac_Header
3876 if test "x$as_val" = x
""yes; then :
3877 cat >>confdefs.h
<<_ACEOF
3878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3887 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3889 acx_cv_header_stdint
=stddef.h
3890 acx_cv_header_stdint_kind
="(already complete)"
3891 for i
in stdint.h
$inttype_headers; do
3892 unset ac_cv_type_uintptr_t
3893 unset ac_cv_type_uintmax_t
3894 unset ac_cv_type_int_least32_t
3895 unset ac_cv_type_int_fast32_t
3896 unset ac_cv_type_uint64_t
3897 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3898 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3901 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
3902 acx_cv_header_stdint
=$i
3907 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3910 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3913 acx_cv_header_stdint_kind
="(mostly complete)"
3916 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3919 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
3922 acx_cv_header_stdint_kind
="(mostly complete)"
3925 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3928 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
3931 acx_cv_header_stdint_kind
="(mostly complete)"
3934 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3937 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3940 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3945 if test "$acx_cv_header_stdint" = stddef.h
; then
3946 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3947 for i
in stdint.h
$inttype_headers; do
3948 unset ac_cv_type_uintptr_t
3949 unset ac_cv_type_uint32_t
3950 unset ac_cv_type_uint64_t
3951 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
3952 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
3955 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
3956 acx_cv_header_stdint
=$i
3961 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3964 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
3968 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3971 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
3978 if test "$acx_cv_header_stdint" = stddef.h
; then
3979 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3980 for i
in sys
/types.h
$inttype_headers; do
3981 unset ac_cv_type_u_int32_t
3982 unset ac_cv_type_u_int64_t
3983 $as_echo_n "looking for u_intXX_t types in $i, " >&6
3984 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
3987 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
3988 acx_cv_header_stdint
=$i
3993 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
3996 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
4003 if test "$acx_cv_header_stdint" = stddef.h
; then
4004 acx_cv_header_stdint_kind
="(using manual detection)"
4007 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4008 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4009 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4010 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4011 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4013 # ----------------- Summarize what we found so far
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4016 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4018 case `$as_basename -- gstdint.h ||
4019 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4020 Xgstdint.h : 'X\(//\)$' \| \
4021 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4022 $as_echo X/gstdint.h |
4023 sed '/^.*\/\([^/][^/]*\)\/*$/{
4036 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4037 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4038 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4039 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4044 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4046 # ----------------- done included file, check C basic types --------
4048 # Lacking an uintptr_t? Test size of void *
4049 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4050 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
4051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4053 # This bug is HP SR number 8606223364.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4055 $as_echo_n "checking size of void *... " >&6; }
4056 if test "${ac_cv_sizeof_void_p+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4062 if test "$ac_cv_type_void_p" = yes; then
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 { as_fn_set_status
77
4066 as_fn_error
"cannot compute sizeof (void *)
4067 See \`config.log' for more details." "$LINENO" 5; }; }
4069 ac_cv_sizeof_void_p
=0
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4075 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4079 cat >>confdefs.h
<<_ACEOF
4080 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4086 # Lacking an uint64_t? Test size of long
4087 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4088 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
4089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4091 # This bug is HP SR number 8606223364.
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4093 $as_echo_n "checking size of long... " >&6; }
4094 if test "${ac_cv_sizeof_long+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4100 if test "$ac_cv_type_long" = yes; then
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 { as_fn_set_status
77
4104 as_fn_error
"cannot compute sizeof (long)
4105 See \`config.log' for more details." "$LINENO" 5; }; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4113 $as_echo "$ac_cv_sizeof_long" >&6; }
4117 cat >>confdefs.h
<<_ACEOF
4118 #define SIZEOF_LONG $ac_cv_sizeof_long
4124 if test $acx_cv_header_stdint = stddef.h
; then
4125 # Lacking a good header? Test size of everything and deduce all types.
4126 # The cast to long int works around a bug in the HP C Compiler
4127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4129 # This bug is HP SR number 8606223364.
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4131 $as_echo_n "checking size of int... " >&6; }
4132 if test "${ac_cv_sizeof_int+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4135 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4138 if test "$ac_cv_type_int" = yes; then
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 { as_fn_set_status
77
4142 as_fn_error
"cannot compute sizeof (int)
4143 See \`config.log' for more details." "$LINENO" 5; }; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4151 $as_echo "$ac_cv_sizeof_int" >&6; }
4155 cat >>confdefs.h
<<_ACEOF
4156 #define SIZEOF_INT $ac_cv_sizeof_int
4160 # The cast to long int works around a bug in the HP C Compiler
4161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4163 # This bug is HP SR number 8606223364.
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4165 $as_echo_n "checking size of short... " >&6; }
4166 if test "${ac_cv_sizeof_short+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4172 if test "$ac_cv_type_short" = yes; then
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 { as_fn_set_status
77
4176 as_fn_error
"cannot compute sizeof (short)
4177 See \`config.log' for more details." "$LINENO" 5; }; }
4179 ac_cv_sizeof_short
=0
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4185 $as_echo "$ac_cv_sizeof_short" >&6; }
4189 cat >>confdefs.h
<<_ACEOF
4190 #define SIZEOF_SHORT $ac_cv_sizeof_short
4194 # The cast to long int works around a bug in the HP C Compiler
4195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4197 # This bug is HP SR number 8606223364.
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4199 $as_echo_n "checking size of char... " >&6; }
4200 if test "${ac_cv_sizeof_char+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4203 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4206 if test "$ac_cv_type_char" = yes; then
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 { as_fn_set_status
77
4210 as_fn_error
"cannot compute sizeof (char)
4211 See \`config.log' for more details." "$LINENO" 5; }; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4219 $as_echo "$ac_cv_sizeof_char" >&6; }
4223 cat >>confdefs.h
<<_ACEOF
4224 #define SIZEOF_CHAR $ac_cv_sizeof_char
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4230 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4231 case "$ac_cv_sizeof_char" in
4232 1) acx_cv_type_int8_t
=char
;;
4233 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4236 $as_echo "$acx_cv_type_int8_t" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4239 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4240 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4241 2:*) acx_cv_type_int16_t
=int
;;
4242 *:2) acx_cv_type_int16_t
=short
;;
4243 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4246 $as_echo "$acx_cv_type_int16_t" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4249 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4250 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4251 4:*) acx_cv_type_int32_t
=int
;;
4252 *:4) acx_cv_type_int32_t
=long
;;
4253 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4256 $as_echo "$acx_cv_type_int32_t" >&6; }
4259 # These tests are here to make the output prettier
4261 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4262 case "$ac_cv_sizeof_long" in
4263 8) acx_cv_type_int64_t
=long
;;
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4266 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4268 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4271 # Now we can use the above types
4273 if test "$ac_cv_type_uintptr_t" != yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4275 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4276 case $ac_cv_sizeof_void_p in
4277 2) acx_cv_type_intptr_t
=int16_t
;;
4278 4) acx_cv_type_intptr_t
=int32_t
;;
4279 8) acx_cv_type_intptr_t
=int64_t
;;
4280 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4283 $as_echo "$acx_cv_type_intptr_t" >&6; }
4286 # ----------------- done all checks, emit header -------------
4287 ac_config_commands
="$ac_config_commands gstdint.h"
4292 # Checks for typedefs, structures, and compiler characteristics.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4294 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4295 if test "${ac_cv_c_const+set}" = set; then :
4296 $as_echo_n "(cached) " >&6
4298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4304 /* FIXME: Include the comments suggested by Paul. */
4306 /* Ultrix mips cc rejects this. */
4307 typedef int charset[2];
4309 /* SunOS 4.1.1 cc rejects this. */
4310 char const *const *pcpcc;
4312 /* NEC SVR4.0.2 mips cc rejects this. */
4313 struct point {int x, y;};
4314 static struct point const zero = {0,0};
4315 /* AIX XL C 1.02.0.0 rejects this.
4316 It does not let you subtract one const X* pointer from another in
4317 an arm of an if-expression whose if-part is not a constant
4319 const char *g = "string";
4320 pcpcc = &g + (g ? g-g : 0);
4321 /* HPUX 7.0 cc rejects these. */
4323 ppc = (char**) pcpcc;
4324 pcpcc = (char const *const *) ppc;
4325 { /* SCO 3.2v4 cc rejects this. */
4327 char const *s = 0 ? (char *) 0 : (char const *) 0;
4332 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4334 const int *foo = &x[0];
4337 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4338 typedef const int *iptr;
4342 { /* AIX XL C 1.02.0.0 rejects this saying
4343 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4344 struct s { int j; const int *ap[3]; };
4345 struct s *b; b->j = 5;
4347 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4351 return !cs[0] && !zero.x;
4358 if ac_fn_c_try_compile
"$LINENO"; then :
4363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4366 $as_echo "$ac_cv_c_const" >&6; }
4367 if test $ac_cv_c_const = no
; then
4369 $as_echo "#define const /**/" >>confdefs.h
4373 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4374 if test "x$ac_cv_type_off_t" = x
""yes; then :
4378 cat >>confdefs.h
<<_ACEOF
4379 #define off_t long int
4384 # The cast to long int works around a bug in the HP C Compiler
4385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4387 # This bug is HP SR number 8606223364.
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4389 $as_echo_n "checking size of int... " >&6; }
4390 if test "${ac_cv_sizeof_int+set}" = set; then :
4391 $as_echo_n "(cached) " >&6
4393 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4396 if test "$ac_cv_type_int" = yes; then
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 { as_fn_set_status
77
4400 as_fn_error
"cannot compute sizeof (int)
4401 See \`config.log' for more details." "$LINENO" 5; }; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4409 $as_echo "$ac_cv_sizeof_int" >&6; }
4413 cat >>confdefs.h
<<_ACEOF
4414 #define SIZEOF_INT $ac_cv_sizeof_int
4418 # The cast to long int works around a bug in the HP C Compiler
4419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4421 # This bug is HP SR number 8606223364.
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4423 $as_echo_n "checking size of long... " >&6; }
4424 if test "${ac_cv_sizeof_long+set}" = set; then :
4425 $as_echo_n "(cached) " >&6
4427 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4430 if test "$ac_cv_type_long" = yes; then
4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433 { as_fn_set_status
77
4434 as_fn_error
"cannot compute sizeof (long)
4435 See \`config.log' for more details." "$LINENO" 5; }; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4443 $as_echo "$ac_cv_sizeof_long" >&6; }
4447 cat >>confdefs.h
<<_ACEOF
4448 #define SIZEOF_LONG $ac_cv_sizeof_long
4453 # Checks for library functions.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4455 $as_echo_n "checking for ANSI C header files... " >&6; }
4456 if test "${ac_cv_header_stdc+set}" = set; then :
4457 $as_echo_n "(cached) " >&6
4459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4474 if ac_fn_c_try_compile
"$LINENO"; then :
4475 ac_cv_header_stdc
=yes
4477 ac_cv_header_stdc
=no
4479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 if test $ac_cv_header_stdc = yes; then
4482 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4489 $EGREP "memchr" >/dev
/null
2>&1; then :
4492 ac_cv_header_stdc
=no
4498 if test $ac_cv_header_stdc = yes; then
4499 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4506 $EGREP "free" >/dev
/null
2>&1; then :
4509 ac_cv_header_stdc
=no
4515 if test $ac_cv_header_stdc = yes; then
4516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4517 if test "$cross_compiling" = yes; then :
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 #if ((' ' & 0x0FF) == 0x020)
4525 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4526 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4528 # define ISLOWER(c) \
4529 (('a' <= (c) && (c) <= 'i') \
4530 || ('j' <= (c) && (c) <= 'r') \
4531 || ('s' <= (c) && (c) <= 'z'))
4532 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4535 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4540 for (i = 0; i < 256; i++)
4541 if (XOR (islower (i), ISLOWER (i))
4542 || toupper (i) != TOUPPER (i))
4547 if ac_fn_c_try_run
"$LINENO"; then :
4550 ac_cv_header_stdc
=no
4552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4553 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4559 $as_echo "$ac_cv_header_stdc" >&6; }
4560 if test $ac_cv_header_stdc = yes; then
4562 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4567 # Check whether --enable-maintainer-mode was given.
4568 if test "${enable_maintainer_mode+set}" = set; then :
4569 enableval
=$enable_maintainer_mode;
4571 enable_maintainer_mode
=no
4575 if test "x$enable_maintainer_mode" = xno
; then
4582 # Make sure we can run config.sub.
4583 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4584 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4587 $as_echo_n "checking build system type... " >&6; }
4588 if test "${ac_cv_build+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4591 ac_build_alias
=$build_alias
4592 test "x$ac_build_alias" = x
&&
4593 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4594 test "x$ac_build_alias" = x
&&
4595 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4596 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4597 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4601 $as_echo "$ac_cv_build" >&6; }
4602 case $ac_cv_build in
4604 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4607 ac_save_IFS
=$IFS; IFS
='-'
4613 # Remember, the first character of IFS is used to create $*,
4614 # except with old shells:
4617 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4621 $as_echo_n "checking host system type... " >&6; }
4622 if test "${ac_cv_host+set}" = set; then :
4623 $as_echo_n "(cached) " >&6
4625 if test "x$host_alias" = x
; then
4626 ac_cv_host
=$ac_cv_build
4628 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4629 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 $as_echo "$ac_cv_host" >&6; }
4637 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4640 ac_save_IFS
=$IFS; IFS
='-'
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4650 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4654 $as_echo_n "checking target system type... " >&6; }
4655 if test "${ac_cv_target+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test "x$target_alias" = x
; then
4659 ac_cv_target
=$ac_cv_host
4661 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4662 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4667 $as_echo "$ac_cv_target" >&6; }
4668 case $ac_cv_target in
4670 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4672 target
=$ac_cv_target
4673 ac_save_IFS
=$IFS; IFS
='-'
4679 # Remember, the first character of IFS is used to create $*,
4680 # except with old shells:
4683 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4686 # The aliases save the names the user supplied, while $host etc.
4687 # will get canonicalized.
4688 test -n "$target_alias" &&
4689 test "$program_prefix$program_suffix$program_transform_name" = \
4691 program_prefix
=${target_alias}-
4693 # Default decimal format
4694 # If you change the defaults here, be sure to change them in the GCC directory also
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4696 $as_echo_n "checking for decimal floating point... " >&6; }
4699 # Check whether --enable-decimal-float was given.
4700 if test "${enable_decimal_float+set}" = set; then :
4701 enableval
=$enable_decimal_float;
4702 case $enable_decimal_float in
4703 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4704 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4705 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4711 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4712 i?
86*-*-elfiamcu | i?
86*-*-gnu* | \
4713 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4714 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4715 enable_decimal_float
=yes
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4719 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4720 enable_decimal_float
=no
4727 # x86's use BID format instead of DPD
4728 case x
$enable_decimal_float in
4731 i?
86*-*-* | x86_64
*-*-*)
4732 enable_decimal_float
=bid
4735 enable_decimal_float
=dpd
4738 default_decimal_float
=$enable_decimal_float
4741 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4742 # dependency on libdecnumber.
4743 default_decimal_float
=dpd
4750 # Use default_decimal_float for dependency.
4751 enable_decimal_float
=$default_decimal_float
4753 # If BID is being used, additional objects should be linked in.
4754 if test x
$enable_decimal_float = xbid
; then
4755 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4761 $as_echo "$enable_decimal_float" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4766 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4767 if test "${ac_cv_c_bigendian+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4770 ac_cv_c_bigendian
=unknown
4771 # See if we're dealing with a universal compiler.
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #ifndef __APPLE_CC__
4775 not a universal capable compiler
4780 if ac_fn_c_try_compile
"$LINENO"; then :
4782 # Check for potential -arch flags. It is not universal unless
4783 # there are at least two -arch flags with different values.
4786 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4787 if test -n "$ac_prev"; then
4789 i?
86 | x86_64 | ppc | ppc64
)
4790 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4793 ac_cv_c_bigendian
=universal
4799 elif test "x$ac_word" = "x-arch"; then
4804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4805 if test $ac_cv_c_bigendian = unknown
; then
4806 # See if sys/param.h defines the BYTE_ORDER macro.
4807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #include <sys/types.h>
4810 #include <sys/param.h>
4815 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4816 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4825 if ac_fn_c_try_compile
"$LINENO"; then :
4826 # It does; now see whether it defined to BIG_ENDIAN or not.
4827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4829 #include <sys/types.h>
4830 #include <sys/param.h>
4835 #if BYTE_ORDER != BIG_ENDIAN
4843 if ac_fn_c_try_compile
"$LINENO"; then :
4844 ac_cv_c_bigendian
=yes
4846 ac_cv_c_bigendian
=no
4848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4852 if test $ac_cv_c_bigendian = unknown
; then
4853 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4861 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4869 if ac_fn_c_try_compile
"$LINENO"; then :
4870 # It does; now see whether it defined to _BIG_ENDIAN or not.
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4886 if ac_fn_c_try_compile
"$LINENO"; then :
4887 ac_cv_c_bigendian
=yes
4889 ac_cv_c_bigendian
=no
4891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4895 if test $ac_cv_c_bigendian = unknown
; then
4896 # Compile a test program.
4897 if test "$cross_compiling" = yes; then :
4898 # Try to guess by grepping values from an object file.
4899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4901 short int ascii_mm[] =
4902 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4903 short int ascii_ii[] =
4904 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4905 int use_ascii (int i) {
4906 return ascii_mm[i] + ascii_ii[i];
4908 short int ebcdic_ii[] =
4909 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4910 short int ebcdic_mm[] =
4911 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4912 int use_ebcdic (int i) {
4913 return ebcdic_mm[i] + ebcdic_ii[i];
4920 return use_ascii (foo) == use_ebcdic (foo);
4925 if ac_fn_c_try_compile
"$LINENO"; then :
4926 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4927 ac_cv_c_bigendian
=yes
4929 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4930 if test "$ac_cv_c_bigendian" = unknown
; then
4931 ac_cv_c_bigendian
=no
4933 # finding both strings is unlikely to happen, but who knows?
4934 ac_cv_c_bigendian
=unknown
4938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 $ac_includes_default
4947 /* Are we little or big endian? From Harbison&Steele. */
4951 char c[sizeof (long int)];
4954 return u.c[sizeof (long int) - 1] == 1;
4960 if ac_fn_c_try_run
"$LINENO"; then :
4961 ac_cv_c_bigendian
=no
4963 ac_cv_c_bigendian
=yes
4965 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4966 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4972 $as_echo "$ac_cv_c_bigendian" >&6; }
4973 case $ac_cv_c_bigendian in #(
4975 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4981 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4985 as_fn_error
"unknown endianness
4986 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4990 # Enable --enable-host-shared.
4991 # Check whether --enable-host-shared was given.
4992 if test "${enable_host_shared+set}" = set; then :
4993 enableval
=$enable_host_shared; PICFLAG
=-fPIC
5002 ac_config_headers
="$ac_config_headers config.h:config.in"
5004 ac_config_files
="$ac_config_files Makefile"
5006 cat >confcache
<<\_ACEOF
5007 # This file is a shell script that caches the results of configure
5008 # tests run on this system so they can be shared between configure
5009 # scripts and configure runs, see configure's option --config-cache.
5010 # It is not useful on other systems. If it contains results you don't
5011 # want to keep, you may remove or edit it.
5013 # config.status only pays attention to the cache file if you give it
5014 # the --recheck option to rerun configure.
5016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5022 # The following way of writing the cache mishandles newlines in values,
5023 # but we know of no workaround that is simple, portable, and efficient.
5024 # So, we kill variables containing newlines.
5025 # Ultrix sh set writes to stderr and can't be redirected directly,
5026 # and sets the high bit in the cache file unless we assign to the vars.
5028 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5029 eval ac_val
=\$
$ac_var
5033 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5037 _ | IFS | as_nl
) ;; #(
5038 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5039 *) { eval $ac_var=; unset $ac_var;} ;;
5045 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5046 *${as_nl}ac_space
=\
*)
5047 # `set' does not quote correctly, so add quotes: double-quote
5048 # substitution turns \\\\ into \\, and sed turns \\ into \.
5051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5054 # `set' quotes correctly as required by POSIX, so do not add quotes.
5055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5066 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5068 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5069 if test -w "$cache_file"; then
5070 test "x$cache_file" != "x/dev/null" &&
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5072 $as_echo "$as_me: updating cache $cache_file" >&6;}
5073 cat confcache
>$cache_file
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5076 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5081 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5082 # Let make expand exec_prefix.
5083 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5085 DEFS
=-DHAVE_CONFIG_H
5089 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5090 # 1. Remove the extension, and $U if already installed.
5091 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5092 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5093 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5094 # will be set to the directory where LIBOBJS objects are built.
5095 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5096 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5100 LTLIBOBJS
=$ac_ltlibobjs
5105 : ${CONFIG_STATUS=./config.status}
5107 ac_clean_files_save
=$ac_clean_files
5108 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5110 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5112 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5114 # Generated by $as_me.
5115 # Run this file to recreate the current configuration.
5116 # Compiler output produced by configure, useful for debugging
5117 # configure, is in config.log if it exists.
5123 SHELL=\${CONFIG_SHELL-$SHELL}
5126 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5127 ## -------------------- ##
5128 ## M4sh Initialization. ##
5129 ## -------------------- ##
5131 # Be more Bourne compatible
5132 DUALCASE
=1; export DUALCASE
# for MKS sh
5133 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5136 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5137 # is contrary to our usage. Disable this feature.
5138 alias -g '${1+"$@"}'='"$@"'
5139 setopt NO_GLOB_SUBST
5141 case `(set -o) 2>/dev/null` in #(
5153 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5154 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5155 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5157 # Prefer a ksh shell builtin over an external printf program on Solaris,
5158 # but without wasting forks for bash or zsh.
5159 if test -z "$BASH_VERSION$ZSH_VERSION" \
5160 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5161 as_echo='print
-r --'
5162 as_echo_n='print
-rn --'
5163 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5164 as_echo='printf %s
\n'
5165 as_echo_n='printf %s
'
5167 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5168 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5169 as_echo_n='/usr
/ucb
/echo -n'
5171 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5172 as_echo_n_body='eval
5176 expr "X$arg" : "X\\(.*\\)$as_nl";
5177 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5179 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5181 export as_echo_n_body
5182 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5185 as_echo='sh
-c $as_echo_body as_echo
'
5188 # The user is always right.
5189 if test "${PATH_SEPARATOR+set}" != set; then
5191 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5192 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5199 # We need space, tab and new line, in precisely that order. Quoting is
5200 # there to prevent editors from complaining about space-tab.
5201 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5202 # splitting by setting IFS to empty value.)
5205 # Find who we are. Look in the path if we contain no directory separator.
5207 *[\\/]* ) as_myself=$0 ;;
5208 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5219 # We did not find ourselves, most probably we were run as `sh COMMAND'
5220 # in which case we are not to be found in the path.
5221 if test "x$as_myself" = x
; then
5224 if test ! -f "$as_myself"; then
5225 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5229 # Unset variables that we do not need and which cause bugs (e.g. in
5230 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5231 # suppresses any "Segmentation fault" message there. '((' could
5232 # trigger a bug in pdksh 5.2.14.
5233 for as_var
in BASH_ENV ENV MAIL MAILPATH
5234 do eval test x\
${$as_var+set} = xset \
5235 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5248 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5251 # as_fn_error ERROR [LINENO LOG_FD]
5252 # ---------------------------------
5253 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5254 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5255 # script with status $?, using 1 if that was 0.
5258 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5260 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5261 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5263 $as_echo "$as_me: error: $1" >&2
5264 as_fn_exit
$as_status
5268 # as_fn_set_status STATUS
5269 # -----------------------
5270 # Set $? to STATUS, without forking.
5274 } # as_fn_set_status
5278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5288 # Portably unset VAR.
5291 { eval $1=; unset $1;}
5293 as_unset
=as_fn_unset
5294 # as_fn_append VAR VALUE
5295 # ----------------------
5296 # Append the text in VALUE to the end of the definition contained in VAR. Take
5297 # advantage of any shell optimizations that allow amortized linear growth over
5298 # repeated appends, instead of the typical quadratic growth present in naive
5300 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5301 eval 'as_fn_append ()
5312 # as_fn_arith ARG...
5313 # ------------------
5314 # Perform arithmetic evaluation on the ARGs, and store the result in the
5315 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5316 # must be portable across $(()) and expr.
5317 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5318 eval 'as_fn_arith ()
5325 as_val
=`expr "$@" || test $? -eq 1`
5330 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5331 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5337 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5338 as_basename
=basename
5343 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5349 as_me
=`$as_basename -- "$0" ||
5350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5351 X"$0" : 'X\(//\)$' \| \
5352 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5354 sed '/^.*\/\([^/][^/]*\)\/*$/{
5368 # Avoid depending upon Character Ranges.
5369 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5370 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5371 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5372 as_cr_digits
='0123456789'
5373 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5375 ECHO_C
= ECHO_N
= ECHO_T
=
5376 case `echo -n x` in #(((((
5378 case `echo 'xy\c'` in
5379 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5381 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5388 rm -f conf$$ conf$$.exe conf$$.
file
5389 if test -d conf$$.dir
; then
5390 rm -f conf$$.dir
/conf$$.
file
5393 mkdir conf$$.dir
2>/dev
/null
5395 if (echo >conf$$.
file) 2>/dev
/null
; then
5396 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5398 # ... but there are two gotchas:
5399 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5400 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5401 # In both cases, we have to default to `cp -p'.
5402 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5412 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5413 rmdir conf$$.dir
2>/dev
/null
5418 # Create "$as_dir" as a directory, including parents if necessary.
5423 -*) as_dir
=.
/$as_dir;;
5425 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5429 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5430 *) as_qdir
=$as_dir;;
5432 as_dirs
="'$as_qdir' $as_dirs"
5433 as_dir
=`$as_dirname -- "$as_dir" ||
5434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5435 X"$as_dir" : 'X\(//\)[^/]' \| \
5436 X"$as_dir" : 'X\(//\)$' \| \
5437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5438 $as_echo X"$as_dir" |
5439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5456 test -d "$as_dir" && break
5458 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5459 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5463 if mkdir
-p .
2>/dev
/null
; then
5464 as_mkdir_p
='mkdir -p "$as_dir"'
5466 test -d .
/-p && rmdir .
/-p
5470 if test -x / >/dev
/null
2>&1; then
5473 if ls -dL / >/dev
/null
2>&1; then
5480 if test -d "$1"; then
5486 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5487 ???[sx]*):;;*)false;;esac;fi
5491 as_executable_p
=$as_test_x
5493 # Sed expression to map a string onto a valid CPP name.
5494 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5496 # Sed expression to map a string onto a valid variable name.
5497 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5501 ## ----------------------------------- ##
5502 ## Main body of $CONFIG_STATUS script. ##
5503 ## ----------------------------------- ##
5505 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5508 # Save the log message, to keep $0 and so on meaningful, and to
5509 # report actual input values of CONFIG_FILES etc. instead of their
5510 # values after options handling.
5512 This file was extended by libdecnumber $as_me , which was
5513 generated by GNU Autoconf 2.64. Invocation command line was
5515 CONFIG_FILES = $CONFIG_FILES
5516 CONFIG_HEADERS = $CONFIG_HEADERS
5517 CONFIG_LINKS = $CONFIG_LINKS
5518 CONFIG_COMMANDS = $CONFIG_COMMANDS
5521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5526 case $ac_config_files in *"
5527 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5530 case $ac_config_headers in *"
5531 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5536 # Files that config.status was made for.
5537 config_files="$ac_config_files"
5538 config_headers="$ac_config_headers"
5539 config_commands="$ac_config_commands"
5543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5545 \`$as_me' instantiates files and other configuration actions
5546 from templates according to the current configuration. Unless the files
5547 and actions are specified as TAGs, all are instantiated by default.
5549 Usage: $0 [OPTION]... [TAG]...
5551 -h, --help print this help, then exit
5552 -V, --version print version number and configuration settings, then exit
5553 -q, --quiet, --silent
5554 do not print progress messages
5555 -d, --debug don't remove temporary files
5556 --recheck update $as_me by reconfiguring in the same conditions
5557 --file=FILE[:TEMPLATE]
5558 instantiate the configuration file FILE
5559 --header=FILE[:TEMPLATE]
5560 instantiate the configuration header FILE
5562 Configuration files:
5565 Configuration headers:
5568 Configuration commands:
5571 Report bugs to <gcc-bugs@gcc.gnu.org>."
5574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5576 libdecnumber config.status
5577 configured by $0, generated by GNU Autoconf 2.64,
5578 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5580 Copyright (C) 2009 Free Software Foundation, Inc.
5581 This config.status script is free software; the Free Software Foundation
5582 gives unlimited permission to copy, distribute and modify it."
5586 test -n "\$AWK" || AWK=awk
5589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5590 # The default lists apply if the user does not specify any file.
5596 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5597 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5608 # Handling of the options.
5609 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5611 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5612 $as_echo "$ac_cs_version"; exit ;;
5613 --debug |
--debu |
--deb |
--de |
--d |
-d )
5615 --file |
--fil |
--fi |
--f )
5618 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5620 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5621 ac_need_defaults
=false
;;
5622 --header |
--heade |
--head |
--hea )
5625 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5627 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5628 ac_need_defaults
=false
;;
5630 # Conflict between --help and --header
5631 as_fn_error
"ambiguous option: \`$1'
5632 Try \`$0 --help' for more information.";;
5633 --help |
--hel |
-h )
5634 $as_echo "$ac_cs_usage"; exit ;;
5635 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5636 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5640 -*) as_fn_error
"unrecognized option: \`$1'
5641 Try \`$0 --help' for more information." ;;
5643 *) as_fn_append ac_config_targets
" $1"
5644 ac_need_defaults
=false
;;
5650 ac_configure_extra_args
=
5652 if $ac_cs_silent; then
5654 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659 if \$ac_cs_recheck; then
5660 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5662 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5663 CONFIG_SHELL='$SHELL'
5669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5674 ## Running $as_me. ##
5680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5687 acx_cv_header_stdint="$acx_cv_header_stdint"
5688 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5689 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5690 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5691 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5692 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5693 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5694 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5695 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5696 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5697 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5698 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5699 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5700 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5707 # Handling of arguments.
5708 for ac_config_target
in $ac_config_targets
5710 case $ac_config_target in
5711 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
5712 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5713 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5715 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5720 # If the user did not use the arguments to specify the items to instantiate,
5721 # then the envvar interface is used. Set only those that are not.
5722 # We use the long form for the default assignment because of an extremely
5723 # bizarre bug on SunOS 4.1.3.
5724 if $ac_need_defaults; then
5725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5730 # Have a temporary directory for convenience. Make it in the build tree
5731 # simply because there is no reason against having it here, and in addition,
5732 # creating and moving files from /tmp can sometimes cause problems.
5733 # Hook for its removal unless debugging.
5734 # Note that there is a small window in which the directory will not be cleaned:
5735 # after its creation but before its name has been assigned to `$tmp'.
5739 trap 'exit_status=$?
5740 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5742 trap 'as_fn_exit 1' 1 2 13 15
5744 # Create a (secure) tmp directory for tmp files.
5747 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5748 test -n "$tmp" && test -d "$tmp"
5751 tmp
=.
/conf$$
-$RANDOM
5752 (umask 077 && mkdir
"$tmp")
5753 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5755 # Set up the scripts for CONFIG_FILES section.
5756 # No need to generate them if there are no CONFIG_FILES.
5757 # This happens for instance with `./config.status config.h'.
5758 if test -n "$CONFIG_FILES"; then
5761 ac_cr
=`echo X | tr X '\015'`
5762 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5763 # But we know of no other shell where ac_cr would be empty at this
5764 # point, so we can use a bashism as a fallback.
5765 if test "x$ac_cr" = x
; then
5766 eval ac_cr
=\$
\'\\r
\'
5768 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5769 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5775 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5780 echo "cat >conf$$subs.awk <<_ACEOF" &&
5781 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5784 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5785 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5787 for ac_last_try in false false false false false :; do
5788 . ./conf$$subs.sh ||
5789 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5791 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5792 if test $ac_delim_n = $ac_delim_num; then
5794 elif $ac_last_try; then
5795 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5797 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5803 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5807 s/^/S["/; s
/!.
*/"]=/
5817 s/\(.\{148\}\).*/\1/
5819 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5824 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5831 s/\(.\{148\}\).*/\1/
5833 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5837 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5842 ' <conf$$subs.awk | sed '
5847 ' >>$CONFIG_STATUS || ac_write_fail=1
5848 rm -f conf$$subs.awk
5849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5851 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5852 for (key in S) S_is_set[key] = 1
5858 nfields = split(line, field, "@
")
5860 len = length(field[1])
5861 for (i = 2; i < nfields; i++) {
5863 keylen = length(key)
5864 if (S_is_set[key]) {
5866 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5867 len += length(value) + length(field[++i])
5878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5879 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5880 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5883 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5884 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5887 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5889 # trailing colons and then remove the whole line if VPATH becomes empty
5890 # (actually we leave an empty line to preserve line numbers).
5891 if test "x
$srcdir" = x.; then
5892 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5896 s/^\([^=]*=[ ]*\):*/\1/
5902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5903 fi # test -n "$CONFIG_FILES"
5905 # Set up the scripts for CONFIG_HEADERS section.
5906 # No need to generate them if there are no CONFIG_HEADERS.
5907 # This happens for instance with `./config.status Makefile'.
5908 if test -n "$CONFIG_HEADERS"; then
5909 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5913 # Transform confdefs.h into an awk script `defines.awk', embedded as
5914 # here-document in config.status, that substitutes the proper values into
5915 # config.h.in to produce config.h.
5917 # Create a delimiter string that does not exist in confdefs.h, to ease
5918 # handling of long lines.
5920 for ac_last_try in false false :; do
5921 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5922 if test -z "$ac_t"; then
5924 elif $ac_last_try; then
5925 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5927 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5931 # For the awk script, D is an array of macro values keyed by name,
5932 # likewise P contains macro parameters if any. Preserve backslash
5933 # newline sequences.
5935 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5937 s/.\{148\}/&'"$ac_delim"'/g
5940 s/^[ ]*#[ ]*define[ ][ ]*/ /
5947 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5949 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5953 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5954 D["\
1"]=" \
3\\\\\\n
"\\/p
5956 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5961 s/.\{148\}/&'"$ac_delim"'/g
5966 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5969 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5971 ' <confdefs.h | sed '
5972 s/'"$ac_delim"'/"\\\
5973 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5976 for (key in D) D_is_set[key] = 1
5979 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5981 split(line, arg, " ")
5982 if (arg[1] == "#") {
5986 defundef
= substr
(arg
[1], 2)
5989 split(mac1
, mac2
, "(") #)
5991 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5992 if (D_is_set
[macro
]) {
5993 # Preserve the white space surrounding the "#".
5994 print prefix
"define", macro P
[macro
] D
[macro
]
5997 # Replace #undef with comments. This is necessary, for example,
5998 # in the case of _POSIX_SOURCE, which is predefined and required
5999 # on some systems where configure will not decide to define it.
6000 if (defundef
== "undef") {
6001 print
"/*", prefix defundef
, macro
, "*/"
6009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6010 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6011 fi # test -n "$CONFIG_HEADERS"
6014 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6019 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6021 case $ac_mode$ac_tag in
6023 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6024 :[FH
]-) ac_tag
=-:-;;
6025 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6042 -) ac_f
="$tmp/stdin";;
6043 *) # Look for the file first in the build tree, then in the source tree
6044 # (if the path is not absolute). The absolute path cannot be DOS-style,
6045 # because $ac_f cannot contain `:'.
6049 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6051 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6053 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6054 as_fn_append ac_file_inputs
" '$ac_f'"
6057 # Let's still pretend it is `configure' which instantiates (i.e., don't
6058 # use $as_me), people would be surprised to read:
6059 # /* config.h. Generated by config.status. */
6060 configure_input
='Generated from '`
6061 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6063 if test x
"$ac_file" != x-
; then
6064 configure_input
="$ac_file. $configure_input"
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6066 $as_echo "$as_me: creating $ac_file" >&6;}
6068 # Neutralize special characters interpreted by sed in replacement strings.
6069 case $configure_input in #(
6070 *\
&* |
*\|
* |
*\\* )
6071 ac_sed_conf_input
=`$as_echo "$configure_input" |
6072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6073 *) ac_sed_conf_input
=$configure_input;;
6077 *:-:* |
*:-) cat >"$tmp/stdin" \
6078 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6083 ac_dir
=`$as_dirname -- "$ac_file" ||
6084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085 X"$ac_file" : 'X\(//\)[^/]' \| \
6086 X"$ac_file" : 'X\(//\)$' \| \
6087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6088 $as_echo X"$ac_file" |
6089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6106 as_dir
="$ac_dir"; as_fn_mkdir_p
6110 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6112 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6113 # A ".." for each directory in $ac_dir_suffix.
6114 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6115 case $ac_top_builddir_sub in
6116 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6117 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6120 ac_abs_top_builddir
=$ac_pwd
6121 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6122 # for backward compatibility:
6123 ac_top_builddir
=$ac_top_build_prefix
6126 .
) # We are building in place.
6128 ac_top_srcdir
=$ac_top_builddir_sub
6129 ac_abs_top_srcdir
=$ac_pwd ;;
6130 [\\/]* | ?
:[\\/]* ) # Absolute name.
6131 ac_srcdir
=$srcdir$ac_dir_suffix;
6132 ac_top_srcdir
=$srcdir
6133 ac_abs_top_srcdir
=$srcdir ;;
6135 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6136 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6137 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6139 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6151 # If the template does not know about datarootdir, expand it.
6152 # FIXME: This hack should be removed a few years after 2.60.
6153 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6164 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6165 *datarootdir
*) ac_datarootdir_seen
=yes;;
6166 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6168 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 ac_datarootdir_hack='
6172 s&@datadir@&$datadir&g
6173 s&@docdir@&$docdir&g
6174 s&@infodir@&$infodir&g
6175 s&@localedir@&$localedir&g
6176 s&@mandir@&$mandir&g
6177 s&\\\${datarootdir}&$datarootdir&g' ;;
6181 # Neutralize VPATH when `$srcdir' = `.'.
6182 # Shell code in configure.ac might set extrasub.
6183 # FIXME: do we really want to maintain this feature?
6184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6185 ac_sed_extra="$ac_vpsub
6188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6190 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6191 s|@configure_input@|
$ac_sed_conf_input|
;t t
6192 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6193 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6194 s
&@srcdir@
&$ac_srcdir&;t t
6195 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6196 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6197 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6198 s
&@builddir@
&$ac_builddir&;t t
6199 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6200 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6201 $ac_datarootdir_hack
6203 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6204 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6206 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6207 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6208 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6210 which seems to be undefined. Please make sure it is defined." >&5
6211 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6212 which seems to be undefined. Please make sure it is defined." >&2;}
6216 -) cat "$tmp/out" && rm -f "$tmp/out";;
6217 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6219 || as_fn_error "could not create $ac_file" "$LINENO" 5
6225 if test x"$ac_file" != x-; then
6227 $as_echo "/* $configure_input */" \
6228 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6229 } >"$tmp/config.h" \
6230 || as_fn_error "could not create $ac_file" "$LINENO" 5
6231 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6233 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6236 mv "$tmp/config.h" "$ac_file" \
6237 || as_fn_error "could not create $ac_file" "$LINENO" 5
6240 $as_echo "/* $configure_input */" \
6241 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6242 || as_fn_error "could not create -" "$LINENO" 5
6246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6247 $as_echo "$as_me: executing $ac_file commands" >&6;}
6252 case $ac_file$ac_mode in
6254 if test "$GCC" = yes; then
6255 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6257 echo "/* generated for $CC */" > tmp-stdint.h
6260 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6262 #ifndef GCC_GENERATED_STDINT_H
6263 #define GCC_GENERATED_STDINT_H 1
6265 #include <sys/types.h>
6268 if test "$acx_cv_header_stdint" != stdint.h; then
6269 echo "#include <stddef.h>" >> tmp-stdint.h
6271 if test "$acx_cv_header_stdint" != stddef.h; then
6272 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6275 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6276 /* glibc uses these symbols as guards to prevent redefinitions. */
6277 #ifdef __int8_t_defined
6282 #ifdef __uint32_t_defined
6288 # ----------------- done header, emit basic int types -------------
6289 if test "$acx_cv_header_stdint" = stddef.h; then
6290 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6294 #ifndef __uint8_t_defined
6295 #define __uint8_t_defined
6297 typedef unsigned $acx_cv_type_int8_t uint8_t;
6304 #ifndef __uint16_t_defined
6305 #define __uint16_t_defined
6307 typedef unsigned $acx_cv_type_int16_t uint16_t;
6314 #ifndef __uint32_t_defined
6315 #define __uint32_t_defined
6317 typedef unsigned $acx_cv_type_int32_t uint32_t;
6324 #ifndef __int8_t_defined
6325 #define __int8_t_defined
6327 typedef $acx_cv_type_int8_t int8_t;
6334 #ifndef __int16_t_defined
6335 #define __int16_t_defined
6337 typedef $acx_cv_type_int16_t int16_t;
6344 #ifndef __int32_t_defined
6345 #define __int32_t_defined
6347 typedef $acx_cv_type_int32_t int32_t;
6352 elif test "$ac_cv_type_u_int32_t" = yes; then
6353 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6355 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6368 #ifndef __uint8_t_defined
6369 #define __uint8_t_defined
6371 typedef u_int8_t uint8_t;
6378 #ifndef __uint16_t_defined
6379 #define __uint16_t_defined
6381 typedef u_int16_t uint16_t;
6388 #ifndef __uint32_t_defined
6389 #define __uint32_t_defined
6391 typedef u_int32_t uint32_t;
6397 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6399 /* Some systems have guard macros to prevent redefinitions, define them. */
6421 # ------------- done basic int types, emit int64_t types ------------
6422 if test "$ac_cv_type_uint64_t" = yes; then
6423 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6425 /* system headers have good uint64_t and int64_t */
6433 elif test "$ac_cv_type_u_int64_t" = yes; then
6434 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6436 /* system headers have an u_int64_t (and int64_t) */
6442 #ifndef __uint64_t_defined
6443 #define __uint64_t_defined
6445 typedef u_int64_t uint64_t;
6450 elif test -n "$acx_cv_type_int64_t"; then
6451 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6453 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6457 typedef $acx_cv_type_int64_t int64_t;
6462 #ifndef __uint64_t_defined
6463 #define __uint64_t_defined
6465 typedef unsigned $acx_cv_type_int64_t uint64_t;
6471 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6473 /* some common heuristics for int64_t, using compiler-specific tests */
6474 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6477 #ifndef __int64_t_defined
6479 typedef long long int64_t;
6486 typedef unsigned long long uint64_t;
6490 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6491 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6492 does not implement __extension__. But that compiler doesn't define
6494 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6495 # define __extension__
6501 __extension__ typedef long long int64_t
;
6507 __extension__ typedef unsigned long long uint64_t
;
6511 #elif !defined __STRICT_ANSI__
6512 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6517 typedef __int64 int64_t
;
6523 typedef unsigned __int64 uint64_t
;
6526 # endif /* compiler */
6528 #endif /* ANSI version */
6532 # ------------- done int64_t types, emit intptr types ------------
6533 if test "$ac_cv_type_uintptr_t" != yes; then
6534 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6536 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6537 #ifndef __uintptr_t_defined
6539 typedef u$acx_cv_type_intptr_t uintptr_t;
6542 #ifndef __intptr_t_defined
6544 typedef $acx_cv_type_intptr_t intptr_t;
6550 # ------------- done intptr types, emit int_least types ------------
6551 if test "$ac_cv_type_int_least32_t" != yes; then
6552 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6554 /* Define int_least types */
6555 typedef int8_t int_least8_t;
6556 typedef int16_t int_least16_t;
6557 typedef int32_t int_least32_t;
6559 typedef int64_t int_least64_t;
6562 typedef uint8_t uint_least8_t;
6563 typedef uint16_t uint_least16_t;
6564 typedef uint32_t uint_least32_t;
6566 typedef uint64_t uint_least64_t;
6571 # ------------- done intptr types, emit int_fast types ------------
6572 if test "$ac_cv_type_int_fast32_t" != yes; then
6573 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6575 /* Define int_fast types. short is often slow */
6576 typedef int8_t int_fast8_t;
6577 typedef int int_fast16_t;
6578 typedef int32_t int_fast32_t;
6580 typedef int64_t int_fast64_t;
6583 typedef uint8_t uint_fast8_t;
6584 typedef unsigned int uint_fast16_t;
6585 typedef uint32_t uint_fast32_t;
6587 typedef uint64_t uint_fast64_t;
6592 if test "$ac_cv_type_uintmax_t" != yes; then
6593 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6595 /* Define intmax based on what we found */
6598 typedef int64_t intmax_t;
6600 typedef long intmax_t;
6605 typedef uint64_t uintmax_t;
6607 typedef unsigned long uintmax_t;
6613 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6615 #endif /* GCC_GENERATED_STDINT_H */
6618 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6621 mv -f tmp-stdint.h gstdint.h
6625 "config.h":H
) echo timestamp
> stamp-h1
;;
6633 ac_clean_files
=$ac_clean_files_save
6635 test $ac_write_fail = 0 ||
6636 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6639 # configure is writing to config.log, and then calls config.status.
6640 # config.status does its own redirection, appending to config.log.
6641 # Unfortunately, on DOS this fails, as config.log is still kept open
6642 # by configure, so config.status won't be able to write to it; its
6643 # output is simply discarded. So we exec the FD to /dev/null,
6644 # effectively closing config.log, so it can be properly (re)opened and
6645 # appended to by config.status. When coming back to configure, we
6646 # need to make the FD available again.
6647 if test "$no_create" != yes; then
6649 ac_config_status_args
=
6650 test "$silent" = yes &&
6651 ac_config_status_args
="$ac_config_status_args --quiet"
6653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6656 # would make configure fail if this is the last instruction.
6657 $ac_cs_success || as_fn_exit $?
6659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}