2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for RT rt-4.2.12.
6 # Report bugs to <rt-bugs@bestpractical.com>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150 *v*x* | *x*v* ) as_opts=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: rt-bugs@bestpractical.com about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
583 PACKAGE_VERSION='rt-4.2.12'
584 PACKAGE_STRING='RT rt-4.2.12'
585 PACKAGE_BUGREPORT='rt-bugs@bestpractical.com'
588 ac_unique_file="lib/RT.pm"
589 ac_default_prefix=/opt/rt4
590 ac_subst_vars='LTLIBOBJS
597 MASON_LOCAL_HTML_PATH_R
621 MASON_LOCAL_HTML_PATH
665 COMMENT_INPLACE_LAYOUT
743 program_transform_name
756 enable_option_checking
783 ac_precious_vars='build_alias
789 # Initialize some variables set by options.
791 ac_init_version=false
792 ac_unrecognized_opts=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name=s,x,x,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
906 eval enable_$ac_useropt=no ;;
908 -docdir | --docdir | --docdi | --doc | --do)
910 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918 -enable-* | --enable-*)
919 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 as_fn_error $? "invalid feature name: $ac_useropt"
923 ac_useropt_orig=$ac_useropt
924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep=', ';;
932 eval enable_$ac_useropt=\$ac_optarg ;;
934 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
935 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
936 | --exec | --exe | --ex)
937 ac_prev=exec_prefix ;;
938 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
939 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
940 | --exec=* | --exe=* | --ex=*)
941 exec_prefix=$ac_optarg ;;
943 -gas | --gas | --ga | --g)
944 # Obsolete; use --with-gas.
947 -help | --help | --hel | --he | -h)
949 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
950 ac_init_help=recursive ;;
951 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
952 ac_init_help=short ;;
954 -host | --host | --hos | --ho)
955 ac_prev=host_alias ;;
956 -host=* | --host=* | --hos=* | --ho=*)
957 host_alias=$ac_optarg ;;
959 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 htmldir=$ac_optarg ;;
965 -includedir | --includedir | --includedi | --included | --include \
966 | --includ | --inclu | --incl | --inc)
967 ac_prev=includedir ;;
968 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
969 | --includ=* | --inclu=* | --incl=* | --inc=*)
970 includedir=$ac_optarg ;;
972 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
975 infodir=$ac_optarg ;;
977 -libdir | --libdir | --libdi | --libd)
979 -libdir=* | --libdir=* | --libdi=* | --libd=*)
982 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
983 | --libexe | --libex | --libe)
984 ac_prev=libexecdir ;;
985 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
986 | --libexe=* | --libex=* | --libe=*)
987 libexecdir=$ac_optarg ;;
989 -localedir | --localedir | --localedi | --localed | --locale)
991 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
992 localedir=$ac_optarg ;;
994 -localstatedir | --localstatedir | --localstatedi | --localstated \
995 | --localstate | --localstat | --localsta | --localst | --locals)
996 ac_prev=localstatedir ;;
997 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
998 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
999 localstatedir=$ac_optarg ;;
1001 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1004 mandir=$ac_optarg ;;
1006 -nfp | --nfp | --nf)
1007 # Obsolete; use --without-fp.
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n)
1014 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1015 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1019 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1020 | --oldin | --oldi | --old | --ol | --o)
1021 ac_prev=oldincludedir ;;
1022 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1023 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1024 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1025 oldincludedir=$ac_optarg ;;
1027 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1030 prefix=$ac_optarg ;;
1032 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1033 | --program-pre | --program-pr | --program-p)
1034 ac_prev=program_prefix ;;
1035 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1036 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1037 program_prefix=$ac_optarg ;;
1039 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1040 | --program-suf | --program-su | --program-s)
1041 ac_prev=program_suffix ;;
1042 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1043 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1044 program_suffix=$ac_optarg ;;
1046 -program-transform-name | --program-transform-name \
1047 | --program-transform-nam | --program-transform-na \
1048 | --program-transform-n | --program-transform- \
1049 | --program-transform | --program-transfor \
1050 | --program-transfo | --program-transf \
1051 | --program-trans | --program-tran \
1052 | --progr-tra | --program-tr | --program-t)
1053 ac_prev=program_transform_name ;;
1054 -program-transform-name=* | --program-transform-name=* \
1055 | --program-transform-nam=* | --program-transform-na=* \
1056 | --program-transform-n=* | --program-transform-=* \
1057 | --program-transform=* | --program-transfor=* \
1058 | --program-transfo=* | --program-transf=* \
1059 | --program-trans=* | --program-tran=* \
1060 | --progr-tra=* | --program-tr=* | --program-t=*)
1061 program_transform_name=$ac_optarg ;;
1063 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1066 pdfdir=$ac_optarg ;;
1068 -psdir | --psdir | --psdi | --psd | --ps)
1070 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081 sbindir=$ac_optarg ;;
1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1085 | --sharedst | --shareds | --shared | --share | --shar \
1087 ac_prev=sharedstatedir ;;
1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092 sharedstatedir=$ac_optarg ;;
1094 -site | --site | --sit)
1096 -site=* | --site=* | --sit=*)
1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1102 srcdir=$ac_optarg ;;
1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1105 | --syscon | --sysco | --sysc | --sys | --sy)
1106 ac_prev=sysconfdir ;;
1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1109 sysconfdir=$ac_optarg ;;
1111 -target | --target | --targe | --targ | --tar | --ta | --t)
1112 ac_prev=target_alias ;;
1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1114 target_alias=$ac_optarg ;;
1116 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119 -version | --version | --versio | --versi | --vers | -V)
1120 ac_init_version=: ;;
1123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126 as_fn_error $? "invalid package name: $ac_useropt"
1127 ac_useropt_orig=$ac_useropt
1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep=', ';;
1136 eval with_$ac_useropt=\$ac_optarg ;;
1138 -without-* | --without-*)
1139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142 as_fn_error $? "invalid package name: $ac_useropt"
1143 ac_useropt_orig=$ac_useropt
1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep=', ';;
1152 eval with_$ac_useropt=no ;;
1155 # Obsolete; use --with-x.
1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1159 | --x-incl | --x-inc | --x-in | --x-i)
1160 ac_prev=x_includes ;;
1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1163 x_includes=$ac_optarg ;;
1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1167 ac_prev=x_libraries ;;
1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1170 x_libraries=$ac_optarg ;;
1172 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information"
1177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' | [0-9]* | *[!_$as_cr_alnum]* )
1181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197 if test -n "$ac_prev"; then
1198 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error $? "missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val=\$$ac_var
1217 # Remove trailing slashes.
1220 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$]* | ?:[\\/]* ) continue;;
1226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x; then
1240 if test "x$build_alias" = x; then
1241 cross_compiling=maybe
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1250 test "$silent" = yes && exec 6>/dev/null
1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di=`ls -di .` &&
1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error $? "working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error $? "pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var in $ac_precious_vars; do
1314 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_${ac_var}_value=\$${ac_var}
1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures RT rt-4.2.12 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking ...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/rt]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive ) echo "Configuration of RT rt-4.2.12:";;
1393 --disable-option-checking ignore unrecognized --enable/--with options
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-layout=LAYOUT Use a specific directory layout (Default: relative)
1397 --enable-developer Add dependencies needed for testing and developing
1399 --enable-graphviz Turns on support for RT's GraphViz dependency charts
1400 --enable-gd Turns on support for RT's GD pie and bar charts
1401 --enable-gpg Turns on GNU Privacy Guard (GPG) support
1402 --enable-smime Turns on Secure MIME (SMIME) support
1405 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1406 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1407 --with-web-handler=LIST comma separated list of web-handlers RT will be able
1408 to use. Default is fastcgi. Valid values are
1409 modperl1, modperl2, fastcgi and standalone. To
1410 successfully run RT you need only one.
1411 --with-bin-owner=OWNER user that will own RT binaries (default root)
1412 --with-libs-owner=OWNER user that will own RT libraries (default root)
1413 --with-libs-group=GROUP group that will own RT binaries (default bin)
1414 --with-db-type=TYPE sort of database RT will use (default: mysql)
1415 (mysql, Pg, Oracle and SQLite are valid)
1416 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
1417 --with-db-port=PORT port on which the database listens on
1418 --with-db-rt-host=HOSTNAME
1419 FQDN of RT server which talks to the database server
1420 (default: localhost)
1421 --with-db-dba=DBA name of database administrator (default: root or
1423 --with-db-database=DBNAME
1424 name of the database to use (default: rt4)
1425 --with-db-rt-user=DBUSER
1426 name of database user (default: rt_user)
1427 --with-db-rt-pass=PASSWORD
1428 password for database user (default: rt_pass)
1429 --with-web-user=USER user the web server runs as (default: www)
1430 --with-web-group=GROUP group the web server runs as (default: www)
1431 --with-rt-group=GROUP group to own all files (default: rt)
1432 --with-my-user-group set all users and groups to current user/group
1435 Some influential environment variables:
1436 PERL Perl interpreter command
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1441 Report bugs to <rt-bugs@bestpractical.com>.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1449 test -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1465 ac_abs_top_builddir=$ac_pwd
1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir=$ac_top_build_prefix
1471 .) # We are building in place.
1473 ac_top_srcdir=$ac_top_builddir_sub
1474 ac_abs_top_srcdir=$ac_pwd ;;
1475 [\\/]* | ?:[\\/]* ) # Absolute name.
1476 ac_srcdir=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir=$srcdir
1478 ac_abs_top_srcdir=$srcdir ;;
1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1486 cd "$ac_dir" || { ac_status=$?; continue; }
1487 # Check for guested configure.
1488 if test -f "$ac_srcdir/configure.gnu"; then
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif test -f "$ac_srcdir/configure"; then
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 cd "$ac_pwd" || { ac_status=$?; break; }
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1504 RT configure rt-4.2.12
1505 generated by GNU Autoconf 2.69
1507 Copyright (C) 2012 Free Software Foundation, Inc.
1508 This configure script is free software; the Free Software Foundation
1509 gives unlimited permission to copy, distribute and modify it.
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1517 cat >config.log <<_ACEOF
1518 This file contains any messages produced by compilers while
1519 running configure, to aid debugging if configure makes a mistake.
1521 It was created by RT $as_me rt-4.2.12, which was
1522 generated by GNU Autoconf 2.69. Invocation command line was
1534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 $as_echo "PATH: $as_dir"
1574 # Keep a trace of the command line.
1575 # Strip out --no-create and --no-recursion so they do not pile up.
1576 # Strip out --silent because we don't want to record it for future runs.
1577 # Also quote any args containing shell meta-characters.
1578 # Make two passes to allow for proper duplicate-argument suppression.
1582 ac_must_keep_next=false
1588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1590 | -silent | --silent | --silen | --sile | --sil)
1593 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1598 as_fn_append ac_configure_args1 " '$ac_arg'"
1599 if test $ac_must_keep_next = true; then
1600 ac_must_keep_next=false # Got value, back to normal.
1603 *=* | --config-cache | -C | -disable-* | --disable-* \
1604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1606 | -with-* | --with-* | -without-* | --without-* | --x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1611 -* ) ac_must_keep_next=true ;;
1614 as_fn_append ac_configure_args " '$ac_arg'"
1619 { ac_configure_args0=; unset ac_configure_args0;}
1620 { ac_configure_args1=; unset ac_configure_args1;}
1622 # When interrupted or exit'd, cleanup temporary files, and complete
1623 # config.log. We remove comments because anyway the quotes in there
1624 # would cause problems or look ugly.
1625 # WARNING: Use '\'' to represent an apostrophe within the trap.
1626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1627 trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
1632 $as_echo "## ---------------- ##
1633 ## Cache variables. ##
1634 ## ---------------- ##"
1636 # The following way of writing the cache mishandles newlines in values,
1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1639 eval ac_val=\$$ac_var
1643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1647 _ | IFS | as_nl) ;; #(
1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1649 *) { eval $ac_var=; unset $ac_var;} ;;
1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1655 *${as_nl}ac_space=\ *)
1657 "s/'\''/'\''\\\\'\'''\''/g;
1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1668 $as_echo "## ----------------- ##
1669 ## Output variables. ##
1670 ## ----------------- ##"
1672 for ac_var in $ac_subst_vars
1674 eval ac_val=\$$ac_var
1676 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1678 $as_echo "$ac_var='\''$ac_val'\''"
1682 if test -n "$ac_subst_files"; then
1683 $as_echo "## ------------------- ##
1684 ## File substitutions. ##
1685 ## ------------------- ##"
1687 for ac_var in $ac_subst_files
1689 eval ac_val=\$$ac_var
1691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693 $as_echo "$ac_var='\''$ac_val'\''"
1698 if test -s confdefs.h; then
1699 $as_echo "## ----------- ##
1706 test "$ac_signal" != 0 &&
1707 $as_echo "$as_me: caught signal $ac_signal"
1708 $as_echo "$as_me: exit $exit_status"
1710 rm -f core *.core core.conftest.* &&
1711 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1714 for ac_signal in 1 2 13 15; do
1715 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1719 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1720 rm -f -r conftest* confdefs.h
1722 $as_echo "/* confdefs.h */" > confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_URL "$PACKAGE_URL"
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer an explicitly selected file to automatically selected ones.
1755 if test -n "$CONFIG_SITE"; then
1756 # We do not want a PATH search for config.site.
1757 case $CONFIG_SITE in #((
1758 -*) ac_site_file1=./$CONFIG_SITE;;
1759 */*) ac_site_file1=$CONFIG_SITE;;
1760 *) ac_site_file1=./$CONFIG_SITE;;
1762 elif test "x$prefix" != xNONE; then
1763 ac_site_file1=$prefix/share/config.site
1764 ac_site_file2=$prefix/etc/config.site
1766 ac_site_file1=$ac_default_prefix/share/config.site
1767 ac_site_file2=$ac_default_prefix/etc/config.site
1769 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1771 test "x$ac_site_file" = xNONE && continue
1772 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1775 sed 's/^/| /' "$ac_site_file" >&5
1777 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1779 as_fn_error $? "failed to load site script $ac_site_file
1780 See \`config.log' for more details" "$LINENO" 5; }
1784 if test -r "$cache_file"; then
1785 # Some versions of bash will fail to source /dev/null (special files
1786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1787 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1789 $as_echo "$as_me: loading cache $cache_file" >&6;}
1791 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1792 *) . "./$cache_file";;
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1797 $as_echo "$as_me: creating cache $cache_file" >&6;}
1801 # Check that the precious variables saved in the cache have kept the same
1803 ac_cache_corrupted=false
1804 for ac_var in $ac_precious_vars; do
1805 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1806 eval ac_new_set=\$ac_env_${ac_var}_set
1807 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1808 eval ac_new_val=\$ac_env_${ac_var}_value
1809 case $ac_old_set,$ac_new_set in
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1813 ac_cache_corrupted=: ;;
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1817 ac_cache_corrupted=: ;;
1820 if test "x$ac_old_val" != "x$ac_new_val"; then
1821 # differences in whitespace do not lead to failure.
1822 ac_old_val_w=`echo x $ac_old_val`
1823 ac_new_val_w=`echo x $ac_new_val`
1824 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1827 ac_cache_corrupted=:
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1831 eval $ac_var=\$ac_old_val
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1834 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1836 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1839 # Pass precious variables to config.status.
1840 if test "$ac_new_set" = set; then
1842 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1843 *) ac_arg=$ac_var=$ac_new_val ;;
1845 case " $ac_configure_args " in
1846 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1847 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1851 if $ac_cache_corrupted; then
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1858 ## -------------------- ##
1859 ## Main body of script. ##
1860 ## -------------------- ##
1863 ac_cpp='$CPP $CPPFLAGS'
1864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1871 CONFIGURE_INCANT="$0 $@"
1880 test "x$rt_version_major" = 'x' && rt_version_major=0
1881 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1882 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1885 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1886 if test -f "$ac_dir/install-sh"; then
1888 ac_install_sh="$ac_aux_dir/install-sh -c"
1890 elif test -f "$ac_dir/install.sh"; then
1892 ac_install_sh="$ac_aux_dir/install.sh -c"
1894 elif test -f "$ac_dir/shtool"; then
1896 ac_install_sh="$ac_aux_dir/shtool install -c"
1900 if test -z "$ac_aux_dir"; then
1901 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1904 # These three variables are undocumented and unsupported,
1905 # and are intended to be withdrawn in a future Autoconf release.
1906 # They can cause serious problems if a builder's source tree is in a directory
1907 # whose full name contains unusual characters.
1908 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1909 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1910 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1913 # Find a good install program. We prefer a C program (faster),
1914 # so one script is as good as another. But avoid the broken or
1915 # incompatible versions:
1916 # SysV /etc/install, /usr/sbin/install
1917 # SunOS /usr/etc/install
1918 # IRIX /sbin/install
1920 # AmigaOS /C/install, which installs bootblocks on floppy discs
1921 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1922 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1923 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1924 # OS/2's system install, which has a completely different semantic
1925 # ./install, which can be erroneously created by make from ./install.sh.
1926 # Reject install programs that cannot install multiple files.
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1928 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1929 if test -z "$INSTALL"; then
1930 if ${ac_cv_path_install+:} false; then :
1931 $as_echo_n "(cached) " >&6
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 # Account for people who put trailing slashes in PATH elements.
1939 case $as_dir/ in #((
1940 ./ | .// | /[cC]/* | \
1941 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1942 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1945 # OSF1 and SCO ODT 3.0 have their own names for install.
1946 # Don't use installbsd from OSF since it installs stuff as root
1948 for ac_prog in ginstall scoinst install; do
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1951 if test $ac_prog = install &&
1952 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1953 # AIX install. It has an incompatible calling convention.
1955 elif test $ac_prog = install &&
1956 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1957 # program-specific install script used by HP pwplus--don't use.
1960 rm -rf conftest.one conftest.two conftest.dir
1961 echo one > conftest.one
1962 echo two > conftest.two
1964 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1965 test -s conftest.one && test -s conftest.two &&
1966 test -s conftest.dir/conftest.one &&
1967 test -s conftest.dir/conftest.two
1969 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1982 rm -rf conftest.one conftest.two conftest.dir
1985 if test "${ac_cv_path_install+set}" = set; then
1986 INSTALL=$ac_cv_path_install
1988 # As a last resort, use the slow shell script. Don't cache a
1989 # value for INSTALL within a source directory, because that will
1990 # break other packages using the cache if that directory is
1991 # removed, or if the value is a relative name.
1992 INSTALL=$ac_install_sh
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1996 $as_echo "$INSTALL" >&6; }
1998 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1999 # It thinks the first close brace ends the variable substitution.
2000 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2002 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2004 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2007 # Extract the first word of "perl", so it can be a program name with args.
2008 set dummy perl; ac_word=$2
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2010 $as_echo_n "checking for $ac_word... " >&6; }
2011 if ${ac_cv_path_PERL+:} false; then :
2012 $as_echo_n "(cached) " >&6
2016 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
2038 PERL=$ac_cv_path_PERL
2039 if test -n "$PERL"; then
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2041 $as_echo "$PERL" >&6; }
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2044 $as_echo "no" >&6; }
2048 if test "$PERL" = 'not found'; then
2049 as_fn_error $? "cannot use $PACKAGE_NAME without perl" "$LINENO" 5
2054 # Check whether --with-web-handler was given.
2055 if test "${with_web_handler+set}" = set; then :
2056 withval=$with_web_handler; WEB_HANDLER=$withval
2061 my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV[0]' $WEB_HANDLER)
2062 if test "$my_web_handler_test" != "ok"; then
2063 as_fn_error $? "Only modperl1, modperl2, fastcgi and standalone are valid web-handlers" "$LINENO" 5
2069 # Check whether --enable-layout was given.
2070 if test "${enable_layout+set}" = set; then :
2071 enableval=$enable_layout; LAYOUT=$enableval
2075 if test "x$LAYOUT" = "x"; then
2079 if test ! -f $srcdir/config.layout; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5
2081 $as_echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
2084 pldconf=./config.pld
2085 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
2086 s/.*<Layout\s+$layout>//gims;
2087 s/\<\/Layout\>.*//s;
2092 # m4 will not let us just use $srcdir/config.layout, we need $1
2093 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim;
2094 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
2095 ' < $srcdir/config.layout > $pldconf
2097 if test -s $pldconf; then
2098 rt_layout_name=$LAYOUT
2101 for var in prefix exec_prefix bindir sbindir \
2102 sysconfdir mandir libdir datadir htmldir fontdir\
2103 lexdir staticdir localstatedir logfiledir masonstatedir \
2104 sessionstatedir customdir custometcdir customhtmldir \
2105 customlexdir customstaticdir customplugindir customlibdir manualdir; do
2106 eval "val=\"\$$var\""
2107 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
2109 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
2122 while test "x${ap_cur}" != "x${ap_last}"; do
2124 ap_cur=`eval "echo ${ap_cur}"`
2126 exp_prefix="${ap_cur}"
2134 ap_cur='$exec_prefix'
2135 while test "x${ap_cur}" != "x${ap_last}"; do
2137 ap_cur=`eval "echo ${ap_cur}"`
2139 exp_exec_prefix="${ap_cur}"
2148 while test "x${ap_cur}" != "x${ap_last}"; do
2150 ap_cur=`eval "echo ${ap_cur}"`
2152 exp_bindir="${ap_cur}"
2161 while test "x${ap_cur}" != "x${ap_last}"; do
2163 ap_cur=`eval "echo ${ap_cur}"`
2165 exp_sbindir="${ap_cur}"
2173 ap_cur='$sysconfdir'
2174 while test "x${ap_cur}" != "x${ap_last}"; do
2176 ap_cur=`eval "echo ${ap_cur}"`
2178 exp_sysconfdir="${ap_cur}"
2187 while test "x${ap_cur}" != "x${ap_last}"; do
2189 ap_cur=`eval "echo ${ap_cur}"`
2191 exp_mandir="${ap_cur}"
2200 while test "x${ap_cur}" != "x${ap_last}"; do
2202 ap_cur=`eval "echo ${ap_cur}"`
2204 exp_libdir="${ap_cur}"
2213 while test "x${ap_cur}" != "x${ap_last}"; do
2215 ap_cur=`eval "echo ${ap_cur}"`
2217 exp_lexdir="${ap_cur}"
2226 while test "x${ap_cur}" != "x${ap_last}"; do
2228 ap_cur=`eval "echo ${ap_cur}"`
2230 exp_staticdir="${ap_cur}"
2239 while test "x${ap_cur}" != "x${ap_last}"; do
2241 ap_cur=`eval "echo ${ap_cur}"`
2243 exp_datadir="${ap_cur}"
2252 while test "x${ap_cur}" != "x${ap_last}"; do
2254 ap_cur=`eval "echo ${ap_cur}"`
2256 exp_htmldir="${ap_cur}"
2265 while test "x${ap_cur}" != "x${ap_last}"; do
2267 ap_cur=`eval "echo ${ap_cur}"`
2269 exp_fontdir="${ap_cur}"
2278 while test "x${ap_cur}" != "x${ap_last}"; do
2280 ap_cur=`eval "echo ${ap_cur}"`
2282 exp_manualdir="${ap_cur}"
2291 while test "x${ap_cur}" != "x${ap_last}"; do
2293 ap_cur=`eval "echo ${ap_cur}"`
2295 exp_plugindir="${ap_cur}"
2303 ap_cur='$localstatedir'
2304 while test "x${ap_cur}" != "x${ap_last}"; do
2306 ap_cur=`eval "echo ${ap_cur}"`
2308 exp_localstatedir="${ap_cur}"
2316 ap_cur='$logfiledir'
2317 while test "x${ap_cur}" != "x${ap_last}"; do
2319 ap_cur=`eval "echo ${ap_cur}"`
2321 exp_logfiledir="${ap_cur}"
2329 ap_cur='$masonstatedir'
2330 while test "x${ap_cur}" != "x${ap_last}"; do
2332 ap_cur=`eval "echo ${ap_cur}"`
2334 exp_masonstatedir="${ap_cur}"
2342 ap_cur='$sessionstatedir'
2343 while test "x${ap_cur}" != "x${ap_last}"; do
2345 ap_cur=`eval "echo ${ap_cur}"`
2347 exp_sessionstatedir="${ap_cur}"
2356 while test "x${ap_cur}" != "x${ap_last}"; do
2358 ap_cur=`eval "echo ${ap_cur}"`
2360 exp_customdir="${ap_cur}"
2368 ap_cur='$custometcdir'
2369 while test "x${ap_cur}" != "x${ap_last}"; do
2371 ap_cur=`eval "echo ${ap_cur}"`
2373 exp_custometcdir="${ap_cur}"
2381 ap_cur='$customplugindir'
2382 while test "x${ap_cur}" != "x${ap_last}"; do
2384 ap_cur=`eval "echo ${ap_cur}"`
2386 exp_customplugindir="${ap_cur}"
2394 ap_cur='$customhtmldir'
2395 while test "x${ap_cur}" != "x${ap_last}"; do
2397 ap_cur=`eval "echo ${ap_cur}"`
2399 exp_customhtmldir="${ap_cur}"
2407 ap_cur='$customlexdir'
2408 while test "x${ap_cur}" != "x${ap_last}"; do
2410 ap_cur=`eval "echo ${ap_cur}"`
2412 exp_customlexdir="${ap_cur}"
2420 ap_cur='$customstaticdir'
2421 while test "x${ap_cur}" != "x${ap_last}"; do
2423 ap_cur=`eval "echo ${ap_cur}"`
2425 exp_customstaticdir="${ap_cur}"
2433 ap_cur='$customlibdir'
2434 while test "x${ap_cur}" != "x${ap_last}"; do
2436 ap_cur=`eval "echo ${ap_cur}"`
2438 exp_customlibdir="${ap_cur}"
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
2445 $as_echo_n "checking for chosen layout... " >&6; }
2446 if test "x$rt_layout_name" = "xno"; then
2447 if test "x$LAYOUT" = "xno"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2449 $as_echo "none" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5
2452 $as_echo "$LAYOUT" >&6; }
2454 as_fn_error $? "a valid layout must be specified (or the default used)" "$LINENO" 5
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5
2458 $as_echo "$rt_layout_name" >&6; }
2460 if test "x$rt_layout_name" != "xinplace" ; then
2461 COMMENT_INPLACE_LAYOUT=""
2464 COMMENT_INPLACE_LAYOUT=#
2470 # ACRT_USER_EXISTS( users, variable, default )
2471 # - users is a list of users [www apache www-docs]
2472 # from highest to lowest priority to high priority (i.e. first match)
2473 # - variable is what you set with the result
2480 # Check whether --with-bin-owner was given.
2481 if test "${with_bin_owner+set}" = set; then :
2482 withval=$with_bin_owner; BIN_OWNER=$withval
2490 # Check whether --with-libs-owner was given.
2491 if test "${with_libs_owner+set}" = set; then :
2492 withval=$with_libs_owner; LIBS_OWNER=$withval
2500 # Check whether --with-libs-group was given.
2501 if test "${with_libs_group+set}" = set; then :
2502 withval=$with_libs_group; LIBS_GROUP=$withval
2510 # Check whether --with-db-type was given.
2511 if test "${with_db_type+set}" = set; then :
2512 withval=$with_db_type; DB_TYPE=$withval
2517 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' ; then
2518 as_fn_error $? "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
2522 if test "$DB_TYPE" = 'Oracle'; then
2523 test "x$ORACLE_HOME" = 'x' && as_fn_error $? "Please declare the ORACLE_HOME environment variable" "$LINENO" 5
2524 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
2530 # Check whether --with-db-host was given.
2531 if test "${with_db_host+set}" = set; then :
2532 withval=$with_db_host; DB_HOST=$withval
2540 # Check whether --with-db-port was given.
2541 if test "${with_db_port+set}" = set; then :
2542 withval=$with_db_port; DB_PORT=$withval
2550 # Check whether --with-db-rt-host was given.
2551 if test "${with_db_rt_host+set}" = set; then :
2552 withval=$with_db_rt_host; DB_RT_HOST=$withval
2554 DB_RT_HOST=localhost
2559 if test "$DB_TYPE" = "Pg" ; then
2565 # Check whether --with-db-dba was given.
2566 if test "${with_db_dba+set}" = set; then :
2567 withval=$with_db_dba; DB_DBA=$withval
2575 # Check whether --with-db-database was given.
2576 if test "${with_db_database+set}" = set; then :
2577 withval=$with_db_database; DB_DATABASE=$withval
2585 # Check whether --with-db-rt-user was given.
2586 if test "${with_db_rt_user+set}" = set; then :
2587 withval=$with_db_rt_user; DB_RT_USER=$withval
2595 # Check whether --with-db-rt-pass was given.
2596 if test "${with_db_rt_pass+set}" = set; then :
2597 withval=$with_db_rt_pass; DB_RT_PASS=$withval
2605 # Check whether --with-web-user was given.
2606 if test "${with_web_user+set}" = set; then :
2607 withval=$with_web_user; WEB_USER=$withval
2611 for x in www www-data apache httpd nobody; do
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5
2613 $as_echo_n "checking if user $x exists... " >&6; }
2614 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then :
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2616 $as_echo "found" >&6; }; WEB_USER=$x ; break
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2619 $as_echo "not found" >&6; }
2629 # Check whether --with-web-group was given.
2630 if test "${with_web_group+set}" = set; then :
2631 withval=$with_web_group; WEB_GROUP=$withval
2635 for x in www www-data apache httpd nogroup nobody; do
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2637 $as_echo_n "checking if group $x exists... " >&6; }
2638 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2640 $as_echo "found" >&6; }; WEB_GROUP=$x ; break
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2643 $as_echo "not found" >&6; }
2652 # Check whether --with-rt-group was given.
2653 if test "${with_rt_group+set}" = set; then :
2654 withval=$with_rt_group; RTGROUP=$withval
2658 for x in rt3 rt $WEB_GROUP; do
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2660 $as_echo_n "checking if group $x exists... " >&6; }
2661 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2663 $as_echo "found" >&6; }; RTGROUP=$x ; break
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2666 $as_echo "not found" >&6; }
2674 my_group=$($PERL -MPOSIX=getgid -le 'print scalar getgrgid getgid')
2675 my_user=${USER:-$LOGNAME}
2677 # Check whether --with-my-user-group was given.
2678 if test "${with_my_user_group+set}" = set; then :
2679 withval=$with_my_user_group; RTGROUP=$my_group
2682 LIBS_GROUP=$my_group
2688 # Test for valid database names
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is set" >&5
2690 $as_echo_n "checking if database name is set... " >&6; }
2691 if echo $DB_DATABASE | $PERL -e 'exit(1) unless <> =~ /\S/' ; then :
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2693 $as_echo "yes" >&6; }
2695 as_fn_error $? "no. database name is not set" "$LINENO" 5
2700 # Check whether --with-developer was given.
2701 if test "${with_developer+set}" = set; then :
2702 withval=$with_developer; RT_DEVELOPER=$withval
2707 # Check whether --enable-developer was given.
2708 if test "${enable_developer+set}" = set; then :
2709 enableval=$enable_developer; RT_DEVELOPER=$enableval
2711 RT_DEVELOPER=$RT_DEVELOPER
2714 if test "$RT_DEVELOPER" = yes; then
2721 # Extract the first word of "dot", so it can be a program name with args.
2722 set dummy dot; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_RT_GRAPHVIZ+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$RT_GRAPHVIZ"; then
2729 ac_cv_prog_RT_GRAPHVIZ="$RT_GRAPHVIZ" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2738 ac_cv_prog_RT_GRAPHVIZ=""yes""
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 test -z "$ac_cv_prog_RT_GRAPHVIZ" && ac_cv_prog_RT_GRAPHVIZ=""no""
2749 RT_GRAPHVIZ=$ac_cv_prog_RT_GRAPHVIZ
2750 if test -n "$RT_GRAPHVIZ"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GRAPHVIZ" >&5
2752 $as_echo "$RT_GRAPHVIZ" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2760 # Check whether --with-graphviz was given.
2761 if test "${with_graphviz+set}" = set; then :
2762 withval=$with_graphviz; RT_GRAPHVIZ=$withval
2765 # Check whether --enable-graphviz was given.
2766 if test "${enable_graphviz+set}" = set; then :
2767 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
2770 if test "$RT_GRAPHVIZ" = yes; then
2777 # Extract the first word of "gdlib-config", so it can be a program name with args.
2778 set dummy gdlib-config; ac_word=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_RT_GD+:} false; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$RT_GD"; then
2785 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_RT_GD=""yes""
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""
2805 RT_GD=$ac_cv_prog_RT_GD
2806 if test -n "$RT_GD"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5
2808 $as_echo "$RT_GD" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2816 # Check whether --with-gd was given.
2817 if test "${with_gd+set}" = set; then :
2818 withval=$with_gd; RT_GD=$withval
2821 # Check whether --enable-gd was given.
2822 if test "${enable_gd+set}" = set; then :
2823 enableval=$enable_gd; RT_GD=$enableval
2826 if test "$RT_GD" = yes; then
2833 # Extract the first word of "gpg", so it can be a program name with args.
2834 set dummy gpg; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_RT_GPG_DEPS+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$RT_GPG_DEPS"; then
2841 ac_cv_prog_RT_GPG_DEPS="$RT_GPG_DEPS" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_RT_GPG_DEPS=""yes""
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 test -z "$ac_cv_prog_RT_GPG_DEPS" && ac_cv_prog_RT_GPG_DEPS=""no""
2861 RT_GPG_DEPS=$ac_cv_prog_RT_GPG_DEPS
2862 if test -n "$RT_GPG_DEPS"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GPG_DEPS" >&5
2864 $as_echo "$RT_GPG_DEPS" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2871 if test "$RT_GPG_DEPS" = yes; then
2876 # Check whether --enable-gpg was given.
2877 if test "${enable_gpg+set}" = set; then :
2878 enableval=$enable_gpg; RT_GPG=$enableval
2881 if test "$RT_GPG" = yes; then
2885 if test "$RT_GPG" = no; then
2896 # Extract the first word of "openssl", so it can be a program name with args.
2897 set dummy openssl; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if ${ac_cv_prog_RT_SMIME_DEPS+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$RT_SMIME_DEPS"; then
2904 ac_cv_prog_RT_SMIME_DEPS="$RT_SMIME_DEPS" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_RT_SMIME_DEPS=""yes""
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 test -z "$ac_cv_prog_RT_SMIME_DEPS" && ac_cv_prog_RT_SMIME_DEPS=""no""
2924 RT_SMIME_DEPS=$ac_cv_prog_RT_SMIME_DEPS
2925 if test -n "$RT_SMIME_DEPS"; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_SMIME_DEPS" >&5
2927 $as_echo "$RT_SMIME_DEPS" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2934 if test "$RT_SMIME_DEPS" = yes; then
2939 # Check whether --enable-smime was given.
2940 if test "${enable_smime+set}" = set; then :
2941 enableval=$enable_smime; RT_SMIME=$enableval
2944 if test "$RT_SMIME" = yes; then
2948 if test "$RT_SMIME" = no; then
2960 RT_VERSION_MAJOR=${rt_version_major}
2962 RT_VERSION_MINOR=${rt_version_minor}
2964 RT_VERSION_PATCH=${rt_version_patch}
2967 RT_PATH=${exp_prefix}
2969 RT_DOC_PATH=${exp_manualdir}
2971 RT_LOCAL_PATH=${exp_customdir}
2973 RT_LIB_PATH=${exp_libdir}
2975 RT_LEXICON_PATH=${exp_lexdir}
2977 RT_STATIC_PATH=${exp_staticdir}
2979 RT_ETC_PATH=${exp_sysconfdir}
2981 CONFIG_FILE_PATH=${exp_sysconfdir}
2983 RT_BIN_PATH=${exp_bindir}
2985 RT_SBIN_PATH=${exp_sbindir}
2987 RT_VAR_PATH=${exp_localstatedir}
2989 RT_MAN_PATH=${exp_mandir}
2991 RT_FONT_PATH=${exp_fontdir}
2993 RT_PLUGIN_PATH=${exp_plugindir}
2995 MASON_DATA_PATH=${exp_masonstatedir}
2997 MASON_SESSION_PATH=${exp_sessionstatedir}
2999 MASON_HTML_PATH=${exp_htmldir}
3001 LOCAL_ETC_PATH=${exp_custometcdir}
3003 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
3005 LOCAL_LEXICON_PATH=${exp_customlexdir}
3007 LOCAL_STATIC_PATH=${exp_customstaticdir}
3009 LOCAL_LIB_PATH=${exp_customlibdir}
3011 LOCAL_PLUGIN_PATH=${exp_customplugindir}
3013 RT_LOG_PATH=${exp_logfiledir}
3016 if test ${exp_sysconfdir} = "etc" -o ${exp_sysconfdir} = "etc/rt"; then
3017 RT_PATH_R=${exp_prefix}
3019 RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
3021 RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir}
3023 RT_LIB_PATH_R=${exp_prefix}/${exp_libdir}
3025 RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir}
3027 CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir}
3029 RT_BIN_PATH_R=${exp_prefix}/${exp_bindir}
3031 RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir}
3033 RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir}
3035 RT_MAN_PATH_R=${exp_prefix}/${exp_mandir}
3037 RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir}
3039 RT_LEXICON_PATH_R=${exp_prefix}/${exp_lexdir}
3041 RT_STATIC_PATH_R=${exp_prefix}/${exp_staticdir}
3043 RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
3045 MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
3047 MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir}
3049 MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir}
3051 LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir}
3053 MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir}
3055 LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir}
3057 LOCAL_STATIC_PATH_R=${exp_prefix}/${exp_customstaticdir}
3059 LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
3061 LOCAL_PLUGIN_PATH_R=${exp_prefix}/${exp_customplugindir}
3063 RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
3066 RT_PATH_R=${exp_prefix}
3068 RT_DOC_PATH_R=${exp_manualdir}
3070 RT_LOCAL_PATH_R=${exp_customdir}
3072 RT_LIB_PATH_R=${exp_libdir}
3074 RT_LEXICON_PATH_R=${exp_lexdir}
3076 RT_STATIC_PATH_R=${exp_staticdir}
3078 RT_ETC_PATH_R=${exp_sysconfdir}
3080 RT_PLUGIN_PATH_R=${exp_plugindir}
3082 CONFIG_FILE_PATH_R=${exp_sysconfdir}
3084 RT_BIN_PATH_R=${exp_bindir}
3086 RT_SBIN_PATH_R=${exp_sbindir}
3088 RT_VAR_PATH_R=${exp_localstatedir}
3090 RT_MAN_PATH_R=${exp_mandir}
3092 RT_FONT_PATH_R=${exp_fontdir}
3094 MASON_DATA_PATH_R=${exp_masonstatedir}
3096 MASON_SESSION_PATH_R=${exp_sessionstatedir}
3098 MASON_HTML_PATH_R=${exp_htmldir}
3100 LOCAL_ETC_PATH_R=${exp_custometcdir}
3102 MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir}
3104 LOCAL_LEXICON_PATH_R=${exp_customlexdir}
3106 LOCAL_STATIC_PATH_R=${exp_customstaticdir}
3108 LOCAL_PLUGIN_PATH_R=${exp_customplugindir}
3110 LOCAL_LIB_PATH_R=${exp_customlibdir}
3112 RT_LOG_PATH_R=${exp_logfiledir}
3118 ac_config_files="$ac_config_files etc/upgrade/3.8-ical-extension etc/upgrade/4.0-customfield-checkbox-extension etc/upgrade/generate-rtaddressregexp etc/upgrade/sanity-check-stylesheets etc/upgrade/shrink-cgm-table etc/upgrade/shrink-transactions-table etc/upgrade/split-out-cf-categories etc/upgrade/switch-templates-to etc/upgrade/time-worked-history etc/upgrade/upgrade-articles etc/upgrade/vulnerable-passwords sbin/rt-attributes-viewer sbin/rt-preferences-viewer sbin/rt-session-viewer sbin/rt-dump-metadata sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-validate-aliases sbin/rt-email-group-admin sbin/rt-server sbin/rt-server.fcgi sbin/standalone_httpd sbin/rt-setup-fulltext-index sbin/rt-fulltext-indexer sbin/rt-serializer sbin/rt-importer bin/rt-crontool bin/rt-mailgate bin/rt"
3121 ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT/Generated.pm t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
3123 cat >confcache <<\_ACEOF
3124 # This file is a shell script that caches the results of configure
3125 # tests run on this system so they can be shared between configure
3126 # scripts and configure runs, see configure's option --config-cache.
3127 # It is not useful on other systems. If it contains results you don't
3128 # want to keep, you may remove or edit it.
3130 # config.status only pays attention to the cache file if you give it
3131 # the --recheck option to rerun configure.
3133 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3134 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3139 # The following way of writing the cache mishandles newlines in values,
3140 # but we know of no workaround that is simple, portable, and efficient.
3141 # So, we kill variables containing newlines.
3142 # Ultrix sh set writes to stderr and can't be redirected directly,
3143 # and sets the high bit in the cache file unless we assign to the vars.
3145 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3146 eval ac_val=\$$ac_var
3150 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3154 _ | IFS | as_nl) ;; #(
3155 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3156 *) { eval $ac_var=; unset $ac_var;} ;;
3162 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3163 *${as_nl}ac_space=\ *)
3164 # `set' does not quote correctly, so add quotes: double-quote
3165 # substitution turns \\\\ into \\, and sed turns \\ into \.
3168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3171 # `set' quotes correctly as required by POSIX, so do not add quotes.
3172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3183 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3185 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3186 if test -w "$cache_file"; then
3187 if test "x$cache_file" != "x/dev/null"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3189 $as_echo "$as_me: updating cache $cache_file" >&6;}
3190 if test ! -f "$cache_file" || test -h "$cache_file"; then
3191 cat confcache >"$cache_file"
3193 case $cache_file in #(
3195 mv -f confcache "$cache_file"$$ &&
3196 mv -f "$cache_file"$$ "$cache_file" ;; #(
3198 mv -f confcache "$cache_file" ;;
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3204 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3209 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3210 # Let make expand exec_prefix.
3211 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3213 # Transform confdefs.h into DEFS.
3214 # Protect against shell expansion while executing Makefile rules.
3215 # Protect against Makefile macro expansion.
3217 # If the first sed substitution is executed (which looks for macros that
3218 # take arguments), then branch to the quote section. Otherwise,
3219 # look for a macro that doesn't take arguments.
3229 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3231 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3235 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3248 DEFS=`sed -n "$ac_script" confdefs.h`
3254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3255 # 1. Remove the extension, and $U if already installed.
3256 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3257 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3258 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3259 # will be set to the directory where LIBOBJS objects are built.
3260 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3261 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3265 LTLIBOBJS=$ac_ltlibobjs
3269 : "${CONFIG_STATUS=./config.status}"
3271 ac_clean_files_save=$ac_clean_files
3272 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3274 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3276 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3278 # Generated by $as_me.
3279 # Run this file to recreate the current configuration.
3280 # Compiler output produced by configure, useful for debugging
3281 # configure, is in config.log if it exists.
3287 SHELL=\${CONFIG_SHELL-$SHELL}
3290 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3291 ## -------------------- ##
3292 ## M4sh Initialization. ##
3293 ## -------------------- ##
3295 # Be more Bourne compatible
3296 DUALCASE=1; export DUALCASE # for MKS sh
3297 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3300 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3301 # is contrary to our usage. Disable this feature.
3302 alias -g '${1+"$@"}'='"$@"'
3303 setopt NO_GLOB_SUBST
3305 case `(set -o) 2>/dev/null` in #(
3317 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3318 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3319 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3320 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3321 # Prefer a ksh shell builtin over an external printf program on Solaris,
3322 # but without wasting forks for bash or zsh.
3323 if test -z "$BASH_VERSION$ZSH_VERSION" \
3324 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3325 as_echo='print -r --'
3326 as_echo_n='print -rn --'
3327 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3328 as_echo='printf %s\n'
3329 as_echo_n='printf %s'
3331 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3332 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3333 as_echo_n='/usr/ucb/echo -n'
3335 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3336 as_echo_n_body='eval
3340 expr "X$arg" : "X\\(.*\\)$as_nl";
3341 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3343 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3345 export as_echo_n_body
3346 as_echo_n='sh -c $as_echo_n_body as_echo'
3349 as_echo='sh -c $as_echo_body as_echo'
3352 # The user is always right.
3353 if test "${PATH_SEPARATOR+set}" != set; then
3355 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3356 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3363 # We need space, tab and new line, in precisely that order. Quoting is
3364 # there to prevent editors from complaining about space-tab.
3365 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3366 # splitting by setting IFS to empty value.)
3369 # Find who we are. Look in the path if we contain no directory separator.
3372 *[\\/]* ) as_myself=$0 ;;
3373 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3384 # We did not find ourselves, most probably we were run as `sh COMMAND'
3385 # in which case we are not to be found in the path.
3386 if test "x$as_myself" = x; then
3389 if test ! -f "$as_myself"; then
3390 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3394 # Unset variables that we do not need and which cause bugs (e.g. in
3395 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3396 # suppresses any "Segmentation fault" message there. '((' could
3397 # trigger a bug in pdksh 5.2.14.
3398 for as_var in BASH_ENV ENV MAIL MAILPATH
3399 do eval test x\${$as_var+set} = xset \
3400 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3413 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3417 # ----------------------------------------
3418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3420 # script with STATUS, using 1 if that was 0.
3423 as_status=$1; test $as_status -eq 0 && as_status=1
3425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3428 $as_echo "$as_me: error: $2" >&2
3429 as_fn_exit $as_status
3433 # as_fn_set_status STATUS
3434 # -----------------------
3435 # Set $? to STATUS, without forking.
3439 } # as_fn_set_status
3443 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3453 # Portably unset VAR.
3456 { eval $1=; unset $1;}
3458 as_unset=as_fn_unset
3459 # as_fn_append VAR VALUE
3460 # ----------------------
3461 # Append the text in VALUE to the end of the definition contained in VAR. Take
3462 # advantage of any shell optimizations that allow amortized linear growth over
3463 # repeated appends, instead of the typical quadratic growth present in naive
3465 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3466 eval 'as_fn_append ()
3477 # as_fn_arith ARG...
3478 # ------------------
3479 # Perform arithmetic evaluation on the ARGs, and store the result in the
3480 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3481 # must be portable across $(()) and expr.
3482 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3483 eval 'as_fn_arith ()
3490 as_val=`expr "$@" || test $? -eq 1`
3495 if expr a : '\(a\)' >/dev/null 2>&1 &&
3496 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3502 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3503 as_basename=basename
3508 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3514 as_me=`$as_basename -- "$0" ||
3515 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3516 X"$0" : 'X\(//\)$' \| \
3517 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3519 sed '/^.*\/\([^/][^/]*\)\/*$/{
3533 # Avoid depending upon Character Ranges.
3534 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3535 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3536 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3537 as_cr_digits='0123456789'
3538 as_cr_alnum=$as_cr_Letters$as_cr_digits
3540 ECHO_C= ECHO_N= ECHO_T=
3541 case `echo -n x` in #(((((
3543 case `echo 'xy\c'` in
3544 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3546 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3553 rm -f conf$$ conf$$.exe conf$$.file
3554 if test -d conf$$.dir; then
3555 rm -f conf$$.dir/conf$$.file
3558 mkdir conf$$.dir 2>/dev/null
3560 if (echo >conf$$.file) 2>/dev/null; then
3561 if ln -s conf$$.file conf$$ 2>/dev/null; then
3563 # ... but there are two gotchas:
3564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3566 # In both cases, we have to default to `cp -pR'.
3567 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3569 elif ln conf$$.file conf$$ 2>/dev/null; then
3577 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3578 rmdir conf$$.dir 2>/dev/null
3583 # Create "$as_dir" as a directory, including parents if necessary.
3588 -*) as_dir=./$as_dir;;
3590 test -d "$as_dir" || eval $as_mkdir_p || {
3594 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3595 *) as_qdir=$as_dir;;
3597 as_dirs="'$as_qdir' $as_dirs"
3598 as_dir=`$as_dirname -- "$as_dir" ||
3599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3600 X"$as_dir" : 'X\(//\)[^/]' \| \
3601 X"$as_dir" : 'X\(//\)$' \| \
3602 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3603 $as_echo X"$as_dir" |
3604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3621 test -d "$as_dir" && break
3623 test -z "$as_dirs" || eval "mkdir $as_dirs"
3624 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3628 if mkdir -p . 2>/dev/null; then
3629 as_mkdir_p='mkdir -p "$as_dir"'
3631 test -d ./-p && rmdir ./-p
3636 # as_fn_executable_p FILE
3637 # -----------------------
3638 # Test if FILE is an executable regular file.
3639 as_fn_executable_p ()
3641 test -f "$1" && test -x "$1"
3642 } # as_fn_executable_p
3644 as_executable_p=as_fn_executable_p
3646 # Sed expression to map a string onto a valid CPP name.
3647 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3649 # Sed expression to map a string onto a valid variable name.
3650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3654 ## ----------------------------------- ##
3655 ## Main body of $CONFIG_STATUS script. ##
3656 ## ----------------------------------- ##
3658 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3661 # Save the log message, to keep $0 and so on meaningful, and to
3662 # report actual input values of CONFIG_FILES etc. instead of their
3663 # values after options handling.
3665 This file was extended by RT $as_me rt-4.2.12, which was
3666 generated by GNU Autoconf 2.69. Invocation command line was
3668 CONFIG_FILES = $CONFIG_FILES
3669 CONFIG_HEADERS = $CONFIG_HEADERS
3670 CONFIG_LINKS = $CONFIG_LINKS
3671 CONFIG_COMMANDS = $CONFIG_COMMANDS
3674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3679 case $ac_config_files in *"
3680 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3686 # Files that config.status was made for.
3687 config_files="$ac_config_files"
3691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3693 \`$as_me' instantiates files and other configuration actions
3694 from templates according to the current configuration. Unless the files
3695 and actions are specified as TAGs, all are instantiated by default.
3697 Usage: $0 [OPTION]... [TAG]...
3699 -h, --help print this help, then exit
3700 -V, --version print version number and configuration settings, then exit
3701 --config print configuration, then exit
3702 -q, --quiet, --silent
3703 do not print progress messages
3704 -d, --debug don't remove temporary files
3705 --recheck update $as_me by reconfiguring in the same conditions
3706 --file=FILE[:TEMPLATE]
3707 instantiate the configuration file FILE
3709 Configuration files:
3712 Report bugs to <rt-bugs@bestpractical.com>."
3715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3716 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3718 RT config.status rt-4.2.12
3719 configured by $0, generated by GNU Autoconf 2.69,
3720 with options \\"\$ac_cs_config\\"
3722 Copyright (C) 2012 Free Software Foundation, Inc.
3723 This config.status script is free software; the Free Software Foundation
3724 gives unlimited permission to copy, distribute and modify it."
3729 test -n "\$AWK" || AWK=awk
3732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3733 # The default lists apply if the user does not specify any file.
3739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3756 # Handling of the options.
3757 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3759 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3760 $as_echo "$ac_cs_version"; exit ;;
3761 --config | --confi | --conf | --con | --co | --c )
3762 $as_echo "$ac_cs_config"; exit ;;
3763 --debug | --debu | --deb | --de | --d | -d )
3765 --file | --fil | --fi | --f )
3768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3769 '') as_fn_error $? "missing file argument" ;;
3771 as_fn_append CONFIG_FILES " '$ac_optarg'"
3772 ac_need_defaults=false;;
3773 --he | --h | --help | --hel | -h )
3774 $as_echo "$ac_cs_usage"; exit ;;
3775 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3776 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3780 -*) as_fn_error $? "unrecognized option: \`$1'
3781 Try \`$0 --help' for more information." ;;
3783 *) as_fn_append ac_config_targets " $1"
3784 ac_need_defaults=false ;;
3790 ac_configure_extra_args=
3792 if $ac_cs_silent; then
3794 ac_configure_extra_args="$ac_configure_extra_args --silent"
3798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3799 if \$ac_cs_recheck; then
3800 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3802 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3803 CONFIG_SHELL='$SHELL'
3809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3813 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3814 ## Running $as_me. ##
3820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3825 # Handling of arguments.
3826 for ac_config_target in $ac_config_targets
3828 case $ac_config_target in
3829 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
3830 "etc/upgrade/4.0-customfield-checkbox-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/4.0-customfield-checkbox-extension" ;;
3831 "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
3832 "etc/upgrade/sanity-check-stylesheets") CONFIG_FILES="$CONFIG_FILES etc/upgrade/sanity-check-stylesheets" ;;
3833 "etc/upgrade/shrink-cgm-table") CONFIG_FILES="$CONFIG_FILES etc/upgrade/shrink-cgm-table" ;;
3834 "etc/upgrade/shrink-transactions-table") CONFIG_FILES="$CONFIG_FILES etc/upgrade/shrink-transactions-table" ;;
3835 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
3836 "etc/upgrade/switch-templates-to") CONFIG_FILES="$CONFIG_FILES etc/upgrade/switch-templates-to" ;;
3837 "etc/upgrade/time-worked-history") CONFIG_FILES="$CONFIG_FILES etc/upgrade/time-worked-history" ;;
3838 "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;;
3839 "etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
3840 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
3841 "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;;
3842 "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;;
3843 "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;;
3844 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
3845 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
3846 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
3847 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
3848 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
3849 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
3850 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
3851 "sbin/rt-validate-aliases") CONFIG_FILES="$CONFIG_FILES sbin/rt-validate-aliases" ;;
3852 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
3853 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
3854 "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
3855 "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
3856 "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
3857 "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
3858 "sbin/rt-serializer") CONFIG_FILES="$CONFIG_FILES sbin/rt-serializer" ;;
3859 "sbin/rt-importer") CONFIG_FILES="$CONFIG_FILES sbin/rt-importer" ;;
3860 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
3861 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
3862 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
3863 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3864 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
3865 "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
3866 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
3867 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
3869 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3874 # If the user did not use the arguments to specify the items to instantiate,
3875 # then the envvar interface is used. Set only those that are not.
3876 # We use the long form for the default assignment because of an extremely
3877 # bizarre bug on SunOS 4.1.3.
3878 if $ac_need_defaults; then
3879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3882 # Have a temporary directory for convenience. Make it in the build tree
3883 # simply because there is no reason against having it here, and in addition,
3884 # creating and moving files from /tmp can sometimes cause problems.
3885 # Hook for its removal unless debugging.
3886 # Note that there is a small window in which the directory will not be cleaned:
3887 # after its creation but before its name has been assigned to `$tmp'.
3891 trap 'exit_status=$?
3893 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3895 trap 'as_fn_exit 1' 1 2 13 15
3897 # Create a (secure) tmp directory for tmp files.
3900 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3904 tmp=./conf$$-$RANDOM
3905 (umask 077 && mkdir "$tmp")
3906 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3909 # Set up the scripts for CONFIG_FILES section.
3910 # No need to generate them if there are no CONFIG_FILES.
3911 # This happens for instance with `./config.status config.h'.
3912 if test -n "$CONFIG_FILES"; then
3915 ac_cr=`echo X | tr X '\015'`
3916 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3917 # But we know of no other shell where ac_cr would be empty at this
3918 # point, so we can use a bashism as a fallback.
3919 if test "x$ac_cr" = x; then
3920 eval ac_cr=\$\'\\r\'
3922 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3923 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3929 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3934 echo "cat >conf$$subs.awk <<_ACEOF" &&
3935 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3938 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3939 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3941 for ac_last_try in false false false false false :; do
3942 . ./conf$$subs.sh ||
3943 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3945 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3946 if test $ac_delim_n = $ac_delim_num; then
3948 elif $ac_last_try; then
3949 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3957 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3961 s/^/S["/; s/!.*/"]=/
3971 s/\(.\{148\}\)..*/\1/
3973 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3978 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3985 s/\(.\{148\}\)..*/\1/
3987 s/["\\]/\\&/g; s/^/"/; s/$/"/
3991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3996 ' <conf$$subs.awk | sed '
4001 ' >>$CONFIG_STATUS || ac_write_fail=1
4002 rm -f conf$$subs.awk
4003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4005 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4006 for (key in S) S_is_set[key] = 1
4012 nfields = split(line, field, "@")
4014 len = length(field[1])
4015 for (i = 2; i < nfields; i++) {
4017 keylen = length(key)
4018 if (S_is_set[key]) {
4020 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4021 len += length(value) + length(field[++i])
4032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4033 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4034 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4037 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4038 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4041 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4042 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4043 # trailing colons and then remove the whole line if VPATH becomes empty
4044 # (actually we leave an empty line to preserve line numbers).
4045 if test "x$srcdir" = x.; then
4046 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4065 fi # test -n "$CONFIG_FILES"
4068 eval set X " :F $CONFIG_FILES "
4073 :[FHLC]) ac_mode=$ac_tag; continue;;
4075 case $ac_mode$ac_tag in
4077 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4078 :[FH]-) ac_tag=-:-;;
4079 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4096 -) ac_f="$ac_tmp/stdin";;
4097 *) # Look for the file first in the build tree, then in the source tree
4098 # (if the path is not absolute). The absolute path cannot be DOS-style,
4099 # because $ac_f cannot contain `:'.
4103 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4105 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4107 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4108 as_fn_append ac_file_inputs " '$ac_f'"
4111 # Let's still pretend it is `configure' which instantiates (i.e., don't
4112 # use $as_me), people would be surprised to read:
4113 # /* config.h. Generated by config.status. */
4114 configure_input='Generated from '`
4115 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4117 if test x"$ac_file" != x-; then
4118 configure_input="$ac_file. $configure_input"
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4120 $as_echo "$as_me: creating $ac_file" >&6;}
4122 # Neutralize special characters interpreted by sed in replacement strings.
4123 case $configure_input in #(
4124 *\&* | *\|* | *\\* )
4125 ac_sed_conf_input=`$as_echo "$configure_input" |
4126 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4127 *) ac_sed_conf_input=$configure_input;;
4131 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4137 ac_dir=`$as_dirname -- "$ac_file" ||
4138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4139 X"$ac_file" : 'X\(//\)[^/]' \| \
4140 X"$ac_file" : 'X\(//\)$' \| \
4141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4142 $as_echo X"$ac_file" |
4143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4160 as_dir="$ac_dir"; as_fn_mkdir_p
4164 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4166 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4167 # A ".." for each directory in $ac_dir_suffix.
4168 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4169 case $ac_top_builddir_sub in
4170 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4171 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4174 ac_abs_top_builddir=$ac_pwd
4175 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4176 # for backward compatibility:
4177 ac_top_builddir=$ac_top_build_prefix
4180 .) # We are building in place.
4182 ac_top_srcdir=$ac_top_builddir_sub
4183 ac_abs_top_srcdir=$ac_pwd ;;
4184 [\\/]* | ?:[\\/]* ) # Absolute name.
4185 ac_srcdir=$srcdir$ac_dir_suffix;
4186 ac_top_srcdir=$srcdir
4187 ac_abs_top_srcdir=$srcdir ;;
4189 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4190 ac_top_srcdir=$ac_top_build_prefix$srcdir
4191 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4193 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4203 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4204 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4209 # If the template does not know about datarootdir, expand it.
4210 # FIXME: This hack should be removed a few years after 2.60.
4211 ac_datarootdir_hack=; ac_datarootdir_seen=
4222 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4223 *datarootdir*) ac_datarootdir_seen=yes;;
4224 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4226 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4229 ac_datarootdir_hack='
4230 s&@datadir@&$datadir&g
4231 s&@docdir@&$docdir&g
4232 s&@infodir@&$infodir&g
4233 s&@localedir@&$localedir&g
4234 s&@mandir@&$mandir&g
4235 s&\\\${datarootdir}&$datarootdir&g' ;;
4239 # Neutralize VPATH when `$srcdir' = `.'.
4240 # Shell code in configure.ac might set extrasub.
4241 # FIXME: do we really want to maintain this feature?
4242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4243 ac_sed_extra="$ac_vpsub
4246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4249 s|@configure_input@|$ac_sed_conf_input|;t t
4250 s&@top_builddir@&$ac_top_builddir_sub&;t t
4251 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4252 s&@srcdir@&$ac_srcdir&;t t
4253 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4254 s&@top_srcdir@&$ac_top_srcdir&;t t
4255 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4256 s&@builddir@&$ac_builddir&;t t
4257 s&@abs_builddir@&$ac_abs_builddir&;t t
4258 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4259 s&@INSTALL@&$ac_INSTALL&;t t
4260 $ac_datarootdir_hack
4262 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4263 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4265 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4266 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4268 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4270 which seems to be undefined. Please make sure it is defined" >&5
4271 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4272 which seems to be undefined. Please make sure it is defined" >&2;}
4274 rm -f "$ac_tmp/stdin"
4276 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4277 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4287 case $ac_file$ac_mode in
4288 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
4290 "etc/upgrade/4.0-customfield-checkbox-extension":F) chmod ug+x $ac_file
4292 "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
4294 "etc/upgrade/sanity-check-stylesheets":F) chmod ug+x $ac_file
4296 "etc/upgrade/shrink-cgm-table":F) chmod ug+x $ac_file
4298 "etc/upgrade/shrink-transactions-table":F) chmod ug+x $ac_file
4300 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
4302 "etc/upgrade/switch-templates-to":F) chmod ug+x $ac_file
4304 "etc/upgrade/time-worked-history":F) chmod ug+x $ac_file
4306 "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
4308 "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
4310 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
4312 "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
4314 "sbin/rt-session-viewer":F) chmod ug+x $ac_file
4316 "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
4318 "sbin/rt-setup-database":F) chmod ug+x $ac_file
4320 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
4322 "sbin/rt-email-digest":F) chmod ug+x $ac_file
4324 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
4326 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
4328 "sbin/rt-shredder":F) chmod ug+x $ac_file
4330 "sbin/rt-validator":F) chmod ug+x $ac_file
4332 "sbin/rt-validate-aliases":F) chmod ug+x $ac_file
4334 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
4336 "sbin/rt-server":F) chmod ug+x $ac_file
4338 "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
4340 "sbin/standalone_httpd":F) chmod ug+x $ac_file
4342 "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
4344 "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
4346 "sbin/rt-serializer":F) chmod ug+x $ac_file
4348 "sbin/rt-importer":F) chmod ug+x $ac_file
4350 "bin/rt-crontool":F) chmod ug+x $ac_file
4352 "bin/rt-mailgate":F) chmod ug+x $ac_file
4354 "bin/rt":F) chmod ug+x $ac_file
4363 ac_clean_files=$ac_clean_files_save
4365 test $ac_write_fail = 0 ||
4366 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4369 # configure is writing to config.log, and then calls config.status.
4370 # config.status does its own redirection, appending to config.log.
4371 # Unfortunately, on DOS this fails, as config.log is still kept open
4372 # by configure, so config.status won't be able to write to it; its
4373 # output is simply discarded. So we exec the FD to /dev/null,
4374 # effectively closing config.log, so it can be properly (re)opened and
4375 # appended to by config.status. When coming back to configure, we
4376 # need to make the FD available again.
4377 if test "$no_create" != yes; then
4379 ac_config_status_args=
4380 test "$silent" = yes &&
4381 ac_config_status_args="$ac_config_status_args --quiet"
4383 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4385 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4386 # would make configure fail if this is the last instruction.
4387 $ac_cs_success || as_fn_exit 1
4389 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4391 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}