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.
11 SHELL=${CONFIG_SHELL-/bin/bash}
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
139 # ----------------------------------------
140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142 # script with STATUS, using 1 if that was 0.
145 as_status=$1; test $as_status -eq 0 && as_status=1
147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
150 $as_echo "$as_me: error: $2" >&2
151 as_fn_exit $as_status
155 # as_fn_set_status STATUS
156 # -----------------------
157 # Set $? to STATUS, without forking.
165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
175 # Portably unset VAR.
178 { eval $1=; unset $1;}
181 # as_fn_append VAR VALUE
182 # ----------------------
183 # Append the text in VALUE to the end of the definition contained in VAR. Take
184 # advantage of any shell optimizations that allow amortized linear growth over
185 # repeated appends, instead of the typical quadratic growth present in naive
187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188 eval 'as_fn_append ()
201 # Perform arithmetic evaluation on the ARGs, and store the result in the
202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
203 # must be portable across $(()) and expr.
204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
212 as_val=`expr "$@" || test $? -eq 1`
217 if expr a : '\(a\)' >/dev/null 2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
236 as_me=`$as_basename -- "$0" ||
237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238 X"$0" : 'X\(//\)$' \| \
239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
241 sed '/^.*\/\([^/][^/]*\)\/*$/{
255 # Avoid depending upon Character Ranges.
256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259 as_cr_digits='0123456789'
260 as_cr_alnum=$as_cr_Letters$as_cr_digits
262 ECHO_C= ECHO_N= ECHO_T=
263 case `echo -n x` in #(((((
265 case `echo 'xy\c'` in
266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
275 rm -f conf$$ conf$$.exe conf$$.file
276 if test -d conf$$.dir; then
277 rm -f conf$$.dir/conf$$.file
280 mkdir conf$$.dir 2>/dev/null
282 if (echo >conf$$.file) 2>/dev/null; then
283 if ln -s conf$$.file conf$$ 2>/dev/null; then
285 # ... but there are two gotchas:
286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288 # In both cases, we have to default to `cp -p'.
289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
291 elif ln conf$$.file conf$$ 2>/dev/null; then
299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300 rmdir conf$$.dir 2>/dev/null
305 # Create "$as_dir" as a directory, including parents if necessary.
310 -*) as_dir=./$as_dir;;
312 test -d "$as_dir" || eval $as_mkdir_p || {
316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
319 as_dirs="'$as_qdir' $as_dirs"
320 as_dir=`$as_dirname -- "$as_dir" ||
321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322 X"$as_dir" : 'X\(//\)[^/]' \| \
323 X"$as_dir" : 'X\(//\)$' \| \
324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325 $as_echo X"$as_dir" |
326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343 test -d "$as_dir" && break
345 test -z "$as_dirs" || eval "mkdir $as_dirs"
346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
350 if mkdir -p . 2>/dev/null; then
351 as_mkdir_p='mkdir -p "$as_dir"'
353 test -d ./-p && rmdir ./-p
357 if test -x / >/dev/null 2>&1; then
360 if ls -dL / >/dev/null 2>&1; then
367 if test -d "$1"; then
373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374 ???[sx]*):;;*)false;;esac;fi
378 as_executable_p=$as_test_x
380 # Sed expression to map a string onto a valid CPP name.
381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
383 # Sed expression to map a string onto a valid variable name.
384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
388 ## ----------------------------------- ##
389 ## Main body of $CONFIG_STATUS script. ##
390 ## ----------------------------------- ##
391 # Save the log message, to keep $0 and so on meaningful, and to
392 # report actual input values of CONFIG_FILES etc. instead of their
393 # values after options handling.
395 This file was extended by RT $as_me rt-4.0.5, which was
396 generated by GNU Autoconf 2.68. Invocation command line was
398 CONFIG_FILES = $CONFIG_FILES
399 CONFIG_HEADERS = $CONFIG_HEADERS
400 CONFIG_LINKS = $CONFIG_LINKS
401 CONFIG_COMMANDS = $CONFIG_COMMANDS
404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
407 # Files that config.status was made for.
408 config_files=" etc/upgrade/3.8-branded-queues-extension etc/upgrade/3.8-ical-extension etc/upgrade/split-out-cf-categories etc/upgrade/generate-rtaddressregexp etc/upgrade/upgrade-articles etc/upgrade/vulnerable-passwords sbin/rt-attributes-viewer sbin/rt-preferences-viewer sbin/rt-session-viewer sbin/rt-dump-metadata sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-email-group-admin sbin/rt-server sbin/rt-server.fcgi sbin/standalone_httpd sbin/rt-setup-fulltext-index sbin/rt-fulltext-indexer bin/rt-crontool bin/rt-mailgate bin/rt Makefile etc/RT_Config.pm lib/RT/Generated.pm t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
411 \`$as_me' instantiates files and other configuration actions
412 from templates according to the current configuration. Unless the files
413 and actions are specified as TAGs, all are instantiated by default.
415 Usage: $0 [OPTION]... [TAG]...
417 -h, --help print this help, then exit
418 -V, --version print version number and configuration settings, then exit
419 --config print configuration, then exit
420 -q, --quiet, --silent
421 do not print progress messages
422 -d, --debug don't remove temporary files
423 --recheck update $as_me by reconfiguring in the same conditions
424 --file=FILE[:TEMPLATE]
425 instantiate the configuration file FILE
430 Report bugs to <rt-bugs@bestpractical.com>."
432 ac_cs_config="'--enable-layout=Freeside' '--with-db-type=Pg' '--with-db-dba=freeside' '--with-db-database=freeside' '--with-db-rt-user=freeside' '--with-db-rt-pass=' '--with-web-user=freeside' '--with-web-group=freeside' '--with-rt-group=freeside' '--with-web-handler=modperl2'"
434 RT config.status rt-4.0.5
435 configured by ./configure, generated by GNU Autoconf 2.68,
436 with options \"$ac_cs_config\"
438 Copyright (C) 2010 Free Software Foundation, Inc.
439 This config.status script is free software; the Free Software Foundation
440 gives unlimited permission to copy, distribute and modify it."
442 ac_pwd='/home/ivan/freeside_rt4/rt'
444 INSTALL='/usr/bin/install -c'
445 test -n "$AWK" || AWK=awk
446 # The default lists apply if the user does not specify any file.
452 ac_option=`expr "X$1" : 'X\([^=]*\)='`
453 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
469 # Handling of the options.
470 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
472 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
473 $as_echo "$ac_cs_version"; exit ;;
474 --config | --confi | --conf | --con | --co | --c )
475 $as_echo "$ac_cs_config"; exit ;;
476 --debug | --debu | --deb | --de | --d | -d )
478 --file | --fil | --fi | --f )
481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
482 '') as_fn_error $? "missing file argument" ;;
484 as_fn_append CONFIG_FILES " '$ac_optarg'"
485 ac_need_defaults=false;;
486 --he | --h | --help | --hel | -h )
487 $as_echo "$ac_cs_usage"; exit ;;
488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
489 | -silent | --silent | --silen | --sile | --sil | --si | --s)
493 -*) as_fn_error $? "unrecognized option: \`$1'
494 Try \`$0 --help' for more information." ;;
496 *) as_fn_append ac_config_targets " $1"
497 ac_need_defaults=false ;;
503 ac_configure_extra_args=
505 if $ac_cs_silent; then
507 ac_configure_extra_args="$ac_configure_extra_args --silent"
510 if $ac_cs_recheck; then
511 set X '/bin/bash' './configure' '--enable-layout=Freeside' '--with-db-type=Pg' '--with-db-dba=freeside' '--with-db-database=freeside' '--with-db-rt-user=freeside' '--with-db-rt-pass=' '--with-web-user=freeside' '--with-web-group=freeside' '--with-rt-group=freeside' '--with-web-handler=modperl2' $ac_configure_extra_args --no-create --no-recursion
513 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
514 CONFIG_SHELL='/bin/bash'
522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
523 ## Running $as_me. ##
529 # Handling of arguments.
530 for ac_config_target in $ac_config_targets
532 case $ac_config_target in
533 "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
534 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
535 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
536 "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
537 "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;;
538 "etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
539 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
540 "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;;
541 "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;;
542 "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;;
543 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
544 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
545 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
546 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
547 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
548 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
549 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
550 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
551 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
552 "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
553 "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
554 "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
555 "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
556 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
557 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
558 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
559 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
560 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
561 "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
562 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
563 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
565 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
570 # If the user did not use the arguments to specify the items to instantiate,
571 # then the envvar interface is used. Set only those that are not.
572 # We use the long form for the default assignment because of an extremely
573 # bizarre bug on SunOS 4.1.3.
574 if $ac_need_defaults; then
575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
578 # Have a temporary directory for convenience. Make it in the build tree
579 # simply because there is no reason against having it here, and in addition,
580 # creating and moving files from /tmp can sometimes cause problems.
581 # Hook for its removal unless debugging.
582 # Note that there is a small window in which the directory will not be cleaned:
583 # after its creation but before its name has been assigned to `$tmp'.
589 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
591 trap 'as_fn_exit 1' 1 2 13 15
593 # Create a (secure) tmp directory for tmp files.
596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
601 (umask 077 && mkdir "$tmp")
602 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
605 # Set up the scripts for CONFIG_FILES section.
606 # No need to generate them if there are no CONFIG_FILES.
607 # This happens for instance with `./config.status config.h'.
608 if test -n "$CONFIG_FILES"; then
611 ac_cr=`echo X | tr X '\015'`
612 # On cygwin, bash can eat \r inside `` if the user requested igncr.
613 # But we know of no other shell where ac_cr would be empty at this
614 # point, so we can use a bashism as a fallback.
615 if test "x$ac_cr" = x; then
618 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
619 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
626 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
629 S["RT_LOG_PATH_R"]="/opt/rt3/var/log"
630 S["LOCAL_PLUGIN_PATH_R"]="/opt/rt3/local/plugins"
631 S["LOCAL_LIB_PATH_R"]="/opt/rt3/local/lib"
632 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
633 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
634 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
635 S["MASON_HTML_PATH_R"]="/var/www/freeside/rt"
636 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
637 S["MASON_DATA_PATH_R"]="/usr/local/etc/freeside/masondata"
638 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
639 S["RT_LEXICON_PATH_R"]="/opt/rt3/share/po"
640 S["RT_FONT_PATH_R"]="/opt/rt3/share/fonts"
641 S["RT_MAN_PATH_R"]="/opt/rt3/man"
642 S["RT_VAR_PATH_R"]="/opt/rt3/var"
643 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
644 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
645 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
646 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
647 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
648 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
649 S["RT_DOC_PATH_R"]="/opt/rt3/docs"
650 S["RT_PATH_R"]="/opt/rt3"
651 S["RT_LOG_PATH"]="/opt/rt3/var/log"
652 S["LOCAL_PLUGIN_PATH"]="/opt/rt3/local/plugins"
653 S["LOCAL_LIB_PATH"]="/opt/rt3/local/lib"
654 S["LOCAL_LEXICON_PATH"]="/opt/rt3/local/po"
655 S["MASON_LOCAL_HTML_PATH"]="/opt/rt3/local/html"
656 S["LOCAL_ETC_PATH"]="/opt/rt3/local/etc"
657 S["MASON_HTML_PATH"]="/var/www/freeside/rt"
658 S["MASON_SESSION_PATH"]="/opt/rt3/var/session_data"
659 S["MASON_DATA_PATH"]="/usr/local/etc/freeside/masondata"
660 S["RT_PLUGIN_PATH"]="/opt/rt3/plugins"
661 S["RT_FONT_PATH"]="/opt/rt3/share/fonts"
662 S["RT_MAN_PATH"]="/opt/rt3/man"
663 S["RT_VAR_PATH"]="/opt/rt3/var"
664 S["RT_SBIN_PATH"]="/opt/rt3/sbin"
665 S["RT_BIN_PATH"]="/opt/rt3/bin"
666 S["CONFIG_FILE_PATH"]="/opt/rt3/etc"
667 S["RT_ETC_PATH"]="/opt/rt3/etc"
668 S["RT_LEXICON_PATH"]="/opt/rt3/share/po"
669 S["RT_LIB_PATH"]="/opt/rt3/lib"
670 S["RT_LOCAL_PATH"]="/opt/rt3/local"
671 S["RT_DOC_PATH"]="/opt/rt3/docs"
672 S["RT_PATH"]="/opt/rt3"
673 S["RT_VERSION_PATCH"]="5"
674 S["RT_VERSION_MINOR"]="0"
675 S["RT_VERSION_MAJOR"]="4"
676 S["RT_SSL_MAILGATE"]="0"
687 S["RT_DEVEL_MODE"]="0"
688 S["APACHECTL"]="/usr/sbin/apachectl"
689 S["RTGROUP"]="freeside"
690 S["WEB_GROUP"]="freeside"
691 S["WEB_USER"]="freeside"
693 S["DB_RT_USER"]="freeside"
694 S["DB_DATABASE"]="freeside"
695 S["DB_DBA"]="freeside"
696 S["DB_RT_HOST"]="localhost"
698 S["DB_HOST"]="localhost"
699 S["DATABASE_ENV_PREF"]=""
701 S["LIBS_GROUP"]="bin"
702 S["LIBS_OWNER"]="root"
703 S["BIN_OWNER"]="root"
704 S["COMMENT_INPLACE_LAYOUT"]=""
705 S["rt_layout_name"]="Freeside"
706 S["exp_customlibdir"]="/opt/rt3/local/lib"
707 S["customlibdir"]="/opt/rt3/local/lib"
708 S["exp_customlexdir"]="/opt/rt3/local/po"
709 S["customlexdir"]="/opt/rt3/local/po"
710 S["exp_customhtmldir"]="/opt/rt3/local/html"
711 S["customhtmldir"]="/opt/rt3/local/html"
712 S["exp_customplugindir"]="/opt/rt3/local/plugins"
713 S["customplugindir"]="/opt/rt3/local/plugins"
714 S["exp_custometcdir"]="/opt/rt3/local/etc"
715 S["custometcdir"]="/opt/rt3/local/etc"
716 S["exp_customdir"]="/opt/rt3/local"
717 S["customdir"]="/opt/rt3/local"
718 S["exp_sessionstatedir"]="/opt/rt3/var/session_data"
719 S["sessionstatedir"]="/opt/rt3/var/session_data"
720 S["exp_masonstatedir"]="/usr/local/etc/freeside/masondata"
721 S["masonstatedir"]="/usr/local/etc/freeside/masondata"
722 S["exp_logfiledir"]="/opt/rt3/var/log"
723 S["logfiledir"]="/opt/rt3/var/log"
724 S["exp_localstatedir"]="/opt/rt3/var"
725 S["exp_plugindir"]="/opt/rt3/plugins"
726 S["plugindir"]="/opt/rt3/plugins"
727 S["exp_manualdir"]="/opt/rt3/docs"
728 S["manualdir"]="/opt/rt3/docs"
729 S["exp_fontdir"]="/opt/rt3/share/fonts"
730 S["fontdir"]="/opt/rt3/share/fonts"
731 S["exp_htmldir"]="/var/www/freeside/rt"
732 S["exp_datadir"]="/opt/rt3/share"
733 S["exp_lexdir"]="/opt/rt3/share/po"
734 S["lexdir"]="/opt/rt3/share/po"
735 S["exp_libdir"]="/opt/rt3/lib"
736 S["exp_mandir"]="/opt/rt3/man"
737 S["exp_sysconfdir"]="/opt/rt3/etc"
738 S["exp_sbindir"]="/opt/rt3/sbin"
739 S["exp_bindir"]="/opt/rt3/bin"
740 S["exp_exec_prefix"]="/opt/rt3"
741 S["exp_prefix"]="/opt/rt3"
742 S["WEB_HANDLER"]="modperl2"
743 S["PERL"]="/usr/bin/perl"
744 S["INSTALL_DATA"]="${INSTALL} -m 644"
745 S["INSTALL_SCRIPT"]="${INSTALL}"
746 S["INSTALL_PROGRAM"]="${INSTALL}"
747 S["rt_version_patch"]="5"
748 S["rt_version_minor"]="0"
749 S["rt_version_major"]="4"
750 S["CONFIGURE_INCANT"]="./configure --enable-layout=Freeside --with-db-type=Pg --with-db-dba=freeside --with-db-database=freeside --with-db-rt-user=freeside --with-db-rt-pa"\
751 "ss= --with-web-user=freeside --with-web-group=freeside --with-rt-group=freeside --with-web-handler=modperl2"
759 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"rt-4.0.5\\\" -DPACKAGE_STRING=\\\"RT\\ rt-4.0.5\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpr"\
760 "actical.com\\\" -DPACKAGE_URL=\\\"\\\""
761 S["mandir"]="/opt/rt3/man"
762 S["localedir"]="${datarootdir}/locale"
763 S["libdir"]="/opt/rt3/lib"
764 S["psdir"]="${docdir}"
765 S["pdfdir"]="${docdir}"
766 S["dvidir"]="${docdir}"
767 S["htmldir"]="/var/www/freeside/rt"
768 S["infodir"]="${datarootdir}/info"
769 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
770 S["oldincludedir"]="/usr/include"
771 S["includedir"]="${prefix}/include"
772 S["localstatedir"]="/opt/rt3/var"
773 S["sharedstatedir"]="${prefix}/com"
774 S["sysconfdir"]="/opt/rt3/etc"
775 S["datadir"]="/opt/rt3/share"
776 S["datarootdir"]="${prefix}/share"
777 S["libexecdir"]="${exec_prefix}/libexec"
778 S["sbindir"]="/opt/rt3/sbin"
779 S["bindir"]="/opt/rt3/bin"
780 S["program_transform_name"]="s,x,x,"
781 S["prefix"]="/opt/rt3"
782 S["exec_prefix"]="/opt/rt3"
784 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
785 S["PACKAGE_STRING"]="RT rt-4.0.5"
786 S["PACKAGE_VERSION"]="rt-4.0.5"
787 S["PACKAGE_TARNAME"]="rt"
788 S["PACKAGE_NAME"]="RT"
789 S["PATH_SEPARATOR"]=":"
790 S["SHELL"]="/bin/bash"
792 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
793 for (key in S) S_is_set[key] = 1
799 nfields = split(line, field, "@")
801 len = length(field[1])
802 for (i = 2; i < nfields; i++) {
807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
808 len += length(value) + length(field[++i])
818 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
819 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
822 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
823 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
824 fi # test -n "$CONFIG_FILES"
827 eval set X " :F $CONFIG_FILES "
832 :[FHLC]) ac_mode=$ac_tag; continue;;
834 case $ac_mode$ac_tag in
836 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
838 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
855 -) ac_f="$ac_tmp/stdin";;
856 *) # Look for the file first in the build tree, then in the source tree
857 # (if the path is not absolute). The absolute path cannot be DOS-style,
858 # because $ac_f cannot contain `:'.
862 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
864 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
866 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
867 as_fn_append ac_file_inputs " '$ac_f'"
870 # Let's still pretend it is `configure' which instantiates (i.e., don't
871 # use $as_me), people would be surprised to read:
872 # /* config.h. Generated by config.status. */
873 configure_input='Generated from '`
874 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
876 if test x"$ac_file" != x-; then
877 configure_input="$ac_file. $configure_input"
878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
879 $as_echo "$as_me: creating $ac_file" >&6;}
881 # Neutralize special characters interpreted by sed in replacement strings.
882 case $configure_input in #(
884 ac_sed_conf_input=`$as_echo "$configure_input" |
885 sed 's/[\\\\&|]/\\\\&/g'`;; #(
886 *) ac_sed_conf_input=$configure_input;;
890 *:-:* | *:-) cat >"$ac_tmp/stdin" \
891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
896 ac_dir=`$as_dirname -- "$ac_file" ||
897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
898 X"$ac_file" : 'X\(//\)[^/]' \| \
899 X"$ac_file" : 'X\(//\)$' \| \
900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
901 $as_echo X"$ac_file" |
902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
919 as_dir="$ac_dir"; as_fn_mkdir_p
923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
925 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
926 # A ".." for each directory in $ac_dir_suffix.
927 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
928 case $ac_top_builddir_sub in
929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
933 ac_abs_top_builddir=$ac_pwd
934 ac_abs_builddir=$ac_pwd$ac_dir_suffix
935 # for backward compatibility:
936 ac_top_builddir=$ac_top_build_prefix
939 .) # We are building in place.
941 ac_top_srcdir=$ac_top_builddir_sub
942 ac_abs_top_srcdir=$ac_pwd ;;
943 [\\/]* | ?:[\\/]* ) # Absolute name.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir
946 ac_abs_top_srcdir=$srcdir ;;
948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
949 ac_top_srcdir=$ac_top_build_prefix$srcdir
950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
962 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
963 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
965 # If the template does not know about datarootdir, expand it.
966 # FIXME: This hack should be removed a few years after 2.60.
967 ac_datarootdir_hack=; ac_datarootdir_seen=
978 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
979 *datarootdir*) ac_datarootdir_seen=yes;;
980 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
982 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
983 ac_datarootdir_hack='
984 s&@datadir@&/opt/rt3/share&g
985 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
986 s&@infodir@&${datarootdir}/info&g
987 s&@localedir@&${datarootdir}/locale&g
988 s&@mandir@&/opt/rt3/man&g
989 s&\${datarootdir}&${prefix}/share&g' ;;
991 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1009 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1010 s|@configure_input@|$ac_sed_conf_input|;t t
1011 s&@top_builddir@&$ac_top_builddir_sub&;t t
1012 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1013 s&@srcdir@&$ac_srcdir&;t t
1014 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1015 s&@top_srcdir@&$ac_top_srcdir&;t t
1016 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1017 s&@builddir@&$ac_builddir&;t t
1018 s&@abs_builddir@&$ac_abs_builddir&;t t
1019 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1020 s&@INSTALL@&$ac_INSTALL&;t t
1021 $ac_datarootdir_hack
1023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1024 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1027 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1029 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1031 which seems to be undefined. Please make sure it is defined" >&5
1032 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1033 which seems to be undefined. Please make sure it is defined" >&2;}
1035 rm -f "$ac_tmp/stdin"
1037 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1038 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1048 case $ac_file$ac_mode in
1049 "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
1051 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1053 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1055 "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
1057 "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
1059 "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
1061 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1063 "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
1065 "sbin/rt-session-viewer":F) chmod ug+x $ac_file
1067 "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
1069 "sbin/rt-setup-database":F) chmod ug+x $ac_file
1071 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
1073 "sbin/rt-email-digest":F) chmod ug+x $ac_file
1075 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1077 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1079 "sbin/rt-shredder":F) chmod ug+x $ac_file
1081 "sbin/rt-validator":F) chmod ug+x $ac_file
1083 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1085 "sbin/rt-server":F) chmod ug+x $ac_file
1087 "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
1089 "sbin/standalone_httpd":F) chmod ug+x $ac_file
1091 "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
1093 "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
1095 "bin/rt-crontool":F) chmod ug+x $ac_file
1097 "bin/rt-mailgate":F) chmod ug+x $ac_file
1099 "bin/rt":F) chmod ug+x $ac_file