OSDN Git Service

Latest updates from FSF 4.7 branch
[pf3gnuchains/gcc-fork.git] / libcpp / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for cpplib  .
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='cpplib'
551 PACKAGE_TARNAME='cpplib'
552 PACKAGE_VERSION=' '
553 PACKAGE_STRING='cpplib  '
554 PACKAGE_BUGREPORT='gcc-bugs@gcc.gnu.org'
555 PACKAGE_URL=''
556
557 ac_unique_file="ucnid.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 MAINT
596 USED_CATALOGS
597 PACKAGE
598 LTLIBICONV
599 LIBICONV
600 CATOBJEXT
601 GENCAT
602 INSTOBJEXT
603 DATADIRNAME
604 CATALOGS
605 POSUB
606 GMSGFMT
607 XGETTEXT
608 INCINTL
609 LIBINTL_DEP
610 LIBINTL
611 USE_NLS
612 ALLOCA
613 LIBOBJS
614 CXXDEPMODE
615 CCDEPMODE
616 DEPDIR
617 am__leading_dot
618 WERROR
619 noexception_flags
620 WARN_PEDANTIC
621 c_warn
622 warn
623 AUTOHEADER
624 AUTOCONF
625 ACLOCAL
626 ENABLE_BUILD_WITH_CXX
627 EGREP
628 GREP
629 CPP
630 RANLIB
631 ac_ct_CXX
632 CXXFLAGS
633 CXX
634 OBJEXT
635 EXEEXT
636 ac_ct_CC
637 CPPFLAGS
638 LDFLAGS
639 CFLAGS
640 CC
641 INSTALL_DATA
642 INSTALL_SCRIPT
643 INSTALL_PROGRAM
644 SET_MAKE
645 target_os
646 target_vendor
647 target_cpu
648 target
649 host_os
650 host_vendor
651 host_cpu
652 host
653 build_os
654 build_vendor
655 build_cpu
656 build
657 target_alias
658 host_alias
659 build_alias
660 LIBS
661 ECHO_T
662 ECHO_N
663 ECHO_C
664 DEFS
665 mandir
666 localedir
667 libdir
668 psdir
669 pdfdir
670 dvidir
671 htmldir
672 infodir
673 docdir
674 oldincludedir
675 includedir
676 localstatedir
677 sharedstatedir
678 sysconfdir
679 datadir
680 datarootdir
681 libexecdir
682 sbindir
683 bindir
684 program_transform_name
685 prefix
686 exec_prefix
687 PACKAGE_URL
688 PACKAGE_BUGREPORT
689 PACKAGE_STRING
690 PACKAGE_VERSION
691 PACKAGE_TARNAME
692 PACKAGE_NAME
693 PATH_SEPARATOR
694 SHELL'
695 ac_subst_files=''
696 ac_user_opts='
697 enable_option_checking
698 enable_largefile
699 enable_build_with_cxx
700 enable_werror_always
701 with_gnu_ld
702 enable_rpath
703 with_libiconv_prefix
704 enable_maintainer_mode
705 enable_checking
706 '
707       ac_precious_vars='build_alias
708 host_alias
709 target_alias
710 CC
711 CFLAGS
712 LDFLAGS
713 LIBS
714 CPPFLAGS
715 CXX
716 CXXFLAGS
717 CCC
718 CPP'
719
720
721 # Initialize some variables set by options.
722 ac_init_help=
723 ac_init_version=false
724 ac_unrecognized_opts=
725 ac_unrecognized_sep=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
728 cache_file=/dev/null
729 exec_prefix=NONE
730 no_create=
731 no_recursion=
732 prefix=NONE
733 program_prefix=NONE
734 program_suffix=NONE
735 program_transform_name=s,x,x,
736 silent=
737 site=
738 srcdir=
739 verbose=
740 x_includes=NONE
741 x_libraries=NONE
742
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir='${exec_prefix}/bin'
750 sbindir='${exec_prefix}/sbin'
751 libexecdir='${exec_prefix}/libexec'
752 datarootdir='${prefix}/share'
753 datadir='${datarootdir}'
754 sysconfdir='${prefix}/etc'
755 sharedstatedir='${prefix}/com'
756 localstatedir='${prefix}/var'
757 includedir='${prefix}/include'
758 oldincludedir='/usr/include'
759 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
760 infodir='${datarootdir}/info'
761 htmldir='${docdir}'
762 dvidir='${docdir}'
763 pdfdir='${docdir}'
764 psdir='${docdir}'
765 libdir='${exec_prefix}/lib'
766 localedir='${datarootdir}/locale'
767 mandir='${datarootdir}/man'
768
769 ac_prev=
770 ac_dashdash=
771 for ac_option
772 do
773   # If the previous option needs an argument, assign it.
774   if test -n "$ac_prev"; then
775     eval $ac_prev=\$ac_option
776     ac_prev=
777     continue
778   fi
779
780   case $ac_option in
781   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782   *)    ac_optarg=yes ;;
783   esac
784
785   # Accept the important Cygnus configure options, so we can diagnose typos.
786
787   case $ac_dashdash$ac_option in
788   --)
789     ac_dashdash=yes ;;
790
791   -bindir | --bindir | --bindi | --bind | --bin | --bi)
792     ac_prev=bindir ;;
793   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
794     bindir=$ac_optarg ;;
795
796   -build | --build | --buil | --bui | --bu)
797     ac_prev=build_alias ;;
798   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
799     build_alias=$ac_optarg ;;
800
801   -cache-file | --cache-file | --cache-fil | --cache-fi \
802   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
803     ac_prev=cache_file ;;
804   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
805   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
806     cache_file=$ac_optarg ;;
807
808   --config-cache | -C)
809     cache_file=config.cache ;;
810
811   -datadir | --datadir | --datadi | --datad)
812     ac_prev=datadir ;;
813   -datadir=* | --datadir=* | --datadi=* | --datad=*)
814     datadir=$ac_optarg ;;
815
816   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
817   | --dataroo | --dataro | --datar)
818     ac_prev=datarootdir ;;
819   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
820   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
821     datarootdir=$ac_optarg ;;
822
823   -disable-* | --disable-*)
824     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
825     # Reject names that are not valid shell variable names.
826     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
827       as_fn_error "invalid feature name: $ac_useropt"
828     ac_useropt_orig=$ac_useropt
829     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830     case $ac_user_opts in
831       *"
832 "enable_$ac_useropt"
833 "*) ;;
834       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
835          ac_unrecognized_sep=', ';;
836     esac
837     eval enable_$ac_useropt=no ;;
838
839   -docdir | --docdir | --docdi | --doc | --do)
840     ac_prev=docdir ;;
841   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842     docdir=$ac_optarg ;;
843
844   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845     ac_prev=dvidir ;;
846   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847     dvidir=$ac_optarg ;;
848
849   -enable-* | --enable-*)
850     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851     # Reject names that are not valid shell variable names.
852     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853       as_fn_error "invalid feature name: $ac_useropt"
854     ac_useropt_orig=$ac_useropt
855     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856     case $ac_user_opts in
857       *"
858 "enable_$ac_useropt"
859 "*) ;;
860       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861          ac_unrecognized_sep=', ';;
862     esac
863     eval enable_$ac_useropt=\$ac_optarg ;;
864
865   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867   | --exec | --exe | --ex)
868     ac_prev=exec_prefix ;;
869   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871   | --exec=* | --exe=* | --ex=*)
872     exec_prefix=$ac_optarg ;;
873
874   -gas | --gas | --ga | --g)
875     # Obsolete; use --with-gas.
876     with_gas=yes ;;
877
878   -help | --help | --hel | --he | -h)
879     ac_init_help=long ;;
880   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881     ac_init_help=recursive ;;
882   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883     ac_init_help=short ;;
884
885   -host | --host | --hos | --ho)
886     ac_prev=host_alias ;;
887   -host=* | --host=* | --hos=* | --ho=*)
888     host_alias=$ac_optarg ;;
889
890   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891     ac_prev=htmldir ;;
892   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893   | --ht=*)
894     htmldir=$ac_optarg ;;
895
896   -includedir | --includedir | --includedi | --included | --include \
897   | --includ | --inclu | --incl | --inc)
898     ac_prev=includedir ;;
899   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900   | --includ=* | --inclu=* | --incl=* | --inc=*)
901     includedir=$ac_optarg ;;
902
903   -infodir | --infodir | --infodi | --infod | --info | --inf)
904     ac_prev=infodir ;;
905   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906     infodir=$ac_optarg ;;
907
908   -libdir | --libdir | --libdi | --libd)
909     ac_prev=libdir ;;
910   -libdir=* | --libdir=* | --libdi=* | --libd=*)
911     libdir=$ac_optarg ;;
912
913   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914   | --libexe | --libex | --libe)
915     ac_prev=libexecdir ;;
916   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917   | --libexe=* | --libex=* | --libe=*)
918     libexecdir=$ac_optarg ;;
919
920   -localedir | --localedir | --localedi | --localed | --locale)
921     ac_prev=localedir ;;
922   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923     localedir=$ac_optarg ;;
924
925   -localstatedir | --localstatedir | --localstatedi | --localstated \
926   | --localstate | --localstat | --localsta | --localst | --locals)
927     ac_prev=localstatedir ;;
928   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930     localstatedir=$ac_optarg ;;
931
932   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933     ac_prev=mandir ;;
934   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935     mandir=$ac_optarg ;;
936
937   -nfp | --nfp | --nf)
938     # Obsolete; use --without-fp.
939     with_fp=no ;;
940
941   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942   | --no-cr | --no-c | -n)
943     no_create=yes ;;
944
945   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
947     no_recursion=yes ;;
948
949   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951   | --oldin | --oldi | --old | --ol | --o)
952     ac_prev=oldincludedir ;;
953   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956     oldincludedir=$ac_optarg ;;
957
958   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959     ac_prev=prefix ;;
960   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
961     prefix=$ac_optarg ;;
962
963   -program-prefix | --program-prefix | --program-prefi | --program-pref \
964   | --program-pre | --program-pr | --program-p)
965     ac_prev=program_prefix ;;
966   -program-prefix=* | --program-prefix=* | --program-prefi=* \
967   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968     program_prefix=$ac_optarg ;;
969
970   -program-suffix | --program-suffix | --program-suffi | --program-suff \
971   | --program-suf | --program-su | --program-s)
972     ac_prev=program_suffix ;;
973   -program-suffix=* | --program-suffix=* | --program-suffi=* \
974   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975     program_suffix=$ac_optarg ;;
976
977   -program-transform-name | --program-transform-name \
978   | --program-transform-nam | --program-transform-na \
979   | --program-transform-n | --program-transform- \
980   | --program-transform | --program-transfor \
981   | --program-transfo | --program-transf \
982   | --program-trans | --program-tran \
983   | --progr-tra | --program-tr | --program-t)
984     ac_prev=program_transform_name ;;
985   -program-transform-name=* | --program-transform-name=* \
986   | --program-transform-nam=* | --program-transform-na=* \
987   | --program-transform-n=* | --program-transform-=* \
988   | --program-transform=* | --program-transfor=* \
989   | --program-transfo=* | --program-transf=* \
990   | --program-trans=* | --program-tran=* \
991   | --progr-tra=* | --program-tr=* | --program-t=*)
992     program_transform_name=$ac_optarg ;;
993
994   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995     ac_prev=pdfdir ;;
996   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
997     pdfdir=$ac_optarg ;;
998
999   -psdir | --psdir | --psdi | --psd | --ps)
1000     ac_prev=psdir ;;
1001   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1002     psdir=$ac_optarg ;;
1003
1004   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005   | -silent | --silent | --silen | --sile | --sil)
1006     silent=yes ;;
1007
1008   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009     ac_prev=sbindir ;;
1010   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011   | --sbi=* | --sb=*)
1012     sbindir=$ac_optarg ;;
1013
1014   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016   | --sharedst | --shareds | --shared | --share | --shar \
1017   | --sha | --sh)
1018     ac_prev=sharedstatedir ;;
1019   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022   | --sha=* | --sh=*)
1023     sharedstatedir=$ac_optarg ;;
1024
1025   -site | --site | --sit)
1026     ac_prev=site ;;
1027   -site=* | --site=* | --sit=*)
1028     site=$ac_optarg ;;
1029
1030   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031     ac_prev=srcdir ;;
1032   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033     srcdir=$ac_optarg ;;
1034
1035   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036   | --syscon | --sysco | --sysc | --sys | --sy)
1037     ac_prev=sysconfdir ;;
1038   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040     sysconfdir=$ac_optarg ;;
1041
1042   -target | --target | --targe | --targ | --tar | --ta | --t)
1043     ac_prev=target_alias ;;
1044   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045     target_alias=$ac_optarg ;;
1046
1047   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1048     verbose=yes ;;
1049
1050   -version | --version | --versio | --versi | --vers | -V)
1051     ac_init_version=: ;;
1052
1053   -with-* | --with-*)
1054     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055     # Reject names that are not valid shell variable names.
1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057       as_fn_error "invalid package name: $ac_useropt"
1058     ac_useropt_orig=$ac_useropt
1059     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060     case $ac_user_opts in
1061       *"
1062 "with_$ac_useropt"
1063 "*) ;;
1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1065          ac_unrecognized_sep=', ';;
1066     esac
1067     eval with_$ac_useropt=\$ac_optarg ;;
1068
1069   -without-* | --without-*)
1070     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071     # Reject names that are not valid shell variable names.
1072     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073       as_fn_error "invalid package name: $ac_useropt"
1074     ac_useropt_orig=$ac_useropt
1075     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076     case $ac_user_opts in
1077       *"
1078 "with_$ac_useropt"
1079 "*) ;;
1080       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1081          ac_unrecognized_sep=', ';;
1082     esac
1083     eval with_$ac_useropt=no ;;
1084
1085   --x)
1086     # Obsolete; use --with-x.
1087     with_x=yes ;;
1088
1089   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1090   | --x-incl | --x-inc | --x-in | --x-i)
1091     ac_prev=x_includes ;;
1092   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1093   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1094     x_includes=$ac_optarg ;;
1095
1096   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1097   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1098     ac_prev=x_libraries ;;
1099   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1100   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1101     x_libraries=$ac_optarg ;;
1102
1103   -*) as_fn_error "unrecognized option: \`$ac_option'
1104 Try \`$0 --help' for more information."
1105     ;;
1106
1107   *=*)
1108     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1109     # Reject names that are not valid shell variable names.
1110     case $ac_envvar in #(
1111       '' | [0-9]* | *[!_$as_cr_alnum]* )
1112       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1113     esac
1114     eval $ac_envvar=\$ac_optarg
1115     export $ac_envvar ;;
1116
1117   *)
1118     # FIXME: should be removed in autoconf 3.0.
1119     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1120     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1122     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1123     ;;
1124
1125   esac
1126 done
1127
1128 if test -n "$ac_prev"; then
1129   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1130   as_fn_error "missing argument to $ac_option"
1131 fi
1132
1133 if test -n "$ac_unrecognized_opts"; then
1134   case $enable_option_checking in
1135     no) ;;
1136     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1137     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1138   esac
1139 fi
1140
1141 # Check all directory arguments for consistency.
1142 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1143                 datadir sysconfdir sharedstatedir localstatedir includedir \
1144                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1145                 libdir localedir mandir
1146 do
1147   eval ac_val=\$$ac_var
1148   # Remove trailing slashes.
1149   case $ac_val in
1150     */ )
1151       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1152       eval $ac_var=\$ac_val;;
1153   esac
1154   # Be sure to have absolute directory names.
1155   case $ac_val in
1156     [\\/$]* | ?:[\\/]* )  continue;;
1157     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158   esac
1159   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1160 done
1161
1162 # There might be people who depend on the old broken behavior: `$host'
1163 # used to hold the argument of --host etc.
1164 # FIXME: To remove some day.
1165 build=$build_alias
1166 host=$host_alias
1167 target=$target_alias
1168
1169 # FIXME: To remove some day.
1170 if test "x$host_alias" != x; then
1171   if test "x$build_alias" = x; then
1172     cross_compiling=maybe
1173     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1174     If a cross compiler is detected then cross compile mode will be used." >&2
1175   elif test "x$build_alias" != "x$host_alias"; then
1176     cross_compiling=yes
1177   fi
1178 fi
1179
1180 ac_tool_prefix=
1181 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182
1183 test "$silent" = yes && exec 6>/dev/null
1184
1185
1186 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1187 ac_ls_di=`ls -di .` &&
1188 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1189   as_fn_error "working directory cannot be determined"
1190 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1191   as_fn_error "pwd does not report name of working directory"
1192
1193
1194 # Find the source files, if location was not specified.
1195 if test -z "$srcdir"; then
1196   ac_srcdir_defaulted=yes
1197   # Try the directory containing this script, then the parent directory.
1198   ac_confdir=`$as_dirname -- "$as_myself" ||
1199 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1200          X"$as_myself" : 'X\(//\)[^/]' \| \
1201          X"$as_myself" : 'X\(//\)$' \| \
1202          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1203 $as_echo X"$as_myself" |
1204     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205             s//\1/
1206             q
1207           }
1208           /^X\(\/\/\)[^/].*/{
1209             s//\1/
1210             q
1211           }
1212           /^X\(\/\/\)$/{
1213             s//\1/
1214             q
1215           }
1216           /^X\(\/\).*/{
1217             s//\1/
1218             q
1219           }
1220           s/.*/./; q'`
1221   srcdir=$ac_confdir
1222   if test ! -r "$srcdir/$ac_unique_file"; then
1223     srcdir=..
1224   fi
1225 else
1226   ac_srcdir_defaulted=no
1227 fi
1228 if test ! -r "$srcdir/$ac_unique_file"; then
1229   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1230   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1231 fi
1232 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 ac_abs_confdir=`(
1234         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1235         pwd)`
1236 # When building in place, set srcdir=.
1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238   srcdir=.
1239 fi
1240 # Remove unnecessary trailing slashes from srcdir.
1241 # Double slashes in file names in object file debugging info
1242 # mess up M-x gdb in Emacs.
1243 case $srcdir in
1244 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 esac
1246 for ac_var in $ac_precious_vars; do
1247   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1248   eval ac_env_${ac_var}_value=\$${ac_var}
1249   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1250   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251 done
1252
1253 #
1254 # Report the --help message.
1255 #
1256 if test "$ac_init_help" = "long"; then
1257   # Omit some internal or obsolete options to make the list less imposing.
1258   # This message is too long to be a string in the A/UX 3.1 sh.
1259   cat <<_ACEOF
1260 \`configure' configures cpplib   to adapt to many kinds of systems.
1261
1262 Usage: $0 [OPTION]... [VAR=VALUE]...
1263
1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265 VAR=VALUE.  See below for descriptions of some of the useful variables.
1266
1267 Defaults for the options are specified in brackets.
1268
1269 Configuration:
1270   -h, --help              display this help and exit
1271       --help=short        display options specific to this package
1272       --help=recursive    display the short help of all the included packages
1273   -V, --version           display version information and exit
1274   -q, --quiet, --silent   do not print \`checking...' messages
1275       --cache-file=FILE   cache test results in FILE [disabled]
1276   -C, --config-cache      alias for \`--cache-file=config.cache'
1277   -n, --no-create         do not create output files
1278       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1279
1280 Installation directories:
1281   --prefix=PREFIX         install architecture-independent files in PREFIX
1282                           [$ac_default_prefix]
1283   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1284                           [PREFIX]
1285
1286 By default, \`make install' will install all the files in
1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289 for instance \`--prefix=\$HOME'.
1290
1291 For better control, use the options below.
1292
1293 Fine tuning of the installation directories:
1294   --bindir=DIR            user executables [EPREFIX/bin]
1295   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1296   --libexecdir=DIR        program executables [EPREFIX/libexec]
1297   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1298   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1299   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1300   --libdir=DIR            object code libraries [EPREFIX/lib]
1301   --includedir=DIR        C header files [PREFIX/include]
1302   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1303   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1304   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1305   --infodir=DIR           info documentation [DATAROOTDIR/info]
1306   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1307   --mandir=DIR            man documentation [DATAROOTDIR/man]
1308   --docdir=DIR            documentation root [DATAROOTDIR/doc/cpplib]
1309   --htmldir=DIR           html documentation [DOCDIR]
1310   --dvidir=DIR            dvi documentation [DOCDIR]
1311   --pdfdir=DIR            pdf documentation [DOCDIR]
1312   --psdir=DIR             ps documentation [DOCDIR]
1313 _ACEOF
1314
1315   cat <<\_ACEOF
1316
1317 System types:
1318   --build=BUILD     configure for building on BUILD [guessed]
1319   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1320   --target=TARGET   configure for building compilers for TARGET [HOST]
1321 _ACEOF
1322 fi
1323
1324 if test -n "$ac_init_help"; then
1325   case $ac_init_help in
1326      short | recursive ) echo "Configuration of cpplib  :";;
1327    esac
1328   cat <<\_ACEOF
1329
1330 Optional Features:
1331   --disable-option-checking  ignore unrecognized --enable/--with options
1332   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1333   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1334   --disable-largefile     omit support for large files
1335   --enable-build-with-cxx build with C++ compiler instead of C compiler
1336   --enable-werror-always  enable -Werror despite compiler version
1337   --disable-rpath         do not hardcode runtime library paths
1338   --enable-maintainer-mode enable rules only needed by maintainers
1339   --enable-checking      enable expensive run-time checks
1340
1341 Optional Packages:
1342   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1343   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1344   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1345   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1346   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1347
1348 Some influential environment variables:
1349   CC          C compiler command
1350   CFLAGS      C compiler flags
1351   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1352               nonstandard directory <lib dir>
1353   LIBS        libraries to pass to the linker, e.g. -l<library>
1354   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1355               you have headers in a nonstandard directory <include dir>
1356   CXX         C++ compiler command
1357   CXXFLAGS    C++ compiler flags
1358   CPP         C preprocessor
1359
1360 Use these variables to override the choices made by `configure' or to help
1361 it to find libraries and programs with nonstandard names/locations.
1362
1363 Report bugs to <gcc-bugs@gcc.gnu.org>.
1364 _ACEOF
1365 ac_status=$?
1366 fi
1367
1368 if test "$ac_init_help" = "recursive"; then
1369   # If there are subdirs, report their specific --help.
1370   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1371     test -d "$ac_dir" ||
1372       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1373       continue
1374     ac_builddir=.
1375
1376 case "$ac_dir" in
1377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 *)
1379   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1380   # A ".." for each directory in $ac_dir_suffix.
1381   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1382   case $ac_top_builddir_sub in
1383   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1385   esac ;;
1386 esac
1387 ac_abs_top_builddir=$ac_pwd
1388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1389 # for backward compatibility:
1390 ac_top_builddir=$ac_top_build_prefix
1391
1392 case $srcdir in
1393   .)  # We are building in place.
1394     ac_srcdir=.
1395     ac_top_srcdir=$ac_top_builddir_sub
1396     ac_abs_top_srcdir=$ac_pwd ;;
1397   [\\/]* | ?:[\\/]* )  # Absolute name.
1398     ac_srcdir=$srcdir$ac_dir_suffix;
1399     ac_top_srcdir=$srcdir
1400     ac_abs_top_srcdir=$srcdir ;;
1401   *) # Relative name.
1402     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403     ac_top_srcdir=$ac_top_build_prefix$srcdir
1404     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1405 esac
1406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1407
1408     cd "$ac_dir" || { ac_status=$?; continue; }
1409     # Check for guested configure.
1410     if test -f "$ac_srcdir/configure.gnu"; then
1411       echo &&
1412       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413     elif test -f "$ac_srcdir/configure"; then
1414       echo &&
1415       $SHELL "$ac_srcdir/configure" --help=recursive
1416     else
1417       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1418     fi || ac_status=$?
1419     cd "$ac_pwd" || { ac_status=$?; break; }
1420   done
1421 fi
1422
1423 test -n "$ac_init_help" && exit $ac_status
1424 if $ac_init_version; then
1425   cat <<\_ACEOF
1426 cpplib configure
1427 generated by GNU Autoconf 2.64
1428
1429 Copyright (C) 2009 Free Software Foundation, Inc.
1430 This configure script is free software; the Free Software Foundation
1431 gives unlimited permission to copy, distribute and modify it.
1432 _ACEOF
1433   exit
1434 fi
1435
1436 ## ------------------------ ##
1437 ## Autoconf initialization. ##
1438 ## ------------------------ ##
1439
1440 # ac_fn_c_try_compile LINENO
1441 # --------------------------
1442 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_compile ()
1444 {
1445   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446   rm -f conftest.$ac_objext
1447   if { { ac_try="$ac_compile"
1448 case "(($ac_try" in
1449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1450   *) ac_try_echo=$ac_try;;
1451 esac
1452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453 $as_echo "$ac_try_echo"; } >&5
1454   (eval "$ac_compile") 2>conftest.err
1455   ac_status=$?
1456   if test -s conftest.err; then
1457     grep -v '^ *+' conftest.err >conftest.er1
1458     cat conftest.er1 >&5
1459     mv -f conftest.er1 conftest.err
1460   fi
1461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462   test $ac_status = 0; } && {
1463          test -z "$ac_c_werror_flag" ||
1464          test ! -s conftest.err
1465        } && test -s conftest.$ac_objext; then :
1466   ac_retval=0
1467 else
1468   $as_echo "$as_me: failed program was:" >&5
1469 sed 's/^/| /' conftest.$ac_ext >&5
1470
1471         ac_retval=1
1472 fi
1473   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1474   return $ac_retval
1475
1476 } # ac_fn_c_try_compile
1477
1478 # ac_fn_cxx_try_compile LINENO
1479 # ----------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_cxx_try_compile ()
1482 {
1483   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484   rm -f conftest.$ac_objext
1485   if { { ac_try="$ac_compile"
1486 case "(($ac_try" in
1487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488   *) ac_try_echo=$ac_try;;
1489 esac
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492   (eval "$ac_compile") 2>conftest.err
1493   ac_status=$?
1494   if test -s conftest.err; then
1495     grep -v '^ *+' conftest.err >conftest.er1
1496     cat conftest.er1 >&5
1497     mv -f conftest.er1 conftest.err
1498   fi
1499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500   test $ac_status = 0; } && {
1501          test -z "$ac_cxx_werror_flag" ||
1502          test ! -s conftest.err
1503        } && test -s conftest.$ac_objext; then :
1504   ac_retval=0
1505 else
1506   $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1508
1509         ac_retval=1
1510 fi
1511   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1512   return $ac_retval
1513
1514 } # ac_fn_cxx_try_compile
1515
1516 # ac_fn_c_try_cpp LINENO
1517 # ----------------------
1518 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_c_try_cpp ()
1520 {
1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522   if { { ac_try="$ac_cpp conftest.$ac_ext"
1523 case "(($ac_try" in
1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525   *) ac_try_echo=$ac_try;;
1526 esac
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1530   ac_status=$?
1531   if test -s conftest.err; then
1532     grep -v '^ *+' conftest.err >conftest.er1
1533     cat conftest.er1 >&5
1534     mv -f conftest.er1 conftest.err
1535   fi
1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537   test $ac_status = 0; } >/dev/null && {
1538          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1539          test ! -s conftest.err
1540        }; then :
1541   ac_retval=0
1542 else
1543   $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1545
1546     ac_retval=1
1547 fi
1548   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1549   return $ac_retval
1550
1551 } # ac_fn_c_try_cpp
1552
1553 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1554 # -------------------------------------------------------
1555 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1556 # the include files in INCLUDES and setting the cache variable VAR
1557 # accordingly.
1558 ac_fn_c_check_header_mongrel ()
1559 {
1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1563 $as_echo_n "checking for $2... " >&6; }
1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1565   $as_echo_n "(cached) " >&6
1566 fi
1567 eval ac_res=\$$3
1568                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1570 else
1571   # Is the header compilable?
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1573 $as_echo_n "checking $2 usability... " >&6; }
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h.  */
1576 $4
1577 #include <$2>
1578 _ACEOF
1579 if ac_fn_c_try_compile "$LINENO"; then :
1580   ac_header_compiler=yes
1581 else
1582   ac_header_compiler=no
1583 fi
1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1586 $as_echo "$ac_header_compiler" >&6; }
1587
1588 # Is the header present?
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1590 $as_echo_n "checking $2 presence... " >&6; }
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h.  */
1593 #include <$2>
1594 _ACEOF
1595 if ac_fn_c_try_cpp "$LINENO"; then :
1596   ac_header_preproc=yes
1597 else
1598   ac_header_preproc=no
1599 fi
1600 rm -f conftest.err conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1602 $as_echo "$ac_header_preproc" >&6; }
1603
1604 # So?  What about this header?
1605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1606   yes:no: )
1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1608 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1611     ;;
1612   no:yes:* )
1613     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1614 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1616 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1618 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1620 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 ( cat <<\_ASBOX
1624 ## ----------------------------------- ##
1625 ## Report this to gcc-bugs@gcc.gnu.org ##
1626 ## ----------------------------------- ##
1627 _ASBOX
1628      ) | sed "s/^/$as_me: WARNING:     /" >&2
1629     ;;
1630 esac
1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634   $as_echo_n "(cached) " >&6
1635 else
1636   eval "$3=\$ac_header_compiler"
1637 fi
1638 eval ac_res=\$$3
1639                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1641 fi
1642   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1643
1644 } # ac_fn_c_check_header_mongrel
1645
1646 # ac_fn_c_try_run LINENO
1647 # ----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1649 # that executables *can* be run.
1650 ac_fn_c_try_run ()
1651 {
1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653   if { { ac_try="$ac_link"
1654 case "(($ac_try" in
1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656   *) ac_try_echo=$ac_try;;
1657 esac
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660   (eval "$ac_link") 2>&5
1661   ac_status=$?
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1664   { { case "(($ac_try" in
1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666   *) ac_try_echo=$ac_try;;
1667 esac
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670   (eval "$ac_try") 2>&5
1671   ac_status=$?
1672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673   test $ac_status = 0; }; }; then :
1674   ac_retval=0
1675 else
1676   $as_echo "$as_me: program exited with status $ac_status" >&5
1677        $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1679
1680        ac_retval=$ac_status
1681 fi
1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684   return $ac_retval
1685
1686 } # ac_fn_c_try_run
1687
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1693 {
1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1698   $as_echo_n "(cached) " >&6
1699 else
1700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h.  */
1702 $4
1703 #include <$2>
1704 _ACEOF
1705 if ac_fn_c_try_compile "$LINENO"; then :
1706   eval "$3=yes"
1707 else
1708   eval "$3=no"
1709 fi
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711 fi
1712 eval ac_res=\$$3
1713                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716
1717 } # ac_fn_c_check_header_compile
1718
1719 # ac_fn_c_try_link LINENO
1720 # -----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_link ()
1723 {
1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725   rm -f conftest.$ac_objext conftest$ac_exeext
1726   if { { ac_try="$ac_link"
1727 case "(($ac_try" in
1728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729   *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733   (eval "$ac_link") 2>conftest.err
1734   ac_status=$?
1735   if test -s conftest.err; then
1736     grep -v '^ *+' conftest.err >conftest.er1
1737     cat conftest.er1 >&5
1738     mv -f conftest.er1 conftest.err
1739   fi
1740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741   test $ac_status = 0; } && {
1742          test -z "$ac_c_werror_flag" ||
1743          test ! -s conftest.err
1744        } && test -s conftest$ac_exeext && {
1745          test "$cross_compiling" = yes ||
1746          $as_test_x conftest$ac_exeext
1747        }; then :
1748   ac_retval=0
1749 else
1750   $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753         ac_retval=1
1754 fi
1755   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1756   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1757   # interfere with the next link command; also delete a directory that is
1758   # left behind by Apple's compiler.  We do this before executing the actions.
1759   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761   return $ac_retval
1762
1763 } # ac_fn_c_try_link
1764
1765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1766 # -------------------------------------------
1767 # Tests whether TYPE exists after having included INCLUDES, setting cache
1768 # variable VAR accordingly.
1769 ac_fn_c_check_type ()
1770 {
1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775   $as_echo_n "(cached) " >&6
1776 else
1777   eval "$3=no"
1778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h.  */
1780 $4
1781 int
1782 main ()
1783 {
1784 if (sizeof ($2))
1785          return 0;
1786   ;
1787   return 0;
1788 }
1789 _ACEOF
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h.  */
1793 $4
1794 int
1795 main ()
1796 {
1797 if (sizeof (($2)))
1798             return 0;
1799   ;
1800   return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_compile "$LINENO"; then :
1804
1805 else
1806   eval "$3=yes"
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 fi
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811 fi
1812 eval ac_res=\$$3
1813                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816
1817 } # ac_fn_c_check_type
1818
1819 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1820 # --------------------------------------------
1821 # Tries to find the compile-time value of EXPR in a program that includes
1822 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1823 # computed
1824 ac_fn_c_compute_int ()
1825 {
1826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827   if test "$cross_compiling" = yes; then
1828     # Depending upon the size, compute the lo and hi bounds.
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h.  */
1831 $4
1832 int
1833 main ()
1834 {
1835 static int test_array [1 - 2 * !(($2) >= 0)];
1836 test_array [0] = 0
1837
1838   ;
1839   return 0;
1840 }
1841 _ACEOF
1842 if ac_fn_c_try_compile "$LINENO"; then :
1843   ac_lo=0 ac_mid=0
1844   while :; do
1845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h.  */
1847 $4
1848 int
1849 main ()
1850 {
1851 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1852 test_array [0] = 0
1853
1854   ;
1855   return 0;
1856 }
1857 _ACEOF
1858 if ac_fn_c_try_compile "$LINENO"; then :
1859   ac_hi=$ac_mid; break
1860 else
1861   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1862                         if test $ac_lo -le $ac_mid; then
1863                           ac_lo= ac_hi=
1864                           break
1865                         fi
1866                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869   done
1870 else
1871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h.  */
1873 $4
1874 int
1875 main ()
1876 {
1877 static int test_array [1 - 2 * !(($2) < 0)];
1878 test_array [0] = 0
1879
1880   ;
1881   return 0;
1882 }
1883 _ACEOF
1884 if ac_fn_c_try_compile "$LINENO"; then :
1885   ac_hi=-1 ac_mid=-1
1886   while :; do
1887     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h.  */
1889 $4
1890 int
1891 main ()
1892 {
1893 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1894 test_array [0] = 0
1895
1896   ;
1897   return 0;
1898 }
1899 _ACEOF
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901   ac_lo=$ac_mid; break
1902 else
1903   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1904                         if test $ac_mid -le $ac_hi; then
1905                           ac_lo= ac_hi=
1906                           break
1907                         fi
1908                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911   done
1912 else
1913   ac_lo= ac_hi=
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 fi
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 # Binary search between lo and hi bounds.
1919 while test "x$ac_lo" != "x$ac_hi"; do
1920   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h.  */
1923 $4
1924 int
1925 main ()
1926 {
1927 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1928 test_array [0] = 0
1929
1930   ;
1931   return 0;
1932 }
1933 _ACEOF
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935   ac_hi=$ac_mid
1936 else
1937   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1938 fi
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 done
1941 case $ac_lo in #((
1942 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1943 '') ac_retval=1 ;;
1944 esac
1945   else
1946     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h.  */
1948 $4
1949 static long int longval () { return $2; }
1950 static unsigned long int ulongval () { return $2; }
1951 #include <stdio.h>
1952 #include <stdlib.h>
1953 int
1954 main ()
1955 {
1956
1957   FILE *f = fopen ("conftest.val", "w");
1958   if (! f)
1959     return 1;
1960   if (($2) < 0)
1961     {
1962       long int i = longval ();
1963       if (i != ($2))
1964         return 1;
1965       fprintf (f, "%ld", i);
1966     }
1967   else
1968     {
1969       unsigned long int i = ulongval ();
1970       if (i != ($2))
1971         return 1;
1972       fprintf (f, "%lu", i);
1973     }
1974   /* Do not output a trailing newline, as this causes \r\n confusion
1975      on some platforms.  */
1976   return ferror (f) || fclose (f) != 0;
1977
1978   ;
1979   return 0;
1980 }
1981 _ACEOF
1982 if ac_fn_c_try_run "$LINENO"; then :
1983   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1984 else
1985   ac_retval=1
1986 fi
1987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1988   conftest.$ac_objext conftest.beam conftest.$ac_ext
1989 rm -f conftest.val
1990
1991   fi
1992   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993   return $ac_retval
1994
1995 } # ac_fn_c_compute_int
1996
1997 # ac_fn_c_check_func LINENO FUNC VAR
1998 # ----------------------------------
1999 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2000 ac_fn_c_check_func ()
2001 {
2002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004 $as_echo_n "checking for $2... " >&6; }
2005 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2006   $as_echo_n "(cached) " >&6
2007 else
2008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h.  */
2010 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2011    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2012 #define $2 innocuous_$2
2013
2014 /* System header to define __stub macros and hopefully few prototypes,
2015     which can conflict with char $2 (); below.
2016     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2017     <limits.h> exists even on freestanding compilers.  */
2018
2019 #ifdef __STDC__
2020 # include <limits.h>
2021 #else
2022 # include <assert.h>
2023 #endif
2024
2025 #undef $2
2026
2027 /* Override any GCC internal prototype to avoid an error.
2028    Use char because int might match the return type of a GCC
2029    builtin and then its argument prototype would still apply.  */
2030 #ifdef __cplusplus
2031 extern "C"
2032 #endif
2033 char $2 ();
2034 /* The GNU C library defines this for functions which it implements
2035     to always fail with ENOSYS.  Some functions are actually named
2036     something starting with __ and the normal name is an alias.  */
2037 #if defined __stub_$2 || defined __stub___$2
2038 choke me
2039 #endif
2040
2041 int
2042 main ()
2043 {
2044 return $2 ();
2045   ;
2046   return 0;
2047 }
2048 _ACEOF
2049 if ac_fn_c_try_link "$LINENO"; then :
2050   eval "$3=yes"
2051 else
2052   eval "$3=no"
2053 fi
2054 rm -f core conftest.err conftest.$ac_objext \
2055     conftest$ac_exeext conftest.$ac_ext
2056 fi
2057 eval ac_res=\$$3
2058                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2061
2062 } # ac_fn_c_check_func
2063
2064 # ac_fn_c_check_decl LINENO SYMBOL VAR
2065 # ------------------------------------
2066 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2067 ac_fn_c_check_decl ()
2068 {
2069   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070   as_decl_name=`echo $2|sed 's/ *(.*//'`
2071   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2073 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2074 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2075   $as_echo_n "(cached) " >&6
2076 else
2077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h.  */
2079 $4
2080 int
2081 main ()
2082 {
2083 #ifndef $as_decl_name
2084 #ifdef __cplusplus
2085   (void) $as_decl_use;
2086 #else
2087   (void) $as_decl_name;
2088 #endif
2089 #endif
2090
2091   ;
2092   return 0;
2093 }
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096   eval "$3=yes"
2097 else
2098   eval "$3=no"
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 fi
2102 eval ac_res=\$$3
2103                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
2107 } # ac_fn_c_check_decl
2108
2109 # ac_fn_cxx_try_link LINENO
2110 # -------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded.
2112 ac_fn_cxx_try_link ()
2113 {
2114   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115   rm -f conftest.$ac_objext conftest$ac_exeext
2116   if { { ac_try="$ac_link"
2117 case "(($ac_try" in
2118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119   *) ac_try_echo=$ac_try;;
2120 esac
2121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123   (eval "$ac_link") 2>conftest.err
2124   ac_status=$?
2125   if test -s conftest.err; then
2126     grep -v '^ *+' conftest.err >conftest.er1
2127     cat conftest.er1 >&5
2128     mv -f conftest.er1 conftest.err
2129   fi
2130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131   test $ac_status = 0; } && {
2132          test -z "$ac_cxx_werror_flag" ||
2133          test ! -s conftest.err
2134        } && test -s conftest$ac_exeext && {
2135          test "$cross_compiling" = yes ||
2136          $as_test_x conftest$ac_exeext
2137        }; then :
2138   ac_retval=0
2139 else
2140   $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2142
2143         ac_retval=1
2144 fi
2145   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147   # interfere with the next link command; also delete a directory that is
2148   # left behind by Apple's compiler.  We do this before executing the actions.
2149   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2151   return $ac_retval
2152
2153 } # ac_fn_cxx_try_link
2154 cat >config.log <<_ACEOF
2155 This file contains any messages produced by compilers while
2156 running configure, to aid debugging if configure makes a mistake.
2157
2158 It was created by cpplib $as_me  , which was
2159 generated by GNU Autoconf 2.64.  Invocation command line was
2160
2161   $ $0 $@
2162
2163 _ACEOF
2164 exec 5>>config.log
2165 {
2166 cat <<_ASUNAME
2167 ## --------- ##
2168 ## Platform. ##
2169 ## --------- ##
2170
2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2176
2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2178 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2179
2180 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2181 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2183 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2184 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2185 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2186 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2187
2188 _ASUNAME
2189
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 for as_dir in $PATH
2192 do
2193   IFS=$as_save_IFS
2194   test -z "$as_dir" && as_dir=.
2195     $as_echo "PATH: $as_dir"
2196   done
2197 IFS=$as_save_IFS
2198
2199 } >&5
2200
2201 cat >&5 <<_ACEOF
2202
2203
2204 ## ----------- ##
2205 ## Core tests. ##
2206 ## ----------- ##
2207
2208 _ACEOF
2209
2210
2211 # Keep a trace of the command line.
2212 # Strip out --no-create and --no-recursion so they do not pile up.
2213 # Strip out --silent because we don't want to record it for future runs.
2214 # Also quote any args containing shell meta-characters.
2215 # Make two passes to allow for proper duplicate-argument suppression.
2216 ac_configure_args=
2217 ac_configure_args0=
2218 ac_configure_args1=
2219 ac_must_keep_next=false
2220 for ac_pass in 1 2
2221 do
2222   for ac_arg
2223   do
2224     case $ac_arg in
2225     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2226     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2227     | -silent | --silent | --silen | --sile | --sil)
2228       continue ;;
2229     *\'*)
2230       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2231     esac
2232     case $ac_pass in
2233     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2234     2)
2235       as_fn_append ac_configure_args1 " '$ac_arg'"
2236       if test $ac_must_keep_next = true; then
2237         ac_must_keep_next=false # Got value, back to normal.
2238       else
2239         case $ac_arg in
2240           *=* | --config-cache | -C | -disable-* | --disable-* \
2241           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2242           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2243           | -with-* | --with-* | -without-* | --without-* | --x)
2244             case "$ac_configure_args0 " in
2245               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2246             esac
2247             ;;
2248           -* ) ac_must_keep_next=true ;;
2249         esac
2250       fi
2251       as_fn_append ac_configure_args " '$ac_arg'"
2252       ;;
2253     esac
2254   done
2255 done
2256 { ac_configure_args0=; unset ac_configure_args0;}
2257 { ac_configure_args1=; unset ac_configure_args1;}
2258
2259 # When interrupted or exit'd, cleanup temporary files, and complete
2260 # config.log.  We remove comments because anyway the quotes in there
2261 # would cause problems or look ugly.
2262 # WARNING: Use '\'' to represent an apostrophe within the trap.
2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2264 trap 'exit_status=$?
2265   # Save into config.log some information that might help in debugging.
2266   {
2267     echo
2268
2269     cat <<\_ASBOX
2270 ## ---------------- ##
2271 ## Cache variables. ##
2272 ## ---------------- ##
2273 _ASBOX
2274     echo
2275     # The following way of writing the cache mishandles newlines in values,
2276 (
2277   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2278     eval ac_val=\$$ac_var
2279     case $ac_val in #(
2280     *${as_nl}*)
2281       case $ac_var in #(
2282       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2283 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2284       esac
2285       case $ac_var in #(
2286       _ | IFS | as_nl) ;; #(
2287       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2288       *) { eval $ac_var=; unset $ac_var;} ;;
2289       esac ;;
2290     esac
2291   done
2292   (set) 2>&1 |
2293     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2294     *${as_nl}ac_space=\ *)
2295       sed -n \
2296         "s/'\''/'\''\\\\'\'''\''/g;
2297           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2298       ;; #(
2299     *)
2300       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2301       ;;
2302     esac |
2303     sort
2304 )
2305     echo
2306
2307     cat <<\_ASBOX
2308 ## ----------------- ##
2309 ## Output variables. ##
2310 ## ----------------- ##
2311 _ASBOX
2312     echo
2313     for ac_var in $ac_subst_vars
2314     do
2315       eval ac_val=\$$ac_var
2316       case $ac_val in
2317       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318       esac
2319       $as_echo "$ac_var='\''$ac_val'\''"
2320     done | sort
2321     echo
2322
2323     if test -n "$ac_subst_files"; then
2324       cat <<\_ASBOX
2325 ## ------------------- ##
2326 ## File substitutions. ##
2327 ## ------------------- ##
2328 _ASBOX
2329       echo
2330       for ac_var in $ac_subst_files
2331       do
2332         eval ac_val=\$$ac_var
2333         case $ac_val in
2334         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335         esac
2336         $as_echo "$ac_var='\''$ac_val'\''"
2337       done | sort
2338       echo
2339     fi
2340
2341     if test -s confdefs.h; then
2342       cat <<\_ASBOX
2343 ## ----------- ##
2344 ## confdefs.h. ##
2345 ## ----------- ##
2346 _ASBOX
2347       echo
2348       cat confdefs.h
2349       echo
2350     fi
2351     test "$ac_signal" != 0 &&
2352       $as_echo "$as_me: caught signal $ac_signal"
2353     $as_echo "$as_me: exit $exit_status"
2354   } >&5
2355   rm -f core *.core core.conftest.* &&
2356     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2357     exit $exit_status
2358 ' 0
2359 for ac_signal in 1 2 13 15; do
2360   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2361 done
2362 ac_signal=0
2363
2364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2365 rm -f -r conftest* confdefs.h
2366
2367 $as_echo "/* confdefs.h */" > confdefs.h
2368
2369 # Predefined preprocessor variables.
2370
2371 cat >>confdefs.h <<_ACEOF
2372 #define PACKAGE_NAME "$PACKAGE_NAME"
2373 _ACEOF
2374
2375 cat >>confdefs.h <<_ACEOF
2376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2377 _ACEOF
2378
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2381 _ACEOF
2382
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_STRING "$PACKAGE_STRING"
2385 _ACEOF
2386
2387 cat >>confdefs.h <<_ACEOF
2388 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2389 _ACEOF
2390
2391 cat >>confdefs.h <<_ACEOF
2392 #define PACKAGE_URL "$PACKAGE_URL"
2393 _ACEOF
2394
2395
2396 # Let the site file select an alternate cache file if it wants to.
2397 # Prefer an explicitly selected file to automatically selected ones.
2398 ac_site_file1=NONE
2399 ac_site_file2=NONE
2400 if test -n "$CONFIG_SITE"; then
2401   ac_site_file1=$CONFIG_SITE
2402 elif test "x$prefix" != xNONE; then
2403   ac_site_file1=$prefix/share/config.site
2404   ac_site_file2=$prefix/etc/config.site
2405 else
2406   ac_site_file1=$ac_default_prefix/share/config.site
2407   ac_site_file2=$ac_default_prefix/etc/config.site
2408 fi
2409 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2410 do
2411   test "x$ac_site_file" = xNONE && continue
2412   if test -r "$ac_site_file"; then
2413     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2414 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2415     sed 's/^/| /' "$ac_site_file" >&5
2416     . "$ac_site_file"
2417   fi
2418 done
2419
2420 if test -r "$cache_file"; then
2421   # Some versions of bash will fail to source /dev/null (special
2422   # files actually), so we avoid doing that.
2423   if test -f "$cache_file"; then
2424     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2425 $as_echo "$as_me: loading cache $cache_file" >&6;}
2426     case $cache_file in
2427       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2428       *)                      . "./$cache_file";;
2429     esac
2430   fi
2431 else
2432   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2433 $as_echo "$as_me: creating cache $cache_file" >&6;}
2434   >$cache_file
2435 fi
2436
2437 # Check that the precious variables saved in the cache have kept the same
2438 # value.
2439 ac_cache_corrupted=false
2440 for ac_var in $ac_precious_vars; do
2441   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2442   eval ac_new_set=\$ac_env_${ac_var}_set
2443   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2444   eval ac_new_val=\$ac_env_${ac_var}_value
2445   case $ac_old_set,$ac_new_set in
2446     set,)
2447       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2449       ac_cache_corrupted=: ;;
2450     ,set)
2451       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2453       ac_cache_corrupted=: ;;
2454     ,);;
2455     *)
2456       if test "x$ac_old_val" != "x$ac_new_val"; then
2457         # differences in whitespace do not lead to failure.
2458         ac_old_val_w=`echo x $ac_old_val`
2459         ac_new_val_w=`echo x $ac_new_val`
2460         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2461           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2463           ac_cache_corrupted=:
2464         else
2465           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2467           eval $ac_var=\$ac_old_val
2468         fi
2469         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2470 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2471         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2472 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2473       fi;;
2474   esac
2475   # Pass precious variables to config.status.
2476   if test "$ac_new_set" = set; then
2477     case $ac_new_val in
2478     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2479     *) ac_arg=$ac_var=$ac_new_val ;;
2480     esac
2481     case " $ac_configure_args " in
2482       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2483       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2484     esac
2485   fi
2486 done
2487 if $ac_cache_corrupted; then
2488   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2492   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2493 fi
2494 ## -------------------- ##
2495 ## Main body of script. ##
2496 ## -------------------- ##
2497
2498 ac_ext=c
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2503
2504
2505
2506
2507
2508
2509
2510 ac_aux_dir=
2511 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2512   for ac_t in install-sh install.sh shtool; do
2513     if test -f "$ac_dir/$ac_t"; then
2514       ac_aux_dir=$ac_dir
2515       ac_install_sh="$ac_aux_dir/$ac_t -c"
2516       break 2
2517     fi
2518   done
2519 done
2520 if test -z "$ac_aux_dir"; then
2521   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2522 fi
2523
2524 # These three variables are undocumented and unsupported,
2525 # and are intended to be withdrawn in a future Autoconf release.
2526 # They can cause serious problems if a builder's source tree is in a directory
2527 # whose full name contains unusual characters.
2528 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2529 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2530 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2531
2532
2533 # Make sure we can run config.sub.
2534 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2535   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2536
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2538 $as_echo_n "checking build system type... " >&6; }
2539 if test "${ac_cv_build+set}" = set; then :
2540   $as_echo_n "(cached) " >&6
2541 else
2542   ac_build_alias=$build_alias
2543 test "x$ac_build_alias" = x &&
2544   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2545 test "x$ac_build_alias" = x &&
2546   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2547 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2548   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2549
2550 fi
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2552 $as_echo "$ac_cv_build" >&6; }
2553 case $ac_cv_build in
2554 *-*-*) ;;
2555 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2556 esac
2557 build=$ac_cv_build
2558 ac_save_IFS=$IFS; IFS='-'
2559 set x $ac_cv_build
2560 shift
2561 build_cpu=$1
2562 build_vendor=$2
2563 shift; shift
2564 # Remember, the first character of IFS is used to create $*,
2565 # except with old shells:
2566 build_os=$*
2567 IFS=$ac_save_IFS
2568 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2569
2570
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2572 $as_echo_n "checking host system type... " >&6; }
2573 if test "${ac_cv_host+set}" = set; then :
2574   $as_echo_n "(cached) " >&6
2575 else
2576   if test "x$host_alias" = x; then
2577   ac_cv_host=$ac_cv_build
2578 else
2579   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2580     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2581 fi
2582
2583 fi
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2585 $as_echo "$ac_cv_host" >&6; }
2586 case $ac_cv_host in
2587 *-*-*) ;;
2588 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2589 esac
2590 host=$ac_cv_host
2591 ac_save_IFS=$IFS; IFS='-'
2592 set x $ac_cv_host
2593 shift
2594 host_cpu=$1
2595 host_vendor=$2
2596 shift; shift
2597 # Remember, the first character of IFS is used to create $*,
2598 # except with old shells:
2599 host_os=$*
2600 IFS=$ac_save_IFS
2601 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2602
2603
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2605 $as_echo_n "checking target system type... " >&6; }
2606 if test "${ac_cv_target+set}" = set; then :
2607   $as_echo_n "(cached) " >&6
2608 else
2609   if test "x$target_alias" = x; then
2610   ac_cv_target=$ac_cv_host
2611 else
2612   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2613     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2614 fi
2615
2616 fi
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2618 $as_echo "$ac_cv_target" >&6; }
2619 case $ac_cv_target in
2620 *-*-*) ;;
2621 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2622 esac
2623 target=$ac_cv_target
2624 ac_save_IFS=$IFS; IFS='-'
2625 set x $ac_cv_target
2626 shift
2627 target_cpu=$1
2628 target_vendor=$2
2629 shift; shift
2630 # Remember, the first character of IFS is used to create $*,
2631 # except with old shells:
2632 target_os=$*
2633 IFS=$ac_save_IFS
2634 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2635
2636
2637 # The aliases save the names the user supplied, while $host etc.
2638 # will get canonicalized.
2639 test -n "$target_alias" &&
2640   test "$program_prefix$program_suffix$program_transform_name" = \
2641     NONENONEs,x,x, &&
2642   program_prefix=${target_alias}-
2643
2644
2645 # Checks for programs.
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2647 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2648 set x ${MAKE-make}
2649 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2650 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2651   $as_echo_n "(cached) " >&6
2652 else
2653   cat >conftest.make <<\_ACEOF
2654 SHELL = /bin/sh
2655 all:
2656         @echo '@@@%%%=$(MAKE)=@@@%%%'
2657 _ACEOF
2658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2659 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2660   *@@@%%%=?*=@@@%%%*)
2661     eval ac_cv_prog_make_${ac_make}_set=yes;;
2662   *)
2663     eval ac_cv_prog_make_${ac_make}_set=no;;
2664 esac
2665 rm -f conftest.make
2666 fi
2667 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2669 $as_echo "yes" >&6; }
2670   SET_MAKE=
2671 else
2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2674   SET_MAKE="MAKE=${MAKE-make}"
2675 fi
2676
2677 # Find a good install program.  We prefer a C program (faster),
2678 # so one script is as good as another.  But avoid the broken or
2679 # incompatible versions:
2680 # SysV /etc/install, /usr/sbin/install
2681 # SunOS /usr/etc/install
2682 # IRIX /sbin/install
2683 # AIX /bin/install
2684 # AmigaOS /C/install, which installs bootblocks on floppy discs
2685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2688 # OS/2's system install, which has a completely different semantic
2689 # ./install, which can be erroneously created by make from ./install.sh.
2690 # Reject install programs that cannot install multiple files.
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2692 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2693 if test -z "$INSTALL"; then
2694 if test "${ac_cv_path_install+set}" = set; then :
2695   $as_echo_n "(cached) " >&6
2696 else
2697   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 for as_dir in $PATH
2699 do
2700   IFS=$as_save_IFS
2701   test -z "$as_dir" && as_dir=.
2702     # Account for people who put trailing slashes in PATH elements.
2703 case $as_dir/ in #((
2704   ./ | .// | /[cC]/* | \
2705   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2706   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2707   /usr/ucb/* ) ;;
2708   *)
2709     # OSF1 and SCO ODT 3.0 have their own names for install.
2710     # Don't use installbsd from OSF since it installs stuff as root
2711     # by default.
2712     for ac_prog in ginstall scoinst install; do
2713       for ac_exec_ext in '' $ac_executable_extensions; do
2714         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2715           if test $ac_prog = install &&
2716             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2717             # AIX install.  It has an incompatible calling convention.
2718             :
2719           elif test $ac_prog = install &&
2720             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2721             # program-specific install script used by HP pwplus--don't use.
2722             :
2723           else
2724             rm -rf conftest.one conftest.two conftest.dir
2725             echo one > conftest.one
2726             echo two > conftest.two
2727             mkdir conftest.dir
2728             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2729               test -s conftest.one && test -s conftest.two &&
2730               test -s conftest.dir/conftest.one &&
2731               test -s conftest.dir/conftest.two
2732             then
2733               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2734               break 3
2735             fi
2736           fi
2737         fi
2738       done
2739     done
2740     ;;
2741 esac
2742
2743   done
2744 IFS=$as_save_IFS
2745
2746 rm -rf conftest.one conftest.two conftest.dir
2747
2748 fi
2749   if test "${ac_cv_path_install+set}" = set; then
2750     INSTALL=$ac_cv_path_install
2751   else
2752     # As a last resort, use the slow shell script.  Don't cache a
2753     # value for INSTALL within a source directory, because that will
2754     # break other packages using the cache if that directory is
2755     # removed, or if the value is a relative name.
2756     INSTALL=$ac_install_sh
2757   fi
2758 fi
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2760 $as_echo "$INSTALL" >&6; }
2761
2762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2763 # It thinks the first close brace ends the variable substitution.
2764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2765
2766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2767
2768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2769
2770 ac_ext=c
2771 ac_cpp='$CPP $CPPFLAGS'
2772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 if test -n "$ac_tool_prefix"; then
2776   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2777 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if test "${ac_cv_prog_CC+set}" = set; then :
2781   $as_echo_n "(cached) " >&6
2782 else
2783   if test -n "$CC"; then
2784   ac_cv_prog_CC="$CC" # Let the user override the test.
2785 else
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2788 do
2789   IFS=$as_save_IFS
2790   test -z "$as_dir" && as_dir=.
2791     for ac_exec_ext in '' $ac_executable_extensions; do
2792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795     break 2
2796   fi
2797 done
2798   done
2799 IFS=$as_save_IFS
2800
2801 fi
2802 fi
2803 CC=$ac_cv_prog_CC
2804 if test -n "$CC"; then
2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2807 else
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2810 fi
2811
2812
2813 fi
2814 if test -z "$ac_cv_prog_CC"; then
2815   ac_ct_CC=$CC
2816   # Extract the first word of "gcc", so it can be a program name with args.
2817 set dummy gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   if test -n "$ac_ct_CC"; then
2824   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829   IFS=$as_save_IFS
2830   test -z "$as_dir" && as_dir=.
2831     for ac_exec_ext in '' $ac_executable_extensions; do
2832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833     ac_cv_prog_ac_ct_CC="gcc"
2834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835     break 2
2836   fi
2837 done
2838   done
2839 IFS=$as_save_IFS
2840
2841 fi
2842 fi
2843 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2844 if test -n "$ac_ct_CC"; then
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2846 $as_echo "$ac_ct_CC" >&6; }
2847 else
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 fi
2851
2852   if test "x$ac_ct_CC" = x; then
2853     CC=""
2854   else
2855     case $cross_compiling:$ac_tool_warned in
2856 yes:)
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned=yes ;;
2860 esac
2861     CC=$ac_ct_CC
2862   fi
2863 else
2864   CC="$ac_cv_prog_CC"
2865 fi
2866
2867 if test -z "$CC"; then
2868           if test -n "$ac_tool_prefix"; then
2869     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2870 set dummy ${ac_tool_prefix}cc; ac_word=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if test "${ac_cv_prog_CC+set}" = set; then :
2874   $as_echo_n "(cached) " >&6
2875 else
2876   if test -n "$CC"; then
2877   ac_cv_prog_CC="$CC" # Let the user override the test.
2878 else
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH
2881 do
2882   IFS=$as_save_IFS
2883   test -z "$as_dir" && as_dir=.
2884     for ac_exec_ext in '' $ac_executable_extensions; do
2885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886     ac_cv_prog_CC="${ac_tool_prefix}cc"
2887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888     break 2
2889   fi
2890 done
2891   done
2892 IFS=$as_save_IFS
2893
2894 fi
2895 fi
2896 CC=$ac_cv_prog_CC
2897 if test -n "$CC"; then
2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2900 else
2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903 fi
2904
2905
2906   fi
2907 fi
2908 if test -z "$CC"; then
2909   # Extract the first word of "cc", so it can be a program name with args.
2910 set dummy cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_CC+set}" = set; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$CC"; then
2917   ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919   ac_prog_rejected=no
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923   IFS=$as_save_IFS
2924   test -z "$as_dir" && as_dir=.
2925     for ac_exec_ext in '' $ac_executable_extensions; do
2926   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2928        ac_prog_rejected=yes
2929        continue
2930      fi
2931     ac_cv_prog_CC="cc"
2932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933     break 2
2934   fi
2935 done
2936   done
2937 IFS=$as_save_IFS
2938
2939 if test $ac_prog_rejected = yes; then
2940   # We found a bogon in the path, so make sure we never use it.
2941   set dummy $ac_cv_prog_CC
2942   shift
2943   if test $# != 0; then
2944     # We chose a different compiler from the bogus one.
2945     # However, it has the same basename, so the bogon will be chosen
2946     # first if we set CC to just the basename; use the full file name.
2947     shift
2948     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2949   fi
2950 fi
2951 fi
2952 fi
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2957 else
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2960 fi
2961
2962
2963 fi
2964 if test -z "$CC"; then
2965   if test -n "$ac_tool_prefix"; then
2966   for ac_prog in cl.exe
2967   do
2968     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_CC+set}" = set; then :
2973   $as_echo_n "(cached) " >&6
2974 else
2975   if test -n "$CC"; then
2976   ac_cv_prog_CC="$CC" # Let the user override the test.
2977 else
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2980 do
2981   IFS=$as_save_IFS
2982   test -z "$as_dir" && as_dir=.
2983     for ac_exec_ext in '' $ac_executable_extensions; do
2984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987     break 2
2988   fi
2989 done
2990   done
2991 IFS=$as_save_IFS
2992
2993 fi
2994 fi
2995 CC=$ac_cv_prog_CC
2996 if test -n "$CC"; then
2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
2999 else
3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3002 fi
3003
3004
3005     test -n "$CC" && break
3006   done
3007 fi
3008 if test -z "$CC"; then
3009   ac_ct_CC=$CC
3010   for ac_prog in cl.exe
3011 do
3012   # Extract the first word of "$ac_prog", so it can be a program name with args.
3013 set dummy $ac_prog; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3017   $as_echo_n "(cached) " >&6
3018 else
3019   if test -n "$ac_ct_CC"; then
3020   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3024 do
3025   IFS=$as_save_IFS
3026   test -z "$as_dir" && as_dir=.
3027     for ac_exec_ext in '' $ac_executable_extensions; do
3028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029     ac_cv_prog_ac_ct_CC="$ac_prog"
3030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031     break 2
3032   fi
3033 done
3034   done
3035 IFS=$as_save_IFS
3036
3037 fi
3038 fi
3039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3042 $as_echo "$ac_ct_CC" >&6; }
3043 else
3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3046 fi
3047
3048
3049   test -n "$ac_ct_CC" && break
3050 done
3051
3052   if test "x$ac_ct_CC" = x; then
3053     CC=""
3054   else
3055     case $cross_compiling:$ac_tool_warned in
3056 yes:)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3059 ac_tool_warned=yes ;;
3060 esac
3061     CC=$ac_ct_CC
3062   fi
3063 fi
3064
3065 fi
3066
3067
3068 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error "no acceptable C compiler found in \$PATH
3071 See \`config.log' for more details." "$LINENO" 5; }
3072
3073 # Provide some information about the compiler.
3074 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3075 set X $ac_compile
3076 ac_compiler=$2
3077 for ac_option in --version -v -V -qversion; do
3078   { { ac_try="$ac_compiler $ac_option >&5"
3079 case "(($ac_try" in
3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081   *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086   ac_status=$?
3087   if test -s conftest.err; then
3088     sed '10a\
3089 ... rest of stderr output deleted ...
3090          10q' conftest.err >conftest.er1
3091     cat conftest.er1 >&5
3092     rm -f conftest.er1 conftest.err
3093   fi
3094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095   test $ac_status = 0; }
3096 done
3097
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h.  */
3100
3101 int
3102 main ()
3103 {
3104
3105   ;
3106   return 0;
3107 }
3108 _ACEOF
3109 ac_clean_files_save=$ac_clean_files
3110 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3111 # Try to create an executable without -o first, disregard a.out.
3112 # It will help us diagnose broken compilers, and finding out an intuition
3113 # of exeext.
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3115 $as_echo_n "checking for C compiler default output file name... " >&6; }
3116 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3117
3118 # The possible output files:
3119 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3120
3121 ac_rmfiles=
3122 for ac_file in $ac_files
3123 do
3124   case $ac_file in
3125     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3127   esac
3128 done
3129 rm -f $ac_rmfiles
3130
3131 if { { ac_try="$ac_link_default"
3132 case "(($ac_try" in
3133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134   *) ac_try_echo=$ac_try;;
3135 esac
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138   (eval "$ac_link_default") 2>&5
3139   ac_status=$?
3140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141   test $ac_status = 0; }; then :
3142   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3144 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3145 # so that the user can short-circuit this test for compilers unknown to
3146 # Autoconf.
3147 for ac_file in $ac_files ''
3148 do
3149   test -f "$ac_file" || continue
3150   case $ac_file in
3151     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3152         ;;
3153     [ab].out )
3154         # We found the default executable, but exeext='' is most
3155         # certainly right.
3156         break;;
3157     *.* )
3158         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3159         then :; else
3160            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3161         fi
3162         # We set ac_cv_exeext here because the later test for it is not
3163         # safe: cross compilers may not add the suffix if given an `-o'
3164         # argument, so we may need to know it at that point already.
3165         # Even if this section looks crufty: it has the advantage of
3166         # actually working.
3167         break;;
3168     * )
3169         break;;
3170   esac
3171 done
3172 test "$ac_cv_exeext" = no && ac_cv_exeext=
3173
3174 else
3175   ac_file=''
3176 fi
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3178 $as_echo "$ac_file" >&6; }
3179 if test -z "$ac_file"; then :
3180   $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3182
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 { as_fn_set_status 77
3186 as_fn_error "C compiler cannot create executables
3187 See \`config.log' for more details." "$LINENO" 5; }; }
3188 fi
3189 ac_exeext=$ac_cv_exeext
3190
3191 # Check that the compiler produces executables we can run.  If not, either
3192 # the compiler is broken, or we cross compile.
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3194 $as_echo_n "checking whether the C compiler works... " >&6; }
3195 # If not cross compiling, check that we can run a simple program.
3196 if test "$cross_compiling" != yes; then
3197   if { ac_try='./$ac_file'
3198   { { case "(($ac_try" in
3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200   *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204   (eval "$ac_try") 2>&5
3205   ac_status=$?
3206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207   test $ac_status = 0; }; }; then
3208     cross_compiling=no
3209   else
3210     if test "$cross_compiling" = maybe; then
3211         cross_compiling=yes
3212     else
3213         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error "cannot run C compiled programs.
3216 If you meant to cross compile, use \`--host'.
3217 See \`config.log' for more details." "$LINENO" 5; }
3218     fi
3219   fi
3220 fi
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3223
3224 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3225 ac_clean_files=$ac_clean_files_save
3226 # Check that the compiler produces executables we can run.  If not, either
3227 # the compiler is broken, or we cross compile.
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3229 $as_echo_n "checking whether we are cross compiling... " >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3231 $as_echo "$cross_compiling" >&6; }
3232
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3234 $as_echo_n "checking for suffix of executables... " >&6; }
3235 if { { ac_try="$ac_link"
3236 case "(($ac_try" in
3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238   *) ac_try_echo=$ac_try;;
3239 esac
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242   (eval "$ac_link") 2>&5
3243   ac_status=$?
3244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245   test $ac_status = 0; }; then :
3246   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3247 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3248 # work properly (i.e., refer to `conftest.exe'), while it won't with
3249 # `rm'.
3250 for ac_file in conftest.exe conftest conftest.*; do
3251   test -f "$ac_file" || continue
3252   case $ac_file in
3253     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3254     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3255           break;;
3256     * ) break;;
3257   esac
3258 done
3259 else
3260   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error "cannot compute suffix of executables: cannot compile and link
3263 See \`config.log' for more details." "$LINENO" 5; }
3264 fi
3265 rm -f conftest$ac_cv_exeext
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3267 $as_echo "$ac_cv_exeext" >&6; }
3268
3269 rm -f conftest.$ac_ext
3270 EXEEXT=$ac_cv_exeext
3271 ac_exeext=$EXEEXT
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3273 $as_echo_n "checking for suffix of object files... " >&6; }
3274 if test "${ac_cv_objext+set}" = set; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h.  */
3279
3280 int
3281 main ()
3282 {
3283
3284   ;
3285   return 0;
3286 }
3287 _ACEOF
3288 rm -f conftest.o conftest.obj
3289 if { { ac_try="$ac_compile"
3290 case "(($ac_try" in
3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292   *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 $as_echo "$ac_try_echo"; } >&5
3296   (eval "$ac_compile") 2>&5
3297   ac_status=$?
3298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299   test $ac_status = 0; }; then :
3300   for ac_file in conftest.o conftest.obj conftest.*; do
3301   test -f "$ac_file" || continue;
3302   case $ac_file in
3303     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3304     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3305        break;;
3306   esac
3307 done
3308 else
3309   $as_echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3311
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error "cannot compute suffix of object files: cannot compile
3315 See \`config.log' for more details." "$LINENO" 5; }
3316 fi
3317 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3318 fi
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3320 $as_echo "$ac_cv_objext" >&6; }
3321 OBJEXT=$ac_cv_objext
3322 ac_objext=$OBJEXT
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3324 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3325 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3326   $as_echo_n "(cached) " >&6
3327 else
3328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h.  */
3330
3331 int
3332 main ()
3333 {
3334 #ifndef __GNUC__
3335        choke me
3336 #endif
3337
3338   ;
3339   return 0;
3340 }
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343   ac_compiler_gnu=yes
3344 else
3345   ac_compiler_gnu=no
3346 fi
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3349
3350 fi
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3352 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3353 if test $ac_compiler_gnu = yes; then
3354   GCC=yes
3355 else
3356   GCC=
3357 fi
3358 ac_test_CFLAGS=${CFLAGS+set}
3359 ac_save_CFLAGS=$CFLAGS
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3361 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3362 if test "${ac_cv_prog_cc_g+set}" = set; then :
3363   $as_echo_n "(cached) " >&6
3364 else
3365   ac_save_c_werror_flag=$ac_c_werror_flag
3366    ac_c_werror_flag=yes
3367    ac_cv_prog_cc_g=no
3368    CFLAGS="-g"
3369    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h.  */
3371
3372 int
3373 main ()
3374 {
3375
3376   ;
3377   return 0;
3378 }
3379 _ACEOF
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381   ac_cv_prog_cc_g=yes
3382 else
3383   CFLAGS=""
3384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h.  */
3386
3387 int
3388 main ()
3389 {
3390
3391   ;
3392   return 0;
3393 }
3394 _ACEOF
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396
3397 else
3398   ac_c_werror_flag=$ac_save_c_werror_flag
3399          CFLAGS="-g"
3400          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h.  */
3402
3403 int
3404 main ()
3405 {
3406
3407   ;
3408   return 0;
3409 }
3410 _ACEOF
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412   ac_cv_prog_cc_g=yes
3413 fi
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 fi
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 fi
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3419    ac_c_werror_flag=$ac_save_c_werror_flag
3420 fi
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3422 $as_echo "$ac_cv_prog_cc_g" >&6; }
3423 if test "$ac_test_CFLAGS" = set; then
3424   CFLAGS=$ac_save_CFLAGS
3425 elif test $ac_cv_prog_cc_g = yes; then
3426   if test "$GCC" = yes; then
3427     CFLAGS="-g -O2"
3428   else
3429     CFLAGS="-g"
3430   fi
3431 else
3432   if test "$GCC" = yes; then
3433     CFLAGS="-O2"
3434   else
3435     CFLAGS=
3436   fi
3437 fi
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3439 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3440 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3441   $as_echo_n "(cached) " >&6
3442 else
3443   ac_cv_prog_cc_c89=no
3444 ac_save_CC=$CC
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h.  */
3447 #include <stdarg.h>
3448 #include <stdio.h>
3449 #include <sys/types.h>
3450 #include <sys/stat.h>
3451 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3452 struct buf { int x; };
3453 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3454 static char *e (p, i)
3455      char **p;
3456      int i;
3457 {
3458   return p[i];
3459 }
3460 static char *f (char * (*g) (char **, int), char **p, ...)
3461 {
3462   char *s;
3463   va_list v;
3464   va_start (v,p);
3465   s = g (p, va_arg (v,int));
3466   va_end (v);
3467   return s;
3468 }
3469
3470 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3471    function prototypes and stuff, but not '\xHH' hex character constants.
3472    These don't provoke an error unfortunately, instead are silently treated
3473    as 'x'.  The following induces an error, until -std is added to get
3474    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3475    array size at least.  It's necessary to write '\x00'==0 to get something
3476    that's true only with -std.  */
3477 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3478
3479 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3480    inside strings and character constants.  */
3481 #define FOO(x) 'x'
3482 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3483
3484 int test (int i, double x);
3485 struct s1 {int (*f) (int a);};
3486 struct s2 {int (*f) (double a);};
3487 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3488 int argc;
3489 char **argv;
3490 int
3491 main ()
3492 {
3493 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3494   ;
3495   return 0;
3496 }
3497 _ACEOF
3498 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3499         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3500 do
3501   CC="$ac_save_CC $ac_arg"
3502   if ac_fn_c_try_compile "$LINENO"; then :
3503   ac_cv_prog_cc_c89=$ac_arg
3504 fi
3505 rm -f core conftest.err conftest.$ac_objext
3506   test "x$ac_cv_prog_cc_c89" != "xno" && break
3507 done
3508 rm -f conftest.$ac_ext
3509 CC=$ac_save_CC
3510
3511 fi
3512 # AC_CACHE_VAL
3513 case "x$ac_cv_prog_cc_c89" in
3514   x)
3515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3516 $as_echo "none needed" >&6; } ;;
3517   xno)
3518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3519 $as_echo "unsupported" >&6; } ;;
3520   *)
3521     CC="$CC $ac_cv_prog_cc_c89"
3522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3523 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3524 esac
3525 if test "x$ac_cv_prog_cc_c89" != xno; then :
3526
3527 fi
3528
3529 ac_ext=c
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534
3535 ac_ext=cpp
3536 ac_cpp='$CXXCPP $CPPFLAGS'
3537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3540 if test -z "$CXX"; then
3541   if test -n "$CCC"; then
3542     CXX=$CCC
3543   else
3544     if test -n "$ac_tool_prefix"; then
3545   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3546   do
3547     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3548 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_CXX+set}" = set; then :
3552   $as_echo_n "(cached) " >&6
3553 else
3554   if test -n "$CXX"; then
3555   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3559 do
3560   IFS=$as_save_IFS
3561   test -z "$as_dir" && as_dir=.
3562     for ac_exec_ext in '' $ac_executable_extensions; do
3563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566     break 2
3567   fi
3568 done
3569   done
3570 IFS=$as_save_IFS
3571
3572 fi
3573 fi
3574 CXX=$ac_cv_prog_CXX
3575 if test -n "$CXX"; then
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3577 $as_echo "$CXX" >&6; }
3578 else
3579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3581 fi
3582
3583
3584     test -n "$CXX" && break
3585   done
3586 fi
3587 if test -z "$CXX"; then
3588   ac_ct_CXX=$CXX
3589   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3590 do
3591   # Extract the first word of "$ac_prog", so it can be a program name with args.
3592 set dummy $ac_prog; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3596   $as_echo_n "(cached) " >&6
3597 else
3598   if test -n "$ac_ct_CXX"; then
3599   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604   IFS=$as_save_IFS
3605   test -z "$as_dir" && as_dir=.
3606     for ac_exec_ext in '' $ac_executable_extensions; do
3607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3608     ac_cv_prog_ac_ct_CXX="$ac_prog"
3609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610     break 2
3611   fi
3612 done
3613   done
3614 IFS=$as_save_IFS
3615
3616 fi
3617 fi
3618 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3619 if test -n "$ac_ct_CXX"; then
3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3621 $as_echo "$ac_ct_CXX" >&6; }
3622 else
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 fi
3626
3627
3628   test -n "$ac_ct_CXX" && break
3629 done
3630
3631   if test "x$ac_ct_CXX" = x; then
3632     CXX="g++"
3633   else
3634     case $cross_compiling:$ac_tool_warned in
3635 yes:)
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3638 ac_tool_warned=yes ;;
3639 esac
3640     CXX=$ac_ct_CXX
3641   fi
3642 fi
3643
3644   fi
3645 fi
3646 # Provide some information about the compiler.
3647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3648 set X $ac_compile
3649 ac_compiler=$2
3650 for ac_option in --version -v -V -qversion; do
3651   { { ac_try="$ac_compiler $ac_option >&5"
3652 case "(($ac_try" in
3653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654   *) ac_try_echo=$ac_try;;
3655 esac
3656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 $as_echo "$ac_try_echo"; } >&5
3658   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3659   ac_status=$?
3660   if test -s conftest.err; then
3661     sed '10a\
3662 ... rest of stderr output deleted ...
3663          10q' conftest.err >conftest.er1
3664     cat conftest.er1 >&5
3665     rm -f conftest.er1 conftest.err
3666   fi
3667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668   test $ac_status = 0; }
3669 done
3670
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3672 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3673 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h.  */
3678
3679 int
3680 main ()
3681 {
3682 #ifndef __GNUC__
3683        choke me
3684 #endif
3685
3686   ;
3687   return 0;
3688 }
3689 _ACEOF
3690 if ac_fn_cxx_try_compile "$LINENO"; then :
3691   ac_compiler_gnu=yes
3692 else
3693   ac_compiler_gnu=no
3694 fi
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3697
3698 fi
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3700 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3701 if test $ac_compiler_gnu = yes; then
3702   GXX=yes
3703 else
3704   GXX=
3705 fi
3706 ac_test_CXXFLAGS=${CXXFLAGS+set}
3707 ac_save_CXXFLAGS=$CXXFLAGS
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3709 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3710 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3711   $as_echo_n "(cached) " >&6
3712 else
3713   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3714    ac_cxx_werror_flag=yes
3715    ac_cv_prog_cxx_g=no
3716    CXXFLAGS="-g"
3717    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h.  */
3719
3720 int
3721 main ()
3722 {
3723
3724   ;
3725   return 0;
3726 }
3727 _ACEOF
3728 if ac_fn_cxx_try_compile "$LINENO"; then :
3729   ac_cv_prog_cxx_g=yes
3730 else
3731   CXXFLAGS=""
3732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h.  */
3734
3735 int
3736 main ()
3737 {
3738
3739   ;
3740   return 0;
3741 }
3742 _ACEOF
3743 if ac_fn_cxx_try_compile "$LINENO"; then :
3744
3745 else
3746   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3747          CXXFLAGS="-g"
3748          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h.  */
3750
3751 int
3752 main ()
3753 {
3754
3755   ;
3756   return 0;
3757 }
3758 _ACEOF
3759 if ac_fn_cxx_try_compile "$LINENO"; then :
3760   ac_cv_prog_cxx_g=yes
3761 fi
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 fi
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 fi
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3768 fi
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3770 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3771 if test "$ac_test_CXXFLAGS" = set; then
3772   CXXFLAGS=$ac_save_CXXFLAGS
3773 elif test $ac_cv_prog_cxx_g = yes; then
3774   if test "$GXX" = yes; then
3775     CXXFLAGS="-g -O2"
3776   else
3777     CXXFLAGS="-g"
3778   fi
3779 else
3780   if test "$GXX" = yes; then
3781     CXXFLAGS="-O2"
3782   else
3783     CXXFLAGS=
3784   fi
3785 fi
3786 ac_ext=c
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791
3792 if test -n "$ac_tool_prefix"; then
3793   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3794 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3798   $as_echo_n "(cached) " >&6
3799 else
3800   if test -n "$RANLIB"; then
3801   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806   IFS=$as_save_IFS
3807   test -z "$as_dir" && as_dir=.
3808     for ac_exec_ext in '' $ac_executable_extensions; do
3809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812     break 2
3813   fi
3814 done
3815   done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 RANLIB=$ac_cv_prog_RANLIB
3821 if test -n "$RANLIB"; then
3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3823 $as_echo "$RANLIB" >&6; }
3824 else
3825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 fi
3831 if test -z "$ac_cv_prog_RANLIB"; then
3832   ac_ct_RANLIB=$RANLIB
3833   # Extract the first word of "ranlib", so it can be a program name with args.
3834 set dummy ranlib; ac_word=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3838   $as_echo_n "(cached) " >&6
3839 else
3840   if test -n "$ac_ct_RANLIB"; then
3841   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3842 else
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 for as_dir in $PATH
3845 do
3846   IFS=$as_save_IFS
3847   test -z "$as_dir" && as_dir=.
3848     for ac_exec_ext in '' $ac_executable_extensions; do
3849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850     ac_cv_prog_ac_ct_RANLIB="ranlib"
3851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852     break 2
3853   fi
3854 done
3855   done
3856 IFS=$as_save_IFS
3857
3858 fi
3859 fi
3860 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3861 if test -n "$ac_ct_RANLIB"; then
3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3863 $as_echo "$ac_ct_RANLIB" >&6; }
3864 else
3865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867 fi
3868
3869   if test "x$ac_ct_RANLIB" = x; then
3870     RANLIB=":"
3871   else
3872     case $cross_compiling:$ac_tool_warned in
3873 yes:)
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned=yes ;;
3877 esac
3878     RANLIB=$ac_ct_RANLIB
3879   fi
3880 else
3881   RANLIB="$ac_cv_prog_RANLIB"
3882 fi
3883
3884
3885
3886 ac_ext=c
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3892 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3893 # On Suns, sometimes $CPP names a directory.
3894 if test -n "$CPP" && test -d "$CPP"; then
3895   CPP=
3896 fi
3897 if test -z "$CPP"; then
3898   if test "${ac_cv_prog_CPP+set}" = set; then :
3899   $as_echo_n "(cached) " >&6
3900 else
3901       # Double quotes because CPP needs to be expanded
3902     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3903     do
3904       ac_preproc_ok=false
3905 for ac_c_preproc_warn_flag in '' yes
3906 do
3907   # Use a header file that comes with gcc, so configuring glibc
3908   # with a fresh cross-compiler works.
3909   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3910   # <limits.h> exists even on freestanding compilers.
3911   # On the NeXT, cc -E runs the code through the compiler's parser,
3912   # not just through cpp. "Syntax error" is here to catch this case.
3913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h.  */
3915 #ifdef __STDC__
3916 # include <limits.h>
3917 #else
3918 # include <assert.h>
3919 #endif
3920                      Syntax error
3921 _ACEOF
3922 if ac_fn_c_try_cpp "$LINENO"; then :
3923
3924 else
3925   # Broken: fails on valid input.
3926 continue
3927 fi
3928 rm -f conftest.err conftest.$ac_ext
3929
3930   # OK, works on sane cases.  Now check whether nonexistent headers
3931   # can be detected and how.
3932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h.  */
3934 #include <ac_nonexistent.h>
3935 _ACEOF
3936 if ac_fn_c_try_cpp "$LINENO"; then :
3937   # Broken: success on invalid input.
3938 continue
3939 else
3940   # Passes both tests.
3941 ac_preproc_ok=:
3942 break
3943 fi
3944 rm -f conftest.err conftest.$ac_ext
3945
3946 done
3947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3948 rm -f conftest.err conftest.$ac_ext
3949 if $ac_preproc_ok; then :
3950   break
3951 fi
3952
3953     done
3954     ac_cv_prog_CPP=$CPP
3955
3956 fi
3957   CPP=$ac_cv_prog_CPP
3958 else
3959   ac_cv_prog_CPP=$CPP
3960 fi
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3962 $as_echo "$CPP" >&6; }
3963 ac_preproc_ok=false
3964 for ac_c_preproc_warn_flag in '' yes
3965 do
3966   # Use a header file that comes with gcc, so configuring glibc
3967   # with a fresh cross-compiler works.
3968   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3969   # <limits.h> exists even on freestanding compilers.
3970   # On the NeXT, cc -E runs the code through the compiler's parser,
3971   # not just through cpp. "Syntax error" is here to catch this case.
3972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h.  */
3974 #ifdef __STDC__
3975 # include <limits.h>
3976 #else
3977 # include <assert.h>
3978 #endif
3979                      Syntax error
3980 _ACEOF
3981 if ac_fn_c_try_cpp "$LINENO"; then :
3982
3983 else
3984   # Broken: fails on valid input.
3985 continue
3986 fi
3987 rm -f conftest.err conftest.$ac_ext
3988
3989   # OK, works on sane cases.  Now check whether nonexistent headers
3990   # can be detected and how.
3991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h.  */
3993 #include <ac_nonexistent.h>
3994 _ACEOF
3995 if ac_fn_c_try_cpp "$LINENO"; then :
3996   # Broken: success on invalid input.
3997 continue
3998 else
3999   # Passes both tests.
4000 ac_preproc_ok=:
4001 break
4002 fi
4003 rm -f conftest.err conftest.$ac_ext
4004
4005 done
4006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4007 rm -f conftest.err conftest.$ac_ext
4008 if $ac_preproc_ok; then :
4009
4010 else
4011   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4014 See \`config.log' for more details." "$LINENO" 5; }
4015 fi
4016
4017 ac_ext=c
4018 ac_cpp='$CPP $CPPFLAGS'
4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022
4023
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4025 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4026 if test "${ac_cv_path_GREP+set}" = set; then :
4027   $as_echo_n "(cached) " >&6
4028 else
4029   if test -z "$GREP"; then
4030   ac_path_GREP_found=false
4031   # Loop through the user's path and test for each of PROGNAME-LIST
4032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4034 do
4035   IFS=$as_save_IFS
4036   test -z "$as_dir" && as_dir=.
4037     for ac_prog in grep ggrep; do
4038     for ac_exec_ext in '' $ac_executable_extensions; do
4039       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4040       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4041 # Check for GNU ac_path_GREP and select it if it is found.
4042   # Check for GNU $ac_path_GREP
4043 case `"$ac_path_GREP" --version 2>&1` in
4044 *GNU*)
4045   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4046 *)
4047   ac_count=0
4048   $as_echo_n 0123456789 >"conftest.in"
4049   while :
4050   do
4051     cat "conftest.in" "conftest.in" >"conftest.tmp"
4052     mv "conftest.tmp" "conftest.in"
4053     cp "conftest.in" "conftest.nl"
4054     $as_echo 'GREP' >> "conftest.nl"
4055     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4056     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4057     as_fn_arith $ac_count + 1 && ac_count=$as_val
4058     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4059       # Best one so far, save it but keep looking for a better one
4060       ac_cv_path_GREP="$ac_path_GREP"
4061       ac_path_GREP_max=$ac_count
4062     fi
4063     # 10*(2^10) chars as input seems more than enough
4064     test $ac_count -gt 10 && break
4065   done
4066   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4067 esac
4068
4069       $ac_path_GREP_found && break 3
4070     done
4071   done
4072   done
4073 IFS=$as_save_IFS
4074   if test -z "$ac_cv_path_GREP"; then
4075     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4076   fi
4077 else
4078   ac_cv_path_GREP=$GREP
4079 fi
4080
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4083 $as_echo "$ac_cv_path_GREP" >&6; }
4084  GREP="$ac_cv_path_GREP"
4085
4086
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4088 $as_echo_n "checking for egrep... " >&6; }
4089 if test "${ac_cv_path_EGREP+set}" = set; then :
4090   $as_echo_n "(cached) " >&6
4091 else
4092   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4093    then ac_cv_path_EGREP="$GREP -E"
4094    else
4095      if test -z "$EGREP"; then
4096   ac_path_EGREP_found=false
4097   # Loop through the user's path and test for each of PROGNAME-LIST
4098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4100 do
4101   IFS=$as_save_IFS
4102   test -z "$as_dir" && as_dir=.
4103     for ac_prog in egrep; do
4104     for ac_exec_ext in '' $ac_executable_extensions; do
4105       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4106       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4107 # Check for GNU ac_path_EGREP and select it if it is found.
4108   # Check for GNU $ac_path_EGREP
4109 case `"$ac_path_EGREP" --version 2>&1` in
4110 *GNU*)
4111   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4112 *)
4113   ac_count=0
4114   $as_echo_n 0123456789 >"conftest.in"
4115   while :
4116   do
4117     cat "conftest.in" "conftest.in" >"conftest.tmp"
4118     mv "conftest.tmp" "conftest.in"
4119     cp "conftest.in" "conftest.nl"
4120     $as_echo 'EGREP' >> "conftest.nl"
4121     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4122     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4123     as_fn_arith $ac_count + 1 && ac_count=$as_val
4124     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4125       # Best one so far, save it but keep looking for a better one
4126       ac_cv_path_EGREP="$ac_path_EGREP"
4127       ac_path_EGREP_max=$ac_count
4128     fi
4129     # 10*(2^10) chars as input seems more than enough
4130     test $ac_count -gt 10 && break
4131   done
4132   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4133 esac
4134
4135       $ac_path_EGREP_found && break 3
4136     done
4137   done
4138   done
4139 IFS=$as_save_IFS
4140   if test -z "$ac_cv_path_EGREP"; then
4141     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4142   fi
4143 else
4144   ac_cv_path_EGREP=$EGREP
4145 fi
4146
4147    fi
4148 fi
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4150 $as_echo "$ac_cv_path_EGREP" >&6; }
4151  EGREP="$ac_cv_path_EGREP"
4152
4153
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4155 $as_echo_n "checking for ANSI C header files... " >&6; }
4156 if test "${ac_cv_header_stdc+set}" = set; then :
4157   $as_echo_n "(cached) " >&6
4158 else
4159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h.  */
4161 #include <stdlib.h>
4162 #include <stdarg.h>
4163 #include <string.h>
4164 #include <float.h>
4165
4166 int
4167 main ()
4168 {
4169
4170   ;
4171   return 0;
4172 }
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175   ac_cv_header_stdc=yes
4176 else
4177   ac_cv_header_stdc=no
4178 fi
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180
4181 if test $ac_cv_header_stdc = yes; then
4182   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h.  */
4185 #include <string.h>
4186
4187 _ACEOF
4188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4189   $EGREP "memchr" >/dev/null 2>&1; then :
4190
4191 else
4192   ac_cv_header_stdc=no
4193 fi
4194 rm -f conftest*
4195
4196 fi
4197
4198 if test $ac_cv_header_stdc = yes; then
4199   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h.  */
4202 #include <stdlib.h>
4203
4204 _ACEOF
4205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4206   $EGREP "free" >/dev/null 2>&1; then :
4207
4208 else
4209   ac_cv_header_stdc=no
4210 fi
4211 rm -f conftest*
4212
4213 fi
4214
4215 if test $ac_cv_header_stdc = yes; then
4216   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4217   if test "$cross_compiling" = yes; then :
4218   :
4219 else
4220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h.  */
4222 #include <ctype.h>
4223 #include <stdlib.h>
4224 #if ((' ' & 0x0FF) == 0x020)
4225 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4226 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4227 #else
4228 # define ISLOWER(c) \
4229                    (('a' <= (c) && (c) <= 'i') \
4230                      || ('j' <= (c) && (c) <= 'r') \
4231                      || ('s' <= (c) && (c) <= 'z'))
4232 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4233 #endif
4234
4235 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4236 int
4237 main ()
4238 {
4239   int i;
4240   for (i = 0; i < 256; i++)
4241     if (XOR (islower (i), ISLOWER (i))
4242         || toupper (i) != TOUPPER (i))
4243       return 2;
4244   return 0;
4245 }
4246 _ACEOF
4247 if ac_fn_c_try_run "$LINENO"; then :
4248
4249 else
4250   ac_cv_header_stdc=no
4251 fi
4252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4253   conftest.$ac_objext conftest.beam conftest.$ac_ext
4254 fi
4255
4256 fi
4257 fi
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4259 $as_echo "$ac_cv_header_stdc" >&6; }
4260 if test $ac_cv_header_stdc = yes; then
4261
4262 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4263
4264 fi
4265
4266 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4267 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4268                   inttypes.h stdint.h unistd.h
4269 do :
4270   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4272 "
4273 eval as_val=\$$as_ac_Header
4274    if test "x$as_val" = x""yes; then :
4275   cat >>confdefs.h <<_ACEOF
4276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4277 _ACEOF
4278
4279 fi
4280
4281 done
4282
4283
4284
4285   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4286 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4287   MINIX=yes
4288 else
4289   MINIX=
4290 fi
4291
4292
4293   if test "$MINIX" = yes; then
4294
4295 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4296
4297
4298 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4299
4300
4301 $as_echo "#define _MINIX 1" >>confdefs.h
4302
4303   fi
4304
4305
4306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4307 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4308 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4309   $as_echo_n "(cached) " >&6
4310 else
4311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h.  */
4313
4314 #         define __EXTENSIONS__ 1
4315           $ac_includes_default
4316 int
4317 main ()
4318 {
4319
4320   ;
4321   return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325   ac_cv_safe_to_define___extensions__=yes
4326 else
4327   ac_cv_safe_to_define___extensions__=no
4328 fi
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 fi
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4332 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4333   test $ac_cv_safe_to_define___extensions__ = yes &&
4334     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4335
4336   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4337
4338   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4339
4340   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4341
4342   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4343
4344
4345 # Check whether --enable-largefile was given.
4346 if test "${enable_largefile+set}" = set; then :
4347   enableval=$enable_largefile;
4348 fi
4349
4350 if test "$enable_largefile" != no; then
4351
4352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4353 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4354 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   ac_cv_sys_largefile_CC=no
4358      if test "$GCC" != yes; then
4359        ac_save_CC=$CC
4360        while :; do
4361          # IRIX 6.2 and later do not support large files by default,
4362          # so use the C compiler's -n32 option if that helps.
4363          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h.  */
4365 #include <sys/types.h>
4366  /* Check that off_t can represent 2**63 - 1 correctly.
4367     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4368     since some C++ compilers masquerading as C compilers
4369     incorrectly reject 9223372036854775807.  */
4370 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4371   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4372                        && LARGE_OFF_T % 2147483647 == 1)
4373                       ? 1 : -1];
4374 int
4375 main ()
4376 {
4377
4378   ;
4379   return 0;
4380 }
4381 _ACEOF
4382          if ac_fn_c_try_compile "$LINENO"; then :
4383   break
4384 fi
4385 rm -f core conftest.err conftest.$ac_objext
4386          CC="$CC -n32"
4387          if ac_fn_c_try_compile "$LINENO"; then :
4388   ac_cv_sys_largefile_CC=' -n32'; break
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext
4391          break
4392        done
4393        CC=$ac_save_CC
4394        rm -f conftest.$ac_ext
4395     fi
4396 fi
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4398 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4399   if test "$ac_cv_sys_largefile_CC" != no; then
4400     CC=$CC$ac_cv_sys_largefile_CC
4401   fi
4402
4403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4404 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4405 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   while :; do
4409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h.  */
4411 #include <sys/types.h>
4412  /* Check that off_t can represent 2**63 - 1 correctly.
4413     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4414     since some C++ compilers masquerading as C compilers
4415     incorrectly reject 9223372036854775807.  */
4416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4417   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4418                        && LARGE_OFF_T % 2147483647 == 1)
4419                       ? 1 : -1];
4420 int
4421 main ()
4422 {
4423
4424   ;
4425   return 0;
4426 }
4427 _ACEOF
4428 if ac_fn_c_try_compile "$LINENO"; then :
4429   ac_cv_sys_file_offset_bits=no; break
4430 fi
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h.  */
4434 #define _FILE_OFFSET_BITS 64
4435 #include <sys/types.h>
4436  /* Check that off_t can represent 2**63 - 1 correctly.
4437     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4438     since some C++ compilers masquerading as C compilers
4439     incorrectly reject 9223372036854775807.  */
4440 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4441   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4442                        && LARGE_OFF_T % 2147483647 == 1)
4443                       ? 1 : -1];
4444 int
4445 main ()
4446 {
4447
4448   ;
4449   return 0;
4450 }
4451 _ACEOF
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453   ac_cv_sys_file_offset_bits=64; break
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456   ac_cv_sys_file_offset_bits=unknown
4457   break
4458 done
4459 fi
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4461 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4462 case $ac_cv_sys_file_offset_bits in #(
4463   no | unknown) ;;
4464   *)
4465 cat >>confdefs.h <<_ACEOF
4466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4467 _ACEOF
4468 ;;
4469 esac
4470 rm -rf conftest*
4471   if test $ac_cv_sys_file_offset_bits = unknown; then
4472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4473 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4474 if test "${ac_cv_sys_large_files+set}" = set; then :
4475   $as_echo_n "(cached) " >&6
4476 else
4477   while :; do
4478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h.  */
4480 #include <sys/types.h>
4481  /* Check that off_t can represent 2**63 - 1 correctly.
4482     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4483     since some C++ compilers masquerading as C compilers
4484     incorrectly reject 9223372036854775807.  */
4485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4486   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4487                        && LARGE_OFF_T % 2147483647 == 1)
4488                       ? 1 : -1];
4489 int
4490 main ()
4491 {
4492
4493   ;
4494   return 0;
4495 }
4496 _ACEOF
4497 if ac_fn_c_try_compile "$LINENO"; then :
4498   ac_cv_sys_large_files=no; break
4499 fi
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h.  */
4503 #define _LARGE_FILES 1
4504 #include <sys/types.h>
4505  /* Check that off_t can represent 2**63 - 1 correctly.
4506     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4507     since some C++ compilers masquerading as C compilers
4508     incorrectly reject 9223372036854775807.  */
4509 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4510   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4511                        && LARGE_OFF_T % 2147483647 == 1)
4512                       ? 1 : -1];
4513 int
4514 main ()
4515 {
4516
4517   ;
4518   return 0;
4519 }
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522   ac_cv_sys_large_files=1; break
4523 fi
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525   ac_cv_sys_large_files=unknown
4526   break
4527 done
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4530 $as_echo "$ac_cv_sys_large_files" >&6; }
4531 case $ac_cv_sys_large_files in #(
4532   no | unknown) ;;
4533   *)
4534 cat >>confdefs.h <<_ACEOF
4535 #define _LARGE_FILES $ac_cv_sys_large_files
4536 _ACEOF
4537 ;;
4538 esac
4539 rm -rf conftest*
4540   fi
4541 fi
4542
4543
4544 # See if we are building gcc with C++.
4545 # Do this early so setting lang to C++ affects following tests
4546 # Check whether --enable-build-with-cxx was given.
4547 if test "${enable_build_with_cxx+set}" = set; then :
4548   enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
4549 else
4550   ENABLE_BUILD_WITH_CXX=no
4551 fi
4552
4553
4554
4555 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4556 for ac_prog in aclocal
4557 do
4558   # Extract the first word of "$ac_prog", so it can be a program name with args.
4559 set dummy $ac_prog; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
4563   $as_echo_n "(cached) " >&6
4564 else
4565   if test -n "$ACLOCAL"; then
4566   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4570 do
4571   IFS=$as_save_IFS
4572   test -z "$as_dir" && as_dir=.
4573     for ac_exec_ext in '' $ac_executable_extensions; do
4574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575     ac_cv_prog_ACLOCAL="$ac_prog"
4576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577     break 2
4578   fi
4579 done
4580   done
4581 IFS=$as_save_IFS
4582
4583 fi
4584 fi
4585 ACLOCAL=$ac_cv_prog_ACLOCAL
4586 if test -n "$ACLOCAL"; then
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4588 $as_echo "$ACLOCAL" >&6; }
4589 else
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4592 fi
4593
4594
4595   test -n "$ACLOCAL" && break
4596 done
4597 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
4598
4599 for ac_prog in autoconf
4600 do
4601   # Extract the first word of "$ac_prog", so it can be a program name with args.
4602 set dummy $ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
4606   $as_echo_n "(cached) " >&6
4607 else
4608   if test -n "$AUTOCONF"; then
4609   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4613 do
4614   IFS=$as_save_IFS
4615   test -z "$as_dir" && as_dir=.
4616     for ac_exec_ext in '' $ac_executable_extensions; do
4617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618     ac_cv_prog_AUTOCONF="$ac_prog"
4619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620     break 2
4621   fi
4622 done
4623   done
4624 IFS=$as_save_IFS
4625
4626 fi
4627 fi
4628 AUTOCONF=$ac_cv_prog_AUTOCONF
4629 if test -n "$AUTOCONF"; then
4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4631 $as_echo "$AUTOCONF" >&6; }
4632 else
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4635 fi
4636
4637
4638   test -n "$AUTOCONF" && break
4639 done
4640 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
4641
4642 for ac_prog in autoheader
4643 do
4644   # Extract the first word of "$ac_prog", so it can be a program name with args.
4645 set dummy $ac_prog; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
4649   $as_echo_n "(cached) " >&6
4650 else
4651   if test -n "$AUTOHEADER"; then
4652   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4656 do
4657   IFS=$as_save_IFS
4658   test -z "$as_dir" && as_dir=.
4659     for ac_exec_ext in '' $ac_executable_extensions; do
4660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4661     ac_cv_prog_AUTOHEADER="$ac_prog"
4662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663     break 2
4664   fi
4665 done
4666   done
4667 IFS=$as_save_IFS
4668
4669 fi
4670 fi
4671 AUTOHEADER=$ac_cv_prog_AUTOHEADER
4672 if test -n "$AUTOHEADER"; then
4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4674 $as_echo "$AUTOHEADER" >&6; }
4675 else
4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4678 fi
4679
4680
4681   test -n "$AUTOHEADER" && break
4682 done
4683 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
4684
4685
4686 # Figure out what compiler warnings we can enable.
4687 # See config/warnings.m4 for details.
4688
4689 warn=
4690 save_CFLAGS="$CFLAGS"
4691 for option in -W -Wall -Wno-narrowing -Wwrite-strings \
4692                           -Wmissing-format-attribute; do
4693   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4694
4695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4696 $as_echo_n "checking whether $CC supports $option... " >&6; }
4697 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4698   $as_echo_n "(cached) " >&6
4699 else
4700   CFLAGS="$option"
4701     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h.  */
4703
4704 int
4705 main ()
4706 {
4707
4708   ;
4709   return 0;
4710 }
4711 _ACEOF
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713   eval "$as_acx_Woption=yes"
4714 else
4715   eval "$as_acx_Woption=no"
4716 fi
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718
4719 fi
4720 eval ac_res=\$$as_acx_Woption
4721                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4722 $as_echo "$ac_res" >&6; }
4723   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4724   warn="$warn${warn:+ }$option"
4725 fi
4726   done
4727 CFLAGS="$save_CFLAGS"
4728
4729 c_warn=
4730 save_CFLAGS="$CFLAGS"
4731 for option in -Wstrict-prototypes -Wmissing-prototypes \
4732                           -Wold-style-definition -Wc++-compat; do
4733   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4734
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4736 $as_echo_n "checking whether $CC supports $option... " >&6; }
4737 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4738   $as_echo_n "(cached) " >&6
4739 else
4740   CFLAGS="$option"
4741     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h.  */
4743
4744 int
4745 main ()
4746 {
4747
4748   ;
4749   return 0;
4750 }
4751 _ACEOF
4752 if ac_fn_c_try_compile "$LINENO"; then :
4753   eval "$as_acx_Woption=yes"
4754 else
4755   eval "$as_acx_Woption=no"
4756 fi
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758
4759 fi
4760 eval ac_res=\$$as_acx_Woption
4761                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4762 $as_echo "$ac_res" >&6; }
4763   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4764   c_warn="$c_warn${c_warn:+ }$option"
4765 fi
4766   done
4767 CFLAGS="$save_CFLAGS"
4768
4769 WARN_PEDANTIC=
4770 if test "$GCC" = yes; then :
4771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wno-long-long" >&5
4772 $as_echo_n "checking whether $CC supports -pedantic -Wno-long-long... " >&6; }
4773 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   save_CFLAGS="$CFLAGS"
4777 CFLAGS="-pedantic -Wno-long-long"
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h.  */
4780
4781 int
4782 main ()
4783 {
4784
4785   ;
4786   return 0;
4787 }
4788 _ACEOF
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790   acx_cv_prog_cc_pedantic__Wno_long_long=yes
4791 else
4792   acx_cv_prog_cc_pedantic__Wno_long_long=no
4793 fi
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 CFLAGS="$save_CFLAGS"
4796 fi
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
4798 $as_echo "$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; }
4799 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then :
4800   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4801 fi
4802
4803 fi
4804
4805
4806 # Disable exceptions and RTTI if building with g++
4807 noexception_flags=
4808 save_CFLAGS="$CFLAGS"
4809 for option in -fno-exceptions -fno-rtti; do
4810   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4811
4812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4813 $as_echo_n "checking whether $CC supports $option... " >&6; }
4814 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4815   $as_echo_n "(cached) " >&6
4816 else
4817   CFLAGS="$option"
4818     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h.  */
4820
4821 int
4822 main ()
4823 {
4824
4825   ;
4826   return 0;
4827 }
4828 _ACEOF
4829 if ac_fn_c_try_compile "$LINENO"; then :
4830   eval "$as_acx_Woption=yes"
4831 else
4832   eval "$as_acx_Woption=no"
4833 fi
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835
4836 fi
4837 eval ac_res=\$$as_acx_Woption
4838                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4839 $as_echo "$ac_res" >&6; }
4840   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4841   noexception_flags="$noexception_flags${noexception_flags:+ }$option"
4842 fi
4843   done
4844 CFLAGS="$save_CFLAGS"
4845
4846
4847 # Only enable with --enable-werror-always until existing warnings are
4848 # corrected.
4849 WERROR=
4850 # Check whether --enable-werror-always was given.
4851 if test "${enable_werror_always+set}" = set; then :
4852   enableval=$enable_werror_always;
4853 else
4854   enable_werror_always=no
4855 fi
4856
4857 if test $enable_werror_always = yes; then :
4858   WERROR="$WERROR${WERROR:+ }-Werror"
4859 fi
4860
4861
4862
4863 # Dependency checking.
4864 rm -rf .tst 2>/dev/null
4865 mkdir .tst 2>/dev/null
4866 if test -d .tst; then
4867   am__leading_dot=.
4868 else
4869   am__leading_dot=_
4870 fi
4871 rmdir .tst 2>/dev/null
4872
4873 DEPDIR="${am__leading_dot}deps"
4874
4875 ac_config_commands="$ac_config_commands depdir"
4876
4877
4878 if test "$ENABLE_BUILD_WITH_CXX" = "no"; then
4879 depcc="$CC"   am_compiler_list=
4880
4881 am_depcomp=$ac_aux_dir/depcomp
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4883 $as_echo_n "checking dependency style of $depcc... " >&6; }
4884 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4885   $as_echo_n "(cached) " >&6
4886 else
4887   if test -f "$am_depcomp"; then
4888   # We make a subdir and do the tests there.  Otherwise we can end up
4889   # making bogus files that we don't know about and never remove.  For
4890   # instance it was reported that on HP-UX the gcc test will end up
4891   # making a dummy file named `D' -- because `-MD' means `put the output
4892   # in D'.
4893   mkdir conftest.dir
4894   # Copy depcomp to subdir because otherwise we won't find it if we're
4895   # using a relative directory.
4896   cp "$am_depcomp" conftest.dir
4897   cd conftest.dir
4898   # We will build objects and dependencies in a subdirectory because
4899   # it helps to detect inapplicable dependency modes.  For instance
4900   # both Tru64's cc and ICC support -MD to output dependencies as a
4901   # side effect of compilation, but ICC will put the dependencies in
4902   # the current directory while Tru64 will put them in the object
4903   # directory.
4904   mkdir sub
4905
4906   am_cv_CC_dependencies_compiler_type=none
4907   if test "$am_compiler_list" = ""; then
4908      am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4909   fi
4910   for depmode in $am_compiler_list; do
4911     if test $depmode = none; then break; fi
4912
4913     $as_echo "$as_me:$LINENO: trying $depmode" >&5
4914     # Setup a source with many dependencies, because some compilers
4915     # like to wrap large dependency lists on column 80 (with \), and
4916     # we should not choose a depcomp mode which is confused by this.
4917     #
4918     # We need to recreate these files for each test, as the compiler may
4919     # overwrite some of them when testing with obscure command lines.
4920     # This happens at least with the AIX C compiler.
4921     : > sub/conftest.c
4922     for i in 1 2 3 4 5 6; do
4923       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4924       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4925       # Solaris 8's {/usr,}/bin/sh.
4926       touch sub/conftst$i.h
4927     done
4928     echo "include sub/conftest.Po" > confmf
4929
4930     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4931     # mode.  It turns out that the SunPro C++ compiler does not properly
4932     # handle `-M -o', and we need to detect this.
4933     depcmd="depmode=$depmode \
4934        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4935        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4936        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4937     echo "| $depcmd" | sed -e 's/  */ /g' >&5
4938     if env $depcmd > conftest.err 2>&1 &&
4939        grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
4940        grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
4941        ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
4942       # icc doesn't choke on unknown options, it will just issue warnings
4943       # or remarks (even with -Werror).  So we grep stderr for any message
4944       # that says an option was ignored or not supported.
4945       # When given -MP, icc 7.0 and 7.1 complain thusly:
4946       #   icc: Command line warning: ignoring option '-M'; no argument required
4947       # The diagnosis changed in icc 8.0:
4948       #   icc: Command line remark: option '-MP' not supported
4949       if (grep 'ignoring option' conftest.err ||
4950           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4951         am_cv_CC_dependencies_compiler_type=$depmode
4952         $as_echo "$as_me:$LINENO: success" >&5
4953         break
4954       fi
4955     fi
4956     $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4957     sed -e 's/^/| /' < conftest.err >&5
4958   done
4959
4960   cd ..
4961   rm -rf conftest.dir
4962 else
4963   am_cv_CC_dependencies_compiler_type=none
4964 fi
4965
4966 fi
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4968 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4969 if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
4970 then as_fn_error "no usable dependency style found" "$LINENO" 5
4971 else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4972
4973 fi
4974
4975 else
4976 ac_ext=cpp
4977 ac_cpp='$CXXCPP $CPPFLAGS'
4978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4981
4982
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h.  */
4985 int i;
4986 _ACEOF
4987 if ac_fn_cxx_try_compile "$LINENO"; then :
4988
4989 else
4990   as_fn_error "C++ compiler missing or inoperational" "$LINENO" 5
4991 fi
4992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 ac_ext=c
4994 ac_cpp='$CPP $CPPFLAGS'
4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4998
4999 depcc="$CXX"  am_compiler_list=
5000
5001 am_depcomp=$ac_aux_dir/depcomp
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5003 $as_echo_n "checking dependency style of $depcc... " >&6; }
5004 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5005   $as_echo_n "(cached) " >&6
5006 else
5007   if test -f "$am_depcomp"; then
5008   # We make a subdir and do the tests there.  Otherwise we can end up
5009   # making bogus files that we don't know about and never remove.  For
5010   # instance it was reported that on HP-UX the gcc test will end up
5011   # making a dummy file named `D' -- because `-MD' means `put the output
5012   # in D'.
5013   mkdir conftest.dir
5014   # Copy depcomp to subdir because otherwise we won't find it if we're
5015   # using a relative directory.
5016   cp "$am_depcomp" conftest.dir
5017   cd conftest.dir
5018   # We will build objects and dependencies in a subdirectory because
5019   # it helps to detect inapplicable dependency modes.  For instance
5020   # both Tru64's cc and ICC support -MD to output dependencies as a
5021   # side effect of compilation, but ICC will put the dependencies in
5022   # the current directory while Tru64 will put them in the object
5023   # directory.
5024   mkdir sub
5025
5026   am_cv_CXX_dependencies_compiler_type=none
5027   if test "$am_compiler_list" = ""; then
5028      am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5029   fi
5030   for depmode in $am_compiler_list; do
5031     if test $depmode = none; then break; fi
5032
5033     $as_echo "$as_me:$LINENO: trying $depmode" >&5
5034     # Setup a source with many dependencies, because some compilers
5035     # like to wrap large dependency lists on column 80 (with \), and
5036     # we should not choose a depcomp mode which is confused by this.
5037     #
5038     # We need to recreate these files for each test, as the compiler may
5039     # overwrite some of them when testing with obscure command lines.
5040     # This happens at least with the AIX C compiler.
5041     : > sub/conftest.c
5042     for i in 1 2 3 4 5 6; do
5043       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5044       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5045       # Solaris 8's {/usr,}/bin/sh.
5046       touch sub/conftst$i.h
5047     done
5048     echo "include sub/conftest.Po" > confmf
5049
5050     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5051     # mode.  It turns out that the SunPro C++ compiler does not properly
5052     # handle `-M -o', and we need to detect this.
5053     depcmd="depmode=$depmode \
5054        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5055        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5056        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5057     echo "| $depcmd" | sed -e 's/  */ /g' >&5
5058     if env $depcmd > conftest.err 2>&1 &&
5059        grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
5060        grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
5061        ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
5062       # icc doesn't choke on unknown options, it will just issue warnings
5063       # or remarks (even with -Werror).  So we grep stderr for any message
5064       # that says an option was ignored or not supported.
5065       # When given -MP, icc 7.0 and 7.1 complain thusly:
5066       #   icc: Command line warning: ignoring option '-M'; no argument required
5067       # The diagnosis changed in icc 8.0:
5068       #   icc: Command line remark: option '-MP' not supported
5069       if (grep 'ignoring option' conftest.err ||
5070           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5071         am_cv_CXX_dependencies_compiler_type=$depmode
5072         $as_echo "$as_me:$LINENO: success" >&5
5073         break
5074       fi
5075     fi
5076     $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5077     sed -e 's/^/| /' < conftest.err >&5
5078   done
5079
5080   cd ..
5081   rm -rf conftest.dir
5082 else
5083   am_cv_CXX_dependencies_compiler_type=none
5084 fi
5085
5086 fi
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5088 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5089 if test x${am_cv_CXX_dependencies_compiler_type-none} = xnone
5090 then as_fn_error "no usable dependency style found" "$LINENO" 5
5091 else CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5092
5093 fi
5094
5095 fi
5096
5097 # Checks for header files.
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5099 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5100 if test "${ac_cv_header_time+set}" = set; then :
5101   $as_echo_n "(cached) " >&6
5102 else
5103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h.  */
5105 #include <sys/types.h>
5106 #include <sys/time.h>
5107 #include <time.h>
5108
5109 int
5110 main ()
5111 {
5112 if ((struct tm *) 0)
5113 return 0;
5114   ;
5115   return 0;
5116 }
5117 _ACEOF
5118 if ac_fn_c_try_compile "$LINENO"; then :
5119   ac_cv_header_time=yes
5120 else
5121   ac_cv_header_time=no
5122 fi
5123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5124 fi
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5126 $as_echo "$ac_cv_header_time" >&6; }
5127 if test $ac_cv_header_time = yes; then
5128
5129 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5130
5131 fi
5132
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5134 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5135 if test "${gcc_cv_header_string+set}" = set; then :
5136   $as_echo_n "(cached) " >&6
5137 else
5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h.  */
5140 #include <string.h>
5141 #include <strings.h>
5142 int
5143 main ()
5144 {
5145
5146   ;
5147   return 0;
5148 }
5149 _ACEOF
5150 if ac_fn_c_try_compile "$LINENO"; then :
5151   gcc_cv_header_string=yes
5152 else
5153   gcc_cv_header_string=no
5154 fi
5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 fi
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5158 $as_echo "$gcc_cv_header_string" >&6; }
5159 if test $gcc_cv_header_string = yes; then
5160
5161 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5162
5163 fi
5164
5165
5166 for ac_header in locale.h fcntl.h limits.h stddef.h \
5167         stdlib.h strings.h string.h sys/file.h unistd.h
5168 do :
5169   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5170 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5171 eval as_val=\$$as_ac_Header
5172    if test "x$as_val" = x""yes; then :
5173   cat >>confdefs.h <<_ACEOF
5174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5175 _ACEOF
5176
5177 fi
5178
5179 done
5180
5181
5182 # Checks for typedefs, structures, and compiler characteristics.
5183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5184 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5185 if test "${ac_cv_c_bigendian+set}" = set; then :
5186   $as_echo_n "(cached) " >&6
5187 else
5188   ac_cv_c_bigendian=unknown
5189     # See if we're dealing with a universal compiler.
5190     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h.  */
5192 #ifndef __APPLE_CC__
5193                not a universal capable compiler
5194              #endif
5195              typedef int dummy;
5196
5197 _ACEOF
5198 if ac_fn_c_try_compile "$LINENO"; then :
5199
5200         # Check for potential -arch flags.  It is not universal unless
5201         # there are at least two -arch flags with different values.
5202         ac_arch=
5203         ac_prev=
5204         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5205          if test -n "$ac_prev"; then
5206            case $ac_word in
5207              i?86 | x86_64 | ppc | ppc64)
5208                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5209                  ac_arch=$ac_word
5210                else
5211                  ac_cv_c_bigendian=universal
5212                  break
5213                fi
5214                ;;
5215            esac
5216            ac_prev=
5217          elif test "x$ac_word" = "x-arch"; then
5218            ac_prev=arch
5219          fi
5220        done
5221 fi
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223     if test $ac_cv_c_bigendian = unknown; then
5224       # See if sys/param.h defines the BYTE_ORDER macro.
5225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h.  */
5227 #include <sys/types.h>
5228              #include <sys/param.h>
5229
5230 int
5231 main ()
5232 {
5233 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5234                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5235                      && LITTLE_ENDIAN)
5236               bogus endian macros
5237              #endif
5238
5239   ;
5240   return 0;
5241 }
5242 _ACEOF
5243 if ac_fn_c_try_compile "$LINENO"; then :
5244   # It does; now see whether it defined to BIG_ENDIAN or not.
5245          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h.  */
5247 #include <sys/types.h>
5248                 #include <sys/param.h>
5249
5250 int
5251 main ()
5252 {
5253 #if BYTE_ORDER != BIG_ENDIAN
5254                  not big endian
5255                 #endif
5256
5257   ;
5258   return 0;
5259 }
5260 _ACEOF
5261 if ac_fn_c_try_compile "$LINENO"; then :
5262   ac_cv_c_bigendian=yes
5263 else
5264   ac_cv_c_bigendian=no
5265 fi
5266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5267 fi
5268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5269     fi
5270     if test $ac_cv_c_bigendian = unknown; then
5271       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h.  */
5274 #include <limits.h>
5275
5276 int
5277 main ()
5278 {
5279 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5280               bogus endian macros
5281              #endif
5282
5283   ;
5284   return 0;
5285 }
5286 _ACEOF
5287 if ac_fn_c_try_compile "$LINENO"; then :
5288   # It does; now see whether it defined to _BIG_ENDIAN or not.
5289          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h.  */
5291 #include <limits.h>
5292
5293 int
5294 main ()
5295 {
5296 #ifndef _BIG_ENDIAN
5297                  not big endian
5298                 #endif
5299
5300   ;
5301   return 0;
5302 }
5303 _ACEOF
5304 if ac_fn_c_try_compile "$LINENO"; then :
5305   ac_cv_c_bigendian=yes
5306 else
5307   ac_cv_c_bigendian=no
5308 fi
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 fi
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312     fi
5313     if test $ac_cv_c_bigendian = unknown; then
5314       # Compile a test program.
5315       if test "$cross_compiling" = yes; then :
5316   # Try to guess by grepping values from an object file.
5317          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h.  */
5319 short int ascii_mm[] =
5320                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5321                 short int ascii_ii[] =
5322                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5323                 int use_ascii (int i) {
5324                   return ascii_mm[i] + ascii_ii[i];
5325                 }
5326                 short int ebcdic_ii[] =
5327                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5328                 short int ebcdic_mm[] =
5329                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5330                 int use_ebcdic (int i) {
5331                   return ebcdic_mm[i] + ebcdic_ii[i];
5332                 }
5333                 extern int foo;
5334
5335 int
5336 main ()
5337 {
5338 return use_ascii (foo) == use_ebcdic (foo);
5339   ;
5340   return 0;
5341 }
5342 _ACEOF
5343 if ac_fn_c_try_compile "$LINENO"; then :
5344   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5345               ac_cv_c_bigendian=yes
5346             fi
5347             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5348               if test "$ac_cv_c_bigendian" = unknown; then
5349                 ac_cv_c_bigendian=no
5350               else
5351                 # finding both strings is unlikely to happen, but who knows?
5352                 ac_cv_c_bigendian=unknown
5353               fi
5354             fi
5355 fi
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 else
5358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h.  */
5360 $ac_includes_default
5361 int
5362 main ()
5363 {
5364
5365              /* Are we little or big endian?  From Harbison&Steele.  */
5366              union
5367              {
5368                long int l;
5369                char c[sizeof (long int)];
5370              } u;
5371              u.l = 1;
5372              return u.c[sizeof (long int) - 1] == 1;
5373
5374   ;
5375   return 0;
5376 }
5377 _ACEOF
5378 if ac_fn_c_try_run "$LINENO"; then :
5379   ac_cv_c_bigendian=no
5380 else
5381   ac_cv_c_bigendian=yes
5382 fi
5383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5384   conftest.$ac_objext conftest.beam conftest.$ac_ext
5385 fi
5386
5387     fi
5388 fi
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5390 $as_echo "$ac_cv_c_bigendian" >&6; }
5391  case $ac_cv_c_bigendian in #(
5392    yes)
5393      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5394 ;; #(
5395    no)
5396       ;; #(
5397    universal)
5398
5399 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5400
5401      ;; #(
5402    *)
5403      as_fn_error "unknown endianness
5404  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5405  esac
5406
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5408 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5409 if test "${ac_cv_c_const+set}" = set; then :
5410   $as_echo_n "(cached) " >&6
5411 else
5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h.  */
5414
5415 int
5416 main ()
5417 {
5418 /* FIXME: Include the comments suggested by Paul. */
5419 #ifndef __cplusplus
5420   /* Ultrix mips cc rejects this.  */
5421   typedef int charset[2];
5422   const charset cs;
5423   /* SunOS 4.1.1 cc rejects this.  */
5424   char const *const *pcpcc;
5425   char **ppc;
5426   /* NEC SVR4.0.2 mips cc rejects this.  */
5427   struct point {int x, y;};
5428   static struct point const zero = {0,0};
5429   /* AIX XL C 1.02.0.0 rejects this.
5430      It does not let you subtract one const X* pointer from another in
5431      an arm of an if-expression whose if-part is not a constant
5432      expression */
5433   const char *g = "string";
5434   pcpcc = &g + (g ? g-g : 0);
5435   /* HPUX 7.0 cc rejects these. */
5436   ++pcpcc;
5437   ppc = (char**) pcpcc;
5438   pcpcc = (char const *const *) ppc;
5439   { /* SCO 3.2v4 cc rejects this.  */
5440     char *t;
5441     char const *s = 0 ? (char *) 0 : (char const *) 0;
5442
5443     *t++ = 0;
5444     if (s) return 0;
5445   }
5446   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5447     int x[] = {25, 17};
5448     const int *foo = &x[0];
5449     ++foo;
5450   }
5451   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5452     typedef const int *iptr;
5453     iptr p = 0;
5454     ++p;
5455   }
5456   { /* AIX XL C 1.02.0.0 rejects this saying
5457        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5458     struct s { int j; const int *ap[3]; };
5459     struct s *b; b->j = 5;
5460   }
5461   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5462     const int foo = 10;
5463     if (!foo) return 0;
5464   }
5465   return !cs[0] && !zero.x;
5466 #endif
5467
5468   ;
5469   return 0;
5470 }
5471 _ACEOF
5472 if ac_fn_c_try_compile "$LINENO"; then :
5473   ac_cv_c_const=yes
5474 else
5475   ac_cv_c_const=no
5476 fi
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5478 fi
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5480 $as_echo "$ac_cv_c_const" >&6; }
5481 if test $ac_cv_c_const = no; then
5482
5483 $as_echo "#define const /**/" >>confdefs.h
5484
5485 fi
5486
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5488 $as_echo_n "checking for inline... " >&6; }
5489 if test "${ac_cv_c_inline+set}" = set; then :
5490   $as_echo_n "(cached) " >&6
5491 else
5492   ac_cv_c_inline=no
5493 for ac_kw in inline __inline__ __inline; do
5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h.  */
5496 #ifndef __cplusplus
5497 typedef int foo_t;
5498 static $ac_kw foo_t static_foo () {return 0; }
5499 $ac_kw foo_t foo () {return 0; }
5500 #endif
5501
5502 _ACEOF
5503 if ac_fn_c_try_compile "$LINENO"; then :
5504   ac_cv_c_inline=$ac_kw
5505 fi
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507   test "$ac_cv_c_inline" != no && break
5508 done
5509
5510 fi
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5512 $as_echo "$ac_cv_c_inline" >&6; }
5513
5514 case $ac_cv_c_inline in
5515   inline | yes) ;;
5516   *)
5517     case $ac_cv_c_inline in
5518       no) ac_val=;;
5519       *) ac_val=$ac_cv_c_inline;;
5520     esac
5521     cat >>confdefs.h <<_ACEOF
5522 #ifndef __cplusplus
5523 #define inline $ac_val
5524 #endif
5525 _ACEOF
5526     ;;
5527 esac
5528
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5530 $as_echo_n "checking for obstacks... " >&6; }
5531 if test "${ac_cv_func_obstack+set}" = set; then :
5532   $as_echo_n "(cached) " >&6
5533 else
5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h.  */
5536 $ac_includes_default
5537                       #include "obstack.h"
5538 int
5539 main ()
5540 {
5541 struct obstack mem;
5542                        #define obstack_chunk_alloc malloc
5543                        #define obstack_chunk_free free
5544                        obstack_init (&mem);
5545                        obstack_free (&mem, 0);
5546   ;
5547   return 0;
5548 }
5549 _ACEOF
5550 if ac_fn_c_try_link "$LINENO"; then :
5551   ac_cv_func_obstack=yes
5552 else
5553   ac_cv_func_obstack=no
5554 fi
5555 rm -f core conftest.err conftest.$ac_objext \
5556     conftest$ac_exeext conftest.$ac_ext
5557 fi
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5559 $as_echo "$ac_cv_func_obstack" >&6; }
5560 if test $ac_cv_func_obstack = yes; then
5561
5562 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5563
5564 else
5565   case " $LIBOBJS " in
5566   *" obstack.$ac_objext "* ) ;;
5567   *) LIBOBJS="$LIBOBJS obstack.$ac_objext"
5568  ;;
5569 esac
5570
5571 fi
5572
5573 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5574 if test "x$ac_cv_type_off_t" = x""yes; then :
5575
5576 else
5577
5578 cat >>confdefs.h <<_ACEOF
5579 #define off_t long int
5580 _ACEOF
5581
5582 fi
5583
5584 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5585 if test "x$ac_cv_type_size_t" = x""yes; then :
5586
5587 else
5588
5589 cat >>confdefs.h <<_ACEOF
5590 #define size_t unsigned int
5591 _ACEOF
5592
5593 fi
5594
5595 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5596 if test "x$ac_cv_type_ssize_t" = x""yes; then :
5597
5598 else
5599
5600 cat >>confdefs.h <<_ACEOF
5601 #define ssize_t int
5602 _ACEOF
5603
5604 fi
5605
5606
5607   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5608 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
5609
5610 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5611
5612 else
5613   for ac_type in 'unsigned int' 'unsigned long int' \
5614         'unsigned long long int'; do
5615        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h.  */
5617 $ac_includes_default
5618 int
5619 main ()
5620 {
5621 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5622 test_array [0] = 0
5623
5624   ;
5625   return 0;
5626 }
5627 _ACEOF
5628 if ac_fn_c_try_compile "$LINENO"; then :
5629
5630 cat >>confdefs.h <<_ACEOF
5631 #define uintptr_t $ac_type
5632 _ACEOF
5633
5634           ac_type=
5635 fi
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637        test -z "$ac_type" && break
5638      done
5639 fi
5640
5641
5642 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5643 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
5644
5645 else
5646
5647 cat >>confdefs.h <<_ACEOF
5648 #define ptrdiff_t int
5649 _ACEOF
5650
5651 fi
5652
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5654 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5655 if test "${ac_cv_struct_tm+set}" = set; then :
5656   $as_echo_n "(cached) " >&6
5657 else
5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h.  */
5660 #include <sys/types.h>
5661 #include <time.h>
5662
5663 int
5664 main ()
5665 {
5666 struct tm tm;
5667                                      int *p = &tm.tm_sec;
5668                                      return !p;
5669   ;
5670   return 0;
5671 }
5672 _ACEOF
5673 if ac_fn_c_try_compile "$LINENO"; then :
5674   ac_cv_struct_tm=time.h
5675 else
5676   ac_cv_struct_tm=sys/time.h
5677 fi
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 fi
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5681 $as_echo "$ac_cv_struct_tm" >&6; }
5682 if test $ac_cv_struct_tm = sys/time.h; then
5683
5684 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5685
5686 fi
5687
5688 # The cast to long int works around a bug in the HP C Compiler
5689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5691 # This bug is HP SR number 8606223364.
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5693 $as_echo_n "checking size of int... " >&6; }
5694 if test "${ac_cv_sizeof_int+set}" = set; then :
5695   $as_echo_n "(cached) " >&6
5696 else
5697   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
5698
5699 else
5700   if test "$ac_cv_type_int" = yes; then
5701      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5703 { as_fn_set_status 77
5704 as_fn_error "cannot compute sizeof (int)
5705 See \`config.log' for more details." "$LINENO" 5; }; }
5706    else
5707      ac_cv_sizeof_int=0
5708    fi
5709 fi
5710
5711 fi
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5713 $as_echo "$ac_cv_sizeof_int" >&6; }
5714
5715
5716
5717 cat >>confdefs.h <<_ACEOF
5718 #define SIZEOF_INT $ac_cv_sizeof_int
5719 _ACEOF
5720
5721
5722 # The cast to long int works around a bug in the HP C Compiler
5723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5725 # This bug is HP SR number 8606223364.
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5727 $as_echo_n "checking size of long... " >&6; }
5728 if test "${ac_cv_sizeof_long+set}" = set; then :
5729   $as_echo_n "(cached) " >&6
5730 else
5731   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
5732
5733 else
5734   if test "$ac_cv_type_long" = yes; then
5735      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5737 { as_fn_set_status 77
5738 as_fn_error "cannot compute sizeof (long)
5739 See \`config.log' for more details." "$LINENO" 5; }; }
5740    else
5741      ac_cv_sizeof_long=0
5742    fi
5743 fi
5744
5745 fi
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5747 $as_echo "$ac_cv_sizeof_long" >&6; }
5748
5749
5750
5751 cat >>confdefs.h <<_ACEOF
5752 #define SIZEOF_LONG $ac_cv_sizeof_long
5753 _ACEOF
5754
5755
5756
5757 for ac_func in clearerr_unlocked feof_unlocked   ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked   fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked   fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked   putchar_unlocked putc_unlocked
5758 do :
5759   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5761 eval as_val=\$$as_ac_var
5762    if test "x$as_val" = x""yes; then :
5763   cat >>confdefs.h <<_ACEOF
5764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5765 _ACEOF
5766
5767 fi
5768 done
5769
5770 ac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5771 if test "x$ac_cv_have_decl_abort" = x""yes; then :
5772   ac_have_decl=1
5773 else
5774   ac_have_decl=0
5775 fi
5776
5777 cat >>confdefs.h <<_ACEOF
5778 #define HAVE_DECL_ABORT $ac_have_decl
5779 _ACEOF
5780 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5781 if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
5782   ac_have_decl=1
5783 else
5784   ac_have_decl=0
5785 fi
5786
5787 cat >>confdefs.h <<_ACEOF
5788 #define HAVE_DECL_ASPRINTF $ac_have_decl
5789 _ACEOF
5790 ac_fn_c_check_decl "$LINENO" "basename(char *)" "ac_cv_have_decl_basename_char_p_" "$ac_includes_default"
5791 if test "x$ac_cv_have_decl_basename_char_p_" = x""yes; then :
5792   ac_have_decl=1
5793 else
5794   ac_have_decl=0
5795 fi
5796
5797 cat >>confdefs.h <<_ACEOF
5798 #define HAVE_DECL_BASENAME $ac_have_decl
5799 _ACEOF
5800 ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5801 if test "x$ac_cv_have_decl_errno" = x""yes; then :
5802   ac_have_decl=1
5803 else
5804   ac_have_decl=0
5805 fi
5806
5807 cat >>confdefs.h <<_ACEOF
5808 #define HAVE_DECL_ERRNO $ac_have_decl
5809 _ACEOF
5810 ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
5811 if test "x$ac_cv_have_decl_getopt" = x""yes; then :
5812   ac_have_decl=1
5813 else
5814   ac_have_decl=0
5815 fi
5816
5817 cat >>confdefs.h <<_ACEOF
5818 #define HAVE_DECL_GETOPT $ac_have_decl
5819 _ACEOF
5820 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5821 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
5822   ac_have_decl=1
5823 else
5824   ac_have_decl=0
5825 fi
5826
5827 cat >>confdefs.h <<_ACEOF
5828 #define HAVE_DECL_VASPRINTF $ac_have_decl
5829 _ACEOF
5830
5831 ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5832 if test "x$ac_cv_have_decl_clearerr_unlocked" = x""yes; then :
5833   ac_have_decl=1
5834 else
5835   ac_have_decl=0
5836 fi
5837
5838 cat >>confdefs.h <<_ACEOF
5839 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
5840 _ACEOF
5841 ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5842 if test "x$ac_cv_have_decl_feof_unlocked" = x""yes; then :
5843   ac_have_decl=1
5844 else
5845   ac_have_decl=0
5846 fi
5847
5848 cat >>confdefs.h <<_ACEOF
5849 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5850 _ACEOF
5851 ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5852 if test "x$ac_cv_have_decl_ferror_unlocked" = x""yes; then :
5853   ac_have_decl=1
5854 else
5855   ac_have_decl=0
5856 fi
5857
5858 cat >>confdefs.h <<_ACEOF
5859 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5860 _ACEOF
5861 ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5862 if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then :
5863   ac_have_decl=1
5864 else
5865   ac_have_decl=0
5866 fi
5867
5868 cat >>confdefs.h <<_ACEOF
5869 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5870 _ACEOF
5871 ac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5872 if test "x$ac_cv_have_decl_fgetc_unlocked" = x""yes; then :
5873   ac_have_decl=1
5874 else
5875   ac_have_decl=0
5876 fi
5877
5878 cat >>confdefs.h <<_ACEOF
5879 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5880 _ACEOF
5881 ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5882 if test "x$ac_cv_have_decl_fgets_unlocked" = x""yes; then :
5883   ac_have_decl=1
5884 else
5885   ac_have_decl=0
5886 fi
5887
5888 cat >>confdefs.h <<_ACEOF
5889 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5890 _ACEOF
5891 ac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5892 if test "x$ac_cv_have_decl_fileno_unlocked" = x""yes; then :
5893   ac_have_decl=1
5894 else
5895   ac_have_decl=0
5896 fi
5897
5898 cat >>confdefs.h <<_ACEOF
5899 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5900 _ACEOF
5901 ac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5902 if test "x$ac_cv_have_decl_fprintf_unlocked" = x""yes; then :
5903   ac_have_decl=1
5904 else
5905   ac_have_decl=0
5906 fi
5907
5908 cat >>confdefs.h <<_ACEOF
5909 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5910 _ACEOF
5911 ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5912 if test "x$ac_cv_have_decl_fputc_unlocked" = x""yes; then :
5913   ac_have_decl=1
5914 else
5915   ac_have_decl=0
5916 fi
5917
5918 cat >>confdefs.h <<_ACEOF
5919 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5920 _ACEOF
5921 ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5922 if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then :
5923   ac_have_decl=1
5924 else
5925   ac_have_decl=0
5926 fi
5927
5928 cat >>confdefs.h <<_ACEOF
5929 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5930 _ACEOF
5931 ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5932 if test "x$ac_cv_have_decl_fread_unlocked" = x""yes; then :
5933   ac_have_decl=1
5934 else
5935   ac_have_decl=0
5936 fi
5937
5938 cat >>confdefs.h <<_ACEOF
5939 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5940 _ACEOF
5941 ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5942 if test "x$ac_cv_have_decl_fwrite_unlocked" = x""yes; then :
5943   ac_have_decl=1
5944 else
5945   ac_have_decl=0
5946 fi
5947
5948 cat >>confdefs.h <<_ACEOF
5949 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5950 _ACEOF
5951 ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5952 if test "x$ac_cv_have_decl_getchar_unlocked" = x""yes; then :
5953   ac_have_decl=1
5954 else
5955   ac_have_decl=0
5956 fi
5957
5958 cat >>confdefs.h <<_ACEOF
5959 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
5960 _ACEOF
5961 ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5962 if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
5963   ac_have_decl=1
5964 else
5965   ac_have_decl=0
5966 fi
5967
5968 cat >>confdefs.h <<_ACEOF
5969 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
5970 _ACEOF
5971 ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5972 if test "x$ac_cv_have_decl_putchar_unlocked" = x""yes; then :
5973   ac_have_decl=1
5974 else
5975   ac_have_decl=0
5976 fi
5977
5978 cat >>confdefs.h <<_ACEOF
5979 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
5980 _ACEOF
5981 ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5982 if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then :
5983   ac_have_decl=1
5984 else
5985   ac_have_decl=0
5986 fi
5987
5988 cat >>confdefs.h <<_ACEOF
5989 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
5990 _ACEOF
5991
5992
5993 # Checks for library functions.
5994 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5995 # for constant arguments.  Useless!
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5997 $as_echo_n "checking for working alloca.h... " >&6; }
5998 if test "${ac_cv_working_alloca_h+set}" = set; then :
5999   $as_echo_n "(cached) " >&6
6000 else
6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h.  */
6003 #include <alloca.h>
6004 int
6005 main ()
6006 {
6007 char *p = (char *) alloca (2 * sizeof (int));
6008                           if (p) return 0;
6009   ;
6010   return 0;
6011 }
6012 _ACEOF
6013 if ac_fn_c_try_link "$LINENO"; then :
6014   ac_cv_working_alloca_h=yes
6015 else
6016   ac_cv_working_alloca_h=no
6017 fi
6018 rm -f core conftest.err conftest.$ac_objext \
6019     conftest$ac_exeext conftest.$ac_ext
6020 fi
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6022 $as_echo "$ac_cv_working_alloca_h" >&6; }
6023 if test $ac_cv_working_alloca_h = yes; then
6024
6025 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6026
6027 fi
6028
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6030 $as_echo_n "checking for alloca... " >&6; }
6031 if test "${ac_cv_func_alloca_works+set}" = set; then :
6032   $as_echo_n "(cached) " >&6
6033 else
6034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h.  */
6036 #ifdef __GNUC__
6037 # define alloca __builtin_alloca
6038 #else
6039 # ifdef _MSC_VER
6040 #  include <malloc.h>
6041 #  define alloca _alloca
6042 # else
6043 #  ifdef HAVE_ALLOCA_H
6044 #   include <alloca.h>
6045 #  else
6046 #   ifdef _AIX
6047  #pragma alloca
6048 #   else
6049 #    ifndef alloca /* predefined by HP cc +Olibcalls */
6050 char *alloca ();
6051 #    endif
6052 #   endif
6053 #  endif
6054 # endif
6055 #endif
6056
6057 int
6058 main ()
6059 {
6060 char *p = (char *) alloca (1);
6061                                     if (p) return 0;
6062   ;
6063   return 0;
6064 }
6065 _ACEOF
6066 if ac_fn_c_try_link "$LINENO"; then :
6067   ac_cv_func_alloca_works=yes
6068 else
6069   ac_cv_func_alloca_works=no
6070 fi
6071 rm -f core conftest.err conftest.$ac_objext \
6072     conftest$ac_exeext conftest.$ac_ext
6073 fi
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6075 $as_echo "$ac_cv_func_alloca_works" >&6; }
6076
6077 if test $ac_cv_func_alloca_works = yes; then
6078
6079 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6080
6081 else
6082   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6083 # that cause trouble.  Some versions do not even contain alloca or
6084 # contain a buggy version.  If you still want to use their alloca,
6085 # use ar to extract alloca.o from them instead of compiling alloca.c.
6086
6087 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6088
6089 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6090
6091
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6093 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6094 if test "${ac_cv_os_cray+set}" = set; then :
6095   $as_echo_n "(cached) " >&6
6096 else
6097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h.  */
6099 #if defined CRAY && ! defined CRAY2
6100 webecray
6101 #else
6102 wenotbecray
6103 #endif
6104
6105 _ACEOF
6106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6107   $EGREP "webecray" >/dev/null 2>&1; then :
6108   ac_cv_os_cray=yes
6109 else
6110   ac_cv_os_cray=no
6111 fi
6112 rm -f conftest*
6113
6114 fi
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6116 $as_echo "$ac_cv_os_cray" >&6; }
6117 if test $ac_cv_os_cray = yes; then
6118   for ac_func in _getb67 GETB67 getb67; do
6119     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6121 eval as_val=\$$as_ac_var
6122    if test "x$as_val" = x""yes; then :
6123
6124 cat >>confdefs.h <<_ACEOF
6125 #define CRAY_STACKSEG_END $ac_func
6126 _ACEOF
6127
6128     break
6129 fi
6130
6131   done
6132 fi
6133
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6135 $as_echo_n "checking stack direction for C alloca... " >&6; }
6136 if test "${ac_cv_c_stack_direction+set}" = set; then :
6137   $as_echo_n "(cached) " >&6
6138 else
6139   if test "$cross_compiling" = yes; then :
6140   ac_cv_c_stack_direction=0
6141 else
6142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h.  */
6144 $ac_includes_default
6145 int
6146 find_stack_direction ()
6147 {
6148   static char *addr = 0;
6149   auto char dummy;
6150   if (addr == 0)
6151     {
6152       addr = &dummy;
6153       return find_stack_direction ();
6154     }
6155   else
6156     return (&dummy > addr) ? 1 : -1;
6157 }
6158
6159 int
6160 main ()
6161 {
6162   return find_stack_direction () < 0;
6163 }
6164 _ACEOF
6165 if ac_fn_c_try_run "$LINENO"; then :
6166   ac_cv_c_stack_direction=1
6167 else
6168   ac_cv_c_stack_direction=-1
6169 fi
6170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6171   conftest.$ac_objext conftest.beam conftest.$ac_ext
6172 fi
6173
6174 fi
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6176 $as_echo "$ac_cv_c_stack_direction" >&6; }
6177 cat >>confdefs.h <<_ACEOF
6178 #define STACK_DIRECTION $ac_cv_c_stack_direction
6179 _ACEOF
6180
6181
6182 fi
6183
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6185 $as_echo_n "checking for ANSI C header files... " >&6; }
6186 if test "${ac_cv_header_stdc+set}" = set; then :
6187   $as_echo_n "(cached) " >&6
6188 else
6189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h.  */
6191 #include <stdlib.h>
6192 #include <stdarg.h>
6193 #include <string.h>
6194 #include <float.h>
6195
6196 int
6197 main ()
6198 {
6199
6200   ;
6201   return 0;
6202 }
6203 _ACEOF
6204 if ac_fn_c_try_compile "$LINENO"; then :
6205   ac_cv_header_stdc=yes
6206 else
6207   ac_cv_header_stdc=no
6208 fi
6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210
6211 if test $ac_cv_header_stdc = yes; then
6212   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h.  */
6215 #include <string.h>
6216
6217 _ACEOF
6218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6219   $EGREP "memchr" >/dev/null 2>&1; then :
6220
6221 else
6222   ac_cv_header_stdc=no
6223 fi
6224 rm -f conftest*
6225
6226 fi
6227
6228 if test $ac_cv_header_stdc = yes; then
6229   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h.  */
6232 #include <stdlib.h>
6233
6234 _ACEOF
6235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6236   $EGREP "free" >/dev/null 2>&1; then :
6237
6238 else
6239   ac_cv_header_stdc=no
6240 fi
6241 rm -f conftest*
6242
6243 fi
6244
6245 if test $ac_cv_header_stdc = yes; then
6246   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6247   if test "$cross_compiling" = yes; then :
6248   :
6249 else
6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h.  */
6252 #include <ctype.h>
6253 #include <stdlib.h>
6254 #if ((' ' & 0x0FF) == 0x020)
6255 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6256 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6257 #else
6258 # define ISLOWER(c) \
6259                    (('a' <= (c) && (c) <= 'i') \
6260                      || ('j' <= (c) && (c) <= 'r') \
6261                      || ('s' <= (c) && (c) <= 'z'))
6262 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6263 #endif
6264
6265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6266 int
6267 main ()
6268 {
6269   int i;
6270   for (i = 0; i < 256; i++)
6271     if (XOR (islower (i), ISLOWER (i))
6272         || toupper (i) != TOUPPER (i))
6273       return 2;
6274   return 0;
6275 }
6276 _ACEOF
6277 if ac_fn_c_try_run "$LINENO"; then :
6278
6279 else
6280   ac_cv_header_stdc=no
6281 fi
6282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6283   conftest.$ac_objext conftest.beam conftest.$ac_ext
6284 fi
6285
6286 fi
6287 fi
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6289 $as_echo "$ac_cv_header_stdc" >&6; }
6290 if test $ac_cv_header_stdc = yes; then
6291
6292 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6293
6294 fi
6295
6296
6297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6298 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6299 if test "${am_cv_langinfo_codeset+set}" = set; then :
6300   $as_echo_n "(cached) " >&6
6301 else
6302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h.  */
6304 #include <langinfo.h>
6305 int
6306 main ()
6307 {
6308 char* cs = nl_langinfo(CODESET);
6309   ;
6310   return 0;
6311 }
6312 _ACEOF
6313 if ac_fn_c_try_link "$LINENO"; then :
6314   am_cv_langinfo_codeset=yes
6315 else
6316   am_cv_langinfo_codeset=no
6317 fi
6318 rm -f core conftest.err conftest.$ac_objext \
6319     conftest$ac_exeext conftest.$ac_ext
6320
6321 fi
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6323 $as_echo "$am_cv_langinfo_codeset" >&6; }
6324   if test $am_cv_langinfo_codeset = yes; then
6325
6326 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6327
6328   fi
6329
6330 # If we haven't got the data from the intl directory,
6331 # assume NLS is disabled.
6332 USE_NLS=no
6333 LIBINTL=
6334 LIBINTL_DEP=
6335 INCINTL=
6336 XGETTEXT=
6337 GMSGFMT=
6338 POSUB=
6339
6340 if test -f  ../intl/config.intl; then
6341   .  ../intl/config.intl
6342 fi
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6344 $as_echo_n "checking whether NLS is requested... " >&6; }
6345 if test x"$USE_NLS" != xyes; then
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6348 else
6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6350 $as_echo "yes" >&6; }
6351
6352 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6353
6354
6355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6356 $as_echo_n "checking for catalogs to be installed... " >&6; }
6357   # Look for .po and .gmo files in the source directory.
6358   CATALOGS=
6359   XLINGUAS=
6360   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
6361     # If there aren't any .gmo files the shell will give us the
6362     # literal string "../path/to/srcdir/po/*.gmo" which has to be
6363     # weeded out.
6364     case "$cat" in *\**)
6365       continue;;
6366     esac
6367     # The quadruple backslash is collapsed to a double backslash
6368     # by the backticks, then collapsed again by the double quotes,
6369     # leaving us with one backslash in the sed expression (right
6370     # before the dot that mustn't act as a wildcard).
6371     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6372     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
6373     # The user is allowed to set LINGUAS to a list of languages to
6374     # install catalogs for.  If it's empty that means "all of them."
6375     if test "x$LINGUAS" = x; then
6376       CATALOGS="$CATALOGS $cat"
6377       XLINGUAS="$XLINGUAS $lang"
6378     else
6379       case "$LINGUAS" in *$lang*)
6380         CATALOGS="$CATALOGS $cat"
6381         XLINGUAS="$XLINGUAS $lang"
6382         ;;
6383       esac
6384     fi
6385   done
6386   LINGUAS="$XLINGUAS"
6387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6388 $as_echo "$LINGUAS" >&6; }
6389
6390
6391     DATADIRNAME=share
6392
6393   INSTOBJEXT=.mo
6394
6395   GENCAT=gencat
6396
6397   CATOBJEXT=.gmo
6398
6399 fi
6400
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6402 $as_echo_n "checking for uchar... " >&6; }
6403 if test "${gcc_cv_type_uchar+set}" = set; then :
6404   $as_echo_n "(cached) " >&6
6405 else
6406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h.  */
6408
6409 #include <sys/types.h>
6410
6411 int
6412 main ()
6413 {
6414 if ((uchar *)0) return 0;
6415  if (sizeof(uchar)) return 0;
6416   ;
6417   return 0;
6418 }
6419 _ACEOF
6420 if ac_fn_c_try_compile "$LINENO"; then :
6421   ac_cv_type_uchar=yes
6422 else
6423   ac_cv_type_uchar=no
6424 fi
6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6426 fi
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6428 $as_echo "$gcc_cv_type_uchar" >&6; }
6429 if test $ac_cv_type_uchar = yes; then
6430
6431 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6432
6433 fi
6434
6435 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
6436 # iconv() prototype.
6437
6438       if test "X$prefix" = "XNONE"; then
6439     acl_final_prefix="$ac_default_prefix"
6440   else
6441     acl_final_prefix="$prefix"
6442   fi
6443   if test "X$exec_prefix" = "XNONE"; then
6444     acl_final_exec_prefix='${prefix}'
6445   else
6446     acl_final_exec_prefix="$exec_prefix"
6447   fi
6448   acl_save_prefix="$prefix"
6449   prefix="$acl_final_prefix"
6450   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6451   prefix="$acl_save_prefix"
6452
6453
6454 # Check whether --with-gnu-ld was given.
6455 if test "${with_gnu_ld+set}" = set; then :
6456   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6457 else
6458   with_gnu_ld=no
6459 fi
6460
6461 # Prepare PATH_SEPARATOR.
6462 # The user is always right.
6463 if test "${PATH_SEPARATOR+set}" != set; then
6464   echo "#! /bin/sh" >conf$$.sh
6465   echo  "exit 0"   >>conf$$.sh
6466   chmod +x conf$$.sh
6467   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6468     PATH_SEPARATOR=';'
6469   else
6470     PATH_SEPARATOR=:
6471   fi
6472   rm -f conf$$.sh
6473 fi
6474 ac_prog=ld
6475 if test "$GCC" = yes; then
6476   # Check if gcc -print-prog-name=ld gives a path.
6477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6478 $as_echo_n "checking for ld used by GCC... " >&6; }
6479   case $host in
6480   *-*-mingw*)
6481     # gcc leaves a trailing carriage return which upsets mingw
6482     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6483   *)
6484     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6485   esac
6486   case $ac_prog in
6487     # Accept absolute paths.
6488     [\\/]* | [A-Za-z]:[\\/]*)
6489       re_direlt='/[^/][^/]*/\.\./'
6490       # Canonicalize the path of ld
6491       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
6492       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6493         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6494       done
6495       test -z "$LD" && LD="$ac_prog"
6496       ;;
6497   "")
6498     # If it fails, then pretend we aren't using GCC.
6499     ac_prog=ld
6500     ;;
6501   *)
6502     # If it is relative, then search for the first ld in PATH.
6503     with_gnu_ld=unknown
6504     ;;
6505   esac
6506 elif test "$with_gnu_ld" = yes; then
6507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6508 $as_echo_n "checking for GNU ld... " >&6; }
6509 else
6510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6511 $as_echo_n "checking for non-GNU ld... " >&6; }
6512 fi
6513 if test "${acl_cv_path_LD+set}" = set; then :
6514   $as_echo_n "(cached) " >&6
6515 else
6516   if test -z "$LD"; then
6517   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6518   for ac_dir in $PATH; do
6519     test -z "$ac_dir" && ac_dir=.
6520     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6521       acl_cv_path_LD="$ac_dir/$ac_prog"
6522       # Check to see if the program is GNU ld.  I'd rather use --version,
6523       # but apparently some GNU ld's only accept -v.
6524       # Break only if it was the GNU/non-GNU ld that we prefer.
6525       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
6526         test "$with_gnu_ld" != no && break
6527       else
6528         test "$with_gnu_ld" != yes && break
6529       fi
6530     fi
6531   done
6532   IFS="$ac_save_ifs"
6533 else
6534   acl_cv_path_LD="$LD" # Let the user override the test with a path.
6535 fi
6536 fi
6537
6538 LD="$acl_cv_path_LD"
6539 if test -n "$LD"; then
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6541 $as_echo "$LD" >&6; }
6542 else
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6548 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6549 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6550   $as_echo_n "(cached) " >&6
6551 else
6552   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6553 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
6554   acl_cv_prog_gnu_ld=yes
6555 else
6556   acl_cv_prog_gnu_ld=no
6557 fi
6558 fi
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6560 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6561 with_gnu_ld=$acl_cv_prog_gnu_ld
6562
6563
6564
6565                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6566 $as_echo_n "checking for shared library run path origin... " >&6; }
6567 if test "${acl_cv_rpath+set}" = set; then :
6568   $as_echo_n "(cached) " >&6
6569 else
6570
6571     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
6572     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6573     . ./conftest.sh
6574     rm -f ./conftest.sh
6575     acl_cv_rpath=done
6576
6577 fi
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6579 $as_echo "$acl_cv_rpath" >&6; }
6580   wl="$acl_cv_wl"
6581   libext="$acl_cv_libext"
6582   shlibext="$acl_cv_shlibext"
6583   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
6584   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
6585   hardcode_direct="$acl_cv_hardcode_direct"
6586   hardcode_minus_L="$acl_cv_hardcode_minus_L"
6587     # Check whether --enable-rpath was given.
6588 if test "${enable_rpath+set}" = set; then :
6589   enableval=$enable_rpath; :
6590 else
6591   enable_rpath=yes
6592 fi
6593
6594
6595
6596
6597
6598
6599
6600
6601     use_additional=yes
6602
6603   acl_save_prefix="$prefix"
6604   prefix="$acl_final_prefix"
6605   acl_save_exec_prefix="$exec_prefix"
6606   exec_prefix="$acl_final_exec_prefix"
6607
6608     eval additional_includedir=\"$includedir\"
6609     eval additional_libdir=\"$libdir\"
6610
6611   exec_prefix="$acl_save_exec_prefix"
6612   prefix="$acl_save_prefix"
6613
6614
6615 # Check whether --with-libiconv-prefix was given.
6616 if test "${with_libiconv_prefix+set}" = set; then :
6617   withval=$with_libiconv_prefix;
6618     if test "X$withval" = "Xno"; then
6619       use_additional=no
6620     else
6621       if test "X$withval" = "X"; then
6622
6623   acl_save_prefix="$prefix"
6624   prefix="$acl_final_prefix"
6625   acl_save_exec_prefix="$exec_prefix"
6626   exec_prefix="$acl_final_exec_prefix"
6627
6628           eval additional_includedir=\"$includedir\"
6629           eval additional_libdir=\"$libdir\"
6630
6631   exec_prefix="$acl_save_exec_prefix"
6632   prefix="$acl_save_prefix"
6633
6634       else
6635         additional_includedir="$withval/include"
6636         additional_libdir="$withval/lib"
6637       fi
6638     fi
6639
6640 fi
6641
6642       LIBICONV=
6643   LTLIBICONV=
6644   INCICONV=
6645   rpathdirs=
6646   ltrpathdirs=
6647   names_already_handled=
6648   names_next_round='iconv '
6649   while test -n "$names_next_round"; do
6650     names_this_round="$names_next_round"
6651     names_next_round=
6652     for name in $names_this_round; do
6653       already_handled=
6654       for n in $names_already_handled; do
6655         if test "$n" = "$name"; then
6656           already_handled=yes
6657           break
6658         fi
6659       done
6660       if test -z "$already_handled"; then
6661         names_already_handled="$names_already_handled $name"
6662                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6663         eval value=\"\$HAVE_LIB$uppername\"
6664         if test -n "$value"; then
6665           if test "$value" = yes; then
6666             eval value=\"\$LIB$uppername\"
6667             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6668             eval value=\"\$LTLIB$uppername\"
6669             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6670           else
6671                                     :
6672           fi
6673         else
6674                               found_dir=
6675           found_la=
6676           found_so=
6677           found_a=
6678           if test $use_additional = yes; then
6679             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6680               found_dir="$additional_libdir"
6681               found_so="$additional_libdir/lib$name.$shlibext"
6682               if test -f "$additional_libdir/lib$name.la"; then
6683                 found_la="$additional_libdir/lib$name.la"
6684               fi
6685             else
6686               if test -f "$additional_libdir/lib$name.$libext"; then
6687                 found_dir="$additional_libdir"
6688                 found_a="$additional_libdir/lib$name.$libext"
6689                 if test -f "$additional_libdir/lib$name.la"; then
6690                   found_la="$additional_libdir/lib$name.la"
6691                 fi
6692               fi
6693             fi
6694           fi
6695           if test "X$found_dir" = "X"; then
6696             for x in $LDFLAGS $LTLIBICONV; do
6697
6698   acl_save_prefix="$prefix"
6699   prefix="$acl_final_prefix"
6700   acl_save_exec_prefix="$exec_prefix"
6701   exec_prefix="$acl_final_exec_prefix"
6702   eval x=\"$x\"
6703   exec_prefix="$acl_save_exec_prefix"
6704   prefix="$acl_save_prefix"
6705
6706               case "$x" in
6707                 -L*)
6708                   dir=`echo "X$x" | sed -e 's/^X-L//'`
6709                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6710                     found_dir="$dir"
6711                     found_so="$dir/lib$name.$shlibext"
6712                     if test -f "$dir/lib$name.la"; then
6713                       found_la="$dir/lib$name.la"
6714                     fi
6715                   else
6716                     if test -f "$dir/lib$name.$libext"; then
6717                       found_dir="$dir"
6718                       found_a="$dir/lib$name.$libext"
6719                       if test -f "$dir/lib$name.la"; then
6720                         found_la="$dir/lib$name.la"
6721                       fi
6722                     fi
6723                   fi
6724                   ;;
6725               esac
6726               if test "X$found_dir" != "X"; then
6727                 break
6728               fi
6729             done
6730           fi
6731           if test "X$found_dir" != "X"; then
6732                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6733             if test "X$found_so" != "X"; then
6734                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
6735                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6736               else
6737                                                                                 haveit=
6738                 for x in $ltrpathdirs; do
6739                   if test "X$x" = "X$found_dir"; then
6740                     haveit=yes
6741                     break
6742                   fi
6743                 done
6744                 if test -z "$haveit"; then
6745                   ltrpathdirs="$ltrpathdirs $found_dir"
6746                 fi
6747                                 if test "$hardcode_direct" = yes; then
6748                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6749                 else
6750                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6751                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6752                                                             haveit=
6753                     for x in $rpathdirs; do
6754                       if test "X$x" = "X$found_dir"; then
6755                         haveit=yes
6756                         break
6757                       fi
6758                     done
6759                     if test -z "$haveit"; then
6760                       rpathdirs="$rpathdirs $found_dir"
6761                     fi
6762                   else
6763                                                                                 haveit=
6764                     for x in $LDFLAGS $LIBICONV; do
6765
6766   acl_save_prefix="$prefix"
6767   prefix="$acl_final_prefix"
6768   acl_save_exec_prefix="$exec_prefix"
6769   exec_prefix="$acl_final_exec_prefix"
6770   eval x=\"$x\"
6771   exec_prefix="$acl_save_exec_prefix"
6772   prefix="$acl_save_prefix"
6773
6774                       if test "X$x" = "X-L$found_dir"; then
6775                         haveit=yes
6776                         break
6777                       fi
6778                     done
6779                     if test -z "$haveit"; then
6780                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6781                     fi
6782                     if test "$hardcode_minus_L" != no; then
6783                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6784                     else
6785                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6786                     fi
6787                   fi
6788                 fi
6789               fi
6790             else
6791               if test "X$found_a" != "X"; then
6792                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6793               else
6794                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6795               fi
6796             fi
6797                         additional_includedir=
6798             case "$found_dir" in
6799               */lib | */lib/)
6800                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6801                 additional_includedir="$basedir/include"
6802                 ;;
6803             esac
6804             if test "X$additional_includedir" != "X"; then
6805                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
6806                 haveit=
6807                 if test "X$additional_includedir" = "X/usr/local/include"; then
6808                   if test -n "$GCC"; then
6809                     case $host_os in
6810                       linux*) haveit=yes;;
6811                     esac
6812                   fi
6813                 fi
6814                 if test -z "$haveit"; then
6815                   for x in $CPPFLAGS $INCICONV; do
6816
6817   acl_save_prefix="$prefix"
6818   prefix="$acl_final_prefix"
6819   acl_save_exec_prefix="$exec_prefix"
6820   exec_prefix="$acl_final_exec_prefix"
6821   eval x=\"$x\"
6822   exec_prefix="$acl_save_exec_prefix"
6823   prefix="$acl_save_prefix"
6824
6825                     if test "X$x" = "X-I$additional_includedir"; then
6826                       haveit=yes
6827                       break
6828                     fi
6829                   done
6830                   if test -z "$haveit"; then
6831                     if test -d "$additional_includedir"; then
6832                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6833                     fi
6834                   fi
6835                 fi
6836               fi
6837             fi
6838                         if test -n "$found_la"; then
6839                                                         save_libdir="$libdir"
6840               case "$found_la" in
6841                 */* | *\\*) . "$found_la" ;;
6842                 *) . "./$found_la" ;;
6843               esac
6844               libdir="$save_libdir"
6845                             for dep in $dependency_libs; do
6846                 case "$dep" in
6847                   -L*)
6848                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6849                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
6850                       haveit=
6851                       if test "X$additional_libdir" = "X/usr/local/lib"; then
6852                         if test -n "$GCC"; then
6853                           case $host_os in
6854                             linux*) haveit=yes;;
6855                           esac
6856                         fi
6857                       fi
6858                       if test -z "$haveit"; then
6859                         haveit=
6860                         for x in $LDFLAGS $LIBICONV; do
6861
6862   acl_save_prefix="$prefix"
6863   prefix="$acl_final_prefix"
6864   acl_save_exec_prefix="$exec_prefix"
6865   exec_prefix="$acl_final_exec_prefix"
6866   eval x=\"$x\"
6867   exec_prefix="$acl_save_exec_prefix"
6868   prefix="$acl_save_prefix"
6869
6870                           if test "X$x" = "X-L$additional_libdir"; then
6871                             haveit=yes
6872                             break
6873                           fi
6874                         done
6875                         if test -z "$haveit"; then
6876                           if test -d "$additional_libdir"; then
6877                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6878                           fi
6879                         fi
6880                         haveit=
6881                         for x in $LDFLAGS $LTLIBICONV; do
6882
6883   acl_save_prefix="$prefix"
6884   prefix="$acl_final_prefix"
6885   acl_save_exec_prefix="$exec_prefix"
6886   exec_prefix="$acl_final_exec_prefix"
6887   eval x=\"$x\"
6888   exec_prefix="$acl_save_exec_prefix"
6889   prefix="$acl_save_prefix"
6890
6891                           if test "X$x" = "X-L$additional_libdir"; then
6892                             haveit=yes
6893                             break
6894                           fi
6895                         done
6896                         if test -z "$haveit"; then
6897                           if test -d "$additional_libdir"; then
6898                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6899                           fi
6900                         fi
6901                       fi
6902                     fi
6903                     ;;
6904                   -R*)
6905                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
6906                     if test "$enable_rpath" != no; then
6907                                                                   haveit=
6908                       for x in $rpathdirs; do
6909                         if test "X$x" = "X$dir"; then
6910                           haveit=yes
6911                           break
6912                         fi
6913                       done
6914                       if test -z "$haveit"; then
6915                         rpathdirs="$rpathdirs $dir"
6916                       fi
6917                                                                   haveit=
6918                       for x in $ltrpathdirs; do
6919                         if test "X$x" = "X$dir"; then
6920                           haveit=yes
6921                           break
6922                         fi
6923                       done
6924                       if test -z "$haveit"; then
6925                         ltrpathdirs="$ltrpathdirs $dir"
6926                       fi
6927                     fi
6928                     ;;
6929                   -l*)
6930                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6931                     ;;
6932                   *.la)
6933                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6934                     ;;
6935                   *)
6936                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6937                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6938                     ;;
6939                 esac
6940               done
6941             fi
6942           else
6943                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6944             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6945           fi
6946         fi
6947       fi
6948     done
6949   done
6950   if test "X$rpathdirs" != "X"; then
6951     if test -n "$hardcode_libdir_separator"; then
6952                         alldirs=
6953       for found_dir in $rpathdirs; do
6954         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6955       done
6956             acl_save_libdir="$libdir"
6957       libdir="$alldirs"
6958       eval flag=\"$hardcode_libdir_flag_spec\"
6959       libdir="$acl_save_libdir"
6960       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6961     else
6962             for found_dir in $rpathdirs; do
6963         acl_save_libdir="$libdir"
6964         libdir="$found_dir"
6965         eval flag=\"$hardcode_libdir_flag_spec\"
6966         libdir="$acl_save_libdir"
6967         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6968       done
6969     fi
6970   fi
6971   if test "X$ltrpathdirs" != "X"; then
6972             for found_dir in $ltrpathdirs; do
6973       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6974     done
6975   fi
6976
6977
6978 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then :
6979   ac_ext=cpp
6980 ac_cpp='$CXXCPP $CPPFLAGS'
6981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6984
6985
6986
6987
6988
6989
6990           am_save_CPPFLAGS="$CPPFLAGS"
6991
6992   for element in $INCICONV; do
6993     haveit=
6994     for x in $CPPFLAGS; do
6995
6996   acl_save_prefix="$prefix"
6997   prefix="$acl_final_prefix"
6998   acl_save_exec_prefix="$exec_prefix"
6999   exec_prefix="$acl_final_exec_prefix"
7000   eval x=\"$x\"
7001   exec_prefix="$acl_save_exec_prefix"
7002   prefix="$acl_save_prefix"
7003
7004       if test "X$x" = "X$element"; then
7005         haveit=yes
7006         break
7007       fi
7008     done
7009     if test -z "$haveit"; then
7010       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7011     fi
7012   done
7013
7014
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7016 $as_echo_n "checking for iconv... " >&6; }
7017 if test "${am_cv_func_iconv+set}" = set; then :
7018   $as_echo_n "(cached) " >&6
7019 else
7020
7021     am_cv_func_iconv="no, consider installing GNU libiconv"
7022     am_cv_lib_iconv=no
7023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h.  */
7025 #include <stdlib.h>
7026 #include <iconv.h>
7027 int
7028 main ()
7029 {
7030 iconv_t cd = iconv_open("","");
7031        iconv(cd,NULL,NULL,NULL,NULL);
7032        iconv_close(cd);
7033   ;
7034   return 0;
7035 }
7036 _ACEOF
7037 if ac_fn_cxx_try_link "$LINENO"; then :
7038   am_cv_func_iconv=yes
7039 fi
7040 rm -f core conftest.err conftest.$ac_objext \
7041     conftest$ac_exeext conftest.$ac_ext
7042     if test "$am_cv_func_iconv" != yes; then
7043       am_save_LIBS="$LIBS"
7044       LIBS="$LIBS $LIBICONV"
7045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h.  */
7047 #include <stdlib.h>
7048 #include <iconv.h>
7049 int
7050 main ()
7051 {
7052 iconv_t cd = iconv_open("","");
7053          iconv(cd,NULL,NULL,NULL,NULL);
7054          iconv_close(cd);
7055   ;
7056   return 0;
7057 }
7058 _ACEOF
7059 if ac_fn_cxx_try_link "$LINENO"; then :
7060   am_cv_lib_iconv=yes
7061         am_cv_func_iconv=yes
7062 fi
7063 rm -f core conftest.err conftest.$ac_objext \
7064     conftest$ac_exeext conftest.$ac_ext
7065       LIBS="$am_save_LIBS"
7066     fi
7067
7068 fi
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7070 $as_echo "$am_cv_func_iconv" >&6; }
7071   if test "$am_cv_func_iconv" = yes; then
7072
7073 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7074
7075   fi
7076   if test "$am_cv_lib_iconv" = yes; then
7077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7078 $as_echo_n "checking how to link with libiconv... " >&6; }
7079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7080 $as_echo "$LIBICONV" >&6; }
7081   else
7082             CPPFLAGS="$am_save_CPPFLAGS"
7083     LIBICONV=
7084     LTLIBICONV=
7085   fi
7086
7087
7088
7089   if test "$am_cv_func_iconv" = yes; then
7090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7091 $as_echo_n "checking for iconv declaration... " >&6; }
7092     if test "${am_cv_proto_iconv+set}" = set; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095
7096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h.  */
7098
7099 #include <stdlib.h>
7100 #include <iconv.h>
7101 extern
7102 #ifdef __cplusplus
7103 "C"
7104 #endif
7105 #if defined(__STDC__) || defined(__cplusplus)
7106 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7107 #else
7108 size_t iconv();
7109 #endif
7110
7111 int
7112 main ()
7113 {
7114
7115   ;
7116   return 0;
7117 }
7118 _ACEOF
7119 if ac_fn_cxx_try_compile "$LINENO"; then :
7120   am_cv_proto_iconv_arg1=""
7121 else
7122   am_cv_proto_iconv_arg1="const"
7123 fi
7124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7125       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7126 fi
7127
7128     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7130          }$am_cv_proto_iconv" >&5
7131 $as_echo "${ac_t:-
7132          }$am_cv_proto_iconv" >&6; }
7133
7134 cat >>confdefs.h <<_ACEOF
7135 #define ICONV_CONST $am_cv_proto_iconv_arg1
7136 _ACEOF
7137
7138   fi
7139
7140    ac_ext=c
7141 ac_cpp='$CPP $CPPFLAGS'
7142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7145
7146 else
7147
7148
7149
7150
7151
7152           am_save_CPPFLAGS="$CPPFLAGS"
7153
7154   for element in $INCICONV; do
7155     haveit=
7156     for x in $CPPFLAGS; do
7157
7158   acl_save_prefix="$prefix"
7159   prefix="$acl_final_prefix"
7160   acl_save_exec_prefix="$exec_prefix"
7161   exec_prefix="$acl_final_exec_prefix"
7162   eval x=\"$x\"
7163   exec_prefix="$acl_save_exec_prefix"
7164   prefix="$acl_save_prefix"
7165
7166       if test "X$x" = "X$element"; then
7167         haveit=yes
7168         break
7169       fi
7170     done
7171     if test -z "$haveit"; then
7172       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7173     fi
7174   done
7175
7176
7177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7178 $as_echo_n "checking for iconv... " >&6; }
7179 if test "${am_cv_func_iconv+set}" = set; then :
7180   $as_echo_n "(cached) " >&6
7181 else
7182
7183     am_cv_func_iconv="no, consider installing GNU libiconv"
7184     am_cv_lib_iconv=no
7185     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h.  */
7187 #include <stdlib.h>
7188 #include <iconv.h>
7189 int
7190 main ()
7191 {
7192 iconv_t cd = iconv_open("","");
7193        iconv(cd,NULL,NULL,NULL,NULL);
7194        iconv_close(cd);
7195   ;
7196   return 0;
7197 }
7198 _ACEOF
7199 if ac_fn_c_try_link "$LINENO"; then :
7200   am_cv_func_iconv=yes
7201 fi
7202 rm -f core conftest.err conftest.$ac_objext \
7203     conftest$ac_exeext conftest.$ac_ext
7204     if test "$am_cv_func_iconv" != yes; then
7205       am_save_LIBS="$LIBS"
7206       LIBS="$LIBS $LIBICONV"
7207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h.  */
7209 #include <stdlib.h>
7210 #include <iconv.h>
7211 int
7212 main ()
7213 {
7214 iconv_t cd = iconv_open("","");
7215          iconv(cd,NULL,NULL,NULL,NULL);
7216          iconv_close(cd);
7217   ;
7218   return 0;
7219 }
7220 _ACEOF
7221 if ac_fn_c_try_link "$LINENO"; then :
7222   am_cv_lib_iconv=yes
7223         am_cv_func_iconv=yes
7224 fi
7225 rm -f core conftest.err conftest.$ac_objext \
7226     conftest$ac_exeext conftest.$ac_ext
7227       LIBS="$am_save_LIBS"
7228     fi
7229
7230 fi
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7232 $as_echo "$am_cv_func_iconv" >&6; }
7233   if test "$am_cv_func_iconv" = yes; then
7234
7235 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7236
7237   fi
7238   if test "$am_cv_lib_iconv" = yes; then
7239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7240 $as_echo_n "checking how to link with libiconv... " >&6; }
7241     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7242 $as_echo "$LIBICONV" >&6; }
7243   else
7244             CPPFLAGS="$am_save_CPPFLAGS"
7245     LIBICONV=
7246     LTLIBICONV=
7247   fi
7248
7249
7250
7251   if test "$am_cv_func_iconv" = yes; then
7252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7253 $as_echo_n "checking for iconv declaration... " >&6; }
7254     if test "${am_cv_proto_iconv+set}" = set; then :
7255   $as_echo_n "(cached) " >&6
7256 else
7257
7258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h.  */
7260
7261 #include <stdlib.h>
7262 #include <iconv.h>
7263 extern
7264 #ifdef __cplusplus
7265 "C"
7266 #endif
7267 #if defined(__STDC__) || defined(__cplusplus)
7268 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7269 #else
7270 size_t iconv();
7271 #endif
7272
7273 int
7274 main ()
7275 {
7276
7277   ;
7278   return 0;
7279 }
7280 _ACEOF
7281 if ac_fn_c_try_compile "$LINENO"; then :
7282   am_cv_proto_iconv_arg1=""
7283 else
7284   am_cv_proto_iconv_arg1="const"
7285 fi
7286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7288 fi
7289
7290     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7292          }$am_cv_proto_iconv" >&5
7293 $as_echo "${ac_t:-
7294          }$am_cv_proto_iconv" >&6; }
7295
7296 cat >>confdefs.h <<_ACEOF
7297 #define ICONV_CONST $am_cv_proto_iconv_arg1
7298 _ACEOF
7299
7300   fi
7301
7302 fi
7303
7304 # More defines and substitutions.
7305 PACKAGE="$PACKAGE_TARNAME"
7306
7307 cat >>confdefs.h <<_ACEOF
7308 #define PACKAGE "$PACKAGE"
7309 _ACEOF
7310
7311
7312
7313 if test "x$enable_nls" != xno; then
7314   USED_CATALOGS='$(CATALOGS)'
7315 else
7316   USED_CATALOGS=
7317 fi
7318
7319
7320 # Check whether --enable-maintainer-mode was given.
7321 if test "${enable_maintainer_mode+set}" = set; then :
7322   enableval=$enable_maintainer_mode;
7323 else
7324   enable_maintainer_mode=no
7325 fi
7326
7327
7328 if test "x$enable_maintainer_mode" = xno; then
7329   MAINT='#'
7330 else
7331   MAINT=
7332 fi
7333
7334
7335 # Check whether --enable-checking was given.
7336 if test "${enable_checking+set}" = set; then :
7337   enableval=$enable_checking;
7338 else
7339   enable_checking=no
7340 fi
7341
7342
7343 if test $enable_checking != no ; then
7344
7345 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
7346
7347 fi
7348
7349
7350 case $target in
7351         alpha*-*-* | \
7352         arm*-*-*eabi* | \
7353         arm*-*-symbianelf* | \
7354         x86_64-*-* | \
7355         ia64-*-* | \
7356         hppa*64*-*-* | \
7357         i[34567]86-*-* | x86_64-*-solaris2.1[0-9]* | \
7358         mips*-*-* | \
7359         mmix-*-* | \
7360         powerpc*-*-* | \
7361         rs6000*-*-* | \
7362         s390*-*-* | \
7363         sparc*-*-* | \
7364         spu-*-* | \
7365         sh[123456789lbe]*-*-* | sh-*-* | \
7366         tilegx-*-* | tilepro-*-* )
7367                 need_64bit_hwint=yes ;;
7368         *)
7369                 need_64bit_hwint=no ;;
7370 esac
7371
7372 case $need_64bit_hwint:$ac_cv_sizeof_long in
7373         *:8 | no:*) host_wide_int=long ;;
7374         *) host_wide_int='long long' ;;
7375 esac
7376
7377
7378
7379 cat >>confdefs.h <<_ACEOF
7380 #define HOST_WIDE_INT $host_wide_int
7381 _ACEOF
7382
7383
7384 case $target in
7385   i?86-* | x86_64-*)
7386     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h.  */
7388
7389 int
7390 main ()
7391 {
7392 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
7393   ;
7394   return 0;
7395 }
7396 _ACEOF
7397 if ac_fn_c_try_compile "$LINENO"; then :
7398
7399 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
7400
7401 fi
7402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7403 esac
7404
7405 # Output.
7406
7407 ac_config_headers="$ac_config_headers config.h:config.in"
7408
7409 ac_config_files="$ac_config_files Makefile"
7410
7411 cat >confcache <<\_ACEOF
7412 # This file is a shell script that caches the results of configure
7413 # tests run on this system so they can be shared between configure
7414 # scripts and configure runs, see configure's option --config-cache.
7415 # It is not useful on other systems.  If it contains results you don't
7416 # want to keep, you may remove or edit it.
7417 #
7418 # config.status only pays attention to the cache file if you give it
7419 # the --recheck option to rerun configure.
7420 #
7421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7423 # following values.
7424
7425 _ACEOF
7426
7427 # The following way of writing the cache mishandles newlines in values,
7428 # but we know of no workaround that is simple, portable, and efficient.
7429 # So, we kill variables containing newlines.
7430 # Ultrix sh set writes to stderr and can't be redirected directly,
7431 # and sets the high bit in the cache file unless we assign to the vars.
7432 (
7433   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7434     eval ac_val=\$$ac_var
7435     case $ac_val in #(
7436     *${as_nl}*)
7437       case $ac_var in #(
7438       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7439 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7440       esac
7441       case $ac_var in #(
7442       _ | IFS | as_nl) ;; #(
7443       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7444       *) { eval $ac_var=; unset $ac_var;} ;;
7445       esac ;;
7446     esac
7447   done
7448
7449   (set) 2>&1 |
7450     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7451     *${as_nl}ac_space=\ *)
7452       # `set' does not quote correctly, so add quotes: double-quote
7453       # substitution turns \\\\ into \\, and sed turns \\ into \.
7454       sed -n \
7455         "s/'/'\\\\''/g;
7456           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7457       ;; #(
7458     *)
7459       # `set' quotes correctly as required by POSIX, so do not add quotes.
7460       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7461       ;;
7462     esac |
7463     sort
7464 ) |
7465   sed '
7466      /^ac_cv_env_/b end
7467      t clear
7468      :clear
7469      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7470      t end
7471      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7472      :end' >>confcache
7473 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7474   if test -w "$cache_file"; then
7475     test "x$cache_file" != "x/dev/null" &&
7476       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7477 $as_echo "$as_me: updating cache $cache_file" >&6;}
7478     cat confcache >$cache_file
7479   else
7480     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7482   fi
7483 fi
7484 rm -f confcache
7485
7486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7487 # Let make expand exec_prefix.
7488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7489
7490 DEFS=-DHAVE_CONFIG_H
7491
7492 ac_libobjs=
7493 ac_ltlibobjs=
7494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7495   # 1. Remove the extension, and $U if already installed.
7496   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7497   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7498   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7499   #    will be set to the directory where LIBOBJS objects are built.
7500   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7501   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7502 done
7503 LIBOBJS=$ac_libobjs
7504
7505 LTLIBOBJS=$ac_ltlibobjs
7506
7507
7508
7509
7510 : ${CONFIG_STATUS=./config.status}
7511 ac_write_fail=0
7512 ac_clean_files_save=$ac_clean_files
7513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7516 as_write_fail=0
7517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7518 #! $SHELL
7519 # Generated by $as_me.
7520 # Run this file to recreate the current configuration.
7521 # Compiler output produced by configure, useful for debugging
7522 # configure, is in config.log if it exists.
7523
7524 debug=false
7525 ac_cs_recheck=false
7526 ac_cs_silent=false
7527
7528 SHELL=\${CONFIG_SHELL-$SHELL}
7529 export SHELL
7530 _ASEOF
7531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7532 ## -------------------- ##
7533 ## M4sh Initialization. ##
7534 ## -------------------- ##
7535
7536 # Be more Bourne compatible
7537 DUALCASE=1; export DUALCASE # for MKS sh
7538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7539   emulate sh
7540   NULLCMD=:
7541   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7542   # is contrary to our usage.  Disable this feature.
7543   alias -g '${1+"$@"}'='"$@"'
7544   setopt NO_GLOB_SUBST
7545 else
7546   case `(set -o) 2>/dev/null` in #(
7547   *posix*) :
7548     set -o posix ;; #(
7549   *) :
7550      ;;
7551 esac
7552 fi
7553
7554
7555 as_nl='
7556 '
7557 export as_nl
7558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7562 # Prefer a ksh shell builtin over an external printf program on Solaris,
7563 # but without wasting forks for bash or zsh.
7564 if test -z "$BASH_VERSION$ZSH_VERSION" \
7565     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7566   as_echo='print -r --'
7567   as_echo_n='print -rn --'
7568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7569   as_echo='printf %s\n'
7570   as_echo_n='printf %s'
7571 else
7572   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7573     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7574     as_echo_n='/usr/ucb/echo -n'
7575   else
7576     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7577     as_echo_n_body='eval
7578       arg=$1;
7579       case $arg in #(
7580       *"$as_nl"*)
7581         expr "X$arg" : "X\\(.*\\)$as_nl";
7582         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7583       esac;
7584       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7585     '
7586     export as_echo_n_body
7587     as_echo_n='sh -c $as_echo_n_body as_echo'
7588   fi
7589   export as_echo_body
7590   as_echo='sh -c $as_echo_body as_echo'
7591 fi
7592
7593 # The user is always right.
7594 if test "${PATH_SEPARATOR+set}" != set; then
7595   PATH_SEPARATOR=:
7596   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7597     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7598       PATH_SEPARATOR=';'
7599   }
7600 fi
7601
7602
7603 # IFS
7604 # We need space, tab and new line, in precisely that order.  Quoting is
7605 # there to prevent editors from complaining about space-tab.
7606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7607 # splitting by setting IFS to empty value.)
7608 IFS=" ""        $as_nl"
7609
7610 # Find who we are.  Look in the path if we contain no directory separator.
7611 case $0 in #((
7612   *[\\/]* ) as_myself=$0 ;;
7613   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7615 do
7616   IFS=$as_save_IFS
7617   test -z "$as_dir" && as_dir=.
7618     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7619   done
7620 IFS=$as_save_IFS
7621
7622      ;;
7623 esac
7624 # We did not find ourselves, most probably we were run as `sh COMMAND'
7625 # in which case we are not to be found in the path.
7626 if test "x$as_myself" = x; then
7627   as_myself=$0
7628 fi
7629 if test ! -f "$as_myself"; then
7630   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7631   exit 1
7632 fi
7633
7634 # Unset variables that we do not need and which cause bugs (e.g. in
7635 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7636 # suppresses any "Segmentation fault" message there.  '((' could
7637 # trigger a bug in pdksh 5.2.14.
7638 for as_var in BASH_ENV ENV MAIL MAILPATH
7639 do eval test x\${$as_var+set} = xset \
7640   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7641 done
7642 PS1='$ '
7643 PS2='> '
7644 PS4='+ '
7645
7646 # NLS nuisances.
7647 LC_ALL=C
7648 export LC_ALL
7649 LANGUAGE=C
7650 export LANGUAGE
7651
7652 # CDPATH.
7653 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7654
7655
7656 # as_fn_error ERROR [LINENO LOG_FD]
7657 # ---------------------------------
7658 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7659 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7660 # script with status $?, using 1 if that was 0.
7661 as_fn_error ()
7662 {
7663   as_status=$?; test $as_status -eq 0 && as_status=1
7664   if test "$3"; then
7665     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7666     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7667   fi
7668   $as_echo "$as_me: error: $1" >&2
7669   as_fn_exit $as_status
7670 } # as_fn_error
7671
7672
7673 # as_fn_set_status STATUS
7674 # -----------------------
7675 # Set $? to STATUS, without forking.
7676 as_fn_set_status ()
7677 {
7678   return $1
7679 } # as_fn_set_status
7680
7681 # as_fn_exit STATUS
7682 # -----------------
7683 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7684 as_fn_exit ()
7685 {
7686   set +e
7687   as_fn_set_status $1
7688   exit $1
7689 } # as_fn_exit
7690
7691 # as_fn_unset VAR
7692 # ---------------
7693 # Portably unset VAR.
7694 as_fn_unset ()
7695 {
7696   { eval $1=; unset $1;}
7697 }
7698 as_unset=as_fn_unset
7699 # as_fn_append VAR VALUE
7700 # ----------------------
7701 # Append the text in VALUE to the end of the definition contained in VAR. Take
7702 # advantage of any shell optimizations that allow amortized linear growth over
7703 # repeated appends, instead of the typical quadratic growth present in naive
7704 # implementations.
7705 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7706   eval 'as_fn_append ()
7707   {
7708     eval $1+=\$2
7709   }'
7710 else
7711   as_fn_append ()
7712   {
7713     eval $1=\$$1\$2
7714   }
7715 fi # as_fn_append
7716
7717 # as_fn_arith ARG...
7718 # ------------------
7719 # Perform arithmetic evaluation on the ARGs, and store the result in the
7720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7721 # must be portable across $(()) and expr.
7722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7723   eval 'as_fn_arith ()
7724   {
7725     as_val=$(( $* ))
7726   }'
7727 else
7728   as_fn_arith ()
7729   {
7730     as_val=`expr "$@" || test $? -eq 1`
7731   }
7732 fi # as_fn_arith
7733
7734
7735 if expr a : '\(a\)' >/dev/null 2>&1 &&
7736    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7737   as_expr=expr
7738 else
7739   as_expr=false
7740 fi
7741
7742 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7743   as_basename=basename
7744 else
7745   as_basename=false
7746 fi
7747
7748 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7749   as_dirname=dirname
7750 else
7751   as_dirname=false
7752 fi
7753
7754 as_me=`$as_basename -- "$0" ||
7755 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7756          X"$0" : 'X\(//\)$' \| \
7757          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7758 $as_echo X/"$0" |
7759     sed '/^.*\/\([^/][^/]*\)\/*$/{
7760             s//\1/
7761             q
7762           }
7763           /^X\/\(\/\/\)$/{
7764             s//\1/
7765             q
7766           }
7767           /^X\/\(\/\).*/{
7768             s//\1/
7769             q
7770           }
7771           s/.*/./; q'`
7772
7773 # Avoid depending upon Character Ranges.
7774 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7775 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7776 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7777 as_cr_digits='0123456789'
7778 as_cr_alnum=$as_cr_Letters$as_cr_digits
7779
7780 ECHO_C= ECHO_N= ECHO_T=
7781 case `echo -n x` in #(((((
7782 -n*)
7783   case `echo 'xy\c'` in
7784   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7785   xy)  ECHO_C='\c';;
7786   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7787        ECHO_T=' ';;
7788   esac;;
7789 *)
7790   ECHO_N='-n';;
7791 esac
7792
7793 rm -f conf$$ conf$$.exe conf$$.file
7794 if test -d conf$$.dir; then
7795   rm -f conf$$.dir/conf$$.file
7796 else
7797   rm -f conf$$.dir
7798   mkdir conf$$.dir 2>/dev/null
7799 fi
7800 if (echo >conf$$.file) 2>/dev/null; then
7801   if ln -s conf$$.file conf$$ 2>/dev/null; then
7802     as_ln_s='ln -s'
7803     # ... but there are two gotchas:
7804     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7805     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7806     # In both cases, we have to default to `cp -p'.
7807     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7808       as_ln_s='cp -p'
7809   elif ln conf$$.file conf$$ 2>/dev/null; then
7810     as_ln_s=ln
7811   else
7812     as_ln_s='cp -p'
7813   fi
7814 else
7815   as_ln_s='cp -p'
7816 fi
7817 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7818 rmdir conf$$.dir 2>/dev/null
7819
7820
7821 # as_fn_mkdir_p
7822 # -------------
7823 # Create "$as_dir" as a directory, including parents if necessary.
7824 as_fn_mkdir_p ()
7825 {
7826
7827   case $as_dir in #(
7828   -*) as_dir=./$as_dir;;
7829   esac
7830   test -d "$as_dir" || eval $as_mkdir_p || {
7831     as_dirs=
7832     while :; do
7833       case $as_dir in #(
7834       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7835       *) as_qdir=$as_dir;;
7836       esac
7837       as_dirs="'$as_qdir' $as_dirs"
7838       as_dir=`$as_dirname -- "$as_dir" ||
7839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7840          X"$as_dir" : 'X\(//\)[^/]' \| \
7841          X"$as_dir" : 'X\(//\)$' \| \
7842          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7843 $as_echo X"$as_dir" |
7844     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7845             s//\1/
7846             q
7847           }
7848           /^X\(\/\/\)[^/].*/{
7849             s//\1/
7850             q
7851           }
7852           /^X\(\/\/\)$/{
7853             s//\1/
7854             q
7855           }
7856           /^X\(\/\).*/{
7857             s//\1/
7858             q
7859           }
7860           s/.*/./; q'`
7861       test -d "$as_dir" && break
7862     done
7863     test -z "$as_dirs" || eval "mkdir $as_dirs"
7864   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
7865
7866
7867 } # as_fn_mkdir_p
7868 if mkdir -p . 2>/dev/null; then
7869   as_mkdir_p='mkdir -p "$as_dir"'
7870 else
7871   test -d ./-p && rmdir ./-p
7872   as_mkdir_p=false
7873 fi
7874
7875 if test -x / >/dev/null 2>&1; then
7876   as_test_x='test -x'
7877 else
7878   if ls -dL / >/dev/null 2>&1; then
7879     as_ls_L_option=L
7880   else
7881     as_ls_L_option=
7882   fi
7883   as_test_x='
7884     eval sh -c '\''
7885       if test -d "$1"; then
7886         test -d "$1/.";
7887       else
7888         case $1 in #(
7889         -*)set "./$1";;
7890         esac;
7891         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7892         ???[sx]*):;;*)false;;esac;fi
7893     '\'' sh
7894   '
7895 fi
7896 as_executable_p=$as_test_x
7897
7898 # Sed expression to map a string onto a valid CPP name.
7899 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7900
7901 # Sed expression to map a string onto a valid variable name.
7902 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7903
7904
7905 exec 6>&1
7906 ## ----------------------------------- ##
7907 ## Main body of $CONFIG_STATUS script. ##
7908 ## ----------------------------------- ##
7909 _ASEOF
7910 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7911
7912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7913 # Save the log message, to keep $0 and so on meaningful, and to
7914 # report actual input values of CONFIG_FILES etc. instead of their
7915 # values after options handling.
7916 ac_log="
7917 This file was extended by cpplib $as_me  , which was
7918 generated by GNU Autoconf 2.64.  Invocation command line was
7919
7920   CONFIG_FILES    = $CONFIG_FILES
7921   CONFIG_HEADERS  = $CONFIG_HEADERS
7922   CONFIG_LINKS    = $CONFIG_LINKS
7923   CONFIG_COMMANDS = $CONFIG_COMMANDS
7924   $ $0 $@
7925
7926 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7927 "
7928
7929 _ACEOF
7930
7931 case $ac_config_files in *"
7932 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7933 esac
7934
7935 case $ac_config_headers in *"
7936 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7937 esac
7938
7939
7940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7941 # Files that config.status was made for.
7942 config_files="$ac_config_files"
7943 config_headers="$ac_config_headers"
7944 config_commands="$ac_config_commands"
7945
7946 _ACEOF
7947
7948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7949 ac_cs_usage="\
7950 \`$as_me' instantiates files and other configuration actions
7951 from templates according to the current configuration.  Unless the files
7952 and actions are specified as TAGs, all are instantiated by default.
7953
7954 Usage: $0 [OPTION]... [TAG]...
7955
7956   -h, --help       print this help, then exit
7957   -V, --version    print version number and configuration settings, then exit
7958   -q, --quiet, --silent
7959                    do not print progress messages
7960   -d, --debug      don't remove temporary files
7961       --recheck    update $as_me by reconfiguring in the same conditions
7962       --file=FILE[:TEMPLATE]
7963                    instantiate the configuration file FILE
7964       --header=FILE[:TEMPLATE]
7965                    instantiate the configuration header FILE
7966
7967 Configuration files:
7968 $config_files
7969
7970 Configuration headers:
7971 $config_headers
7972
7973 Configuration commands:
7974 $config_commands
7975
7976 Report bugs to <gcc-bugs@gcc.gnu.org>."
7977
7978 _ACEOF
7979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7980 ac_cs_version="\\
7981 cpplib config.status
7982 configured by $0, generated by GNU Autoconf 2.64,
7983   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7984
7985 Copyright (C) 2009 Free Software Foundation, Inc.
7986 This config.status script is free software; the Free Software Foundation
7987 gives unlimited permission to copy, distribute and modify it."
7988
7989 ac_pwd='$ac_pwd'
7990 srcdir='$srcdir'
7991 INSTALL='$INSTALL'
7992 test -n "\$AWK" || AWK=awk
7993 _ACEOF
7994
7995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7996 # The default lists apply if the user does not specify any file.
7997 ac_need_defaults=:
7998 while test $# != 0
7999 do
8000   case $1 in
8001   --*=*)
8002     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8003     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8004     ac_shift=:
8005     ;;
8006   *)
8007     ac_option=$1
8008     ac_optarg=$2
8009     ac_shift=shift
8010     ;;
8011   esac
8012
8013   case $ac_option in
8014   # Handling of the options.
8015   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8016     ac_cs_recheck=: ;;
8017   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8018     $as_echo "$ac_cs_version"; exit ;;
8019   --debug | --debu | --deb | --de | --d | -d )
8020     debug=: ;;
8021   --file | --fil | --fi | --f )
8022     $ac_shift
8023     case $ac_optarg in
8024     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8025     esac
8026     as_fn_append CONFIG_FILES " '$ac_optarg'"
8027     ac_need_defaults=false;;
8028   --header | --heade | --head | --hea )
8029     $ac_shift
8030     case $ac_optarg in
8031     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8032     esac
8033     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8034     ac_need_defaults=false;;
8035   --he | --h)
8036     # Conflict between --help and --header
8037     as_fn_error "ambiguous option: \`$1'
8038 Try \`$0 --help' for more information.";;
8039   --help | --hel | -h )
8040     $as_echo "$ac_cs_usage"; exit ;;
8041   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8042   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8043     ac_cs_silent=: ;;
8044
8045   # This is an error.
8046   -*) as_fn_error "unrecognized option: \`$1'
8047 Try \`$0 --help' for more information." ;;
8048
8049   *) as_fn_append ac_config_targets " $1"
8050      ac_need_defaults=false ;;
8051
8052   esac
8053   shift
8054 done
8055
8056 ac_configure_extra_args=
8057
8058 if $ac_cs_silent; then
8059   exec 6>/dev/null
8060   ac_configure_extra_args="$ac_configure_extra_args --silent"
8061 fi
8062
8063 _ACEOF
8064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8065 if \$ac_cs_recheck; then
8066   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8067   shift
8068   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8069   CONFIG_SHELL='$SHELL'
8070   export CONFIG_SHELL
8071   exec "\$@"
8072 fi
8073
8074 _ACEOF
8075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8076 exec 5>>config.log
8077 {
8078   echo
8079   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8080 ## Running $as_me. ##
8081 _ASBOX
8082   $as_echo "$ac_log"
8083 } >&5
8084
8085 _ACEOF
8086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8087 #
8088 # INIT-COMMANDS
8089 #
8090 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8091
8092 _ACEOF
8093
8094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8095
8096 # Handling of arguments.
8097 for ac_config_target in $ac_config_targets
8098 do
8099   case $ac_config_target in
8100     "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
8101     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8102     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8103
8104   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8105   esac
8106 done
8107
8108
8109 # If the user did not use the arguments to specify the items to instantiate,
8110 # then the envvar interface is used.  Set only those that are not.
8111 # We use the long form for the default assignment because of an extremely
8112 # bizarre bug on SunOS 4.1.3.
8113 if $ac_need_defaults; then
8114   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8115   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8116   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8117 fi
8118
8119 # Have a temporary directory for convenience.  Make it in the build tree
8120 # simply because there is no reason against having it here, and in addition,
8121 # creating and moving files from /tmp can sometimes cause problems.
8122 # Hook for its removal unless debugging.
8123 # Note that there is a small window in which the directory will not be cleaned:
8124 # after its creation but before its name has been assigned to `$tmp'.
8125 $debug ||
8126 {
8127   tmp=
8128   trap 'exit_status=$?
8129   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8130 ' 0
8131   trap 'as_fn_exit 1' 1 2 13 15
8132 }
8133 # Create a (secure) tmp directory for tmp files.
8134
8135 {
8136   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8137   test -n "$tmp" && test -d "$tmp"
8138 }  ||
8139 {
8140   tmp=./conf$$-$RANDOM
8141   (umask 077 && mkdir "$tmp")
8142 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
8143
8144 # Set up the scripts for CONFIG_FILES section.
8145 # No need to generate them if there are no CONFIG_FILES.
8146 # This happens for instance with `./config.status config.h'.
8147 if test -n "$CONFIG_FILES"; then
8148
8149
8150 ac_cr=`echo X | tr X '\015'`
8151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8152 # But we know of no other shell where ac_cr would be empty at this
8153 # point, so we can use a bashism as a fallback.
8154 if test "x$ac_cr" = x; then
8155   eval ac_cr=\$\'\\r\'
8156 fi
8157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8159   ac_cs_awk_cr='\r'
8160 else
8161   ac_cs_awk_cr=$ac_cr
8162 fi
8163
8164 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8165 _ACEOF
8166
8167
8168 {
8169   echo "cat >conf$$subs.awk <<_ACEOF" &&
8170   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8171   echo "_ACEOF"
8172 } >conf$$subs.sh ||
8173   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8175 ac_delim='%!_!# '
8176 for ac_last_try in false false false false false :; do
8177   . ./conf$$subs.sh ||
8178     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8179
8180   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8181   if test $ac_delim_n = $ac_delim_num; then
8182     break
8183   elif $ac_last_try; then
8184     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8185   else
8186     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8187   fi
8188 done
8189 rm -f conf$$subs.sh
8190
8191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8192 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8193 _ACEOF
8194 sed -n '
8195 h
8196 s/^/S["/; s/!.*/"]=/
8197 p
8198 g
8199 s/^[^!]*!//
8200 :repl
8201 t repl
8202 s/'"$ac_delim"'$//
8203 t delim
8204 :nl
8205 h
8206 s/\(.\{148\}\).*/\1/
8207 t more1
8208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8209 p
8210 n
8211 b repl
8212 :more1
8213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8214 p
8215 g
8216 s/.\{148\}//
8217 t nl
8218 :delim
8219 h
8220 s/\(.\{148\}\).*/\1/
8221 t more2
8222 s/["\\]/\\&/g; s/^/"/; s/$/"/
8223 p
8224 b
8225 :more2
8226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8227 p
8228 g
8229 s/.\{148\}//
8230 t delim
8231 ' <conf$$subs.awk | sed '
8232 /^[^""]/{
8233   N
8234   s/\n//
8235 }
8236 ' >>$CONFIG_STATUS || ac_write_fail=1
8237 rm -f conf$$subs.awk
8238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8239 _ACAWK
8240 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8241   for (key in S) S_is_set[key] = 1
8242   FS = "\a"
8243
8244 }
8245 {
8246   line = $ 0
8247   nfields = split(line, field, "@")
8248   substed = 0
8249   len = length(field[1])
8250   for (i = 2; i < nfields; i++) {
8251     key = field[i]
8252     keylen = length(key)
8253     if (S_is_set[key]) {
8254       value = S[key]
8255       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8256       len += length(value) + length(field[++i])
8257       substed = 1
8258     } else
8259       len += 1 + keylen
8260   }
8261
8262   print line
8263 }
8264
8265 _ACAWK
8266 _ACEOF
8267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8269   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8270 else
8271   cat
8272 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8273   || as_fn_error "could not setup config files machinery" "$LINENO" 5
8274 _ACEOF
8275
8276 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8277 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8278 # trailing colons and then remove the whole line if VPATH becomes empty
8279 # (actually we leave an empty line to preserve line numbers).
8280 if test "x$srcdir" = x.; then
8281   ac_vpsub='/^[  ]*VPATH[        ]*=/{
8282 s/:*\$(srcdir):*/:/
8283 s/:*\${srcdir}:*/:/
8284 s/:*@srcdir@:*/:/
8285 s/^\([^=]*=[     ]*\):*/\1/
8286 s/:*$//
8287 s/^[^=]*=[       ]*$//
8288 }'
8289 fi
8290
8291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8292 fi # test -n "$CONFIG_FILES"
8293
8294 # Set up the scripts for CONFIG_HEADERS section.
8295 # No need to generate them if there are no CONFIG_HEADERS.
8296 # This happens for instance with `./config.status Makefile'.
8297 if test -n "$CONFIG_HEADERS"; then
8298 cat >"$tmp/defines.awk" <<\_ACAWK ||
8299 BEGIN {
8300 _ACEOF
8301
8302 # Transform confdefs.h into an awk script `defines.awk', embedded as
8303 # here-document in config.status, that substitutes the proper values into
8304 # config.h.in to produce config.h.
8305
8306 # Create a delimiter string that does not exist in confdefs.h, to ease
8307 # handling of long lines.
8308 ac_delim='%!_!# '
8309 for ac_last_try in false false :; do
8310   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8311   if test -z "$ac_t"; then
8312     break
8313   elif $ac_last_try; then
8314     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
8315   else
8316     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8317   fi
8318 done
8319
8320 # For the awk script, D is an array of macro values keyed by name,
8321 # likewise P contains macro parameters if any.  Preserve backslash
8322 # newline sequences.
8323
8324 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8325 sed -n '
8326 s/.\{148\}/&'"$ac_delim"'/g
8327 t rset
8328 :rset
8329 s/^[     ]*#[    ]*define[       ][      ]*/ /
8330 t def
8331 d
8332 :def
8333 s/\\$//
8334 t bsnl
8335 s/["\\]/\\&/g
8336 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8337 D["\1"]=" \3"/p
8338 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
8339 d
8340 :bsnl
8341 s/["\\]/\\&/g
8342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8343 D["\1"]=" \3\\\\\\n"\\/p
8344 t cont
8345 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8346 t cont
8347 d
8348 :cont
8349 n
8350 s/.\{148\}/&'"$ac_delim"'/g
8351 t clear
8352 :clear
8353 s/\\$//
8354 t bsnlc
8355 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8356 d
8357 :bsnlc
8358 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8359 b cont
8360 ' <confdefs.h | sed '
8361 s/'"$ac_delim"'/"\\\
8362 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8363
8364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8365   for (key in D) D_is_set[key] = 1
8366   FS = "\a"
8367 }
8368 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8369   line = \$ 0
8370   split(line, arg, " ")
8371   if (arg[1] == "#") {
8372     defundef = arg[2]
8373     mac1 = arg[3]
8374   } else {
8375     defundef = substr(arg[1], 2)
8376     mac1 = arg[2]
8377   }
8378   split(mac1, mac2, "(") #)
8379   macro = mac2[1]
8380   prefix = substr(line, 1, index(line, defundef) - 1)
8381   if (D_is_set[macro]) {
8382     # Preserve the white space surrounding the "#".
8383     print prefix "define", macro P[macro] D[macro]
8384     next
8385   } else {
8386     # Replace #undef with comments.  This is necessary, for example,
8387     # in the case of _POSIX_SOURCE, which is predefined and required
8388     # on some systems where configure will not decide to define it.
8389     if (defundef == "undef") {
8390       print "/*", prefix defundef, macro, "*/"
8391       next
8392     }
8393   }
8394 }
8395 { print }
8396 _ACAWK
8397 _ACEOF
8398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8399   as_fn_error "could not setup config headers machinery" "$LINENO" 5
8400 fi # test -n "$CONFIG_HEADERS"
8401
8402
8403 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8404 shift
8405 for ac_tag
8406 do
8407   case $ac_tag in
8408   :[FHLC]) ac_mode=$ac_tag; continue;;
8409   esac
8410   case $ac_mode$ac_tag in
8411   :[FHL]*:*);;
8412   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8413   :[FH]-) ac_tag=-:-;;
8414   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8415   esac
8416   ac_save_IFS=$IFS
8417   IFS=:
8418   set x $ac_tag
8419   IFS=$ac_save_IFS
8420   shift
8421   ac_file=$1
8422   shift
8423
8424   case $ac_mode in
8425   :L) ac_source=$1;;
8426   :[FH])
8427     ac_file_inputs=
8428     for ac_f
8429     do
8430       case $ac_f in
8431       -) ac_f="$tmp/stdin";;
8432       *) # Look for the file first in the build tree, then in the source tree
8433          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8434          # because $ac_f cannot contain `:'.
8435          test -f "$ac_f" ||
8436            case $ac_f in
8437            [\\/$]*) false;;
8438            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8439            esac ||
8440            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8441       esac
8442       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8443       as_fn_append ac_file_inputs " '$ac_f'"
8444     done
8445
8446     # Let's still pretend it is `configure' which instantiates (i.e., don't
8447     # use $as_me), people would be surprised to read:
8448     #    /* config.h.  Generated by config.status.  */
8449     configure_input='Generated from '`
8450           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8451         `' by configure.'
8452     if test x"$ac_file" != x-; then
8453       configure_input="$ac_file.  $configure_input"
8454       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8455 $as_echo "$as_me: creating $ac_file" >&6;}
8456     fi
8457     # Neutralize special characters interpreted by sed in replacement strings.
8458     case $configure_input in #(
8459     *\&* | *\|* | *\\* )
8460        ac_sed_conf_input=`$as_echo "$configure_input" |
8461        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8462     *) ac_sed_conf_input=$configure_input;;
8463     esac
8464
8465     case $ac_tag in
8466     *:-:* | *:-) cat >"$tmp/stdin" \
8467       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8468     esac
8469     ;;
8470   esac
8471
8472   ac_dir=`$as_dirname -- "$ac_file" ||
8473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8474          X"$ac_file" : 'X\(//\)[^/]' \| \
8475          X"$ac_file" : 'X\(//\)$' \| \
8476          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8477 $as_echo X"$ac_file" |
8478     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8479             s//\1/
8480             q
8481           }
8482           /^X\(\/\/\)[^/].*/{
8483             s//\1/
8484             q
8485           }
8486           /^X\(\/\/\)$/{
8487             s//\1/
8488             q
8489           }
8490           /^X\(\/\).*/{
8491             s//\1/
8492             q
8493           }
8494           s/.*/./; q'`
8495   as_dir="$ac_dir"; as_fn_mkdir_p
8496   ac_builddir=.
8497
8498 case "$ac_dir" in
8499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8500 *)
8501   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8502   # A ".." for each directory in $ac_dir_suffix.
8503   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8504   case $ac_top_builddir_sub in
8505   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8506   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8507   esac ;;
8508 esac
8509 ac_abs_top_builddir=$ac_pwd
8510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8511 # for backward compatibility:
8512 ac_top_builddir=$ac_top_build_prefix
8513
8514 case $srcdir in
8515   .)  # We are building in place.
8516     ac_srcdir=.
8517     ac_top_srcdir=$ac_top_builddir_sub
8518     ac_abs_top_srcdir=$ac_pwd ;;
8519   [\\/]* | ?:[\\/]* )  # Absolute name.
8520     ac_srcdir=$srcdir$ac_dir_suffix;
8521     ac_top_srcdir=$srcdir
8522     ac_abs_top_srcdir=$srcdir ;;
8523   *) # Relative name.
8524     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8525     ac_top_srcdir=$ac_top_build_prefix$srcdir
8526     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8527 esac
8528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8529
8530
8531   case $ac_mode in
8532   :F)
8533   #
8534   # CONFIG_FILE
8535   #
8536
8537   case $INSTALL in
8538   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8539   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8540   esac
8541 _ACEOF
8542
8543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8544 # If the template does not know about datarootdir, expand it.
8545 # FIXME: This hack should be removed a few years after 2.60.
8546 ac_datarootdir_hack=; ac_datarootdir_seen=
8547 ac_sed_dataroot='
8548 /datarootdir/ {
8549   p
8550   q
8551 }
8552 /@datadir@/p
8553 /@docdir@/p
8554 /@infodir@/p
8555 /@localedir@/p
8556 /@mandir@/p'
8557 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8558 *datarootdir*) ac_datarootdir_seen=yes;;
8559 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8560   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8561 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8562 _ACEOF
8563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8564   ac_datarootdir_hack='
8565   s&@datadir@&$datadir&g
8566   s&@docdir@&$docdir&g
8567   s&@infodir@&$infodir&g
8568   s&@localedir@&$localedir&g
8569   s&@mandir@&$mandir&g
8570   s&\\\${datarootdir}&$datarootdir&g' ;;
8571 esac
8572 _ACEOF
8573
8574 # Neutralize VPATH when `$srcdir' = `.'.
8575 # Shell code in configure.ac might set extrasub.
8576 # FIXME: do we really want to maintain this feature?
8577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8578 ac_sed_extra="$ac_vpsub
8579 $extrasub
8580 _ACEOF
8581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8582 :t
8583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8584 s|@configure_input@|$ac_sed_conf_input|;t t
8585 s&@top_builddir@&$ac_top_builddir_sub&;t t
8586 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8587 s&@srcdir@&$ac_srcdir&;t t
8588 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8589 s&@top_srcdir@&$ac_top_srcdir&;t t
8590 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8591 s&@builddir@&$ac_builddir&;t t
8592 s&@abs_builddir@&$ac_abs_builddir&;t t
8593 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8594 s&@INSTALL@&$ac_INSTALL&;t t
8595 $ac_datarootdir_hack
8596 "
8597 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8598   || as_fn_error "could not create $ac_file" "$LINENO" 5
8599
8600 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8601   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8602   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8603   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8604 which seems to be undefined.  Please make sure it is defined." >&5
8605 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8606 which seems to be undefined.  Please make sure it is defined." >&2;}
8607
8608   rm -f "$tmp/stdin"
8609   case $ac_file in
8610   -) cat "$tmp/out" && rm -f "$tmp/out";;
8611   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8612   esac \
8613   || as_fn_error "could not create $ac_file" "$LINENO" 5
8614  ;;
8615   :H)
8616   #
8617   # CONFIG_HEADER
8618   #
8619   if test x"$ac_file" != x-; then
8620     {
8621       $as_echo "/* $configure_input  */" \
8622       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8623     } >"$tmp/config.h" \
8624       || as_fn_error "could not create $ac_file" "$LINENO" 5
8625     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8626       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8627 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8628     else
8629       rm -f "$ac_file"
8630       mv "$tmp/config.h" "$ac_file" \
8631         || as_fn_error "could not create $ac_file" "$LINENO" 5
8632     fi
8633   else
8634     $as_echo "/* $configure_input  */" \
8635       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8636       || as_fn_error "could not create -" "$LINENO" 5
8637   fi
8638  ;;
8639
8640   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8641 $as_echo "$as_me: executing $ac_file commands" >&6;}
8642  ;;
8643   esac
8644
8645
8646   case $ac_file$ac_mode in
8647     "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8648     "config.h":H) echo timestamp > stamp-h1 ;;
8649
8650   esac
8651 done # for ac_tag
8652
8653
8654 as_fn_exit 0
8655 _ACEOF
8656 ac_clean_files=$ac_clean_files_save
8657
8658 test $ac_write_fail = 0 ||
8659   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8660
8661
8662 # configure is writing to config.log, and then calls config.status.
8663 # config.status does its own redirection, appending to config.log.
8664 # Unfortunately, on DOS this fails, as config.log is still kept open
8665 # by configure, so config.status won't be able to write to it; its
8666 # output is simply discarded.  So we exec the FD to /dev/null,
8667 # effectively closing config.log, so it can be properly (re)opened and
8668 # appended to by config.status.  When coming back to configure, we
8669 # need to make the FD available again.
8670 if test "$no_create" != yes; then
8671   ac_cs_success=:
8672   ac_config_status_args=
8673   test "$silent" = yes &&
8674     ac_config_status_args="$ac_config_status_args --quiet"
8675   exec 5>/dev/null
8676   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8677   exec 5>>config.log
8678   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8679   # would make configure fail if this is the last instruction.
8680   $ac_cs_success || as_fn_exit $?
8681 fi
8682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8683   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8685 fi
8686