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.
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
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
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
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
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 \
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; 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
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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
138 test -z "$as_dir" && as_dir=.
139 for as_base in sh bash ksh sh5; do
142 if ("$as_dir/$as_base" -c '
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
152 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
173 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
176 s,^['$as_cr_digits']*\n,,
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).
187 # Exit status is that of the last command.
192 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193 *c*,-n*) ECHO_N= ECHO_C='
195 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
199 if expr a : '\(a\)' >/dev/null 2>&1; then
205 rm -f conf$$ conf$$.exe 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
216 elif ln conf$$.file conf$$ 2>/dev/null; then
221 rm -f conf$$ conf$$.exe conf$$.file
223 if mkdir -p . 2>/dev/null; then
226 test -d ./-p && rmdir ./-p
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'"
240 # We need space, tab and new line, in precisely that order.
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 <<<<<<< config.status
253 # values after options handling. Logging --version etc. is OK.
257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
258 ## Running $as_me. ##
263 This file was extended by RT $as_me 3.6.6, which was
264 generated by GNU Autoconf 2.59. Invocation command line was
266 # values after options handling.
268 This file was extended by RT $as_me 3.8.7, which was
269 generated by GNU Autoconf 2.64. Invocation command line was
272 CONFIG_FILES = $CONFIG_FILES
273 CONFIG_HEADERS = $CONFIG_HEADERS
274 CONFIG_LINKS = $CONFIG_LINKS
275 CONFIG_COMMANDS = $CONFIG_COMMANDS
278 on `(hostname || uname -n) 2>/dev/null | sed 1q`
281 # Files that config.status was made for.
282 config_files=" etc/upgrade/3.8-branded-queues-extension etc/upgrade/3.8-ical-extension etc/upgrade/split-out-cf-categories sbin/rt-attributes-viewer sbin/rt-dump-database 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 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 t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
285 \`$as_me' instantiates files from templates according to the
286 current configuration.
288 Usage: $0 [OPTIONS] [FILE]...
290 -h, --help print this help, then exit
291 -V, --version print version number, then exit
292 -q, --quiet do not print progress messages
293 -d, --debug don't remove temporary files
294 --recheck update $as_me by reconfiguring in the same conditions
295 --file=FILE[:TEMPLATE]
296 instantiate the configuration file FILE
301 Report bugs to <bug-autoconf@gnu.org>."
303 <<<<<<< config.status
304 RT config.status 3.6.6
305 configured by ./configure, generated by GNU Autoconf 2.59,
306 with options \"'--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'\"
308 RT config.status 3.8.7
309 configured by ./configure, generated by GNU Autoconf 2.64,
310 with options \"'--with-db-type=SQLite' '--enable-layout=relative' '--with-web-handler=standalone' 'PERL=/usr/bin/perl'\"
313 Copyright (C) 2003 Free Software Foundation, Inc.
314 This config.status script is free software; the Free Software Foundation
315 gives unlimited permission to copy, distribute and modify it."
317 ac_pwd='/Users/falcone/work/rt/releases/rt-3.8.7'
321 test -n "$AWK" || AWK=awk
322 # The default lists apply if the user does not specify any file.
328 ac_option=`expr "x$1" : 'x\([^=]*\)='`
329 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
337 *) # This is not an option, so the user has probably given explicit
340 ac_need_defaults=false;;
344 # Handling of the options.
345 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
347 --version | --vers* | -V )
348 echo "$ac_cs_version"; exit 0 ;;
350 # Conflict between --help and --header
351 { { echo "$as_me:$LINENO: error: ambiguous option: $1
352 Try \`$0 --help' for more information." >&5
353 echo "$as_me: error: ambiguous option: $1
354 Try \`$0 --help' for more information." >&2;}
355 { (exit 1); exit 1; }; };;
356 --help | --hel | -h )
357 echo "$ac_cs_usage"; exit 0 ;;
358 --debug | --d* | -d )
360 --file | --fil | --fi | --f )
362 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
363 ac_need_defaults=false;;
364 --header | --heade | --head | --hea )
366 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
367 ac_need_defaults=false;;
368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
369 | -silent | --silent | --silen | --sile | --sil | --si | --s)
373 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
374 Try \`$0 --help' for more information." >&5
375 echo "$as_me: error: unrecognized option: $1
376 Try \`$0 --help' for more information." >&2;}
377 { (exit 1); exit 1; }; } ;;
379 *) ac_config_targets="$ac_config_targets $1" ;;
385 ac_configure_extra_args=
387 if $ac_cs_silent; then
389 ac_configure_extra_args="$ac_configure_extra_args --silent"
392 if $ac_cs_recheck; then
393 set X '/bin/sh' './configure' '--with-db-type=SQLite' '--enable-layout=relative' '--with-web-handler=standalone' 'PERL=/usr/bin/perl' $ac_configure_extra_args --no-create --no-recursion
395 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
396 CONFIG_SHELL='/bin/sh'
401 for ac_config_target in $ac_config_targets
403 case $ac_config_target in
404 "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
405 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
406 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
407 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
408 "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
409 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
410 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
411 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
412 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
413 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
414 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
415 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
416 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
417 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
418 "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
419 "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
420 "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
421 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
422 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
423 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
424 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
425 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
426 "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
427 "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
428 "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
429 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
430 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
432 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
436 # If the user did not use the arguments to specify the items to instantiate,
437 # then the envvar interface is used. Set only those that are not.
438 # We use the long form for the default assignment because of an extremely
439 # bizarre bug on SunOS 4.1.3.
440 if $ac_need_defaults; then
441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
444 # Have a temporary directory for convenience. Make it in the build tree
445 # simply because there is no reason to put it here, and in addition,
446 # creating and moving files from /tmp can sometimes cause problems.
447 # Create a temporary directory, and hook for its removal unless debugging.
450 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
451 trap '{ (exit 1); exit 1; }' 1 2 13 15
454 # Create a (secure) tmp directory for tmp files.
457 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
458 test -n "$tmp" && test -d "$tmp"
462 (umask 077 && mkdir "$tmp")
463 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
465 # Set up the scripts for CONFIG_FILES section.
466 # No need to generate them if there are no CONFIG_FILES.
467 # This happens for instance with `./config.status config.h'.
468 if test -n "$CONFIG_FILES"; then
471 ac_cr=`echo X | tr X '\015'`
472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
473 # But we know of no other shell where ac_cr would be empty at this
474 # point, so we can use a bashism as a fallback.
475 if test "x$ac_cr" = x; then
478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
485 echo 'BEGIN {' >"$tmp/subs1.awk" &&
486 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
489 S["RT_LOG_PATH_R"]="/opt/rt3/var/log"
490 S["LOCAL_LIB_PATH_R"]="/opt/rt3/local/lib"
491 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
492 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
493 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
494 S["MASON_HTML_PATH_R"]="/opt/rt3/share/html"
495 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
496 S["MASON_DATA_PATH_R"]="/opt/rt3/var/mason_data"
497 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
498 S["RT_MAN_PATH_R"]="/opt/rt3/man"
499 S["RT_VAR_PATH_R"]="/opt/rt3/var"
500 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
501 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
502 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
503 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
504 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
505 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
506 S["RT_DOC_PATH_R"]="/opt/rt3/share/doc"
507 S["RT_PATH_R"]="/opt/rt3"
508 S["RT_LOG_PATH"]="var/log"
509 S["LOCAL_LIB_PATH"]="local/lib"
510 S["LOCAL_LEXICON_PATH"]="local/po"
511 S["MASON_LOCAL_HTML_PATH"]="local/html"
512 S["LOCAL_ETC_PATH"]="local/etc"
513 S["MASON_HTML_PATH"]="share/html"
514 S["MASON_SESSION_PATH"]="var/session_data"
515 S["MASON_DATA_PATH"]="var/mason_data"
516 S["RT_PLUGIN_PATH"]="plugins"
517 S["RT_MAN_PATH"]="man"
518 S["RT_VAR_PATH"]="var"
519 S["RT_SBIN_PATH"]="sbin"
520 S["RT_BIN_PATH"]="bin"
521 S["CONFIG_FILE_PATH"]="etc"
522 S["RT_ETC_PATH"]="etc"
523 S["RT_LIB_PATH"]="lib"
524 S["RT_LOCAL_PATH"]="local"
525 S["RT_DOC_PATH"]="share/doc"
526 S["RT_PATH"]="/opt/rt3"
527 S["RT_VERSION_PATCH"]="7"
528 S["RT_VERSION_MINOR"]="8"
529 S["RT_VERSION_MAJOR"]="3"
540 S["RT_DEVEL_MODE"]="0"
541 S["APACHECTL"]="/usr/sbin/apachectl"
545 S["DB_RT_PASS"]="rt_pass"
546 S["DB_RT_USER"]="rt_user"
547 S["DB_DATABASE"]="rt3"
549 S["DB_RT_HOST"]="localhost"
551 S["DB_HOST"]="localhost"
552 S["DATABASE_ENV_PREF"]=""
553 S["DB_TYPE"]="SQLite"
554 S["LIBS_GROUP"]="bin"
555 S["LIBS_OWNER"]="root"
556 S["BIN_OWNER"]="root"
557 S["COMMENT_INPLACE_LAYOUT"]=""
558 S["rt_layout_name"]="relative"
559 S["exp_customlibdir"]="local/lib"
560 S["customlibdir"]="local/lib"
561 S["exp_customlexdir"]="local/po"
562 S["customlexdir"]="local/po"
563 S["exp_customhtmldir"]="local/html"
564 S["customhtmldir"]="local/html"
565 S["exp_custometcdir"]="local/etc"
566 S["custometcdir"]="local/etc"
567 S["exp_customdir"]="local"
568 S["customdir"]="local"
569 S["exp_sessionstatedir"]="var/session_data"
570 S["sessionstatedir"]="var/session_data"
571 S["exp_masonstatedir"]="var/mason_data"
572 S["masonstatedir"]="var/mason_data"
573 S["exp_logfiledir"]="var/log"
574 S["logfiledir"]="var/log"
575 S["exp_localstatedir"]="var"
576 S["exp_plugindir"]="plugins"
577 S["plugindir"]="plugins"
578 S["exp_manualdir"]="share/doc"
579 S["manualdir"]="share/doc"
580 S["exp_htmldir"]="share/html"
581 S["exp_datadir"]="share"
582 S["exp_libdir"]="lib"
583 S["exp_mandir"]="man"
584 S["exp_sysconfdir"]="etc"
585 S["exp_sbindir"]="sbin"
586 S["exp_bindir"]="bin"
587 S["exp_exec_prefix"]="/opt/rt3"
588 S["exp_prefix"]="/opt/rt3"
589 S["SPEEDY_BIN"]="/usr/local/bin/speedy"
590 S["WEB_HANDLER"]="standalone"
591 S["PERL"]="/usr/bin/perl"
593 S["INSTALL_DATA"]="${INSTALL} -m 644"
594 S["INSTALL_SCRIPT"]="${INSTALL}"
595 S["INSTALL_PROGRAM"]="${INSTALL}"
596 S["rt_version_patch"]="7"
597 S["rt_version_minor"]="8"
598 S["rt_version_major"]="3"
606 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"3.8.7\\\" -DPACKAGE_STRING=\\\"RT\\ 3.8.7\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpractica"\
607 "l.com\\\" -DPACKAGE_URL=\\\"\\\""
609 S["localedir"]="${datarootdir}/locale"
611 S["psdir"]="${docdir}"
612 S["pdfdir"]="${docdir}"
613 S["dvidir"]="${docdir}"
614 S["htmldir"]="share/html"
615 S["infodir"]="${datarootdir}/info"
616 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
617 S["oldincludedir"]="/usr/include"
618 S["includedir"]="${prefix}/include"
619 S["localstatedir"]="var"
620 S["sharedstatedir"]="${prefix}/com"
621 S["sysconfdir"]="etc"
623 S["datarootdir"]="${prefix}/share"
624 S["libexecdir"]="${exec_prefix}/libexec"
627 S["program_transform_name"]="s,x,x,"
628 S["prefix"]="/opt/rt3"
629 S["exec_prefix"]="/opt/rt3"
631 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
632 S["PACKAGE_STRING"]="RT 3.8.7"
633 S["PACKAGE_VERSION"]="3.8.7"
634 S["PACKAGE_TARNAME"]="rt"
635 S["PACKAGE_NAME"]="RT"
636 S["PATH_SEPARATOR"]=":"
639 cat >>"$tmp/subs1.awk" <<_ACAWK &&
640 for (key in S) S_is_set[key] = 1
645 echo "$me: cannot create a temporary directory in ." >&2
646 { (exit 1); exit 1; }
651 # CONFIG_FILES section.
654 # No need to generate the scripts if there are no CONFIG_FILES.
655 # This happens for instance when ./config.status config.h
656 if test -n "$CONFIG_FILES"; then
657 # Protect against being on the right side of a sed subst in config.status.
658 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
659 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
660 s,@SHELL@,/bin/sh,;t t
661 s,@PATH_SEPARATOR@,:,;t t
662 s,@PACKAGE_NAME@,RT,;t t
663 s,@PACKAGE_TARNAME@,rt,;t t
664 s,@PACKAGE_VERSION@,3.6.6,;t t
665 s,@PACKAGE_STRING@,RT 3.6.6,;t t
666 s,@PACKAGE_BUGREPORT@,rt-bugs@bestpractical.com,;t t
667 s,@exec_prefix@,/opt/rt3,;t t
668 s,@prefix@,/opt/rt3,;t t
669 s,@program_transform_name@,s,x,x,,;t t
670 s,@bindir@,/opt/rt3/bin,;t t
671 s,@sbindir@,/opt/rt3/sbin,;t t
672 s,@libexecdir@,${exec_prefix}/libexec,;t t
673 s,@datadir@,/opt/rt3/share,;t t
674 s,@sysconfdir@,/opt/rt3/etc,;t t
675 s,@sharedstatedir@,${prefix}/com,;t t
676 s,@localstatedir@,/opt/rt3/var,;t t
677 s,@libdir@,/opt/rt3/lib,;t t
678 s,@includedir@,${prefix}/include,;t t
679 s,@oldincludedir@,/usr/include,;t t
680 s,@infodir@,${prefix}/info,;t t
681 s,@mandir@,/opt/rt3/man,;t t
682 s,@build_alias@,,;t t
684 s,@target_alias@,,;t t
685 s,@DEFS@,-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" -DPACKAGE_VERSION=\"3.6.6\" -DPACKAGE_STRING=\"RT\ 3.6.6\" -DPACKAGE_BUGREPORT=\"rt-bugs@bestpractical.com\" ,;t t
690 s,@rt_version_major@,3,;t t
691 s,@rt_version_minor@,6,;t t
692 s,@rt_version_patch@,6,;t t
693 s,@INSTALL_PROGRAM@,${INSTALL},;t t
694 s,@INSTALL_SCRIPT@,${INSTALL},;t t
695 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
697 s,@PERL@,/usr/bin/perl,;t t
698 s,@SPEEDY_BIN@,/usr/local/bin/speedy,;t t
699 s,@exp_prefix@,/opt/rt3,;t t
700 s,@exp_exec_prefix@,/opt/rt3,;t t
701 s,@exp_bindir@,/opt/rt3/bin,;t t
702 s,@exp_sbindir@,/opt/rt3/sbin,;t t
703 s,@exp_sysconfdir@,/opt/rt3/etc,;t t
704 s,@exp_mandir@,/opt/rt3/man,;t t
705 s,@exp_libdir@,/opt/rt3/lib,;t t
706 s,@exp_datadir@,/opt/rt3/share,;t t
707 s,@htmldir@,/var/www/freeside/rt,;t t
708 s,@exp_htmldir@,/var/www/freeside/rt,;t t
709 s,@manualdir@,/opt/rt3/share/doc,;t t
710 s,@exp_manualdir@,/opt/rt3/share/doc,;t t
711 s,@exp_localstatedir@,/opt/rt3/var,;t t
712 s,@logfiledir@,/opt/rt3/var/log,;t t
713 s,@exp_logfiledir@,/opt/rt3/var/log,;t t
714 s,@masonstatedir@,/usr/local/etc/freeside/masondata,;t t
715 s,@exp_masonstatedir@,/usr/local/etc/freeside/masondata,;t t
716 s,@sessionstatedir@,/opt/rt3/var/session_data,;t t
717 s,@exp_sessionstatedir@,/opt/rt3/var/session_data,;t t
718 s,@customdir@,/opt/rt3/local,;t t
719 s,@exp_customdir@,/opt/rt3/local,;t t
720 s,@custometcdir@,/opt/rt3/local/etc,;t t
721 s,@exp_custometcdir@,/opt/rt3/local/etc,;t t
722 s,@customhtmldir@,/opt/rt3/local/html,;t t
723 s,@exp_customhtmldir@,/opt/rt3/local/html,;t t
724 s,@customlexdir@,/opt/rt3/local/po,;t t
725 s,@exp_customlexdir@,/opt/rt3/local/po,;t t
726 s,@customlibdir@,/opt/rt3/local/lib,;t t
727 s,@exp_customlibdir@,/opt/rt3/local/lib,;t t
728 s,@rt_layout_name@,Freeside,;t t
729 s,@BIN_OWNER@,root,;t t
730 s,@LIBS_OWNER@,root,;t t
731 s,@LIBS_GROUP@,bin,;t t
733 s,@DATABASE_ENV_PREF@,,;t t
734 s,@DB_HOST@,localhost,;t t
736 s,@DB_RT_HOST@,localhost,;t t
737 s,@DB_DBA@,freeside,;t t
738 s,@DB_DATABASE@,freeside,;t t
739 s,@DB_RT_USER@,freeside,;t t
741 s,@WEB_USER@,freeside,;t t
742 s,@WEB_GROUP@,freeside,;t t
743 s,@RTGROUP@,freeside,;t t
745 s,@RT_STANDALONE@,0,;t t
746 s,@RT_DEVEL_MODE@,0,;t t
747 s,@RT_VERSION_MAJOR@,3,;t t
748 s,@RT_VERSION_MINOR@,6,;t t
749 s,@RT_VERSION_PATCH@,6,;t t
750 s,@RT_PATH@,/opt/rt3,;t t
751 s,@RT_DOC_PATH@,/opt/rt3/share/doc,;t t
752 s,@RT_LOCAL_PATH@,/opt/rt3/local,;t t
753 s,@RT_LIB_PATH@,/opt/rt3/lib,;t t
754 s,@RT_ETC_PATH@,/opt/rt3/etc,;t t
755 s,@CONFIG_FILE_PATH@,/opt/rt3/etc,;t t
756 s,@RT_BIN_PATH@,/opt/rt3/bin,;t t
757 s,@RT_SBIN_PATH@,/opt/rt3/sbin,;t t
758 s,@RT_VAR_PATH@,/opt/rt3/var,;t t
759 s,@RT_MAN_PATH@,/opt/rt3/man,;t t
760 s,@MASON_DATA_PATH@,/usr/local/etc/freeside/masondata,;t t
761 s,@MASON_SESSION_PATH@,/opt/rt3/var/session_data,;t t
762 s,@MASON_HTML_PATH@,/var/www/freeside/rt,;t t
763 s,@LOCAL_ETC_PATH@,/opt/rt3/local/etc,;t t
764 s,@MASON_LOCAL_HTML_PATH@,/opt/rt3/local/html,;t t
765 s,@LOCAL_LEXICON_PATH@,/opt/rt3/local/po,;t t
766 s,@LOCAL_LIB_PATH@,/opt/rt3/local/lib,;t t
767 s,@DESTDIR@,/opt/rt3,;t t
768 s,@RT_LOG_PATH@,/opt/rt3/var/log,;t t
773 # Split the substitutions into bite-sized pieces for seds with
774 # small command number limits, like on Digital OSF/1 and HP-UX.
776 ac_sed_frag=1 # Number of current file.
777 ac_beg=1 # First line for current file.
778 ac_end=$ac_max_sed_lines # Line after last line for current file.
781 while $ac_more_lines; do
782 if test $ac_beg -gt 1; then
783 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
785 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
787 if test ! -s $tmp/subs.frag; then
790 # The purpose of the label and of the branching condition is to
791 # speed up the sed processing (if there are no `@' at all, there
792 # is no need to browse any of the substitutions).
793 # These are the two extra sed commands mentioned above.
795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
796 if test -z "$ac_sed_cmds"; then
797 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
799 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
801 ac_sed_frag=`expr $ac_sed_frag + 1`
803 ac_end=`expr $ac_end + $ac_max_sed_lines`
806 if test -z "$ac_sed_cmds"; then
809 fi # test -n "$CONFIG_FILES"
811 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
812 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
814 - | *:- | *:-:* ) # input from stdin
816 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
817 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
818 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
819 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
820 * ) ac_file_in=$ac_file.in ;;
823 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
824 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
826 X"$ac_file" : 'X\(//\)[^/]' \| \
827 X"$ac_file" : 'X\(//\)$' \| \
828 X"$ac_file" : 'X\(/\)' \| \
829 . : '\(.\)' 2>/dev/null ||
831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
833 /^X\(\/\/\)$/{ s//\1/; q; }
834 /^X\(\/\).*/{ s//\1/; q; }
836 { if $as_mkdir_p; then
841 while test ! -d "$as_dir"; do
842 as_dirs="$as_dir $as_dirs"
843 as_dir=`(dirname "$as_dir") 2>/dev/null ||
844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
845 X"$as_dir" : 'X\(//\)[^/]' \| \
846 X"$as_dir" : 'X\(//\)$' \| \
847 X"$as_dir" : 'X\(/\)' \| \
848 . : '\(.\)' 2>/dev/null ||
850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
852 /^X\(\/\/\)$/{ s//\1/; q; }
853 /^X\(\/\).*/{ s//\1/; q; }
856 test ! -n "$as_dirs" || mkdir $as_dirs
857 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
858 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
859 { (exit 1); exit 1; }; }; }
863 if test "$ac_dir" != .; then
864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865 # A "../" for each directory in $ac_dir_suffix.
866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868 ac_dir_suffix= ac_top_builddir=
872 .) # No --srcdir option. We are building in place.
874 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879 [\\/]* | ?:[\\/]* ) # Absolute path.
880 ac_srcdir=$srcdir$ac_dir_suffix;
881 ac_top_srcdir=$srcdir ;;
883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 # Do not use `cd foo && pwd` to compute absolute paths, because
888 # the directories may not exist.
890 .) ac_abs_builddir="$ac_dir";;
893 .) ac_abs_builddir=`pwd`;;
894 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
895 *) ac_abs_builddir=`pwd`/"$ac_dir";;
898 case $ac_abs_builddir in
899 .) ac_abs_top_builddir=${ac_top_builddir}.;;
901 case ${ac_top_builddir}. in
902 .) ac_abs_top_builddir=$ac_abs_builddir;;
903 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
904 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
907 case $ac_abs_builddir in
908 .) ac_abs_srcdir=$ac_srcdir;;
911 .) ac_abs_srcdir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
913 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
916 case $ac_abs_builddir in
917 .) ac_abs_top_srcdir=$ac_top_srcdir;;
919 case $ac_top_srcdir in
920 .) ac_abs_top_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
922 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
928 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
929 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
931 # If the template does not know about datarootdir, expand it.
932 # FIXME: This hack should be removed a few years after 2.60.
933 ac_datarootdir_hack=; ac_datarootdir_seen=
944 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
945 *datarootdir*) ac_datarootdir_seen=yes;;
946 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
948 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
949 ac_datarootdir_hack='
951 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
952 s&@infodir@&${datarootdir}/info&g
953 s&@localedir@&${datarootdir}/locale&g
955 s&\${datarootdir}&${prefix}/share&g' ;;
957 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
961 s/^\([^=]*=[ ]*\):*/\1/
967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
968 s,@configure_input@,$configure_input,;t t
969 s,@srcdir@,$ac_srcdir,;t t
970 s,@abs_srcdir@,$ac_abs_srcdir,;t t
971 s,@top_srcdir@,$ac_top_srcdir,;t t
972 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
973 s,@builddir@,$ac_builddir,;t t
974 s,@abs_builddir@,$ac_abs_builddir,;t t
975 s,@top_builddir@,$ac_top_builddir,;t t
976 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
977 s,@INSTALL@,$ac_INSTALL,;t t
978 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
980 if test x"$ac_file" != x-; then
987 # Run the commands associated with the file.
989 -) cat "$tmp/out" && rm -f "$tmp/out";;
990 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
992 || as_fn_error "could not create $ac_file" "$LINENO" 5
1000 case $ac_file$ac_mode in
1001 "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
1003 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1005 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1007 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1009 "sbin/rt-dump-database":F) chmod ug+x $ac_file
1011 sbin/rt-setup-database ) chmod ug+x $ac_file
1013 sbin/rt-test-dependencies ) chmod ug+x $ac_file
1015 "sbin/rt-email-digest":F) chmod ug+x $ac_file
1017 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1019 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1021 "sbin/rt-shredder":F) chmod ug+x $ac_file
1023 "sbin/rt-validator":F) chmod ug+x $ac_file
1025 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1027 "sbin/rt-server":F) chmod ug+x $ac_file
1029 "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
1031 bin/mason_handler.scgi ) chmod ug+x $ac_file
1033 bin/standalone_httpd ) chmod ug+x $ac_file
1035 bin/rt-crontool ) chmod ug+x $ac_file
1037 bin/rt-mailgate ) chmod ug+x $ac_file
1039 bin/rt ) chmod ug+x $ac_file
1044 { (exit 0); exit 0; }