transmision: upgrade 2.22 -> 2.31
[tomato.git] / release / src / router / gettext / config.status
blobeb0166f8cf10f0d854ffa86ce1c3d52b190af156
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
25 DUALCASE=1; export DUALCASE # for MKS sh
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
52 done
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
99 rm -f conf$$.sh
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
127 if test ! -f "$as_myself"; then
128 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
129 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
130 { (exit 1); exit 1; }; }
132 case $CONFIG_SHELL in
134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137 IFS=$as_save_IFS
138 test -z "$as_dir" && as_dir=.
139 for as_base in sh bash ksh sh5; do
140 case $as_dir in
142 if ("$as_dir/$as_base" -c '
143 as_lineno_1=$LINENO
144 as_lineno_2=$LINENO
145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146 test "x$as_lineno_1" != "x$as_lineno_2" &&
147 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
148 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150 CONFIG_SHELL=$as_dir/$as_base
151 export CONFIG_SHELL
152 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 fi;;
154 esac
155 done
156 done
158 esac
160 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161 # uniformly replaced by the line number. The first 'sed' inserts a
162 # line-number line before each line; the second 'sed' does the real
163 # work. The second script uses 'N' to pair each line-number line
164 # with the numbered line, and appends trailing '-' during
165 # substitution so that $LINENO is not a special case at line end.
166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168 sed '=' <$as_myself |
169 sed '
171 s,$,-,
172 : loop
173 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 t loop
175 s,-$,,
176 s,^['$as_cr_digits']*\n,,
177 ' >$as_me.lineno &&
178 chmod +x $as_me.lineno ||
179 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
180 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
181 { (exit 1); exit 1; }; }
183 # Don't try to exec as it changes $[0], causing all sort of problems
184 # (the dirname of $[0] is not the place where we might find the
185 # original and so on. Autoconf is especially sensible to this).
186 . ./$as_me.lineno
187 # Exit status is that of the last command.
188 exit
192 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193 *c*,-n*) ECHO_N= ECHO_C='
194 ' ECHO_T=' ' ;;
195 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197 esac
199 if expr a : '\(a\)' >/dev/null 2>&1; then
200 as_expr=expr
201 else
202 as_expr=false
205 rm -f conf$$ conf$$.exe conf$$.file
206 echo >conf$$.file
207 if ln -s conf$$.file conf$$ 2>/dev/null; then
208 # We could just check for DJGPP; but this test a) works b) is more generic
209 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210 if test -f conf$$.exe; then
211 # Don't use ln at all; we don't have any links
212 as_ln_s='cp -p'
213 else
214 as_ln_s='ln -s'
216 elif ln conf$$.file conf$$ 2>/dev/null; then
217 as_ln_s=ln
218 else
219 as_ln_s='cp -p'
221 rm -f conf$$ conf$$.exe conf$$.file
223 if mkdir -p . 2>/dev/null; then
224 as_mkdir_p=:
225 else
226 test -d ./-p && rmdir ./-p
227 as_mkdir_p=false
230 as_executable_p="test -f"
232 # Sed expression to map a string onto a valid CPP name.
233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
235 # Sed expression to map a string onto a valid variable name.
236 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
239 # IFS
240 # We need space, tab and new line, in precisely that order.
241 as_nl='
243 IFS=" $as_nl"
245 # CDPATH.
246 $as_unset CDPATH
248 exec 6>&1
250 # Open the log real soon, to keep \$[0] and so on meaningful, and to
251 # report actual input values of CONFIG_FILES etc. instead of their
252 # values after options handling. Logging --version etc. is OK.
253 exec 5>>config.log
255 echo
256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
257 ## Running $as_me. ##
258 _ASBOX
259 } >&5
260 cat >&5 <<_CSEOF
262 This file was extended by $as_me, which was
263 generated by GNU Autoconf 2.59. Invocation command line was
265 CONFIG_FILES = $CONFIG_FILES
266 CONFIG_HEADERS = $CONFIG_HEADERS
267 CONFIG_LINKS = $CONFIG_LINKS
268 CONFIG_COMMANDS = $CONFIG_COMMANDS
269 $ $0 $@
271 _CSEOF
272 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
273 echo >&5
274 config_files=" Makefile"
276 ac_cs_usage="\
277 \`$as_me' instantiates files from templates according to the
278 current configuration.
280 Usage: $0 [OPTIONS] [FILE]...
282 -h, --help print this help, then exit
283 -V, --version print version number, then exit
284 -q, --quiet do not print progress messages
285 -d, --debug don't remove temporary files
286 --recheck update $as_me by reconfiguring in the same conditions
287 --file=FILE[:TEMPLATE]
288 instantiate the configuration file FILE
290 Configuration files:
291 $config_files
293 Report bugs to <bug-autoconf@gnu.org>."
294 ac_cs_version="\
295 config.status
296 configured by ./configure, generated by GNU Autoconf 2.59,
297 with options \"'--host=mipsel-linux' '--build=x86_64-linux-gnu' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DCONFIG_NVRAM_SIZE=60 -ffunction-sections -fdata-sections' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux'\"
299 Copyright (C) 2003 Free Software Foundation, Inc.
300 This config.status script is free software; the Free Software Foundation
301 gives unlimited permission to copy, distribute and modify it."
302 srcdir=.
303 INSTALL="/usr/bin/install -c"
304 # If no file are specified by the user, then we need to provide default
305 # value. By we need to know if files were specified by the user.
306 ac_need_defaults=:
307 while test $# != 0
309 case $1 in
310 --*=*)
311 ac_option=`expr "x$1" : 'x\([^=]*\)='`
312 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
313 ac_shift=:
316 ac_option=$1
317 ac_optarg=$2
318 ac_shift=shift
320 *) # This is not an option, so the user has probably given explicit
321 # arguments.
322 ac_option=$1
323 ac_need_defaults=false;;
324 esac
326 case $ac_option in
327 # Handling of the options.
328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
329 ac_cs_recheck=: ;;
330 --version | --vers* | -V )
331 echo "$ac_cs_version"; exit 0 ;;
332 --he | --h)
333 # Conflict between --help and --header
334 { { echo "$as_me:$LINENO: error: ambiguous option: $1
335 Try \`$0 --help' for more information." >&5
336 echo "$as_me: error: ambiguous option: $1
337 Try \`$0 --help' for more information." >&2;}
338 { (exit 1); exit 1; }; };;
339 --help | --hel | -h )
340 echo "$ac_cs_usage"; exit 0 ;;
341 --debug | --d* | -d )
342 debug=: ;;
343 --file | --fil | --fi | --f )
344 $ac_shift
345 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
346 ac_need_defaults=false;;
347 --header | --heade | --head | --hea )
348 $ac_shift
349 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
350 ac_need_defaults=false;;
351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
352 | -silent | --silent | --silen | --sile | --sil | --si | --s)
353 ac_cs_silent=: ;;
355 # This is an error.
356 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
357 Try \`$0 --help' for more information." >&5
358 echo "$as_me: error: unrecognized option: $1
359 Try \`$0 --help' for more information." >&2;}
360 { (exit 1); exit 1; }; } ;;
362 *) ac_config_targets="$ac_config_targets $1" ;;
364 esac
365 shift
366 done
368 ac_configure_extra_args=
370 if $ac_cs_silent; then
371 exec 6>/dev/null
372 ac_configure_extra_args="$ac_configure_extra_args --silent"
375 if $ac_cs_recheck; then
376 echo "running /bin/sh ./configure " '--host=mipsel-linux' '--build=x86_64-linux-gnu' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DCONFIG_NVRAM_SIZE=60 -ffunction-sections -fdata-sections' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' $ac_configure_extra_args " --no-create --no-recursion" >&6
377 exec /bin/sh ./configure '--host=mipsel-linux' '--build=x86_64-linux-gnu' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DCONFIG_NVRAM_SIZE=60 -ffunction-sections -fdata-sections' 'LDFLAGS=-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' $ac_configure_extra_args --no-create --no-recursion
380 for ac_config_target in $ac_config_targets
382 case "$ac_config_target" in
383 # Handling of arguments.
384 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
385 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
386 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
387 { (exit 1); exit 1; }; };;
388 esac
389 done
391 # If the user did not use the arguments to specify the items to instantiate,
392 # then the envvar interface is used. Set only those that are not.
393 # We use the long form for the default assignment because of an extremely
394 # bizarre bug on SunOS 4.1.3.
395 if $ac_need_defaults; then
396 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
399 # Have a temporary directory for convenience. Make it in the build tree
400 # simply because there is no reason to put it here, and in addition,
401 # creating and moving files from /tmp can sometimes cause problems.
402 # Create a temporary directory, and hook for its removal unless debugging.
403 $debug ||
405 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
406 trap '{ (exit 1); exit 1; }' 1 2 13 15
409 # Create a (secure) tmp directory for tmp files.
412 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
413 test -n "$tmp" && test -d "$tmp"
414 } ||
416 tmp=./confstat$$-$RANDOM
417 (umask 077 && mkdir $tmp)
418 } ||
420 echo "$me: cannot create a temporary directory in ." >&2
421 { (exit 1); exit 1; }
426 # CONFIG_FILES section.
429 # No need to generate the scripts if there are no CONFIG_FILES.
430 # This happens for instance when ./config.status config.h
431 if test -n "$CONFIG_FILES"; then
432 # Protect against being on the right side of a sed subst in config.status.
433 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
434 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
435 s,@SHELL@,/bin/sh,;t t
436 s,@PATH_SEPARATOR@,:,;t t
437 s,@PACKAGE_NAME@,,;t t
438 s,@PACKAGE_TARNAME@,,;t t
439 s,@PACKAGE_VERSION@,,;t t
440 s,@PACKAGE_STRING@,,;t t
441 s,@PACKAGE_BUGREPORT@,,;t t
442 s,@exec_prefix@,${prefix},;t t
443 s,@prefix@,/usr/local,;t t
444 s,@program_transform_name@,s,x,x,,;t t
445 s,@bindir@,${exec_prefix}/bin,;t t
446 s,@sbindir@,${exec_prefix}/sbin,;t t
447 s,@libexecdir@,${exec_prefix}/libexec,;t t
448 s,@datadir@,${prefix}/share,;t t
449 s,@sysconfdir@,${prefix}/etc,;t t
450 s,@sharedstatedir@,${prefix}/com,;t t
451 s,@localstatedir@,${prefix}/var,;t t
452 s,@libdir@,${exec_prefix}/lib,;t t
453 s,@includedir@,${prefix}/include,;t t
454 s,@oldincludedir@,/usr/include,;t t
455 s,@infodir@,${prefix}/info,;t t
456 s,@mandir@,${prefix}/man,;t t
457 s,@build_alias@,x86_64-linux-gnu,;t t
458 s,@host_alias@,mipsel-linux,;t t
459 s,@target_alias@,,;t t
460 s,@DEFS@,-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gettext\" -DVERSION=\"0.14.5\" ,;t t
461 s,@ECHO_C@,,;t t
462 s,@ECHO_N@,-n,;t t
463 s,@ECHO_T@,,;t t
464 s,@LIBS@,,;t t
465 s,@INSTALL_PROGRAM@,${INSTALL},;t t
466 s,@INSTALL_SCRIPT@,${INSTALL},;t t
467 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
468 s,@CYGPATH_W@,echo,;t t
469 s,@PACKAGE@,gettext,;t t
470 s,@VERSION@,0.14.5,;t t
471 s,@ACLOCAL@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run aclocal-1.9,;t t
472 s,@AUTOCONF@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run autoconf,;t t
473 s,@AUTOMAKE@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run automake-1.9,;t t
474 s,@AUTOHEADER@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run autoheader,;t t
475 s,@MAKEINFO@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run makeinfo,;t t
476 s,@install_sh@,/root/openwrt/tomato2.31/src/router/gettext/build-aux/install-sh,;t t
477 s,@STRIP@,mipsel-uclibc-strip -R .note -R .comment,;t t
478 s,@ac_ct_STRIP@,,;t t
479 s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t
480 s,@mkdir_p@,mkdir -p --,;t t
481 s,@AWK@,gawk,;t t
482 s,@SET_MAKE@,,;t t
483 s,@am__leading_dot@,.,;t t
484 s,@AMTAR@,${SHELL} /root/openwrt/tomato2.31/src/router/gettext/build-aux/missing --run tar,;t t
485 s,@am__tar@,${AMTAR} chof - "$$tardir",;t t
486 s,@am__untar@,${AMTAR} xf -,;t t
487 s,@subdirs@, autoconf-lib-link gettext-runtime gettext-tools,;t t
488 s,@build@,x86_64-pc-linux-gnu,;t t
489 s,@build_cpu@,x86_64,;t t
490 s,@build_vendor@,pc,;t t
491 s,@build_os@,linux-gnu,;t t
492 s,@host@,mipsel-unknown-linux-gnu,;t t
493 s,@host_cpu@,mipsel,;t t
494 s,@host_vendor@,unknown,;t t
495 s,@host_os@,linux-gnu,;t t
496 s,@CC@,mipsel-uclibc-gcc,;t t
497 s,@CFLAGS@,-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DCONFIG_NVRAM_SIZE=60 -ffunction-sections -fdata-sections,;t t
498 s,@LDFLAGS@,-ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC,;t t
499 s,@CPPFLAGS@,,;t t
500 s,@CPP@,,;t t
501 s,@CXX@,,;t t
502 s,@CXXFLAGS@,,;t t
503 s,@CXXCPP@,,;t t
504 s,@F77@,,;t t
505 s,@FFLAGS@,,;t t
506 s,@GCJ@,,;t t
507 s,@GCJFLAGS@,,;t t
508 s,@EMACS@,,;t t
509 s,@EMACSLOADPATH@,,;t t
510 s,@LIBOBJS@,,;t t
511 s,@LTLIBOBJS@,,;t t
512 CEOF
514 # Split the substitutions into bite-sized pieces for seds with
515 # small command number limits, like on Digital OSF/1 and HP-UX.
516 ac_max_sed_lines=48
517 ac_sed_frag=1 # Number of current file.
518 ac_beg=1 # First line for current file.
519 ac_end=$ac_max_sed_lines # Line after last line for current file.
520 ac_more_lines=:
521 ac_sed_cmds=
522 while $ac_more_lines; do
523 if test $ac_beg -gt 1; then
524 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
525 else
526 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
528 if test ! -s $tmp/subs.frag; then
529 ac_more_lines=false
530 else
531 # The purpose of the label and of the branching condition is to
532 # speed up the sed processing (if there are no `@' at all, there
533 # is no need to browse any of the substitutions).
534 # These are the two extra sed commands mentioned above.
535 (echo ':t
536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
537 if test -z "$ac_sed_cmds"; then
538 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
539 else
540 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
542 ac_sed_frag=`expr $ac_sed_frag + 1`
543 ac_beg=$ac_end
544 ac_end=`expr $ac_end + $ac_max_sed_lines`
546 done
547 if test -z "$ac_sed_cmds"; then
548 ac_sed_cmds=cat
550 fi # test -n "$CONFIG_FILES"
552 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
553 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
554 case $ac_file in
555 - | *:- | *:-:* ) # input from stdin
556 cat >$tmp/stdin
557 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
558 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
559 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
560 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
561 * ) ac_file_in=$ac_file.in ;;
562 esac
564 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
565 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
567 X"$ac_file" : 'X\(//\)[^/]' \| \
568 X"$ac_file" : 'X\(//\)$' \| \
569 X"$ac_file" : 'X\(/\)' \| \
570 . : '\(.\)' 2>/dev/null ||
571 echo X"$ac_file" |
572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
574 /^X\(\/\/\)$/{ s//\1/; q; }
575 /^X\(\/\).*/{ s//\1/; q; }
576 s/.*/./; q'`
577 { if $as_mkdir_p; then
578 mkdir -p "$ac_dir"
579 else
580 as_dir="$ac_dir"
581 as_dirs=
582 while test ! -d "$as_dir"; do
583 as_dirs="$as_dir $as_dirs"
584 as_dir=`(dirname "$as_dir") 2>/dev/null ||
585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
586 X"$as_dir" : 'X\(//\)[^/]' \| \
587 X"$as_dir" : 'X\(//\)$' \| \
588 X"$as_dir" : 'X\(/\)' \| \
589 . : '\(.\)' 2>/dev/null ||
590 echo X"$as_dir" |
591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
593 /^X\(\/\/\)$/{ s//\1/; q; }
594 /^X\(\/\).*/{ s//\1/; q; }
595 s/.*/./; q'`
596 done
597 test ! -n "$as_dirs" || mkdir $as_dirs
598 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
600 { (exit 1); exit 1; }; }; }
602 ac_builddir=.
604 if test "$ac_dir" != .; then
605 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
606 # A "../" for each directory in $ac_dir_suffix.
607 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
608 else
609 ac_dir_suffix= ac_top_builddir=
612 case $srcdir in
613 .) # No --srcdir option. We are building in place.
614 ac_srcdir=.
615 if test -z "$ac_top_builddir"; then
616 ac_top_srcdir=.
617 else
618 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
619 fi ;;
620 [\\/]* | ?:[\\/]* ) # Absolute path.
621 ac_srcdir=$srcdir$ac_dir_suffix;
622 ac_top_srcdir=$srcdir ;;
623 *) # Relative path.
624 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
625 ac_top_srcdir=$ac_top_builddir$srcdir ;;
626 esac
628 # Do not use `cd foo && pwd` to compute absolute paths, because
629 # the directories may not exist.
630 case `pwd` in
631 .) ac_abs_builddir="$ac_dir";;
633 case "$ac_dir" in
634 .) ac_abs_builddir=`pwd`;;
635 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
636 *) ac_abs_builddir=`pwd`/"$ac_dir";;
637 esac;;
638 esac
639 case $ac_abs_builddir in
640 .) ac_abs_top_builddir=${ac_top_builddir}.;;
642 case ${ac_top_builddir}. in
643 .) ac_abs_top_builddir=$ac_abs_builddir;;
644 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
645 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
646 esac;;
647 esac
648 case $ac_abs_builddir in
649 .) ac_abs_srcdir=$ac_srcdir;;
651 case $ac_srcdir in
652 .) ac_abs_srcdir=$ac_abs_builddir;;
653 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
654 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
655 esac;;
656 esac
657 case $ac_abs_builddir in
658 .) ac_abs_top_srcdir=$ac_top_srcdir;;
660 case $ac_top_srcdir in
661 .) ac_abs_top_srcdir=$ac_abs_builddir;;
662 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
663 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
664 esac;;
665 esac
668 case $INSTALL in
669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
670 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
671 esac
673 if test x"$ac_file" != x-; then
674 { echo "$as_me:$LINENO: creating $ac_file" >&5
675 echo "$as_me: creating $ac_file" >&6;}
676 rm -f "$ac_file"
678 # Let's still pretend it is `configure' which instantiates (i.e., don't
679 # use $as_me), people would be surprised to read:
680 # /* config.h. Generated by config.status. */
681 if test x"$ac_file" = x-; then
682 configure_input=
683 else
684 configure_input="$ac_file. "
686 configure_input=$configure_input"Generated from `echo $ac_file_in |
687 sed 's,.*/,,'` by configure."
689 # First look for the input files in the build tree, otherwise in the
690 # src tree.
691 ac_file_inputs=`IFS=:
692 for f in $ac_file_in; do
693 case $f in
694 -) echo $tmp/stdin ;;
695 [\\/$]*)
696 # Absolute (can't be DOS-style, as IFS=:)
697 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
698 echo "$as_me: error: cannot find input file: $f" >&2;}
699 { (exit 1); exit 1; }; }
700 echo "$f";;
701 *) # Relative
702 if test -f "$f"; then
703 # Build tree
704 echo "$f"
705 elif test -f "$srcdir/$f"; then
706 # Source tree
707 echo "$srcdir/$f"
708 else
709 # /dev/null tree
710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
711 echo "$as_me: error: cannot find input file: $f" >&2;}
712 { (exit 1); exit 1; }; }
713 fi;;
714 esac
715 done` || { (exit 1); exit 1; }
716 sed "/^[ ]*VPATH[ ]*=/{
717 s/:*\$(srcdir):*/:/;
718 s/:*\${srcdir}:*/:/;
719 s/:*@srcdir@:*/:/;
720 s/^\([^=]*=[ ]*\):*/\1/;
721 s/:*$//;
722 s/^[^=]*=[ ]*$//;
726 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
727 s,@configure_input@,$configure_input,;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,@top_builddir@,$ac_top_builddir,;t t
735 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
736 s,@INSTALL@,$ac_INSTALL,;t t
737 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
738 rm -f $tmp/stdin
739 if test x"$ac_file" != x-; then
740 mv $tmp/out $ac_file
741 else
742 cat $tmp/out
743 rm -f $tmp/out
746 done
748 { (exit 0); exit 0; }