import rt 3.6.10
[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 ac_cs_recheck=false
9 ac_cs_silent=false
10
11 SHELL=${CONFIG_SHELL-/bin/sh}
12 export SHELL
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (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"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
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=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136
137 # as_fn_error ERROR [LINENO LOG_FD]
138 # ---------------------------------
139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141 # script with status $?, using 1 if that was 0.
142 as_fn_error ()
143 {
144   as_status=$?; test $as_status -eq 0 && as_status=1
145   if test "$3"; then
146     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
148   fi
149   $as_echo "$as_me: error: $1" >&2
150   as_fn_exit $as_status
151 } # as_fn_error
152
153
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
157 as_fn_set_status ()
158 {
159   return $1
160 } # as_fn_set_status
161
162 # as_fn_exit STATUS
163 # -----------------
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165 as_fn_exit ()
166 {
167   set +e
168   as_fn_set_status $1
169   exit $1
170 } # as_fn_exit
171
172 # as_fn_unset VAR
173 # ---------------
174 # Portably unset VAR.
175 as_fn_unset ()
176 {
177   { eval $1=; unset $1;}
178 }
179 as_unset=as_fn_unset
180 # as_fn_append VAR VALUE
181 # ----------------------
182 # Append the text in VALUE to the end of the definition contained in VAR. Take
183 # advantage of any shell optimizations that allow amortized linear growth over
184 # repeated appends, instead of the typical quadratic growth present in naive
185 # implementations.
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187   eval 'as_fn_append ()
188   {
189     eval $1+=\$2
190   }'
191 else
192   as_fn_append ()
193   {
194     eval $1=\$$1\$2
195   }
196 fi # as_fn_append
197
198 # as_fn_arith ARG...
199 # ------------------
200 # Perform arithmetic evaluation on the ARGs, and store the result in the
201 # global $as_val. Take advantage of shells that can avoid forks. The arguments
202 # must be portable across $(()) and expr.
203 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204   eval 'as_fn_arith ()
205   {
206     as_val=$(( $* ))
207   }'
208 else
209   as_fn_arith ()
210   {
211     as_val=`expr "$@" || test $? -eq 1`
212   }
213 fi # as_fn_arith
214
215
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217    test "X`expr 00001 : '.*\(...\)'`" = X001; then
218   as_expr=expr
219 else
220   as_expr=false
221 fi
222
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224   as_basename=basename
225 else
226   as_basename=false
227 fi
228
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230   as_dirname=dirname
231 else
232   as_dirname=false
233 fi
234
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237          X"$0" : 'X\(//\)$' \| \
238          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239 $as_echo X/"$0" |
240     sed '/^.*\/\([^/][^/]*\)\/*$/{
241             s//\1/
242             q
243           }
244           /^X\/\(\/\/\)$/{
245             s//\1/
246             q
247           }
248           /^X\/\(\/\).*/{
249             s//\1/
250             q
251           }
252           s/.*/./; q'`
253
254 # Avoid depending upon Character Ranges.
255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258 as_cr_digits='0123456789'
259 as_cr_alnum=$as_cr_Letters$as_cr_digits
260
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
263 -n*)
264   case `echo 'xy\c'` in
265   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
266   xy)  ECHO_C='\c';;
267   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
268        ECHO_T=' ';;
269   esac;;
270 *)
271   ECHO_N='-n';;
272 esac
273
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276   rm -f conf$$.dir/conf$$.file
277 else
278   rm -f conf$$.dir
279   mkdir conf$$.dir 2>/dev/null
280 fi
281 if (echo >conf$$.file) 2>/dev/null; then
282   if ln -s conf$$.file conf$$ 2>/dev/null; then
283     as_ln_s='ln -s'
284     # ... but there are two gotchas:
285     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287     # In both cases, we have to default to `cp -p'.
288     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289       as_ln_s='cp -p'
290   elif ln conf$$.file conf$$ 2>/dev/null; then
291     as_ln_s=ln
292   else
293     as_ln_s='cp -p'
294   fi
295 else
296   as_ln_s='cp -p'
297 fi
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
300
301
302 # as_fn_mkdir_p
303 # -------------
304 # Create "$as_dir" as a directory, including parents if necessary.
305 as_fn_mkdir_p ()
306 {
307
308   case $as_dir in #(
309   -*) as_dir=./$as_dir;;
310   esac
311   test -d "$as_dir" || eval $as_mkdir_p || {
312     as_dirs=
313     while :; do
314       case $as_dir in #(
315       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316       *) as_qdir=$as_dir;;
317       esac
318       as_dirs="'$as_qdir' $as_dirs"
319       as_dir=`$as_dirname -- "$as_dir" ||
320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321          X"$as_dir" : 'X\(//\)[^/]' \| \
322          X"$as_dir" : 'X\(//\)$' \| \
323          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324 $as_echo X"$as_dir" |
325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326             s//\1/
327             q
328           }
329           /^X\(\/\/\)[^/].*/{
330             s//\1/
331             q
332           }
333           /^X\(\/\/\)$/{
334             s//\1/
335             q
336           }
337           /^X\(\/\).*/{
338             s//\1/
339             q
340           }
341           s/.*/./; q'`
342       test -d "$as_dir" && break
343     done
344     test -z "$as_dirs" || eval "mkdir $as_dirs"
345   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
346
347
348 } # as_fn_mkdir_p
349 if mkdir -p . 2>/dev/null; then
350   as_mkdir_p='mkdir -p "$as_dir"'
351 else
352   test -d ./-p && rmdir ./-p
353   as_mkdir_p=false
354 fi
355
356 if test -x / >/dev/null 2>&1; then
357   as_test_x='test -x'
358 else
359   if ls -dL / >/dev/null 2>&1; then
360     as_ls_L_option=L
361   else
362     as_ls_L_option=
363   fi
364   as_test_x='
365     eval sh -c '\''
366       if test -d "$1"; then
367         test -d "$1/.";
368       else
369         case $1 in #(
370         -*)set "./$1";;
371         esac;
372         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373         ???[sx]*):;;*)false;;esac;fi
374     '\'' sh
375   '
376 fi
377 as_executable_p=$as_test_x
378
379 # Sed expression to map a string onto a valid CPP name.
380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
381
382 # Sed expression to map a string onto a valid variable name.
383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
384
385
386 exec 6>&1
387 ## ----------------------------------- ##
388 ## Main body of $CONFIG_STATUS script. ##
389 ## ----------------------------------- ##
390 # Save the log message, to keep $0 and so on meaningful, and to
391 # report actual input values of CONFIG_FILES etc. instead of their
392 # values after options handling.
393 ac_log="
394 This file was extended by RT $as_me 3.6.10, which was
395 generated by GNU Autoconf 2.64.  Invocation command line was
396
397   CONFIG_FILES    = $CONFIG_FILES
398   CONFIG_HEADERS  = $CONFIG_HEADERS
399   CONFIG_LINKS    = $CONFIG_LINKS
400   CONFIG_COMMANDS = $CONFIG_COMMANDS
401   $ $0 $@
402
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
404 "
405
406 # Files that config.status was made for.
407 config_files=" sbin/rt-dump-database sbin/rt-setup-database sbin/rt-test-dependencies bin/mason_handler.fcgi bin/mason_handler.scgi bin/standalone_httpd bin/rt-crontool bin/rt-mailgate bin/rt Makefile etc/RT_Config.pm lib/RT.pm bin/mason_handler.svc bin/webmux.pl"
408
409 ac_cs_usage="\
410 \`$as_me' instantiates files and other configuration actions
411 from templates according to the current configuration.  Unless the files
412 and actions are specified as TAGs, all are instantiated by default.
413
414 Usage: $0 [OPTION]... [TAG]...
415
416   -h, --help       print this help, then exit
417   -V, --version    print version number and configuration settings, then exit
418   -q, --quiet, --silent
419                    do not print progress messages
420   -d, --debug      don't remove temporary files
421       --recheck    update $as_me by reconfiguring in the same conditions
422       --file=FILE[:TEMPLATE]
423                    instantiate the configuration file FILE
424
425 Configuration files:
426 $config_files
427
428 Report bugs to <rt-bugs@bestpractical.com>."
429
430 ac_cs_version="\
431 RT config.status 3.6.10
432 configured by ./configure, generated by GNU Autoconf 2.64,
433   with options \"'--with-db-type=SQLite' 'PERL=/usr/bin/perl'\"
434
435 Copyright (C) 2009 Free Software Foundation, Inc.
436 This config.status script is free software; the Free Software Foundation
437 gives unlimited permission to copy, distribute and modify it."
438
439 ac_pwd='/Users/falcone/work/rt/releases/rt-3.6.10'
440 srcdir='.'
441 INSTALL='install-sh'
442 AWK='gawk'
443 test -n "$AWK" || AWK=awk
444 # The default lists apply if the user does not specify any file.
445 ac_need_defaults=:
446 while test $# != 0
447 do
448   case $1 in
449   --*=*)
450     ac_option=`expr "X$1" : 'X\([^=]*\)='`
451     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
452     ac_shift=:
453     ;;
454   *)
455     ac_option=$1
456     ac_optarg=$2
457     ac_shift=shift
458     ;;
459   esac
460
461   case $ac_option in
462   # Handling of the options.
463   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
464     ac_cs_recheck=: ;;
465   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
466     $as_echo "$ac_cs_version"; exit ;;
467   --debug | --debu | --deb | --de | --d | -d )
468     debug=: ;;
469   --file | --fil | --fi | --f )
470     $ac_shift
471     case $ac_optarg in
472     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
473     esac
474     as_fn_append CONFIG_FILES " '$ac_optarg'"
475     ac_need_defaults=false;;
476   --he | --h |  --help | --hel | -h )
477     $as_echo "$ac_cs_usage"; exit ;;
478   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
479   | -silent | --silent | --silen | --sile | --sil | --si | --s)
480     ac_cs_silent=: ;;
481
482   # This is an error.
483   -*) as_fn_error "unrecognized option: \`$1'
484 Try \`$0 --help' for more information." ;;
485
486   *) as_fn_append ac_config_targets " $1"
487      ac_need_defaults=false ;;
488
489   esac
490   shift
491 done
492
493 ac_configure_extra_args=
494
495 if $ac_cs_silent; then
496   exec 6>/dev/null
497   ac_configure_extra_args="$ac_configure_extra_args --silent"
498 fi
499
500 if $ac_cs_recheck; then
501   set X '/bin/sh' './configure'  '--with-db-type=SQLite' 'PERL=/usr/bin/perl' $ac_configure_extra_args --no-create --no-recursion
502   shift
503   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
504   CONFIG_SHELL='/bin/sh'
505   export CONFIG_SHELL
506   exec "$@"
507 fi
508
509 exec 5>>config.log
510 {
511   echo
512   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
513 ## Running $as_me. ##
514 _ASBOX
515   $as_echo "$ac_log"
516 } >&5
517
518
519 # Handling of arguments.
520 for ac_config_target in $ac_config_targets
521 do
522   case $ac_config_target in
523     "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
524     "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
525     "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
526     "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
527     "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
528     "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
529     "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
530     "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
531     "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
532     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
533     "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
534     "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
535     "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
536     "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
537
538   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
539   esac
540 done
541
542
543 # If the user did not use the arguments to specify the items to instantiate,
544 # then the envvar interface is used.  Set only those that are not.
545 # We use the long form for the default assignment because of an extremely
546 # bizarre bug on SunOS 4.1.3.
547 if $ac_need_defaults; then
548   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
549 fi
550
551 # Have a temporary directory for convenience.  Make it in the build tree
552 # simply because there is no reason against having it here, and in addition,
553 # creating and moving files from /tmp can sometimes cause problems.
554 # Hook for its removal unless debugging.
555 # Note that there is a small window in which the directory will not be cleaned:
556 # after its creation but before its name has been assigned to `$tmp'.
557 $debug ||
558 {
559   tmp=
560   trap 'exit_status=$?
561   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
562 ' 0
563   trap 'as_fn_exit 1' 1 2 13 15
564 }
565 # Create a (secure) tmp directory for tmp files.
566
567 {
568   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
569   test -n "$tmp" && test -d "$tmp"
570 }  ||
571 {
572   tmp=./conf$$-$RANDOM
573   (umask 077 && mkdir "$tmp")
574 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
575
576 # Set up the scripts for CONFIG_FILES section.
577 # No need to generate them if there are no CONFIG_FILES.
578 # This happens for instance with `./config.status config.h'.
579 if test -n "$CONFIG_FILES"; then
580
581
582 ac_cr=`echo X | tr X '\015'`
583 # On cygwin, bash can eat \r inside `` if the user requested igncr.
584 # But we know of no other shell where ac_cr would be empty at this
585 # point, so we can use a bashism as a fallback.
586 if test "x$ac_cr" = x; then
587   eval ac_cr=\$\'\\r\'
588 fi
589 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
590 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
591   ac_cs_awk_cr='\r'
592 else
593   ac_cs_awk_cr=$ac_cr
594 fi
595
596 echo 'BEGIN {' >"$tmp/subs1.awk" &&
597 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
598 S["LTLIBOBJS"]=""
599 S["LIBOBJS"]=""
600 S["RT_LOG_PATH"]="/opt/rt3/var/log"
601 S["DESTDIR"]="/opt/rt3"
602 S["LOCAL_LIB_PATH"]="/opt/rt3/local/lib"
603 S["LOCAL_LEXICON_PATH"]="/opt/rt3/local/po"
604 S["MASON_LOCAL_HTML_PATH"]="/opt/rt3/local/html"
605 S["LOCAL_ETC_PATH"]="/opt/rt3/local/etc"
606 S["MASON_HTML_PATH"]="/opt/rt3/share/html"
607 S["MASON_SESSION_PATH"]="/opt/rt3/var/session_data"
608 S["MASON_DATA_PATH"]="/opt/rt3/var/mason_data"
609 S["RT_MAN_PATH"]="/opt/rt3/man"
610 S["RT_VAR_PATH"]="/opt/rt3/var"
611 S["RT_SBIN_PATH"]="/opt/rt3/sbin"
612 S["RT_BIN_PATH"]="/opt/rt3/bin"
613 S["CONFIG_FILE_PATH"]="/opt/rt3/etc"
614 S["RT_ETC_PATH"]="/opt/rt3/etc"
615 S["RT_LIB_PATH"]="/opt/rt3/lib"
616 S["RT_LOCAL_PATH"]="/opt/rt3/local"
617 S["RT_DOC_PATH"]="/opt/rt3/share/doc"
618 S["RT_PATH"]="/opt/rt3"
619 S["RT_VERSION_PATCH"]="10"
620 S["RT_VERSION_MINOR"]="6"
621 S["RT_VERSION_MAJOR"]="3"
622 S["RT_DEVEL_MODE"]="0"
623 S["RT_STANDALONE"]="0"
624 S["APACHECTL"]="/usr/sbin/apachectl"
625 S["RTGROUP"]="www"
626 S["WEB_GROUP"]="www"
627 S["WEB_USER"]="www"
628 S["DB_RT_PASS"]="rt_pass"
629 S["DB_RT_USER"]="rt_user"
630 S["DB_DATABASE"]="rt3"
631 S["DB_DBA"]="root"
632 S["DB_RT_HOST"]="localhost"
633 S["DB_PORT"]=""
634 S["DB_HOST"]="localhost"
635 S["DATABASE_ENV_PREF"]=""
636 S["DB_TYPE"]="SQLite"
637 S["LIBS_GROUP"]="bin"
638 S["LIBS_OWNER"]="root"
639 S["BIN_OWNER"]="root"
640 S["rt_layout_name"]="RT3"
641 S["exp_customlibdir"]="/opt/rt3/local/lib"
642 S["customlibdir"]="/opt/rt3/local/lib"
643 S["exp_customlexdir"]="/opt/rt3/local/po"
644 S["customlexdir"]="/opt/rt3/local/po"
645 S["exp_customhtmldir"]="/opt/rt3/local/html"
646 S["customhtmldir"]="/opt/rt3/local/html"
647 S["exp_custometcdir"]="/opt/rt3/local/etc"
648 S["custometcdir"]="/opt/rt3/local/etc"
649 S["exp_customdir"]="/opt/rt3/local"
650 S["customdir"]="/opt/rt3/local"
651 S["exp_sessionstatedir"]="/opt/rt3/var/session_data"
652 S["sessionstatedir"]="/opt/rt3/var/session_data"
653 S["exp_masonstatedir"]="/opt/rt3/var/mason_data"
654 S["masonstatedir"]="/opt/rt3/var/mason_data"
655 S["exp_logfiledir"]="/opt/rt3/var/log"
656 S["logfiledir"]="/opt/rt3/var/log"
657 S["exp_localstatedir"]="/opt/rt3/var"
658 S["exp_manualdir"]="/opt/rt3/share/doc"
659 S["manualdir"]="/opt/rt3/share/doc"
660 S["exp_htmldir"]="/opt/rt3/share/html"
661 S["exp_datadir"]="/opt/rt3/share"
662 S["exp_libdir"]="/opt/rt3/lib"
663 S["exp_mandir"]="/opt/rt3/man"
664 S["exp_sysconfdir"]="/opt/rt3/etc"
665 S["exp_sbindir"]="/opt/rt3/sbin"
666 S["exp_bindir"]="/opt/rt3/bin"
667 S["exp_exec_prefix"]="/opt/rt3"
668 S["exp_prefix"]="/opt/rt3"
669 S["SPEEDY_BIN"]="/usr/local/bin/speedy"
670 S["PERL"]="/usr/bin/perl"
671 S["AWK"]="gawk"
672 S["INSTALL_DATA"]="${INSTALL} -m 644"
673 S["INSTALL_SCRIPT"]="${INSTALL}"
674 S["INSTALL_PROGRAM"]="${INSTALL}"
675 S["rt_version_patch"]="10"
676 S["rt_version_minor"]="6"
677 S["rt_version_major"]="3"
678 S["target_alias"]=""
679 S["host_alias"]=""
680 S["build_alias"]=""
681 S["LIBS"]=""
682 S["ECHO_T"]=""
683 S["ECHO_N"]=""
684 S["ECHO_C"]="\\c"
685 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"3.6.10\\\" -DPACKAGE_STRING=\\\"RT\\ 3.6.10\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpracti"\
686 "cal.com\\\" -DPACKAGE_URL=\\\"\\\""
687 S["mandir"]="/opt/rt3/man"
688 S["localedir"]="${datarootdir}/locale"
689 S["libdir"]="/opt/rt3/lib"
690 S["psdir"]="${docdir}"
691 S["pdfdir"]="${docdir}"
692 S["dvidir"]="${docdir}"
693 S["htmldir"]="/opt/rt3/share/html"
694 S["infodir"]="${datarootdir}/info"
695 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
696 S["oldincludedir"]="/usr/include"
697 S["includedir"]="${prefix}/include"
698 S["localstatedir"]="/opt/rt3/var"
699 S["sharedstatedir"]="${prefix}/com"
700 S["sysconfdir"]="/opt/rt3/etc"
701 S["datadir"]="/opt/rt3/share"
702 S["datarootdir"]="${prefix}/share"
703 S["libexecdir"]="${exec_prefix}/libexec"
704 S["sbindir"]="/opt/rt3/sbin"
705 S["bindir"]="/opt/rt3/bin"
706 S["program_transform_name"]="s,x,x,"
707 S["prefix"]="/opt/rt3"
708 S["exec_prefix"]="/opt/rt3"
709 S["PACKAGE_URL"]=""
710 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
711 S["PACKAGE_STRING"]="RT 3.6.10"
712 S["PACKAGE_VERSION"]="3.6.10"
713 S["PACKAGE_TARNAME"]="rt"
714 S["PACKAGE_NAME"]="RT"
715 S["PATH_SEPARATOR"]=":"
716 S["SHELL"]="/bin/sh"
717 _ACAWK
718 cat >>"$tmp/subs1.awk" <<_ACAWK &&
719   for (key in S) S_is_set[key] = 1
720   FS = "\a"
721
722 }
723 {
724   line = $ 0
725   nfields = split(line, field, "@")
726   substed = 0
727   len = length(field[1])
728   for (i = 2; i < nfields; i++) {
729     key = field[i]
730     keylen = length(key)
731     if (S_is_set[key]) {
732       value = S[key]
733       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
734       len += length(value) + length(field[++i])
735       substed = 1
736     } else
737       len += 1 + keylen
738   }
739
740   print line
741 }
742
743 _ACAWK
744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
745   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
746 else
747   cat
748 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
749   || as_fn_error "could not setup config files machinery" "$LINENO" 5
750 fi # test -n "$CONFIG_FILES"
751
752
753 eval set X "  :F $CONFIG_FILES      "
754 shift
755 for ac_tag
756 do
757   case $ac_tag in
758   :[FHLC]) ac_mode=$ac_tag; continue;;
759   esac
760   case $ac_mode$ac_tag in
761   :[FHL]*:*);;
762   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
763   :[FH]-) ac_tag=-:-;;
764   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
765   esac
766   ac_save_IFS=$IFS
767   IFS=:
768   set x $ac_tag
769   IFS=$ac_save_IFS
770   shift
771   ac_file=$1
772   shift
773
774   case $ac_mode in
775   :L) ac_source=$1;;
776   :[FH])
777     ac_file_inputs=
778     for ac_f
779     do
780       case $ac_f in
781       -) ac_f="$tmp/stdin";;
782       *) # Look for the file first in the build tree, then in the source tree
783          # (if the path is not absolute).  The absolute path cannot be DOS-style,
784          # because $ac_f cannot contain `:'.
785          test -f "$ac_f" ||
786            case $ac_f in
787            [\\/$]*) false;;
788            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
789            esac ||
790            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
791       esac
792       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
793       as_fn_append ac_file_inputs " '$ac_f'"
794     done
795
796     # Let's still pretend it is `configure' which instantiates (i.e., don't
797     # use $as_me), people would be surprised to read:
798     #    /* config.h.  Generated by config.status.  */
799     configure_input='Generated from '`
800           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
801         `' by configure.'
802     if test x"$ac_file" != x-; then
803       configure_input="$ac_file.  $configure_input"
804       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
805 $as_echo "$as_me: creating $ac_file" >&6;}
806     fi
807     # Neutralize special characters interpreted by sed in replacement strings.
808     case $configure_input in #(
809     *\&* | *\|* | *\\* )
810        ac_sed_conf_input=`$as_echo "$configure_input" |
811        sed 's/[\\\\&|]/\\\\&/g'`;; #(
812     *) ac_sed_conf_input=$configure_input;;
813     esac
814
815     case $ac_tag in
816     *:-:* | *:-) cat >"$tmp/stdin" \
817       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
818     esac
819     ;;
820   esac
821
822   ac_dir=`$as_dirname -- "$ac_file" ||
823 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
824          X"$ac_file" : 'X\(//\)[^/]' \| \
825          X"$ac_file" : 'X\(//\)$' \| \
826          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
827 $as_echo X"$ac_file" |
828     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
829             s//\1/
830             q
831           }
832           /^X\(\/\/\)[^/].*/{
833             s//\1/
834             q
835           }
836           /^X\(\/\/\)$/{
837             s//\1/
838             q
839           }
840           /^X\(\/\).*/{
841             s//\1/
842             q
843           }
844           s/.*/./; q'`
845   as_dir="$ac_dir"; as_fn_mkdir_p
846   ac_builddir=.
847
848 case "$ac_dir" in
849 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
850 *)
851   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
852   # A ".." for each directory in $ac_dir_suffix.
853   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
854   case $ac_top_builddir_sub in
855   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
856   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
857   esac ;;
858 esac
859 ac_abs_top_builddir=$ac_pwd
860 ac_abs_builddir=$ac_pwd$ac_dir_suffix
861 # for backward compatibility:
862 ac_top_builddir=$ac_top_build_prefix
863
864 case $srcdir in
865   .)  # We are building in place.
866     ac_srcdir=.
867     ac_top_srcdir=$ac_top_builddir_sub
868     ac_abs_top_srcdir=$ac_pwd ;;
869   [\\/]* | ?:[\\/]* )  # Absolute name.
870     ac_srcdir=$srcdir$ac_dir_suffix;
871     ac_top_srcdir=$srcdir
872     ac_abs_top_srcdir=$srcdir ;;
873   *) # Relative name.
874     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
875     ac_top_srcdir=$ac_top_build_prefix$srcdir
876     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
877 esac
878 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
879
880
881   case $ac_mode in
882   :F)
883   #
884   # CONFIG_FILE
885   #
886
887   case $INSTALL in
888   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
889   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
890   esac
891 # If the template does not know about datarootdir, expand it.
892 # FIXME: This hack should be removed a few years after 2.60.
893 ac_datarootdir_hack=; ac_datarootdir_seen=
894 ac_sed_dataroot='
895 /datarootdir/ {
896   p
897   q
898 }
899 /@datadir@/p
900 /@docdir@/p
901 /@infodir@/p
902 /@localedir@/p
903 /@mandir@/p'
904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
905 *datarootdir*) ac_datarootdir_seen=yes;;
906 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
907   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
909   ac_datarootdir_hack='
910   s&@datadir@&/opt/rt3/share&g
911   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
912   s&@infodir@&${datarootdir}/info&g
913   s&@localedir@&${datarootdir}/locale&g
914   s&@mandir@&/opt/rt3/man&g
915   s&\${datarootdir}&${prefix}/share&g' ;;
916 esac
917 ac_sed_extra="/^[        ]*VPATH[        ]*=/{
918 s/:*\$(srcdir):*/:/
919 s/:*\${srcdir}:*/:/
920 s/:*@srcdir@:*/:/
921 s/^\([^=]*=[     ]*\):*/\1/
922 s/:*$//
923 s/^[^=]*=[       ]*$//
924 }
925
926 :t
927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
928 s|@configure_input@|$ac_sed_conf_input|;t t
929 s&@top_builddir@&$ac_top_builddir_sub&;t t
930 s&@top_build_prefix@&$ac_top_build_prefix&;t t
931 s&@srcdir@&$ac_srcdir&;t t
932 s&@abs_srcdir@&$ac_abs_srcdir&;t t
933 s&@top_srcdir@&$ac_top_srcdir&;t t
934 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
935 s&@builddir@&$ac_builddir&;t t
936 s&@abs_builddir@&$ac_abs_builddir&;t t
937 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
938 s&@INSTALL@&$ac_INSTALL&;t t
939 $ac_datarootdir_hack
940 "
941 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
942   || as_fn_error "could not create $ac_file" "$LINENO" 5
943
944 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
945   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
946   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
947   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
948 which seems to be undefined.  Please make sure it is defined." >&5
949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
950 which seems to be undefined.  Please make sure it is defined." >&2;}
951
952   rm -f "$tmp/stdin"
953   case $ac_file in
954   -) cat "$tmp/out" && rm -f "$tmp/out";;
955   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
956   esac \
957   || as_fn_error "could not create $ac_file" "$LINENO" 5
958  ;;
959
960
961
962   esac
963
964
965   case $ac_file$ac_mode in
966     "sbin/rt-dump-database":F) chmod ug+x $ac_file
967                 ;;
968     "sbin/rt-setup-database":F) chmod ug+x $ac_file
969                 ;;
970     "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
971                 ;;
972     "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
973                 ;;
974     "bin/mason_handler.scgi":F) chmod ug+x $ac_file
975                 ;;
976     "bin/standalone_httpd":F) chmod ug+x $ac_file
977                 ;;
978     "bin/rt-crontool":F) chmod ug+x $ac_file
979                 ;;
980     "bin/rt-mailgate":F) chmod ug+x $ac_file
981                 ;;
982     "bin/rt":F) chmod ug+x $ac_file
983                 ;;
984
985   esac
986 done # for ac_tag
987
988
989 as_fn_exit 0