tower tracking, RT#15538
[freeside.git] / rt / config.status
1 #! /bin/sh
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/sh}
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 3.8.10, 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/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"
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="'PERL=/usr/bin/perl'"
433 ac_cs_version="\
434 RT config.status 3.8.10
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='/Users/falcone/work/rt/security/rt-3.8.10'
443 srcdir='.'
444 INSTALL='/usr/bin/install -c'
445 AWK='gawk'
446 test -n "$AWK" || AWK=awk
447 # The default lists apply if the user does not specify any file.
448 ac_need_defaults=:
449 while test $# != 0
450 do
451   case $1 in
452   --*=?*)
453     ac_option=`expr "X$1" : 'X\([^=]*\)='`
454     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
455     ac_shift=:
456     ;;
457   --*=)
458     ac_option=`expr "X$1" : 'X\([^=]*\)='`
459     ac_optarg=
460     ac_shift=:
461     ;;
462   *)
463     ac_option=$1
464     ac_optarg=$2
465     ac_shift=shift
466     ;;
467   esac
468
469   case $ac_option in
470   # Handling of the options.
471   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
472     ac_cs_recheck=: ;;
473   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
474     $as_echo "$ac_cs_version"; exit ;;
475   --config | --confi | --conf | --con | --co | --c )
476     $as_echo "$ac_cs_config"; exit ;;
477   --debug | --debu | --deb | --de | --d | -d )
478     debug=: ;;
479   --file | --fil | --fi | --f )
480     $ac_shift
481     case $ac_optarg in
482     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
483     '') as_fn_error $? "missing file argument" ;;
484     esac
485     as_fn_append CONFIG_FILES " '$ac_optarg'"
486     ac_need_defaults=false;;
487   --he | --h |  --help | --hel | -h )
488     $as_echo "$ac_cs_usage"; exit ;;
489   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
490   | -silent | --silent | --silen | --sile | --sil | --si | --s)
491     ac_cs_silent=: ;;
492
493   # This is an error.
494   -*) as_fn_error $? "unrecognized option: \`$1'
495 Try \`$0 --help' for more information." ;;
496
497   *) as_fn_append ac_config_targets " $1"
498      ac_need_defaults=false ;;
499
500   esac
501   shift
502 done
503
504 ac_configure_extra_args=
505
506 if $ac_cs_silent; then
507   exec 6>/dev/null
508   ac_configure_extra_args="$ac_configure_extra_args --silent"
509 fi
510
511 if $ac_cs_recheck; then
512   set X '/bin/sh' './configure'  'PERL=/usr/bin/perl' $ac_configure_extra_args --no-create --no-recursion
513   shift
514   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
515   CONFIG_SHELL='/bin/sh'
516   export CONFIG_SHELL
517   exec "$@"
518 fi
519
520 exec 5>>config.log
521 {
522   echo
523   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
524 ## Running $as_me. ##
525 _ASBOX
526   $as_echo "$ac_log"
527 } >&5
528
529
530 # Handling of arguments.
531 for ac_config_target in $ac_config_targets
532 do
533   case $ac_config_target in
534     "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
535     "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
536     "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
537     "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
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-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
541     "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
542     "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
543     "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
544     "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
545     "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
546     "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
547     "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
548     "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
549     "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
550     "bin/fastcgi_server") CONFIG_FILES="$CONFIG_FILES bin/fastcgi_server" ;;
551     "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
552     "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
553     "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
554     "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
555     "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
556     "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
557     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
558     "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
559     "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
560     "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
561     "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
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_LIB_PATH_R"]="/opt/rt3/local/lib"
631 S["LOCAL_LEXICON_PATH_R"]="/opt/rt3/local/po"
632 S["MASON_LOCAL_HTML_PATH_R"]="/opt/rt3/local/html"
633 S["LOCAL_ETC_PATH_R"]="/opt/rt3/local/etc"
634 S["MASON_HTML_PATH_R"]="/opt/rt3/share/html"
635 S["MASON_SESSION_PATH_R"]="/opt/rt3/var/session_data"
636 S["MASON_DATA_PATH_R"]="/opt/rt3/var/mason_data"
637 S["RT_PLUGIN_PATH_R"]="/opt/rt3/plugins"
638 S["RT_FONT_PATH_R"]="/opt/rt3/share/fonts"
639 S["RT_MAN_PATH_R"]="/opt/rt3/man"
640 S["RT_VAR_PATH_R"]="/opt/rt3/var"
641 S["RT_SBIN_PATH_R"]="/opt/rt3/sbin"
642 S["RT_BIN_PATH_R"]="/opt/rt3/bin"
643 S["CONFIG_FILE_PATH_R"]="/opt/rt3/etc"
644 S["RT_ETC_PATH_R"]="/opt/rt3/etc"
645 S["RT_LIB_PATH_R"]="/opt/rt3/lib"
646 S["RT_LOCAL_PATH_R"]="/opt/rt3/local"
647 S["RT_DOC_PATH_R"]="/opt/rt3/share/doc"
648 S["RT_PATH_R"]="/opt/rt3"
649 S["RT_LOG_PATH"]="var/log"
650 S["LOCAL_LIB_PATH"]="local/lib"
651 S["LOCAL_LEXICON_PATH"]="local/po"
652 S["MASON_LOCAL_HTML_PATH"]="local/html"
653 S["LOCAL_ETC_PATH"]="local/etc"
654 S["MASON_HTML_PATH"]="share/html"
655 S["MASON_SESSION_PATH"]="var/session_data"
656 S["MASON_DATA_PATH"]="var/mason_data"
657 S["RT_PLUGIN_PATH"]="plugins"
658 S["RT_FONT_PATH"]="share/fonts"
659 S["RT_MAN_PATH"]="man"
660 S["RT_VAR_PATH"]="var"
661 S["RT_SBIN_PATH"]="sbin"
662 S["RT_BIN_PATH"]="bin"
663 S["CONFIG_FILE_PATH"]="etc"
664 S["RT_ETC_PATH"]="etc"
665 S["RT_LIB_PATH"]="lib"
666 S["RT_LOCAL_PATH"]="local"
667 S["RT_DOC_PATH"]="share/doc"
668 S["RT_PATH"]="/opt/rt3"
669 S["RT_VERSION_PATCH"]="10"
670 S["RT_VERSION_MINOR"]="8"
671 S["RT_VERSION_MAJOR"]="3"
672 S["RT_GPG"]="1"
673 S["RT_GD"]="1"
674 S["RT_GRAPHVIZ"]="0"
675 S["OBJEXT"]="o"
676 S["EXEEXT"]=""
677 S["ac_ct_CC"]="gcc"
678 S["CPPFLAGS"]=""
679 S["LDFLAGS"]=""
680 S["CFLAGS"]="-g -O2"
681 S["CC"]="gcc"
682 S["RT_DEVEL_MODE"]="0"
683 S["APACHECTL"]="/usr/sbin/apachectl"
684 S["RTGROUP"]="www"
685 S["WEB_GROUP"]="www"
686 S["WEB_USER"]="www"
687 S["DB_RT_PASS"]="rt_pass"
688 S["DB_RT_USER"]="rt_user"
689 S["DB_DATABASE"]="rt3"
690 S["DB_DBA"]="root"
691 S["DB_RT_HOST"]="localhost"
692 S["DB_PORT"]=""
693 S["DB_HOST"]="localhost"
694 S["DATABASE_ENV_PREF"]=""
695 S["DB_TYPE"]="mysql"
696 S["LIBS_GROUP"]="bin"
697 S["LIBS_OWNER"]="root"
698 S["BIN_OWNER"]="root"
699 S["COMMENT_INPLACE_LAYOUT"]=""
700 S["rt_layout_name"]="relative"
701 S["exp_customlibdir"]="local/lib"
702 S["customlibdir"]="local/lib"
703 S["exp_customlexdir"]="local/po"
704 S["customlexdir"]="local/po"
705 S["exp_customhtmldir"]="local/html"
706 S["customhtmldir"]="local/html"
707 S["exp_custometcdir"]="local/etc"
708 S["custometcdir"]="local/etc"
709 S["exp_customdir"]="local"
710 S["customdir"]="local"
711 S["exp_sessionstatedir"]="var/session_data"
712 S["sessionstatedir"]="var/session_data"
713 S["exp_masonstatedir"]="var/mason_data"
714 S["masonstatedir"]="var/mason_data"
715 S["exp_logfiledir"]="var/log"
716 S["logfiledir"]="var/log"
717 S["exp_localstatedir"]="var"
718 S["exp_plugindir"]="plugins"
719 S["plugindir"]="plugins"
720 S["exp_manualdir"]="share/doc"
721 S["manualdir"]="share/doc"
722 S["exp_fontdir"]="share/fonts"
723 S["fontdir"]="share/fonts"
724 S["exp_htmldir"]="share/html"
725 S["exp_datadir"]="share"
726 S["exp_libdir"]="lib"
727 S["exp_mandir"]="man"
728 S["exp_sysconfdir"]="etc"
729 S["exp_sbindir"]="sbin"
730 S["exp_bindir"]="bin"
731 S["exp_exec_prefix"]="/opt/rt3"
732 S["exp_prefix"]="/opt/rt3"
733 S["SPEEDY_BIN"]="/usr/local/bin/speedy"
734 S["WEB_HANDLER"]="fastcgi"
735 S["PERL"]="/usr/bin/perl"
736 S["AWK"]="gawk"
737 S["INSTALL_DATA"]="${INSTALL} -m 644"
738 S["INSTALL_SCRIPT"]="${INSTALL}"
739 S["INSTALL_PROGRAM"]="${INSTALL}"
740 S["rt_version_patch"]="10"
741 S["rt_version_minor"]="8"
742 S["rt_version_major"]="3"
743 S["target_alias"]=""
744 S["host_alias"]=""
745 S["build_alias"]=""
746 S["LIBS"]=""
747 S["ECHO_T"]=""
748 S["ECHO_N"]=""
749 S["ECHO_C"]="\\c"
750 S["DEFS"]="-DPACKAGE_NAME=\\\"RT\\\" -DPACKAGE_TARNAME=\\\"rt\\\" -DPACKAGE_VERSION=\\\"3.8.10\\\" -DPACKAGE_STRING=\\\"RT\\ 3.8.10\\\" -DPACKAGE_BUGREPORT=\\\"rt-bugs@bestpracti"\
751 "cal.com\\\" -DPACKAGE_URL=\\\"\\\""
752 S["mandir"]="man"
753 S["localedir"]="${datarootdir}/locale"
754 S["libdir"]="lib"
755 S["psdir"]="${docdir}"
756 S["pdfdir"]="${docdir}"
757 S["dvidir"]="${docdir}"
758 S["htmldir"]="share/html"
759 S["infodir"]="${datarootdir}/info"
760 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
761 S["oldincludedir"]="/usr/include"
762 S["includedir"]="${prefix}/include"
763 S["localstatedir"]="var"
764 S["sharedstatedir"]="${prefix}/com"
765 S["sysconfdir"]="etc"
766 S["datadir"]="share"
767 S["datarootdir"]="${prefix}/share"
768 S["libexecdir"]="${exec_prefix}/libexec"
769 S["sbindir"]="sbin"
770 S["bindir"]="bin"
771 S["program_transform_name"]="s,x,x,"
772 S["prefix"]="/opt/rt3"
773 S["exec_prefix"]="/opt/rt3"
774 S["PACKAGE_URL"]=""
775 S["PACKAGE_BUGREPORT"]="rt-bugs@bestpractical.com"
776 S["PACKAGE_STRING"]="RT 3.8.10"
777 S["PACKAGE_VERSION"]="3.8.10"
778 S["PACKAGE_TARNAME"]="rt"
779 S["PACKAGE_NAME"]="RT"
780 S["PATH_SEPARATOR"]=":"
781 S["SHELL"]="/bin/sh"
782 _ACAWK
783 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
784   for (key in S) S_is_set[key] = 1
785   FS = "\a"
786
787 }
788 {
789   line = $ 0
790   nfields = split(line, field, "@")
791   substed = 0
792   len = length(field[1])
793   for (i = 2; i < nfields; i++) {
794     key = field[i]
795     keylen = length(key)
796     if (S_is_set[key]) {
797       value = S[key]
798       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
799       len += length(value) + length(field[++i])
800       substed = 1
801     } else
802       len += 1 + keylen
803   }
804
805   print line
806 }
807
808 _ACAWK
809 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
810   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
811 else
812   cat
813 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
814   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
815 fi # test -n "$CONFIG_FILES"
816
817
818 eval set X "  :F $CONFIG_FILES      "
819 shift
820 for ac_tag
821 do
822   case $ac_tag in
823   :[FHLC]) ac_mode=$ac_tag; continue;;
824   esac
825   case $ac_mode$ac_tag in
826   :[FHL]*:*);;
827   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
828   :[FH]-) ac_tag=-:-;;
829   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
830   esac
831   ac_save_IFS=$IFS
832   IFS=:
833   set x $ac_tag
834   IFS=$ac_save_IFS
835   shift
836   ac_file=$1
837   shift
838
839   case $ac_mode in
840   :L) ac_source=$1;;
841   :[FH])
842     ac_file_inputs=
843     for ac_f
844     do
845       case $ac_f in
846       -) ac_f="$ac_tmp/stdin";;
847       *) # Look for the file first in the build tree, then in the source tree
848          # (if the path is not absolute).  The absolute path cannot be DOS-style,
849          # because $ac_f cannot contain `:'.
850          test -f "$ac_f" ||
851            case $ac_f in
852            [\\/$]*) false;;
853            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
854            esac ||
855            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
856       esac
857       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
858       as_fn_append ac_file_inputs " '$ac_f'"
859     done
860
861     # Let's still pretend it is `configure' which instantiates (i.e., don't
862     # use $as_me), people would be surprised to read:
863     #    /* config.h.  Generated by config.status.  */
864     configure_input='Generated from '`
865           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
866         `' by configure.'
867     if test x"$ac_file" != x-; then
868       configure_input="$ac_file.  $configure_input"
869       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
870 $as_echo "$as_me: creating $ac_file" >&6;}
871     fi
872     # Neutralize special characters interpreted by sed in replacement strings.
873     case $configure_input in #(
874     *\&* | *\|* | *\\* )
875        ac_sed_conf_input=`$as_echo "$configure_input" |
876        sed 's/[\\\\&|]/\\\\&/g'`;; #(
877     *) ac_sed_conf_input=$configure_input;;
878     esac
879
880     case $ac_tag in
881     *:-:* | *:-) cat >"$ac_tmp/stdin" \
882       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
883     esac
884     ;;
885   esac
886
887   ac_dir=`$as_dirname -- "$ac_file" ||
888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
889          X"$ac_file" : 'X\(//\)[^/]' \| \
890          X"$ac_file" : 'X\(//\)$' \| \
891          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
892 $as_echo X"$ac_file" |
893     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
894             s//\1/
895             q
896           }
897           /^X\(\/\/\)[^/].*/{
898             s//\1/
899             q
900           }
901           /^X\(\/\/\)$/{
902             s//\1/
903             q
904           }
905           /^X\(\/\).*/{
906             s//\1/
907             q
908           }
909           s/.*/./; q'`
910   as_dir="$ac_dir"; as_fn_mkdir_p
911   ac_builddir=.
912
913 case "$ac_dir" in
914 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
915 *)
916   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
917   # A ".." for each directory in $ac_dir_suffix.
918   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
919   case $ac_top_builddir_sub in
920   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
921   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
922   esac ;;
923 esac
924 ac_abs_top_builddir=$ac_pwd
925 ac_abs_builddir=$ac_pwd$ac_dir_suffix
926 # for backward compatibility:
927 ac_top_builddir=$ac_top_build_prefix
928
929 case $srcdir in
930   .)  # We are building in place.
931     ac_srcdir=.
932     ac_top_srcdir=$ac_top_builddir_sub
933     ac_abs_top_srcdir=$ac_pwd ;;
934   [\\/]* | ?:[\\/]* )  # Absolute name.
935     ac_srcdir=$srcdir$ac_dir_suffix;
936     ac_top_srcdir=$srcdir
937     ac_abs_top_srcdir=$srcdir ;;
938   *) # Relative name.
939     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
940     ac_top_srcdir=$ac_top_build_prefix$srcdir
941     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
942 esac
943 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
944
945
946   case $ac_mode in
947   :F)
948   #
949   # CONFIG_FILE
950   #
951
952   case $INSTALL in
953   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
954   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
955   esac
956 # If the template does not know about datarootdir, expand it.
957 # FIXME: This hack should be removed a few years after 2.60.
958 ac_datarootdir_hack=; ac_datarootdir_seen=
959 ac_sed_dataroot='
960 /datarootdir/ {
961   p
962   q
963 }
964 /@datadir@/p
965 /@docdir@/p
966 /@infodir@/p
967 /@localedir@/p
968 /@mandir@/p'
969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
970 *datarootdir*) ac_datarootdir_seen=yes;;
971 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
972   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
974   ac_datarootdir_hack='
975   s&@datadir@&share&g
976   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
977   s&@infodir@&${datarootdir}/info&g
978   s&@localedir@&${datarootdir}/locale&g
979   s&@mandir@&man&g
980   s&\${datarootdir}&${prefix}/share&g' ;;
981 esac
982 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
983 h
984 s///
985 s/^/:/
986 s/[      ]*$/:/
987 s/:\$(srcdir):/:/g
988 s/:\${srcdir}:/:/g
989 s/:@srcdir@:/:/g
990 s/^:*//
991 s/:*$//
992 x
993 s/\(=[   ]*\).*/\1/
994 G
995 s/\n//
996 s/^[^=]*=[       ]*$//
997 }
998
999 :t
1000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1001 s|@configure_input@|$ac_sed_conf_input|;t t
1002 s&@top_builddir@&$ac_top_builddir_sub&;t t
1003 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1004 s&@srcdir@&$ac_srcdir&;t t
1005 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1006 s&@top_srcdir@&$ac_top_srcdir&;t t
1007 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1008 s&@builddir@&$ac_builddir&;t t
1009 s&@abs_builddir@&$ac_abs_builddir&;t t
1010 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1011 s&@INSTALL@&$ac_INSTALL&;t t
1012 $ac_datarootdir_hack
1013 "
1014 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1015   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1016
1017 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1018   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1019   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
1020       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1021   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1022 which seems to be undefined.  Please make sure it is defined" >&5
1023 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1024 which seems to be undefined.  Please make sure it is defined" >&2;}
1025
1026   rm -f "$ac_tmp/stdin"
1027   case $ac_file in
1028   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1029   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1030   esac \
1031   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1032  ;;
1033
1034
1035
1036   esac
1037
1038
1039   case $ac_file$ac_mode in
1040     "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
1041                 ;;
1042     "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
1043                 ;;
1044     "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
1045                 ;;
1046     "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
1047                 ;;
1048     "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
1049                 ;;
1050     "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
1051                 ;;
1052     "sbin/rt-dump-database":F) chmod ug+x $ac_file
1053                 ;;
1054     "sbin/rt-setup-database":F) chmod ug+x $ac_file
1055                 ;;
1056     "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
1057                 ;;
1058     "sbin/rt-email-digest":F) chmod ug+x $ac_file
1059                 ;;
1060     "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
1061                 ;;
1062     "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
1063                 ;;
1064     "sbin/rt-shredder":F) chmod ug+x $ac_file
1065                 ;;
1066     "sbin/rt-validator":F) chmod ug+x $ac_file
1067                 ;;
1068     "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
1069                 ;;
1070     "sbin/rt-server":F) chmod ug+x $ac_file
1071                 ;;
1072     "bin/fastcgi_server":F) chmod ug+x $ac_file
1073                 ;;
1074     "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
1075                 ;;
1076     "bin/mason_handler.scgi":F) chmod ug+x $ac_file
1077                 ;;
1078     "bin/standalone_httpd":F) chmod ug+x $ac_file
1079                 ;;
1080     "bin/rt-crontool":F) chmod ug+x $ac_file
1081                 ;;
1082     "bin/rt-mailgate":F) chmod ug+x $ac_file
1083                 ;;
1084     "bin/rt":F) chmod ug+x $ac_file
1085                 ;;
1086
1087   esac
1088 done # for ac_tag
1089
1090
1091 as_fn_exit 0