2018-03-08 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / libdecnumber / configure
blob4cb732e80d45e0f23c6ecf3c3bd41fecfef87b7c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libdecnumber .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # 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 :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: gcc-bugs@gcc.gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
237 exit 1
241 SHELL=${CONFIG_SHELL-/bin/sh}
242 export SHELL
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
250 # as_fn_unset VAR
251 # ---------------
252 # Portably unset VAR.
253 as_fn_unset ()
255 { eval $1=; unset $1;}
257 as_unset=as_fn_unset
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
262 as_fn_set_status ()
264 return $1
265 } # as_fn_set_status
267 # as_fn_exit STATUS
268 # -----------------
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270 as_fn_exit ()
272 set +e
273 as_fn_set_status $1
274 exit $1
275 } # as_fn_exit
277 # as_fn_mkdir_p
278 # -------------
279 # Create "$as_dir" as a directory, including parents if necessary.
280 as_fn_mkdir_p ()
283 case $as_dir in #(
284 -*) as_dir=./$as_dir;;
285 esac
286 test -d "$as_dir" || eval $as_mkdir_p || {
287 as_dirs=
288 while :; do
289 case $as_dir in #(
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 *) as_qdir=$as_dir;;
292 esac
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301 s//\1/
304 /^X\(\/\/\)[^/].*/{
305 s//\1/
308 /^X\(\/\/\)$/{
309 s//\1/
312 /^X\(\/\).*/{
313 s//\1/
316 s/.*/./; q'`
317 test -d "$as_dir" && break
318 done
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 } # as_fn_mkdir_p
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
329 # implementations.
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
333 eval $1+=\$2
335 else
336 as_fn_append ()
338 eval $1=\$$1\$2
340 fi # as_fn_append
342 # as_fn_arith ARG...
343 # ------------------
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348 eval 'as_fn_arith ()
350 as_val=$(( $* ))
352 else
353 as_fn_arith ()
355 as_val=`expr "$@" || test $? -eq 1`
357 fi # as_fn_arith
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
365 as_fn_error ()
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
374 } # as_fn_error
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
378 as_expr=expr
379 else
380 as_expr=false
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384 as_basename=basename
385 else
386 as_basename=false
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
390 as_dirname=dirname
391 else
392 as_dirname=false
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 $as_echo X/"$0" |
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
401 s//\1/
404 /^X\/\(\/\/\)$/{
405 s//\1/
408 /^X\/\(\/\).*/{
409 s//\1/
412 s/.*/./; q'`
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
427 sed -n '
429 /[$]LINENO/=
430 ' <$as_myself |
431 sed '
432 s/[$]LINENO.*/&-/
433 t lineno
435 :lineno
437 :loop
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 t loop
440 s/-\n.*//
441 ' >$as_me.lineno &&
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
448 . "./$as_me.lineno"
449 # Exit status is that of the last command.
450 exit
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in #(((((
455 -n*)
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 xy) ECHO_C='\c';;
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
460 ECHO_T=' ';;
461 esac;;
463 ECHO_N='-n';;
464 esac
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
469 else
470 rm -f conf$$.dir
471 mkdir conf$$.dir 2>/dev/null
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 as_ln_s='ln -s'
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
482 elif ln conf$$.file conf$$ 2>/dev/null; then
483 as_ln_s=ln
484 else
485 as_ln_s='cp -p'
487 else
488 as_ln_s='cp -p'
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
495 else
496 test -d ./-p && rmdir ./-p
497 as_mkdir_p=false
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in #(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
521 as_executable_p=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev/null 6>&1
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538 # Initializations.
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
549 # Identity of this package.
550 PACKAGE_NAME='libdecnumber'
551 PACKAGE_TARNAME='libdecnumber'
552 PACKAGE_VERSION=' '
553 PACKAGE_STRING='libdecnumber '
554 PACKAGE_BUGREPORT='gcc-bugs@gcc.gnu.org'
555 PACKAGE_URL=''
557 ac_unique_file="decNumber.h"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 # include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 # include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 PICFLAG
597 ADDITIONAL_OBJS
598 enable_decimal_float
599 target_os
600 target_vendor
601 target_cpu
602 target
603 host_os
604 host_vendor
605 host_cpu
606 host
607 build_os
608 build_vendor
609 build_cpu
610 build
611 MAINT
612 EGREP
613 GREP
615 WERROR
616 nolto_flags
617 WARN_PEDANTIC
618 WARN_CFLAGS
619 AUTOHEADER
620 AUTOCONF
621 ACLOCAL
622 RANLIB
623 OBJEXT
624 EXEEXT
625 ac_ct_CC
626 CPPFLAGS
627 LDFLAGS
628 CFLAGS
630 SET_MAKE
631 target_alias
632 host_alias
633 build_alias
634 LIBS
635 ECHO_T
636 ECHO_N
637 ECHO_C
638 DEFS
639 mandir
640 localedir
641 libdir
642 psdir
643 pdfdir
644 dvidir
645 htmldir
646 infodir
647 docdir
648 oldincludedir
649 includedir
650 localstatedir
651 sharedstatedir
652 sysconfdir
653 datadir
654 datarootdir
655 libexecdir
656 sbindir
657 bindir
658 program_transform_name
659 prefix
660 exec_prefix
661 PACKAGE_URL
662 PACKAGE_BUGREPORT
663 PACKAGE_STRING
664 PACKAGE_VERSION
665 PACKAGE_TARNAME
666 PACKAGE_NAME
667 PATH_SEPARATOR
668 SHELL'
669 ac_subst_files=''
670 ac_user_opts='
671 enable_option_checking
672 enable_werror_always
673 enable_maintainer_mode
674 enable_decimal_float
675 enable_host_shared
677 ac_precious_vars='build_alias
678 host_alias
679 target_alias
681 CFLAGS
682 LDFLAGS
683 LIBS
684 CPPFLAGS
685 CPP'
688 # Initialize some variables set by options.
689 ac_init_help=
690 ac_init_version=false
691 ac_unrecognized_opts=
692 ac_unrecognized_sep=
693 # The variables have the same names as the options, with
694 # dashes changed to underlines.
695 cache_file=/dev/null
696 exec_prefix=NONE
697 no_create=
698 no_recursion=
699 prefix=NONE
700 program_prefix=NONE
701 program_suffix=NONE
702 program_transform_name=s,x,x,
703 silent=
704 site=
705 srcdir=
706 verbose=
707 x_includes=NONE
708 x_libraries=NONE
710 # Installation directory options.
711 # These are left unexpanded so users can "make install exec_prefix=/foo"
712 # and all the variables that are supposed to be based on exec_prefix
713 # by default will actually change.
714 # Use braces instead of parens because sh, perl, etc. also accept them.
715 # (The list follows the same order as the GNU Coding Standards.)
716 bindir='${exec_prefix}/bin'
717 sbindir='${exec_prefix}/sbin'
718 libexecdir='${exec_prefix}/libexec'
719 datarootdir='${prefix}/share'
720 datadir='${datarootdir}'
721 sysconfdir='${prefix}/etc'
722 sharedstatedir='${prefix}/com'
723 localstatedir='${prefix}/var'
724 includedir='${prefix}/include'
725 oldincludedir='/usr/include'
726 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
727 infodir='${datarootdir}/info'
728 htmldir='${docdir}'
729 dvidir='${docdir}'
730 pdfdir='${docdir}'
731 psdir='${docdir}'
732 libdir='${exec_prefix}/lib'
733 localedir='${datarootdir}/locale'
734 mandir='${datarootdir}/man'
736 ac_prev=
737 ac_dashdash=
738 for ac_option
740 # If the previous option needs an argument, assign it.
741 if test -n "$ac_prev"; then
742 eval $ac_prev=\$ac_option
743 ac_prev=
744 continue
747 case $ac_option in
748 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749 *) ac_optarg=yes ;;
750 esac
752 # Accept the important Cygnus configure options, so we can diagnose typos.
754 case $ac_dashdash$ac_option in
756 ac_dashdash=yes ;;
758 -bindir | --bindir | --bindi | --bind | --bin | --bi)
759 ac_prev=bindir ;;
760 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
761 bindir=$ac_optarg ;;
763 -build | --build | --buil | --bui | --bu)
764 ac_prev=build_alias ;;
765 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
766 build_alias=$ac_optarg ;;
768 -cache-file | --cache-file | --cache-fil | --cache-fi \
769 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
770 ac_prev=cache_file ;;
771 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
772 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
773 cache_file=$ac_optarg ;;
775 --config-cache | -C)
776 cache_file=config.cache ;;
778 -datadir | --datadir | --datadi | --datad)
779 ac_prev=datadir ;;
780 -datadir=* | --datadir=* | --datadi=* | --datad=*)
781 datadir=$ac_optarg ;;
783 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
784 | --dataroo | --dataro | --datar)
785 ac_prev=datarootdir ;;
786 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
787 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
788 datarootdir=$ac_optarg ;;
790 -disable-* | --disable-*)
791 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
794 as_fn_error "invalid feature name: $ac_useropt"
795 ac_useropt_orig=$ac_useropt
796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
799 "enable_$ac_useropt"
800 "*) ;;
801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
802 ac_unrecognized_sep=', ';;
803 esac
804 eval enable_$ac_useropt=no ;;
806 -docdir | --docdir | --docdi | --doc | --do)
807 ac_prev=docdir ;;
808 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
809 docdir=$ac_optarg ;;
811 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 ac_prev=dvidir ;;
813 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
814 dvidir=$ac_optarg ;;
816 -enable-* | --enable-*)
817 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
820 as_fn_error "invalid feature name: $ac_useropt"
821 ac_useropt_orig=$ac_useropt
822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
825 "enable_$ac_useropt"
826 "*) ;;
827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828 ac_unrecognized_sep=', ';;
829 esac
830 eval enable_$ac_useropt=\$ac_optarg ;;
832 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
833 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
834 | --exec | --exe | --ex)
835 ac_prev=exec_prefix ;;
836 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
837 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
838 | --exec=* | --exe=* | --ex=*)
839 exec_prefix=$ac_optarg ;;
841 -gas | --gas | --ga | --g)
842 # Obsolete; use --with-gas.
843 with_gas=yes ;;
845 -help | --help | --hel | --he | -h)
846 ac_init_help=long ;;
847 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
848 ac_init_help=recursive ;;
849 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
850 ac_init_help=short ;;
852 -host | --host | --hos | --ho)
853 ac_prev=host_alias ;;
854 -host=* | --host=* | --hos=* | --ho=*)
855 host_alias=$ac_optarg ;;
857 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
858 ac_prev=htmldir ;;
859 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
860 | --ht=*)
861 htmldir=$ac_optarg ;;
863 -includedir | --includedir | --includedi | --included | --include \
864 | --includ | --inclu | --incl | --inc)
865 ac_prev=includedir ;;
866 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
867 | --includ=* | --inclu=* | --incl=* | --inc=*)
868 includedir=$ac_optarg ;;
870 -infodir | --infodir | --infodi | --infod | --info | --inf)
871 ac_prev=infodir ;;
872 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
873 infodir=$ac_optarg ;;
875 -libdir | --libdir | --libdi | --libd)
876 ac_prev=libdir ;;
877 -libdir=* | --libdir=* | --libdi=* | --libd=*)
878 libdir=$ac_optarg ;;
880 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
881 | --libexe | --libex | --libe)
882 ac_prev=libexecdir ;;
883 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
884 | --libexe=* | --libex=* | --libe=*)
885 libexecdir=$ac_optarg ;;
887 -localedir | --localedir | --localedi | --localed | --locale)
888 ac_prev=localedir ;;
889 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
890 localedir=$ac_optarg ;;
892 -localstatedir | --localstatedir | --localstatedi | --localstated \
893 | --localstate | --localstat | --localsta | --localst | --locals)
894 ac_prev=localstatedir ;;
895 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
896 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
897 localstatedir=$ac_optarg ;;
899 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
900 ac_prev=mandir ;;
901 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
902 mandir=$ac_optarg ;;
904 -nfp | --nfp | --nf)
905 # Obsolete; use --without-fp.
906 with_fp=no ;;
908 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
909 | --no-cr | --no-c | -n)
910 no_create=yes ;;
912 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
913 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914 no_recursion=yes ;;
916 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
917 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
918 | --oldin | --oldi | --old | --ol | --o)
919 ac_prev=oldincludedir ;;
920 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
921 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
922 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
923 oldincludedir=$ac_optarg ;;
925 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
926 ac_prev=prefix ;;
927 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
928 prefix=$ac_optarg ;;
930 -program-prefix | --program-prefix | --program-prefi | --program-pref \
931 | --program-pre | --program-pr | --program-p)
932 ac_prev=program_prefix ;;
933 -program-prefix=* | --program-prefix=* | --program-prefi=* \
934 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
935 program_prefix=$ac_optarg ;;
937 -program-suffix | --program-suffix | --program-suffi | --program-suff \
938 | --program-suf | --program-su | --program-s)
939 ac_prev=program_suffix ;;
940 -program-suffix=* | --program-suffix=* | --program-suffi=* \
941 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
942 program_suffix=$ac_optarg ;;
944 -program-transform-name | --program-transform-name \
945 | --program-transform-nam | --program-transform-na \
946 | --program-transform-n | --program-transform- \
947 | --program-transform | --program-transfor \
948 | --program-transfo | --program-transf \
949 | --program-trans | --program-tran \
950 | --progr-tra | --program-tr | --program-t)
951 ac_prev=program_transform_name ;;
952 -program-transform-name=* | --program-transform-name=* \
953 | --program-transform-nam=* | --program-transform-na=* \
954 | --program-transform-n=* | --program-transform-=* \
955 | --program-transform=* | --program-transfor=* \
956 | --program-transfo=* | --program-transf=* \
957 | --program-trans=* | --program-tran=* \
958 | --progr-tra=* | --program-tr=* | --program-t=*)
959 program_transform_name=$ac_optarg ;;
961 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
962 ac_prev=pdfdir ;;
963 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
964 pdfdir=$ac_optarg ;;
966 -psdir | --psdir | --psdi | --psd | --ps)
967 ac_prev=psdir ;;
968 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
969 psdir=$ac_optarg ;;
971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
972 | -silent | --silent | --silen | --sile | --sil)
973 silent=yes ;;
975 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
976 ac_prev=sbindir ;;
977 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
978 | --sbi=* | --sb=*)
979 sbindir=$ac_optarg ;;
981 -sharedstatedir | --sharedstatedir | --sharedstatedi \
982 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
983 | --sharedst | --shareds | --shared | --share | --shar \
984 | --sha | --sh)
985 ac_prev=sharedstatedir ;;
986 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
987 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
988 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
989 | --sha=* | --sh=*)
990 sharedstatedir=$ac_optarg ;;
992 -site | --site | --sit)
993 ac_prev=site ;;
994 -site=* | --site=* | --sit=*)
995 site=$ac_optarg ;;
997 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
998 ac_prev=srcdir ;;
999 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1000 srcdir=$ac_optarg ;;
1002 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1003 | --syscon | --sysco | --sysc | --sys | --sy)
1004 ac_prev=sysconfdir ;;
1005 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1006 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1007 sysconfdir=$ac_optarg ;;
1009 -target | --target | --targe | --targ | --tar | --ta | --t)
1010 ac_prev=target_alias ;;
1011 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1012 target_alias=$ac_optarg ;;
1014 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1015 verbose=yes ;;
1017 -version | --version | --versio | --versi | --vers | -V)
1018 ac_init_version=: ;;
1020 -with-* | --with-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid package name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "with_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval with_$ac_useropt=\$ac_optarg ;;
1036 -without-* | --without-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error "invalid package name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "with_$ac_useropt"
1046 "*) ;;
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1049 esac
1050 eval with_$ac_useropt=no ;;
1052 --x)
1053 # Obsolete; use --with-x.
1054 with_x=yes ;;
1056 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1057 | --x-incl | --x-inc | --x-in | --x-i)
1058 ac_prev=x_includes ;;
1059 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1060 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1061 x_includes=$ac_optarg ;;
1063 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1064 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1065 ac_prev=x_libraries ;;
1066 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1067 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1068 x_libraries=$ac_optarg ;;
1070 -*) as_fn_error "unrecognized option: \`$ac_option'
1071 Try \`$0 --help' for more information."
1074 *=*)
1075 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1076 # Reject names that are not valid shell variable names.
1077 case $ac_envvar in #(
1078 '' | [0-9]* | *[!_$as_cr_alnum]* )
1079 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1080 esac
1081 eval $ac_envvar=\$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092 esac
1093 done
1095 if test -n "$ac_prev"; then
1096 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1097 as_fn_error "missing argument to $ac_option"
1100 if test -n "$ac_unrecognized_opts"; then
1101 case $enable_option_checking in
1102 no) ;;
1103 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1104 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1105 esac
1108 # Check all directory arguments for consistency.
1109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val=\$$ac_var
1115 # Remove trailing slashes.
1116 case $ac_val in
1117 */ )
1118 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1119 eval $ac_var=\$ac_val;;
1120 esac
1121 # Be sure to have absolute directory names.
1122 case $ac_val in
1123 [\\/$]* | ?:[\\/]* ) continue;;
1124 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1125 esac
1126 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1127 done
1129 # There might be people who depend on the old broken behavior: `$host'
1130 # used to hold the argument of --host etc.
1131 # FIXME: To remove some day.
1132 build=$build_alias
1133 host=$host_alias
1134 target=$target_alias
1136 # FIXME: To remove some day.
1137 if test "x$host_alias" != x; then
1138 if test "x$build_alias" = x; then
1139 cross_compiling=maybe
1140 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1141 If a cross compiler is detected then cross compile mode will be used." >&2
1142 elif test "x$build_alias" != "x$host_alias"; then
1143 cross_compiling=yes
1147 ac_tool_prefix=
1148 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150 test "$silent" = yes && exec 6>/dev/null
1153 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154 ac_ls_di=`ls -di .` &&
1155 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156 as_fn_error "working directory cannot be determined"
1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 as_fn_error "pwd does not report name of working directory"
1161 # Find the source files, if location was not specified.
1162 if test -z "$srcdir"; then
1163 ac_srcdir_defaulted=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir=`$as_dirname -- "$as_myself" ||
1166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$as_myself" : 'X\(//\)[^/]' \| \
1168 X"$as_myself" : 'X\(//\)$' \| \
1169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170 $as_echo X"$as_myself" |
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172 s//\1/
1175 /^X\(\/\/\)[^/].*/{
1176 s//\1/
1179 /^X\(\/\/\)$/{
1180 s//\1/
1183 /^X\(\/\).*/{
1184 s//\1/
1187 s/.*/./; q'`
1188 srcdir=$ac_confdir
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 srcdir=..
1192 else
1193 ac_srcdir_defaulted=no
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1199 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 ac_abs_confdir=`(
1201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1202 pwd)`
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1205 srcdir=.
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1210 case $srcdir in
1211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 esac
1213 for ac_var in $ac_precious_vars; do
1214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_${ac_var}_value=\$${ac_var}
1216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1218 done
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1226 cat <<_ACEOF
1227 \`configure' configures libdecnumber to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1236 Configuration:
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251 [PREFIX]
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/libdecnumber]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1280 _ACEOF
1282 cat <<\_ACEOF
1284 System types:
1285 --build=BUILD configure for building on BUILD [guessed]
1286 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1287 --target=TARGET configure for building compilers for TARGET [HOST]
1288 _ACEOF
1291 if test -n "$ac_init_help"; then
1292 case $ac_init_help in
1293 short | recursive ) echo "Configuration of libdecnumber :";;
1294 esac
1295 cat <<\_ACEOF
1297 Optional Features:
1298 --disable-option-checking ignore unrecognized --enable/--with options
1299 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301 --enable-werror-always enable -Werror despite compiler version
1302 --enable-maintainer-mode enable rules only needed by maintainers
1303 --enable-decimal-float={no,yes,bid,dpd}
1304 enable decimal float extension to C. Selecting 'bid'
1305 or 'dpd' choses which decimal floating point format
1306 to use
1307 --enable-host-shared build host code as shared libraries
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1317 CPP C preprocessor
1319 Use these variables to override the choices made by `configure' or to help
1320 it to find libraries and programs with nonstandard names/locations.
1322 Report bugs to <gcc-bugs@gcc.gnu.org>.
1323 _ACEOF
1324 ac_status=$?
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" ||
1331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 continue
1333 ac_builddir=.
1335 case "$ac_dir" in
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;;
1345 esac
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1351 case $srcdir in
1352 .) # We are building in place.
1353 ac_srcdir=.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1360 *) # Relative name.
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 esac
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1384 cat <<\_ACEOF
1385 libdecnumber configure
1386 generated by GNU Autoconf 2.64
1388 Copyright (C) 2009 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1391 _ACEOF
1392 exit
1395 ## ------------------------ ##
1396 ## Autoconf initialization. ##
1397 ## ------------------------ ##
1399 # ac_fn_c_try_compile LINENO
1400 # --------------------------
1401 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1402 ac_fn_c_try_compile ()
1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405 rm -f conftest.$ac_objext
1406 if { { ac_try="$ac_compile"
1407 case "(($ac_try" in
1408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409 *) ac_try_echo=$ac_try;;
1410 esac
1411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412 $as_echo "$ac_try_echo"; } >&5
1413 (eval "$ac_compile") 2>conftest.err
1414 ac_status=$?
1415 if test -s conftest.err; then
1416 grep -v '^ *+' conftest.err >conftest.er1
1417 cat conftest.er1 >&5
1418 mv -f conftest.er1 conftest.err
1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 test $ac_status = 0; } && {
1422 test -z "$ac_c_werror_flag" ||
1423 test ! -s conftest.err
1424 } && test -s conftest.$ac_objext; then :
1425 ac_retval=0
1426 else
1427 $as_echo "$as_me: failed program was:" >&5
1428 sed 's/^/| /' conftest.$ac_ext >&5
1430 ac_retval=1
1432 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1433 return $ac_retval
1435 } # ac_fn_c_try_compile
1437 # ac_fn_c_try_cpp LINENO
1438 # ----------------------
1439 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_cpp ()
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 if { { ac_try="$ac_cpp conftest.$ac_ext"
1444 case "(($ac_try" in
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1447 esac
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1451 ac_status=$?
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } >/dev/null && {
1459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 }; then :
1462 ac_retval=0
1463 else
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1467 ac_retval=1
1469 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1470 return $ac_retval
1472 } # ac_fn_c_try_cpp
1474 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1475 # -------------------------------------------------------
1476 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1477 # the include files in INCLUDES and setting the cache variable VAR
1478 # accordingly.
1479 ac_fn_c_check_header_mongrel ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484 $as_echo_n "checking for $2... " >&6; }
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 $as_echo_n "(cached) " >&6
1488 eval ac_res=\$$3
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1490 $as_echo "$ac_res" >&6; }
1491 else
1492 # Is the header compilable?
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1494 $as_echo_n "checking $2 usability... " >&6; }
1495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496 /* end confdefs.h. */
1498 #include <$2>
1499 _ACEOF
1500 if ac_fn_c_try_compile "$LINENO"; then :
1501 ac_header_compiler=yes
1502 else
1503 ac_header_compiler=no
1505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1507 $as_echo "$ac_header_compiler" >&6; }
1509 # Is the header present?
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1511 $as_echo_n "checking $2 presence... " >&6; }
1512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1513 /* end confdefs.h. */
1514 #include <$2>
1515 _ACEOF
1516 if ac_fn_c_try_cpp "$LINENO"; then :
1517 ac_header_preproc=yes
1518 else
1519 ac_header_preproc=no
1521 rm -f conftest.err conftest.$ac_ext
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1523 $as_echo "$ac_header_preproc" >&6; }
1525 # So? What about this header?
1526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1527 yes:no: )
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1529 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1531 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1533 no:yes:* )
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1535 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1537 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1539 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1541 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1543 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1544 ( cat <<\_ASBOX
1545 ## ----------------------------------- ##
1546 ## Report this to gcc-bugs@gcc.gnu.org ##
1547 ## ----------------------------------- ##
1548 _ASBOX
1549 ) | sed "s/^/$as_me: WARNING: /" >&2
1551 esac
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1555 $as_echo_n "(cached) " >&6
1556 else
1557 eval "$3=\$ac_header_compiler"
1559 eval ac_res=\$$3
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565 } # ac_fn_c_check_header_mongrel
1567 # ac_fn_c_try_run LINENO
1568 # ----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1570 # that executables *can* be run.
1571 ac_fn_c_try_run ()
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_link"
1575 case "(($ac_try" in
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>&5
1582 ac_status=$?
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1585 { { case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_try") 2>&5
1592 ac_status=$?
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; }; }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: program exited with status $ac_status" >&5
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1601 ac_retval=$ac_status
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605 return $ac_retval
1607 } # ac_fn_c_try_run
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1620 else
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1624 #include <$2>
1625 _ACEOF
1626 if ac_fn_c_try_compile "$LINENO"; then :
1627 eval "$3=yes"
1628 else
1629 eval "$3=no"
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 eval ac_res=\$$3
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1641 # -------------------------------------------
1642 # Tests whether TYPE exists after having included INCLUDES, setting cache
1643 # variable VAR accordingly.
1644 ac_fn_c_check_type ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1651 else
1652 eval "$3=no"
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1657 main ()
1659 if (sizeof ($2))
1660 return 0;
1662 return 0;
1664 _ACEOF
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1670 main ()
1672 if (sizeof (($2)))
1673 return 0;
1675 return 0;
1677 _ACEOF
1678 if ac_fn_c_try_compile "$LINENO"; then :
1680 else
1681 eval "$3=yes"
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 eval ac_res=\$$3
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_type
1694 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1695 # --------------------------------------------
1696 # Tries to find the compile-time value of EXPR in a program that includes
1697 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1698 # computed
1699 ac_fn_c_compute_int ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 if test "$cross_compiling" = yes; then
1703 # Depending upon the size, compute the lo and hi bounds.
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1708 main ()
1710 static int test_array [1 - 2 * !(($2) >= 0)];
1711 test_array [0] = 0
1714 return 0;
1716 _ACEOF
1717 if ac_fn_c_try_compile "$LINENO"; then :
1718 ac_lo=0 ac_mid=0
1719 while :; do
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1724 main ()
1726 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1727 test_array [0] = 0
1730 return 0;
1732 _ACEOF
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734 ac_hi=$ac_mid; break
1735 else
1736 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1737 if test $ac_lo -le $ac_mid; then
1738 ac_lo= ac_hi=
1739 break
1741 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 done
1745 else
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1750 main ()
1752 static int test_array [1 - 2 * !(($2) < 0)];
1753 test_array [0] = 0
1756 return 0;
1758 _ACEOF
1759 if ac_fn_c_try_compile "$LINENO"; then :
1760 ac_hi=-1 ac_mid=-1
1761 while :; do
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1766 main ()
1768 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1769 test_array [0] = 0
1772 return 0;
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 ac_lo=$ac_mid; break
1777 else
1778 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1779 if test $ac_mid -le $ac_hi; then
1780 ac_lo= ac_hi=
1781 break
1783 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 done
1787 else
1788 ac_lo= ac_hi=
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 # Binary search between lo and hi bounds.
1794 while test "x$ac_lo" != "x$ac_hi"; do
1795 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1800 main ()
1802 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1803 test_array [0] = 0
1806 return 0;
1808 _ACEOF
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 ac_hi=$ac_mid
1811 else
1812 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 done
1816 case $ac_lo in #((
1817 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1818 '') ac_retval=1 ;;
1819 esac
1820 else
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1824 static long int longval () { return $2; }
1825 static unsigned long int ulongval () { return $2; }
1826 #include <stdio.h>
1827 #include <stdlib.h>
1829 main ()
1832 FILE *f = fopen ("conftest.val", "w");
1833 if (! f)
1834 return 1;
1835 if (($2) < 0)
1837 long int i = longval ();
1838 if (i != ($2))
1839 return 1;
1840 fprintf (f, "%ld", i);
1842 else
1844 unsigned long int i = ulongval ();
1845 if (i != ($2))
1846 return 1;
1847 fprintf (f, "%lu", i);
1849 /* Do not output a trailing newline, as this causes \r\n confusion
1850 on some platforms. */
1851 return ferror (f) || fclose (f) != 0;
1854 return 0;
1856 _ACEOF
1857 if ac_fn_c_try_run "$LINENO"; then :
1858 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1859 else
1860 ac_retval=1
1862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1863 conftest.$ac_objext conftest.beam conftest.$ac_ext
1864 rm -f conftest.val
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868 return $ac_retval
1870 } # ac_fn_c_compute_int
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by libdecnumber $as_me , which was
1876 generated by GNU Autoconf 2.64. Invocation command line was
1878 $ $0 $@
1880 _ACEOF
1881 exec 5>>config.log
1883 cat <<_ASUNAME
1884 ## --------- ##
1885 ## Platform. ##
1886 ## --------- ##
1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1895 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1897 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1898 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1900 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1901 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1902 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1903 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1905 _ASUNAME
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1910 IFS=$as_save_IFS
1911 test -z "$as_dir" && as_dir=.
1912 $as_echo "PATH: $as_dir"
1913 done
1914 IFS=$as_save_IFS
1916 } >&5
1918 cat >&5 <<_ACEOF
1921 ## ----------- ##
1922 ## Core tests. ##
1923 ## ----------- ##
1925 _ACEOF
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1933 ac_configure_args=
1934 ac_configure_args0=
1935 ac_configure_args1=
1936 ac_must_keep_next=false
1937 for ac_pass in 1 2
1939 for ac_arg
1941 case $ac_arg in
1942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944 | -silent | --silent | --silen | --sile | --sil)
1945 continue ;;
1946 *\'*)
1947 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1948 esac
1949 case $ac_pass in
1950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952 as_fn_append ac_configure_args1 " '$ac_arg'"
1953 if test $ac_must_keep_next = true; then
1954 ac_must_keep_next=false # Got value, back to normal.
1955 else
1956 case $ac_arg in
1957 *=* | --config-cache | -C | -disable-* | --disable-* \
1958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960 | -with-* | --with-* | -without-* | --without-* | --x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1963 esac
1965 -* ) ac_must_keep_next=true ;;
1966 esac
1968 as_fn_append ac_configure_args " '$ac_arg'"
1970 esac
1971 done
1972 done
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1984 echo
1986 cat <<\_ASBOX
1987 ## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##
1990 _ASBOX
1991 echo
1992 # The following way of writing the cache mishandles newlines in values,
1994 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1995 eval ac_val=\$$ac_var
1996 case $ac_val in #(
1997 *${as_nl}*)
1998 case $ac_var in #(
1999 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2001 esac
2002 case $ac_var in #(
2003 _ | IFS | as_nl) ;; #(
2004 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2005 *) { eval $ac_var=; unset $ac_var;} ;;
2006 esac ;;
2007 esac
2008 done
2009 (set) 2>&1 |
2010 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2011 *${as_nl}ac_space=\ *)
2012 sed -n \
2013 "s/'\''/'\''\\\\'\'''\''/g;
2014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2015 ;; #(
2017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2019 esac |
2020 sort
2022 echo
2024 cat <<\_ASBOX
2025 ## ----------------- ##
2026 ## Output variables. ##
2027 ## ----------------- ##
2028 _ASBOX
2029 echo
2030 for ac_var in $ac_subst_vars
2032 eval ac_val=\$$ac_var
2033 case $ac_val in
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 esac
2036 $as_echo "$ac_var='\''$ac_val'\''"
2037 done | sort
2038 echo
2040 if test -n "$ac_subst_files"; then
2041 cat <<\_ASBOX
2042 ## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##
2045 _ASBOX
2046 echo
2047 for ac_var in $ac_subst_files
2049 eval ac_val=\$$ac_var
2050 case $ac_val in
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 esac
2053 $as_echo "$ac_var='\''$ac_val'\''"
2054 done | sort
2055 echo
2058 if test -s confdefs.h; then
2059 cat <<\_ASBOX
2060 ## ----------- ##
2061 ## confdefs.h. ##
2062 ## ----------- ##
2063 _ASBOX
2064 echo
2065 cat confdefs.h
2066 echo
2068 test "$ac_signal" != 0 &&
2069 $as_echo "$as_me: caught signal $ac_signal"
2070 $as_echo "$as_me: exit $exit_status"
2071 } >&5
2072 rm -f core *.core core.conftest.* &&
2073 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2074 exit $exit_status
2076 for ac_signal in 1 2 13 15; do
2077 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2078 done
2079 ac_signal=0
2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2082 rm -f -r conftest* confdefs.h
2084 $as_echo "/* confdefs.h */" > confdefs.h
2086 # Predefined preprocessor variables.
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2090 _ACEOF
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2094 _ACEOF
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2098 _ACEOF
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_STRING "$PACKAGE_STRING"
2102 _ACEOF
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2106 _ACEOF
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_URL "$PACKAGE_URL"
2110 _ACEOF
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer an explicitly selected file to automatically selected ones.
2115 ac_site_file1=NONE
2116 ac_site_file2=NONE
2117 if test -n "$CONFIG_SITE"; then
2118 ac_site_file1=$CONFIG_SITE
2119 elif test "x$prefix" != xNONE; then
2120 ac_site_file1=$prefix/share/config.site
2121 ac_site_file2=$prefix/etc/config.site
2122 else
2123 ac_site_file1=$ac_default_prefix/share/config.site
2124 ac_site_file2=$ac_default_prefix/etc/config.site
2126 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2128 test "x$ac_site_file" = xNONE && continue
2129 if test -r "$ac_site_file"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2131 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2132 sed 's/^/| /' "$ac_site_file" >&5
2133 . "$ac_site_file"
2135 done
2137 if test -r "$cache_file"; then
2138 # Some versions of bash will fail to source /dev/null (special
2139 # files actually), so we avoid doing that.
2140 if test -f "$cache_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
2143 case $cache_file in
2144 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2145 *) . "./$cache_file";;
2146 esac
2148 else
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
2151 >$cache_file
2154 # Check that the precious variables saved in the cache have kept the same
2155 # value.
2156 ac_cache_corrupted=false
2157 for ac_var in $ac_precious_vars; do
2158 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2159 eval ac_new_set=\$ac_env_${ac_var}_set
2160 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2161 eval ac_new_val=\$ac_env_${ac_var}_value
2162 case $ac_old_set,$ac_new_set in
2163 set,)
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166 ac_cache_corrupted=: ;;
2167 ,set)
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2170 ac_cache_corrupted=: ;;
2171 ,);;
2173 if test "x$ac_old_val" != "x$ac_new_val"; then
2174 # differences in whitespace do not lead to failure.
2175 ac_old_val_w=`echo x $ac_old_val`
2176 ac_new_val_w=`echo x $ac_new_val`
2177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2180 ac_cache_corrupted=:
2181 else
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184 eval $ac_var=\$ac_old_val
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2190 fi;;
2191 esac
2192 # Pass precious variables to config.status.
2193 if test "$ac_new_set" = set; then
2194 case $ac_new_val in
2195 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 *) ac_arg=$ac_var=$ac_new_val ;;
2197 esac
2198 case " $ac_configure_args " in
2199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2201 esac
2203 done
2204 if $ac_cache_corrupted; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2215 ac_ext=c
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2227 ac_aux_dir=
2228 for ac_dir in .. "$srcdir"/..; do
2229 for ac_t in install-sh install.sh shtool; do
2230 if test -f "$ac_dir/$ac_t"; then
2231 ac_aux_dir=$ac_dir
2232 ac_install_sh="$ac_aux_dir/$ac_t -c"
2233 break 2
2235 done
2236 done
2237 if test -z "$ac_aux_dir"; then
2238 as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2241 # These three variables are undocumented and unsupported,
2242 # and are intended to be withdrawn in a future Autoconf release.
2243 # They can cause serious problems if a builder's source tree is in a directory
2244 # whose full name contains unusual characters.
2245 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2246 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2247 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2251 # Checks for programs.
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2253 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2254 set x ${MAKE-make}
2255 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 cat >conftest.make <<\_ACEOF
2260 SHELL = /bin/sh
2261 all:
2262 @echo '@@@%%%=$(MAKE)=@@@%%%'
2263 _ACEOF
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2266 *@@@%%%=?*=@@@%%%*)
2267 eval ac_cv_prog_make_${ac_make}_set=yes;;
2269 eval ac_cv_prog_make_${ac_make}_set=no;;
2270 esac
2271 rm -f conftest.make
2273 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2275 $as_echo "yes" >&6; }
2276 SET_MAKE=
2277 else
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279 $as_echo "no" >&6; }
2280 SET_MAKE="MAKE=${MAKE-make}"
2283 ac_ext=c
2284 ac_cpp='$CPP $CPPFLAGS'
2285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2290 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2295 else
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 else
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2310 done
2311 done
2312 IFS=$as_save_IFS
2316 CC=$ac_cv_prog_CC
2317 if test -n "$CC"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2319 $as_echo "$CC" >&6; }
2320 else
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2327 if test -z "$ac_cv_prog_CC"; then
2328 ac_ct_CC=$CC
2329 # Extract the first word of "gcc", so it can be a program name with args.
2330 set dummy gcc; ac_word=$2
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2332 $as_echo_n "checking for $ac_word... " >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2334 $as_echo_n "(cached) " >&6
2335 else
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2338 else
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 for as_dir in $PATH
2342 IFS=$as_save_IFS
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC="gcc"
2347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 break 2
2350 done
2351 done
2352 IFS=$as_save_IFS
2356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2359 $as_echo "$ac_ct_CC" >&6; }
2360 else
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2362 $as_echo "no" >&6; }
2365 if test "x$ac_ct_CC" = x; then
2366 CC=""
2367 else
2368 case $cross_compiling:$ac_tool_warned in
2369 yes:)
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374 CC=$ac_ct_CC
2376 else
2377 CC="$ac_cv_prog_CC"
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then :
2387 $as_echo_n "(cached) " >&6
2388 else
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2412 $as_echo "$CC" >&6; }
2413 else
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then :
2427 $as_echo_n "(cached) " >&6
2428 else
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 ac_prog_rejected=no
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2442 continue
2444 ac_cv_prog_CC="cc"
2445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 break 2
2448 done
2449 done
2450 IFS=$as_save_IFS
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2455 shift
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2460 shift
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469 $as_echo "$CC" >&6; }
2470 else
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484 $as_echo_n "checking for $ac_word... " >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then :
2486 $as_echo_n "(cached) " >&6
2487 else
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2502 done
2503 done
2504 IFS=$as_save_IFS
2508 CC=$ac_cv_prog_CC
2509 if test -n "$CC"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2511 $as_echo "$CC" >&6; }
2512 else
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514 $as_echo "no" >&6; }
2518 test -n "$CC" && break
2519 done
2521 if test -z "$CC"; then
2522 ac_ct_CC=$CC
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2546 done
2547 done
2548 IFS=$as_save_IFS
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2555 $as_echo "$ac_ct_CC" >&6; }
2556 else
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2562 test -n "$ac_ct_CC" && break
2563 done
2565 if test "x$ac_ct_CC" = x; then
2566 CC=""
2567 else
2568 case $cross_compiling:$ac_tool_warned in
2569 yes:)
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2572 ac_tool_warned=yes ;;
2573 esac
2574 CC=$ac_ct_CC
2581 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error "no acceptable C compiler found in \$PATH
2584 See \`config.log' for more details." "$LINENO" 5; }
2586 # Provide some information about the compiler.
2587 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2588 set X $ac_compile
2589 ac_compiler=$2
2590 for ac_option in --version -v -V -qversion; do
2591 { { ac_try="$ac_compiler $ac_option >&5"
2592 case "(($ac_try" in
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2595 esac
2596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2599 ac_status=$?
2600 if test -s conftest.err; then
2601 sed '10a\
2602 ... rest of stderr output deleted ...
2603 10q' conftest.err >conftest.er1
2604 cat conftest.er1 >&5
2605 rm -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; }
2609 done
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2615 main ()
2619 return 0;
2621 _ACEOF
2622 ac_clean_files_save=$ac_clean_files
2623 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2624 # Try to create an executable without -o first, disregard a.out.
2625 # It will help us diagnose broken compilers, and finding out an intuition
2626 # of exeext.
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2628 $as_echo_n "checking for C compiler default output file name... " >&6; }
2629 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2631 # The possible output files:
2632 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2634 ac_rmfiles=
2635 for ac_file in $ac_files
2637 case $ac_file in
2638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2639 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2640 esac
2641 done
2642 rm -f $ac_rmfiles
2644 if { { ac_try="$ac_link_default"
2645 case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link_default") 2>&5
2652 ac_status=$?
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; }; then :
2655 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2656 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2657 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2658 # so that the user can short-circuit this test for compilers unknown to
2659 # Autoconf.
2660 for ac_file in $ac_files ''
2662 test -f "$ac_file" || continue
2663 case $ac_file in
2664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2666 [ab].out )
2667 # We found the default executable, but exeext='' is most
2668 # certainly right.
2669 break;;
2670 *.* )
2671 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2672 then :; else
2673 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2675 # We set ac_cv_exeext here because the later test for it is not
2676 # safe: cross compilers may not add the suffix if given an `-o'
2677 # argument, so we may need to know it at that point already.
2678 # Even if this section looks crufty: it has the advantage of
2679 # actually working.
2680 break;;
2682 break;;
2683 esac
2684 done
2685 test "$ac_cv_exeext" = no && ac_cv_exeext=
2687 else
2688 ac_file=''
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2691 $as_echo "$ac_file" >&6; }
2692 if test -z "$ac_file"; then :
2693 $as_echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698 { as_fn_set_status 77
2699 as_fn_error "C compiler cannot create executables
2700 See \`config.log' for more details." "$LINENO" 5; }; }
2702 ac_exeext=$ac_cv_exeext
2704 # Check that the compiler produces executables we can run. If not, either
2705 # the compiler is broken, or we cross compile.
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2707 $as_echo_n "checking whether the C compiler works... " >&6; }
2708 # If not cross compiling, check that we can run a simple program.
2709 if test "$cross_compiling" != yes; then
2710 if { ac_try='./$ac_file'
2711 { { case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_try") 2>&5
2718 ac_status=$?
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; }; }; then
2721 cross_compiling=no
2722 else
2723 if test "$cross_compiling" = maybe; then
2724 cross_compiling=yes
2725 else
2726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728 as_fn_error "cannot run C compiled programs.
2729 If you meant to cross compile, use \`--host'.
2730 See \`config.log' for more details." "$LINENO" 5; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2735 $as_echo "yes" >&6; }
2737 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2738 ac_clean_files=$ac_clean_files_save
2739 # Check that the compiler produces executables we can run. If not, either
2740 # the compiler is broken, or we cross compile.
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2742 $as_echo_n "checking whether we are cross compiling... " >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2744 $as_echo "$cross_compiling" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2747 $as_echo_n "checking for suffix of executables... " >&6; }
2748 if { { ac_try="$ac_link"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2754 $as_echo "$ac_try_echo"; } >&5
2755 (eval "$ac_link") 2>&5
2756 ac_status=$?
2757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2758 test $ac_status = 0; }; then :
2759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2762 # `rm'.
2763 for ac_file in conftest.exe conftest conftest.*; do
2764 test -f "$ac_file" || continue
2765 case $ac_file in
2766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2767 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768 break;;
2769 * ) break;;
2770 esac
2771 done
2772 else
2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 as_fn_error "cannot compute suffix of executables: cannot compile and link
2776 See \`config.log' for more details." "$LINENO" 5; }
2778 rm -f conftest$ac_cv_exeext
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2780 $as_echo "$ac_cv_exeext" >&6; }
2782 rm -f conftest.$ac_ext
2783 EXEEXT=$ac_cv_exeext
2784 ac_exeext=$EXEEXT
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2786 $as_echo_n "checking for suffix of object files... " >&6; }
2787 if test "${ac_cv_objext+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2789 else
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2794 main ()
2798 return 0;
2800 _ACEOF
2801 rm -f conftest.o conftest.obj
2802 if { { ac_try="$ac_compile"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>&5
2810 ac_status=$?
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; }; then :
2813 for ac_file in conftest.o conftest.obj conftest.*; do
2814 test -f "$ac_file" || continue;
2815 case $ac_file in
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2818 break;;
2819 esac
2820 done
2821 else
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 as_fn_error "cannot compute suffix of object files: cannot compile
2828 See \`config.log' for more details." "$LINENO" 5; }
2830 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2833 $as_echo "$ac_cv_objext" >&6; }
2834 OBJEXT=$ac_cv_objext
2835 ac_objext=$OBJEXT
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2838 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2839 $as_echo_n "(cached) " >&6
2840 else
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2845 main ()
2847 #ifndef __GNUC__
2848 choke me
2849 #endif
2852 return 0;
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 ac_compiler_gnu=yes
2857 else
2858 ac_compiler_gnu=no
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2865 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2866 if test $ac_compiler_gnu = yes; then
2867 GCC=yes
2868 else
2869 GCC=
2871 ac_test_CFLAGS=${CFLAGS+set}
2872 ac_save_CFLAGS=$CFLAGS
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2874 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2875 if test "${ac_cv_prog_cc_g+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 ac_save_c_werror_flag=$ac_c_werror_flag
2879 ac_c_werror_flag=yes
2880 ac_cv_prog_cc_g=no
2881 CFLAGS="-g"
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2886 main ()
2890 return 0;
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_cv_prog_cc_g=yes
2895 else
2896 CFLAGS=""
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2901 main ()
2905 return 0;
2907 _ACEOF
2908 if ac_fn_c_try_compile "$LINENO"; then :
2910 else
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2912 CFLAGS="-g"
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2917 main ()
2921 return 0;
2923 _ACEOF
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 ac_cv_prog_cc_g=yes
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 ac_c_werror_flag=$ac_save_c_werror_flag
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2935 $as_echo "$ac_cv_prog_cc_g" >&6; }
2936 if test "$ac_test_CFLAGS" = set; then
2937 CFLAGS=$ac_save_CFLAGS
2938 elif test $ac_cv_prog_cc_g = yes; then
2939 if test "$GCC" = yes; then
2940 CFLAGS="-g -O2"
2941 else
2942 CFLAGS="-g"
2944 else
2945 if test "$GCC" = yes; then
2946 CFLAGS="-O2"
2947 else
2948 CFLAGS=
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2952 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2953 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2955 else
2956 ac_cv_prog_cc_c89=no
2957 ac_save_CC=$CC
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2960 #include <stdarg.h>
2961 #include <stdio.h>
2962 #include <sys/types.h>
2963 #include <sys/stat.h>
2964 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2965 struct buf { int x; };
2966 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2967 static char *e (p, i)
2968 char **p;
2969 int i;
2971 return p[i];
2973 static char *f (char * (*g) (char **, int), char **p, ...)
2975 char *s;
2976 va_list v;
2977 va_start (v,p);
2978 s = g (p, va_arg (v,int));
2979 va_end (v);
2980 return s;
2983 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2984 function prototypes and stuff, but not '\xHH' hex character constants.
2985 These don't provoke an error unfortunately, instead are silently treated
2986 as 'x'. The following induces an error, until -std is added to get
2987 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2988 array size at least. It's necessary to write '\x00'==0 to get something
2989 that's true only with -std. */
2990 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2993 inside strings and character constants. */
2994 #define FOO(x) 'x'
2995 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2997 int test (int i, double x);
2998 struct s1 {int (*f) (int a);};
2999 struct s2 {int (*f) (double a);};
3000 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3001 int argc;
3002 char **argv;
3004 main ()
3006 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3008 return 0;
3010 _ACEOF
3011 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3012 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3014 CC="$ac_save_CC $ac_arg"
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_cv_prog_cc_c89=$ac_arg
3018 rm -f core conftest.err conftest.$ac_objext
3019 test "x$ac_cv_prog_cc_c89" != "xno" && break
3020 done
3021 rm -f conftest.$ac_ext
3022 CC=$ac_save_CC
3025 # AC_CACHE_VAL
3026 case "x$ac_cv_prog_cc_c89" in
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3029 $as_echo "none needed" >&6; } ;;
3030 xno)
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3032 $as_echo "unsupported" >&6; } ;;
3034 CC="$CC $ac_cv_prog_cc_c89"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3036 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3037 esac
3038 if test "x$ac_cv_prog_cc_c89" != xno; then :
3042 ac_ext=c
3043 ac_cpp='$CPP $CPPFLAGS'
3044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 if test -n "$ac_tool_prefix"; then
3049 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3050 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3054 $as_echo_n "(cached) " >&6
3055 else
3056 if test -n "$RANLIB"; then
3057 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3058 else
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 for as_dir in $PATH
3062 IFS=$as_save_IFS
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 break 2
3070 done
3071 done
3072 IFS=$as_save_IFS
3076 RANLIB=$ac_cv_prog_RANLIB
3077 if test -n "$RANLIB"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3079 $as_echo "$RANLIB" >&6; }
3080 else
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3087 if test -z "$ac_cv_prog_RANLIB"; then
3088 ac_ct_RANLIB=$RANLIB
3089 # Extract the first word of "ranlib", so it can be a program name with args.
3090 set dummy ranlib; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 if test -n "$ac_ct_RANLIB"; then
3097 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3098 else
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 for as_dir in $PATH
3102 IFS=$as_save_IFS
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3106 ac_cv_prog_ac_ct_RANLIB="ranlib"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 break 2
3110 done
3111 done
3112 IFS=$as_save_IFS
3116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3117 if test -n "$ac_ct_RANLIB"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3119 $as_echo "$ac_ct_RANLIB" >&6; }
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3125 if test "x$ac_ct_RANLIB" = x; then
3126 RANLIB=":"
3127 else
3128 case $cross_compiling:$ac_tool_warned in
3129 yes:)
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3132 ac_tool_warned=yes ;;
3133 esac
3134 RANLIB=$ac_ct_RANLIB
3136 else
3137 RANLIB="$ac_cv_prog_RANLIB"
3141 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3142 for ac_prog in aclocal
3144 # Extract the first word of "$ac_prog", so it can be a program name with args.
3145 set dummy $ac_prog; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
3149 $as_echo_n "(cached) " >&6
3150 else
3151 if test -n "$ACLOCAL"; then
3152 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3153 else
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 for as_dir in $PATH
3157 IFS=$as_save_IFS
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161 ac_cv_prog_ACLOCAL="$ac_prog"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 break 2
3165 done
3166 done
3167 IFS=$as_save_IFS
3171 ACLOCAL=$ac_cv_prog_ACLOCAL
3172 if test -n "$ACLOCAL"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3174 $as_echo "$ACLOCAL" >&6; }
3175 else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3181 test -n "$ACLOCAL" && break
3182 done
3183 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3185 for ac_prog in autoconf
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy $ac_prog; ac_word=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test -n "$AUTOCONF"; then
3195 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_AUTOCONF="$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 break 2
3208 done
3209 done
3210 IFS=$as_save_IFS
3214 AUTOCONF=$ac_cv_prog_AUTOCONF
3215 if test -n "$AUTOCONF"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3217 $as_echo "$AUTOCONF" >&6; }
3218 else
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$AUTOCONF" && break
3225 done
3226 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3228 for ac_prog in autoheader
3230 # Extract the first word of "$ac_prog", so it can be a program name with args.
3231 set dummy $ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 if test -n "$AUTOHEADER"; then
3238 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3239 else
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3243 IFS=$as_save_IFS
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_AUTOHEADER="$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 break 2
3251 done
3252 done
3253 IFS=$as_save_IFS
3257 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3258 if test -n "$AUTOHEADER"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3260 $as_echo "$AUTOHEADER" >&6; }
3261 else
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267 test -n "$AUTOHEADER" && break
3268 done
3269 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3272 # Figure out what compiler warnings we can enable.
3273 # See config/warnings.m4 for details.
3276 ac_ext=c
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3282 WARN_CFLAGS=
3283 save_CFLAGS="$CFLAGS"
3284 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3285 -Wmissing-prototypes -Wold-style-definition \
3286 -Wmissing-format-attribute -Wcast-qual; do
3287 # Do the check with the no- prefix removed since gcc silently
3288 # accepts any -Wno-* option on purpose
3289 case $real_option in
3290 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3291 *) option=$real_option ;;
3292 esac
3293 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3296 $as_echo_n "checking whether $CC supports $option... " >&6; }
3297 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 CFLAGS="$option"
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3305 main ()
3309 return 0;
3311 _ACEOF
3312 if ac_fn_c_try_compile "$LINENO"; then :
3313 eval "$as_acx_Woption=yes"
3314 else
3315 eval "$as_acx_Woption=no"
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 eval ac_res=\$$as_acx_Woption
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3322 $as_echo "$ac_res" >&6; }
3323 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3324 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
3326 done
3327 CFLAGS="$save_CFLAGS"
3328 ac_ext=c
3329 ac_cpp='$CPP $CPPFLAGS'
3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 ac_ext=c
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3341 WARN_PEDANTIC=
3342 # Do the check with the no- prefix removed from the warning options
3343 # since gcc silently accepts any -Wno-* option on purpose
3344 if test "$GCC" = yes; then :
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
3346 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
3347 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 save_CFLAGS="$CFLAGS"
3351 CFLAGS="-pedantic -Wlong-long"
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3356 main ()
3360 return 0;
3362 _ACEOF
3363 if ac_fn_c_try_compile "$LINENO"; then :
3364 acx_cv_prog_cc_pedantic__Wlong_long=yes
3365 else
3366 acx_cv_prog_cc_pedantic__Wlong_long=no
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 CFLAGS="$save_CFLAGS"
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
3372 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
3373 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
3374 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3378 ac_ext=c
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 ac_ext=c
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
3392 nolto_flags=
3393 save_CFLAGS="$CFLAGS"
3394 for real_option in -fno-lto; do
3395 # Do the check with the no- prefix removed since gcc silently
3396 # accepts any -Wno-* option on purpose
3397 case $real_option in
3398 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
3399 *) option=$real_option ;;
3400 esac
3401 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3404 $as_echo_n "checking whether $CC supports $option... " >&6; }
3405 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
3406 $as_echo_n "(cached) " >&6
3407 else
3408 CFLAGS="$option"
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 eval "$as_acx_Woption=yes"
3422 else
3423 eval "$as_acx_Woption=no"
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 eval ac_res=\$$as_acx_Woption
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3430 $as_echo "$ac_res" >&6; }
3431 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3432 nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
3434 done
3435 CFLAGS="$save_CFLAGS"
3436 ac_ext=c
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3444 # Only enable with --enable-werror-always until existing warnings are
3445 # corrected.
3446 ac_ext=c
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452 WERROR=
3453 # Check whether --enable-werror-always was given.
3454 if test "${enable_werror_always+set}" = set; then :
3455 enableval=$enable_werror_always;
3456 else
3457 enable_werror_always=no
3460 if test $enable_werror_always = yes; then :
3461 WERROR="$WERROR${WERROR:+ }-Werror"
3464 ac_ext=c
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 # Checks for header files.
3473 ac_ext=c
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3479 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3480 # On Suns, sometimes $CPP names a directory.
3481 if test -n "$CPP" && test -d "$CPP"; then
3482 CPP=
3484 if test -z "$CPP"; then
3485 if test "${ac_cv_prog_CPP+set}" = set; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 # Double quotes because CPP needs to be expanded
3489 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3491 ac_preproc_ok=false
3492 for ac_c_preproc_warn_flag in '' yes
3494 # Use a header file that comes with gcc, so configuring glibc
3495 # with a fresh cross-compiler works.
3496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3497 # <limits.h> exists even on freestanding compilers.
3498 # On the NeXT, cc -E runs the code through the compiler's parser,
3499 # not just through cpp. "Syntax error" is here to catch this case.
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3502 #ifdef __STDC__
3503 # include <limits.h>
3504 #else
3505 # include <assert.h>
3506 #endif
3507 Syntax error
3508 _ACEOF
3509 if ac_fn_c_try_cpp "$LINENO"; then :
3511 else
3512 # Broken: fails on valid input.
3513 continue
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 #include <ac_nonexistent.h>
3522 _ACEOF
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3524 # Broken: success on invalid input.
3525 continue
3526 else
3527 # Passes both tests.
3528 ac_preproc_ok=:
3529 break
3531 rm -f conftest.err conftest.$ac_ext
3533 done
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.$ac_ext
3536 if $ac_preproc_ok; then :
3537 break
3540 done
3541 ac_cv_prog_CPP=$CPP
3544 CPP=$ac_cv_prog_CPP
3545 else
3546 ac_cv_prog_CPP=$CPP
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
3550 ac_preproc_ok=false
3551 for ac_c_preproc_warn_flag in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error" is here to catch this case.
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3561 #ifdef __STDC__
3562 # include <limits.h>
3563 #else
3564 # include <assert.h>
3565 #endif
3566 Syntax error
3567 _ACEOF
3568 if ac_fn_c_try_cpp "$LINENO"; then :
3570 else
3571 # Broken: fails on valid input.
3572 continue
3574 rm -f conftest.err conftest.$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3580 #include <ac_nonexistent.h>
3581 _ACEOF
3582 if ac_fn_c_try_cpp "$LINENO"; then :
3583 # Broken: success on invalid input.
3584 continue
3585 else
3586 # Passes both tests.
3587 ac_preproc_ok=:
3588 break
3590 rm -f conftest.err conftest.$ac_ext
3592 done
3593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3594 rm -f conftest.err conftest.$ac_ext
3595 if $ac_preproc_ok; then :
3597 else
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3601 See \`config.log' for more details." "$LINENO" 5; }
3604 ac_ext=c
3605 ac_cpp='$CPP $CPPFLAGS'
3606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3612 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3613 if test "${ac_cv_path_GREP+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -z "$GREP"; then
3617 ac_path_GREP_found=false
3618 # Loop through the user's path and test for each of PROGNAME-LIST
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_prog in grep ggrep; do
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3627 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3628 # Check for GNU ac_path_GREP and select it if it is found.
3629 # Check for GNU $ac_path_GREP
3630 case `"$ac_path_GREP" --version 2>&1` in
3631 *GNU*)
3632 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3634 ac_count=0
3635 $as_echo_n 0123456789 >"conftest.in"
3636 while :
3638 cat "conftest.in" "conftest.in" >"conftest.tmp"
3639 mv "conftest.tmp" "conftest.in"
3640 cp "conftest.in" "conftest.nl"
3641 $as_echo 'GREP' >> "conftest.nl"
3642 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3644 as_fn_arith $ac_count + 1 && ac_count=$as_val
3645 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3646 # Best one so far, save it but keep looking for a better one
3647 ac_cv_path_GREP="$ac_path_GREP"
3648 ac_path_GREP_max=$ac_count
3650 # 10*(2^10) chars as input seems more than enough
3651 test $ac_count -gt 10 && break
3652 done
3653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3654 esac
3656 $ac_path_GREP_found && break 3
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3661 if test -z "$ac_cv_path_GREP"; then
3662 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3664 else
3665 ac_cv_path_GREP=$GREP
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3670 $as_echo "$ac_cv_path_GREP" >&6; }
3671 GREP="$ac_cv_path_GREP"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3675 $as_echo_n "checking for egrep... " >&6; }
3676 if test "${ac_cv_path_EGREP+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3680 then ac_cv_path_EGREP="$GREP -E"
3681 else
3682 if test -z "$EGREP"; then
3683 ac_path_EGREP_found=false
3684 # Loop through the user's path and test for each of PROGNAME-LIST
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_prog in egrep; do
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3693 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3694 # Check for GNU ac_path_EGREP and select it if it is found.
3695 # Check for GNU $ac_path_EGREP
3696 case `"$ac_path_EGREP" --version 2>&1` in
3697 *GNU*)
3698 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3700 ac_count=0
3701 $as_echo_n 0123456789 >"conftest.in"
3702 while :
3704 cat "conftest.in" "conftest.in" >"conftest.tmp"
3705 mv "conftest.tmp" "conftest.in"
3706 cp "conftest.in" "conftest.nl"
3707 $as_echo 'EGREP' >> "conftest.nl"
3708 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3709 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3710 as_fn_arith $ac_count + 1 && ac_count=$as_val
3711 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3712 # Best one so far, save it but keep looking for a better one
3713 ac_cv_path_EGREP="$ac_path_EGREP"
3714 ac_path_EGREP_max=$ac_count
3716 # 10*(2^10) chars as input seems more than enough
3717 test $ac_count -gt 10 && break
3718 done
3719 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3720 esac
3722 $ac_path_EGREP_found && break 3
3723 done
3724 done
3725 done
3726 IFS=$as_save_IFS
3727 if test -z "$ac_cv_path_EGREP"; then
3728 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3730 else
3731 ac_cv_path_EGREP=$EGREP
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3737 $as_echo "$ac_cv_path_EGREP" >&6; }
3738 EGREP="$ac_cv_path_EGREP"
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3742 $as_echo_n "checking for ANSI C header files... " >&6; }
3743 if test "${ac_cv_header_stdc+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3748 #include <stdlib.h>
3749 #include <stdarg.h>
3750 #include <string.h>
3751 #include <float.h>
3754 main ()
3758 return 0;
3760 _ACEOF
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762 ac_cv_header_stdc=yes
3763 else
3764 ac_cv_header_stdc=no
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 if test $ac_cv_header_stdc = yes; then
3769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3772 #include <string.h>
3774 _ACEOF
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "memchr" >/dev/null 2>&1; then :
3778 else
3779 ac_cv_header_stdc=no
3781 rm -f conftest*
3785 if test $ac_cv_header_stdc = yes; then
3786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3789 #include <stdlib.h>
3791 _ACEOF
3792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3793 $EGREP "free" >/dev/null 2>&1; then :
3795 else
3796 ac_cv_header_stdc=no
3798 rm -f conftest*
3802 if test $ac_cv_header_stdc = yes; then
3803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3804 if test "$cross_compiling" = yes; then :
3806 else
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3809 #include <ctype.h>
3810 #include <stdlib.h>
3811 #if ((' ' & 0x0FF) == 0x020)
3812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3814 #else
3815 # define ISLOWER(c) \
3816 (('a' <= (c) && (c) <= 'i') \
3817 || ('j' <= (c) && (c) <= 'r') \
3818 || ('s' <= (c) && (c) <= 'z'))
3819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3820 #endif
3822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3824 main ()
3826 int i;
3827 for (i = 0; i < 256; i++)
3828 if (XOR (islower (i), ISLOWER (i))
3829 || toupper (i) != TOUPPER (i))
3830 return 2;
3831 return 0;
3833 _ACEOF
3834 if ac_fn_c_try_run "$LINENO"; then :
3836 else
3837 ac_cv_header_stdc=no
3839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3840 conftest.$ac_objext conftest.beam conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3846 $as_echo "$ac_cv_header_stdc" >&6; }
3847 if test $ac_cv_header_stdc = yes; then
3849 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3853 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3854 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3855 inttypes.h stdint.h unistd.h
3856 do :
3857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3860 eval as_val=\$$as_ac_Header
3861 if test "x$as_val" = x""yes; then :
3862 cat >>confdefs.h <<_ACEOF
3863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3864 _ACEOF
3868 done
3871 for ac_header in ctype.h stddef.h string.h stdio.h
3872 do :
3873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3875 eval as_val=\$$as_ac_Header
3876 if test "x$as_val" = x""yes; then :
3877 cat >>confdefs.h <<_ACEOF
3878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3879 _ACEOF
3883 done
3887 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3889 acx_cv_header_stdint=stddef.h
3890 acx_cv_header_stdint_kind="(already complete)"
3891 for i in stdint.h $inttype_headers; do
3892 unset ac_cv_type_uintptr_t
3893 unset ac_cv_type_uintmax_t
3894 unset ac_cv_type_int_least32_t
3895 unset ac_cv_type_int_fast32_t
3896 unset ac_cv_type_uint64_t
3897 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
3898 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
3899 #include <$i>
3901 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
3902 acx_cv_header_stdint=$i
3903 else
3904 continue
3907 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3908 #include <$i>
3910 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
3912 else
3913 acx_cv_header_stdint_kind="(mostly complete)"
3916 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
3917 #include <$i>
3919 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
3921 else
3922 acx_cv_header_stdint_kind="(mostly complete)"
3925 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
3926 #include <$i>
3928 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
3930 else
3931 acx_cv_header_stdint_kind="(mostly complete)"
3934 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3935 #include <$i>
3937 if test "x$ac_cv_type_uint64_t" = x""yes; then :
3939 else
3940 acx_cv_header_stdint_kind="(lacks uint64_t)"
3943 break
3944 done
3945 if test "$acx_cv_header_stdint" = stddef.h; then
3946 acx_cv_header_stdint_kind="(lacks uintmax_t)"
3947 for i in stdint.h $inttype_headers; do
3948 unset ac_cv_type_uintptr_t
3949 unset ac_cv_type_uint32_t
3950 unset ac_cv_type_uint64_t
3951 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
3952 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
3953 #include <$i>
3955 if test "x$ac_cv_type_uint32_t" = x""yes; then :
3956 acx_cv_header_stdint=$i
3957 else
3958 continue
3961 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
3962 #include <$i>
3964 if test "x$ac_cv_type_uint64_t" = x""yes; then :
3968 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
3969 #include <$i>
3971 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
3975 break
3976 done
3978 if test "$acx_cv_header_stdint" = stddef.h; then
3979 acx_cv_header_stdint_kind="(u_intXX_t style)"
3980 for i in sys/types.h $inttype_headers; do
3981 unset ac_cv_type_u_int32_t
3982 unset ac_cv_type_u_int64_t
3983 $as_echo_n "looking for u_intXX_t types in $i, " >&6
3984 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
3985 #include <$i>
3987 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
3988 acx_cv_header_stdint=$i
3989 else
3990 continue
3993 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
3994 #include <$i>
3996 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
4000 break
4001 done
4003 if test "$acx_cv_header_stdint" = stddef.h; then
4004 acx_cv_header_stdint_kind="(using manual detection)"
4007 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
4008 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
4009 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
4010 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
4011 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
4013 # ----------------- Summarize what we found so far
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
4016 $as_echo_n "checking what to include in gstdint.h... " >&6; }
4018 case `$as_basename -- gstdint.h ||
4019 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4020 Xgstdint.h : 'X\(//\)$' \| \
4021 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
4022 $as_echo X/gstdint.h |
4023 sed '/^.*\/\([^/][^/]*\)\/*$/{
4024 s//\1/
4027 /^X\/\(\/\/\)$/{
4028 s//\1/
4031 /^X\/\(\/\).*/{
4032 s//\1/
4035 s/.*/./; q'` in
4036 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4037 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4038 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
4039 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4040 *) ;;
4041 esac
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4044 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
4046 # ----------------- done included file, check C basic types --------
4048 # Lacking an uintptr_t? Test size of void *
4049 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4050 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
4051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4053 # This bug is HP SR number 8606223364.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4055 $as_echo_n "checking size of void *... " >&6; }
4056 if test "${ac_cv_sizeof_void_p+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4061 else
4062 if test "$ac_cv_type_void_p" = yes; then
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 { as_fn_set_status 77
4066 as_fn_error "cannot compute sizeof (void *)
4067 See \`config.log' for more details." "$LINENO" 5; }; }
4068 else
4069 ac_cv_sizeof_void_p=0
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4075 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4079 cat >>confdefs.h <<_ACEOF
4080 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4081 _ACEOF
4084 esac
4086 # Lacking an uint64_t? Test size of long
4087 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4088 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
4089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4091 # This bug is HP SR number 8606223364.
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4093 $as_echo_n "checking size of long... " >&6; }
4094 if test "${ac_cv_sizeof_long+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4099 else
4100 if test "$ac_cv_type_long" = yes; then
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 { as_fn_set_status 77
4104 as_fn_error "cannot compute sizeof (long)
4105 See \`config.log' for more details." "$LINENO" 5; }; }
4106 else
4107 ac_cv_sizeof_long=0
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4113 $as_echo "$ac_cv_sizeof_long" >&6; }
4117 cat >>confdefs.h <<_ACEOF
4118 #define SIZEOF_LONG $ac_cv_sizeof_long
4119 _ACEOF
4122 esac
4124 if test $acx_cv_header_stdint = stddef.h; then
4125 # Lacking a good header? Test size of everything and deduce all types.
4126 # The cast to long int works around a bug in the HP C Compiler
4127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4129 # This bug is HP SR number 8606223364.
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4131 $as_echo_n "checking size of int... " >&6; }
4132 if test "${ac_cv_sizeof_int+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4137 else
4138 if test "$ac_cv_type_int" = yes; then
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 { as_fn_set_status 77
4142 as_fn_error "cannot compute sizeof (int)
4143 See \`config.log' for more details." "$LINENO" 5; }; }
4144 else
4145 ac_cv_sizeof_int=0
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4151 $as_echo "$ac_cv_sizeof_int" >&6; }
4155 cat >>confdefs.h <<_ACEOF
4156 #define SIZEOF_INT $ac_cv_sizeof_int
4157 _ACEOF
4160 # The cast to long int works around a bug in the HP C Compiler
4161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4163 # This bug is HP SR number 8606223364.
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4165 $as_echo_n "checking size of short... " >&6; }
4166 if test "${ac_cv_sizeof_short+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4168 else
4169 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4171 else
4172 if test "$ac_cv_type_short" = yes; then
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 { as_fn_set_status 77
4176 as_fn_error "cannot compute sizeof (short)
4177 See \`config.log' for more details." "$LINENO" 5; }; }
4178 else
4179 ac_cv_sizeof_short=0
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4185 $as_echo "$ac_cv_sizeof_short" >&6; }
4189 cat >>confdefs.h <<_ACEOF
4190 #define SIZEOF_SHORT $ac_cv_sizeof_short
4191 _ACEOF
4194 # The cast to long int works around a bug in the HP C Compiler
4195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4197 # This bug is HP SR number 8606223364.
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4199 $as_echo_n "checking size of char... " >&6; }
4200 if test "${ac_cv_sizeof_char+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4205 else
4206 if test "$ac_cv_type_char" = yes; then
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 { as_fn_set_status 77
4210 as_fn_error "cannot compute sizeof (char)
4211 See \`config.log' for more details." "$LINENO" 5; }; }
4212 else
4213 ac_cv_sizeof_char=0
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4219 $as_echo "$ac_cv_sizeof_char" >&6; }
4223 cat >>confdefs.h <<_ACEOF
4224 #define SIZEOF_CHAR $ac_cv_sizeof_char
4225 _ACEOF
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
4230 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
4231 case "$ac_cv_sizeof_char" in
4232 1) acx_cv_type_int8_t=char ;;
4233 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
4234 esac
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
4236 $as_echo "$acx_cv_type_int8_t" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
4239 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
4240 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
4241 2:*) acx_cv_type_int16_t=int ;;
4242 *:2) acx_cv_type_int16_t=short ;;
4243 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
4244 esac
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
4246 $as_echo "$acx_cv_type_int16_t" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
4249 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
4250 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
4251 4:*) acx_cv_type_int32_t=int ;;
4252 *:4) acx_cv_type_int32_t=long ;;
4253 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
4254 esac
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
4256 $as_echo "$acx_cv_type_int32_t" >&6; }
4259 # These tests are here to make the output prettier
4261 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
4262 case "$ac_cv_sizeof_long" in
4263 8) acx_cv_type_int64_t=long ;;
4264 esac
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
4266 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
4268 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
4271 # Now we can use the above types
4273 if test "$ac_cv_type_uintptr_t" != yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
4275 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
4276 case $ac_cv_sizeof_void_p in
4277 2) acx_cv_type_intptr_t=int16_t ;;
4278 4) acx_cv_type_intptr_t=int32_t ;;
4279 8) acx_cv_type_intptr_t=int64_t ;;
4280 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
4281 esac
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
4283 $as_echo "$acx_cv_type_intptr_t" >&6; }
4286 # ----------------- done all checks, emit header -------------
4287 ac_config_commands="$ac_config_commands gstdint.h"
4292 # Checks for typedefs, structures, and compiler characteristics.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4294 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4295 if test "${ac_cv_c_const+set}" = set; then :
4296 $as_echo_n "(cached) " >&6
4297 else
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4304 /* FIXME: Include the comments suggested by Paul. */
4305 #ifndef __cplusplus
4306 /* Ultrix mips cc rejects this. */
4307 typedef int charset[2];
4308 const charset cs;
4309 /* SunOS 4.1.1 cc rejects this. */
4310 char const *const *pcpcc;
4311 char **ppc;
4312 /* NEC SVR4.0.2 mips cc rejects this. */
4313 struct point {int x, y;};
4314 static struct point const zero = {0,0};
4315 /* AIX XL C 1.02.0.0 rejects this.
4316 It does not let you subtract one const X* pointer from another in
4317 an arm of an if-expression whose if-part is not a constant
4318 expression */
4319 const char *g = "string";
4320 pcpcc = &g + (g ? g-g : 0);
4321 /* HPUX 7.0 cc rejects these. */
4322 ++pcpcc;
4323 ppc = (char**) pcpcc;
4324 pcpcc = (char const *const *) ppc;
4325 { /* SCO 3.2v4 cc rejects this. */
4326 char *t;
4327 char const *s = 0 ? (char *) 0 : (char const *) 0;
4329 *t++ = 0;
4330 if (s) return 0;
4332 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4333 int x[] = {25, 17};
4334 const int *foo = &x[0];
4335 ++foo;
4337 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4338 typedef const int *iptr;
4339 iptr p = 0;
4340 ++p;
4342 { /* AIX XL C 1.02.0.0 rejects this saying
4343 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4344 struct s { int j; const int *ap[3]; };
4345 struct s *b; b->j = 5;
4347 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4348 const int foo = 10;
4349 if (!foo) return 0;
4351 return !cs[0] && !zero.x;
4352 #endif
4355 return 0;
4357 _ACEOF
4358 if ac_fn_c_try_compile "$LINENO"; then :
4359 ac_cv_c_const=yes
4360 else
4361 ac_cv_c_const=no
4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4366 $as_echo "$ac_cv_c_const" >&6; }
4367 if test $ac_cv_c_const = no; then
4369 $as_echo "#define const /**/" >>confdefs.h
4373 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4374 if test "x$ac_cv_type_off_t" = x""yes; then :
4376 else
4378 cat >>confdefs.h <<_ACEOF
4379 #define off_t long int
4380 _ACEOF
4384 # The cast to long int works around a bug in the HP C Compiler
4385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4387 # This bug is HP SR number 8606223364.
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4389 $as_echo_n "checking size of int... " >&6; }
4390 if test "${ac_cv_sizeof_int+set}" = set; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4395 else
4396 if test "$ac_cv_type_int" = yes; then
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 { as_fn_set_status 77
4400 as_fn_error "cannot compute sizeof (int)
4401 See \`config.log' for more details." "$LINENO" 5; }; }
4402 else
4403 ac_cv_sizeof_int=0
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4409 $as_echo "$ac_cv_sizeof_int" >&6; }
4413 cat >>confdefs.h <<_ACEOF
4414 #define SIZEOF_INT $ac_cv_sizeof_int
4415 _ACEOF
4418 # The cast to long int works around a bug in the HP C Compiler
4419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4421 # This bug is HP SR number 8606223364.
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4423 $as_echo_n "checking size of long... " >&6; }
4424 if test "${ac_cv_sizeof_long+set}" = set; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4429 else
4430 if test "$ac_cv_type_long" = yes; then
4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433 { as_fn_set_status 77
4434 as_fn_error "cannot compute sizeof (long)
4435 See \`config.log' for more details." "$LINENO" 5; }; }
4436 else
4437 ac_cv_sizeof_long=0
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4443 $as_echo "$ac_cv_sizeof_long" >&6; }
4447 cat >>confdefs.h <<_ACEOF
4448 #define SIZEOF_LONG $ac_cv_sizeof_long
4449 _ACEOF
4453 # Checks for library functions.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4455 $as_echo_n "checking for ANSI C header files... " >&6; }
4456 if test "${ac_cv_header_stdc+set}" = set; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4461 #include <stdlib.h>
4462 #include <stdarg.h>
4463 #include <string.h>
4464 #include <float.h>
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 ac_cv_header_stdc=yes
4476 else
4477 ac_cv_header_stdc=no
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 if test $ac_cv_header_stdc = yes; then
4482 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4485 #include <string.h>
4487 _ACEOF
4488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4489 $EGREP "memchr" >/dev/null 2>&1; then :
4491 else
4492 ac_cv_header_stdc=no
4494 rm -f conftest*
4498 if test $ac_cv_header_stdc = yes; then
4499 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #include <stdlib.h>
4504 _ACEOF
4505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4506 $EGREP "free" >/dev/null 2>&1; then :
4508 else
4509 ac_cv_header_stdc=no
4511 rm -f conftest*
4515 if test $ac_cv_header_stdc = yes; then
4516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4517 if test "$cross_compiling" = yes; then :
4519 else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522 #include <ctype.h>
4523 #include <stdlib.h>
4524 #if ((' ' & 0x0FF) == 0x020)
4525 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4526 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4527 #else
4528 # define ISLOWER(c) \
4529 (('a' <= (c) && (c) <= 'i') \
4530 || ('j' <= (c) && (c) <= 'r') \
4531 || ('s' <= (c) && (c) <= 'z'))
4532 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4533 #endif
4535 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4537 main ()
4539 int i;
4540 for (i = 0; i < 256; i++)
4541 if (XOR (islower (i), ISLOWER (i))
4542 || toupper (i) != TOUPPER (i))
4543 return 2;
4544 return 0;
4546 _ACEOF
4547 if ac_fn_c_try_run "$LINENO"; then :
4549 else
4550 ac_cv_header_stdc=no
4552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4553 conftest.$ac_objext conftest.beam conftest.$ac_ext
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4559 $as_echo "$ac_cv_header_stdc" >&6; }
4560 if test $ac_cv_header_stdc = yes; then
4562 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4567 # Check whether --enable-maintainer-mode was given.
4568 if test "${enable_maintainer_mode+set}" = set; then :
4569 enableval=$enable_maintainer_mode;
4570 else
4571 enable_maintainer_mode=no
4575 if test "x$enable_maintainer_mode" = xno; then
4576 MAINT='#'
4577 else
4578 MAINT=
4582 # Make sure we can run config.sub.
4583 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4584 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4587 $as_echo_n "checking build system type... " >&6; }
4588 if test "${ac_cv_build+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 ac_build_alias=$build_alias
4592 test "x$ac_build_alias" = x &&
4593 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4594 test "x$ac_build_alias" = x &&
4595 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4596 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4597 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4601 $as_echo "$ac_cv_build" >&6; }
4602 case $ac_cv_build in
4603 *-*-*) ;;
4604 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4605 esac
4606 build=$ac_cv_build
4607 ac_save_IFS=$IFS; IFS='-'
4608 set x $ac_cv_build
4609 shift
4610 build_cpu=$1
4611 build_vendor=$2
4612 shift; shift
4613 # Remember, the first character of IFS is used to create $*,
4614 # except with old shells:
4615 build_os=$*
4616 IFS=$ac_save_IFS
4617 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4621 $as_echo_n "checking host system type... " >&6; }
4622 if test "${ac_cv_host+set}" = set; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 if test "x$host_alias" = x; then
4626 ac_cv_host=$ac_cv_build
4627 else
4628 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4629 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 $as_echo "$ac_cv_host" >&6; }
4635 case $ac_cv_host in
4636 *-*-*) ;;
4637 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4638 esac
4639 host=$ac_cv_host
4640 ac_save_IFS=$IFS; IFS='-'
4641 set x $ac_cv_host
4642 shift
4643 host_cpu=$1
4644 host_vendor=$2
4645 shift; shift
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4648 host_os=$*
4649 IFS=$ac_save_IFS
4650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4654 $as_echo_n "checking target system type... " >&6; }
4655 if test "${ac_cv_target+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 if test "x$target_alias" = x; then
4659 ac_cv_target=$ac_cv_host
4660 else
4661 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4662 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4667 $as_echo "$ac_cv_target" >&6; }
4668 case $ac_cv_target in
4669 *-*-*) ;;
4670 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
4671 esac
4672 target=$ac_cv_target
4673 ac_save_IFS=$IFS; IFS='-'
4674 set x $ac_cv_target
4675 shift
4676 target_cpu=$1
4677 target_vendor=$2
4678 shift; shift
4679 # Remember, the first character of IFS is used to create $*,
4680 # except with old shells:
4681 target_os=$*
4682 IFS=$ac_save_IFS
4683 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4686 # The aliases save the names the user supplied, while $host etc.
4687 # will get canonicalized.
4688 test -n "$target_alias" &&
4689 test "$program_prefix$program_suffix$program_transform_name" = \
4690 NONENONEs,x,x, &&
4691 program_prefix=${target_alias}-
4693 # Default decimal format
4694 # If you change the defaults here, be sure to change them in the GCC directory also
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4696 $as_echo_n "checking for decimal floating point... " >&6; }
4699 # Check whether --enable-decimal-float was given.
4700 if test "${enable_decimal_float+set}" = set; then :
4701 enableval=$enable_decimal_float;
4702 case $enable_decimal_float in
4703 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
4704 *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4705 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4706 esac
4708 else
4710 case $target in
4711 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
4712 i?86*-*-elfiamcu | i?86*-*-gnu* | \
4713 i?86*-*-mingw* | x86_64*-*-mingw* | \
4714 i?86*-*-cygwin* | x86_64*-*-cygwin*)
4715 enable_decimal_float=yes
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4719 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4720 enable_decimal_float=no
4722 esac
4727 # x86's use BID format instead of DPD
4728 case x$enable_decimal_float in
4729 xyes)
4730 case $target in
4731 i?86*-*-* | x86_64*-*-*)
4732 enable_decimal_float=bid
4735 enable_decimal_float=dpd
4737 esac
4738 default_decimal_float=$enable_decimal_float
4740 xno)
4741 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4742 # dependency on libdecnumber.
4743 default_decimal_float=dpd
4745 esac
4750 # Use default_decimal_float for dependency.
4751 enable_decimal_float=$default_decimal_float
4753 # If BID is being used, additional objects should be linked in.
4754 if test x$enable_decimal_float = xbid; then
4755 ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
4756 else
4757 ADDITIONAL_OBJS=
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4761 $as_echo "$enable_decimal_float" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4766 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4767 if test "${ac_cv_c_bigendian+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 ac_cv_c_bigendian=unknown
4771 # See if we're dealing with a universal compiler.
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #ifndef __APPLE_CC__
4775 not a universal capable compiler
4776 #endif
4777 typedef int dummy;
4779 _ACEOF
4780 if ac_fn_c_try_compile "$LINENO"; then :
4782 # Check for potential -arch flags. It is not universal unless
4783 # there are at least two -arch flags with different values.
4784 ac_arch=
4785 ac_prev=
4786 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4787 if test -n "$ac_prev"; then
4788 case $ac_word in
4789 i?86 | x86_64 | ppc | ppc64)
4790 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4791 ac_arch=$ac_word
4792 else
4793 ac_cv_c_bigendian=universal
4794 break
4797 esac
4798 ac_prev=
4799 elif test "x$ac_word" = "x-arch"; then
4800 ac_prev=arch
4802 done
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 if test $ac_cv_c_bigendian = unknown; then
4806 # See if sys/param.h defines the BYTE_ORDER macro.
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #include <sys/types.h>
4810 #include <sys/param.h>
4813 main ()
4815 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4816 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4817 && LITTLE_ENDIAN)
4818 bogus endian macros
4819 #endif
4822 return 0;
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826 # It does; now see whether it defined to BIG_ENDIAN or not.
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4829 #include <sys/types.h>
4830 #include <sys/param.h>
4833 main ()
4835 #if BYTE_ORDER != BIG_ENDIAN
4836 not big endian
4837 #endif
4840 return 0;
4842 _ACEOF
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 ac_cv_c_bigendian=yes
4845 else
4846 ac_cv_c_bigendian=no
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4852 if test $ac_cv_c_bigendian = unknown; then
4853 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4856 #include <limits.h>
4859 main ()
4861 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4862 bogus endian macros
4863 #endif
4866 return 0;
4868 _ACEOF
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 # It does; now see whether it defined to _BIG_ENDIAN or not.
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4873 #include <limits.h>
4876 main ()
4878 #ifndef _BIG_ENDIAN
4879 not big endian
4880 #endif
4883 return 0;
4885 _ACEOF
4886 if ac_fn_c_try_compile "$LINENO"; then :
4887 ac_cv_c_bigendian=yes
4888 else
4889 ac_cv_c_bigendian=no
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895 if test $ac_cv_c_bigendian = unknown; then
4896 # Compile a test program.
4897 if test "$cross_compiling" = yes; then :
4898 # Try to guess by grepping values from an object file.
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4901 short int ascii_mm[] =
4902 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4903 short int ascii_ii[] =
4904 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4905 int use_ascii (int i) {
4906 return ascii_mm[i] + ascii_ii[i];
4908 short int ebcdic_ii[] =
4909 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4910 short int ebcdic_mm[] =
4911 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4912 int use_ebcdic (int i) {
4913 return ebcdic_mm[i] + ebcdic_ii[i];
4915 extern int foo;
4918 main ()
4920 return use_ascii (foo) == use_ebcdic (foo);
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4926 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4927 ac_cv_c_bigendian=yes
4929 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4930 if test "$ac_cv_c_bigendian" = unknown; then
4931 ac_cv_c_bigendian=no
4932 else
4933 # finding both strings is unlikely to happen, but who knows?
4934 ac_cv_c_bigendian=unknown
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 else
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 $ac_includes_default
4944 main ()
4947 /* Are we little or big endian? From Harbison&Steele. */
4948 union
4950 long int l;
4951 char c[sizeof (long int)];
4952 } u;
4953 u.l = 1;
4954 return u.c[sizeof (long int) - 1] == 1;
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_run "$LINENO"; then :
4961 ac_cv_c_bigendian=no
4962 else
4963 ac_cv_c_bigendian=yes
4965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4966 conftest.$ac_objext conftest.beam conftest.$ac_ext
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4972 $as_echo "$ac_cv_c_bigendian" >&6; }
4973 case $ac_cv_c_bigendian in #(
4974 yes)
4975 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4976 ;; #(
4978 ;; #(
4979 universal)
4981 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4983 ;; #(
4985 as_fn_error "unknown endianness
4986 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4987 esac
4990 # Enable --enable-host-shared.
4991 # Check whether --enable-host-shared was given.
4992 if test "${enable_host_shared+set}" = set; then :
4993 enableval=$enable_host_shared; PICFLAG=-fPIC
4994 else
4995 PICFLAG=
5000 # Output.
5002 ac_config_headers="$ac_config_headers config.h:config.in"
5004 ac_config_files="$ac_config_files Makefile"
5006 cat >confcache <<\_ACEOF
5007 # This file is a shell script that caches the results of configure
5008 # tests run on this system so they can be shared between configure
5009 # scripts and configure runs, see configure's option --config-cache.
5010 # It is not useful on other systems. If it contains results you don't
5011 # want to keep, you may remove or edit it.
5013 # config.status only pays attention to the cache file if you give it
5014 # the --recheck option to rerun configure.
5016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5018 # following values.
5020 _ACEOF
5022 # The following way of writing the cache mishandles newlines in values,
5023 # but we know of no workaround that is simple, portable, and efficient.
5024 # So, we kill variables containing newlines.
5025 # Ultrix sh set writes to stderr and can't be redirected directly,
5026 # and sets the high bit in the cache file unless we assign to the vars.
5028 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5029 eval ac_val=\$$ac_var
5030 case $ac_val in #(
5031 *${as_nl}*)
5032 case $ac_var in #(
5033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5035 esac
5036 case $ac_var in #(
5037 _ | IFS | as_nl) ;; #(
5038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5039 *) { eval $ac_var=; unset $ac_var;} ;;
5040 esac ;;
5041 esac
5042 done
5044 (set) 2>&1 |
5045 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5046 *${as_nl}ac_space=\ *)
5047 # `set' does not quote correctly, so add quotes: double-quote
5048 # substitution turns \\\\ into \\, and sed turns \\ into \.
5049 sed -n \
5050 "s/'/'\\\\''/g;
5051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5052 ;; #(
5054 # `set' quotes correctly as required by POSIX, so do not add quotes.
5055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5057 esac |
5058 sort
5060 sed '
5061 /^ac_cv_env_/b end
5062 t clear
5063 :clear
5064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5065 t end
5066 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5067 :end' >>confcache
5068 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5069 if test -w "$cache_file"; then
5070 test "x$cache_file" != "x/dev/null" &&
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5072 $as_echo "$as_me: updating cache $cache_file" >&6;}
5073 cat confcache >$cache_file
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5076 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5079 rm -f confcache
5081 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5082 # Let make expand exec_prefix.
5083 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5085 DEFS=-DHAVE_CONFIG_H
5087 ac_libobjs=
5088 ac_ltlibobjs=
5089 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5090 # 1. Remove the extension, and $U if already installed.
5091 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5092 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5093 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5094 # will be set to the directory where LIBOBJS objects are built.
5095 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5096 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5097 done
5098 LIBOBJS=$ac_libobjs
5100 LTLIBOBJS=$ac_ltlibobjs
5105 : ${CONFIG_STATUS=./config.status}
5106 ac_write_fail=0
5107 ac_clean_files_save=$ac_clean_files
5108 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5110 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5111 as_write_fail=0
5112 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5113 #! $SHELL
5114 # Generated by $as_me.
5115 # Run this file to recreate the current configuration.
5116 # Compiler output produced by configure, useful for debugging
5117 # configure, is in config.log if it exists.
5119 debug=false
5120 ac_cs_recheck=false
5121 ac_cs_silent=false
5123 SHELL=\${CONFIG_SHELL-$SHELL}
5124 export SHELL
5125 _ASEOF
5126 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5127 ## -------------------- ##
5128 ## M4sh Initialization. ##
5129 ## -------------------- ##
5131 # Be more Bourne compatible
5132 DUALCASE=1; export DUALCASE # for MKS sh
5133 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5134 emulate sh
5135 NULLCMD=:
5136 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5137 # is contrary to our usage. Disable this feature.
5138 alias -g '${1+"$@"}'='"$@"'
5139 setopt NO_GLOB_SUBST
5140 else
5141 case `(set -o) 2>/dev/null` in #(
5142 *posix*) :
5143 set -o posix ;; #(
5144 *) :
5146 esac
5150 as_nl='
5152 export as_nl
5153 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5154 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5155 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5157 # Prefer a ksh shell builtin over an external printf program on Solaris,
5158 # but without wasting forks for bash or zsh.
5159 if test -z "$BASH_VERSION$ZSH_VERSION" \
5160 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5161 as_echo='print -r --'
5162 as_echo_n='print -rn --'
5163 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5164 as_echo='printf %s\n'
5165 as_echo_n='printf %s'
5166 else
5167 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5168 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5169 as_echo_n='/usr/ucb/echo -n'
5170 else
5171 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5172 as_echo_n_body='eval
5173 arg=$1;
5174 case $arg in #(
5175 *"$as_nl"*)
5176 expr "X$arg" : "X\\(.*\\)$as_nl";
5177 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5178 esac;
5179 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5181 export as_echo_n_body
5182 as_echo_n='sh -c $as_echo_n_body as_echo'
5184 export as_echo_body
5185 as_echo='sh -c $as_echo_body as_echo'
5188 # The user is always right.
5189 if test "${PATH_SEPARATOR+set}" != set; then
5190 PATH_SEPARATOR=:
5191 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5192 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5193 PATH_SEPARATOR=';'
5198 # IFS
5199 # We need space, tab and new line, in precisely that order. Quoting is
5200 # there to prevent editors from complaining about space-tab.
5201 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5202 # splitting by setting IFS to empty value.)
5203 IFS=" "" $as_nl"
5205 # Find who we are. Look in the path if we contain no directory separator.
5206 case $0 in #((
5207 *[\\/]* ) as_myself=$0 ;;
5208 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5214 done
5215 IFS=$as_save_IFS
5218 esac
5219 # We did not find ourselves, most probably we were run as `sh COMMAND'
5220 # in which case we are not to be found in the path.
5221 if test "x$as_myself" = x; then
5222 as_myself=$0
5224 if test ! -f "$as_myself"; then
5225 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5226 exit 1
5229 # Unset variables that we do not need and which cause bugs (e.g. in
5230 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5231 # suppresses any "Segmentation fault" message there. '((' could
5232 # trigger a bug in pdksh 5.2.14.
5233 for as_var in BASH_ENV ENV MAIL MAILPATH
5234 do eval test x\${$as_var+set} = xset \
5235 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5236 done
5237 PS1='$ '
5238 PS2='> '
5239 PS4='+ '
5241 # NLS nuisances.
5242 LC_ALL=C
5243 export LC_ALL
5244 LANGUAGE=C
5245 export LANGUAGE
5247 # CDPATH.
5248 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5251 # as_fn_error ERROR [LINENO LOG_FD]
5252 # ---------------------------------
5253 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5254 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5255 # script with status $?, using 1 if that was 0.
5256 as_fn_error ()
5258 as_status=$?; test $as_status -eq 0 && as_status=1
5259 if test "$3"; then
5260 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5261 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5263 $as_echo "$as_me: error: $1" >&2
5264 as_fn_exit $as_status
5265 } # as_fn_error
5268 # as_fn_set_status STATUS
5269 # -----------------------
5270 # Set $? to STATUS, without forking.
5271 as_fn_set_status ()
5273 return $1
5274 } # as_fn_set_status
5276 # as_fn_exit STATUS
5277 # -----------------
5278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5279 as_fn_exit ()
5281 set +e
5282 as_fn_set_status $1
5283 exit $1
5284 } # as_fn_exit
5286 # as_fn_unset VAR
5287 # ---------------
5288 # Portably unset VAR.
5289 as_fn_unset ()
5291 { eval $1=; unset $1;}
5293 as_unset=as_fn_unset
5294 # as_fn_append VAR VALUE
5295 # ----------------------
5296 # Append the text in VALUE to the end of the definition contained in VAR. Take
5297 # advantage of any shell optimizations that allow amortized linear growth over
5298 # repeated appends, instead of the typical quadratic growth present in naive
5299 # implementations.
5300 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5301 eval 'as_fn_append ()
5303 eval $1+=\$2
5305 else
5306 as_fn_append ()
5308 eval $1=\$$1\$2
5310 fi # as_fn_append
5312 # as_fn_arith ARG...
5313 # ------------------
5314 # Perform arithmetic evaluation on the ARGs, and store the result in the
5315 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5316 # must be portable across $(()) and expr.
5317 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5318 eval 'as_fn_arith ()
5320 as_val=$(( $* ))
5322 else
5323 as_fn_arith ()
5325 as_val=`expr "$@" || test $? -eq 1`
5327 fi # as_fn_arith
5330 if expr a : '\(a\)' >/dev/null 2>&1 &&
5331 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5332 as_expr=expr
5333 else
5334 as_expr=false
5337 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5338 as_basename=basename
5339 else
5340 as_basename=false
5343 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5344 as_dirname=dirname
5345 else
5346 as_dirname=false
5349 as_me=`$as_basename -- "$0" ||
5350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5351 X"$0" : 'X\(//\)$' \| \
5352 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5353 $as_echo X/"$0" |
5354 sed '/^.*\/\([^/][^/]*\)\/*$/{
5355 s//\1/
5358 /^X\/\(\/\/\)$/{
5359 s//\1/
5362 /^X\/\(\/\).*/{
5363 s//\1/
5366 s/.*/./; q'`
5368 # Avoid depending upon Character Ranges.
5369 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5370 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5371 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5372 as_cr_digits='0123456789'
5373 as_cr_alnum=$as_cr_Letters$as_cr_digits
5375 ECHO_C= ECHO_N= ECHO_T=
5376 case `echo -n x` in #(((((
5377 -n*)
5378 case `echo 'xy\c'` in
5379 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5380 xy) ECHO_C='\c';;
5381 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5382 ECHO_T=' ';;
5383 esac;;
5385 ECHO_N='-n';;
5386 esac
5388 rm -f conf$$ conf$$.exe conf$$.file
5389 if test -d conf$$.dir; then
5390 rm -f conf$$.dir/conf$$.file
5391 else
5392 rm -f conf$$.dir
5393 mkdir conf$$.dir 2>/dev/null
5395 if (echo >conf$$.file) 2>/dev/null; then
5396 if ln -s conf$$.file conf$$ 2>/dev/null; then
5397 as_ln_s='ln -s'
5398 # ... but there are two gotchas:
5399 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5400 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5401 # In both cases, we have to default to `cp -p'.
5402 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5403 as_ln_s='cp -p'
5404 elif ln conf$$.file conf$$ 2>/dev/null; then
5405 as_ln_s=ln
5406 else
5407 as_ln_s='cp -p'
5409 else
5410 as_ln_s='cp -p'
5412 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5413 rmdir conf$$.dir 2>/dev/null
5416 # as_fn_mkdir_p
5417 # -------------
5418 # Create "$as_dir" as a directory, including parents if necessary.
5419 as_fn_mkdir_p ()
5422 case $as_dir in #(
5423 -*) as_dir=./$as_dir;;
5424 esac
5425 test -d "$as_dir" || eval $as_mkdir_p || {
5426 as_dirs=
5427 while :; do
5428 case $as_dir in #(
5429 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5430 *) as_qdir=$as_dir;;
5431 esac
5432 as_dirs="'$as_qdir' $as_dirs"
5433 as_dir=`$as_dirname -- "$as_dir" ||
5434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5435 X"$as_dir" : 'X\(//\)[^/]' \| \
5436 X"$as_dir" : 'X\(//\)$' \| \
5437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5438 $as_echo X"$as_dir" |
5439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5440 s//\1/
5443 /^X\(\/\/\)[^/].*/{
5444 s//\1/
5447 /^X\(\/\/\)$/{
5448 s//\1/
5451 /^X\(\/\).*/{
5452 s//\1/
5455 s/.*/./; q'`
5456 test -d "$as_dir" && break
5457 done
5458 test -z "$as_dirs" || eval "mkdir $as_dirs"
5459 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5462 } # as_fn_mkdir_p
5463 if mkdir -p . 2>/dev/null; then
5464 as_mkdir_p='mkdir -p "$as_dir"'
5465 else
5466 test -d ./-p && rmdir ./-p
5467 as_mkdir_p=false
5470 if test -x / >/dev/null 2>&1; then
5471 as_test_x='test -x'
5472 else
5473 if ls -dL / >/dev/null 2>&1; then
5474 as_ls_L_option=L
5475 else
5476 as_ls_L_option=
5478 as_test_x='
5479 eval sh -c '\''
5480 if test -d "$1"; then
5481 test -d "$1/.";
5482 else
5483 case $1 in #(
5484 -*)set "./$1";;
5485 esac;
5486 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5487 ???[sx]*):;;*)false;;esac;fi
5488 '\'' sh
5491 as_executable_p=$as_test_x
5493 # Sed expression to map a string onto a valid CPP name.
5494 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5496 # Sed expression to map a string onto a valid variable name.
5497 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5500 exec 6>&1
5501 ## ----------------------------------- ##
5502 ## Main body of $CONFIG_STATUS script. ##
5503 ## ----------------------------------- ##
5504 _ASEOF
5505 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5508 # Save the log message, to keep $0 and so on meaningful, and to
5509 # report actual input values of CONFIG_FILES etc. instead of their
5510 # values after options handling.
5511 ac_log="
5512 This file was extended by libdecnumber $as_me , which was
5513 generated by GNU Autoconf 2.64. Invocation command line was
5515 CONFIG_FILES = $CONFIG_FILES
5516 CONFIG_HEADERS = $CONFIG_HEADERS
5517 CONFIG_LINKS = $CONFIG_LINKS
5518 CONFIG_COMMANDS = $CONFIG_COMMANDS
5519 $ $0 $@
5521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5524 _ACEOF
5526 case $ac_config_files in *"
5527 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5528 esac
5530 case $ac_config_headers in *"
5531 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5532 esac
5535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5536 # Files that config.status was made for.
5537 config_files="$ac_config_files"
5538 config_headers="$ac_config_headers"
5539 config_commands="$ac_config_commands"
5541 _ACEOF
5543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5544 ac_cs_usage="\
5545 \`$as_me' instantiates files and other configuration actions
5546 from templates according to the current configuration. Unless the files
5547 and actions are specified as TAGs, all are instantiated by default.
5549 Usage: $0 [OPTION]... [TAG]...
5551 -h, --help print this help, then exit
5552 -V, --version print version number and configuration settings, then exit
5553 -q, --quiet, --silent
5554 do not print progress messages
5555 -d, --debug don't remove temporary files
5556 --recheck update $as_me by reconfiguring in the same conditions
5557 --file=FILE[:TEMPLATE]
5558 instantiate the configuration file FILE
5559 --header=FILE[:TEMPLATE]
5560 instantiate the configuration header FILE
5562 Configuration files:
5563 $config_files
5565 Configuration headers:
5566 $config_headers
5568 Configuration commands:
5569 $config_commands
5571 Report bugs to <gcc-bugs@gcc.gnu.org>."
5573 _ACEOF
5574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5575 ac_cs_version="\\
5576 libdecnumber config.status
5577 configured by $0, generated by GNU Autoconf 2.64,
5578 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5580 Copyright (C) 2009 Free Software Foundation, Inc.
5581 This config.status script is free software; the Free Software Foundation
5582 gives unlimited permission to copy, distribute and modify it."
5584 ac_pwd='$ac_pwd'
5585 srcdir='$srcdir'
5586 test -n "\$AWK" || AWK=awk
5587 _ACEOF
5589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5590 # The default lists apply if the user does not specify any file.
5591 ac_need_defaults=:
5592 while test $# != 0
5594 case $1 in
5595 --*=*)
5596 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5597 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5598 ac_shift=:
5601 ac_option=$1
5602 ac_optarg=$2
5603 ac_shift=shift
5605 esac
5607 case $ac_option in
5608 # Handling of the options.
5609 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5610 ac_cs_recheck=: ;;
5611 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5612 $as_echo "$ac_cs_version"; exit ;;
5613 --debug | --debu | --deb | --de | --d | -d )
5614 debug=: ;;
5615 --file | --fil | --fi | --f )
5616 $ac_shift
5617 case $ac_optarg in
5618 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5619 esac
5620 as_fn_append CONFIG_FILES " '$ac_optarg'"
5621 ac_need_defaults=false;;
5622 --header | --heade | --head | --hea )
5623 $ac_shift
5624 case $ac_optarg in
5625 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5626 esac
5627 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5628 ac_need_defaults=false;;
5629 --he | --h)
5630 # Conflict between --help and --header
5631 as_fn_error "ambiguous option: \`$1'
5632 Try \`$0 --help' for more information.";;
5633 --help | --hel | -h )
5634 $as_echo "$ac_cs_usage"; exit ;;
5635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5637 ac_cs_silent=: ;;
5639 # This is an error.
5640 -*) as_fn_error "unrecognized option: \`$1'
5641 Try \`$0 --help' for more information." ;;
5643 *) as_fn_append ac_config_targets " $1"
5644 ac_need_defaults=false ;;
5646 esac
5647 shift
5648 done
5650 ac_configure_extra_args=
5652 if $ac_cs_silent; then
5653 exec 6>/dev/null
5654 ac_configure_extra_args="$ac_configure_extra_args --silent"
5657 _ACEOF
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659 if \$ac_cs_recheck; then
5660 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5661 shift
5662 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5663 CONFIG_SHELL='$SHELL'
5664 export CONFIG_SHELL
5665 exec "\$@"
5668 _ACEOF
5669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5670 exec 5>>config.log
5672 echo
5673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5674 ## Running $as_me. ##
5675 _ASBOX
5676 $as_echo "$ac_log"
5677 } >&5
5679 _ACEOF
5680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5682 # INIT-COMMANDS
5685 GCC="$GCC"
5686 CC="$CC"
5687 acx_cv_header_stdint="$acx_cv_header_stdint"
5688 acx_cv_type_int8_t="$acx_cv_type_int8_t"
5689 acx_cv_type_int16_t="$acx_cv_type_int16_t"
5690 acx_cv_type_int32_t="$acx_cv_type_int32_t"
5691 acx_cv_type_int64_t="$acx_cv_type_int64_t"
5692 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
5693 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
5694 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
5695 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
5696 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
5697 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
5698 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5699 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5700 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
5703 _ACEOF
5705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5707 # Handling of arguments.
5708 for ac_config_target in $ac_config_targets
5710 case $ac_config_target in
5711 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
5712 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
5713 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5715 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5716 esac
5717 done
5720 # If the user did not use the arguments to specify the items to instantiate,
5721 # then the envvar interface is used. Set only those that are not.
5722 # We use the long form for the default assignment because of an extremely
5723 # bizarre bug on SunOS 4.1.3.
5724 if $ac_need_defaults; then
5725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5730 # Have a temporary directory for convenience. Make it in the build tree
5731 # simply because there is no reason against having it here, and in addition,
5732 # creating and moving files from /tmp can sometimes cause problems.
5733 # Hook for its removal unless debugging.
5734 # Note that there is a small window in which the directory will not be cleaned:
5735 # after its creation but before its name has been assigned to `$tmp'.
5736 $debug ||
5738 tmp=
5739 trap 'exit_status=$?
5740 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5742 trap 'as_fn_exit 1' 1 2 13 15
5744 # Create a (secure) tmp directory for tmp files.
5747 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5748 test -n "$tmp" && test -d "$tmp"
5749 } ||
5751 tmp=./conf$$-$RANDOM
5752 (umask 077 && mkdir "$tmp")
5753 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5755 # Set up the scripts for CONFIG_FILES section.
5756 # No need to generate them if there are no CONFIG_FILES.
5757 # This happens for instance with `./config.status config.h'.
5758 if test -n "$CONFIG_FILES"; then
5761 ac_cr=`echo X | tr X '\015'`
5762 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5763 # But we know of no other shell where ac_cr would be empty at this
5764 # point, so we can use a bashism as a fallback.
5765 if test "x$ac_cr" = x; then
5766 eval ac_cr=\$\'\\r\'
5768 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5769 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5770 ac_cs_awk_cr='\r'
5771 else
5772 ac_cs_awk_cr=$ac_cr
5775 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5776 _ACEOF
5780 echo "cat >conf$$subs.awk <<_ACEOF" &&
5781 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5782 echo "_ACEOF"
5783 } >conf$$subs.sh ||
5784 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5785 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5786 ac_delim='%!_!# '
5787 for ac_last_try in false false false false false :; do
5788 . ./conf$$subs.sh ||
5789 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5791 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5792 if test $ac_delim_n = $ac_delim_num; then
5793 break
5794 elif $ac_last_try; then
5795 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5796 else
5797 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5799 done
5800 rm -f conf$$subs.sh
5802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5803 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5804 _ACEOF
5805 sed -n '
5807 s/^/S["/; s/!.*/"]=/
5810 s/^[^!]*!//
5811 :repl
5812 t repl
5813 s/'"$ac_delim"'$//
5814 t delim
5817 s/\(.\{148\}\).*/\1/
5818 t more1
5819 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5822 b repl
5823 :more1
5824 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5827 s/.\{148\}//
5828 t nl
5829 :delim
5831 s/\(.\{148\}\).*/\1/
5832 t more2
5833 s/["\\]/\\&/g; s/^/"/; s/$/"/
5836 :more2
5837 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5840 s/.\{148\}//
5841 t delim
5842 ' <conf$$subs.awk | sed '
5843 /^[^""]/{
5845 s/\n//
5847 ' >>$CONFIG_STATUS || ac_write_fail=1
5848 rm -f conf$$subs.awk
5849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5850 _ACAWK
5851 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5852 for (key in S) S_is_set[key] = 1
5853 FS = "\a"
5857 line = $ 0
5858 nfields = split(line, field, "@")
5859 substed = 0
5860 len = length(field[1])
5861 for (i = 2; i < nfields; i++) {
5862 key = field[i]
5863 keylen = length(key)
5864 if (S_is_set[key]) {
5865 value = S[key]
5866 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5867 len += length(value) + length(field[++i])
5868 substed = 1
5869 } else
5870 len += 1 + keylen
5873 print line
5876 _ACAWK
5877 _ACEOF
5878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5879 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5880 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5881 else
5883 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5884 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5885 _ACEOF
5887 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5889 # trailing colons and then remove the whole line if VPATH becomes empty
5890 # (actually we leave an empty line to preserve line numbers).
5891 if test "x$srcdir" = x.; then
5892 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5893 s/:*\$(srcdir):*/:/
5894 s/:*\${srcdir}:*/:/
5895 s/:*@srcdir@:*/:/
5896 s/^\([^=]*=[ ]*\):*/\1/
5897 s/:*$//
5898 s/^[^=]*=[ ]*$//
5902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5903 fi # test -n "$CONFIG_FILES"
5905 # Set up the scripts for CONFIG_HEADERS section.
5906 # No need to generate them if there are no CONFIG_HEADERS.
5907 # This happens for instance with `./config.status Makefile'.
5908 if test -n "$CONFIG_HEADERS"; then
5909 cat >"$tmp/defines.awk" <<\_ACAWK ||
5910 BEGIN {
5911 _ACEOF
5913 # Transform confdefs.h into an awk script `defines.awk', embedded as
5914 # here-document in config.status, that substitutes the proper values into
5915 # config.h.in to produce config.h.
5917 # Create a delimiter string that does not exist in confdefs.h, to ease
5918 # handling of long lines.
5919 ac_delim='%!_!# '
5920 for ac_last_try in false false :; do
5921 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5922 if test -z "$ac_t"; then
5923 break
5924 elif $ac_last_try; then
5925 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5926 else
5927 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5929 done
5931 # For the awk script, D is an array of macro values keyed by name,
5932 # likewise P contains macro parameters if any. Preserve backslash
5933 # newline sequences.
5935 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5936 sed -n '
5937 s/.\{148\}/&'"$ac_delim"'/g
5938 t rset
5939 :rset
5940 s/^[ ]*#[ ]*define[ ][ ]*/ /
5941 t def
5943 :def
5944 s/\\$//
5945 t bsnl
5946 s/["\\]/\\&/g
5947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5948 D["\1"]=" \3"/p
5949 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5951 :bsnl
5952 s/["\\]/\\&/g
5953 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5954 D["\1"]=" \3\\\\\\n"\\/p
5955 t cont
5956 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5957 t cont
5959 :cont
5961 s/.\{148\}/&'"$ac_delim"'/g
5962 t clear
5963 :clear
5964 s/\\$//
5965 t bsnlc
5966 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5968 :bsnlc
5969 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5970 b cont
5971 ' <confdefs.h | sed '
5972 s/'"$ac_delim"'/"\\\
5973 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5976 for (key in D) D_is_set[key] = 1
5977 FS = "\a"
5979 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5980 line = \$ 0
5981 split(line, arg, " ")
5982 if (arg[1] == "#") {
5983 defundef = arg[2]
5984 mac1 = arg[3]
5985 } else {
5986 defundef = substr(arg[1], 2)
5987 mac1 = arg[2]
5989 split(mac1, mac2, "(") #)
5990 macro = mac2[1]
5991 prefix = substr(line, 1, index(line, defundef) - 1)
5992 if (D_is_set[macro]) {
5993 # Preserve the white space surrounding the "#".
5994 print prefix "define", macro P[macro] D[macro]
5995 next
5996 } else {
5997 # Replace #undef with comments. This is necessary, for example,
5998 # in the case of _POSIX_SOURCE, which is predefined and required
5999 # on some systems where configure will not decide to define it.
6000 if (defundef == "undef") {
6001 print "/*", prefix defundef, macro, "*/"
6002 next
6006 { print }
6007 _ACAWK
6008 _ACEOF
6009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6010 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6011 fi # test -n "$CONFIG_HEADERS"
6014 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6015 shift
6016 for ac_tag
6018 case $ac_tag in
6019 :[FHLC]) ac_mode=$ac_tag; continue;;
6020 esac
6021 case $ac_mode$ac_tag in
6022 :[FHL]*:*);;
6023 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6024 :[FH]-) ac_tag=-:-;;
6025 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6026 esac
6027 ac_save_IFS=$IFS
6028 IFS=:
6029 set x $ac_tag
6030 IFS=$ac_save_IFS
6031 shift
6032 ac_file=$1
6033 shift
6035 case $ac_mode in
6036 :L) ac_source=$1;;
6037 :[FH])
6038 ac_file_inputs=
6039 for ac_f
6041 case $ac_f in
6042 -) ac_f="$tmp/stdin";;
6043 *) # Look for the file first in the build tree, then in the source tree
6044 # (if the path is not absolute). The absolute path cannot be DOS-style,
6045 # because $ac_f cannot contain `:'.
6046 test -f "$ac_f" ||
6047 case $ac_f in
6048 [\\/$]*) false;;
6049 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6050 esac ||
6051 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6052 esac
6053 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6054 as_fn_append ac_file_inputs " '$ac_f'"
6055 done
6057 # Let's still pretend it is `configure' which instantiates (i.e., don't
6058 # use $as_me), people would be surprised to read:
6059 # /* config.h. Generated by config.status. */
6060 configure_input='Generated from '`
6061 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6062 `' by configure.'
6063 if test x"$ac_file" != x-; then
6064 configure_input="$ac_file. $configure_input"
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6066 $as_echo "$as_me: creating $ac_file" >&6;}
6068 # Neutralize special characters interpreted by sed in replacement strings.
6069 case $configure_input in #(
6070 *\&* | *\|* | *\\* )
6071 ac_sed_conf_input=`$as_echo "$configure_input" |
6072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6073 *) ac_sed_conf_input=$configure_input;;
6074 esac
6076 case $ac_tag in
6077 *:-:* | *:-) cat >"$tmp/stdin" \
6078 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6079 esac
6081 esac
6083 ac_dir=`$as_dirname -- "$ac_file" ||
6084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085 X"$ac_file" : 'X\(//\)[^/]' \| \
6086 X"$ac_file" : 'X\(//\)$' \| \
6087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6088 $as_echo X"$ac_file" |
6089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6090 s//\1/
6093 /^X\(\/\/\)[^/].*/{
6094 s//\1/
6097 /^X\(\/\/\)$/{
6098 s//\1/
6101 /^X\(\/\).*/{
6102 s//\1/
6105 s/.*/./; q'`
6106 as_dir="$ac_dir"; as_fn_mkdir_p
6107 ac_builddir=.
6109 case "$ac_dir" in
6110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6112 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6113 # A ".." for each directory in $ac_dir_suffix.
6114 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6115 case $ac_top_builddir_sub in
6116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6118 esac ;;
6119 esac
6120 ac_abs_top_builddir=$ac_pwd
6121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6122 # for backward compatibility:
6123 ac_top_builddir=$ac_top_build_prefix
6125 case $srcdir in
6126 .) # We are building in place.
6127 ac_srcdir=.
6128 ac_top_srcdir=$ac_top_builddir_sub
6129 ac_abs_top_srcdir=$ac_pwd ;;
6130 [\\/]* | ?:[\\/]* ) # Absolute name.
6131 ac_srcdir=$srcdir$ac_dir_suffix;
6132 ac_top_srcdir=$srcdir
6133 ac_abs_top_srcdir=$srcdir ;;
6134 *) # Relative name.
6135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6136 ac_top_srcdir=$ac_top_build_prefix$srcdir
6137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6138 esac
6139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6142 case $ac_mode in
6145 # CONFIG_FILE
6148 _ACEOF
6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6151 # If the template does not know about datarootdir, expand it.
6152 # FIXME: This hack should be removed a few years after 2.60.
6153 ac_datarootdir_hack=; ac_datarootdir_seen=
6154 ac_sed_dataroot='
6155 /datarootdir/ {
6159 /@datadir@/p
6160 /@docdir@/p
6161 /@infodir@/p
6162 /@localedir@/p
6163 /@mandir@/p'
6164 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6165 *datarootdir*) ac_datarootdir_seen=yes;;
6166 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6168 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6169 _ACEOF
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 ac_datarootdir_hack='
6172 s&@datadir@&$datadir&g
6173 s&@docdir@&$docdir&g
6174 s&@infodir@&$infodir&g
6175 s&@localedir@&$localedir&g
6176 s&@mandir@&$mandir&g
6177 s&\\\${datarootdir}&$datarootdir&g' ;;
6178 esac
6179 _ACEOF
6181 # Neutralize VPATH when `$srcdir' = `.'.
6182 # Shell code in configure.ac might set extrasub.
6183 # FIXME: do we really want to maintain this feature?
6184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6185 ac_sed_extra="$ac_vpsub
6186 $extrasub
6187 _ACEOF
6188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6191 s|@configure_input@|$ac_sed_conf_input|;t t
6192 s&@top_builddir@&$ac_top_builddir_sub&;t t
6193 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6194 s&@srcdir@&$ac_srcdir&;t t
6195 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6196 s&@top_srcdir@&$ac_top_srcdir&;t t
6197 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6198 s&@builddir@&$ac_builddir&;t t
6199 s&@abs_builddir@&$ac_abs_builddir&;t t
6200 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6201 $ac_datarootdir_hack
6203 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6204 || as_fn_error "could not create $ac_file" "$LINENO" 5
6206 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6207 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6208 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6210 which seems to be undefined. Please make sure it is defined." >&5
6211 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6212 which seems to be undefined. Please make sure it is defined." >&2;}
6214 rm -f "$tmp/stdin"
6215 case $ac_file in
6216 -) cat "$tmp/out" && rm -f "$tmp/out";;
6217 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6218 esac \
6219 || as_fn_error "could not create $ac_file" "$LINENO" 5
6223 # CONFIG_HEADER
6225 if test x"$ac_file" != x-; then
6227 $as_echo "/* $configure_input */" \
6228 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6229 } >"$tmp/config.h" \
6230 || as_fn_error "could not create $ac_file" "$LINENO" 5
6231 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6233 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6234 else
6235 rm -f "$ac_file"
6236 mv "$tmp/config.h" "$ac_file" \
6237 || as_fn_error "could not create $ac_file" "$LINENO" 5
6239 else
6240 $as_echo "/* $configure_input */" \
6241 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6242 || as_fn_error "could not create -" "$LINENO" 5
6246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6247 $as_echo "$as_me: executing $ac_file commands" >&6;}
6249 esac
6252 case $ac_file$ac_mode in
6253 "gstdint.h":C)
6254 if test "$GCC" = yes; then
6255 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
6256 else
6257 echo "/* generated for $CC */" > tmp-stdint.h
6260 sed 's/^ *//' >> tmp-stdint.h <<EOF
6262 #ifndef GCC_GENERATED_STDINT_H
6263 #define GCC_GENERATED_STDINT_H 1
6265 #include <sys/types.h>
6268 if test "$acx_cv_header_stdint" != stdint.h; then
6269 echo "#include <stddef.h>" >> tmp-stdint.h
6271 if test "$acx_cv_header_stdint" != stddef.h; then
6272 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
6275 sed 's/^ *//' >> tmp-stdint.h <<EOF
6276 /* glibc uses these symbols as guards to prevent redefinitions. */
6277 #ifdef __int8_t_defined
6278 #define _INT8_T
6279 #define _INT16_T
6280 #define _INT32_T
6281 #endif
6282 #ifdef __uint32_t_defined
6283 #define _UINT32_T
6284 #endif
6288 # ----------------- done header, emit basic int types -------------
6289 if test "$acx_cv_header_stdint" = stddef.h; then
6290 sed 's/^ *//' >> tmp-stdint.h <<EOF
6292 #ifndef _UINT8_T
6293 #define _UINT8_T
6294 #ifndef __uint8_t_defined
6295 #define __uint8_t_defined
6296 #ifndef uint8_t
6297 typedef unsigned $acx_cv_type_int8_t uint8_t;
6298 #endif
6299 #endif
6300 #endif
6302 #ifndef _UINT16_T
6303 #define _UINT16_T
6304 #ifndef __uint16_t_defined
6305 #define __uint16_t_defined
6306 #ifndef uint16_t
6307 typedef unsigned $acx_cv_type_int16_t uint16_t;
6308 #endif
6309 #endif
6310 #endif
6312 #ifndef _UINT32_T
6313 #define _UINT32_T
6314 #ifndef __uint32_t_defined
6315 #define __uint32_t_defined
6316 #ifndef uint32_t
6317 typedef unsigned $acx_cv_type_int32_t uint32_t;
6318 #endif
6319 #endif
6320 #endif
6322 #ifndef _INT8_T
6323 #define _INT8_T
6324 #ifndef __int8_t_defined
6325 #define __int8_t_defined
6326 #ifndef int8_t
6327 typedef $acx_cv_type_int8_t int8_t;
6328 #endif
6329 #endif
6330 #endif
6332 #ifndef _INT16_T
6333 #define _INT16_T
6334 #ifndef __int16_t_defined
6335 #define __int16_t_defined
6336 #ifndef int16_t
6337 typedef $acx_cv_type_int16_t int16_t;
6338 #endif
6339 #endif
6340 #endif
6342 #ifndef _INT32_T
6343 #define _INT32_T
6344 #ifndef __int32_t_defined
6345 #define __int32_t_defined
6346 #ifndef int32_t
6347 typedef $acx_cv_type_int32_t int32_t;
6348 #endif
6349 #endif
6350 #endif
6352 elif test "$ac_cv_type_u_int32_t" = yes; then
6353 sed 's/^ *//' >> tmp-stdint.h <<EOF
6355 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
6356 #ifndef _INT8_T
6357 #define _INT8_T
6358 #endif
6359 #ifndef _INT16_T
6360 #define _INT16_T
6361 #endif
6362 #ifndef _INT32_T
6363 #define _INT32_T
6364 #endif
6366 #ifndef _UINT8_T
6367 #define _UINT8_T
6368 #ifndef __uint8_t_defined
6369 #define __uint8_t_defined
6370 #ifndef uint8_t
6371 typedef u_int8_t uint8_t;
6372 #endif
6373 #endif
6374 #endif
6376 #ifndef _UINT16_T
6377 #define _UINT16_T
6378 #ifndef __uint16_t_defined
6379 #define __uint16_t_defined
6380 #ifndef uint16_t
6381 typedef u_int16_t uint16_t;
6382 #endif
6383 #endif
6384 #endif
6386 #ifndef _UINT32_T
6387 #define _UINT32_T
6388 #ifndef __uint32_t_defined
6389 #define __uint32_t_defined
6390 #ifndef uint32_t
6391 typedef u_int32_t uint32_t;
6392 #endif
6393 #endif
6394 #endif
6396 else
6397 sed 's/^ *//' >> tmp-stdint.h <<EOF
6399 /* Some systems have guard macros to prevent redefinitions, define them. */
6400 #ifndef _INT8_T
6401 #define _INT8_T
6402 #endif
6403 #ifndef _INT16_T
6404 #define _INT16_T
6405 #endif
6406 #ifndef _INT32_T
6407 #define _INT32_T
6408 #endif
6409 #ifndef _UINT8_T
6410 #define _UINT8_T
6411 #endif
6412 #ifndef _UINT16_T
6413 #define _UINT16_T
6414 #endif
6415 #ifndef _UINT32_T
6416 #define _UINT32_T
6417 #endif
6421 # ------------- done basic int types, emit int64_t types ------------
6422 if test "$ac_cv_type_uint64_t" = yes; then
6423 sed 's/^ *//' >> tmp-stdint.h <<EOF
6425 /* system headers have good uint64_t and int64_t */
6426 #ifndef _INT64_T
6427 #define _INT64_T
6428 #endif
6429 #ifndef _UINT64_T
6430 #define _UINT64_T
6431 #endif
6433 elif test "$ac_cv_type_u_int64_t" = yes; then
6434 sed 's/^ *//' >> tmp-stdint.h <<EOF
6436 /* system headers have an u_int64_t (and int64_t) */
6437 #ifndef _INT64_T
6438 #define _INT64_T
6439 #endif
6440 #ifndef _UINT64_T
6441 #define _UINT64_T
6442 #ifndef __uint64_t_defined
6443 #define __uint64_t_defined
6444 #ifndef uint64_t
6445 typedef u_int64_t uint64_t;
6446 #endif
6447 #endif
6448 #endif
6450 elif test -n "$acx_cv_type_int64_t"; then
6451 sed 's/^ *//' >> tmp-stdint.h <<EOF
6453 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
6454 #ifndef _INT64_T
6455 #define _INT64_T
6456 #ifndef int64_t
6457 typedef $acx_cv_type_int64_t int64_t;
6458 #endif
6459 #endif
6460 #ifndef _UINT64_T
6461 #define _UINT64_T
6462 #ifndef __uint64_t_defined
6463 #define __uint64_t_defined
6464 #ifndef uint64_t
6465 typedef unsigned $acx_cv_type_int64_t uint64_t;
6466 #endif
6467 #endif
6468 #endif
6470 else
6471 sed 's/^ *//' >> tmp-stdint.h <<EOF
6473 /* some common heuristics for int64_t, using compiler-specific tests */
6474 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
6475 #ifndef _INT64_T
6476 #define _INT64_T
6477 #ifndef __int64_t_defined
6478 #ifndef int64_t
6479 typedef long long int64_t;
6480 #endif
6481 #endif
6482 #endif
6483 #ifndef _UINT64_T
6484 #define _UINT64_T
6485 #ifndef uint64_t
6486 typedef unsigned long long uint64_t;
6487 #endif
6488 #endif
6490 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
6491 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
6492 does not implement __extension__. But that compiler doesn't define
6493 __GNUC_MINOR__. */
6494 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
6495 # define __extension__
6496 # endif
6498 # ifndef _INT64_T
6499 # define _INT64_T
6500 # ifndef int64_t
6501 __extension__ typedef long long int64_t;
6502 # endif
6503 # endif
6504 # ifndef _UINT64_T
6505 # define _UINT64_T
6506 # ifndef uint64_t
6507 __extension__ typedef unsigned long long uint64_t;
6508 # endif
6509 # endif
6511 #elif !defined __STRICT_ANSI__
6512 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
6514 # ifndef _INT64_T
6515 # define _INT64_T
6516 # ifndef int64_t
6517 typedef __int64 int64_t;
6518 # endif
6519 # endif
6520 # ifndef _UINT64_T
6521 # define _UINT64_T
6522 # ifndef uint64_t
6523 typedef unsigned __int64 uint64_t;
6524 # endif
6525 # endif
6526 # endif /* compiler */
6528 #endif /* ANSI version */
6532 # ------------- done int64_t types, emit intptr types ------------
6533 if test "$ac_cv_type_uintptr_t" != yes; then
6534 sed 's/^ *//' >> tmp-stdint.h <<EOF
6536 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
6537 #ifndef __uintptr_t_defined
6538 #ifndef uintptr_t
6539 typedef u$acx_cv_type_intptr_t uintptr_t;
6540 #endif
6541 #endif
6542 #ifndef __intptr_t_defined
6543 #ifndef intptr_t
6544 typedef $acx_cv_type_intptr_t intptr_t;
6545 #endif
6546 #endif
6550 # ------------- done intptr types, emit int_least types ------------
6551 if test "$ac_cv_type_int_least32_t" != yes; then
6552 sed 's/^ *//' >> tmp-stdint.h <<EOF
6554 /* Define int_least types */
6555 typedef int8_t int_least8_t;
6556 typedef int16_t int_least16_t;
6557 typedef int32_t int_least32_t;
6558 #ifdef _INT64_T
6559 typedef int64_t int_least64_t;
6560 #endif
6562 typedef uint8_t uint_least8_t;
6563 typedef uint16_t uint_least16_t;
6564 typedef uint32_t uint_least32_t;
6565 #ifdef _UINT64_T
6566 typedef uint64_t uint_least64_t;
6567 #endif
6571 # ------------- done intptr types, emit int_fast types ------------
6572 if test "$ac_cv_type_int_fast32_t" != yes; then
6573 sed 's/^ *//' >> tmp-stdint.h <<EOF
6575 /* Define int_fast types. short is often slow */
6576 typedef int8_t int_fast8_t;
6577 typedef int int_fast16_t;
6578 typedef int32_t int_fast32_t;
6579 #ifdef _INT64_T
6580 typedef int64_t int_fast64_t;
6581 #endif
6583 typedef uint8_t uint_fast8_t;
6584 typedef unsigned int uint_fast16_t;
6585 typedef uint32_t uint_fast32_t;
6586 #ifdef _UINT64_T
6587 typedef uint64_t uint_fast64_t;
6588 #endif
6592 if test "$ac_cv_type_uintmax_t" != yes; then
6593 sed 's/^ *//' >> tmp-stdint.h <<EOF
6595 /* Define intmax based on what we found */
6596 #ifndef intmax_t
6597 #ifdef _INT64_T
6598 typedef int64_t intmax_t;
6599 #else
6600 typedef long intmax_t;
6601 #endif
6602 #endif
6603 #ifndef uintmax_t
6604 #ifdef _UINT64_T
6605 typedef uint64_t uintmax_t;
6606 #else
6607 typedef unsigned long uintmax_t;
6608 #endif
6609 #endif
6613 sed 's/^ *//' >> tmp-stdint.h <<EOF
6615 #endif /* GCC_GENERATED_STDINT_H */
6618 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
6619 rm -f tmp-stdint.h
6620 else
6621 mv -f tmp-stdint.h gstdint.h
6625 "config.h":H) echo timestamp > stamp-h1 ;;
6627 esac
6628 done # for ac_tag
6631 as_fn_exit 0
6632 _ACEOF
6633 ac_clean_files=$ac_clean_files_save
6635 test $ac_write_fail = 0 ||
6636 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6639 # configure is writing to config.log, and then calls config.status.
6640 # config.status does its own redirection, appending to config.log.
6641 # Unfortunately, on DOS this fails, as config.log is still kept open
6642 # by configure, so config.status won't be able to write to it; its
6643 # output is simply discarded. So we exec the FD to /dev/null,
6644 # effectively closing config.log, so it can be properly (re)opened and
6645 # appended to by config.status. When coming back to configure, we
6646 # need to make the FD available again.
6647 if test "$no_create" != yes; then
6648 ac_cs_success=:
6649 ac_config_status_args=
6650 test "$silent" = yes &&
6651 ac_config_status_args="$ac_config_status_args --quiet"
6652 exec 5>/dev/null
6653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6654 exec 5>>config.log
6655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6656 # would make configure fail if this is the last instruction.
6657 $ac_cs_success || as_fn_exit $?
6659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}