RT 4.0.22
[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.21, 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-ical-extension etc/upgrade/4.0-customfield-checkbox-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-validate-aliases 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.21
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/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-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
534     "etc/upgrade/4.0-customfield-checkbox-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/4.0-customfield-checkbox-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-validate-aliases") CONFIG_FILES="$CONFIG_FILES sbin/rt-validate-aliases" ;;
551     "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
552     "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
553     "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
554     "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
555     "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
556     "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
557     "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
558     "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
559     "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
560     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
561     "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
562     "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
563     "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
564     "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
565
566   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
567   esac
568 done
569
570
571 # If the user did not use the arguments to specify the items to instantiate,
572 # then the envvar interface is used.  Set only those that are not.
573 # We use the long form for the default assignment because of an extremely
574 # bizarre bug on SunOS 4.1.3.
575 if $ac_need_defaults; then
576   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
577 fi
578
579 # Have a temporary directory for convenience.  Make it in the build tree
580 # simply because there is no reason against having it here, and in addition,
581 # creating and moving files from /tmp can sometimes cause problems.
582 # Hook for its removal unless debugging.
583 # Note that there is a small window in which the directory will not be cleaned:
584 # after its creation but before its name has been assigned to `$tmp'.
585 $debug ||
586 {
587   tmp= ac_tmp=
588   trap 'exit_status=$?
589   : "${ac_tmp:=$tmp}"
590   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
591 ' 0
592   trap 'as_fn_exit 1' 1 2 13 15
593 }
594 # Create a (secure) tmp directory for tmp files.
595
596 {
597   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
598   test -d "$tmp"
599 }  ||
600 {
601   tmp=./conf$$-$RANDOM
602   (umask 077 && mkdir "$tmp")
603 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
604 ac_tmp=$tmp
605
606 # Set up the scripts for CONFIG_FILES section.
607 # No need to generate them if there are no CONFIG_FILES.
608 # This happens for instance with `./config.status config.h'.
609 if test -n "$CONFIG_FILES"; then
610
611
612 ac_cr=`echo X | tr X '\015'`
613 # On cygwin, bash can eat \r inside `` if the user requested igncr.
614 # But we know of no other shell where ac_cr would be empty at this
615 # point, so we can use a bashism as a fallback.
616 if test "x$ac_cr" = x; then
617   eval ac_cr=\$\'\\r\'
618 fi
619 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
620 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
621   ac_cs_awk_cr='\\r'
622 else
623   ac_cs_awk_cr=$ac_cr
624 fi
625
626 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
627 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
628 S["LTLIBOBJS"]=""
629 S["LIBOBJS"]=""
630 S["RT_LOG_PATH_R"]="/opt/rt3/var/log"
631 S["LOCAL_PLUGIN_PATH_R"]="/opt/rt3/local/plugins"
632 S["LOCAL_LIB_PATH_R"]="/opt/rt3/local/lib"
633 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
634 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
635 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
636 S["MASON_HTML_PATH_R"]="/var/www/freeside/rt"
637 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
638 S["MASON_DATA_PATH_R"]="/usr/local/etc/freeside/masondata"
639 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
640 S["RT_LEXICON_PATH_R"]="/opt/rt3/share/po"
641 S["RT_FONT_PATH_R"]="/opt/rt3/share/fonts"
642 S["RT_MAN_PATH_R"]="/opt/rt3/man"
643 S["RT_VAR_PATH_R"]="/opt/rt3/var"
644 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
645 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
646 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
647 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
648 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
649 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
650 S["RT_DOC_PATH_R"]="/opt/rt3/docs"
651 S["RT_PATH_R"]="/opt/rt3"
652 S["RT_LOG_PATH"]="/opt/rt3/var/log"
653 S["LOCAL_PLUGIN_PATH"]="/opt/rt3/local/plugins"
654 S["LOCAL_LIB_PATH"]="/opt/rt3/local/lib"
655 S["LOCAL_LEXICON_PATH"]="/opt/rt3/local/po"
656 S["MASON_LOCAL_HTML_PATH"]="/opt/rt3/local/html"
657 S["LOCAL_ETC_PATH"]="/opt/rt3/local/etc"
658 S["MASON_HTML_PATH"]="/var/www/freeside/rt"
659 S["MASON_SESSION_PATH"]="/opt/rt3/var/session_data"
660 S["MASON_DATA_PATH"]="/usr/local/etc/freeside/masondata"
661 S["RT_PLUGIN_PATH"]="/opt/rt3/plugins"
662 S["RT_FONT_PATH"]="/opt/rt3/share/fonts"
663 S["RT_MAN_PATH"]="/opt/rt3/man"
664 S["RT_VAR_PATH"]="/opt/rt3/var"
665 S["RT_SBIN_PATH"]="/opt/rt3/sbin"
666 S["RT_BIN_PATH"]="/opt/rt3/bin"
667 S["CONFIG_FILE_PATH"]="/opt/rt3/etc"
668 S["RT_ETC_PATH"]="/opt/rt3/etc"
669 S["RT_LEXICON_PATH"]="/opt/rt3/share/po"
670 S["RT_LIB_PATH"]="/opt/rt3/lib"
671 S["RT_LOCAL_PATH"]="/opt/rt3/local"
672 S["RT_DOC_PATH"]="/opt/rt3/docs"
673 S["RT_PATH"]="/opt/rt3"
674 S["RT_VERSION_PATCH"]="21"
675 S["RT_VERSION_MINOR"]="0"
676 S["RT_VERSION_MAJOR"]="4"
677 S["RT_SSL_MAILGATE"]="0"
678 S["RT_GPG"]="1"
679 S["RT_GD"]="0"
680 S["RT_GRAPHVIZ"]="1"
681 S["RT_DEVEL_MODE"]="0"
682 S["APACHECTL"]="/usr/sbin/apachectl"
683 S["RTGROUP"]="freeside"
684 S["WEB_GROUP"]="freeside"
685 S["WEB_USER"]="freeside"
686 S["DB_RT_PASS"]=""
687 S["DB_RT_USER"]="freeside"
688 S["DB_DATABASE"]="freeside"
689 S["DB_DBA"]="freeside"
690 S["DB_RT_HOST"]="localhost"
691 S["DB_PORT"]=""
692 S["DB_HOST"]="localhost"
693 S["DATABASE_ENV_PREF"]=""
694 S["DB_TYPE"]="Pg"
695 S["LIBS_GROUP"]="bin"
696 S["LIBS_OWNER"]="root"
697 S["BIN_OWNER"]="root"
698 S["COMMENT_INPLACE_LAYOUT"]=""
699 S["rt_layout_name"]="Freeside"
700 S["exp_customlibdir"]="/opt/rt3/local/lib"
701 S["customlibdir"]="/opt/rt3/local/lib"
702 S["exp_customlexdir"]="/opt/rt3/local/po"
703 S["customlexdir"]="/opt/rt3/local/po"
704 S["exp_customhtmldir"]="/opt/rt3/local/html"
705 S["customhtmldir"]="/opt/rt3/local/html"
706 S["exp_customplugindir"]="/opt/rt3/local/plugins"
707 S["customplugindir"]="/opt/rt3/local/plugins"
708 S["exp_custometcdir"]="/opt/rt3/local/etc"
709 S["custometcdir"]="/opt/rt3/local/etc"
710 S["exp_customdir"]="/opt/rt3/local"
711 S["customdir"]="/opt/rt3/local"
712 S["exp_sessionstatedir"]="/opt/rt3/var/session_data"
713 S["sessionstatedir"]="/opt/rt3/var/session_data"
714 S["exp_masonstatedir"]="/usr/local/etc/freeside/masondata"
715 S["masonstatedir"]="/usr/local/etc/freeside/masondata"
716 S["exp_logfiledir"]="/opt/rt3/var/log"
717 S["logfiledir"]="/opt/rt3/var/log"
718 S["exp_localstatedir"]="/opt/rt3/var"
719 S["exp_plugindir"]="/opt/rt3/plugins"
720 S["plugindir"]="/opt/rt3/plugins"
721 S["exp_manualdir"]="/opt/rt3/docs"
722 S["manualdir"]="/opt/rt3/docs"
723 S["exp_fontdir"]="/opt/rt3/share/fonts"
724 S["fontdir"]="/opt/rt3/share/fonts"
725 S["exp_htmldir"]="/var/www/freeside/rt"
726 S["exp_datadir"]="/opt/rt3/share"
727 S["exp_lexdir"]="/opt/rt3/share/po"
728 S["lexdir"]="/opt/rt3/share/po"
729 S["exp_libdir"]="/opt/rt3/lib"
730 S["exp_mandir"]="/opt/rt3/man"
731 S["exp_sysconfdir"]="/opt/rt3/etc"
732 S["exp_sbindir"]="/opt/rt3/sbin"
733 S["exp_bindir"]="/opt/rt3/bin"
734 S["exp_exec_prefix"]="/opt/rt3"
735 S["exp_prefix"]="/opt/rt3"
736 S["WEB_HANDLER"]="modperl2"
737 S["PERL"]="/usr/bin/perl"
738 S["INSTALL_DATA"]="${INSTALL} -m 644"
739 S["INSTALL_SCRIPT"]="${INSTALL}"
740 S["INSTALL_PROGRAM"]="${INSTALL}"
741 S["rt_version_patch"]="21"
742 S["rt_version_minor"]="0"
743 S["rt_version_major"]="4"
744 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"\
745 "ss= --with-web-user=freeside --with-web-group=freeside --with-rt-group=freeside --with-web-handler=modperl2"
746 S["target_alias"]=""
747 S["host_alias"]=""
748 S["build_alias"]=""
749 S["LIBS"]=""
750 S["ECHO_T"]=""
751 S["ECHO_N"]="-n"
752 S["ECHO_C"]=""
753 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"rt-4.0.21\\\" -DPACKAGE_STRING=\\\"RT\\ rt-4.0.21\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@best"\
754 "practical.com\\\" -DPACKAGE_URL=\\\"\\\""
755 S["mandir"]="/opt/rt3/man"
756 S["localedir"]="${datarootdir}/locale"
757 S["libdir"]="/opt/rt3/lib"
758 S["psdir"]="${docdir}"
759 S["pdfdir"]="${docdir}"
760 S["dvidir"]="${docdir}"
761 S["htmldir"]="/var/www/freeside/rt"
762 S["infodir"]="${datarootdir}/info"
763 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
764 S["oldincludedir"]="/usr/include"
765 S["includedir"]="${prefix}/include"
766 S["localstatedir"]="/opt/rt3/var"
767 S["sharedstatedir"]="${prefix}/com"
768 S["sysconfdir"]="/opt/rt3/etc"
769 S["datadir"]="/opt/rt3/share"
770 S["datarootdir"]="${prefix}/share"
771 S["libexecdir"]="${exec_prefix}/libexec"
772 S["sbindir"]="/opt/rt3/sbin"
773 S["bindir"]="/opt/rt3/bin"
774 S["program_transform_name"]="s,x,x,"
775 S["prefix"]="/opt/rt3"
776 S["exec_prefix"]="/opt/rt3"
777 S["PACKAGE_URL"]=""
778 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
779 S["PACKAGE_STRING"]="RT rt-4.0.21"
780 S["PACKAGE_VERSION"]="rt-4.0.21"
781 S["PACKAGE_TARNAME"]="rt"
782 S["PACKAGE_NAME"]="RT"
783 S["PATH_SEPARATOR"]=":"
784 S["SHELL"]="/bin/bash"
785 _ACAWK
786 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
787   for (key in S) S_is_set[key] = 1
788   FS = "\a"
789
790 }
791 {
792   line = $ 0
793   nfields = split(line, field, "@")
794   substed = 0
795   len = length(field[1])
796   for (i = 2; i < nfields; i++) {
797     key = field[i]
798     keylen = length(key)
799     if (S_is_set[key]) {
800       value = S[key]
801       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
802       len += length(value) + length(field[++i])
803       substed = 1
804     } else
805       len += 1 + keylen
806   }
807
808   print line
809 }
810
811 _ACAWK
812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
813   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
814 else
815   cat
816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
817   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
818 fi # test -n "$CONFIG_FILES"
819
820
821 eval set X "  :F $CONFIG_FILES      "
822 shift
823 for ac_tag
824 do
825   case $ac_tag in
826   :[FHLC]) ac_mode=$ac_tag; continue;;
827   esac
828   case $ac_mode$ac_tag in
829   :[FHL]*:*);;
830   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
831   :[FH]-) ac_tag=-:-;;
832   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
833   esac
834   ac_save_IFS=$IFS
835   IFS=:
836   set x $ac_tag
837   IFS=$ac_save_IFS
838   shift
839   ac_file=$1
840   shift
841
842   case $ac_mode in
843   :L) ac_source=$1;;
844   :[FH])
845     ac_file_inputs=
846     for ac_f
847     do
848       case $ac_f in
849       -) ac_f="$ac_tmp/stdin";;
850       *) # Look for the file first in the build tree, then in the source tree
851          # (if the path is not absolute).  The absolute path cannot be DOS-style,
852          # because $ac_f cannot contain `:'.
853          test -f "$ac_f" ||
854            case $ac_f in
855            [\\/$]*) false;;
856            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
857            esac ||
858            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
859       esac
860       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
861       as_fn_append ac_file_inputs " '$ac_f'"
862     done
863
864     # Let's still pretend it is `configure' which instantiates (i.e., don't
865     # use $as_me), people would be surprised to read:
866     #    /* config.h.  Generated by config.status.  */
867     configure_input='Generated from '`
868           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
869         `' by configure.'
870     if test x"$ac_file" != x-; then
871       configure_input="$ac_file.  $configure_input"
872       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
873 $as_echo "$as_me: creating $ac_file" >&6;}
874     fi
875     # Neutralize special characters interpreted by sed in replacement strings.
876     case $configure_input in #(
877     *\&* | *\|* | *\\* )
878        ac_sed_conf_input=`$as_echo "$configure_input" |
879        sed 's/[\\\\&|]/\\\\&/g'`;; #(
880     *) ac_sed_conf_input=$configure_input;;
881     esac
882
883     case $ac_tag in
884     *:-:* | *:-) cat >"$ac_tmp/stdin" \
885       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
886     esac
887     ;;
888   esac
889
890   ac_dir=`$as_dirname -- "$ac_file" ||
891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
892          X"$ac_file" : 'X\(//\)[^/]' \| \
893          X"$ac_file" : 'X\(//\)$' \| \
894          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
895 $as_echo X"$ac_file" |
896     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
897             s//\1/
898             q
899           }
900           /^X\(\/\/\)[^/].*/{
901             s//\1/
902             q
903           }
904           /^X\(\/\/\)$/{
905             s//\1/
906             q
907           }
908           /^X\(\/\).*/{
909             s//\1/
910             q
911           }
912           s/.*/./; q'`
913   as_dir="$ac_dir"; as_fn_mkdir_p
914   ac_builddir=.
915
916 case "$ac_dir" in
917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
918 *)
919   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
920   # A ".." for each directory in $ac_dir_suffix.
921   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
922   case $ac_top_builddir_sub in
923   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
924   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
925   esac ;;
926 esac
927 ac_abs_top_builddir=$ac_pwd
928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
929 # for backward compatibility:
930 ac_top_builddir=$ac_top_build_prefix
931
932 case $srcdir in
933   .)  # We are building in place.
934     ac_srcdir=.
935     ac_top_srcdir=$ac_top_builddir_sub
936     ac_abs_top_srcdir=$ac_pwd ;;
937   [\\/]* | ?:[\\/]* )  # Absolute name.
938     ac_srcdir=$srcdir$ac_dir_suffix;
939     ac_top_srcdir=$srcdir
940     ac_abs_top_srcdir=$srcdir ;;
941   *) # Relative name.
942     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
943     ac_top_srcdir=$ac_top_build_prefix$srcdir
944     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
945 esac
946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
947
948
949   case $ac_mode in
950   :F)
951   #
952   # CONFIG_FILE
953   #
954
955   case $INSTALL in
956   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
957   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
958   esac
959 # If the template does not know about datarootdir, expand it.
960 # FIXME: This hack should be removed a few years after 2.60.
961 ac_datarootdir_hack=; ac_datarootdir_seen=
962 ac_sed_dataroot='
963 /datarootdir/ {
964   p
965   q
966 }
967 /@datadir@/p
968 /@docdir@/p
969 /@infodir@/p
970 /@localedir@/p
971 /@mandir@/p'
972 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
973 *datarootdir*) ac_datarootdir_seen=yes;;
974 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
975   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
976 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
977   ac_datarootdir_hack='
978   s&@datadir@&/opt/rt3/share&g
979   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
980   s&@infodir@&${datarootdir}/info&g
981   s&@localedir@&${datarootdir}/locale&g
982   s&@mandir@&/opt/rt3/man&g
983   s&\${datarootdir}&${prefix}/share&g' ;;
984 esac
985 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
986 h
987 s///
988 s/^/:/
989 s/[      ]*$/:/
990 s/:\$(srcdir):/:/g
991 s/:\${srcdir}:/:/g
992 s/:@srcdir@:/:/g
993 s/^:*//
994 s/:*$//
995 x
996 s/\(=[   ]*\).*/\1/
997 G
998 s/\n//
999 s/^[^=]*=[       ]*$//
1000 }
1001
1002 :t
1003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1004 s|@configure_input@|$ac_sed_conf_input|;t t
1005 s&@top_builddir@&$ac_top_builddir_sub&;t t
1006 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1007 s&@srcdir@&$ac_srcdir&;t t
1008 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1009 s&@top_srcdir@&$ac_top_srcdir&;t t
1010 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1011 s&@builddir@&$ac_builddir&;t t
1012 s&@abs_builddir@&$ac_abs_builddir&;t t
1013 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1014 s&@INSTALL@&$ac_INSTALL&;t t
1015 $ac_datarootdir_hack
1016 "
1017 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1018   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1019
1020 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1021   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1022   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
1023       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1024   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1025 which seems to be undefined.  Please make sure it is defined" >&5
1026 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1027 which seems to be undefined.  Please make sure it is defined" >&2;}
1028
1029   rm -f "$ac_tmp/stdin"
1030   case $ac_file in
1031   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1032   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1033   esac \
1034   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1035  ;;
1036
1037
1038
1039   esac
1040
1041
1042   case $ac_file$ac_mode in
1043     "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1044                 ;;
1045     "etc/upgrade/4.0-customfield-checkbox-extension":F) chmod ug+x $ac_file
1046                 ;;
1047     "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1048                 ;;
1049     "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
1050                 ;;
1051     "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
1052                 ;;
1053     "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
1054                 ;;
1055     "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1056                 ;;
1057     "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
1058                 ;;
1059     "sbin/rt-session-viewer":F) chmod ug+x $ac_file
1060                 ;;
1061     "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
1062                 ;;
1063     "sbin/rt-setup-database":F) chmod ug+x $ac_file
1064                 ;;
1065     "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
1066                 ;;
1067     "sbin/rt-email-digest":F) chmod ug+x $ac_file
1068                 ;;
1069     "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1070                 ;;
1071     "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1072                 ;;
1073     "sbin/rt-shredder":F) chmod ug+x $ac_file
1074                 ;;
1075     "sbin/rt-validator":F) chmod ug+x $ac_file
1076                 ;;
1077     "sbin/rt-validate-aliases":F) chmod ug+x $ac_file
1078                 ;;
1079     "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1080                 ;;
1081     "sbin/rt-server":F) chmod ug+x $ac_file
1082                 ;;
1083     "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
1084                 ;;
1085     "sbin/standalone_httpd":F) chmod ug+x $ac_file
1086                 ;;
1087     "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
1088                 ;;
1089     "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
1090                 ;;
1091     "bin/rt-crontool":F) chmod ug+x $ac_file
1092                 ;;
1093     "bin/rt-mailgate":F) chmod ug+x $ac_file
1094                 ;;
1095     "bin/rt":F) chmod ug+x $ac_file
1096                 ;;
1097
1098   esac
1099 done # for ac_tag
1100
1101
1102 as_fn_exit 0