import rt 3.8.11
[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 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136
137 # as_fn_error STATUS ERROR [LINENO LOG_FD]
138 # ----------------------------------------
139 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141 # script with STATUS, using 1 if that was 0.
142 as_fn_error ()
143 {
144   as_status=$1; test $as_status -eq 0 && as_status=1
145   if test "$4"; then
146     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
148   fi
149   $as_echo "$as_me: error: $2" >&2
150   as_fn_exit $as_status
151 } # as_fn_error
152
153
154 # as_fn_set_status STATUS
155 # -----------------------
156 # Set $? to STATUS, without forking.
157 as_fn_set_status ()
158 {
159   return $1
160 } # as_fn_set_status
161
162 # as_fn_exit STATUS
163 # -----------------
164 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165 as_fn_exit ()
166 {
167   set +e
168   as_fn_set_status $1
169   exit $1
170 } # as_fn_exit
171
172 # as_fn_unset VAR
173 # ---------------
174 # Portably unset VAR.
175 as_fn_unset ()
176 {
177   { eval $1=; unset $1;}
178 }
179 as_unset=as_fn_unset
180 # as_fn_append VAR VALUE
181 # ----------------------
182 # Append the text in VALUE to the end of the definition contained in VAR. Take
183 # advantage of any shell optimizations that allow amortized linear growth over
184 # repeated appends, instead of the typical quadratic growth present in naive
185 # implementations.
186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187   eval 'as_fn_append ()
188   {
189     eval $1+=\$2
190   }'
191 else
192   as_fn_append ()
193   {
194     eval $1=\$$1\$2
195   }
196 fi # as_fn_append
197
198 # as_fn_arith ARG...
199 # ------------------
200 # Perform arithmetic evaluation on the ARGs, and store the result in the
201 # global $as_val. Take advantage of shells that can avoid forks. The arguments
202 # must be portable across $(()) and expr.
203 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204   eval 'as_fn_arith ()
205   {
206     as_val=$(( $* ))
207   }'
208 else
209   as_fn_arith ()
210   {
211     as_val=`expr "$@" || test $? -eq 1`
212   }
213 fi # as_fn_arith
214
215
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217    test "X`expr 00001 : '.*\(...\)'`" = X001; then
218   as_expr=expr
219 else
220   as_expr=false
221 fi
222
223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224   as_basename=basename
225 else
226   as_basename=false
227 fi
228
229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230   as_dirname=dirname
231 else
232   as_dirname=false
233 fi
234
235 as_me=`$as_basename -- "$0" ||
236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237          X"$0" : 'X\(//\)$' \| \
238          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239 $as_echo X/"$0" |
240     sed '/^.*\/\([^/][^/]*\)\/*$/{
241             s//\1/
242             q
243           }
244           /^X\/\(\/\/\)$/{
245             s//\1/
246             q
247           }
248           /^X\/\(\/\).*/{
249             s//\1/
250             q
251           }
252           s/.*/./; q'`
253
254 # Avoid depending upon Character Ranges.
255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258 as_cr_digits='0123456789'
259 as_cr_alnum=$as_cr_Letters$as_cr_digits
260
261 ECHO_C= ECHO_N= ECHO_T=
262 case `echo -n x` in #(((((
263 -n*)
264   case `echo 'xy\c'` in
265   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
266   xy)  ECHO_C='\c';;
267   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
268        ECHO_T=' ';;
269   esac;;
270 *)
271   ECHO_N='-n';;
272 esac
273
274 rm -f conf$$ conf$$.exe conf$$.file
275 if test -d conf$$.dir; then
276   rm -f conf$$.dir/conf$$.file
277 else
278   rm -f conf$$.dir
279   mkdir conf$$.dir 2>/dev/null
280 fi
281 if (echo >conf$$.file) 2>/dev/null; then
282   if ln -s conf$$.file conf$$ 2>/dev/null; then
283     as_ln_s='ln -s'
284     # ... but there are two gotchas:
285     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287     # In both cases, we have to default to `cp -p'.
288     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289       as_ln_s='cp -p'
290   elif ln conf$$.file conf$$ 2>/dev/null; then
291     as_ln_s=ln
292   else
293     as_ln_s='cp -p'
294   fi
295 else
296   as_ln_s='cp -p'
297 fi
298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299 rmdir conf$$.dir 2>/dev/null
300
301
302 # as_fn_mkdir_p
303 # -------------
304 # Create "$as_dir" as a directory, including parents if necessary.
305 as_fn_mkdir_p ()
306 {
307
308   case $as_dir in #(
309   -*) as_dir=./$as_dir;;
310   esac
311   test -d "$as_dir" || eval $as_mkdir_p || {
312     as_dirs=
313     while :; do
314       case $as_dir in #(
315       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316       *) as_qdir=$as_dir;;
317       esac
318       as_dirs="'$as_qdir' $as_dirs"
319       as_dir=`$as_dirname -- "$as_dir" ||
320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321          X"$as_dir" : 'X\(//\)[^/]' \| \
322          X"$as_dir" : 'X\(//\)$' \| \
323          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324 $as_echo X"$as_dir" |
325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326             s//\1/
327             q
328           }
329           /^X\(\/\/\)[^/].*/{
330             s//\1/
331             q
332           }
333           /^X\(\/\/\)$/{
334             s//\1/
335             q
336           }
337           /^X\(\/\).*/{
338             s//\1/
339             q
340           }
341           s/.*/./; q'`
342       test -d "$as_dir" && break
343     done
344     test -z "$as_dirs" || eval "mkdir $as_dirs"
345   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
346
347
348 } # as_fn_mkdir_p
349 if mkdir -p . 2>/dev/null; then
350   as_mkdir_p='mkdir -p "$as_dir"'
351 else
352   test -d ./-p && rmdir ./-p
353   as_mkdir_p=false
354 fi
355
356 if test -x / >/dev/null 2>&1; then
357   as_test_x='test -x'
358 else
359   if ls -dL / >/dev/null 2>&1; then
360     as_ls_L_option=L
361   else
362     as_ls_L_option=
363   fi
364   as_test_x='
365     eval sh -c '\''
366       if test -d "$1"; then
367         test -d "$1/.";
368       else
369         case $1 in #(
370         -*)set "./$1";;
371         esac;
372         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373         ???[sx]*):;;*)false;;esac;fi
374     '\'' sh
375   '
376 fi
377 as_executable_p=$as_test_x
378
379 # Sed expression to map a string onto a valid CPP name.
380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
381
382 # Sed expression to map a string onto a valid variable name.
383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
384
385
386 exec 6>&1
387 ## ----------------------------------- ##
388 ## Main body of $CONFIG_STATUS script. ##
389 ## ----------------------------------- ##
390 # Save the log message, to keep $0 and so on meaningful, and to
391 # report actual input values of CONFIG_FILES etc. instead of their
392 # values after options handling.
393 ac_log="
394 This file was extended by RT $as_me 3.8.11, which was
395 generated by GNU Autoconf 2.67.  Invocation command line was
396
397   CONFIG_FILES    = $CONFIG_FILES
398   CONFIG_HEADERS  = $CONFIG_HEADERS
399   CONFIG_LINKS    = $CONFIG_LINKS
400   CONFIG_COMMANDS = $CONFIG_COMMANDS
401   $ $0 $@
402
403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
404 "
405
406 # Files that config.status was made for.
407 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/vulnerable-passwords 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/fastcgi_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"
408
409 ac_cs_usage="\
410 \`$as_me' instantiates files and other configuration actions
411 from templates according to the current configuration.  Unless the files
412 and actions are specified as TAGs, all are instantiated by default.
413
414 Usage: $0 [OPTION]... [TAG]...
415
416   -h, --help       print this help, then exit
417   -V, --version    print version number and configuration settings, then exit
418       --config     print configuration, then exit
419   -q, --quiet, --silent
420                    do not print progress messages
421   -d, --debug      don't remove temporary files
422       --recheck    update $as_me by reconfiguring in the same conditions
423       --file=FILE[:TEMPLATE]
424                    instantiate the configuration file FILE
425
426 Configuration files:
427 $config_files
428
429 Report bugs to <rt-bugs@bestpractical.com>."
430
431 ac_cs_config="'PERL=/usr/bin/perl' 'CC=ccache gcc'"
432 ac_cs_version="\
433 RT config.status 3.8.11
434 configured by ./configure, generated by GNU Autoconf 2.67,
435   with options \"$ac_cs_config\"
436
437 Copyright (C) 2010 Free Software Foundation, Inc.
438 This config.status script is free software; the Free Software Foundation
439 gives unlimited permission to copy, distribute and modify it."
440
441 ac_pwd='/home/chmrr/work/bps/git/rt/rt-3.8.11'
442 srcdir='.'
443 INSTALL='/usr/bin/install -c'
444 AWK='gawk'
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'  'PERL=/usr/bin/perl' 'CC=ccache gcc' $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/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
538     "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
539     "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
540     "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
541     "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
542     "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
543     "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
544     "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
545     "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
546     "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
547     "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
548     "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
549     "bin/fastcgi_server") CONFIG_FILES="$CONFIG_FILES bin/fastcgi_server" ;;
550     "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
551     "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
552     "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
553     "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
554     "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
555     "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
556     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
557     "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
558     "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
559     "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
560     "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
561     "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
562     "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
563
564   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
565   esac
566 done
567
568
569 # If the user did not use the arguments to specify the items to instantiate,
570 # then the envvar interface is used.  Set only those that are not.
571 # We use the long form for the default assignment because of an extremely
572 # bizarre bug on SunOS 4.1.3.
573 if $ac_need_defaults; then
574   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
575 fi
576
577 # Have a temporary directory for convenience.  Make it in the build tree
578 # simply because there is no reason against having it here, and in addition,
579 # creating and moving files from /tmp can sometimes cause problems.
580 # Hook for its removal unless debugging.
581 # Note that there is a small window in which the directory will not be cleaned:
582 # after its creation but before its name has been assigned to `$tmp'.
583 $debug ||
584 {
585   tmp=
586   trap 'exit_status=$?
587   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
588 ' 0
589   trap 'as_fn_exit 1' 1 2 13 15
590 }
591 # Create a (secure) tmp directory for tmp files.
592
593 {
594   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
595   test -n "$tmp" && test -d "$tmp"
596 }  ||
597 {
598   tmp=./conf$$-$RANDOM
599   (umask 077 && mkdir "$tmp")
600 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
601
602 # Set up the scripts for CONFIG_FILES section.
603 # No need to generate them if there are no CONFIG_FILES.
604 # This happens for instance with `./config.status config.h'.
605 if test -n "$CONFIG_FILES"; then
606
607
608 ac_cr=`echo X | tr X '\015'`
609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
610 # But we know of no other shell where ac_cr would be empty at this
611 # point, so we can use a bashism as a fallback.
612 if test "x$ac_cr" = x; then
613   eval ac_cr=\$\'\\r\'
614 fi
615 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
617   ac_cs_awk_cr='\\r'
618 else
619   ac_cs_awk_cr=$ac_cr
620 fi
621
622 echo 'BEGIN {' >"$tmp/subs1.awk" &&
623 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
624 S["LTLIBOBJS"]=""
625 S["LIBOBJS"]=""
626 S["RT_LOG_PATH_R"]="/opt/rt3/var/log"
627 S["LOCAL_LIB_PATH_R"]="/opt/rt3/local/lib"
628 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
629 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
630 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
631 S["MASON_HTML_PATH_R"]="/opt/rt3/share/html"
632 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
633 S["MASON_DATA_PATH_R"]="/opt/rt3/var/mason_data"
634 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
635 S["RT_FONT_PATH_R"]="/opt/rt3/share/fonts"
636 S["RT_MAN_PATH_R"]="/opt/rt3/man"
637 S["RT_VAR_PATH_R"]="/opt/rt3/var"
638 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
639 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
640 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
641 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
642 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
643 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
644 S["RT_DOC_PATH_R"]="/opt/rt3/share/doc"
645 S["RT_PATH_R"]="/opt/rt3"
646 S["RT_LOG_PATH"]="var/log"
647 S["LOCAL_LIB_PATH"]="local/lib"
648 S["LOCAL_LEXICON_PATH"]="local/po"
649 S["MASON_LOCAL_HTML_PATH"]="local/html"
650 S["LOCAL_ETC_PATH"]="local/etc"
651 S["MASON_HTML_PATH"]="share/html"
652 S["MASON_SESSION_PATH"]="var/session_data"
653 S["MASON_DATA_PATH"]="var/mason_data"
654 S["RT_PLUGIN_PATH"]="plugins"
655 S["RT_FONT_PATH"]="share/fonts"
656 S["RT_MAN_PATH"]="man"
657 S["RT_VAR_PATH"]="var"
658 S["RT_SBIN_PATH"]="sbin"
659 S["RT_BIN_PATH"]="bin"
660 S["CONFIG_FILE_PATH"]="etc"
661 S["RT_ETC_PATH"]="etc"
662 S["RT_LIB_PATH"]="lib"
663 S["RT_LOCAL_PATH"]="local"
664 S["RT_DOC_PATH"]="share/doc"
665 S["RT_PATH"]="/opt/rt3"
666 S["RT_VERSION_PATCH"]="11"
667 S["RT_VERSION_MINOR"]="8"
668 S["RT_VERSION_MAJOR"]="3"
669 S["RT_GPG"]="1"
670 S["RT_GD"]="1"
671 S["RT_GRAPHVIZ"]="0"
672 S["OBJEXT"]="o"
673 S["EXEEXT"]=""
674 S["ac_ct_CC"]="ccache gcc"
675 S["CPPFLAGS"]=""
676 S["LDFLAGS"]=""
677 S["CFLAGS"]="-g -O2"
678 S["CC"]="ccache gcc"
679 S["RT_DEVEL_MODE"]="0"
680 S["APACHECTL"]="/usr/sbin/apachectl"
681 S["RTGROUP"]="www-data"
682 S["WEB_GROUP"]="www-data"
683 S["WEB_USER"]="www-data"
684 S["DB_RT_PASS"]="rt_pass"
685 S["DB_RT_USER"]="rt_user"
686 S["DB_DATABASE"]="rt3"
687 S["DB_DBA"]="root"
688 S["DB_RT_HOST"]="localhost"
689 S["DB_PORT"]=""
690 S["DB_HOST"]="localhost"
691 S["DATABASE_ENV_PREF"]=""
692 S["DB_TYPE"]="mysql"
693 S["LIBS_GROUP"]="bin"
694 S["LIBS_OWNER"]="root"
695 S["BIN_OWNER"]="root"
696 S["COMMENT_INPLACE_LAYOUT"]=""
697 S["rt_layout_name"]="relative"
698 S["exp_customlibdir"]="local/lib"
699 S["customlibdir"]="local/lib"
700 S["exp_customlexdir"]="local/po"
701 S["customlexdir"]="local/po"
702 S["exp_customhtmldir"]="local/html"
703 S["customhtmldir"]="local/html"
704 S["exp_custometcdir"]="local/etc"
705 S["custometcdir"]="local/etc"
706 S["exp_customdir"]="local"
707 S["customdir"]="local"
708 S["exp_sessionstatedir"]="var/session_data"
709 S["sessionstatedir"]="var/session_data"
710 S["exp_masonstatedir"]="var/mason_data"
711 S["masonstatedir"]="var/mason_data"
712 S["exp_logfiledir"]="var/log"
713 S["logfiledir"]="var/log"
714 S["exp_localstatedir"]="var"
715 S["exp_plugindir"]="plugins"
716 S["plugindir"]="plugins"
717 S["exp_manualdir"]="share/doc"
718 S["manualdir"]="share/doc"
719 S["exp_fontdir"]="share/fonts"
720 S["fontdir"]="share/fonts"
721 S["exp_htmldir"]="share/html"
722 S["exp_datadir"]="share"
723 S["exp_libdir"]="lib"
724 S["exp_mandir"]="man"
725 S["exp_sysconfdir"]="etc"
726 S["exp_sbindir"]="sbin"
727 S["exp_bindir"]="bin"
728 S["exp_exec_prefix"]="/opt/rt3"
729 S["exp_prefix"]="/opt/rt3"
730 S["SPEEDY_BIN"]="/usr/local/bin/speedy"
731 S["WEB_HANDLER"]="fastcgi"
732 S["PERL"]="/usr/bin/perl"
733 S["AWK"]="gawk"
734 S["INSTALL_DATA"]="${INSTALL} -m 644"
735 S["INSTALL_SCRIPT"]="${INSTALL}"
736 S["INSTALL_PROGRAM"]="${INSTALL}"
737 S["rt_version_patch"]="11"
738 S["rt_version_minor"]="8"
739 S["rt_version_major"]="3"
740 S["target_alias"]=""
741 S["host_alias"]=""
742 S["build_alias"]=""
743 S["LIBS"]=""
744 S["ECHO_T"]=""
745 S["ECHO_N"]="-n"
746 S["ECHO_C"]=""
747 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"3.8.11\\\" -DPACKAGE_STRING=\\\"RT\\ 3.8.11\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpracti"\
748 "cal.com\\\" -DPACKAGE_URL=\\\"\\\""
749 S["mandir"]="man"
750 S["localedir"]="${datarootdir}/locale"
751 S["libdir"]="lib"
752 S["psdir"]="${docdir}"
753 S["pdfdir"]="${docdir}"
754 S["dvidir"]="${docdir}"
755 S["htmldir"]="share/html"
756 S["infodir"]="${datarootdir}/info"
757 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
758 S["oldincludedir"]="/usr/include"
759 S["includedir"]="${prefix}/include"
760 S["localstatedir"]="var"
761 S["sharedstatedir"]="${prefix}/com"
762 S["sysconfdir"]="etc"
763 S["datadir"]="share"
764 S["datarootdir"]="${prefix}/share"
765 S["libexecdir"]="${exec_prefix}/libexec"
766 S["sbindir"]="sbin"
767 S["bindir"]="bin"
768 S["program_transform_name"]="s,x,x,"
769 S["prefix"]="/opt/rt3"
770 S["exec_prefix"]="/opt/rt3"
771 S["PACKAGE_URL"]=""
772 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
773 S["PACKAGE_STRING"]="RT 3.8.11"
774 S["PACKAGE_VERSION"]="3.8.11"
775 S["PACKAGE_TARNAME"]="rt"
776 S["PACKAGE_NAME"]="RT"
777 S["PATH_SEPARATOR"]=":"
778 S["SHELL"]="/bin/bash"
779 _ACAWK
780 cat >>"$tmp/subs1.awk" <<_ACAWK &&
781   for (key in S) S_is_set[key] = 1
782   FS = "\a"
783
784 }
785 {
786   line = $ 0
787   nfields = split(line, field, "@")
788   substed = 0
789   len = length(field[1])
790   for (i = 2; i < nfields; i++) {
791     key = field[i]
792     keylen = length(key)
793     if (S_is_set[key]) {
794       value = S[key]
795       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
796       len += length(value) + length(field[++i])
797       substed = 1
798     } else
799       len += 1 + keylen
800   }
801
802   print line
803 }
804
805 _ACAWK
806 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
807   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
808 else
809   cat
810 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
811   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
812 fi # test -n "$CONFIG_FILES"
813
814
815 eval set X "  :F $CONFIG_FILES      "
816 shift
817 for ac_tag
818 do
819   case $ac_tag in
820   :[FHLC]) ac_mode=$ac_tag; continue;;
821   esac
822   case $ac_mode$ac_tag in
823   :[FHL]*:*);;
824   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
825   :[FH]-) ac_tag=-:-;;
826   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
827   esac
828   ac_save_IFS=$IFS
829   IFS=:
830   set x $ac_tag
831   IFS=$ac_save_IFS
832   shift
833   ac_file=$1
834   shift
835
836   case $ac_mode in
837   :L) ac_source=$1;;
838   :[FH])
839     ac_file_inputs=
840     for ac_f
841     do
842       case $ac_f in
843       -) ac_f="$tmp/stdin";;
844       *) # Look for the file first in the build tree, then in the source tree
845          # (if the path is not absolute).  The absolute path cannot be DOS-style,
846          # because $ac_f cannot contain `:'.
847          test -f "$ac_f" ||
848            case $ac_f in
849            [\\/$]*) false;;
850            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
851            esac ||
852            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
853       esac
854       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
855       as_fn_append ac_file_inputs " '$ac_f'"
856     done
857
858     # Let's still pretend it is `configure' which instantiates (i.e., don't
859     # use $as_me), people would be surprised to read:
860     #    /* config.h.  Generated by config.status.  */
861     configure_input='Generated from '`
862           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
863         `' by configure.'
864     if test x"$ac_file" != x-; then
865       configure_input="$ac_file.  $configure_input"
866       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
867 $as_echo "$as_me: creating $ac_file" >&6;}
868     fi
869     # Neutralize special characters interpreted by sed in replacement strings.
870     case $configure_input in #(
871     *\&* | *\|* | *\\* )
872        ac_sed_conf_input=`$as_echo "$configure_input" |
873        sed 's/[\\\\&|]/\\\\&/g'`;; #(
874     *) ac_sed_conf_input=$configure_input;;
875     esac
876
877     case $ac_tag in
878     *:-:* | *:-) cat >"$tmp/stdin" \
879       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
880     esac
881     ;;
882   esac
883
884   ac_dir=`$as_dirname -- "$ac_file" ||
885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
886          X"$ac_file" : 'X\(//\)[^/]' \| \
887          X"$ac_file" : 'X\(//\)$' \| \
888          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
889 $as_echo X"$ac_file" |
890     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
891             s//\1/
892             q
893           }
894           /^X\(\/\/\)[^/].*/{
895             s//\1/
896             q
897           }
898           /^X\(\/\/\)$/{
899             s//\1/
900             q
901           }
902           /^X\(\/\).*/{
903             s//\1/
904             q
905           }
906           s/.*/./; q'`
907   as_dir="$ac_dir"; as_fn_mkdir_p
908   ac_builddir=.
909
910 case "$ac_dir" in
911 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
912 *)
913   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
914   # A ".." for each directory in $ac_dir_suffix.
915   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
916   case $ac_top_builddir_sub in
917   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
918   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
919   esac ;;
920 esac
921 ac_abs_top_builddir=$ac_pwd
922 ac_abs_builddir=$ac_pwd$ac_dir_suffix
923 # for backward compatibility:
924 ac_top_builddir=$ac_top_build_prefix
925
926 case $srcdir in
927   .)  # We are building in place.
928     ac_srcdir=.
929     ac_top_srcdir=$ac_top_builddir_sub
930     ac_abs_top_srcdir=$ac_pwd ;;
931   [\\/]* | ?:[\\/]* )  # Absolute name.
932     ac_srcdir=$srcdir$ac_dir_suffix;
933     ac_top_srcdir=$srcdir
934     ac_abs_top_srcdir=$srcdir ;;
935   *) # Relative name.
936     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
937     ac_top_srcdir=$ac_top_build_prefix$srcdir
938     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
939 esac
940 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
941
942
943   case $ac_mode in
944   :F)
945   #
946   # CONFIG_FILE
947   #
948
949   case $INSTALL in
950   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
951   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
952   esac
953 # If the template does not know about datarootdir, expand it.
954 # FIXME: This hack should be removed a few years after 2.60.
955 ac_datarootdir_hack=; ac_datarootdir_seen=
956 ac_sed_dataroot='
957 /datarootdir/ {
958   p
959   q
960 }
961 /@datadir@/p
962 /@docdir@/p
963 /@infodir@/p
964 /@localedir@/p
965 /@mandir@/p'
966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
967 *datarootdir*) ac_datarootdir_seen=yes;;
968 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
969   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
971   ac_datarootdir_hack='
972   s&@datadir@&share&g
973   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
974   s&@infodir@&${datarootdir}/info&g
975   s&@localedir@&${datarootdir}/locale&g
976   s&@mandir@&man&g
977   s&\${datarootdir}&${prefix}/share&g' ;;
978 esac
979 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
980 h
981 s///
982 s/^/:/
983 s/[      ]*$/:/
984 s/:\$(srcdir):/:/g
985 s/:\${srcdir}:/:/g
986 s/:@srcdir@:/:/g
987 s/^:*//
988 s/:*$//
989 x
990 s/\(=[   ]*\).*/\1/
991 G
992 s/\n//
993 s/^[^=]*=[       ]*$//
994 }
995
996 :t
997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
998 s|@configure_input@|$ac_sed_conf_input|;t t
999 s&@top_builddir@&$ac_top_builddir_sub&;t t
1000 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1001 s&@srcdir@&$ac_srcdir&;t t
1002 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1003 s&@top_srcdir@&$ac_top_srcdir&;t t
1004 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1005 s&@builddir@&$ac_builddir&;t t
1006 s&@abs_builddir@&$ac_abs_builddir&;t t
1007 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1008 s&@INSTALL@&$ac_INSTALL&;t t
1009 $ac_datarootdir_hack
1010 "
1011 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1012   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1013
1014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1015   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1016   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1017   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1018 which seems to be undefined.  Please make sure it is defined" >&5
1019 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1020 which seems to be undefined.  Please make sure it is defined" >&2;}
1021
1022   rm -f "$tmp/stdin"
1023   case $ac_file in
1024   -) cat "$tmp/out" && rm -f "$tmp/out";;
1025   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1026   esac \
1027   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1028  ;;
1029
1030
1031
1032   esac
1033
1034
1035   case $ac_file$ac_mode in
1036     "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
1037                 ;;
1038     "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1039                 ;;
1040     "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1041                 ;;
1042     "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
1043                 ;;
1044     "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
1045                 ;;
1046     "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1047                 ;;
1048     "sbin/rt-dump-database":F) chmod ug+x $ac_file
1049                 ;;
1050     "sbin/rt-setup-database":F) chmod ug+x $ac_file
1051                 ;;
1052     "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
1053                 ;;
1054     "sbin/rt-email-digest":F) chmod ug+x $ac_file
1055                 ;;
1056     "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1057                 ;;
1058     "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1059                 ;;
1060     "sbin/rt-shredder":F) chmod ug+x $ac_file
1061                 ;;
1062     "sbin/rt-validator":F) chmod ug+x $ac_file
1063                 ;;
1064     "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1065                 ;;
1066     "sbin/rt-server":F) chmod ug+x $ac_file
1067                 ;;
1068     "bin/fastcgi_server":F) chmod ug+x $ac_file
1069                 ;;
1070     "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
1071                 ;;
1072     "bin/mason_handler.scgi":F) chmod ug+x $ac_file
1073                 ;;
1074     "bin/standalone_httpd":F) chmod ug+x $ac_file
1075                 ;;
1076     "bin/rt-crontool":F) chmod ug+x $ac_file
1077                 ;;
1078     "bin/rt-mailgate":F) chmod ug+x $ac_file
1079                 ;;
1080     "bin/rt":F) chmod ug+x $ac_file
1081                 ;;
1082
1083   esac
1084 done # for ac_tag
1085
1086
1087 as_fn_exit 0