2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libdecnumber .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: gcc-bugs@gcc.gnu.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='libdecnumber'
582 PACKAGE_TARNAME
='libdecnumber'
584 PACKAGE_STRING
='libdecnumber '
585 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
588 ac_unique_file
="decNumber.h"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
691 program_transform_name
704 enable_option_checking
706 enable_maintainer_mode
711 ac_precious_vars
='build_alias
722 # Initialize some variables set by options.
724 ac_init_version
=false
725 ac_unrecognized_opts
=
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
736 program_transform_name
=s
,x
,x
,
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir
='${exec_prefix}/bin'
751 sbindir
='${exec_prefix}/sbin'
752 libexecdir
='${exec_prefix}/libexec'
753 datarootdir
='${prefix}/share'
754 datadir
='${datarootdir}'
755 sysconfdir
='${prefix}/etc'
756 sharedstatedir
='${prefix}/com'
757 localstatedir
='${prefix}/var'
758 includedir
='${prefix}/include'
759 oldincludedir
='/usr/include'
760 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
761 infodir
='${datarootdir}/info'
766 libdir
='${exec_prefix}/lib'
767 localedir
='${datarootdir}/locale'
768 mandir
='${datarootdir}/man'
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\
$ac_option
782 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
787 # Accept the important Cygnus configure options, so we can diagnose typos.
789 case $ac_dashdash$ac_option in
793 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
795 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
798 -build |
--build |
--buil |
--bui |
--bu)
799 ac_prev
=build_alias
;;
800 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
801 build_alias
=$ac_optarg ;;
803 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
804 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
805 ac_prev
=cache_file
;;
806 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
807 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
808 cache_file
=$ac_optarg ;;
811 cache_file
=config.cache
;;
813 -datadir |
--datadir |
--datadi |
--datad)
815 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
816 datadir
=$ac_optarg ;;
818 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
819 |
--dataroo |
--dataro |
--datar)
820 ac_prev
=datarootdir
;;
821 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
822 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
823 datarootdir
=$ac_optarg ;;
825 -disable-* |
--disable-*)
826 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
829 as_fn_error $?
"invalid feature name: $ac_useropt"
830 ac_useropt_orig
=$ac_useropt
831 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
837 ac_unrecognized_sep
=', ';;
839 eval enable_
$ac_useropt=no
;;
841 -docdir |
--docdir |
--docdi |
--doc |
--do)
843 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
846 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
848 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
851 -enable-* |
--enable-*)
852 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
855 as_fn_error $?
"invalid feature name: $ac_useropt"
856 ac_useropt_orig
=$ac_useropt
857 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858 case $ac_user_opts in
862 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
863 ac_unrecognized_sep
=', ';;
865 eval enable_
$ac_useropt=\
$ac_optarg ;;
867 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
868 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
869 |
--exec |
--exe |
--ex)
870 ac_prev
=exec_prefix
;;
871 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
872 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
873 |
--exec=* |
--exe=* |
--ex=*)
874 exec_prefix
=$ac_optarg ;;
876 -gas |
--gas |
--ga |
--g)
877 # Obsolete; use --with-gas.
880 -help |
--help |
--hel |
--he |
-h)
882 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
883 ac_init_help
=recursive
;;
884 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
885 ac_init_help
=short
;;
887 -host |
--host |
--hos |
--ho)
888 ac_prev
=host_alias
;;
889 -host=* |
--host=* |
--hos=* |
--ho=*)
890 host_alias
=$ac_optarg ;;
892 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
894 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
896 htmldir
=$ac_optarg ;;
898 -includedir |
--includedir |
--includedi |
--included |
--include \
899 |
--includ |
--inclu |
--incl |
--inc)
900 ac_prev
=includedir
;;
901 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
902 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
903 includedir
=$ac_optarg ;;
905 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
907 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
908 infodir
=$ac_optarg ;;
910 -libdir |
--libdir |
--libdi |
--libd)
912 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
915 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
916 |
--libexe |
--libex |
--libe)
917 ac_prev
=libexecdir
;;
918 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
919 |
--libexe=* |
--libex=* |
--libe=*)
920 libexecdir
=$ac_optarg ;;
922 -localedir |
--localedir |
--localedi |
--localed |
--locale)
924 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
925 localedir
=$ac_optarg ;;
927 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
928 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
929 ac_prev
=localstatedir
;;
930 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
931 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
932 localstatedir
=$ac_optarg ;;
934 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
936 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
940 # Obsolete; use --without-fp.
943 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
944 |
--no-cr |
--no-c |
-n)
947 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
948 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
951 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
952 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
953 |
--oldin |
--oldi |
--old |
--ol |
--o)
954 ac_prev
=oldincludedir
;;
955 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
956 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
957 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
958 oldincludedir
=$ac_optarg ;;
960 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
962 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
965 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
966 |
--program-pre |
--program-pr |
--program-p)
967 ac_prev
=program_prefix
;;
968 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
969 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
970 program_prefix
=$ac_optarg ;;
972 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
973 |
--program-suf |
--program-su |
--program-s)
974 ac_prev
=program_suffix
;;
975 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
976 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
977 program_suffix
=$ac_optarg ;;
979 -program-transform-name |
--program-transform-name \
980 |
--program-transform-nam |
--program-transform-na \
981 |
--program-transform-n |
--program-transform- \
982 |
--program-transform |
--program-transfor \
983 |
--program-transfo |
--program-transf \
984 |
--program-trans |
--program-tran \
985 |
--progr-tra |
--program-tr |
--program-t)
986 ac_prev
=program_transform_name
;;
987 -program-transform-name=* |
--program-transform-name=* \
988 |
--program-transform-nam=* |
--program-transform-na=* \
989 |
--program-transform-n=* |
--program-transform-=* \
990 |
--program-transform=* |
--program-transfor=* \
991 |
--program-transfo=* |
--program-transf=* \
992 |
--program-trans=* |
--program-tran=* \
993 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
994 program_transform_name
=$ac_optarg ;;
996 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
998 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1001 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1003 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1006 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1007 |
-silent |
--silent |
--silen |
--sile |
--sil)
1010 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1012 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1014 sbindir
=$ac_optarg ;;
1016 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1017 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1018 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1020 ac_prev
=sharedstatedir
;;
1021 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1022 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1023 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1025 sharedstatedir
=$ac_optarg ;;
1027 -site |
--site |
--sit)
1029 -site=* |
--site=* |
--sit=*)
1032 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1034 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1035 srcdir
=$ac_optarg ;;
1037 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1038 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1039 ac_prev
=sysconfdir
;;
1040 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1041 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1042 sysconfdir
=$ac_optarg ;;
1044 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1045 ac_prev
=target_alias
;;
1046 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1047 target_alias
=$ac_optarg ;;
1049 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1052 -version |
--version |
--versio |
--versi |
--vers |
-V)
1053 ac_init_version
=: ;;
1056 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1059 as_fn_error $?
"invalid package name: $ac_useropt"
1060 ac_useropt_orig
=$ac_useropt
1061 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067 ac_unrecognized_sep
=', ';;
1069 eval with_
$ac_useropt=\
$ac_optarg ;;
1071 -without-* |
--without-*)
1072 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1075 as_fn_error $?
"invalid package name: $ac_useropt"
1076 ac_useropt_orig
=$ac_useropt
1077 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep
=', ';;
1085 eval with_
$ac_useropt=no
;;
1088 # Obsolete; use --with-x.
1091 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1092 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1093 ac_prev
=x_includes
;;
1094 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1095 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1096 x_includes
=$ac_optarg ;;
1098 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1099 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1100 ac_prev
=x_libraries
;;
1101 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1102 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1103 x_libraries
=$ac_optarg ;;
1105 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1106 Try \`$0 --help' for more information"
1110 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1111 # Reject names that are not valid shell variable names.
1112 case $ac_envvar in #(
1113 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1114 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1116 eval $ac_envvar=\
$ac_optarg
1117 export $ac_envvar ;;
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1130 if test -n "$ac_prev"; then
1131 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1132 as_fn_error $?
"missing argument to $ac_option"
1135 if test -n "$ac_unrecognized_opts"; then
1136 case $enable_option_checking in
1138 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1139 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143 # Check all directory arguments for consistency.
1144 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145 datadir sysconfdir sharedstatedir localstatedir includedir \
1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147 libdir localedir mandir
1149 eval ac_val
=\$
$ac_var
1150 # Remove trailing slashes.
1153 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1154 eval $ac_var=\
$ac_val;;
1156 # Be sure to have absolute directory names.
1158 [\\/$
]* | ?
:[\\/]* ) continue;;
1159 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1161 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1164 # There might be people who depend on the old broken behavior: `$host'
1165 # used to hold the argument of --host etc.
1166 # FIXME: To remove some day.
1169 target
=$target_alias
1171 # FIXME: To remove some day.
1172 if test "x$host_alias" != x
; then
1173 if test "x$build_alias" = x
; then
1174 cross_compiling
=maybe
1175 elif test "x$build_alias" != "x$host_alias"; then
1181 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1183 test "$silent" = yes && exec 6>/dev
/null
1186 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1187 ac_ls_di
=`ls -di .` &&
1188 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1189 as_fn_error $?
"working directory cannot be determined"
1190 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1191 as_fn_error $?
"pwd does not report name of working directory"
1194 # Find the source files, if location was not specified.
1195 if test -z "$srcdir"; then
1196 ac_srcdir_defaulted
=yes
1197 # Try the directory containing this script, then the parent directory.
1198 ac_confdir
=`$as_dirname -- "$as_myself" ||
1199 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1200 X"$as_myself" : 'X\(//\)[^/]' \| \
1201 X"$as_myself" : 'X\(//\)$' \| \
1202 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1203 $as_echo X"$as_myself" |
1204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1226 ac_srcdir_defaulted
=no
1228 if test ! -r "$srcdir/$ac_unique_file"; then
1229 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1230 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1232 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1236 # When building in place, set srcdir=.
1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
1240 # Remove unnecessary trailing slashes from srcdir.
1241 # Double slashes in file names in object file debugging info
1242 # mess up M-x gdb in Emacs.
1244 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 for ac_var
in $ac_precious_vars; do
1247 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1249 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1250 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1254 # Report the --help message.
1256 if test "$ac_init_help" = "long"; then
1257 # Omit some internal or obsolete options to make the list less imposing.
1258 # This message is too long to be a string in the A/UX 3.1 sh.
1260 \`configure' configures libdecnumber to adapt to many kinds of systems.
1262 Usage: $0 [OPTION]... [VAR=VALUE]...
1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265 VAR=VALUE. See below for descriptions of some of the useful variables.
1267 Defaults for the options are specified in brackets.
1270 -h, --help display this help and exit
1271 --help=short display options specific to this package
1272 --help=recursive display the short help of all the included packages
1273 -V, --version display version information and exit
1274 -q, --quiet, --silent do not print \`checking ...' messages
1275 --cache-file=FILE cache test results in FILE [disabled]
1276 -C, --config-cache alias for \`--cache-file=config.cache'
1277 -n, --no-create do not create output files
1278 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1280 Installation directories:
1281 --prefix=PREFIX install architecture-independent files in PREFIX
1282 [$ac_default_prefix]
1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1286 By default, \`make install' will install all the files in
1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289 for instance \`--prefix=\$HOME'.
1291 For better control, use the options below.
1293 Fine tuning of the installation directories:
1294 --bindir=DIR user executables [EPREFIX/bin]
1295 --sbindir=DIR system admin executables [EPREFIX/sbin]
1296 --libexecdir=DIR program executables [EPREFIX/libexec]
1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1300 --libdir=DIR object code libraries [EPREFIX/lib]
1301 --includedir=DIR C header files [PREFIX/include]
1302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305 --infodir=DIR info documentation [DATAROOTDIR/info]
1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307 --mandir=DIR man documentation [DATAROOTDIR/man]
1308 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1318 --build=BUILD configure
for building on BUILD
[guessed
]
1319 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1320 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive
) echo "Configuration of libdecnumber :";;
1331 --disable-option-checking ignore unrecognized
--enable/--with options
1332 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1333 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1334 --enable-werror-always enable -Werror despite compiler version
1335 --enable-maintainer-mode enable rules only needed by maintainers
1336 --enable-decimal-float={no
,yes,bid
,dpd
}
1337 enable decimal float extension to C. Selecting
'bid'
1338 or
'dpd' choses
which decimal floating point format
1340 --enable-host-shared build
host code as shared libraries
1341 --enable-host-pie build
host code as PIE
1343 Some influential environment variables
:
1344 CC C compiler
command
1345 CFLAGS C compiler flags
1346 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1347 nonstandard directory
<lib dir
>
1348 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1349 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1350 you have headers
in a nonstandard directory
<include dir
>
1353 Use these variables to override the choices made by
`configure' or to help
1354 it to find libraries and programs with nonstandard names/locations.
1356 Report bugs to <gcc-bugs@gcc.gnu.org>.
1361 if test "$ac_init_help" = "recursive"; then
1362 # If there are subdirs, report their specific --help.
1363 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1364 test -d "$ac_dir" ||
1365 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1372 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1373 # A ".." for each directory in $ac_dir_suffix.
1374 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1375 case $ac_top_builddir_sub in
1376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1380 ac_abs_top_builddir=$ac_pwd
1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir=$ac_top_build_prefix
1386 .) # We are building in place.
1388 ac_top_srcdir=$ac_top_builddir_sub
1389 ac_abs_top_srcdir=$ac_pwd ;;
1390 [\\/]* | ?:[\\/]* ) # Absolute name.
1391 ac_srcdir=$srcdir$ac_dir_suffix;
1392 ac_top_srcdir=$srcdir
1393 ac_abs_top_srcdir=$srcdir ;;
1395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396 ac_top_srcdir=$ac_top_build_prefix$srcdir
1397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1401 cd "$ac_dir" || { ac_status=$?; continue; }
1402 # Check for guested configure.
1403 if test -f "$ac_srcdir/configure.gnu"; then
1405 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1406 elif test -f "$ac_srcdir/configure"; then
1408 $SHELL "$ac_srcdir/configure" --help=recursive
1410 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1412 cd "$ac_pwd" || { ac_status=$?; break; }
1416 test -n "$ac_init_help" && exit $ac_status
1417 if $ac_init_version; then
1419 libdecnumber configure
1420 generated by GNU Autoconf 2.69
1422 Copyright (C) 2012 Free Software Foundation, Inc.
1423 This configure script is free software; the Free Software Foundation
1424 gives unlimited permission to copy, distribute and modify it.
1429 ## ------------------------ ##
1430 ## Autoconf initialization. ##
1431 ## ------------------------ ##
1433 # ac_fn_c_try_compile LINENO
1434 # --------------------------
1435 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1436 ac_fn_c_try_compile ()
1438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439 rm -f conftest.$ac_objext
1440 if { { ac_try="$ac_compile"
1442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1443 *) ac_try_echo
=$ac_try;;
1445 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446 $as_echo "$ac_try_echo"; } >&5
1447 (eval "$ac_compile") 2>conftest.err
1449 if test -s conftest.err
; then
1450 grep -v '^ *+' conftest.err
>conftest.er1
1451 cat conftest.er1
>&5
1452 mv -f conftest.er1 conftest.err
1454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455 test $ac_status = 0; } && {
1456 test -z "$ac_c_werror_flag" ||
1457 test ! -s conftest.err
1458 } && test -s conftest.
$ac_objext; then :
1461 $as_echo "$as_me: failed program was:" >&5
1462 sed 's/^/| /' conftest.
$ac_ext >&5
1466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 as_fn_set_status
$ac_retval
1469 } # ac_fn_c_try_compile
1471 # ac_fn_c_try_cpp LINENO
1472 # ----------------------
1473 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1476 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1477 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1480 *) ac_try_echo=$ac_try;;
1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483 $as_echo "$ac_try_echo"; } >&5
1484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1486 if test -s conftest.err; then
1487 grep -v '^ *+' conftest.err >conftest.er1
1488 cat conftest.er1 >&5
1489 mv -f conftest.er1 conftest.err
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492 test $ac_status = 0; } > conftest.i && {
1493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1494 test ! -s conftest.err
1498 $as_echo "$as_me: failed program was:" >&5
1499 sed 's/^/| /' conftest.$ac_ext >&5
1503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1504 as_fn_set_status $ac_retval
1508 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1509 # -------------------------------------------------------
1510 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1511 # the include files in INCLUDES and setting the cache variable VAR
1513 ac_fn_c_check_header_mongrel ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 if eval \${$3+:} false; then :
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1518 $as_echo_n "checking for $2... " >&6; }
1519 if eval \${$3+:} false; then :
1520 $as_echo_n "(cached) " >&6
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1524 $as_echo "$ac_res" >&6; }
1526 # Is the header compilable?
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1528 $as_echo_n "checking $2 usability... " >&6; }
1529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1530 /* end confdefs.h. */
1534 if ac_fn_c_try_compile "$LINENO"; then :
1535 ac_header_compiler=yes
1537 ac_header_compiler=no
1539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1541 $as_echo "$ac_header_compiler" >&6; }
1543 # Is the header present?
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1545 $as_echo_n "checking $2 presence... " >&6; }
1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1547 /* end confdefs.h. */
1550 if ac_fn_c_try_cpp "$LINENO"; then :
1551 ac_header_preproc=yes
1553 ac_header_preproc=no
1555 rm -f conftest.err conftest.i conftest.$ac_ext
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1557 $as_echo "$ac_header_preproc" >&6; }
1559 # So? What about this header?
1560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1563 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1565 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1569 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1571 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1573 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1575 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1577 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1578 ( $as_echo "## ----------------------------------- ##
1579 ## Report this to gcc-bugs@gcc.gnu.org ##
1580 ## ----------------------------------- ##"
1581 ) | sed "s/^/$as_me: WARNING: /" >&2
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1585 $as_echo_n "checking for $2... " >&6; }
1586 if eval \${$3+:} false; then :
1587 $as_echo_n "(cached) " >&6
1589 eval "$3=\$ac_header_compiler"
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1593 $as_echo "$ac_res" >&6; }
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 } # ac_fn_c_check_header_mongrel
1599 # ac_fn_c_try_run LINENO
1600 # ----------------------
1601 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1602 # that executables *can* be run.
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 if { { ac_try="$ac_link"
1608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1609 *) ac_try_echo
=$ac_try;;
1611 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_link") 2>&5
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1617 { { case "(($ac_try" in
1618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_try") 2>&5
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; }; }; then :
1629 $as_echo "$as_me: program exited with status $ac_status" >&5
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1633 ac_retval=$ac_status
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists and can be compiled using the include files in
1644 # INCLUDES, setting the cache variable VAR accordingly.
1645 ac_fn_c_check_header_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \${$3+:} false; then :
1651 $as_echo_n "(cached) " >&6
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1658 if ac_fn_c_try_compile "$LINENO"; then :
1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_c_check_header_compile
1672 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1673 # -------------------------------------------
1674 # Tests whether TYPE exists after having included INCLUDES, setting cache
1675 # variable VAR accordingly.
1676 ac_fn_c_check_type ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1697 if ac_fn_c_try_compile "$LINENO"; then :
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 } # ac_fn_c_check_type
1726 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1727 # --------------------------------------------
1728 # Tries to find the compile-time value of EXPR in a program that includes
1729 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1731 ac_fn_c_compute_int ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if test "$cross_compiling" = yes; then
1735 # Depending upon the size, compute the lo and hi bounds.
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1742 static int test_array [1 - 2 * !(($2) >= 0)];
1744 return test_array [0];
1750 if ac_fn_c_try_compile "$LINENO"; then :
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1759 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1761 return test_array [0];
1767 if ac_fn_c_try_compile "$LINENO"; then :
1768 ac_hi=$ac_mid; break
1770 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1771 if test $ac_lo -le $ac_mid; then
1775 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1786 static int test_array [1 - 2 * !(($2) < 0)];
1788 return test_array [0];
1794 if ac_fn_c_try_compile "$LINENO"; then :
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1803 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1805 return test_array [0];
1811 if ac_fn_c_try_compile "$LINENO"; then :
1812 ac_lo=$ac_mid; break
1814 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1815 if test $ac_mid -le $ac_hi; then
1819 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 # Binary search between lo and hi bounds.
1830 while test "x$ac_lo" != "x$ac_hi"; do
1831 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1838 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1840 return test_array [0];
1846 if ac_fn_c_try_compile "$LINENO"; then :
1849 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1854 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1861 static long int longval () { return $2; }
1862 static unsigned long int ulongval () { return $2; }
1869 FILE *f = fopen ("conftest.val", "w");
1874 long int i = longval ();
1877 fprintf (f, "%ld", i);
1881 unsigned long int i = ulongval ();
1884 fprintf (f, "%lu", i);
1886 /* Do not output a trailing newline, as this causes \r\n confusion
1887 on some platforms. */
1888 return ferror (f) || fclose (f) != 0;
1894 if ac_fn_c_try_run "$LINENO"; then :
1895 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1900 conftest.$ac_objext conftest.beam conftest.$ac_ext
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 as_fn_set_status $ac_retval
1907 } # ac_fn_c_compute_int
1908 cat >config.log <<_ACEOF
1909 This file contains any messages produced by compilers while
1910 running configure, to aid debugging if configure makes a mistake.
1912 It was created by libdecnumber $as_me , which was
1913 generated by GNU Autoconf 2.69. Invocation command line was
1925 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1926 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1927 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1928 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1929 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1931 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1932 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1934 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1935 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1936 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1937 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1938 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1939 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1940 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 $as_echo "PATH: $as_dir"
1965 # Keep a trace of the command line.
1966 # Strip out --no-create and --no-recursion so they do not pile up.
1967 # Strip out --silent because we don't want to record it for future runs.
1968 # Also quote any args containing shell meta-characters.
1969 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_must_keep_next=false
1979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1981 | -silent | --silent | --silen | --sile | --sil)
1984 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1987 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1989 as_fn_append ac_configure_args1 " '$ac_arg'"
1990 if test $ac_must_keep_next = true; then
1991 ac_must_keep_next=false # Got value, back to normal.
1994 *=* | --config-cache | -C | -disable-* | --disable-* \
1995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1997 | -with-* | --with-* | -without-* | --without-* | --x)
1998 case "$ac_configure_args0 " in
1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 -* ) ac_must_keep_next=true ;;
2005 as_fn_append ac_configure_args " '$ac_arg'"
2010 { ac_configure_args0=; unset ac_configure_args0;}
2011 { ac_configure_args1=; unset ac_configure_args1;}
2013 # When interrupted or exit'd, cleanup temporary files, and complete
2014 # config.log. We remove comments because anyway the quotes in there
2015 # would cause problems or look ugly.
2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2018 trap 'exit_status=$?
2019 # Save into config.log some information that might help in debugging.
2023 $as_echo "## ---------------- ##
2024 ## Cache variables. ##
2025 ## ---------------- ##"
2027 # The following way of writing the cache mishandles newlines in values,
2029 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2030 eval ac_val=\$$ac_var
2034 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2038 _ | IFS | as_nl) ;; #(
2039 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2040 *) { eval $ac_var=; unset $ac_var;} ;;
2045 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2046 *${as_nl}ac_space=\ *)
2048 "s/'\''/'\''\\\\'\'''\''/g;
2049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2059 $as_echo "## ----------------- ##
2060 ## Output variables. ##
2061 ## ----------------- ##"
2063 for ac_var in $ac_subst_vars
2065 eval ac_val=\$$ac_var
2067 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2069 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -n "$ac_subst_files"; then
2074 $as_echo "## ------------------- ##
2075 ## File substitutions. ##
2076 ## ------------------- ##"
2078 for ac_var in $ac_subst_files
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -s confdefs.h; then
2090 $as_echo "## ----------- ##
2097 test "$ac_signal" != 0 &&
2098 $as_echo "$as_me: caught signal $ac_signal"
2099 $as_echo "$as_me: exit $exit_status"
2101 rm -f core *.core core.conftest.* &&
2102 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2105 for ac_signal in 1 2 13 15; do
2106 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2111 rm -f -r conftest* confdefs.h
2113 $as_echo "/* confdefs.h */" > confdefs.h
2115 # Predefined preprocessor variables.
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_NAME "$PACKAGE_NAME"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_STRING "$PACKAGE_STRING"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_URL "$PACKAGE_URL"
2142 # Let the site file select an alternate cache file if it wants to.
2143 # Prefer an explicitly selected file to automatically selected ones.
2146 if test -n "$CONFIG_SITE"; then
2147 # We do not want a PATH search for config.site.
2148 case $CONFIG_SITE in #((
2149 -*) ac_site_file1=./$CONFIG_SITE;;
2150 */*) ac_site_file1=$CONFIG_SITE;;
2151 *) ac_site_file1=./$CONFIG_SITE;;
2153 elif test "x$prefix" != xNONE; then
2154 ac_site_file1=$prefix/share/config.site
2155 ac_site_file2=$prefix/etc/config.site
2157 ac_site_file1=$ac_default_prefix/share/config.site
2158 ac_site_file2=$ac_default_prefix/etc/config.site
2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2162 test "x$ac_site_file" = xNONE && continue
2163 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2166 sed 's/^/| /' "$ac_site_file" >&5
2168 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2170 as_fn_error $? "failed to load site
script $ac_site_file
2171 See \
`config.log' for more details" "$LINENO" 5; }
2175 if test -r "$cache_file"; then
2176 # Some versions of bash will fail to source /dev/null (special files
2177 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2178 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
2182 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2183 *) . "./$cache_file";;
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
2192 # Check that the precious variables saved in the cache have kept the same
2194 ac_cache_corrupted=false
2195 for ac_var in $ac_precious_vars; do
2196 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2197 eval ac_new_set=\$ac_env_${ac_var}_set
2198 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2199 eval ac_new_val=\$ac_env_${ac_var}_value
2200 case $ac_old_set,$ac_new_set in
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2203 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2207 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2211 if test "x$ac_old_val" != "x$ac_new_val"; then
2212 # differences in whitespace do not lead to failure.
2213 ac_old_val_w=`echo x
$ac_old_val`
2214 ac_new_val_w=`echo x
$ac_new_val`
2215 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2218 ac_cache_corrupted=:
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2222 eval $ac_var=\$ac_old_val
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2225 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2227 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2230 # Pass precious variables to config.status.
2231 if test "$ac_new_set" = set; then
2233 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2234 *) ac_arg=$ac_var=$ac_new_val ;;
2236 case " $ac_configure_args " in
2237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2238 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2242 if $ac_cache_corrupted; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2247 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2249 ## -------------------- ##
2250 ## Main body of script. ##
2251 ## -------------------- ##
2254 ac_cpp='$CPP $CPPFLAGS'
2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2263 for ac_dir in .. "$srcdir"/..; do
2264 if test -f "$ac_dir/install-sh"; then
2266 ac_install_sh="$ac_aux_dir/install-sh -c"
2268 elif test -f "$ac_dir/install.sh"; then
2270 ac_install_sh="$ac_aux_dir/install.sh -c"
2272 elif test -f "$ac_dir/shtool"; then
2274 ac_install_sh="$ac_aux_dir/shtool install -c"
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2292 # Checks for programs.
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2296 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2298 $as_echo_n "(cached) " >&6
2300 cat >conftest.make <<\_ACEOF
2303 @echo '@@@%%%=$(MAKE)=@@@%%%'
2305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2306 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2308 eval ac_cv_prog_make_${ac_make}_set=yes;;
2310 eval ac_cv_prog_make_${ac_make}_set=no;;
2314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2316 $as_echo "yes" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2321 SET_MAKE="MAKE=${MAKE-make}"
2325 ac_cpp='$CPP $CPPFLAGS'
2326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2329 if test -n "$ac_tool_prefix"; then
2330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC="$CC" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2368 if test -z "$ac_cv_prog_CC"; then
2370 # Extract the first word of "gcc", so it can be a program name with args.
2371 set dummy gcc; ac_word=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$ac_ct_CC"; then
2378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_ac_ct_CC="gcc"
2388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2398 if test -n "$ac_ct_CC"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2400 $as_echo "$ac_ct_CC" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2406 if test "x$ac_ct_CC" = x; then
2409 case $cross_compiling:$ac_tool_warned in
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2413 ac_tool_warned=yes ;;
2421 if test -z "$CC"; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}cc; ac_word=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440 ac_cv_prog_CC="${ac_tool_prefix}cc"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2462 if test -z "$CC"; then
2463 # Extract the first word of "cc", so it can be a program name with args.
2464 set dummy cc; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_CC+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir=.
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2482 ac_prog_rejected=yes
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test $ac_prog_rejected = yes; then
2494 # We found a bogon in the path, so make sure we never use it.
2495 set dummy $ac_cv_prog_CC
2497 if test $# != 0; then
2498 # We chose a different compiler from the bogus one.
2499 # However, it has the same basename, so the bogon will be chosen
2500 # first if we set CC to just the basename; use the full file name.
2502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2508 if test -n "$CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 for ac_prog in cl.exe
2522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_CC+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$CC" && break
2562 if test -z "$CC"; then
2564 for ac_prog in cl.exe
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_ac_ct_CC="$ac_prog"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2594 if test -n "$ac_ct_CC"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2596 $as_echo "$ac_ct_CC" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2603 test -n "$ac_ct_CC" && break
2606 if test "x$ac_ct_CC" = x; then
2609 case $cross_compiling:$ac_tool_warned in
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613 ac_tool_warned=yes ;;
2622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2625 See \
`config.log' for more details" "$LINENO" 5; }
2627 # Provide some information about the compiler.
2628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2631 for ac_option in --version -v -V -qversion; do
2632 { { ac_try="$ac_compiler $ac_option >&5"
2634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2635 *) ac_try_echo
=$ac_try;;
2637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2641 if test -s conftest.err
; then
2643 ... rest of stderr output deleted ...
2644 10q' conftest.err
>conftest.er1
2645 cat conftest.er1
>&5
2647 rm -f conftest.er1 conftest.err
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }
2652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 ac_clean_files_save
=$ac_clean_files
2664 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2665 # Try to create an executable without -o first, disregard a.out.
2666 # It will help us diagnose broken compilers, and finding out an intuition
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2669 $as_echo_n "checking whether the C compiler works... " >&6; }
2670 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2672 # The possible output files:
2673 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2676 for ac_file
in $ac_files
2679 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2680 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2685 if { { ac_try
="$ac_link_default"
2687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_link_default") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; then :
2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2697 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2699 # so that the user can short-circuit this test for compilers unknown to
2701 for ac_file in $ac_files ''
2703 test -f "$ac_file" || continue
2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2708 # We found the default executable, but exeext='' is most
2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 # We set ac_cv_exeext here because the later test for it is not
2717 # safe: cross compilers may not add the suffix if given an `-o'
2718 # argument, so we may need to know it at that point already.
2719 # Even if this section looks crufty: it has the advantage of
2726 test "$ac_cv_exeext" = no && ac_cv_exeext=
2731 if test -z "$ac_file"; then :
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's
/^
/|
/' conftest.$ac_ext >&5
2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2738 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2739 as_fn_error 77 "C compiler cannot create executables
2740 See \`config.log
' for more details" "$LINENO" 5; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2743 $as_echo "yes" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2746 $as_echo_n "checking for C compiler default output file name... " >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2748 $as_echo "$ac_file" >&6; }
2749 ac_exeext=$ac_cv_exeext
2751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2752 ac_clean_files=$ac_clean_files_save
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2754 $as_echo_n "checking for suffix of executables... " >&6; }
2755 if { { ac_try="$ac_link"
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link") 2>&5
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; }; then :
2766 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2767 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2768 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2770 for ac_file
in conftest.exe conftest conftest.
*; do
2771 test -f "$ac_file" ||
continue
2773 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2774 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2782 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details" "$LINENO" 5; }
2785 rm -f conftest conftest
$ac_cv_exeext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2787 $as_echo "$ac_cv_exeext" >&6; }
2789 rm -f conftest.
$ac_ext
2790 EXEEXT
=$ac_cv_exeext
2792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2798 FILE *f = fopen ("conftest.out", "w");
2799 return ferror (f) || fclose (f) != 0;
2805 ac_clean_files
="$ac_clean_files conftest.out"
2806 # Check that the compiler produces executables we can run. If not, either
2807 # the compiler is broken, or we cross compile.
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2809 $as_echo_n "checking whether we are cross compiling... " >&6; }
2810 if test "$cross_compiling" != yes; then
2811 { { ac_try
="$ac_link"
2813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 $as_echo "$ac_try_echo"; } >&5
2818 (eval "$ac_link") 2>&5
2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821 test $ac_status = 0; }
2822 if { ac_try='./conftest$ac_cv_exeext'
2823 { { case "(($ac_try" in
2824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2825 *) ac_try_echo
=$ac_try;;
2827 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_try") 2>&5
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; }; }; then
2835 if test "$cross_compiling" = maybe
; then
2838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error $?
"cannot run C compiled programs.
2841 If you meant to cross compile, use \`--host'.
2842 See \`config.log' for more details" "$LINENO" 5; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2847 $as_echo "$cross_compiling" >&6; }
2849 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2850 ac_clean_files
=$ac_clean_files_save
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2852 $as_echo_n "checking for suffix of object files... " >&6; }
2853 if ${ac_cv_objext+:} false
; then :
2854 $as_echo_n "(cached) " >&6
2856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2867 rm -f conftest.o conftest.obj
2868 if { { ac_try
="$ac_compile"
2870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_compile") 2>&5
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; }; then :
2879 for ac_file in conftest.o conftest.obj conftest.*; do
2880 test -f "$ac_file" || continue;
2882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2894 See \
`config.log' for more details" "$LINENO" 5; }
2896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2899 $as_echo "$ac_cv_objext" >&6; }
2900 OBJEXT=$ac_cv_objext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2904 if ${ac_cv_c_compiler_gnu+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2921 if ac_fn_c_try_compile "$LINENO"; then :
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2932 if test $ac_compiler_gnu = yes; then
2937 ac_test_CFLAGS=${CFLAGS+set}
2938 ac_save_CFLAGS=$CFLAGS
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2941 if ${ac_cv_prog_cc_g+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 ac_save_c_werror_flag=$ac_c_werror_flag
2945 ac_c_werror_flag=yes
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2959 if ac_fn_c_try_compile "$LINENO"; then :
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2977 ac_c_werror_flag=$ac_save_c_werror_flag
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2990 if ac_fn_c_try_compile "$LINENO"; then :
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 ac_c_werror_flag=$ac_save_c_werror_flag
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3001 $as_echo "$ac_cv_prog_cc_g" >&6; }
3002 if test "$ac_test_CFLAGS" = set; then
3003 CFLAGS=$ac_save_CFLAGS
3004 elif test $ac_cv_prog_cc_g = yes; then
3005 if test "$GCC" = yes; then
3011 if test "$GCC" = yes; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3019 if ${ac_cv_prog_cc_c89+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 ac_cv_prog_cc_c89=no
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3030 struct buf { int x; };
3031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3032 static char *e (p, i)
3038 static char *f (char * (*g) (char **, int), char **p, ...)
3043 s = g (p, va_arg (v,int));
3048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3049 function prototypes and stuff, but not '\xHH' hex character constants.
3050 These don't provoke an error unfortunately, instead are silently treated
3051 as 'x'. The following induces an error, until -std is added to get
3052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3053 array size at least. It's necessary to write '\x00'==0 to get something
3054 that's true only with -std. */
3055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3058 inside strings and character constants. */
3060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3062 int test (int i, double x);
3063 struct s1 {int (*f) (int a);};
3064 struct s2 {int (*f) (double a);};
3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3079 CC="$ac_save_CC $ac_arg"
3080 if ac_fn_c_try_compile "$LINENO"; then :
3081 ac_cv_prog_cc_c89=$ac_arg
3083 rm -f core conftest.err conftest.$ac_objext
3084 test "x$ac_cv_prog_cc_c89" != "xno" && break
3086 rm -f conftest.$ac_ext
3091 case "x$ac_cv_prog_cc_c89" in
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3094 $as_echo "none needed" >&6; } ;;
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3097 $as_echo "unsupported" >&6; } ;;
3099 CC="$CC $ac_cv_prog_cc_c89"
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3103 if test "x$ac_cv_prog_cc_c89" != xno; then :
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113 if test -n "$ac_tool_prefix"; then
3114 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if ${ac_cv_prog_RANLIB+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$RANLIB"; then
3122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 RANLIB=$ac_cv_prog_RANLIB
3142 if test -n "$RANLIB"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3144 $as_echo "$RANLIB" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$ac_cv_prog_RANLIB"; then
3153 ac_ct_RANLIB=$RANLIB
3154 # Extract the first word of "ranlib", so it can be a program name with args.
3155 set dummy ranlib; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_RANLIB"; then
3162 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_ac_ct_RANLIB="ranlib"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3182 if test -n "$ac_ct_RANLIB"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3184 $as_echo "$ac_ct_RANLIB" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3190 if test "x$ac_ct_RANLIB" = x; then
3193 case $cross_compiling:$ac_tool_warned in
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3197 ac_tool_warned=yes ;;
3199 RANLIB=$ac_ct_RANLIB
3202 RANLIB="$ac_cv_prog_RANLIB"
3206 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3207 for ac_prog in aclocal
3209 # Extract the first word of "$ac_prog", so it can be a program name with args.
3210 set dummy $ac_prog; ac_word=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_ACLOCAL+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ACLOCAL"; then
3217 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir=.
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ACLOCAL="$ac_prog"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ACLOCAL=$ac_cv_prog_ACLOCAL
3237 if test -n "$ACLOCAL"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3239 $as_echo "$ACLOCAL" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3246 test -n "$ACLOCAL" && break
3248 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3250 for ac_prog in autoconf
3252 # Extract the first word of "$ac_prog", so it can be a program name with args.
3253 set dummy $ac_prog; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if ${ac_cv_prog_AUTOCONF+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$AUTOCONF"; then
3260 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_AUTOCONF="$ac_prog"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 AUTOCONF=$ac_cv_prog_AUTOCONF
3280 if test -n "$AUTOCONF"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3282 $as_echo "$AUTOCONF" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3289 test -n "$AUTOCONF" && break
3291 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3293 for ac_prog in autoheader
3295 # Extract the first word of "$ac_prog", so it can be a program name with args.
3296 set dummy $ac_prog; ac_word=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_AUTOHEADER+:} false; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$AUTOHEADER"; then
3303 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_AUTOHEADER="$ac_prog"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3323 if test -n "$AUTOHEADER"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3325 $as_echo "$AUTOHEADER" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3332 test -n "$AUTOHEADER" && break
3334 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3337 # Figure out what compiler warnings we can enable.
3338 # See config/warnings.m4 for details.
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 save_CFLAGS="$CFLAGS"
3349 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3350 -Wmissing-prototypes -Wold-style-definition \
3351 -Wmissing-format-attribute -Wcast-qual; do
3352 # Do the check with the no- prefix removed since gcc silently
3353 # accepts any -Wno-* option on purpose
3354 case $real_option in
3355 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3356 *) option=$real_option ;;
3358 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3361 $as_echo_n "checking whether $CC supports $option... " >&6; }
3362 if eval \${$as_acx_Woption+:} false; then :
3363 $as_echo_n "(cached) " >&6
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 eval "$as_acx_Woption=yes"
3380 eval "$as_acx_Woption=no"
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 eval ac_res=\$$as_acx_Woption
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3387 $as_echo "$ac_res" >&6; }
3388 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3389 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3392 CFLAGS="$save_CFLAGS"
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 # Do the check with the no- prefix removed from the warning options
3408 # since gcc silently accepts any -Wno-* option on purpose
3409 if test "$GCC" = yes; then :
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
3411 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
3412 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
3413 $as_echo_n "(cached) " >&6
3415 save_CFLAGS="$CFLAGS"
3416 CFLAGS="-pedantic -Wlong-long"
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 acx_cv_prog_cc_pedantic__Wlong_long=yes
3431 acx_cv_prog_cc_pedantic__Wlong_long=no
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 CFLAGS="$save_CFLAGS"
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3437 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3438 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3439 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458 save_CFLAGS="$CFLAGS"
3459 for real_option in -fno-lto; do
3460 # Do the check with the no- prefix removed since gcc silently
3461 # accepts any -Wno-* option on purpose
3462 case $real_option in
3463 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3464 *) option=$real_option ;;
3466 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3469 $as_echo_n "checking whether $CC supports $option... " >&6; }
3470 if eval \${$as_acx_Woption+:} false; then :
3471 $as_echo_n "(cached) " >&6
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3485 if ac_fn_c_try_compile "$LINENO"; then :
3486 eval "$as_acx_Woption=yes"
3488 eval "$as_acx_Woption=no"
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 eval ac_res=\$$as_acx_Woption
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3495 $as_echo "$ac_res" >&6; }
3496 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3497 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3500 CFLAGS="$save_CFLAGS"
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3509 # Only enable with --enable-werror-always until existing warnings are
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3518 # Check whether --enable-werror-always was given.
3519 if test "${enable_werror_always+set}" = set; then :
3520 enableval=$enable_werror_always;
3522 enable_werror_always=no
3525 if test $enable_werror_always = yes; then :
3526 WERROR="$WERROR${WERROR:+ }-Werror"
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3537 # Checks for header files.
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3544 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3545 # On Suns, sometimes $CPP names a directory.
3546 if test -n "$CPP" && test -d "$CPP"; then
3549 if test -z "$CPP"; then
3550 if ${ac_cv_prog_CPP+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 # Double quotes because CPP needs to be expanded
3554 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3557 for ac_c_preproc_warn_flag in '' yes
3559 # Use a header file that comes with gcc, so configuring glibc
3560 # with a fresh cross-compiler works.
3561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3562 # <limits.h> exists even on freestanding compilers.
3563 # On the NeXT, cc -E runs the code through the compiler's parser,
3564 # not just through cpp. "Syntax error" is here to catch this case.
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3568 # include <limits.h>
3570 # include <assert.h>
3574 if ac_fn_c_try_cpp "$LINENO"; then :
3577 # Broken: fails on valid input.
3580 rm -f conftest.err conftest.i conftest.$ac_ext
3582 # OK, works on sane cases. Now check whether nonexistent headers
3583 # can be detected and how.
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3586 #include <ac_nonexistent.h>
3588 if ac_fn_c_try_cpp "$LINENO"; then :
3589 # Broken: success on invalid input.
3592 # Passes both tests.
3596 rm -f conftest.err conftest.i conftest.$ac_ext
3599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3600 rm -f conftest.i conftest.err conftest.
$ac_ext
3601 if $ac_preproc_ok; then :
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3614 $as_echo "$CPP" >&6; }
3616 for ac_c_preproc_warn_flag
in '' yes
3618 # Use a header file that comes with gcc, so configuring glibc
3619 # with a fresh cross-compiler works.
3620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3621 # <limits.h> exists even on freestanding compilers.
3622 # On the NeXT, cc -E runs the code through the compiler's parser,
3623 # not just through cpp. "Syntax error" is here to catch this case.
3624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3627 # include <limits.h>
3629 # include <assert.h>
3633 if ac_fn_c_try_cpp
"$LINENO"; then :
3636 # Broken: fails on valid input.
3639 rm -f conftest.err conftest.i conftest.
$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3645 #include <ac_nonexistent.h>
3647 if ac_fn_c_try_cpp
"$LINENO"; then :
3648 # Broken: success on invalid input.
3651 # Passes both tests.
3655 rm -f conftest.err conftest.i conftest.
$ac_ext
3658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3659 rm -f conftest.i conftest.err conftest.
$ac_ext
3660 if $ac_preproc_ok; then :
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details" "$LINENO" 5; }
3670 ac_cpp
='$CPP $CPPFLAGS'
3671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3677 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3678 if ${ac_cv_path_GREP+:} false
; then :
3679 $as_echo_n "(cached) " >&6
3681 if test -z "$GREP"; then
3682 ac_path_GREP_found
=false
3683 # Loop through the user's path and test for each of PROGNAME-LIST
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_prog
in grep ggrep
; do
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3692 as_fn_executable_p
"$ac_path_GREP" ||
continue
3693 # Check for GNU ac_path_GREP and select it if it is found.
3694 # Check for GNU $ac_path_GREP
3695 case `"$ac_path_GREP" --version 2>&1` in
3697 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3700 $as_echo_n 0123456789 >"conftest.in"
3703 cat "conftest.in" "conftest.in" >"conftest.tmp"
3704 mv "conftest.tmp" "conftest.in"
3705 cp "conftest.in" "conftest.nl"
3706 $as_echo 'GREP' >> "conftest.nl"
3707 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3708 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3709 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3710 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3711 # Best one so far, save it but keep looking for a better one
3712 ac_cv_path_GREP
="$ac_path_GREP"
3713 ac_path_GREP_max
=$ac_count
3715 # 10*(2^10) chars as input seems more than enough
3716 test $ac_count -gt 10 && break
3718 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3721 $ac_path_GREP_found && break 3
3726 if test -z "$ac_cv_path_GREP"; then
3727 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3730 ac_cv_path_GREP
=$GREP
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3735 $as_echo "$ac_cv_path_GREP" >&6; }
3736 GREP
="$ac_cv_path_GREP"
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3740 $as_echo_n "checking for egrep... " >&6; }
3741 if ${ac_cv_path_EGREP+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3745 then ac_cv_path_EGREP
="$GREP -E"
3747 if test -z "$EGREP"; then
3748 ac_path_EGREP_found
=false
3749 # Loop through the user's path and test for each of PROGNAME-LIST
3750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_prog
in egrep; do
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3758 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3759 # Check for GNU ac_path_EGREP and select it if it is found.
3760 # Check for GNU $ac_path_EGREP
3761 case `"$ac_path_EGREP" --version 2>&1` in
3763 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3766 $as_echo_n 0123456789 >"conftest.in"
3769 cat "conftest.in" "conftest.in" >"conftest.tmp"
3770 mv "conftest.tmp" "conftest.in"
3771 cp "conftest.in" "conftest.nl"
3772 $as_echo 'EGREP' >> "conftest.nl"
3773 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3774 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3775 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3776 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3777 # Best one so far, save it but keep looking for a better one
3778 ac_cv_path_EGREP
="$ac_path_EGREP"
3779 ac_path_EGREP_max
=$ac_count
3781 # 10*(2^10) chars as input seems more than enough
3782 test $ac_count -gt 10 && break
3784 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3787 $ac_path_EGREP_found && break 3
3792 if test -z "$ac_cv_path_EGREP"; then
3793 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3796 ac_cv_path_EGREP
=$EGREP
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3802 $as_echo "$ac_cv_path_EGREP" >&6; }
3803 EGREP
="$ac_cv_path_EGREP"
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3807 $as_echo_n "checking for ANSI C header files... " >&6; }
3808 if ${ac_cv_header_stdc+:} false
; then :
3809 $as_echo_n "(cached) " >&6
3811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3826 if ac_fn_c_try_compile
"$LINENO"; then :
3827 ac_cv_header_stdc
=yes
3829 ac_cv_header_stdc
=no
3831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3833 if test $ac_cv_header_stdc = yes; then
3834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3841 $EGREP "memchr" >/dev
/null
2>&1; then :
3844 ac_cv_header_stdc
=no
3850 if test $ac_cv_header_stdc = yes; then
3851 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3858 $EGREP "free" >/dev
/null
2>&1; then :
3861 ac_cv_header_stdc
=no
3867 if test $ac_cv_header_stdc = yes; then
3868 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3869 if test "$cross_compiling" = yes; then :
3872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3876 #if ((' ' & 0x0FF) == 0x020)
3877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3880 # define ISLOWER(c) \
3881 (('a' <= (c) && (c) <= 'i') \
3882 || ('j' <= (c) && (c) <= 'r') \
3883 || ('s' <= (c) && (c) <= 'z'))
3884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3892 for (i = 0; i < 256; i++)
3893 if (XOR (islower (i), ISLOWER (i))
3894 || toupper (i) != TOUPPER (i))
3899 if ac_fn_c_try_run
"$LINENO"; then :
3902 ac_cv_header_stdc
=no
3904 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3905 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3911 $as_echo "$ac_cv_header_stdc" >&6; }
3912 if test $ac_cv_header_stdc = yes; then
3914 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3919 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3920 inttypes.h stdint.h unistd.h
3922 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3923 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3925 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3926 cat >>confdefs.h
<<_ACEOF
3927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3935 for ac_header
in ctype.h stddef.h string.h stdio.h
3937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3938 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3939 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3940 cat >>confdefs.h
<<_ACEOF
3941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3950 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3952 acx_cv_header_stdint
=stddef.h
3953 acx_cv_header_stdint_kind
="(already complete)"
3954 for i
in stdint.h
$inttype_headers; do
3955 unset ac_cv_type_uintptr_t
3956 unset ac_cv_type_uintmax_t
3957 unset ac_cv_type_int_least32_t
3958 unset ac_cv_type_int_fast32_t
3959 unset ac_cv_type_uint64_t
3960 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3961 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3964 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
3965 acx_cv_header_stdint
=$i
3970 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3973 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
3976 acx_cv_header_stdint_kind
="(mostly complete)"
3979 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3982 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
3985 acx_cv_header_stdint_kind
="(mostly complete)"
3988 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3991 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
3994 acx_cv_header_stdint_kind
="(mostly complete)"
3997 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4000 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4003 acx_cv_header_stdint_kind
="(lacks uint64_t)"
4008 if test "$acx_cv_header_stdint" = stddef.h
; then
4009 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
4010 for i
in stdint.h
$inttype_headers; do
4011 unset ac_cv_type_uintptr_t
4012 unset ac_cv_type_uint32_t
4013 unset ac_cv_type_uint64_t
4014 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
4015 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
4018 if test "x$ac_cv_type_uint32_t" = xyes
; then :
4019 acx_cv_header_stdint
=$i
4024 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4027 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4031 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4034 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4041 if test "$acx_cv_header_stdint" = stddef.h
; then
4042 acx_cv_header_stdint_kind
="(u_intXX_t style)"
4043 for i
in sys
/types.h
$inttype_headers; do
4044 unset ac_cv_type_u_int32_t
4045 unset ac_cv_type_u_int64_t
4046 $as_echo_n "looking for u_intXX_t types in $i, " >&6
4047 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
4050 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
4051 acx_cv_header_stdint
=$i
4056 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
4059 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
4066 if test "$acx_cv_header_stdint" = stddef.h
; then
4067 acx_cv_header_stdint_kind
="(using manual detection)"
4070 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4071 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4072 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4073 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4074 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4076 # ----------------- Summarize what we found so far
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4079 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4081 case `$as_basename -- gstdint.h ||
4082 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4083 Xgstdint.h : 'X\(//\)$' \| \
4084 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4085 $as_echo X/gstdint.h |
4086 sed '/^.*\/\([^/][^/]*\)\/*$/{
4099 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4100 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4101 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4102 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4107 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4109 # ----------------- done included file, check C basic types --------
4111 # Lacking an uintptr_t? Test size of void *
4112 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4113 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
4114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4116 # This bug is HP SR number 8606223364.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4118 $as_echo_n "checking size of void *... " >&6; }
4119 if ${ac_cv_sizeof_void_p+:} false
; then :
4120 $as_echo_n "(cached) " >&6
4122 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4125 if test "$ac_cv_type_void_p" = yes; then
4126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error
77 "cannot compute sizeof (void *)
4129 See \`config.log' for more details" "$LINENO" 5; }
4131 ac_cv_sizeof_void_p
=0
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4137 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4141 cat >>confdefs.h
<<_ACEOF
4142 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4148 # Lacking an uint64_t? Test size of long
4149 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4150 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
4151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4153 # This bug is HP SR number 8606223364.
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4155 $as_echo_n "checking size of long... " >&6; }
4156 if ${ac_cv_sizeof_long+:} false
; then :
4157 $as_echo_n "(cached) " >&6
4159 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4162 if test "$ac_cv_type_long" = yes; then
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error
77 "cannot compute sizeof (long)
4166 See \`config.log' for more details" "$LINENO" 5; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4174 $as_echo "$ac_cv_sizeof_long" >&6; }
4178 cat >>confdefs.h
<<_ACEOF
4179 #define SIZEOF_LONG $ac_cv_sizeof_long
4185 if test $acx_cv_header_stdint = stddef.h
; then
4186 # Lacking a good header? Test size of everything and deduce all types.
4187 # The cast to long int works around a bug in the HP C Compiler
4188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4190 # This bug is HP SR number 8606223364.
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4192 $as_echo_n "checking size of int... " >&6; }
4193 if ${ac_cv_sizeof_int+:} false
; then :
4194 $as_echo_n "(cached) " >&6
4196 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4199 if test "$ac_cv_type_int" = yes; then
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error
77 "cannot compute sizeof (int)
4203 See \`config.log' for more details" "$LINENO" 5; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4211 $as_echo "$ac_cv_sizeof_int" >&6; }
4215 cat >>confdefs.h
<<_ACEOF
4216 #define SIZEOF_INT $ac_cv_sizeof_int
4220 # The cast to long int works around a bug in the HP C Compiler
4221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4223 # This bug is HP SR number 8606223364.
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4225 $as_echo_n "checking size of short... " >&6; }
4226 if ${ac_cv_sizeof_short+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4232 if test "$ac_cv_type_short" = yes; then
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235 as_fn_error
77 "cannot compute sizeof (short)
4236 See \`config.log' for more details" "$LINENO" 5; }
4238 ac_cv_sizeof_short
=0
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4244 $as_echo "$ac_cv_sizeof_short" >&6; }
4248 cat >>confdefs.h
<<_ACEOF
4249 #define SIZEOF_SHORT $ac_cv_sizeof_short
4253 # The cast to long int works around a bug in the HP C Compiler
4254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4256 # This bug is HP SR number 8606223364.
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4258 $as_echo_n "checking size of char... " >&6; }
4259 if ${ac_cv_sizeof_char+:} false
; then :
4260 $as_echo_n "(cached) " >&6
4262 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4265 if test "$ac_cv_type_char" = yes; then
4266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4268 as_fn_error
77 "cannot compute sizeof (char)
4269 See \`config.log' for more details" "$LINENO" 5; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4277 $as_echo "$ac_cv_sizeof_char" >&6; }
4281 cat >>confdefs.h
<<_ACEOF
4282 #define SIZEOF_CHAR $ac_cv_sizeof_char
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4288 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4289 case "$ac_cv_sizeof_char" in
4290 1) acx_cv_type_int8_t
=char
;;
4291 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4294 $as_echo "$acx_cv_type_int8_t" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4297 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4298 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4299 2:*) acx_cv_type_int16_t
=int
;;
4300 *:2) acx_cv_type_int16_t
=short
;;
4301 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4304 $as_echo "$acx_cv_type_int16_t" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4307 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4308 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4309 4:*) acx_cv_type_int32_t
=int
;;
4310 *:4) acx_cv_type_int32_t
=long
;;
4311 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4314 $as_echo "$acx_cv_type_int32_t" >&6; }
4317 # These tests are here to make the output prettier
4319 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4320 case "$ac_cv_sizeof_long" in
4321 8) acx_cv_type_int64_t
=long
;;
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4324 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4326 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4329 # Now we can use the above types
4331 if test "$ac_cv_type_uintptr_t" != yes; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4333 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4334 case $ac_cv_sizeof_void_p in
4335 2) acx_cv_type_intptr_t
=int16_t
;;
4336 4) acx_cv_type_intptr_t
=int32_t
;;
4337 8) acx_cv_type_intptr_t
=int64_t
;;
4338 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4341 $as_echo "$acx_cv_type_intptr_t" >&6; }
4344 # ----------------- done all checks, emit header -------------
4345 ac_config_commands
="$ac_config_commands gstdint.h"
4350 # Checks for typedefs, structures, and compiler characteristics.
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4352 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4353 if ${ac_cv_c_const+:} false
; then :
4354 $as_echo_n "(cached) " >&6
4356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4364 /* Ultrix mips cc rejects this sort of thing. */
4365 typedef int charset[2];
4366 const charset cs = { 0, 0 };
4367 /* SunOS 4.1.1 cc rejects this. */
4368 char const *const *pcpcc;
4370 /* NEC SVR4.0.2 mips cc rejects this. */
4371 struct point {int x, y;};
4372 static struct point const zero = {0,0};
4373 /* AIX XL C 1.02.0.0 rejects this.
4374 It does not let you subtract one const X* pointer from another in
4375 an arm of an if-expression whose if-part is not a constant
4377 const char *g = "string";
4378 pcpcc = &g + (g ? g-g : 0);
4379 /* HPUX 7.0 cc rejects these. */
4381 ppc = (char**) pcpcc;
4382 pcpcc = (char const *const *) ppc;
4383 { /* SCO 3.2v4 cc rejects this sort of thing. */
4386 char const *s = 0 ? (char *) 0 : (char const *) 0;
4391 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4393 const int *foo = &x[0];
4396 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4397 typedef const int *iptr;
4401 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4402 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4403 struct s { int j; const int *ap[3]; } bx;
4404 struct s *b = &bx; b->j = 5;
4406 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4410 return !cs[0] && !zero.x;
4417 if ac_fn_c_try_compile
"$LINENO"; then :
4422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4425 $as_echo "$ac_cv_c_const" >&6; }
4426 if test $ac_cv_c_const = no
; then
4428 $as_echo "#define const /**/" >>confdefs.h
4432 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4433 if test "x$ac_cv_type_off_t" = xyes
; then :
4437 cat >>confdefs.h
<<_ACEOF
4438 #define off_t long int
4443 # The cast to long int works around a bug in the HP C Compiler
4444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4445 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4446 # This bug is HP SR number 8606223364.
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4448 $as_echo_n "checking size of int... " >&6; }
4449 if ${ac_cv_sizeof_int+:} false
; then :
4450 $as_echo_n "(cached) " >&6
4452 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4455 if test "$ac_cv_type_int" = yes; then
4456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4458 as_fn_error
77 "cannot compute sizeof (int)
4459 See \`config.log' for more details" "$LINENO" 5; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4467 $as_echo "$ac_cv_sizeof_int" >&6; }
4471 cat >>confdefs.h
<<_ACEOF
4472 #define SIZEOF_INT $ac_cv_sizeof_int
4476 # The cast to long int works around a bug in the HP C Compiler
4477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4479 # This bug is HP SR number 8606223364.
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4481 $as_echo_n "checking size of long... " >&6; }
4482 if ${ac_cv_sizeof_long+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4488 if test "$ac_cv_type_long" = yes; then
4489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4491 as_fn_error
77 "cannot compute sizeof (long)
4492 See \`config.log' for more details" "$LINENO" 5; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4500 $as_echo "$ac_cv_sizeof_long" >&6; }
4504 cat >>confdefs.h
<<_ACEOF
4505 #define SIZEOF_LONG $ac_cv_sizeof_long
4510 # Checks for library functions.
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4512 $as_echo_n "checking for ANSI C header files... " >&6; }
4513 if ${ac_cv_header_stdc+:} false
; then :
4514 $as_echo_n "(cached) " >&6
4516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4531 if ac_fn_c_try_compile
"$LINENO"; then :
4532 ac_cv_header_stdc
=yes
4534 ac_cv_header_stdc
=no
4536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 if test $ac_cv_header_stdc = yes; then
4539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4546 $EGREP "memchr" >/dev
/null
2>&1; then :
4549 ac_cv_header_stdc
=no
4555 if test $ac_cv_header_stdc = yes; then
4556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4563 $EGREP "free" >/dev
/null
2>&1; then :
4566 ac_cv_header_stdc
=no
4572 if test $ac_cv_header_stdc = yes; then
4573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4574 if test "$cross_compiling" = yes; then :
4577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 #if ((' ' & 0x0FF) == 0x020)
4582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4585 # define ISLOWER(c) \
4586 (('a' <= (c) && (c) <= 'i') \
4587 || ('j' <= (c) && (c) <= 'r') \
4588 || ('s' <= (c) && (c) <= 'z'))
4589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4597 for (i = 0; i < 256; i++)
4598 if (XOR (islower (i), ISLOWER (i))
4599 || toupper (i) != TOUPPER (i))
4604 if ac_fn_c_try_run
"$LINENO"; then :
4607 ac_cv_header_stdc
=no
4609 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4610 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4616 $as_echo "$ac_cv_header_stdc" >&6; }
4617 if test $ac_cv_header_stdc = yes; then
4619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4624 # Check whether --enable-maintainer-mode was given.
4625 if test "${enable_maintainer_mode+set}" = set; then :
4626 enableval
=$enable_maintainer_mode;
4628 enable_maintainer_mode
=no
4632 if test "x$enable_maintainer_mode" = xno
; then
4639 # Make sure we can run config.sub.
4640 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4641 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4644 $as_echo_n "checking build system type... " >&6; }
4645 if ${ac_cv_build+:} false
; then :
4646 $as_echo_n "(cached) " >&6
4648 ac_build_alias
=$build_alias
4649 test "x$ac_build_alias" = x
&&
4650 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4651 test "x$ac_build_alias" = x
&&
4652 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4653 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4654 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4658 $as_echo "$ac_cv_build" >&6; }
4659 case $ac_cv_build in
4661 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4664 ac_save_IFS
=$IFS; IFS
='-'
4670 # Remember, the first character of IFS is used to create $*,
4671 # except with old shells:
4674 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4678 $as_echo_n "checking host system type... " >&6; }
4679 if ${ac_cv_host+:} false
; then :
4680 $as_echo_n "(cached) " >&6
4682 if test "x$host_alias" = x
; then
4683 ac_cv_host
=$ac_cv_build
4685 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4686 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4691 $as_echo "$ac_cv_host" >&6; }
4694 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4697 ac_save_IFS
=$IFS; IFS
='-'
4703 # Remember, the first character of IFS is used to create $*,
4704 # except with old shells:
4707 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4711 $as_echo_n "checking target system type... " >&6; }
4712 if ${ac_cv_target+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4715 if test "x$target_alias" = x
; then
4716 ac_cv_target
=$ac_cv_host
4718 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4719 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4724 $as_echo "$ac_cv_target" >&6; }
4725 case $ac_cv_target in
4727 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4729 target
=$ac_cv_target
4730 ac_save_IFS
=$IFS; IFS
='-'
4736 # Remember, the first character of IFS is used to create $*,
4737 # except with old shells:
4740 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4743 # The aliases save the names the user supplied, while $host etc.
4744 # will get canonicalized.
4745 test -n "$target_alias" &&
4746 test "$program_prefix$program_suffix$program_transform_name" = \
4748 program_prefix
=${target_alias}-
4750 # Default decimal format
4751 # If you change the defaults here, be sure to change them in the GCC directory also
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4753 $as_echo_n "checking for decimal floating point... " >&6; }
4756 # Check whether --enable-decimal-float was given.
4757 if test "${enable_decimal_float+set}" = set; then :
4758 enableval
=$enable_decimal_float;
4759 case $enable_decimal_float in
4760 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4761 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4762 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4769 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4770 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4771 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4772 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4773 enable_decimal_float
=yes
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4777 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4778 enable_decimal_float
=no
4785 # x86's use BID format instead of DPD
4786 case x
$enable_decimal_float in
4789 aarch64
* | i?
86*-*-* | x86_64
*-*-*)
4790 enable_decimal_float
=bid
4793 enable_decimal_float
=dpd
4796 default_decimal_float
=$enable_decimal_float
4799 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4800 # dependency on libdecnumber.
4801 default_decimal_float
=dpd
4808 # Use default_decimal_float for dependency.
4809 enable_decimal_float
=$default_decimal_float
4811 # If BID is being used, additional objects should be linked in.
4812 if test x
$enable_decimal_float = xbid
; then
4813 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4819 $as_echo "$enable_decimal_float" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4824 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4825 if ${ac_cv_c_bigendian+:} false
; then :
4826 $as_echo_n "(cached) " >&6
4828 ac_cv_c_bigendian
=unknown
4829 # See if we're dealing with a universal compiler.
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4832 #ifndef __APPLE_CC__
4833 not a universal capable compiler
4838 if ac_fn_c_try_compile
"$LINENO"; then :
4840 # Check for potential -arch flags. It is not universal unless
4841 # there are at least two -arch flags with different values.
4844 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4845 if test -n "$ac_prev"; then
4847 i?
86 | x86_64 | ppc | ppc64
)
4848 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4851 ac_cv_c_bigendian
=universal
4857 elif test "x$ac_word" = "x-arch"; then
4862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4863 if test $ac_cv_c_bigendian = unknown
; then
4864 # See if sys/param.h defines the BYTE_ORDER macro.
4865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4866 /* end confdefs.h. */
4867 #include <sys/types.h>
4868 #include <sys/param.h>
4873 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4874 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4883 if ac_fn_c_try_compile
"$LINENO"; then :
4884 # It does; now see whether it defined to BIG_ENDIAN or not.
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887 #include <sys/types.h>
4888 #include <sys/param.h>
4893 #if BYTE_ORDER != BIG_ENDIAN
4901 if ac_fn_c_try_compile
"$LINENO"; then :
4902 ac_cv_c_bigendian
=yes
4904 ac_cv_c_bigendian
=no
4906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 if test $ac_cv_c_bigendian = unknown
; then
4911 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4919 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4927 if ac_fn_c_try_compile
"$LINENO"; then :
4928 # It does; now see whether it defined to _BIG_ENDIAN or not.
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4944 if ac_fn_c_try_compile
"$LINENO"; then :
4945 ac_cv_c_bigendian
=yes
4947 ac_cv_c_bigendian
=no
4949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 if test $ac_cv_c_bigendian = unknown
; then
4954 # Compile a test program.
4955 if test "$cross_compiling" = yes; then :
4956 # Try to guess by grepping values from an object file.
4957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959 short int ascii_mm[] =
4960 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4961 short int ascii_ii[] =
4962 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4963 int use_ascii (int i) {
4964 return ascii_mm[i] + ascii_ii[i];
4966 short int ebcdic_ii[] =
4967 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4968 short int ebcdic_mm[] =
4969 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4970 int use_ebcdic (int i) {
4971 return ebcdic_mm[i] + ebcdic_ii[i];
4978 return use_ascii (foo) == use_ebcdic (foo);
4983 if ac_fn_c_try_compile
"$LINENO"; then :
4984 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4985 ac_cv_c_bigendian
=yes
4987 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4988 if test "$ac_cv_c_bigendian" = unknown
; then
4989 ac_cv_c_bigendian
=no
4991 # finding both strings is unlikely to happen, but who knows?
4992 ac_cv_c_bigendian
=unknown
4996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 $ac_includes_default
5005 /* Are we little or big endian? From Harbison&Steele. */
5009 char c[sizeof (long int)];
5012 return u.c[sizeof (long int) - 1] == 1;
5018 if ac_fn_c_try_run
"$LINENO"; then :
5019 ac_cv_c_bigendian
=no
5021 ac_cv_c_bigendian
=yes
5023 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5024 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5030 $as_echo "$ac_cv_c_bigendian" >&6; }
5031 case $ac_cv_c_bigendian in #(
5033 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5039 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5043 as_fn_error $?
"unknown endianness
5044 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5048 # Enable --enable-host-shared.
5049 # Check whether --enable-host-shared was given.
5050 if test "${enable_host_shared+set}" = set; then :
5051 enableval
=$enable_host_shared;
5056 # Enable --enable-host-pie.
5057 # Check whether --enable-host-pie was given.
5058 if test "${enable_host_pie+set}" = set; then :
5059 enableval
=$enable_host_pie;
5064 if test x
$enable_host_shared = xyes
; then
5066 elif test x
$enable_host_pie = xyes
; then
5076 ac_config_headers
="$ac_config_headers config.h:config.in"
5078 ac_config_files
="$ac_config_files Makefile"
5080 cat >confcache
<<\_ACEOF
5081 # This file is a shell script that caches the results of configure
5082 # tests run on this system so they can be shared between configure
5083 # scripts and configure runs, see configure's option --config-cache.
5084 # It is not useful on other systems. If it contains results you don't
5085 # want to keep, you may remove or edit it.
5087 # config.status only pays attention to the cache file if you give it
5088 # the --recheck option to rerun configure.
5090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5096 # The following way of writing the cache mishandles newlines in values,
5097 # but we know of no workaround that is simple, portable, and efficient.
5098 # So, we kill variables containing newlines.
5099 # Ultrix sh set writes to stderr and can't be redirected directly,
5100 # and sets the high bit in the cache file unless we assign to the vars.
5102 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5103 eval ac_val
=\$
$ac_var
5107 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5111 _ | IFS | as_nl
) ;; #(
5112 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5113 *) { eval $ac_var=; unset $ac_var;} ;;
5119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5120 *${as_nl}ac_space
=\
*)
5121 # `set' does not quote correctly, so add quotes: double-quote
5122 # substitution turns \\\\ into \\, and sed turns \\ into \.
5125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5128 # `set' quotes correctly as required by POSIX, so do not add quotes.
5129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5142 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5143 if test -w "$cache_file"; then
5144 if test "x$cache_file" != "x/dev/null"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5146 $as_echo "$as_me: updating cache $cache_file" >&6;}
5147 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5148 cat confcache
>"$cache_file"
5150 case $cache_file in #(
5152 mv -f confcache
"$cache_file"$$
&&
5153 mv -f "$cache_file"$$
"$cache_file" ;; #(
5155 mv -f confcache
"$cache_file" ;;
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5166 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5167 # Let make expand exec_prefix.
5168 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5170 DEFS
=-DHAVE_CONFIG_H
5175 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5176 # 1. Remove the extension, and $U if already installed.
5177 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5178 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5179 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5180 # will be set to the directory where LIBOBJS objects are built.
5181 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5182 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5186 LTLIBOBJS
=$ac_ltlibobjs
5191 : "${CONFIG_STATUS=./config.status}"
5193 ac_clean_files_save
=$ac_clean_files
5194 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5196 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5198 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5200 # Generated by $as_me.
5201 # Run this file to recreate the current configuration.
5202 # Compiler output produced by configure, useful for debugging
5203 # configure, is in config.log if it exists.
5209 SHELL=\${CONFIG_SHELL-$SHELL}
5212 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5213 ## -------------------- ##
5214 ## M4sh Initialization. ##
5215 ## -------------------- ##
5217 # Be more Bourne compatible
5218 DUALCASE
=1; export DUALCASE
# for MKS sh
5219 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5222 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5223 # is contrary to our usage. Disable this feature.
5224 alias -g '${1+"$@"}'='"$@"'
5225 setopt NO_GLOB_SUBST
5227 case `(set -o) 2>/dev/null` in #(
5239 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5240 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5242 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5243 # Prefer a ksh shell builtin over an external printf program on Solaris,
5244 # but without wasting forks for bash or zsh.
5245 if test -z "$BASH_VERSION$ZSH_VERSION" \
5246 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5247 as_echo='print
-r --'
5248 as_echo_n='print
-rn --'
5249 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5250 as_echo='printf %s
\n'
5251 as_echo_n='printf %s
'
5253 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5254 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5255 as_echo_n='/usr
/ucb
/echo -n'
5257 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5258 as_echo_n_body='eval
5262 expr "X$arg" : "X\\(.*\\)$as_nl";
5263 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5265 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5267 export as_echo_n_body
5268 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5271 as_echo='sh
-c $as_echo_body as_echo
'
5274 # The user is always right.
5275 if test "${PATH_SEPARATOR+set}" != set; then
5277 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5278 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5285 # We need space, tab and new line, in precisely that order. Quoting is
5286 # there to prevent editors from complaining about space-tab.
5287 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5288 # splitting by setting IFS to empty value.)
5291 # Find who we are. Look in the path if we contain no directory separator.
5294 *[\\/]* ) as_myself=$0 ;;
5295 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5306 # We did not find ourselves, most probably we were run as `sh COMMAND'
5307 # in which case we are not to be found in the path.
5308 if test "x$as_myself" = x
; then
5311 if test ! -f "$as_myself"; then
5312 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5316 # Unset variables that we do not need and which cause bugs (e.g. in
5317 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5318 # suppresses any "Segmentation fault" message there. '((' could
5319 # trigger a bug in pdksh 5.2.14.
5320 for as_var
in BASH_ENV ENV MAIL MAILPATH
5321 do eval test x\
${$as_var+set} = xset \
5322 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5335 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5338 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5339 # ----------------------------------------
5340 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5341 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5342 # script with STATUS, using 1 if that was 0.
5345 as_status
=$1; test $as_status -eq 0 && as_status
=1
5347 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5348 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5350 $as_echo "$as_me: error: $2" >&2
5351 as_fn_exit
$as_status
5355 # as_fn_set_status STATUS
5356 # -----------------------
5357 # Set $? to STATUS, without forking.
5361 } # as_fn_set_status
5365 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5375 # Portably unset VAR.
5378 { eval $1=; unset $1;}
5380 as_unset
=as_fn_unset
5381 # as_fn_append VAR VALUE
5382 # ----------------------
5383 # Append the text in VALUE to the end of the definition contained in VAR. Take
5384 # advantage of any shell optimizations that allow amortized linear growth over
5385 # repeated appends, instead of the typical quadratic growth present in naive
5387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5388 eval 'as_fn_append ()
5399 # as_fn_arith ARG...
5400 # ------------------
5401 # Perform arithmetic evaluation on the ARGs, and store the result in the
5402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5403 # must be portable across $(()) and expr.
5404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5405 eval 'as_fn_arith ()
5412 as_val
=`expr "$@" || test $? -eq 1`
5417 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5418 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5424 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5425 as_basename
=basename
5430 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5436 as_me
=`$as_basename -- "$0" ||
5437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5438 X"$0" : 'X\(//\)$' \| \
5439 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5441 sed '/^.*\/\([^/][^/]*\)\/*$/{
5455 # Avoid depending upon Character Ranges.
5456 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5457 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5458 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5459 as_cr_digits
='0123456789'
5460 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5462 ECHO_C
= ECHO_N
= ECHO_T
=
5463 case `echo -n x` in #(((((
5465 case `echo 'xy\c'` in
5466 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5468 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5475 rm -f conf$$ conf$$.exe conf$$.
file
5476 if test -d conf$$.dir
; then
5477 rm -f conf$$.dir
/conf$$.
file
5480 mkdir conf$$.dir
2>/dev
/null
5482 if (echo >conf$$.
file) 2>/dev
/null
; then
5483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5485 # ... but there are two gotchas:
5486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5488 # In both cases, we have to default to `cp -pR'.
5489 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5499 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5500 rmdir conf$$.dir
2>/dev
/null
5505 # Create "$as_dir" as a directory, including parents if necessary.
5510 -*) as_dir
=.
/$as_dir;;
5512 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5516 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5517 *) as_qdir
=$as_dir;;
5519 as_dirs
="'$as_qdir' $as_dirs"
5520 as_dir
=`$as_dirname -- "$as_dir" ||
5521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5522 X"$as_dir" : 'X\(//\)[^/]' \| \
5523 X"$as_dir" : 'X\(//\)$' \| \
5524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5525 $as_echo X"$as_dir" |
5526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5543 test -d "$as_dir" && break
5545 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5546 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5550 if mkdir
-p .
2>/dev
/null
; then
5551 as_mkdir_p
='mkdir -p "$as_dir"'
5553 test -d .
/-p && rmdir .
/-p
5558 # as_fn_executable_p FILE
5559 # -----------------------
5560 # Test if FILE is an executable regular file.
5561 as_fn_executable_p
()
5563 test -f "$1" && test -x "$1"
5564 } # as_fn_executable_p
5566 as_executable_p
=as_fn_executable_p
5568 # Sed expression to map a string onto a valid CPP name.
5569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5571 # Sed expression to map a string onto a valid variable name.
5572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5576 ## ----------------------------------- ##
5577 ## Main body of $CONFIG_STATUS script. ##
5578 ## ----------------------------------- ##
5580 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5583 # Save the log message, to keep $0 and so on meaningful, and to
5584 # report actual input values of CONFIG_FILES etc. instead of their
5585 # values after options handling.
5587 This file was extended by libdecnumber $as_me , which was
5588 generated by GNU Autoconf 2.69. Invocation command line was
5590 CONFIG_FILES = $CONFIG_FILES
5591 CONFIG_HEADERS = $CONFIG_HEADERS
5592 CONFIG_LINKS = $CONFIG_LINKS
5593 CONFIG_COMMANDS = $CONFIG_COMMANDS
5596 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5601 case $ac_config_files in *"
5602 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5605 case $ac_config_headers in *"
5606 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5611 # Files that config.status was made for.
5612 config_files="$ac_config_files"
5613 config_headers="$ac_config_headers"
5614 config_commands="$ac_config_commands"
5618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5620 \`$as_me' instantiates files and other configuration actions
5621 from templates according to the current configuration. Unless the files
5622 and actions are specified as TAGs, all are instantiated by default.
5624 Usage: $0 [OPTION]... [TAG]...
5626 -h, --help print this help, then exit
5627 -V, --version print version number and configuration settings, then exit
5628 --config print configuration, then exit
5629 -q, --quiet, --silent
5630 do not print progress messages
5631 -d, --debug don't remove temporary files
5632 --recheck update $as_me by reconfiguring in the same conditions
5633 --file=FILE[:TEMPLATE]
5634 instantiate the configuration file FILE
5635 --header=FILE[:TEMPLATE]
5636 instantiate the configuration header FILE
5638 Configuration files:
5641 Configuration headers:
5644 Configuration commands:
5647 Report bugs to <gcc-bugs@gcc.gnu.org>."
5650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5651 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5653 libdecnumber config.status
5654 configured by $0, generated by GNU Autoconf 2.69,
5655 with options \\"\$ac_cs_config\\"
5657 Copyright (C) 2012 Free Software Foundation, Inc.
5658 This config.status script is free software; the Free Software Foundation
5659 gives unlimited permission to copy, distribute and modify it."
5663 test -n "\$AWK" || AWK=awk
5666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5667 # The default lists apply if the user does not specify any file.
5673 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5674 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5678 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5690 # Handling of the options.
5691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5693 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5694 $as_echo "$ac_cs_version"; exit ;;
5695 --config |
--confi |
--conf |
--con |
--co |
--c )
5696 $as_echo "$ac_cs_config"; exit ;;
5697 --debug |
--debu |
--deb |
--de |
--d |
-d )
5699 --file |
--fil |
--fi |
--f )
5702 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5703 '') as_fn_error $?
"missing file argument" ;;
5705 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5706 ac_need_defaults
=false
;;
5707 --header |
--heade |
--head |
--hea )
5710 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5712 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5713 ac_need_defaults
=false
;;
5715 # Conflict between --help and --header
5716 as_fn_error $?
"ambiguous option: \`$1'
5717 Try \`$0 --help' for more information.";;
5718 --help |
--hel |
-h )
5719 $as_echo "$ac_cs_usage"; exit ;;
5720 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5721 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5725 -*) as_fn_error $?
"unrecognized option: \`$1'
5726 Try \`$0 --help' for more information." ;;
5728 *) as_fn_append ac_config_targets
" $1"
5729 ac_need_defaults
=false
;;
5735 ac_configure_extra_args
=
5737 if $ac_cs_silent; then
5739 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5744 if \$ac_cs_recheck; then
5745 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5748 CONFIG_SHELL='$SHELL'
5754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5759 ## Running $as_me. ##
5765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5772 acx_cv_header_stdint="$acx_cv_header_stdint"
5773 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5774 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5775 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5776 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5777 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5778 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5779 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5780 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5781 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5782 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5783 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5784 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5785 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5792 # Handling of arguments.
5793 for ac_config_target
in $ac_config_targets
5795 case $ac_config_target in
5796 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
5797 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5798 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5800 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5805 # If the user did not use the arguments to specify the items to instantiate,
5806 # then the envvar interface is used. Set only those that are not.
5807 # We use the long form for the default assignment because of an extremely
5808 # bizarre bug on SunOS 4.1.3.
5809 if $ac_need_defaults; then
5810 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5811 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5812 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5815 # Have a temporary directory for convenience. Make it in the build tree
5816 # simply because there is no reason against having it here, and in addition,
5817 # creating and moving files from /tmp can sometimes cause problems.
5818 # Hook for its removal unless debugging.
5819 # Note that there is a small window in which the directory will not be cleaned:
5820 # after its creation but before its name has been assigned to `$tmp'.
5824 trap 'exit_status=$?
5826 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5828 trap 'as_fn_exit 1' 1 2 13 15
5830 # Create a (secure) tmp directory for tmp files.
5833 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5837 tmp
=.
/conf$$
-$RANDOM
5838 (umask 077 && mkdir
"$tmp")
5839 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5842 # Set up the scripts for CONFIG_FILES section.
5843 # No need to generate them if there are no CONFIG_FILES.
5844 # This happens for instance with `./config.status config.h'.
5845 if test -n "$CONFIG_FILES"; then
5848 ac_cr
=`echo X | tr X '\015'`
5849 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5850 # But we know of no other shell where ac_cr would be empty at this
5851 # point, so we can use a bashism as a fallback.
5852 if test "x$ac_cr" = x
; then
5853 eval ac_cr
=\$
\'\\r
\'
5855 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5856 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5862 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5867 echo "cat >conf$$subs.awk <<_ACEOF" &&
5868 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5871 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5872 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5874 for ac_last_try in false false false false false :; do
5875 . ./conf$$subs.sh ||
5876 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5878 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5879 if test $ac_delim_n = $ac_delim_num; then
5881 elif $ac_last_try; then
5882 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5884 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5890 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5894 s/^/S["/; s
/!.
*/"]=/
5904 s/\(.\{148\}\)..*/\1/
5906 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5911 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5918 s/\(.\{148\}\)..*/\1/
5920 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5924 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5929 ' <conf$$subs.awk | sed '
5934 ' >>$CONFIG_STATUS || ac_write_fail=1
5935 rm -f conf$$subs.awk
5936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5938 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5939 for (key in S) S_is_set[key] = 1
5945 nfields = split(line, field, "@
")
5947 len = length(field[1])
5948 for (i = 2; i < nfields; i++) {
5950 keylen = length(key)
5951 if (S_is_set[key]) {
5953 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5954 len += length(value) + length(field[++i])
5965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5966 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5967 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5970 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5971 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5974 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5975 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5976 # trailing colons and then remove the whole line if VPATH becomes empty
5977 # (actually we leave an empty line to preserve line numbers).
5978 if test "x
$srcdir" = x.; then
5979 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5998 fi # test -n "$CONFIG_FILES"
6000 # Set up the scripts for CONFIG_HEADERS section.
6001 # No need to generate them if there are no CONFIG_HEADERS.
6002 # This happens for instance with `./config.status Makefile'.
6003 if test -n "$CONFIG_HEADERS"; then
6004 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6008 # Transform confdefs.h into an awk script `defines.awk', embedded as
6009 # here-document in config.status, that substitutes the proper values into
6010 # config.h.in to produce config.h.
6012 # Create a delimiter string that does not exist in confdefs.h, to ease
6013 # handling of long lines.
6015 for ac_last_try in false false :; do
6016 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6017 if test -z "$ac_tt"; then
6019 elif $ac_last_try; then
6020 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6022 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6026 # For the awk script, D is an array of macro values keyed by name,
6027 # likewise P contains macro parameters if any. Preserve backslash
6028 # newline sequences.
6030 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6032 s/.\{148\}/&'"$ac_delim"'/g
6035 s/^[ ]*#[ ]*define[ ][ ]*/ /
6042 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6044 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6048 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6049 D["\
1"]=" \
3\\\\\\n
"\\/p
6051 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6056 s/.\{148\}/&'"$ac_delim"'/g
6061 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6064 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6066 ' <confdefs.h | sed '
6067 s/'"$ac_delim"'/"\\\
6068 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071 for (key in D) D_is_set[key] = 1
6074 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6076 split(line, arg, " ")
6077 if (arg[1] == "#") {
6081 defundef
= substr
(arg
[1], 2)
6084 split(mac1
, mac2
, "(") #)
6086 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6087 if (D_is_set
[macro
]) {
6088 # Preserve the white space surrounding the "#".
6089 print prefix
"define", macro P
[macro
] D
[macro
]
6092 # Replace #undef with comments. This is necessary, for example,
6093 # in the case of _POSIX_SOURCE, which is predefined and required
6094 # on some systems where configure will not decide to define it.
6095 if (defundef
== "undef") {
6096 print
"/*", prefix defundef
, macro
, "*/"
6104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6105 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6106 fi # test -n "$CONFIG_HEADERS"
6109 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6114 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6116 case $ac_mode$ac_tag in
6118 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6119 :[FH
]-) ac_tag
=-:-;;
6120 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6137 -) ac_f
="$ac_tmp/stdin";;
6138 *) # Look for the file first in the build tree, then in the source tree
6139 # (if the path is not absolute). The absolute path cannot be DOS-style,
6140 # because $ac_f cannot contain `:'.
6144 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6146 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6148 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6149 as_fn_append ac_file_inputs
" '$ac_f'"
6152 # Let's still pretend it is `configure' which instantiates (i.e., don't
6153 # use $as_me), people would be surprised to read:
6154 # /* config.h. Generated by config.status. */
6155 configure_input
='Generated from '`
6156 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6158 if test x
"$ac_file" != x-
; then
6159 configure_input
="$ac_file. $configure_input"
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6161 $as_echo "$as_me: creating $ac_file" >&6;}
6163 # Neutralize special characters interpreted by sed in replacement strings.
6164 case $configure_input in #(
6165 *\
&* |
*\|
* |
*\\* )
6166 ac_sed_conf_input
=`$as_echo "$configure_input" |
6167 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6168 *) ac_sed_conf_input
=$configure_input;;
6172 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6173 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6178 ac_dir
=`$as_dirname -- "$ac_file" ||
6179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6180 X"$ac_file" : 'X\(//\)[^/]' \| \
6181 X"$ac_file" : 'X\(//\)$' \| \
6182 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6183 $as_echo X"$ac_file" |
6184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6201 as_dir
="$ac_dir"; as_fn_mkdir_p
6205 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6207 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6208 # A ".." for each directory in $ac_dir_suffix.
6209 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6210 case $ac_top_builddir_sub in
6211 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6212 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6215 ac_abs_top_builddir
=$ac_pwd
6216 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6217 # for backward compatibility:
6218 ac_top_builddir
=$ac_top_build_prefix
6221 .
) # We are building in place.
6223 ac_top_srcdir
=$ac_top_builddir_sub
6224 ac_abs_top_srcdir
=$ac_pwd ;;
6225 [\\/]* | ?
:[\\/]* ) # Absolute name.
6226 ac_srcdir
=$srcdir$ac_dir_suffix;
6227 ac_top_srcdir
=$srcdir
6228 ac_abs_top_srcdir
=$srcdir ;;
6230 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6231 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6232 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6234 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6246 # If the template does not know about datarootdir, expand it.
6247 # FIXME: This hack should be removed a few years after 2.60.
6248 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6259 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6260 *datarootdir
*) ac_datarootdir_seen
=yes;;
6261 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6263 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6266 ac_datarootdir_hack='
6267 s&@datadir@&$datadir&g
6268 s&@docdir@&$docdir&g
6269 s&@infodir@&$infodir&g
6270 s&@localedir@&$localedir&g
6271 s&@mandir@&$mandir&g
6272 s&\\\${datarootdir}&$datarootdir&g' ;;
6276 # Neutralize VPATH when `$srcdir' = `.'.
6277 # Shell code in configure.ac might set extrasub.
6278 # FIXME: do we really want to maintain this feature?
6279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6280 ac_sed_extra="$ac_vpsub
6283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6285 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6286 s|@configure_input@|
$ac_sed_conf_input|
;t t
6287 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6288 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6289 s
&@srcdir@
&$ac_srcdir&;t t
6290 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6291 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6292 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6293 s
&@builddir@
&$ac_builddir&;t t
6294 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6295 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6296 $ac_datarootdir_hack
6298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6299 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6302 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6304 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6306 which seems to be undefined. Please make sure it is defined" >&5
6307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6308 which seems to be undefined. Please make sure it is defined" >&2;}
6310 rm -f "$ac_tmp/stdin"
6312 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6313 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6321 if test x"$ac_file" != x-; then
6323 $as_echo "/* $configure_input */" \
6324 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6325 } >"$ac_tmp/config.h" \
6326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6327 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6332 mv "$ac_tmp/config.h" "$ac_file" \
6333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6336 $as_echo "/* $configure_input */" \
6337 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6338 || as_fn_error $? "could not create -" "$LINENO" 5
6342 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6343 $as_echo "$as_me: executing $ac_file commands" >&6;}
6348 case $ac_file$ac_mode in
6350 if test "$GCC" = yes; then
6351 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6353 echo "/* generated for $CC */" > tmp-stdint.h
6356 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6358 #ifndef GCC_GENERATED_STDINT_H
6359 #define GCC_GENERATED_STDINT_H 1
6361 #include <sys/types.h>
6364 if test "$acx_cv_header_stdint" != stdint.h; then
6365 echo "#include <stddef.h>" >> tmp-stdint.h
6367 if test "$acx_cv_header_stdint" != stddef.h; then
6368 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6371 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6372 /* glibc uses these symbols as guards to prevent redefinitions. */
6373 #ifdef __int8_t_defined
6378 #ifdef __uint32_t_defined
6384 # ----------------- done header, emit basic int types -------------
6385 if test "$acx_cv_header_stdint" = stddef.h; then
6386 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6390 #ifndef __uint8_t_defined
6391 #define __uint8_t_defined
6393 typedef unsigned $acx_cv_type_int8_t uint8_t;
6400 #ifndef __uint16_t_defined
6401 #define __uint16_t_defined
6403 typedef unsigned $acx_cv_type_int16_t uint16_t;
6410 #ifndef __uint32_t_defined
6411 #define __uint32_t_defined
6413 typedef unsigned $acx_cv_type_int32_t uint32_t;
6420 #ifndef __int8_t_defined
6421 #define __int8_t_defined
6423 typedef $acx_cv_type_int8_t int8_t;
6430 #ifndef __int16_t_defined
6431 #define __int16_t_defined
6433 typedef $acx_cv_type_int16_t int16_t;
6440 #ifndef __int32_t_defined
6441 #define __int32_t_defined
6443 typedef $acx_cv_type_int32_t int32_t;
6448 elif test "$ac_cv_type_u_int32_t" = yes; then
6449 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6451 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6464 #ifndef __uint8_t_defined
6465 #define __uint8_t_defined
6467 typedef u_int8_t uint8_t;
6474 #ifndef __uint16_t_defined
6475 #define __uint16_t_defined
6477 typedef u_int16_t uint16_t;
6484 #ifndef __uint32_t_defined
6485 #define __uint32_t_defined
6487 typedef u_int32_t uint32_t;
6493 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6495 /* Some systems have guard macros to prevent redefinitions, define them. */
6517 # ------------- done basic int types, emit int64_t types ------------
6518 if test "$ac_cv_type_uint64_t" = yes; then
6519 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6521 /* system headers have good uint64_t and int64_t */
6529 elif test "$ac_cv_type_u_int64_t" = yes; then
6530 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6532 /* system headers have an u_int64_t (and int64_t) */
6538 #ifndef __uint64_t_defined
6539 #define __uint64_t_defined
6541 typedef u_int64_t uint64_t;
6546 elif test -n "$acx_cv_type_int64_t"; then
6547 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6549 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6553 typedef $acx_cv_type_int64_t int64_t;
6558 #ifndef __uint64_t_defined
6559 #define __uint64_t_defined
6561 typedef unsigned $acx_cv_type_int64_t uint64_t;
6567 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6569 /* some common heuristics for int64_t, using compiler-specific tests */
6570 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6573 #ifndef __int64_t_defined
6575 typedef long long int64_t;
6582 typedef unsigned long long uint64_t;
6586 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6587 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6588 does not implement __extension__. But that compiler doesn't define
6590 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6591 # define __extension__
6597 __extension__ typedef long long int64_t
;
6603 __extension__ typedef unsigned long long uint64_t
;
6607 #elif !defined __STRICT_ANSI__
6608 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6613 typedef __int64 int64_t
;
6619 typedef unsigned __int64 uint64_t
;
6622 # endif /* compiler */
6624 #endif /* ANSI version */
6628 # ------------- done int64_t types, emit intptr types ------------
6629 if test "$ac_cv_type_uintptr_t" != yes; then
6630 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6632 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6633 #ifndef __uintptr_t_defined
6635 typedef u$acx_cv_type_intptr_t uintptr_t;
6638 #ifndef __intptr_t_defined
6640 typedef $acx_cv_type_intptr_t intptr_t;
6646 # ------------- done intptr types, emit int_least types ------------
6647 if test "$ac_cv_type_int_least32_t" != yes; then
6648 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6650 /* Define int_least types */
6651 typedef int8_t int_least8_t;
6652 typedef int16_t int_least16_t;
6653 typedef int32_t int_least32_t;
6655 typedef int64_t int_least64_t;
6658 typedef uint8_t uint_least8_t;
6659 typedef uint16_t uint_least16_t;
6660 typedef uint32_t uint_least32_t;
6662 typedef uint64_t uint_least64_t;
6667 # ------------- done intptr types, emit int_fast types ------------
6668 if test "$ac_cv_type_int_fast32_t" != yes; then
6669 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6671 /* Define int_fast types. short is often slow */
6672 typedef int8_t int_fast8_t;
6673 typedef int int_fast16_t;
6674 typedef int32_t int_fast32_t;
6676 typedef int64_t int_fast64_t;
6679 typedef uint8_t uint_fast8_t;
6680 typedef unsigned int uint_fast16_t;
6681 typedef uint32_t uint_fast32_t;
6683 typedef uint64_t uint_fast64_t;
6688 if test "$ac_cv_type_uintmax_t" != yes; then
6689 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6691 /* Define intmax based on what we found */
6694 typedef int64_t intmax_t;
6696 typedef long intmax_t;
6701 typedef uint64_t uintmax_t;
6703 typedef unsigned long uintmax_t;
6709 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6711 #endif /* GCC_GENERATED_STDINT_H */
6714 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6717 mv -f tmp-stdint.h gstdint.h
6721 "config.h":H
) echo timestamp
> stamp-h1
;;
6729 ac_clean_files
=$ac_clean_files_save
6731 test $ac_write_fail = 0 ||
6732 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6735 # configure is writing to config.log, and then calls config.status.
6736 # config.status does its own redirection, appending to config.log.
6737 # Unfortunately, on DOS this fails, as config.log is still kept open
6738 # by configure, so config.status won't be able to write to it; its
6739 # output is simply discarded. So we exec the FD to /dev/null,
6740 # effectively closing config.log, so it can be properly (re)opened and
6741 # appended to by config.status. When coming back to configure, we
6742 # need to make the FD available again.
6743 if test "$no_create" != yes; then
6745 ac_config_status_args
=
6746 test "$silent" = yes &&
6747 ac_config_status_args
="$ac_config_status_args --quiet"
6749 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6751 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6752 # would make configure fail if this is the last instruction.
6753 $ac_cs_success || as_fn_exit
1
6755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}