check.for.asciidoc
[tfs.git] / config.status
blob1bded1345e71fa972b8801d1dec3439535870b1e
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.
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
10 SHELL=${CONFIG_SHELL-/bin/bash}
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
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
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
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=:
52 rm -f conf$$.sh
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
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='
70 IFS=" "" $as_nl"
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
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
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
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; }
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='+ '
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
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
115 done
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
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
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/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
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" || {
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 '
174 /[$]LINENO/=
175 ' <$as_myself |
176 sed '
177 s/[$]LINENO.*/&-/
178 t lineno
180 :lineno
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; }; }
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
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
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;;
214 ECHO_N='-n';;
215 esac
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
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
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'
245 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
246 rmdir conf$$.dir 2>/dev/null
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
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=
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
276 as_executable_p=$as_test_x
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'"
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'"
285 exec 6>&1
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 tf4mono $as_me 0.4.7, which was
292 generated by GNU Autoconf 2.61. Invocation command line was
294 CONFIG_FILES = $CONFIG_FILES
295 CONFIG_HEADERS = $CONFIG_HEADERS
296 CONFIG_LINKS = $CONFIG_LINKS
297 CONFIG_COMMANDS = $CONFIG_COMMANDS
298 $ $0 $@
300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
303 # Files that config.status was made for.
304 config_files=" tools/tf/tf.sh"
306 ac_cs_usage="\
307 \`$as_me' instantiates files from templates according to the
308 current configuration.
310 Usage: $0 [OPTIONS] [FILE]...
312 -h, --help print this help, then exit
313 -V, --version print version number and configuration settings, then exit
314 -q, --quiet do not print progress messages
315 -d, --debug don't remove temporary files
316 --recheck update $as_me by reconfiguring in the same conditions
317 --file=FILE[:TEMPLATE]
318 instantiate the configuration file FILE
320 Configuration files:
321 $config_files
323 Report bugs to <bug-autoconf@gnu.org>."
325 ac_cs_version="\
326 tf4mono config.status 0.4.7
327 configured by ./configure, generated by GNU Autoconf 2.61,
328 with options \"\"
330 Copyright (C) 2006 Free Software Foundation, Inc.
331 This config.status script is free software; the Free Software Foundation
332 gives unlimited permission to copy, distribute and modify it."
334 ac_pwd='/usr/local/src/tfs'
335 srcdir='.'
336 # If no file are specified by the user, then we need to provide default
337 # value. By we need to know if files were specified by the user.
338 ac_need_defaults=:
339 while test $# != 0
341 case $1 in
342 --*=*)
343 ac_option=`expr "X$1" : 'X\([^=]*\)='`
344 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
345 ac_shift=:
348 ac_option=$1
349 ac_optarg=$2
350 ac_shift=shift
352 esac
354 case $ac_option in
355 # Handling of the options.
356 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
357 ac_cs_recheck=: ;;
358 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
359 echo "$ac_cs_version"; exit ;;
360 --debug | --debu | --deb | --de | --d | -d )
361 debug=: ;;
362 --file | --fil | --fi | --f )
363 $ac_shift
364 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
365 ac_need_defaults=false;;
366 --he | --h | --help | --hel | -h )
367 echo "$ac_cs_usage"; exit ;;
368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
369 | -silent | --silent | --silen | --sile | --sil | --si | --s)
370 ac_cs_silent=: ;;
372 # This is an error.
373 -*) { echo "$as_me: error: unrecognized option: $1
374 Try \`$0 --help' for more information." >&2
375 { (exit 1); exit 1; }; } ;;
377 *) ac_config_targets="$ac_config_targets $1"
378 ac_need_defaults=false ;;
380 esac
381 shift
382 done
384 ac_configure_extra_args=
386 if $ac_cs_silent; then
387 exec 6>/dev/null
388 ac_configure_extra_args="$ac_configure_extra_args --silent"
391 if $ac_cs_recheck; then
392 echo "running CONFIG_SHELL=/bin/bash /bin/bash ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
393 CONFIG_SHELL=/bin/bash
394 export CONFIG_SHELL
395 exec /bin/bash "./configure" $ac_configure_extra_args --no-create --no-recursion
398 exec 5>>config.log
400 echo
401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
402 ## Running $as_me. ##
403 _ASBOX
404 echo "$ac_log"
405 } >&5
408 # Handling of arguments.
409 for ac_config_target in $ac_config_targets
411 case $ac_config_target in
412 "tools/tf/tf.sh") CONFIG_FILES="$CONFIG_FILES tools/tf/tf.sh" ;;
414 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
415 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
416 { (exit 1); exit 1; }; };;
417 esac
418 done
421 # If the user did not use the arguments to specify the items to instantiate,
422 # then the envvar interface is used. Set only those that are not.
423 # We use the long form for the default assignment because of an extremely
424 # bizarre bug on SunOS 4.1.3.
425 if $ac_need_defaults; then
426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
429 # Have a temporary directory for convenience. Make it in the build tree
430 # simply because there is no reason against having it here, and in addition,
431 # creating and moving files from /tmp can sometimes cause problems.
432 # Hook for its removal unless debugging.
433 # Note that there is a small window in which the directory will not be cleaned:
434 # after its creation but before its name has been assigned to `$tmp'.
435 $debug ||
437 tmp=
438 trap 'exit_status=$?
439 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
441 trap '{ (exit 1); exit 1; }' 1 2 13 15
443 # Create a (secure) tmp directory for tmp files.
446 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
447 test -n "$tmp" && test -d "$tmp"
448 } ||
450 tmp=./conf$$-$RANDOM
451 (umask 077 && mkdir "$tmp")
452 } ||
454 echo "$me: cannot create a temporary directory in ." >&2
455 { (exit 1); exit 1; }
459 # Set up the sed scripts for CONFIG_FILES section.
462 # No need to generate the scripts if there are no CONFIG_FILES.
463 # This happens for instance when ./config.status config.h
464 if test -n "$CONFIG_FILES"; then
466 cat >"$tmp/subs-1.sed" <<\CEOF
467 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
468 s,@SHELL@,|#_!!_#|/bin/bash,g
469 s,@PATH_SEPARATOR@,|#_!!_#|:,g
470 s,@PACKAGE_NAME@,|#_!!_#|tf4mono,g
471 s,@PACKAGE_TARNAME@,|#_!!_#|tf4mono,g
472 s,@PACKAGE_VERSION@,|#_!!_#|0.4.7,g
473 s,@PACKAGE_STRING@,|#_!!_#|tf4mono 0.4.7,g
474 s,@PACKAGE_BUGREPORT@,|#_!!_#|,g
475 s,@exec_prefix@,|#_!!_#|${prefix},g
476 s,@prefix@,|#_!!_#|/usr/local,g
477 s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
478 s,@bindir@,|#_!!_#|${exec_prefix}/bin,g
479 s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g
480 s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g
481 s,@datarootdir@,|#_!!_#|${prefix}/share,g
482 s,@datadir@,|#_!!_#|${datarootdir},g
483 s,@sysconfdir@,|#_!!_#|${prefix}/etc,g
484 s,@sharedstatedir@,|#_!!_#|${prefix}/com,g
485 s,@localstatedir@,|#_!!_#|${prefix}/var,g
486 s,@includedir@,|#_!!_#|${prefix}/include,g
487 s,@oldincludedir@,|#_!!_#|/usr/include,g
488 s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE_TARNAME},g
489 s,@infodir@,|#_!!_#|${datarootdir}/info,g
490 s,@htmldir@,|#_!!_#|${docdir},g
491 s,@dvidir@,|#_!!_#|${docdir},g
492 s,@pdfdir@,|#_!!_#|${docdir},g
493 s,@psdir@,|#_!!_#|${docdir},g
494 s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
495 s,@localedir@,|#_!!_#|${datarootdir}/locale,g
496 s,@mandir@,|#_!!_#|${datarootdir}/man,g
497 s,@DEFS@,|#_!!_#|-DPACKAGE_NAME=\\"tf4mono\\" -DPACKAGE_TARNAME=\\"tf4mono\\" -DPACKAGE_VERSION=\\"0.4.7\\" -DPACKAGE_STRING=\\"tf4mono\\ 0.4.7\\" -DPACKAGE_BUGREPORT=\\"\\",g
498 s,@ECHO_C@,|#_!!_#|,g
499 s,@ECHO_N@,|#_!!_#|-n,g
500 s,@ECHO_T@,|#_!!_#|,g
501 s,@LIBS@,|#_!!_#|,g
502 s,@build_alias@,|#_!!_#|,g
503 s,@host_alias@,|#_!!_#|,g
504 s,@target_alias@,|#_!!_#|,g
505 s,@PKG_CONFIG@,|#_!!_#|/usr/bin/pkg-config,g
506 s,@ASCIIDOC@,|#_!!_#|,g
507 s,@XMLTO@,|#_!!_#|yes,g
508 s,@CC@,|#_!!_#|gcc,g
509 s,@CFLAGS@,|#_!!_#|-g -O2,g
510 s,@LDFLAGS@,|#_!!_#|,g
511 s,@CPPFLAGS@,|#_!!_#|,g
512 s,@ac_ct_CC@,|#_!!_#|gcc,g
513 s,@EXEEXT@,|#_!!_#|,g
514 s,@OBJEXT@,|#_!!_#|o,g
515 s,@LIBOBJS@,|#_!!_#|,g
516 s,@LTLIBOBJS@,|#_!!_#|,g
517 :end
518 s/|#_!!_#|//g
519 CEOF
520 fi # test -n "$CONFIG_FILES"
523 for ac_tag in :F $CONFIG_FILES
525 case $ac_tag in
526 :[FHLC]) ac_mode=$ac_tag; continue;;
527 esac
528 case $ac_mode$ac_tag in
529 :[FHL]*:*);;
530 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
531 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
532 { (exit 1); exit 1; }; };;
533 :[FH]-) ac_tag=-:-;;
534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
535 esac
536 ac_save_IFS=$IFS
537 IFS=:
538 set x $ac_tag
539 IFS=$ac_save_IFS
540 shift
541 ac_file=$1
542 shift
544 case $ac_mode in
545 :L) ac_source=$1;;
546 :[FH])
547 ac_file_inputs=
548 for ac_f
550 case $ac_f in
551 -) ac_f="$tmp/stdin";;
552 *) # Look for the file first in the build tree, then in the source tree
553 # (if the path is not absolute). The absolute path cannot be DOS-style,
554 # because $ac_f cannot contain `:'.
555 test -f "$ac_f" ||
556 case $ac_f in
557 [\\/$]*) false;;
558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
559 esac ||
560 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
561 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
562 { (exit 1); exit 1; }; };;
563 esac
564 ac_file_inputs="$ac_file_inputs $ac_f"
565 done
567 # Let's still pretend it is `configure' which instantiates (i.e., don't
568 # use $as_me), people would be surprised to read:
569 # /* config.h. Generated by config.status. */
570 configure_input="Generated from "`IFS=:
571 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
572 if test x"$ac_file" != x-; then
573 configure_input="$ac_file. $configure_input"
574 { echo "$as_me:$LINENO: creating $ac_file" >&5
575 echo "$as_me: creating $ac_file" >&6;}
578 case $ac_tag in
579 *:-:* | *:-) cat >"$tmp/stdin";;
580 esac
582 esac
584 ac_dir=`$as_dirname -- "$ac_file" ||
585 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
586 X"$ac_file" : 'X\(//\)[^/]' \| \
587 X"$ac_file" : 'X\(//\)$' \| \
588 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
589 echo X"$ac_file" |
590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
591 s//\1/
594 /^X\(\/\/\)[^/].*/{
595 s//\1/
598 /^X\(\/\/\)$/{
599 s//\1/
602 /^X\(\/\).*/{
603 s//\1/
606 s/.*/./; q'`
607 { as_dir="$ac_dir"
608 case $as_dir in #(
609 -*) as_dir=./$as_dir;;
610 esac
611 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
612 as_dirs=
613 while :; do
614 case $as_dir in #(
615 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
616 *) as_qdir=$as_dir;;
617 esac
618 as_dirs="'$as_qdir' $as_dirs"
619 as_dir=`$as_dirname -- "$as_dir" ||
620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
621 X"$as_dir" : 'X\(//\)[^/]' \| \
622 X"$as_dir" : 'X\(//\)$' \| \
623 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
624 echo X"$as_dir" |
625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
626 s//\1/
629 /^X\(\/\/\)[^/].*/{
630 s//\1/
633 /^X\(\/\/\)$/{
634 s//\1/
637 /^X\(\/\).*/{
638 s//\1/
641 s/.*/./; q'`
642 test -d "$as_dir" && break
643 done
644 test -z "$as_dirs" || eval "mkdir $as_dirs"
645 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
646 echo "$as_me: error: cannot create directory $as_dir" >&2;}
647 { (exit 1); exit 1; }; }; }
648 ac_builddir=.
650 case "$ac_dir" in
651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
653 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
654 # A ".." for each directory in $ac_dir_suffix.
655 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
656 case $ac_top_builddir_sub in
657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
659 esac ;;
660 esac
661 ac_abs_top_builddir=$ac_pwd
662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
663 # for backward compatibility:
664 ac_top_builddir=$ac_top_build_prefix
666 case $srcdir in
667 .) # We are building in place.
668 ac_srcdir=.
669 ac_top_srcdir=$ac_top_builddir_sub
670 ac_abs_top_srcdir=$ac_pwd ;;
671 [\\/]* | ?:[\\/]* ) # Absolute name.
672 ac_srcdir=$srcdir$ac_dir_suffix;
673 ac_top_srcdir=$srcdir
674 ac_abs_top_srcdir=$srcdir ;;
675 *) # Relative name.
676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
677 ac_top_srcdir=$ac_top_build_prefix$srcdir
678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
679 esac
680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
683 case $ac_mode in
686 # CONFIG_FILE
689 # If the template does not know about datarootdir, expand it.
690 # FIXME: This hack should be removed a few years after 2.60.
691 ac_datarootdir_hack=; ac_datarootdir_seen=
693 case `sed -n '/datarootdir/ {
697 /@datadir@/p
698 /@docdir@/p
699 /@infodir@/p
700 /@localedir@/p
701 /@mandir@/p
702 ' $ac_file_inputs` in
703 *datarootdir*) ac_datarootdir_seen=yes;;
704 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
705 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
706 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
707 ac_datarootdir_hack='
708 s&@datadir@&${datarootdir}&g
709 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
710 s&@infodir@&${datarootdir}/info&g
711 s&@localedir@&${datarootdir}/locale&g
712 s&@mandir@&${datarootdir}/man&g
713 s&\${datarootdir}&${prefix}/share&g' ;;
714 esac
715 sed "/^[ ]*VPATH[ ]*=/{
716 s/:*\$(srcdir):*/:/
717 s/:*\${srcdir}:*/:/
718 s/:*@srcdir@:*/:/
719 s/^\([^=]*=[ ]*\):*/\1/
720 s/:*$//
721 s/^[^=]*=[ ]*$//
725 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
726 s&@configure_input@&$configure_input&;t t
727 s&@top_builddir@&$ac_top_builddir_sub&;t t
728 s&@srcdir@&$ac_srcdir&;t t
729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
730 s&@top_srcdir@&$ac_top_srcdir&;t t
731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
732 s&@builddir@&$ac_builddir&;t t
733 s&@abs_builddir@&$ac_abs_builddir&;t t
734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
735 $ac_datarootdir_hack
736 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
738 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
739 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
740 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
741 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
742 which seems to be undefined. Please make sure it is defined." >&5
743 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
744 which seems to be undefined. Please make sure it is defined." >&2;}
746 rm -f "$tmp/stdin"
747 case $ac_file in
748 -) cat "$tmp/out"; rm -f "$tmp/out";;
749 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
750 esac
755 esac
757 done # for ac_tag
760 { (exit 0); exit 0; }