]> git.ozlabs.org Git - ponghero.git/blob - ccan/ccan_tools/talloc/configure
Prepare for release: rename to ponghero and pull in ccan.
[ponghero.git] / ccan / ccan_tools / talloc / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for talloc 1.1.0.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42   echo "#! /bin/sh" >conf$$.sh
43   echo  "exit 0"   >>conf$$.sh
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order.  Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133          X"$0" : 'X\(//\)$' \| \
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
236       for as_shell in $as_candidate_shells $SHELL; do
237          # Try only shells that exist, to save several forks.
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241   emulate sh
242   NULLCMD=:
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244   # is contrary to our usage.  Disable this feature.
245   alias -g '${1+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
330   test "x$as_lineno_1" != "x$as_lineno_2" &&
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
342       if test "x$CONFIG_SHELL" != x; then
343   for as_var in BASH_ENV ENV
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351     if test $as_have_required = no; then
352   echo This script requires a shell more modern than all the
353       echo shells that I found on your system.  Please install a
354       echo modern shell, or manually run the script under such a
355       echo shell if you do have one.
356       { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415   echo No shell found that supports shell functions.
416   echo Please tell autoconf@gnu.org about your system,
417   echo including any error possibly output before this
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429   # uniformly replaced by the line number.  The first 'sed' inserts a
430   # line-number line after each line using $LINENO; the second 'sed'
431   # does the real work.  The second script uses 'N' to pair each
432   # line-number line with the line containing $LINENO, and appends
433   # trailing '-' during substitution so that $LINENO is not a special
434   # case at line end.
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
437   # E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455    { (exit 1); exit 1; }; }
456
457   # Don't try to exec as it changes $[0], causing all sort of problems
458   # (the dirname of $[0] is not the place where we might find the
459   # original and so on.  Autoconf is especially sensitive to this).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
500   # ... but there are two gotchas:
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503   # In both cases, we have to default to `cp -p'.
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME='talloc'
574 PACKAGE_TARNAME='talloc'
575 PACKAGE_VERSION='1.1.0'
576 PACKAGE_STRING='talloc 1.1.0'
577 PACKAGE_BUGREPORT=''
578
579 ac_unique_file="talloc.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 tallocdir
654 TALLOC_OBJ
655 TALLOC_CFLAGS
656 TALLOC_LIBS
657 CC
658 CFLAGS
659 LDFLAGS
660 CPPFLAGS
661 ac_ct_CC
662 EXEEXT
663 OBJEXT
664 CPP
665 GREP
666 EGREP
667 XSLTPROC
668 DOC_TARGET
669 LIBOBJS
670 LTLIBOBJS'
671 ac_subst_files=''
672       ac_precious_vars='build_alias
673 host_alias
674 target_alias
675 CC
676 CFLAGS
677 LDFLAGS
678 LIBS
679 CPPFLAGS
680 CPP'
681
682
683 # Initialize some variables set by options.
684 ac_init_help=
685 ac_init_version=false
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
688 cache_file=/dev/null
689 exec_prefix=NONE
690 no_create=
691 no_recursion=
692 prefix=NONE
693 program_prefix=NONE
694 program_suffix=NONE
695 program_transform_name=s,x,x,
696 silent=
697 site=
698 srcdir=
699 verbose=
700 x_includes=NONE
701 x_libraries=NONE
702
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir='${exec_prefix}/bin'
710 sbindir='${exec_prefix}/sbin'
711 libexecdir='${exec_prefix}/libexec'
712 datarootdir='${prefix}/share'
713 datadir='${datarootdir}'
714 sysconfdir='${prefix}/etc'
715 sharedstatedir='${prefix}/com'
716 localstatedir='${prefix}/var'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir='${datarootdir}/info'
721 htmldir='${docdir}'
722 dvidir='${docdir}'
723 pdfdir='${docdir}'
724 psdir='${docdir}'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
728
729 ac_prev=
730 ac_dashdash=
731 for ac_option
732 do
733   # If the previous option needs an argument, assign it.
734   if test -n "$ac_prev"; then
735     eval $ac_prev=\$ac_option
736     ac_prev=
737     continue
738   fi
739
740   case $ac_option in
741   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742   *)    ac_optarg=yes ;;
743   esac
744
745   # Accept the important Cygnus configure options, so we can diagnose typos.
746
747   case $ac_dashdash$ac_option in
748   --)
749     ac_dashdash=yes ;;
750
751   -bindir | --bindir | --bindi | --bind | --bin | --bi)
752     ac_prev=bindir ;;
753   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
754     bindir=$ac_optarg ;;
755
756   -build | --build | --buil | --bui | --bu)
757     ac_prev=build_alias ;;
758   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
759     build_alias=$ac_optarg ;;
760
761   -cache-file | --cache-file | --cache-fil | --cache-fi \
762   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
763     ac_prev=cache_file ;;
764   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
765   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
766     cache_file=$ac_optarg ;;
767
768   --config-cache | -C)
769     cache_file=config.cache ;;
770
771   -datadir | --datadir | --datadi | --datad)
772     ac_prev=datadir ;;
773   -datadir=* | --datadir=* | --datadi=* | --datad=*)
774     datadir=$ac_optarg ;;
775
776   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
777   | --dataroo | --dataro | --datar)
778     ac_prev=datarootdir ;;
779   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
780   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
781     datarootdir=$ac_optarg ;;
782
783   -disable-* | --disable-*)
784     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785     # Reject names that are not valid shell variable names.
786     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
787       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788    { (exit 1); exit 1; }; }
789     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
790     eval enable_$ac_feature=no ;;
791
792   -docdir | --docdir | --docdi | --doc | --do)
793     ac_prev=docdir ;;
794   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
795     docdir=$ac_optarg ;;
796
797   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
798     ac_prev=dvidir ;;
799   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
800     dvidir=$ac_optarg ;;
801
802   -enable-* | --enable-*)
803     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
804     # Reject names that are not valid shell variable names.
805     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
807    { (exit 1); exit 1; }; }
808     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
809     eval enable_$ac_feature=\$ac_optarg ;;
810
811   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
812   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
813   | --exec | --exe | --ex)
814     ac_prev=exec_prefix ;;
815   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
816   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
817   | --exec=* | --exe=* | --ex=*)
818     exec_prefix=$ac_optarg ;;
819
820   -gas | --gas | --ga | --g)
821     # Obsolete; use --with-gas.
822     with_gas=yes ;;
823
824   -help | --help | --hel | --he | -h)
825     ac_init_help=long ;;
826   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
827     ac_init_help=recursive ;;
828   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
829     ac_init_help=short ;;
830
831   -host | --host | --hos | --ho)
832     ac_prev=host_alias ;;
833   -host=* | --host=* | --hos=* | --ho=*)
834     host_alias=$ac_optarg ;;
835
836   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
837     ac_prev=htmldir ;;
838   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
839   | --ht=*)
840     htmldir=$ac_optarg ;;
841
842   -includedir | --includedir | --includedi | --included | --include \
843   | --includ | --inclu | --incl | --inc)
844     ac_prev=includedir ;;
845   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
846   | --includ=* | --inclu=* | --incl=* | --inc=*)
847     includedir=$ac_optarg ;;
848
849   -infodir | --infodir | --infodi | --infod | --info | --inf)
850     ac_prev=infodir ;;
851   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
852     infodir=$ac_optarg ;;
853
854   -libdir | --libdir | --libdi | --libd)
855     ac_prev=libdir ;;
856   -libdir=* | --libdir=* | --libdi=* | --libd=*)
857     libdir=$ac_optarg ;;
858
859   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
860   | --libexe | --libex | --libe)
861     ac_prev=libexecdir ;;
862   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
863   | --libexe=* | --libex=* | --libe=*)
864     libexecdir=$ac_optarg ;;
865
866   -localedir | --localedir | --localedi | --localed | --locale)
867     ac_prev=localedir ;;
868   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
869     localedir=$ac_optarg ;;
870
871   -localstatedir | --localstatedir | --localstatedi | --localstated \
872   | --localstate | --localstat | --localsta | --localst | --locals)
873     ac_prev=localstatedir ;;
874   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
875   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
876     localstatedir=$ac_optarg ;;
877
878   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
879     ac_prev=mandir ;;
880   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
881     mandir=$ac_optarg ;;
882
883   -nfp | --nfp | --nf)
884     # Obsolete; use --without-fp.
885     with_fp=no ;;
886
887   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
888   | --no-cr | --no-c | -n)
889     no_create=yes ;;
890
891   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
892   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893     no_recursion=yes ;;
894
895   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
896   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
897   | --oldin | --oldi | --old | --ol | --o)
898     ac_prev=oldincludedir ;;
899   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
900   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
901   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
902     oldincludedir=$ac_optarg ;;
903
904   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
905     ac_prev=prefix ;;
906   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907     prefix=$ac_optarg ;;
908
909   -program-prefix | --program-prefix | --program-prefi | --program-pref \
910   | --program-pre | --program-pr | --program-p)
911     ac_prev=program_prefix ;;
912   -program-prefix=* | --program-prefix=* | --program-prefi=* \
913   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
914     program_prefix=$ac_optarg ;;
915
916   -program-suffix | --program-suffix | --program-suffi | --program-suff \
917   | --program-suf | --program-su | --program-s)
918     ac_prev=program_suffix ;;
919   -program-suffix=* | --program-suffix=* | --program-suffi=* \
920   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
921     program_suffix=$ac_optarg ;;
922
923   -program-transform-name | --program-transform-name \
924   | --program-transform-nam | --program-transform-na \
925   | --program-transform-n | --program-transform- \
926   | --program-transform | --program-transfor \
927   | --program-transfo | --program-transf \
928   | --program-trans | --program-tran \
929   | --progr-tra | --program-tr | --program-t)
930     ac_prev=program_transform_name ;;
931   -program-transform-name=* | --program-transform-name=* \
932   | --program-transform-nam=* | --program-transform-na=* \
933   | --program-transform-n=* | --program-transform-=* \
934   | --program-transform=* | --program-transfor=* \
935   | --program-transfo=* | --program-transf=* \
936   | --program-trans=* | --program-tran=* \
937   | --progr-tra=* | --program-tr=* | --program-t=*)
938     program_transform_name=$ac_optarg ;;
939
940   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
941     ac_prev=pdfdir ;;
942   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943     pdfdir=$ac_optarg ;;
944
945   -psdir | --psdir | --psdi | --psd | --ps)
946     ac_prev=psdir ;;
947   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948     psdir=$ac_optarg ;;
949
950   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
951   | -silent | --silent | --silen | --sile | --sil)
952     silent=yes ;;
953
954   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955     ac_prev=sbindir ;;
956   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957   | --sbi=* | --sb=*)
958     sbindir=$ac_optarg ;;
959
960   -sharedstatedir | --sharedstatedir | --sharedstatedi \
961   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
962   | --sharedst | --shareds | --shared | --share | --shar \
963   | --sha | --sh)
964     ac_prev=sharedstatedir ;;
965   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
966   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
967   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968   | --sha=* | --sh=*)
969     sharedstatedir=$ac_optarg ;;
970
971   -site | --site | --sit)
972     ac_prev=site ;;
973   -site=* | --site=* | --sit=*)
974     site=$ac_optarg ;;
975
976   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977     ac_prev=srcdir ;;
978   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
979     srcdir=$ac_optarg ;;
980
981   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
982   | --syscon | --sysco | --sysc | --sys | --sy)
983     ac_prev=sysconfdir ;;
984   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
985   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
986     sysconfdir=$ac_optarg ;;
987
988   -target | --target | --targe | --targ | --tar | --ta | --t)
989     ac_prev=target_alias ;;
990   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
991     target_alias=$ac_optarg ;;
992
993   -v | -verbose | --verbose | --verbos | --verbo | --verb)
994     verbose=yes ;;
995
996   -version | --version | --versio | --versi | --vers | -V)
997     ac_init_version=: ;;
998
999   -with-* | --with-*)
1000     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001     # Reject names that are not valid shell variable names.
1002     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1003       { echo "$as_me: error: invalid package name: $ac_package" >&2
1004    { (exit 1); exit 1; }; }
1005     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1006     eval with_$ac_package=\$ac_optarg ;;
1007
1008   -without-* | --without-*)
1009     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010     # Reject names that are not valid shell variable names.
1011     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012       { echo "$as_me: error: invalid package name: $ac_package" >&2
1013    { (exit 1); exit 1; }; }
1014     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1015     eval with_$ac_package=no ;;
1016
1017   --x)
1018     # Obsolete; use --with-x.
1019     with_x=yes ;;
1020
1021   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022   | --x-incl | --x-inc | --x-in | --x-i)
1023     ac_prev=x_includes ;;
1024   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026     x_includes=$ac_optarg ;;
1027
1028   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030     ac_prev=x_libraries ;;
1031   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033     x_libraries=$ac_optarg ;;
1034
1035   -*) { echo "$as_me: error: unrecognized option: $ac_option
1036 Try \`$0 --help' for more information." >&2
1037    { (exit 1); exit 1; }; }
1038     ;;
1039
1040   *=*)
1041     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1042     # Reject names that are not valid shell variable names.
1043     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1044       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1045    { (exit 1); exit 1; }; }
1046     eval $ac_envvar=\$ac_optarg
1047     export $ac_envvar ;;
1048
1049   *)
1050     # FIXME: should be removed in autoconf 3.0.
1051     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1055     ;;
1056
1057   esac
1058 done
1059
1060 if test -n "$ac_prev"; then
1061   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062   { echo "$as_me: error: missing argument to $ac_option" >&2
1063    { (exit 1); exit 1; }; }
1064 fi
1065
1066 # Be sure to have absolute directory names.
1067 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1068                 datadir sysconfdir sharedstatedir localstatedir includedir \
1069                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1070                 libdir localedir mandir
1071 do
1072   eval ac_val=\$$ac_var
1073   case $ac_val in
1074     [\\/$]* | ?:[\\/]* )  continue;;
1075     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1076   esac
1077   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1078    { (exit 1); exit 1; }; }
1079 done
1080
1081 # There might be people who depend on the old broken behavior: `$host'
1082 # used to hold the argument of --host etc.
1083 # FIXME: To remove some day.
1084 build=$build_alias
1085 host=$host_alias
1086 target=$target_alias
1087
1088 # FIXME: To remove some day.
1089 if test "x$host_alias" != x; then
1090   if test "x$build_alias" = x; then
1091     cross_compiling=maybe
1092     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1093     If a cross compiler is detected then cross compile mode will be used." >&2
1094   elif test "x$build_alias" != "x$host_alias"; then
1095     cross_compiling=yes
1096   fi
1097 fi
1098
1099 ac_tool_prefix=
1100 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1101
1102 test "$silent" = yes && exec 6>/dev/null
1103
1104
1105 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1106 ac_ls_di=`ls -di .` &&
1107 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1108   { echo "$as_me: error: Working directory cannot be determined" >&2
1109    { (exit 1); exit 1; }; }
1110 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111   { echo "$as_me: error: pwd does not report name of working directory" >&2
1112    { (exit 1); exit 1; }; }
1113
1114
1115 # Find the source files, if location was not specified.
1116 if test -z "$srcdir"; then
1117   ac_srcdir_defaulted=yes
1118   # Try the directory containing this script, then the parent directory.
1119   ac_confdir=`$as_dirname -- "$0" ||
1120 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1121          X"$0" : 'X\(//\)[^/]' \| \
1122          X"$0" : 'X\(//\)$' \| \
1123          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1124 echo X"$0" |
1125     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1126             s//\1/
1127             q
1128           }
1129           /^X\(\/\/\)[^/].*/{
1130             s//\1/
1131             q
1132           }
1133           /^X\(\/\/\)$/{
1134             s//\1/
1135             q
1136           }
1137           /^X\(\/\).*/{
1138             s//\1/
1139             q
1140           }
1141           s/.*/./; q'`
1142   srcdir=$ac_confdir
1143   if test ! -r "$srcdir/$ac_unique_file"; then
1144     srcdir=..
1145   fi
1146 else
1147   ac_srcdir_defaulted=no
1148 fi
1149 if test ! -r "$srcdir/$ac_unique_file"; then
1150   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1151   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1152    { (exit 1); exit 1; }; }
1153 fi
1154 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1155 ac_abs_confdir=`(
1156         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1157    { (exit 1); exit 1; }; }
1158         pwd)`
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1161   srcdir=.
1162 fi
1163 # Remove unnecessary trailing slashes from srcdir.
1164 # Double slashes in file names in object file debugging info
1165 # mess up M-x gdb in Emacs.
1166 case $srcdir in
1167 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168 esac
1169 for ac_var in $ac_precious_vars; do
1170   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1171   eval ac_env_${ac_var}_value=\$${ac_var}
1172   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1173   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1174 done
1175
1176 #
1177 # Report the --help message.
1178 #
1179 if test "$ac_init_help" = "long"; then
1180   # Omit some internal or obsolete options to make the list less imposing.
1181   # This message is too long to be a string in the A/UX 3.1 sh.
1182   cat <<_ACEOF
1183 \`configure' configures talloc 1.1.0 to adapt to many kinds of systems.
1184
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1186
1187 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188 VAR=VALUE.  See below for descriptions of some of the useful variables.
1189
1190 Defaults for the options are specified in brackets.
1191
1192 Configuration:
1193   -h, --help              display this help and exit
1194       --help=short        display options specific to this package
1195       --help=recursive    display the short help of all the included packages
1196   -V, --version           display version information and exit
1197   -q, --quiet, --silent   do not print \`checking...' messages
1198       --cache-file=FILE   cache test results in FILE [disabled]
1199   -C, --config-cache      alias for \`--cache-file=config.cache'
1200   -n, --no-create         do not create output files
1201       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1202
1203 Installation directories:
1204   --prefix=PREFIX         install architecture-independent files in PREFIX
1205                           [$ac_default_prefix]
1206   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1207                           [PREFIX]
1208
1209 By default, \`make install' will install all the files in
1210 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1211 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212 for instance \`--prefix=\$HOME'.
1213
1214 For better control, use the options below.
1215
1216 Fine tuning of the installation directories:
1217   --bindir=DIR           user executables [EPREFIX/bin]
1218   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1219   --libexecdir=DIR       program executables [EPREFIX/libexec]
1220   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1221   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1222   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1223   --libdir=DIR           object code libraries [EPREFIX/lib]
1224   --includedir=DIR       C header files [PREFIX/include]
1225   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1226   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1227   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1228   --infodir=DIR          info documentation [DATAROOTDIR/info]
1229   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1230   --mandir=DIR           man documentation [DATAROOTDIR/man]
1231   --docdir=DIR           documentation root [DATAROOTDIR/doc/talloc]
1232   --htmldir=DIR          html documentation [DOCDIR]
1233   --dvidir=DIR           dvi documentation [DOCDIR]
1234   --pdfdir=DIR           pdf documentation [DOCDIR]
1235   --psdir=DIR            ps documentation [DOCDIR]
1236 _ACEOF
1237
1238   cat <<\_ACEOF
1239 _ACEOF
1240 fi
1241
1242 if test -n "$ac_init_help"; then
1243   case $ac_init_help in
1244      short | recursive ) echo "Configuration of talloc 1.1.0:";;
1245    esac
1246   cat <<\_ACEOF
1247
1248 Some influential environment variables:
1249   CC          C compiler command
1250   CFLAGS      C compiler flags
1251   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1252               nonstandard directory <lib dir>
1253   LIBS        libraries to pass to the linker, e.g. -l<library>
1254   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1255               you have headers in a nonstandard directory <include dir>
1256   CPP         C preprocessor
1257
1258 Use these variables to override the choices made by `configure' or to help
1259 it to find libraries and programs with nonstandard names/locations.
1260
1261 _ACEOF
1262 ac_status=$?
1263 fi
1264
1265 if test "$ac_init_help" = "recursive"; then
1266   # If there are subdirs, report their specific --help.
1267   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1268     test -d "$ac_dir" || continue
1269     ac_builddir=.
1270
1271 case "$ac_dir" in
1272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1273 *)
1274   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1275   # A ".." for each directory in $ac_dir_suffix.
1276   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1277   case $ac_top_builddir_sub in
1278   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1280   esac ;;
1281 esac
1282 ac_abs_top_builddir=$ac_pwd
1283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 # for backward compatibility:
1285 ac_top_builddir=$ac_top_build_prefix
1286
1287 case $srcdir in
1288   .)  # We are building in place.
1289     ac_srcdir=.
1290     ac_top_srcdir=$ac_top_builddir_sub
1291     ac_abs_top_srcdir=$ac_pwd ;;
1292   [\\/]* | ?:[\\/]* )  # Absolute name.
1293     ac_srcdir=$srcdir$ac_dir_suffix;
1294     ac_top_srcdir=$srcdir
1295     ac_abs_top_srcdir=$srcdir ;;
1296   *) # Relative name.
1297     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1298     ac_top_srcdir=$ac_top_build_prefix$srcdir
1299     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1300 esac
1301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1302
1303     cd "$ac_dir" || { ac_status=$?; continue; }
1304     # Check for guested configure.
1305     if test -f "$ac_srcdir/configure.gnu"; then
1306       echo &&
1307       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1308     elif test -f "$ac_srcdir/configure"; then
1309       echo &&
1310       $SHELL "$ac_srcdir/configure" --help=recursive
1311     else
1312       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1313     fi || ac_status=$?
1314     cd "$ac_pwd" || { ac_status=$?; break; }
1315   done
1316 fi
1317
1318 test -n "$ac_init_help" && exit $ac_status
1319 if $ac_init_version; then
1320   cat <<\_ACEOF
1321 talloc configure 1.1.0
1322 generated by GNU Autoconf 2.61
1323
1324 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1325 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1326 This configure script is free software; the Free Software Foundation
1327 gives unlimited permission to copy, distribute and modify it.
1328 _ACEOF
1329   exit
1330 fi
1331 cat >config.log <<_ACEOF
1332 This file contains any messages produced by compilers while
1333 running configure, to aid debugging if configure makes a mistake.
1334
1335 It was created by talloc $as_me 1.1.0, which was
1336 generated by GNU Autoconf 2.61.  Invocation command line was
1337
1338   $ $0 $@
1339
1340 _ACEOF
1341 exec 5>>config.log
1342 {
1343 cat <<_ASUNAME
1344 ## --------- ##
1345 ## Platform. ##
1346 ## --------- ##
1347
1348 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1349 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1350 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1351 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1352 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1353
1354 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1355 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1356
1357 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1358 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1359 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1360 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1361 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1362 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1363 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1364
1365 _ASUNAME
1366
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1368 for as_dir in $PATH
1369 do
1370   IFS=$as_save_IFS
1371   test -z "$as_dir" && as_dir=.
1372   echo "PATH: $as_dir"
1373 done
1374 IFS=$as_save_IFS
1375
1376 } >&5
1377
1378 cat >&5 <<_ACEOF
1379
1380
1381 ## ----------- ##
1382 ## Core tests. ##
1383 ## ----------- ##
1384
1385 _ACEOF
1386
1387
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1393 ac_configure_args=
1394 ac_configure_args0=
1395 ac_configure_args1=
1396 ac_must_keep_next=false
1397 for ac_pass in 1 2
1398 do
1399   for ac_arg
1400   do
1401     case $ac_arg in
1402     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1403     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1404     | -silent | --silent | --silen | --sile | --sil)
1405       continue ;;
1406     *\'*)
1407       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1408     esac
1409     case $ac_pass in
1410     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1411     2)
1412       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1413       if test $ac_must_keep_next = true; then
1414         ac_must_keep_next=false # Got value, back to normal.
1415       else
1416         case $ac_arg in
1417           *=* | --config-cache | -C | -disable-* | --disable-* \
1418           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1419           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1420           | -with-* | --with-* | -without-* | --without-* | --x)
1421             case "$ac_configure_args0 " in
1422               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1423             esac
1424             ;;
1425           -* ) ac_must_keep_next=true ;;
1426         esac
1427       fi
1428       ac_configure_args="$ac_configure_args '$ac_arg'"
1429       ;;
1430     esac
1431   done
1432 done
1433 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1434 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1435
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log.  We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Use '\'' to represent an apostrophe within the trap.
1440 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1441 trap 'exit_status=$?
1442   # Save into config.log some information that might help in debugging.
1443   {
1444     echo
1445
1446     cat <<\_ASBOX
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1450 _ASBOX
1451     echo
1452     # The following way of writing the cache mishandles newlines in values,
1453 (
1454   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1455     eval ac_val=\$$ac_var
1456     case $ac_val in #(
1457     *${as_nl}*)
1458       case $ac_var in #(
1459       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1460 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1461       esac
1462       case $ac_var in #(
1463       _ | IFS | as_nl) ;; #(
1464       *) $as_unset $ac_var ;;
1465       esac ;;
1466     esac
1467   done
1468   (set) 2>&1 |
1469     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470     *${as_nl}ac_space=\ *)
1471       sed -n \
1472         "s/'\''/'\''\\\\'\'''\''/g;
1473           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474       ;; #(
1475     *)
1476       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477       ;;
1478     esac |
1479     sort
1480 )
1481     echo
1482
1483     cat <<\_ASBOX
1484 ## ----------------- ##
1485 ## Output variables. ##
1486 ## ----------------- ##
1487 _ASBOX
1488     echo
1489     for ac_var in $ac_subst_vars
1490     do
1491       eval ac_val=\$$ac_var
1492       case $ac_val in
1493       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1494       esac
1495       echo "$ac_var='\''$ac_val'\''"
1496     done | sort
1497     echo
1498
1499     if test -n "$ac_subst_files"; then
1500       cat <<\_ASBOX
1501 ## ------------------- ##
1502 ## File substitutions. ##
1503 ## ------------------- ##
1504 _ASBOX
1505       echo
1506       for ac_var in $ac_subst_files
1507       do
1508         eval ac_val=\$$ac_var
1509         case $ac_val in
1510         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511         esac
1512         echo "$ac_var='\''$ac_val'\''"
1513       done | sort
1514       echo
1515     fi
1516
1517     if test -s confdefs.h; then
1518       cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523       echo
1524       cat confdefs.h
1525       echo
1526     fi
1527     test "$ac_signal" != 0 &&
1528       echo "$as_me: caught signal $ac_signal"
1529     echo "$as_me: exit $exit_status"
1530   } >&5
1531   rm -f core *.core core.conftest.* &&
1532     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1533     exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -f -r conftest* confdefs.h
1542
1543 # Predefined preprocessor variables.
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1547 _ACEOF
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1552 _ACEOF
1553
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1557 _ACEOF
1558
1559
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1562 _ACEOF
1563
1564
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1567 _ACEOF
1568
1569
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -n "$CONFIG_SITE"; then
1573   set x "$CONFIG_SITE"
1574 elif test "x$prefix" != xNONE; then
1575   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1576 else
1577   set x "$ac_default_prefix/share/config.site" \
1578         "$ac_default_prefix/etc/config.site"
1579 fi
1580 shift
1581 for ac_site_file
1582 do
1583   if test -r "$ac_site_file"; then
1584     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586     sed 's/^/| /' "$ac_site_file" >&5
1587     . "$ac_site_file"
1588   fi
1589 done
1590
1591 if test -r "$cache_file"; then
1592   # Some versions of bash will fail to source /dev/null (special
1593   # files actually), so we avoid doing that.
1594   if test -f "$cache_file"; then
1595     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1597     case $cache_file in
1598       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1599       *)                      . "./$cache_file";;
1600     esac
1601   fi
1602 else
1603   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1605   >$cache_file
1606 fi
1607
1608 # Check that the precious variables saved in the cache have kept the same
1609 # value.
1610 ac_cache_corrupted=false
1611 for ac_var in $ac_precious_vars; do
1612   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613   eval ac_new_set=\$ac_env_${ac_var}_set
1614   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1615   eval ac_new_val=\$ac_env_${ac_var}_value
1616   case $ac_old_set,$ac_new_set in
1617     set,)
1618       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620       ac_cache_corrupted=: ;;
1621     ,set)
1622       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624       ac_cache_corrupted=: ;;
1625     ,);;
1626     *)
1627       if test "x$ac_old_val" != "x$ac_new_val"; then
1628         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1631 echo "$as_me:   former value:  $ac_old_val" >&2;}
1632         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1633 echo "$as_me:   current value: $ac_new_val" >&2;}
1634         ac_cache_corrupted=:
1635       fi;;
1636   esac
1637   # Pass precious variables to config.status.
1638   if test "$ac_new_set" = set; then
1639     case $ac_new_val in
1640     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641     *) ac_arg=$ac_var=$ac_new_val ;;
1642     esac
1643     case " $ac_configure_args " in
1644       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1645       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646     esac
1647   fi
1648 done
1649 if $ac_cache_corrupted; then
1650   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654    { (exit 1); exit 1; }; }
1655 fi
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681 ac_ext=c
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1686
1687
1688
1689
1690 ac_config_headers="$ac_config_headers config.h"
1691
1692
1693 tallocdir=""
1694 tallocpaths="$srcdir $srcdir/lib/talloc $srcdir/talloc $srcdir/../talloc"
1695 for d in $tallocpaths; do
1696         if test -f "$d/talloc.c"; then
1697                 tallocdir="$d"
1698
1699                 break;
1700         fi
1701 done
1702 if test x"$tallocdir" = "x"; then
1703    { { echo "$as_me:$LINENO: error: cannot find talloc source in $tallocpaths" >&5
1704 echo "$as_me: error: cannot find talloc source in $tallocpaths" >&2;}
1705    { (exit 1); exit 1; }; }
1706 fi
1707 TALLOC_OBJ="talloc.o"
1708
1709
1710 TALLOC_CFLAGS="-I$tallocdir"
1711
1712
1713 TALLOC_LIBS=""
1714
1715
1716 ac_ext=c
1717 ac_cpp='$CPP $CPPFLAGS'
1718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1721 if test -n "$ac_tool_prefix"; then
1722   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1723 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1726 if test "${ac_cv_prog_CC+set}" = set; then
1727   echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729   if test -n "$CC"; then
1730   ac_cv_prog_CC="$CC" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1734 do
1735   IFS=$as_save_IFS
1736   test -z "$as_dir" && as_dir=.
1737   for ac_exec_ext in '' $ac_executable_extensions; do
1738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1739     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741     break 2
1742   fi
1743 done
1744 done
1745 IFS=$as_save_IFS
1746
1747 fi
1748 fi
1749 CC=$ac_cv_prog_CC
1750 if test -n "$CC"; then
1751   { echo "$as_me:$LINENO: result: $CC" >&5
1752 echo "${ECHO_T}$CC" >&6; }
1753 else
1754   { echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6; }
1756 fi
1757
1758
1759 fi
1760 if test -z "$ac_cv_prog_CC"; then
1761   ac_ct_CC=$CC
1762   # Extract the first word of "gcc", so it can be a program name with args.
1763 set dummy gcc; ac_word=$2
1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1767   echo $ECHO_N "(cached) $ECHO_C" >&6
1768 else
1769   if test -n "$ac_ct_CC"; then
1770   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1771 else
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 for as_dir in $PATH
1774 do
1775   IFS=$as_save_IFS
1776   test -z "$as_dir" && as_dir=.
1777   for ac_exec_ext in '' $ac_executable_extensions; do
1778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1779     ac_cv_prog_ac_ct_CC="gcc"
1780     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781     break 2
1782   fi
1783 done
1784 done
1785 IFS=$as_save_IFS
1786
1787 fi
1788 fi
1789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1790 if test -n "$ac_ct_CC"; then
1791   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1792 echo "${ECHO_T}$ac_ct_CC" >&6; }
1793 else
1794   { echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6; }
1796 fi
1797
1798   if test "x$ac_ct_CC" = x; then
1799     CC=""
1800   else
1801     case $cross_compiling:$ac_tool_warned in
1802 yes:)
1803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1804 whose name does not start with the host triplet.  If you think this
1805 configuration is useful to you, please write to autoconf@gnu.org." >&5
1806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1807 whose name does not start with the host triplet.  If you think this
1808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1809 ac_tool_warned=yes ;;
1810 esac
1811     CC=$ac_ct_CC
1812   fi
1813 else
1814   CC="$ac_cv_prog_CC"
1815 fi
1816
1817 if test -z "$CC"; then
1818           if test -n "$ac_tool_prefix"; then
1819     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1820 set dummy ${ac_tool_prefix}cc; ac_word=$2
1821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1823 if test "${ac_cv_prog_CC+set}" = set; then
1824   echo $ECHO_N "(cached) $ECHO_C" >&6
1825 else
1826   if test -n "$CC"; then
1827   ac_cv_prog_CC="$CC" # Let the user override the test.
1828 else
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 for as_dir in $PATH
1831 do
1832   IFS=$as_save_IFS
1833   test -z "$as_dir" && as_dir=.
1834   for ac_exec_ext in '' $ac_executable_extensions; do
1835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1836     ac_cv_prog_CC="${ac_tool_prefix}cc"
1837     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1838     break 2
1839   fi
1840 done
1841 done
1842 IFS=$as_save_IFS
1843
1844 fi
1845 fi
1846 CC=$ac_cv_prog_CC
1847 if test -n "$CC"; then
1848   { echo "$as_me:$LINENO: result: $CC" >&5
1849 echo "${ECHO_T}$CC" >&6; }
1850 else
1851   { echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6; }
1853 fi
1854
1855
1856   fi
1857 fi
1858 if test -z "$CC"; then
1859   # Extract the first word of "cc", so it can be a program name with args.
1860 set dummy cc; ac_word=$2
1861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1863 if test "${ac_cv_prog_CC+set}" = set; then
1864   echo $ECHO_N "(cached) $ECHO_C" >&6
1865 else
1866   if test -n "$CC"; then
1867   ac_cv_prog_CC="$CC" # Let the user override the test.
1868 else
1869   ac_prog_rejected=no
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 for as_dir in $PATH
1872 do
1873   IFS=$as_save_IFS
1874   test -z "$as_dir" && as_dir=.
1875   for ac_exec_ext in '' $ac_executable_extensions; do
1876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1877     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1878        ac_prog_rejected=yes
1879        continue
1880      fi
1881     ac_cv_prog_CC="cc"
1882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883     break 2
1884   fi
1885 done
1886 done
1887 IFS=$as_save_IFS
1888
1889 if test $ac_prog_rejected = yes; then
1890   # We found a bogon in the path, so make sure we never use it.
1891   set dummy $ac_cv_prog_CC
1892   shift
1893   if test $# != 0; then
1894     # We chose a different compiler from the bogus one.
1895     # However, it has the same basename, so the bogon will be chosen
1896     # first if we set CC to just the basename; use the full file name.
1897     shift
1898     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1899   fi
1900 fi
1901 fi
1902 fi
1903 CC=$ac_cv_prog_CC
1904 if test -n "$CC"; then
1905   { echo "$as_me:$LINENO: result: $CC" >&5
1906 echo "${ECHO_T}$CC" >&6; }
1907 else
1908   { echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6; }
1910 fi
1911
1912
1913 fi
1914 if test -z "$CC"; then
1915   if test -n "$ac_tool_prefix"; then
1916   for ac_prog in cl.exe
1917   do
1918     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923   echo $ECHO_N "(cached) $ECHO_C" >&6
1924 else
1925   if test -n "$CC"; then
1926   ac_cv_prog_CC="$CC" # Let the user override the test.
1927 else
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 for as_dir in $PATH
1930 do
1931   IFS=$as_save_IFS
1932   test -z "$as_dir" && as_dir=.
1933   for ac_exec_ext in '' $ac_executable_extensions; do
1934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1935     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1936     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937     break 2
1938   fi
1939 done
1940 done
1941 IFS=$as_save_IFS
1942
1943 fi
1944 fi
1945 CC=$ac_cv_prog_CC
1946 if test -n "$CC"; then
1947   { echo "$as_me:$LINENO: result: $CC" >&5
1948 echo "${ECHO_T}$CC" >&6; }
1949 else
1950   { echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6; }
1952 fi
1953
1954
1955     test -n "$CC" && break
1956   done
1957 fi
1958 if test -z "$CC"; then
1959   ac_ct_CC=$CC
1960   for ac_prog in cl.exe
1961 do
1962   # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy $ac_prog; ac_word=$2
1964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967   echo $ECHO_N "(cached) $ECHO_C" >&6
1968 else
1969   if test -n "$ac_ct_CC"; then
1970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971 else
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 for as_dir in $PATH
1974 do
1975   IFS=$as_save_IFS
1976   test -z "$as_dir" && as_dir=.
1977   for ac_exec_ext in '' $ac_executable_extensions; do
1978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1979     ac_cv_prog_ac_ct_CC="$ac_prog"
1980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981     break 2
1982   fi
1983 done
1984 done
1985 IFS=$as_save_IFS
1986
1987 fi
1988 fi
1989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1990 if test -n "$ac_ct_CC"; then
1991   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1992 echo "${ECHO_T}$ac_ct_CC" >&6; }
1993 else
1994   { echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6; }
1996 fi
1997
1998
1999   test -n "$ac_ct_CC" && break
2000 done
2001
2002   if test "x$ac_ct_CC" = x; then
2003     CC=""
2004   else
2005     case $cross_compiling:$ac_tool_warned in
2006 yes:)
2007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2008 whose name does not start with the host triplet.  If you think this
2009 configuration is useful to you, please write to autoconf@gnu.org." >&5
2010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2011 whose name does not start with the host triplet.  If you think this
2012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2013 ac_tool_warned=yes ;;
2014 esac
2015     CC=$ac_ct_CC
2016   fi
2017 fi
2018
2019 fi
2020
2021
2022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: no acceptable C compiler found in \$PATH
2025 See \`config.log' for more details." >&2;}
2026    { (exit 1); exit 1; }; }
2027
2028 # Provide some information about the compiler.
2029 echo "$as_me:$LINENO: checking for C compiler version" >&5
2030 ac_compiler=`set X $ac_compile; echo $2`
2031 { (ac_try="$ac_compiler --version >&5"
2032 case "(($ac_try" in
2033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034   *) ac_try_echo=$ac_try;;
2035 esac
2036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2037   (eval "$ac_compiler --version >&5") 2>&5
2038   ac_status=$?
2039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040   (exit $ac_status); }
2041 { (ac_try="$ac_compiler -v >&5"
2042 case "(($ac_try" in
2043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044   *) ac_try_echo=$ac_try;;
2045 esac
2046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2047   (eval "$ac_compiler -v >&5") 2>&5
2048   ac_status=$?
2049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050   (exit $ac_status); }
2051 { (ac_try="$ac_compiler -V >&5"
2052 case "(($ac_try" in
2053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054   *) ac_try_echo=$ac_try;;
2055 esac
2056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2057   (eval "$ac_compiler -V >&5") 2>&5
2058   ac_status=$?
2059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060   (exit $ac_status); }
2061
2062 cat >conftest.$ac_ext <<_ACEOF
2063 /* confdefs.h.  */
2064 _ACEOF
2065 cat confdefs.h >>conftest.$ac_ext
2066 cat >>conftest.$ac_ext <<_ACEOF
2067 /* end confdefs.h.  */
2068
2069 int
2070 main ()
2071 {
2072
2073   ;
2074   return 0;
2075 }
2076 _ACEOF
2077 ac_clean_files_save=$ac_clean_files
2078 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2079 # Try to create an executable without -o first, disregard a.out.
2080 # It will help us diagnose broken compilers, and finding out an intuition
2081 # of exeext.
2082 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2083 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2084 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2085 #
2086 # List of possible output files, starting from the most likely.
2087 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2088 # only as a last resort.  b.out is created by i960 compilers.
2089 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2090 #
2091 # The IRIX 6 linker writes into existing files which may not be
2092 # executable, retaining their permissions.  Remove them first so a
2093 # subsequent execution test works.
2094 ac_rmfiles=
2095 for ac_file in $ac_files
2096 do
2097   case $ac_file in
2098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2099     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2100   esac
2101 done
2102 rm -f $ac_rmfiles
2103
2104 if { (ac_try="$ac_link_default"
2105 case "(($ac_try" in
2106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2107   *) ac_try_echo=$ac_try;;
2108 esac
2109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2110   (eval "$ac_link_default") 2>&5
2111   ac_status=$?
2112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113   (exit $ac_status); }; then
2114   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2116 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2117 # so that the user can short-circuit this test for compilers unknown to
2118 # Autoconf.
2119 for ac_file in $ac_files ''
2120 do
2121   test -f "$ac_file" || continue
2122   case $ac_file in
2123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2124         ;;
2125     [ab].out )
2126         # We found the default executable, but exeext='' is most
2127         # certainly right.
2128         break;;
2129     *.* )
2130         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2131         then :; else
2132            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2133         fi
2134         # We set ac_cv_exeext here because the later test for it is not
2135         # safe: cross compilers may not add the suffix if given an `-o'
2136         # argument, so we may need to know it at that point already.
2137         # Even if this section looks crufty: it has the advantage of
2138         # actually working.
2139         break;;
2140     * )
2141         break;;
2142   esac
2143 done
2144 test "$ac_cv_exeext" = no && ac_cv_exeext=
2145
2146 else
2147   ac_file=''
2148 fi
2149
2150 { echo "$as_me:$LINENO: result: $ac_file" >&5
2151 echo "${ECHO_T}$ac_file" >&6; }
2152 if test -z "$ac_file"; then
2153   echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.$ac_ext >&5
2155
2156 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2157 See \`config.log' for more details." >&5
2158 echo "$as_me: error: C compiler cannot create executables
2159 See \`config.log' for more details." >&2;}
2160    { (exit 77); exit 77; }; }
2161 fi
2162
2163 ac_exeext=$ac_cv_exeext
2164
2165 # Check that the compiler produces executables we can run.  If not, either
2166 # the compiler is broken, or we cross compile.
2167 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2168 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2169 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2170 # If not cross compiling, check that we can run a simple program.
2171 if test "$cross_compiling" != yes; then
2172   if { ac_try='./$ac_file'
2173   { (case "(($ac_try" in
2174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2175   *) ac_try_echo=$ac_try;;
2176 esac
2177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2178   (eval "$ac_try") 2>&5
2179   ac_status=$?
2180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181   (exit $ac_status); }; }; then
2182     cross_compiling=no
2183   else
2184     if test "$cross_compiling" = maybe; then
2185         cross_compiling=yes
2186     else
2187         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2188 If you meant to cross compile, use \`--host'.
2189 See \`config.log' for more details." >&5
2190 echo "$as_me: error: cannot run C compiled programs.
2191 If you meant to cross compile, use \`--host'.
2192 See \`config.log' for more details." >&2;}
2193    { (exit 1); exit 1; }; }
2194     fi
2195   fi
2196 fi
2197 { echo "$as_me:$LINENO: result: yes" >&5
2198 echo "${ECHO_T}yes" >&6; }
2199
2200 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2201 ac_clean_files=$ac_clean_files_save
2202 # Check that the compiler produces executables we can run.  If not, either
2203 # the compiler is broken, or we cross compile.
2204 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2205 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2206 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2207 echo "${ECHO_T}$cross_compiling" >&6; }
2208
2209 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2210 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2211 if { (ac_try="$ac_link"
2212 case "(($ac_try" in
2213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2214   *) ac_try_echo=$ac_try;;
2215 esac
2216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2217   (eval "$ac_link") 2>&5
2218   ac_status=$?
2219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220   (exit $ac_status); }; then
2221   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2222 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2223 # work properly (i.e., refer to `conftest.exe'), while it won't with
2224 # `rm'.
2225 for ac_file in conftest.exe conftest conftest.*; do
2226   test -f "$ac_file" || continue
2227   case $ac_file in
2228     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2229     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230           break;;
2231     * ) break;;
2232   esac
2233 done
2234 else
2235   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 See \`config.log' for more details." >&2;}
2239    { (exit 1); exit 1; }; }
2240 fi
2241
2242 rm -f conftest$ac_cv_exeext
2243 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2245
2246 rm -f conftest.$ac_ext
2247 EXEEXT=$ac_cv_exeext
2248 ac_exeext=$EXEEXT
2249 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2251 if test "${ac_cv_objext+set}" = set; then
2252   echo $ECHO_N "(cached) $ECHO_C" >&6
2253 else
2254   cat >conftest.$ac_ext <<_ACEOF
2255 /* confdefs.h.  */
2256 _ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h.  */
2260
2261 int
2262 main ()
2263 {
2264
2265   ;
2266   return 0;
2267 }
2268 _ACEOF
2269 rm -f conftest.o conftest.obj
2270 if { (ac_try="$ac_compile"
2271 case "(($ac_try" in
2272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273   *) ac_try_echo=$ac_try;;
2274 esac
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276   (eval "$ac_compile") 2>&5
2277   ac_status=$?
2278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279   (exit $ac_status); }; then
2280   for ac_file in conftest.o conftest.obj conftest.*; do
2281   test -f "$ac_file" || continue;
2282   case $ac_file in
2283     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2284     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2285        break;;
2286   esac
2287 done
2288 else
2289   echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2291
2292 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2293 See \`config.log' for more details." >&5
2294 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2295 See \`config.log' for more details." >&2;}
2296    { (exit 1); exit 1; }; }
2297 fi
2298
2299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2300 fi
2301 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2302 echo "${ECHO_T}$ac_cv_objext" >&6; }
2303 OBJEXT=$ac_cv_objext
2304 ac_objext=$OBJEXT
2305 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2306 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2307 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2308   echo $ECHO_N "(cached) $ECHO_C" >&6
2309 else
2310   cat >conftest.$ac_ext <<_ACEOF
2311 /* confdefs.h.  */
2312 _ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h.  */
2316
2317 int
2318 main ()
2319 {
2320 #ifndef __GNUC__
2321        choke me
2322 #endif
2323
2324   ;
2325   return 0;
2326 }
2327 _ACEOF
2328 rm -f conftest.$ac_objext
2329 if { (ac_try="$ac_compile"
2330 case "(($ac_try" in
2331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332   *) ac_try_echo=$ac_try;;
2333 esac
2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2335   (eval "$ac_compile") 2>conftest.er1
2336   ac_status=$?
2337   grep -v '^ *+' conftest.er1 >conftest.err
2338   rm -f conftest.er1
2339   cat conftest.err >&5
2340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341   (exit $ac_status); } && {
2342          test -z "$ac_c_werror_flag" ||
2343          test ! -s conftest.err
2344        } && test -s conftest.$ac_objext; then
2345   ac_compiler_gnu=yes
2346 else
2347   echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2349
2350         ac_compiler_gnu=no
2351 fi
2352
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2355
2356 fi
2357 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2358 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2359 GCC=`test $ac_compiler_gnu = yes && echo yes`
2360 ac_test_CFLAGS=${CFLAGS+set}
2361 ac_save_CFLAGS=$CFLAGS
2362 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2363 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_cc_g+set}" = set; then
2365   echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367   ac_save_c_werror_flag=$ac_c_werror_flag
2368    ac_c_werror_flag=yes
2369    ac_cv_prog_cc_g=no
2370    CFLAGS="-g"
2371    cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h.  */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h.  */
2377
2378 int
2379 main ()
2380 {
2381
2382   ;
2383   return 0;
2384 }
2385 _ACEOF
2386 rm -f conftest.$ac_objext
2387 if { (ac_try="$ac_compile"
2388 case "(($ac_try" in
2389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390   *) ac_try_echo=$ac_try;;
2391 esac
2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393   (eval "$ac_compile") 2>conftest.er1
2394   ac_status=$?
2395   grep -v '^ *+' conftest.er1 >conftest.err
2396   rm -f conftest.er1
2397   cat conftest.err >&5
2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399   (exit $ac_status); } && {
2400          test -z "$ac_c_werror_flag" ||
2401          test ! -s conftest.err
2402        } && test -s conftest.$ac_objext; then
2403   ac_cv_prog_cc_g=yes
2404 else
2405   echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408         CFLAGS=""
2409       cat >conftest.$ac_ext <<_ACEOF
2410 /* confdefs.h.  */
2411 _ACEOF
2412 cat confdefs.h >>conftest.$ac_ext
2413 cat >>conftest.$ac_ext <<_ACEOF
2414 /* end confdefs.h.  */
2415
2416 int
2417 main ()
2418 {
2419
2420   ;
2421   return 0;
2422 }
2423 _ACEOF
2424 rm -f conftest.$ac_objext
2425 if { (ac_try="$ac_compile"
2426 case "(($ac_try" in
2427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428   *) ac_try_echo=$ac_try;;
2429 esac
2430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2431   (eval "$ac_compile") 2>conftest.er1
2432   ac_status=$?
2433   grep -v '^ *+' conftest.er1 >conftest.err
2434   rm -f conftest.er1
2435   cat conftest.err >&5
2436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437   (exit $ac_status); } && {
2438          test -z "$ac_c_werror_flag" ||
2439          test ! -s conftest.err
2440        } && test -s conftest.$ac_objext; then
2441   :
2442 else
2443   echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.$ac_ext >&5
2445
2446         ac_c_werror_flag=$ac_save_c_werror_flag
2447          CFLAGS="-g"
2448          cat >conftest.$ac_ext <<_ACEOF
2449 /* confdefs.h.  */
2450 _ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h.  */
2454
2455 int
2456 main ()
2457 {
2458
2459   ;
2460   return 0;
2461 }
2462 _ACEOF
2463 rm -f conftest.$ac_objext
2464 if { (ac_try="$ac_compile"
2465 case "(($ac_try" in
2466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467   *) ac_try_echo=$ac_try;;
2468 esac
2469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2470   (eval "$ac_compile") 2>conftest.er1
2471   ac_status=$?
2472   grep -v '^ *+' conftest.er1 >conftest.err
2473   rm -f conftest.er1
2474   cat conftest.err >&5
2475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476   (exit $ac_status); } && {
2477          test -z "$ac_c_werror_flag" ||
2478          test ! -s conftest.err
2479        } && test -s conftest.$ac_objext; then
2480   ac_cv_prog_cc_g=yes
2481 else
2482   echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2484
2485
2486 fi
2487
2488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489 fi
2490
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 fi
2493
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495    ac_c_werror_flag=$ac_save_c_werror_flag
2496 fi
2497 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2499 if test "$ac_test_CFLAGS" = set; then
2500   CFLAGS=$ac_save_CFLAGS
2501 elif test $ac_cv_prog_cc_g = yes; then
2502   if test "$GCC" = yes; then
2503     CFLAGS="-g -O2"
2504   else
2505     CFLAGS="-g"
2506   fi
2507 else
2508   if test "$GCC" = yes; then
2509     CFLAGS="-O2"
2510   else
2511     CFLAGS=
2512   fi
2513 fi
2514 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2515 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2516 if test "${ac_cv_prog_cc_c89+set}" = set; then
2517   echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519   ac_cv_prog_cc_c89=no
2520 ac_save_CC=$CC
2521 cat >conftest.$ac_ext <<_ACEOF
2522 /* confdefs.h.  */
2523 _ACEOF
2524 cat confdefs.h >>conftest.$ac_ext
2525 cat >>conftest.$ac_ext <<_ACEOF
2526 /* end confdefs.h.  */
2527 #include <stdarg.h>
2528 #include <stdio.h>
2529 #include <sys/types.h>
2530 #include <sys/stat.h>
2531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2532 struct buf { int x; };
2533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2534 static char *e (p, i)
2535      char **p;
2536      int i;
2537 {
2538   return p[i];
2539 }
2540 static char *f (char * (*g) (char **, int), char **p, ...)
2541 {
2542   char *s;
2543   va_list v;
2544   va_start (v,p);
2545   s = g (p, va_arg (v,int));
2546   va_end (v);
2547   return s;
2548 }
2549
2550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2551    function prototypes and stuff, but not '\xHH' hex character constants.
2552    These don't provoke an error unfortunately, instead are silently treated
2553    as 'x'.  The following induces an error, until -std is added to get
2554    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2555    array size at least.  It's necessary to write '\x00'==0 to get something
2556    that's true only with -std.  */
2557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2558
2559 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2560    inside strings and character constants.  */
2561 #define FOO(x) 'x'
2562 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2563
2564 int test (int i, double x);
2565 struct s1 {int (*f) (int a);};
2566 struct s2 {int (*f) (double a);};
2567 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2568 int argc;
2569 char **argv;
2570 int
2571 main ()
2572 {
2573 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2574   ;
2575   return 0;
2576 }
2577 _ACEOF
2578 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2579         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2580 do
2581   CC="$ac_save_CC $ac_arg"
2582   rm -f conftest.$ac_objext
2583 if { (ac_try="$ac_compile"
2584 case "(($ac_try" in
2585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586   *) ac_try_echo=$ac_try;;
2587 esac
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589   (eval "$ac_compile") 2>conftest.er1
2590   ac_status=$?
2591   grep -v '^ *+' conftest.er1 >conftest.err
2592   rm -f conftest.er1
2593   cat conftest.err >&5
2594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595   (exit $ac_status); } && {
2596          test -z "$ac_c_werror_flag" ||
2597          test ! -s conftest.err
2598        } && test -s conftest.$ac_objext; then
2599   ac_cv_prog_cc_c89=$ac_arg
2600 else
2601   echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2603
2604
2605 fi
2606
2607 rm -f core conftest.err conftest.$ac_objext
2608   test "x$ac_cv_prog_cc_c89" != "xno" && break
2609 done
2610 rm -f conftest.$ac_ext
2611 CC=$ac_save_CC
2612
2613 fi
2614 # AC_CACHE_VAL
2615 case "x$ac_cv_prog_cc_c89" in
2616   x)
2617     { echo "$as_me:$LINENO: result: none needed" >&5
2618 echo "${ECHO_T}none needed" >&6; } ;;
2619   xno)
2620     { echo "$as_me:$LINENO: result: unsupported" >&5
2621 echo "${ECHO_T}unsupported" >&6; } ;;
2622   *)
2623     CC="$CC $ac_cv_prog_cc_c89"
2624     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2625 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2626 esac
2627
2628
2629 ac_ext=c
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2634
2635
2636 ac_ext=c
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2642 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2645   CPP=
2646 fi
2647 if test -z "$CPP"; then
2648   if test "${ac_cv_prog_CPP+set}" = set; then
2649   echo $ECHO_N "(cached) $ECHO_C" >&6
2650 else
2651       # Double quotes because CPP needs to be expanded
2652     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2653     do
2654       ac_preproc_ok=false
2655 for ac_c_preproc_warn_flag in '' yes
2656 do
2657   # Use a header file that comes with gcc, so configuring glibc
2658   # with a fresh cross-compiler works.
2659   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2660   # <limits.h> exists even on freestanding compilers.
2661   # On the NeXT, cc -E runs the code through the compiler's parser,
2662   # not just through cpp. "Syntax error" is here to catch this case.
2663   cat >conftest.$ac_ext <<_ACEOF
2664 /* confdefs.h.  */
2665 _ACEOF
2666 cat confdefs.h >>conftest.$ac_ext
2667 cat >>conftest.$ac_ext <<_ACEOF
2668 /* end confdefs.h.  */
2669 #ifdef __STDC__
2670 # include <limits.h>
2671 #else
2672 # include <assert.h>
2673 #endif
2674                      Syntax error
2675 _ACEOF
2676 if { (ac_try="$ac_cpp conftest.$ac_ext"
2677 case "(($ac_try" in
2678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679   *) ac_try_echo=$ac_try;;
2680 esac
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2683   ac_status=$?
2684   grep -v '^ *+' conftest.er1 >conftest.err
2685   rm -f conftest.er1
2686   cat conftest.err >&5
2687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688   (exit $ac_status); } >/dev/null && {
2689          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2690          test ! -s conftest.err
2691        }; then
2692   :
2693 else
2694   echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2696
2697   # Broken: fails on valid input.
2698 continue
2699 fi
2700
2701 rm -f conftest.err conftest.$ac_ext
2702
2703   # OK, works on sane cases.  Now check whether nonexistent headers
2704   # can be detected and how.
2705   cat >conftest.$ac_ext <<_ACEOF
2706 /* confdefs.h.  */
2707 _ACEOF
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h.  */
2711 #include <ac_nonexistent.h>
2712 _ACEOF
2713 if { (ac_try="$ac_cpp conftest.$ac_ext"
2714 case "(($ac_try" in
2715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716   *) ac_try_echo=$ac_try;;
2717 esac
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2720   ac_status=$?
2721   grep -v '^ *+' conftest.er1 >conftest.err
2722   rm -f conftest.er1
2723   cat conftest.err >&5
2724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725   (exit $ac_status); } >/dev/null && {
2726          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2727          test ! -s conftest.err
2728        }; then
2729   # Broken: success on invalid input.
2730 continue
2731 else
2732   echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2734
2735   # Passes both tests.
2736 ac_preproc_ok=:
2737 break
2738 fi
2739
2740 rm -f conftest.err conftest.$ac_ext
2741
2742 done
2743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2744 rm -f conftest.err conftest.$ac_ext
2745 if $ac_preproc_ok; then
2746   break
2747 fi
2748
2749     done
2750     ac_cv_prog_CPP=$CPP
2751
2752 fi
2753   CPP=$ac_cv_prog_CPP
2754 else
2755   ac_cv_prog_CPP=$CPP
2756 fi
2757 { echo "$as_me:$LINENO: result: $CPP" >&5
2758 echo "${ECHO_T}$CPP" >&6; }
2759 ac_preproc_ok=false
2760 for ac_c_preproc_warn_flag in '' yes
2761 do
2762   # Use a header file that comes with gcc, so configuring glibc
2763   # with a fresh cross-compiler works.
2764   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2765   # <limits.h> exists even on freestanding compilers.
2766   # On the NeXT, cc -E runs the code through the compiler's parser,
2767   # not just through cpp. "Syntax error" is here to catch this case.
2768   cat >conftest.$ac_ext <<_ACEOF
2769 /* confdefs.h.  */
2770 _ACEOF
2771 cat confdefs.h >>conftest.$ac_ext
2772 cat >>conftest.$ac_ext <<_ACEOF
2773 /* end confdefs.h.  */
2774 #ifdef __STDC__
2775 # include <limits.h>
2776 #else
2777 # include <assert.h>
2778 #endif
2779                      Syntax error
2780 _ACEOF
2781 if { (ac_try="$ac_cpp conftest.$ac_ext"
2782 case "(($ac_try" in
2783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784   *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2788   ac_status=$?
2789   grep -v '^ *+' conftest.er1 >conftest.err
2790   rm -f conftest.er1
2791   cat conftest.err >&5
2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793   (exit $ac_status); } >/dev/null && {
2794          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2795          test ! -s conftest.err
2796        }; then
2797   :
2798 else
2799   echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2801
2802   # Broken: fails on valid input.
2803 continue
2804 fi
2805
2806 rm -f conftest.err conftest.$ac_ext
2807
2808   # OK, works on sane cases.  Now check whether nonexistent headers
2809   # can be detected and how.
2810   cat >conftest.$ac_ext <<_ACEOF
2811 /* confdefs.h.  */
2812 _ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h.  */
2816 #include <ac_nonexistent.h>
2817 _ACEOF
2818 if { (ac_try="$ac_cpp conftest.$ac_ext"
2819 case "(($ac_try" in
2820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821   *) ac_try_echo=$ac_try;;
2822 esac
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2825   ac_status=$?
2826   grep -v '^ *+' conftest.er1 >conftest.err
2827   rm -f conftest.er1
2828   cat conftest.err >&5
2829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830   (exit $ac_status); } >/dev/null && {
2831          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2832          test ! -s conftest.err
2833        }; then
2834   # Broken: success on invalid input.
2835 continue
2836 else
2837   echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2839
2840   # Passes both tests.
2841 ac_preproc_ok=:
2842 break
2843 fi
2844
2845 rm -f conftest.err conftest.$ac_ext
2846
2847 done
2848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2849 rm -f conftest.err conftest.$ac_ext
2850 if $ac_preproc_ok; then
2851   :
2852 else
2853   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2854 See \`config.log' for more details." >&5
2855 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2856 See \`config.log' for more details." >&2;}
2857    { (exit 1); exit 1; }; }
2858 fi
2859
2860 ac_ext=c
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2865
2866
2867 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2868 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2869 if test "${ac_cv_path_GREP+set}" = set; then
2870   echo $ECHO_N "(cached) $ECHO_C" >&6
2871 else
2872   # Extract the first word of "grep ggrep" to use in msg output
2873 if test -z "$GREP"; then
2874 set dummy grep ggrep; ac_prog_name=$2
2875 if test "${ac_cv_path_GREP+set}" = set; then
2876   echo $ECHO_N "(cached) $ECHO_C" >&6
2877 else
2878   ac_path_GREP_found=false
2879 # Loop through the user's path and test for each of PROGNAME-LIST
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2882 do
2883   IFS=$as_save_IFS
2884   test -z "$as_dir" && as_dir=.
2885   for ac_prog in grep ggrep; do
2886   for ac_exec_ext in '' $ac_executable_extensions; do
2887     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2888     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2889     # Check for GNU ac_path_GREP and select it if it is found.
2890   # Check for GNU $ac_path_GREP
2891 case `"$ac_path_GREP" --version 2>&1` in
2892 *GNU*)
2893   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2894 *)
2895   ac_count=0
2896   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2897   while :
2898   do
2899     cat "conftest.in" "conftest.in" >"conftest.tmp"
2900     mv "conftest.tmp" "conftest.in"
2901     cp "conftest.in" "conftest.nl"
2902     echo 'GREP' >> "conftest.nl"
2903     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2904     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2905     ac_count=`expr $ac_count + 1`
2906     if test $ac_count -gt ${ac_path_GREP_max-0}; then
2907       # Best one so far, save it but keep looking for a better one
2908       ac_cv_path_GREP="$ac_path_GREP"
2909       ac_path_GREP_max=$ac_count
2910     fi
2911     # 10*(2^10) chars as input seems more than enough
2912     test $ac_count -gt 10 && break
2913   done
2914   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2915 esac
2916
2917
2918     $ac_path_GREP_found && break 3
2919   done
2920 done
2921
2922 done
2923 IFS=$as_save_IFS
2924
2925
2926 fi
2927
2928 GREP="$ac_cv_path_GREP"
2929 if test -z "$GREP"; then
2930   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2931 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2932    { (exit 1); exit 1; }; }
2933 fi
2934
2935 else
2936   ac_cv_path_GREP=$GREP
2937 fi
2938
2939
2940 fi
2941 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2942 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2943  GREP="$ac_cv_path_GREP"
2944
2945
2946 { echo "$as_me:$LINENO: checking for egrep" >&5
2947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2948 if test "${ac_cv_path_EGREP+set}" = set; then
2949   echo $ECHO_N "(cached) $ECHO_C" >&6
2950 else
2951   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2952    then ac_cv_path_EGREP="$GREP -E"
2953    else
2954      # Extract the first word of "egrep" to use in msg output
2955 if test -z "$EGREP"; then
2956 set dummy egrep; ac_prog_name=$2
2957 if test "${ac_cv_path_EGREP+set}" = set; then
2958   echo $ECHO_N "(cached) $ECHO_C" >&6
2959 else
2960   ac_path_EGREP_found=false
2961 # Loop through the user's path and test for each of PROGNAME-LIST
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2964 do
2965   IFS=$as_save_IFS
2966   test -z "$as_dir" && as_dir=.
2967   for ac_prog in egrep; do
2968   for ac_exec_ext in '' $ac_executable_extensions; do
2969     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2970     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2971     # Check for GNU ac_path_EGREP and select it if it is found.
2972   # Check for GNU $ac_path_EGREP
2973 case `"$ac_path_EGREP" --version 2>&1` in
2974 *GNU*)
2975   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2976 *)
2977   ac_count=0
2978   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2979   while :
2980   do
2981     cat "conftest.in" "conftest.in" >"conftest.tmp"
2982     mv "conftest.tmp" "conftest.in"
2983     cp "conftest.in" "conftest.nl"
2984     echo 'EGREP' >> "conftest.nl"
2985     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2986     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2987     ac_count=`expr $ac_count + 1`
2988     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2989       # Best one so far, save it but keep looking for a better one
2990       ac_cv_path_EGREP="$ac_path_EGREP"
2991       ac_path_EGREP_max=$ac_count
2992     fi
2993     # 10*(2^10) chars as input seems more than enough
2994     test $ac_count -gt 10 && break
2995   done
2996   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2997 esac
2998
2999
3000     $ac_path_EGREP_found && break 3
3001   done
3002 done
3003
3004 done
3005 IFS=$as_save_IFS
3006
3007
3008 fi
3009
3010 EGREP="$ac_cv_path_EGREP"
3011 if test -z "$EGREP"; then
3012   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3013 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3014    { (exit 1); exit 1; }; }
3015 fi
3016
3017 else
3018   ac_cv_path_EGREP=$EGREP
3019 fi
3020
3021
3022    fi
3023 fi
3024 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3025 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3026  EGREP="$ac_cv_path_EGREP"
3027
3028
3029 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3030 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3031 if test "${ac_cv_header_stdc+set}" = set; then
3032   echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034   cat >conftest.$ac_ext <<_ACEOF
3035 /* confdefs.h.  */
3036 _ACEOF
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h.  */
3040 #include <stdlib.h>
3041 #include <stdarg.h>
3042 #include <string.h>
3043 #include <float.h>
3044
3045 int
3046 main ()
3047 {
3048
3049   ;
3050   return 0;
3051 }
3052 _ACEOF
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3055 case "(($ac_try" in
3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057   *) ac_try_echo=$ac_try;;
3058 esac
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060   (eval "$ac_compile") 2>conftest.er1
3061   ac_status=$?
3062   grep -v '^ *+' conftest.er1 >conftest.err
3063   rm -f conftest.er1
3064   cat conftest.err >&5
3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066   (exit $ac_status); } && {
3067          test -z "$ac_c_werror_flag" ||
3068          test ! -s conftest.err
3069        } && test -s conftest.$ac_objext; then
3070   ac_cv_header_stdc=yes
3071 else
3072   echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3074
3075         ac_cv_header_stdc=no
3076 fi
3077
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079
3080 if test $ac_cv_header_stdc = yes; then
3081   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3082   cat >conftest.$ac_ext <<_ACEOF
3083 /* confdefs.h.  */
3084 _ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h.  */
3088 #include <string.h>
3089
3090 _ACEOF
3091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3092   $EGREP "memchr" >/dev/null 2>&1; then
3093   :
3094 else
3095   ac_cv_header_stdc=no
3096 fi
3097 rm -f conftest*
3098
3099 fi
3100
3101 if test $ac_cv_header_stdc = yes; then
3102   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3103   cat >conftest.$ac_ext <<_ACEOF
3104 /* confdefs.h.  */
3105 _ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h.  */
3109 #include <stdlib.h>
3110
3111 _ACEOF
3112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3113   $EGREP "free" >/dev/null 2>&1; then
3114   :
3115 else
3116   ac_cv_header_stdc=no
3117 fi
3118 rm -f conftest*
3119
3120 fi
3121
3122 if test $ac_cv_header_stdc = yes; then
3123   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3124   if test "$cross_compiling" = yes; then
3125   :
3126 else
3127   cat >conftest.$ac_ext <<_ACEOF
3128 /* confdefs.h.  */
3129 _ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h.  */
3133 #include <ctype.h>
3134 #include <stdlib.h>
3135 #if ((' ' & 0x0FF) == 0x020)
3136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3138 #else
3139 # define ISLOWER(c) \
3140                    (('a' <= (c) && (c) <= 'i') \
3141                      || ('j' <= (c) && (c) <= 'r') \
3142                      || ('s' <= (c) && (c) <= 'z'))
3143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3144 #endif
3145
3146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3147 int
3148 main ()
3149 {
3150   int i;
3151   for (i = 0; i < 256; i++)
3152     if (XOR (islower (i), ISLOWER (i))
3153         || toupper (i) != TOUPPER (i))
3154       return 2;
3155   return 0;
3156 }
3157 _ACEOF
3158 rm -f conftest$ac_exeext
3159 if { (ac_try="$ac_link"
3160 case "(($ac_try" in
3161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162   *) ac_try_echo=$ac_try;;
3163 esac
3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165   (eval "$ac_link") 2>&5
3166   ac_status=$?
3167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3169   { (case "(($ac_try" in
3170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171   *) ac_try_echo=$ac_try;;
3172 esac
3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3174   (eval "$ac_try") 2>&5
3175   ac_status=$?
3176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177   (exit $ac_status); }; }; then
3178   :
3179 else
3180   echo "$as_me: program exited with status $ac_status" >&5
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3183
3184 ( exit $ac_status )
3185 ac_cv_header_stdc=no
3186 fi
3187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3188 fi
3189
3190
3191 fi
3192 fi
3193 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3194 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3195 if test $ac_cv_header_stdc = yes; then
3196
3197 cat >>confdefs.h <<\_ACEOF
3198 #define STDC_HEADERS 1
3199 _ACEOF
3200
3201 fi
3202
3203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3214                   inttypes.h stdint.h unistd.h
3215 do
3216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3220   echo $ECHO_N "(cached) $ECHO_C" >&6
3221 else
3222   cat >conftest.$ac_ext <<_ACEOF
3223 /* confdefs.h.  */
3224 _ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h.  */
3228 $ac_includes_default
3229
3230 #include <$ac_header>
3231 _ACEOF
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3234 case "(($ac_try" in
3235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236   *) ac_try_echo=$ac_try;;
3237 esac
3238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239   (eval "$ac_compile") 2>conftest.er1
3240   ac_status=$?
3241   grep -v '^ *+' conftest.er1 >conftest.err
3242   rm -f conftest.er1
3243   cat conftest.err >&5
3244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245   (exit $ac_status); } && {
3246          test -z "$ac_c_werror_flag" ||
3247          test ! -s conftest.err
3248        } && test -s conftest.$ac_objext; then
3249   eval "$as_ac_Header=yes"
3250 else
3251   echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3253
3254         eval "$as_ac_Header=no"
3255 fi
3256
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258 fi
3259 ac_res=`eval echo '${'$as_ac_Header'}'`
3260                { echo "$as_me:$LINENO: result: $ac_res" >&5
3261 echo "${ECHO_T}$ac_res" >&6; }
3262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3263   cat >>confdefs.h <<_ACEOF
3264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3265 _ACEOF
3266
3267 fi
3268
3269 done
3270
3271
3272 { echo "$as_me:$LINENO: checking for size_t" >&5
3273 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
3274 if test "${ac_cv_type_size_t+set}" = set; then
3275   echo $ECHO_N "(cached) $ECHO_C" >&6
3276 else
3277   cat >conftest.$ac_ext <<_ACEOF
3278 /* confdefs.h.  */
3279 _ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h.  */
3283 $ac_includes_default
3284 typedef size_t ac__type_new_;
3285 int
3286 main ()
3287 {
3288 if ((ac__type_new_ *) 0)
3289   return 0;
3290 if (sizeof (ac__type_new_))
3291   return 0;
3292   ;
3293   return 0;
3294 }
3295 _ACEOF
3296 rm -f conftest.$ac_objext
3297 if { (ac_try="$ac_compile"
3298 case "(($ac_try" in
3299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300   *) ac_try_echo=$ac_try;;
3301 esac
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303   (eval "$ac_compile") 2>conftest.er1
3304   ac_status=$?
3305   grep -v '^ *+' conftest.er1 >conftest.err
3306   rm -f conftest.er1
3307   cat conftest.err >&5
3308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309   (exit $ac_status); } && {
3310          test -z "$ac_c_werror_flag" ||
3311          test ! -s conftest.err
3312        } && test -s conftest.$ac_objext; then
3313   ac_cv_type_size_t=yes
3314 else
3315   echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3317
3318         ac_cv_type_size_t=no
3319 fi
3320
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 fi
3323 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3324 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
3325
3326 # The cast to long int works around a bug in the HP C Compiler
3327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3329 # This bug is HP SR number 8606223364.
3330 { echo "$as_me:$LINENO: checking size of size_t" >&5
3331 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
3332 if test "${ac_cv_sizeof_size_t+set}" = set; then
3333   echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335   if test "$cross_compiling" = yes; then
3336   # Depending upon the size, compute the lo and hi bounds.
3337 cat >conftest.$ac_ext <<_ACEOF
3338 /* confdefs.h.  */
3339 _ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h.  */
3343 $ac_includes_default
3344    typedef size_t ac__type_sizeof_;
3345 int
3346 main ()
3347 {
3348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3349 test_array [0] = 0
3350
3351   ;
3352   return 0;
3353 }
3354 _ACEOF
3355 rm -f conftest.$ac_objext
3356 if { (ac_try="$ac_compile"
3357 case "(($ac_try" in
3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359   *) ac_try_echo=$ac_try;;
3360 esac
3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362   (eval "$ac_compile") 2>conftest.er1
3363   ac_status=$?
3364   grep -v '^ *+' conftest.er1 >conftest.err
3365   rm -f conftest.er1
3366   cat conftest.err >&5
3367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368   (exit $ac_status); } && {
3369          test -z "$ac_c_werror_flag" ||
3370          test ! -s conftest.err
3371        } && test -s conftest.$ac_objext; then
3372   ac_lo=0 ac_mid=0
3373   while :; do
3374     cat >conftest.$ac_ext <<_ACEOF
3375 /* confdefs.h.  */
3376 _ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h.  */
3380 $ac_includes_default
3381    typedef size_t ac__type_sizeof_;
3382 int
3383 main ()
3384 {
3385 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3386 test_array [0] = 0
3387
3388   ;
3389   return 0;
3390 }
3391 _ACEOF
3392 rm -f conftest.$ac_objext
3393 if { (ac_try="$ac_compile"
3394 case "(($ac_try" in
3395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396   *) ac_try_echo=$ac_try;;
3397 esac
3398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3399   (eval "$ac_compile") 2>conftest.er1
3400   ac_status=$?
3401   grep -v '^ *+' conftest.er1 >conftest.err
3402   rm -f conftest.er1
3403   cat conftest.err >&5
3404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405   (exit $ac_status); } && {
3406          test -z "$ac_c_werror_flag" ||
3407          test ! -s conftest.err
3408        } && test -s conftest.$ac_objext; then
3409   ac_hi=$ac_mid; break
3410 else
3411   echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3413
3414         ac_lo=`expr $ac_mid + 1`
3415                         if test $ac_lo -le $ac_mid; then
3416                           ac_lo= ac_hi=
3417                           break
3418                         fi
3419                         ac_mid=`expr 2 '*' $ac_mid + 1`
3420 fi
3421
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423   done
3424 else
3425   echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3427
3428         cat >conftest.$ac_ext <<_ACEOF
3429 /* confdefs.h.  */
3430 _ACEOF
3431 cat confdefs.h >>conftest.$ac_ext
3432 cat >>conftest.$ac_ext <<_ACEOF
3433 /* end confdefs.h.  */
3434 $ac_includes_default
3435    typedef size_t ac__type_sizeof_;
3436 int
3437 main ()
3438 {
3439 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3440 test_array [0] = 0
3441
3442   ;
3443   return 0;
3444 }
3445 _ACEOF
3446 rm -f conftest.$ac_objext
3447 if { (ac_try="$ac_compile"
3448 case "(($ac_try" in
3449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450   *) ac_try_echo=$ac_try;;
3451 esac
3452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3453   (eval "$ac_compile") 2>conftest.er1
3454   ac_status=$?
3455   grep -v '^ *+' conftest.er1 >conftest.err
3456   rm -f conftest.er1
3457   cat conftest.err >&5
3458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459   (exit $ac_status); } && {
3460          test -z "$ac_c_werror_flag" ||
3461          test ! -s conftest.err
3462        } && test -s conftest.$ac_objext; then
3463   ac_hi=-1 ac_mid=-1
3464   while :; do
3465     cat >conftest.$ac_ext <<_ACEOF
3466 /* confdefs.h.  */
3467 _ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h.  */
3471 $ac_includes_default
3472    typedef size_t ac__type_sizeof_;
3473 int
3474 main ()
3475 {
3476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
3477 test_array [0] = 0
3478
3479   ;
3480   return 0;
3481 }
3482 _ACEOF
3483 rm -f conftest.$ac_objext
3484 if { (ac_try="$ac_compile"
3485 case "(($ac_try" in
3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487   *) ac_try_echo=$ac_try;;
3488 esac
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490   (eval "$ac_compile") 2>conftest.er1
3491   ac_status=$?
3492   grep -v '^ *+' conftest.er1 >conftest.err
3493   rm -f conftest.er1
3494   cat conftest.err >&5
3495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496   (exit $ac_status); } && {
3497          test -z "$ac_c_werror_flag" ||
3498          test ! -s conftest.err
3499        } && test -s conftest.$ac_objext; then
3500   ac_lo=$ac_mid; break
3501 else
3502   echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3504
3505         ac_hi=`expr '(' $ac_mid ')' - 1`
3506                         if test $ac_mid -le $ac_hi; then
3507                           ac_lo= ac_hi=
3508                           break
3509                         fi
3510                         ac_mid=`expr 2 '*' $ac_mid`
3511 fi
3512
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514   done
3515 else
3516   echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519         ac_lo= ac_hi=
3520 fi
3521
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 fi
3524
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 # Binary search between lo and hi bounds.
3527 while test "x$ac_lo" != "x$ac_hi"; do
3528   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3529   cat >conftest.$ac_ext <<_ACEOF
3530 /* confdefs.h.  */
3531 _ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h.  */
3535 $ac_includes_default
3536    typedef size_t ac__type_sizeof_;
3537 int
3538 main ()
3539 {
3540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3541 test_array [0] = 0
3542
3543   ;
3544   return 0;
3545 }
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (ac_try="$ac_compile"
3549 case "(($ac_try" in
3550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551   *) ac_try_echo=$ac_try;;
3552 esac
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554   (eval "$ac_compile") 2>conftest.er1
3555   ac_status=$?
3556   grep -v '^ *+' conftest.er1 >conftest.err
3557   rm -f conftest.er1
3558   cat conftest.err >&5
3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560   (exit $ac_status); } && {
3561          test -z "$ac_c_werror_flag" ||
3562          test ! -s conftest.err
3563        } && test -s conftest.$ac_objext; then
3564   ac_hi=$ac_mid
3565 else
3566   echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3568
3569         ac_lo=`expr '(' $ac_mid ')' + 1`
3570 fi
3571
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 done
3574 case $ac_lo in
3575 ?*) ac_cv_sizeof_size_t=$ac_lo;;
3576 '') if test "$ac_cv_type_size_t" = yes; then
3577      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
3578 See \`config.log' for more details." >&5
3579 echo "$as_me: error: cannot compute sizeof (size_t)
3580 See \`config.log' for more details." >&2;}
3581    { (exit 77); exit 77; }; }
3582    else
3583      ac_cv_sizeof_size_t=0
3584    fi ;;
3585 esac
3586 else
3587   cat >conftest.$ac_ext <<_ACEOF
3588 /* confdefs.h.  */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h.  */
3593 $ac_includes_default
3594    typedef size_t ac__type_sizeof_;
3595 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
3596 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
3597 #include <stdio.h>
3598 #include <stdlib.h>
3599 int
3600 main ()
3601 {
3602
3603   FILE *f = fopen ("conftest.val", "w");
3604   if (! f)
3605     return 1;
3606   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
3607     {
3608       long int i = longval ();
3609       if (i != ((long int) (sizeof (ac__type_sizeof_))))
3610         return 1;
3611       fprintf (f, "%ld\n", i);
3612     }
3613   else
3614     {
3615       unsigned long int i = ulongval ();
3616       if (i != ((long int) (sizeof (ac__type_sizeof_))))
3617         return 1;
3618       fprintf (f, "%lu\n", i);
3619     }
3620   return ferror (f) || fclose (f) != 0;
3621
3622   ;
3623   return 0;
3624 }
3625 _ACEOF
3626 rm -f conftest$ac_exeext
3627 if { (ac_try="$ac_link"
3628 case "(($ac_try" in
3629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630   *) ac_try_echo=$ac_try;;
3631 esac
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633   (eval "$ac_link") 2>&5
3634   ac_status=$?
3635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3637   { (case "(($ac_try" in
3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639   *) ac_try_echo=$ac_try;;
3640 esac
3641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3642   (eval "$ac_try") 2>&5
3643   ac_status=$?
3644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645   (exit $ac_status); }; }; then
3646   ac_cv_sizeof_size_t=`cat conftest.val`
3647 else
3648   echo "$as_me: program exited with status $ac_status" >&5
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3651
3652 ( exit $ac_status )
3653 if test "$ac_cv_type_size_t" = yes; then
3654      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
3655 See \`config.log' for more details." >&5
3656 echo "$as_me: error: cannot compute sizeof (size_t)
3657 See \`config.log' for more details." >&2;}
3658    { (exit 77); exit 77; }; }
3659    else
3660      ac_cv_sizeof_size_t=0
3661    fi
3662 fi
3663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3664 fi
3665 rm -f conftest.val
3666 fi
3667 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
3668 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
3669
3670
3671
3672 cat >>confdefs.h <<_ACEOF
3673 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
3674 _ACEOF
3675
3676
3677 { echo "$as_me:$LINENO: checking for void *" >&5
3678 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
3679 if test "${ac_cv_type_void_p+set}" = set; then
3680   echo $ECHO_N "(cached) $ECHO_C" >&6
3681 else
3682   cat >conftest.$ac_ext <<_ACEOF
3683 /* confdefs.h.  */
3684 _ACEOF
3685 cat confdefs.h >>conftest.$ac_ext
3686 cat >>conftest.$ac_ext <<_ACEOF
3687 /* end confdefs.h.  */
3688 $ac_includes_default
3689 typedef void * ac__type_new_;
3690 int
3691 main ()
3692 {
3693 if ((ac__type_new_ *) 0)
3694   return 0;
3695 if (sizeof (ac__type_new_))
3696   return 0;
3697   ;
3698   return 0;
3699 }
3700 _ACEOF
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3703 case "(($ac_try" in
3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705   *) ac_try_echo=$ac_try;;
3706 esac
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708   (eval "$ac_compile") 2>conftest.er1
3709   ac_status=$?
3710   grep -v '^ *+' conftest.er1 >conftest.err
3711   rm -f conftest.er1
3712   cat conftest.err >&5
3713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714   (exit $ac_status); } && {
3715          test -z "$ac_c_werror_flag" ||
3716          test ! -s conftest.err
3717        } && test -s conftest.$ac_objext; then
3718   ac_cv_type_void_p=yes
3719 else
3720   echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3722
3723         ac_cv_type_void_p=no
3724 fi
3725
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 fi
3728 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3729 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
3730
3731 # The cast to long int works around a bug in the HP C Compiler
3732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3734 # This bug is HP SR number 8606223364.
3735 { echo "$as_me:$LINENO: checking size of void *" >&5
3736 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
3737 if test "${ac_cv_sizeof_void_p+set}" = set; then
3738   echo $ECHO_N "(cached) $ECHO_C" >&6
3739 else
3740   if test "$cross_compiling" = yes; then
3741   # Depending upon the size, compute the lo and hi bounds.
3742 cat >conftest.$ac_ext <<_ACEOF
3743 /* confdefs.h.  */
3744 _ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h.  */
3748 $ac_includes_default
3749    typedef void * ac__type_sizeof_;
3750 int
3751 main ()
3752 {
3753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3754 test_array [0] = 0
3755
3756   ;
3757   return 0;
3758 }
3759 _ACEOF
3760 rm -f conftest.$ac_objext
3761 if { (ac_try="$ac_compile"
3762 case "(($ac_try" in
3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764   *) ac_try_echo=$ac_try;;
3765 esac
3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3767   (eval "$ac_compile") 2>conftest.er1
3768   ac_status=$?
3769   grep -v '^ *+' conftest.er1 >conftest.err
3770   rm -f conftest.er1
3771   cat conftest.err >&5
3772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773   (exit $ac_status); } && {
3774          test -z "$ac_c_werror_flag" ||
3775          test ! -s conftest.err
3776        } && test -s conftest.$ac_objext; then
3777   ac_lo=0 ac_mid=0
3778   while :; do
3779     cat >conftest.$ac_ext <<_ACEOF
3780 /* confdefs.h.  */
3781 _ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3784 /* end confdefs.h.  */
3785 $ac_includes_default
3786    typedef void * ac__type_sizeof_;
3787 int
3788 main ()
3789 {
3790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3791 test_array [0] = 0
3792
3793   ;
3794   return 0;
3795 }
3796 _ACEOF
3797 rm -f conftest.$ac_objext
3798 if { (ac_try="$ac_compile"
3799 case "(($ac_try" in
3800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801   *) ac_try_echo=$ac_try;;
3802 esac
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804   (eval "$ac_compile") 2>conftest.er1
3805   ac_status=$?
3806   grep -v '^ *+' conftest.er1 >conftest.err
3807   rm -f conftest.er1
3808   cat conftest.err >&5
3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810   (exit $ac_status); } && {
3811          test -z "$ac_c_werror_flag" ||
3812          test ! -s conftest.err
3813        } && test -s conftest.$ac_objext; then
3814   ac_hi=$ac_mid; break
3815 else
3816   echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3818
3819         ac_lo=`expr $ac_mid + 1`
3820                         if test $ac_lo -le $ac_mid; then
3821                           ac_lo= ac_hi=
3822                           break
3823                         fi
3824                         ac_mid=`expr 2 '*' $ac_mid + 1`
3825 fi
3826
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828   done
3829 else
3830   echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3832
3833         cat >conftest.$ac_ext <<_ACEOF
3834 /* confdefs.h.  */
3835 _ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h.  */
3839 $ac_includes_default
3840    typedef void * ac__type_sizeof_;
3841 int
3842 main ()
3843 {
3844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3845 test_array [0] = 0
3846
3847   ;
3848   return 0;
3849 }
3850 _ACEOF
3851 rm -f conftest.$ac_objext
3852 if { (ac_try="$ac_compile"
3853 case "(($ac_try" in
3854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855   *) ac_try_echo=$ac_try;;
3856 esac
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858   (eval "$ac_compile") 2>conftest.er1
3859   ac_status=$?
3860   grep -v '^ *+' conftest.er1 >conftest.err
3861   rm -f conftest.er1
3862   cat conftest.err >&5
3863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864   (exit $ac_status); } && {
3865          test -z "$ac_c_werror_flag" ||
3866          test ! -s conftest.err
3867        } && test -s conftest.$ac_objext; then
3868   ac_hi=-1 ac_mid=-1
3869   while :; do
3870     cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h.  */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h.  */
3876 $ac_includes_default
3877    typedef void * ac__type_sizeof_;
3878 int
3879 main ()
3880 {
3881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
3882 test_array [0] = 0
3883
3884   ;
3885   return 0;
3886 }
3887 _ACEOF
3888 rm -f conftest.$ac_objext
3889 if { (ac_try="$ac_compile"
3890 case "(($ac_try" in
3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892   *) ac_try_echo=$ac_try;;
3893 esac
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895   (eval "$ac_compile") 2>conftest.er1
3896   ac_status=$?
3897   grep -v '^ *+' conftest.er1 >conftest.err
3898   rm -f conftest.er1
3899   cat conftest.err >&5
3900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901   (exit $ac_status); } && {
3902          test -z "$ac_c_werror_flag" ||
3903          test ! -s conftest.err
3904        } && test -s conftest.$ac_objext; then
3905   ac_lo=$ac_mid; break
3906 else
3907   echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3909
3910         ac_hi=`expr '(' $ac_mid ')' - 1`
3911                         if test $ac_mid -le $ac_hi; then
3912                           ac_lo= ac_hi=
3913                           break
3914                         fi
3915                         ac_mid=`expr 2 '*' $ac_mid`
3916 fi
3917
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919   done
3920 else
3921   echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3923
3924         ac_lo= ac_hi=
3925 fi
3926
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928 fi
3929
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 # Binary search between lo and hi bounds.
3932 while test "x$ac_lo" != "x$ac_hi"; do
3933   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3934   cat >conftest.$ac_ext <<_ACEOF
3935 /* confdefs.h.  */
3936 _ACEOF
3937 cat confdefs.h >>conftest.$ac_ext
3938 cat >>conftest.$ac_ext <<_ACEOF
3939 /* end confdefs.h.  */
3940 $ac_includes_default
3941    typedef void * ac__type_sizeof_;
3942 int
3943 main ()
3944 {
3945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3946 test_array [0] = 0
3947
3948   ;
3949   return 0;
3950 }
3951 _ACEOF
3952 rm -f conftest.$ac_objext
3953 if { (ac_try="$ac_compile"
3954 case "(($ac_try" in
3955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956   *) ac_try_echo=$ac_try;;
3957 esac
3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959   (eval "$ac_compile") 2>conftest.er1
3960   ac_status=$?
3961   grep -v '^ *+' conftest.er1 >conftest.err
3962   rm -f conftest.er1
3963   cat conftest.err >&5
3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965   (exit $ac_status); } && {
3966          test -z "$ac_c_werror_flag" ||
3967          test ! -s conftest.err
3968        } && test -s conftest.$ac_objext; then
3969   ac_hi=$ac_mid
3970 else
3971   echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3973
3974         ac_lo=`expr '(' $ac_mid ')' + 1`
3975 fi
3976
3977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 done
3979 case $ac_lo in
3980 ?*) ac_cv_sizeof_void_p=$ac_lo;;
3981 '') if test "$ac_cv_type_void_p" = yes; then
3982      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
3983 See \`config.log' for more details." >&5
3984 echo "$as_me: error: cannot compute sizeof (void *)
3985 See \`config.log' for more details." >&2;}
3986    { (exit 77); exit 77; }; }
3987    else
3988      ac_cv_sizeof_void_p=0
3989    fi ;;
3990 esac
3991 else
3992   cat >conftest.$ac_ext <<_ACEOF
3993 /* confdefs.h.  */
3994 _ACEOF
3995 cat confdefs.h >>conftest.$ac_ext
3996 cat >>conftest.$ac_ext <<_ACEOF
3997 /* end confdefs.h.  */
3998 $ac_includes_default
3999    typedef void * ac__type_sizeof_;
4000 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4001 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4002 #include <stdio.h>
4003 #include <stdlib.h>
4004 int
4005 main ()
4006 {
4007
4008   FILE *f = fopen ("conftest.val", "w");
4009   if (! f)
4010     return 1;
4011   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4012     {
4013       long int i = longval ();
4014       if (i != ((long int) (sizeof (ac__type_sizeof_))))
4015         return 1;
4016       fprintf (f, "%ld\n", i);
4017     }
4018   else
4019     {
4020       unsigned long int i = ulongval ();
4021       if (i != ((long int) (sizeof (ac__type_sizeof_))))
4022         return 1;
4023       fprintf (f, "%lu\n", i);
4024     }
4025   return ferror (f) || fclose (f) != 0;
4026
4027   ;
4028   return 0;
4029 }
4030 _ACEOF
4031 rm -f conftest$ac_exeext
4032 if { (ac_try="$ac_link"
4033 case "(($ac_try" in
4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035   *) ac_try_echo=$ac_try;;
4036 esac
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038   (eval "$ac_link") 2>&5
4039   ac_status=$?
4040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4042   { (case "(($ac_try" in
4043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044   *) ac_try_echo=$ac_try;;
4045 esac
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047   (eval "$ac_try") 2>&5
4048   ac_status=$?
4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050   (exit $ac_status); }; }; then
4051   ac_cv_sizeof_void_p=`cat conftest.val`
4052 else
4053   echo "$as_me: program exited with status $ac_status" >&5
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4056
4057 ( exit $ac_status )
4058 if test "$ac_cv_type_void_p" = yes; then
4059      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
4060 See \`config.log' for more details." >&5
4061 echo "$as_me: error: cannot compute sizeof (void *)
4062 See \`config.log' for more details." >&2;}
4063    { (exit 77); exit 77; }; }
4064    else
4065      ac_cv_sizeof_void_p=0
4066    fi
4067 fi
4068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4069 fi
4070 rm -f conftest.val
4071 fi
4072 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4073 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
4074
4075
4076
4077 cat >>confdefs.h <<_ACEOF
4078 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4079 _ACEOF
4080
4081
4082
4083 if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then
4084         { echo "$as_me:$LINENO: WARNING: size_t cannot represent the amount of used memory of a process" >&5
4085 echo "$as_me: WARNING: size_t cannot represent the amount of used memory of a process" >&2;}
4086         { echo "$as_me:$LINENO: WARNING: please report this to <samba-technical@samba.org>" >&5
4087 echo "$as_me: WARNING: please report this to <samba-technical@samba.org>" >&2;}
4088         { echo "$as_me:$LINENO: WARNING: sizeof(size_t) = $ac_cv_sizeof_size_t" >&5
4089 echo "$as_me: WARNING: sizeof(size_t) = $ac_cv_sizeof_size_t" >&2;}
4090         { echo "$as_me:$LINENO: WARNING: sizeof(void *) = $ac_cv_sizeof_void_p" >&5
4091 echo "$as_me: WARNING: sizeof(void *) = $ac_cv_sizeof_void_p" >&2;}
4092         { { echo "$as_me:$LINENO: error: sizeof(size_t) < sizeof(void *)" >&5
4093 echo "$as_me: error: sizeof(size_t) < sizeof(void *)" >&2;}
4094    { (exit 1); exit 1; }; }
4095 fi
4096
4097
4098 # Extract the first word of "xsltproc", so it can be a program name with args.
4099 set dummy xsltproc; ac_word=$2
4100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4102 if test "${ac_cv_path_XSLTPROC+set}" = set; then
4103   echo $ECHO_N "(cached) $ECHO_C" >&6
4104 else
4105   case $XSLTPROC in
4106   [\\/]* | ?:[\\/]*)
4107   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4108   ;;
4109   *)
4110   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111 for as_dir in $PATH
4112 do
4113   IFS=$as_save_IFS
4114   test -z "$as_dir" && as_dir=.
4115   for ac_exec_ext in '' $ac_executable_extensions; do
4116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4119     break 2
4120   fi
4121 done
4122 done
4123 IFS=$as_save_IFS
4124
4125   ;;
4126 esac
4127 fi
4128 XSLTPROC=$ac_cv_path_XSLTPROC
4129 if test -n "$XSLTPROC"; then
4130   { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
4131 echo "${ECHO_T}$XSLTPROC" >&6; }
4132 else
4133   { echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6; }
4135 fi
4136
4137
4138 DOC_TARGET=""
4139 if test -n "$XSLTPROC"; then
4140         DOC_TARGET=doc
4141 fi
4142
4143
4144 ac_config_files="$ac_config_files Makefile talloc.pc"
4145
4146 cat >confcache <<\_ACEOF
4147 # This file is a shell script that caches the results of configure
4148 # tests run on this system so they can be shared between configure
4149 # scripts and configure runs, see configure's option --config-cache.
4150 # It is not useful on other systems.  If it contains results you don't
4151 # want to keep, you may remove or edit it.
4152 #
4153 # config.status only pays attention to the cache file if you give it
4154 # the --recheck option to rerun configure.
4155 #
4156 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4157 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4158 # following values.
4159
4160 _ACEOF
4161
4162 # The following way of writing the cache mishandles newlines in values,
4163 # but we know of no workaround that is simple, portable, and efficient.
4164 # So, we kill variables containing newlines.
4165 # Ultrix sh set writes to stderr and can't be redirected directly,
4166 # and sets the high bit in the cache file unless we assign to the vars.
4167 (
4168   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4169     eval ac_val=\$$ac_var
4170     case $ac_val in #(
4171     *${as_nl}*)
4172       case $ac_var in #(
4173       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4174 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4175       esac
4176       case $ac_var in #(
4177       _ | IFS | as_nl) ;; #(
4178       *) $as_unset $ac_var ;;
4179       esac ;;
4180     esac
4181   done
4182
4183   (set) 2>&1 |
4184     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4185     *${as_nl}ac_space=\ *)
4186       # `set' does not quote correctly, so add quotes (double-quote
4187       # substitution turns \\\\ into \\, and sed turns \\ into \).
4188       sed -n \
4189         "s/'/'\\\\''/g;
4190           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4191       ;; #(
4192     *)
4193       # `set' quotes correctly as required by POSIX, so do not add quotes.
4194       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4195       ;;
4196     esac |
4197     sort
4198 ) |
4199   sed '
4200      /^ac_cv_env_/b end
4201      t clear
4202      :clear
4203      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4204      t end
4205      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4206      :end' >>confcache
4207 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4208   if test -w "$cache_file"; then
4209     test "x$cache_file" != "x/dev/null" &&
4210       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4211 echo "$as_me: updating cache $cache_file" >&6;}
4212     cat confcache >$cache_file
4213   else
4214     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4215 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4216   fi
4217 fi
4218 rm -f confcache
4219
4220 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4221 # Let make expand exec_prefix.
4222 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4223
4224 DEFS=-DHAVE_CONFIG_H
4225
4226 ac_libobjs=
4227 ac_ltlibobjs=
4228 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4229   # 1. Remove the extension, and $U if already installed.
4230   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4231   ac_i=`echo "$ac_i" | sed "$ac_script"`
4232   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4233   #    will be set to the directory where LIBOBJS objects are built.
4234   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4235   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4236 done
4237 LIBOBJS=$ac_libobjs
4238
4239 LTLIBOBJS=$ac_ltlibobjs
4240
4241
4242
4243 : ${CONFIG_STATUS=./config.status}
4244 ac_clean_files_save=$ac_clean_files
4245 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4246 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4247 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4248 cat >$CONFIG_STATUS <<_ACEOF
4249 #! $SHELL
4250 # Generated by $as_me.
4251 # Run this file to recreate the current configuration.
4252 # Compiler output produced by configure, useful for debugging
4253 # configure, is in config.log if it exists.
4254
4255 debug=false
4256 ac_cs_recheck=false
4257 ac_cs_silent=false
4258 SHELL=\${CONFIG_SHELL-$SHELL}
4259 _ACEOF
4260
4261 cat >>$CONFIG_STATUS <<\_ACEOF
4262 ## --------------------- ##
4263 ## M4sh Initialization.  ##
4264 ## --------------------- ##
4265
4266 # Be more Bourne compatible
4267 DUALCASE=1; export DUALCASE # for MKS sh
4268 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4269   emulate sh
4270   NULLCMD=:
4271   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4272   # is contrary to our usage.  Disable this feature.
4273   alias -g '${1+"$@"}'='"$@"'
4274   setopt NO_GLOB_SUBST
4275 else
4276   case `(set -o) 2>/dev/null` in
4277   *posix*) set -o posix ;;
4278 esac
4279
4280 fi
4281
4282
4283
4284
4285 # PATH needs CR
4286 # Avoid depending upon Character Ranges.
4287 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4288 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4289 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4290 as_cr_digits='0123456789'
4291 as_cr_alnum=$as_cr_Letters$as_cr_digits
4292
4293 # The user is always right.
4294 if test "${PATH_SEPARATOR+set}" != set; then
4295   echo "#! /bin/sh" >conf$$.sh
4296   echo  "exit 0"   >>conf$$.sh
4297   chmod +x conf$$.sh
4298   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4299     PATH_SEPARATOR=';'
4300   else
4301     PATH_SEPARATOR=:
4302   fi
4303   rm -f conf$$.sh
4304 fi
4305
4306 # Support unset when possible.
4307 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4308   as_unset=unset
4309 else
4310   as_unset=false
4311 fi
4312
4313
4314 # IFS
4315 # We need space, tab and new line, in precisely that order.  Quoting is
4316 # there to prevent editors from complaining about space-tab.
4317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4318 # splitting by setting IFS to empty value.)
4319 as_nl='
4320 '
4321 IFS=" ""        $as_nl"
4322
4323 # Find who we are.  Look in the path if we contain no directory separator.
4324 case $0 in
4325   *[\\/]* ) as_myself=$0 ;;
4326   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4328 do
4329   IFS=$as_save_IFS
4330   test -z "$as_dir" && as_dir=.
4331   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4332 done
4333 IFS=$as_save_IFS
4334
4335      ;;
4336 esac
4337 # We did not find ourselves, most probably we were run as `sh COMMAND'
4338 # in which case we are not to be found in the path.
4339 if test "x$as_myself" = x; then
4340   as_myself=$0
4341 fi
4342 if test ! -f "$as_myself"; then
4343   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4344   { (exit 1); exit 1; }
4345 fi
4346
4347 # Work around bugs in pre-3.0 UWIN ksh.
4348 for as_var in ENV MAIL MAILPATH
4349 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4350 done
4351 PS1='$ '
4352 PS2='> '
4353 PS4='+ '
4354
4355 # NLS nuisances.
4356 for as_var in \
4357   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4358   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4359   LC_TELEPHONE LC_TIME
4360 do
4361   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4362     eval $as_var=C; export $as_var
4363   else
4364     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4365   fi
4366 done
4367
4368 # Required to use basename.
4369 if expr a : '\(a\)' >/dev/null 2>&1 &&
4370    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4371   as_expr=expr
4372 else
4373   as_expr=false
4374 fi
4375
4376 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4377   as_basename=basename
4378 else
4379   as_basename=false
4380 fi
4381
4382
4383 # Name of the executable.
4384 as_me=`$as_basename -- "$0" ||
4385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4386          X"$0" : 'X\(//\)$' \| \
4387          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4388 echo X/"$0" |
4389     sed '/^.*\/\([^/][^/]*\)\/*$/{
4390             s//\1/
4391             q
4392           }
4393           /^X\/\(\/\/\)$/{
4394             s//\1/
4395             q
4396           }
4397           /^X\/\(\/\).*/{
4398             s//\1/
4399             q
4400           }
4401           s/.*/./; q'`
4402
4403 # CDPATH.
4404 $as_unset CDPATH
4405
4406
4407
4408   as_lineno_1=$LINENO
4409   as_lineno_2=$LINENO
4410   test "x$as_lineno_1" != "x$as_lineno_2" &&
4411   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4412
4413   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4414   # uniformly replaced by the line number.  The first 'sed' inserts a
4415   # line-number line after each line using $LINENO; the second 'sed'
4416   # does the real work.  The second script uses 'N' to pair each
4417   # line-number line with the line containing $LINENO, and appends
4418   # trailing '-' during substitution so that $LINENO is not a special
4419   # case at line end.
4420   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4421   # scripts with optimization help from Paolo Bonzini.  Blame Lee
4422   # E. McMahon (1931-1989) for sed's syntax.  :-)
4423   sed -n '
4424     p
4425     /[$]LINENO/=
4426   ' <$as_myself |
4427     sed '
4428       s/[$]LINENO.*/&-/
4429       t lineno
4430       b
4431       :lineno
4432       N
4433       :loop
4434       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4435       t loop
4436       s/-\n.*//
4437     ' >$as_me.lineno &&
4438   chmod +x "$as_me.lineno" ||
4439     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4440    { (exit 1); exit 1; }; }
4441
4442   # Don't try to exec as it changes $[0], causing all sort of problems
4443   # (the dirname of $[0] is not the place where we might find the
4444   # original and so on.  Autoconf is especially sensitive to this).
4445   . "./$as_me.lineno"
4446   # Exit status is that of the last command.
4447   exit
4448 }
4449
4450
4451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4452   as_dirname=dirname
4453 else
4454   as_dirname=false
4455 fi
4456
4457 ECHO_C= ECHO_N= ECHO_T=
4458 case `echo -n x` in
4459 -n*)
4460   case `echo 'x\c'` in
4461   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4462   *)   ECHO_C='\c';;
4463   esac;;
4464 *)
4465   ECHO_N='-n';;
4466 esac
4467
4468 if expr a : '\(a\)' >/dev/null 2>&1 &&
4469    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4470   as_expr=expr
4471 else
4472   as_expr=false
4473 fi
4474
4475 rm -f conf$$ conf$$.exe conf$$.file
4476 if test -d conf$$.dir; then
4477   rm -f conf$$.dir/conf$$.file
4478 else
4479   rm -f conf$$.dir
4480   mkdir conf$$.dir
4481 fi
4482 echo >conf$$.file
4483 if ln -s conf$$.file conf$$ 2>/dev/null; then
4484   as_ln_s='ln -s'
4485   # ... but there are two gotchas:
4486   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4487   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4488   # In both cases, we have to default to `cp -p'.
4489   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4490     as_ln_s='cp -p'
4491 elif ln conf$$.file conf$$ 2>/dev/null; then
4492   as_ln_s=ln
4493 else
4494   as_ln_s='cp -p'
4495 fi
4496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4497 rmdir conf$$.dir 2>/dev/null
4498
4499 if mkdir -p . 2>/dev/null; then
4500   as_mkdir_p=:
4501 else
4502   test -d ./-p && rmdir ./-p
4503   as_mkdir_p=false
4504 fi
4505
4506 if test -x / >/dev/null 2>&1; then
4507   as_test_x='test -x'
4508 else
4509   if ls -dL / >/dev/null 2>&1; then
4510     as_ls_L_option=L
4511   else
4512     as_ls_L_option=
4513   fi
4514   as_test_x='
4515     eval sh -c '\''
4516       if test -d "$1"; then
4517         test -d "$1/.";
4518       else
4519         case $1 in
4520         -*)set "./$1";;
4521         esac;
4522         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4523         ???[sx]*):;;*)false;;esac;fi
4524     '\'' sh
4525   '
4526 fi
4527 as_executable_p=$as_test_x
4528
4529 # Sed expression to map a string onto a valid CPP name.
4530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4531
4532 # Sed expression to map a string onto a valid variable name.
4533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4534
4535
4536 exec 6>&1
4537
4538 # Save the log message, to keep $[0] and so on meaningful, and to
4539 # report actual input values of CONFIG_FILES etc. instead of their
4540 # values after options handling.
4541 ac_log="
4542 This file was extended by talloc $as_me 1.1.0, which was
4543 generated by GNU Autoconf 2.61.  Invocation command line was
4544
4545   CONFIG_FILES    = $CONFIG_FILES
4546   CONFIG_HEADERS  = $CONFIG_HEADERS
4547   CONFIG_LINKS    = $CONFIG_LINKS
4548   CONFIG_COMMANDS = $CONFIG_COMMANDS
4549   $ $0 $@
4550
4551 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4552 "
4553
4554 _ACEOF
4555
4556 cat >>$CONFIG_STATUS <<_ACEOF
4557 # Files that config.status was made for.
4558 config_files="$ac_config_files"
4559 config_headers="$ac_config_headers"
4560
4561 _ACEOF
4562
4563 cat >>$CONFIG_STATUS <<\_ACEOF
4564 ac_cs_usage="\
4565 \`$as_me' instantiates files from templates according to the
4566 current configuration.
4567
4568 Usage: $0 [OPTIONS] [FILE]...
4569
4570   -h, --help       print this help, then exit
4571   -V, --version    print version number and configuration settings, then exit
4572   -q, --quiet      do not print progress messages
4573   -d, --debug      don't remove temporary files
4574       --recheck    update $as_me by reconfiguring in the same conditions
4575   --file=FILE[:TEMPLATE]
4576                    instantiate the configuration file FILE
4577   --header=FILE[:TEMPLATE]
4578                    instantiate the configuration header FILE
4579
4580 Configuration files:
4581 $config_files
4582
4583 Configuration headers:
4584 $config_headers
4585
4586 Report bugs to <bug-autoconf@gnu.org>."
4587
4588 _ACEOF
4589 cat >>$CONFIG_STATUS <<_ACEOF
4590 ac_cs_version="\\
4591 talloc config.status 1.1.0
4592 configured by $0, generated by GNU Autoconf 2.61,
4593   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4594
4595 Copyright (C) 2006 Free Software Foundation, Inc.
4596 This config.status script is free software; the Free Software Foundation
4597 gives unlimited permission to copy, distribute and modify it."
4598
4599 ac_pwd='$ac_pwd'
4600 srcdir='$srcdir'
4601 _ACEOF
4602
4603 cat >>$CONFIG_STATUS <<\_ACEOF
4604 # If no file are specified by the user, then we need to provide default
4605 # value.  By we need to know if files were specified by the user.
4606 ac_need_defaults=:
4607 while test $# != 0
4608 do
4609   case $1 in
4610   --*=*)
4611     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4612     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4613     ac_shift=:
4614     ;;
4615   *)
4616     ac_option=$1
4617     ac_optarg=$2
4618     ac_shift=shift
4619     ;;
4620   esac
4621
4622   case $ac_option in
4623   # Handling of the options.
4624   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4625     ac_cs_recheck=: ;;
4626   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4627     echo "$ac_cs_version"; exit ;;
4628   --debug | --debu | --deb | --de | --d | -d )
4629     debug=: ;;
4630   --file | --fil | --fi | --f )
4631     $ac_shift
4632     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4633     ac_need_defaults=false;;
4634   --header | --heade | --head | --hea )
4635     $ac_shift
4636     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4637     ac_need_defaults=false;;
4638   --he | --h)
4639     # Conflict between --help and --header
4640     { echo "$as_me: error: ambiguous option: $1
4641 Try \`$0 --help' for more information." >&2
4642    { (exit 1); exit 1; }; };;
4643   --help | --hel | -h )
4644     echo "$ac_cs_usage"; exit ;;
4645   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4646   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4647     ac_cs_silent=: ;;
4648
4649   # This is an error.
4650   -*) { echo "$as_me: error: unrecognized option: $1
4651 Try \`$0 --help' for more information." >&2
4652    { (exit 1); exit 1; }; } ;;
4653
4654   *) ac_config_targets="$ac_config_targets $1"
4655      ac_need_defaults=false ;;
4656
4657   esac
4658   shift
4659 done
4660
4661 ac_configure_extra_args=
4662
4663 if $ac_cs_silent; then
4664   exec 6>/dev/null
4665   ac_configure_extra_args="$ac_configure_extra_args --silent"
4666 fi
4667
4668 _ACEOF
4669 cat >>$CONFIG_STATUS <<_ACEOF
4670 if \$ac_cs_recheck; then
4671   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4672   CONFIG_SHELL=$SHELL
4673   export CONFIG_SHELL
4674   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4675 fi
4676
4677 _ACEOF
4678 cat >>$CONFIG_STATUS <<\_ACEOF
4679 exec 5>>config.log
4680 {
4681   echo
4682   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4683 ## Running $as_me. ##
4684 _ASBOX
4685   echo "$ac_log"
4686 } >&5
4687
4688 _ACEOF
4689 cat >>$CONFIG_STATUS <<_ACEOF
4690 _ACEOF
4691
4692 cat >>$CONFIG_STATUS <<\_ACEOF
4693
4694 # Handling of arguments.
4695 for ac_config_target in $ac_config_targets
4696 do
4697   case $ac_config_target in
4698     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4699     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4700     "talloc.pc") CONFIG_FILES="$CONFIG_FILES talloc.pc" ;;
4701
4702   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4704    { (exit 1); exit 1; }; };;
4705   esac
4706 done
4707
4708
4709 # If the user did not use the arguments to specify the items to instantiate,
4710 # then the envvar interface is used.  Set only those that are not.
4711 # We use the long form for the default assignment because of an extremely
4712 # bizarre bug on SunOS 4.1.3.
4713 if $ac_need_defaults; then
4714   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4715   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4716 fi
4717
4718 # Have a temporary directory for convenience.  Make it in the build tree
4719 # simply because there is no reason against having it here, and in addition,
4720 # creating and moving files from /tmp can sometimes cause problems.
4721 # Hook for its removal unless debugging.
4722 # Note that there is a small window in which the directory will not be cleaned:
4723 # after its creation but before its name has been assigned to `$tmp'.
4724 $debug ||
4725 {
4726   tmp=
4727   trap 'exit_status=$?
4728   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4729 ' 0
4730   trap '{ (exit 1); exit 1; }' 1 2 13 15
4731 }
4732 # Create a (secure) tmp directory for tmp files.
4733
4734 {
4735   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4736   test -n "$tmp" && test -d "$tmp"
4737 }  ||
4738 {
4739   tmp=./conf$$-$RANDOM
4740   (umask 077 && mkdir "$tmp")
4741 } ||
4742 {
4743    echo "$me: cannot create a temporary directory in ." >&2
4744    { (exit 1); exit 1; }
4745 }
4746
4747 #
4748 # Set up the sed scripts for CONFIG_FILES section.
4749 #
4750
4751 # No need to generate the scripts if there are no CONFIG_FILES.
4752 # This happens for instance when ./config.status config.h
4753 if test -n "$CONFIG_FILES"; then
4754
4755 _ACEOF
4756
4757
4758
4759 ac_delim='%!_!# '
4760 for ac_last_try in false false false false false :; do
4761   cat >conf$$subs.sed <<_ACEOF
4762 SHELL!$SHELL$ac_delim
4763 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4764 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4765 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4766 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4767 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4768 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4769 exec_prefix!$exec_prefix$ac_delim
4770 prefix!$prefix$ac_delim
4771 program_transform_name!$program_transform_name$ac_delim
4772 bindir!$bindir$ac_delim
4773 sbindir!$sbindir$ac_delim
4774 libexecdir!$libexecdir$ac_delim
4775 datarootdir!$datarootdir$ac_delim
4776 datadir!$datadir$ac_delim
4777 sysconfdir!$sysconfdir$ac_delim
4778 sharedstatedir!$sharedstatedir$ac_delim
4779 localstatedir!$localstatedir$ac_delim
4780 includedir!$includedir$ac_delim
4781 oldincludedir!$oldincludedir$ac_delim
4782 docdir!$docdir$ac_delim
4783 infodir!$infodir$ac_delim
4784 htmldir!$htmldir$ac_delim
4785 dvidir!$dvidir$ac_delim
4786 pdfdir!$pdfdir$ac_delim
4787 psdir!$psdir$ac_delim
4788 libdir!$libdir$ac_delim
4789 localedir!$localedir$ac_delim
4790 mandir!$mandir$ac_delim
4791 DEFS!$DEFS$ac_delim
4792 ECHO_C!$ECHO_C$ac_delim
4793 ECHO_N!$ECHO_N$ac_delim
4794 ECHO_T!$ECHO_T$ac_delim
4795 LIBS!$LIBS$ac_delim
4796 build_alias!$build_alias$ac_delim
4797 host_alias!$host_alias$ac_delim
4798 target_alias!$target_alias$ac_delim
4799 tallocdir!$tallocdir$ac_delim
4800 TALLOC_OBJ!$TALLOC_OBJ$ac_delim
4801 TALLOC_CFLAGS!$TALLOC_CFLAGS$ac_delim
4802 TALLOC_LIBS!$TALLOC_LIBS$ac_delim
4803 CC!$CC$ac_delim
4804 CFLAGS!$CFLAGS$ac_delim
4805 LDFLAGS!$LDFLAGS$ac_delim
4806 CPPFLAGS!$CPPFLAGS$ac_delim
4807 ac_ct_CC!$ac_ct_CC$ac_delim
4808 EXEEXT!$EXEEXT$ac_delim
4809 OBJEXT!$OBJEXT$ac_delim
4810 CPP!$CPP$ac_delim
4811 GREP!$GREP$ac_delim
4812 EGREP!$EGREP$ac_delim
4813 XSLTPROC!$XSLTPROC$ac_delim
4814 DOC_TARGET!$DOC_TARGET$ac_delim
4815 LIBOBJS!$LIBOBJS$ac_delim
4816 LTLIBOBJS!$LTLIBOBJS$ac_delim
4817 _ACEOF
4818
4819   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
4820     break
4821   elif $ac_last_try; then
4822     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4824    { (exit 1); exit 1; }; }
4825   else
4826     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4827   fi
4828 done
4829
4830 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4831 if test -n "$ac_eof"; then
4832   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4833   ac_eof=`expr $ac_eof + 1`
4834 fi
4835
4836 cat >>$CONFIG_STATUS <<_ACEOF
4837 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4839 _ACEOF
4840 sed '
4841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4842 s/^/s,@/; s/!/@,|#_!!_#|/
4843 :n
4844 t n
4845 s/'"$ac_delim"'$/,g/; t
4846 s/$/\\/; p
4847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4848 ' >>$CONFIG_STATUS <conf$$subs.sed
4849 rm -f conf$$subs.sed
4850 cat >>$CONFIG_STATUS <<_ACEOF
4851 :end
4852 s/|#_!!_#|//g
4853 CEOF$ac_eof
4854 _ACEOF
4855
4856
4857 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4858 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4859 # trailing colons and then remove the whole line if VPATH becomes empty
4860 # (actually we leave an empty line to preserve line numbers).
4861 if test "x$srcdir" = x.; then
4862   ac_vpsub='/^[  ]*VPATH[        ]*=/{
4863 s/:*\$(srcdir):*/:/
4864 s/:*\${srcdir}:*/:/
4865 s/:*@srcdir@:*/:/
4866 s/^\([^=]*=[     ]*\):*/\1/
4867 s/:*$//
4868 s/^[^=]*=[       ]*$//
4869 }'
4870 fi
4871
4872 cat >>$CONFIG_STATUS <<\_ACEOF
4873 fi # test -n "$CONFIG_FILES"
4874
4875
4876 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
4877 do
4878   case $ac_tag in
4879   :[FHLC]) ac_mode=$ac_tag; continue;;
4880   esac
4881   case $ac_mode$ac_tag in
4882   :[FHL]*:*);;
4883   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4884 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4885    { (exit 1); exit 1; }; };;
4886   :[FH]-) ac_tag=-:-;;
4887   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4888   esac
4889   ac_save_IFS=$IFS
4890   IFS=:
4891   set x $ac_tag
4892   IFS=$ac_save_IFS
4893   shift
4894   ac_file=$1
4895   shift
4896
4897   case $ac_mode in
4898   :L) ac_source=$1;;
4899   :[FH])
4900     ac_file_inputs=
4901     for ac_f
4902     do
4903       case $ac_f in
4904       -) ac_f="$tmp/stdin";;
4905       *) # Look for the file first in the build tree, then in the source tree
4906          # (if the path is not absolute).  The absolute path cannot be DOS-style,
4907          # because $ac_f cannot contain `:'.
4908          test -f "$ac_f" ||
4909            case $ac_f in
4910            [\\/$]*) false;;
4911            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4912            esac ||
4913            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4914 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4915    { (exit 1); exit 1; }; };;
4916       esac
4917       ac_file_inputs="$ac_file_inputs $ac_f"
4918     done
4919
4920     # Let's still pretend it is `configure' which instantiates (i.e., don't
4921     # use $as_me), people would be surprised to read:
4922     #    /* config.h.  Generated by config.status.  */
4923     configure_input="Generated from "`IFS=:
4924           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4925     if test x"$ac_file" != x-; then
4926       configure_input="$ac_file.  $configure_input"
4927       { echo "$as_me:$LINENO: creating $ac_file" >&5
4928 echo "$as_me: creating $ac_file" >&6;}
4929     fi
4930
4931     case $ac_tag in
4932     *:-:* | *:-) cat >"$tmp/stdin";;
4933     esac
4934     ;;
4935   esac
4936
4937   ac_dir=`$as_dirname -- "$ac_file" ||
4938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4939          X"$ac_file" : 'X\(//\)[^/]' \| \
4940          X"$ac_file" : 'X\(//\)$' \| \
4941          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4942 echo X"$ac_file" |
4943     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4944             s//\1/
4945             q
4946           }
4947           /^X\(\/\/\)[^/].*/{
4948             s//\1/
4949             q
4950           }
4951           /^X\(\/\/\)$/{
4952             s//\1/
4953             q
4954           }
4955           /^X\(\/\).*/{
4956             s//\1/
4957             q
4958           }
4959           s/.*/./; q'`
4960   { as_dir="$ac_dir"
4961   case $as_dir in #(
4962   -*) as_dir=./$as_dir;;
4963   esac
4964   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4965     as_dirs=
4966     while :; do
4967       case $as_dir in #(
4968       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4969       *) as_qdir=$as_dir;;
4970       esac
4971       as_dirs="'$as_qdir' $as_dirs"
4972       as_dir=`$as_dirname -- "$as_dir" ||
4973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974          X"$as_dir" : 'X\(//\)[^/]' \| \
4975          X"$as_dir" : 'X\(//\)$' \| \
4976          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4977 echo X"$as_dir" |
4978     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4979             s//\1/
4980             q
4981           }
4982           /^X\(\/\/\)[^/].*/{
4983             s//\1/
4984             q
4985           }
4986           /^X\(\/\/\)$/{
4987             s//\1/
4988             q
4989           }
4990           /^X\(\/\).*/{
4991             s//\1/
4992             q
4993           }
4994           s/.*/./; q'`
4995       test -d "$as_dir" && break
4996     done
4997     test -z "$as_dirs" || eval "mkdir $as_dirs"
4998   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4999 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5000    { (exit 1); exit 1; }; }; }
5001   ac_builddir=.
5002
5003 case "$ac_dir" in
5004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5005 *)
5006   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5007   # A ".." for each directory in $ac_dir_suffix.
5008   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5009   case $ac_top_builddir_sub in
5010   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5011   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5012   esac ;;
5013 esac
5014 ac_abs_top_builddir=$ac_pwd
5015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5016 # for backward compatibility:
5017 ac_top_builddir=$ac_top_build_prefix
5018
5019 case $srcdir in
5020   .)  # We are building in place.
5021     ac_srcdir=.
5022     ac_top_srcdir=$ac_top_builddir_sub
5023     ac_abs_top_srcdir=$ac_pwd ;;
5024   [\\/]* | ?:[\\/]* )  # Absolute name.
5025     ac_srcdir=$srcdir$ac_dir_suffix;
5026     ac_top_srcdir=$srcdir
5027     ac_abs_top_srcdir=$srcdir ;;
5028   *) # Relative name.
5029     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5030     ac_top_srcdir=$ac_top_build_prefix$srcdir
5031     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5032 esac
5033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5034
5035
5036   case $ac_mode in
5037   :F)
5038   #
5039   # CONFIG_FILE
5040   #
5041
5042 _ACEOF
5043
5044 cat >>$CONFIG_STATUS <<\_ACEOF
5045 # If the template does not know about datarootdir, expand it.
5046 # FIXME: This hack should be removed a few years after 2.60.
5047 ac_datarootdir_hack=; ac_datarootdir_seen=
5048
5049 case `sed -n '/datarootdir/ {
5050   p
5051   q
5052 }
5053 /@datadir@/p
5054 /@docdir@/p
5055 /@infodir@/p
5056 /@localedir@/p
5057 /@mandir@/p
5058 ' $ac_file_inputs` in
5059 *datarootdir*) ac_datarootdir_seen=yes;;
5060 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5061   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5062 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5063 _ACEOF
5064 cat >>$CONFIG_STATUS <<_ACEOF
5065   ac_datarootdir_hack='
5066   s&@datadir@&$datadir&g
5067   s&@docdir@&$docdir&g
5068   s&@infodir@&$infodir&g
5069   s&@localedir@&$localedir&g
5070   s&@mandir@&$mandir&g
5071     s&\\\${datarootdir}&$datarootdir&g' ;;
5072 esac
5073 _ACEOF
5074
5075 # Neutralize VPATH when `$srcdir' = `.'.
5076 # Shell code in configure.ac might set extrasub.
5077 # FIXME: do we really want to maintain this feature?
5078 cat >>$CONFIG_STATUS <<_ACEOF
5079   sed "$ac_vpsub
5080 $extrasub
5081 _ACEOF
5082 cat >>$CONFIG_STATUS <<\_ACEOF
5083 :t
5084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5085 s&@configure_input@&$configure_input&;t t
5086 s&@top_builddir@&$ac_top_builddir_sub&;t t
5087 s&@srcdir@&$ac_srcdir&;t t
5088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5089 s&@top_srcdir@&$ac_top_srcdir&;t t
5090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5091 s&@builddir@&$ac_builddir&;t t
5092 s&@abs_builddir@&$ac_abs_builddir&;t t
5093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5094 $ac_datarootdir_hack
5095 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5096
5097 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5098   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5099   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5100   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5101 which seems to be undefined.  Please make sure it is defined." >&5
5102 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5103 which seems to be undefined.  Please make sure it is defined." >&2;}
5104
5105   rm -f "$tmp/stdin"
5106   case $ac_file in
5107   -) cat "$tmp/out"; rm -f "$tmp/out";;
5108   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5109   esac
5110  ;;
5111   :H)
5112   #
5113   # CONFIG_HEADER
5114   #
5115 _ACEOF
5116
5117 # Transform confdefs.h into a sed script `conftest.defines', that
5118 # substitutes the proper values into config.h.in to produce config.h.
5119 rm -f conftest.defines conftest.tail
5120 # First, append a space to every undef/define line, to ease matching.
5121 echo 's/$/ /' >conftest.defines
5122 # Then, protect against being on the right side of a sed subst, or in
5123 # an unquoted here document, in config.status.  If some macros were
5124 # called several times there might be several #defines for the same
5125 # symbol, which is useless.  But do not sort them, since the last
5126 # AC_DEFINE must be honored.
5127 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5128 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5129 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5130 # PARAMS is the parameter list in the macro definition--in most cases, it's
5131 # just an empty string.
5132 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
5133 ac_dB='\\)[      (].*,\\1define\\2'
5134 ac_dC=' '
5135 ac_dD=' ,'
5136
5137 uniq confdefs.h |
5138   sed -n '
5139         t rset
5140         :rset
5141         s/^[     ]*#[    ]*define[       ][      ]*//
5142         t ok
5143         d
5144         :ok
5145         s/[\\&,]/\\&/g
5146         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5147         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5148   ' >>conftest.defines
5149
5150 # Remove the space that was appended to ease matching.
5151 # Then replace #undef with comments.  This is necessary, for
5152 # example, in the case of _POSIX_SOURCE, which is predefined and required
5153 # on some systems where configure will not decide to define it.
5154 # (The regexp can be short, since the line contains either #define or #undef.)
5155 echo 's/ $//
5156 s,^[     #]*u.*,/* & */,' >>conftest.defines
5157
5158 # Break up conftest.defines:
5159 ac_max_sed_lines=50
5160
5161 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5162 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5163 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5164 # et cetera.
5165 ac_in='$ac_file_inputs'
5166 ac_out='"$tmp/out1"'
5167 ac_nxt='"$tmp/out2"'
5168
5169 while :
5170 do
5171   # Write a here document:
5172     cat >>$CONFIG_STATUS <<_ACEOF
5173     # First, check the format of the line:
5174     cat >"\$tmp/defines.sed" <<\\CEOF
5175 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
5176 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
5177 b
5178 :def
5179 _ACEOF
5180   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5181   echo 'CEOF
5182     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5183   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5184   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5185   grep . conftest.tail >/dev/null || break
5186   rm -f conftest.defines
5187   mv conftest.tail conftest.defines
5188 done
5189 rm -f conftest.defines conftest.tail
5190
5191 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5192 cat >>$CONFIG_STATUS <<\_ACEOF
5193   if test x"$ac_file" != x-; then
5194     echo "/* $configure_input  */" >"$tmp/config.h"
5195     cat "$ac_result" >>"$tmp/config.h"
5196     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5197       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5198 echo "$as_me: $ac_file is unchanged" >&6;}
5199     else
5200       rm -f $ac_file
5201       mv "$tmp/config.h" $ac_file
5202     fi
5203   else
5204     echo "/* $configure_input  */"
5205     cat "$ac_result"
5206   fi
5207   rm -f "$tmp/out12"
5208  ;;
5209
5210
5211   esac
5212
5213 done # for ac_tag
5214
5215
5216 { (exit 0); exit 0; }
5217 _ACEOF
5218 chmod +x $CONFIG_STATUS
5219 ac_clean_files=$ac_clean_files_save
5220
5221
5222 # configure is writing to config.log, and then calls config.status.
5223 # config.status does its own redirection, appending to config.log.
5224 # Unfortunately, on DOS this fails, as config.log is still kept open
5225 # by configure, so config.status won't be able to write to it; its
5226 # output is simply discarded.  So we exec the FD to /dev/null,
5227 # effectively closing config.log, so it can be properly (re)opened and
5228 # appended to by config.status.  When coming back to configure, we
5229 # need to make the FD available again.
5230 if test "$no_create" != yes; then
5231   ac_cs_success=:
5232   ac_config_status_args=
5233   test "$silent" = yes &&
5234     ac_config_status_args="$ac_config_status_args --quiet"
5235   exec 5>/dev/null
5236   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5237   exec 5>>config.log
5238   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5239   # would make configure fail if this is the last instruction.
5240   $ac_cs_success || { (exit 1); exit 1; }
5241 fi
5242