merge from gcc
[external/binutils.git] / libdecnumber / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libdecnumber  .
4 #
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
6 #
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.
10 #
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 ## -------------------- ##
16
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   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
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"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
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=';'
80   }
81 fi
82
83
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"
90
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
96 do
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
102
103      ;;
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
109 fi
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
113 fi
114
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='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
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   *) :
149      ;;
150 esac
151 fi
152 "
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; }
158
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 :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
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
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
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
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
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
200 fi
201 fi
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
211
212
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+"$@"}
222 fi
223
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."
236   fi
237   exit 1
238 fi
239 fi
240 fi
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
246
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
250 # as_fn_unset VAR
251 # ---------------
252 # Portably unset VAR.
253 as_fn_unset ()
254 {
255   { eval $1=; unset $1;}
256 }
257 as_unset=as_fn_unset
258
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
262 as_fn_set_status ()
263 {
264   return $1
265 } # as_fn_set_status
266
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 ()
271 {
272   set +e
273   as_fn_set_status $1
274   exit $1
275 } # as_fn_exit
276
277 # as_fn_mkdir_p
278 # -------------
279 # Create "$as_dir" as a directory, including parents if necessary.
280 as_fn_mkdir_p ()
281 {
282
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/
302             q
303           }
304           /^X\(\/\/\)[^/].*/{
305             s//\1/
306             q
307           }
308           /^X\(\/\/\)$/{
309             s//\1/
310             q
311           }
312           /^X\(\/\).*/{
313             s//\1/
314             q
315           }
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"
321
322
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 ()
332   {
333     eval $1+=\$2
334   }'
335 else
336   as_fn_append ()
337   {
338     eval $1=\$$1\$2
339   }
340 fi # as_fn_append
341
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 ()
349   {
350     as_val=$(( $* ))
351   }'
352 else
353   as_fn_arith ()
354   {
355     as_val=`expr "$@" || test $? -eq 1`
356   }
357 fi # as_fn_arith
358
359
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 ()
366 {
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
371   fi
372   $as_echo "$as_me: error: $1" >&2
373   as_fn_exit $as_status
374 } # as_fn_error
375
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
381 fi
382
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384   as_basename=basename
385 else
386   as_basename=false
387 fi
388
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
393 fi
394
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/
402             q
403           }
404           /^X\/\(\/\/\)$/{
405             s//\1/
406             q
407           }
408           /^X\/\(\/\).*/{
409             s//\1/
410             q
411           }
412           s/.*/./; q'`
413
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
420
421
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 '
428     p
429     /[$]LINENO/=
430   ' <$as_myself |
431     sed '
432       s/[$]LINENO.*/&-/
433       t lineno
434       b
435       :lineno
436       N
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; }
444
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
451 }
452
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;;
462 *)
463   ECHO_N='-n';;
464 esac
465
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
472 fi
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'
486   fi
487 else
488   as_ln_s='cp -p'
489 fi
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
492
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
498 fi
499
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=
507   fi
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
519   '
520 fi
521 as_executable_p=$as_test_x
522
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'"
525
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'"
528
529
530 exec 7<&0 </dev/null 6>&1
531
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`
536
537 #
538 # Initializations.
539 #
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=
548
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=''
556
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"
593
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 ADDITIONAL_OBJS
597 enable_decimal_float
598 target_os
599 target_vendor
600 target_cpu
601 target
602 host_os
603 host_vendor
604 host_cpu
605 host
606 build_os
607 build_vendor
608 build_cpu
609 build
610 MAINT
611 EGREP
612 GREP
613 CPP
614 WERROR
615 WARN_PEDANTIC
616 WARN_CFLAGS
617 AUTOHEADER
618 AUTOCONF
619 ACLOCAL
620 RANLIB
621 OBJEXT
622 EXEEXT
623 ac_ct_CC
624 CPPFLAGS
625 LDFLAGS
626 CFLAGS
627 CC
628 SET_MAKE
629 target_alias
630 host_alias
631 build_alias
632 LIBS
633 ECHO_T
634 ECHO_N
635 ECHO_C
636 DEFS
637 mandir
638 localedir
639 libdir
640 psdir
641 pdfdir
642 dvidir
643 htmldir
644 infodir
645 docdir
646 oldincludedir
647 includedir
648 localstatedir
649 sharedstatedir
650 sysconfdir
651 datadir
652 datarootdir
653 libexecdir
654 sbindir
655 bindir
656 program_transform_name
657 prefix
658 exec_prefix
659 PACKAGE_URL
660 PACKAGE_BUGREPORT
661 PACKAGE_STRING
662 PACKAGE_VERSION
663 PACKAGE_TARNAME
664 PACKAGE_NAME
665 PATH_SEPARATOR
666 SHELL'
667 ac_subst_files=''
668 ac_user_opts='
669 enable_option_checking
670 enable_werror_always
671 enable_maintainer_mode
672 enable_decimal_float
673 '
674       ac_precious_vars='build_alias
675 host_alias
676 target_alias
677 CC
678 CFLAGS
679 LDFLAGS
680 LIBS
681 CPPFLAGS
682 CPP'
683
684
685 # Initialize some variables set by options.
686 ac_init_help=
687 ac_init_version=false
688 ac_unrecognized_opts=
689 ac_unrecognized_sep=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
692 cache_file=/dev/null
693 exec_prefix=NONE
694 no_create=
695 no_recursion=
696 prefix=NONE
697 program_prefix=NONE
698 program_suffix=NONE
699 program_transform_name=s,x,x,
700 silent=
701 site=
702 srcdir=
703 verbose=
704 x_includes=NONE
705 x_libraries=NONE
706
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir='${exec_prefix}/bin'
714 sbindir='${exec_prefix}/sbin'
715 libexecdir='${exec_prefix}/libexec'
716 datarootdir='${prefix}/share'
717 datadir='${datarootdir}'
718 sysconfdir='${prefix}/etc'
719 sharedstatedir='${prefix}/com'
720 localstatedir='${prefix}/var'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
724 infodir='${datarootdir}/info'
725 htmldir='${docdir}'
726 dvidir='${docdir}'
727 pdfdir='${docdir}'
728 psdir='${docdir}'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
732
733 ac_prev=
734 ac_dashdash=
735 for ac_option
736 do
737   # If the previous option needs an argument, assign it.
738   if test -n "$ac_prev"; then
739     eval $ac_prev=\$ac_option
740     ac_prev=
741     continue
742   fi
743
744   case $ac_option in
745   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746   *)    ac_optarg=yes ;;
747   esac
748
749   # Accept the important Cygnus configure options, so we can diagnose typos.
750
751   case $ac_dashdash$ac_option in
752   --)
753     ac_dashdash=yes ;;
754
755   -bindir | --bindir | --bindi | --bind | --bin | --bi)
756     ac_prev=bindir ;;
757   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758     bindir=$ac_optarg ;;
759
760   -build | --build | --buil | --bui | --bu)
761     ac_prev=build_alias ;;
762   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
763     build_alias=$ac_optarg ;;
764
765   -cache-file | --cache-file | --cache-fil | --cache-fi \
766   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
767     ac_prev=cache_file ;;
768   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
769   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
770     cache_file=$ac_optarg ;;
771
772   --config-cache | -C)
773     cache_file=config.cache ;;
774
775   -datadir | --datadir | --datadi | --datad)
776     ac_prev=datadir ;;
777   -datadir=* | --datadir=* | --datadi=* | --datad=*)
778     datadir=$ac_optarg ;;
779
780   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
781   | --dataroo | --dataro | --datar)
782     ac_prev=datarootdir ;;
783   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
784   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
785     datarootdir=$ac_optarg ;;
786
787   -disable-* | --disable-*)
788     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789     # Reject names that are not valid shell variable names.
790     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791       as_fn_error "invalid feature name: $ac_useropt"
792     ac_useropt_orig=$ac_useropt
793     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794     case $ac_user_opts in
795       *"
796 "enable_$ac_useropt"
797 "*) ;;
798       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799          ac_unrecognized_sep=', ';;
800     esac
801     eval enable_$ac_useropt=no ;;
802
803   -docdir | --docdir | --docdi | --doc | --do)
804     ac_prev=docdir ;;
805   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
806     docdir=$ac_optarg ;;
807
808   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
809     ac_prev=dvidir ;;
810   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
811     dvidir=$ac_optarg ;;
812
813   -enable-* | --enable-*)
814     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815     # Reject names that are not valid shell variable names.
816     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817       as_fn_error "invalid feature name: $ac_useropt"
818     ac_useropt_orig=$ac_useropt
819     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820     case $ac_user_opts in
821       *"
822 "enable_$ac_useropt"
823 "*) ;;
824       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
825          ac_unrecognized_sep=', ';;
826     esac
827     eval enable_$ac_useropt=\$ac_optarg ;;
828
829   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
830   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
831   | --exec | --exe | --ex)
832     ac_prev=exec_prefix ;;
833   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
834   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
835   | --exec=* | --exe=* | --ex=*)
836     exec_prefix=$ac_optarg ;;
837
838   -gas | --gas | --ga | --g)
839     # Obsolete; use --with-gas.
840     with_gas=yes ;;
841
842   -help | --help | --hel | --he | -h)
843     ac_init_help=long ;;
844   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
845     ac_init_help=recursive ;;
846   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
847     ac_init_help=short ;;
848
849   -host | --host | --hos | --ho)
850     ac_prev=host_alias ;;
851   -host=* | --host=* | --hos=* | --ho=*)
852     host_alias=$ac_optarg ;;
853
854   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
855     ac_prev=htmldir ;;
856   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
857   | --ht=*)
858     htmldir=$ac_optarg ;;
859
860   -includedir | --includedir | --includedi | --included | --include \
861   | --includ | --inclu | --incl | --inc)
862     ac_prev=includedir ;;
863   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
864   | --includ=* | --inclu=* | --incl=* | --inc=*)
865     includedir=$ac_optarg ;;
866
867   -infodir | --infodir | --infodi | --infod | --info | --inf)
868     ac_prev=infodir ;;
869   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
870     infodir=$ac_optarg ;;
871
872   -libdir | --libdir | --libdi | --libd)
873     ac_prev=libdir ;;
874   -libdir=* | --libdir=* | --libdi=* | --libd=*)
875     libdir=$ac_optarg ;;
876
877   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
878   | --libexe | --libex | --libe)
879     ac_prev=libexecdir ;;
880   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
881   | --libexe=* | --libex=* | --libe=*)
882     libexecdir=$ac_optarg ;;
883
884   -localedir | --localedir | --localedi | --localed | --locale)
885     ac_prev=localedir ;;
886   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
887     localedir=$ac_optarg ;;
888
889   -localstatedir | --localstatedir | --localstatedi | --localstated \
890   | --localstate | --localstat | --localsta | --localst | --locals)
891     ac_prev=localstatedir ;;
892   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
893   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
894     localstatedir=$ac_optarg ;;
895
896   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
897     ac_prev=mandir ;;
898   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
899     mandir=$ac_optarg ;;
900
901   -nfp | --nfp | --nf)
902     # Obsolete; use --without-fp.
903     with_fp=no ;;
904
905   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
906   | --no-cr | --no-c | -n)
907     no_create=yes ;;
908
909   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
910   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
911     no_recursion=yes ;;
912
913   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
914   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
915   | --oldin | --oldi | --old | --ol | --o)
916     ac_prev=oldincludedir ;;
917   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
918   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
919   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
920     oldincludedir=$ac_optarg ;;
921
922   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
923     ac_prev=prefix ;;
924   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
925     prefix=$ac_optarg ;;
926
927   -program-prefix | --program-prefix | --program-prefi | --program-pref \
928   | --program-pre | --program-pr | --program-p)
929     ac_prev=program_prefix ;;
930   -program-prefix=* | --program-prefix=* | --program-prefi=* \
931   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
932     program_prefix=$ac_optarg ;;
933
934   -program-suffix | --program-suffix | --program-suffi | --program-suff \
935   | --program-suf | --program-su | --program-s)
936     ac_prev=program_suffix ;;
937   -program-suffix=* | --program-suffix=* | --program-suffi=* \
938   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
939     program_suffix=$ac_optarg ;;
940
941   -program-transform-name | --program-transform-name \
942   | --program-transform-nam | --program-transform-na \
943   | --program-transform-n | --program-transform- \
944   | --program-transform | --program-transfor \
945   | --program-transfo | --program-transf \
946   | --program-trans | --program-tran \
947   | --progr-tra | --program-tr | --program-t)
948     ac_prev=program_transform_name ;;
949   -program-transform-name=* | --program-transform-name=* \
950   | --program-transform-nam=* | --program-transform-na=* \
951   | --program-transform-n=* | --program-transform-=* \
952   | --program-transform=* | --program-transfor=* \
953   | --program-transfo=* | --program-transf=* \
954   | --program-trans=* | --program-tran=* \
955   | --progr-tra=* | --program-tr=* | --program-t=*)
956     program_transform_name=$ac_optarg ;;
957
958   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
959     ac_prev=pdfdir ;;
960   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
961     pdfdir=$ac_optarg ;;
962
963   -psdir | --psdir | --psdi | --psd | --ps)
964     ac_prev=psdir ;;
965   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
966     psdir=$ac_optarg ;;
967
968   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
969   | -silent | --silent | --silen | --sile | --sil)
970     silent=yes ;;
971
972   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
973     ac_prev=sbindir ;;
974   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
975   | --sbi=* | --sb=*)
976     sbindir=$ac_optarg ;;
977
978   -sharedstatedir | --sharedstatedir | --sharedstatedi \
979   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980   | --sharedst | --shareds | --shared | --share | --shar \
981   | --sha | --sh)
982     ac_prev=sharedstatedir ;;
983   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
986   | --sha=* | --sh=*)
987     sharedstatedir=$ac_optarg ;;
988
989   -site | --site | --sit)
990     ac_prev=site ;;
991   -site=* | --site=* | --sit=*)
992     site=$ac_optarg ;;
993
994   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
995     ac_prev=srcdir ;;
996   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997     srcdir=$ac_optarg ;;
998
999   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000   | --syscon | --sysco | --sysc | --sys | --sy)
1001     ac_prev=sysconfdir ;;
1002   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004     sysconfdir=$ac_optarg ;;
1005
1006   -target | --target | --targe | --targ | --tar | --ta | --t)
1007     ac_prev=target_alias ;;
1008   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009     target_alias=$ac_optarg ;;
1010
1011   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012     verbose=yes ;;
1013
1014   -version | --version | --versio | --versi | --vers | -V)
1015     ac_init_version=: ;;
1016
1017   -with-* | --with-*)
1018     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019     # Reject names that are not valid shell variable names.
1020     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021       as_fn_error "invalid package name: $ac_useropt"
1022     ac_useropt_orig=$ac_useropt
1023     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024     case $ac_user_opts in
1025       *"
1026 "with_$ac_useropt"
1027 "*) ;;
1028       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029          ac_unrecognized_sep=', ';;
1030     esac
1031     eval with_$ac_useropt=\$ac_optarg ;;
1032
1033   -without-* | --without-*)
1034     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035     # Reject names that are not valid shell variable names.
1036     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037       as_fn_error "invalid package name: $ac_useropt"
1038     ac_useropt_orig=$ac_useropt
1039     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040     case $ac_user_opts in
1041       *"
1042 "with_$ac_useropt"
1043 "*) ;;
1044       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045          ac_unrecognized_sep=', ';;
1046     esac
1047     eval with_$ac_useropt=no ;;
1048
1049   --x)
1050     # Obsolete; use --with-x.
1051     with_x=yes ;;
1052
1053   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054   | --x-incl | --x-inc | --x-in | --x-i)
1055     ac_prev=x_includes ;;
1056   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058     x_includes=$ac_optarg ;;
1059
1060   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062     ac_prev=x_libraries ;;
1063   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065     x_libraries=$ac_optarg ;;
1066
1067   -*) as_fn_error "unrecognized option: \`$ac_option'
1068 Try \`$0 --help' for more information."
1069     ;;
1070
1071   *=*)
1072     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073     # Reject names that are not valid shell variable names.
1074     case $ac_envvar in #(
1075       '' | [0-9]* | *[!_$as_cr_alnum]* )
1076       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1077     esac
1078     eval $ac_envvar=\$ac_optarg
1079     export $ac_envvar ;;
1080
1081   *)
1082     # FIXME: should be removed in autoconf 3.0.
1083     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087     ;;
1088
1089   esac
1090 done
1091
1092 if test -n "$ac_prev"; then
1093   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094   as_fn_error "missing argument to $ac_option"
1095 fi
1096
1097 if test -n "$ac_unrecognized_opts"; then
1098   case $enable_option_checking in
1099     no) ;;
1100     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1101     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102   esac
1103 fi
1104
1105 # Check all directory arguments for consistency.
1106 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107                 datadir sysconfdir sharedstatedir localstatedir includedir \
1108                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109                 libdir localedir mandir
1110 do
1111   eval ac_val=\$$ac_var
1112   # Remove trailing slashes.
1113   case $ac_val in
1114     */ )
1115       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116       eval $ac_var=\$ac_val;;
1117   esac
1118   # Be sure to have absolute directory names.
1119   case $ac_val in
1120     [\\/$]* | ?:[\\/]* )  continue;;
1121     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122   esac
1123   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 done
1125
1126 # There might be people who depend on the old broken behavior: `$host'
1127 # used to hold the argument of --host etc.
1128 # FIXME: To remove some day.
1129 build=$build_alias
1130 host=$host_alias
1131 target=$target_alias
1132
1133 # FIXME: To remove some day.
1134 if test "x$host_alias" != x; then
1135   if test "x$build_alias" = x; then
1136     cross_compiling=maybe
1137     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1138     If a cross compiler is detected then cross compile mode will be used." >&2
1139   elif test "x$build_alias" != "x$host_alias"; then
1140     cross_compiling=yes
1141   fi
1142 fi
1143
1144 ac_tool_prefix=
1145 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1146
1147 test "$silent" = yes && exec 6>/dev/null
1148
1149
1150 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151 ac_ls_di=`ls -di .` &&
1152 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1153   as_fn_error "working directory cannot be determined"
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155   as_fn_error "pwd does not report name of working directory"
1156
1157
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160   ac_srcdir_defaulted=yes
1161   # Try the directory containing this script, then the parent directory.
1162   ac_confdir=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164          X"$as_myself" : 'X\(//\)[^/]' \| \
1165          X"$as_myself" : 'X\(//\)$' \| \
1166          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 $as_echo X"$as_myself" |
1168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1169             s//\1/
1170             q
1171           }
1172           /^X\(\/\/\)[^/].*/{
1173             s//\1/
1174             q
1175           }
1176           /^X\(\/\/\)$/{
1177             s//\1/
1178             q
1179           }
1180           /^X\(\/\).*/{
1181             s//\1/
1182             q
1183           }
1184           s/.*/./; q'`
1185   srcdir=$ac_confdir
1186   if test ! -r "$srcdir/$ac_unique_file"; then
1187     srcdir=..
1188   fi
1189 else
1190   ac_srcdir_defaulted=no
1191 fi
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1195 fi
1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1197 ac_abs_confdir=`(
1198         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1199         pwd)`
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202   srcdir=.
1203 fi
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1207 case $srcdir in
1208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1209 esac
1210 for ac_var in $ac_precious_vars; do
1211   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212   eval ac_env_${ac_var}_value=\$${ac_var}
1213   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215 done
1216
1217 #
1218 # Report the --help message.
1219 #
1220 if test "$ac_init_help" = "long"; then
1221   # Omit some internal or obsolete options to make the list less imposing.
1222   # This message is too long to be a string in the A/UX 3.1 sh.
1223   cat <<_ACEOF
1224 \`configure' configures libdecnumber   to adapt to many kinds of systems.
1225
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1227
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE.  See below for descriptions of some of the useful variables.
1230
1231 Defaults for the options are specified in brackets.
1232
1233 Configuration:
1234   -h, --help              display this help and exit
1235       --help=short        display options specific to this package
1236       --help=recursive    display the short help of all the included packages
1237   -V, --version           display version information and exit
1238   -q, --quiet, --silent   do not print \`checking...' messages
1239       --cache-file=FILE   cache test results in FILE [disabled]
1240   -C, --config-cache      alias for \`--cache-file=config.cache'
1241   -n, --no-create         do not create output files
1242       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1243
1244 Installation directories:
1245   --prefix=PREFIX         install architecture-independent files in PREFIX
1246                           [$ac_default_prefix]
1247   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1248                           [PREFIX]
1249
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1254
1255 For better control, use the options below.
1256
1257 Fine tuning of the installation directories:
1258   --bindir=DIR            user executables [EPREFIX/bin]
1259   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1260   --libexecdir=DIR        program executables [EPREFIX/libexec]
1261   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1262   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1263   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1264   --libdir=DIR            object code libraries [EPREFIX/lib]
1265   --includedir=DIR        C header files [PREFIX/include]
1266   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1267   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1268   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1269   --infodir=DIR           info documentation [DATAROOTDIR/info]
1270   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1271   --mandir=DIR            man documentation [DATAROOTDIR/man]
1272   --docdir=DIR            documentation root [DATAROOTDIR/doc/libdecnumber]
1273   --htmldir=DIR           html documentation [DOCDIR]
1274   --dvidir=DIR            dvi documentation [DOCDIR]
1275   --pdfdir=DIR            pdf documentation [DOCDIR]
1276   --psdir=DIR             ps documentation [DOCDIR]
1277 _ACEOF
1278
1279   cat <<\_ACEOF
1280
1281 System types:
1282   --build=BUILD     configure for building on BUILD [guessed]
1283   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1284   --target=TARGET   configure for building compilers for TARGET [HOST]
1285 _ACEOF
1286 fi
1287
1288 if test -n "$ac_init_help"; then
1289   case $ac_init_help in
1290      short | recursive ) echo "Configuration of libdecnumber  :";;
1291    esac
1292   cat <<\_ACEOF
1293
1294 Optional Features:
1295   --disable-option-checking  ignore unrecognized --enable/--with options
1296   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1297   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1298   --enable-werror-always  enable -Werror despite compiler version
1299   --enable-maintainer-mode enable rules only needed by maintainers
1300   --enable-decimal-float={no,yes,bid,dpd}
1301                         enable decimal float extension to C.  Selecting 'bid'
1302                         or 'dpd' choses which decimal floating point format
1303                         to use
1304
1305 Some influential environment variables:
1306   CC          C compiler command
1307   CFLAGS      C compiler flags
1308   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1309               nonstandard directory <lib dir>
1310   LIBS        libraries to pass to the linker, e.g. -l<library>
1311   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1312               you have headers in a nonstandard directory <include dir>
1313   CPP         C preprocessor
1314
1315 Use these variables to override the choices made by `configure' or to help
1316 it to find libraries and programs with nonstandard names/locations.
1317
1318 Report bugs to <gcc-bugs@gcc.gnu.org>.
1319 _ACEOF
1320 ac_status=$?
1321 fi
1322
1323 if test "$ac_init_help" = "recursive"; then
1324   # If there are subdirs, report their specific --help.
1325   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1326     test -d "$ac_dir" ||
1327       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1328       continue
1329     ac_builddir=.
1330
1331 case "$ac_dir" in
1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *)
1334   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1335   # A ".." for each directory in $ac_dir_suffix.
1336   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1337   case $ac_top_builddir_sub in
1338   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340   esac ;;
1341 esac
1342 ac_abs_top_builddir=$ac_pwd
1343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1344 # for backward compatibility:
1345 ac_top_builddir=$ac_top_build_prefix
1346
1347 case $srcdir in
1348   .)  # We are building in place.
1349     ac_srcdir=.
1350     ac_top_srcdir=$ac_top_builddir_sub
1351     ac_abs_top_srcdir=$ac_pwd ;;
1352   [\\/]* | ?:[\\/]* )  # Absolute name.
1353     ac_srcdir=$srcdir$ac_dir_suffix;
1354     ac_top_srcdir=$srcdir
1355     ac_abs_top_srcdir=$srcdir ;;
1356   *) # Relative name.
1357     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1358     ac_top_srcdir=$ac_top_build_prefix$srcdir
1359     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 esac
1361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362
1363     cd "$ac_dir" || { ac_status=$?; continue; }
1364     # Check for guested configure.
1365     if test -f "$ac_srcdir/configure.gnu"; then
1366       echo &&
1367       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368     elif test -f "$ac_srcdir/configure"; then
1369       echo &&
1370       $SHELL "$ac_srcdir/configure" --help=recursive
1371     else
1372       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373     fi || ac_status=$?
1374     cd "$ac_pwd" || { ac_status=$?; break; }
1375   done
1376 fi
1377
1378 test -n "$ac_init_help" && exit $ac_status
1379 if $ac_init_version; then
1380   cat <<\_ACEOF
1381 libdecnumber configure
1382 generated by GNU Autoconf 2.64
1383
1384 Copyright (C) 2009 Free Software Foundation, Inc.
1385 This configure script is free software; the Free Software Foundation
1386 gives unlimited permission to copy, distribute and modify it.
1387 _ACEOF
1388   exit
1389 fi
1390
1391 ## ------------------------ ##
1392 ## Autoconf initialization. ##
1393 ## ------------------------ ##
1394
1395 # ac_fn_c_try_compile LINENO
1396 # --------------------------
1397 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_c_try_compile ()
1399 {
1400   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401   rm -f conftest.$ac_objext
1402   if { { ac_try="$ac_compile"
1403 case "(($ac_try" in
1404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1405   *) ac_try_echo=$ac_try;;
1406 esac
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409   (eval "$ac_compile") 2>conftest.err
1410   ac_status=$?
1411   if test -s conftest.err; then
1412     grep -v '^ *+' conftest.err >conftest.er1
1413     cat conftest.er1 >&5
1414     mv -f conftest.er1 conftest.err
1415   fi
1416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417   test $ac_status = 0; } && {
1418          test -z "$ac_c_werror_flag" ||
1419          test ! -s conftest.err
1420        } && test -s conftest.$ac_objext; then :
1421   ac_retval=0
1422 else
1423   $as_echo "$as_me: failed program was:" >&5
1424 sed 's/^/| /' conftest.$ac_ext >&5
1425
1426         ac_retval=1
1427 fi
1428   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1429   return $ac_retval
1430
1431 } # ac_fn_c_try_compile
1432
1433 # ac_fn_c_try_cpp LINENO
1434 # ----------------------
1435 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1436 ac_fn_c_try_cpp ()
1437 {
1438   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439   if { { ac_try="$ac_cpp conftest.$ac_ext"
1440 case "(($ac_try" in
1441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1442   *) ac_try_echo=$ac_try;;
1443 esac
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1447   ac_status=$?
1448   if test -s conftest.err; then
1449     grep -v '^ *+' conftest.err >conftest.er1
1450     cat conftest.er1 >&5
1451     mv -f conftest.er1 conftest.err
1452   fi
1453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454   test $ac_status = 0; } >/dev/null && {
1455          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1456          test ! -s conftest.err
1457        }; then :
1458   ac_retval=0
1459 else
1460   $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1462
1463     ac_retval=1
1464 fi
1465   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466   return $ac_retval
1467
1468 } # ac_fn_c_try_cpp
1469
1470 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1471 # -------------------------------------------------------
1472 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1473 # the include files in INCLUDES and setting the cache variable VAR
1474 # accordingly.
1475 ac_fn_c_check_header_mongrel ()
1476 {
1477   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1480 $as_echo_n "checking for $2... " >&6; }
1481 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1482   $as_echo_n "(cached) " >&6
1483 fi
1484 eval ac_res=\$$3
1485                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1486 $as_echo "$ac_res" >&6; }
1487 else
1488   # Is the header compilable?
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1490 $as_echo_n "checking $2 usability... " >&6; }
1491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1492 /* end confdefs.h.  */
1493 $4
1494 #include <$2>
1495 _ACEOF
1496 if ac_fn_c_try_compile "$LINENO"; then :
1497   ac_header_compiler=yes
1498 else
1499   ac_header_compiler=no
1500 fi
1501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1503 $as_echo "$ac_header_compiler" >&6; }
1504
1505 # Is the header present?
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1507 $as_echo_n "checking $2 presence... " >&6; }
1508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1509 /* end confdefs.h.  */
1510 #include <$2>
1511 _ACEOF
1512 if ac_fn_c_try_cpp "$LINENO"; then :
1513   ac_header_preproc=yes
1514 else
1515   ac_header_preproc=no
1516 fi
1517 rm -f conftest.err conftest.$ac_ext
1518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1519 $as_echo "$ac_header_preproc" >&6; }
1520
1521 # So?  What about this header?
1522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1523   yes:no: )
1524     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1525 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1526     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1527 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1528     ;;
1529   no:yes:* )
1530     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1531 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1532     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1533 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1534     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1535 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1536     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1537 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1538     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1539 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1540 ( cat <<\_ASBOX
1541 ## ----------------------------------- ##
1542 ## Report this to gcc-bugs@gcc.gnu.org ##
1543 ## ----------------------------------- ##
1544 _ASBOX
1545      ) | sed "s/^/$as_me: WARNING:     /" >&2
1546     ;;
1547 esac
1548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1549 $as_echo_n "checking for $2... " >&6; }
1550 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1551   $as_echo_n "(cached) " >&6
1552 else
1553   eval "$3=\$ac_header_compiler"
1554 fi
1555 eval ac_res=\$$3
1556                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1557 $as_echo "$ac_res" >&6; }
1558 fi
1559   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560
1561 } # ac_fn_c_check_header_mongrel
1562
1563 # ac_fn_c_try_run LINENO
1564 # ----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1566 # that executables *can* be run.
1567 ac_fn_c_try_run ()
1568 {
1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570   if { { ac_try="$ac_link"
1571 case "(($ac_try" in
1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573   *) ac_try_echo=$ac_try;;
1574 esac
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577   (eval "$ac_link") 2>&5
1578   ac_status=$?
1579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1581   { { case "(($ac_try" in
1582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583   *) ac_try_echo=$ac_try;;
1584 esac
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587   (eval "$ac_try") 2>&5
1588   ac_status=$?
1589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590   test $ac_status = 0; }; }; then :
1591   ac_retval=0
1592 else
1593   $as_echo "$as_me: program exited with status $ac_status" >&5
1594        $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1596
1597        ac_retval=$ac_status
1598 fi
1599   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1601   return $ac_retval
1602
1603 } # ac_fn_c_try_run
1604
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile ()
1610 {
1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615   $as_echo_n "(cached) " >&6
1616 else
1617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h.  */
1619 $4
1620 #include <$2>
1621 _ACEOF
1622 if ac_fn_c_try_compile "$LINENO"; then :
1623   eval "$3=yes"
1624 else
1625   eval "$3=no"
1626 fi
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628 fi
1629 eval ac_res=\$$3
1630                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1633
1634 } # ac_fn_c_check_header_compile
1635
1636 # ac_fn_c_find_intX_t LINENO BITS VAR
1637 # -----------------------------------
1638 # Finds a signed integer type with width BITS, setting cache variable VAR
1639 # accordingly.
1640 ac_fn_c_find_intX_t ()
1641 {
1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1644 $as_echo_n "checking for int$2_t... " >&6; }
1645 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646   $as_echo_n "(cached) " >&6
1647 else
1648   eval "$3=no"
1649      for ac_type in int$2_t 'int' 'long int' \
1650          'long long int' 'short int' 'signed char'; do
1651        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h.  */
1653 $ac_includes_default
1654 int
1655 main ()
1656 {
1657 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
1658 test_array [0] = 0
1659
1660   ;
1661   return 0;
1662 }
1663 _ACEOF
1664 if ac_fn_c_try_compile "$LINENO"; then :
1665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h.  */
1667 $ac_includes_default
1668 int
1669 main ()
1670 {
1671 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
1672                  < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
1673 test_array [0] = 0
1674
1675   ;
1676   return 0;
1677 }
1678 _ACEOF
1679 if ac_fn_c_try_compile "$LINENO"; then :
1680
1681 else
1682   case $ac_type in #(
1683   int$2_t) :
1684     eval "$3=yes" ;; #(
1685   *) :
1686     eval "$3=\$ac_type" ;;
1687 esac
1688 fi
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 fi
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692        eval as_val=\$$3
1693    if test "x$as_val" = x""no; then :
1694
1695 else
1696   break
1697 fi
1698      done
1699 fi
1700 eval ac_res=\$$3
1701                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1703   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704
1705 } # ac_fn_c_find_intX_t
1706
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_link ()
1711 {
1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713   rm -f conftest.$ac_objext conftest$ac_exeext
1714   if { { ac_try="$ac_link"
1715 case "(($ac_try" in
1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717   *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721   (eval "$ac_link") 2>conftest.err
1722   ac_status=$?
1723   if test -s conftest.err; then
1724     grep -v '^ *+' conftest.err >conftest.er1
1725     cat conftest.er1 >&5
1726     mv -f conftest.er1 conftest.err
1727   fi
1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729   test $ac_status = 0; } && {
1730          test -z "$ac_c_werror_flag" ||
1731          test ! -s conftest.err
1732        } && test -s conftest$ac_exeext && {
1733          test "$cross_compiling" = yes ||
1734          $as_test_x conftest$ac_exeext
1735        }; then :
1736   ac_retval=0
1737 else
1738   $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1740
1741         ac_retval=1
1742 fi
1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745   # interfere with the next link command; also delete a directory that is
1746   # left behind by Apple's compiler.  We do this before executing the actions.
1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749   return $ac_retval
1750
1751 } # ac_fn_c_try_link
1752
1753 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1754 # -------------------------------------------
1755 # Tests whether TYPE exists after having included INCLUDES, setting cache
1756 # variable VAR accordingly.
1757 ac_fn_c_check_type ()
1758 {
1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1763   $as_echo_n "(cached) " >&6
1764 else
1765   eval "$3=no"
1766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h.  */
1768 $4
1769 int
1770 main ()
1771 {
1772 if (sizeof ($2))
1773          return 0;
1774   ;
1775   return 0;
1776 }
1777 _ACEOF
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h.  */
1781 $4
1782 int
1783 main ()
1784 {
1785 if (sizeof (($2)))
1786             return 0;
1787   ;
1788   return 0;
1789 }
1790 _ACEOF
1791 if ac_fn_c_try_compile "$LINENO"; then :
1792
1793 else
1794   eval "$3=yes"
1795 fi
1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 fi
1800 eval ac_res=\$$3
1801                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804
1805 } # ac_fn_c_check_type
1806
1807 # ac_fn_c_find_uintX_t LINENO BITS VAR
1808 # ------------------------------------
1809 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1810 # accordingly.
1811 ac_fn_c_find_uintX_t ()
1812 {
1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1815 $as_echo_n "checking for uint$2_t... " >&6; }
1816 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817   $as_echo_n "(cached) " >&6
1818 else
1819   eval "$3=no"
1820      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1821          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1822        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h.  */
1824 $ac_includes_default
1825 int
1826 main ()
1827 {
1828 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
1829 test_array [0] = 0
1830
1831   ;
1832   return 0;
1833 }
1834 _ACEOF
1835 if ac_fn_c_try_compile "$LINENO"; then :
1836   case $ac_type in #(
1837   uint$2_t) :
1838     eval "$3=yes" ;; #(
1839   *) :
1840     eval "$3=\$ac_type" ;;
1841 esac
1842 fi
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844        eval as_val=\$$3
1845    if test "x$as_val" = x""no; then :
1846
1847 else
1848   break
1849 fi
1850      done
1851 fi
1852 eval ac_res=\$$3
1853                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856
1857 } # ac_fn_c_find_uintX_t
1858
1859 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1860 # --------------------------------------------
1861 # Tries to find the compile-time value of EXPR in a program that includes
1862 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1863 # computed
1864 ac_fn_c_compute_int ()
1865 {
1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867   if test "$cross_compiling" = yes; then
1868     # Depending upon the size, compute the lo and hi bounds.
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h.  */
1871 $4
1872 int
1873 main ()
1874 {
1875 static int test_array [1 - 2 * !(($2) >= 0)];
1876 test_array [0] = 0
1877
1878   ;
1879   return 0;
1880 }
1881 _ACEOF
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883   ac_lo=0 ac_mid=0
1884   while :; do
1885     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h.  */
1887 $4
1888 int
1889 main ()
1890 {
1891 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1892 test_array [0] = 0
1893
1894   ;
1895   return 0;
1896 }
1897 _ACEOF
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899   ac_hi=$ac_mid; break
1900 else
1901   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1902                         if test $ac_lo -le $ac_mid; then
1903                           ac_lo= ac_hi=
1904                           break
1905                         fi
1906                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1907 fi
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909   done
1910 else
1911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h.  */
1913 $4
1914 int
1915 main ()
1916 {
1917 static int test_array [1 - 2 * !(($2) < 0)];
1918 test_array [0] = 0
1919
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925   ac_hi=-1 ac_mid=-1
1926   while :; do
1927     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h.  */
1929 $4
1930 int
1931 main ()
1932 {
1933 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1934 test_array [0] = 0
1935
1936   ;
1937   return 0;
1938 }
1939 _ACEOF
1940 if ac_fn_c_try_compile "$LINENO"; then :
1941   ac_lo=$ac_mid; break
1942 else
1943   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1944                         if test $ac_mid -le $ac_hi; then
1945                           ac_lo= ac_hi=
1946                           break
1947                         fi
1948                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1949 fi
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951   done
1952 else
1953   ac_lo= ac_hi=
1954 fi
1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1956 fi
1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958 # Binary search between lo and hi bounds.
1959 while test "x$ac_lo" != "x$ac_hi"; do
1960   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h.  */
1963 $4
1964 int
1965 main ()
1966 {
1967 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1968 test_array [0] = 0
1969
1970   ;
1971   return 0;
1972 }
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975   ac_hi=$ac_mid
1976 else
1977   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1978 fi
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 done
1981 case $ac_lo in #((
1982 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1983 '') ac_retval=1 ;;
1984 esac
1985   else
1986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h.  */
1988 $4
1989 static long int longval () { return $2; }
1990 static unsigned long int ulongval () { return $2; }
1991 #include <stdio.h>
1992 #include <stdlib.h>
1993 int
1994 main ()
1995 {
1996
1997   FILE *f = fopen ("conftest.val", "w");
1998   if (! f)
1999     return 1;
2000   if (($2) < 0)
2001     {
2002       long int i = longval ();
2003       if (i != ($2))
2004         return 1;
2005       fprintf (f, "%ld", i);
2006     }
2007   else
2008     {
2009       unsigned long int i = ulongval ();
2010       if (i != ($2))
2011         return 1;
2012       fprintf (f, "%lu", i);
2013     }
2014   /* Do not output a trailing newline, as this causes \r\n confusion
2015      on some platforms.  */
2016   return ferror (f) || fclose (f) != 0;
2017
2018   ;
2019   return 0;
2020 }
2021 _ACEOF
2022 if ac_fn_c_try_run "$LINENO"; then :
2023   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2024 else
2025   ac_retval=1
2026 fi
2027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2028   conftest.$ac_objext conftest.beam conftest.$ac_ext
2029 rm -f conftest.val
2030
2031   fi
2032   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033   return $ac_retval
2034
2035 } # ac_fn_c_compute_int
2036 cat >config.log <<_ACEOF
2037 This file contains any messages produced by compilers while
2038 running configure, to aid debugging if configure makes a mistake.
2039
2040 It was created by libdecnumber $as_me  , which was
2041 generated by GNU Autoconf 2.64.  Invocation command line was
2042
2043   $ $0 $@
2044
2045 _ACEOF
2046 exec 5>>config.log
2047 {
2048 cat <<_ASUNAME
2049 ## --------- ##
2050 ## Platform. ##
2051 ## --------- ##
2052
2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2058
2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2061
2062 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2063 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2066 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2067 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2068 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2069
2070 _ASUNAME
2071
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 for as_dir in $PATH
2074 do
2075   IFS=$as_save_IFS
2076   test -z "$as_dir" && as_dir=.
2077     $as_echo "PATH: $as_dir"
2078   done
2079 IFS=$as_save_IFS
2080
2081 } >&5
2082
2083 cat >&5 <<_ACEOF
2084
2085
2086 ## ----------- ##
2087 ## Core tests. ##
2088 ## ----------- ##
2089
2090 _ACEOF
2091
2092
2093 # Keep a trace of the command line.
2094 # Strip out --no-create and --no-recursion so they do not pile up.
2095 # Strip out --silent because we don't want to record it for future runs.
2096 # Also quote any args containing shell meta-characters.
2097 # Make two passes to allow for proper duplicate-argument suppression.
2098 ac_configure_args=
2099 ac_configure_args0=
2100 ac_configure_args1=
2101 ac_must_keep_next=false
2102 for ac_pass in 1 2
2103 do
2104   for ac_arg
2105   do
2106     case $ac_arg in
2107     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109     | -silent | --silent | --silen | --sile | --sil)
2110       continue ;;
2111     *\'*)
2112       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113     esac
2114     case $ac_pass in
2115     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2116     2)
2117       as_fn_append ac_configure_args1 " '$ac_arg'"
2118       if test $ac_must_keep_next = true; then
2119         ac_must_keep_next=false # Got value, back to normal.
2120       else
2121         case $ac_arg in
2122           *=* | --config-cache | -C | -disable-* | --disable-* \
2123           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125           | -with-* | --with-* | -without-* | --without-* | --x)
2126             case "$ac_configure_args0 " in
2127               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128             esac
2129             ;;
2130           -* ) ac_must_keep_next=true ;;
2131         esac
2132       fi
2133       as_fn_append ac_configure_args " '$ac_arg'"
2134       ;;
2135     esac
2136   done
2137 done
2138 { ac_configure_args0=; unset ac_configure_args0;}
2139 { ac_configure_args1=; unset ac_configure_args1;}
2140
2141 # When interrupted or exit'd, cleanup temporary files, and complete
2142 # config.log.  We remove comments because anyway the quotes in there
2143 # would cause problems or look ugly.
2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146 trap 'exit_status=$?
2147   # Save into config.log some information that might help in debugging.
2148   {
2149     echo
2150
2151     cat <<\_ASBOX
2152 ## ---------------- ##
2153 ## Cache variables. ##
2154 ## ---------------- ##
2155 _ASBOX
2156     echo
2157     # The following way of writing the cache mishandles newlines in values,
2158 (
2159   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2160     eval ac_val=\$$ac_var
2161     case $ac_val in #(
2162     *${as_nl}*)
2163       case $ac_var in #(
2164       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2165 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2166       esac
2167       case $ac_var in #(
2168       _ | IFS | as_nl) ;; #(
2169       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2170       *) { eval $ac_var=; unset $ac_var;} ;;
2171       esac ;;
2172     esac
2173   done
2174   (set) 2>&1 |
2175     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176     *${as_nl}ac_space=\ *)
2177       sed -n \
2178         "s/'\''/'\''\\\\'\'''\''/g;
2179           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180       ;; #(
2181     *)
2182       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183       ;;
2184     esac |
2185     sort
2186 )
2187     echo
2188
2189     cat <<\_ASBOX
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2193 _ASBOX
2194     echo
2195     for ac_var in $ac_subst_vars
2196     do
2197       eval ac_val=\$$ac_var
2198       case $ac_val in
2199       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200       esac
2201       $as_echo "$ac_var='\''$ac_val'\''"
2202     done | sort
2203     echo
2204
2205     if test -n "$ac_subst_files"; then
2206       cat <<\_ASBOX
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2210 _ASBOX
2211       echo
2212       for ac_var in $ac_subst_files
2213       do
2214         eval ac_val=\$$ac_var
2215         case $ac_val in
2216         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217         esac
2218         $as_echo "$ac_var='\''$ac_val'\''"
2219       done | sort
2220       echo
2221     fi
2222
2223     if test -s confdefs.h; then
2224       cat <<\_ASBOX
2225 ## ----------- ##
2226 ## confdefs.h. ##
2227 ## ----------- ##
2228 _ASBOX
2229       echo
2230       cat confdefs.h
2231       echo
2232     fi
2233     test "$ac_signal" != 0 &&
2234       $as_echo "$as_me: caught signal $ac_signal"
2235     $as_echo "$as_me: exit $exit_status"
2236   } >&5
2237   rm -f core *.core core.conftest.* &&
2238     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239     exit $exit_status
2240 ' 0
2241 for ac_signal in 1 2 13 15; do
2242   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2243 done
2244 ac_signal=0
2245
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest* confdefs.h
2248
2249 $as_echo "/* confdefs.h */" > confdefs.h
2250
2251 # Predefined preprocessor variables.
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 _ACEOF
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259 _ACEOF
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 _ACEOF
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 _ACEOF
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271 _ACEOF
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_URL "$PACKAGE_URL"
2275 _ACEOF
2276
2277
2278 # Let the site file select an alternate cache file if it wants to.
2279 # Prefer an explicitly selected file to automatically selected ones.
2280 ac_site_file1=NONE
2281 ac_site_file2=NONE
2282 if test -n "$CONFIG_SITE"; then
2283   ac_site_file1=$CONFIG_SITE
2284 elif test "x$prefix" != xNONE; then
2285   ac_site_file1=$prefix/share/config.site
2286   ac_site_file2=$prefix/etc/config.site
2287 else
2288   ac_site_file1=$ac_default_prefix/share/config.site
2289   ac_site_file2=$ac_default_prefix/etc/config.site
2290 fi
2291 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2292 do
2293   test "x$ac_site_file" = xNONE && continue
2294   if test -r "$ac_site_file"; then
2295     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2296 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2297     sed 's/^/| /' "$ac_site_file" >&5
2298     . "$ac_site_file"
2299   fi
2300 done
2301
2302 if test -r "$cache_file"; then
2303   # Some versions of bash will fail to source /dev/null (special
2304   # files actually), so we avoid doing that.
2305   if test -f "$cache_file"; then
2306     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2307 $as_echo "$as_me: loading cache $cache_file" >&6;}
2308     case $cache_file in
2309       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2310       *)                      . "./$cache_file";;
2311     esac
2312   fi
2313 else
2314   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2315 $as_echo "$as_me: creating cache $cache_file" >&6;}
2316   >$cache_file
2317 fi
2318
2319 # Check that the precious variables saved in the cache have kept the same
2320 # value.
2321 ac_cache_corrupted=false
2322 for ac_var in $ac_precious_vars; do
2323   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2324   eval ac_new_set=\$ac_env_${ac_var}_set
2325   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2326   eval ac_new_val=\$ac_env_${ac_var}_value
2327   case $ac_old_set,$ac_new_set in
2328     set,)
2329       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2331       ac_cache_corrupted=: ;;
2332     ,set)
2333       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2334 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2335       ac_cache_corrupted=: ;;
2336     ,);;
2337     *)
2338       if test "x$ac_old_val" != "x$ac_new_val"; then
2339         # differences in whitespace do not lead to failure.
2340         ac_old_val_w=`echo x $ac_old_val`
2341         ac_new_val_w=`echo x $ac_new_val`
2342         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2343           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2344 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2345           ac_cache_corrupted=:
2346         else
2347           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2348 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2349           eval $ac_var=\$ac_old_val
2350         fi
2351         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2352 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2353         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2354 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2355       fi;;
2356   esac
2357   # Pass precious variables to config.status.
2358   if test "$ac_new_set" = set; then
2359     case $ac_new_val in
2360     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2361     *) ac_arg=$ac_var=$ac_new_val ;;
2362     esac
2363     case " $ac_configure_args " in
2364       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2365       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2366     esac
2367   fi
2368 done
2369 if $ac_cache_corrupted; then
2370   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2373 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2374   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2375 fi
2376 ## -------------------- ##
2377 ## Main body of script. ##
2378 ## -------------------- ##
2379
2380 ac_ext=c
2381 ac_cpp='$CPP $CPPFLAGS'
2382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2385
2386
2387
2388
2389
2390
2391
2392
2393 # Checks for programs.
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2395 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2396 set x ${MAKE-make}
2397 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2398 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2399   $as_echo_n "(cached) " >&6
2400 else
2401   cat >conftest.make <<\_ACEOF
2402 SHELL = /bin/sh
2403 all:
2404         @echo '@@@%%%=$(MAKE)=@@@%%%'
2405 _ACEOF
2406 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2407 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2408   *@@@%%%=?*=@@@%%%*)
2409     eval ac_cv_prog_make_${ac_make}_set=yes;;
2410   *)
2411     eval ac_cv_prog_make_${ac_make}_set=no;;
2412 esac
2413 rm -f conftest.make
2414 fi
2415 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418   SET_MAKE=
2419 else
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2422   SET_MAKE="MAKE=${MAKE-make}"
2423 fi
2424
2425 ac_ext=c
2426 ac_cpp='$CPP $CPPFLAGS'
2427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2430 if test -n "$ac_tool_prefix"; then
2431   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_CC+set}" = set; then :
2436   $as_echo_n "(cached) " >&6
2437 else
2438   if test -n "$CC"; then
2439   ac_cv_prog_CC="$CC" # Let the user override the test.
2440 else
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 for as_dir in $PATH
2443 do
2444   IFS=$as_save_IFS
2445   test -z "$as_dir" && as_dir=.
2446     for ac_exec_ext in '' $ac_executable_extensions; do
2447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2450     break 2
2451   fi
2452 done
2453   done
2454 IFS=$as_save_IFS
2455
2456 fi
2457 fi
2458 CC=$ac_cv_prog_CC
2459 if test -n "$CC"; then
2460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2461 $as_echo "$CC" >&6; }
2462 else
2463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2464 $as_echo "no" >&6; }
2465 fi
2466
2467
2468 fi
2469 if test -z "$ac_cv_prog_CC"; then
2470   ac_ct_CC=$CC
2471   # Extract the first word of "gcc", so it can be a program name with args.
2472 set dummy gcc; ac_word=$2
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2474 $as_echo_n "checking for $ac_word... " >&6; }
2475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2476   $as_echo_n "(cached) " >&6
2477 else
2478   if test -n "$ac_ct_CC"; then
2479   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484   IFS=$as_save_IFS
2485   test -z "$as_dir" && as_dir=.
2486     for ac_exec_ext in '' $ac_executable_extensions; do
2487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488     ac_cv_prog_ac_ct_CC="gcc"
2489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490     break 2
2491   fi
2492 done
2493   done
2494 IFS=$as_save_IFS
2495
2496 fi
2497 fi
2498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2499 if test -n "$ac_ct_CC"; then
2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2501 $as_echo "$ac_ct_CC" >&6; }
2502 else
2503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 $as_echo "no" >&6; }
2505 fi
2506
2507   if test "x$ac_ct_CC" = x; then
2508     CC=""
2509   else
2510     case $cross_compiling:$ac_tool_warned in
2511 yes:)
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2514 ac_tool_warned=yes ;;
2515 esac
2516     CC=$ac_ct_CC
2517   fi
2518 else
2519   CC="$ac_cv_prog_CC"
2520 fi
2521
2522 if test -z "$CC"; then
2523           if test -n "$ac_tool_prefix"; then
2524     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2525 set dummy ${ac_tool_prefix}cc; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then :
2529   $as_echo_n "(cached) " >&6
2530 else
2531   if test -n "$CC"; then
2532   ac_cv_prog_CC="$CC" # Let the user override the test.
2533 else
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 for as_dir in $PATH
2536 do
2537   IFS=$as_save_IFS
2538   test -z "$as_dir" && as_dir=.
2539     for ac_exec_ext in '' $ac_executable_extensions; do
2540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541     ac_cv_prog_CC="${ac_tool_prefix}cc"
2542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543     break 2
2544   fi
2545 done
2546   done
2547 IFS=$as_save_IFS
2548
2549 fi
2550 fi
2551 CC=$ac_cv_prog_CC
2552 if test -n "$CC"; then
2553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2555 else
2556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2558 fi
2559
2560
2561   fi
2562 fi
2563 if test -z "$CC"; then
2564   # Extract the first word of "cc", so it can be a program name with args.
2565 set dummy cc; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_CC+set}" = set; then :
2569   $as_echo_n "(cached) " >&6
2570 else
2571   if test -n "$CC"; then
2572   ac_cv_prog_CC="$CC" # Let the user override the test.
2573 else
2574   ac_prog_rejected=no
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 for as_dir in $PATH
2577 do
2578   IFS=$as_save_IFS
2579   test -z "$as_dir" && as_dir=.
2580     for ac_exec_ext in '' $ac_executable_extensions; do
2581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2583        ac_prog_rejected=yes
2584        continue
2585      fi
2586     ac_cv_prog_CC="cc"
2587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588     break 2
2589   fi
2590 done
2591   done
2592 IFS=$as_save_IFS
2593
2594 if test $ac_prog_rejected = yes; then
2595   # We found a bogon in the path, so make sure we never use it.
2596   set dummy $ac_cv_prog_CC
2597   shift
2598   if test $# != 0; then
2599     # We chose a different compiler from the bogus one.
2600     # However, it has the same basename, so the bogon will be chosen
2601     # first if we set CC to just the basename; use the full file name.
2602     shift
2603     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2604   fi
2605 fi
2606 fi
2607 fi
2608 CC=$ac_cv_prog_CC
2609 if test -n "$CC"; then
2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2611 $as_echo "$CC" >&6; }
2612 else
2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2615 fi
2616
2617
2618 fi
2619 if test -z "$CC"; then
2620   if test -n "$ac_tool_prefix"; then
2621   for ac_prog in cl.exe
2622   do
2623     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 $as_echo_n "checking for $ac_word... " >&6; }
2627 if test "${ac_cv_prog_CC+set}" = set; then :
2628   $as_echo_n "(cached) " >&6
2629 else
2630   if test -n "$CC"; then
2631   ac_cv_prog_CC="$CC" # Let the user override the test.
2632 else
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 for as_dir in $PATH
2635 do
2636   IFS=$as_save_IFS
2637   test -z "$as_dir" && as_dir=.
2638     for ac_exec_ext in '' $ac_executable_extensions; do
2639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642     break 2
2643   fi
2644 done
2645   done
2646 IFS=$as_save_IFS
2647
2648 fi
2649 fi
2650 CC=$ac_cv_prog_CC
2651 if test -n "$CC"; then
2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2653 $as_echo "$CC" >&6; }
2654 else
2655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2657 fi
2658
2659
2660     test -n "$CC" && break
2661   done
2662 fi
2663 if test -z "$CC"; then
2664   ac_ct_CC=$CC
2665   for ac_prog in cl.exe
2666 do
2667   # Extract the first word of "$ac_prog", so it can be a program name with args.
2668 set dummy $ac_prog; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2672   $as_echo_n "(cached) " >&6
2673 else
2674   if test -n "$ac_ct_CC"; then
2675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2679 do
2680   IFS=$as_save_IFS
2681   test -z "$as_dir" && as_dir=.
2682     for ac_exec_ext in '' $ac_executable_extensions; do
2683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684     ac_cv_prog_ac_ct_CC="$ac_prog"
2685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686     break 2
2687   fi
2688 done
2689   done
2690 IFS=$as_save_IFS
2691
2692 fi
2693 fi
2694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2697 $as_echo "$ac_ct_CC" >&6; }
2698 else
2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2701 fi
2702
2703
2704   test -n "$ac_ct_CC" && break
2705 done
2706
2707   if test "x$ac_ct_CC" = x; then
2708     CC=""
2709   else
2710     case $cross_compiling:$ac_tool_warned in
2711 yes:)
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2714 ac_tool_warned=yes ;;
2715 esac
2716     CC=$ac_ct_CC
2717   fi
2718 fi
2719
2720 fi
2721
2722
2723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2725 as_fn_error "no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." "$LINENO" 5; }
2727
2728 # Provide some information about the compiler.
2729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2730 set X $ac_compile
2731 ac_compiler=$2
2732 for ac_option in --version -v -V -qversion; do
2733   { { ac_try="$ac_compiler $ac_option >&5"
2734 case "(($ac_try" in
2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736   *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2741   ac_status=$?
2742   if test -s conftest.err; then
2743     sed '10a\
2744 ... rest of stderr output deleted ...
2745          10q' conftest.err >conftest.er1
2746     cat conftest.er1 >&5
2747     rm -f conftest.er1 conftest.err
2748   fi
2749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750   test $ac_status = 0; }
2751 done
2752
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h.  */
2755
2756 int
2757 main ()
2758 {
2759
2760   ;
2761   return 0;
2762 }
2763 _ACEOF
2764 ac_clean_files_save=$ac_clean_files
2765 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2766 # Try to create an executable without -o first, disregard a.out.
2767 # It will help us diagnose broken compilers, and finding out an intuition
2768 # of exeext.
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2770 $as_echo_n "checking for C compiler default output file name... " >&6; }
2771 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2772
2773 # The possible output files:
2774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2775
2776 ac_rmfiles=
2777 for ac_file in $ac_files
2778 do
2779   case $ac_file in
2780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2781     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2782   esac
2783 done
2784 rm -f $ac_rmfiles
2785
2786 if { { ac_try="$ac_link_default"
2787 case "(($ac_try" in
2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789   *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793   (eval "$ac_link_default") 2>&5
2794   ac_status=$?
2795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796   test $ac_status = 0; }; then :
2797   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2798 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2799 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2800 # so that the user can short-circuit this test for compilers unknown to
2801 # Autoconf.
2802 for ac_file in $ac_files ''
2803 do
2804   test -f "$ac_file" || continue
2805   case $ac_file in
2806     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2807         ;;
2808     [ab].out )
2809         # We found the default executable, but exeext='' is most
2810         # certainly right.
2811         break;;
2812     *.* )
2813         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2814         then :; else
2815            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816         fi
2817         # We set ac_cv_exeext here because the later test for it is not
2818         # safe: cross compilers may not add the suffix if given an `-o'
2819         # argument, so we may need to know it at that point already.
2820         # Even if this section looks crufty: it has the advantage of
2821         # actually working.
2822         break;;
2823     * )
2824         break;;
2825   esac
2826 done
2827 test "$ac_cv_exeext" = no && ac_cv_exeext=
2828
2829 else
2830   ac_file=''
2831 fi
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2833 $as_echo "$ac_file" >&6; }
2834 if test -z "$ac_file"; then :
2835   $as_echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2837
2838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 { as_fn_set_status 77
2841 as_fn_error "C compiler cannot create executables
2842 See \`config.log' for more details." "$LINENO" 5; }; }
2843 fi
2844 ac_exeext=$ac_cv_exeext
2845
2846 # Check that the compiler produces executables we can run.  If not, either
2847 # the compiler is broken, or we cross compile.
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2849 $as_echo_n "checking whether the C compiler works... " >&6; }
2850 # If not cross compiling, check that we can run a simple program.
2851 if test "$cross_compiling" != yes; then
2852   if { ac_try='./$ac_file'
2853   { { case "(($ac_try" in
2854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855   *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859   (eval "$ac_try") 2>&5
2860   ac_status=$?
2861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862   test $ac_status = 0; }; }; then
2863     cross_compiling=no
2864   else
2865     if test "$cross_compiling" = maybe; then
2866         cross_compiling=yes
2867     else
2868         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2870 as_fn_error "cannot run C compiled programs.
2871 If you meant to cross compile, use \`--host'.
2872 See \`config.log' for more details." "$LINENO" 5; }
2873     fi
2874   fi
2875 fi
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2877 $as_echo "yes" >&6; }
2878
2879 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2880 ac_clean_files=$ac_clean_files_save
2881 # Check that the compiler produces executables we can run.  If not, either
2882 # the compiler is broken, or we cross compile.
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2884 $as_echo_n "checking whether we are cross compiling... " >&6; }
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2886 $as_echo "$cross_compiling" >&6; }
2887
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2889 $as_echo_n "checking for suffix of executables... " >&6; }
2890 if { { ac_try="$ac_link"
2891 case "(($ac_try" in
2892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893   *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897   (eval "$ac_link") 2>&5
2898   ac_status=$?
2899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900   test $ac_status = 0; }; then :
2901   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2902 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2903 # work properly (i.e., refer to `conftest.exe'), while it won't with
2904 # `rm'.
2905 for ac_file in conftest.exe conftest conftest.*; do
2906   test -f "$ac_file" || continue
2907   case $ac_file in
2908     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2909     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2910           break;;
2911     * ) break;;
2912   esac
2913 done
2914 else
2915   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 as_fn_error "cannot compute suffix of executables: cannot compile and link
2918 See \`config.log' for more details." "$LINENO" 5; }
2919 fi
2920 rm -f conftest$ac_cv_exeext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2922 $as_echo "$ac_cv_exeext" >&6; }
2923
2924 rm -f conftest.$ac_ext
2925 EXEEXT=$ac_cv_exeext
2926 ac_exeext=$EXEEXT
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2928 $as_echo_n "checking for suffix of object files... " >&6; }
2929 if test "${ac_cv_objext+set}" = set; then :
2930   $as_echo_n "(cached) " >&6
2931 else
2932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h.  */
2934
2935 int
2936 main ()
2937 {
2938
2939   ;
2940   return 0;
2941 }
2942 _ACEOF
2943 rm -f conftest.o conftest.obj
2944 if { { ac_try="$ac_compile"
2945 case "(($ac_try" in
2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947   *) ac_try_echo=$ac_try;;
2948 esac
2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 $as_echo "$ac_try_echo"; } >&5
2951   (eval "$ac_compile") 2>&5
2952   ac_status=$?
2953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954   test $ac_status = 0; }; then :
2955   for ac_file in conftest.o conftest.obj conftest.*; do
2956   test -f "$ac_file" || continue;
2957   case $ac_file in
2958     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2959     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2960        break;;
2961   esac
2962 done
2963 else
2964   $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2966
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error "cannot compute suffix of object files: cannot compile
2970 See \`config.log' for more details." "$LINENO" 5; }
2971 fi
2972 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2973 fi
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2975 $as_echo "$ac_cv_objext" >&6; }
2976 OBJEXT=$ac_cv_objext
2977 ac_objext=$OBJEXT
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2981   $as_echo_n "(cached) " >&6
2982 else
2983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h.  */
2985
2986 int
2987 main ()
2988 {
2989 #ifndef __GNUC__
2990        choke me
2991 #endif
2992
2993   ;
2994   return 0;
2995 }
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998   ac_compiler_gnu=yes
2999 else
3000   ac_compiler_gnu=no
3001 fi
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3004
3005 fi
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3008 if test $ac_compiler_gnu = yes; then
3009   GCC=yes
3010 else
3011   GCC=
3012 fi
3013 ac_test_CFLAGS=${CFLAGS+set}
3014 ac_save_CFLAGS=$CFLAGS
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3017 if test "${ac_cv_prog_cc_g+set}" = set; then :
3018   $as_echo_n "(cached) " >&6
3019 else
3020   ac_save_c_werror_flag=$ac_c_werror_flag
3021    ac_c_werror_flag=yes
3022    ac_cv_prog_cc_g=no
3023    CFLAGS="-g"
3024    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h.  */
3026
3027 int
3028 main ()
3029 {
3030
3031   ;
3032   return 0;
3033 }
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036   ac_cv_prog_cc_g=yes
3037 else
3038   CFLAGS=""
3039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h.  */
3041
3042 int
3043 main ()
3044 {
3045
3046   ;
3047   return 0;
3048 }
3049 _ACEOF
3050 if ac_fn_c_try_compile "$LINENO"; then :
3051
3052 else
3053   ac_c_werror_flag=$ac_save_c_werror_flag
3054          CFLAGS="-g"
3055          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h.  */
3057
3058 int
3059 main ()
3060 {
3061
3062   ;
3063   return 0;
3064 }
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3067   ac_cv_prog_cc_g=yes
3068 fi
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 fi
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 fi
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074    ac_c_werror_flag=$ac_save_c_werror_flag
3075 fi
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3077 $as_echo "$ac_cv_prog_cc_g" >&6; }
3078 if test "$ac_test_CFLAGS" = set; then
3079   CFLAGS=$ac_save_CFLAGS
3080 elif test $ac_cv_prog_cc_g = yes; then
3081   if test "$GCC" = yes; then
3082     CFLAGS="-g -O2"
3083   else
3084     CFLAGS="-g"
3085   fi
3086 else
3087   if test "$GCC" = yes; then
3088     CFLAGS="-O2"
3089   else
3090     CFLAGS=
3091   fi
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3095 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3096   $as_echo_n "(cached) " >&6
3097 else
3098   ac_cv_prog_cc_c89=no
3099 ac_save_CC=$CC
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h.  */
3102 #include <stdarg.h>
3103 #include <stdio.h>
3104 #include <sys/types.h>
3105 #include <sys/stat.h>
3106 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3107 struct buf { int x; };
3108 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3109 static char *e (p, i)
3110      char **p;
3111      int i;
3112 {
3113   return p[i];
3114 }
3115 static char *f (char * (*g) (char **, int), char **p, ...)
3116 {
3117   char *s;
3118   va_list v;
3119   va_start (v,p);
3120   s = g (p, va_arg (v,int));
3121   va_end (v);
3122   return s;
3123 }
3124
3125 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3126    function prototypes and stuff, but not '\xHH' hex character constants.
3127    These don't provoke an error unfortunately, instead are silently treated
3128    as 'x'.  The following induces an error, until -std is added to get
3129    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3130    array size at least.  It's necessary to write '\x00'==0 to get something
3131    that's true only with -std.  */
3132 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3133
3134 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3135    inside strings and character constants.  */
3136 #define FOO(x) 'x'
3137 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3138
3139 int test (int i, double x);
3140 struct s1 {int (*f) (int a);};
3141 struct s2 {int (*f) (double a);};
3142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 int argc;
3144 char **argv;
3145 int
3146 main ()
3147 {
3148 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3149   ;
3150   return 0;
3151 }
3152 _ACEOF
3153 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3154         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3155 do
3156   CC="$ac_save_CC $ac_arg"
3157   if ac_fn_c_try_compile "$LINENO"; then :
3158   ac_cv_prog_cc_c89=$ac_arg
3159 fi
3160 rm -f core conftest.err conftest.$ac_objext
3161   test "x$ac_cv_prog_cc_c89" != "xno" && break
3162 done
3163 rm -f conftest.$ac_ext
3164 CC=$ac_save_CC
3165
3166 fi
3167 # AC_CACHE_VAL
3168 case "x$ac_cv_prog_cc_c89" in
3169   x)
3170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3171 $as_echo "none needed" >&6; } ;;
3172   xno)
3173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3174 $as_echo "unsupported" >&6; } ;;
3175   *)
3176     CC="$CC $ac_cv_prog_cc_c89"
3177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3179 esac
3180 if test "x$ac_cv_prog_cc_c89" != xno; then :
3181
3182 fi
3183
3184 ac_ext=c
3185 ac_cpp='$CPP $CPPFLAGS'
3186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189
3190 if test -n "$ac_tool_prefix"; then
3191   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3192 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3196   $as_echo_n "(cached) " >&6
3197 else
3198   if test -n "$RANLIB"; then
3199   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3200 else
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3203 do
3204   IFS=$as_save_IFS
3205   test -z "$as_dir" && as_dir=.
3206     for ac_exec_ext in '' $ac_executable_extensions; do
3207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210     break 2
3211   fi
3212 done
3213   done
3214 IFS=$as_save_IFS
3215
3216 fi
3217 fi
3218 RANLIB=$ac_cv_prog_RANLIB
3219 if test -n "$RANLIB"; then
3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3221 $as_echo "$RANLIB" >&6; }
3222 else
3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3225 fi
3226
3227
3228 fi
3229 if test -z "$ac_cv_prog_RANLIB"; then
3230   ac_ct_RANLIB=$RANLIB
3231   # Extract the first word of "ranlib", so it can be a program name with args.
3232 set dummy ranlib; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3236   $as_echo_n "(cached) " >&6
3237 else
3238   if test -n "$ac_ct_RANLIB"; then
3239   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3243 do
3244   IFS=$as_save_IFS
3245   test -z "$as_dir" && as_dir=.
3246     for ac_exec_ext in '' $ac_executable_extensions; do
3247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3248     ac_cv_prog_ac_ct_RANLIB="ranlib"
3249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250     break 2
3251   fi
3252 done
3253   done
3254 IFS=$as_save_IFS
3255
3256 fi
3257 fi
3258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3259 if test -n "$ac_ct_RANLIB"; then
3260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3261 $as_echo "$ac_ct_RANLIB" >&6; }
3262 else
3263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 fi
3266
3267   if test "x$ac_ct_RANLIB" = x; then
3268     RANLIB=":"
3269   else
3270     case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276     RANLIB=$ac_ct_RANLIB
3277   fi
3278 else
3279   RANLIB="$ac_cv_prog_RANLIB"
3280 fi
3281
3282
3283 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3284 for ac_prog in aclocal
3285 do
3286   # Extract the first word of "$ac_prog", so it can be a program name with args.
3287 set dummy $ac_prog; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
3291   $as_echo_n "(cached) " >&6
3292 else
3293   if test -n "$ACLOCAL"; then
3294   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3298 do
3299   IFS=$as_save_IFS
3300   test -z "$as_dir" && as_dir=.
3301     for ac_exec_ext in '' $ac_executable_extensions; do
3302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303     ac_cv_prog_ACLOCAL="$ac_prog"
3304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305     break 2
3306   fi
3307 done
3308   done
3309 IFS=$as_save_IFS
3310
3311 fi
3312 fi
3313 ACLOCAL=$ac_cv_prog_ACLOCAL
3314 if test -n "$ACLOCAL"; then
3315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
3316 $as_echo "$ACLOCAL" >&6; }
3317 else
3318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 fi
3321
3322
3323   test -n "$ACLOCAL" && break
3324 done
3325 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
3326
3327 for ac_prog in autoconf
3328 do
3329   # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy $ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
3334   $as_echo_n "(cached) " >&6
3335 else
3336   if test -n "$AUTOCONF"; then
3337   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3341 do
3342   IFS=$as_save_IFS
3343   test -z "$as_dir" && as_dir=.
3344     for ac_exec_ext in '' $ac_executable_extensions; do
3345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346     ac_cv_prog_AUTOCONF="$ac_prog"
3347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348     break 2
3349   fi
3350 done
3351   done
3352 IFS=$as_save_IFS
3353
3354 fi
3355 fi
3356 AUTOCONF=$ac_cv_prog_AUTOCONF
3357 if test -n "$AUTOCONF"; then
3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3359 $as_echo "$AUTOCONF" >&6; }
3360 else
3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3363 fi
3364
3365
3366   test -n "$AUTOCONF" && break
3367 done
3368 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
3369
3370 for ac_prog in autoheader
3371 do
3372   # Extract the first word of "$ac_prog", so it can be a program name with args.
3373 set dummy $ac_prog; ac_word=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
3377   $as_echo_n "(cached) " >&6
3378 else
3379   if test -n "$AUTOHEADER"; then
3380   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385   IFS=$as_save_IFS
3386   test -z "$as_dir" && as_dir=.
3387     for ac_exec_ext in '' $ac_executable_extensions; do
3388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3389     ac_cv_prog_AUTOHEADER="$ac_prog"
3390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391     break 2
3392   fi
3393 done
3394   done
3395 IFS=$as_save_IFS
3396
3397 fi
3398 fi
3399 AUTOHEADER=$ac_cv_prog_AUTOHEADER
3400 if test -n "$AUTOHEADER"; then
3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
3402 $as_echo "$AUTOHEADER" >&6; }
3403 else
3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3406 fi
3407
3408
3409   test -n "$AUTOHEADER" && break
3410 done
3411 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
3412
3413
3414 # Figure out what compiler warnings we can enable.
3415 # See config/warnings.m4 for details.
3416
3417
3418 WARN_CFLAGS=
3419 save_CFLAGS="$CFLAGS"
3420 for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3421                           -Wmissing-prototypes -Wold-style-definition \
3422                           -Wmissing-format-attribute -Wcast-qual; do
3423   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3424
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
3426 $as_echo_n "checking whether $CC supports $option... " >&6; }
3427 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
3428   $as_echo_n "(cached) " >&6
3429 else
3430   CFLAGS="$option"
3431     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h.  */
3433
3434 int
3435 main ()
3436 {
3437
3438   ;
3439   return 0;
3440 }
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443   eval "$as_acx_Woption=yes"
3444 else
3445   eval "$as_acx_Woption=no"
3446 fi
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448
3449 fi
3450 eval ac_res=\$$as_acx_Woption
3451                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3452 $as_echo "$ac_res" >&6; }
3453   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
3454   WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
3455 fi
3456   done
3457 CFLAGS="$save_CFLAGS"
3458
3459 WARN_PEDANTIC=
3460 if test "$GCC" = yes; then :
3461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wno-long-long" >&5
3462 $as_echo_n "checking whether $CC supports -pedantic -Wno-long-long... " >&6; }
3463 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then :
3464   $as_echo_n "(cached) " >&6
3465 else
3466   save_CFLAGS="$CFLAGS"
3467 CFLAGS="-pedantic -Wno-long-long"
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470
3471 int
3472 main ()
3473 {
3474
3475   ;
3476   return 0;
3477 }
3478 _ACEOF
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480   acx_cv_prog_cc_pedantic__Wno_long_long=yes
3481 else
3482   acx_cv_prog_cc_pedantic__Wno_long_long=no
3483 fi
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 CFLAGS="$save_CFLAGS"
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
3488 $as_echo "$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; }
3489 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then :
3490   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3491 fi
3492
3493 fi
3494
3495
3496 # Only enable with --enable-werror-always until existing warnings are
3497 # corrected.
3498 WERROR=
3499 # Check whether --enable-werror-always was given.
3500 if test "${enable_werror_always+set}" = set; then :
3501   enableval=$enable_werror_always;
3502 else
3503   enable_werror_always=no
3504 fi
3505
3506 if test $enable_werror_always = yes; then :
3507   WERROR="$WERROR${WERROR:+ }-Werror"
3508 fi
3509
3510
3511
3512 # Checks for header files.
3513 ac_ext=c
3514 ac_cpp='$CPP $CPPFLAGS'
3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3520 # On Suns, sometimes $CPP names a directory.
3521 if test -n "$CPP" && test -d "$CPP"; then
3522   CPP=
3523 fi
3524 if test -z "$CPP"; then
3525   if test "${ac_cv_prog_CPP+set}" = set; then :
3526   $as_echo_n "(cached) " >&6
3527 else
3528       # Double quotes because CPP needs to be expanded
3529     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3530     do
3531       ac_preproc_ok=false
3532 for ac_c_preproc_warn_flag in '' yes
3533 do
3534   # Use a header file that comes with gcc, so configuring glibc
3535   # with a fresh cross-compiler works.
3536   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3537   # <limits.h> exists even on freestanding compilers.
3538   # On the NeXT, cc -E runs the code through the compiler's parser,
3539   # not just through cpp. "Syntax error" is here to catch this case.
3540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h.  */
3542 #ifdef __STDC__
3543 # include <limits.h>
3544 #else
3545 # include <assert.h>
3546 #endif
3547                      Syntax error
3548 _ACEOF
3549 if ac_fn_c_try_cpp "$LINENO"; then :
3550
3551 else
3552   # Broken: fails on valid input.
3553 continue
3554 fi
3555 rm -f conftest.err conftest.$ac_ext
3556
3557   # OK, works on sane cases.  Now check whether nonexistent headers
3558   # can be detected and how.
3559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h.  */
3561 #include <ac_nonexistent.h>
3562 _ACEOF
3563 if ac_fn_c_try_cpp "$LINENO"; then :
3564   # Broken: success on invalid input.
3565 continue
3566 else
3567   # Passes both tests.
3568 ac_preproc_ok=:
3569 break
3570 fi
3571 rm -f conftest.err conftest.$ac_ext
3572
3573 done
3574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3575 rm -f conftest.err conftest.$ac_ext
3576 if $ac_preproc_ok; then :
3577   break
3578 fi
3579
3580     done
3581     ac_cv_prog_CPP=$CPP
3582
3583 fi
3584   CPP=$ac_cv_prog_CPP
3585 else
3586   ac_cv_prog_CPP=$CPP
3587 fi
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3589 $as_echo "$CPP" >&6; }
3590 ac_preproc_ok=false
3591 for ac_c_preproc_warn_flag in '' yes
3592 do
3593   # Use a header file that comes with gcc, so configuring glibc
3594   # with a fresh cross-compiler works.
3595   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596   # <limits.h> exists even on freestanding compilers.
3597   # On the NeXT, cc -E runs the code through the compiler's parser,
3598   # not just through cpp. "Syntax error" is here to catch this case.
3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h.  */
3601 #ifdef __STDC__
3602 # include <limits.h>
3603 #else
3604 # include <assert.h>
3605 #endif
3606                      Syntax error
3607 _ACEOF
3608 if ac_fn_c_try_cpp "$LINENO"; then :
3609
3610 else
3611   # Broken: fails on valid input.
3612 continue
3613 fi
3614 rm -f conftest.err conftest.$ac_ext
3615
3616   # OK, works on sane cases.  Now check whether nonexistent headers
3617   # can be detected and how.
3618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h.  */
3620 #include <ac_nonexistent.h>
3621 _ACEOF
3622 if ac_fn_c_try_cpp "$LINENO"; then :
3623   # Broken: success on invalid input.
3624 continue
3625 else
3626   # Passes both tests.
3627 ac_preproc_ok=:
3628 break
3629 fi
3630 rm -f conftest.err conftest.$ac_ext
3631
3632 done
3633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3634 rm -f conftest.err conftest.$ac_ext
3635 if $ac_preproc_ok; then :
3636
3637 else
3638   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3641 See \`config.log' for more details." "$LINENO" 5; }
3642 fi
3643
3644 ac_ext=c
3645 ac_cpp='$CPP $CPPFLAGS'
3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3649
3650
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3653 if test "${ac_cv_path_GREP+set}" = set; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   if test -z "$GREP"; then
3657   ac_path_GREP_found=false
3658   # Loop through the user's path and test for each of PROGNAME-LIST
3659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3661 do
3662   IFS=$as_save_IFS
3663   test -z "$as_dir" && as_dir=.
3664     for ac_prog in grep ggrep; do
3665     for ac_exec_ext in '' $ac_executable_extensions; do
3666       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3667       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3668 # Check for GNU ac_path_GREP and select it if it is found.
3669   # Check for GNU $ac_path_GREP
3670 case `"$ac_path_GREP" --version 2>&1` in
3671 *GNU*)
3672   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3673 *)
3674   ac_count=0
3675   $as_echo_n 0123456789 >"conftest.in"
3676   while :
3677   do
3678     cat "conftest.in" "conftest.in" >"conftest.tmp"
3679     mv "conftest.tmp" "conftest.in"
3680     cp "conftest.in" "conftest.nl"
3681     $as_echo 'GREP' >> "conftest.nl"
3682     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3683     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3684     as_fn_arith $ac_count + 1 && ac_count=$as_val
3685     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3686       # Best one so far, save it but keep looking for a better one
3687       ac_cv_path_GREP="$ac_path_GREP"
3688       ac_path_GREP_max=$ac_count
3689     fi
3690     # 10*(2^10) chars as input seems more than enough
3691     test $ac_count -gt 10 && break
3692   done
3693   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3694 esac
3695
3696       $ac_path_GREP_found && break 3
3697     done
3698   done
3699   done
3700 IFS=$as_save_IFS
3701   if test -z "$ac_cv_path_GREP"; then
3702     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3703   fi
3704 else
3705   ac_cv_path_GREP=$GREP
3706 fi
3707
3708 fi
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3710 $as_echo "$ac_cv_path_GREP" >&6; }
3711  GREP="$ac_cv_path_GREP"
3712
3713
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3715 $as_echo_n "checking for egrep... " >&6; }
3716 if test "${ac_cv_path_EGREP+set}" = set; then :
3717   $as_echo_n "(cached) " >&6
3718 else
3719   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3720    then ac_cv_path_EGREP="$GREP -E"
3721    else
3722      if test -z "$EGREP"; then
3723   ac_path_EGREP_found=false
3724   # Loop through the user's path and test for each of PROGNAME-LIST
3725   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3727 do
3728   IFS=$as_save_IFS
3729   test -z "$as_dir" && as_dir=.
3730     for ac_prog in egrep; do
3731     for ac_exec_ext in '' $ac_executable_extensions; do
3732       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3733       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3734 # Check for GNU ac_path_EGREP and select it if it is found.
3735   # Check for GNU $ac_path_EGREP
3736 case `"$ac_path_EGREP" --version 2>&1` in
3737 *GNU*)
3738   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3739 *)
3740   ac_count=0
3741   $as_echo_n 0123456789 >"conftest.in"
3742   while :
3743   do
3744     cat "conftest.in" "conftest.in" >"conftest.tmp"
3745     mv "conftest.tmp" "conftest.in"
3746     cp "conftest.in" "conftest.nl"
3747     $as_echo 'EGREP' >> "conftest.nl"
3748     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3749     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3750     as_fn_arith $ac_count + 1 && ac_count=$as_val
3751     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3752       # Best one so far, save it but keep looking for a better one
3753       ac_cv_path_EGREP="$ac_path_EGREP"
3754       ac_path_EGREP_max=$ac_count
3755     fi
3756     # 10*(2^10) chars as input seems more than enough
3757     test $ac_count -gt 10 && break
3758   done
3759   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3760 esac
3761
3762       $ac_path_EGREP_found && break 3
3763     done
3764   done
3765   done
3766 IFS=$as_save_IFS
3767   if test -z "$ac_cv_path_EGREP"; then
3768     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3769   fi
3770 else
3771   ac_cv_path_EGREP=$EGREP
3772 fi
3773
3774    fi
3775 fi
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3777 $as_echo "$ac_cv_path_EGREP" >&6; }
3778  EGREP="$ac_cv_path_EGREP"
3779
3780
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3782 $as_echo_n "checking for ANSI C header files... " >&6; }
3783 if test "${ac_cv_header_stdc+set}" = set; then :
3784   $as_echo_n "(cached) " >&6
3785 else
3786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h.  */
3788 #include <stdlib.h>
3789 #include <stdarg.h>
3790 #include <string.h>
3791 #include <float.h>
3792
3793 int
3794 main ()
3795 {
3796
3797   ;
3798   return 0;
3799 }
3800 _ACEOF
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802   ac_cv_header_stdc=yes
3803 else
3804   ac_cv_header_stdc=no
3805 fi
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807
3808 if test $ac_cv_header_stdc = yes; then
3809   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h.  */
3812 #include <string.h>
3813
3814 _ACEOF
3815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3816   $EGREP "memchr" >/dev/null 2>&1; then :
3817
3818 else
3819   ac_cv_header_stdc=no
3820 fi
3821 rm -f conftest*
3822
3823 fi
3824
3825 if test $ac_cv_header_stdc = yes; then
3826   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h.  */
3829 #include <stdlib.h>
3830
3831 _ACEOF
3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3833   $EGREP "free" >/dev/null 2>&1; then :
3834
3835 else
3836   ac_cv_header_stdc=no
3837 fi
3838 rm -f conftest*
3839
3840 fi
3841
3842 if test $ac_cv_header_stdc = yes; then
3843   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3844   if test "$cross_compiling" = yes; then :
3845   :
3846 else
3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h.  */
3849 #include <ctype.h>
3850 #include <stdlib.h>
3851 #if ((' ' & 0x0FF) == 0x020)
3852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3854 #else
3855 # define ISLOWER(c) \
3856                    (('a' <= (c) && (c) <= 'i') \
3857                      || ('j' <= (c) && (c) <= 'r') \
3858                      || ('s' <= (c) && (c) <= 'z'))
3859 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3860 #endif
3861
3862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3863 int
3864 main ()
3865 {
3866   int i;
3867   for (i = 0; i < 256; i++)
3868     if (XOR (islower (i), ISLOWER (i))
3869         || toupper (i) != TOUPPER (i))
3870       return 2;
3871   return 0;
3872 }
3873 _ACEOF
3874 if ac_fn_c_try_run "$LINENO"; then :
3875
3876 else
3877   ac_cv_header_stdc=no
3878 fi
3879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3880   conftest.$ac_objext conftest.beam conftest.$ac_ext
3881 fi
3882
3883 fi
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3886 $as_echo "$ac_cv_header_stdc" >&6; }
3887 if test $ac_cv_header_stdc = yes; then
3888
3889 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3890
3891 fi
3892
3893 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3894 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3895                   inttypes.h stdint.h unistd.h
3896 do :
3897   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3899 "
3900 eval as_val=\$$as_ac_Header
3901    if test "x$as_val" = x""yes; then :
3902   cat >>confdefs.h <<_ACEOF
3903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3904 _ACEOF
3905
3906 fi
3907
3908 done
3909
3910
3911 for ac_header in ctype.h stddef.h string.h stdio.h
3912 do :
3913   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3915 eval as_val=\$$as_ac_Header
3916    if test "x$as_val" = x""yes; then :
3917   cat >>confdefs.h <<_ACEOF
3918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3919 _ACEOF
3920
3921 fi
3922
3923 done
3924
3925 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
3926 case $ac_cv_c_int8_t in #(
3927   no|yes) ;; #(
3928   *)
3929
3930 cat >>confdefs.h <<_ACEOF
3931 #define int8_t $ac_cv_c_int8_t
3932 _ACEOF
3933 ;;
3934 esac
3935
3936 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
3937 case $ac_cv_c_int16_t in #(
3938   no|yes) ;; #(
3939   *)
3940
3941 cat >>confdefs.h <<_ACEOF
3942 #define int16_t $ac_cv_c_int16_t
3943 _ACEOF
3944 ;;
3945 esac
3946
3947 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
3948 case $ac_cv_c_int32_t in #(
3949   no|yes) ;; #(
3950   *)
3951
3952 cat >>confdefs.h <<_ACEOF
3953 #define int32_t $ac_cv_c_int32_t
3954 _ACEOF
3955 ;;
3956 esac
3957
3958 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
3959 case $ac_cv_c_int64_t in #(
3960   no|yes) ;; #(
3961   *)
3962
3963 cat >>confdefs.h <<_ACEOF
3964 #define int64_t $ac_cv_c_int64_t
3965 _ACEOF
3966 ;;
3967 esac
3968
3969
3970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
3971 $as_echo_n "checking for long long int... " >&6; }
3972 if test "${ac_cv_type_long_long_int+set}" = set; then :
3973   $as_echo_n "(cached) " >&6
3974 else
3975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h.  */
3977
3978   /* For now, do not test the preprocessor; as of 2007 there are too many
3979          implementations with broken preprocessors.  Perhaps this can
3980          be revisited in 2012.  In the meantime, code should not expect
3981          #if to work with literals wider than 32 bits.  */
3982       /* Test literals.  */
3983       long long int ll = 9223372036854775807ll;
3984       long long int nll = -9223372036854775807LL;
3985       unsigned long long int ull = 18446744073709551615ULL;
3986       /* Test constant expressions.   */
3987       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
3988                      ? 1 : -1)];
3989       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
3990                      ? 1 : -1)];
3991       int i = 63;
3992 int
3993 main ()
3994 {
3995 /* Test availability of runtime routines for shift and division.  */
3996       long long int llmax = 9223372036854775807ll;
3997       unsigned long long int ullmax = 18446744073709551615ull;
3998       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
3999               | (llmax / ll) | (llmax % ll)
4000               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4001               | (ullmax / ull) | (ullmax % ull));
4002   ;
4003   return 0;
4004 }
4005
4006 _ACEOF
4007 if ac_fn_c_try_link "$LINENO"; then :
4008                         if test "$cross_compiling" = yes; then :
4009   ac_cv_type_long_long_int=yes
4010 else
4011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h.  */
4013 #include <limits.h>
4014                #ifndef LLONG_MAX
4015                # define HALF \
4016                         (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4017                # define LLONG_MAX (HALF - 1 + HALF)
4018                #endif
4019 int
4020 main ()
4021 {
4022 long long int n = 1;
4023                int i;
4024                for (i = 0; ; i++)
4025                  {
4026                    long long int m = n << i;
4027                    if (m >> i != n)
4028                      return 1;
4029                    if (LLONG_MAX / 2 < m)
4030                      break;
4031                  }
4032                return 0;
4033   ;
4034   return 0;
4035 }
4036 _ACEOF
4037 if ac_fn_c_try_run "$LINENO"; then :
4038   ac_cv_type_long_long_int=yes
4039 else
4040   ac_cv_type_long_long_int=no
4041 fi
4042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4043   conftest.$ac_objext conftest.beam conftest.$ac_ext
4044 fi
4045
4046 else
4047   ac_cv_type_long_long_int=no
4048 fi
4049 rm -f core conftest.err conftest.$ac_objext \
4050     conftest$ac_exeext conftest.$ac_ext
4051 fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
4053 $as_echo "$ac_cv_type_long_long_int" >&6; }
4054   if test $ac_cv_type_long_long_int = yes; then
4055
4056 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
4057
4058   fi
4059
4060
4061
4062   ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
4063 if test "x$ac_cv_type_intmax_t" = x""yes; then :
4064
4065 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
4066
4067 else
4068   test $ac_cv_type_long_long_int = yes \
4069        && ac_type='long long int' \
4070        || ac_type='long int'
4071
4072 cat >>confdefs.h <<_ACEOF
4073 #define intmax_t $ac_type
4074 _ACEOF
4075
4076 fi
4077
4078
4079
4080   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
4081 if test "x$ac_cv_type_intptr_t" = x""yes; then :
4082
4083 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
4084
4085 else
4086   for ac_type in 'int' 'long int' 'long long int'; do
4087        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089 $ac_includes_default
4090 int
4091 main ()
4092 {
4093 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
4094 test_array [0] = 0
4095
4096   ;
4097   return 0;
4098 }
4099 _ACEOF
4100 if ac_fn_c_try_compile "$LINENO"; then :
4101
4102 cat >>confdefs.h <<_ACEOF
4103 #define intptr_t $ac_type
4104 _ACEOF
4105
4106           ac_type=
4107 fi
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109        test -z "$ac_type" && break
4110      done
4111 fi
4112
4113
4114 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4115 case $ac_cv_c_uint8_t in #(
4116   no|yes) ;; #(
4117   *)
4118
4119 $as_echo "#define _UINT8_T 1" >>confdefs.h
4120
4121
4122 cat >>confdefs.h <<_ACEOF
4123 #define uint8_t $ac_cv_c_uint8_t
4124 _ACEOF
4125 ;;
4126   esac
4127
4128 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4129 case $ac_cv_c_uint16_t in #(
4130   no|yes) ;; #(
4131   *)
4132
4133
4134 cat >>confdefs.h <<_ACEOF
4135 #define uint16_t $ac_cv_c_uint16_t
4136 _ACEOF
4137 ;;
4138   esac
4139
4140 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4141 case $ac_cv_c_uint32_t in #(
4142   no|yes) ;; #(
4143   *)
4144
4145 $as_echo "#define _UINT32_T 1" >>confdefs.h
4146
4147
4148 cat >>confdefs.h <<_ACEOF
4149 #define uint32_t $ac_cv_c_uint32_t
4150 _ACEOF
4151 ;;
4152   esac
4153
4154 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4155 case $ac_cv_c_uint64_t in #(
4156   no|yes) ;; #(
4157   *)
4158
4159 $as_echo "#define _UINT64_T 1" >>confdefs.h
4160
4161
4162 cat >>confdefs.h <<_ACEOF
4163 #define uint64_t $ac_cv_c_uint64_t
4164 _ACEOF
4165 ;;
4166   esac
4167
4168
4169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4170 $as_echo_n "checking for unsigned long long int... " >&6; }
4171 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
4172   $as_echo_n "(cached) " >&6
4173 else
4174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h.  */
4176
4177   /* For now, do not test the preprocessor; as of 2007 there are too many
4178          implementations with broken preprocessors.  Perhaps this can
4179          be revisited in 2012.  In the meantime, code should not expect
4180          #if to work with literals wider than 32 bits.  */
4181       /* Test literals.  */
4182       long long int ll = 9223372036854775807ll;
4183       long long int nll = -9223372036854775807LL;
4184       unsigned long long int ull = 18446744073709551615ULL;
4185       /* Test constant expressions.   */
4186       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4187                      ? 1 : -1)];
4188       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4189                      ? 1 : -1)];
4190       int i = 63;
4191 int
4192 main ()
4193 {
4194 /* Test availability of runtime routines for shift and division.  */
4195       long long int llmax = 9223372036854775807ll;
4196       unsigned long long int ullmax = 18446744073709551615ull;
4197       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4198               | (llmax / ll) | (llmax % ll)
4199               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4200               | (ullmax / ull) | (ullmax % ull));
4201   ;
4202   return 0;
4203 }
4204
4205 _ACEOF
4206 if ac_fn_c_try_link "$LINENO"; then :
4207   ac_cv_type_unsigned_long_long_int=yes
4208 else
4209   ac_cv_type_unsigned_long_long_int=no
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext \
4212     conftest$ac_exeext conftest.$ac_ext
4213 fi
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4215 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4216   if test $ac_cv_type_unsigned_long_long_int = yes; then
4217
4218 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4219
4220   fi
4221
4222
4223
4224   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
4225 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
4226
4227 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4228
4229 else
4230   test $ac_cv_type_unsigned_long_long_int = yes \
4231        && ac_type='unsigned long long int' \
4232        || ac_type='unsigned long int'
4233
4234 cat >>confdefs.h <<_ACEOF
4235 #define uintmax_t $ac_type
4236 _ACEOF
4237
4238 fi
4239
4240
4241
4242   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
4243 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
4244
4245 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
4246
4247 else
4248   for ac_type in 'unsigned int' 'unsigned long int' \
4249         'unsigned long long int'; do
4250        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h.  */
4252 $ac_includes_default
4253 int
4254 main ()
4255 {
4256 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
4257 test_array [0] = 0
4258
4259   ;
4260   return 0;
4261 }
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264
4265 cat >>confdefs.h <<_ACEOF
4266 #define uintptr_t $ac_type
4267 _ACEOF
4268
4269           ac_type=
4270 fi
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272        test -z "$ac_type" && break
4273      done
4274 fi
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
4291 #ifdef HAVE_STDINT_H
4292 #include <stdint.h>
4293 #endif
4294 #ifdef HAVE_INTTYPES_H
4295 #include <inttypes.h>
4296 #endif
4297 "
4298 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
4299
4300 cat >>confdefs.h <<_ACEOF
4301 #define HAVE_INT_LEAST32_T 1
4302 _ACEOF
4303
4304
4305 fi
4306 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
4307 #ifdef HAVE_STDINT_H
4308 #include <stdint.h>
4309 #endif
4310 #ifdef HAVE_INTTYPES_H
4311 #include <inttypes.h>
4312 #endif
4313 "
4314 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
4315
4316 cat >>confdefs.h <<_ACEOF
4317 #define HAVE_INT_FAST32_T 1
4318 _ACEOF
4319
4320
4321 fi
4322
4323
4324
4325
4326
4327 ac_config_commands="$ac_config_commands gstdint.h"
4328
4329
4330
4331
4332 # Checks for typedefs, structures, and compiler characteristics.
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4334 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4335 if test "${ac_cv_c_const+set}" = set; then :
4336   $as_echo_n "(cached) " >&6
4337 else
4338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h.  */
4340
4341 int
4342 main ()
4343 {
4344 /* FIXME: Include the comments suggested by Paul. */
4345 #ifndef __cplusplus
4346   /* Ultrix mips cc rejects this.  */
4347   typedef int charset[2];
4348   const charset cs;
4349   /* SunOS 4.1.1 cc rejects this.  */
4350   char const *const *pcpcc;
4351   char **ppc;
4352   /* NEC SVR4.0.2 mips cc rejects this.  */
4353   struct point {int x, y;};
4354   static struct point const zero = {0,0};
4355   /* AIX XL C 1.02.0.0 rejects this.
4356      It does not let you subtract one const X* pointer from another in
4357      an arm of an if-expression whose if-part is not a constant
4358      expression */
4359   const char *g = "string";
4360   pcpcc = &g + (g ? g-g : 0);
4361   /* HPUX 7.0 cc rejects these. */
4362   ++pcpcc;
4363   ppc = (char**) pcpcc;
4364   pcpcc = (char const *const *) ppc;
4365   { /* SCO 3.2v4 cc rejects this.  */
4366     char *t;
4367     char const *s = 0 ? (char *) 0 : (char const *) 0;
4368
4369     *t++ = 0;
4370     if (s) return 0;
4371   }
4372   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4373     int x[] = {25, 17};
4374     const int *foo = &x[0];
4375     ++foo;
4376   }
4377   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4378     typedef const int *iptr;
4379     iptr p = 0;
4380     ++p;
4381   }
4382   { /* AIX XL C 1.02.0.0 rejects this saying
4383        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4384     struct s { int j; const int *ap[3]; };
4385     struct s *b; b->j = 5;
4386   }
4387   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4388     const int foo = 10;
4389     if (!foo) return 0;
4390   }
4391   return !cs[0] && !zero.x;
4392 #endif
4393
4394   ;
4395   return 0;
4396 }
4397 _ACEOF
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399   ac_cv_c_const=yes
4400 else
4401   ac_cv_c_const=no
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 fi
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4406 $as_echo "$ac_cv_c_const" >&6; }
4407 if test $ac_cv_c_const = no; then
4408
4409 $as_echo "#define const /**/" >>confdefs.h
4410
4411 fi
4412
4413 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4414 if test "x$ac_cv_type_off_t" = x""yes; then :
4415
4416 else
4417
4418 cat >>confdefs.h <<_ACEOF
4419 #define off_t long int
4420 _ACEOF
4421
4422 fi
4423
4424 # The cast to long int works around a bug in the HP C Compiler
4425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4427 # This bug is HP SR number 8606223364.
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4429 $as_echo_n "checking size of int... " >&6; }
4430 if test "${ac_cv_sizeof_int+set}" = set; then :
4431   $as_echo_n "(cached) " >&6
4432 else
4433   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
4434
4435 else
4436   if test "$ac_cv_type_int" = yes; then
4437      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 { as_fn_set_status 77
4440 as_fn_error "cannot compute sizeof (int)
4441 See \`config.log' for more details." "$LINENO" 5; }; }
4442    else
4443      ac_cv_sizeof_int=0
4444    fi
4445 fi
4446
4447 fi
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4449 $as_echo "$ac_cv_sizeof_int" >&6; }
4450
4451
4452
4453 cat >>confdefs.h <<_ACEOF
4454 #define SIZEOF_INT $ac_cv_sizeof_int
4455 _ACEOF
4456
4457
4458 # The cast to long int works around a bug in the HP C Compiler
4459 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4460 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4461 # This bug is HP SR number 8606223364.
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4463 $as_echo_n "checking size of long... " >&6; }
4464 if test "${ac_cv_sizeof_long+set}" = set; then :
4465   $as_echo_n "(cached) " >&6
4466 else
4467   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
4468
4469 else
4470   if test "$ac_cv_type_long" = yes; then
4471      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473 { as_fn_set_status 77
4474 as_fn_error "cannot compute sizeof (long)
4475 See \`config.log' for more details." "$LINENO" 5; }; }
4476    else
4477      ac_cv_sizeof_long=0
4478    fi
4479 fi
4480
4481 fi
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4483 $as_echo "$ac_cv_sizeof_long" >&6; }
4484
4485
4486
4487 cat >>confdefs.h <<_ACEOF
4488 #define SIZEOF_LONG $ac_cv_sizeof_long
4489 _ACEOF
4490
4491
4492
4493 # Checks for library functions.
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4495 $as_echo_n "checking for ANSI C header files... " >&6; }
4496 if test "${ac_cv_header_stdc+set}" = set; then :
4497   $as_echo_n "(cached) " >&6
4498 else
4499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h.  */
4501 #include <stdlib.h>
4502 #include <stdarg.h>
4503 #include <string.h>
4504 #include <float.h>
4505
4506 int
4507 main ()
4508 {
4509
4510   ;
4511   return 0;
4512 }
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4515   ac_cv_header_stdc=yes
4516 else
4517   ac_cv_header_stdc=no
4518 fi
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520
4521 if test $ac_cv_header_stdc = yes; then
4522   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h.  */
4525 #include <string.h>
4526
4527 _ACEOF
4528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4529   $EGREP "memchr" >/dev/null 2>&1; then :
4530
4531 else
4532   ac_cv_header_stdc=no
4533 fi
4534 rm -f conftest*
4535
4536 fi
4537
4538 if test $ac_cv_header_stdc = yes; then
4539   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h.  */
4542 #include <stdlib.h>
4543
4544 _ACEOF
4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4546   $EGREP "free" >/dev/null 2>&1; then :
4547
4548 else
4549   ac_cv_header_stdc=no
4550 fi
4551 rm -f conftest*
4552
4553 fi
4554
4555 if test $ac_cv_header_stdc = yes; then
4556   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4557   if test "$cross_compiling" = yes; then :
4558   :
4559 else
4560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h.  */
4562 #include <ctype.h>
4563 #include <stdlib.h>
4564 #if ((' ' & 0x0FF) == 0x020)
4565 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4566 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4567 #else
4568 # define ISLOWER(c) \
4569                    (('a' <= (c) && (c) <= 'i') \
4570                      || ('j' <= (c) && (c) <= 'r') \
4571                      || ('s' <= (c) && (c) <= 'z'))
4572 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4573 #endif
4574
4575 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4576 int
4577 main ()
4578 {
4579   int i;
4580   for (i = 0; i < 256; i++)
4581     if (XOR (islower (i), ISLOWER (i))
4582         || toupper (i) != TOUPPER (i))
4583       return 2;
4584   return 0;
4585 }
4586 _ACEOF
4587 if ac_fn_c_try_run "$LINENO"; then :
4588
4589 else
4590   ac_cv_header_stdc=no
4591 fi
4592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4593   conftest.$ac_objext conftest.beam conftest.$ac_ext
4594 fi
4595
4596 fi
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4599 $as_echo "$ac_cv_header_stdc" >&6; }
4600 if test $ac_cv_header_stdc = yes; then
4601
4602 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4603
4604 fi
4605
4606
4607 # Check whether --enable-maintainer-mode was given.
4608 if test "${enable_maintainer_mode+set}" = set; then :
4609   enableval=$enable_maintainer_mode;
4610 else
4611   enable_maintainer_mode=no
4612 fi
4613
4614
4615 if test "x$enable_maintainer_mode" = xno; then
4616   MAINT='#'
4617 else
4618   MAINT=
4619 fi
4620
4621
4622 ac_aux_dir=
4623 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4624   for ac_t in install-sh install.sh shtool; do
4625     if test -f "$ac_dir/$ac_t"; then
4626       ac_aux_dir=$ac_dir
4627       ac_install_sh="$ac_aux_dir/$ac_t -c"
4628       break 2
4629     fi
4630   done
4631 done
4632 if test -z "$ac_aux_dir"; then
4633   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4634 fi
4635
4636 # These three variables are undocumented and unsupported,
4637 # and are intended to be withdrawn in a future Autoconf release.
4638 # They can cause serious problems if a builder's source tree is in a directory
4639 # whose full name contains unusual characters.
4640 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4641 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4642 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4643
4644
4645 # Make sure we can run config.sub.
4646 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4647   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4648
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4650 $as_echo_n "checking build system type... " >&6; }
4651 if test "${ac_cv_build+set}" = set; then :
4652   $as_echo_n "(cached) " >&6
4653 else
4654   ac_build_alias=$build_alias
4655 test "x$ac_build_alias" = x &&
4656   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4657 test "x$ac_build_alias" = x &&
4658   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4660   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4661
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4664 $as_echo "$ac_cv_build" >&6; }
4665 case $ac_cv_build in
4666 *-*-*) ;;
4667 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4668 esac
4669 build=$ac_cv_build
4670 ac_save_IFS=$IFS; IFS='-'
4671 set x $ac_cv_build
4672 shift
4673 build_cpu=$1
4674 build_vendor=$2
4675 shift; shift
4676 # Remember, the first character of IFS is used to create $*,
4677 # except with old shells:
4678 build_os=$*
4679 IFS=$ac_save_IFS
4680 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4681
4682
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4684 $as_echo_n "checking host system type... " >&6; }
4685 if test "${ac_cv_host+set}" = set; then :
4686   $as_echo_n "(cached) " >&6
4687 else
4688   if test "x$host_alias" = x; then
4689   ac_cv_host=$ac_cv_build
4690 else
4691   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4692     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4693 fi
4694
4695 fi
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4697 $as_echo "$ac_cv_host" >&6; }
4698 case $ac_cv_host in
4699 *-*-*) ;;
4700 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4701 esac
4702 host=$ac_cv_host
4703 ac_save_IFS=$IFS; IFS='-'
4704 set x $ac_cv_host
4705 shift
4706 host_cpu=$1
4707 host_vendor=$2
4708 shift; shift
4709 # Remember, the first character of IFS is used to create $*,
4710 # except with old shells:
4711 host_os=$*
4712 IFS=$ac_save_IFS
4713 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4714
4715
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4717 $as_echo_n "checking target system type... " >&6; }
4718 if test "${ac_cv_target+set}" = set; then :
4719   $as_echo_n "(cached) " >&6
4720 else
4721   if test "x$target_alias" = x; then
4722   ac_cv_target=$ac_cv_host
4723 else
4724   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4725     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4726 fi
4727
4728 fi
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4730 $as_echo "$ac_cv_target" >&6; }
4731 case $ac_cv_target in
4732 *-*-*) ;;
4733 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
4734 esac
4735 target=$ac_cv_target
4736 ac_save_IFS=$IFS; IFS='-'
4737 set x $ac_cv_target
4738 shift
4739 target_cpu=$1
4740 target_vendor=$2
4741 shift; shift
4742 # Remember, the first character of IFS is used to create $*,
4743 # except with old shells:
4744 target_os=$*
4745 IFS=$ac_save_IFS
4746 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4747
4748
4749 # The aliases save the names the user supplied, while $host etc.
4750 # will get canonicalized.
4751 test -n "$target_alias" &&
4752   test "$program_prefix$program_suffix$program_transform_name" = \
4753     NONENONEs,x,x, &&
4754   program_prefix=${target_alias}-
4755
4756 # Default decimal format
4757 # If you change the defaults here, be sure to change them in the GCC directory also
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
4759 $as_echo_n "checking for decimal floating point... " >&6; }
4760 # Check whether --enable-decimal-float was given.
4761 if test "${enable_decimal_float+set}" = set; then :
4762   enableval=$enable_decimal_float;
4763   case $enable_decimal_float in
4764     yes | no | bid | dpd) ;;
4765     *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4766 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4767   esac
4768
4769 else
4770
4771   case $target in
4772     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
4773       enable_decimal_float=yes
4774       ;;
4775     *)
4776       enable_decimal_float=no
4777       ;;
4778   esac
4779
4780 fi
4781
4782
4783 # x86's use BID format instead of DPD
4784 # In theory --enable-decimal-float=no should not compile anything
4785 # For the sake of simplicity, just use the default format in this directory
4786 if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
4787   case $target in
4788     i?86*-*-linux* | x86_64*-*-linux*)
4789       enable_decimal_float=bid
4790       ;;
4791     *)
4792       enable_decimal_float=dpd
4793       ;;
4794   esac
4795 fi
4796
4797 # If BID is being used, additional objects should be linked in.
4798 if test x$enable_decimal_float = xbid; then
4799   ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
4800 else
4801   ADDITIONAL_OBJS=
4802 fi
4803
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
4805 $as_echo "$enable_decimal_float" >&6; }
4806
4807
4808
4809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4810 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4811 if test "${ac_cv_c_bigendian+set}" = set; then :
4812   $as_echo_n "(cached) " >&6
4813 else
4814   ac_cv_c_bigendian=unknown
4815     # See if we're dealing with a universal compiler.
4816     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h.  */
4818 #ifndef __APPLE_CC__
4819                not a universal capable compiler
4820              #endif
4821              typedef int dummy;
4822
4823 _ACEOF
4824 if ac_fn_c_try_compile "$LINENO"; then :
4825
4826         # Check for potential -arch flags.  It is not universal unless
4827         # there are at least two -arch flags with different values.
4828         ac_arch=
4829         ac_prev=
4830         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4831          if test -n "$ac_prev"; then
4832            case $ac_word in
4833              i?86 | x86_64 | ppc | ppc64)
4834                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4835                  ac_arch=$ac_word
4836                else
4837                  ac_cv_c_bigendian=universal
4838                  break
4839                fi
4840                ;;
4841            esac
4842            ac_prev=
4843          elif test "x$ac_word" = "x-arch"; then
4844            ac_prev=arch
4845          fi
4846        done
4847 fi
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849     if test $ac_cv_c_bigendian = unknown; then
4850       # See if sys/param.h defines the BYTE_ORDER macro.
4851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h.  */
4853 #include <sys/types.h>
4854              #include <sys/param.h>
4855
4856 int
4857 main ()
4858 {
4859 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4860                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4861                      && LITTLE_ENDIAN)
4862               bogus endian macros
4863              #endif
4864
4865   ;
4866   return 0;
4867 }
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 <sys/types.h>
4874                 #include <sys/param.h>
4875
4876 int
4877 main ()
4878 {
4879 #if BYTE_ORDER != BIG_ENDIAN
4880                  not big endian
4881                 #endif
4882
4883   ;
4884   return 0;
4885 }
4886 _ACEOF
4887 if ac_fn_c_try_compile "$LINENO"; then :
4888   ac_cv_c_bigendian=yes
4889 else
4890   ac_cv_c_bigendian=no
4891 fi
4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 fi
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895     fi
4896     if test $ac_cv_c_bigendian = unknown; then
4897       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h.  */
4900 #include <limits.h>
4901
4902 int
4903 main ()
4904 {
4905 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4906               bogus endian macros
4907              #endif
4908
4909   ;
4910   return 0;
4911 }
4912 _ACEOF
4913 if ac_fn_c_try_compile "$LINENO"; then :
4914   # It does; now see whether it defined to _BIG_ENDIAN or not.
4915          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h.  */
4917 #include <limits.h>
4918
4919 int
4920 main ()
4921 {
4922 #ifndef _BIG_ENDIAN
4923                  not big endian
4924                 #endif
4925
4926   ;
4927   return 0;
4928 }
4929 _ACEOF
4930 if ac_fn_c_try_compile "$LINENO"; then :
4931   ac_cv_c_bigendian=yes
4932 else
4933   ac_cv_c_bigendian=no
4934 fi
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936 fi
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938     fi
4939     if test $ac_cv_c_bigendian = unknown; then
4940       # Compile a test program.
4941       if test "$cross_compiling" = yes; then :
4942   # Try to guess by grepping values from an object file.
4943          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h.  */
4945 short int ascii_mm[] =
4946                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4947                 short int ascii_ii[] =
4948                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4949                 int use_ascii (int i) {
4950                   return ascii_mm[i] + ascii_ii[i];
4951                 }
4952                 short int ebcdic_ii[] =
4953                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4954                 short int ebcdic_mm[] =
4955                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4956                 int use_ebcdic (int i) {
4957                   return ebcdic_mm[i] + ebcdic_ii[i];
4958                 }
4959                 extern int foo;
4960
4961 int
4962 main ()
4963 {
4964 return use_ascii (foo) == use_ebcdic (foo);
4965   ;
4966   return 0;
4967 }
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4971               ac_cv_c_bigendian=yes
4972             fi
4973             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4974               if test "$ac_cv_c_bigendian" = unknown; then
4975                 ac_cv_c_bigendian=no
4976               else
4977                 # finding both strings is unlikely to happen, but who knows?
4978                 ac_cv_c_bigendian=unknown
4979               fi
4980             fi
4981 fi
4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 else
4984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h.  */
4986 $ac_includes_default
4987 int
4988 main ()
4989 {
4990
4991              /* Are we little or big endian?  From Harbison&Steele.  */
4992              union
4993              {
4994                long int l;
4995                char c[sizeof (long int)];
4996              } u;
4997              u.l = 1;
4998              return u.c[sizeof (long int) - 1] == 1;
4999
5000   ;
5001   return 0;
5002 }
5003 _ACEOF
5004 if ac_fn_c_try_run "$LINENO"; then :
5005   ac_cv_c_bigendian=no
5006 else
5007   ac_cv_c_bigendian=yes
5008 fi
5009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5010   conftest.$ac_objext conftest.beam conftest.$ac_ext
5011 fi
5012
5013     fi
5014 fi
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5016 $as_echo "$ac_cv_c_bigendian" >&6; }
5017  case $ac_cv_c_bigendian in #(
5018    yes)
5019      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5020 ;; #(
5021    no)
5022       ;; #(
5023    universal)
5024
5025 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5026
5027      ;; #(
5028    *)
5029      as_fn_error "unknown endianness
5030  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5031  esac
5032
5033
5034 # Output.
5035
5036 ac_config_headers="$ac_config_headers config.h:config.in"
5037
5038 ac_config_files="$ac_config_files Makefile"
5039
5040 cat >confcache <<\_ACEOF
5041 # This file is a shell script that caches the results of configure
5042 # tests run on this system so they can be shared between configure
5043 # scripts and configure runs, see configure's option --config-cache.
5044 # It is not useful on other systems.  If it contains results you don't
5045 # want to keep, you may remove or edit it.
5046 #
5047 # config.status only pays attention to the cache file if you give it
5048 # the --recheck option to rerun configure.
5049 #
5050 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5051 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5052 # following values.
5053
5054 _ACEOF
5055
5056 # The following way of writing the cache mishandles newlines in values,
5057 # but we know of no workaround that is simple, portable, and efficient.
5058 # So, we kill variables containing newlines.
5059 # Ultrix sh set writes to stderr and can't be redirected directly,
5060 # and sets the high bit in the cache file unless we assign to the vars.
5061 (
5062   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5063     eval ac_val=\$$ac_var
5064     case $ac_val in #(
5065     *${as_nl}*)
5066       case $ac_var in #(
5067       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5069       esac
5070       case $ac_var in #(
5071       _ | IFS | as_nl) ;; #(
5072       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5073       *) { eval $ac_var=; unset $ac_var;} ;;
5074       esac ;;
5075     esac
5076   done
5077
5078   (set) 2>&1 |
5079     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5080     *${as_nl}ac_space=\ *)
5081       # `set' does not quote correctly, so add quotes: double-quote
5082       # substitution turns \\\\ into \\, and sed turns \\ into \.
5083       sed -n \
5084         "s/'/'\\\\''/g;
5085           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5086       ;; #(
5087     *)
5088       # `set' quotes correctly as required by POSIX, so do not add quotes.
5089       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5090       ;;
5091     esac |
5092     sort
5093 ) |
5094   sed '
5095      /^ac_cv_env_/b end
5096      t clear
5097      :clear
5098      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5099      t end
5100      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5101      :end' >>confcache
5102 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5103   if test -w "$cache_file"; then
5104     test "x$cache_file" != "x/dev/null" &&
5105       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5106 $as_echo "$as_me: updating cache $cache_file" >&6;}
5107     cat confcache >$cache_file
5108   else
5109     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5110 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5111   fi
5112 fi
5113 rm -f confcache
5114
5115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5116 # Let make expand exec_prefix.
5117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5118
5119 DEFS=-DHAVE_CONFIG_H
5120
5121 ac_libobjs=
5122 ac_ltlibobjs=
5123 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5124   # 1. Remove the extension, and $U if already installed.
5125   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5126   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5127   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5128   #    will be set to the directory where LIBOBJS objects are built.
5129   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5130   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5131 done
5132 LIBOBJS=$ac_libobjs
5133
5134 LTLIBOBJS=$ac_ltlibobjs
5135
5136
5137
5138
5139 : ${CONFIG_STATUS=./config.status}
5140 ac_write_fail=0
5141 ac_clean_files_save=$ac_clean_files
5142 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5144 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5145 as_write_fail=0
5146 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5147 #! $SHELL
5148 # Generated by $as_me.
5149 # Run this file to recreate the current configuration.
5150 # Compiler output produced by configure, useful for debugging
5151 # configure, is in config.log if it exists.
5152
5153 debug=false
5154 ac_cs_recheck=false
5155 ac_cs_silent=false
5156
5157 SHELL=\${CONFIG_SHELL-$SHELL}
5158 export SHELL
5159 _ASEOF
5160 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5161 ## -------------------- ##
5162 ## M4sh Initialization. ##
5163 ## -------------------- ##
5164
5165 # Be more Bourne compatible
5166 DUALCASE=1; export DUALCASE # for MKS sh
5167 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5168   emulate sh
5169   NULLCMD=:
5170   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5171   # is contrary to our usage.  Disable this feature.
5172   alias -g '${1+"$@"}'='"$@"'
5173   setopt NO_GLOB_SUBST
5174 else
5175   case `(set -o) 2>/dev/null` in #(
5176   *posix*) :
5177     set -o posix ;; #(
5178   *) :
5179      ;;
5180 esac
5181 fi
5182
5183
5184 as_nl='
5185 '
5186 export as_nl
5187 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5188 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5189 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5190 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5191 # Prefer a ksh shell builtin over an external printf program on Solaris,
5192 # but without wasting forks for bash or zsh.
5193 if test -z "$BASH_VERSION$ZSH_VERSION" \
5194     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5195   as_echo='print -r --'
5196   as_echo_n='print -rn --'
5197 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5198   as_echo='printf %s\n'
5199   as_echo_n='printf %s'
5200 else
5201   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5202     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5203     as_echo_n='/usr/ucb/echo -n'
5204   else
5205     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5206     as_echo_n_body='eval
5207       arg=$1;
5208       case $arg in #(
5209       *"$as_nl"*)
5210         expr "X$arg" : "X\\(.*\\)$as_nl";
5211         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5212       esac;
5213       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5214     '
5215     export as_echo_n_body
5216     as_echo_n='sh -c $as_echo_n_body as_echo'
5217   fi
5218   export as_echo_body
5219   as_echo='sh -c $as_echo_body as_echo'
5220 fi
5221
5222 # The user is always right.
5223 if test "${PATH_SEPARATOR+set}" != set; then
5224   PATH_SEPARATOR=:
5225   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5226     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5227       PATH_SEPARATOR=';'
5228   }
5229 fi
5230
5231
5232 # IFS
5233 # We need space, tab and new line, in precisely that order.  Quoting is
5234 # there to prevent editors from complaining about space-tab.
5235 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5236 # splitting by setting IFS to empty value.)
5237 IFS=" ""        $as_nl"
5238
5239 # Find who we are.  Look in the path if we contain no directory separator.
5240 case $0 in #((
5241   *[\\/]* ) as_myself=$0 ;;
5242   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5244 do
5245   IFS=$as_save_IFS
5246   test -z "$as_dir" && as_dir=.
5247     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5248   done
5249 IFS=$as_save_IFS
5250
5251      ;;
5252 esac
5253 # We did not find ourselves, most probably we were run as `sh COMMAND'
5254 # in which case we are not to be found in the path.
5255 if test "x$as_myself" = x; then
5256   as_myself=$0
5257 fi
5258 if test ! -f "$as_myself"; then
5259   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5260   exit 1
5261 fi
5262
5263 # Unset variables that we do not need and which cause bugs (e.g. in
5264 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5265 # suppresses any "Segmentation fault" message there.  '((' could
5266 # trigger a bug in pdksh 5.2.14.
5267 for as_var in BASH_ENV ENV MAIL MAILPATH
5268 do eval test x\${$as_var+set} = xset \
5269   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5270 done
5271 PS1='$ '
5272 PS2='> '
5273 PS4='+ '
5274
5275 # NLS nuisances.
5276 LC_ALL=C
5277 export LC_ALL
5278 LANGUAGE=C
5279 export LANGUAGE
5280
5281 # CDPATH.
5282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5283
5284
5285 # as_fn_error ERROR [LINENO LOG_FD]
5286 # ---------------------------------
5287 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5288 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5289 # script with status $?, using 1 if that was 0.
5290 as_fn_error ()
5291 {
5292   as_status=$?; test $as_status -eq 0 && as_status=1
5293   if test "$3"; then
5294     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5295     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5296   fi
5297   $as_echo "$as_me: error: $1" >&2
5298   as_fn_exit $as_status
5299 } # as_fn_error
5300
5301
5302 # as_fn_set_status STATUS
5303 # -----------------------
5304 # Set $? to STATUS, without forking.
5305 as_fn_set_status ()
5306 {
5307   return $1
5308 } # as_fn_set_status
5309
5310 # as_fn_exit STATUS
5311 # -----------------
5312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5313 as_fn_exit ()
5314 {
5315   set +e
5316   as_fn_set_status $1
5317   exit $1
5318 } # as_fn_exit
5319
5320 # as_fn_unset VAR
5321 # ---------------
5322 # Portably unset VAR.
5323 as_fn_unset ()
5324 {
5325   { eval $1=; unset $1;}
5326 }
5327 as_unset=as_fn_unset
5328 # as_fn_append VAR VALUE
5329 # ----------------------
5330 # Append the text in VALUE to the end of the definition contained in VAR. Take
5331 # advantage of any shell optimizations that allow amortized linear growth over
5332 # repeated appends, instead of the typical quadratic growth present in naive
5333 # implementations.
5334 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5335   eval 'as_fn_append ()
5336   {
5337     eval $1+=\$2
5338   }'
5339 else
5340   as_fn_append ()
5341   {
5342     eval $1=\$$1\$2
5343   }
5344 fi # as_fn_append
5345
5346 # as_fn_arith ARG...
5347 # ------------------
5348 # Perform arithmetic evaluation on the ARGs, and store the result in the
5349 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5350 # must be portable across $(()) and expr.
5351 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5352   eval 'as_fn_arith ()
5353   {
5354     as_val=$(( $* ))
5355   }'
5356 else
5357   as_fn_arith ()
5358   {
5359     as_val=`expr "$@" || test $? -eq 1`
5360   }
5361 fi # as_fn_arith
5362
5363
5364 if expr a : '\(a\)' >/dev/null 2>&1 &&
5365    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5366   as_expr=expr
5367 else
5368   as_expr=false
5369 fi
5370
5371 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5372   as_basename=basename
5373 else
5374   as_basename=false
5375 fi
5376
5377 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5378   as_dirname=dirname
5379 else
5380   as_dirname=false
5381 fi
5382
5383 as_me=`$as_basename -- "$0" ||
5384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5385          X"$0" : 'X\(//\)$' \| \
5386          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5387 $as_echo X/"$0" |
5388     sed '/^.*\/\([^/][^/]*\)\/*$/{
5389             s//\1/
5390             q
5391           }
5392           /^X\/\(\/\/\)$/{
5393             s//\1/
5394             q
5395           }
5396           /^X\/\(\/\).*/{
5397             s//\1/
5398             q
5399           }
5400           s/.*/./; q'`
5401
5402 # Avoid depending upon Character Ranges.
5403 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5404 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5405 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5406 as_cr_digits='0123456789'
5407 as_cr_alnum=$as_cr_Letters$as_cr_digits
5408
5409 ECHO_C= ECHO_N= ECHO_T=
5410 case `echo -n x` in #(((((
5411 -n*)
5412   case `echo 'xy\c'` in
5413   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5414   xy)  ECHO_C='\c';;
5415   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5416        ECHO_T=' ';;
5417   esac;;
5418 *)
5419   ECHO_N='-n';;
5420 esac
5421
5422 rm -f conf$$ conf$$.exe conf$$.file
5423 if test -d conf$$.dir; then
5424   rm -f conf$$.dir/conf$$.file
5425 else
5426   rm -f conf$$.dir
5427   mkdir conf$$.dir 2>/dev/null
5428 fi
5429 if (echo >conf$$.file) 2>/dev/null; then
5430   if ln -s conf$$.file conf$$ 2>/dev/null; then
5431     as_ln_s='ln -s'
5432     # ... but there are two gotchas:
5433     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5434     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5435     # In both cases, we have to default to `cp -p'.
5436     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5437       as_ln_s='cp -p'
5438   elif ln conf$$.file conf$$ 2>/dev/null; then
5439     as_ln_s=ln
5440   else
5441     as_ln_s='cp -p'
5442   fi
5443 else
5444   as_ln_s='cp -p'
5445 fi
5446 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5447 rmdir conf$$.dir 2>/dev/null
5448
5449
5450 # as_fn_mkdir_p
5451 # -------------
5452 # Create "$as_dir" as a directory, including parents if necessary.
5453 as_fn_mkdir_p ()
5454 {
5455
5456   case $as_dir in #(
5457   -*) as_dir=./$as_dir;;
5458   esac
5459   test -d "$as_dir" || eval $as_mkdir_p || {
5460     as_dirs=
5461     while :; do
5462       case $as_dir in #(
5463       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5464       *) as_qdir=$as_dir;;
5465       esac
5466       as_dirs="'$as_qdir' $as_dirs"
5467       as_dir=`$as_dirname -- "$as_dir" ||
5468 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5469          X"$as_dir" : 'X\(//\)[^/]' \| \
5470          X"$as_dir" : 'X\(//\)$' \| \
5471          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5472 $as_echo X"$as_dir" |
5473     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5474             s//\1/
5475             q
5476           }
5477           /^X\(\/\/\)[^/].*/{
5478             s//\1/
5479             q
5480           }
5481           /^X\(\/\/\)$/{
5482             s//\1/
5483             q
5484           }
5485           /^X\(\/\).*/{
5486             s//\1/
5487             q
5488           }
5489           s/.*/./; q'`
5490       test -d "$as_dir" && break
5491     done
5492     test -z "$as_dirs" || eval "mkdir $as_dirs"
5493   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5494
5495
5496 } # as_fn_mkdir_p
5497 if mkdir -p . 2>/dev/null; then
5498   as_mkdir_p='mkdir -p "$as_dir"'
5499 else
5500   test -d ./-p && rmdir ./-p
5501   as_mkdir_p=false
5502 fi
5503
5504 if test -x / >/dev/null 2>&1; then
5505   as_test_x='test -x'
5506 else
5507   if ls -dL / >/dev/null 2>&1; then
5508     as_ls_L_option=L
5509   else
5510     as_ls_L_option=
5511   fi
5512   as_test_x='
5513     eval sh -c '\''
5514       if test -d "$1"; then
5515         test -d "$1/.";
5516       else
5517         case $1 in #(
5518         -*)set "./$1";;
5519         esac;
5520         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5521         ???[sx]*):;;*)false;;esac;fi
5522     '\'' sh
5523   '
5524 fi
5525 as_executable_p=$as_test_x
5526
5527 # Sed expression to map a string onto a valid CPP name.
5528 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5529
5530 # Sed expression to map a string onto a valid variable name.
5531 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5532
5533
5534 exec 6>&1
5535 ## ----------------------------------- ##
5536 ## Main body of $CONFIG_STATUS script. ##
5537 ## ----------------------------------- ##
5538 _ASEOF
5539 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5540
5541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5542 # Save the log message, to keep $0 and so on meaningful, and to
5543 # report actual input values of CONFIG_FILES etc. instead of their
5544 # values after options handling.
5545 ac_log="
5546 This file was extended by libdecnumber $as_me  , which was
5547 generated by GNU Autoconf 2.64.  Invocation command line was
5548
5549   CONFIG_FILES    = $CONFIG_FILES
5550   CONFIG_HEADERS  = $CONFIG_HEADERS
5551   CONFIG_LINKS    = $CONFIG_LINKS
5552   CONFIG_COMMANDS = $CONFIG_COMMANDS
5553   $ $0 $@
5554
5555 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5556 "
5557
5558 _ACEOF
5559
5560 case $ac_config_files in *"
5561 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5562 esac
5563
5564 case $ac_config_headers in *"
5565 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5566 esac
5567
5568
5569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5570 # Files that config.status was made for.
5571 config_files="$ac_config_files"
5572 config_headers="$ac_config_headers"
5573 config_commands="$ac_config_commands"
5574
5575 _ACEOF
5576
5577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5578 ac_cs_usage="\
5579 \`$as_me' instantiates files and other configuration actions
5580 from templates according to the current configuration.  Unless the files
5581 and actions are specified as TAGs, all are instantiated by default.
5582
5583 Usage: $0 [OPTION]... [TAG]...
5584
5585   -h, --help       print this help, then exit
5586   -V, --version    print version number and configuration settings, then exit
5587   -q, --quiet, --silent
5588                    do not print progress messages
5589   -d, --debug      don't remove temporary files
5590       --recheck    update $as_me by reconfiguring in the same conditions
5591       --file=FILE[:TEMPLATE]
5592                    instantiate the configuration file FILE
5593       --header=FILE[:TEMPLATE]
5594                    instantiate the configuration header FILE
5595
5596 Configuration files:
5597 $config_files
5598
5599 Configuration headers:
5600 $config_headers
5601
5602 Configuration commands:
5603 $config_commands
5604
5605 Report bugs to <gcc-bugs@gcc.gnu.org>."
5606
5607 _ACEOF
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609 ac_cs_version="\\
5610 libdecnumber config.status
5611 configured by $0, generated by GNU Autoconf 2.64,
5612   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5613
5614 Copyright (C) 2009 Free Software Foundation, Inc.
5615 This config.status script is free software; the Free Software Foundation
5616 gives unlimited permission to copy, distribute and modify it."
5617
5618 ac_pwd='$ac_pwd'
5619 srcdir='$srcdir'
5620 test -n "\$AWK" || AWK=awk
5621 _ACEOF
5622
5623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5624 # The default lists apply if the user does not specify any file.
5625 ac_need_defaults=:
5626 while test $# != 0
5627 do
5628   case $1 in
5629   --*=*)
5630     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5631     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5632     ac_shift=:
5633     ;;
5634   *)
5635     ac_option=$1
5636     ac_optarg=$2
5637     ac_shift=shift
5638     ;;
5639   esac
5640
5641   case $ac_option in
5642   # Handling of the options.
5643   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5644     ac_cs_recheck=: ;;
5645   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5646     $as_echo "$ac_cs_version"; exit ;;
5647   --debug | --debu | --deb | --de | --d | -d )
5648     debug=: ;;
5649   --file | --fil | --fi | --f )
5650     $ac_shift
5651     case $ac_optarg in
5652     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5653     esac
5654     as_fn_append CONFIG_FILES " '$ac_optarg'"
5655     ac_need_defaults=false;;
5656   --header | --heade | --head | --hea )
5657     $ac_shift
5658     case $ac_optarg in
5659     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5660     esac
5661     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5662     ac_need_defaults=false;;
5663   --he | --h)
5664     # Conflict between --help and --header
5665     as_fn_error "ambiguous option: \`$1'
5666 Try \`$0 --help' for more information.";;
5667   --help | --hel | -h )
5668     $as_echo "$ac_cs_usage"; exit ;;
5669   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5670   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5671     ac_cs_silent=: ;;
5672
5673   # This is an error.
5674   -*) as_fn_error "unrecognized option: \`$1'
5675 Try \`$0 --help' for more information." ;;
5676
5677   *) as_fn_append ac_config_targets " $1"
5678      ac_need_defaults=false ;;
5679
5680   esac
5681   shift
5682 done
5683
5684 ac_configure_extra_args=
5685
5686 if $ac_cs_silent; then
5687   exec 6>/dev/null
5688   ac_configure_extra_args="$ac_configure_extra_args --silent"
5689 fi
5690
5691 _ACEOF
5692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5693 if \$ac_cs_recheck; then
5694   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5695   shift
5696   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5697   CONFIG_SHELL='$SHELL'
5698   export CONFIG_SHELL
5699   exec "\$@"
5700 fi
5701
5702 _ACEOF
5703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5704 exec 5>>config.log
5705 {
5706   echo
5707   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5708 ## Running $as_me. ##
5709 _ASBOX
5710   $as_echo "$ac_log"
5711 } >&5
5712
5713 _ACEOF
5714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5715 #
5716 # INIT-COMMANDS
5717 #
5718
5719 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
5720 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
5721
5722
5723 _ACEOF
5724
5725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5726
5727 # Handling of arguments.
5728 for ac_config_target in $ac_config_targets
5729 do
5730   case $ac_config_target in
5731     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
5732     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
5733     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5734
5735   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5736   esac
5737 done
5738
5739
5740 # If the user did not use the arguments to specify the items to instantiate,
5741 # then the envvar interface is used.  Set only those that are not.
5742 # We use the long form for the default assignment because of an extremely
5743 # bizarre bug on SunOS 4.1.3.
5744 if $ac_need_defaults; then
5745   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5746   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5747   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5748 fi
5749
5750 # Have a temporary directory for convenience.  Make it in the build tree
5751 # simply because there is no reason against having it here, and in addition,
5752 # creating and moving files from /tmp can sometimes cause problems.
5753 # Hook for its removal unless debugging.
5754 # Note that there is a small window in which the directory will not be cleaned:
5755 # after its creation but before its name has been assigned to `$tmp'.
5756 $debug ||
5757 {
5758   tmp=
5759   trap 'exit_status=$?
5760   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5761 ' 0
5762   trap 'as_fn_exit 1' 1 2 13 15
5763 }
5764 # Create a (secure) tmp directory for tmp files.
5765
5766 {
5767   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5768   test -n "$tmp" && test -d "$tmp"
5769 }  ||
5770 {
5771   tmp=./conf$$-$RANDOM
5772   (umask 077 && mkdir "$tmp")
5773 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5774
5775 # Set up the scripts for CONFIG_FILES section.
5776 # No need to generate them if there are no CONFIG_FILES.
5777 # This happens for instance with `./config.status config.h'.
5778 if test -n "$CONFIG_FILES"; then
5779
5780
5781 ac_cr=`echo X | tr X '\015'`
5782 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5783 # But we know of no other shell where ac_cr would be empty at this
5784 # point, so we can use a bashism as a fallback.
5785 if test "x$ac_cr" = x; then
5786   eval ac_cr=\$\'\\r\'
5787 fi
5788 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5789 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5790   ac_cs_awk_cr='\r'
5791 else
5792   ac_cs_awk_cr=$ac_cr
5793 fi
5794
5795 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5796 _ACEOF
5797
5798
5799 {
5800   echo "cat >conf$$subs.awk <<_ACEOF" &&
5801   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5802   echo "_ACEOF"
5803 } >conf$$subs.sh ||
5804   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5805 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5806 ac_delim='%!_!# '
5807 for ac_last_try in false false false false false :; do
5808   . ./conf$$subs.sh ||
5809     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5810
5811   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5812   if test $ac_delim_n = $ac_delim_num; then
5813     break
5814   elif $ac_last_try; then
5815     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5816   else
5817     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5818   fi
5819 done
5820 rm -f conf$$subs.sh
5821
5822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5823 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5824 _ACEOF
5825 sed -n '
5826 h
5827 s/^/S["/; s/!.*/"]=/
5828 p
5829 g
5830 s/^[^!]*!//
5831 :repl
5832 t repl
5833 s/'"$ac_delim"'$//
5834 t delim
5835 :nl
5836 h
5837 s/\(.\{148\}\).*/\1/
5838 t more1
5839 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5840 p
5841 n
5842 b repl
5843 :more1
5844 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5845 p
5846 g
5847 s/.\{148\}//
5848 t nl
5849 :delim
5850 h
5851 s/\(.\{148\}\).*/\1/
5852 t more2
5853 s/["\\]/\\&/g; s/^/"/; s/$/"/
5854 p
5855 b
5856 :more2
5857 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5858 p
5859 g
5860 s/.\{148\}//
5861 t delim
5862 ' <conf$$subs.awk | sed '
5863 /^[^""]/{
5864   N
5865   s/\n//
5866 }
5867 ' >>$CONFIG_STATUS || ac_write_fail=1
5868 rm -f conf$$subs.awk
5869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5870 _ACAWK
5871 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5872   for (key in S) S_is_set[key] = 1
5873   FS = "\a"
5874
5875 }
5876 {
5877   line = $ 0
5878   nfields = split(line, field, "@")
5879   substed = 0
5880   len = length(field[1])
5881   for (i = 2; i < nfields; i++) {
5882     key = field[i]
5883     keylen = length(key)
5884     if (S_is_set[key]) {
5885       value = S[key]
5886       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5887       len += length(value) + length(field[++i])
5888       substed = 1
5889     } else
5890       len += 1 + keylen
5891   }
5892
5893   print line
5894 }
5895
5896 _ACAWK
5897 _ACEOF
5898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5899 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5900   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5901 else
5902   cat
5903 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5904   || as_fn_error "could not setup config files machinery" "$LINENO" 5
5905 _ACEOF
5906
5907 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5908 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5909 # trailing colons and then remove the whole line if VPATH becomes empty
5910 # (actually we leave an empty line to preserve line numbers).
5911 if test "x$srcdir" = x.; then
5912   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5913 s/:*\$(srcdir):*/:/
5914 s/:*\${srcdir}:*/:/
5915 s/:*@srcdir@:*/:/
5916 s/^\([^=]*=[     ]*\):*/\1/
5917 s/:*$//
5918 s/^[^=]*=[       ]*$//
5919 }'
5920 fi
5921
5922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5923 fi # test -n "$CONFIG_FILES"
5924
5925 # Set up the scripts for CONFIG_HEADERS section.
5926 # No need to generate them if there are no CONFIG_HEADERS.
5927 # This happens for instance with `./config.status Makefile'.
5928 if test -n "$CONFIG_HEADERS"; then
5929 cat >"$tmp/defines.awk" <<\_ACAWK ||
5930 BEGIN {
5931 _ACEOF
5932
5933 # Transform confdefs.h into an awk script `defines.awk', embedded as
5934 # here-document in config.status, that substitutes the proper values into
5935 # config.h.in to produce config.h.
5936
5937 # Create a delimiter string that does not exist in confdefs.h, to ease
5938 # handling of long lines.
5939 ac_delim='%!_!# '
5940 for ac_last_try in false false :; do
5941   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5942   if test -z "$ac_t"; then
5943     break
5944   elif $ac_last_try; then
5945     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5946   else
5947     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5948   fi
5949 done
5950
5951 # For the awk script, D is an array of macro values keyed by name,
5952 # likewise P contains macro parameters if any.  Preserve backslash
5953 # newline sequences.
5954
5955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5956 sed -n '
5957 s/.\{148\}/&'"$ac_delim"'/g
5958 t rset
5959 :rset
5960 s/^[     ]*#[    ]*define[       ][      ]*/ /
5961 t def
5962 d
5963 :def
5964 s/\\$//
5965 t bsnl
5966 s/["\\]/\\&/g
5967 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5968 D["\1"]=" \3"/p
5969 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5970 d
5971 :bsnl
5972 s/["\\]/\\&/g
5973 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5974 D["\1"]=" \3\\\\\\n"\\/p
5975 t cont
5976 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5977 t cont
5978 d
5979 :cont
5980 n
5981 s/.\{148\}/&'"$ac_delim"'/g
5982 t clear
5983 :clear
5984 s/\\$//
5985 t bsnlc
5986 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5987 d
5988 :bsnlc
5989 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5990 b cont
5991 ' <confdefs.h | sed '
5992 s/'"$ac_delim"'/"\\\
5993 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5994
5995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5996   for (key in D) D_is_set[key] = 1
5997   FS = "\a"
5998 }
5999 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6000   line = \$ 0
6001   split(line, arg, " ")
6002   if (arg[1] == "#") {
6003     defundef = arg[2]
6004     mac1 = arg[3]
6005   } else {
6006     defundef = substr(arg[1], 2)
6007     mac1 = arg[2]
6008   }
6009   split(mac1, mac2, "(") #)
6010   macro = mac2[1]
6011   prefix = substr(line, 1, index(line, defundef) - 1)
6012   if (D_is_set[macro]) {
6013     # Preserve the white space surrounding the "#".
6014     print prefix "define", macro P[macro] D[macro]
6015     next
6016   } else {
6017     # Replace #undef with comments.  This is necessary, for example,
6018     # in the case of _POSIX_SOURCE, which is predefined and required
6019     # on some systems where configure will not decide to define it.
6020     if (defundef == "undef") {
6021       print "/*", prefix defundef, macro, "*/"
6022       next
6023     }
6024   }
6025 }
6026 { print }
6027 _ACAWK
6028 _ACEOF
6029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6030   as_fn_error "could not setup config headers machinery" "$LINENO" 5
6031 fi # test -n "$CONFIG_HEADERS"
6032
6033
6034 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6035 shift
6036 for ac_tag
6037 do
6038   case $ac_tag in
6039   :[FHLC]) ac_mode=$ac_tag; continue;;
6040   esac
6041   case $ac_mode$ac_tag in
6042   :[FHL]*:*);;
6043   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6044   :[FH]-) ac_tag=-:-;;
6045   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6046   esac
6047   ac_save_IFS=$IFS
6048   IFS=:
6049   set x $ac_tag
6050   IFS=$ac_save_IFS
6051   shift
6052   ac_file=$1
6053   shift
6054
6055   case $ac_mode in
6056   :L) ac_source=$1;;
6057   :[FH])
6058     ac_file_inputs=
6059     for ac_f
6060     do
6061       case $ac_f in
6062       -) ac_f="$tmp/stdin";;
6063       *) # Look for the file first in the build tree, then in the source tree
6064          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6065          # because $ac_f cannot contain `:'.
6066          test -f "$ac_f" ||
6067            case $ac_f in
6068            [\\/$]*) false;;
6069            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6070            esac ||
6071            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6072       esac
6073       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6074       as_fn_append ac_file_inputs " '$ac_f'"
6075     done
6076
6077     # Let's still pretend it is `configure' which instantiates (i.e., don't
6078     # use $as_me), people would be surprised to read:
6079     #    /* config.h.  Generated by config.status.  */
6080     configure_input='Generated from '`
6081           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6082         `' by configure.'
6083     if test x"$ac_file" != x-; then
6084       configure_input="$ac_file.  $configure_input"
6085       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6086 $as_echo "$as_me: creating $ac_file" >&6;}
6087     fi
6088     # Neutralize special characters interpreted by sed in replacement strings.
6089     case $configure_input in #(
6090     *\&* | *\|* | *\\* )
6091        ac_sed_conf_input=`$as_echo "$configure_input" |
6092        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6093     *) ac_sed_conf_input=$configure_input;;
6094     esac
6095
6096     case $ac_tag in
6097     *:-:* | *:-) cat >"$tmp/stdin" \
6098       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6099     esac
6100     ;;
6101   esac
6102
6103   ac_dir=`$as_dirname -- "$ac_file" ||
6104 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6105          X"$ac_file" : 'X\(//\)[^/]' \| \
6106          X"$ac_file" : 'X\(//\)$' \| \
6107          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6108 $as_echo X"$ac_file" |
6109     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6110             s//\1/
6111             q
6112           }
6113           /^X\(\/\/\)[^/].*/{
6114             s//\1/
6115             q
6116           }
6117           /^X\(\/\/\)$/{
6118             s//\1/
6119             q
6120           }
6121           /^X\(\/\).*/{
6122             s//\1/
6123             q
6124           }
6125           s/.*/./; q'`
6126   as_dir="$ac_dir"; as_fn_mkdir_p
6127   ac_builddir=.
6128
6129 case "$ac_dir" in
6130 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6131 *)
6132   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6133   # A ".." for each directory in $ac_dir_suffix.
6134   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6135   case $ac_top_builddir_sub in
6136   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6137   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6138   esac ;;
6139 esac
6140 ac_abs_top_builddir=$ac_pwd
6141 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6142 # for backward compatibility:
6143 ac_top_builddir=$ac_top_build_prefix
6144
6145 case $srcdir in
6146   .)  # We are building in place.
6147     ac_srcdir=.
6148     ac_top_srcdir=$ac_top_builddir_sub
6149     ac_abs_top_srcdir=$ac_pwd ;;
6150   [\\/]* | ?:[\\/]* )  # Absolute name.
6151     ac_srcdir=$srcdir$ac_dir_suffix;
6152     ac_top_srcdir=$srcdir
6153     ac_abs_top_srcdir=$srcdir ;;
6154   *) # Relative name.
6155     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6156     ac_top_srcdir=$ac_top_build_prefix$srcdir
6157     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6158 esac
6159 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6160
6161
6162   case $ac_mode in
6163   :F)
6164   #
6165   # CONFIG_FILE
6166   #
6167
6168 _ACEOF
6169
6170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6171 # If the template does not know about datarootdir, expand it.
6172 # FIXME: This hack should be removed a few years after 2.60.
6173 ac_datarootdir_hack=; ac_datarootdir_seen=
6174 ac_sed_dataroot='
6175 /datarootdir/ {
6176   p
6177   q
6178 }
6179 /@datadir@/p
6180 /@docdir@/p
6181 /@infodir@/p
6182 /@localedir@/p
6183 /@mandir@/p'
6184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6185 *datarootdir*) ac_datarootdir_seen=yes;;
6186 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6187   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6188 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6189 _ACEOF
6190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6191   ac_datarootdir_hack='
6192   s&@datadir@&$datadir&g
6193   s&@docdir@&$docdir&g
6194   s&@infodir@&$infodir&g
6195   s&@localedir@&$localedir&g
6196   s&@mandir@&$mandir&g
6197   s&\\\${datarootdir}&$datarootdir&g' ;;
6198 esac
6199 _ACEOF
6200
6201 # Neutralize VPATH when `$srcdir' = `.'.
6202 # Shell code in configure.ac might set extrasub.
6203 # FIXME: do we really want to maintain this feature?
6204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6205 ac_sed_extra="$ac_vpsub
6206 $extrasub
6207 _ACEOF
6208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6209 :t
6210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6211 s|@configure_input@|$ac_sed_conf_input|;t t
6212 s&@top_builddir@&$ac_top_builddir_sub&;t t
6213 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6214 s&@srcdir@&$ac_srcdir&;t t
6215 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6216 s&@top_srcdir@&$ac_top_srcdir&;t t
6217 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6218 s&@builddir@&$ac_builddir&;t t
6219 s&@abs_builddir@&$ac_abs_builddir&;t t
6220 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6221 $ac_datarootdir_hack
6222 "
6223 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6224   || as_fn_error "could not create $ac_file" "$LINENO" 5
6225
6226 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6227   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6228   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6230 which seems to be undefined.  Please make sure it is defined." >&5
6231 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6232 which seems to be undefined.  Please make sure it is defined." >&2;}
6233
6234   rm -f "$tmp/stdin"
6235   case $ac_file in
6236   -) cat "$tmp/out" && rm -f "$tmp/out";;
6237   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6238   esac \
6239   || as_fn_error "could not create $ac_file" "$LINENO" 5
6240  ;;
6241   :H)
6242   #
6243   # CONFIG_HEADER
6244   #
6245   if test x"$ac_file" != x-; then
6246     {
6247       $as_echo "/* $configure_input  */" \
6248       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6249     } >"$tmp/config.h" \
6250       || as_fn_error "could not create $ac_file" "$LINENO" 5
6251     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6252       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6253 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6254     else
6255       rm -f "$ac_file"
6256       mv "$tmp/config.h" "$ac_file" \
6257         || as_fn_error "could not create $ac_file" "$LINENO" 5
6258     fi
6259   else
6260     $as_echo "/* $configure_input  */" \
6261       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6262       || as_fn_error "could not create -" "$LINENO" 5
6263   fi
6264  ;;
6265
6266   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6267 $as_echo "$as_me: executing $ac_file commands" >&6;}
6268  ;;
6269   esac
6270
6271
6272   case $ac_file$ac_mode in
6273     "gstdint.h":C)
6274 cat > $tmp/gstdint.h <<EOF
6275 #ifndef GCC_GENERATED_STDINT_H
6276 #define GCC_GENERATED_STDINT_H 1
6277
6278 #include "config.h"
6279 #include <sys/types.h>
6280 #ifdef HAVE_STDINT_H
6281 #include <stdint.h>
6282 #endif
6283 #ifdef HAVE_INTTYPES_H
6284 #include <inttypes.h>
6285 #endif
6286 EOF
6287
6288 if test "$ac_cv_type_int_least32_t" != yes; then
6289   sed 's/^ *//' >> $tmp/gstdint.h <<EOF
6290
6291     /* Define int_least types */
6292     typedef int8_t     int_least8_t;
6293     typedef int16_t    int_least16_t;
6294     typedef int32_t    int_least32_t;
6295     typedef int64_t    int_least64_t;
6296
6297     typedef uint8_t    uint_least8_t;
6298     typedef uint16_t   uint_least16_t;
6299     typedef uint32_t   uint_least32_t;
6300     typedef uint64_t   uint_least64_t;
6301 EOF
6302 fi
6303
6304 if test "$ac_cv_type_int_fast32_t" != yes; then
6305       sed 's/^ *//' >> $tmp/gstdint.h <<EOF
6306
6307     /* Define int_fast types.  short is often slow */
6308     typedef int8_t       int_fast8_t;
6309     typedef int          int_fast16_t;
6310     typedef int32_t      int_fast32_t;
6311     typedef int64_t      int_fast64_t;
6312
6313     typedef uint8_t      uint_fast8_t;
6314     typedef unsigned int uint_fast16_t;
6315     typedef uint32_t     uint_fast32_t;
6316     typedef uint64_t     uint_fast64_t;
6317 EOF
6318 fi
6319
6320 echo '#endif /* GCC_GENERATED_STDINT_H */' >> $tmp/gstdint.h
6321
6322 if test -r gstdint.h && cmp -s $tmp/gstdint.h gstdint.h; then
6323   rm -f $tmp/gstdint.h
6324 else
6325   mv -f $tmp/gstdint.h gstdint.h
6326 fi
6327
6328  ;;
6329     "config.h":H) echo timestamp > stamp-h1 ;;
6330
6331   esac
6332 done # for ac_tag
6333
6334
6335 as_fn_exit 0
6336 _ACEOF
6337 ac_clean_files=$ac_clean_files_save
6338
6339 test $ac_write_fail = 0 ||
6340   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6341
6342
6343 # configure is writing to config.log, and then calls config.status.
6344 # config.status does its own redirection, appending to config.log.
6345 # Unfortunately, on DOS this fails, as config.log is still kept open
6346 # by configure, so config.status won't be able to write to it; its
6347 # output is simply discarded.  So we exec the FD to /dev/null,
6348 # effectively closing config.log, so it can be properly (re)opened and
6349 # appended to by config.status.  When coming back to configure, we
6350 # need to make the FD available again.
6351 if test "$no_create" != yes; then
6352   ac_cs_success=:
6353   ac_config_status_args=
6354   test "$silent" = yes &&
6355     ac_config_status_args="$ac_config_status_args --quiet"
6356   exec 5>/dev/null
6357   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6358   exec 5>>config.log
6359   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6360   # would make configure fail if this is the last instruction.
6361   $ac_cs_success || as_fn_exit $?
6362 fi
6363 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6364   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6365 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6366 fi
6367