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