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
689 program_transform_name
702 enable_option_checking
704 enable_maintainer_mode
708 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 ac_unrecognized_opts
=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name
=s
,x
,x
,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir
='${exec_prefix}/bin'
748 sbindir
='${exec_prefix}/sbin'
749 libexecdir
='${exec_prefix}/libexec'
750 datarootdir
='${prefix}/share'
751 datadir
='${datarootdir}'
752 sysconfdir
='${prefix}/etc'
753 sharedstatedir
='${prefix}/com'
754 localstatedir
='${prefix}/var'
755 includedir
='${prefix}/include'
756 oldincludedir
='/usr/include'
757 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir
='${datarootdir}/info'
763 libdir
='${exec_prefix}/lib'
764 localedir
='${datarootdir}/locale'
765 mandir
='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\
$ac_option
779 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
792 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
795 -build |
--build |
--buil |
--bui |
--bu)
796 ac_prev
=build_alias
;;
797 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
798 build_alias
=$ac_optarg ;;
800 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
801 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
802 ac_prev
=cache_file
;;
803 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
804 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
805 cache_file
=$ac_optarg ;;
808 cache_file
=config.cache
;;
810 -datadir |
--datadir |
--datadi |
--datad)
812 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
813 datadir
=$ac_optarg ;;
815 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
816 |
--dataroo |
--dataro |
--datar)
817 ac_prev
=datarootdir
;;
818 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
819 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
820 datarootdir
=$ac_optarg ;;
822 -disable-* |
--disable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error $?
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=no
;;
838 -docdir |
--docdir |
--docdi |
--doc |
--do)
840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
848 -enable-* |
--enable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid package name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval with_
$ac_useropt=\
$ac_optarg ;;
1068 -without-* |
--without-*)
1069 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error $?
"invalid package name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval with_
$ac_useropt=no
;;
1085 # Obsolete; use --with-x.
1088 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1089 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1090 ac_prev
=x_includes
;;
1091 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1092 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1093 x_includes
=$ac_optarg ;;
1095 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1096 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1097 ac_prev
=x_libraries
;;
1098 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1099 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1100 x_libraries
=$ac_optarg ;;
1102 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1111 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\
$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1127 if test -n "$ac_prev"; then
1128 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $?
"missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val
=\$
$ac_var
1147 # Remove trailing slashes.
1150 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\
$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$
]* | ?
:[\\/]* ) continue;;
1156 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1158 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target
=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x
; then
1170 if test "x$build_alias" = x
; then
1171 cross_compiling
=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1178 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1180 test "$silent" = yes && exec 6>/dev
/null
1183 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di
=`ls -di .` &&
1185 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $?
"working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $?
"pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted
=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir
=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1223 ac_srcdir_defaulted
=no
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1227 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1229 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var
in $ac_precious_vars; do
1244 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1246 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures libdecnumber to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1315 --build=BUILD configure
for building on BUILD
[guessed
]
1316 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1317 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1321 if test -n "$ac_init_help"; then
1322 case $ac_init_help in
1323 short | recursive
) echo "Configuration of libdecnumber :";;
1328 --disable-option-checking ignore unrecognized
--enable/--with options
1329 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1330 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1331 --enable-werror-always enable -Werror despite compiler version
1332 --enable-maintainer-mode enable rules only needed by maintainers
1333 --enable-decimal-float={no
,yes,bid
,dpd
}
1334 enable decimal float extension to C. Selecting
'bid'
1335 or
'dpd' choses
which decimal floating point format
1337 --enable-host-shared build
host code as shared libraries
1339 Some influential environment variables
:
1340 CC C compiler
command
1341 CFLAGS C compiler flags
1342 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1343 nonstandard directory
<lib dir
>
1344 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1345 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1346 you have headers
in a nonstandard directory
<include dir
>
1349 Use these variables to override the choices made by
`configure' or to help
1350 it to find libraries and programs with nonstandard names/locations.
1352 Report bugs to <gcc-bugs@gcc.gnu.org>.
1357 if test "$ac_init_help" = "recursive"; then
1358 # If there are subdirs, report their specific --help.
1359 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1360 test -d "$ac_dir" ||
1361 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1369 # A ".." for each directory in $ac_dir_suffix.
1370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1371 case $ac_top_builddir_sub in
1372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376 ac_abs_top_builddir=$ac_pwd
1377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1378 # for backward compatibility:
1379 ac_top_builddir=$ac_top_build_prefix
1382 .) # We are building in place.
1384 ac_top_srcdir=$ac_top_builddir_sub
1385 ac_abs_top_srcdir=$ac_pwd ;;
1386 [\\/]* | ?:[\\/]* ) # Absolute name.
1387 ac_srcdir=$srcdir$ac_dir_suffix;
1388 ac_top_srcdir=$srcdir
1389 ac_abs_top_srcdir=$srcdir ;;
1391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1392 ac_top_srcdir=$ac_top_build_prefix$srcdir
1393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1397 cd "$ac_dir" || { ac_status=$?; continue; }
1398 # Check for guested configure.
1399 if test -f "$ac_srcdir/configure.gnu"; then
1401 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1402 elif test -f "$ac_srcdir/configure"; then
1404 $SHELL "$ac_srcdir/configure" --help=recursive
1406 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1408 cd "$ac_pwd" || { ac_status=$?; break; }
1412 test -n "$ac_init_help" && exit $ac_status
1413 if $ac_init_version; then
1415 libdecnumber configure
1416 generated by GNU Autoconf 2.69
1418 Copyright (C) 2012 Free Software Foundation, Inc.
1419 This configure script is free software; the Free Software Foundation
1420 gives unlimited permission to copy, distribute and modify it.
1425 ## ------------------------ ##
1426 ## Autoconf initialization. ##
1427 ## ------------------------ ##
1429 # ac_fn_c_try_compile LINENO
1430 # --------------------------
1431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1432 ac_fn_c_try_compile ()
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 rm -f conftest.$ac_objext
1436 if { { ac_try="$ac_compile"
1438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1439 *) ac_try_echo
=$ac_try;;
1441 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1442 $as_echo "$ac_try_echo"; } >&5
1443 (eval "$ac_compile") 2>conftest.err
1445 if test -s conftest.err
; then
1446 grep -v '^ *+' conftest.err
>conftest.er1
1447 cat conftest.er1
>&5
1448 mv -f conftest.er1 conftest.err
1450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451 test $ac_status = 0; } && {
1452 test -z "$ac_c_werror_flag" ||
1453 test ! -s conftest.err
1454 } && test -s conftest.
$ac_objext; then :
1457 $as_echo "$as_me: failed program was:" >&5
1458 sed 's/^/| /' conftest.
$ac_ext >&5
1462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1463 as_fn_set_status
$ac_retval
1465 } # ac_fn_c_try_compile
1467 # ac_fn_c_try_cpp LINENO
1468 # ----------------------
1469 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1472 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1473 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } > conftest.i && {
1489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1504 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1505 # -------------------------------------------------------
1506 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1507 # the include files in INCLUDES and setting the cache variable VAR
1509 ac_fn_c_check_header_mongrel ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 if eval \${$3+:} false; then :
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514 $as_echo_n "checking for $2... " >&6; }
1515 if eval \${$3+:} false; then :
1516 $as_echo_n "(cached) " >&6
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1520 $as_echo "$ac_res" >&6; }
1522 # Is the header compilable?
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1524 $as_echo_n "checking $2 usability... " >&6; }
1525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526 /* end confdefs.h. */
1530 if ac_fn_c_try_compile "$LINENO"; then :
1531 ac_header_compiler=yes
1533 ac_header_compiler=no
1535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1537 $as_echo "$ac_header_compiler" >&6; }
1539 # Is the header present?
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1541 $as_echo_n "checking $2 presence... " >&6; }
1542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543 /* end confdefs.h. */
1546 if ac_fn_c_try_cpp "$LINENO"; then :
1547 ac_header_preproc=yes
1549 ac_header_preproc=no
1551 rm -f conftest.err conftest.i conftest.$ac_ext
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1553 $as_echo "$ac_header_preproc" >&6; }
1555 # So? What about this header?
1556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1559 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1561 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1565 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1567 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1569 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1571 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1573 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574 ( $as_echo "## ----------------------------------- ##
1575 ## Report this to gcc-bugs@gcc.gnu.org ##
1576 ## ----------------------------------- ##"
1577 ) | sed "s/^/$as_me: WARNING: /" >&2
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581 $as_echo_n "checking for $2... " >&6; }
1582 if eval \${$3+:} false; then :
1583 $as_echo_n "(cached) " >&6
1585 eval "$3=\$ac_header_compiler"
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 } # ac_fn_c_check_header_mongrel
1595 # ac_fn_c_try_run LINENO
1596 # ----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1598 # that executables *can* be run.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_link"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>&5
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1613 { { case "(($ac_try" in
1614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_try") 2>&5
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; }; }; then :
1625 $as_echo "$as_me: program exited with status $ac_status" >&5
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1629 ac_retval=$ac_status
1631 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 as_fn_set_status $ac_retval
1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638 # -------------------------------------------------------
1639 # Tests whether HEADER exists and can be compiled using the include files in
1640 # INCLUDES, setting the cache variable VAR accordingly.
1641 ac_fn_c_check_header_compile ()
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if eval \${$3+:} false; then :
1647 $as_echo_n "(cached) " >&6
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1654 if ac_fn_c_try_compile "$LINENO"; then :
1659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 } # ac_fn_c_check_header_compile
1668 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1669 # -------------------------------------------
1670 # Tests whether TYPE exists after having included INCLUDES, setting cache
1671 # variable VAR accordingly.
1672 ac_fn_c_check_type ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1706 if ac_fn_c_try_compile "$LINENO"; then :
1711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 } # ac_fn_c_check_type
1722 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1723 # --------------------------------------------
1724 # Tries to find the compile-time value of EXPR in a program that includes
1725 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1727 ac_fn_c_compute_int ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 if test "$cross_compiling" = yes; then
1731 # Depending upon the size, compute the lo and hi bounds.
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1738 static int test_array [1 - 2 * !(($2) >= 0)];
1740 return test_array [0];
1746 if ac_fn_c_try_compile "$LINENO"; then :
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1755 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1757 return test_array [0];
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764 ac_hi=$ac_mid; break
1766 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1767 if test $ac_lo -le $ac_mid; then
1771 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1782 static int test_array [1 - 2 * !(($2) < 0)];
1784 return test_array [0];
1790 if ac_fn_c_try_compile "$LINENO"; then :
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1799 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1801 return test_array [0];
1807 if ac_fn_c_try_compile "$LINENO"; then :
1808 ac_lo=$ac_mid; break
1810 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1811 if test $ac_mid -le $ac_hi; then
1815 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 # Binary search between lo and hi bounds.
1826 while test "x$ac_lo" != "x$ac_hi"; do
1827 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1834 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1836 return test_array [0];
1842 if ac_fn_c_try_compile "$LINENO"; then :
1845 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1857 static long int longval () { return $2; }
1858 static unsigned long int ulongval () { return $2; }
1865 FILE *f = fopen ("conftest.val", "w");
1870 long int i = longval ();
1873 fprintf (f, "%ld", i);
1877 unsigned long int i = ulongval ();
1880 fprintf (f, "%lu", i);
1882 /* Do not output a trailing newline, as this causes \r\n confusion
1883 on some platforms. */
1884 return ferror (f) || fclose (f) != 0;
1890 if ac_fn_c_try_run "$LINENO"; then :
1891 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1896 conftest.$ac_objext conftest.beam conftest.$ac_ext
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 as_fn_set_status $ac_retval
1903 } # ac_fn_c_compute_int
1904 cat >config.log <<_ACEOF
1905 This file contains any messages produced by compilers while
1906 running configure, to aid debugging if configure makes a mistake.
1908 It was created by libdecnumber $as_me , which was
1909 generated by GNU Autoconf 2.69. Invocation command line was
1921 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1922 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1923 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1924 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1925 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1927 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1928 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1930 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1931 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1932 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1933 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1934 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1935 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1936 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 $as_echo "PATH: $as_dir"
1961 # Keep a trace of the command line.
1962 # Strip out --no-create and --no-recursion so they do not pile up.
1963 # Strip out --silent because we don't want to record it for future runs.
1964 # Also quote any args containing shell meta-characters.
1965 # Make two passes to allow for proper duplicate-argument suppression.
1969 ac_must_keep_next=false
1975 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1977 | -silent | --silent | --silen | --sile | --sil)
1980 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1983 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1985 as_fn_append ac_configure_args1 " '$ac_arg'"
1986 if test $ac_must_keep_next = true; then
1987 ac_must_keep_next=false # Got value, back to normal.
1990 *=* | --config-cache | -C | -disable-* | --disable-* \
1991 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1992 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1993 | -with-* | --with-* | -without-* | --without-* | --x)
1994 case "$ac_configure_args0 " in
1995 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1998 -* ) ac_must_keep_next=true ;;
2001 as_fn_append ac_configure_args " '$ac_arg'"
2006 { ac_configure_args0=; unset ac_configure_args0;}
2007 { ac_configure_args1=; unset ac_configure_args1;}
2009 # When interrupted or exit'd, cleanup temporary files, and complete
2010 # config.log. We remove comments because anyway the quotes in there
2011 # would cause problems or look ugly.
2012 # WARNING: Use '\'' to represent an apostrophe within the trap.
2013 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2014 trap 'exit_status=$?
2015 # Save into config.log some information that might help in debugging.
2019 $as_echo "## ---------------- ##
2020 ## Cache variables. ##
2021 ## ---------------- ##"
2023 # The following way of writing the cache mishandles newlines in values,
2025 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2026 eval ac_val=\$$ac_var
2030 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2034 _ | IFS | as_nl) ;; #(
2035 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2036 *) { eval $ac_var=; unset $ac_var;} ;;
2041 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2042 *${as_nl}ac_space=\ *)
2044 "s/'\''/'\''\\\\'\'''\''/g;
2045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2055 $as_echo "## ----------------- ##
2056 ## Output variables. ##
2057 ## ----------------- ##"
2059 for ac_var in $ac_subst_vars
2061 eval ac_val=\$$ac_var
2063 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2065 $as_echo "$ac_var='\''$ac_val'\''"
2069 if test -n "$ac_subst_files"; then
2070 $as_echo "## ------------------- ##
2071 ## File substitutions. ##
2072 ## ------------------- ##"
2074 for ac_var in $ac_subst_files
2076 eval ac_val=\$$ac_var
2078 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080 $as_echo "$ac_var='\''$ac_val'\''"
2085 if test -s confdefs.h; then
2086 $as_echo "## ----------- ##
2093 test "$ac_signal" != 0 &&
2094 $as_echo "$as_me: caught signal $ac_signal"
2095 $as_echo "$as_me: exit $exit_status"
2097 rm -f core *.core core.conftest.* &&
2098 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2101 for ac_signal in 1 2 13 15; do
2102 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2106 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2107 rm -f -r conftest* confdefs.h
2109 $as_echo "/* confdefs.h */" > confdefs.h
2111 # Predefined preprocessor variables.
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_NAME "$PACKAGE_NAME"
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_STRING "$PACKAGE_STRING"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_URL "$PACKAGE_URL"
2138 # Let the site file select an alternate cache file if it wants to.
2139 # Prefer an explicitly selected file to automatically selected ones.
2142 if test -n "$CONFIG_SITE"; then
2143 # We do not want a PATH search for config.site.
2144 case $CONFIG_SITE in #((
2145 -*) ac_site_file1=./$CONFIG_SITE;;
2146 */*) ac_site_file1=$CONFIG_SITE;;
2147 *) ac_site_file1=./$CONFIG_SITE;;
2149 elif test "x$prefix" != xNONE; then
2150 ac_site_file1=$prefix/share/config.site
2151 ac_site_file2=$prefix/etc/config.site
2153 ac_site_file1=$ac_default_prefix/share/config.site
2154 ac_site_file2=$ac_default_prefix/etc/config.site
2156 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2158 test "x$ac_site_file" = xNONE && continue
2159 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2161 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2162 sed 's/^/| /' "$ac_site_file" >&5
2164 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2166 as_fn_error $? "failed to load site
script $ac_site_file
2167 See \
`config.log' for more details" "$LINENO" 5; }
2171 if test -r "$cache_file"; then
2172 # Some versions of bash will fail to source /dev/null (special files
2173 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2174 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2176 $as_echo "$as_me: loading cache $cache_file" >&6;}
2178 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2179 *) . "./$cache_file";;
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2184 $as_echo "$as_me: creating cache $cache_file" >&6;}
2188 # Check that the precious variables saved in the cache have kept the same
2190 ac_cache_corrupted=false
2191 for ac_var in $ac_precious_vars; do
2192 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2193 eval ac_new_set=\$ac_env_${ac_var}_set
2194 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2195 eval ac_new_val=\$ac_env_${ac_var}_value
2196 case $ac_old_set,$ac_new_set in
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2199 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2200 ac_cache_corrupted=: ;;
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2203 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2207 if test "x$ac_old_val" != "x$ac_new_val"; then
2208 # differences in whitespace do not lead to failure.
2209 ac_old_val_w=`echo x
$ac_old_val`
2210 ac_new_val_w=`echo x
$ac_new_val`
2211 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2213 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2214 ac_cache_corrupted=:
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2217 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2218 eval $ac_var=\$ac_old_val
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2221 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2223 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2226 # Pass precious variables to config.status.
2227 if test "$ac_new_set" = set; then
2229 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2230 *) ac_arg=$ac_var=$ac_new_val ;;
2232 case " $ac_configure_args " in
2233 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2234 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2238 if $ac_cache_corrupted; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2242 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2243 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2245 ## -------------------- ##
2246 ## Main body of script. ##
2247 ## -------------------- ##
2250 ac_cpp='$CPP $CPPFLAGS'
2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259 for ac_dir in .. "$srcdir"/..; do
2260 if test -f "$ac_dir/install-sh"; then
2262 ac_install_sh="$ac_aux_dir/install-sh -c"
2264 elif test -f "$ac_dir/install.sh"; then
2266 ac_install_sh="$ac_aux_dir/install.sh -c"
2268 elif test -f "$ac_dir/shtool"; then
2270 ac_install_sh="$ac_aux_dir/shtool install -c"
2274 if test -z "$ac_aux_dir"; then
2275 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2278 # These three variables are undocumented and unsupported,
2279 # and are intended to be withdrawn in a future Autoconf release.
2280 # They can cause serious problems if a builder's source tree is in a directory
2281 # whose full name contains unusual characters.
2282 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2283 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2284 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2288 # Checks for programs.
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2290 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2292 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2293 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2294 $as_echo_n "(cached) " >&6
2296 cat >conftest.make <<\_ACEOF
2299 @echo '@@@%%%=$(MAKE)=@@@%%%'
2301 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2302 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2304 eval ac_cv_prog_make_${ac_make}_set=yes;;
2306 eval ac_cv_prog_make_${ac_make}_set=no;;
2310 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2312 $as_echo "yes" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2317 SET_MAKE="MAKE=${MAKE-make}"
2321 ac_cpp='$CPP $CPPFLAGS'
2322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2327 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2329 $as_echo_n "checking for $ac_word... " >&6; }
2330 if ${ac_cv_prog_CC+:} false; then :
2331 $as_echo_n "(cached) " >&6
2333 if test -n "$CC"; then
2334 ac_cv_prog_CC="$CC" # Let the user override the test.
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2343 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 if test -n "$CC"; then
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2356 $as_echo "$CC" >&6; }
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359 $as_echo "no" >&6; }
2364 if test -z "$ac_cv_prog_CC"; then
2366 # Extract the first word of "gcc", so it can be a program name with args.
2367 set dummy gcc; ac_word=$2
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2369 $as_echo_n "checking for $ac_word... " >&6; }
2370 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2371 $as_echo_n "(cached) " >&6
2373 if test -n "$ac_ct_CC"; then
2374 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2383 ac_cv_prog_ac_ct_CC="gcc"
2384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2394 if test -n "$ac_ct_CC"; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2396 $as_echo "$ac_ct_CC" >&6; }
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2399 $as_echo "no" >&6; }
2402 if test "x$ac_ct_CC" = x; then
2405 case $cross_compiling:$ac_tool_warned in
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2409 ac_tool_warned=yes ;;
2417 if test -z "$CC"; then
2418 if test -n "$ac_tool_prefix"; then
2419 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2420 set dummy ${ac_tool_prefix}cc; ac_word=$2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if ${ac_cv_prog_CC+:} false; then :
2424 $as_echo_n "(cached) " >&6
2426 if test -n "$CC"; then
2427 ac_cv_prog_CC="$CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436 ac_cv_prog_CC="${ac_tool_prefix}cc"
2437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test -n "$CC"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2449 $as_echo "$CC" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452 $as_echo "no" >&6; }
2458 if test -z "$CC"; then
2459 # Extract the first word of "cc", so it can be a program name with args.
2460 set dummy cc; ac_word=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_CC+:} false; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2478 ac_prog_rejected=yes
2482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test $ac_prog_rejected = yes; then
2490 # We found a bogon in the path, so make sure we never use it.
2491 set dummy $ac_cv_prog_CC
2493 if test $# != 0; then
2494 # We chose a different compiler from the bogus one.
2495 # However, it has the same basename, so the bogon will be chosen
2496 # first if we set CC to just the basename; use the full file name.
2498 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2504 if test -n "$CC"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2506 $as_echo "$CC" >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2514 if test -z "$CC"; then
2515 if test -n "$ac_tool_prefix"; then
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 $as_echo_n "checking for $ac_word... " >&6; }
2522 if ${ac_cv_prog_CC+:} false; then :
2523 $as_echo_n "(cached) " >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2548 $as_echo "$CC" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2555 test -n "$CC" && break
2558 if test -z "$CC"; then
2560 for ac_prog in cl.exe
2562 # Extract the first word of "$ac_prog", so it can be a program name with args.
2563 set dummy $ac_prog; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_ac_ct_CC="$ac_prog"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2592 $as_echo "$ac_ct_CC" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2599 test -n "$ac_ct_CC" && break
2602 if test "x$ac_ct_CC" = x; then
2605 case $cross_compiling:$ac_tool_warned in
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2609 ac_tool_warned=yes ;;
2618 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2620 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2621 See \
`config.log' for more details" "$LINENO" 5; }
2623 # Provide some information about the compiler.
2624 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2627 for ac_option in --version -v -V -qversion; do
2628 { { ac_try="$ac_compiler $ac_option >&5"
2630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2631 *) ac_try_echo
=$ac_try;;
2633 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2634 $as_echo "$ac_try_echo"; } >&5
2635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2637 if test -s conftest.err
; then
2639 ... rest of stderr output deleted ...
2640 10q' conftest.err
>conftest.er1
2641 cat conftest.er1
>&5
2643 rm -f conftest.er1 conftest.err
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; }
2648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2649 /* end confdefs.h. */
2659 ac_clean_files_save
=$ac_clean_files
2660 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2661 # Try to create an executable without -o first, disregard a.out.
2662 # It will help us diagnose broken compilers, and finding out an intuition
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2665 $as_echo_n "checking whether the C compiler works... " >&6; }
2666 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2668 # The possible output files:
2669 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2672 for ac_file
in $ac_files
2675 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2676 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2681 if { { ac_try
="$ac_link_default"
2683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_link_default") 2>&5
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; }; then :
2692 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2693 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2694 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2695 # so that the user can short-circuit this test for compilers unknown to
2697 for ac_file in $ac_files ''
2699 test -f "$ac_file" || continue
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2704 # We found the default executable, but exeext='' is most
2708 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2710 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2712 # We set ac_cv_exeext here because the later test for it is not
2713 # safe: cross compilers may not add the suffix if given an `-o'
2714 # argument, so we may need to know it at that point already.
2715 # Even if this section looks crufty: it has the advantage of
2722 test "$ac_cv_exeext" = no && ac_cv_exeext=
2727 if test -z "$ac_file"; then :
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's
/^
/|
/' conftest.$ac_ext >&5
2733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2735 as_fn_error 77 "C compiler cannot create executables
2736 See \`config.log
' for more details" "$LINENO" 5; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2739 $as_echo "yes" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2742 $as_echo_n "checking for C compiler default output file name... " >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2744 $as_echo "$ac_file" >&6; }
2745 ac_exeext=$ac_cv_exeext
2747 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2748 ac_clean_files=$ac_clean_files_save
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2750 $as_echo_n "checking for suffix of executables... " >&6; }
2751 if { { ac_try="$ac_link"
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_link") 2>&5
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; }; then :
2762 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2763 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2764 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2766 for ac_file
in conftest.exe conftest conftest.
*; do
2767 test -f "$ac_file" ||
continue
2769 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2770 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2778 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details" "$LINENO" 5; }
2781 rm -f conftest conftest
$ac_cv_exeext
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2783 $as_echo "$ac_cv_exeext" >&6; }
2785 rm -f conftest.
$ac_ext
2786 EXEEXT
=$ac_cv_exeext
2788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2794 FILE *f = fopen ("conftest.out", "w");
2795 return ferror (f) || fclose (f) != 0;
2801 ac_clean_files
="$ac_clean_files conftest.out"
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2805 $as_echo_n "checking whether we are cross compiling... " >&6; }
2806 if test "$cross_compiling" != yes; then
2807 { { ac_try
="$ac_link"
2809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 $as_echo "$ac_try_echo"; } >&5
2814 (eval "$ac_link") 2>&5
2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; }
2818 if { ac_try='./conftest$ac_cv_exeext'
2819 { { case "(($ac_try" in
2820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2821 *) ac_try_echo
=$ac_try;;
2823 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_try") 2>&5
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; }; }; then
2831 if test "$cross_compiling" = maybe
; then
2834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836 as_fn_error $?
"cannot run C compiled programs.
2837 If you meant to cross compile, use \`--host'.
2838 See \`config.log' for more details" "$LINENO" 5; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2843 $as_echo "$cross_compiling" >&6; }
2845 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2846 ac_clean_files
=$ac_clean_files_save
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2848 $as_echo_n "checking for suffix of object files... " >&6; }
2849 if ${ac_cv_objext+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2863 rm -f conftest.o conftest.obj
2864 if { { ac_try
="$ac_compile"
2866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_compile") 2>&5
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; }; then :
2875 for ac_file in conftest.o conftest.obj conftest.*; do
2876 test -f "$ac_file" || continue;
2878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2879 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2884 $as_echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2889 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2890 See \
`config.log' for more details" "$LINENO" 5; }
2892 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2895 $as_echo "$ac_cv_objext" >&6; }
2896 OBJEXT=$ac_cv_objext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2899 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2900 if ${ac_cv_c_compiler_gnu+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2917 if ac_fn_c_try_compile "$LINENO"; then :
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2927 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2928 if test $ac_compiler_gnu = yes; then
2933 ac_test_CFLAGS=${CFLAGS+set}
2934 ac_save_CFLAGS=$CFLAGS
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2936 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2937 if ${ac_cv_prog_cc_g+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 ac_save_c_werror_flag=$ac_c_werror_flag
2941 ac_c_werror_flag=yes
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2955 if ac_fn_c_try_compile "$LINENO"; then :
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2970 if ac_fn_c_try_compile "$LINENO"; then :
2973 ac_c_werror_flag=$ac_save_c_werror_flag
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2986 if ac_fn_c_try_compile "$LINENO"; then :
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_c_werror_flag=$ac_save_c_werror_flag
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2997 $as_echo "$ac_cv_prog_cc_g" >&6; }
2998 if test "$ac_test_CFLAGS" = set; then
2999 CFLAGS=$ac_save_CFLAGS
3000 elif test $ac_cv_prog_cc_g = yes; then
3001 if test "$GCC" = yes; then
3007 if test "$GCC" = yes; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3014 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3015 if ${ac_cv_prog_cc_c89+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 ac_cv_prog_cc_c89=no
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3025 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3026 struct buf { int x; };
3027 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3028 static char *e (p, i)
3034 static char *f (char * (*g) (char **, int), char **p, ...)
3039 s = g (p, va_arg (v,int));
3044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3045 function prototypes and stuff, but not '\xHH' hex character constants.
3046 These don't provoke an error unfortunately, instead are silently treated
3047 as 'x'. The following induces an error, until -std is added to get
3048 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3049 array size at least. It's necessary to write '\x00'==0 to get something
3050 that's true only with -std. */
3051 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3053 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3054 inside strings and character constants. */
3056 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3058 int test (int i, double x);
3059 struct s1 {int (*f) (int a);};
3060 struct s2 {int (*f) (double a);};
3061 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3067 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3072 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3073 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3075 CC="$ac_save_CC $ac_arg"
3076 if ac_fn_c_try_compile "$LINENO"; then :
3077 ac_cv_prog_cc_c89=$ac_arg
3079 rm -f core conftest.err conftest.$ac_objext
3080 test "x$ac_cv_prog_cc_c89" != "xno" && break
3082 rm -f conftest.$ac_ext
3087 case "x$ac_cv_prog_cc_c89" in
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3090 $as_echo "none needed" >&6; } ;;
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3093 $as_echo "unsupported" >&6; } ;;
3095 CC="$CC $ac_cv_prog_cc_c89"
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3097 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3099 if test "x$ac_cv_prog_cc_c89" != xno; then :
3104 ac_cpp='$CPP $CPPFLAGS'
3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109 if test -n "$ac_tool_prefix"; then
3110 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_RANLIB+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$RANLIB"; then
3118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 RANLIB=$ac_cv_prog_RANLIB
3138 if test -n "$RANLIB"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3140 $as_echo "$RANLIB" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3148 if test -z "$ac_cv_prog_RANLIB"; then
3149 ac_ct_RANLIB=$RANLIB
3150 # Extract the first word of "ranlib", so it can be a program name with args.
3151 set dummy ranlib; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$ac_ct_RANLIB"; then
3158 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3167 ac_cv_prog_ac_ct_RANLIB="ranlib"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3178 if test -n "$ac_ct_RANLIB"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3180 $as_echo "$ac_ct_RANLIB" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3186 if test "x$ac_ct_RANLIB" = x; then
3189 case $cross_compiling:$ac_tool_warned in
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned=yes ;;
3195 RANLIB=$ac_ct_RANLIB
3198 RANLIB="$ac_cv_prog_RANLIB"
3202 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3203 for ac_prog in aclocal
3205 # Extract the first word of "$ac_prog", so it can be a program name with args.
3206 set dummy $ac_prog; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_ACLOCAL+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$ACLOCAL"; then
3213 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_ACLOCAL="$ac_prog"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 ACLOCAL=$ac_cv_prog_ACLOCAL
3233 if test -n "$ACLOCAL"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3235 $as_echo "$ACLOCAL" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3242 test -n "$ACLOCAL" && break
3244 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3246 for ac_prog in autoconf
3248 # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy $ac_prog; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_AUTOCONF+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$AUTOCONF"; then
3256 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_AUTOCONF="$ac_prog"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 AUTOCONF=$ac_cv_prog_AUTOCONF
3276 if test -n "$AUTOCONF"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3278 $as_echo "$AUTOCONF" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3285 test -n "$AUTOCONF" && break
3287 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3289 for ac_prog in autoheader
3291 # Extract the first word of "$ac_prog", so it can be a program name with args.
3292 set dummy $ac_prog; ac_word=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if ${ac_cv_prog_AUTOHEADER+:} false; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$AUTOHEADER"; then
3299 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308 ac_cv_prog_AUTOHEADER="$ac_prog"
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3319 if test -n "$AUTOHEADER"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3321 $as_echo "$AUTOHEADER" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3328 test -n "$AUTOHEADER" && break
3330 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3333 # Figure out what compiler warnings we can enable.
3334 # See config/warnings.m4 for details.
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344 save_CFLAGS="$CFLAGS"
3345 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3346 -Wmissing-prototypes -Wold-style-definition \
3347 -Wmissing-format-attribute -Wcast-qual; do
3348 # Do the check with the no- prefix removed since gcc silently
3349 # accepts any -Wno-* option on purpose
3350 case $real_option in
3351 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3352 *) option=$real_option ;;
3354 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3357 $as_echo_n "checking whether $CC supports $option... " >&6; }
3358 if eval \${$as_acx_Woption+:} false; then :
3359 $as_echo_n "(cached) " >&6
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 eval "$as_acx_Woption=yes"
3376 eval "$as_acx_Woption=no"
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 eval ac_res=\$$as_acx_Woption
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3383 $as_echo "$ac_res" >&6; }
3384 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3385 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3388 CFLAGS="$save_CFLAGS"
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403 # Do the check with the no- prefix removed from the warning options
3404 # since gcc silently accepts any -Wno-* option on purpose
3405 if test "$GCC" = yes; then :
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
3407 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
3408 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
3409 $as_echo_n "(cached) " >&6
3411 save_CFLAGS="$CFLAGS"
3412 CFLAGS="-pedantic -Wlong-long"
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 acx_cv_prog_cc_pedantic__Wlong_long=yes
3427 acx_cv_prog_cc_pedantic__Wlong_long=no
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 CFLAGS="$save_CFLAGS"
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3433 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3434 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3435 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 ac_cpp='$CPP $CPPFLAGS'
3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 save_CFLAGS="$CFLAGS"
3455 for real_option in -fno-lto; do
3456 # Do the check with the no- prefix removed since gcc silently
3457 # accepts any -Wno-* option on purpose
3458 case $real_option in
3459 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3460 *) option=$real_option ;;
3462 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3465 $as_echo_n "checking whether $CC supports $option... " >&6; }
3466 if eval \${$as_acx_Woption+:} false; then :
3467 $as_echo_n "(cached) " >&6
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3481 if ac_fn_c_try_compile "$LINENO"; then :
3482 eval "$as_acx_Woption=yes"
3484 eval "$as_acx_Woption=no"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 eval ac_res=\$$as_acx_Woption
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3491 $as_echo "$ac_res" >&6; }
3492 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3493 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3496 CFLAGS="$save_CFLAGS"
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3505 # Only enable with --enable-werror-always until existing warnings are
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 # Check whether --enable-werror-always was given.
3515 if test "${enable_werror_always+set}" = set; then :
3516 enableval=$enable_werror_always;
3518 enable_werror_always=no
3521 if test $enable_werror_always = yes; then :
3522 WERROR="$WERROR${WERROR:+ }-Werror"
3526 ac_cpp='$CPP $CPPFLAGS'
3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3533 # Checks for header files.
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3540 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3541 # On Suns, sometimes $CPP names a directory.
3542 if test -n "$CPP" && test -d "$CPP"; then
3545 if test -z "$CPP"; then
3546 if ${ac_cv_prog_CPP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3549 # Double quotes because CPP needs to be expanded
3550 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3553 for ac_c_preproc_warn_flag in '' yes
3555 # Use a header file that comes with gcc, so configuring glibc
3556 # with a fresh cross-compiler works.
3557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3558 # <limits.h> exists even on freestanding compilers.
3559 # On the NeXT, cc -E runs the code through the compiler's parser,
3560 # not just through cpp. "Syntax error" is here to catch this case.
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3564 # include <limits.h>
3566 # include <assert.h>
3570 if ac_fn_c_try_cpp "$LINENO"; then :
3573 # Broken: fails on valid input.
3576 rm -f conftest.err conftest.i conftest.$ac_ext
3578 # OK, works on sane cases. Now check whether nonexistent headers
3579 # can be detected and how.
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3582 #include <ac_nonexistent.h>
3584 if ac_fn_c_try_cpp "$LINENO"; then :
3585 # Broken: success on invalid input.
3588 # Passes both tests.
3592 rm -f conftest.err conftest.i conftest.$ac_ext
3595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3596 rm -f conftest.i conftest.err conftest.
$ac_ext
3597 if $ac_preproc_ok; then :
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3610 $as_echo "$CPP" >&6; }
3612 for ac_c_preproc_warn_flag
in '' yes
3614 # Use a header file that comes with gcc, so configuring glibc
3615 # with a fresh cross-compiler works.
3616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 # <limits.h> exists even on freestanding compilers.
3618 # On the NeXT, cc -E runs the code through the compiler's parser,
3619 # not just through cpp. "Syntax error" is here to catch this case.
3620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3623 # include <limits.h>
3625 # include <assert.h>
3629 if ac_fn_c_try_cpp
"$LINENO"; then :
3632 # Broken: fails on valid input.
3635 rm -f conftest.err conftest.i conftest.
$ac_ext
3637 # OK, works on sane cases. Now check whether nonexistent headers
3638 # can be detected and how.
3639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3641 #include <ac_nonexistent.h>
3643 if ac_fn_c_try_cpp
"$LINENO"; then :
3644 # Broken: success on invalid input.
3647 # Passes both tests.
3651 rm -f conftest.err conftest.i conftest.
$ac_ext
3654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655 rm -f conftest.i conftest.err conftest.
$ac_ext
3656 if $ac_preproc_ok; then :
3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3662 See \`config.log' for more details" "$LINENO" 5; }
3666 ac_cpp
='$CPP $CPPFLAGS'
3667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3673 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3674 if ${ac_cv_path_GREP+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -z "$GREP"; then
3678 ac_path_GREP_found
=false
3679 # Loop through the user's path and test for each of PROGNAME-LIST
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_prog
in grep ggrep
; do
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3688 as_fn_executable_p
"$ac_path_GREP" ||
continue
3689 # Check for GNU ac_path_GREP and select it if it is found.
3690 # Check for GNU $ac_path_GREP
3691 case `"$ac_path_GREP" --version 2>&1` in
3693 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3696 $as_echo_n 0123456789 >"conftest.in"
3699 cat "conftest.in" "conftest.in" >"conftest.tmp"
3700 mv "conftest.tmp" "conftest.in"
3701 cp "conftest.in" "conftest.nl"
3702 $as_echo 'GREP' >> "conftest.nl"
3703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3704 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3705 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3707 # Best one so far, save it but keep looking for a better one
3708 ac_cv_path_GREP
="$ac_path_GREP"
3709 ac_path_GREP_max
=$ac_count
3711 # 10*(2^10) chars as input seems more than enough
3712 test $ac_count -gt 10 && break
3714 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3717 $ac_path_GREP_found && break 3
3722 if test -z "$ac_cv_path_GREP"; then
3723 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3726 ac_cv_path_GREP
=$GREP
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3731 $as_echo "$ac_cv_path_GREP" >&6; }
3732 GREP
="$ac_cv_path_GREP"
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3736 $as_echo_n "checking for egrep... " >&6; }
3737 if ${ac_cv_path_EGREP+:} false
; then :
3738 $as_echo_n "(cached) " >&6
3740 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3741 then ac_cv_path_EGREP
="$GREP -E"
3743 if test -z "$EGREP"; then
3744 ac_path_EGREP_found
=false
3745 # Loop through the user's path and test for each of PROGNAME-LIST
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_prog
in egrep; do
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3754 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3755 # Check for GNU ac_path_EGREP and select it if it is found.
3756 # Check for GNU $ac_path_EGREP
3757 case `"$ac_path_EGREP" --version 2>&1` in
3759 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3762 $as_echo_n 0123456789 >"conftest.in"
3765 cat "conftest.in" "conftest.in" >"conftest.tmp"
3766 mv "conftest.tmp" "conftest.in"
3767 cp "conftest.in" "conftest.nl"
3768 $as_echo 'EGREP' >> "conftest.nl"
3769 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3770 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3771 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3772 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3773 # Best one so far, save it but keep looking for a better one
3774 ac_cv_path_EGREP
="$ac_path_EGREP"
3775 ac_path_EGREP_max
=$ac_count
3777 # 10*(2^10) chars as input seems more than enough
3778 test $ac_count -gt 10 && break
3780 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3783 $ac_path_EGREP_found && break 3
3788 if test -z "$ac_cv_path_EGREP"; then
3789 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3792 ac_cv_path_EGREP
=$EGREP
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3798 $as_echo "$ac_cv_path_EGREP" >&6; }
3799 EGREP
="$ac_cv_path_EGREP"
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3803 $as_echo_n "checking for ANSI C header files... " >&6; }
3804 if ${ac_cv_header_stdc+:} false
; then :
3805 $as_echo_n "(cached) " >&6
3807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3822 if ac_fn_c_try_compile
"$LINENO"; then :
3823 ac_cv_header_stdc
=yes
3825 ac_cv_header_stdc
=no
3827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3829 if test $ac_cv_header_stdc = yes; then
3830 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3837 $EGREP "memchr" >/dev
/null
2>&1; then :
3840 ac_cv_header_stdc
=no
3846 if test $ac_cv_header_stdc = yes; then
3847 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3854 $EGREP "free" >/dev
/null
2>&1; then :
3857 ac_cv_header_stdc
=no
3863 if test $ac_cv_header_stdc = yes; then
3864 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3865 if test "$cross_compiling" = yes; then :
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3872 #if ((' ' & 0x0FF) == 0x020)
3873 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3874 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3876 # define ISLOWER(c) \
3877 (('a' <= (c) && (c) <= 'i') \
3878 || ('j' <= (c) && (c) <= 'r') \
3879 || ('s' <= (c) && (c) <= 'z'))
3880 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3883 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3888 for (i = 0; i < 256; i++)
3889 if (XOR (islower (i), ISLOWER (i))
3890 || toupper (i) != TOUPPER (i))
3895 if ac_fn_c_try_run
"$LINENO"; then :
3898 ac_cv_header_stdc
=no
3900 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3901 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3907 $as_echo "$ac_cv_header_stdc" >&6; }
3908 if test $ac_cv_header_stdc = yes; then
3910 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3914 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3915 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3916 inttypes.h stdint.h unistd.h
3918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3919 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3921 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3922 cat >>confdefs.h
<<_ACEOF
3923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3931 for ac_header
in ctype.h stddef.h string.h stdio.h
3933 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3934 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3935 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3936 cat >>confdefs.h
<<_ACEOF
3937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3946 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3948 acx_cv_header_stdint
=stddef.h
3949 acx_cv_header_stdint_kind
="(already complete)"
3950 for i
in stdint.h
$inttype_headers; do
3951 unset ac_cv_type_uintptr_t
3952 unset ac_cv_type_uintmax_t
3953 unset ac_cv_type_int_least32_t
3954 unset ac_cv_type_int_fast32_t
3955 unset ac_cv_type_uint64_t
3956 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3957 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3960 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
3961 acx_cv_header_stdint
=$i
3966 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3969 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
3972 acx_cv_header_stdint_kind
="(mostly complete)"
3975 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3978 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
3981 acx_cv_header_stdint_kind
="(mostly complete)"
3984 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3987 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
3990 acx_cv_header_stdint_kind
="(mostly complete)"
3993 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3996 if test "x$ac_cv_type_uint64_t" = xyes
; then :
3999 acx_cv_header_stdint_kind
="(lacks uint64_t)"
4004 if test "$acx_cv_header_stdint" = stddef.h
; then
4005 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
4006 for i
in stdint.h
$inttype_headers; do
4007 unset ac_cv_type_uintptr_t
4008 unset ac_cv_type_uint32_t
4009 unset ac_cv_type_uint64_t
4010 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
4011 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
4014 if test "x$ac_cv_type_uint32_t" = xyes
; then :
4015 acx_cv_header_stdint
=$i
4020 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4023 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4027 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4030 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4037 if test "$acx_cv_header_stdint" = stddef.h
; then
4038 acx_cv_header_stdint_kind
="(u_intXX_t style)"
4039 for i
in sys
/types.h
$inttype_headers; do
4040 unset ac_cv_type_u_int32_t
4041 unset ac_cv_type_u_int64_t
4042 $as_echo_n "looking for u_intXX_t types in $i, " >&6
4043 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
4046 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
4047 acx_cv_header_stdint
=$i
4052 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
4055 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
4062 if test "$acx_cv_header_stdint" = stddef.h
; then
4063 acx_cv_header_stdint_kind
="(using manual detection)"
4066 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4067 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4068 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4069 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4070 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4072 # ----------------- Summarize what we found so far
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4075 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4077 case `$as_basename -- gstdint.h ||
4078 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4079 Xgstdint.h : 'X\(//\)$' \| \
4080 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4081 $as_echo X/gstdint.h |
4082 sed '/^.*\/\([^/][^/]*\)\/*$/{
4095 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4096 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4097 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4098 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4103 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4105 # ----------------- done included file, check C basic types --------
4107 # Lacking an uintptr_t? Test size of void *
4108 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4109 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
4110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4112 # This bug is HP SR number 8606223364.
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4114 $as_echo_n "checking size of void *... " >&6; }
4115 if ${ac_cv_sizeof_void_p+:} false
; then :
4116 $as_echo_n "(cached) " >&6
4118 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4121 if test "$ac_cv_type_void_p" = yes; then
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error
77 "cannot compute sizeof (void *)
4125 See \`config.log' for more details" "$LINENO" 5; }
4127 ac_cv_sizeof_void_p
=0
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4133 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4137 cat >>confdefs.h
<<_ACEOF
4138 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4144 # Lacking an uint64_t? Test size of long
4145 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4146 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
4147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4149 # This bug is HP SR number 8606223364.
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4151 $as_echo_n "checking size of long... " >&6; }
4152 if ${ac_cv_sizeof_long+:} false
; then :
4153 $as_echo_n "(cached) " >&6
4155 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4158 if test "$ac_cv_type_long" = yes; then
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error
77 "cannot compute sizeof (long)
4162 See \`config.log' for more details" "$LINENO" 5; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4170 $as_echo "$ac_cv_sizeof_long" >&6; }
4174 cat >>confdefs.h
<<_ACEOF
4175 #define SIZEOF_LONG $ac_cv_sizeof_long
4181 if test $acx_cv_header_stdint = stddef.h
; then
4182 # Lacking a good header? Test size of everything and deduce all types.
4183 # The cast to long int works around a bug in the HP C Compiler
4184 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4185 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4186 # This bug is HP SR number 8606223364.
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4188 $as_echo_n "checking size of int... " >&6; }
4189 if ${ac_cv_sizeof_int+:} false
; then :
4190 $as_echo_n "(cached) " >&6
4192 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4195 if test "$ac_cv_type_int" = yes; then
4196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error
77 "cannot compute sizeof (int)
4199 See \`config.log' for more details" "$LINENO" 5; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4207 $as_echo "$ac_cv_sizeof_int" >&6; }
4211 cat >>confdefs.h
<<_ACEOF
4212 #define SIZEOF_INT $ac_cv_sizeof_int
4216 # The cast to long int works around a bug in the HP C Compiler
4217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4219 # This bug is HP SR number 8606223364.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4221 $as_echo_n "checking size of short... " >&6; }
4222 if ${ac_cv_sizeof_short+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4228 if test "$ac_cv_type_short" = yes; then
4229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 as_fn_error
77 "cannot compute sizeof (short)
4232 See \`config.log' for more details" "$LINENO" 5; }
4234 ac_cv_sizeof_short
=0
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4240 $as_echo "$ac_cv_sizeof_short" >&6; }
4244 cat >>confdefs.h
<<_ACEOF
4245 #define SIZEOF_SHORT $ac_cv_sizeof_short
4249 # The cast to long int works around a bug in the HP C Compiler
4250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4252 # This bug is HP SR number 8606223364.
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4254 $as_echo_n "checking size of char... " >&6; }
4255 if ${ac_cv_sizeof_char+:} false
; then :
4256 $as_echo_n "(cached) " >&6
4258 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4261 if test "$ac_cv_type_char" = yes; then
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error
77 "cannot compute sizeof (char)
4265 See \`config.log' for more details" "$LINENO" 5; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4273 $as_echo "$ac_cv_sizeof_char" >&6; }
4277 cat >>confdefs.h
<<_ACEOF
4278 #define SIZEOF_CHAR $ac_cv_sizeof_char
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4284 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4285 case "$ac_cv_sizeof_char" in
4286 1) acx_cv_type_int8_t
=char
;;
4287 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4290 $as_echo "$acx_cv_type_int8_t" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4293 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4294 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4295 2:*) acx_cv_type_int16_t
=int
;;
4296 *:2) acx_cv_type_int16_t
=short
;;
4297 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4300 $as_echo "$acx_cv_type_int16_t" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4303 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4304 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4305 4:*) acx_cv_type_int32_t
=int
;;
4306 *:4) acx_cv_type_int32_t
=long
;;
4307 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4310 $as_echo "$acx_cv_type_int32_t" >&6; }
4313 # These tests are here to make the output prettier
4315 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4316 case "$ac_cv_sizeof_long" in
4317 8) acx_cv_type_int64_t
=long
;;
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4320 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4322 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4325 # Now we can use the above types
4327 if test "$ac_cv_type_uintptr_t" != yes; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4329 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4330 case $ac_cv_sizeof_void_p in
4331 2) acx_cv_type_intptr_t
=int16_t
;;
4332 4) acx_cv_type_intptr_t
=int32_t
;;
4333 8) acx_cv_type_intptr_t
=int64_t
;;
4334 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4337 $as_echo "$acx_cv_type_intptr_t" >&6; }
4340 # ----------------- done all checks, emit header -------------
4341 ac_config_commands
="$ac_config_commands gstdint.h"
4346 # Checks for typedefs, structures, and compiler characteristics.
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4348 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4349 if ${ac_cv_c_const+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4360 /* Ultrix mips cc rejects this sort of thing. */
4361 typedef int charset[2];
4362 const charset cs = { 0, 0 };
4363 /* SunOS 4.1.1 cc rejects this. */
4364 char const *const *pcpcc;
4366 /* NEC SVR4.0.2 mips cc rejects this. */
4367 struct point {int x, y;};
4368 static struct point const zero = {0,0};
4369 /* AIX XL C 1.02.0.0 rejects this.
4370 It does not let you subtract one const X* pointer from another in
4371 an arm of an if-expression whose if-part is not a constant
4373 const char *g = "string";
4374 pcpcc = &g + (g ? g-g : 0);
4375 /* HPUX 7.0 cc rejects these. */
4377 ppc = (char**) pcpcc;
4378 pcpcc = (char const *const *) ppc;
4379 { /* SCO 3.2v4 cc rejects this sort of thing. */
4382 char const *s = 0 ? (char *) 0 : (char const *) 0;
4387 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4389 const int *foo = &x[0];
4392 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4393 typedef const int *iptr;
4397 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4398 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4399 struct s { int j; const int *ap[3]; } bx;
4400 struct s *b = &bx; b->j = 5;
4402 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4406 return !cs[0] && !zero.x;
4413 if ac_fn_c_try_compile
"$LINENO"; then :
4418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4421 $as_echo "$ac_cv_c_const" >&6; }
4422 if test $ac_cv_c_const = no
; then
4424 $as_echo "#define const /**/" >>confdefs.h
4428 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4429 if test "x$ac_cv_type_off_t" = xyes
; then :
4433 cat >>confdefs.h
<<_ACEOF
4434 #define off_t long int
4439 # The cast to long int works around a bug in the HP C Compiler
4440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4442 # This bug is HP SR number 8606223364.
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4444 $as_echo_n "checking size of int... " >&6; }
4445 if ${ac_cv_sizeof_int+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4451 if test "$ac_cv_type_int" = yes; then
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error
77 "cannot compute sizeof (int)
4455 See \`config.log' for more details" "$LINENO" 5; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4463 $as_echo "$ac_cv_sizeof_int" >&6; }
4467 cat >>confdefs.h
<<_ACEOF
4468 #define SIZEOF_INT $ac_cv_sizeof_int
4472 # The cast to long int works around a bug in the HP C Compiler
4473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4475 # This bug is HP SR number 8606223364.
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4477 $as_echo_n "checking size of long... " >&6; }
4478 if ${ac_cv_sizeof_long+:} false
; then :
4479 $as_echo_n "(cached) " >&6
4481 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4484 if test "$ac_cv_type_long" = yes; then
4485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4487 as_fn_error
77 "cannot compute sizeof (long)
4488 See \`config.log' for more details" "$LINENO" 5; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4496 $as_echo "$ac_cv_sizeof_long" >&6; }
4500 cat >>confdefs.h
<<_ACEOF
4501 #define SIZEOF_LONG $ac_cv_sizeof_long
4506 # Checks for library functions.
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4508 $as_echo_n "checking for ANSI C header files... " >&6; }
4509 if ${ac_cv_header_stdc+:} false
; then :
4510 $as_echo_n "(cached) " >&6
4512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h. */
4527 if ac_fn_c_try_compile
"$LINENO"; then :
4528 ac_cv_header_stdc
=yes
4530 ac_cv_header_stdc
=no
4532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4534 if test $ac_cv_header_stdc = yes; then
4535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4542 $EGREP "memchr" >/dev
/null
2>&1; then :
4545 ac_cv_header_stdc
=no
4551 if test $ac_cv_header_stdc = yes; then
4552 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4559 $EGREP "free" >/dev
/null
2>&1; then :
4562 ac_cv_header_stdc
=no
4568 if test $ac_cv_header_stdc = yes; then
4569 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4570 if test "$cross_compiling" = yes; then :
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 #if ((' ' & 0x0FF) == 0x020)
4578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4581 # define ISLOWER(c) \
4582 (('a' <= (c) && (c) <= 'i') \
4583 || ('j' <= (c) && (c) <= 'r') \
4584 || ('s' <= (c) && (c) <= 'z'))
4585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4593 for (i = 0; i < 256; i++)
4594 if (XOR (islower (i), ISLOWER (i))
4595 || toupper (i) != TOUPPER (i))
4600 if ac_fn_c_try_run
"$LINENO"; then :
4603 ac_cv_header_stdc
=no
4605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4612 $as_echo "$ac_cv_header_stdc" >&6; }
4613 if test $ac_cv_header_stdc = yes; then
4615 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4620 # Check whether --enable-maintainer-mode was given.
4621 if test "${enable_maintainer_mode+set}" = set; then :
4622 enableval
=$enable_maintainer_mode;
4624 enable_maintainer_mode
=no
4628 if test "x$enable_maintainer_mode" = xno
; then
4635 # Make sure we can run config.sub.
4636 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4637 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4640 $as_echo_n "checking build system type... " >&6; }
4641 if ${ac_cv_build+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 ac_build_alias
=$build_alias
4645 test "x$ac_build_alias" = x
&&
4646 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4647 test "x$ac_build_alias" = x
&&
4648 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4649 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4650 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4654 $as_echo "$ac_cv_build" >&6; }
4655 case $ac_cv_build in
4657 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4660 ac_save_IFS
=$IFS; IFS
='-'
4666 # Remember, the first character of IFS is used to create $*,
4667 # except with old shells:
4670 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4674 $as_echo_n "checking host system type... " >&6; }
4675 if ${ac_cv_host+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 if test "x$host_alias" = x
; then
4679 ac_cv_host
=$ac_cv_build
4681 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4682 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4687 $as_echo "$ac_cv_host" >&6; }
4690 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4693 ac_save_IFS
=$IFS; IFS
='-'
4699 # Remember, the first character of IFS is used to create $*,
4700 # except with old shells:
4703 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4707 $as_echo_n "checking target system type... " >&6; }
4708 if ${ac_cv_target+:} false
; then :
4709 $as_echo_n "(cached) " >&6
4711 if test "x$target_alias" = x
; then
4712 ac_cv_target
=$ac_cv_host
4714 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4715 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4720 $as_echo "$ac_cv_target" >&6; }
4721 case $ac_cv_target in
4723 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4725 target
=$ac_cv_target
4726 ac_save_IFS
=$IFS; IFS
='-'
4732 # Remember, the first character of IFS is used to create $*,
4733 # except with old shells:
4736 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4739 # The aliases save the names the user supplied, while $host etc.
4740 # will get canonicalized.
4741 test -n "$target_alias" &&
4742 test "$program_prefix$program_suffix$program_transform_name" = \
4744 program_prefix
=${target_alias}-
4746 # Default decimal format
4747 # If you change the defaults here, be sure to change them in the GCC directory also
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4749 $as_echo_n "checking for decimal floating point... " >&6; }
4752 # Check whether --enable-decimal-float was given.
4753 if test "${enable_decimal_float+set}" = set; then :
4754 enableval
=$enable_decimal_float;
4755 case $enable_decimal_float in
4756 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4757 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4758 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4765 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4766 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4767 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4768 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4769 enable_decimal_float
=yes
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4773 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4774 enable_decimal_float
=no
4781 # x86's use BID format instead of DPD
4782 case x
$enable_decimal_float in
4785 aarch64
* | i?
86*-*-* | x86_64
*-*-*)
4786 enable_decimal_float
=bid
4789 enable_decimal_float
=dpd
4792 default_decimal_float
=$enable_decimal_float
4795 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4796 # dependency on libdecnumber.
4797 default_decimal_float
=dpd
4804 # Use default_decimal_float for dependency.
4805 enable_decimal_float
=$default_decimal_float
4807 # If BID is being used, additional objects should be linked in.
4808 if test x
$enable_decimal_float = xbid
; then
4809 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4815 $as_echo "$enable_decimal_float" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4820 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4821 if ${ac_cv_c_bigendian+:} false
; then :
4822 $as_echo_n "(cached) " >&6
4824 ac_cv_c_bigendian
=unknown
4825 # See if we're dealing with a universal compiler.
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4828 #ifndef __APPLE_CC__
4829 not a universal capable compiler
4834 if ac_fn_c_try_compile
"$LINENO"; then :
4836 # Check for potential -arch flags. It is not universal unless
4837 # there are at least two -arch flags with different values.
4840 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4841 if test -n "$ac_prev"; then
4843 i?
86 | x86_64 | ppc | ppc64
)
4844 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4847 ac_cv_c_bigendian
=universal
4853 elif test "x$ac_word" = "x-arch"; then
4858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 if test $ac_cv_c_bigendian = unknown
; then
4860 # See if sys/param.h defines the BYTE_ORDER macro.
4861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863 #include <sys/types.h>
4864 #include <sys/param.h>
4869 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4870 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4879 if ac_fn_c_try_compile
"$LINENO"; then :
4880 # It does; now see whether it defined to BIG_ENDIAN or not.
4881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4883 #include <sys/types.h>
4884 #include <sys/param.h>
4889 #if BYTE_ORDER != BIG_ENDIAN
4897 if ac_fn_c_try_compile
"$LINENO"; then :
4898 ac_cv_c_bigendian
=yes
4900 ac_cv_c_bigendian
=no
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 if test $ac_cv_c_bigendian = unknown
; then
4907 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4915 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4923 if ac_fn_c_try_compile
"$LINENO"; then :
4924 # It does; now see whether it defined to _BIG_ENDIAN or not.
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4940 if ac_fn_c_try_compile
"$LINENO"; then :
4941 ac_cv_c_bigendian
=yes
4943 ac_cv_c_bigendian
=no
4945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 if test $ac_cv_c_bigendian = unknown
; then
4950 # Compile a test program.
4951 if test "$cross_compiling" = yes; then :
4952 # Try to guess by grepping values from an object file.
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4955 short int ascii_mm[] =
4956 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4957 short int ascii_ii[] =
4958 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4959 int use_ascii (int i) {
4960 return ascii_mm[i] + ascii_ii[i];
4962 short int ebcdic_ii[] =
4963 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4964 short int ebcdic_mm[] =
4965 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4966 int use_ebcdic (int i) {
4967 return ebcdic_mm[i] + ebcdic_ii[i];
4974 return use_ascii (foo) == use_ebcdic (foo);
4979 if ac_fn_c_try_compile
"$LINENO"; then :
4980 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4981 ac_cv_c_bigendian
=yes
4983 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4984 if test "$ac_cv_c_bigendian" = unknown
; then
4985 ac_cv_c_bigendian
=no
4987 # finding both strings is unlikely to happen, but who knows?
4988 ac_cv_c_bigendian
=unknown
4992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4996 $ac_includes_default
5001 /* Are we little or big endian? From Harbison&Steele. */
5005 char c[sizeof (long int)];
5008 return u.c[sizeof (long int) - 1] == 1;
5014 if ac_fn_c_try_run
"$LINENO"; then :
5015 ac_cv_c_bigendian
=no
5017 ac_cv_c_bigendian
=yes
5019 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5020 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5026 $as_echo "$ac_cv_c_bigendian" >&6; }
5027 case $ac_cv_c_bigendian in #(
5029 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5035 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5039 as_fn_error $?
"unknown endianness
5040 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5044 # Enable --enable-host-shared.
5045 # Check whether --enable-host-shared was given.
5046 if test "${enable_host_shared+set}" = set; then :
5047 enableval
=$enable_host_shared; PICFLAG
=-fPIC
5056 ac_config_headers
="$ac_config_headers config.h:config.in"
5058 ac_config_files
="$ac_config_files Makefile"
5060 cat >confcache
<<\_ACEOF
5061 # This file is a shell script that caches the results of configure
5062 # tests run on this system so they can be shared between configure
5063 # scripts and configure runs, see configure's option --config-cache.
5064 # It is not useful on other systems. If it contains results you don't
5065 # want to keep, you may remove or edit it.
5067 # config.status only pays attention to the cache file if you give it
5068 # the --recheck option to rerun configure.
5070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5076 # The following way of writing the cache mishandles newlines in values,
5077 # but we know of no workaround that is simple, portable, and efficient.
5078 # So, we kill variables containing newlines.
5079 # Ultrix sh set writes to stderr and can't be redirected directly,
5080 # and sets the high bit in the cache file unless we assign to the vars.
5082 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5083 eval ac_val
=\$
$ac_var
5087 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5091 _ | IFS | as_nl
) ;; #(
5092 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5093 *) { eval $ac_var=; unset $ac_var;} ;;
5099 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5100 *${as_nl}ac_space
=\
*)
5101 # `set' does not quote correctly, so add quotes: double-quote
5102 # substitution turns \\\\ into \\, and sed turns \\ into \.
5105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5108 # `set' quotes correctly as required by POSIX, so do not add quotes.
5109 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5118 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5120 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5122 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5123 if test -w "$cache_file"; then
5124 if test "x$cache_file" != "x/dev/null"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5126 $as_echo "$as_me: updating cache $cache_file" >&6;}
5127 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5128 cat confcache
>"$cache_file"
5130 case $cache_file in #(
5132 mv -f confcache
"$cache_file"$$
&&
5133 mv -f "$cache_file"$$
"$cache_file" ;; #(
5135 mv -f confcache
"$cache_file" ;;
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5141 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5146 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5147 # Let make expand exec_prefix.
5148 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5150 DEFS
=-DHAVE_CONFIG_H
5155 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5156 # 1. Remove the extension, and $U if already installed.
5157 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5158 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5159 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5160 # will be set to the directory where LIBOBJS objects are built.
5161 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5162 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5166 LTLIBOBJS
=$ac_ltlibobjs
5171 : "${CONFIG_STATUS=./config.status}"
5173 ac_clean_files_save
=$ac_clean_files
5174 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5176 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5178 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5180 # Generated by $as_me.
5181 # Run this file to recreate the current configuration.
5182 # Compiler output produced by configure, useful for debugging
5183 # configure, is in config.log if it exists.
5189 SHELL=\${CONFIG_SHELL-$SHELL}
5192 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5193 ## -------------------- ##
5194 ## M4sh Initialization. ##
5195 ## -------------------- ##
5197 # Be more Bourne compatible
5198 DUALCASE
=1; export DUALCASE
# for MKS sh
5199 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5202 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5203 # is contrary to our usage. Disable this feature.
5204 alias -g '${1+"$@"}'='"$@"'
5205 setopt NO_GLOB_SUBST
5207 case `(set -o) 2>/dev/null` in #(
5219 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5220 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5221 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5222 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5223 # Prefer a ksh shell builtin over an external printf program on Solaris,
5224 # but without wasting forks for bash or zsh.
5225 if test -z "$BASH_VERSION$ZSH_VERSION" \
5226 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5227 as_echo='print
-r --'
5228 as_echo_n='print
-rn --'
5229 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5230 as_echo='printf %s
\n'
5231 as_echo_n='printf %s
'
5233 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5234 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5235 as_echo_n='/usr
/ucb
/echo -n'
5237 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5238 as_echo_n_body='eval
5242 expr "X$arg" : "X\\(.*\\)$as_nl";
5243 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5245 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5247 export as_echo_n_body
5248 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5251 as_echo='sh
-c $as_echo_body as_echo
'
5254 # The user is always right.
5255 if test "${PATH_SEPARATOR+set}" != set; then
5257 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5258 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5265 # We need space, tab and new line, in precisely that order. Quoting is
5266 # there to prevent editors from complaining about space-tab.
5267 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5268 # splitting by setting IFS to empty value.)
5271 # Find who we are. Look in the path if we contain no directory separator.
5274 *[\\/]* ) as_myself=$0 ;;
5275 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5286 # We did not find ourselves, most probably we were run as `sh COMMAND'
5287 # in which case we are not to be found in the path.
5288 if test "x$as_myself" = x
; then
5291 if test ! -f "$as_myself"; then
5292 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5296 # Unset variables that we do not need and which cause bugs (e.g. in
5297 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5298 # suppresses any "Segmentation fault" message there. '((' could
5299 # trigger a bug in pdksh 5.2.14.
5300 for as_var
in BASH_ENV ENV MAIL MAILPATH
5301 do eval test x\
${$as_var+set} = xset \
5302 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5315 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5318 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5319 # ----------------------------------------
5320 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5321 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5322 # script with STATUS, using 1 if that was 0.
5325 as_status
=$1; test $as_status -eq 0 && as_status
=1
5327 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5328 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5330 $as_echo "$as_me: error: $2" >&2
5331 as_fn_exit
$as_status
5335 # as_fn_set_status STATUS
5336 # -----------------------
5337 # Set $? to STATUS, without forking.
5341 } # as_fn_set_status
5345 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5355 # Portably unset VAR.
5358 { eval $1=; unset $1;}
5360 as_unset
=as_fn_unset
5361 # as_fn_append VAR VALUE
5362 # ----------------------
5363 # Append the text in VALUE to the end of the definition contained in VAR. Take
5364 # advantage of any shell optimizations that allow amortized linear growth over
5365 # repeated appends, instead of the typical quadratic growth present in naive
5367 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5368 eval 'as_fn_append ()
5379 # as_fn_arith ARG...
5380 # ------------------
5381 # Perform arithmetic evaluation on the ARGs, and store the result in the
5382 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5383 # must be portable across $(()) and expr.
5384 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5385 eval 'as_fn_arith ()
5392 as_val
=`expr "$@" || test $? -eq 1`
5397 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5398 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5404 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5405 as_basename
=basename
5410 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5416 as_me
=`$as_basename -- "$0" ||
5417 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5418 X"$0" : 'X\(//\)$' \| \
5419 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5421 sed '/^.*\/\([^/][^/]*\)\/*$/{
5435 # Avoid depending upon Character Ranges.
5436 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5437 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5438 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5439 as_cr_digits
='0123456789'
5440 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5442 ECHO_C
= ECHO_N
= ECHO_T
=
5443 case `echo -n x` in #(((((
5445 case `echo 'xy\c'` in
5446 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5448 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5455 rm -f conf$$ conf$$.exe conf$$.
file
5456 if test -d conf$$.dir
; then
5457 rm -f conf$$.dir
/conf$$.
file
5460 mkdir conf$$.dir
2>/dev
/null
5462 if (echo >conf$$.
file) 2>/dev
/null
; then
5463 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5465 # ... but there are two gotchas:
5466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5468 # In both cases, we have to default to `cp -pR'.
5469 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5471 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5479 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5480 rmdir conf$$.dir
2>/dev
/null
5485 # Create "$as_dir" as a directory, including parents if necessary.
5490 -*) as_dir
=.
/$as_dir;;
5492 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5496 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5497 *) as_qdir
=$as_dir;;
5499 as_dirs
="'$as_qdir' $as_dirs"
5500 as_dir
=`$as_dirname -- "$as_dir" ||
5501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5502 X"$as_dir" : 'X\(//\)[^/]' \| \
5503 X"$as_dir" : 'X\(//\)$' \| \
5504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5505 $as_echo X"$as_dir" |
5506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5523 test -d "$as_dir" && break
5525 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5526 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5530 if mkdir
-p .
2>/dev
/null
; then
5531 as_mkdir_p
='mkdir -p "$as_dir"'
5533 test -d .
/-p && rmdir .
/-p
5538 # as_fn_executable_p FILE
5539 # -----------------------
5540 # Test if FILE is an executable regular file.
5541 as_fn_executable_p
()
5543 test -f "$1" && test -x "$1"
5544 } # as_fn_executable_p
5546 as_executable_p
=as_fn_executable_p
5548 # Sed expression to map a string onto a valid CPP name.
5549 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5551 # Sed expression to map a string onto a valid variable name.
5552 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5556 ## ----------------------------------- ##
5557 ## Main body of $CONFIG_STATUS script. ##
5558 ## ----------------------------------- ##
5560 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5563 # Save the log message, to keep $0 and so on meaningful, and to
5564 # report actual input values of CONFIG_FILES etc. instead of their
5565 # values after options handling.
5567 This file was extended by libdecnumber $as_me , which was
5568 generated by GNU Autoconf 2.69. Invocation command line was
5570 CONFIG_FILES = $CONFIG_FILES
5571 CONFIG_HEADERS = $CONFIG_HEADERS
5572 CONFIG_LINKS = $CONFIG_LINKS
5573 CONFIG_COMMANDS = $CONFIG_COMMANDS
5576 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5581 case $ac_config_files in *"
5582 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5585 case $ac_config_headers in *"
5586 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5591 # Files that config.status was made for.
5592 config_files="$ac_config_files"
5593 config_headers="$ac_config_headers"
5594 config_commands="$ac_config_commands"
5598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5600 \`$as_me' instantiates files and other configuration actions
5601 from templates according to the current configuration. Unless the files
5602 and actions are specified as TAGs, all are instantiated by default.
5604 Usage: $0 [OPTION]... [TAG]...
5606 -h, --help print this help, then exit
5607 -V, --version print version number and configuration settings, then exit
5608 --config print configuration, then exit
5609 -q, --quiet, --silent
5610 do not print progress messages
5611 -d, --debug don't remove temporary files
5612 --recheck update $as_me by reconfiguring in the same conditions
5613 --file=FILE[:TEMPLATE]
5614 instantiate the configuration file FILE
5615 --header=FILE[:TEMPLATE]
5616 instantiate the configuration header FILE
5618 Configuration files:
5621 Configuration headers:
5624 Configuration commands:
5627 Report bugs to <gcc-bugs@gcc.gnu.org>."
5630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5631 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5633 libdecnumber config.status
5634 configured by $0, generated by GNU Autoconf 2.69,
5635 with options \\"\$ac_cs_config\\"
5637 Copyright (C) 2012 Free Software Foundation, Inc.
5638 This config.status script is free software; the Free Software Foundation
5639 gives unlimited permission to copy, distribute and modify it."
5643 test -n "\$AWK" || AWK=awk
5646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5647 # The default lists apply if the user does not specify any file.
5653 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5654 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5658 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5670 # Handling of the options.
5671 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5673 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5674 $as_echo "$ac_cs_version"; exit ;;
5675 --config |
--confi |
--conf |
--con |
--co |
--c )
5676 $as_echo "$ac_cs_config"; exit ;;
5677 --debug |
--debu |
--deb |
--de |
--d |
-d )
5679 --file |
--fil |
--fi |
--f )
5682 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5683 '') as_fn_error $?
"missing file argument" ;;
5685 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5686 ac_need_defaults
=false
;;
5687 --header |
--heade |
--head |
--hea )
5690 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5692 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5693 ac_need_defaults
=false
;;
5695 # Conflict between --help and --header
5696 as_fn_error $?
"ambiguous option: \`$1'
5697 Try \`$0 --help' for more information.";;
5698 --help |
--hel |
-h )
5699 $as_echo "$ac_cs_usage"; exit ;;
5700 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5701 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5705 -*) as_fn_error $?
"unrecognized option: \`$1'
5706 Try \`$0 --help' for more information." ;;
5708 *) as_fn_append ac_config_targets
" $1"
5709 ac_need_defaults
=false
;;
5715 ac_configure_extra_args
=
5717 if $ac_cs_silent; then
5719 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5724 if \$ac_cs_recheck; then
5725 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5728 CONFIG_SHELL='$SHELL'
5734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5739 ## Running $as_me. ##
5745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5752 acx_cv_header_stdint="$acx_cv_header_stdint"
5753 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5754 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5755 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5756 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5757 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5758 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5759 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5760 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5761 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5762 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5763 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5764 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5765 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5772 # Handling of arguments.
5773 for ac_config_target
in $ac_config_targets
5775 case $ac_config_target in
5776 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
5777 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5778 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5780 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5785 # If the user did not use the arguments to specify the items to instantiate,
5786 # then the envvar interface is used. Set only those that are not.
5787 # We use the long form for the default assignment because of an extremely
5788 # bizarre bug on SunOS 4.1.3.
5789 if $ac_need_defaults; then
5790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5795 # Have a temporary directory for convenience. Make it in the build tree
5796 # simply because there is no reason against having it here, and in addition,
5797 # creating and moving files from /tmp can sometimes cause problems.
5798 # Hook for its removal unless debugging.
5799 # Note that there is a small window in which the directory will not be cleaned:
5800 # after its creation but before its name has been assigned to `$tmp'.
5804 trap 'exit_status=$?
5806 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5808 trap 'as_fn_exit 1' 1 2 13 15
5810 # Create a (secure) tmp directory for tmp files.
5813 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5817 tmp
=.
/conf$$
-$RANDOM
5818 (umask 077 && mkdir
"$tmp")
5819 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5822 # Set up the scripts for CONFIG_FILES section.
5823 # No need to generate them if there are no CONFIG_FILES.
5824 # This happens for instance with `./config.status config.h'.
5825 if test -n "$CONFIG_FILES"; then
5828 ac_cr
=`echo X | tr X '\015'`
5829 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5830 # But we know of no other shell where ac_cr would be empty at this
5831 # point, so we can use a bashism as a fallback.
5832 if test "x$ac_cr" = x
; then
5833 eval ac_cr
=\$
\'\\r
\'
5835 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5836 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5842 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5847 echo "cat >conf$$subs.awk <<_ACEOF" &&
5848 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5851 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5852 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5854 for ac_last_try in false false false false false :; do
5855 . ./conf$$subs.sh ||
5856 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5858 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5859 if test $ac_delim_n = $ac_delim_num; then
5861 elif $ac_last_try; then
5862 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5864 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5870 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5874 s/^/S["/; s
/!.
*/"]=/
5884 s/\(.\{148\}\)..*/\1/
5886 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5891 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5898 s/\(.\{148\}\)..*/\1/
5900 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5904 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5909 ' <conf$$subs.awk | sed '
5914 ' >>$CONFIG_STATUS || ac_write_fail=1
5915 rm -f conf$$subs.awk
5916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5918 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5919 for (key in S) S_is_set[key] = 1
5925 nfields = split(line, field, "@
")
5927 len = length(field[1])
5928 for (i = 2; i < nfields; i++) {
5930 keylen = length(key)
5931 if (S_is_set[key]) {
5933 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5934 len += length(value) + length(field[++i])
5945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5946 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5947 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5950 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5951 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5954 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5955 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5956 # trailing colons and then remove the whole line if VPATH becomes empty
5957 # (actually we leave an empty line to preserve line numbers).
5958 if test "x
$srcdir" = x.; then
5959 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5978 fi # test -n "$CONFIG_FILES"
5980 # Set up the scripts for CONFIG_HEADERS section.
5981 # No need to generate them if there are no CONFIG_HEADERS.
5982 # This happens for instance with `./config.status Makefile'.
5983 if test -n "$CONFIG_HEADERS"; then
5984 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5988 # Transform confdefs.h into an awk script `defines.awk', embedded as
5989 # here-document in config.status, that substitutes the proper values into
5990 # config.h.in to produce config.h.
5992 # Create a delimiter string that does not exist in confdefs.h, to ease
5993 # handling of long lines.
5995 for ac_last_try in false false :; do
5996 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5997 if test -z "$ac_tt"; then
5999 elif $ac_last_try; then
6000 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6002 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6006 # For the awk script, D is an array of macro values keyed by name,
6007 # likewise P contains macro parameters if any. Preserve backslash
6008 # newline sequences.
6010 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6012 s/.\{148\}/&'"$ac_delim"'/g
6015 s/^[ ]*#[ ]*define[ ][ ]*/ /
6022 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6024 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6028 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6029 D["\
1"]=" \
3\\\\\\n
"\\/p
6031 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6036 s/.\{148\}/&'"$ac_delim"'/g
6041 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6044 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6046 ' <confdefs.h | sed '
6047 s/'"$ac_delim"'/"\\\
6048 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6051 for (key in D) D_is_set[key] = 1
6054 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6056 split(line, arg, " ")
6057 if (arg[1] == "#") {
6061 defundef
= substr
(arg
[1], 2)
6064 split(mac1
, mac2
, "(") #)
6066 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6067 if (D_is_set
[macro
]) {
6068 # Preserve the white space surrounding the "#".
6069 print prefix
"define", macro P
[macro
] D
[macro
]
6072 # Replace #undef with comments. This is necessary, for example,
6073 # in the case of _POSIX_SOURCE, which is predefined and required
6074 # on some systems where configure will not decide to define it.
6075 if (defundef
== "undef") {
6076 print
"/*", prefix defundef
, macro
, "*/"
6084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6085 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6086 fi # test -n "$CONFIG_HEADERS"
6089 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6094 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6096 case $ac_mode$ac_tag in
6098 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6099 :[FH
]-) ac_tag
=-:-;;
6100 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6117 -) ac_f
="$ac_tmp/stdin";;
6118 *) # Look for the file first in the build tree, then in the source tree
6119 # (if the path is not absolute). The absolute path cannot be DOS-style,
6120 # because $ac_f cannot contain `:'.
6124 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6126 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6128 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6129 as_fn_append ac_file_inputs
" '$ac_f'"
6132 # Let's still pretend it is `configure' which instantiates (i.e., don't
6133 # use $as_me), people would be surprised to read:
6134 # /* config.h. Generated by config.status. */
6135 configure_input
='Generated from '`
6136 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6138 if test x
"$ac_file" != x-
; then
6139 configure_input
="$ac_file. $configure_input"
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6141 $as_echo "$as_me: creating $ac_file" >&6;}
6143 # Neutralize special characters interpreted by sed in replacement strings.
6144 case $configure_input in #(
6145 *\
&* |
*\|
* |
*\\* )
6146 ac_sed_conf_input
=`$as_echo "$configure_input" |
6147 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6148 *) ac_sed_conf_input
=$configure_input;;
6152 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6153 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6158 ac_dir
=`$as_dirname -- "$ac_file" ||
6159 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160 X"$ac_file" : 'X\(//\)[^/]' \| \
6161 X"$ac_file" : 'X\(//\)$' \| \
6162 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6163 $as_echo X"$ac_file" |
6164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6181 as_dir
="$ac_dir"; as_fn_mkdir_p
6185 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6187 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6188 # A ".." for each directory in $ac_dir_suffix.
6189 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6190 case $ac_top_builddir_sub in
6191 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6192 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6195 ac_abs_top_builddir
=$ac_pwd
6196 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6197 # for backward compatibility:
6198 ac_top_builddir
=$ac_top_build_prefix
6201 .
) # We are building in place.
6203 ac_top_srcdir
=$ac_top_builddir_sub
6204 ac_abs_top_srcdir
=$ac_pwd ;;
6205 [\\/]* | ?
:[\\/]* ) # Absolute name.
6206 ac_srcdir
=$srcdir$ac_dir_suffix;
6207 ac_top_srcdir
=$srcdir
6208 ac_abs_top_srcdir
=$srcdir ;;
6210 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6211 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6212 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6214 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6226 # If the template does not know about datarootdir, expand it.
6227 # FIXME: This hack should be removed a few years after 2.60.
6228 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6239 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6240 *datarootdir
*) ac_datarootdir_seen
=yes;;
6241 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6243 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6246 ac_datarootdir_hack='
6247 s&@datadir@&$datadir&g
6248 s&@docdir@&$docdir&g
6249 s&@infodir@&$infodir&g
6250 s&@localedir@&$localedir&g
6251 s&@mandir@&$mandir&g
6252 s&\\\${datarootdir}&$datarootdir&g' ;;
6256 # Neutralize VPATH when `$srcdir' = `.'.
6257 # Shell code in configure.ac might set extrasub.
6258 # FIXME: do we really want to maintain this feature?
6259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6260 ac_sed_extra="$ac_vpsub
6263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6265 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6266 s|@configure_input@|
$ac_sed_conf_input|
;t t
6267 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6268 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6269 s
&@srcdir@
&$ac_srcdir&;t t
6270 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6271 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6272 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6273 s
&@builddir@
&$ac_builddir&;t t
6274 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6275 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6276 $ac_datarootdir_hack
6278 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6279 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6281 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6282 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6283 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6284 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6286 which seems to be undefined. Please make sure it is defined" >&5
6287 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6288 which seems to be undefined. Please make sure it is defined" >&2;}
6290 rm -f "$ac_tmp/stdin"
6292 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6293 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6295 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6301 if test x"$ac_file" != x-; then
6303 $as_echo "/* $configure_input */" \
6304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6305 } >"$ac_tmp/config.h" \
6306 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6307 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6309 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6312 mv "$ac_tmp/config.h" "$ac_file" \
6313 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6316 $as_echo "/* $configure_input */" \
6317 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6318 || as_fn_error $? "could not create -" "$LINENO" 5
6322 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6323 $as_echo "$as_me: executing $ac_file commands" >&6;}
6328 case $ac_file$ac_mode in
6330 if test "$GCC" = yes; then
6331 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6333 echo "/* generated for $CC */" > tmp-stdint.h
6336 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6338 #ifndef GCC_GENERATED_STDINT_H
6339 #define GCC_GENERATED_STDINT_H 1
6341 #include <sys/types.h>
6344 if test "$acx_cv_header_stdint" != stdint.h; then
6345 echo "#include <stddef.h>" >> tmp-stdint.h
6347 if test "$acx_cv_header_stdint" != stddef.h; then
6348 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6351 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6352 /* glibc uses these symbols as guards to prevent redefinitions. */
6353 #ifdef __int8_t_defined
6358 #ifdef __uint32_t_defined
6364 # ----------------- done header, emit basic int types -------------
6365 if test "$acx_cv_header_stdint" = stddef.h; then
6366 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6370 #ifndef __uint8_t_defined
6371 #define __uint8_t_defined
6373 typedef unsigned $acx_cv_type_int8_t uint8_t;
6380 #ifndef __uint16_t_defined
6381 #define __uint16_t_defined
6383 typedef unsigned $acx_cv_type_int16_t uint16_t;
6390 #ifndef __uint32_t_defined
6391 #define __uint32_t_defined
6393 typedef unsigned $acx_cv_type_int32_t uint32_t;
6400 #ifndef __int8_t_defined
6401 #define __int8_t_defined
6403 typedef $acx_cv_type_int8_t int8_t;
6410 #ifndef __int16_t_defined
6411 #define __int16_t_defined
6413 typedef $acx_cv_type_int16_t int16_t;
6420 #ifndef __int32_t_defined
6421 #define __int32_t_defined
6423 typedef $acx_cv_type_int32_t int32_t;
6428 elif test "$ac_cv_type_u_int32_t" = yes; then
6429 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6431 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6444 #ifndef __uint8_t_defined
6445 #define __uint8_t_defined
6447 typedef u_int8_t uint8_t;
6454 #ifndef __uint16_t_defined
6455 #define __uint16_t_defined
6457 typedef u_int16_t uint16_t;
6464 #ifndef __uint32_t_defined
6465 #define __uint32_t_defined
6467 typedef u_int32_t uint32_t;
6473 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6475 /* Some systems have guard macros to prevent redefinitions, define them. */
6497 # ------------- done basic int types, emit int64_t types ------------
6498 if test "$ac_cv_type_uint64_t" = yes; then
6499 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6501 /* system headers have good uint64_t and int64_t */
6509 elif test "$ac_cv_type_u_int64_t" = yes; then
6510 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6512 /* system headers have an u_int64_t (and int64_t) */
6518 #ifndef __uint64_t_defined
6519 #define __uint64_t_defined
6521 typedef u_int64_t uint64_t;
6526 elif test -n "$acx_cv_type_int64_t"; then
6527 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6529 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6533 typedef $acx_cv_type_int64_t int64_t;
6538 #ifndef __uint64_t_defined
6539 #define __uint64_t_defined
6541 typedef unsigned $acx_cv_type_int64_t uint64_t;
6547 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6549 /* some common heuristics for int64_t, using compiler-specific tests */
6550 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6553 #ifndef __int64_t_defined
6555 typedef long long int64_t;
6562 typedef unsigned long long uint64_t;
6566 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6567 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6568 does not implement __extension__. But that compiler doesn't define
6570 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6571 # define __extension__
6577 __extension__ typedef long long int64_t
;
6583 __extension__ typedef unsigned long long uint64_t
;
6587 #elif !defined __STRICT_ANSI__
6588 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6593 typedef __int64 int64_t
;
6599 typedef unsigned __int64 uint64_t
;
6602 # endif /* compiler */
6604 #endif /* ANSI version */
6608 # ------------- done int64_t types, emit intptr types ------------
6609 if test "$ac_cv_type_uintptr_t" != yes; then
6610 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6612 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6613 #ifndef __uintptr_t_defined
6615 typedef u$acx_cv_type_intptr_t uintptr_t;
6618 #ifndef __intptr_t_defined
6620 typedef $acx_cv_type_intptr_t intptr_t;
6626 # ------------- done intptr types, emit int_least types ------------
6627 if test "$ac_cv_type_int_least32_t" != yes; then
6628 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6630 /* Define int_least types */
6631 typedef int8_t int_least8_t;
6632 typedef int16_t int_least16_t;
6633 typedef int32_t int_least32_t;
6635 typedef int64_t int_least64_t;
6638 typedef uint8_t uint_least8_t;
6639 typedef uint16_t uint_least16_t;
6640 typedef uint32_t uint_least32_t;
6642 typedef uint64_t uint_least64_t;
6647 # ------------- done intptr types, emit int_fast types ------------
6648 if test "$ac_cv_type_int_fast32_t" != yes; then
6649 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6651 /* Define int_fast types. short is often slow */
6652 typedef int8_t int_fast8_t;
6653 typedef int int_fast16_t;
6654 typedef int32_t int_fast32_t;
6656 typedef int64_t int_fast64_t;
6659 typedef uint8_t uint_fast8_t;
6660 typedef unsigned int uint_fast16_t;
6661 typedef uint32_t uint_fast32_t;
6663 typedef uint64_t uint_fast64_t;
6668 if test "$ac_cv_type_uintmax_t" != yes; then
6669 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6671 /* Define intmax based on what we found */
6674 typedef int64_t intmax_t;
6676 typedef long intmax_t;
6681 typedef uint64_t uintmax_t;
6683 typedef unsigned long uintmax_t;
6689 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6691 #endif /* GCC_GENERATED_STDINT_H */
6694 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6697 mv -f tmp-stdint.h gstdint.h
6701 "config.h":H
) echo timestamp
> stamp-h1
;;
6709 ac_clean_files
=$ac_clean_files_save
6711 test $ac_write_fail = 0 ||
6712 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6715 # configure is writing to config.log, and then calls config.status.
6716 # config.status does its own redirection, appending to config.log.
6717 # Unfortunately, on DOS this fails, as config.log is still kept open
6718 # by configure, so config.status won't be able to write to it; its
6719 # output is simply discarded. So we exec the FD to /dev/null,
6720 # effectively closing config.log, so it can be properly (re)opened and
6721 # appended to by config.status. When coming back to configure, we
6722 # need to make the FD available again.
6723 if test "$no_create" != yes; then
6725 ac_config_status_args
=
6726 test "$silent" = yes &&
6727 ac_config_status_args
="$ac_config_status_args --quiet"
6729 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6731 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6732 # would make configure fail if this is the last instruction.
6733 $ac_cs_success || as_fn_exit
1
6735 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6737 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}