freeside3 theme
[freeside.git] / rt / config.status
1 #! /bin/bash
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/bash}
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 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
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
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137
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.
143 as_fn_error ()
144 {
145   as_status=$1; test $as_status -eq 0 && as_status=1
146   if test "$4"; then
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
149   fi
150   $as_echo "$as_me: error: $2" >&2
151   as_fn_exit $as_status
152 } # as_fn_error
153
154
155 # as_fn_set_status STATUS
156 # -----------------------
157 # Set $? to STATUS, without forking.
158 as_fn_set_status ()
159 {
160   return $1
161 } # as_fn_set_status
162
163 # as_fn_exit STATUS
164 # -----------------
165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166 as_fn_exit ()
167 {
168   set +e
169   as_fn_set_status $1
170   exit $1
171 } # as_fn_exit
172
173 # as_fn_unset VAR
174 # ---------------
175 # Portably unset VAR.
176 as_fn_unset ()
177 {
178   { eval $1=; unset $1;}
179 }
180 as_unset=as_fn_unset
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
186 # implementations.
187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188   eval 'as_fn_append ()
189   {
190     eval $1+=\$2
191   }'
192 else
193   as_fn_append ()
194   {
195     eval $1=\$$1\$2
196   }
197 fi # as_fn_append
198
199 # as_fn_arith ARG...
200 # ------------------
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 :
205   eval 'as_fn_arith ()
206   {
207     as_val=$(( $* ))
208   }'
209 else
210   as_fn_arith ()
211   {
212     as_val=`expr "$@" || test $? -eq 1`
213   }
214 fi # as_fn_arith
215
216
217 if expr a : '\(a\)' >/dev/null 2>&1 &&
218    test "X`expr 00001 : '.*\(...\)'`" = X001; then
219   as_expr=expr
220 else
221   as_expr=false
222 fi
223
224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225   as_basename=basename
226 else
227   as_basename=false
228 fi
229
230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231   as_dirname=dirname
232 else
233   as_dirname=false
234 fi
235
236 as_me=`$as_basename -- "$0" ||
237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238          X"$0" : 'X\(//\)$' \| \
239          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240 $as_echo X/"$0" |
241     sed '/^.*\/\([^/][^/]*\)\/*$/{
242             s//\1/
243             q
244           }
245           /^X\/\(\/\/\)$/{
246             s//\1/
247             q
248           }
249           /^X\/\(\/\).*/{
250             s//\1/
251             q
252           }
253           s/.*/./; q'`
254
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
261
262 ECHO_C= ECHO_N= ECHO_T=
263 case `echo -n x` in #(((((
264 -n*)
265   case `echo 'xy\c'` in
266   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
267   xy)  ECHO_C='\c';;
268   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
269        ECHO_T=' ';;
270   esac;;
271 *)
272   ECHO_N='-n';;
273 esac
274
275 rm -f conf$$ conf$$.exe conf$$.file
276 if test -d conf$$.dir; then
277   rm -f conf$$.dir/conf$$.file
278 else
279   rm -f conf$$.dir
280   mkdir conf$$.dir 2>/dev/null
281 fi
282 if (echo >conf$$.file) 2>/dev/null; then
283   if ln -s conf$$.file conf$$ 2>/dev/null; then
284     as_ln_s='ln -s'
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 ||
290       as_ln_s='cp -p'
291   elif ln conf$$.file conf$$ 2>/dev/null; then
292     as_ln_s=ln
293   else
294     as_ln_s='cp -p'
295   fi
296 else
297   as_ln_s='cp -p'
298 fi
299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300 rmdir conf$$.dir 2>/dev/null
301
302
303 # as_fn_mkdir_p
304 # -------------
305 # Create "$as_dir" as a directory, including parents if necessary.
306 as_fn_mkdir_p ()
307 {
308
309   case $as_dir in #(
310   -*) as_dir=./$as_dir;;
311   esac
312   test -d "$as_dir" || eval $as_mkdir_p || {
313     as_dirs=
314     while :; do
315       case $as_dir in #(
316       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317       *) as_qdir=$as_dir;;
318       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\/\)[^/].*/{
331             s//\1/
332             q
333           }
334           /^X\(\/\/\)$/{
335             s//\1/
336             q
337           }
338           /^X\(\/\).*/{
339             s//\1/
340             q
341           }
342           s/.*/./; q'`
343       test -d "$as_dir" && break
344     done
345     test -z "$as_dirs" || eval "mkdir $as_dirs"
346   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
348
349 } # as_fn_mkdir_p
350 if mkdir -p . 2>/dev/null; then
351   as_mkdir_p='mkdir -p "$as_dir"'
352 else
353   test -d ./-p && rmdir ./-p
354   as_mkdir_p=false
355 fi
356
357 if test -x / >/dev/null 2>&1; then
358   as_test_x='test -x'
359 else
360   if ls -dL / >/dev/null 2>&1; then
361     as_ls_L_option=L
362   else
363     as_ls_L_option=
364   fi
365   as_test_x='
366     eval sh -c '\''
367       if test -d "$1"; then
368         test -d "$1/.";
369       else
370         case $1 in #(
371         -*)set "./$1";;
372         esac;
373         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374         ???[sx]*):;;*)false;;esac;fi
375     '\'' sh
376   '
377 fi
378 as_executable_p=$as_test_x
379
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'"
382
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'"
385
386
387 exec 6>&1
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.
394 ac_log="
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
397
398   CONFIG_FILES    = $CONFIG_FILES
399   CONFIG_HEADERS  = $CONFIG_HEADERS
400   CONFIG_LINKS    = $CONFIG_LINKS
401   CONFIG_COMMANDS = $CONFIG_COMMANDS
402   $ $0 $@
403
404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
405 "
406
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"
409
410 ac_cs_usage="\
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.
414
415 Usage: $0 [OPTION]... [TAG]...
416
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
426
427 Configuration files:
428 $config_files
429
430 Report bugs to <rt-bugs@bestpractical.com>."
431
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'"
433 ac_cs_version="\
434 RT config.status rt-4.0.5
435 configured by ./configure, generated by GNU Autoconf 2.68,
436   with options \"$ac_cs_config\"
437
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."
441
442 ac_pwd='/home/ivan/freeside_rt4/rt'
443 srcdir='.'
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.
447 ac_need_defaults=:
448 while test $# != 0
449 do
450   case $1 in
451   --*=?*)
452     ac_option=`expr "X$1" : 'X\([^=]*\)='`
453     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
454     ac_shift=:
455     ;;
456   --*=)
457     ac_option=`expr "X$1" : 'X\([^=]*\)='`
458     ac_optarg=
459     ac_shift=:
460     ;;
461   *)
462     ac_option=$1
463     ac_optarg=$2
464     ac_shift=shift
465     ;;
466   esac
467
468   case $ac_option in
469   # Handling of the options.
470   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
471     ac_cs_recheck=: ;;
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 )
477     debug=: ;;
478   --file | --fil | --fi | --f )
479     $ac_shift
480     case $ac_optarg in
481     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
482     '') as_fn_error $? "missing file argument" ;;
483     esac
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)
490     ac_cs_silent=: ;;
491
492   # This is an error.
493   -*) as_fn_error $? "unrecognized option: \`$1'
494 Try \`$0 --help' for more information." ;;
495
496   *) as_fn_append ac_config_targets " $1"
497      ac_need_defaults=false ;;
498
499   esac
500   shift
501 done
502
503 ac_configure_extra_args=
504
505 if $ac_cs_silent; then
506   exec 6>/dev/null
507   ac_configure_extra_args="$ac_configure_extra_args --silent"
508 fi
509
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
512   shift
513   $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
514   CONFIG_SHELL='/bin/bash'
515   export CONFIG_SHELL
516   exec "$@"
517 fi
518
519 exec 5>>config.log
520 {
521   echo
522   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
523 ## Running $as_me. ##
524 _ASBOX
525   $as_echo "$ac_log"
526 } >&5
527
528
529 # Handling of arguments.
530 for ac_config_target in $ac_config_targets
531 do
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" ;;
564
565   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
566   esac
567 done
568
569
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
576 fi
577
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'.
584 $debug ||
585 {
586   tmp= ac_tmp=
587   trap 'exit_status=$?
588   : "${ac_tmp:=$tmp}"
589   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
590 ' 0
591   trap 'as_fn_exit 1' 1 2 13 15
592 }
593 # Create a (secure) tmp directory for tmp files.
594
595 {
596   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
597   test -d "$tmp"
598 }  ||
599 {
600   tmp=./conf$$-$RANDOM
601   (umask 077 && mkdir "$tmp")
602 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
603 ac_tmp=$tmp
604
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
609
610
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
616   eval ac_cr=\$\'\\r\'
617 fi
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
620   ac_cs_awk_cr='\\r'
621 else
622   ac_cs_awk_cr=$ac_cr
623 fi
624
625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
626 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
627 S["LTLIBOBJS"]=""
628 S["LIBOBJS"]=""
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"
677 S["RT_GPG"]="1"
678 S["RT_GD"]="0"
679 S["RT_GRAPHVIZ"]="0"
680 S["OBJEXT"]="o"
681 S["EXEEXT"]=""
682 S["ac_ct_CC"]="gcc"
683 S["CPPFLAGS"]=""
684 S["LDFLAGS"]=""
685 S["CFLAGS"]="-g -O2"
686 S["CC"]="gcc"
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"
692 S["DB_RT_PASS"]=""
693 S["DB_RT_USER"]="freeside"
694 S["DB_DATABASE"]="freeside"
695 S["DB_DBA"]="freeside"
696 S["DB_RT_HOST"]="localhost"
697 S["DB_PORT"]=""
698 S["DB_HOST"]="localhost"
699 S["DATABASE_ENV_PREF"]=""
700 S["DB_TYPE"]="Pg"
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"
752 S["target_alias"]=""
753 S["host_alias"]=""
754 S["build_alias"]=""
755 S["LIBS"]=""
756 S["ECHO_T"]=""
757 S["ECHO_N"]="-n"
758 S["ECHO_C"]=""
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"
783 S["PACKAGE_URL"]=""
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"
791 _ACAWK
792 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
793   for (key in S) S_is_set[key] = 1
794   FS = "\a"
795
796 }
797 {
798   line = $ 0
799   nfields = split(line, field, "@")
800   substed = 0
801   len = length(field[1])
802   for (i = 2; i < nfields; i++) {
803     key = field[i]
804     keylen = length(key)
805     if (S_is_set[key]) {
806       value = S[key]
807       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
808       len += length(value) + length(field[++i])
809       substed = 1
810     } else
811       len += 1 + keylen
812   }
813
814   print line
815 }
816
817 _ACAWK
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"
820 else
821   cat
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"
825
826
827 eval set X "  :F $CONFIG_FILES      "
828 shift
829 for ac_tag
830 do
831   case $ac_tag in
832   :[FHLC]) ac_mode=$ac_tag; continue;;
833   esac
834   case $ac_mode$ac_tag in
835   :[FHL]*:*);;
836   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
837   :[FH]-) ac_tag=-:-;;
838   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
839   esac
840   ac_save_IFS=$IFS
841   IFS=:
842   set x $ac_tag
843   IFS=$ac_save_IFS
844   shift
845   ac_file=$1
846   shift
847
848   case $ac_mode in
849   :L) ac_source=$1;;
850   :[FH])
851     ac_file_inputs=
852     for ac_f
853     do
854       case $ac_f 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 `:'.
859          test -f "$ac_f" ||
860            case $ac_f in
861            [\\/$]*) false;;
862            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
863            esac ||
864            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
865       esac
866       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
867       as_fn_append ac_file_inputs " '$ac_f'"
868     done
869
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'
875         `' by configure.'
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;}
880     fi
881     # Neutralize special characters interpreted by sed in replacement strings.
882     case $configure_input in #(
883     *\&* | *\|* | *\\* )
884        ac_sed_conf_input=`$as_echo "$configure_input" |
885        sed 's/[\\\\&|]/\\\\&/g'`;; #(
886     *) ac_sed_conf_input=$configure_input;;
887     esac
888
889     case $ac_tag in
890     *:-:* | *:-) cat >"$ac_tmp/stdin" \
891       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
892     esac
893     ;;
894   esac
895
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
903             s//\1/
904             q
905           }
906           /^X\(\/\/\)[^/].*/{
907             s//\1/
908             q
909           }
910           /^X\(\/\/\)$/{
911             s//\1/
912             q
913           }
914           /^X\(\/\).*/{
915             s//\1/
916             q
917           }
918           s/.*/./; q'`
919   as_dir="$ac_dir"; as_fn_mkdir_p
920   ac_builddir=.
921
922 case "$ac_dir" in
923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
924 *)
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/ ;;
931   esac ;;
932 esac
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
937
938 case $srcdir in
939   .)  # We are building in place.
940     ac_srcdir=.
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 ;;
947   *) # Relative name.
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 ;;
951 esac
952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
953
954
955   case $ac_mode in
956   :F)
957   #
958   # CONFIG_FILE
959   #
960
961   case $INSTALL in
962   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
963   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
964   esac
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=
968 ac_sed_dataroot='
969 /datarootdir/ {
970   p
971   q
972 }
973 /@datadir@/p
974 /@docdir@/p
975 /@infodir@/p
976 /@localedir@/p
977 /@mandir@/p'
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' ;;
990 esac
991 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
992 h
993 s///
994 s/^/:/
995 s/[      ]*$/:/
996 s/:\$(srcdir):/:/g
997 s/:\${srcdir}:/:/g
998 s/:@srcdir@:/:/g
999 s/^:*//
1000 s/:*$//
1001 x
1002 s/\(=[   ]*\).*/\1/
1003 G
1004 s/\n//
1005 s/^[^=]*=[       ]*$//
1006 }
1007
1008 :t
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
1022 "
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
1025
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;}
1034
1035   rm -f "$ac_tmp/stdin"
1036   case $ac_file in
1037   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1038   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1039   esac \
1040   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1041  ;;
1042
1043
1044
1045   esac
1046
1047
1048   case $ac_file$ac_mode in
1049     "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
1050                 ;;
1051     "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1052                 ;;
1053     "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1054                 ;;
1055     "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
1056                 ;;
1057     "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
1058                 ;;
1059     "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
1060                 ;;
1061     "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1062                 ;;
1063     "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
1064                 ;;
1065     "sbin/rt-session-viewer":F) chmod ug+x $ac_file
1066                 ;;
1067     "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
1068                 ;;
1069     "sbin/rt-setup-database":F) chmod ug+x $ac_file
1070                 ;;
1071     "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
1072                 ;;
1073     "sbin/rt-email-digest":F) chmod ug+x $ac_file
1074                 ;;
1075     "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1076                 ;;
1077     "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1078                 ;;
1079     "sbin/rt-shredder":F) chmod ug+x $ac_file
1080                 ;;
1081     "sbin/rt-validator":F) chmod ug+x $ac_file
1082                 ;;
1083     "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1084                 ;;
1085     "sbin/rt-server":F) chmod ug+x $ac_file
1086                 ;;
1087     "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
1088                 ;;
1089     "sbin/standalone_httpd":F) chmod ug+x $ac_file
1090                 ;;
1091     "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
1092                 ;;
1093     "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
1094                 ;;
1095     "bin/rt-crontool":F) chmod ug+x $ac_file
1096                 ;;
1097     "bin/rt-mailgate":F) chmod ug+x $ac_file
1098                 ;;
1099     "bin/rt":F) chmod ug+x $ac_file
1100                 ;;
1101
1102   esac
1103 done # for ac_tag
1104
1105
1106 as_fn_exit 0