add uid to mass duplicate checking on export changes, fix bug in new export editing...
[freeside.git] / rt / config.status
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.
6
7 debug=false
8 SHELL=${CONFIG_SHELL-/bin/sh}
9
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19   set -o posix
20 fi
21
22 # NLS nuisances.
23 # Support unset when possible.
24 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
25   as_unset=unset
26 else
27   as_unset=false
28 fi
29
30 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
31     { $as_unset LANG || test "${LANG+set}" != set; } ||
32       { LANG=C; export LANG; }
33 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
34     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
35       { LC_ALL=C; export LC_ALL; }
36 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
37     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
38       { LC_TIME=C; export LC_TIME; }
39 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
40     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
41       { LC_CTYPE=C; export LC_CTYPE; }
42 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
43     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
44       { LANGUAGE=C; export LANGUAGE; }
45 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
46     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
47       { LC_COLLATE=C; export LC_COLLATE; }
48 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
49     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
50       { LC_NUMERIC=C; export LC_NUMERIC; }
51 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
52     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
53       { LC_MESSAGES=C; export LC_MESSAGES; }
54
55
56 # Name of the executable.
57 as_me=`(basename "$0") 2>/dev/null ||
58 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59          X"$0" : 'X\(//\)$' \| \
60          X"$0" : 'X\(/\)$' \| \
61          .     : '\(.\)' 2>/dev/null ||
62 echo X/"$0" |
63     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
64           /^X\/\(\/\/\)$/{ s//\1/; q; }
65           /^X\/\(\/\).*/{ s//\1/; q; }
66           s/.*/./; q'`
67
68 # PATH needs CR, and LINENO needs CR and PATH.
69 # Avoid depending upon Character Ranges.
70 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
71 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73 as_cr_digits='0123456789'
74 as_cr_alnum=$as_cr_Letters$as_cr_digits
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   echo "#! /bin/sh" >conftest.sh
79   echo  "exit 0"   >>conftest.sh
80   chmod +x conftest.sh
81   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
82     PATH_SEPARATOR=';'
83   else
84     PATH_SEPARATOR=:
85   fi
86   rm -f conftest.sh
87 fi
88
89
90   as_lineno_1=$LINENO
91   as_lineno_2=$LINENO
92   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93   test "x$as_lineno_1" != "x$as_lineno_2" &&
94   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
95   # Find who we are.  Look in the path if we contain no path at all
96   # relative or not.
97   case $0 in
98     *[\\/]* ) as_myself=$0 ;;
99     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106
107        ;;
108   esac
109   # We did not find ourselves, most probably we were run as `sh COMMAND'
110   # in which case we are not to be found in the path.
111   if test "x$as_myself" = x; then
112     as_myself=$0
113   fi
114   if test ! -f "$as_myself"; then
115     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117    { (exit 1); exit 1; }; }
118   fi
119   case $CONFIG_SHELL in
120   '')
121     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
123 do
124   IFS=$as_save_IFS
125   test -z "$as_dir" && as_dir=.
126   for as_base in sh bash ksh sh5; do
127          case $as_dir in
128          /*)
129            if ("$as_dir/$as_base" -c '
130   as_lineno_1=$LINENO
131   as_lineno_2=$LINENO
132   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
133   test "x$as_lineno_1" != "x$as_lineno_2" &&
134   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
135              CONFIG_SHELL=$as_dir/$as_base
136              export CONFIG_SHELL
137              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
138            fi;;
139          esac
140        done
141 done
142 ;;
143   esac
144
145   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
146   # uniformly replaced by the line number.  The first 'sed' inserts a
147   # line-number line before each line; the second 'sed' does the real
148   # work.  The second script uses 'N' to pair each line-number line
149   # with the numbered line, and appends trailing '-' during
150   # substitution so that $LINENO is not a special case at line end.
151   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
152   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
153   sed '=' <$as_myself |
154     sed '
155       N
156       s,$,-,
157       : loop
158       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
159       t loop
160       s,-$,,
161       s,^['$as_cr_digits']*\n,,
162     ' >$as_me.lineno &&
163   chmod +x $as_me.lineno ||
164     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
165 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
166    { (exit 1); exit 1; }; }
167
168   # Don't try to exec as it changes $[0], causing all sort of problems
169   # (the dirname of $[0] is not the place where we might find the
170   # original and so on.  Autoconf is especially sensible to this).
171   . ./$as_me.lineno
172   # Exit status is that of the last command.
173   exit
174 }
175
176
177 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
178   *c*,-n*) ECHO_N= ECHO_C='
179 ' ECHO_T='      ' ;;
180   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
181   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
182 esac
183
184 if expr a : '\(a\)' >/dev/null 2>&1; then
185   as_expr=expr
186 else
187   as_expr=false
188 fi
189
190 rm -f conf$$ conf$$.exe conf$$.file
191 echo >conf$$.file
192 if ln -s conf$$.file conf$$ 2>/dev/null; then
193   # We could just check for DJGPP; but this test a) works b) is more generic
194   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
195   if test -f conf$$.exe; then
196     # Don't use ln at all; we don't have any links
197     as_ln_s='cp -p'
198   else
199     as_ln_s='ln -s'
200   fi
201 elif ln conf$$.file conf$$ 2>/dev/null; then
202   as_ln_s=ln
203 else
204   as_ln_s='cp -p'
205 fi
206 rm -f conf$$ conf$$.exe conf$$.file
207
208 as_executable_p="test -f"
209
210 # Sed expression to map a string onto a valid CPP name.
211 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
212
213 # Sed expression to map a string onto a valid variable name.
214 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
215
216
217 # IFS
218 # We need space, tab and new line, in precisely that order.
219 as_nl='
220 '
221 IFS="   $as_nl"
222
223 # CDPATH.
224 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
225
226 exec 6>&1
227
228 # Open the log real soon, to keep \$[0] and so on meaningful, and to
229 # report actual input values of CONFIG_FILES etc. instead of their
230 # values after options handling.  Logging --version etc. is OK.
231 exec 5>>config.log
232 {
233   echo
234   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
235 ## Running $as_me. ##
236 _ASBOX
237 } >&5
238 cat >&5 <<_CSEOF
239
240 This file was extended by RT $as_me 3.0.9, which was
241 generated by GNU Autoconf 2.53.  Invocation command line was
242
243   CONFIG_FILES    = $CONFIG_FILES
244   CONFIG_HEADERS  = $CONFIG_HEADERS
245   CONFIG_LINKS    = $CONFIG_LINKS
246   CONFIG_COMMANDS = $CONFIG_COMMANDS
247   $ $0 $@
248
249 _CSEOF
250 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
251 echo >&5
252 config_files=" sbin/rt-setup-database sbin/rt-test-dependencies Makefile etc/RT_Config.pm lib/RT.pm lib/t/00smoke.t lib/t/01harness.t lib/t/02regression.t lib/t/03web.pl lib/t/04_send_email.pl bin/mason_handler.fcgi bin/mason_handler.scgi bin/mason_handler.svc bin/rt-commit-handler bin/rt-crontool bin/rt-mailgate bin/rt bin/webmux.pl"
253
254 ac_cs_usage="\
255 \`$as_me' instantiates files from templates according to the
256 current configuration.
257
258 Usage: $0 [OPTIONS] [FILE]...
259
260   -h, --help       print this help, then exit
261   -V, --version    print version number, then exit
262   -d, --debug      don't remove temporary files
263       --recheck    update $as_me by reconfiguring in the same conditions
264   --file=FILE[:TEMPLATE]
265                    instantiate the configuration file FILE
266
267 Configuration files:
268 $config_files
269
270 Report bugs to <bug-autoconf@gnu.org>."
271 ac_cs_version="\
272 RT config.status 3.0.9
273 configured by ./configure, generated by GNU Autoconf 2.53,
274   with options \"\"
275
276 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
277 Free Software Foundation, Inc.
278 This config.status script is free software; the Free Software Foundation
279 gives unlimited permission to copy, distribute and modify it."
280 srcdir=.
281 INSTALL="/usr/bin/install -c"
282 # If no file are specified by the user, then we need to provide default
283 # value.  By we need to know if files were specified by the user.
284 ac_need_defaults=:
285 while test $# != 0
286 do
287   case $1 in
288   --*=*)
289     ac_option=`expr "x$1" : 'x\([^=]*\)='`
290     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
291     shift
292     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
293     shift
294     ;;
295   -*);;
296   *) # This is not an option, so the user has probably given explicit
297      # arguments.
298      ac_need_defaults=false;;
299   esac
300
301   case $1 in
302   # Handling of the options.
303   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
304     echo "running /bin/sh ./configure "  " --no-create --no-recursion"
305     exec /bin/sh ./configure  --no-create --no-recursion ;;
306   --version | --vers* | -V )
307     echo "$ac_cs_version"; exit 0 ;;
308   --he | --h)
309     # Conflict between --help and --header
310     { { echo "$as_me:$LINENO: error: ambiguous option: $1
311 Try \`$0 --help' for more information." >&5
312 echo "$as_me: error: ambiguous option: $1
313 Try \`$0 --help' for more information." >&2;}
314    { (exit 1); exit 1; }; };;
315   --help | --hel | -h )
316     echo "$ac_cs_usage"; exit 0 ;;
317   --debug | --d* | -d )
318     debug=: ;;
319   --file | --fil | --fi | --f )
320     shift
321     CONFIG_FILES="$CONFIG_FILES $1"
322     ac_need_defaults=false;;
323   --header | --heade | --head | --hea )
324     shift
325     CONFIG_HEADERS="$CONFIG_HEADERS $1"
326     ac_need_defaults=false;;
327
328   # This is an error.
329   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
330 Try \`$0 --help' for more information." >&5
331 echo "$as_me: error: unrecognized option: $1
332 Try \`$0 --help' for more information." >&2;}
333    { (exit 1); exit 1; }; } ;;
334
335   *) ac_config_targets="$ac_config_targets $1" ;;
336
337   esac
338   shift
339 done
340
341 for ac_config_target in $ac_config_targets
342 do
343   case "$ac_config_target" in
344   # Handling of arguments.
345   "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
346   "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
347   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
348   "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
349   "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
350   "lib/t/00smoke.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/00smoke.t" ;;
351   "lib/t/01harness.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/01harness.t" ;;
352   "lib/t/02regression.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/02regression.t" ;;
353   "lib/t/03web.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/03web.pl" ;;
354   "lib/t/04_send_email.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/04_send_email.pl" ;;
355   "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
356   "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
357   "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
358   "bin/rt-commit-handler" ) CONFIG_FILES="$CONFIG_FILES bin/rt-commit-handler" ;;
359   "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
360   "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
361   "bin/rt" ) CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
362   "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
363   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
364 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
365    { (exit 1); exit 1; }; };;
366   esac
367 done
368
369 # If the user did not use the arguments to specify the items to instantiate,
370 # then the envvar interface is used.  Set only those that are not.
371 # We use the long form for the default assignment because of an extremely
372 # bizarre bug on SunOS 4.1.3.
373 if $ac_need_defaults; then
374   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
375 fi
376
377 # Create a temporary directory, and hook for its removal unless debugging.
378 $debug ||
379 {
380   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
381   trap '{ (exit 1); exit 1; }' 1 2 13 15
382 }
383
384 # Create a (secure) tmp directory for tmp files.
385 : ${TMPDIR=/tmp}
386 {
387   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
388   test -n "$tmp" && test -d "$tmp"
389 }  ||
390 {
391   tmp=$TMPDIR/cs$$-$RANDOM
392   (umask 077 && mkdir $tmp)
393 } ||
394 {
395    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
396    { (exit 1); exit 1; }
397 }
398
399
400 #
401 # CONFIG_FILES section.
402 #
403
404 # No need to generate the scripts if there are no CONFIG_FILES.
405 # This happens for instance when ./config.status config.h
406 if test -n "$CONFIG_FILES"; then
407   # Protect against being on the right side of a sed subst in config.status.
408   sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
409    s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
410 s,@SHELL@,/bin/sh,;t t
411 s,@PATH_SEPARATOR@,:,;t t
412 s,@PACKAGE_NAME@,RT,;t t
413 s,@PACKAGE_TARNAME@,rt,;t t
414 s,@PACKAGE_VERSION@,3.0.9,;t t
415 s,@PACKAGE_STRING@,RT 3.0.9,;t t
416 s,@PACKAGE_BUGREPORT@,rt-3.0-bugs@fsck.com,;t t
417 s,@exec_prefix@,/opt/rt3,;t t
418 s,@prefix@,/opt/rt3,;t t
419 s,@program_transform_name@,s,x,x,,;t t
420 s,@bindir@,/opt/rt3/bin,;t t
421 s,@sbindir@,/opt/rt3/sbin,;t t
422 s,@libexecdir@,${exec_prefix}/libexec,;t t
423 s,@datadir@,/opt/rt3/share,;t t
424 s,@sysconfdir@,/opt/rt3/etc,;t t
425 s,@sharedstatedir@,${prefix}/com,;t t
426 s,@localstatedir@,/opt/rt3/var,;t t
427 s,@libdir@,/opt/rt3/lib,;t t
428 s,@includedir@,${prefix}/include,;t t
429 s,@oldincludedir@,/usr/include,;t t
430 s,@infodir@,${prefix}/info,;t t
431 s,@mandir@,/opt/rt3/man,;t t
432 s,@build_alias@,,;t t
433 s,@host_alias@,,;t t
434 s,@target_alias@,,;t t
435 s,@DEFS@,-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" -DPACKAGE_VERSION=\"3.0.9\" -DPACKAGE_STRING=\"RT\ 3.0.9\" -DPACKAGE_BUGREPORT=\"rt-3.0-bugs@fsck.com\" ,;t t
436 s,@ECHO_C@,,;t t
437 s,@ECHO_N@,-n,;t t
438 s,@ECHO_T@,,;t t
439 s,@LIBS@,,;t t
440 s,@rt_version_major@,3,;t t
441 s,@rt_version_minor@,0,;t t
442 s,@rt_version_patch@,9,;t t
443 s,@INSTALL_PROGRAM@,${INSTALL},;t t
444 s,@INSTALL_SCRIPT@,${INSTALL},;t t
445 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
446 s,@PERL@,/usr/bin/perl,;t t
447 s,@SPEEDY_BIN@,/usr/local/bin/speedy,;t t
448 s,@exp_prefix@,/opt/rt3,;t t
449 s,@exp_exec_prefix@,/opt/rt3,;t t
450 s,@exp_bindir@,/opt/rt3/bin,;t t
451 s,@exp_sbindir@,/opt/rt3/sbin,;t t
452 s,@exp_sysconfdir@,/opt/rt3/etc,;t t
453 s,@exp_mandir@,/opt/rt3/man,;t t
454 s,@exp_libdir@,/opt/rt3/lib,;t t
455 s,@exp_datadir@,/opt/rt3/share,;t t
456 s,@htmldir@,/opt/rt3/share/html,;t t
457 s,@exp_htmldir@,/opt/rt3/share/html,;t t
458 s,@manualdir@,/opt/rt3/share/doc,;t t
459 s,@exp_manualdir@,/opt/rt3/share/doc,;t t
460 s,@exp_localstatedir@,/opt/rt3/var,;t t
461 s,@logfiledir@,/opt/rt3/var/log,;t t
462 s,@exp_logfiledir@,/opt/rt3/var/log,;t t
463 s,@masonstatedir@,/opt/rt3/var/mason_data,;t t
464 s,@exp_masonstatedir@,/opt/rt3/var/mason_data,;t t
465 s,@sessionstatedir@,/opt/rt3/var/session_data,;t t
466 s,@exp_sessionstatedir@,/opt/rt3/var/session_data,;t t
467 s,@customdir@,/opt/rt3/local,;t t
468 s,@exp_customdir@,/opt/rt3/local,;t t
469 s,@custometcdir@,/opt/rt3/local/etc,;t t
470 s,@exp_custometcdir@,/opt/rt3/local/etc,;t t
471 s,@customhtmldir@,/opt/rt3/local/html,;t t
472 s,@exp_customhtmldir@,/opt/rt3/local/html,;t t
473 s,@customlexdir@,/opt/rt3/local/po,;t t
474 s,@exp_customlexdir@,/opt/rt3/local/po,;t t
475 s,@customlibdir@,/opt/rt3/local/lib,;t t
476 s,@exp_customlibdir@,/opt/rt3/local/lib,;t t
477 s,@rt_layout_name@,RT3,;t t
478 s,@RTGROUP@,rt,;t t
479 s,@BIN_OWNER@,root,;t t
480 s,@LIBS_OWNER@,root,;t t
481 s,@LIBS_GROUP@,bin,;t t
482 s,@DB_TYPE@,mysql,;t t
483 s,@ORACLE_ENV_PREF@,,;t t
484 s,@DB_HOST@,localhost,;t t
485 s,@DB_PORT@,,;t t
486 s,@DB_RT_HOST@,localhost,;t t
487 s,@DB_DBA@,root,;t t
488 s,@DB_DATABASE@,rt3,;t t
489 s,@DB_RT_USER@,rt_user,;t t
490 s,@DB_RT_PASS@,rt_pass,;t t
491 s,@WEB_USER@,www,;t t
492 s,@WEB_GROUP@,www,;t t
493 s,@RT_VERSION_MAJOR@,3,;t t
494 s,@RT_VERSION_MINOR@,0,;t t
495 s,@RT_VERSION_PATCH@,9,;t t
496 s,@RT_PATH@,/opt/rt3,;t t
497 s,@RT_DOC_PATH@,/opt/rt3/share/doc,;t t
498 s,@RT_LOCAL_PATH@,/opt/rt3/local,;t t
499 s,@RT_LIB_PATH@,/opt/rt3/lib,;t t
500 s,@RT_ETC_PATH@,/opt/rt3/etc,;t t
501 s,@CONFIG_FILE_PATH@,/opt/rt3/etc,;t t
502 s,@RT_BIN_PATH@,/opt/rt3/bin,;t t
503 s,@RT_SBIN_PATH@,/opt/rt3/sbin,;t t
504 s,@RT_VAR_PATH@,/opt/rt3/var,;t t
505 s,@RT_MAN_PATH@,/opt/rt3/man,;t t
506 s,@MASON_DATA_PATH@,/opt/rt3/var/mason_data,;t t
507 s,@MASON_SESSION_PATH@,/opt/rt3/var/session_data,;t t
508 s,@MASON_HTML_PATH@,/opt/rt3/share/html,;t t
509 s,@LOCAL_ETC_PATH@,/opt/rt3/local/etc,;t t
510 s,@MASON_LOCAL_HTML_PATH@,/opt/rt3/local/html,;t t
511 s,@LOCAL_LEXICON_PATH@,/opt/rt3/local/po,;t t
512 s,@LOCAL_LIB_PATH@,/opt/rt3/local/lib,;t t
513 s,@DESTDIR@,/opt/rt3,;t t
514 s,@RT_LOG_PATH@,/opt/rt3/var/log,;t t
515 CEOF
516
517   # Split the substitutions into bite-sized pieces for seds with
518   # small command number limits, like on Digital OSF/1 and HP-UX.
519   ac_max_sed_lines=48
520   ac_sed_frag=1 # Number of current file.
521   ac_beg=1 # First line for current file.
522   ac_end=$ac_max_sed_lines # Line after last line for current file.
523   ac_more_lines=:
524   ac_sed_cmds=
525   while $ac_more_lines; do
526     if test $ac_beg -gt 1; then
527       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
528     else
529       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
530     fi
531     if test ! -s $tmp/subs.frag; then
532       ac_more_lines=false
533     else
534       # The purpose of the label and of the branching condition is to
535       # speed up the sed processing (if there are no `@' at all, there
536       # is no need to browse any of the substitutions).
537       # These are the two extra sed commands mentioned above.
538       (echo ':t
539   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
540       if test -z "$ac_sed_cmds"; then
541         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
542       else
543         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
544       fi
545       ac_sed_frag=`expr $ac_sed_frag + 1`
546       ac_beg=$ac_end
547       ac_end=`expr $ac_end + $ac_max_sed_lines`
548     fi
549   done
550   if test -z "$ac_sed_cmds"; then
551     ac_sed_cmds=cat
552   fi
553 fi # test -n "$CONFIG_FILES"
554
555 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
556   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
557   case $ac_file in
558   - | *:- | *:-:* ) # input from stdin
559         cat >$tmp/stdin
560         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
561         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
562   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
563         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
564   * )   ac_file_in=$ac_file.in ;;
565   esac
566
567   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
568   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
569 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
570          X"$ac_file" : 'X\(//\)[^/]' \| \
571          X"$ac_file" : 'X\(//\)$' \| \
572          X"$ac_file" : 'X\(/\)' \| \
573          .     : '\(.\)' 2>/dev/null ||
574 echo X"$ac_file" |
575     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
576           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
577           /^X\(\/\/\)$/{ s//\1/; q; }
578           /^X\(\/\).*/{ s//\1/; q; }
579           s/.*/./; q'`
580   { case "$ac_dir" in
581   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
582   *)                      as_incr_dir=.;;
583 esac
584 as_dummy="$ac_dir"
585 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
586   case $as_mkdir_dir in
587     # Skip DOS drivespec
588     ?:) as_incr_dir=$as_mkdir_dir ;;
589     *)
590       as_incr_dir=$as_incr_dir/$as_mkdir_dir
591       test -d "$as_incr_dir" ||
592         mkdir "$as_incr_dir" ||
593         { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
594 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
595    { (exit 1); exit 1; }; }
596     ;;
597   esac
598 done; }
599
600   ac_builddir=.
601
602 if test "$ac_dir" != .; then
603   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
604   # A "../" for each directory in $ac_dir_suffix.
605   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
606 else
607   ac_dir_suffix= ac_top_builddir=
608 fi
609
610 case $srcdir in
611   .)  # No --srcdir option.  We are building in place.
612     ac_srcdir=.
613     if test -z "$ac_top_builddir"; then
614        ac_top_srcdir=.
615     else
616        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
617     fi ;;
618   [\\/]* | ?:[\\/]* )  # Absolute path.
619     ac_srcdir=$srcdir$ac_dir_suffix;
620     ac_top_srcdir=$srcdir ;;
621   *) # Relative path.
622     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
623     ac_top_srcdir=$ac_top_builddir$srcdir ;;
624 esac
625 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
626 # absolute.
627 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
628 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
629 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
630 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
631
632
633   case $INSTALL in
634   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
635   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
636   esac
637
638   if test x"$ac_file" != x-; then
639     { echo "$as_me:$LINENO: creating $ac_file" >&5
640 echo "$as_me: creating $ac_file" >&6;}
641     rm -f "$ac_file"
642   fi
643   # Let's still pretend it is `configure' which instantiates (i.e., don't
644   # use $as_me), people would be surprised to read:
645   #    /* config.h.  Generated by config.status.  */
646   if test x"$ac_file" = x-; then
647     configure_input=
648   else
649     configure_input="$ac_file.  "
650   fi
651   configure_input=$configure_input"Generated from `echo $ac_file_in |
652                                      sed 's,.*/,,'` by configure."
653
654   # First look for the input files in the build tree, otherwise in the
655   # src tree.
656   ac_file_inputs=`IFS=:
657     for f in $ac_file_in; do
658       case $f in
659       -) echo $tmp/stdin ;;
660       [\\/$]*)
661          # Absolute (can't be DOS-style, as IFS=:)
662          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
663 echo "$as_me: error: cannot find input file: $f" >&2;}
664    { (exit 1); exit 1; }; }
665          echo $f;;
666       *) # Relative
667          if test -f "$f"; then
668            # Build tree
669            echo $f
670          elif test -f "$srcdir/$f"; then
671            # Source tree
672            echo $srcdir/$f
673          else
674            # /dev/null tree
675            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
676 echo "$as_me: error: cannot find input file: $f" >&2;}
677    { (exit 1); exit 1; }; }
678          fi;;
679       esac
680     done` || { (exit 1); exit 1; }
681   sed "/^[      ]*VPATH[        ]*=/{
682 s/:*\$(srcdir):*/:/;
683 s/:*\${srcdir}:*/:/;
684 s/:*@srcdir@:*/:/;
685 s/^\([^=]*=[    ]*\):*/\1/;
686 s/:*$//;
687 s/^[^=]*=[      ]*$//;
688 }
689
690 :t
691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
692 s,@configure_input@,$configure_input,;t t
693 s,@srcdir@,$ac_srcdir,;t t
694 s,@abs_srcdir@,$ac_abs_srcdir,;t t
695 s,@top_srcdir@,$ac_top_srcdir,;t t
696 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
697 s,@builddir@,$ac_builddir,;t t
698 s,@abs_builddir@,$ac_abs_builddir,;t t
699 s,@top_builddir@,$ac_top_builddir,;t t
700 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
701 s,@INSTALL@,$ac_INSTALL,;t t
702 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
703   rm -f $tmp/stdin
704   if test x"$ac_file" != x-; then
705     mv $tmp/out $ac_file
706   else
707     cat $tmp/out
708     rm -f $tmp/out
709   fi
710
711 done
712
713 { (exit 0); exit 0; }