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.0.24.
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.0.24'
584 PACKAGE_STRING='RT rt-4.0.24'
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
596 MASON_LOCAL_HTML_PATH_R
618 MASON_LOCAL_HTML_PATH
660 COMMENT_INPLACE_LAYOUT
734 program_transform_name
747 enable_option_checking
776 ac_precious_vars='build_alias
782 # Initialize some variables set by options.
784 ac_init_version=false
785 ac_unrecognized_opts=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name=s,x,x,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir='${exec_prefix}/bin'
811 sbindir='${exec_prefix}/sbin'
812 libexecdir='${exec_prefix}/libexec'
813 datarootdir='${prefix}/share'
814 datadir='${datarootdir}'
815 sysconfdir='${prefix}/etc'
816 sharedstatedir='${prefix}/com'
817 localstatedir='${prefix}/var'
818 includedir='${prefix}/include'
819 oldincludedir='/usr/include'
820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir='${datarootdir}/info'
826 libdir='${exec_prefix}/lib'
827 localedir='${datarootdir}/locale'
828 mandir='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\$ac_option
842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 -build | --build | --buil | --bui | --bu)
859 ac_prev=build_alias ;;
860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861 build_alias=$ac_optarg ;;
863 -cache-file | --cache-file | --cache-fil | --cache-fi \
864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 ac_prev=cache_file ;;
866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868 cache_file=$ac_optarg ;;
871 cache_file=config.cache ;;
873 -datadir | --datadir | --datadi | --datad)
875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
876 datadir=$ac_optarg ;;
878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879 | --dataroo | --dataro | --datar)
880 ac_prev=datarootdir ;;
881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883 datarootdir=$ac_optarg ;;
885 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 -enable-* | --enable-*)
912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915 as_fn_error $? "invalid feature name: $ac_useropt"
916 ac_useropt_orig=$ac_useropt
917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep=', ';;
925 eval enable_$ac_useropt=\$ac_optarg ;;
927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
929 | --exec | --exe | --ex)
930 ac_prev=exec_prefix ;;
931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933 | --exec=* | --exe=* | --ex=*)
934 exec_prefix=$ac_optarg ;;
936 -gas | --gas | --ga | --g)
937 # Obsolete; use --with-gas.
940 -help | --help | --hel | --he | -h)
942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943 ac_init_help=recursive ;;
944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
945 ac_init_help=short ;;
947 -host | --host | --hos | --ho)
948 ac_prev=host_alias ;;
949 -host=* | --host=* | --hos=* | --ho=*)
950 host_alias=$ac_optarg ;;
952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
956 htmldir=$ac_optarg ;;
958 -includedir | --includedir | --includedi | --included | --include \
959 | --includ | --inclu | --incl | --inc)
960 ac_prev=includedir ;;
961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
962 | --includ=* | --inclu=* | --incl=* | --inc=*)
963 includedir=$ac_optarg ;;
965 -infodir | --infodir | --infodi | --infod | --info | --inf)
967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
968 infodir=$ac_optarg ;;
970 -libdir | --libdir | --libdi | --libd)
972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
976 | --libexe | --libex | --libe)
977 ac_prev=libexecdir ;;
978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
979 | --libexe=* | --libex=* | --libe=*)
980 libexecdir=$ac_optarg ;;
982 -localedir | --localedir | --localedi | --localed | --locale)
984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
985 localedir=$ac_optarg ;;
987 -localstatedir | --localstatedir | --localstatedi | --localstated \
988 | --localstate | --localstat | --localsta | --localst | --locals)
989 ac_prev=localstatedir ;;
990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
992 localstatedir=$ac_optarg ;;
994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004 | --no-cr | --no-c | -n)
1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1013 | --oldin | --oldi | --old | --ol | --o)
1014 ac_prev=oldincludedir ;;
1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1018 oldincludedir=$ac_optarg ;;
1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1023 prefix=$ac_optarg ;;
1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1026 | --program-pre | --program-pr | --program-p)
1027 ac_prev=program_prefix ;;
1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1030 program_prefix=$ac_optarg ;;
1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1033 | --program-suf | --program-su | --program-s)
1034 ac_prev=program_suffix ;;
1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1037 program_suffix=$ac_optarg ;;
1039 -program-transform-name | --program-transform-name \
1040 | --program-transform-nam | --program-transform-na \
1041 | --program-transform-n | --program-transform- \
1042 | --program-transform | --program-transfor \
1043 | --program-transfo | --program-transf \
1044 | --program-trans | --program-tran \
1045 | --progr-tra | --program-tr | --program-t)
1046 ac_prev=program_transform_name ;;
1047 -program-transform-name=* | --program-transform-name=* \
1048 | --program-transform-nam=* | --program-transform-na=* \
1049 | --program-transform-n=* | --program-transform-=* \
1050 | --program-transform=* | --program-transfor=* \
1051 | --program-transfo=* | --program-transf=* \
1052 | --program-trans=* | --program-tran=* \
1053 | --progr-tra=* | --program-tr=* | --program-t=*)
1054 program_transform_name=$ac_optarg ;;
1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1059 pdfdir=$ac_optarg ;;
1061 -psdir | --psdir | --psdi | --psd | --ps)
1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074 sbindir=$ac_optarg ;;
1076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1078 | --sharedst | --shareds | --shared | --share | --shar \
1080 ac_prev=sharedstatedir ;;
1081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085 sharedstatedir=$ac_optarg ;;
1087 -site | --site | --sit)
1089 -site=* | --site=* | --sit=*)
1092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1095 srcdir=$ac_optarg ;;
1097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1098 | --syscon | --sysco | --sysc | --sys | --sy)
1099 ac_prev=sysconfdir ;;
1100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1102 sysconfdir=$ac_optarg ;;
1104 -target | --target | --targe | --targ | --tar | --ta | --t)
1105 ac_prev=target_alias ;;
1106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1107 target_alias=$ac_optarg ;;
1109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 -version | --version | --versio | --versi | --vers | -V)
1113 ac_init_version=: ;;
1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error $? "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1129 eval with_$ac_useropt=\$ac_optarg ;;
1131 -without-* | --without-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval with_$ac_useropt=no ;;
1148 # Obsolete; use --with-x.
1151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1152 | --x-incl | --x-inc | --x-in | --x-i)
1153 ac_prev=x_includes ;;
1154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1156 x_includes=$ac_optarg ;;
1158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160 ac_prev=x_libraries ;;
1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163 x_libraries=$ac_optarg ;;
1165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' | [0-9]* | *[!_$as_cr_alnum]* )
1174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $? "missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val=\$$ac_var
1210 # Remove trailing slashes.
1213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$]* | ?:[\\/]* ) continue;;
1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x; then
1233 if test "x$build_alias" = x; then
1234 cross_compiling=maybe
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243 test "$silent" = yes && exec 6>/dev/null
1246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di=`ls -di .` &&
1248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $? "working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $? "pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var in $ac_precious_vars; do
1307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_${ac_var}_value=\$${ac_var}
1309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures RT rt-4.0.24 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/rt]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1379 if test -n "$ac_init_help"; then
1380 case $ac_init_help in
1381 short | recursive ) echo "Configuration of RT rt-4.0.24:";;
1386 --disable-option-checking ignore unrecognized --enable/--with options
1387 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1388 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1389 --enable-layout=LAYOUT Use a specific directory layout (Default: relative)
1390 --enable-devel-mode Turn on development aids that might hurt you in
1392 --enable-graphviz Turns on support for RT's GraphViz dependency charts
1393 --enable-gd Turns on support for RT's GD pie and bar charts
1394 --enable-gpg Turns on GNU Privacy Guard (GPG) support
1395 --enable-ssl-mailgate Turns on support for HTTPS in rt-mailgate
1398 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1399 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1400 --with-web-handler=LIST comma separated list of web-handlers RT will be able
1401 to use. Default is fastcgi. Valid values are
1402 modperl1, modperl2, fastcgi and standalone. To
1403 successfully run RT you need only one.
1404 --with-bin-owner=OWNER user that will own RT binaries (default root)
1405 --with-libs-owner=OWNER user that will own RT libraries (default root)
1406 --with-libs-group=GROUP group that will own RT binaries (default bin)
1407 --with-db-type=TYPE sort of database RT will use (default: mysql)
1408 (mysql, Pg, Oracle and SQLite are valid)
1409 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
1410 --with-db-port=PORT port on which the database listens on
1411 --with-db-rt-host=HOSTNAME
1412 FQDN of RT server which talks to the database server
1413 (default: localhost)
1414 --with-db-dba=DBA name of database administrator (default: root or
1416 --with-db-database=DBNAME
1417 name of the database to use (default: rt4)
1418 --with-db-rt-user=DBUSER
1419 name of database user (default: rt_user)
1420 --with-db-rt-pass=PASSWORD
1421 password for database user (default: rt_pass)
1422 --with-web-user=USER user the web server runs as (default: www)
1423 --with-web-group=GROUP group the web server runs as (default: www)
1424 --with-rt-group=GROUP group to own all files (default: rt)
1425 --with-my-user-group set all users and groups to current user/group
1426 --with-apachectl instruct RT where to find your apachectl
1429 Some influential environment variables:
1430 PERL Perl interpreter command
1432 Use these variables to override the choices made by `configure' or to help
1433 it to find libraries and programs with nonstandard names/locations.
1435 Report bugs to <rt-bugs@bestpractical.com>.
1440 if test "$ac_init_help" = "recursive"; then
1441 # If there are subdirs, report their specific --help.
1442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443 test -d "$ac_dir" ||
1444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir=$ac_pwd
1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir=$ac_top_build_prefix
1465 .) # We are building in place.
1467 ac_top_srcdir=$ac_top_builddir_sub
1468 ac_abs_top_srcdir=$ac_pwd ;;
1469 [\\/]* | ?:[\\/]* ) # Absolute name.
1470 ac_srcdir=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir=$srcdir
1472 ac_abs_top_srcdir=$srcdir ;;
1474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" || { ac_status=$?; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" || { ac_status=$?; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1498 RT configure rt-4.0.24
1499 generated by GNU Autoconf 2.69
1501 Copyright (C) 2012 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1511 cat >config.log <<_ACEOF
1512 This file contains any messages produced by compilers while
1513 running configure, to aid debugging if configure makes a mistake.
1515 It was created by RT $as_me rt-4.0.24, which was
1516 generated by GNU Autoconf 2.69. Invocation command line was
1528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir=.
1552 $as_echo "PATH: $as_dir"
1568 # Keep a trace of the command line.
1569 # Strip out --no-create and --no-recursion so they do not pile up.
1570 # Strip out --silent because we don't want to record it for future runs.
1571 # Also quote any args containing shell meta-characters.
1572 # Make two passes to allow for proper duplicate-argument suppression.
1576 ac_must_keep_next=false
1582 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1583 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1584 | -silent | --silent | --silen | --sile | --sil)
1587 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1590 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1592 as_fn_append ac_configure_args1 " '$ac_arg'"
1593 if test $ac_must_keep_next = true; then
1594 ac_must_keep_next=false # Got value, back to normal.
1597 *=* | --config-cache | -C | -disable-* | --disable-* \
1598 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1599 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1600 | -with-* | --with-* | -without-* | --without-* | --x)
1601 case "$ac_configure_args0 " in
1602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1605 -* ) ac_must_keep_next=true ;;
1608 as_fn_append ac_configure_args " '$ac_arg'"
1613 { ac_configure_args0=; unset ac_configure_args0;}
1614 { ac_configure_args1=; unset ac_configure_args1;}
1616 # When interrupted or exit'd, cleanup temporary files, and complete
1617 # config.log. We remove comments because anyway the quotes in there
1618 # would cause problems or look ugly.
1619 # WARNING: Use '\'' to represent an apostrophe within the trap.
1620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1621 trap 'exit_status=$?
1622 # Save into config.log some information that might help in debugging.
1626 $as_echo "## ---------------- ##
1627 ## Cache variables. ##
1628 ## ---------------- ##"
1630 # The following way of writing the cache mishandles newlines in values,
1632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633 eval ac_val=\$$ac_var
1637 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1638 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641 _ | IFS | as_nl) ;; #(
1642 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1643 *) { eval $ac_var=; unset $ac_var;} ;;
1648 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1649 *${as_nl}ac_space=\ *)
1651 "s/'\''/'\''\\\\'\'''\''/g;
1652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1662 $as_echo "## ----------------- ##
1663 ## Output variables. ##
1664 ## ----------------- ##"
1666 for ac_var in $ac_subst_vars
1668 eval ac_val=\$$ac_var
1670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 $as_echo "$ac_var='\''$ac_val'\''"
1676 if test -n "$ac_subst_files"; then
1677 $as_echo "## ------------------- ##
1678 ## File substitutions. ##
1679 ## ------------------- ##"
1681 for ac_var in $ac_subst_files
1683 eval ac_val=\$$ac_var
1685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 $as_echo "$ac_var='\''$ac_val'\''"
1692 if test -s confdefs.h; then
1693 $as_echo "## ----------- ##
1700 test "$ac_signal" != 0 &&
1701 $as_echo "$as_me: caught signal $ac_signal"
1702 $as_echo "$as_me: exit $exit_status"
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 $as_echo "/* confdefs.h */" > confdefs.h
1718 # Predefined preprocessor variables.
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_URL "$PACKAGE_URL"
1745 # Let the site file select an alternate cache file if it wants to.
1746 # Prefer an explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 # We do not want a PATH search for config.site.
1751 case $CONFIG_SITE in #((
1752 -*) ac_site_file1=./$CONFIG_SITE;;
1753 */*) ac_site_file1=$CONFIG_SITE;;
1754 *) ac_site_file1=./$CONFIG_SITE;;
1756 elif test "x$prefix" != xNONE; then
1757 ac_site_file1=$prefix/share/config.site
1758 ac_site_file2=$prefix/etc/config.site
1760 ac_site_file1=$ac_default_prefix/share/config.site
1761 ac_site_file2=$ac_default_prefix/etc/config.site
1763 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1765 test "x$ac_site_file" = xNONE && continue
1766 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1768 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1769 sed 's/^/| /' "$ac_site_file" >&5
1771 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1773 as_fn_error $? "failed to load site script $ac_site_file
1774 See \`config.log' for more details" "$LINENO" 5; }
1778 if test -r "$cache_file"; then
1779 # Some versions of bash will fail to source /dev/null (special files
1780 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1781 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1783 $as_echo "$as_me: loading cache $cache_file" >&6;}
1785 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1786 *) . "./$cache_file";;
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1791 $as_echo "$as_me: creating cache $cache_file" >&6;}
1795 # Check that the precious variables saved in the cache have kept the same
1797 ac_cache_corrupted=false
1798 for ac_var in $ac_precious_vars; do
1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1800 eval ac_new_set=\$ac_env_${ac_var}_set
1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1802 eval ac_new_val=\$ac_env_${ac_var}_value
1803 case $ac_old_set,$ac_new_set in
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1807 ac_cache_corrupted=: ;;
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1811 ac_cache_corrupted=: ;;
1814 if test "x$ac_old_val" != "x$ac_new_val"; then
1815 # differences in whitespace do not lead to failure.
1816 ac_old_val_w=`echo x $ac_old_val`
1817 ac_new_val_w=`echo x $ac_new_val`
1818 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1821 ac_cache_corrupted=:
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1825 eval $ac_var=\$ac_old_val
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1833 # Pass precious variables to config.status.
1834 if test "$ac_new_set" = set; then
1836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 *) ac_arg=$ac_var=$ac_new_val ;;
1839 case " $ac_configure_args " in
1840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1841 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1845 if $ac_cache_corrupted; then
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1850 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1852 ## -------------------- ##
1853 ## Main body of script. ##
1854 ## -------------------- ##
1857 ac_cpp='$CPP $CPPFLAGS'
1858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1865 CONFIGURE_INCANT="$0 $@"
1874 test "x$rt_version_major" = 'x' && rt_version_major=0
1875 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1876 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1879 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1880 if test -f "$ac_dir/install-sh"; then
1882 ac_install_sh="$ac_aux_dir/install-sh -c"
1884 elif test -f "$ac_dir/install.sh"; then
1886 ac_install_sh="$ac_aux_dir/install.sh -c"
1888 elif test -f "$ac_dir/shtool"; then
1890 ac_install_sh="$ac_aux_dir/shtool install -c"
1894 if test -z "$ac_aux_dir"; then
1895 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1898 # These three variables are undocumented and unsupported,
1899 # and are intended to be withdrawn in a future Autoconf release.
1900 # They can cause serious problems if a builder's source tree is in a directory
1901 # whose full name contains unusual characters.
1902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1907 # Find a good install program. We prefer a C program (faster),
1908 # so one script is as good as another. But avoid the broken or
1909 # incompatible versions:
1910 # SysV /etc/install, /usr/sbin/install
1911 # SunOS /usr/etc/install
1912 # IRIX /sbin/install
1914 # AmigaOS /C/install, which installs bootblocks on floppy discs
1915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1918 # OS/2's system install, which has a completely different semantic
1919 # ./install, which can be erroneously created by make from ./install.sh.
1920 # Reject install programs that cannot install multiple files.
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1922 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1923 if test -z "$INSTALL"; then
1924 if ${ac_cv_path_install+:} false; then :
1925 $as_echo_n "(cached) " >&6
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 # Account for people who put trailing slashes in PATH elements.
1933 case $as_dir/ in #((
1934 ./ | .// | /[cC]/* | \
1935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1936 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1939 # OSF1 and SCO ODT 3.0 have their own names for install.
1940 # Don't use installbsd from OSF since it installs stuff as root
1942 for ac_prog in ginstall scoinst install; do
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1945 if test $ac_prog = install &&
1946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1947 # AIX install. It has an incompatible calling convention.
1949 elif test $ac_prog = install &&
1950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1951 # program-specific install script used by HP pwplus--don't use.
1954 rm -rf conftest.one conftest.two conftest.dir
1955 echo one > conftest.one
1956 echo two > conftest.two
1958 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1959 test -s conftest.one && test -s conftest.two &&
1960 test -s conftest.dir/conftest.one &&
1961 test -s conftest.dir/conftest.two
1963 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1976 rm -rf conftest.one conftest.two conftest.dir
1979 if test "${ac_cv_path_install+set}" = set; then
1980 INSTALL=$ac_cv_path_install
1982 # As a last resort, use the slow shell script. Don't cache a
1983 # value for INSTALL within a source directory, because that will
1984 # break other packages using the cache if that directory is
1985 # removed, or if the value is a relative name.
1986 INSTALL=$ac_install_sh
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1990 $as_echo "$INSTALL" >&6; }
1992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1993 # It thinks the first close brace ends the variable substitution.
1994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2001 # Extract the first word of "perl", so it can be a program name with args.
2002 set dummy perl; ac_word=$2
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2004 $as_echo_n "checking for $ac_word... " >&6; }
2005 if ${ac_cv_path_PERL+:} false; then :
2006 $as_echo_n "(cached) " >&6
2010 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
2032 PERL=$ac_cv_path_PERL
2033 if test -n "$PERL"; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2035 $as_echo "$PERL" >&6; }
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2038 $as_echo "no" >&6; }
2042 if test "$PERL" = 'not found'; then
2043 as_fn_error $? "cannot use $PACKAGE_NAME without perl" "$LINENO" 5
2048 # Check whether --with-web-handler was given.
2049 if test "${with_web_handler+set}" = set; then :
2050 withval=$with_web_handler; WEB_HANDLER=$withval
2055 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)
2056 if test "$my_web_handler_test" != "ok"; then
2057 as_fn_error $? "Only modperl1, modperl2, fastcgi and standalone are valid web-handlers" "$LINENO" 5
2063 # Check whether --enable-layout was given.
2064 if test "${enable_layout+set}" = set; then :
2065 enableval=$enable_layout; LAYOUT=$enableval
2069 if test "x$LAYOUT" = "x"; then
2073 if test ! -f $srcdir/config.layout; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5
2075 $as_echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
2078 pldconf=./config.pld
2079 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
2080 s/.*<Layout\s+$layout>//gims;
2081 s/\<\/Layout\>.*//s;
2086 # m4 will not let us just use $srcdir/config.layout, we need $1
2087 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim;
2088 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
2089 ' < $srcdir/config.layout > $pldconf
2091 if test -s $pldconf; then
2092 rt_layout_name=$LAYOUT
2095 for var in prefix exec_prefix bindir sbindir \
2096 sysconfdir mandir libdir datadir htmldir fontdir\
2097 lexdir localstatedir logfiledir masonstatedir \
2098 sessionstatedir customdir custometcdir customhtmldir \
2099 customlexdir customplugindir customlibdir manualdir; do
2100 eval "val=\"\$$var\""
2101 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
2103 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
2116 while test "x${ap_cur}" != "x${ap_last}"; do
2118 ap_cur=`eval "echo ${ap_cur}"`
2120 exp_prefix="${ap_cur}"
2128 ap_cur='$exec_prefix'
2129 while test "x${ap_cur}" != "x${ap_last}"; do
2131 ap_cur=`eval "echo ${ap_cur}"`
2133 exp_exec_prefix="${ap_cur}"
2142 while test "x${ap_cur}" != "x${ap_last}"; do
2144 ap_cur=`eval "echo ${ap_cur}"`
2146 exp_bindir="${ap_cur}"
2155 while test "x${ap_cur}" != "x${ap_last}"; do
2157 ap_cur=`eval "echo ${ap_cur}"`
2159 exp_sbindir="${ap_cur}"
2167 ap_cur='$sysconfdir'
2168 while test "x${ap_cur}" != "x${ap_last}"; do
2170 ap_cur=`eval "echo ${ap_cur}"`
2172 exp_sysconfdir="${ap_cur}"
2181 while test "x${ap_cur}" != "x${ap_last}"; do
2183 ap_cur=`eval "echo ${ap_cur}"`
2185 exp_mandir="${ap_cur}"
2194 while test "x${ap_cur}" != "x${ap_last}"; do
2196 ap_cur=`eval "echo ${ap_cur}"`
2198 exp_libdir="${ap_cur}"
2207 while test "x${ap_cur}" != "x${ap_last}"; do
2209 ap_cur=`eval "echo ${ap_cur}"`
2211 exp_lexdir="${ap_cur}"
2220 while test "x${ap_cur}" != "x${ap_last}"; do
2222 ap_cur=`eval "echo ${ap_cur}"`
2224 exp_datadir="${ap_cur}"
2233 while test "x${ap_cur}" != "x${ap_last}"; do
2235 ap_cur=`eval "echo ${ap_cur}"`
2237 exp_htmldir="${ap_cur}"
2246 while test "x${ap_cur}" != "x${ap_last}"; do
2248 ap_cur=`eval "echo ${ap_cur}"`
2250 exp_fontdir="${ap_cur}"
2259 while test "x${ap_cur}" != "x${ap_last}"; do
2261 ap_cur=`eval "echo ${ap_cur}"`
2263 exp_manualdir="${ap_cur}"
2272 while test "x${ap_cur}" != "x${ap_last}"; do
2274 ap_cur=`eval "echo ${ap_cur}"`
2276 exp_plugindir="${ap_cur}"
2284 ap_cur='$localstatedir'
2285 while test "x${ap_cur}" != "x${ap_last}"; do
2287 ap_cur=`eval "echo ${ap_cur}"`
2289 exp_localstatedir="${ap_cur}"
2297 ap_cur='$logfiledir'
2298 while test "x${ap_cur}" != "x${ap_last}"; do
2300 ap_cur=`eval "echo ${ap_cur}"`
2302 exp_logfiledir="${ap_cur}"
2310 ap_cur='$masonstatedir'
2311 while test "x${ap_cur}" != "x${ap_last}"; do
2313 ap_cur=`eval "echo ${ap_cur}"`
2315 exp_masonstatedir="${ap_cur}"
2323 ap_cur='$sessionstatedir'
2324 while test "x${ap_cur}" != "x${ap_last}"; do
2326 ap_cur=`eval "echo ${ap_cur}"`
2328 exp_sessionstatedir="${ap_cur}"
2337 while test "x${ap_cur}" != "x${ap_last}"; do
2339 ap_cur=`eval "echo ${ap_cur}"`
2341 exp_customdir="${ap_cur}"
2349 ap_cur='$custometcdir'
2350 while test "x${ap_cur}" != "x${ap_last}"; do
2352 ap_cur=`eval "echo ${ap_cur}"`
2354 exp_custometcdir="${ap_cur}"
2362 ap_cur='$customplugindir'
2363 while test "x${ap_cur}" != "x${ap_last}"; do
2365 ap_cur=`eval "echo ${ap_cur}"`
2367 exp_customplugindir="${ap_cur}"
2375 ap_cur='$customhtmldir'
2376 while test "x${ap_cur}" != "x${ap_last}"; do
2378 ap_cur=`eval "echo ${ap_cur}"`
2380 exp_customhtmldir="${ap_cur}"
2388 ap_cur='$customlexdir'
2389 while test "x${ap_cur}" != "x${ap_last}"; do
2391 ap_cur=`eval "echo ${ap_cur}"`
2393 exp_customlexdir="${ap_cur}"
2401 ap_cur='$customlibdir'
2402 while test "x${ap_cur}" != "x${ap_last}"; do
2404 ap_cur=`eval "echo ${ap_cur}"`
2406 exp_customlibdir="${ap_cur}"
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
2413 $as_echo_n "checking for chosen layout... " >&6; }
2414 if test "x$rt_layout_name" = "xno"; then
2415 if test "x$LAYOUT" = "xno"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2417 $as_echo "none" >&6; }
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5
2420 $as_echo "$LAYOUT" >&6; }
2422 as_fn_error $? "a valid layout must be specified (or the default used)" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5
2426 $as_echo "$rt_layout_name" >&6; }
2428 if test "x$rt_layout_name" != "xinplace" ; then
2429 COMMENT_INPLACE_LAYOUT=""
2432 COMMENT_INPLACE_LAYOUT=#
2438 # ACRT_USER_EXISTS( users, variable, default )
2439 # - users is a list of users [www apache www-docs]
2440 # from highest to lowest priority to high priority (i.e. first match)
2441 # - variable is what you set with the result
2448 # Check whether --with-bin-owner was given.
2449 if test "${with_bin_owner+set}" = set; then :
2450 withval=$with_bin_owner; BIN_OWNER=$withval
2458 # Check whether --with-libs-owner was given.
2459 if test "${with_libs_owner+set}" = set; then :
2460 withval=$with_libs_owner; LIBS_OWNER=$withval
2468 # Check whether --with-libs-group was given.
2469 if test "${with_libs_group+set}" = set; then :
2470 withval=$with_libs_group; LIBS_GROUP=$withval
2478 # Check whether --with-db-type was given.
2479 if test "${with_db_type+set}" = set; then :
2480 withval=$with_db_type; DB_TYPE=$withval
2485 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' ; then
2486 as_fn_error $? "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
2490 if test "$DB_TYPE" = 'Oracle'; then
2491 test "x$ORACLE_HOME" = 'x' && as_fn_error $? "Please declare the ORACLE_HOME environment variable" "$LINENO" 5
2492 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
2498 # Check whether --with-db-host was given.
2499 if test "${with_db_host+set}" = set; then :
2500 withval=$with_db_host; DB_HOST=$withval
2508 # Check whether --with-db-port was given.
2509 if test "${with_db_port+set}" = set; then :
2510 withval=$with_db_port; DB_PORT=$withval
2518 # Check whether --with-db-rt-host was given.
2519 if test "${with_db_rt_host+set}" = set; then :
2520 withval=$with_db_rt_host; DB_RT_HOST=$withval
2522 DB_RT_HOST=localhost
2527 if test "$DB_TYPE" = "Pg" ; then
2533 # Check whether --with-db-dba was given.
2534 if test "${with_db_dba+set}" = set; then :
2535 withval=$with_db_dba; DB_DBA=$withval
2543 # Check whether --with-db-database was given.
2544 if test "${with_db_database+set}" = set; then :
2545 withval=$with_db_database; DB_DATABASE=$withval
2553 # Check whether --with-db-rt-user was given.
2554 if test "${with_db_rt_user+set}" = set; then :
2555 withval=$with_db_rt_user; DB_RT_USER=$withval
2563 # Check whether --with-db-rt-pass was given.
2564 if test "${with_db_rt_pass+set}" = set; then :
2565 withval=$with_db_rt_pass; DB_RT_PASS=$withval
2573 # Check whether --with-web-user was given.
2574 if test "${with_web_user+set}" = set; then :
2575 withval=$with_web_user; WEB_USER=$withval
2579 for x in www www-data apache httpd nobody; do
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5
2581 $as_echo_n "checking if user $x exists... " >&6; }
2582 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then :
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2584 $as_echo "found" >&6; }; WEB_USER=$x ; break
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2587 $as_echo "not found" >&6; }
2597 # Check whether --with-web-group was given.
2598 if test "${with_web_group+set}" = set; then :
2599 withval=$with_web_group; WEB_GROUP=$withval
2603 for x in www www-data apache httpd nogroup nobody; do
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2605 $as_echo_n "checking if group $x exists... " >&6; }
2606 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2608 $as_echo "found" >&6; }; WEB_GROUP=$x ; break
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2611 $as_echo "not found" >&6; }
2620 # Check whether --with-rt-group was given.
2621 if test "${with_rt_group+set}" = set; then :
2622 withval=$with_rt_group; RTGROUP=$withval
2626 for x in rt3 rt $WEB_GROUP; do
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2628 $as_echo_n "checking if group $x exists... " >&6; }
2629 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2631 $as_echo "found" >&6; }; RTGROUP=$x ; break
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2634 $as_echo "not found" >&6; }
2642 # XXX TODO: The command below to figure out the group brokenly relies on
2643 # output order (and "id -gn" doesn't work on all platforms).
2644 my_group=$(groups|cut -f1 -d' ')
2645 my_user=${USER:-$LOGNAME}
2647 # Check whether --with-my-user-group was given.
2648 if test "${with_my_user_group+set}" = set; then :
2649 withval=$with_my_user_group; RTGROUP=$my_group
2652 LIBS_GROUP=$my_group
2658 # Test for valid database names
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is set" >&5
2660 $as_echo_n "checking if database name is set... " >&6; }
2661 if echo $DB_DATABASE | $PERL -e 'exit(1) unless <> =~ /\S/' ; then :
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2663 $as_echo "yes" >&6; }
2665 as_fn_error $? "no. database name is not set" "$LINENO" 5
2669 if test "$DB_TYPE" = "mysql" ; then :
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is valid" >&5
2671 $as_echo_n "checking if database name is valid... " >&6; }
2672 if echo $DB_DATABASE | $PERL -e 'exit(1) if <> =~ /-/'; then :
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2676 as_fn_error $? "no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" "$LINENO" 5
2685 # Check whether --with-apachectl was given.
2686 if test "${with_apachectl+set}" = set; then :
2687 withval=$with_apachectl; APACHECTL=$withval
2689 APACHECTL=`which apachectl`
2695 # Check whether --with-devel-mode was given.
2696 if test "${with_devel_mode+set}" = set; then :
2697 withval=$with_devel_mode; RT_DEVEL_MODE=$withval
2702 # Check whether --enable-devel-mode was given.
2703 if test "${enable_devel_mode+set}" = set; then :
2704 enableval=$enable_devel_mode; RT_DEVEL_MODE=$enableval
2706 RT_DEVEL_MODE=$RT_DEVEL_MODE
2709 if test "$RT_DEVEL_MODE" = yes; then
2716 # Extract the first word of "dot", so it can be a program name with args.
2717 set dummy dot; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_RT_GRAPHVIZ+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$RT_GRAPHVIZ"; then
2724 ac_cv_prog_RT_GRAPHVIZ="$RT_GRAPHVIZ" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_RT_GRAPHVIZ=""yes""
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 test -z "$ac_cv_prog_RT_GRAPHVIZ" && ac_cv_prog_RT_GRAPHVIZ=""no""
2744 RT_GRAPHVIZ=$ac_cv_prog_RT_GRAPHVIZ
2745 if test -n "$RT_GRAPHVIZ"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GRAPHVIZ" >&5
2747 $as_echo "$RT_GRAPHVIZ" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 # Check whether --with-graphviz was given.
2756 if test "${with_graphviz+set}" = set; then :
2757 withval=$with_graphviz; RT_GRAPHVIZ=$withval
2760 # Check whether --enable-graphviz was given.
2761 if test "${enable_graphviz+set}" = set; then :
2762 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
2765 if test "$RT_GRAPHVIZ" = yes; then
2772 # Extract the first word of "gdlib-config", so it can be a program name with args.
2773 set dummy gdlib-config; ac_word=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if ${ac_cv_prog_RT_GD+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$RT_GD"; then
2780 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2789 ac_cv_prog_RT_GD=""yes""
2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""
2800 RT_GD=$ac_cv_prog_RT_GD
2801 if test -n "$RT_GD"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5
2803 $as_echo "$RT_GD" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2811 # Check whether --with-gd was given.
2812 if test "${with_gd+set}" = set; then :
2813 withval=$with_gd; RT_GD=$withval
2816 # Check whether --enable-gd was given.
2817 if test "${enable_gd+set}" = set; then :
2818 enableval=$enable_gd; RT_GD=$enableval
2821 if test "$RT_GD" = yes; then
2828 # Extract the first word of "gpg", so it can be a program name with args.
2829 set dummy gpg; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_RT_GPG+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test -n "$RT_GPG"; then
2836 ac_cv_prog_RT_GPG="$RT_GPG" # Let the user override the test.
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845 ac_cv_prog_RT_GPG=""yes""
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 test -z "$ac_cv_prog_RT_GPG" && ac_cv_prog_RT_GPG=""no""
2856 RT_GPG=$ac_cv_prog_RT_GPG
2857 if test -n "$RT_GPG"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GPG" >&5
2859 $as_echo "$RT_GPG" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2866 # Check whether --enable-gpg was given.
2867 if test "${enable_gpg+set}" = set; then :
2868 enableval=$enable_gpg; RT_GPG=$enableval
2871 if test "$RT_GPG" = yes; then
2879 # Check whether --with-ssl-mailgate was given.
2880 if test "${with_ssl_mailgate+set}" = set; then :
2881 withval=$with_ssl_mailgate; RT_SSL_MAILGATE=$withval
2886 # Check whether --enable-ssl-mailgate was given.
2887 if test "${enable_ssl_mailgate+set}" = set; then :
2888 enableval=$enable_ssl_mailgate; RT_SSL_MAILGATE=$enableval
2890 RT_SSL_MAILGATE=$RT_SSL_MAILGATE
2893 if test "$RT_SSL_MAILGATE" = yes; then
2902 RT_VERSION_MAJOR=${rt_version_major}
2904 RT_VERSION_MINOR=${rt_version_minor}
2906 RT_VERSION_PATCH=${rt_version_patch}
2909 RT_PATH=${exp_prefix}
2911 RT_DOC_PATH=${exp_manualdir}
2913 RT_LOCAL_PATH=${exp_customdir}
2915 RT_LIB_PATH=${exp_libdir}
2917 RT_LEXICON_PATH=${exp_lexdir}
2919 RT_ETC_PATH=${exp_sysconfdir}
2921 CONFIG_FILE_PATH=${exp_sysconfdir}
2923 RT_BIN_PATH=${exp_bindir}
2925 RT_SBIN_PATH=${exp_sbindir}
2927 RT_VAR_PATH=${exp_localstatedir}
2929 RT_MAN_PATH=${exp_mandir}
2931 RT_FONT_PATH=${exp_fontdir}
2933 RT_PLUGIN_PATH=${exp_plugindir}
2935 MASON_DATA_PATH=${exp_masonstatedir}
2937 MASON_SESSION_PATH=${exp_sessionstatedir}
2939 MASON_HTML_PATH=${exp_htmldir}
2941 LOCAL_ETC_PATH=${exp_custometcdir}
2943 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
2945 LOCAL_LEXICON_PATH=${exp_customlexdir}
2947 LOCAL_LIB_PATH=${exp_customlibdir}
2949 LOCAL_PLUGIN_PATH=${exp_customplugindir}
2951 RT_LOG_PATH=${exp_logfiledir}
2954 if test ${exp_sysconfdir} = "etc" -o ${exp_sysconfdir} = "etc/rt"; then
2955 RT_PATH_R=${exp_prefix}
2957 RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
2959 RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir}
2961 RT_LIB_PATH_R=${exp_prefix}/${exp_libdir}
2963 RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir}
2965 CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir}
2967 RT_BIN_PATH_R=${exp_prefix}/${exp_bindir}
2969 RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir}
2971 RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir}
2973 RT_MAN_PATH_R=${exp_prefix}/${exp_mandir}
2975 RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir}
2977 RT_LEXICON_PATH_R=${exp_prefix}/${exp_lexdir}
2979 RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
2981 MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
2983 MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir}
2985 MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir}
2987 LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir}
2989 MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir}
2991 LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir}
2993 LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
2995 LOCAL_PLUGIN_PATH_R=${exp_prefix}/${exp_customplugindir}
2997 RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
3000 RT_PATH_R=${exp_prefix}
3002 RT_DOC_PATH_R=${exp_manualdir}
3004 RT_LOCAL_PATH_R=${exp_customdir}
3006 RT_LIB_PATH_R=${exp_libdir}
3008 RT_LEXICON_PATH_R=${exp_lexdir}
3010 RT_ETC_PATH_R=${exp_sysconfdir}
3012 RT_PLUGIN_PATH_R=${exp_plugindir}
3014 CONFIG_FILE_PATH_R=${exp_sysconfdir}
3016 RT_BIN_PATH_R=${exp_bindir}
3018 RT_SBIN_PATH_R=${exp_sbindir}
3020 RT_VAR_PATH_R=${exp_localstatedir}
3022 RT_MAN_PATH_R=${exp_mandir}
3024 RT_FONT_PATH_R=${exp_fontdir}
3026 MASON_DATA_PATH_R=${exp_masonstatedir}
3028 MASON_SESSION_PATH_R=${exp_sessionstatedir}
3030 MASON_HTML_PATH_R=${exp_htmldir}
3032 LOCAL_ETC_PATH_R=${exp_custometcdir}
3034 MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir}
3036 LOCAL_LEXICON_PATH_R=${exp_customlexdir}
3038 LOCAL_PLUGIN_PATH_R=${exp_customplugindir}
3040 LOCAL_LIB_PATH_R=${exp_customlibdir}
3042 RT_LOG_PATH_R=${exp_logfiledir}
3048 ac_config_files="$ac_config_files etc/upgrade/3.8-ical-extension etc/upgrade/4.0-customfield-checkbox-extension etc/upgrade/split-out-cf-categories etc/upgrade/generate-rtaddressregexp etc/upgrade/upgrade-articles etc/upgrade/vulnerable-passwords sbin/rt-attributes-viewer sbin/rt-preferences-viewer sbin/rt-session-viewer sbin/rt-dump-metadata sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-validate-aliases sbin/rt-email-group-admin sbin/rt-server sbin/rt-server.fcgi sbin/standalone_httpd sbin/rt-setup-fulltext-index sbin/rt-fulltext-indexer bin/rt-crontool bin/rt-mailgate bin/rt"
3051 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"
3053 cat >confcache <<\_ACEOF
3054 # This file is a shell script that caches the results of configure
3055 # tests run on this system so they can be shared between configure
3056 # scripts and configure runs, see configure's option --config-cache.
3057 # It is not useful on other systems. If it contains results you don't
3058 # want to keep, you may remove or edit it.
3060 # config.status only pays attention to the cache file if you give it
3061 # the --recheck option to rerun configure.
3063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3069 # The following way of writing the cache mishandles newlines in values,
3070 # but we know of no workaround that is simple, portable, and efficient.
3071 # So, we kill variables containing newlines.
3072 # Ultrix sh set writes to stderr and can't be redirected directly,
3073 # and sets the high bit in the cache file unless we assign to the vars.
3075 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3076 eval ac_val=\$$ac_var
3080 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3081 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3084 _ | IFS | as_nl) ;; #(
3085 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3086 *) { eval $ac_var=; unset $ac_var;} ;;
3092 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3093 *${as_nl}ac_space=\ *)
3094 # `set' does not quote correctly, so add quotes: double-quote
3095 # substitution turns \\\\ into \\, and sed turns \\ into \.
3098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3101 # `set' quotes correctly as required by POSIX, so do not add quotes.
3102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3113 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3115 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3116 if test -w "$cache_file"; then
3117 if test "x$cache_file" != "x/dev/null"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3119 $as_echo "$as_me: updating cache $cache_file" >&6;}
3120 if test ! -f "$cache_file" || test -h "$cache_file"; then
3121 cat confcache >"$cache_file"
3123 case $cache_file in #(
3125 mv -f confcache "$cache_file"$$ &&
3126 mv -f "$cache_file"$$ "$cache_file" ;; #(
3128 mv -f confcache "$cache_file" ;;
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3134 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3139 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3140 # Let make expand exec_prefix.
3141 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3143 # Transform confdefs.h into DEFS.
3144 # Protect against shell expansion while executing Makefile rules.
3145 # Protect against Makefile macro expansion.
3147 # If the first sed substitution is executed (which looks for macros that
3148 # take arguments), then branch to the quote section. Otherwise,
3149 # look for a macro that doesn't take arguments.
3159 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3161 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3165 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3178 DEFS=`sed -n "$ac_script" confdefs.h`
3184 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3185 # 1. Remove the extension, and $U if already installed.
3186 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3187 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3188 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3189 # will be set to the directory where LIBOBJS objects are built.
3190 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3191 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3195 LTLIBOBJS=$ac_ltlibobjs
3199 : "${CONFIG_STATUS=./config.status}"
3201 ac_clean_files_save=$ac_clean_files
3202 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3204 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3206 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3208 # Generated by $as_me.
3209 # Run this file to recreate the current configuration.
3210 # Compiler output produced by configure, useful for debugging
3211 # configure, is in config.log if it exists.
3217 SHELL=\${CONFIG_SHELL-$SHELL}
3220 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3221 ## -------------------- ##
3222 ## M4sh Initialization. ##
3223 ## -------------------- ##
3225 # Be more Bourne compatible
3226 DUALCASE=1; export DUALCASE # for MKS sh
3227 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3230 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3231 # is contrary to our usage. Disable this feature.
3232 alias -g '${1+"$@"}'='"$@"'
3233 setopt NO_GLOB_SUBST
3235 case `(set -o) 2>/dev/null` in #(
3247 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3248 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3249 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3250 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3251 # Prefer a ksh shell builtin over an external printf program on Solaris,
3252 # but without wasting forks for bash or zsh.
3253 if test -z "$BASH_VERSION$ZSH_VERSION" \
3254 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3255 as_echo='print -r --'
3256 as_echo_n='print -rn --'
3257 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3258 as_echo='printf %s\n'
3259 as_echo_n='printf %s'
3261 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3262 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3263 as_echo_n='/usr/ucb/echo -n'
3265 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3266 as_echo_n_body='eval
3270 expr "X$arg" : "X\\(.*\\)$as_nl";
3271 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3273 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3275 export as_echo_n_body
3276 as_echo_n='sh -c $as_echo_n_body as_echo'
3279 as_echo='sh -c $as_echo_body as_echo'
3282 # The user is always right.
3283 if test "${PATH_SEPARATOR+set}" != set; then
3285 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3286 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3293 # We need space, tab and new line, in precisely that order. Quoting is
3294 # there to prevent editors from complaining about space-tab.
3295 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3296 # splitting by setting IFS to empty value.)
3299 # Find who we are. Look in the path if we contain no directory separator.
3302 *[\\/]* ) as_myself=$0 ;;
3303 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3314 # We did not find ourselves, most probably we were run as `sh COMMAND'
3315 # in which case we are not to be found in the path.
3316 if test "x$as_myself" = x; then
3319 if test ! -f "$as_myself"; then
3320 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3324 # Unset variables that we do not need and which cause bugs (e.g. in
3325 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3326 # suppresses any "Segmentation fault" message there. '((' could
3327 # trigger a bug in pdksh 5.2.14.
3328 for as_var in BASH_ENV ENV MAIL MAILPATH
3329 do eval test x\${$as_var+set} = xset \
3330 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3343 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3346 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3347 # ----------------------------------------
3348 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3349 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3350 # script with STATUS, using 1 if that was 0.
3353 as_status=$1; test $as_status -eq 0 && as_status=1
3355 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3356 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3358 $as_echo "$as_me: error: $2" >&2
3359 as_fn_exit $as_status
3363 # as_fn_set_status STATUS
3364 # -----------------------
3365 # Set $? to STATUS, without forking.
3369 } # as_fn_set_status
3373 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3383 # Portably unset VAR.
3386 { eval $1=; unset $1;}
3388 as_unset=as_fn_unset
3389 # as_fn_append VAR VALUE
3390 # ----------------------
3391 # Append the text in VALUE to the end of the definition contained in VAR. Take
3392 # advantage of any shell optimizations that allow amortized linear growth over
3393 # repeated appends, instead of the typical quadratic growth present in naive
3395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3396 eval 'as_fn_append ()
3407 # as_fn_arith ARG...
3408 # ------------------
3409 # Perform arithmetic evaluation on the ARGs, and store the result in the
3410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3411 # must be portable across $(()) and expr.
3412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3413 eval 'as_fn_arith ()
3420 as_val=`expr "$@" || test $? -eq 1`
3425 if expr a : '\(a\)' >/dev/null 2>&1 &&
3426 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3432 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3433 as_basename=basename
3438 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3444 as_me=`$as_basename -- "$0" ||
3445 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3446 X"$0" : 'X\(//\)$' \| \
3447 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3449 sed '/^.*\/\([^/][^/]*\)\/*$/{
3463 # Avoid depending upon Character Ranges.
3464 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3465 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3466 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3467 as_cr_digits='0123456789'
3468 as_cr_alnum=$as_cr_Letters$as_cr_digits
3470 ECHO_C= ECHO_N= ECHO_T=
3471 case `echo -n x` in #(((((
3473 case `echo 'xy\c'` in
3474 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3476 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3483 rm -f conf$$ conf$$.exe conf$$.file
3484 if test -d conf$$.dir; then
3485 rm -f conf$$.dir/conf$$.file
3488 mkdir conf$$.dir 2>/dev/null
3490 if (echo >conf$$.file) 2>/dev/null; then
3491 if ln -s conf$$.file conf$$ 2>/dev/null; then
3493 # ... but there are two gotchas:
3494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3496 # In both cases, we have to default to `cp -pR'.
3497 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3499 elif ln conf$$.file conf$$ 2>/dev/null; then
3507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3508 rmdir conf$$.dir 2>/dev/null
3513 # Create "$as_dir" as a directory, including parents if necessary.
3518 -*) as_dir=./$as_dir;;
3520 test -d "$as_dir" || eval $as_mkdir_p || {
3524 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3525 *) as_qdir=$as_dir;;
3527 as_dirs="'$as_qdir' $as_dirs"
3528 as_dir=`$as_dirname -- "$as_dir" ||
3529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3530 X"$as_dir" : 'X\(//\)[^/]' \| \
3531 X"$as_dir" : 'X\(//\)$' \| \
3532 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3533 $as_echo X"$as_dir" |
3534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3551 test -d "$as_dir" && break
3553 test -z "$as_dirs" || eval "mkdir $as_dirs"
3554 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3558 if mkdir -p . 2>/dev/null; then
3559 as_mkdir_p='mkdir -p "$as_dir"'
3561 test -d ./-p && rmdir ./-p
3566 # as_fn_executable_p FILE
3567 # -----------------------
3568 # Test if FILE is an executable regular file.
3569 as_fn_executable_p ()
3571 test -f "$1" && test -x "$1"
3572 } # as_fn_executable_p
3574 as_executable_p=as_fn_executable_p
3576 # Sed expression to map a string onto a valid CPP name.
3577 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3579 # Sed expression to map a string onto a valid variable name.
3580 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3584 ## ----------------------------------- ##
3585 ## Main body of $CONFIG_STATUS script. ##
3586 ## ----------------------------------- ##
3588 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3591 # Save the log message, to keep $0 and so on meaningful, and to
3592 # report actual input values of CONFIG_FILES etc. instead of their
3593 # values after options handling.
3595 This file was extended by RT $as_me rt-4.0.24, which was
3596 generated by GNU Autoconf 2.69. Invocation command line was
3598 CONFIG_FILES = $CONFIG_FILES
3599 CONFIG_HEADERS = $CONFIG_HEADERS
3600 CONFIG_LINKS = $CONFIG_LINKS
3601 CONFIG_COMMANDS = $CONFIG_COMMANDS
3604 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3609 case $ac_config_files in *"
3610 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3616 # Files that config.status was made for.
3617 config_files="$ac_config_files"
3621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3623 \`$as_me' instantiates files and other configuration actions
3624 from templates according to the current configuration. Unless the files
3625 and actions are specified as TAGs, all are instantiated by default.
3627 Usage: $0 [OPTION]... [TAG]...
3629 -h, --help print this help, then exit
3630 -V, --version print version number and configuration settings, then exit
3631 --config print configuration, then exit
3632 -q, --quiet, --silent
3633 do not print progress messages
3634 -d, --debug don't remove temporary files
3635 --recheck update $as_me by reconfiguring in the same conditions
3636 --file=FILE[:TEMPLATE]
3637 instantiate the configuration file FILE
3639 Configuration files:
3642 Report bugs to <rt-bugs@bestpractical.com>."
3645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3646 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3648 RT config.status rt-4.0.24
3649 configured by $0, generated by GNU Autoconf 2.69,
3650 with options \\"\$ac_cs_config\\"
3652 Copyright (C) 2012 Free Software Foundation, Inc.
3653 This config.status script is free software; the Free Software Foundation
3654 gives unlimited permission to copy, distribute and modify it."
3659 test -n "\$AWK" || AWK=awk
3662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3663 # The default lists apply if the user does not specify any file.
3669 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3670 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3674 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3686 # Handling of the options.
3687 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3689 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3690 $as_echo "$ac_cs_version"; exit ;;
3691 --config | --confi | --conf | --con | --co | --c )
3692 $as_echo "$ac_cs_config"; exit ;;
3693 --debug | --debu | --deb | --de | --d | -d )
3695 --file | --fil | --fi | --f )
3698 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3699 '') as_fn_error $? "missing file argument" ;;
3701 as_fn_append CONFIG_FILES " '$ac_optarg'"
3702 ac_need_defaults=false;;
3703 --he | --h | --help | --hel | -h )
3704 $as_echo "$ac_cs_usage"; exit ;;
3705 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3706 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3710 -*) as_fn_error $? "unrecognized option: \`$1'
3711 Try \`$0 --help' for more information." ;;
3713 *) as_fn_append ac_config_targets " $1"
3714 ac_need_defaults=false ;;
3720 ac_configure_extra_args=
3722 if $ac_cs_silent; then
3724 ac_configure_extra_args="$ac_configure_extra_args --silent"
3728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3729 if \$ac_cs_recheck; then
3730 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3732 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3733 CONFIG_SHELL='$SHELL'
3739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3743 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3744 ## Running $as_me. ##
3750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3755 # Handling of arguments.
3756 for ac_config_target in $ac_config_targets
3758 case $ac_config_target in
3759 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
3760 "etc/upgrade/4.0-customfield-checkbox-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/4.0-customfield-checkbox-extension" ;;
3761 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
3762 "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
3763 "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;;
3764 "etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
3765 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
3766 "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;;
3767 "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;;
3768 "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;;
3769 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
3770 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
3771 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
3772 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
3773 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
3774 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
3775 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
3776 "sbin/rt-validate-aliases") CONFIG_FILES="$CONFIG_FILES sbin/rt-validate-aliases" ;;
3777 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
3778 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
3779 "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
3780 "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
3781 "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
3782 "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
3783 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
3784 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
3785 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
3786 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3787 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
3788 "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
3789 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
3790 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
3792 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3797 # If the user did not use the arguments to specify the items to instantiate,
3798 # then the envvar interface is used. Set only those that are not.
3799 # We use the long form for the default assignment because of an extremely
3800 # bizarre bug on SunOS 4.1.3.
3801 if $ac_need_defaults; then
3802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3805 # Have a temporary directory for convenience. Make it in the build tree
3806 # simply because there is no reason against having it here, and in addition,
3807 # creating and moving files from /tmp can sometimes cause problems.
3808 # Hook for its removal unless debugging.
3809 # Note that there is a small window in which the directory will not be cleaned:
3810 # after its creation but before its name has been assigned to `$tmp'.
3814 trap 'exit_status=$?
3816 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3818 trap 'as_fn_exit 1' 1 2 13 15
3820 # Create a (secure) tmp directory for tmp files.
3823 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3827 tmp=./conf$$-$RANDOM
3828 (umask 077 && mkdir "$tmp")
3829 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3832 # Set up the scripts for CONFIG_FILES section.
3833 # No need to generate them if there are no CONFIG_FILES.
3834 # This happens for instance with `./config.status config.h'.
3835 if test -n "$CONFIG_FILES"; then
3838 ac_cr=`echo X | tr X '\015'`
3839 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3840 # But we know of no other shell where ac_cr would be empty at this
3841 # point, so we can use a bashism as a fallback.
3842 if test "x$ac_cr" = x; then
3843 eval ac_cr=\$\'\\r\'
3845 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3846 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3852 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3857 echo "cat >conf$$subs.awk <<_ACEOF" &&
3858 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3861 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3862 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3864 for ac_last_try in false false false false false :; do
3865 . ./conf$$subs.sh ||
3866 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3868 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3869 if test $ac_delim_n = $ac_delim_num; then
3871 elif $ac_last_try; then
3872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3880 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3884 s/^/S["/; s/!.*/"]=/
3894 s/\(.\{148\}\)..*/\1/
3896 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3901 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3908 s/\(.\{148\}\)..*/\1/
3910 s/["\\]/\\&/g; s/^/"/; s/$/"/
3914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3919 ' <conf$$subs.awk | sed '
3924 ' >>$CONFIG_STATUS || ac_write_fail=1
3925 rm -f conf$$subs.awk
3926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3928 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3929 for (key in S) S_is_set[key] = 1
3935 nfields = split(line, field, "@")
3937 len = length(field[1])
3938 for (i = 2; i < nfields; i++) {
3940 keylen = length(key)
3941 if (S_is_set[key]) {
3943 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3944 len += length(value) + length(field[++i])
3955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3956 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3957 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3960 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3961 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3964 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3965 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3966 # trailing colons and then remove the whole line if VPATH becomes empty
3967 # (actually we leave an empty line to preserve line numbers).
3968 if test "x$srcdir" = x.; then
3969 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3988 fi # test -n "$CONFIG_FILES"
3991 eval set X " :F $CONFIG_FILES "
3996 :[FHLC]) ac_mode=$ac_tag; continue;;
3998 case $ac_mode$ac_tag in
4000 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4001 :[FH]-) ac_tag=-:-;;
4002 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4019 -) ac_f="$ac_tmp/stdin";;
4020 *) # Look for the file first in the build tree, then in the source tree
4021 # (if the path is not absolute). The absolute path cannot be DOS-style,
4022 # because $ac_f cannot contain `:'.
4026 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4028 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4030 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4031 as_fn_append ac_file_inputs " '$ac_f'"
4034 # Let's still pretend it is `configure' which instantiates (i.e., don't
4035 # use $as_me), people would be surprised to read:
4036 # /* config.h. Generated by config.status. */
4037 configure_input='Generated from '`
4038 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4040 if test x"$ac_file" != x-; then
4041 configure_input="$ac_file. $configure_input"
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4043 $as_echo "$as_me: creating $ac_file" >&6;}
4045 # Neutralize special characters interpreted by sed in replacement strings.
4046 case $configure_input in #(
4047 *\&* | *\|* | *\\* )
4048 ac_sed_conf_input=`$as_echo "$configure_input" |
4049 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4050 *) ac_sed_conf_input=$configure_input;;
4054 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4060 ac_dir=`$as_dirname -- "$ac_file" ||
4061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4062 X"$ac_file" : 'X\(//\)[^/]' \| \
4063 X"$ac_file" : 'X\(//\)$' \| \
4064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4065 $as_echo X"$ac_file" |
4066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4083 as_dir="$ac_dir"; as_fn_mkdir_p
4087 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4089 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4090 # A ".." for each directory in $ac_dir_suffix.
4091 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4092 case $ac_top_builddir_sub in
4093 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4094 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4097 ac_abs_top_builddir=$ac_pwd
4098 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4099 # for backward compatibility:
4100 ac_top_builddir=$ac_top_build_prefix
4103 .) # We are building in place.
4105 ac_top_srcdir=$ac_top_builddir_sub
4106 ac_abs_top_srcdir=$ac_pwd ;;
4107 [\\/]* | ?:[\\/]* ) # Absolute name.
4108 ac_srcdir=$srcdir$ac_dir_suffix;
4109 ac_top_srcdir=$srcdir
4110 ac_abs_top_srcdir=$srcdir ;;
4112 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4113 ac_top_srcdir=$ac_top_build_prefix$srcdir
4114 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4116 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4126 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4127 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4132 # If the template does not know about datarootdir, expand it.
4133 # FIXME: This hack should be removed a few years after 2.60.
4134 ac_datarootdir_hack=; ac_datarootdir_seen=
4145 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4146 *datarootdir*) ac_datarootdir_seen=yes;;
4147 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4149 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4152 ac_datarootdir_hack='
4153 s&@datadir@&$datadir&g
4154 s&@docdir@&$docdir&g
4155 s&@infodir@&$infodir&g
4156 s&@localedir@&$localedir&g
4157 s&@mandir@&$mandir&g
4158 s&\\\${datarootdir}&$datarootdir&g' ;;
4162 # Neutralize VPATH when `$srcdir' = `.'.
4163 # Shell code in configure.ac might set extrasub.
4164 # FIXME: do we really want to maintain this feature?
4165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4166 ac_sed_extra="$ac_vpsub
4169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4172 s|@configure_input@|$ac_sed_conf_input|;t t
4173 s&@top_builddir@&$ac_top_builddir_sub&;t t
4174 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4175 s&@srcdir@&$ac_srcdir&;t t
4176 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4177 s&@top_srcdir@&$ac_top_srcdir&;t t
4178 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4179 s&@builddir@&$ac_builddir&;t t
4180 s&@abs_builddir@&$ac_abs_builddir&;t t
4181 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4182 s&@INSTALL@&$ac_INSTALL&;t t
4183 $ac_datarootdir_hack
4185 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4186 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4188 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4189 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4190 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4191 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4193 which seems to be undefined. Please make sure it is defined" >&5
4194 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4195 which seems to be undefined. Please make sure it is defined" >&2;}
4197 rm -f "$ac_tmp/stdin"
4199 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4200 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4210 case $ac_file$ac_mode in
4211 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
4213 "etc/upgrade/4.0-customfield-checkbox-extension":F) chmod ug+x $ac_file
4215 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
4217 "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
4219 "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
4221 "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
4223 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
4225 "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
4227 "sbin/rt-session-viewer":F) chmod ug+x $ac_file
4229 "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
4231 "sbin/rt-setup-database":F) chmod ug+x $ac_file
4233 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
4235 "sbin/rt-email-digest":F) chmod ug+x $ac_file
4237 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
4239 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
4241 "sbin/rt-shredder":F) chmod ug+x $ac_file
4243 "sbin/rt-validator":F) chmod ug+x $ac_file
4245 "sbin/rt-validate-aliases":F) chmod ug+x $ac_file
4247 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
4249 "sbin/rt-server":F) chmod ug+x $ac_file
4251 "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
4253 "sbin/standalone_httpd":F) chmod ug+x $ac_file
4255 "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
4257 "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
4259 "bin/rt-crontool":F) chmod ug+x $ac_file
4261 "bin/rt-mailgate":F) chmod ug+x $ac_file
4263 "bin/rt":F) chmod ug+x $ac_file
4272 ac_clean_files=$ac_clean_files_save
4274 test $ac_write_fail = 0 ||
4275 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4278 # configure is writing to config.log, and then calls config.status.
4279 # config.status does its own redirection, appending to config.log.
4280 # Unfortunately, on DOS this fails, as config.log is still kept open
4281 # by configure, so config.status won't be able to write to it; its
4282 # output is simply discarded. So we exec the FD to /dev/null,
4283 # effectively closing config.log, so it can be properly (re)opened and
4284 # appended to by config.status. When coming back to configure, we
4285 # need to make the FD available again.
4286 if test "$no_create" != yes; then
4288 ac_config_status_args=
4289 test "$silent" = yes &&
4290 ac_config_status_args="$ac_config_status_args --quiet"
4292 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4294 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4295 # would make configure fail if this is the last instruction.
4296 $ac_cs_success || as_fn_exit 1
4298 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4300 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}