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 # values after options handling.
254 This file was extended by RT $as_me 3.8.7, which was
255 generated by GNU Autoconf 2.64. Invocation command line was
257 CONFIG_FILES = $CONFIG_FILES
258 CONFIG_HEADERS = $CONFIG_HEADERS
259 CONFIG_LINKS = $CONFIG_LINKS
260 CONFIG_COMMANDS = $CONFIG_COMMANDS
263 on `(hostname || uname -n) 2>/dev/null | sed 1q`
266 # Files that config.status was made for.
267 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"
270 \`$as_me' instantiates files from templates according to the
271 current configuration.
273 Usage: $0 [OPTIONS] [FILE]...
275 -h, --help print this help, then exit
276 -V, --version print version number, then exit
277 -q, --quiet do not print progress messages
278 -d, --debug don't remove temporary files
279 --recheck update $as_me by reconfiguring in the same conditions
280 --file=FILE[:TEMPLATE]
281 instantiate the configuration file FILE
286 Report bugs to <bug-autoconf@gnu.org>."
288 RT config.status 3.8.7
289 configured by ./configure, generated by GNU Autoconf 2.64,
290 with options \"'--with-db-type=SQLite' '--enable-layout=relative' '--with-web-handler=standalone' 'PERL=/usr/bin/perl'\"
292 Copyright (C) 2003 Free Software Foundation, Inc.
293 This config.status script is free software; the Free Software Foundation
294 gives unlimited permission to copy, distribute and modify it."
296 ac_pwd='/Users/falcone/work/rt/releases/rt-3.8.7'
300 test -n "$AWK" || AWK=awk
301 # The default lists apply if the user does not specify any file.
307 ac_option=`expr "x$1" : 'x\([^=]*\)='`
308 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
316 *) # This is not an option, so the user has probably given explicit
319 ac_need_defaults=false;;
323 # Handling of the options.
324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
326 --version | --vers* | -V )
327 echo "$ac_cs_version"; exit 0 ;;
329 # Conflict between --help and --header
330 { { echo "$as_me:$LINENO: error: ambiguous option: $1
331 Try \`$0 --help' for more information." >&5
332 echo "$as_me: error: ambiguous option: $1
333 Try \`$0 --help' for more information." >&2;}
334 { (exit 1); exit 1; }; };;
335 --help | --hel | -h )
336 echo "$ac_cs_usage"; exit 0 ;;
337 --debug | --d* | -d )
339 --file | --fil | --fi | --f )
341 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
342 ac_need_defaults=false;;
343 --header | --heade | --head | --hea )
345 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
346 ac_need_defaults=false;;
347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
348 | -silent | --silent | --silen | --sile | --sil | --si | --s)
352 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
353 Try \`$0 --help' for more information." >&5
354 echo "$as_me: error: unrecognized option: $1
355 Try \`$0 --help' for more information." >&2;}
356 { (exit 1); exit 1; }; } ;;
358 *) ac_config_targets="$ac_config_targets $1" ;;
364 ac_configure_extra_args=
366 if $ac_cs_silent; then
368 ac_configure_extra_args="$ac_configure_extra_args --silent"
371 if $ac_cs_recheck; then
372 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
374 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
375 CONFIG_SHELL='/bin/sh'
380 for ac_config_target in $ac_config_targets
382 case $ac_config_target in
383 "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
384 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
385 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
386 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
387 "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
388 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
389 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
390 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
391 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
392 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
393 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
394 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
395 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
396 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
397 "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
398 "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
399 "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
400 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
401 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
402 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
403 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
404 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
405 "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
406 "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
407 "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
408 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
409 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
411 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
415 # If the user did not use the arguments to specify the items to instantiate,
416 # then the envvar interface is used. Set only those that are not.
417 # We use the long form for the default assignment because of an extremely
418 # bizarre bug on SunOS 4.1.3.
419 if $ac_need_defaults; then
420 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
423 # Have a temporary directory for convenience. Make it in the build tree
424 # simply because there is no reason to put it here, and in addition,
425 # creating and moving files from /tmp can sometimes cause problems.
426 # Create a temporary directory, and hook for its removal unless debugging.
429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
430 trap '{ (exit 1); exit 1; }' 1 2 13 15
433 # Create a (secure) tmp directory for tmp files.
436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
437 test -n "$tmp" && test -d "$tmp"
441 (umask 077 && mkdir "$tmp")
442 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
444 # Set up the scripts for CONFIG_FILES section.
445 # No need to generate them if there are no CONFIG_FILES.
446 # This happens for instance with `./config.status config.h'.
447 if test -n "$CONFIG_FILES"; then
450 ac_cr=`echo X | tr X '\015'`
451 # On cygwin, bash can eat \r inside `` if the user requested igncr.
452 # But we know of no other shell where ac_cr would be empty at this
453 # point, so we can use a bashism as a fallback.
454 if test "x$ac_cr" = x; then
457 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
458 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
464 echo 'BEGIN {' >"$tmp/subs1.awk" &&
465 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
468 S["RT_LOG_PATH_R"]="/opt/rt3/var/log"
469 S["LOCAL_LIB_PATH_R"]="/opt/rt3/local/lib"
470 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
471 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
472 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
473 S["MASON_HTML_PATH_R"]="/opt/rt3/share/html"
474 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
475 S["MASON_DATA_PATH_R"]="/opt/rt3/var/mason_data"
476 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
477 S["RT_MAN_PATH_R"]="/opt/rt3/man"
478 S["RT_VAR_PATH_R"]="/opt/rt3/var"
479 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
480 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
481 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
482 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
483 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
484 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
485 S["RT_DOC_PATH_R"]="/opt/rt3/share/doc"
486 S["RT_PATH_R"]="/opt/rt3"
487 S["RT_LOG_PATH"]="var/log"
488 S["LOCAL_LIB_PATH"]="local/lib"
489 S["LOCAL_LEXICON_PATH"]="local/po"
490 S["MASON_LOCAL_HTML_PATH"]="local/html"
491 S["LOCAL_ETC_PATH"]="local/etc"
492 S["MASON_HTML_PATH"]="share/html"
493 S["MASON_SESSION_PATH"]="var/session_data"
494 S["MASON_DATA_PATH"]="var/mason_data"
495 S["RT_PLUGIN_PATH"]="plugins"
496 S["RT_MAN_PATH"]="man"
497 S["RT_VAR_PATH"]="var"
498 S["RT_SBIN_PATH"]="sbin"
499 S["RT_BIN_PATH"]="bin"
500 S["CONFIG_FILE_PATH"]="etc"
501 S["RT_ETC_PATH"]="etc"
502 S["RT_LIB_PATH"]="lib"
503 S["RT_LOCAL_PATH"]="local"
504 S["RT_DOC_PATH"]="share/doc"
505 S["RT_PATH"]="/opt/rt3"
506 S["RT_VERSION_PATCH"]="7"
507 S["RT_VERSION_MINOR"]="8"
508 S["RT_VERSION_MAJOR"]="3"
519 S["RT_DEVEL_MODE"]="0"
520 S["APACHECTL"]="/usr/sbin/apachectl"
524 S["DB_RT_PASS"]="rt_pass"
525 S["DB_RT_USER"]="rt_user"
526 S["DB_DATABASE"]="rt3"
528 S["DB_RT_HOST"]="localhost"
530 S["DB_HOST"]="localhost"
531 S["DATABASE_ENV_PREF"]=""
532 S["DB_TYPE"]="SQLite"
533 S["LIBS_GROUP"]="bin"
534 S["LIBS_OWNER"]="root"
535 S["BIN_OWNER"]="root"
536 S["COMMENT_INPLACE_LAYOUT"]=""
537 S["rt_layout_name"]="relative"
538 S["exp_customlibdir"]="local/lib"
539 S["customlibdir"]="local/lib"
540 S["exp_customlexdir"]="local/po"
541 S["customlexdir"]="local/po"
542 S["exp_customhtmldir"]="local/html"
543 S["customhtmldir"]="local/html"
544 S["exp_custometcdir"]="local/etc"
545 S["custometcdir"]="local/etc"
546 S["exp_customdir"]="local"
547 S["customdir"]="local"
548 S["exp_sessionstatedir"]="var/session_data"
549 S["sessionstatedir"]="var/session_data"
550 S["exp_masonstatedir"]="var/mason_data"
551 S["masonstatedir"]="var/mason_data"
552 S["exp_logfiledir"]="var/log"
553 S["logfiledir"]="var/log"
554 S["exp_localstatedir"]="var"
555 S["exp_plugindir"]="plugins"
556 S["plugindir"]="plugins"
557 S["exp_manualdir"]="share/doc"
558 S["manualdir"]="share/doc"
559 S["exp_htmldir"]="share/html"
560 S["exp_datadir"]="share"
561 S["exp_libdir"]="lib"
562 S["exp_mandir"]="man"
563 S["exp_sysconfdir"]="etc"
564 S["exp_sbindir"]="sbin"
565 S["exp_bindir"]="bin"
566 S["exp_exec_prefix"]="/opt/rt3"
567 S["exp_prefix"]="/opt/rt3"
568 S["SPEEDY_BIN"]="/usr/local/bin/speedy"
569 S["WEB_HANDLER"]="standalone"
570 S["PERL"]="/usr/bin/perl"
572 S["INSTALL_DATA"]="${INSTALL} -m 644"
573 S["INSTALL_SCRIPT"]="${INSTALL}"
574 S["INSTALL_PROGRAM"]="${INSTALL}"
575 S["rt_version_patch"]="7"
576 S["rt_version_minor"]="8"
577 S["rt_version_major"]="3"
585 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"3.8.7\\\" -DPACKAGE_STRING=\\\"RT\\ 3.8.7\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpractica"\
586 "l.com\\\" -DPACKAGE_URL=\\\"\\\""
588 S["localedir"]="${datarootdir}/locale"
590 S["psdir"]="${docdir}"
591 S["pdfdir"]="${docdir}"
592 S["dvidir"]="${docdir}"
593 S["htmldir"]="share/html"
594 S["infodir"]="${datarootdir}/info"
595 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
596 S["oldincludedir"]="/usr/include"
597 S["includedir"]="${prefix}/include"
598 S["localstatedir"]="var"
599 S["sharedstatedir"]="${prefix}/com"
600 S["sysconfdir"]="etc"
602 S["datarootdir"]="${prefix}/share"
603 S["libexecdir"]="${exec_prefix}/libexec"
606 S["program_transform_name"]="s,x,x,"
607 S["prefix"]="/opt/rt3"
608 S["exec_prefix"]="/opt/rt3"
610 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
611 S["PACKAGE_STRING"]="RT 3.8.7"
612 S["PACKAGE_VERSION"]="3.8.7"
613 S["PACKAGE_TARNAME"]="rt"
614 S["PACKAGE_NAME"]="RT"
615 S["PATH_SEPARATOR"]=":"
618 cat >>"$tmp/subs1.awk" <<_ACAWK &&
619 for (key in S) S_is_set[key] = 1
624 echo "$me: cannot create a temporary directory in ." >&2
625 { (exit 1); exit 1; }
630 # CONFIG_FILES section.
633 # No need to generate the scripts if there are no CONFIG_FILES.
634 # This happens for instance when ./config.status config.h
635 if test -n "$CONFIG_FILES"; then
636 # Protect against being on the right side of a sed subst in config.status.
637 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
638 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
639 s,@SHELL@,/bin/sh,;t t
640 s,@PATH_SEPARATOR@,:,;t t
641 s,@PACKAGE_NAME@,RT,;t t
642 s,@PACKAGE_TARNAME@,rt,;t t
643 s,@PACKAGE_VERSION@,3.6.4,;t t
644 s,@PACKAGE_STRING@,RT 3.6.4,;t t
645 s,@PACKAGE_BUGREPORT@,rt-bugs@bestpractical.com,;t t
646 s,@exec_prefix@,/opt/rt3,;t t
647 s,@prefix@,/opt/rt3,;t t
648 s,@program_transform_name@,s,x,x,,;t t
649 s,@bindir@,/opt/rt3/bin,;t t
650 s,@sbindir@,/opt/rt3/sbin,;t t
651 s,@libexecdir@,${exec_prefix}/libexec,;t t
652 s,@datadir@,/opt/rt3/share,;t t
653 s,@sysconfdir@,/opt/rt3/etc,;t t
654 s,@sharedstatedir@,${prefix}/com,;t t
655 s,@localstatedir@,/opt/rt3/var,;t t
656 s,@libdir@,/opt/rt3/lib,;t t
657 s,@includedir@,${prefix}/include,;t t
658 s,@oldincludedir@,/usr/include,;t t
659 s,@infodir@,${prefix}/info,;t t
660 s,@mandir@,/opt/rt3/man,;t t
661 s,@build_alias@,,;t t
663 s,@target_alias@,,;t t
664 s,@DEFS@,-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" -DPACKAGE_VERSION=\"3.6.4\" -DPACKAGE_STRING=\"RT\ 3.6.4\" -DPACKAGE_BUGREPORT=\"rt-bugs@bestpractical.com\" ,;t t
669 s,@rt_version_major@,3,;t t
670 s,@rt_version_minor@,6,;t t
671 s,@rt_version_patch@,4,;t t
672 s,@INSTALL_PROGRAM@,${INSTALL},;t t
673 s,@INSTALL_SCRIPT@,${INSTALL},;t t
674 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
676 s,@PERL@,/usr/bin/perl,;t t
677 s,@SPEEDY_BIN@,/usr/local/bin/speedy,;t t
678 s,@exp_prefix@,/opt/rt3,;t t
679 s,@exp_exec_prefix@,/opt/rt3,;t t
680 s,@exp_bindir@,/opt/rt3/bin,;t t
681 s,@exp_sbindir@,/opt/rt3/sbin,;t t
682 s,@exp_sysconfdir@,/opt/rt3/etc,;t t
683 s,@exp_mandir@,/opt/rt3/man,;t t
684 s,@exp_libdir@,/opt/rt3/lib,;t t
685 s,@exp_datadir@,/opt/rt3/share,;t t
686 s,@htmldir@,/var/www/freeside/rt,;t t
687 s,@exp_htmldir@,/var/www/freeside/rt,;t t
688 s,@manualdir@,/opt/rt3/share/doc,;t t
689 s,@exp_manualdir@,/opt/rt3/share/doc,;t t
690 s,@exp_localstatedir@,/opt/rt3/var,;t t
691 s,@logfiledir@,/opt/rt3/var/log,;t t
692 s,@exp_logfiledir@,/opt/rt3/var/log,;t t
693 s,@masonstatedir@,/usr/local/etc/freeside/masondata,;t t
694 s,@exp_masonstatedir@,/usr/local/etc/freeside/masondata,;t t
695 s,@sessionstatedir@,/opt/rt3/var/session_data,;t t
696 s,@exp_sessionstatedir@,/opt/rt3/var/session_data,;t t
697 s,@customdir@,/opt/rt3/local,;t t
698 s,@exp_customdir@,/opt/rt3/local,;t t
699 s,@custometcdir@,/opt/rt3/local/etc,;t t
700 s,@exp_custometcdir@,/opt/rt3/local/etc,;t t
701 s,@customhtmldir@,/opt/rt3/local/html,;t t
702 s,@exp_customhtmldir@,/opt/rt3/local/html,;t t
703 s,@customlexdir@,/opt/rt3/local/po,;t t
704 s,@exp_customlexdir@,/opt/rt3/local/po,;t t
705 s,@customlibdir@,/opt/rt3/local/lib,;t t
706 s,@exp_customlibdir@,/opt/rt3/local/lib,;t t
707 s,@rt_layout_name@,Freeside,;t t
708 s,@BIN_OWNER@,root,;t t
709 s,@LIBS_OWNER@,root,;t t
710 s,@LIBS_GROUP@,bin,;t t
712 s,@DATABASE_ENV_PREF@,,;t t
713 s,@DB_HOST@,localhost,;t t
715 s,@DB_RT_HOST@,localhost,;t t
716 s,@DB_DBA@,freeside,;t t
717 s,@DB_DATABASE@,freeside,;t t
718 s,@DB_RT_USER@,freeside,;t t
720 s,@WEB_USER@,freeside,;t t
721 s,@WEB_GROUP@,freeside,;t t
722 s,@RTGROUP@,freeside,;t t
723 s,@APACHECTL@,/usr/sbin/apachectl,;t t
724 s,@RT_STANDALONE@,0,;t t
725 s,@RT_DEVEL_MODE@,0,;t t
726 s,@RT_VERSION_MAJOR@,3,;t t
727 s,@RT_VERSION_MINOR@,6,;t t
728 s,@RT_VERSION_PATCH@,4,;t t
729 s,@RT_PATH@,/opt/rt3,;t t
730 s,@RT_DOC_PATH@,/opt/rt3/share/doc,;t t
731 s,@RT_LOCAL_PATH@,/opt/rt3/local,;t t
732 s,@RT_LIB_PATH@,/opt/rt3/lib,;t t
733 s,@RT_ETC_PATH@,/opt/rt3/etc,;t t
734 s,@CONFIG_FILE_PATH@,/opt/rt3/etc,;t t
735 s,@RT_BIN_PATH@,/opt/rt3/bin,;t t
736 s,@RT_SBIN_PATH@,/opt/rt3/sbin,;t t
737 s,@RT_VAR_PATH@,/opt/rt3/var,;t t
738 s,@RT_MAN_PATH@,/opt/rt3/man,;t t
739 s,@MASON_DATA_PATH@,/usr/local/etc/freeside/masondata,;t t
740 s,@MASON_SESSION_PATH@,/opt/rt3/var/session_data,;t t
741 s,@MASON_HTML_PATH@,/var/www/freeside/rt,;t t
742 s,@LOCAL_ETC_PATH@,/opt/rt3/local/etc,;t t
743 s,@MASON_LOCAL_HTML_PATH@,/opt/rt3/local/html,;t t
744 s,@LOCAL_LEXICON_PATH@,/opt/rt3/local/po,;t t
745 s,@LOCAL_LIB_PATH@,/opt/rt3/local/lib,;t t
746 s,@DESTDIR@,/opt/rt3,;t t
747 s,@RT_LOG_PATH@,/opt/rt3/var/log,;t t
752 # Split the substitutions into bite-sized pieces for seds with
753 # small command number limits, like on Digital OSF/1 and HP-UX.
755 ac_sed_frag=1 # Number of current file.
756 ac_beg=1 # First line for current file.
757 ac_end=$ac_max_sed_lines # Line after last line for current file.
760 while $ac_more_lines; do
761 if test $ac_beg -gt 1; then
762 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
764 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
766 if test ! -s $tmp/subs.frag; then
769 # The purpose of the label and of the branching condition is to
770 # speed up the sed processing (if there are no `@' at all, there
771 # is no need to browse any of the substitutions).
772 # These are the two extra sed commands mentioned above.
774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
775 if test -z "$ac_sed_cmds"; then
776 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
778 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
780 ac_sed_frag=`expr $ac_sed_frag + 1`
782 ac_end=`expr $ac_end + $ac_max_sed_lines`
785 if test -z "$ac_sed_cmds"; then
788 fi # test -n "$CONFIG_FILES"
790 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
791 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
793 - | *:- | *:-:* ) # input from stdin
795 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
796 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
797 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
798 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
799 * ) ac_file_in=$ac_file.in ;;
802 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
803 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
805 X"$ac_file" : 'X\(//\)[^/]' \| \
806 X"$ac_file" : 'X\(//\)$' \| \
807 X"$ac_file" : 'X\(/\)' \| \
808 . : '\(.\)' 2>/dev/null ||
810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
811 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
812 /^X\(\/\/\)$/{ s//\1/; q; }
813 /^X\(\/\).*/{ s//\1/; q; }
815 { if $as_mkdir_p; then
820 while test ! -d "$as_dir"; do
821 as_dirs="$as_dir $as_dirs"
822 as_dir=`(dirname "$as_dir") 2>/dev/null ||
823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
824 X"$as_dir" : 'X\(//\)[^/]' \| \
825 X"$as_dir" : 'X\(//\)$' \| \
826 X"$as_dir" : 'X\(/\)' \| \
827 . : '\(.\)' 2>/dev/null ||
829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
830 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
831 /^X\(\/\/\)$/{ s//\1/; q; }
832 /^X\(\/\).*/{ s//\1/; q; }
835 test ! -n "$as_dirs" || mkdir $as_dirs
836 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
837 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
838 { (exit 1); exit 1; }; }; }
842 if test "$ac_dir" != .; then
843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
844 # A "../" for each directory in $ac_dir_suffix.
845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
847 ac_dir_suffix= ac_top_builddir=
851 .) # No --srcdir option. We are building in place.
853 if test -z "$ac_top_builddir"; then
856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
858 [\\/]* | ?:[\\/]* ) # Absolute path.
859 ac_srcdir=$srcdir$ac_dir_suffix;
860 ac_top_srcdir=$srcdir ;;
862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
863 ac_top_srcdir=$ac_top_builddir$srcdir ;;
866 # Do not use `cd foo && pwd` to compute absolute paths, because
867 # the directories may not exist.
869 .) ac_abs_builddir="$ac_dir";;
872 .) ac_abs_builddir=`pwd`;;
873 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
874 *) ac_abs_builddir=`pwd`/"$ac_dir";;
877 case $ac_abs_builddir in
878 .) ac_abs_top_builddir=${ac_top_builddir}.;;
880 case ${ac_top_builddir}. in
881 .) ac_abs_top_builddir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
886 case $ac_abs_builddir in
887 .) ac_abs_srcdir=$ac_srcdir;;
890 .) ac_abs_srcdir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
892 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
895 case $ac_abs_builddir in
896 .) ac_abs_top_srcdir=$ac_top_srcdir;;
898 case $ac_top_srcdir in
899 .) ac_abs_top_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
907 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
908 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
910 # If the template does not know about datarootdir, expand it.
911 # FIXME: This hack should be removed a few years after 2.60.
912 ac_datarootdir_hack=; ac_datarootdir_seen=
923 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
924 *datarootdir*) ac_datarootdir_seen=yes;;
925 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
927 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
928 ac_datarootdir_hack='
930 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
931 s&@infodir@&${datarootdir}/info&g
932 s&@localedir@&${datarootdir}/locale&g
934 s&\${datarootdir}&${prefix}/share&g' ;;
936 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
940 s/^\([^=]*=[ ]*\):*/\1/
946 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
947 s,@configure_input@,$configure_input,;t t
948 s,@srcdir@,$ac_srcdir,;t t
949 s,@abs_srcdir@,$ac_abs_srcdir,;t t
950 s,@top_srcdir@,$ac_top_srcdir,;t t
951 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
952 s,@builddir@,$ac_builddir,;t t
953 s,@abs_builddir@,$ac_abs_builddir,;t t
954 s,@top_builddir@,$ac_top_builddir,;t t
955 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
956 s,@INSTALL@,$ac_INSTALL,;t t
957 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
959 if test x"$ac_file" != x-; then
966 # Run the commands associated with the file.
968 -) cat "$tmp/out" && rm -f "$tmp/out";;
969 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
971 || as_fn_error "could not create $ac_file" "$LINENO" 5
979 case $ac_file$ac_mode in
980 "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
982 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
984 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
986 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
988 "sbin/rt-dump-database":F) chmod ug+x $ac_file
990 sbin/rt-setup-database ) chmod ug+x $ac_file
992 sbin/rt-test-dependencies ) chmod ug+x $ac_file
994 "sbin/rt-email-digest":F) chmod ug+x $ac_file
996 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
998 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1000 "sbin/rt-shredder":F) chmod ug+x $ac_file
1002 "sbin/rt-validator":F) chmod ug+x $ac_file
1004 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1006 "sbin/rt-server":F) chmod ug+x $ac_file
1008 "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
1010 bin/mason_handler.scgi ) chmod ug+x $ac_file
1012 bin/standalone_httpd ) chmod ug+x $ac_file
1014 bin/rt-crontool ) chmod ug+x $ac_file
1016 bin/rt-mailgate ) chmod ug+x $ac_file
1018 bin/rt ) chmod ug+x $ac_file
1023 { (exit 0); exit 0; }