]> git.ozlabs.org Git - ponghero.git/blob - ccan/ccan_tools/talloc/config.status
Prepare for release: rename to ponghero and pull in ccan.
[ponghero.git] / ccan / ccan_tools / talloc / config.status
1 #! /bin/bash
2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
6
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
10 SHELL=${CONFIG_SHELL-/bin/bash}
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156
157   as_lineno_1=$LINENO
158   as_lineno_2=$LINENO
159   test "x$as_lineno_1" != "x$as_lineno_2" &&
160   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
161
162   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
163   # uniformly replaced by the line number.  The first 'sed' inserts a
164   # line-number line after each line using $LINENO; the second 'sed'
165   # does the real work.  The second script uses 'N' to pair each
166   # line-number line with the line containing $LINENO, and appends
167   # trailing '-' during substitution so that $LINENO is not a special
168   # case at line end.
169   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
170   # scripts with optimization help from Paolo Bonzini.  Blame Lee
171   # E. McMahon (1931-1989) for sed's syntax.  :-)
172   sed -n '
173     p
174     /[$]LINENO/=
175   ' <$as_myself |
176     sed '
177       s/[$]LINENO.*/&-/
178       t lineno
179       b
180       :lineno
181       N
182       :loop
183       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
184       t loop
185       s/-\n.*//
186     ' >$as_me.lineno &&
187   chmod +x "$as_me.lineno" ||
188     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
189    { (exit 1); exit 1; }; }
190
191   # Don't try to exec as it changes $[0], causing all sort of problems
192   # (the dirname of $[0] is not the place where we might find the
193   # original and so on.  Autoconf is especially sensitive to this).
194   . "./$as_me.lineno"
195   # Exit status is that of the last command.
196   exit
197 }
198
199
200 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
201   as_dirname=dirname
202 else
203   as_dirname=false
204 fi
205
206 ECHO_C= ECHO_N= ECHO_T=
207 case `echo -n x` in
208 -n*)
209   case `echo 'x\c'` in
210   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
211   *)   ECHO_C='\c';;
212   esac;;
213 *)
214   ECHO_N='-n';;
215 esac
216
217 if expr a : '\(a\)' >/dev/null 2>&1 &&
218    test "X`expr 00001 : '.*\(...\)'`" = X001; then
219   as_expr=expr
220 else
221   as_expr=false
222 fi
223
224 rm -f conf$$ conf$$.exe conf$$.file
225 if test -d conf$$.dir; then
226   rm -f conf$$.dir/conf$$.file
227 else
228   rm -f conf$$.dir
229   mkdir conf$$.dir
230 fi
231 echo >conf$$.file
232 if ln -s conf$$.file conf$$ 2>/dev/null; then
233   as_ln_s='ln -s'
234   # ... but there are two gotchas:
235   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
236   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
237   # In both cases, we have to default to `cp -p'.
238   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
239     as_ln_s='cp -p'
240 elif ln conf$$.file conf$$ 2>/dev/null; then
241   as_ln_s=ln
242 else
243   as_ln_s='cp -p'
244 fi
245 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
246 rmdir conf$$.dir 2>/dev/null
247
248 if mkdir -p . 2>/dev/null; then
249   as_mkdir_p=:
250 else
251   test -d ./-p && rmdir ./-p
252   as_mkdir_p=false
253 fi
254
255 if test -x / >/dev/null 2>&1; then
256   as_test_x='test -x'
257 else
258   if ls -dL / >/dev/null 2>&1; then
259     as_ls_L_option=L
260   else
261     as_ls_L_option=
262   fi
263   as_test_x='
264     eval sh -c '\''
265       if test -d "$1"; then
266         test -d "$1/.";
267       else
268         case $1 in
269         -*)set "./$1";;
270         esac;
271         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
272         ???[sx]*):;;*)false;;esac;fi
273     '\'' sh
274   '
275 fi
276 as_executable_p=$as_test_x
277
278 # Sed expression to map a string onto a valid CPP name.
279 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
280
281 # Sed expression to map a string onto a valid variable name.
282 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
283
284
285 exec 6>&1
286
287 # Save the log message, to keep $[0] and so on meaningful, and to
288 # report actual input values of CONFIG_FILES etc. instead of their
289 # values after options handling.
290 ac_log="
291 This file was extended by talloc $as_me 1.1.0, which was
292 generated by GNU Autoconf 2.61.  Invocation command line was
293
294   CONFIG_FILES    = $CONFIG_FILES
295   CONFIG_HEADERS  = $CONFIG_HEADERS
296   CONFIG_LINKS    = $CONFIG_LINKS
297   CONFIG_COMMANDS = $CONFIG_COMMANDS
298   $ $0 $@
299
300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
301 "
302
303 # Files that config.status was made for.
304 config_files=" Makefile talloc.pc"
305 config_headers=" config.h"
306
307 ac_cs_usage="\
308 \`$as_me' instantiates files from templates according to the
309 current configuration.
310
311 Usage: $0 [OPTIONS] [FILE]...
312
313   -h, --help       print this help, then exit
314   -V, --version    print version number and configuration settings, then exit
315   -q, --quiet      do not print progress messages
316   -d, --debug      don't remove temporary files
317       --recheck    update $as_me by reconfiguring in the same conditions
318   --file=FILE[:TEMPLATE]
319                    instantiate the configuration file FILE
320   --header=FILE[:TEMPLATE]
321                    instantiate the configuration header FILE
322
323 Configuration files:
324 $config_files
325
326 Configuration headers:
327 $config_headers
328
329 Report bugs to <bug-autoconf@gnu.org>."
330
331 ac_cs_version="\
332 talloc config.status 1.1.0
333 configured by ./configure, generated by GNU Autoconf 2.61,
334   with options \"\"
335
336 Copyright (C) 2006 Free Software Foundation, Inc.
337 This config.status script is free software; the Free Software Foundation
338 gives unlimited permission to copy, distribute and modify it."
339
340 ac_pwd='/home/rusty/devel/cvs/ccan/ccan_tools/talloc'
341 srcdir='.'
342 # If no file are specified by the user, then we need to provide default
343 # value.  By we need to know if files were specified by the user.
344 ac_need_defaults=:
345 while test $# != 0
346 do
347   case $1 in
348   --*=*)
349     ac_option=`expr "X$1" : 'X\([^=]*\)='`
350     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
351     ac_shift=:
352     ;;
353   *)
354     ac_option=$1
355     ac_optarg=$2
356     ac_shift=shift
357     ;;
358   esac
359
360   case $ac_option in
361   # Handling of the options.
362   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
363     ac_cs_recheck=: ;;
364   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
365     echo "$ac_cs_version"; exit ;;
366   --debug | --debu | --deb | --de | --d | -d )
367     debug=: ;;
368   --file | --fil | --fi | --f )
369     $ac_shift
370     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
371     ac_need_defaults=false;;
372   --header | --heade | --head | --hea )
373     $ac_shift
374     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
375     ac_need_defaults=false;;
376   --he | --h)
377     # Conflict between --help and --header
378     { echo "$as_me: error: ambiguous option: $1
379 Try \`$0 --help' for more information." >&2
380    { (exit 1); exit 1; }; };;
381   --help | --hel | -h )
382     echo "$ac_cs_usage"; exit ;;
383   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
384   | -silent | --silent | --silen | --sile | --sil | --si | --s)
385     ac_cs_silent=: ;;
386
387   # This is an error.
388   -*) { echo "$as_me: error: unrecognized option: $1
389 Try \`$0 --help' for more information." >&2
390    { (exit 1); exit 1; }; } ;;
391
392   *) ac_config_targets="$ac_config_targets $1"
393      ac_need_defaults=false ;;
394
395   esac
396   shift
397 done
398
399 ac_configure_extra_args=
400
401 if $ac_cs_silent; then
402   exec 6>/dev/null
403   ac_configure_extra_args="$ac_configure_extra_args --silent"
404 fi
405
406 if $ac_cs_recheck; then
407   echo "running CONFIG_SHELL=/bin/bash /bin/bash ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
408   CONFIG_SHELL=/bin/bash
409   export CONFIG_SHELL
410   exec /bin/bash "./configure" $ac_configure_extra_args --no-create --no-recursion
411 fi
412
413 exec 5>>config.log
414 {
415   echo
416   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
417 ## Running $as_me. ##
418 _ASBOX
419   echo "$ac_log"
420 } >&5
421
422
423 # Handling of arguments.
424 for ac_config_target in $ac_config_targets
425 do
426   case $ac_config_target in
427     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
428     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
429     "talloc.pc") CONFIG_FILES="$CONFIG_FILES talloc.pc" ;;
430
431   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
432 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
433    { (exit 1); exit 1; }; };;
434   esac
435 done
436
437
438 # If the user did not use the arguments to specify the items to instantiate,
439 # then the envvar interface is used.  Set only those that are not.
440 # We use the long form for the default assignment because of an extremely
441 # bizarre bug on SunOS 4.1.3.
442 if $ac_need_defaults; then
443   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
444   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
445 fi
446
447 # Have a temporary directory for convenience.  Make it in the build tree
448 # simply because there is no reason against having it here, and in addition,
449 # creating and moving files from /tmp can sometimes cause problems.
450 # Hook for its removal unless debugging.
451 # Note that there is a small window in which the directory will not be cleaned:
452 # after its creation but before its name has been assigned to `$tmp'.
453 $debug ||
454 {
455   tmp=
456   trap 'exit_status=$?
457   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
458 ' 0
459   trap '{ (exit 1); exit 1; }' 1 2 13 15
460 }
461 # Create a (secure) tmp directory for tmp files.
462
463 {
464   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
465   test -n "$tmp" && test -d "$tmp"
466 }  ||
467 {
468   tmp=./conf$$-$RANDOM
469   (umask 077 && mkdir "$tmp")
470 } ||
471 {
472    echo "$me: cannot create a temporary directory in ." >&2
473    { (exit 1); exit 1; }
474 }
475
476 #
477 # Set up the sed scripts for CONFIG_FILES section.
478 #
479
480 # No need to generate the scripts if there are no CONFIG_FILES.
481 # This happens for instance when ./config.status config.h
482 if test -n "$CONFIG_FILES"; then
483
484 cat >"$tmp/subs-1.sed" <<\CEOF
485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
486 s,@SHELL@,|#_!!_#|/bin/bash,g
487 s,@PATH_SEPARATOR@,|#_!!_#|:,g
488 s,@PACKAGE_NAME@,|#_!!_#|talloc,g
489 s,@PACKAGE_TARNAME@,|#_!!_#|talloc,g
490 s,@PACKAGE_VERSION@,|#_!!_#|1.1.0,g
491 s,@PACKAGE_STRING@,|#_!!_#|talloc 1.1.0,g
492 s,@PACKAGE_BUGREPORT@,|#_!!_#|,g
493 s,@exec_prefix@,|#_!!_#|${prefix},g
494 s,@prefix@,|#_!!_#|/usr/local,g
495 s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
496 s,@bindir@,|#_!!_#|${exec_prefix}/bin,g
497 s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g
498 s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g
499 s,@datarootdir@,|#_!!_#|${prefix}/share,g
500 s,@datadir@,|#_!!_#|${datarootdir},g
501 s,@sysconfdir@,|#_!!_#|${prefix}/etc,g
502 s,@sharedstatedir@,|#_!!_#|${prefix}/com,g
503 s,@localstatedir@,|#_!!_#|${prefix}/var,g
504 s,@includedir@,|#_!!_#|${prefix}/include,g
505 s,@oldincludedir@,|#_!!_#|/usr/include,g
506 s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE_TARNAME},g
507 s,@infodir@,|#_!!_#|${datarootdir}/info,g
508 s,@htmldir@,|#_!!_#|${docdir},g
509 s,@dvidir@,|#_!!_#|${docdir},g
510 s,@pdfdir@,|#_!!_#|${docdir},g
511 s,@psdir@,|#_!!_#|${docdir},g
512 s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
513 s,@localedir@,|#_!!_#|${datarootdir}/locale,g
514 s,@mandir@,|#_!!_#|${datarootdir}/man,g
515 s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g
516 s,@ECHO_C@,|#_!!_#|,g
517 s,@ECHO_N@,|#_!!_#|-n,g
518 s,@ECHO_T@,|#_!!_#|,g
519 s,@LIBS@,|#_!!_#|,g
520 s,@build_alias@,|#_!!_#|,g
521 s,@host_alias@,|#_!!_#|,g
522 s,@target_alias@,|#_!!_#|,g
523 s,@tallocdir@,|#_!!_#|.,g
524 s,@TALLOC_OBJ@,|#_!!_#|talloc.o,g
525 s,@TALLOC_CFLAGS@,|#_!!_#|-I.,g
526 s,@TALLOC_LIBS@,|#_!!_#|,g
527 s,@CC@,|#_!!_#|gcc,g
528 s,@CFLAGS@,|#_!!_#|-g -O2,g
529 s,@LDFLAGS@,|#_!!_#|,g
530 s,@CPPFLAGS@,|#_!!_#|,g
531 s,@ac_ct_CC@,|#_!!_#|gcc,g
532 s,@EXEEXT@,|#_!!_#|,g
533 s,@OBJEXT@,|#_!!_#|o,g
534 s,@CPP@,|#_!!_#|gcc -E,g
535 s,@GREP@,|#_!!_#|/bin/grep,g
536 s,@EGREP@,|#_!!_#|/bin/grep -E,g
537 s,@XSLTPROC@,|#_!!_#|/usr/bin/xsltproc,g
538 s,@DOC_TARGET@,|#_!!_#|doc,g
539 s,@LIBOBJS@,|#_!!_#|,g
540 s,@LTLIBOBJS@,|#_!!_#|,g
541 :end
542 s/|#_!!_#|//g
543 CEOF
544 fi # test -n "$CONFIG_FILES"
545
546
547 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
548 do
549   case $ac_tag in
550   :[FHLC]) ac_mode=$ac_tag; continue;;
551   esac
552   case $ac_mode$ac_tag in
553   :[FHL]*:*);;
554   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
555 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
556    { (exit 1); exit 1; }; };;
557   :[FH]-) ac_tag=-:-;;
558   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
559   esac
560   ac_save_IFS=$IFS
561   IFS=:
562   set x $ac_tag
563   IFS=$ac_save_IFS
564   shift
565   ac_file=$1
566   shift
567
568   case $ac_mode in
569   :L) ac_source=$1;;
570   :[FH])
571     ac_file_inputs=
572     for ac_f
573     do
574       case $ac_f in
575       -) ac_f="$tmp/stdin";;
576       *) # Look for the file first in the build tree, then in the source tree
577          # (if the path is not absolute).  The absolute path cannot be DOS-style,
578          # because $ac_f cannot contain `:'.
579          test -f "$ac_f" ||
580            case $ac_f in
581            [\\/$]*) false;;
582            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
583            esac ||
584            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
585 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
586    { (exit 1); exit 1; }; };;
587       esac
588       ac_file_inputs="$ac_file_inputs $ac_f"
589     done
590
591     # Let's still pretend it is `configure' which instantiates (i.e., don't
592     # use $as_me), people would be surprised to read:
593     #    /* config.h.  Generated by config.status.  */
594     configure_input="Generated from "`IFS=:
595           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
596     if test x"$ac_file" != x-; then
597       configure_input="$ac_file.  $configure_input"
598       { echo "$as_me:$LINENO: creating $ac_file" >&5
599 echo "$as_me: creating $ac_file" >&6;}
600     fi
601
602     case $ac_tag in
603     *:-:* | *:-) cat >"$tmp/stdin";;
604     esac
605     ;;
606   esac
607
608   ac_dir=`$as_dirname -- "$ac_file" ||
609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
610          X"$ac_file" : 'X\(//\)[^/]' \| \
611          X"$ac_file" : 'X\(//\)$' \| \
612          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
613 echo X"$ac_file" |
614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
615             s//\1/
616             q
617           }
618           /^X\(\/\/\)[^/].*/{
619             s//\1/
620             q
621           }
622           /^X\(\/\/\)$/{
623             s//\1/
624             q
625           }
626           /^X\(\/\).*/{
627             s//\1/
628             q
629           }
630           s/.*/./; q'`
631   { as_dir="$ac_dir"
632   case $as_dir in #(
633   -*) as_dir=./$as_dir;;
634   esac
635   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
636     as_dirs=
637     while :; do
638       case $as_dir in #(
639       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
640       *) as_qdir=$as_dir;;
641       esac
642       as_dirs="'$as_qdir' $as_dirs"
643       as_dir=`$as_dirname -- "$as_dir" ||
644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
645          X"$as_dir" : 'X\(//\)[^/]' \| \
646          X"$as_dir" : 'X\(//\)$' \| \
647          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
648 echo X"$as_dir" |
649     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
650             s//\1/
651             q
652           }
653           /^X\(\/\/\)[^/].*/{
654             s//\1/
655             q
656           }
657           /^X\(\/\/\)$/{
658             s//\1/
659             q
660           }
661           /^X\(\/\).*/{
662             s//\1/
663             q
664           }
665           s/.*/./; q'`
666       test -d "$as_dir" && break
667     done
668     test -z "$as_dirs" || eval "mkdir $as_dirs"
669   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
670 echo "$as_me: error: cannot create directory $as_dir" >&2;}
671    { (exit 1); exit 1; }; }; }
672   ac_builddir=.
673
674 case "$ac_dir" in
675 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
676 *)
677   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
678   # A ".." for each directory in $ac_dir_suffix.
679   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
680   case $ac_top_builddir_sub in
681   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
682   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
683   esac ;;
684 esac
685 ac_abs_top_builddir=$ac_pwd
686 ac_abs_builddir=$ac_pwd$ac_dir_suffix
687 # for backward compatibility:
688 ac_top_builddir=$ac_top_build_prefix
689
690 case $srcdir in
691   .)  # We are building in place.
692     ac_srcdir=.
693     ac_top_srcdir=$ac_top_builddir_sub
694     ac_abs_top_srcdir=$ac_pwd ;;
695   [\\/]* | ?:[\\/]* )  # Absolute name.
696     ac_srcdir=$srcdir$ac_dir_suffix;
697     ac_top_srcdir=$srcdir
698     ac_abs_top_srcdir=$srcdir ;;
699   *) # Relative name.
700     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
701     ac_top_srcdir=$ac_top_build_prefix$srcdir
702     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
703 esac
704 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
705
706
707   case $ac_mode in
708   :F)
709   #
710   # CONFIG_FILE
711   #
712
713 # If the template does not know about datarootdir, expand it.
714 # FIXME: This hack should be removed a few years after 2.60.
715 ac_datarootdir_hack=; ac_datarootdir_seen=
716
717 case `sed -n '/datarootdir/ {
718   p
719   q
720 }
721 /@datadir@/p
722 /@docdir@/p
723 /@infodir@/p
724 /@localedir@/p
725 /@mandir@/p
726 ' $ac_file_inputs` in
727 *datarootdir*) ac_datarootdir_seen=yes;;
728 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
729   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
730 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
731   ac_datarootdir_hack='
732   s&@datadir@&${datarootdir}&g
733   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
734   s&@infodir@&${datarootdir}/info&g
735   s&@localedir@&${datarootdir}/locale&g
736   s&@mandir@&${datarootdir}/man&g
737     s&\${datarootdir}&${prefix}/share&g' ;;
738 esac
739   sed "/^[       ]*VPATH[        ]*=/{
740 s/:*\$(srcdir):*/:/
741 s/:*\${srcdir}:*/:/
742 s/:*@srcdir@:*/:/
743 s/^\([^=]*=[     ]*\):*/\1/
744 s/:*$//
745 s/^[^=]*=[       ]*$//
746 }
747
748 :t
749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
750 s&@configure_input@&$configure_input&;t t
751 s&@top_builddir@&$ac_top_builddir_sub&;t t
752 s&@srcdir@&$ac_srcdir&;t t
753 s&@abs_srcdir@&$ac_abs_srcdir&;t t
754 s&@top_srcdir@&$ac_top_srcdir&;t t
755 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
756 s&@builddir@&$ac_builddir&;t t
757 s&@abs_builddir@&$ac_abs_builddir&;t t
758 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
759 $ac_datarootdir_hack
760 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
761
762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
763   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
764   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
765   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
766 which seems to be undefined.  Please make sure it is defined." >&5
767 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
768 which seems to be undefined.  Please make sure it is defined." >&2;}
769
770   rm -f "$tmp/stdin"
771   case $ac_file in
772   -) cat "$tmp/out"; rm -f "$tmp/out";;
773   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
774   esac
775  ;;
776   :H)
777   #
778   # CONFIG_HEADER
779   #
780     # First, check the format of the line:
781     cat >"$tmp/defines.sed" <<\CEOF
782 /^[      ]*#[    ]*undef[        ][      ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[    ]*$/b def
783 /^[      ]*#[    ]*define[       ][      ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[(   ]/b def
784 b
785 :def
786 s/$/ /
787 s,^\([   #]*\)[^         ]*\([   ]*PACKAGE_NAME\)[       (].*,\1define\2 "talloc" ,
788 s,^\([   #]*\)[^         ]*\([   ]*PACKAGE_TARNAME\)[    (].*,\1define\2 "talloc" ,
789 s,^\([   #]*\)[^         ]*\([   ]*PACKAGE_VERSION\)[    (].*,\1define\2 "1.1.0" ,
790 s,^\([   #]*\)[^         ]*\([   ]*PACKAGE_STRING\)[     (].*,\1define\2 "talloc 1.1.0" ,
791 s,^\([   #]*\)[^         ]*\([   ]*PACKAGE_BUGREPORT\)[  (].*,\1define\2 "" ,
792 s,^\([   #]*\)[^         ]*\([   ]*STDC_HEADERS\)[       (].*,\1define\2 1 ,
793 s,^\([   #]*\)[^         ]*\([   ]*HAVE_SYS_TYPES_H\)[   (].*,\1define\2 1 ,
794 s,^\([   #]*\)[^         ]*\([   ]*HAVE_SYS_STAT_H\)[    (].*,\1define\2 1 ,
795 s,^\([   #]*\)[^         ]*\([   ]*HAVE_STDLIB_H\)[      (].*,\1define\2 1 ,
796 s,^\([   #]*\)[^         ]*\([   ]*HAVE_STRING_H\)[      (].*,\1define\2 1 ,
797 s,^\([   #]*\)[^         ]*\([   ]*HAVE_MEMORY_H\)[      (].*,\1define\2 1 ,
798 s,^\([   #]*\)[^         ]*\([   ]*HAVE_STRINGS_H\)[     (].*,\1define\2 1 ,
799 s,^\([   #]*\)[^         ]*\([   ]*HAVE_INTTYPES_H\)[    (].*,\1define\2 1 ,
800 s,^\([   #]*\)[^         ]*\([   ]*HAVE_STDINT_H\)[      (].*,\1define\2 1 ,
801 s,^\([   #]*\)[^         ]*\([   ]*HAVE_UNISTD_H\)[      (].*,\1define\2 1 ,
802 s,^\([   #]*\)[^         ]*\([   ]*SIZEOF_SIZE_T\)[      (].*,\1define\2 4 ,
803 s,^\([   #]*\)[^         ]*\([   ]*SIZEOF_VOID_P\)[      (].*,\1define\2 4 ,
804 s/ $//
805 s,^[     #]*u.*,/* & */,
806 CEOF
807     sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
808 ac_result="$tmp/out1"
809   if test x"$ac_file" != x-; then
810     echo "/* $configure_input  */" >"$tmp/config.h"
811     cat "$ac_result" >>"$tmp/config.h"
812     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
813       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
814 echo "$as_me: $ac_file is unchanged" >&6;}
815     else
816       rm -f $ac_file
817       mv "$tmp/config.h" $ac_file
818     fi
819   else
820     echo "/* $configure_input  */"
821     cat "$ac_result"
822   fi
823   rm -f "$tmp/out12"
824  ;;
825
826
827   esac
828
829 done # for ac_tag
830
831
832 { (exit 0); exit 0; }