Some modification asterisk-helper.pl
[diplomippbx.git] / diplom / config.status
blobf71c752d63eecba9b22778a48c3c744d37021ba8
1 #! /bin/sh
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/sh}
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 # Pre-4.2 versions of Zsh do 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 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
176 as_lineno_1=$LINENO
177 as_lineno_2=$LINENO
178 test "x$as_lineno_1" != "x$as_lineno_2" &&
179 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
181 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
182 # uniformly replaced by the line number. The first 'sed' inserts a
183 # line-number line after each line using $LINENO; the second 'sed'
184 # does the real work. The second script uses 'N' to pair each
185 # line-number line with the line containing $LINENO, and appends
186 # trailing '-' during substitution so that $LINENO is not a special
187 # case at line end.
188 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
189 # scripts with optimization help from Paolo Bonzini. Blame Lee
190 # E. McMahon (1931-1989) for sed's syntax. :-)
191 sed -n '
193 /[$]LINENO/=
194 ' <$as_myself |
195 sed '
196 s/[$]LINENO.*/&-/
197 t lineno
199 :lineno
201 :loop
202 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
203 t loop
204 s/-\n.*//
205 ' >$as_me.lineno &&
206 chmod +x "$as_me.lineno" ||
207 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
208 { (exit 1); exit 1; }; }
210 # Don't try to exec as it changes $[0], causing all sort of problems
211 # (the dirname of $[0] is not the place where we might find the
212 # original and so on. Autoconf is especially sensitive to this).
213 . "./$as_me.lineno"
214 # Exit status is that of the last command.
215 exit
219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
220 as_dirname=dirname
221 else
222 as_dirname=false
225 ECHO_C= ECHO_N= ECHO_T=
226 case `echo -n x` in
227 -n*)
228 case `echo 'x\c'` in
229 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
230 *) ECHO_C='\c';;
231 esac;;
233 ECHO_N='-n';;
234 esac
235 if expr a : '\(a\)' >/dev/null 2>&1 &&
236 test "X`expr 00001 : '.*\(...\)'`" = X001; then
237 as_expr=expr
238 else
239 as_expr=false
242 rm -f conf$$ conf$$.exe conf$$.file
243 if test -d conf$$.dir; then
244 rm -f conf$$.dir/conf$$.file
245 else
246 rm -f conf$$.dir
247 mkdir conf$$.dir 2>/dev/null
249 if (echo >conf$$.file) 2>/dev/null; then
250 if ln -s conf$$.file conf$$ 2>/dev/null; then
251 as_ln_s='ln -s'
252 # ... but there are two gotchas:
253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
255 # In both cases, we have to default to `cp -p'.
256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
257 as_ln_s='cp -p'
258 elif ln conf$$.file conf$$ 2>/dev/null; then
259 as_ln_s=ln
260 else
261 as_ln_s='cp -p'
263 else
264 as_ln_s='cp -p'
266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
267 rmdir conf$$.dir 2>/dev/null
269 if mkdir -p . 2>/dev/null; then
270 as_mkdir_p=:
271 else
272 test -d ./-p && rmdir ./-p
273 as_mkdir_p=false
276 if test -x / >/dev/null 2>&1; then
277 as_test_x='test -x'
278 else
279 if ls -dL / >/dev/null 2>&1; then
280 as_ls_L_option=L
281 else
282 as_ls_L_option=
284 as_test_x='
285 eval sh -c '\''
286 if test -d "$1"; then
287 test -d "$1/.";
288 else
289 case $1 in
290 -*)set "./$1";;
291 esac;
292 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
293 ???[sx]*):;;*)false;;esac;fi
294 '\'' sh
297 as_executable_p=$as_test_x
299 # Sed expression to map a string onto a valid CPP name.
300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
302 # Sed expression to map a string onto a valid variable name.
303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
306 exec 6>&1
308 # Save the log message, to keep $[0] and so on meaningful, and to
309 # report actual input values of CONFIG_FILES etc. instead of their
310 # values after options handling.
311 ac_log="
312 This file was extended by diplom $as_me 0.1, which was
313 generated by GNU Autoconf 2.63. Invocation command line was
315 CONFIG_FILES = $CONFIG_FILES
316 CONFIG_HEADERS = $CONFIG_HEADERS
317 CONFIG_LINKS = $CONFIG_LINKS
318 CONFIG_COMMANDS = $CONFIG_COMMANDS
319 $ $0 $@
321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
324 # Files that config.status was made for.
325 config_files=" Makefile profiles/Makefile profiles/install2/Makefile profiles/diplom-base/Makefile profiles/diplom-disk/Makefile profiles/rescue/Makefile"
327 ac_cs_usage="\
328 \`$as_me' instantiates files from templates according to the
329 current configuration.
331 Usage: $0 [OPTION]... [FILE]...
333 -h, --help print this help, then exit
334 -V, --version print version number and configuration settings, then exit
335 -q, --quiet, --silent
336 do not print progress messages
337 -d, --debug don't remove temporary files
338 --recheck update $as_me by reconfiguring in the same conditions
339 --file=FILE[:TEMPLATE]
340 instantiate the configuration file FILE
342 Configuration files:
343 $config_files
345 Report bugs to <bug-autoconf@gnu.org>."
347 ac_cs_version="\
348 diplom config.status 0.1
349 configured by ./configure, generated by GNU Autoconf 2.63,
350 with options \"\"
352 Copyright (C) 2008 Free Software Foundation, Inc.
353 This config.status script is free software; the Free Software Foundation
354 gives unlimited permission to copy, distribute and modify it."
356 ac_pwd='/var/tmp2/hasher/diplom'
357 srcdir='.'
358 test -n "$AWK" || AWK=awk
359 # The default lists apply if the user does not specify any file.
360 ac_need_defaults=:
361 while test $# != 0
363 case $1 in
364 --*=*)
365 ac_option=`expr "X$1" : 'X\([^=]*\)='`
366 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
367 ac_shift=:
370 ac_option=$1
371 ac_optarg=$2
372 ac_shift=shift
374 esac
376 case $ac_option in
377 # Handling of the options.
378 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
379 ac_cs_recheck=: ;;
380 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
381 $as_echo "$ac_cs_version"; exit ;;
382 --debug | --debu | --deb | --de | --d | -d )
383 debug=: ;;
384 --file | --fil | --fi | --f )
385 $ac_shift
386 case $ac_optarg in
387 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
388 esac
389 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
390 ac_need_defaults=false;;
391 --he | --h | --help | --hel | -h )
392 $as_echo "$ac_cs_usage"; exit ;;
393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
395 ac_cs_silent=: ;;
397 # This is an error.
398 -*) { $as_echo "$as_me: error: unrecognized option: $1
399 Try \`$0 --help' for more information." >&2
400 { (exit 1); exit 1; }; } ;;
402 *) ac_config_targets="$ac_config_targets $1"
403 ac_need_defaults=false ;;
405 esac
406 shift
407 done
409 ac_configure_extra_args=
411 if $ac_cs_silent; then
412 exec 6>/dev/null
413 ac_configure_extra_args="$ac_configure_extra_args --silent"
416 if $ac_cs_recheck; then
417 set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion
418 shift
419 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
420 CONFIG_SHELL='/bin/sh'
421 export CONFIG_SHELL
422 exec "$@"
425 exec 5>>config.log
427 echo
428 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
429 ## Running $as_me. ##
430 _ASBOX
431 $as_echo "$ac_log"
432 } >&5
435 # Handling of arguments.
436 for ac_config_target in $ac_config_targets
438 case $ac_config_target in
439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
440 "profiles/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/Makefile" ;;
441 "profiles/install2/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/install2/Makefile" ;;
442 "profiles/diplom-base/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/diplom-base/Makefile" ;;
443 "profiles/diplom-disk/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/diplom-disk/Makefile" ;;
444 "profiles/rescue/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/rescue/Makefile" ;;
446 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
447 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
448 { (exit 1); exit 1; }; };;
449 esac
450 done
453 # If the user did not use the arguments to specify the items to instantiate,
454 # then the envvar interface is used. Set only those that are not.
455 # We use the long form for the default assignment because of an extremely
456 # bizarre bug on SunOS 4.1.3.
457 if $ac_need_defaults; then
458 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
461 # Have a temporary directory for convenience. Make it in the build tree
462 # simply because there is no reason against having it here, and in addition,
463 # creating and moving files from /tmp can sometimes cause problems.
464 # Hook for its removal unless debugging.
465 # Note that there is a small window in which the directory will not be cleaned:
466 # after its creation but before its name has been assigned to `$tmp'.
467 $debug ||
469 tmp=
470 trap 'exit_status=$?
471 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
473 trap '{ (exit 1); exit 1; }' 1 2 13 15
475 # Create a temporary directory, and hook for its removal unless debugging.
476 $debug ||
478 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' EXIT
479 trap '{ (exit 1); exit 1; }' PIPE HUP INT TERM
482 # Create a (secure) tmp directory for tmp files.
483 tmp="`mktemp -dt cs.XXXXXXXXXX`" || exit 1
486 # Set up the scripts for CONFIG_FILES section.
487 # No need to generate them if there are no CONFIG_FILES.
488 # This happens for instance with `./config.status config.h'.
489 if test -n "$CONFIG_FILES"; then
492 ac_cr=' '
493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
495 ac_cs_awk_cr='\\r'
496 else
497 ac_cs_awk_cr=$ac_cr
500 echo 'BEGIN {' >"$tmp/subs1.awk" &&
501 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
502 S["LTLIBOBJS"]=""
503 S["LIBOBJS"]=""
504 S["INSTALLER_ICONS"]="lite"
505 S["THEME"]="lite"
506 S["LICENSE"]="server"
507 S["MKI_PREFIX"]=""
508 S["OUTDIR"]="/var/tmp2/hasher/diplom/profiles/out"
509 S["I586"]=""
510 S["ARCH"]="i586"
511 S["APTCONF"]="/etc/apt/apt.conf"
512 S["target_alias"]=""
513 S["host_alias"]=""
514 S["build_alias"]=""
515 S["LIBS"]=""
516 S["ECHO_T"]=""
517 S["ECHO_N"]="-n"
518 S["ECHO_C"]=""
519 S["DEFS"]="-DPACKAGE_NAME=\\\"diplom\\\" -DPACKAGE_TARNAME=\\\"diplom\\\" -DPACKAGE_VERSION=\\\"0.1\\\" -DPACKAGE_STRING=\\\"diplom\\ 0.1\\\" -DPACKAGE_BUGREPORT=\\\"http://bugzi"\
520 "lla.altlinux.ru\\ \\\""
521 S["mandir"]="${datarootdir}/man"
522 S["localedir"]="${datarootdir}/locale"
523 S["libdir"]="${exec_prefix}/lib"
524 S["psdir"]="${docdir}"
525 S["pdfdir"]="${docdir}"
526 S["dvidir"]="${docdir}"
527 S["htmldir"]="${docdir}"
528 S["infodir"]="${datarootdir}/info"
529 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
530 S["oldincludedir"]="/usr/include"
531 S["includedir"]="${prefix}/include"
532 S["localstatedir"]="${prefix}/var"
533 S["sharedstatedir"]="${prefix}/com"
534 S["sysconfdir"]="${prefix}/etc"
535 S["datadir"]="${datarootdir}"
536 S["datarootdir"]="${prefix}/share"
537 S["libexecdir"]="${exec_prefix}/libexec"
538 S["sbindir"]="${exec_prefix}/sbin"
539 S["bindir"]="${exec_prefix}/bin"
540 S["program_transform_name"]="s,x,x,"
541 S["prefix"]="/usr/local"
542 S["exec_prefix"]="${prefix}"
543 S["PACKAGE_BUGREPORT"]="http://bugzilla.altlinux.ru "
544 S["PACKAGE_STRING"]="diplom 0.1"
545 S["PACKAGE_VERSION"]="0.1"
546 S["PACKAGE_TARNAME"]="diplom"
547 S["PACKAGE_NAME"]="diplom"
548 S["PATH_SEPARATOR"]=":"
549 S["SHELL"]="/bin/sh"
550 _ACAWK
551 cat >>"$tmp/subs1.awk" <<_ACAWK &&
552 for (key in S) S_is_set[key] = 1
553 FS = "\a"
557 line = $ 0
558 nfields = split(line, field, "@")
559 substed = 0
560 len = length(field[1])
561 for (i = 2; i < nfields; i++) {
562 key = field[i]
563 keylen = length(key)
564 if (S_is_set[key]) {
565 value = S[key]
566 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
567 len += length(value) + length(field[++i])
568 substed = 1
569 } else
570 len += 1 + keylen
573 print line
576 _ACAWK
577 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
578 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
579 else
581 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
582 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
583 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
584 { (exit 1); exit 1; }; }
585 fi # test -n "$CONFIG_FILES"
588 eval set X " :F $CONFIG_FILES "
589 shift
590 for ac_tag
592 case $ac_tag in
593 :[FHLC]) ac_mode=$ac_tag; continue;;
594 esac
595 case $ac_mode$ac_tag in
596 :[FHL]*:*);;
597 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
598 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
599 { (exit 1); exit 1; }; };;
600 :[FH]-) ac_tag=-:-;;
601 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
602 esac
603 ac_save_IFS=$IFS
604 IFS=:
605 set x $ac_tag
606 IFS=$ac_save_IFS
607 shift
608 ac_file=$1
609 shift
611 case $ac_mode in
612 :L) ac_source=$1;;
613 :[FH])
614 ac_file_inputs=
615 for ac_f
617 case $ac_f in
618 -) ac_f="$tmp/stdin";;
619 *) # Look for the file first in the build tree, then in the source tree
620 # (if the path is not absolute). The absolute path cannot be DOS-style,
621 # because $ac_f cannot contain `:'.
622 test -f "$ac_f" ||
623 case $ac_f in
624 [\\/$]*) false;;
625 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
626 esac ||
627 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
628 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
629 { (exit 1); exit 1; }; };;
630 esac
631 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
632 ac_file_inputs="$ac_file_inputs '$ac_f'"
633 done
635 # Let's still pretend it is `configure' which instantiates (i.e., don't
636 # use $as_me), people would be surprised to read:
637 # /* config.h. Generated by config.status. */
638 configure_input='Generated from '`
639 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
640 `' by configure.'
641 if test x"$ac_file" != x-; then
642 configure_input="$ac_file. $configure_input"
643 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
644 $as_echo "$as_me: creating $ac_file" >&6;}
646 # Neutralize special characters interpreted by sed in replacement strings.
647 case $configure_input in #(
648 *\&* | *\|* | *\\* )
649 ac_sed_conf_input=`$as_echo "$configure_input" |
650 sed 's/[\\\\&|]/\\\\&/g'`;; #(
651 *) ac_sed_conf_input=$configure_input;;
652 esac
654 case $ac_tag in
655 *:-:* | *:-) cat >"$tmp/stdin" \
656 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
657 $as_echo "$as_me: error: could not create $ac_file" >&2;}
658 { (exit 1); exit 1; }; } ;;
659 esac
661 esac
663 ac_dir=`$as_dirname -- "$ac_file" ||
664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
665 X"$ac_file" : 'X\(//\)[^/]' \| \
666 X"$ac_file" : 'X\(//\)$' \| \
667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
668 $as_echo X"$ac_file" |
669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
670 s//\1/
673 /^X\(\/\/\)[^/].*/{
674 s//\1/
677 /^X\(\/\/\)$/{
678 s//\1/
681 /^X\(\/\).*/{
682 s//\1/
685 s/.*/./; q'`
686 { as_dir="$ac_dir"
687 case $as_dir in #(
688 -*) as_dir=./$as_dir;;
689 esac
690 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
691 as_dirs=
692 while :; do
693 case $as_dir in #(
694 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
695 *) as_qdir=$as_dir;;
696 esac
697 as_dirs="'$as_qdir' $as_dirs"
698 as_dir=`$as_dirname -- "$as_dir" ||
699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
700 X"$as_dir" : 'X\(//\)[^/]' \| \
701 X"$as_dir" : 'X\(//\)$' \| \
702 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
703 $as_echo X"$as_dir" |
704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
705 s//\1/
708 /^X\(\/\/\)[^/].*/{
709 s//\1/
712 /^X\(\/\/\)$/{
713 s//\1/
716 /^X\(\/\).*/{
717 s//\1/
720 s/.*/./; q'`
721 test -d "$as_dir" && break
722 done
723 test -z "$as_dirs" || eval "mkdir $as_dirs"
724 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
725 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
726 { (exit 1); exit 1; }; }; }
727 ac_builddir=.
729 case "$ac_dir" in
730 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
732 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
733 # A ".." for each directory in $ac_dir_suffix.
734 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
735 case $ac_top_builddir_sub in
736 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
737 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
738 esac ;;
739 esac
740 ac_abs_top_builddir=$ac_pwd
741 ac_abs_builddir=$ac_pwd$ac_dir_suffix
742 # for backward compatibility:
743 ac_top_builddir=$ac_top_build_prefix
745 case $srcdir in
746 .) # We are building in place.
747 ac_srcdir=.
748 ac_top_srcdir=$ac_top_builddir_sub
749 ac_abs_top_srcdir=$ac_pwd ;;
750 [\\/]* | ?:[\\/]* ) # Absolute name.
751 ac_srcdir=$srcdir$ac_dir_suffix;
752 ac_top_srcdir=$srcdir
753 ac_abs_top_srcdir=$srcdir ;;
754 *) # Relative name.
755 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
756 ac_top_srcdir=$ac_top_build_prefix$srcdir
757 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
758 esac
759 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
762 case $ac_mode in
765 # CONFIG_FILE
768 # If the template does not know about datarootdir, expand it.
769 # FIXME: This hack should be removed a few years after 2.60.
770 ac_datarootdir_hack=; ac_datarootdir_seen=
772 ac_sed_dataroot='
773 /datarootdir/ {
777 /@datadir@/p
778 /@docdir@/p
779 /@infodir@/p
780 /@localedir@/p
781 /@mandir@/p
783 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
784 *datarootdir*) ac_datarootdir_seen=yes;;
785 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
786 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
787 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
788 ac_datarootdir_hack='
789 s&@datadir@&${datarootdir}&g
790 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
791 s&@infodir@&${datarootdir}/info&g
792 s&@localedir@&${datarootdir}/locale&g
793 s&@mandir@&${datarootdir}/man&g
794 s&\${datarootdir}&${prefix}/share&g' ;;
795 esac
796 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
797 s/:*\$(srcdir):*/:/
798 s/:*\${srcdir}:*/:/
799 s/:*@srcdir@:*/:/
800 s/^\([^=]*=[ ]*\):*/\1/
801 s/:*$//
802 s/^[^=]*=[ ]*$//
806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
807 s|@configure_input@|$ac_sed_conf_input|;t t
808 s&@top_builddir@&$ac_top_builddir_sub&;t t
809 s&@top_build_prefix@&$ac_top_build_prefix&;t t
810 s&@srcdir@&$ac_srcdir&;t t
811 s&@abs_srcdir@&$ac_abs_srcdir&;t t
812 s&@top_srcdir@&$ac_top_srcdir&;t t
813 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
814 s&@builddir@&$ac_builddir&;t t
815 s&@abs_builddir@&$ac_abs_builddir&;t t
816 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
817 $ac_datarootdir_hack
819 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
820 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
821 $as_echo "$as_me: error: could not create $ac_file" >&2;}
822 { (exit 1); exit 1; }; }
824 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
825 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
826 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
827 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
828 which seems to be undefined. Please make sure it is defined." >&5
829 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
830 which seems to be undefined. Please make sure it is defined." >&2;}
832 rm -f "$tmp/stdin"
833 case $ac_file in
834 -) cat "$tmp/out" && rm -f "$tmp/out";;
835 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
836 esac \
837 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
838 $as_echo "$as_me: error: could not create $ac_file" >&2;}
839 { (exit 1); exit 1; }; }
844 esac
846 done # for ac_tag
849 { (exit 0); exit 0; }