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
690 program_transform_name
703 enable_option_checking
705 enable_maintainer_mode
710 ac_precious_vars
='build_alias
721 # Initialize some variables set by options.
723 ac_init_version
=false
724 ac_unrecognized_opts
=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
735 program_transform_name
=s
,x
,x
,
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir
='${exec_prefix}/bin'
750 sbindir
='${exec_prefix}/sbin'
751 libexecdir
='${exec_prefix}/libexec'
752 datarootdir
='${prefix}/share'
753 datadir
='${datarootdir}'
754 sysconfdir
='${prefix}/etc'
755 sharedstatedir
='${prefix}/com'
756 localstatedir
='${prefix}/var'
757 includedir
='${prefix}/include'
758 oldincludedir
='/usr/include'
759 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
760 infodir
='${datarootdir}/info'
765 libdir
='${exec_prefix}/lib'
766 localedir
='${datarootdir}/locale'
767 mandir
='${datarootdir}/man'
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\
$ac_option
781 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
794 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
797 -build |
--build |
--buil |
--bui |
--bu)
798 ac_prev
=build_alias
;;
799 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
800 build_alias
=$ac_optarg ;;
802 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
803 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
804 ac_prev
=cache_file
;;
805 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
806 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
807 cache_file
=$ac_optarg ;;
810 cache_file
=config.cache
;;
812 -datadir |
--datadir |
--datadi |
--datad)
814 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
815 datadir
=$ac_optarg ;;
817 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
818 |
--dataroo |
--dataro |
--datar)
819 ac_prev
=datarootdir
;;
820 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
821 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
822 datarootdir
=$ac_optarg ;;
824 -disable-* |
--disable-*)
825 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
828 as_fn_error $?
"invalid feature name: $ac_useropt"
829 ac_useropt_orig
=$ac_useropt
830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep
=', ';;
838 eval enable_
$ac_useropt=no
;;
840 -docdir |
--docdir |
--docdi |
--doc |
--do)
842 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
845 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
847 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
850 -enable-* |
--enable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error $?
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=\
$ac_optarg ;;
866 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
867 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
868 |
--exec |
--exe |
--ex)
869 ac_prev
=exec_prefix
;;
870 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
871 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
872 |
--exec=* |
--exe=* |
--ex=*)
873 exec_prefix
=$ac_optarg ;;
875 -gas |
--gas |
--ga |
--g)
876 # Obsolete; use --with-gas.
879 -help |
--help |
--hel |
--he |
-h)
881 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
882 ac_init_help
=recursive
;;
883 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
884 ac_init_help
=short
;;
886 -host |
--host |
--hos |
--ho)
887 ac_prev
=host_alias
;;
888 -host=* |
--host=* |
--hos=* |
--ho=*)
889 host_alias
=$ac_optarg ;;
891 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
893 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
895 htmldir
=$ac_optarg ;;
897 -includedir |
--includedir |
--includedi |
--included |
--include \
898 |
--includ |
--inclu |
--incl |
--inc)
899 ac_prev
=includedir
;;
900 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
901 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
902 includedir
=$ac_optarg ;;
904 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
906 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
907 infodir
=$ac_optarg ;;
909 -libdir |
--libdir |
--libdi |
--libd)
911 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
914 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
915 |
--libexe |
--libex |
--libe)
916 ac_prev
=libexecdir
;;
917 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
918 |
--libexe=* |
--libex=* |
--libe=*)
919 libexecdir
=$ac_optarg ;;
921 -localedir |
--localedir |
--localedi |
--localed |
--locale)
923 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
924 localedir
=$ac_optarg ;;
926 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
927 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
928 ac_prev
=localstatedir
;;
929 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
930 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
931 localstatedir
=$ac_optarg ;;
933 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
935 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
939 # Obsolete; use --without-fp.
942 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
943 |
--no-cr |
--no-c |
-n)
946 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
947 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
950 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
951 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
952 |
--oldin |
--oldi |
--old |
--ol |
--o)
953 ac_prev
=oldincludedir
;;
954 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
955 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
956 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
957 oldincludedir
=$ac_optarg ;;
959 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
961 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
964 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
965 |
--program-pre |
--program-pr |
--program-p)
966 ac_prev
=program_prefix
;;
967 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
968 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
969 program_prefix
=$ac_optarg ;;
971 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
972 |
--program-suf |
--program-su |
--program-s)
973 ac_prev
=program_suffix
;;
974 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
975 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
976 program_suffix
=$ac_optarg ;;
978 -program-transform-name |
--program-transform-name \
979 |
--program-transform-nam |
--program-transform-na \
980 |
--program-transform-n |
--program-transform- \
981 |
--program-transform |
--program-transfor \
982 |
--program-transfo |
--program-transf \
983 |
--program-trans |
--program-tran \
984 |
--progr-tra |
--program-tr |
--program-t)
985 ac_prev
=program_transform_name
;;
986 -program-transform-name=* |
--program-transform-name=* \
987 |
--program-transform-nam=* |
--program-transform-na=* \
988 |
--program-transform-n=* |
--program-transform-=* \
989 |
--program-transform=* |
--program-transfor=* \
990 |
--program-transfo=* |
--program-transf=* \
991 |
--program-trans=* |
--program-tran=* \
992 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
993 program_transform_name
=$ac_optarg ;;
995 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
997 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1000 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1002 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1005 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1006 |
-silent |
--silent |
--silen |
--sile |
--sil)
1009 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1011 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1013 sbindir
=$ac_optarg ;;
1015 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1016 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1017 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1019 ac_prev
=sharedstatedir
;;
1020 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1021 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1022 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1024 sharedstatedir
=$ac_optarg ;;
1026 -site |
--site |
--sit)
1028 -site=* |
--site=* |
--sit=*)
1031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1034 srcdir
=$ac_optarg ;;
1036 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1037 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1038 ac_prev
=sysconfdir
;;
1039 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1040 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1041 sysconfdir
=$ac_optarg ;;
1043 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1044 ac_prev
=target_alias
;;
1045 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1046 target_alias
=$ac_optarg ;;
1048 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1051 -version |
--version |
--versio |
--versi |
--vers |
-V)
1052 ac_init_version
=: ;;
1055 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error $?
"invalid package name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval with_
$ac_useropt=no
;;
1087 # Obsolete; use --with-x.
1090 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1091 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1092 ac_prev
=x_includes
;;
1093 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1094 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1095 x_includes
=$ac_optarg ;;
1097 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1098 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1099 ac_prev
=x_libraries
;;
1100 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1101 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1102 x_libraries
=$ac_optarg ;;
1104 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information"
1109 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1113 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1115 eval $ac_envvar=\
$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129 if test -n "$ac_prev"; then
1130 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error $?
"missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1137 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 # Check all directory arguments for consistency.
1143 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val
=\$
$ac_var
1149 # Remove trailing slashes.
1152 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\
$ac_val;;
1155 # Be sure to have absolute directory names.
1157 [\\/$
]* | ?
:[\\/]* ) continue;;
1158 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1160 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1168 target
=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x
; then
1172 if test "x$build_alias" = x
; then
1173 cross_compiling
=maybe
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1182 test "$silent" = yes && exec 6>/dev
/null
1185 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di
=`ls -di .` &&
1187 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $?
"working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $?
"pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted
=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir
=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted
=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1229 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var
in $ac_precious_vars; do
1246 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1248 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures libdecnumber to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1317 --build=BUILD configure
for building on BUILD
[guessed
]
1318 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1319 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1323 if test -n "$ac_init_help"; then
1324 case $ac_init_help in
1325 short | recursive
) echo "Configuration of libdecnumber :";;
1330 --disable-option-checking ignore unrecognized
--enable/--with options
1331 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1332 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1333 --enable-werror-always enable -Werror despite compiler version
1334 --enable-maintainer-mode enable rules only needed by maintainers
1335 --enable-decimal-float={no
,yes,bid
,dpd
}
1336 enable decimal float extension to C. Selecting
'bid'
1337 or
'dpd' choses
which decimal floating point format
1339 --enable-host-shared build
host code as shared libraries
1340 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1342 Some influential environment variables
:
1343 CC C compiler
command
1344 CFLAGS C compiler flags
1345 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1346 nonstandard directory
<lib dir
>
1347 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1348 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1349 you have headers
in a nonstandard directory
<include dir
>
1352 Use these variables to override the choices made by
`configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1355 Report bugs to <gcc-bugs@gcc.gnu.org>.
1360 if test "$ac_init_help" = "recursive"; then
1361 # If there are subdirs, report their specific --help.
1362 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1363 test -d "$ac_dir" ||
1364 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1385 .) # We are building in place.
1387 ac_top_srcdir=$ac_top_builddir_sub
1388 ac_abs_top_srcdir=$ac_pwd ;;
1389 [\\/]* | ?:[\\/]* ) # Absolute name.
1390 ac_srcdir=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir=$srcdir
1392 ac_abs_top_srcdir=$srcdir ;;
1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" || { ac_status=$?; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" || { ac_status=$?; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1418 libdecnumber configure
1419 generated by GNU Autoconf 2.69
1421 Copyright (C) 2012 Free Software Foundation, Inc.
1422 This configure script is free software; the Free Software Foundation
1423 gives unlimited permission to copy, distribute and modify it.
1428 ## ------------------------ ##
1429 ## Autoconf initialization. ##
1430 ## ------------------------ ##
1432 # ac_fn_c_try_compile LINENO
1433 # --------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_c_try_compile ()
1437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438 rm -f conftest.$ac_objext
1439 if { { ac_try="$ac_compile"
1441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1442 *) ac_try_echo
=$ac_try;;
1444 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_compile") 2>conftest.err
1448 if test -s conftest.err
; then
1449 grep -v '^ *+' conftest.err
>conftest.er1
1450 cat conftest.er1
>&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } && {
1455 test -z "$ac_c_werror_flag" ||
1456 test ! -s conftest.err
1457 } && test -s conftest.
$ac_objext; then :
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.
$ac_ext >&5
1465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1466 as_fn_set_status
$ac_retval
1468 } # ac_fn_c_try_compile
1470 # ac_fn_c_try_cpp LINENO
1471 # ----------------------
1472 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1475 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1476 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } > conftest.i && {
1492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1507 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1508 # -------------------------------------------------------
1509 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1510 # the include files in INCLUDES and setting the cache variable VAR
1512 ac_fn_c_check_header_mongrel ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 if eval \${$3+:} false; then :
1516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1517 $as_echo_n "checking for $2... " >&6; }
1518 if eval \${$3+:} false; then :
1519 $as_echo_n "(cached) " >&6
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1523 $as_echo "$ac_res" >&6; }
1525 # Is the header compilable?
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1527 $as_echo_n "checking $2 usability... " >&6; }
1528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1529 /* end confdefs.h. */
1533 if ac_fn_c_try_compile "$LINENO"; then :
1534 ac_header_compiler=yes
1536 ac_header_compiler=no
1538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1540 $as_echo "$ac_header_compiler" >&6; }
1542 # Is the header present?
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1544 $as_echo_n "checking $2 presence... " >&6; }
1545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1546 /* end confdefs.h. */
1549 if ac_fn_c_try_cpp "$LINENO"; then :
1550 ac_header_preproc=yes
1552 ac_header_preproc=no
1554 rm -f conftest.err conftest.i conftest.$ac_ext
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1556 $as_echo "$ac_header_preproc" >&6; }
1558 # So? What about this header?
1559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1562 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1564 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1568 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1570 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1572 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1574 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1576 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1577 ( $as_echo "## ----------------------------------- ##
1578 ## Report this to gcc-bugs@gcc.gnu.org ##
1579 ## ----------------------------------- ##"
1580 ) | sed "s/^/$as_me: WARNING: /" >&2
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1588 eval "$3=\$ac_header_compiler"
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 } # ac_fn_c_check_header_mongrel
1598 # ac_fn_c_try_run LINENO
1599 # ----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 # that executables *can* be run.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_link"
1607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1608 *) ac_try_echo
=$ac_try;;
1610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>&5
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1616 { { case "(($ac_try" in
1617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_try") 2>&5
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; }; }; then :
1628 $as_echo "$as_me: program exited with status $ac_status" >&5
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=$ac_status
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1640 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1641 # -------------------------------------------------------
1642 # Tests whether HEADER exists and can be compiled using the include files in
1643 # INCLUDES, setting the cache variable VAR accordingly.
1644 ac_fn_c_check_header_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if eval \${$3+:} false; then :
1650 $as_echo_n "(cached) " >&6
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 } # ac_fn_c_check_header_compile
1671 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1672 # -------------------------------------------
1673 # Tests whether TYPE exists after having included INCLUDES, setting cache
1674 # variable VAR accordingly.
1675 ac_fn_c_check_type ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1696 if ac_fn_c_try_compile "$LINENO"; then :
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1709 if ac_fn_c_try_compile "$LINENO"; then :
1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723 } # ac_fn_c_check_type
1725 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1726 # --------------------------------------------
1727 # Tries to find the compile-time value of EXPR in a program that includes
1728 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1730 ac_fn_c_compute_int ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if test "$cross_compiling" = yes; then
1734 # Depending upon the size, compute the lo and hi bounds.
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1741 static int test_array [1 - 2 * !(($2) >= 0)];
1743 return test_array [0];
1749 if ac_fn_c_try_compile "$LINENO"; then :
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1758 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1760 return test_array [0];
1766 if ac_fn_c_try_compile "$LINENO"; then :
1767 ac_hi=$ac_mid; break
1769 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1770 if test $ac_lo -le $ac_mid; then
1774 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1785 static int test_array [1 - 2 * !(($2) < 0)];
1787 return test_array [0];
1793 if ac_fn_c_try_compile "$LINENO"; then :
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1802 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1804 return test_array [0];
1810 if ac_fn_c_try_compile "$LINENO"; then :
1811 ac_lo=$ac_mid; break
1813 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1814 if test $ac_mid -le $ac_hi; then
1818 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 # Binary search between lo and hi bounds.
1829 while test "x$ac_lo" != "x$ac_hi"; do
1830 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1837 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1839 return test_array [0];
1845 if ac_fn_c_try_compile "$LINENO"; then :
1848 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1860 static long int longval () { return $2; }
1861 static unsigned long int ulongval () { return $2; }
1868 FILE *f = fopen ("conftest.val", "w");
1873 long int i = longval ();
1876 fprintf (f, "%ld", i);
1880 unsigned long int i = ulongval ();
1883 fprintf (f, "%lu", i);
1885 /* Do not output a trailing newline, as this causes \r\n confusion
1886 on some platforms. */
1887 return ferror (f) || fclose (f) != 0;
1893 if ac_fn_c_try_run "$LINENO"; then :
1894 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1899 conftest.$ac_objext conftest.beam conftest.$ac_ext
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 as_fn_set_status $ac_retval
1906 } # ac_fn_c_compute_int
1908 # ac_fn_c_try_link LINENO
1909 # -----------------------
1910 # Try to link conftest.$ac_ext, and return whether this succeeded.
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 rm -f conftest.$ac_objext conftest$ac_exeext
1915 if { { ac_try="$ac_link"
1917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1918 *) ac_try_echo
=$ac_try;;
1920 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922 (eval "$ac_link") 2>conftest.err
1924 if test -s conftest.err
; then
1925 grep -v '^ *+' conftest.err
>conftest.er1
1926 cat conftest.er1
>&5
1927 mv -f conftest.er1 conftest.err
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && {
1931 test -z "$ac_c_werror_flag" ||
1932 test ! -s conftest.err
1933 } && test -s conftest
$ac_exeext && {
1934 test "$cross_compiling" = yes ||
1935 test -x conftest
$ac_exeext
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.
$ac_ext >&5
1944 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1945 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1946 # interfere with the next link command; also delete a directory that is
1947 # left behind by Apple's compiler. We do this before executing the actions.
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status
$ac_retval
1952 } # ac_fn_c_try_link
1953 cat >config.log
<<_ACEOF
1954 This file contains any messages produced by compilers while
1955 running configure, to aid debugging if configure makes a mistake.
1957 It was created by libdecnumber $as_me , which was
1958 generated by GNU Autoconf 2.69. Invocation command line was
1970 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1971 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1972 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1973 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1974 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1976 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1977 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1979 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1980 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1981 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1982 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1983 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1984 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1985 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 $as_echo "PATH: $as_dir"
2010 # Keep a trace of the command line.
2011 # Strip out --no-create and --no-recursion so they do not pile up.
2012 # Strip out --silent because we don't want to record it for future runs.
2013 # Also quote any args containing shell meta-characters.
2014 # Make two passes to allow for proper duplicate-argument suppression.
2018 ac_must_keep_next
=false
2024 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2026 |
-silent |
--silent |
--silen |
--sile |
--sil)
2029 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2034 as_fn_append ac_configure_args1
" '$ac_arg'"
2035 if test $ac_must_keep_next = true
; then
2036 ac_must_keep_next
=false
# Got value, back to normal.
2039 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2040 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2041 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2042 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2043 case "$ac_configure_args0 " in
2044 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2047 -* ) ac_must_keep_next
=true
;;
2050 as_fn_append ac_configure_args
" '$ac_arg'"
2055 { ac_configure_args0
=; unset ac_configure_args0
;}
2056 { ac_configure_args1
=; unset ac_configure_args1
;}
2058 # When interrupted or exit'd, cleanup temporary files, and complete
2059 # config.log. We remove comments because anyway the quotes in there
2060 # would cause problems or look ugly.
2061 # WARNING: Use '\'' to represent an apostrophe within the trap.
2062 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2063 trap 'exit_status=$?
2064 # Save into config.log some information that might help in debugging.
2068 $as_echo "## ---------------- ##
2069 ## Cache variables. ##
2070 ## ---------------- ##"
2072 # The following way of writing the cache mishandles newlines in values,
2074 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2075 eval ac_val=\$$ac_var
2079 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2080 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2083 _ | IFS | as_nl) ;; #(
2084 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2085 *) { eval $ac_var=; unset $ac_var;} ;;
2090 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2091 *${as_nl}ac_space=\ *)
2093 "s/'\''/'\''\\\\'\'''\''/g;
2094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2104 $as_echo "## ----------------- ##
2105 ## Output variables. ##
2106 ## ----------------- ##"
2108 for ac_var in $ac_subst_vars
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -n "$ac_subst_files"; then
2119 $as_echo "## ------------------- ##
2120 ## File substitutions. ##
2121 ## ------------------- ##"
2123 for ac_var
in $ac_subst_files
2125 eval ac_val
=\$
$ac_var
2127 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -s confdefs.h; then
2135 $as_echo "## ----------- ##
2142 test "$ac_signal" != 0 &&
2143 $as_echo "$as_me: caught signal $ac_signal"
2144 $as_echo "$as_me: exit $exit_status"
2146 rm -f core *.core core.conftest.* &&
2147 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2150 for ac_signal
in 1 2 13 15; do
2151 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2156 rm -f -r conftest
* confdefs.h
2158 $as_echo "/* confdefs.h */" > confdefs.h
2160 # Predefined preprocessor variables.
2162 cat >>confdefs.h
<<_ACEOF
2163 #define PACKAGE_NAME "$PACKAGE_NAME"
2166 cat >>confdefs.h
<<_ACEOF
2167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2170 cat >>confdefs.h
<<_ACEOF
2171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2174 cat >>confdefs.h
<<_ACEOF
2175 #define PACKAGE_STRING "$PACKAGE_STRING"
2178 cat >>confdefs.h
<<_ACEOF
2179 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2182 cat >>confdefs.h
<<_ACEOF
2183 #define PACKAGE_URL "$PACKAGE_URL"
2187 # Let the site file select an alternate cache file if it wants to.
2188 # Prefer an explicitly selected file to automatically selected ones.
2191 if test -n "$CONFIG_SITE"; then
2192 # We do not want a PATH search for config.site.
2193 case $CONFIG_SITE in #((
2194 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2195 */*) ac_site_file1
=$CONFIG_SITE;;
2196 *) ac_site_file1
=.
/$CONFIG_SITE;;
2198 elif test "x$prefix" != xNONE
; then
2199 ac_site_file1
=$prefix/share
/config.site
2200 ac_site_file2
=$prefix/etc
/config.site
2202 ac_site_file1
=$ac_default_prefix/share
/config.site
2203 ac_site_file2
=$ac_default_prefix/etc
/config.site
2205 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2207 test "x$ac_site_file" = xNONE
&& continue
2208 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2210 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2211 sed 's/^/| /' "$ac_site_file" >&5
2213 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 as_fn_error $?
"failed to load site script $ac_site_file
2216 See \`config.log' for more details" "$LINENO" 5; }
2220 if test -r "$cache_file"; then
2221 # Some versions of bash will fail to source /dev/null (special files
2222 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2223 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2225 $as_echo "$as_me: loading cache $cache_file" >&6;}
2227 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2228 *) .
"./$cache_file";;
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2233 $as_echo "$as_me: creating cache $cache_file" >&6;}
2237 # Check that the precious variables saved in the cache have kept the same
2239 ac_cache_corrupted
=false
2240 for ac_var
in $ac_precious_vars; do
2241 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2242 eval ac_new_set
=\
$ac_env_${ac_var}_set
2243 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2244 eval ac_new_val
=\
$ac_env_${ac_var}_value
2245 case $ac_old_set,$ac_new_set in
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2249 ac_cache_corrupted
=: ;;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2253 ac_cache_corrupted
=: ;;
2256 if test "x$ac_old_val" != "x$ac_new_val"; then
2257 # differences in whitespace do not lead to failure.
2258 ac_old_val_w
=`echo x $ac_old_val`
2259 ac_new_val_w
=`echo x $ac_new_val`
2260 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2263 ac_cache_corrupted
=:
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2267 eval $ac_var=\
$ac_old_val
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2270 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2275 # Pass precious variables to config.status.
2276 if test "$ac_new_set" = set; then
2278 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2279 *) ac_arg
=$ac_var=$ac_new_val ;;
2281 case " $ac_configure_args " in
2282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2283 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2287 if $ac_cache_corrupted; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2292 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2294 ## -------------------- ##
2295 ## Main body of script. ##
2296 ## -------------------- ##
2299 ac_cpp
='$CPP $CPPFLAGS'
2300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2308 for ac_dir
in ..
"$srcdir"/..
; do
2309 if test -f "$ac_dir/install-sh"; then
2311 ac_install_sh
="$ac_aux_dir/install-sh -c"
2313 elif test -f "$ac_dir/install.sh"; then
2315 ac_install_sh
="$ac_aux_dir/install.sh -c"
2317 elif test -f "$ac_dir/shtool"; then
2319 ac_install_sh
="$ac_aux_dir/shtool install -c"
2323 if test -z "$ac_aux_dir"; then
2324 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2327 # These three variables are undocumented and unsupported,
2328 # and are intended to be withdrawn in a future Autoconf release.
2329 # They can cause serious problems if a builder's source tree is in a directory
2330 # whose full name contains unusual characters.
2331 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2332 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2333 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2337 # Checks for programs.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2339 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2341 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2342 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2343 $as_echo_n "(cached) " >&6
2345 cat >conftest.
make <<\_ACEOF
2348 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2350 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2351 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2353 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2355 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2359 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2361 $as_echo "yes" >&6; }
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365 $as_echo "no" >&6; }
2366 SET_MAKE
="MAKE=${MAKE-make}"
2370 ac_cpp
='$CPP $CPPFLAGS'
2371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if ${ac_cv_prog_CC+:} false
; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC
="$CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405 $as_echo "$CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2413 if test -z "$ac_cv_prog_CC"; then
2415 # Extract the first word of "gcc", so it can be a program name with args.
2416 set dummy gcc
; ac_word
=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$ac_ct_CC"; then
2423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_ac_ct_CC
="gcc"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2443 if test -n "$ac_ct_CC"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2445 $as_echo "$ac_ct_CC" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2451 if test "x$ac_ct_CC" = x
; then
2454 case $cross_compiling:$ac_tool_warned in
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2458 ac_tool_warned
=yes ;;
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2469 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if ${ac_cv_prog_CC+:} false
; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC
="$CC" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2485 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 if test -n "$CC"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2498 $as_echo "$CC" >&6; }
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501 $as_echo "no" >&6; }
2507 if test -z "$CC"; then
2508 # Extract the first word of "cc", so it can be a program name with args.
2509 set dummy cc
; ac_word
=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if ${ac_cv_prog_CC+:} false
; then :
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$CC"; then
2516 ac_cv_prog_CC
="$CC" # Let the user override the test.
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2526 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2527 ac_prog_rejected
=yes
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 if test $ac_prog_rejected = yes; then
2539 # We found a bogon in the path, so make sure we never use it.
2540 set dummy
$ac_cv_prog_CC
2542 if test $# != 0; then
2543 # We chose a different compiler from the bogus one.
2544 # However, it has the same basename, so the bogon will be chosen
2545 # first if we set CC to just the basename; use the full file name.
2547 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$CC"; then
2564 if test -n "$ac_tool_prefix"; then
2565 for ac_prog
in cl.exe
2567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2568 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_CC+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$CC"; then
2575 ac_cv_prog_CC
="$CC" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 if test -n "$CC"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2597 $as_echo "$CC" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2604 test -n "$CC" && break
2607 if test -z "$CC"; then
2609 for ac_prog
in cl.exe
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy
$ac_prog; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$ac_ct_CC"; then
2619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_ac_ct_CC
="$ac_prog"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2639 if test -n "$ac_ct_CC"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2641 $as_echo "$ac_ct_CC" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2648 test -n "$ac_ct_CC" && break
2651 if test "x$ac_ct_CC" = x
; then
2654 case $cross_compiling:$ac_tool_warned in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned
=yes ;;
2667 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669 as_fn_error $?
"no acceptable C compiler found in \$PATH
2670 See \`config.log' for more details" "$LINENO" 5; }
2672 # Provide some information about the compiler.
2673 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2676 for ac_option
in --version -v -V -qversion; do
2677 { { ac_try
="$ac_compiler $ac_option >&5"
2679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2686 if test -s conftest.err; then
2688 ... rest of stderr output deleted ...
2689 10q' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2692 rm -f conftest.er1 conftest.err
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2708 ac_clean_files_save=$ac_clean_files
2709 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2710 # Try to create an executable without -o first, disregard a.out.
2711 # It will help us diagnose broken compilers, and finding out an intuition
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2714 $as_echo_n "checking whether the C compiler works... " >&6; }
2715 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2717 # The possible output files:
2718 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2721 for ac_file in $ac_files
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2730 if { { ac_try="$ac_link_default"
2732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2733 *) ac_try_echo
=$ac_try;;
2735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_link_default") 2>&5
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; then :
2741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2744 # so that the user can short-circuit this test for compilers unknown to
2746 for ac_file
in $ac_files ''
2748 test -f "$ac_file" ||
continue
2750 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2753 # We found the default executable, but exeext='' is most
2757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2759 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2761 # We set ac_cv_exeext here because the later test for it is not
2762 # safe: cross compilers may not add the suffix if given an `-o'
2763 # argument, so we may need to know it at that point already.
2764 # Even if this section looks crufty: it has the advantage of
2771 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2776 if test -z "$ac_file"; then :
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778 $as_echo "no" >&6; }
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784 as_fn_error
77 "C compiler cannot create executables
2785 See \`config.log' for more details" "$LINENO" 5; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2788 $as_echo "yes" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2791 $as_echo_n "checking for C compiler default output file name... " >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2793 $as_echo "$ac_file" >&6; }
2794 ac_exeext
=$ac_cv_exeext
2796 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2797 ac_clean_files
=$ac_clean_files_save
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2799 $as_echo_n "checking for suffix of executables... " >&6; }
2800 if { { ac_try
="$ac_link"
2802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_link") 2>&5
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; then :
2811 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2812 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2813 # work properly (i.e., refer to `conftest.exe'), while it won't with
2815 for ac_file
in conftest.exe conftest conftest.
*; do
2816 test -f "$ac_file" ||
continue
2818 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2819 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2828 See \`config.log' for more details" "$LINENO" 5; }
2830 rm -f conftest conftest
$ac_cv_exeext
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2832 $as_echo "$ac_cv_exeext" >&6; }
2834 rm -f conftest.
$ac_ext
2835 EXEEXT
=$ac_cv_exeext
2837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2843 FILE *f = fopen ("conftest.out", "w");
2844 return ferror (f) || fclose (f) != 0;
2850 ac_clean_files
="$ac_clean_files conftest.out"
2851 # Check that the compiler produces executables we can run. If not, either
2852 # the compiler is broken, or we cross compile.
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2854 $as_echo_n "checking whether we are cross compiling... " >&6; }
2855 if test "$cross_compiling" != yes; then
2856 { { ac_try
="$ac_link"
2858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
2861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2862 $as_echo "$ac_try_echo"; } >&5
2863 (eval "$ac_link") 2>&5
2865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2866 test $ac_status = 0; }
2867 if { ac_try='./conftest$ac_cv_exeext'
2868 { { case "(($ac_try" in
2869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2870 *) ac_try_echo
=$ac_try;;
2872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_try") 2>&5
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; }; }; then
2880 if test "$cross_compiling" = maybe
; then
2883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885 as_fn_error $?
"cannot run C compiled programs.
2886 If you meant to cross compile, use \`--host'.
2887 See \`config.log' for more details" "$LINENO" 5; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2892 $as_echo "$cross_compiling" >&6; }
2894 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2895 ac_clean_files
=$ac_clean_files_save
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2897 $as_echo_n "checking for suffix of object files... " >&6; }
2898 if ${ac_cv_objext+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2912 rm -f conftest.o conftest.obj
2913 if { { ac_try
="$ac_compile"
2915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>&5
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; }; then :
2924 for ac_file in conftest.o conftest.obj conftest.*; do
2925 test -f "$ac_file" || continue;
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2928 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2939 See \
`config.log' for more details" "$LINENO" 5; }
2941 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2944 $as_echo "$ac_cv_objext" >&6; }
2945 OBJEXT=$ac_cv_objext
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2949 if ${ac_cv_c_compiler_gnu+:} false; then :
2950 $as_echo_n "(cached) " >&6
2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953 /* end confdefs.h. */
2966 if ac_fn_c_try_compile "$LINENO"; then :
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2976 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2977 if test $ac_compiler_gnu = yes; then
2982 ac_test_CFLAGS=${CFLAGS+set}
2983 ac_save_CFLAGS=$CFLAGS
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2985 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2986 if ${ac_cv_prog_cc_g+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 ac_save_c_werror_flag=$ac_c_werror_flag
2990 ac_c_werror_flag=yes
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
3004 if ac_fn_c_try_compile "$LINENO"; then :
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 if ac_fn_c_try_compile "$LINENO"; then :
3022 ac_c_werror_flag=$ac_save_c_werror_flag
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 ac_c_werror_flag=$ac_save_c_werror_flag
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3046 $as_echo "$ac_cv_prog_cc_g" >&6; }
3047 if test "$ac_test_CFLAGS" = set; then
3048 CFLAGS=$ac_save_CFLAGS
3049 elif test $ac_cv_prog_cc_g = yes; then
3050 if test "$GCC" = yes; then
3056 if test "$GCC" = yes; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3063 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3064 if ${ac_cv_prog_cc_c89+:} false; then :
3065 $as_echo_n "(cached) " >&6
3067 ac_cv_prog_cc_c89=no
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3075 struct buf { int x; };
3076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3077 static char *e (p, i)
3083 static char *f (char * (*g) (char **, int), char **p, ...)
3088 s = g (p, va_arg (v,int));
3093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3094 function prototypes and stuff, but not '\xHH' hex character constants.
3095 These don't provoke an error unfortunately, instead are silently treated
3096 as 'x'. The following induces an error, until -std is added to get
3097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3098 array size at least. It's necessary to write '\x00'==0 to get something
3099 that's true only with -std. */
3100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3103 inside strings and character constants. */
3105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3107 int test (int i, double x);
3108 struct s1 {int (*f) (int a);};
3109 struct s2 {int (*f) (double a);};
3110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3124 CC="$ac_save_CC $ac_arg"
3125 if ac_fn_c_try_compile "$LINENO"; then :
3126 ac_cv_prog_cc_c89=$ac_arg
3128 rm -f core conftest.err conftest.$ac_objext
3129 test "x$ac_cv_prog_cc_c89" != "xno" && break
3131 rm -f conftest.$ac_ext
3136 case "x$ac_cv_prog_cc_c89" in
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3139 $as_echo "none needed" >&6; } ;;
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3142 $as_echo "unsupported" >&6; } ;;
3144 CC="$CC $ac_cv_prog_cc_c89"
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3148 if test "x$ac_cv_prog_cc_c89" != xno; then :
3153 ac_cpp='$CPP $CPPFLAGS'
3154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if ${ac_cv_prog_RANLIB+:} false; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$RANLIB"; then
3167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 RANLIB=$ac_cv_prog_RANLIB
3187 if test -n "$RANLIB"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3189 $as_echo "$RANLIB" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3197 if test -z "$ac_cv_prog_RANLIB"; then
3198 ac_ct_RANLIB=$RANLIB
3199 # Extract the first word of "ranlib", so it can be a program name with args.
3200 set dummy ranlib; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$ac_ct_RANLIB"; then
3207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_ac_ct_RANLIB="ranlib"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3227 if test -n "$ac_ct_RANLIB"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3229 $as_echo "$ac_ct_RANLIB" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3235 if test "x$ac_ct_RANLIB" = x; then
3238 case $cross_compiling:$ac_tool_warned in
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242 ac_tool_warned=yes ;;
3244 RANLIB=$ac_ct_RANLIB
3247 RANLIB="$ac_cv_prog_RANLIB"
3251 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3252 for ac_prog in aclocal
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_ACLOCAL+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$ACLOCAL"; then
3262 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271 ac_cv_prog_ACLOCAL="$ac_prog"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 ACLOCAL=$ac_cv_prog_ACLOCAL
3282 if test -n "$ACLOCAL"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3284 $as_echo "$ACLOCAL" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3291 test -n "$ACLOCAL" && break
3293 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3295 for ac_prog in autoconf
3297 # Extract the first word of "$ac_prog", so it can be a program name with args.
3298 set dummy $ac_prog; ac_word=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if ${ac_cv_prog_AUTOCONF+:} false; then :
3302 $as_echo_n "(cached) " >&6
3304 if test -n "$AUTOCONF"; then
3305 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314 ac_cv_prog_AUTOCONF="$ac_prog"
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 AUTOCONF=$ac_cv_prog_AUTOCONF
3325 if test -n "$AUTOCONF"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3327 $as_echo "$AUTOCONF" >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3334 test -n "$AUTOCONF" && break
3336 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3338 for ac_prog in autoheader
3340 # Extract the first word of "$ac_prog", so it can be a program name with args.
3341 set dummy $ac_prog; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if ${ac_cv_prog_AUTOHEADER+:} false; then :
3345 $as_echo_n "(cached) " >&6
3347 if test -n "$AUTOHEADER"; then
3348 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357 ac_cv_prog_AUTOHEADER="$ac_prog"
3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3368 if test -n "$AUTOHEADER"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3370 $as_echo "$AUTOHEADER" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3377 test -n "$AUTOHEADER" && break
3379 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3382 # Figure out what compiler warnings we can enable.
3383 # See config/warnings.m4 for details.
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 save_CFLAGS="$CFLAGS"
3394 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3395 -Wmissing-prototypes -Wold-style-definition \
3396 -Wmissing-format-attribute -Wcast-qual; do
3397 # Do the check with the no- prefix removed since gcc silently
3398 # accepts any -Wno-* option on purpose
3399 case $real_option in
3400 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3401 *) option=$real_option ;;
3403 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3406 $as_echo_n "checking whether $CC supports $option... " >&6; }
3407 if eval \${$as_acx_Woption+:} false; then :
3408 $as_echo_n "(cached) " >&6
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 eval "$as_acx_Woption=yes"
3425 eval "$as_acx_Woption=no"
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 eval ac_res=\$$as_acx_Woption
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3432 $as_echo "$ac_res" >&6; }
3433 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3434 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3437 CFLAGS="$save_CFLAGS"
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 ac_cpp='$CPP $CPPFLAGS'
3447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452 # Do the check with the no- prefix removed from the warning options
3453 # since gcc silently accepts any -Wno-* option on purpose
3454 if test "$GCC" = yes; then :
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
3456 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
3457 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 save_CFLAGS="$CFLAGS"
3461 CFLAGS="-pedantic -Wlong-long"
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 if ac_fn_c_try_compile "$LINENO"; then :
3474 acx_cv_prog_cc_pedantic__Wlong_long=yes
3476 acx_cv_prog_cc_pedantic__Wlong_long=no
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 CFLAGS="$save_CFLAGS"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3482 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3483 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3484 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3489 ac_cpp='$CPP $CPPFLAGS'
3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 save_CFLAGS="$CFLAGS"
3504 for real_option in -fno-lto; do
3505 # Do the check with the no- prefix removed since gcc silently
3506 # accepts any -Wno-* option on purpose
3507 case $real_option in
3508 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
3509 *) option=$real_option ;;
3511 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3514 $as_echo_n "checking whether $CC supports $option... " >&6; }
3515 if eval \${$as_acx_Woption+:} false; then :
3516 $as_echo_n "(cached) " >&6
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 eval "$as_acx_Woption=yes"
3533 eval "$as_acx_Woption=no"
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 eval ac_res=\$$as_acx_Woption
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3540 $as_echo "$ac_res" >&6; }
3541 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3542 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3545 CFLAGS="$save_CFLAGS"
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 # Only enable with --enable-werror-always until existing warnings are
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 # Check whether --enable-werror-always was given.
3564 if test "${enable_werror_always+set}" = set; then :
3565 enableval=$enable_werror_always;
3567 enable_werror_always=no
3570 if test $enable_werror_always = yes; then :
3571 WERROR="$WERROR${WERROR:+ }-Werror"
3575 ac_cpp='$CPP $CPPFLAGS'
3576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 # Checks for header files.
3584 ac_cpp='$CPP $CPPFLAGS'
3585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3589 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3590 # On Suns, sometimes $CPP names a directory.
3591 if test -n "$CPP" && test -d "$CPP"; then
3594 if test -z "$CPP"; then
3595 if ${ac_cv_prog_CPP+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 # Double quotes because CPP needs to be expanded
3599 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3602 for ac_c_preproc_warn_flag in '' yes
3604 # Use a header file that comes with gcc, so configuring glibc
3605 # with a fresh cross-compiler works.
3606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3607 # <limits.h> exists even on freestanding compilers.
3608 # On the NeXT, cc -E runs the code through the compiler's parser,
3609 # not just through cpp. "Syntax error" is here to catch this case.
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3613 # include <limits.h>
3615 # include <assert.h>
3619 if ac_fn_c_try_cpp "$LINENO"; then :
3622 # Broken: fails on valid input.
3625 rm -f conftest.err conftest.i conftest.$ac_ext
3627 # OK, works on sane cases. Now check whether nonexistent headers
3628 # can be detected and how.
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3633 if ac_fn_c_try_cpp "$LINENO"; then :
3634 # Broken: success on invalid input.
3637 # Passes both tests.
3641 rm -f conftest.err conftest.i conftest.$ac_ext
3644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3645 rm -f conftest.i conftest.err conftest.
$ac_ext
3646 if $ac_preproc_ok; then :
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3659 $as_echo "$CPP" >&6; }
3661 for ac_c_preproc_warn_flag
in '' yes
3663 # Use a header file that comes with gcc, so configuring glibc
3664 # with a fresh cross-compiler works.
3665 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3666 # <limits.h> exists even on freestanding compilers.
3667 # On the NeXT, cc -E runs the code through the compiler's parser,
3668 # not just through cpp. "Syntax error" is here to catch this case.
3669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3672 # include <limits.h>
3674 # include <assert.h>
3678 if ac_fn_c_try_cpp
"$LINENO"; then :
3681 # Broken: fails on valid input.
3684 rm -f conftest.err conftest.i conftest.
$ac_ext
3686 # OK, works on sane cases. Now check whether nonexistent headers
3687 # can be detected and how.
3688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3690 #include <ac_nonexistent.h>
3692 if ac_fn_c_try_cpp
"$LINENO"; then :
3693 # Broken: success on invalid input.
3696 # Passes both tests.
3700 rm -f conftest.err conftest.i conftest.
$ac_ext
3703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3704 rm -f conftest.i conftest.err conftest.
$ac_ext
3705 if $ac_preproc_ok; then :
3708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3711 See \`config.log' for more details" "$LINENO" 5; }
3715 ac_cpp
='$CPP $CPPFLAGS'
3716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3722 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3723 if ${ac_cv_path_GREP+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -z "$GREP"; then
3727 ac_path_GREP_found
=false
3728 # Loop through the user's path and test for each of PROGNAME-LIST
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_prog
in grep ggrep
; do
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3737 as_fn_executable_p
"$ac_path_GREP" ||
continue
3738 # Check for GNU ac_path_GREP and select it if it is found.
3739 # Check for GNU $ac_path_GREP
3740 case `"$ac_path_GREP" --version 2>&1` in
3742 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3745 $as_echo_n 0123456789 >"conftest.in"
3748 cat "conftest.in" "conftest.in" >"conftest.tmp"
3749 mv "conftest.tmp" "conftest.in"
3750 cp "conftest.in" "conftest.nl"
3751 $as_echo 'GREP' >> "conftest.nl"
3752 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3754 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3755 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3756 # Best one so far, save it but keep looking for a better one
3757 ac_cv_path_GREP
="$ac_path_GREP"
3758 ac_path_GREP_max
=$ac_count
3760 # 10*(2^10) chars as input seems more than enough
3761 test $ac_count -gt 10 && break
3763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3766 $ac_path_GREP_found && break 3
3771 if test -z "$ac_cv_path_GREP"; then
3772 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3775 ac_cv_path_GREP
=$GREP
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3780 $as_echo "$ac_cv_path_GREP" >&6; }
3781 GREP
="$ac_cv_path_GREP"
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3785 $as_echo_n "checking for egrep... " >&6; }
3786 if ${ac_cv_path_EGREP+:} false
; then :
3787 $as_echo_n "(cached) " >&6
3789 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3790 then ac_cv_path_EGREP
="$GREP -E"
3792 if test -z "$EGREP"; then
3793 ac_path_EGREP_found
=false
3794 # Loop through the user's path and test for each of PROGNAME-LIST
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3796 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_prog
in egrep; do
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3803 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3804 # Check for GNU ac_path_EGREP and select it if it is found.
3805 # Check for GNU $ac_path_EGREP
3806 case `"$ac_path_EGREP" --version 2>&1` in
3808 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3811 $as_echo_n 0123456789 >"conftest.in"
3814 cat "conftest.in" "conftest.in" >"conftest.tmp"
3815 mv "conftest.tmp" "conftest.in"
3816 cp "conftest.in" "conftest.nl"
3817 $as_echo 'EGREP' >> "conftest.nl"
3818 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3819 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3820 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3821 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3822 # Best one so far, save it but keep looking for a better one
3823 ac_cv_path_EGREP
="$ac_path_EGREP"
3824 ac_path_EGREP_max
=$ac_count
3826 # 10*(2^10) chars as input seems more than enough
3827 test $ac_count -gt 10 && break
3829 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3832 $ac_path_EGREP_found && break 3
3837 if test -z "$ac_cv_path_EGREP"; then
3838 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3841 ac_cv_path_EGREP
=$EGREP
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3847 $as_echo "$ac_cv_path_EGREP" >&6; }
3848 EGREP
="$ac_cv_path_EGREP"
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3852 $as_echo_n "checking for ANSI C header files... " >&6; }
3853 if ${ac_cv_header_stdc+:} false
; then :
3854 $as_echo_n "(cached) " >&6
3856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3871 if ac_fn_c_try_compile
"$LINENO"; then :
3872 ac_cv_header_stdc
=yes
3874 ac_cv_header_stdc
=no
3876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3878 if test $ac_cv_header_stdc = yes; then
3879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3886 $EGREP "memchr" >/dev
/null
2>&1; then :
3889 ac_cv_header_stdc
=no
3895 if test $ac_cv_header_stdc = yes; then
3896 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3903 $EGREP "free" >/dev
/null
2>&1; then :
3906 ac_cv_header_stdc
=no
3912 if test $ac_cv_header_stdc = yes; then
3913 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3914 if test "$cross_compiling" = yes; then :
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 #if ((' ' & 0x0FF) == 0x020)
3922 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3925 # define ISLOWER(c) \
3926 (('a' <= (c) && (c) <= 'i') \
3927 || ('j' <= (c) && (c) <= 'r') \
3928 || ('s' <= (c) && (c) <= 'z'))
3929 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3937 for (i = 0; i < 256; i++)
3938 if (XOR (islower (i), ISLOWER (i))
3939 || toupper (i) != TOUPPER (i))
3944 if ac_fn_c_try_run
"$LINENO"; then :
3947 ac_cv_header_stdc
=no
3949 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3950 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3956 $as_echo "$ac_cv_header_stdc" >&6; }
3957 if test $ac_cv_header_stdc = yes; then
3959 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3963 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3964 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3965 inttypes.h stdint.h unistd.h
3967 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3968 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3970 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3971 cat >>confdefs.h
<<_ACEOF
3972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3980 for ac_header
in ctype.h stddef.h string.h stdio.h
3982 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3983 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3984 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3985 cat >>confdefs.h
<<_ACEOF
3986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3995 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3997 acx_cv_header_stdint
=stddef.h
3998 acx_cv_header_stdint_kind
="(already complete)"
3999 for i
in stdint.h
$inttype_headers; do
4000 unset ac_cv_type_uintptr_t
4001 unset ac_cv_type_uintmax_t
4002 unset ac_cv_type_int_least32_t
4003 unset ac_cv_type_int_fast32_t
4004 unset ac_cv_type_uint64_t
4005 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
4006 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
4009 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
4010 acx_cv_header_stdint
=$i
4015 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4018 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4021 acx_cv_header_stdint_kind
="(mostly complete)"
4024 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
4027 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
4030 acx_cv_header_stdint_kind
="(mostly complete)"
4033 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
4036 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
4039 acx_cv_header_stdint_kind
="(mostly complete)"
4042 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4045 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4048 acx_cv_header_stdint_kind
="(lacks uint64_t)"
4053 if test "$acx_cv_header_stdint" = stddef.h
; then
4054 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
4055 for i
in stdint.h
$inttype_headers; do
4056 unset ac_cv_type_uintptr_t
4057 unset ac_cv_type_uint32_t
4058 unset ac_cv_type_uint64_t
4059 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
4060 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
4063 if test "x$ac_cv_type_uint32_t" = xyes
; then :
4064 acx_cv_header_stdint
=$i
4069 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
4072 if test "x$ac_cv_type_uint64_t" = xyes
; then :
4076 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
4079 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
4086 if test "$acx_cv_header_stdint" = stddef.h
; then
4087 acx_cv_header_stdint_kind
="(u_intXX_t style)"
4088 for i
in sys
/types.h
$inttype_headers; do
4089 unset ac_cv_type_u_int32_t
4090 unset ac_cv_type_u_int64_t
4091 $as_echo_n "looking for u_intXX_t types in $i, " >&6
4092 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
4095 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
4096 acx_cv_header_stdint
=$i
4101 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
4104 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
4111 if test "$acx_cv_header_stdint" = stddef.h
; then
4112 acx_cv_header_stdint_kind
="(using manual detection)"
4115 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4116 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4117 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4118 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4119 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4121 # ----------------- Summarize what we found so far
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4124 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4126 case `$as_basename -- gstdint.h ||
4127 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4128 Xgstdint.h : 'X\(//\)$' \| \
4129 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4130 $as_echo X/gstdint.h |
4131 sed '/^.*\/\([^/][^/]*\)\/*$/{
4144 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4145 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4146 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4147 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4152 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4154 # ----------------- done included file, check C basic types --------
4156 # Lacking an uintptr_t? Test size of void *
4157 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4158 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
4159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4161 # This bug is HP SR number 8606223364.
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4163 $as_echo_n "checking size of void *... " >&6; }
4164 if ${ac_cv_sizeof_void_p+:} false
; then :
4165 $as_echo_n "(cached) " >&6
4167 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4170 if test "$ac_cv_type_void_p" = yes; then
4171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4173 as_fn_error
77 "cannot compute sizeof (void *)
4174 See \`config.log' for more details" "$LINENO" 5; }
4176 ac_cv_sizeof_void_p
=0
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4182 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4186 cat >>confdefs.h
<<_ACEOF
4187 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4193 # Lacking an uint64_t? Test size of long
4194 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4195 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
4196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4198 # This bug is HP SR number 8606223364.
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4200 $as_echo_n "checking size of long... " >&6; }
4201 if ${ac_cv_sizeof_long+:} false
; then :
4202 $as_echo_n "(cached) " >&6
4204 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4207 if test "$ac_cv_type_long" = yes; then
4208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210 as_fn_error
77 "cannot compute sizeof (long)
4211 See \`config.log' for more details" "$LINENO" 5; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4219 $as_echo "$ac_cv_sizeof_long" >&6; }
4223 cat >>confdefs.h
<<_ACEOF
4224 #define SIZEOF_LONG $ac_cv_sizeof_long
4230 if test $acx_cv_header_stdint = stddef.h
; then
4231 # Lacking a good header? Test size of everything and deduce all types.
4232 # The cast to long int works around a bug in the HP C Compiler
4233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4235 # This bug is HP SR number 8606223364.
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4237 $as_echo_n "checking size of int... " >&6; }
4238 if ${ac_cv_sizeof_int+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4244 if test "$ac_cv_type_int" = yes; then
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error
77 "cannot compute sizeof (int)
4248 See \`config.log' for more details" "$LINENO" 5; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4256 $as_echo "$ac_cv_sizeof_int" >&6; }
4260 cat >>confdefs.h
<<_ACEOF
4261 #define SIZEOF_INT $ac_cv_sizeof_int
4265 # The cast to long int works around a bug in the HP C Compiler
4266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4268 # This bug is HP SR number 8606223364.
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4270 $as_echo_n "checking size of short... " >&6; }
4271 if ${ac_cv_sizeof_short+:} false
; then :
4272 $as_echo_n "(cached) " >&6
4274 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4277 if test "$ac_cv_type_short" = yes; then
4278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error
77 "cannot compute sizeof (short)
4281 See \`config.log' for more details" "$LINENO" 5; }
4283 ac_cv_sizeof_short
=0
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4289 $as_echo "$ac_cv_sizeof_short" >&6; }
4293 cat >>confdefs.h
<<_ACEOF
4294 #define SIZEOF_SHORT $ac_cv_sizeof_short
4298 # The cast to long int works around a bug in the HP C Compiler
4299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4301 # This bug is HP SR number 8606223364.
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4303 $as_echo_n "checking size of char... " >&6; }
4304 if ${ac_cv_sizeof_char+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4310 if test "$ac_cv_type_char" = yes; then
4311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313 as_fn_error
77 "cannot compute sizeof (char)
4314 See \`config.log' for more details" "$LINENO" 5; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4322 $as_echo "$ac_cv_sizeof_char" >&6; }
4326 cat >>confdefs.h
<<_ACEOF
4327 #define SIZEOF_CHAR $ac_cv_sizeof_char
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4333 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4334 case "$ac_cv_sizeof_char" in
4335 1) acx_cv_type_int8_t
=char
;;
4336 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4339 $as_echo "$acx_cv_type_int8_t" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4342 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4343 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4344 2:*) acx_cv_type_int16_t
=int
;;
4345 *:2) acx_cv_type_int16_t
=short
;;
4346 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4349 $as_echo "$acx_cv_type_int16_t" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4352 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4353 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4354 4:*) acx_cv_type_int32_t
=int
;;
4355 *:4) acx_cv_type_int32_t
=long
;;
4356 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4359 $as_echo "$acx_cv_type_int32_t" >&6; }
4362 # These tests are here to make the output prettier
4364 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4365 case "$ac_cv_sizeof_long" in
4366 8) acx_cv_type_int64_t
=long
;;
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4369 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4371 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4374 # Now we can use the above types
4376 if test "$ac_cv_type_uintptr_t" != yes; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4378 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4379 case $ac_cv_sizeof_void_p in
4380 2) acx_cv_type_intptr_t
=int16_t
;;
4381 4) acx_cv_type_intptr_t
=int32_t
;;
4382 8) acx_cv_type_intptr_t
=int64_t
;;
4383 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4386 $as_echo "$acx_cv_type_intptr_t" >&6; }
4389 # ----------------- done all checks, emit header -------------
4390 ac_config_commands
="$ac_config_commands gstdint.h"
4395 # Checks for typedefs, structures, and compiler characteristics.
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4397 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4398 if ${ac_cv_c_const+:} false
; then :
4399 $as_echo_n "(cached) " >&6
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4409 /* Ultrix mips cc rejects this sort of thing. */
4410 typedef int charset[2];
4411 const charset cs = { 0, 0 };
4412 /* SunOS 4.1.1 cc rejects this. */
4413 char const *const *pcpcc;
4415 /* NEC SVR4.0.2 mips cc rejects this. */
4416 struct point {int x, y;};
4417 static struct point const zero = {0,0};
4418 /* AIX XL C 1.02.0.0 rejects this.
4419 It does not let you subtract one const X* pointer from another in
4420 an arm of an if-expression whose if-part is not a constant
4422 const char *g = "string";
4423 pcpcc = &g + (g ? g-g : 0);
4424 /* HPUX 7.0 cc rejects these. */
4426 ppc = (char**) pcpcc;
4427 pcpcc = (char const *const *) ppc;
4428 { /* SCO 3.2v4 cc rejects this sort of thing. */
4431 char const *s = 0 ? (char *) 0 : (char const *) 0;
4436 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4438 const int *foo = &x[0];
4441 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4442 typedef const int *iptr;
4446 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4447 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4448 struct s { int j; const int *ap[3]; } bx;
4449 struct s *b = &bx; b->j = 5;
4451 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4455 return !cs[0] && !zero.x;
4462 if ac_fn_c_try_compile
"$LINENO"; then :
4467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4470 $as_echo "$ac_cv_c_const" >&6; }
4471 if test $ac_cv_c_const = no
; then
4473 $as_echo "#define const /**/" >>confdefs.h
4477 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4478 if test "x$ac_cv_type_off_t" = xyes
; then :
4482 cat >>confdefs.h
<<_ACEOF
4483 #define off_t long int
4488 # The cast to long int works around a bug in the HP C Compiler
4489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4491 # This bug is HP SR number 8606223364.
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4493 $as_echo_n "checking size of int... " >&6; }
4494 if ${ac_cv_sizeof_int+:} false
; then :
4495 $as_echo_n "(cached) " >&6
4497 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4500 if test "$ac_cv_type_int" = yes; then
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error
77 "cannot compute sizeof (int)
4504 See \`config.log' for more details" "$LINENO" 5; }
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4512 $as_echo "$ac_cv_sizeof_int" >&6; }
4516 cat >>confdefs.h
<<_ACEOF
4517 #define SIZEOF_INT $ac_cv_sizeof_int
4521 # The cast to long int works around a bug in the HP C Compiler
4522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4524 # This bug is HP SR number 8606223364.
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4526 $as_echo_n "checking size of long... " >&6; }
4527 if ${ac_cv_sizeof_long+:} false
; then :
4528 $as_echo_n "(cached) " >&6
4530 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4533 if test "$ac_cv_type_long" = yes; then
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error
77 "cannot compute sizeof (long)
4537 See \`config.log' for more details" "$LINENO" 5; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4545 $as_echo "$ac_cv_sizeof_long" >&6; }
4549 cat >>confdefs.h
<<_ACEOF
4550 #define SIZEOF_LONG $ac_cv_sizeof_long
4555 # Checks for library functions.
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4557 $as_echo_n "checking for ANSI C header files... " >&6; }
4558 if ${ac_cv_header_stdc+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4576 if ac_fn_c_try_compile
"$LINENO"; then :
4577 ac_cv_header_stdc
=yes
4579 ac_cv_header_stdc
=no
4581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4583 if test $ac_cv_header_stdc = yes; then
4584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4591 $EGREP "memchr" >/dev
/null
2>&1; then :
4594 ac_cv_header_stdc
=no
4600 if test $ac_cv_header_stdc = yes; then
4601 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4608 $EGREP "free" >/dev
/null
2>&1; then :
4611 ac_cv_header_stdc
=no
4617 if test $ac_cv_header_stdc = yes; then
4618 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4619 if test "$cross_compiling" = yes; then :
4622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4626 #if ((' ' & 0x0FF) == 0x020)
4627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4630 # define ISLOWER(c) \
4631 (('a' <= (c) && (c) <= 'i') \
4632 || ('j' <= (c) && (c) <= 'r') \
4633 || ('s' <= (c) && (c) <= 'z'))
4634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4642 for (i = 0; i < 256; i++)
4643 if (XOR (islower (i), ISLOWER (i))
4644 || toupper (i) != TOUPPER (i))
4649 if ac_fn_c_try_run
"$LINENO"; then :
4652 ac_cv_header_stdc
=no
4654 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4655 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4661 $as_echo "$ac_cv_header_stdc" >&6; }
4662 if test $ac_cv_header_stdc = yes; then
4664 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4669 # Check whether --enable-maintainer-mode was given.
4670 if test "${enable_maintainer_mode+set}" = set; then :
4671 enableval
=$enable_maintainer_mode;
4673 enable_maintainer_mode
=no
4677 if test "x$enable_maintainer_mode" = xno
; then
4684 # Make sure we can run config.sub.
4685 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4686 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4689 $as_echo_n "checking build system type... " >&6; }
4690 if ${ac_cv_build+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 ac_build_alias
=$build_alias
4694 test "x$ac_build_alias" = x
&&
4695 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4696 test "x$ac_build_alias" = x
&&
4697 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4698 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4699 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4703 $as_echo "$ac_cv_build" >&6; }
4704 case $ac_cv_build in
4706 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4709 ac_save_IFS
=$IFS; IFS
='-'
4715 # Remember, the first character of IFS is used to create $*,
4716 # except with old shells:
4719 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4723 $as_echo_n "checking host system type... " >&6; }
4724 if ${ac_cv_host+:} false
; then :
4725 $as_echo_n "(cached) " >&6
4727 if test "x$host_alias" = x
; then
4728 ac_cv_host
=$ac_cv_build
4730 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4731 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4736 $as_echo "$ac_cv_host" >&6; }
4739 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4742 ac_save_IFS
=$IFS; IFS
='-'
4748 # Remember, the first character of IFS is used to create $*,
4749 # except with old shells:
4752 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4756 $as_echo_n "checking target system type... " >&6; }
4757 if ${ac_cv_target+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 if test "x$target_alias" = x
; then
4761 ac_cv_target
=$ac_cv_host
4763 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4764 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4769 $as_echo "$ac_cv_target" >&6; }
4770 case $ac_cv_target in
4772 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4774 target
=$ac_cv_target
4775 ac_save_IFS
=$IFS; IFS
='-'
4781 # Remember, the first character of IFS is used to create $*,
4782 # except with old shells:
4785 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4788 # The aliases save the names the user supplied, while $host etc.
4789 # will get canonicalized.
4790 test -n "$target_alias" &&
4791 test "$program_prefix$program_suffix$program_transform_name" = \
4793 program_prefix
=${target_alias}-
4795 # Default decimal format
4796 # If you change the defaults here, be sure to change them in the GCC directory also
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4798 $as_echo_n "checking for decimal floating point... " >&6; }
4801 # Check whether --enable-decimal-float was given.
4802 if test "${enable_decimal_float+set}" = set; then :
4803 enableval
=$enable_decimal_float;
4804 case $enable_decimal_float in
4805 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4806 *) as_fn_error $?
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4807 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4813 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4814 i?
86*-*-elfiamcu | i?
86*-*-gnu* | x86_64
*-*-gnu* | \
4815 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4816 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4817 enable_decimal_float
=yes
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4821 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4822 enable_decimal_float
=no
4829 # x86's use BID format instead of DPD
4830 case x
$enable_decimal_float in
4833 i?
86*-*-* | x86_64
*-*-*)
4834 enable_decimal_float
=bid
4837 enable_decimal_float
=dpd
4840 default_decimal_float
=$enable_decimal_float
4843 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4844 # dependency on libdecnumber.
4845 default_decimal_float
=dpd
4852 # Use default_decimal_float for dependency.
4853 enable_decimal_float
=$default_decimal_float
4855 # If BID is being used, additional objects should be linked in.
4856 if test x
$enable_decimal_float = xbid
; then
4857 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4863 $as_echo "$enable_decimal_float" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4868 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4869 if ${ac_cv_c_bigendian+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 ac_cv_c_bigendian
=unknown
4873 # See if we're dealing with a universal compiler.
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4876 #ifndef __APPLE_CC__
4877 not a universal capable compiler
4882 if ac_fn_c_try_compile
"$LINENO"; then :
4884 # Check for potential -arch flags. It is not universal unless
4885 # there are at least two -arch flags with different values.
4888 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4889 if test -n "$ac_prev"; then
4891 i?
86 | x86_64 | ppc | ppc64
)
4892 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4895 ac_cv_c_bigendian
=universal
4901 elif test "x$ac_word" = "x-arch"; then
4906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 if test $ac_cv_c_bigendian = unknown
; then
4908 # See if sys/param.h defines the BYTE_ORDER macro.
4909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4911 #include <sys/types.h>
4912 #include <sys/param.h>
4917 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4918 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4927 if ac_fn_c_try_compile
"$LINENO"; then :
4928 # It does; now see whether it defined to BIG_ENDIAN or not.
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4931 #include <sys/types.h>
4932 #include <sys/param.h>
4937 #if BYTE_ORDER != BIG_ENDIAN
4945 if ac_fn_c_try_compile
"$LINENO"; then :
4946 ac_cv_c_bigendian
=yes
4948 ac_cv_c_bigendian
=no
4950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 if test $ac_cv_c_bigendian = unknown
; then
4955 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4963 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4971 if ac_fn_c_try_compile
"$LINENO"; then :
4972 # It does; now see whether it defined to _BIG_ENDIAN or not.
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4988 if ac_fn_c_try_compile
"$LINENO"; then :
4989 ac_cv_c_bigendian
=yes
4991 ac_cv_c_bigendian
=no
4993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4997 if test $ac_cv_c_bigendian = unknown
; then
4998 # Compile a test program.
4999 if test "$cross_compiling" = yes; then :
5000 # Try to guess by grepping values from an object file.
5001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 short int ascii_mm[] =
5004 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5005 short int ascii_ii[] =
5006 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5007 int use_ascii (int i) {
5008 return ascii_mm[i] + ascii_ii[i];
5010 short int ebcdic_ii[] =
5011 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5012 short int ebcdic_mm[] =
5013 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5014 int use_ebcdic (int i) {
5015 return ebcdic_mm[i] + ebcdic_ii[i];
5022 return use_ascii (foo) == use_ebcdic (foo);
5027 if ac_fn_c_try_compile
"$LINENO"; then :
5028 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5029 ac_cv_c_bigendian
=yes
5031 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5032 if test "$ac_cv_c_bigendian" = unknown
; then
5033 ac_cv_c_bigendian
=no
5035 # finding both strings is unlikely to happen, but who knows?
5036 ac_cv_c_bigendian
=unknown
5040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 $ac_includes_default
5049 /* Are we little or big endian? From Harbison&Steele. */
5053 char c[sizeof (long int)];
5056 return u.c[sizeof (long int) - 1] == 1;
5062 if ac_fn_c_try_run
"$LINENO"; then :
5063 ac_cv_c_bigendian
=no
5065 ac_cv_c_bigendian
=yes
5067 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5068 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5074 $as_echo "$ac_cv_c_bigendian" >&6; }
5075 case $ac_cv_c_bigendian in #(
5077 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5083 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5087 as_fn_error $?
"unknown endianness
5088 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5092 # Enable --enable-host-shared.
5093 # Check whether --enable-host-shared was given.
5094 if test "${enable_host_shared+set}" = set; then :
5095 enableval
=$enable_host_shared; PICFLAG
=-fPIC
5102 # Enable Intel CET on Intel CET enabled host if jit is enabled.
5103 # Check whether --enable-cet was given.
5104 if test "${enable_cet+set}" = set; then :
5105 enableval
=$enable_cet;
5106 case "$enableval" in
5108 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5117 $as_echo_n "checking for CET support... " >&6; }
5120 i
[34567]86-*-linux* | x86_64-
*-linux*)
5122 save_CFLAGS
="$CFLAGS"
5123 CFLAGS
="$CFLAGS -fcf-protection"
5124 case "$enable_cet" in
5126 # Check if target supports multi-byte NOPs
5127 # and if assembler supports CET insn.
5128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5135 #if !defined(__SSE2__)
5136 #error target does not support multi-byte NOPs
5145 if ac_fn_c_try_compile
"$LINENO"; then :
5150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5153 # Check if assembler supports CET.
5154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5165 if ac_fn_c_try_compile
"$LINENO"; then :
5168 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
5170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 CFLAGS
="$save_CFLAGS"
5181 save_CFLAGS
="$CFLAGS"
5182 CFLAGS
="$CFLAGS -fcf-protection=none"
5183 save_LDFLAGS
="$LDFLAGS"
5184 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
5185 if test x
$may_have_cet = xyes
; then
5186 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
5187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5198 if ac_fn_c_try_link
"$LINENO"; then :
5203 rm -f core conftest.err conftest.
$ac_objext \
5204 conftest
$ac_exeext conftest.
$ac_ext
5207 if test x
$may_have_cet = xyes
; then
5208 if test x
$cross_compiling = xno
; then
5209 if test "$cross_compiling" = yes; then :
5210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5212 as_fn_error $?
"cannot run test program while cross compiling
5213 See \`config.log' for more details" "$LINENO" 5; }
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5224 __attribute__ ((noinline, noclone))
5225 xxx (void (*f) (void))
5231 __attribute__ ((noinline, noclone))
5245 if ac_fn_c_try_run
"$LINENO"; then :
5250 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5251 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5254 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
5255 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
5259 # Enable CET in cross compiler if possible so that it will run on both
5260 # CET and non-CET hosts.
5263 if test x
$enable_cet = xyes
; then
5264 CET_HOST_FLAGS
="-fcf-protection"
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5271 CFLAGS
="$save_CFLAGS"
5272 LDFLAGS
="$save_LDFLAGS"
5274 case x
$enable_languages in
5286 ac_config_headers
="$ac_config_headers config.h:config.in"
5288 ac_config_files
="$ac_config_files Makefile"
5290 cat >confcache
<<\_ACEOF
5291 # This file is a shell script that caches the results of configure
5292 # tests run on this system so they can be shared between configure
5293 # scripts and configure runs, see configure's option --config-cache.
5294 # It is not useful on other systems. If it contains results you don't
5295 # want to keep, you may remove or edit it.
5297 # config.status only pays attention to the cache file if you give it
5298 # the --recheck option to rerun configure.
5300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5306 # The following way of writing the cache mishandles newlines in values,
5307 # but we know of no workaround that is simple, portable, and efficient.
5308 # So, we kill variables containing newlines.
5309 # Ultrix sh set writes to stderr and can't be redirected directly,
5310 # and sets the high bit in the cache file unless we assign to the vars.
5312 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5313 eval ac_val
=\$
$ac_var
5317 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5321 _ | IFS | as_nl
) ;; #(
5322 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5323 *) { eval $ac_var=; unset $ac_var;} ;;
5329 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5330 *${as_nl}ac_space
=\
*)
5331 # `set' does not quote correctly, so add quotes: double-quote
5332 # substitution turns \\\\ into \\, and sed turns \\ into \.
5335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5338 # `set' quotes correctly as required by POSIX, so do not add quotes.
5339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5350 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5352 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5353 if test -w "$cache_file"; then
5354 if test "x$cache_file" != "x/dev/null"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5356 $as_echo "$as_me: updating cache $cache_file" >&6;}
5357 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5358 cat confcache
>"$cache_file"
5360 case $cache_file in #(
5362 mv -f confcache
"$cache_file"$$
&&
5363 mv -f "$cache_file"$$
"$cache_file" ;; #(
5365 mv -f confcache
"$cache_file" ;;
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5371 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5376 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5377 # Let make expand exec_prefix.
5378 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5380 DEFS
=-DHAVE_CONFIG_H
5385 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5386 # 1. Remove the extension, and $U if already installed.
5387 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5388 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5389 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5390 # will be set to the directory where LIBOBJS objects are built.
5391 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5392 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5396 LTLIBOBJS
=$ac_ltlibobjs
5401 : "${CONFIG_STATUS=./config.status}"
5403 ac_clean_files_save
=$ac_clean_files
5404 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5408 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5410 # Generated by $as_me.
5411 # Run this file to recreate the current configuration.
5412 # Compiler output produced by configure, useful for debugging
5413 # configure, is in config.log if it exists.
5419 SHELL=\${CONFIG_SHELL-$SHELL}
5422 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5423 ## -------------------- ##
5424 ## M4sh Initialization. ##
5425 ## -------------------- ##
5427 # Be more Bourne compatible
5428 DUALCASE
=1; export DUALCASE
# for MKS sh
5429 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5432 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5433 # is contrary to our usage. Disable this feature.
5434 alias -g '${1+"$@"}'='"$@"'
5435 setopt NO_GLOB_SUBST
5437 case `(set -o) 2>/dev/null` in #(
5449 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5450 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5453 # Prefer a ksh shell builtin over an external printf program on Solaris,
5454 # but without wasting forks for bash or zsh.
5455 if test -z "$BASH_VERSION$ZSH_VERSION" \
5456 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5457 as_echo='print
-r --'
5458 as_echo_n='print
-rn --'
5459 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5460 as_echo='printf %s
\n'
5461 as_echo_n='printf %s
'
5463 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5464 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5465 as_echo_n='/usr
/ucb
/echo -n'
5467 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5468 as_echo_n_body='eval
5472 expr "X$arg" : "X\\(.*\\)$as_nl";
5473 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5475 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5477 export as_echo_n_body
5478 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5481 as_echo='sh
-c $as_echo_body as_echo
'
5484 # The user is always right.
5485 if test "${PATH_SEPARATOR+set}" != set; then
5487 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5488 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5495 # We need space, tab and new line, in precisely that order. Quoting is
5496 # there to prevent editors from complaining about space-tab.
5497 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5498 # splitting by setting IFS to empty value.)
5501 # Find who we are. Look in the path if we contain no directory separator.
5504 *[\\/]* ) as_myself=$0 ;;
5505 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir=.
5510 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5516 # We did not find ourselves, most probably we were run as `sh COMMAND'
5517 # in which case we are not to be found in the path.
5518 if test "x$as_myself" = x
; then
5521 if test ! -f "$as_myself"; then
5522 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5526 # Unset variables that we do not need and which cause bugs (e.g. in
5527 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5528 # suppresses any "Segmentation fault" message there. '((' could
5529 # trigger a bug in pdksh 5.2.14.
5530 for as_var
in BASH_ENV ENV MAIL MAILPATH
5531 do eval test x\
${$as_var+set} = xset \
5532 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5545 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5548 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5549 # ----------------------------------------
5550 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5551 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5552 # script with STATUS, using 1 if that was 0.
5555 as_status
=$1; test $as_status -eq 0 && as_status
=1
5557 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5558 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5560 $as_echo "$as_me: error: $2" >&2
5561 as_fn_exit
$as_status
5565 # as_fn_set_status STATUS
5566 # -----------------------
5567 # Set $? to STATUS, without forking.
5571 } # as_fn_set_status
5575 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5585 # Portably unset VAR.
5588 { eval $1=; unset $1;}
5590 as_unset
=as_fn_unset
5591 # as_fn_append VAR VALUE
5592 # ----------------------
5593 # Append the text in VALUE to the end of the definition contained in VAR. Take
5594 # advantage of any shell optimizations that allow amortized linear growth over
5595 # repeated appends, instead of the typical quadratic growth present in naive
5597 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5598 eval 'as_fn_append ()
5609 # as_fn_arith ARG...
5610 # ------------------
5611 # Perform arithmetic evaluation on the ARGs, and store the result in the
5612 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5613 # must be portable across $(()) and expr.
5614 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5615 eval 'as_fn_arith ()
5622 as_val
=`expr "$@" || test $? -eq 1`
5627 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5628 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5634 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5635 as_basename
=basename
5640 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5646 as_me
=`$as_basename -- "$0" ||
5647 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5648 X"$0" : 'X\(//\)$' \| \
5649 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5651 sed '/^.*\/\([^/][^/]*\)\/*$/{
5665 # Avoid depending upon Character Ranges.
5666 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5667 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5668 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5669 as_cr_digits
='0123456789'
5670 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5672 ECHO_C
= ECHO_N
= ECHO_T
=
5673 case `echo -n x` in #(((((
5675 case `echo 'xy\c'` in
5676 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5678 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5685 rm -f conf$$ conf$$.exe conf$$.
file
5686 if test -d conf$$.dir
; then
5687 rm -f conf$$.dir
/conf$$.
file
5690 mkdir conf$$.dir
2>/dev
/null
5692 if (echo >conf$$.
file) 2>/dev
/null
; then
5693 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5695 # ... but there are two gotchas:
5696 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5697 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5698 # In both cases, we have to default to `cp -pR'.
5699 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5701 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5709 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5710 rmdir conf$$.dir
2>/dev
/null
5715 # Create "$as_dir" as a directory, including parents if necessary.
5720 -*) as_dir
=.
/$as_dir;;
5722 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5726 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5727 *) as_qdir
=$as_dir;;
5729 as_dirs
="'$as_qdir' $as_dirs"
5730 as_dir
=`$as_dirname -- "$as_dir" ||
5731 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5732 X"$as_dir" : 'X\(//\)[^/]' \| \
5733 X"$as_dir" : 'X\(//\)$' \| \
5734 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5735 $as_echo X"$as_dir" |
5736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5753 test -d "$as_dir" && break
5755 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5756 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5760 if mkdir
-p .
2>/dev
/null
; then
5761 as_mkdir_p
='mkdir -p "$as_dir"'
5763 test -d .
/-p && rmdir .
/-p
5768 # as_fn_executable_p FILE
5769 # -----------------------
5770 # Test if FILE is an executable regular file.
5771 as_fn_executable_p
()
5773 test -f "$1" && test -x "$1"
5774 } # as_fn_executable_p
5776 as_executable_p
=as_fn_executable_p
5778 # Sed expression to map a string onto a valid CPP name.
5779 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5781 # Sed expression to map a string onto a valid variable name.
5782 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5786 ## ----------------------------------- ##
5787 ## Main body of $CONFIG_STATUS script. ##
5788 ## ----------------------------------- ##
5790 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5793 # Save the log message, to keep $0 and so on meaningful, and to
5794 # report actual input values of CONFIG_FILES etc. instead of their
5795 # values after options handling.
5797 This file was extended by libdecnumber $as_me , which was
5798 generated by GNU Autoconf 2.69. Invocation command line was
5800 CONFIG_FILES = $CONFIG_FILES
5801 CONFIG_HEADERS = $CONFIG_HEADERS
5802 CONFIG_LINKS = $CONFIG_LINKS
5803 CONFIG_COMMANDS = $CONFIG_COMMANDS
5806 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5811 case $ac_config_files in *"
5812 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5815 case $ac_config_headers in *"
5816 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5821 # Files that config.status was made for.
5822 config_files="$ac_config_files"
5823 config_headers="$ac_config_headers"
5824 config_commands="$ac_config_commands"
5828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5830 \`$as_me' instantiates files and other configuration actions
5831 from templates according to the current configuration. Unless the files
5832 and actions are specified as TAGs, all are instantiated by default.
5834 Usage: $0 [OPTION]... [TAG]...
5836 -h, --help print this help, then exit
5837 -V, --version print version number and configuration settings, then exit
5838 --config print configuration, then exit
5839 -q, --quiet, --silent
5840 do not print progress messages
5841 -d, --debug don't remove temporary files
5842 --recheck update $as_me by reconfiguring in the same conditions
5843 --file=FILE[:TEMPLATE]
5844 instantiate the configuration file FILE
5845 --header=FILE[:TEMPLATE]
5846 instantiate the configuration header FILE
5848 Configuration files:
5851 Configuration headers:
5854 Configuration commands:
5857 Report bugs to <gcc-bugs@gcc.gnu.org>."
5860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5861 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5863 libdecnumber config.status
5864 configured by $0, generated by GNU Autoconf 2.69,
5865 with options \\"\$ac_cs_config\\"
5867 Copyright (C) 2012 Free Software Foundation, Inc.
5868 This config.status script is free software; the Free Software Foundation
5869 gives unlimited permission to copy, distribute and modify it."
5873 test -n "\$AWK" || AWK=awk
5876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5877 # The default lists apply if the user does not specify any file.
5883 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5884 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5888 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5900 # Handling of the options.
5901 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5903 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5904 $as_echo "$ac_cs_version"; exit ;;
5905 --config |
--confi |
--conf |
--con |
--co |
--c )
5906 $as_echo "$ac_cs_config"; exit ;;
5907 --debug |
--debu |
--deb |
--de |
--d |
-d )
5909 --file |
--fil |
--fi |
--f )
5912 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5913 '') as_fn_error $?
"missing file argument" ;;
5915 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5916 ac_need_defaults
=false
;;
5917 --header |
--heade |
--head |
--hea )
5920 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5922 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5923 ac_need_defaults
=false
;;
5925 # Conflict between --help and --header
5926 as_fn_error $?
"ambiguous option: \`$1'
5927 Try \`$0 --help' for more information.";;
5928 --help |
--hel |
-h )
5929 $as_echo "$ac_cs_usage"; exit ;;
5930 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5931 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5935 -*) as_fn_error $?
"unrecognized option: \`$1'
5936 Try \`$0 --help' for more information." ;;
5938 *) as_fn_append ac_config_targets
" $1"
5939 ac_need_defaults
=false
;;
5945 ac_configure_extra_args
=
5947 if $ac_cs_silent; then
5949 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5954 if \$ac_cs_recheck; then
5955 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5957 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5958 CONFIG_SHELL='$SHELL'
5964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5968 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5969 ## Running $as_me. ##
5975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5982 acx_cv_header_stdint="$acx_cv_header_stdint"
5983 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5984 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5985 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5986 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5987 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5988 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5989 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5990 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5991 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5992 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5993 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5994 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5995 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
6000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6002 # Handling of arguments.
6003 for ac_config_target
in $ac_config_targets
6005 case $ac_config_target in
6006 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
6007 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6008 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6010 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6015 # If the user did not use the arguments to specify the items to instantiate,
6016 # then the envvar interface is used. Set only those that are not.
6017 # We use the long form for the default assignment because of an extremely
6018 # bizarre bug on SunOS 4.1.3.
6019 if $ac_need_defaults; then
6020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6021 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6022 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6025 # Have a temporary directory for convenience. Make it in the build tree
6026 # simply because there is no reason against having it here, and in addition,
6027 # creating and moving files from /tmp can sometimes cause problems.
6028 # Hook for its removal unless debugging.
6029 # Note that there is a small window in which the directory will not be cleaned:
6030 # after its creation but before its name has been assigned to `$tmp'.
6034 trap 'exit_status=$?
6036 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6038 trap 'as_fn_exit 1' 1 2 13 15
6040 # Create a (secure) tmp directory for tmp files.
6043 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6047 tmp
=.
/conf$$
-$RANDOM
6048 (umask 077 && mkdir
"$tmp")
6049 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6052 # Set up the scripts for CONFIG_FILES section.
6053 # No need to generate them if there are no CONFIG_FILES.
6054 # This happens for instance with `./config.status config.h'.
6055 if test -n "$CONFIG_FILES"; then
6058 ac_cr
=`echo X | tr X '\015'`
6059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6060 # But we know of no other shell where ac_cr would be empty at this
6061 # point, so we can use a bashism as a fallback.
6062 if test "x$ac_cr" = x
; then
6063 eval ac_cr
=\$
\'\\r
\'
6065 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6077 echo "cat >conf$$subs.awk <<_ACEOF" &&
6078 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6081 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6082 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6084 for ac_last_try in false false false false false :; do
6085 . ./conf$$subs.sh ||
6086 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6088 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6089 if test $ac_delim_n = $ac_delim_num; then
6091 elif $ac_last_try; then
6092 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6094 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6100 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6104 s/^/S["/; s
/!.
*/"]=/
6114 s/\(.\{148\}\)..*/\1/
6116 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6121 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6128 s/\(.\{148\}\)..*/\1/
6130 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6134 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6139 ' <conf$$subs.awk | sed '
6144 ' >>$CONFIG_STATUS || ac_write_fail=1
6145 rm -f conf$$subs.awk
6146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6148 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6149 for (key in S) S_is_set[key] = 1
6155 nfields = split(line, field, "@
")
6157 len = length(field[1])
6158 for (i = 2; i < nfields; i++) {
6160 keylen = length(key)
6161 if (S_is_set[key]) {
6163 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6164 len += length(value) + length(field[++i])
6175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6176 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6177 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6180 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6181 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6184 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6185 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6186 # trailing colons and then remove the whole line if VPATH becomes empty
6187 # (actually we leave an empty line to preserve line numbers).
6188 if test "x
$srcdir" = x.; then
6189 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6208 fi # test -n "$CONFIG_FILES"
6210 # Set up the scripts for CONFIG_HEADERS section.
6211 # No need to generate them if there are no CONFIG_HEADERS.
6212 # This happens for instance with `./config.status Makefile'.
6213 if test -n "$CONFIG_HEADERS"; then
6214 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6218 # Transform confdefs.h into an awk script `defines.awk', embedded as
6219 # here-document in config.status, that substitutes the proper values into
6220 # config.h.in to produce config.h.
6222 # Create a delimiter string that does not exist in confdefs.h, to ease
6223 # handling of long lines.
6225 for ac_last_try in false false :; do
6226 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6227 if test -z "$ac_tt"; then
6229 elif $ac_last_try; then
6230 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6232 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6236 # For the awk script, D is an array of macro values keyed by name,
6237 # likewise P contains macro parameters if any. Preserve backslash
6238 # newline sequences.
6240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6242 s/.\{148\}/&'"$ac_delim"'/g
6245 s/^[ ]*#[ ]*define[ ][ ]*/ /
6252 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6254 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6259 D["\
1"]=" \
3\\\\\\n
"\\/p
6261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6266 s/.\{148\}/&'"$ac_delim"'/g
6271 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6274 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6276 ' <confdefs.h | sed '
6277 s/'"$ac_delim"'/"\\\
6278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6281 for (key in D) D_is_set[key] = 1
6284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6286 split(line, arg, " ")
6287 if (arg[1] == "#") {
6291 defundef
= substr
(arg
[1], 2)
6294 split(mac1
, mac2
, "(") #)
6296 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6297 if (D_is_set
[macro
]) {
6298 # Preserve the white space surrounding the "#".
6299 print prefix
"define", macro P
[macro
] D
[macro
]
6302 # Replace #undef with comments. This is necessary, for example,
6303 # in the case of _POSIX_SOURCE, which is predefined and required
6304 # on some systems where configure will not decide to define it.
6305 if (defundef
== "undef") {
6306 print
"/*", prefix defundef
, macro
, "*/"
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6315 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6316 fi # test -n "$CONFIG_HEADERS"
6319 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6324 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6326 case $ac_mode$ac_tag in
6328 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6329 :[FH
]-) ac_tag
=-:-;;
6330 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6347 -) ac_f
="$ac_tmp/stdin";;
6348 *) # Look for the file first in the build tree, then in the source tree
6349 # (if the path is not absolute). The absolute path cannot be DOS-style,
6350 # because $ac_f cannot contain `:'.
6354 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6356 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6358 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6359 as_fn_append ac_file_inputs
" '$ac_f'"
6362 # Let's still pretend it is `configure' which instantiates (i.e., don't
6363 # use $as_me), people would be surprised to read:
6364 # /* config.h. Generated by config.status. */
6365 configure_input
='Generated from '`
6366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6368 if test x
"$ac_file" != x-
; then
6369 configure_input
="$ac_file. $configure_input"
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6371 $as_echo "$as_me: creating $ac_file" >&6;}
6373 # Neutralize special characters interpreted by sed in replacement strings.
6374 case $configure_input in #(
6375 *\
&* |
*\|
* |
*\\* )
6376 ac_sed_conf_input
=`$as_echo "$configure_input" |
6377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6378 *) ac_sed_conf_input
=$configure_input;;
6382 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6383 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6388 ac_dir
=`$as_dirname -- "$ac_file" ||
6389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6390 X"$ac_file" : 'X\(//\)[^/]' \| \
6391 X"$ac_file" : 'X\(//\)$' \| \
6392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6393 $as_echo X"$ac_file" |
6394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6411 as_dir
="$ac_dir"; as_fn_mkdir_p
6415 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6417 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6418 # A ".." for each directory in $ac_dir_suffix.
6419 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6420 case $ac_top_builddir_sub in
6421 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6422 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6425 ac_abs_top_builddir
=$ac_pwd
6426 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6427 # for backward compatibility:
6428 ac_top_builddir
=$ac_top_build_prefix
6431 .
) # We are building in place.
6433 ac_top_srcdir
=$ac_top_builddir_sub
6434 ac_abs_top_srcdir
=$ac_pwd ;;
6435 [\\/]* | ?
:[\\/]* ) # Absolute name.
6436 ac_srcdir
=$srcdir$ac_dir_suffix;
6437 ac_top_srcdir
=$srcdir
6438 ac_abs_top_srcdir
=$srcdir ;;
6440 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6441 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6442 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6444 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6456 # If the template does not know about datarootdir, expand it.
6457 # FIXME: This hack should be removed a few years after 2.60.
6458 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6470 *datarootdir
*) ac_datarootdir_seen
=yes;;
6471 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6476 ac_datarootdir_hack='
6477 s&@datadir@&$datadir&g
6478 s&@docdir@&$docdir&g
6479 s&@infodir@&$infodir&g
6480 s&@localedir@&$localedir&g
6481 s&@mandir@&$mandir&g
6482 s&\\\${datarootdir}&$datarootdir&g' ;;
6486 # Neutralize VPATH when `$srcdir' = `.'.
6487 # Shell code in configure.ac might set extrasub.
6488 # FIXME: do we really want to maintain this feature?
6489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6490 ac_sed_extra="$ac_vpsub
6493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6495 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6496 s|@configure_input@|
$ac_sed_conf_input|
;t t
6497 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6498 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6499 s
&@srcdir@
&$ac_srcdir&;t t
6500 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6501 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6502 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6503 s
&@builddir@
&$ac_builddir&;t t
6504 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6505 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6506 $ac_datarootdir_hack
6508 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6509 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6512 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6513 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6514 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6516 which seems to be undefined. Please make sure it is defined" >&5
6517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6518 which seems to be undefined. Please make sure it is defined" >&2;}
6520 rm -f "$ac_tmp/stdin"
6522 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6523 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6531 if test x"$ac_file" != x-; then
6533 $as_echo "/* $configure_input */" \
6534 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6535 } >"$ac_tmp/config.h" \
6536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6537 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6539 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6542 mv "$ac_tmp/config.h" "$ac_file" \
6543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6546 $as_echo "/* $configure_input */" \
6547 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6548 || as_fn_error $? "could not create -" "$LINENO" 5
6552 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6553 $as_echo "$as_me: executing $ac_file commands" >&6;}
6558 case $ac_file$ac_mode in
6560 if test "$GCC" = yes; then
6561 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6563 echo "/* generated for $CC */" > tmp-stdint.h
6566 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6568 #ifndef GCC_GENERATED_STDINT_H
6569 #define GCC_GENERATED_STDINT_H 1
6571 #include <sys/types.h>
6574 if test "$acx_cv_header_stdint" != stdint.h; then
6575 echo "#include <stddef.h>" >> tmp-stdint.h
6577 if test "$acx_cv_header_stdint" != stddef.h; then
6578 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6581 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6582 /* glibc uses these symbols as guards to prevent redefinitions. */
6583 #ifdef __int8_t_defined
6588 #ifdef __uint32_t_defined
6594 # ----------------- done header, emit basic int types -------------
6595 if test "$acx_cv_header_stdint" = stddef.h; then
6596 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6600 #ifndef __uint8_t_defined
6601 #define __uint8_t_defined
6603 typedef unsigned $acx_cv_type_int8_t uint8_t;
6610 #ifndef __uint16_t_defined
6611 #define __uint16_t_defined
6613 typedef unsigned $acx_cv_type_int16_t uint16_t;
6620 #ifndef __uint32_t_defined
6621 #define __uint32_t_defined
6623 typedef unsigned $acx_cv_type_int32_t uint32_t;
6630 #ifndef __int8_t_defined
6631 #define __int8_t_defined
6633 typedef $acx_cv_type_int8_t int8_t;
6640 #ifndef __int16_t_defined
6641 #define __int16_t_defined
6643 typedef $acx_cv_type_int16_t int16_t;
6650 #ifndef __int32_t_defined
6651 #define __int32_t_defined
6653 typedef $acx_cv_type_int32_t int32_t;
6658 elif test "$ac_cv_type_u_int32_t" = yes; then
6659 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6661 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6674 #ifndef __uint8_t_defined
6675 #define __uint8_t_defined
6677 typedef u_int8_t uint8_t;
6684 #ifndef __uint16_t_defined
6685 #define __uint16_t_defined
6687 typedef u_int16_t uint16_t;
6694 #ifndef __uint32_t_defined
6695 #define __uint32_t_defined
6697 typedef u_int32_t uint32_t;
6703 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6705 /* Some systems have guard macros to prevent redefinitions, define them. */
6727 # ------------- done basic int types, emit int64_t types ------------
6728 if test "$ac_cv_type_uint64_t" = yes; then
6729 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6731 /* system headers have good uint64_t and int64_t */
6739 elif test "$ac_cv_type_u_int64_t" = yes; then
6740 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6742 /* system headers have an u_int64_t (and int64_t) */
6748 #ifndef __uint64_t_defined
6749 #define __uint64_t_defined
6751 typedef u_int64_t uint64_t;
6756 elif test -n "$acx_cv_type_int64_t"; then
6757 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6759 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6763 typedef $acx_cv_type_int64_t int64_t;
6768 #ifndef __uint64_t_defined
6769 #define __uint64_t_defined
6771 typedef unsigned $acx_cv_type_int64_t uint64_t;
6777 sed 's
/^
*//' >> tmp-stdint.h <<EOF
6779 /* some common heuristics for int64_t, using compiler-specific tests */
6780 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6783 #ifndef __int64_t_defined
6785 typedef long long int64_t;
6792 typedef unsigned long long uint64_t;
6796 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6797 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6798 does not implement __extension__. But that compiler doesn't define
6800 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6801 # define __extension__
6807 __extension__ typedef long long int64_t
;
6813 __extension__ typedef unsigned long long uint64_t
;
6817 #elif !defined __STRICT_ANSI__
6818 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6823 typedef __int64 int64_t
;
6829 typedef unsigned __int64 uint64_t
;
6832 # endif /* compiler */
6834 #endif /* ANSI version */
6838 # ------------- done int64_t types, emit intptr types ------------
6839 if test "$ac_cv_type_uintptr_t" != yes; then
6840 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6842 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6843 #ifndef __uintptr_t_defined
6845 typedef u$acx_cv_type_intptr_t uintptr_t;
6848 #ifndef __intptr_t_defined
6850 typedef $acx_cv_type_intptr_t intptr_t;
6856 # ------------- done intptr types, emit int_least types ------------
6857 if test "$ac_cv_type_int_least32_t" != yes; then
6858 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6860 /* Define int_least types */
6861 typedef int8_t int_least8_t;
6862 typedef int16_t int_least16_t;
6863 typedef int32_t int_least32_t;
6865 typedef int64_t int_least64_t;
6868 typedef uint8_t uint_least8_t;
6869 typedef uint16_t uint_least16_t;
6870 typedef uint32_t uint_least32_t;
6872 typedef uint64_t uint_least64_t;
6877 # ------------- done intptr types, emit int_fast types ------------
6878 if test "$ac_cv_type_int_fast32_t" != yes; then
6879 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6881 /* Define int_fast types. short is often slow */
6882 typedef int8_t int_fast8_t;
6883 typedef int int_fast16_t;
6884 typedef int32_t int_fast32_t;
6886 typedef int64_t int_fast64_t;
6889 typedef uint8_t uint_fast8_t;
6890 typedef unsigned int uint_fast16_t;
6891 typedef uint32_t uint_fast32_t;
6893 typedef uint64_t uint_fast64_t;
6898 if test "$ac_cv_type_uintmax_t" != yes; then
6899 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6901 /* Define intmax based on what we found */
6904 typedef int64_t intmax_t;
6906 typedef long intmax_t;
6911 typedef uint64_t uintmax_t;
6913 typedef unsigned long uintmax_t;
6919 sed 's/^ *//' >> tmp-stdint.h
<<EOF
6921 #endif /* GCC_GENERATED_STDINT_H */
6924 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
6927 mv -f tmp-stdint.h gstdint.h
6931 "config.h":H
) echo timestamp
> stamp-h1
;;
6939 ac_clean_files
=$ac_clean_files_save
6941 test $ac_write_fail = 0 ||
6942 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6945 # configure is writing to config.log, and then calls config.status.
6946 # config.status does its own redirection, appending to config.log.
6947 # Unfortunately, on DOS this fails, as config.log is still kept open
6948 # by configure, so config.status won't be able to write to it; its
6949 # output is simply discarded. So we exec the FD to /dev/null,
6950 # effectively closing config.log, so it can be properly (re)opened and
6951 # appended to by config.status. When coming back to configure, we
6952 # need to make the FD available again.
6953 if test "$no_create" != yes; then
6955 ac_config_status_args
=
6956 test "$silent" = yes &&
6957 ac_config_status_args
="$ac_config_status_args --quiet"
6959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6962 # would make configure fail if this is the last instruction.
6963 $ac_cs_success || as_fn_exit
1
6965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}