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
693 program_transform_name
706 enable_option_checking
708 enable_maintainer_mode
714 ac_precious_vars
='build_alias
725 # Initialize some variables set by options.
727 ac_init_version
=false
728 ac_unrecognized_opts
=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name
=s
,x
,x
,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir
='${exec_prefix}/bin'
754 sbindir
='${exec_prefix}/sbin'
755 libexecdir
='${exec_prefix}/libexec'
756 datarootdir
='${prefix}/share'
757 datadir
='${datarootdir}'
758 sysconfdir
='${prefix}/etc'
759 sharedstatedir
='${prefix}/com'
760 localstatedir
='${prefix}/var'
761 includedir
='${prefix}/include'
762 oldincludedir
='/usr/include'
763 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir
='${datarootdir}/info'
769 libdir
='${exec_prefix}/lib'
770 localedir
='${datarootdir}/locale'
771 mandir
='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\
$ac_option
785 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
796 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
798 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
801 -build |
--build |
--buil |
--bui |
--bu)
802 ac_prev
=build_alias
;;
803 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
804 build_alias
=$ac_optarg ;;
806 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
807 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
808 ac_prev
=cache_file
;;
809 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
810 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
811 cache_file
=$ac_optarg ;;
814 cache_file
=config.cache
;;
816 -datadir |
--datadir |
--datadi |
--datad)
818 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
819 datadir
=$ac_optarg ;;
821 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
822 |
--dataroo |
--dataro |
--datar)
823 ac_prev
=datarootdir
;;
824 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
825 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
826 datarootdir
=$ac_optarg ;;
828 -disable-* |
--disable-*)
829 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
832 as_fn_error $?
"invalid feature name: $ac_useropt"
833 ac_useropt_orig
=$ac_useropt
834 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep
=', ';;
842 eval enable_
$ac_useropt=no
;;
844 -docdir |
--docdir |
--docdi |
--doc |
--do)
846 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
849 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
851 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
854 -enable-* |
--enable-*)
855 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
858 as_fn_error $?
"invalid feature name: $ac_useropt"
859 ac_useropt_orig
=$ac_useropt
860 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep
=', ';;
868 eval enable_
$ac_useropt=\
$ac_optarg ;;
870 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
871 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
872 |
--exec |
--exe |
--ex)
873 ac_prev
=exec_prefix
;;
874 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
875 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
876 |
--exec=* |
--exe=* |
--ex=*)
877 exec_prefix
=$ac_optarg ;;
879 -gas |
--gas |
--ga |
--g)
880 # Obsolete; use --with-gas.
883 -help |
--help |
--hel |
--he |
-h)
885 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
886 ac_init_help
=recursive
;;
887 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
888 ac_init_help
=short
;;
890 -host |
--host |
--hos |
--ho)
891 ac_prev
=host_alias
;;
892 -host=* |
--host=* |
--hos=* |
--ho=*)
893 host_alias
=$ac_optarg ;;
895 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
897 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
899 htmldir
=$ac_optarg ;;
901 -includedir |
--includedir |
--includedi |
--included |
--include \
902 |
--includ |
--inclu |
--incl |
--inc)
903 ac_prev
=includedir
;;
904 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
905 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
906 includedir
=$ac_optarg ;;
908 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
910 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
911 infodir
=$ac_optarg ;;
913 -libdir |
--libdir |
--libdi |
--libd)
915 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
918 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
919 |
--libexe |
--libex |
--libe)
920 ac_prev
=libexecdir
;;
921 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
922 |
--libexe=* |
--libex=* |
--libe=*)
923 libexecdir
=$ac_optarg ;;
925 -localedir |
--localedir |
--localedi |
--localed |
--locale)
927 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
928 localedir
=$ac_optarg ;;
930 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
931 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
932 ac_prev
=localstatedir
;;
933 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
934 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
935 localstatedir
=$ac_optarg ;;
937 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
939 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
943 # Obsolete; use --without-fp.
946 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
947 |
--no-cr |
--no-c |
-n)
950 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
951 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
954 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
955 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
956 |
--oldin |
--oldi |
--old |
--ol |
--o)
957 ac_prev
=oldincludedir
;;
958 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
959 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
960 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
961 oldincludedir
=$ac_optarg ;;
963 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
965 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
968 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
969 |
--program-pre |
--program-pr |
--program-p)
970 ac_prev
=program_prefix
;;
971 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
972 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
973 program_prefix
=$ac_optarg ;;
975 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
976 |
--program-suf |
--program-su |
--program-s)
977 ac_prev
=program_suffix
;;
978 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
979 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
980 program_suffix
=$ac_optarg ;;
982 -program-transform-name |
--program-transform-name \
983 |
--program-transform-nam |
--program-transform-na \
984 |
--program-transform-n |
--program-transform- \
985 |
--program-transform |
--program-transfor \
986 |
--program-transfo |
--program-transf \
987 |
--program-trans |
--program-tran \
988 |
--progr-tra |
--program-tr |
--program-t)
989 ac_prev
=program_transform_name
;;
990 -program-transform-name=* |
--program-transform-name=* \
991 |
--program-transform-nam=* |
--program-transform-na=* \
992 |
--program-transform-n=* |
--program-transform-=* \
993 |
--program-transform=* |
--program-transfor=* \
994 |
--program-transfo=* |
--program-transf=* \
995 |
--program-trans=* |
--program-tran=* \
996 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
997 program_transform_name
=$ac_optarg ;;
999 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1001 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1002 pdfdir
=$ac_optarg ;;
1004 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1006 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1009 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1010 |
-silent |
--silent |
--silen |
--sile |
--sil)
1013 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1015 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1017 sbindir
=$ac_optarg ;;
1019 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1020 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1021 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1023 ac_prev
=sharedstatedir
;;
1024 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1025 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1026 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1028 sharedstatedir
=$ac_optarg ;;
1030 -site |
--site |
--sit)
1032 -site=* |
--site=* |
--sit=*)
1035 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1037 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1038 srcdir
=$ac_optarg ;;
1040 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1041 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1042 ac_prev
=sysconfdir
;;
1043 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1044 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1045 sysconfdir
=$ac_optarg ;;
1047 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1048 ac_prev
=target_alias
;;
1049 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1050 target_alias
=$ac_optarg ;;
1052 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1055 -version |
--version |
--versio |
--versi |
--vers |
-V)
1056 ac_init_version
=: ;;
1059 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error $?
"invalid package name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval with_
$ac_useropt=\
$ac_optarg ;;
1074 -without-* |
--without-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 as_fn_error $?
"invalid package name: $ac_useropt"
1079 ac_useropt_orig
=$ac_useropt
1080 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval with_
$ac_useropt=no
;;
1091 # Obsolete; use --with-x.
1094 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1095 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1096 ac_prev
=x_includes
;;
1097 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1098 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1099 x_includes
=$ac_optarg ;;
1101 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1102 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1103 ac_prev
=x_libraries
;;
1104 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1105 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1106 x_libraries
=$ac_optarg ;;
1108 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1113 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1117 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1119 eval $ac_envvar=\
$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 if test -n "$ac_prev"; then
1134 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $?
"missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1141 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val
=\$
$ac_var
1153 # Remove trailing slashes.
1156 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\
$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$
]* | ?
:[\\/]* ) continue;;
1162 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1164 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target
=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x
; then
1176 if test "x$build_alias" = x
; then
1177 cross_compiling
=maybe
1178 elif test "x$build_alias" != "x$host_alias"; then
1184 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1186 test "$silent" = yes && exec 6>/dev
/null
1189 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1190 ac_ls_di
=`ls -di .` &&
1191 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1192 as_fn_error $?
"working directory cannot be determined"
1193 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194 as_fn_error $?
"pwd does not report name of working directory"
1197 # Find the source files, if location was not specified.
1198 if test -z "$srcdir"; then
1199 ac_srcdir_defaulted
=yes
1200 # Try the directory containing this script, then the parent directory.
1201 ac_confdir
=`$as_dirname -- "$as_myself" ||
1202 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203 X"$as_myself" : 'X\(//\)[^/]' \| \
1204 X"$as_myself" : 'X\(//\)$' \| \
1205 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1206 $as_echo X"$as_myself" |
1207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1229 ac_srcdir_defaulted
=no
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1232 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1233 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1235 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1237 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1239 # When building in place, set srcdir=.
1240 if test "$ac_abs_confdir" = "$ac_pwd"; then
1243 # Remove unnecessary trailing slashes from srcdir.
1244 # Double slashes in file names in object file debugging info
1245 # mess up M-x gdb in Emacs.
1247 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249 for ac_var
in $ac_precious_vars; do
1250 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1251 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1252 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1253 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1257 # Report the --help message.
1259 if test "$ac_init_help" = "long"; then
1260 # Omit some internal or obsolete options to make the list less imposing.
1261 # This message is too long to be a string in the A/UX 3.1 sh.
1263 \`configure' configures libdecnumber to adapt to many kinds of systems.
1265 Usage: $0 [OPTION]... [VAR=VALUE]...
1267 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1268 VAR=VALUE. See below for descriptions of some of the useful variables.
1270 Defaults for the options are specified in brackets.
1273 -h, --help display this help and exit
1274 --help=short display options specific to this package
1275 --help=recursive display the short help of all the included packages
1276 -V, --version display version information and exit
1277 -q, --quiet, --silent do not print \`checking ...' messages
1278 --cache-file=FILE cache test results in FILE [disabled]
1279 -C, --config-cache alias for \`--cache-file=config.cache'
1280 -n, --no-create do not create output files
1281 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1283 Installation directories:
1284 --prefix=PREFIX install architecture-independent files in PREFIX
1285 [$ac_default_prefix]
1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1289 By default, \`make install' will install all the files in
1290 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1291 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1292 for instance \`--prefix=\$HOME'.
1294 For better control, use the options below.
1296 Fine tuning of the installation directories:
1297 --bindir=DIR user executables [EPREFIX/bin]
1298 --sbindir=DIR system admin executables [EPREFIX/sbin]
1299 --libexecdir=DIR program executables [EPREFIX/libexec]
1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1303 --libdir=DIR object code libraries [EPREFIX/lib]
1304 --includedir=DIR C header files [PREFIX/include]
1305 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1308 --infodir=DIR info documentation [DATAROOTDIR/info]
1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1310 --mandir=DIR man documentation [DATAROOTDIR/man]
1311 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1312 --htmldir=DIR html documentation [DOCDIR]
1313 --dvidir=DIR dvi documentation [DOCDIR]
1314 --pdfdir=DIR pdf documentation [DOCDIR]
1315 --psdir=DIR ps documentation [DOCDIR]
1321 --build=BUILD configure
for building on BUILD
[guessed
]
1322 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1323 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1327 if test -n "$ac_init_help"; then
1328 case $ac_init_help in
1329 short | recursive
) echo "Configuration of libdecnumber :";;
1334 --disable-option-checking ignore unrecognized
--enable/--with options
1335 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1336 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1337 --enable-werror-always enable -Werror despite compiler version
1338 --enable-maintainer-mode enable rules only needed by maintainers
1339 --enable-decimal-float={no
,yes,bid
,dpd
}
1340 enable decimal float extension to C. Selecting
'bid'
1341 or
'dpd' choses
which decimal floating point format
1343 --enable-host-shared build
host code as shared libraries
1344 --enable-host-pie build
host code as PIE
1345 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1347 Some influential environment variables
:
1348 CC C compiler
command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1351 nonstandard directory
<lib dir
>
1352 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1353 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1354 you have headers
in a nonstandard directory
<include dir
>
1357 Use these variables to override the choices made by
`configure' or to help
1358 it to find libraries and programs with nonstandard names/locations.
1360 Report bugs to <gcc-bugs@gcc.gnu.org>.
1365 if test "$ac_init_help" = "recursive"; then
1366 # If there are subdirs, report their specific --help.
1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1368 test -d "$ac_dir" ||
1369 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1377 # A ".." for each directory in $ac_dir_suffix.
1378 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1379 case $ac_top_builddir_sub in
1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384 ac_abs_top_builddir=$ac_pwd
1385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1386 # for backward compatibility:
1387 ac_top_builddir=$ac_top_build_prefix
1390 .) # We are building in place.
1392 ac_top_srcdir=$ac_top_builddir_sub
1393 ac_abs_top_srcdir=$ac_pwd ;;
1394 [\\/]* | ?:[\\/]* ) # Absolute name.
1395 ac_srcdir=$srcdir$ac_dir_suffix;
1396 ac_top_srcdir=$srcdir
1397 ac_abs_top_srcdir=$srcdir ;;
1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1400 ac_top_srcdir=$ac_top_build_prefix$srcdir
1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405 cd "$ac_dir" || { ac_status=$?; continue; }
1406 # Check for guested configure.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1420 test -n "$ac_init_help" && exit $ac_status
1421 if $ac_init_version; then
1423 libdecnumber configure
1424 generated by GNU Autoconf 2.69
1426 Copyright (C) 2012 Free Software Foundation, Inc.
1427 This configure script is free software; the Free Software Foundation
1428 gives unlimited permission to copy, distribute and modify it.
1433 ## ------------------------ ##
1434 ## Autoconf initialization. ##
1435 ## ------------------------ ##
1437 # ac_fn_c_try_compile LINENO
1438 # --------------------------
1439 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_compile ()
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 rm -f conftest.$ac_objext
1444 if { { ac_try="$ac_compile"
1446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1447 *) ac_try_echo
=$ac_try;;
1449 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_compile") 2>conftest.err
1453 if test -s conftest.err
; then
1454 grep -v '^ *+' conftest.err
>conftest.er1
1455 cat conftest.er1
>&5
1456 mv -f conftest.er1 conftest.err
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } && {
1460 test -z "$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 } && test -s conftest.
$ac_objext; then :
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.
$ac_ext >&5
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status
$ac_retval
1473 } # ac_fn_c_try_compile
1475 # ac_fn_c_try_cpp LINENO
1476 # ----------------------
1477 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1480 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1481 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1484 *) ac_try_echo=$ac_try;;
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 $as_echo "$ac_try_echo"; } >&5
1488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1490 if test -s conftest.err; then
1491 grep -v '^ *+' conftest.err >conftest.er1
1492 cat conftest.er1 >&5
1493 mv -f conftest.er1 conftest.err
1495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496 test $ac_status = 0; } > conftest.i && {
1497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1498 test ! -s conftest.err
1502 $as_echo "$as_me: failed program was:" >&5
1503 sed 's/^/| /' conftest.$ac_ext >&5
1507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1508 as_fn_set_status $ac_retval
1512 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1513 # -------------------------------------------------------
1514 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1515 # the include files in INCLUDES and setting the cache variable VAR
1517 ac_fn_c_check_header_mongrel ()
1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520 if eval \${$3+:} false; then :
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1522 $as_echo_n "checking for $2... " >&6; }
1523 if eval \${$3+:} false; then :
1524 $as_echo_n "(cached) " >&6
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1528 $as_echo "$ac_res" >&6; }
1530 # Is the header compilable?
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1532 $as_echo_n "checking $2 usability... " >&6; }
1533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1534 /* end confdefs.h. */
1538 if ac_fn_c_try_compile "$LINENO"; then :
1539 ac_header_compiler=yes
1541 ac_header_compiler=no
1543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1545 $as_echo "$ac_header_compiler" >&6; }
1547 # Is the header present?
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1549 $as_echo_n "checking $2 presence... " >&6; }
1550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1554 if ac_fn_c_try_cpp "$LINENO"; then :
1555 ac_header_preproc=yes
1557 ac_header_preproc=no
1559 rm -f conftest.err conftest.i conftest.$ac_ext
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1561 $as_echo "$ac_header_preproc" >&6; }
1563 # So? What about this header?
1564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1567 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1573 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1575 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1577 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1579 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1581 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1582 ( $as_echo "## ----------------------------------- ##
1583 ## Report this to gcc-bugs@gcc.gnu.org ##
1584 ## ----------------------------------- ##"
1585 ) | sed "s/^/$as_me: WARNING: /" >&2
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if eval \${$3+:} false; then :
1591 $as_echo_n "(cached) " >&6
1593 eval "$3=\$ac_header_compiler"
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597 $as_echo "$ac_res" >&6; }
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 } # ac_fn_c_check_header_mongrel
1603 # ac_fn_c_try_run LINENO
1604 # ----------------------
1605 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1606 # that executables *can* be run.
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 if { { ac_try="$ac_link"
1612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1613 *) ac_try_echo
=$ac_try;;
1615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_link") 2>&5
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1621 { { case "(($ac_try" in
1622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_try") 2>&5
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; }; }; then :
1633 $as_echo "$as_me: program exited with status $ac_status" >&5
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5
1637 ac_retval=$ac_status
1639 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641 as_fn_set_status $ac_retval
1645 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1646 # -------------------------------------------------------
1647 # Tests whether HEADER exists and can be compiled using the include files in
1648 # INCLUDES, setting the cache variable VAR accordingly.
1649 ac_fn_c_check_header_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653 $as_echo_n "checking for $2... " >&6; }
1654 if eval \${$3+:} false; then :
1655 $as_echo_n "(cached) " >&6
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1662 if ac_fn_c_try_compile "$LINENO"; then :
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 } # ac_fn_c_check_header_compile
1676 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1677 # -------------------------------------------
1678 # Tests whether TYPE exists after having included INCLUDES, setting cache
1679 # variable VAR accordingly.
1680 ac_fn_c_check_type ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 } # ac_fn_c_check_type
1730 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1731 # --------------------------------------------
1732 # Tries to find the compile-time value of EXPR in a program that includes
1733 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1735 ac_fn_c_compute_int ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 if test "$cross_compiling" = yes; then
1739 # Depending upon the size, compute the lo and hi bounds.
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1746 static int test_array [1 - 2 * !(($2) >= 0)];
1748 return test_array [0];
1754 if ac_fn_c_try_compile "$LINENO"; then :
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1763 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1765 return test_array [0];
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772 ac_hi=$ac_mid; break
1774 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1775 if test $ac_lo -le $ac_mid; then
1779 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1790 static int test_array [1 - 2 * !(($2) < 0)];
1792 return test_array [0];
1798 if ac_fn_c_try_compile "$LINENO"; then :
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1807 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1809 return test_array [0];
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816 ac_lo=$ac_mid; break
1818 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1819 if test $ac_mid -le $ac_hi; then
1823 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1833 # Binary search between lo and hi bounds.
1834 while test "x$ac_lo" != "x$ac_hi"; do
1835 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1842 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1844 return test_array [0];
1850 if ac_fn_c_try_compile "$LINENO"; then :
1853 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 static long int longval () { return $2; }
1866 static unsigned long int ulongval () { return $2; }
1873 FILE *f = fopen ("conftest.val", "w");
1878 long int i = longval ();
1881 fprintf (f, "%ld", i);
1885 unsigned long int i = ulongval ();
1888 fprintf (f, "%lu", i);
1890 /* Do not output a trailing newline, as this causes \r\n confusion
1891 on some platforms. */
1892 return ferror (f) || fclose (f) != 0;
1898 if ac_fn_c_try_run "$LINENO"; then :
1899 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1904 conftest.$ac_objext conftest.beam conftest.$ac_ext
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1911 } # ac_fn_c_compute_int
1913 # ac_fn_c_try_link LINENO
1914 # -----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded.
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext conftest$ac_exeext
1920 if { { ac_try="$ac_link"
1922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>conftest.err
1929 if test -s conftest.err
; then
1930 grep -v '^ *+' conftest.err
>conftest.er1
1931 cat conftest.er1
>&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest
$ac_exeext && {
1939 test "$cross_compiling" = yes ||
1940 test -x conftest
$ac_exeext
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1949 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1950 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1951 # interfere with the next link command; also delete a directory that is
1952 # left behind by Apple's compiler. We do this before executing the actions.
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1957 } # ac_fn_c_try_link
1958 cat >config.log
<<_ACEOF
1959 This file contains any messages produced by compilers while
1960 running configure, to aid debugging if configure makes a mistake.
1962 It was created by libdecnumber $as_me , which was
1963 generated by GNU Autoconf 2.69. Invocation command line was
1975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1976 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1977 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1978 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1979 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1982 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1984 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1985 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1987 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1988 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1989 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1990 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 $as_echo "PATH: $as_dir"
2015 # Keep a trace of the command line.
2016 # Strip out --no-create and --no-recursion so they do not pile up.
2017 # Strip out --silent because we don't want to record it for future runs.
2018 # Also quote any args containing shell meta-characters.
2019 # Make two passes to allow for proper duplicate-argument suppression.
2023 ac_must_keep_next
=false
2029 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2030 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2031 |
-silent |
--silent |
--silen |
--sile |
--sil)
2034 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2037 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2039 as_fn_append ac_configure_args1
" '$ac_arg'"
2040 if test $ac_must_keep_next = true
; then
2041 ac_must_keep_next
=false
# Got value, back to normal.
2044 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2045 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2046 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2047 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2048 case "$ac_configure_args0 " in
2049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2052 -* ) ac_must_keep_next
=true
;;
2055 as_fn_append ac_configure_args
" '$ac_arg'"
2060 { ac_configure_args0
=; unset ac_configure_args0
;}
2061 { ac_configure_args1
=; unset ac_configure_args1
;}
2063 # When interrupted or exit'd, cleanup temporary files, and complete
2064 # config.log. We remove comments because anyway the quotes in there
2065 # would cause problems or look ugly.
2066 # WARNING: Use '\'' to represent an apostrophe within the trap.
2067 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2068 trap 'exit_status=$?
2069 # Save into config.log some information that might help in debugging.
2073 $as_echo "## ---------------- ##
2074 ## Cache variables. ##
2075 ## ---------------- ##"
2077 # The following way of writing the cache mishandles newlines in values,
2079 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2080 eval ac_val=\$$ac_var
2084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2088 _ | IFS | as_nl) ;; #(
2089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2090 *) { eval $ac_var=; unset $ac_var;} ;;
2095 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2096 *${as_nl}ac_space=\ *)
2098 "s/'\''/'\''\\\\'\'''\''/g;
2099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109 $as_echo "## ----------------- ##
2110 ## Output variables. ##
2111 ## ----------------- ##"
2113 for ac_var in $ac_subst_vars
2115 eval ac_val=\$$ac_var
2117 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2119 $as_echo "$ac_var='\''$ac_val'\''"
2123 if test -n "$ac_subst_files"; then
2124 $as_echo "## ------------------- ##
2125 ## File substitutions. ##
2126 ## ------------------- ##"
2128 for ac_var
in $ac_subst_files
2130 eval ac_val
=\$
$ac_var
2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -s confdefs.h; then
2140 $as_echo "## ----------- ##
2147 test "$ac_signal" != 0 &&
2148 $as_echo "$as_me: caught signal $ac_signal"
2149 $as_echo "$as_me: exit $exit_status"
2151 rm -f core *.core core.conftest.* &&
2152 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2155 for ac_signal
in 1 2 13 15; do
2156 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2161 rm -f -r conftest
* confdefs.h
2163 $as_echo "/* confdefs.h */" > confdefs.h
2165 # Predefined preprocessor variables.
2167 cat >>confdefs.h
<<_ACEOF
2168 #define PACKAGE_NAME "$PACKAGE_NAME"
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_STRING "$PACKAGE_STRING"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_URL "$PACKAGE_URL"
2192 # Let the site file select an alternate cache file if it wants to.
2193 # Prefer an explicitly selected file to automatically selected ones.
2196 if test -n "$CONFIG_SITE"; then
2197 # We do not want a PATH search for config.site.
2198 case $CONFIG_SITE in #((
2199 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2200 */*) ac_site_file1
=$CONFIG_SITE;;
2201 *) ac_site_file1
=.
/$CONFIG_SITE;;
2203 elif test "x$prefix" != xNONE
; then
2204 ac_site_file1
=$prefix/share
/config.site
2205 ac_site_file2
=$prefix/etc
/config.site
2207 ac_site_file1
=$ac_default_prefix/share
/config.site
2208 ac_site_file2
=$ac_default_prefix/etc
/config.site
2210 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2212 test "x$ac_site_file" = xNONE
&& continue
2213 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2215 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2216 sed 's/^/| /' "$ac_site_file" >&5
2218 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2220 as_fn_error $?
"failed to load site script $ac_site_file
2221 See \`config.log' for more details" "$LINENO" 5; }
2225 if test -r "$cache_file"; then
2226 # Some versions of bash will fail to source /dev/null (special files
2227 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2228 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2230 $as_echo "$as_me: loading cache $cache_file" >&6;}
2232 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2233 *) .
"./$cache_file";;
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2238 $as_echo "$as_me: creating cache $cache_file" >&6;}
2242 # Check that the precious variables saved in the cache have kept the same
2244 ac_cache_corrupted
=false
2245 for ac_var
in $ac_precious_vars; do
2246 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2247 eval ac_new_set
=\
$ac_env_${ac_var}_set
2248 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2249 eval ac_new_val
=\
$ac_env_${ac_var}_value
2250 case $ac_old_set,$ac_new_set in
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2253 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2254 ac_cache_corrupted
=: ;;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2257 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2258 ac_cache_corrupted
=: ;;
2261 if test "x$ac_old_val" != "x$ac_new_val"; then
2262 # differences in whitespace do not lead to failure.
2263 ac_old_val_w
=`echo x $ac_old_val`
2264 ac_new_val_w
=`echo x $ac_new_val`
2265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2267 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2268 ac_cache_corrupted
=:
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2271 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2272 eval $ac_var=\
$ac_old_val
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2275 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2277 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2280 # Pass precious variables to config.status.
2281 if test "$ac_new_set" = set; then
2283 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2284 *) ac_arg
=$ac_var=$ac_new_val ;;
2286 case " $ac_configure_args " in
2287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2288 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2292 if $ac_cache_corrupted; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2296 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2299 ## -------------------- ##
2300 ## Main body of script. ##
2301 ## -------------------- ##
2304 ac_cpp
='$CPP $CPPFLAGS'
2305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2313 for ac_dir
in ..
"$srcdir"/..
; do
2314 if test -f "$ac_dir/install-sh"; then
2316 ac_install_sh
="$ac_aux_dir/install-sh -c"
2318 elif test -f "$ac_dir/install.sh"; then
2320 ac_install_sh
="$ac_aux_dir/install.sh -c"
2322 elif test -f "$ac_dir/shtool"; then
2324 ac_install_sh
="$ac_aux_dir/shtool install -c"
2328 if test -z "$ac_aux_dir"; then
2329 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2337 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2338 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2342 # Checks for programs.
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2344 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2346 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2347 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2348 $as_echo_n "(cached) " >&6
2350 cat >conftest.
make <<\_ACEOF
2353 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2355 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2356 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2358 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2360 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2364 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2366 $as_echo "yes" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2371 SET_MAKE
="MAKE=${MAKE-make}"
2375 ac_cpp
='$CPP $CPPFLAGS'
2376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2381 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_CC+:} false
; then :
2385 $as_echo_n "(cached) " >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC
="$CC" # Let the user override the test.
2390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir
=.
2395 for ac_exec_ext
in '' $ac_executable_extensions; do
2396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2397 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test -n "$CC"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2410 $as_echo "$CC" >&6; }
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2418 if test -z "$ac_cv_prog_CC"; then
2420 # Extract the first word of "gcc", so it can be a program name with args.
2421 set dummy gcc
; ac_word
=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$ac_ct_CC"; then
2428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_ac_ct_CC
="gcc"
2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2448 if test -n "$ac_ct_CC"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2450 $as_echo "$ac_ct_CC" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2456 if test "x$ac_ct_CC" = x
; then
2459 case $cross_compiling:$ac_tool_warned in
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2463 ac_tool_warned
=yes ;;
2471 if test -z "$CC"; then
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2474 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if ${ac_cv_prog_CC+:} false
; then :
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC
="$CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2490 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 if test -n "$CC"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2503 $as_echo "$CC" >&6; }
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2512 if test -z "$CC"; then
2513 # Extract the first word of "cc", so it can be a program name with args.
2514 set dummy cc
; ac_word
=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_CC+:} false
; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$CC"; then
2521 ac_cv_prog_CC
="$CC" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2532 ac_prog_rejected
=yes
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test $ac_prog_rejected = yes; then
2544 # We found a bogon in the path, so make sure we never use it.
2545 set dummy
$ac_cv_prog_CC
2547 if test $# != 0; then
2548 # We chose a different compiler from the bogus one.
2549 # However, it has the same basename, so the bogon will be chosen
2550 # first if we set CC to just the basename; use the full file name.
2552 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2558 if test -n "$CC"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2560 $as_echo "$CC" >&6; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2568 if test -z "$CC"; then
2569 if test -n "$ac_tool_prefix"; then
2570 for ac_prog
in cl.exe
2572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_CC+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC
="$CC" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2602 $as_echo "$CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2609 test -n "$CC" && break
2612 if test -z "$CC"; then
2614 for ac_prog
in cl.exe
2616 # Extract the first word of "$ac_prog", so it can be a program name with args.
2617 set dummy
$ac_prog; ac_word
=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$ac_ct_CC"; then
2624 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_ac_ct_CC
="$ac_prog"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2644 if test -n "$ac_ct_CC"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2646 $as_echo "$ac_ct_CC" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2653 test -n "$ac_ct_CC" && break
2656 if test "x$ac_ct_CC" = x
; then
2659 case $cross_compiling:$ac_tool_warned in
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2663 ac_tool_warned
=yes ;;
2672 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 as_fn_error $?
"no acceptable C compiler found in \$PATH
2675 See \`config.log' for more details" "$LINENO" 5; }
2677 # Provide some information about the compiler.
2678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2681 for ac_option
in --version -v -V -qversion; do
2682 { { ac_try
="$ac_compiler $ac_option >&5"
2684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2691 if test -s conftest.err; then
2693 ... rest of stderr output deleted ...
2694 10q' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2697 rm -f conftest.er1 conftest.err
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; }
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2713 ac_clean_files_save=$ac_clean_files
2714 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2715 # Try to create an executable without -o first, disregard a.out.
2716 # It will help us diagnose broken compilers, and finding out an intuition
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2719 $as_echo_n "checking whether the C compiler works... " >&6; }
2720 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2722 # The possible output files:
2723 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2726 for ac_file in $ac_files
2729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2730 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2735 if { { ac_try="$ac_link_default"
2737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link_default") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; then :
2746 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2747 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2748 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2749 # so that the user can short-circuit this test for compilers unknown to
2751 for ac_file
in $ac_files ''
2753 test -f "$ac_file" ||
continue
2755 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2758 # We found the default executable, but exeext='' is most
2762 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2764 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2766 # We set ac_cv_exeext here because the later test for it is not
2767 # safe: cross compilers may not add the suffix if given an `-o'
2768 # argument, so we may need to know it at that point already.
2769 # Even if this section looks crufty: it has the advantage of
2776 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2781 if test -z "$ac_file"; then :
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 $as_echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.
$ac_ext >&5
2787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2789 as_fn_error
77 "C compiler cannot create executables
2790 See \`config.log' for more details" "$LINENO" 5; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2793 $as_echo "yes" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2796 $as_echo_n "checking for C compiler default output file name... " >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2798 $as_echo "$ac_file" >&6; }
2799 ac_exeext
=$ac_cv_exeext
2801 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2802 ac_clean_files
=$ac_clean_files_save
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2804 $as_echo_n "checking for suffix of executables... " >&6; }
2805 if { { ac_try
="$ac_link"
2807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 $as_echo "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>&5
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; }; then :
2816 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2817 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2818 # work properly (i.e., refer to `conftest.exe'), while it won't with
2820 for ac_file
in conftest.exe conftest conftest.
*; do
2821 test -f "$ac_file" ||
continue
2823 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2824 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 rm -f conftest conftest
$ac_cv_exeext
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2837 $as_echo "$ac_cv_exeext" >&6; }
2839 rm -f conftest.
$ac_ext
2840 EXEEXT
=$ac_cv_exeext
2842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2848 FILE *f = fopen ("conftest.out", "w");
2849 return ferror (f) || fclose (f) != 0;
2855 ac_clean_files
="$ac_clean_files conftest.out"
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2859 $as_echo_n "checking whether we are cross compiling... " >&6; }
2860 if test "$cross_compiling" != yes; then
2861 { { ac_try
="$ac_link"
2863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_link") 2>&5
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }
2872 if { ac_try='./conftest$ac_cv_exeext'
2873 { { case "(($ac_try" in
2874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2875 *) ac_try_echo
=$ac_try;;
2877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_try") 2>&5
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; }; }; then
2885 if test "$cross_compiling" = maybe
; then
2888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 as_fn_error $?
"cannot run C compiled programs.
2891 If you meant to cross compile, use \`--host'.
2892 See \`config.log' for more details" "$LINENO" 5; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2897 $as_echo "$cross_compiling" >&6; }
2899 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2900 ac_clean_files
=$ac_clean_files_save
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2902 $as_echo_n "checking for suffix of object files... " >&6; }
2903 if ${ac_cv_objext+:} false
; then :
2904 $as_echo_n "(cached) " >&6
2906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2917 rm -f conftest.o conftest.obj
2918 if { { ac_try
="$ac_compile"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_compile") 2>&5
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; }; then :
2929 for ac_file in conftest.o conftest.obj conftest.*; do
2930 test -f "$ac_file" || continue;
2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2944 See \
`config.log' for more details" "$LINENO" 5; }
2946 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2949 $as_echo "$ac_cv_objext" >&6; }
2950 OBJEXT=$ac_cv_objext
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2954 if ${ac_cv_c_compiler_gnu+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2971 if ac_fn_c_try_compile "$LINENO"; then :
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2981 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2982 if test $ac_compiler_gnu = yes; then
2987 ac_test_CFLAGS=${CFLAGS+set}
2988 ac_save_CFLAGS=$CFLAGS
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2990 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2991 if ${ac_cv_prog_cc_g+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 ac_save_c_werror_flag=$ac_c_werror_flag
2995 ac_c_werror_flag=yes
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 if ac_fn_c_try_compile "$LINENO"; then :
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3024 if ac_fn_c_try_compile "$LINENO"; then :
3027 ac_c_werror_flag=$ac_save_c_werror_flag
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3040 if ac_fn_c_try_compile "$LINENO"; then :
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 ac_c_werror_flag=$ac_save_c_werror_flag
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3051 $as_echo "$ac_cv_prog_cc_g" >&6; }
3052 if test "$ac_test_CFLAGS" = set; then
3053 CFLAGS=$ac_save_CFLAGS
3054 elif test $ac_cv_prog_cc_g = yes; then
3055 if test "$GCC" = yes; then
3061 if test "$GCC" = yes; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3069 if ${ac_cv_prog_cc_c89+:} false; then :
3070 $as_echo_n "(cached) " >&6
3072 ac_cv_prog_cc_c89=no
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3080 struct buf { int x; };
3081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3082 static char *e (p, i)
3088 static char *f (char * (*g) (char **, int), char **p, ...)
3093 s = g (p, va_arg (v,int));
3098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3099 function prototypes and stuff, but not '\xHH' hex character constants.
3100 These don't provoke an error unfortunately, instead are silently treated
3101 as 'x'. The following induces an error, until -std is added to get
3102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3103 array size at least. It's necessary to write '\x00'==0 to get something
3104 that's true only with -std. */
3105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3108 inside strings and character constants. */
3110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3112 int test (int i, double x);
3113 struct s1 {int (*f) (int a);};
3114 struct s2 {int (*f) (double a);};
3115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3126 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3129 CC="$ac_save_CC $ac_arg"
3130 if ac_fn_c_try_compile "$LINENO"; then :
3131 ac_cv_prog_cc_c89=$ac_arg
3133 rm -f core conftest.err conftest.$ac_objext
3134 test "x$ac_cv_prog_cc_c89" != "xno" && break
3136 rm -f conftest.$ac_ext
3141 case "x$ac_cv_prog_cc_c89" in
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3144 $as_echo "none needed" >&6; } ;;
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3147 $as_echo "unsupported" >&6; } ;;
3149 CC="$CC $ac_cv_prog_cc_c89"
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3153 if test "x$ac_cv_prog_cc_c89" != xno; then :
3158 ac_cpp='$CPP $CPPFLAGS'
3159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163 if test -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_RANLIB+:} false; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$RANLIB"; then
3172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 RANLIB=$ac_cv_prog_RANLIB
3192 if test -n "$RANLIB"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3194 $as_echo "$RANLIB" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3202 if test -z "$ac_cv_prog_RANLIB"; then
3203 ac_ct_RANLIB=$RANLIB
3204 # Extract the first word of "ranlib", so it can be a program name with args.
3205 set dummy ranlib; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$ac_ct_RANLIB"; then
3212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_ac_ct_RANLIB="ranlib"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3232 if test -n "$ac_ct_RANLIB"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3234 $as_echo "$ac_ct_RANLIB" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3240 if test "x$ac_ct_RANLIB" = x; then
3243 case $cross_compiling:$ac_tool_warned in
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3249 RANLIB=$ac_ct_RANLIB
3252 RANLIB="$ac_cv_prog_RANLIB"
3255 if test -n "$ac_tool_prefix"; then
3256 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3257 set dummy ${ac_tool_prefix}ar; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_AR+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$AR"; then
3264 ac_cv_prog_AR="$AR" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_AR="${ac_tool_prefix}ar"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 if test -n "$AR"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3286 $as_echo "$AR" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3294 if test -z "$ac_cv_prog_AR"; then
3296 # Extract the first word of "ar", so it can be a program name with args.
3297 set dummy ar; ac_word=$2
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299 $as_echo_n "checking for $ac_word... " >&6; }
3300 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 if test -n "$ac_ct_AR"; then
3304 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 test -z "$as_dir" && as_dir=.
3311 for ac_exec_ext in '' $ac_executable_extensions; do
3312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3313 ac_cv_prog_ac_ct_AR="ar"
3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3324 if test -n "$ac_ct_AR"; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3326 $as_echo "$ac_ct_AR" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 $as_echo "no" >&6; }
3332 if test "x$ac_ct_AR" = x; then
3335 case $cross_compiling:$ac_tool_warned in
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3339 ac_tool_warned=yes ;;
3348 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3349 for ac_prog in aclocal
3351 # Extract the first word of "$ac_prog", so it can be a program name with args.
3352 set dummy $ac_prog; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if ${ac_cv_prog_ACLOCAL+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$ACLOCAL"; then
3359 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ACLOCAL="$ac_prog"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 ACLOCAL=$ac_cv_prog_ACLOCAL
3379 if test -n "$ACLOCAL"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3381 $as_echo "$ACLOCAL" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3388 test -n "$ACLOCAL" && break
3390 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3392 for ac_prog in autoconf
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy $ac_prog; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if ${ac_cv_prog_AUTOCONF+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 if test -n "$AUTOCONF"; then
3402 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3411 ac_cv_prog_AUTOCONF="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 AUTOCONF=$ac_cv_prog_AUTOCONF
3422 if test -n "$AUTOCONF"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3424 $as_echo "$AUTOCONF" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3431 test -n "$AUTOCONF" && break
3433 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3435 for ac_prog in autoheader
3437 # Extract the first word of "$ac_prog", so it can be a program name with args.
3438 set dummy $ac_prog; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if ${ac_cv_prog_AUTOHEADER+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 if test -n "$AUTOHEADER"; then
3445 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_AUTOHEADER="$ac_prog"
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3465 if test -n "$AUTOHEADER"; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3467 $as_echo "$AUTOHEADER" >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3474 test -n "$AUTOHEADER" && break
3476 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3479 # Figure out what compiler warnings we can enable.
3480 # See config/warnings.m4 for details.
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 save_CFLAGS="$CFLAGS"
3491 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3492 -Wmissing-prototypes -Wold-style-definition \
3493 -Wmissing-format-attribute -Wcast-qual; do
3494 # Do the check with the no- prefix removed since gcc silently
3495 # accepts any -Wno-* option on purpose
3496 case $real_option in
3497 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3498 *) option=$real_option ;;
3500 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3503 $as_echo_n "checking whether $CC supports $option... " >&6; }
3504 if eval \${$as_acx_Woption+:} false; then :
3505 $as_echo_n "(cached) " >&6
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3519 if ac_fn_c_try_compile "$LINENO"; then :
3520 eval "$as_acx_Woption=yes"
3522 eval "$as_acx_Woption=no"
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 eval ac_res=\$$as_acx_Woption
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3529 $as_echo "$ac_res" >&6; }
3530 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3531 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3534 CFLAGS="$save_CFLAGS"
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 # Do the check with the no- prefix removed from the warning options
3550 # since gcc silently accepts any -Wno-* option on purpose
3551 if test "$GCC" = yes; then :
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
3553 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
3554 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 save_CFLAGS="$CFLAGS"
3558 CFLAGS="-pedantic -Wlong-long"
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3571 acx_cv_prog_cc_pedantic__Wlong_long=yes
3573 acx_cv_prog_cc_pedantic__Wlong_long=no
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576 CFLAGS="$save_CFLAGS"
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3579 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3580 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3581 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 save_CFLAGS="$CFLAGS"
3601 for real_option in -fno-lto; do
3602 # Do the check with the no- prefix removed since gcc silently
3603 # accepts any -Wno-* option on purpose
3604 case $real_option in
3605 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3606 *) option=$real_option ;;
3608 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3611 $as_echo_n "checking whether $CC supports $option... " >&6; }
3612 if eval \${$as_acx_Woption+:} false; then :
3613 $as_echo_n "(cached) " >&6
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3627 if ac_fn_c_try_compile "$LINENO"; then :
3628 eval "$as_acx_Woption=yes"
3630 eval "$as_acx_Woption=no"
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 eval ac_res=\$$as_acx_Woption
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3637 $as_echo "$ac_res" >&6; }
3638 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3639 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3642 CFLAGS="$save_CFLAGS"
3644 ac_cpp='$CPP $CPPFLAGS'
3645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 # Only enable with --enable-werror-always until existing warnings are
3654 ac_cpp='$CPP $CPPFLAGS'
3655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 # Check whether --enable-werror-always was given.
3661 if test "${enable_werror_always+set}" = set; then :
3662 enableval=$enable_werror_always;
3664 enable_werror_always=no
3667 if test $enable_werror_always = yes; then :
3668 WERROR="$WERROR${WERROR:+ }-Werror"
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 # Checks for header files.
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3686 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3687 # On Suns, sometimes $CPP names a directory.
3688 if test -n "$CPP" && test -d "$CPP"; then
3691 if test -z "$CPP"; then
3692 if ${ac_cv_prog_CPP+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 # Double quotes because CPP needs to be expanded
3696 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3699 for ac_c_preproc_warn_flag in '' yes
3701 # Use a header file that comes with gcc, so configuring glibc
3702 # with a fresh cross-compiler works.
3703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3704 # <limits.h> exists even on freestanding compilers.
3705 # On the NeXT, cc -E runs the code through the compiler's parser,
3706 # not just through cpp. "Syntax error" is here to catch this case.
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3710 # include <limits.h>
3712 # include <assert.h>
3716 if ac_fn_c_try_cpp "$LINENO"; then :
3719 # Broken: fails on valid input.
3722 rm -f conftest.err conftest.i conftest.$ac_ext
3724 # OK, works on sane cases. Now check whether nonexistent headers
3725 # can be detected and how.
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3728 #include <ac_nonexistent.h>
3730 if ac_fn_c_try_cpp "$LINENO"; then :
3731 # Broken: success on invalid input.
3734 # Passes both tests.
3738 rm -f conftest.err conftest.i conftest.$ac_ext
3741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3742 rm -f conftest.i conftest.err conftest.
$ac_ext
3743 if $ac_preproc_ok; then :
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3756 $as_echo "$CPP" >&6; }
3758 for ac_c_preproc_warn_flag
in '' yes
3760 # Use a header file that comes with gcc, so configuring glibc
3761 # with a fresh cross-compiler works.
3762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3763 # <limits.h> exists even on freestanding compilers.
3764 # On the NeXT, cc -E runs the code through the compiler's parser,
3765 # not just through cpp. "Syntax error" is here to catch this case.
3766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3769 # include <limits.h>
3771 # include <assert.h>
3775 if ac_fn_c_try_cpp
"$LINENO"; then :
3778 # Broken: fails on valid input.
3781 rm -f conftest.err conftest.i conftest.
$ac_ext
3783 # OK, works on sane cases. Now check whether nonexistent headers
3784 # can be detected and how.
3785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3789 if ac_fn_c_try_cpp
"$LINENO"; then :
3790 # Broken: success on invalid input.
3793 # Passes both tests.
3797 rm -f conftest.err conftest.i conftest.
$ac_ext
3800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801 rm -f conftest.i conftest.err conftest.
$ac_ext
3802 if $ac_preproc_ok; then :
3805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3808 See \`config.log' for more details" "$LINENO" 5; }
3812 ac_cpp
='$CPP $CPPFLAGS'
3813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3819 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3820 if ${ac_cv_path_GREP+:} false
; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -z "$GREP"; then
3824 ac_path_GREP_found
=false
3825 # Loop through the user's path and test for each of PROGNAME-LIST
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_prog
in grep ggrep
; do
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3834 as_fn_executable_p
"$ac_path_GREP" ||
continue
3835 # Check for GNU ac_path_GREP and select it if it is found.
3836 # Check for GNU $ac_path_GREP
3837 case `"$ac_path_GREP" --version 2>&1` in
3839 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3842 $as_echo_n 0123456789 >"conftest.in"
3845 cat "conftest.in" "conftest.in" >"conftest.tmp"
3846 mv "conftest.tmp" "conftest.in"
3847 cp "conftest.in" "conftest.nl"
3848 $as_echo 'GREP' >> "conftest.nl"
3849 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3850 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3851 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3852 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3853 # Best one so far, save it but keep looking for a better one
3854 ac_cv_path_GREP
="$ac_path_GREP"
3855 ac_path_GREP_max
=$ac_count
3857 # 10*(2^10) chars as input seems more than enough
3858 test $ac_count -gt 10 && break
3860 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3863 $ac_path_GREP_found && break 3
3868 if test -z "$ac_cv_path_GREP"; then
3869 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3872 ac_cv_path_GREP
=$GREP
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3877 $as_echo "$ac_cv_path_GREP" >&6; }
3878 GREP
="$ac_cv_path_GREP"
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3882 $as_echo_n "checking for egrep... " >&6; }
3883 if ${ac_cv_path_EGREP+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3887 then ac_cv_path_EGREP
="$GREP -E"
3889 if test -z "$EGREP"; then
3890 ac_path_EGREP_found
=false
3891 # Loop through the user's path and test for each of PROGNAME-LIST
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3893 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_prog
in egrep; do
3898 for ac_exec_ext
in '' $ac_executable_extensions; do
3899 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3900 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3901 # Check for GNU ac_path_EGREP and select it if it is found.
3902 # Check for GNU $ac_path_EGREP
3903 case `"$ac_path_EGREP" --version 2>&1` in
3905 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3908 $as_echo_n 0123456789 >"conftest.in"
3911 cat "conftest.in" "conftest.in" >"conftest.tmp"
3912 mv "conftest.tmp" "conftest.in"
3913 cp "conftest.in" "conftest.nl"
3914 $as_echo 'EGREP' >> "conftest.nl"
3915 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3916 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3917 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3918 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3919 # Best one so far, save it but keep looking for a better one
3920 ac_cv_path_EGREP
="$ac_path_EGREP"
3921 ac_path_EGREP_max
=$ac_count
3923 # 10*(2^10) chars as input seems more than enough
3924 test $ac_count -gt 10 && break
3926 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3929 $ac_path_EGREP_found && break 3
3934 if test -z "$ac_cv_path_EGREP"; then
3935 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3938 ac_cv_path_EGREP
=$EGREP
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3944 $as_echo "$ac_cv_path_EGREP" >&6; }
3945 EGREP
="$ac_cv_path_EGREP"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3949 $as_echo_n "checking for ANSI C header files... " >&6; }
3950 if ${ac_cv_header_stdc+:} false
; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3968 if ac_fn_c_try_compile
"$LINENO"; then :
3969 ac_cv_header_stdc
=yes
3971 ac_cv_header_stdc
=no
3973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3975 if test $ac_cv_header_stdc = yes; then
3976 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3983 $EGREP "memchr" >/dev
/null
2>&1; then :
3986 ac_cv_header_stdc
=no
3992 if test $ac_cv_header_stdc = yes; then
3993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4000 $EGREP "free" >/dev
/null
2>&1; then :
4003 ac_cv_header_stdc
=no
4009 if test $ac_cv_header_stdc = yes; then
4010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4011 if test "$cross_compiling" = yes; then :
4014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4018 #if ((' ' & 0x0FF) == 0x020)
4019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4022 # define ISLOWER(c) \
4023 (('a' <= (c) && (c) <= 'i') \
4024 || ('j' <= (c) && (c) <= 'r') \
4025 || ('s' <= (c) && (c) <= 'z'))
4026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4034 for (i = 0; i < 256; i++)
4035 if (XOR (islower (i), ISLOWER (i))
4036 || toupper (i) != TOUPPER (i))
4041 if ac_fn_c_try_run
"$LINENO"; then :
4044 ac_cv_header_stdc
=no
4046 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4047 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4053 $as_echo "$ac_cv_header_stdc" >&6; }
4054 if test $ac_cv_header_stdc = yes; then
4056 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4061 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4062 inttypes.h stdint.h unistd.h
4064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4065 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4067 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4068 cat >>confdefs.h
<<_ACEOF
4069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4077 for ac_header
in ctype.h stddef.h string.h stdio.h
4079 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4080 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4081 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4082 cat >>confdefs.h
<<_ACEOF
4083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4092 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
4094 acx_cv_header_stdint
=stddef.h
4095 acx_cv_header_stdint_kind
="(already complete)"
4096 for i
in stdint.h
$inttype_headers; do
4097 unset ac_cv_type_uintptr_t
4098 unset ac_cv_type_uintmax_t
4099 unset ac_cv_type_int_least32_t
4100 unset ac_cv_type_int_fast32_t
4101 unset ac_cv_type_uint64_t
4102 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
4103 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
4106 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
4107 acx_cv_header_stdint
=$i
4112 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4115 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4118 acx_cv_header_stdint_kind
="(mostly complete)"
4121 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
4124 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
4127 acx_cv_header_stdint_kind
="(mostly complete)"
4130 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
4133 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
4136 acx_cv_header_stdint_kind
="(mostly complete)"
4139 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4142 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4145 acx_cv_header_stdint_kind
="(lacks uint64_t)"
4150 if test "$acx_cv_header_stdint" = stddef.h
; then
4151 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
4152 for i
in stdint.h
$inttype_headers; do
4153 unset ac_cv_type_uintptr_t
4154 unset ac_cv_type_uint32_t
4155 unset ac_cv_type_uint64_t
4156 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
4157 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
4160 if test "x$ac_cv_type_uint32_t" = xyes
; then :
4161 acx_cv_header_stdint
=$i
4166 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4169 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4173 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4176 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4183 if test "$acx_cv_header_stdint" = stddef.h
; then
4184 acx_cv_header_stdint_kind
="(u_intXX_t style)"
4185 for i
in sys
/types.h
$inttype_headers; do
4186 unset ac_cv_type_u_int32_t
4187 unset ac_cv_type_u_int64_t
4188 $as_echo_n "looking for u_intXX_t types in $i, " >&6
4189 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
4192 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
4193 acx_cv_header_stdint
=$i
4198 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
4201 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
4208 if test "$acx_cv_header_stdint" = stddef.h
; then
4209 acx_cv_header_stdint_kind
="(using manual detection)"
4212 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4213 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4214 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4215 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4216 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4218 # ----------------- Summarize what we found so far
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4221 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4223 case `$as_basename -- gstdint.h ||
4224 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4225 Xgstdint.h : 'X\(//\)$' \| \
4226 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4227 $as_echo X/gstdint.h |
4228 sed '/^.*\/\([^/][^/]*\)\/*$/{
4241 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4242 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4243 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4244 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4249 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4251 # ----------------- done included file, check C basic types --------
4253 # Lacking an uintptr_t? Test size of void *
4254 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4255 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
4256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4258 # This bug is HP SR number 8606223364.
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4260 $as_echo_n "checking size of void *... " >&6; }
4261 if ${ac_cv_sizeof_void_p+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4264 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4267 if test "$ac_cv_type_void_p" = yes; then
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4270 as_fn_error
77 "cannot compute sizeof (void *)
4271 See \`config.log' for more details" "$LINENO" 5; }
4273 ac_cv_sizeof_void_p
=0
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4279 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4283 cat >>confdefs.h
<<_ACEOF
4284 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4290 # Lacking an uint64_t? Test size of long
4291 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4292 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
4293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4295 # This bug is HP SR number 8606223364.
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4297 $as_echo_n "checking size of long... " >&6; }
4298 if ${ac_cv_sizeof_long+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4304 if test "$ac_cv_type_long" = yes; then
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error
77 "cannot compute sizeof (long)
4308 See \`config.log' for more details" "$LINENO" 5; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4316 $as_echo "$ac_cv_sizeof_long" >&6; }
4320 cat >>confdefs.h
<<_ACEOF
4321 #define SIZEOF_LONG $ac_cv_sizeof_long
4327 if test $acx_cv_header_stdint = stddef.h
; then
4328 # Lacking a good header? Test size of everything and deduce all types.
4329 # The cast to long int works around a bug in the HP C Compiler
4330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4332 # This bug is HP SR number 8606223364.
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4334 $as_echo_n "checking size of int... " >&6; }
4335 if ${ac_cv_sizeof_int+:} false
; then :
4336 $as_echo_n "(cached) " >&6
4338 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4341 if test "$ac_cv_type_int" = yes; then
4342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4344 as_fn_error
77 "cannot compute sizeof (int)
4345 See \`config.log' for more details" "$LINENO" 5; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4353 $as_echo "$ac_cv_sizeof_int" >&6; }
4357 cat >>confdefs.h
<<_ACEOF
4358 #define SIZEOF_INT $ac_cv_sizeof_int
4362 # The cast to long int works around a bug in the HP C Compiler
4363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4365 # This bug is HP SR number 8606223364.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4367 $as_echo_n "checking size of short... " >&6; }
4368 if ${ac_cv_sizeof_short+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4374 if test "$ac_cv_type_short" = yes; then
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 as_fn_error
77 "cannot compute sizeof (short)
4378 See \`config.log' for more details" "$LINENO" 5; }
4380 ac_cv_sizeof_short
=0
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4386 $as_echo "$ac_cv_sizeof_short" >&6; }
4390 cat >>confdefs.h
<<_ACEOF
4391 #define SIZEOF_SHORT $ac_cv_sizeof_short
4395 # The cast to long int works around a bug in the HP C Compiler
4396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4398 # This bug is HP SR number 8606223364.
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4400 $as_echo_n "checking size of char... " >&6; }
4401 if ${ac_cv_sizeof_char+:} false
; then :
4402 $as_echo_n "(cached) " >&6
4404 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4407 if test "$ac_cv_type_char" = yes; then
4408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4410 as_fn_error
77 "cannot compute sizeof (char)
4411 See \`config.log' for more details" "$LINENO" 5; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4419 $as_echo "$ac_cv_sizeof_char" >&6; }
4423 cat >>confdefs.h
<<_ACEOF
4424 #define SIZEOF_CHAR $ac_cv_sizeof_char
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4430 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4431 case "$ac_cv_sizeof_char" in
4432 1) acx_cv_type_int8_t
=char
;;
4433 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4436 $as_echo "$acx_cv_type_int8_t" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4439 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4440 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4441 2:*) acx_cv_type_int16_t
=int
;;
4442 *:2) acx_cv_type_int16_t
=short
;;
4443 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4446 $as_echo "$acx_cv_type_int16_t" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4449 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4450 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4451 4:*) acx_cv_type_int32_t
=int
;;
4452 *:4) acx_cv_type_int32_t
=long
;;
4453 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4456 $as_echo "$acx_cv_type_int32_t" >&6; }
4459 # These tests are here to make the output prettier
4461 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4462 case "$ac_cv_sizeof_long" in
4463 8) acx_cv_type_int64_t
=long
;;
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4466 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4468 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4471 # Now we can use the above types
4473 if test "$ac_cv_type_uintptr_t" != yes; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4475 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4476 case $ac_cv_sizeof_void_p in
4477 2) acx_cv_type_intptr_t
=int16_t
;;
4478 4) acx_cv_type_intptr_t
=int32_t
;;
4479 8) acx_cv_type_intptr_t
=int64_t
;;
4480 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4483 $as_echo "$acx_cv_type_intptr_t" >&6; }
4486 # ----------------- done all checks, emit header -------------
4487 ac_config_commands
="$ac_config_commands gstdint.h"
4492 # Checks for typedefs, structures, and compiler characteristics.
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4494 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4495 if ${ac_cv_c_const+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4506 /* Ultrix mips cc rejects this sort of thing. */
4507 typedef int charset[2];
4508 const charset cs = { 0, 0 };
4509 /* SunOS 4.1.1 cc rejects this. */
4510 char const *const *pcpcc;
4512 /* NEC SVR4.0.2 mips cc rejects this. */
4513 struct point {int x, y;};
4514 static struct point const zero = {0,0};
4515 /* AIX XL C 1.02.0.0 rejects this.
4516 It does not let you subtract one const X* pointer from another in
4517 an arm of an if-expression whose if-part is not a constant
4519 const char *g = "string";
4520 pcpcc = &g + (g ? g-g : 0);
4521 /* HPUX 7.0 cc rejects these. */
4523 ppc = (char**) pcpcc;
4524 pcpcc = (char const *const *) ppc;
4525 { /* SCO 3.2v4 cc rejects this sort of thing. */
4528 char const *s = 0 ? (char *) 0 : (char const *) 0;
4533 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4535 const int *foo = &x[0];
4538 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4539 typedef const int *iptr;
4543 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4544 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4545 struct s { int j; const int *ap[3]; } bx;
4546 struct s *b = &bx; b->j = 5;
4548 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4552 return !cs[0] && !zero.x;
4559 if ac_fn_c_try_compile
"$LINENO"; then :
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4567 $as_echo "$ac_cv_c_const" >&6; }
4568 if test $ac_cv_c_const = no
; then
4570 $as_echo "#define const /**/" >>confdefs.h
4574 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4575 if test "x$ac_cv_type_off_t" = xyes
; then :
4579 cat >>confdefs.h
<<_ACEOF
4580 #define off_t long int
4585 # The cast to long int works around a bug in the HP C Compiler
4586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4588 # This bug is HP SR number 8606223364.
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4590 $as_echo_n "checking size of int... " >&6; }
4591 if ${ac_cv_sizeof_int+:} false
; then :
4592 $as_echo_n "(cached) " >&6
4594 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4597 if test "$ac_cv_type_int" = yes; then
4598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4600 as_fn_error
77 "cannot compute sizeof (int)
4601 See \`config.log' for more details" "$LINENO" 5; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4609 $as_echo "$ac_cv_sizeof_int" >&6; }
4613 cat >>confdefs.h
<<_ACEOF
4614 #define SIZEOF_INT $ac_cv_sizeof_int
4618 # The cast to long int works around a bug in the HP C Compiler
4619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4621 # This bug is HP SR number 8606223364.
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4623 $as_echo_n "checking size of long... " >&6; }
4624 if ${ac_cv_sizeof_long+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4630 if test "$ac_cv_type_long" = yes; then
4631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4633 as_fn_error
77 "cannot compute sizeof (long)
4634 See \`config.log' for more details" "$LINENO" 5; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4642 $as_echo "$ac_cv_sizeof_long" >&6; }
4646 cat >>confdefs.h
<<_ACEOF
4647 #define SIZEOF_LONG $ac_cv_sizeof_long
4652 # Checks for library functions.
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4654 $as_echo_n "checking for ANSI C header files... " >&6; }
4655 if ${ac_cv_header_stdc+:} false
; then :
4656 $as_echo_n "(cached) " >&6
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4673 if ac_fn_c_try_compile
"$LINENO"; then :
4674 ac_cv_header_stdc
=yes
4676 ac_cv_header_stdc
=no
4678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4680 if test $ac_cv_header_stdc = yes; then
4681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4688 $EGREP "memchr" >/dev
/null
2>&1; then :
4691 ac_cv_header_stdc
=no
4697 if test $ac_cv_header_stdc = yes; then
4698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4705 $EGREP "free" >/dev
/null
2>&1; then :
4708 ac_cv_header_stdc
=no
4714 if test $ac_cv_header_stdc = yes; then
4715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4716 if test "$cross_compiling" = yes; then :
4719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4723 #if ((' ' & 0x0FF) == 0x020)
4724 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4725 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4727 # define ISLOWER(c) \
4728 (('a' <= (c) && (c) <= 'i') \
4729 || ('j' <= (c) && (c) <= 'r') \
4730 || ('s' <= (c) && (c) <= 'z'))
4731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4739 for (i = 0; i < 256; i++)
4740 if (XOR (islower (i), ISLOWER (i))
4741 || toupper (i) != TOUPPER (i))
4746 if ac_fn_c_try_run
"$LINENO"; then :
4749 ac_cv_header_stdc
=no
4751 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4752 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4758 $as_echo "$ac_cv_header_stdc" >&6; }
4759 if test $ac_cv_header_stdc = yes; then
4761 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4766 # Check whether --enable-maintainer-mode was given.
4767 if test "${enable_maintainer_mode+set}" = set; then :
4768 enableval
=$enable_maintainer_mode;
4770 enable_maintainer_mode
=no
4774 if test "x$enable_maintainer_mode" = xno
; then
4781 # Make sure we can run config.sub.
4782 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4783 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4786 $as_echo_n "checking build system type... " >&6; }
4787 if ${ac_cv_build+:} false
; then :
4788 $as_echo_n "(cached) " >&6
4790 ac_build_alias
=$build_alias
4791 test "x$ac_build_alias" = x
&&
4792 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4793 test "x$ac_build_alias" = x
&&
4794 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4795 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4796 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4800 $as_echo "$ac_cv_build" >&6; }
4801 case $ac_cv_build in
4803 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4806 ac_save_IFS
=$IFS; IFS
='-'
4812 # Remember, the first character of IFS is used to create $*,
4813 # except with old shells:
4816 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4820 $as_echo_n "checking host system type... " >&6; }
4821 if ${ac_cv_host+:} false
; then :
4822 $as_echo_n "(cached) " >&6
4824 if test "x$host_alias" = x
; then
4825 ac_cv_host
=$ac_cv_build
4827 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4828 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4833 $as_echo "$ac_cv_host" >&6; }
4836 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4839 ac_save_IFS
=$IFS; IFS
='-'
4845 # Remember, the first character of IFS is used to create $*,
4846 # except with old shells:
4849 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4853 $as_echo_n "checking target system type... " >&6; }
4854 if ${ac_cv_target+:} false
; then :
4855 $as_echo_n "(cached) " >&6
4857 if test "x$target_alias" = x
; then
4858 ac_cv_target
=$ac_cv_host
4860 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4861 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4866 $as_echo "$ac_cv_target" >&6; }
4867 case $ac_cv_target in
4869 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4871 target
=$ac_cv_target
4872 ac_save_IFS
=$IFS; IFS
='-'
4878 # Remember, the first character of IFS is used to create $*,
4879 # except with old shells:
4882 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4885 # The aliases save the names the user supplied, while $host etc.
4886 # will get canonicalized.
4887 test -n "$target_alias" &&
4888 test "$program_prefix$program_suffix$program_transform_name" = \
4890 program_prefix
=${target_alias}-
4892 # Default decimal format
4893 # If you change the defaults here, be sure to change them in the GCC directory also
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4895 $as_echo_n "checking for decimal floating point... " >&6; }
4898 # Check whether --enable-decimal-float was given.
4899 if test "${enable_decimal_float+set}" = set; then :
4900 enableval
=$enable_decimal_float;
4901 case $enable_decimal_float in
4902 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4903 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4904 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4911 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4912 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4913 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4914 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4915 enable_decimal_float
=yes
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4919 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4920 enable_decimal_float
=no
4927 # x86's use BID format instead of DPD
4928 case x
$enable_decimal_float in
4931 aarch64
* | i?
86*-*-* | x86_64
*-*-*)
4932 enable_decimal_float
=bid
4935 enable_decimal_float
=dpd
4938 default_decimal_float
=$enable_decimal_float
4941 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4942 # dependency on libdecnumber.
4943 default_decimal_float
=dpd
4950 # Use default_decimal_float for dependency.
4951 enable_decimal_float
=$default_decimal_float
4953 # If BID is being used, additional objects should be linked in.
4954 if test x
$enable_decimal_float = xbid
; then
4955 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4961 $as_echo "$enable_decimal_float" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4966 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4967 if ${ac_cv_c_bigendian+:} false
; then :
4968 $as_echo_n "(cached) " >&6
4970 ac_cv_c_bigendian
=unknown
4971 # See if we're dealing with a universal compiler.
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974 #ifndef __APPLE_CC__
4975 not a universal capable compiler
4980 if ac_fn_c_try_compile
"$LINENO"; then :
4982 # Check for potential -arch flags. It is not universal unless
4983 # there are at least two -arch flags with different values.
4986 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4987 if test -n "$ac_prev"; then
4989 i?
86 | x86_64 | ppc | ppc64
)
4990 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4993 ac_cv_c_bigendian
=universal
4999 elif test "x$ac_word" = "x-arch"; then
5004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5005 if test $ac_cv_c_bigendian = unknown
; then
5006 # See if sys/param.h defines the BYTE_ORDER macro.
5007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5009 #include <sys/types.h>
5010 #include <sys/param.h>
5015 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5016 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5025 if ac_fn_c_try_compile
"$LINENO"; then :
5026 # It does; now see whether it defined to BIG_ENDIAN or not.
5027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <sys/types.h>
5030 #include <sys/param.h>
5035 #if BYTE_ORDER != BIG_ENDIAN
5043 if ac_fn_c_try_compile
"$LINENO"; then :
5044 ac_cv_c_bigendian
=yes
5046 ac_cv_c_bigendian
=no
5048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5052 if test $ac_cv_c_bigendian = unknown
; then
5053 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5061 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5069 if ac_fn_c_try_compile
"$LINENO"; then :
5070 # It does; now see whether it defined to _BIG_ENDIAN or not.
5071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5086 if ac_fn_c_try_compile
"$LINENO"; then :
5087 ac_cv_c_bigendian
=yes
5089 ac_cv_c_bigendian
=no
5091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 if test $ac_cv_c_bigendian = unknown
; then
5096 # Compile a test program.
5097 if test "$cross_compiling" = yes; then :
5098 # Try to guess by grepping values from an object file.
5099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5101 short int ascii_mm[] =
5102 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5103 short int ascii_ii[] =
5104 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5105 int use_ascii (int i) {
5106 return ascii_mm[i] + ascii_ii[i];
5108 short int ebcdic_ii[] =
5109 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5110 short int ebcdic_mm[] =
5111 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5112 int use_ebcdic (int i) {
5113 return ebcdic_mm[i] + ebcdic_ii[i];
5120 return use_ascii (foo) == use_ebcdic (foo);
5125 if ac_fn_c_try_compile
"$LINENO"; then :
5126 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5127 ac_cv_c_bigendian
=yes
5129 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5130 if test "$ac_cv_c_bigendian" = unknown
; then
5131 ac_cv_c_bigendian
=no
5133 # finding both strings is unlikely to happen, but who knows?
5134 ac_cv_c_bigendian
=unknown
5138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5142 $ac_includes_default
5147 /* Are we little or big endian? From Harbison&Steele. */
5151 char c[sizeof (long int)];
5154 return u.c[sizeof (long int) - 1] == 1;
5160 if ac_fn_c_try_run
"$LINENO"; then :
5161 ac_cv_c_bigendian
=no
5163 ac_cv_c_bigendian
=yes
5165 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5166 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5172 $as_echo "$ac_cv_c_bigendian" >&6; }
5173 case $ac_cv_c_bigendian in #(
5175 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5181 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5185 as_fn_error $?
"unknown endianness
5186 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5190 # Enable --enable-host-shared.
5191 # Check whether --enable-host-shared was given.
5192 if test "${enable_host_shared+set}" = set; then :
5193 enableval
=$enable_host_shared;
5198 # Enable --enable-host-pie.
5199 # Check whether --enable-host-pie was given.
5200 if test "${enable_host_pie+set}" = set; then :
5201 enableval
=$enable_host_pie;
5206 if test x
$enable_host_shared = xyes
; then
5208 elif test x
$enable_host_pie = xyes
; then
5216 # Enable Intel CET on Intel CET enabled host if jit is enabled.
5217 # Check whether --enable-cet was given.
5218 if test "${enable_cet+set}" = set; then :
5219 enableval
=$enable_cet;
5220 case "$enableval" in
5222 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5231 $as_echo_n "checking for CET support... " >&6; }
5234 i
[34567]86-*-linux* | x86_64-
*-linux*)
5236 cet_save_CFLAGS
="$CFLAGS"
5237 CFLAGS
="$CFLAGS -fcf-protection"
5238 case "$enable_cet" in
5240 # Check if target supports multi-byte NOPs
5241 # and if compiler and assembler support CET.
5242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5249 #if !defined(__SSE2__)
5250 #error target does not support multi-byte NOPs
5259 if ac_fn_c_try_compile
"$LINENO"; then :
5264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 # Check if compiler and assembler support CET.
5268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5279 if ac_fn_c_try_compile
"$LINENO"; then :
5284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5285 if test $support_cet = "no"; then
5286 if test x
$enable_bootstrap != xno \
5287 && test -z "${with_build_subdir}" \
5288 && (test ! -f ..
/stage_current \
5289 ||
test `cat ../stage_current` != "stage1"); then
5290 # Require CET support only for the final GCC build.
5291 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
5293 # Don't enable CET without CET support for non-bootstrap
5294 # build, in stage1 nor for build support.
5300 CFLAGS
="$cet_save_CFLAGS"
5308 cet_save_CFLAGS
="$CFLAGS"
5309 CFLAGS
="$CFLAGS -fcf-protection=none"
5310 cet_save_LDFLAGS
="$LDFLAGS"
5311 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
5312 if test x
$may_have_cet = xyes
; then
5313 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
5314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5325 if ac_fn_c_try_link
"$LINENO"; then :
5330 rm -f core conftest.err conftest.
$ac_objext \
5331 conftest
$ac_exeext conftest.
$ac_ext
5334 if test x
$may_have_cet = xyes
; then
5335 if test x
$cross_compiling = xno
; then
5336 if test "$cross_compiling" = yes; then :
5337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5339 as_fn_error $?
"cannot run test program while cross compiling
5340 See \`config.log' for more details" "$LINENO" 5; }
5342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5353 if ac_fn_c_try_run
"$LINENO"; then :
5354 have_multi_byte_nop
=yes
5356 have_multi_byte_nop
=no
5358 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5359 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5363 if test x
$have_multi_byte_nop = xyes
; then
5364 if test "$cross_compiling" = yes; then :
5365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5367 as_fn_error $?
"cannot run test program while cross compiling
5368 See \`config.log' for more details" "$LINENO" 5; }
5370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5379 __attribute__ ((noinline, noclone))
5380 xxx (void (*f) (void))
5386 __attribute__ ((noinline, noclone))
5400 if ac_fn_c_try_run
"$LINENO"; then :
5405 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5406 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5410 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
5411 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
5415 # Enable CET in cross compiler if possible so that it will run on both
5416 # CET and non-CET hosts.
5419 if test x
$enable_cet = xyes
; then
5420 CET_HOST_FLAGS
="-fcf-protection"
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422 $as_echo "yes" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5427 CFLAGS
="$cet_save_CFLAGS"
5428 LDFLAGS
="$cet_save_LDFLAGS"
5430 case x
$enable_languages in
5442 ac_config_headers
="$ac_config_headers config.h:config.in"
5444 ac_config_files
="$ac_config_files Makefile"
5446 cat >confcache
<<\_ACEOF
5447 # This file is a shell script that caches the results of configure
5448 # tests run on this system so they can be shared between configure
5449 # scripts and configure runs, see configure's option --config-cache.
5450 # It is not useful on other systems. If it contains results you don't
5451 # want to keep, you may remove or edit it.
5453 # config.status only pays attention to the cache file if you give it
5454 # the --recheck option to rerun configure.
5456 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5457 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5462 # The following way of writing the cache mishandles newlines in values,
5463 # but we know of no workaround that is simple, portable, and efficient.
5464 # So, we kill variables containing newlines.
5465 # Ultrix sh set writes to stderr and can't be redirected directly,
5466 # and sets the high bit in the cache file unless we assign to the vars.
5468 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5469 eval ac_val
=\$
$ac_var
5473 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5474 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5477 _ | IFS | as_nl
) ;; #(
5478 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5479 *) { eval $ac_var=; unset $ac_var;} ;;
5485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5486 *${as_nl}ac_space
=\
*)
5487 # `set' does not quote correctly, so add quotes: double-quote
5488 # substitution turns \\\\ into \\, and sed turns \\ into \.
5491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5494 # `set' quotes correctly as required by POSIX, so do not add quotes.
5495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5508 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5509 if test -w "$cache_file"; then
5510 if test "x$cache_file" != "x/dev/null"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5512 $as_echo "$as_me: updating cache $cache_file" >&6;}
5513 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5514 cat confcache
>"$cache_file"
5516 case $cache_file in #(
5518 mv -f confcache
"$cache_file"$$
&&
5519 mv -f "$cache_file"$$
"$cache_file" ;; #(
5521 mv -f confcache
"$cache_file" ;;
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5533 # Let make expand exec_prefix.
5534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5536 DEFS
=-DHAVE_CONFIG_H
5541 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5542 # 1. Remove the extension, and $U if already installed.
5543 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5544 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5545 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5546 # will be set to the directory where LIBOBJS objects are built.
5547 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5548 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5552 LTLIBOBJS
=$ac_ltlibobjs
5557 : "${CONFIG_STATUS=./config.status}"
5559 ac_clean_files_save
=$ac_clean_files
5560 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5562 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5564 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5566 # Generated by $as_me.
5567 # Run this file to recreate the current configuration.
5568 # Compiler output produced by configure, useful for debugging
5569 # configure, is in config.log if it exists.
5575 SHELL=\${CONFIG_SHELL-$SHELL}
5578 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5579 ## -------------------- ##
5580 ## M4sh Initialization. ##
5581 ## -------------------- ##
5583 # Be more Bourne compatible
5584 DUALCASE
=1; export DUALCASE
# for MKS sh
5585 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5588 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5589 # is contrary to our usage. Disable this feature.
5590 alias -g '${1+"$@"}'='"$@"'
5591 setopt NO_GLOB_SUBST
5593 case `(set -o) 2>/dev/null` in #(
5605 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5606 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5608 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5609 # Prefer a ksh shell builtin over an external printf program on Solaris,
5610 # but without wasting forks for bash or zsh.
5611 if test -z "$BASH_VERSION$ZSH_VERSION" \
5612 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5613 as_echo='print
-r --'
5614 as_echo_n='print
-rn --'
5615 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5616 as_echo='printf %s
\n'
5617 as_echo_n='printf %s
'
5619 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5620 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5621 as_echo_n='/usr
/ucb
/echo -n'
5623 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5624 as_echo_n_body='eval
5628 expr "X$arg" : "X\\(.*\\)$as_nl";
5629 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5631 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5633 export as_echo_n_body
5634 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5637 as_echo='sh
-c $as_echo_body as_echo
'
5640 # The user is always right.
5641 if test "${PATH_SEPARATOR+set}" != set; then
5643 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5644 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5651 # We need space, tab and new line, in precisely that order. Quoting is
5652 # there to prevent editors from complaining about space-tab.
5653 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5654 # splitting by setting IFS to empty value.)
5657 # Find who we are. Look in the path if we contain no directory separator.
5660 *[\\/]* ) as_myself=$0 ;;
5661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir=.
5666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5672 # We did not find ourselves, most probably we were run as `sh COMMAND'
5673 # in which case we are not to be found in the path.
5674 if test "x$as_myself" = x
; then
5677 if test ! -f "$as_myself"; then
5678 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5682 # Unset variables that we do not need and which cause bugs (e.g. in
5683 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5684 # suppresses any "Segmentation fault" message there. '((' could
5685 # trigger a bug in pdksh 5.2.14.
5686 for as_var
in BASH_ENV ENV MAIL MAILPATH
5687 do eval test x\
${$as_var+set} = xset \
5688 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5701 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5704 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5705 # ----------------------------------------
5706 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5707 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5708 # script with STATUS, using 1 if that was 0.
5711 as_status
=$1; test $as_status -eq 0 && as_status
=1
5713 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5714 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5716 $as_echo "$as_me: error: $2" >&2
5717 as_fn_exit
$as_status
5721 # as_fn_set_status STATUS
5722 # -----------------------
5723 # Set $? to STATUS, without forking.
5727 } # as_fn_set_status
5731 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5741 # Portably unset VAR.
5744 { eval $1=; unset $1;}
5746 as_unset
=as_fn_unset
5747 # as_fn_append VAR VALUE
5748 # ----------------------
5749 # Append the text in VALUE to the end of the definition contained in VAR. Take
5750 # advantage of any shell optimizations that allow amortized linear growth over
5751 # repeated appends, instead of the typical quadratic growth present in naive
5753 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5754 eval 'as_fn_append ()
5765 # as_fn_arith ARG...
5766 # ------------------
5767 # Perform arithmetic evaluation on the ARGs, and store the result in the
5768 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5769 # must be portable across $(()) and expr.
5770 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5771 eval 'as_fn_arith ()
5778 as_val
=`expr "$@" || test $? -eq 1`
5783 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5784 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5790 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5791 as_basename
=basename
5796 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5802 as_me
=`$as_basename -- "$0" ||
5803 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5804 X"$0" : 'X\(//\)$' \| \
5805 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5807 sed '/^.*\/\([^/][^/]*\)\/*$/{
5821 # Avoid depending upon Character Ranges.
5822 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5823 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5824 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5825 as_cr_digits
='0123456789'
5826 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5828 ECHO_C
= ECHO_N
= ECHO_T
=
5829 case `echo -n x` in #(((((
5831 case `echo 'xy\c'` in
5832 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5834 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5841 rm -f conf$$ conf$$.exe conf$$.
file
5842 if test -d conf$$.dir
; then
5843 rm -f conf$$.dir
/conf$$.
file
5846 mkdir conf$$.dir
2>/dev
/null
5848 if (echo >conf$$.
file) 2>/dev
/null
; then
5849 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5851 # ... but there are two gotchas:
5852 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5853 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5854 # In both cases, we have to default to `cp -pR'.
5855 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5857 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5865 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5866 rmdir conf$$.dir
2>/dev
/null
5871 # Create "$as_dir" as a directory, including parents if necessary.
5876 -*) as_dir
=.
/$as_dir;;
5878 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5882 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5883 *) as_qdir
=$as_dir;;
5885 as_dirs
="'$as_qdir' $as_dirs"
5886 as_dir
=`$as_dirname -- "$as_dir" ||
5887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5888 X"$as_dir" : 'X\(//\)[^/]' \| \
5889 X"$as_dir" : 'X\(//\)$' \| \
5890 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5891 $as_echo X"$as_dir" |
5892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5909 test -d "$as_dir" && break
5911 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5912 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5916 if mkdir
-p .
2>/dev
/null
; then
5917 as_mkdir_p
='mkdir -p "$as_dir"'
5919 test -d .
/-p && rmdir .
/-p
5924 # as_fn_executable_p FILE
5925 # -----------------------
5926 # Test if FILE is an executable regular file.
5927 as_fn_executable_p
()
5929 test -f "$1" && test -x "$1"
5930 } # as_fn_executable_p
5932 as_executable_p
=as_fn_executable_p
5934 # Sed expression to map a string onto a valid CPP name.
5935 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5937 # Sed expression to map a string onto a valid variable name.
5938 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5942 ## ----------------------------------- ##
5943 ## Main body of $CONFIG_STATUS script. ##
5944 ## ----------------------------------- ##
5946 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5949 # Save the log message, to keep $0 and so on meaningful, and to
5950 # report actual input values of CONFIG_FILES etc. instead of their
5951 # values after options handling.
5953 This file was extended by libdecnumber $as_me , which was
5954 generated by GNU Autoconf 2.69. Invocation command line was
5956 CONFIG_FILES = $CONFIG_FILES
5957 CONFIG_HEADERS = $CONFIG_HEADERS
5958 CONFIG_LINKS = $CONFIG_LINKS
5959 CONFIG_COMMANDS = $CONFIG_COMMANDS
5962 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5967 case $ac_config_files in *"
5968 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5971 case $ac_config_headers in *"
5972 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5977 # Files that config.status was made for.
5978 config_files="$ac_config_files"
5979 config_headers="$ac_config_headers"
5980 config_commands="$ac_config_commands"
5984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5986 \`$as_me' instantiates files and other configuration actions
5987 from templates according to the current configuration. Unless the files
5988 and actions are specified as TAGs, all are instantiated by default.
5990 Usage: $0 [OPTION]... [TAG]...
5992 -h, --help print this help, then exit
5993 -V, --version print version number and configuration settings, then exit
5994 --config print configuration, then exit
5995 -q, --quiet, --silent
5996 do not print progress messages
5997 -d, --debug don't remove temporary files
5998 --recheck update $as_me by reconfiguring in the same conditions
5999 --file=FILE[:TEMPLATE]
6000 instantiate the configuration file FILE
6001 --header=FILE[:TEMPLATE]
6002 instantiate the configuration header FILE
6004 Configuration files:
6007 Configuration headers:
6010 Configuration commands:
6013 Report bugs to <gcc-bugs@gcc.gnu.org>."
6016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6017 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6019 libdecnumber config.status
6020 configured by $0, generated by GNU Autoconf 2.69,
6021 with options \\"\$ac_cs_config\\"
6023 Copyright (C) 2012 Free Software Foundation, Inc.
6024 This config.status script is free software; the Free Software Foundation
6025 gives unlimited permission to copy, distribute and modify it."
6029 test -n "\$AWK" || AWK=awk
6032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6033 # The default lists apply if the user does not specify any file.
6039 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6040 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6044 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6056 # Handling of the options.
6057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6059 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6060 $as_echo "$ac_cs_version"; exit ;;
6061 --config |
--confi |
--conf |
--con |
--co |
--c )
6062 $as_echo "$ac_cs_config"; exit ;;
6063 --debug |
--debu |
--deb |
--de |
--d |
-d )
6065 --file |
--fil |
--fi |
--f )
6068 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6069 '') as_fn_error $?
"missing file argument" ;;
6071 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6072 ac_need_defaults
=false
;;
6073 --header |
--heade |
--head |
--hea )
6076 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6078 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6079 ac_need_defaults
=false
;;
6081 # Conflict between --help and --header
6082 as_fn_error $?
"ambiguous option: \`$1'
6083 Try \`$0 --help' for more information.";;
6084 --help |
--hel |
-h )
6085 $as_echo "$ac_cs_usage"; exit ;;
6086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6087 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6091 -*) as_fn_error $?
"unrecognized option: \`$1'
6092 Try \`$0 --help' for more information." ;;
6094 *) as_fn_append ac_config_targets
" $1"
6095 ac_need_defaults
=false
;;
6101 ac_configure_extra_args
=
6103 if $ac_cs_silent; then
6105 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6110 if \$ac_cs_recheck; then
6111 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6114 CONFIG_SHELL='$SHELL'
6120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6125 ## Running $as_me. ##
6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6138 acx_cv_header_stdint="$acx_cv_header_stdint"
6139 acx_cv_type_int8_t="$acx_cv_type_int8_t"
6140 acx_cv_type_int16_t="$acx_cv_type_int16_t"
6141 acx_cv_type_int32_t="$acx_cv_type_int32_t"
6142 acx_cv_type_int64_t="$acx_cv_type_int64_t"
6143 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
6144 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
6145 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
6146 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
6147 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
6148 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
6149 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
6150 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
6151 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
6156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6158 # Handling of arguments.
6159 for ac_config_target
in $ac_config_targets
6161 case $ac_config_target in
6162 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
6163 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6164 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6166 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6171 # If the user did not use the arguments to specify the items to instantiate,
6172 # then the envvar interface is used. Set only those that are not.
6173 # We use the long form for the default assignment because of an extremely
6174 # bizarre bug on SunOS 4.1.3.
6175 if $ac_need_defaults; then
6176 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6177 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6178 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6181 # Have a temporary directory for convenience. Make it in the build tree
6182 # simply because there is no reason against having it here, and in addition,
6183 # creating and moving files from /tmp can sometimes cause problems.
6184 # Hook for its removal unless debugging.
6185 # Note that there is a small window in which the directory will not be cleaned:
6186 # after its creation but before its name has been assigned to `$tmp'.
6190 trap 'exit_status=$?
6192 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6194 trap 'as_fn_exit 1' 1 2 13 15
6196 # Create a (secure) tmp directory for tmp files.
6199 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6203 tmp
=.
/conf$$
-$RANDOM
6204 (umask 077 && mkdir
"$tmp")
6205 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6208 # Set up the scripts for CONFIG_FILES section.
6209 # No need to generate them if there are no CONFIG_FILES.
6210 # This happens for instance with `./config.status config.h'.
6211 if test -n "$CONFIG_FILES"; then
6214 ac_cr
=`echo X | tr X '\015'`
6215 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6216 # But we know of no other shell where ac_cr would be empty at this
6217 # point, so we can use a bashism as a fallback.
6218 if test "x$ac_cr" = x
; then
6219 eval ac_cr
=\$
\'\\r
\'
6221 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6222 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6228 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6233 echo "cat >conf$$subs.awk <<_ACEOF" &&
6234 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6237 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6238 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6240 for ac_last_try in false false false false false :; do
6241 . ./conf$$subs.sh ||
6242 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6244 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6245 if test $ac_delim_n = $ac_delim_num; then
6247 elif $ac_last_try; then
6248 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6250 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6256 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6260 s/^/S["/; s
/!.
*/"]=/
6270 s/\(.\{148\}\)..*/\1/
6272 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6277 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6284 s/\(.\{148\}\)..*/\1/
6286 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6290 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6295 ' <conf$$subs.awk | sed '
6300 ' >>$CONFIG_STATUS || ac_write_fail=1
6301 rm -f conf$$subs.awk
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6304 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6305 for (key in S) S_is_set[key] = 1
6311 nfields = split(line, field, "@
")
6313 len = length(field[1])
6314 for (i = 2; i < nfields; i++) {
6316 keylen = length(key)
6317 if (S_is_set[key]) {
6319 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6320 len += length(value) + length(field[++i])
6331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6332 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6333 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6336 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6337 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6340 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6341 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6342 # trailing colons and then remove the whole line if VPATH becomes empty
6343 # (actually we leave an empty line to preserve line numbers).
6344 if test "x
$srcdir" = x.; then
6345 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6364 fi # test -n "$CONFIG_FILES"
6366 # Set up the scripts for CONFIG_HEADERS section.
6367 # No need to generate them if there are no CONFIG_HEADERS.
6368 # This happens for instance with `./config.status Makefile'.
6369 if test -n "$CONFIG_HEADERS"; then
6370 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6374 # Transform confdefs.h into an awk script `defines.awk', embedded as
6375 # here-document in config.status, that substitutes the proper values into
6376 # config.h.in to produce config.h.
6378 # Create a delimiter string that does not exist in confdefs.h, to ease
6379 # handling of long lines.
6381 for ac_last_try in false false :; do
6382 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6383 if test -z "$ac_tt"; then
6385 elif $ac_last_try; then
6386 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6388 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6392 # For the awk script, D is an array of macro values keyed by name,
6393 # likewise P contains macro parameters if any. Preserve backslash
6394 # newline sequences.
6396 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6398 s/.\{148\}/&'"$ac_delim"'/g
6401 s/^[ ]*#[ ]*define[ ][ ]*/ /
6408 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6410 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6414 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6415 D["\
1"]=" \
3\\\\\\n
"\\/p
6417 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6422 s/.\{148\}/&'"$ac_delim"'/g
6427 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6430 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6432 ' <confdefs.h | sed '
6433 s/'"$ac_delim"'/"\\\
6434 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6437 for (key in D) D_is_set[key] = 1
6440 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6442 split(line, arg, " ")
6443 if (arg[1] == "#") {
6447 defundef
= substr
(arg
[1], 2)
6450 split(mac1
, mac2
, "(") #)
6452 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6453 if (D_is_set
[macro
]) {
6454 # Preserve the white space surrounding the "#".
6455 print prefix
"define", macro P
[macro
] D
[macro
]
6458 # Replace #undef with comments. This is necessary, for example,
6459 # in the case of _POSIX_SOURCE, which is predefined and required
6460 # on some systems where configure will not decide to define it.
6461 if (defundef
== "undef") {
6462 print
"/*", prefix defundef
, macro
, "*/"
6470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6471 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6472 fi # test -n "$CONFIG_HEADERS"
6475 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6480 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6482 case $ac_mode$ac_tag in
6484 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6485 :[FH
]-) ac_tag
=-:-;;
6486 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6503 -) ac_f
="$ac_tmp/stdin";;
6504 *) # Look for the file first in the build tree, then in the source tree
6505 # (if the path is not absolute). The absolute path cannot be DOS-style,
6506 # because $ac_f cannot contain `:'.
6510 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6512 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6514 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6515 as_fn_append ac_file_inputs
" '$ac_f'"
6518 # Let's still pretend it is `configure' which instantiates (i.e., don't
6519 # use $as_me), people would be surprised to read:
6520 # /* config.h. Generated by config.status. */
6521 configure_input
='Generated from '`
6522 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6524 if test x
"$ac_file" != x-
; then
6525 configure_input
="$ac_file. $configure_input"
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6527 $as_echo "$as_me: creating $ac_file" >&6;}
6529 # Neutralize special characters interpreted by sed in replacement strings.
6530 case $configure_input in #(
6531 *\
&* |
*\|
* |
*\\* )
6532 ac_sed_conf_input
=`$as_echo "$configure_input" |
6533 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6534 *) ac_sed_conf_input
=$configure_input;;
6538 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6539 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6544 ac_dir
=`$as_dirname -- "$ac_file" ||
6545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6546 X"$ac_file" : 'X\(//\)[^/]' \| \
6547 X"$ac_file" : 'X\(//\)$' \| \
6548 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6549 $as_echo X"$ac_file" |
6550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6567 as_dir
="$ac_dir"; as_fn_mkdir_p
6571 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6573 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6574 # A ".." for each directory in $ac_dir_suffix.
6575 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6576 case $ac_top_builddir_sub in
6577 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6578 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6581 ac_abs_top_builddir
=$ac_pwd
6582 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6583 # for backward compatibility:
6584 ac_top_builddir
=$ac_top_build_prefix
6587 .
) # We are building in place.
6589 ac_top_srcdir
=$ac_top_builddir_sub
6590 ac_abs_top_srcdir
=$ac_pwd ;;
6591 [\\/]* | ?
:[\\/]* ) # Absolute name.
6592 ac_srcdir
=$srcdir$ac_dir_suffix;
6593 ac_top_srcdir
=$srcdir
6594 ac_abs_top_srcdir
=$srcdir ;;
6596 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6597 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6598 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6600 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6612 # If the template does not know about datarootdir, expand it.
6613 # FIXME: This hack should be removed a few years after 2.60.
6614 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6625 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6626 *datarootdir
*) ac_datarootdir_seen
=yes;;
6627 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6629 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6632 ac_datarootdir_hack='
6633 s&@datadir@&$datadir&g
6634 s&@docdir@&$docdir&g
6635 s&@infodir@&$infodir&g
6636 s&@localedir@&$localedir&g
6637 s&@mandir@&$mandir&g
6638 s&\\\${datarootdir}&$datarootdir&g' ;;
6642 # Neutralize VPATH when `$srcdir' = `.'.
6643 # Shell code in configure.ac might set extrasub.
6644 # FIXME: do we really want to maintain this feature?
6645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6646 ac_sed_extra="$ac_vpsub
6649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6651 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6652 s|@configure_input@|
$ac_sed_conf_input|
;t t
6653 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6654 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6655 s
&@srcdir@
&$ac_srcdir&;t t
6656 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6657 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6658 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6659 s
&@builddir@
&$ac_builddir&;t t
6660 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6661 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6662 $ac_datarootdir_hack
6664 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6665 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6668 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6670 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6672 which seems to be undefined. Please make sure it is defined" >&5
6673 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6674 which seems to be undefined. Please make sure it is defined" >&2;}
6676 rm -f "$ac_tmp/stdin"
6678 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6679 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6687 if test x"$ac_file" != x-; then
6689 $as_echo "/* $configure_input */" \
6690 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6691 } >"$ac_tmp/config.h" \
6692 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6693 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6695 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6698 mv "$ac_tmp/config.h" "$ac_file" \
6699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6702 $as_echo "/* $configure_input */" \
6703 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6704 || as_fn_error $? "could not create -" "$LINENO" 5
6708 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6709 $as_echo "$as_me: executing $ac_file commands" >&6;}
6714 case $ac_file$ac_mode in
6716 if test "$GCC" = yes; then
6717 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6719 echo "/* generated for $CC */" > tmp-stdint.h
6722 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6724 #ifndef GCC_GENERATED_STDINT_H
6725 #define GCC_GENERATED_STDINT_H 1
6727 #include <sys/types.h>
6730 if test "$acx_cv_header_stdint" != stdint.h; then
6731 echo "#include <stddef.h>" >> tmp-stdint.h
6733 if test "$acx_cv_header_stdint" != stddef.h; then
6734 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6737 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6738 /* glibc uses these symbols as guards to prevent redefinitions. */
6739 #ifdef __int8_t_defined
6744 #ifdef __uint32_t_defined
6750 # ----------------- done header, emit basic int types -------------
6751 if test "$acx_cv_header_stdint" = stddef.h; then
6752 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6756 #ifndef __uint8_t_defined
6757 #define __uint8_t_defined
6759 typedef unsigned $acx_cv_type_int8_t uint8_t;
6766 #ifndef __uint16_t_defined
6767 #define __uint16_t_defined
6769 typedef unsigned $acx_cv_type_int16_t uint16_t;
6776 #ifndef __uint32_t_defined
6777 #define __uint32_t_defined
6779 typedef unsigned $acx_cv_type_int32_t uint32_t;
6786 #ifndef __int8_t_defined
6787 #define __int8_t_defined
6789 typedef $acx_cv_type_int8_t int8_t;
6796 #ifndef __int16_t_defined
6797 #define __int16_t_defined
6799 typedef $acx_cv_type_int16_t int16_t;
6806 #ifndef __int32_t_defined
6807 #define __int32_t_defined
6809 typedef $acx_cv_type_int32_t int32_t;
6814 elif test "$ac_cv_type_u_int32_t" = yes; then
6815 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6817 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6830 #ifndef __uint8_t_defined
6831 #define __uint8_t_defined
6833 typedef u_int8_t uint8_t;
6840 #ifndef __uint16_t_defined
6841 #define __uint16_t_defined
6843 typedef u_int16_t uint16_t;
6850 #ifndef __uint32_t_defined
6851 #define __uint32_t_defined
6853 typedef u_int32_t uint32_t;
6859 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6861 /* Some systems have guard macros to prevent redefinitions, define them. */
6883 # ------------- done basic int types, emit int64_t types ------------
6884 if test "$ac_cv_type_uint64_t" = yes; then
6885 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6887 /* system headers have good uint64_t and int64_t */
6895 elif test "$ac_cv_type_u_int64_t" = yes; then
6896 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6898 /* system headers have an u_int64_t (and int64_t) */
6904 #ifndef __uint64_t_defined
6905 #define __uint64_t_defined
6907 typedef u_int64_t uint64_t;
6912 elif test -n "$acx_cv_type_int64_t"; then
6913 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6915 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6919 typedef $acx_cv_type_int64_t int64_t;
6924 #ifndef __uint64_t_defined
6925 #define __uint64_t_defined
6927 typedef unsigned $acx_cv_type_int64_t uint64_t;
6933 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6935 /* some common heuristics for int64_t, using compiler-specific tests */
6936 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6939 #ifndef __int64_t_defined
6941 typedef long long int64_t;
6948 typedef unsigned long long uint64_t;
6952 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6953 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6954 does not implement __extension__. But that compiler doesn't define
6956 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6957 # define __extension__
6963 __extension__ typedef long long int64_t
;
6969 __extension__ typedef unsigned long long uint64_t
;
6973 #elif !defined __STRICT_ANSI__
6974 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6979 typedef __int64 int64_t
;
6985 typedef unsigned __int64 uint64_t
;
6988 # endif /* compiler */
6990 #endif /* ANSI version */
6994 # ------------- done int64_t types, emit intptr types ------------
6995 if test "$ac_cv_type_uintptr_t" != yes; then
6996 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6998 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6999 #ifndef __uintptr_t_defined
7001 typedef u$acx_cv_type_intptr_t uintptr_t;
7004 #ifndef __intptr_t_defined
7006 typedef $acx_cv_type_intptr_t intptr_t;
7012 # ------------- done intptr types, emit int_least types ------------
7013 if test "$ac_cv_type_int_least32_t" != yes; then
7014 sed 's/^ *//' >> tmp-stdint.h
<<EOF
7016 /* Define int_least types */
7017 typedef int8_t int_least8_t;
7018 typedef int16_t int_least16_t;
7019 typedef int32_t int_least32_t;
7021 typedef int64_t int_least64_t;
7024 typedef uint8_t uint_least8_t;
7025 typedef uint16_t uint_least16_t;
7026 typedef uint32_t uint_least32_t;
7028 typedef uint64_t uint_least64_t;
7033 # ------------- done intptr types, emit int_fast types ------------
7034 if test "$ac_cv_type_int_fast32_t" != yes; then
7035 sed 's/^ *//' >> tmp-stdint.h
<<EOF
7037 /* Define int_fast types. short is often slow */
7038 typedef int8_t int_fast8_t;
7039 typedef int int_fast16_t;
7040 typedef int32_t int_fast32_t;
7042 typedef int64_t int_fast64_t;
7045 typedef uint8_t uint_fast8_t;
7046 typedef unsigned int uint_fast16_t;
7047 typedef uint32_t uint_fast32_t;
7049 typedef uint64_t uint_fast64_t;
7054 if test "$ac_cv_type_uintmax_t" != yes; then
7055 sed 's/^ *//' >> tmp-stdint.h
<<EOF
7057 /* Define intmax based on what we found */
7060 typedef int64_t intmax_t;
7062 typedef long intmax_t;
7067 typedef uint64_t uintmax_t;
7069 typedef unsigned long uintmax_t;
7075 sed 's/^ *//' >> tmp-stdint.h
<<EOF
7077 #endif /* GCC_GENERATED_STDINT_H */
7080 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
7083 mv -f tmp-stdint.h gstdint.h
7087 "config.h":H
) echo timestamp
> stamp-h1
;;
7095 ac_clean_files
=$ac_clean_files_save
7097 test $ac_write_fail = 0 ||
7098 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7101 # configure is writing to config.log, and then calls config.status.
7102 # config.status does its own redirection, appending to config.log.
7103 # Unfortunately, on DOS this fails, as config.log is still kept open
7104 # by configure, so config.status won't be able to write to it; its
7105 # output is simply discarded. So we exec the FD to /dev/null,
7106 # effectively closing config.log, so it can be properly (re)opened and
7107 # appended to by config.status. When coming back to configure, we
7108 # need to make the FD available again.
7109 if test "$no_create" != yes; then
7111 ac_config_status_args
=
7112 test "$silent" = yes &&
7113 ac_config_status_args
="$ac_config_status_args --quiet"
7115 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7117 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7118 # would make configure fail if this is the last instruction.
7119 $ac_cs_success || as_fn_exit
1
7121 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7123 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}