2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for RT rt-4.0.21.
6 # Report bugs to <rt-bugs@bestpractical.com>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: rt-bugs@bestpractical.com about your system, including
243 $0: any error possibly output before this message. Then
244 $0: install a modern shell, or manually run the script
245 $0: under such a shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
563 PACKAGE_VERSION='rt-4.0.21'
564 PACKAGE_STRING='RT rt-4.0.21'
565 PACKAGE_BUGREPORT='rt-bugs@bestpractical.com'
568 ac_unique_file="lib/RT.pm"
569 ac_default_prefix=/opt/rt4
570 ac_subst_vars='LTLIBOBJS
576 MASON_LOCAL_HTML_PATH_R
598 MASON_LOCAL_HTML_PATH
640 COMMENT_INPLACE_LAYOUT
714 program_transform_name
727 enable_option_checking
756 ac_precious_vars='build_alias
762 # Initialize some variables set by options.
764 ac_init_version=false
765 ac_unrecognized_opts=
767 # The variables have the same names as the options, with
768 # dashes changed to underlines.
776 program_transform_name=s,x,x,
784 # Installation directory options.
785 # These are left unexpanded so users can "make install exec_prefix=/foo"
786 # and all the variables that are supposed to be based on exec_prefix
787 # by default will actually change.
788 # Use braces instead of parens because sh, perl, etc. also accept them.
789 # (The list follows the same order as the GNU Coding Standards.)
790 bindir='${exec_prefix}/bin'
791 sbindir='${exec_prefix}/sbin'
792 libexecdir='${exec_prefix}/libexec'
793 datarootdir='${prefix}/share'
794 datadir='${datarootdir}'
795 sysconfdir='${prefix}/etc'
796 sharedstatedir='${prefix}/com'
797 localstatedir='${prefix}/var'
798 includedir='${prefix}/include'
799 oldincludedir='/usr/include'
800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
801 infodir='${datarootdir}/info'
806 libdir='${exec_prefix}/lib'
807 localedir='${datarootdir}/locale'
808 mandir='${datarootdir}/man'
814 # If the previous option needs an argument, assign it.
815 if test -n "$ac_prev"; then
816 eval $ac_prev=\$ac_option
822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838 -build | --build | --buil | --bui | --bu)
839 ac_prev=build_alias ;;
840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841 build_alias=$ac_optarg ;;
843 -cache-file | --cache-file | --cache-fil | --cache-fi \
844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845 ac_prev=cache_file ;;
846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848 cache_file=$ac_optarg ;;
851 cache_file=config.cache ;;
853 -datadir | --datadir | --datadi | --datad)
855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
856 datadir=$ac_optarg ;;
858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859 | --dataroo | --dataro | --datar)
860 ac_prev=datarootdir ;;
861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863 datarootdir=$ac_optarg ;;
865 -disable-* | --disable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 as_fn_error $? "invalid feature name: $ac_useropt"
870 ac_useropt_orig=$ac_useropt
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep=', ';;
879 eval enable_$ac_useropt=no ;;
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error $? "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
905 eval enable_$ac_useropt=\$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev=exec_prefix ;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923 ac_init_help=recursive ;;
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925 ac_init_help=short ;;
927 -host | --host | --hos | --ho)
928 ac_prev=host_alias ;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev=includedir ;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev=libexecdir ;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev=localstatedir ;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev=oldincludedir ;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev=program_prefix ;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev=program_suffix ;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev=program_transform_name ;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval with_$ac_useropt=no ;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error $? "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val=\$$ac_var
1190 # Remove trailing slashes.
1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$]* | ?:[\\/]* ) continue;;
1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213 if test "x$build_alias" = x; then
1214 cross_compiling=maybe
1215 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used" >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225 test "$silent" = yes && exec 6>/dev/null
1228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di=`ls -di .` &&
1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error $? "working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error $? "pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures RT rt-4.0.21 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking ...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/rt]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of RT rt-4.0.21:";;
1368 --disable-option-checking ignore unrecognized --enable/--with options
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --enable-layout=LAYOUT Use a specific directory layout (Default: relative)
1372 --enable-devel-mode Turn on development aids that might hurt you in
1374 --enable-graphviz Turns on support for RT's GraphViz dependency charts
1375 --enable-gd Turns on support for RT's GD pie and bar charts
1376 --enable-gpg Turns on GNU Privacy Guard (GPG) support
1377 --enable-ssl-mailgate Turns on support for HTTPS in rt-mailgate
1380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1382 --with-web-handler=LIST comma separated list of web-handlers RT will be able
1383 to use. Default is fastcgi. Valid values are
1384 modperl1, modperl2, fastcgi and standalone. To
1385 successfully run RT you need only one.
1386 --with-bin-owner=OWNER user that will own RT binaries (default root)
1387 --with-libs-owner=OWNER user that will own RT libraries (default root)
1388 --with-libs-group=GROUP group that will own RT binaries (default bin)
1389 --with-db-type=TYPE sort of database RT will use (default: mysql)
1390 (mysql, Pg, Oracle and SQLite are valid)
1391 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
1392 --with-db-port=PORT port on which the database listens on
1393 --with-db-rt-host=HOSTNAME
1394 FQDN of RT server which talks to the database server
1395 (default: localhost)
1396 --with-db-dba=DBA name of database administrator (default: root or
1398 --with-db-database=DBNAME
1399 name of the database to use (default: rt4)
1400 --with-db-rt-user=DBUSER
1401 name of database user (default: rt_user)
1402 --with-db-rt-pass=PASSWORD
1403 password for database user (default: rt_pass)
1404 --with-web-user=USER user the web server runs as (default: www)
1405 --with-web-group=GROUP group the web server runs as (default: www)
1406 --with-rt-group=GROUP group to own all files (default: rt)
1407 --with-my-user-group set all users and groups to current user/group
1408 --with-apachectl instruct RT where to find your apachectl
1411 Some influential environment variables:
1412 PERL Perl interpreter command
1414 Use these variables to override the choices made by `configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to <rt-bugs@bestpractical.com>.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1480 RT configure rt-4.0.21
1481 generated by GNU Autoconf 2.68
1483 Copyright (C) 2010 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1493 cat >config.log <<_ACEOF
1494 This file contains any messages produced by compilers while
1495 running configure, to aid debugging if configure makes a mistake.
1497 It was created by RT $as_me rt-4.0.21, which was
1498 generated by GNU Autoconf 2.68. Invocation command line was
1510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 test -z "$as_dir" && as_dir=.
1534 $as_echo "PATH: $as_dir"
1550 # Keep a trace of the command line.
1551 # Strip out --no-create and --no-recursion so they do not pile up.
1552 # Strip out --silent because we don't want to record it for future runs.
1553 # Also quote any args containing shell meta-characters.
1554 # Make two passes to allow for proper duplicate-argument suppression.
1558 ac_must_keep_next=false
1564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1566 | -silent | --silent | --silen | --sile | --sil)
1569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1574 as_fn_append ac_configure_args1 " '$ac_arg'"
1575 if test $ac_must_keep_next = true; then
1576 ac_must_keep_next=false # Got value, back to normal.
1579 *=* | --config-cache | -C | -disable-* | --disable-* \
1580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1582 | -with-* | --with-* | -without-* | --without-* | --x)
1583 case "$ac_configure_args0 " in
1584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1587 -* ) ac_must_keep_next=true ;;
1590 as_fn_append ac_configure_args " '$ac_arg'"
1595 { ac_configure_args0=; unset ac_configure_args0;}
1596 { ac_configure_args1=; unset ac_configure_args1;}
1598 # When interrupted or exit'd, cleanup temporary files, and complete
1599 # config.log. We remove comments because anyway the quotes in there
1600 # would cause problems or look ugly.
1601 # WARNING: Use '\'' to represent an apostrophe within the trap.
1602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1603 trap 'exit_status=$?
1604 # Save into config.log some information that might help in debugging.
1608 $as_echo "## ---------------- ##
1609 ## Cache variables. ##
1610 ## ---------------- ##"
1612 # The following way of writing the cache mishandles newlines in values,
1614 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1615 eval ac_val=\$$ac_var
1619 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1623 _ | IFS | as_nl) ;; #(
1624 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1625 *) { eval $ac_var=; unset $ac_var;} ;;
1630 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1631 *${as_nl}ac_space=\ *)
1633 "s/'\''/'\''\\\\'\'''\''/g;
1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1644 $as_echo "## ----------------- ##
1645 ## Output variables. ##
1646 ## ----------------- ##"
1648 for ac_var in $ac_subst_vars
1650 eval ac_val=\$$ac_var
1652 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1654 $as_echo "$ac_var='\''$ac_val'\''"
1658 if test -n "$ac_subst_files"; then
1659 $as_echo "## ------------------- ##
1660 ## File substitutions. ##
1661 ## ------------------- ##"
1663 for ac_var in $ac_subst_files
1665 eval ac_val=\$$ac_var
1667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 $as_echo "$ac_var='\''$ac_val'\''"
1674 if test -s confdefs.h; then
1675 $as_echo "## ----------- ##
1682 test "$ac_signal" != 0 &&
1683 $as_echo "$as_me: caught signal $ac_signal"
1684 $as_echo "$as_me: exit $exit_status"
1686 rm -f core *.core core.conftest.* &&
1687 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1690 for ac_signal in 1 2 13 15; do
1691 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1695 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1696 rm -f -r conftest* confdefs.h
1698 $as_echo "/* confdefs.h */" > confdefs.h
1700 # Predefined preprocessor variables.
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_NAME "$PACKAGE_NAME"
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_STRING "$PACKAGE_STRING"
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_URL "$PACKAGE_URL"
1727 # Let the site file select an alternate cache file if it wants to.
1728 # Prefer an explicitly selected file to automatically selected ones.
1731 if test -n "$CONFIG_SITE"; then
1732 # We do not want a PATH search for config.site.
1733 case $CONFIG_SITE in #((
1734 -*) ac_site_file1=./$CONFIG_SITE;;
1735 */*) ac_site_file1=$CONFIG_SITE;;
1736 *) ac_site_file1=./$CONFIG_SITE;;
1738 elif test "x$prefix" != xNONE; then
1739 ac_site_file1=$prefix/share/config.site
1740 ac_site_file2=$prefix/etc/config.site
1742 ac_site_file1=$ac_default_prefix/share/config.site
1743 ac_site_file2=$ac_default_prefix/etc/config.site
1745 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1747 test "x$ac_site_file" = xNONE && continue
1748 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1750 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1751 sed 's/^/| /' "$ac_site_file" >&5
1753 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1755 as_fn_error $? "failed to load site script $ac_site_file
1756 See \`config.log' for more details" "$LINENO" 5; }
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special files
1762 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1763 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1765 $as_echo "$as_me: loading cache $cache_file" >&6;}
1767 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1768 *) . "./$cache_file";;
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1773 $as_echo "$as_me: creating cache $cache_file" >&6;}
1777 # Check that the precious variables saved in the cache have kept the same
1779 ac_cache_corrupted=false
1780 for ac_var in $ac_precious_vars; do
1781 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1782 eval ac_new_set=\$ac_env_${ac_var}_set
1783 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1784 eval ac_new_val=\$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1792 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 # differences in whitespace do not lead to failure.
1798 ac_old_val_w=`echo x $ac_old_val`
1799 ac_new_val_w=`echo x $ac_new_val`
1800 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1802 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 ac_cache_corrupted=:
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1806 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1807 eval $ac_var=\$ac_old_val
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1810 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1812 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1818 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 *) ac_arg=$ac_var=$ac_new_val ;;
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1827 if $ac_cache_corrupted; then
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1831 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1832 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1834 ## -------------------- ##
1835 ## Main body of script. ##
1836 ## -------------------- ##
1839 ac_cpp='$CPP $CPPFLAGS'
1840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1847 CONFIGURE_INCANT="$0 $@"
1856 test "x$rt_version_major" = 'x' && rt_version_major=0
1857 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1858 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1861 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1862 if test -f "$ac_dir/install-sh"; then
1864 ac_install_sh="$ac_aux_dir/install-sh -c"
1866 elif test -f "$ac_dir/install.sh"; then
1868 ac_install_sh="$ac_aux_dir/install.sh -c"
1870 elif test -f "$ac_dir/shtool"; then
1872 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 if test -z "$ac_aux_dir"; then
1877 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1880 # These three variables are undocumented and unsupported,
1881 # and are intended to be withdrawn in a future Autoconf release.
1882 # They can cause serious problems if a builder's source tree is in a directory
1883 # whose full name contains unusual characters.
1884 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1885 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1886 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 # Find a good install program. We prefer a C program (faster),
1890 # so one script is as good as another. But avoid the broken or
1891 # incompatible versions:
1892 # SysV /etc/install, /usr/sbin/install
1893 # SunOS /usr/etc/install
1894 # IRIX /sbin/install
1896 # AmigaOS /C/install, which installs bootblocks on floppy discs
1897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1900 # OS/2's system install, which has a completely different semantic
1901 # ./install, which can be erroneously created by make from ./install.sh.
1902 # Reject install programs that cannot install multiple files.
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1904 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1905 if test -z "$INSTALL"; then
1906 if ${ac_cv_path_install+:} false; then :
1907 $as_echo_n "(cached) " >&6
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 # Account for people who put trailing slashes in PATH elements.
1915 case $as_dir/ in #((
1916 ./ | .// | /[cC]/* | \
1917 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1918 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1921 # OSF1 and SCO ODT 3.0 have their own names for install.
1922 # Don't use installbsd from OSF since it installs stuff as root
1924 for ac_prog in ginstall scoinst install; do
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1927 if test $ac_prog = install &&
1928 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1929 # AIX install. It has an incompatible calling convention.
1931 elif test $ac_prog = install &&
1932 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1933 # program-specific install script used by HP pwplus--don't use.
1936 rm -rf conftest.one conftest.two conftest.dir
1937 echo one > conftest.one
1938 echo two > conftest.two
1940 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1941 test -s conftest.one && test -s conftest.two &&
1942 test -s conftest.dir/conftest.one &&
1943 test -s conftest.dir/conftest.two
1945 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1958 rm -rf conftest.one conftest.two conftest.dir
1961 if test "${ac_cv_path_install+set}" = set; then
1962 INSTALL=$ac_cv_path_install
1964 # As a last resort, use the slow shell script. Don't cache a
1965 # value for INSTALL within a source directory, because that will
1966 # break other packages using the cache if that directory is
1967 # removed, or if the value is a relative name.
1968 INSTALL=$ac_install_sh
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1972 $as_echo "$INSTALL" >&6; }
1974 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1975 # It thinks the first close brace ends the variable substitution.
1976 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1978 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1980 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1983 # Extract the first word of "perl", so it can be a program name with args.
1984 set dummy perl; ac_word=$2
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1986 $as_echo_n "checking for $ac_word... " >&6; }
1987 if ${ac_cv_path_PERL+:} false; then :
1988 $as_echo_n "(cached) " >&6
1992 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 for ac_exec_ext in '' $ac_executable_extensions; do
2001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2002 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
2014 PERL=$ac_cv_path_PERL
2015 if test -n "$PERL"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2017 $as_echo "$PERL" >&6; }
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2024 if test "$PERL" = 'not found'; then
2025 as_fn_error $? "cannot use $PACKAGE_NAME without perl" "$LINENO" 5
2030 # Check whether --with-web-handler was given.
2031 if test "${with_web_handler+set}" = set; then :
2032 withval=$with_web_handler; WEB_HANDLER=$withval
2037 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)
2038 if test "$my_web_handler_test" != "ok"; then
2039 as_fn_error $? "Only modperl1, modperl2, fastcgi and standalone are valid web-handlers" "$LINENO" 5
2045 # Check whether --enable-layout was given.
2046 if test "${enable_layout+set}" = set; then :
2047 enableval=$enable_layout; LAYOUT=$enableval
2051 if test "x$LAYOUT" = "x"; then
2055 if test ! -f $srcdir/config.layout; then
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5
2057 $as_echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
2060 pldconf=./config.pld
2061 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
2062 s/.*<Layout\s+$layout>//gims;
2063 s/\<\/Layout\>.*//s;
2068 # m4 will not let us just use $srcdir/config.layout, we need $1
2069 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim;
2070 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
2071 ' < $srcdir/config.layout > $pldconf
2073 if test -s $pldconf; then
2074 rt_layout_name=$LAYOUT
2077 for var in prefix exec_prefix bindir sbindir \
2078 sysconfdir mandir libdir datadir htmldir fontdir\
2079 lexdir localstatedir logfiledir masonstatedir \
2080 sessionstatedir customdir custometcdir customhtmldir \
2081 customlexdir customplugindir customlibdir manualdir; do
2082 eval "val=\"\$$var\""
2083 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
2085 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
2098 while test "x${ap_cur}" != "x${ap_last}"; do
2100 ap_cur=`eval "echo ${ap_cur}"`
2102 exp_prefix="${ap_cur}"
2110 ap_cur='$exec_prefix'
2111 while test "x${ap_cur}" != "x${ap_last}"; do
2113 ap_cur=`eval "echo ${ap_cur}"`
2115 exp_exec_prefix="${ap_cur}"
2124 while test "x${ap_cur}" != "x${ap_last}"; do
2126 ap_cur=`eval "echo ${ap_cur}"`
2128 exp_bindir="${ap_cur}"
2137 while test "x${ap_cur}" != "x${ap_last}"; do
2139 ap_cur=`eval "echo ${ap_cur}"`
2141 exp_sbindir="${ap_cur}"
2149 ap_cur='$sysconfdir'
2150 while test "x${ap_cur}" != "x${ap_last}"; do
2152 ap_cur=`eval "echo ${ap_cur}"`
2154 exp_sysconfdir="${ap_cur}"
2163 while test "x${ap_cur}" != "x${ap_last}"; do
2165 ap_cur=`eval "echo ${ap_cur}"`
2167 exp_mandir="${ap_cur}"
2176 while test "x${ap_cur}" != "x${ap_last}"; do
2178 ap_cur=`eval "echo ${ap_cur}"`
2180 exp_libdir="${ap_cur}"
2189 while test "x${ap_cur}" != "x${ap_last}"; do
2191 ap_cur=`eval "echo ${ap_cur}"`
2193 exp_lexdir="${ap_cur}"
2202 while test "x${ap_cur}" != "x${ap_last}"; do
2204 ap_cur=`eval "echo ${ap_cur}"`
2206 exp_datadir="${ap_cur}"
2215 while test "x${ap_cur}" != "x${ap_last}"; do
2217 ap_cur=`eval "echo ${ap_cur}"`
2219 exp_htmldir="${ap_cur}"
2228 while test "x${ap_cur}" != "x${ap_last}"; do
2230 ap_cur=`eval "echo ${ap_cur}"`
2232 exp_fontdir="${ap_cur}"
2241 while test "x${ap_cur}" != "x${ap_last}"; do
2243 ap_cur=`eval "echo ${ap_cur}"`
2245 exp_manualdir="${ap_cur}"
2254 while test "x${ap_cur}" != "x${ap_last}"; do
2256 ap_cur=`eval "echo ${ap_cur}"`
2258 exp_plugindir="${ap_cur}"
2266 ap_cur='$localstatedir'
2267 while test "x${ap_cur}" != "x${ap_last}"; do
2269 ap_cur=`eval "echo ${ap_cur}"`
2271 exp_localstatedir="${ap_cur}"
2279 ap_cur='$logfiledir'
2280 while test "x${ap_cur}" != "x${ap_last}"; do
2282 ap_cur=`eval "echo ${ap_cur}"`
2284 exp_logfiledir="${ap_cur}"
2292 ap_cur='$masonstatedir'
2293 while test "x${ap_cur}" != "x${ap_last}"; do
2295 ap_cur=`eval "echo ${ap_cur}"`
2297 exp_masonstatedir="${ap_cur}"
2305 ap_cur='$sessionstatedir'
2306 while test "x${ap_cur}" != "x${ap_last}"; do
2308 ap_cur=`eval "echo ${ap_cur}"`
2310 exp_sessionstatedir="${ap_cur}"
2319 while test "x${ap_cur}" != "x${ap_last}"; do
2321 ap_cur=`eval "echo ${ap_cur}"`
2323 exp_customdir="${ap_cur}"
2331 ap_cur='$custometcdir'
2332 while test "x${ap_cur}" != "x${ap_last}"; do
2334 ap_cur=`eval "echo ${ap_cur}"`
2336 exp_custometcdir="${ap_cur}"
2344 ap_cur='$customplugindir'
2345 while test "x${ap_cur}" != "x${ap_last}"; do
2347 ap_cur=`eval "echo ${ap_cur}"`
2349 exp_customplugindir="${ap_cur}"
2357 ap_cur='$customhtmldir'
2358 while test "x${ap_cur}" != "x${ap_last}"; do
2360 ap_cur=`eval "echo ${ap_cur}"`
2362 exp_customhtmldir="${ap_cur}"
2370 ap_cur='$customlexdir'
2371 while test "x${ap_cur}" != "x${ap_last}"; do
2373 ap_cur=`eval "echo ${ap_cur}"`
2375 exp_customlexdir="${ap_cur}"
2383 ap_cur='$customlibdir'
2384 while test "x${ap_cur}" != "x${ap_last}"; do
2386 ap_cur=`eval "echo ${ap_cur}"`
2388 exp_customlibdir="${ap_cur}"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
2395 $as_echo_n "checking for chosen layout... " >&6; }
2396 if test "x$rt_layout_name" = "xno"; then
2397 if test "x$LAYOUT" = "xno"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2399 $as_echo "none" >&6; }
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5
2402 $as_echo "$LAYOUT" >&6; }
2404 as_fn_error $? "a valid layout must be specified (or the default used)" "$LINENO" 5
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5
2408 $as_echo "$rt_layout_name" >&6; }
2410 if test "x$rt_layout_name" != "xinplace" ; then
2411 COMMENT_INPLACE_LAYOUT=""
2414 COMMENT_INPLACE_LAYOUT=#
2420 # ACRT_USER_EXISTS( users, variable, default )
2421 # - users is a list of users [www apache www-docs]
2422 # from highest to lowest priority to high priority (i.e. first match)
2423 # - variable is what you set with the result
2430 # Check whether --with-bin-owner was given.
2431 if test "${with_bin_owner+set}" = set; then :
2432 withval=$with_bin_owner; BIN_OWNER=$withval
2440 # Check whether --with-libs-owner was given.
2441 if test "${with_libs_owner+set}" = set; then :
2442 withval=$with_libs_owner; LIBS_OWNER=$withval
2450 # Check whether --with-libs-group was given.
2451 if test "${with_libs_group+set}" = set; then :
2452 withval=$with_libs_group; LIBS_GROUP=$withval
2460 # Check whether --with-db-type was given.
2461 if test "${with_db_type+set}" = set; then :
2462 withval=$with_db_type; DB_TYPE=$withval
2467 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' ; then
2468 as_fn_error $? "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
2472 if test "$DB_TYPE" = 'Oracle'; then
2473 test "x$ORACLE_HOME" = 'x' && as_fn_error $? "Please declare the ORACLE_HOME environment variable" "$LINENO" 5
2474 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
2480 # Check whether --with-db-host was given.
2481 if test "${with_db_host+set}" = set; then :
2482 withval=$with_db_host; DB_HOST=$withval
2490 # Check whether --with-db-port was given.
2491 if test "${with_db_port+set}" = set; then :
2492 withval=$with_db_port; DB_PORT=$withval
2500 # Check whether --with-db-rt-host was given.
2501 if test "${with_db_rt_host+set}" = set; then :
2502 withval=$with_db_rt_host; DB_RT_HOST=$withval
2504 DB_RT_HOST=localhost
2509 if test "$DB_TYPE" = "Pg" ; then
2515 # Check whether --with-db-dba was given.
2516 if test "${with_db_dba+set}" = set; then :
2517 withval=$with_db_dba; DB_DBA=$withval
2525 # Check whether --with-db-database was given.
2526 if test "${with_db_database+set}" = set; then :
2527 withval=$with_db_database; DB_DATABASE=$withval
2535 # Check whether --with-db-rt-user was given.
2536 if test "${with_db_rt_user+set}" = set; then :
2537 withval=$with_db_rt_user; DB_RT_USER=$withval
2545 # Check whether --with-db-rt-pass was given.
2546 if test "${with_db_rt_pass+set}" = set; then :
2547 withval=$with_db_rt_pass; DB_RT_PASS=$withval
2555 # Check whether --with-web-user was given.
2556 if test "${with_web_user+set}" = set; then :
2557 withval=$with_web_user; WEB_USER=$withval
2561 for x in www www-data apache httpd nobody; do
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5
2563 $as_echo_n "checking if user $x exists... " >&6; }
2564 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then :
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2566 $as_echo "found" >&6; }; WEB_USER=$x ; break
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2569 $as_echo "not found" >&6; }
2579 # Check whether --with-web-group was given.
2580 if test "${with_web_group+set}" = set; then :
2581 withval=$with_web_group; WEB_GROUP=$withval
2585 for x in www www-data apache httpd nogroup nobody; do
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2587 $as_echo_n "checking if group $x exists... " >&6; }
2588 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2590 $as_echo "found" >&6; }; WEB_GROUP=$x ; break
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2593 $as_echo "not found" >&6; }
2602 # Check whether --with-rt-group was given.
2603 if test "${with_rt_group+set}" = set; then :
2604 withval=$with_rt_group; RTGROUP=$withval
2608 for x in rt3 rt $WEB_GROUP; do
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2610 $as_echo_n "checking if group $x exists... " >&6; }
2611 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2613 $as_echo "found" >&6; }; RTGROUP=$x ; break
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2616 $as_echo "not found" >&6; }
2624 # XXX TODO: The command below to figure out the group brokenly relies on
2625 # output order (and "id -gn" doesn't work on all platforms).
2626 my_group=$(groups|cut -f1 -d' ')
2627 my_user=${USER:-$LOGNAME}
2629 # Check whether --with-my-user-group was given.
2630 if test "${with_my_user_group+set}" = set; then :
2631 withval=$with_my_user_group; RTGROUP=$my_group
2634 LIBS_GROUP=$my_group
2640 # Test for valid database names
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is set" >&5
2642 $as_echo_n "checking if database name is set... " >&6; }
2643 if echo $DB_DATABASE | $PERL -e 'exit(1) unless <> =~ /\S/' ; then :
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2645 $as_echo "yes" >&6; }
2647 as_fn_error $? "no. database name is not set" "$LINENO" 5
2651 if test "$DB_TYPE" = "mysql" ; then :
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is valid" >&5
2653 $as_echo_n "checking if database name is valid... " >&6; }
2654 if echo $DB_DATABASE | $PERL -e 'exit(1) if <> =~ /-/'; then :
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2656 $as_echo "yes" >&6; }
2658 as_fn_error $? "no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" "$LINENO" 5
2667 # Check whether --with-apachectl was given.
2668 if test "${with_apachectl+set}" = set; then :
2669 withval=$with_apachectl; APACHECTL=$withval
2671 APACHECTL=`which apachectl`
2677 # Check whether --with-devel-mode was given.
2678 if test "${with_devel_mode+set}" = set; then :
2679 withval=$with_devel_mode; RT_DEVEL_MODE=$withval
2684 # Check whether --enable-devel-mode was given.
2685 if test "${enable_devel_mode+set}" = set; then :
2686 enableval=$enable_devel_mode; RT_DEVEL_MODE=$enableval
2688 RT_DEVEL_MODE=$RT_DEVEL_MODE
2691 if test "$RT_DEVEL_MODE" = yes; then
2698 # Extract the first word of "dot", so it can be a program name with args.
2699 set dummy dot; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_prog_RT_GRAPHVIZ+:} false; then :
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$RT_GRAPHVIZ"; then
2706 ac_cv_prog_RT_GRAPHVIZ="$RT_GRAPHVIZ" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_RT_GRAPHVIZ=""yes""
2716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 test -z "$ac_cv_prog_RT_GRAPHVIZ" && ac_cv_prog_RT_GRAPHVIZ=""no""
2726 RT_GRAPHVIZ=$ac_cv_prog_RT_GRAPHVIZ
2727 if test -n "$RT_GRAPHVIZ"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GRAPHVIZ" >&5
2729 $as_echo "$RT_GRAPHVIZ" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2737 # Check whether --with-graphviz was given.
2738 if test "${with_graphviz+set}" = set; then :
2739 withval=$with_graphviz; RT_GRAPHVIZ=$withval
2742 # Check whether --enable-graphviz was given.
2743 if test "${enable_graphviz+set}" = set; then :
2744 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
2747 if test "$RT_GRAPHVIZ" = yes; then
2754 # Extract the first word of "gdlib-config", so it can be a program name with args.
2755 set dummy gdlib-config; ac_word=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_RT_GD+:} false; then :
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$RT_GD"; then
2762 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_RT_GD=""yes""
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""
2782 RT_GD=$ac_cv_prog_RT_GD
2783 if test -n "$RT_GD"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5
2785 $as_echo "$RT_GD" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2793 # Check whether --with-gd was given.
2794 if test "${with_gd+set}" = set; then :
2795 withval=$with_gd; RT_GD=$withval
2798 # Check whether --enable-gd was given.
2799 if test "${enable_gd+set}" = set; then :
2800 enableval=$enable_gd; RT_GD=$enableval
2803 if test "$RT_GD" = yes; then
2810 # Extract the first word of "gpg", so it can be a program name with args.
2811 set dummy gpg; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_RT_GPG+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$RT_GPG"; then
2818 ac_cv_prog_RT_GPG="$RT_GPG" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_RT_GPG=""yes""
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 test -z "$ac_cv_prog_RT_GPG" && ac_cv_prog_RT_GPG=""no""
2838 RT_GPG=$ac_cv_prog_RT_GPG
2839 if test -n "$RT_GPG"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GPG" >&5
2841 $as_echo "$RT_GPG" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2848 # Check whether --enable-gpg was given.
2849 if test "${enable_gpg+set}" = set; then :
2850 enableval=$enable_gpg; RT_GPG=$enableval
2853 if test "$RT_GPG" = yes; then
2861 # Check whether --with-ssl-mailgate was given.
2862 if test "${with_ssl_mailgate+set}" = set; then :
2863 withval=$with_ssl_mailgate; RT_SSL_MAILGATE=$withval
2868 # Check whether --enable-ssl-mailgate was given.
2869 if test "${enable_ssl_mailgate+set}" = set; then :
2870 enableval=$enable_ssl_mailgate; RT_SSL_MAILGATE=$enableval
2872 RT_SSL_MAILGATE=$RT_SSL_MAILGATE
2875 if test "$RT_SSL_MAILGATE" = yes; then
2884 RT_VERSION_MAJOR=${rt_version_major}
2886 RT_VERSION_MINOR=${rt_version_minor}
2888 RT_VERSION_PATCH=${rt_version_patch}
2891 RT_PATH=${exp_prefix}
2893 RT_DOC_PATH=${exp_manualdir}
2895 RT_LOCAL_PATH=${exp_customdir}
2897 RT_LIB_PATH=${exp_libdir}
2899 RT_LEXICON_PATH=${exp_lexdir}
2901 RT_ETC_PATH=${exp_sysconfdir}
2903 CONFIG_FILE_PATH=${exp_sysconfdir}
2905 RT_BIN_PATH=${exp_bindir}
2907 RT_SBIN_PATH=${exp_sbindir}
2909 RT_VAR_PATH=${exp_localstatedir}
2911 RT_MAN_PATH=${exp_mandir}
2913 RT_FONT_PATH=${exp_fontdir}
2915 RT_PLUGIN_PATH=${exp_plugindir}
2917 MASON_DATA_PATH=${exp_masonstatedir}
2919 MASON_SESSION_PATH=${exp_sessionstatedir}
2921 MASON_HTML_PATH=${exp_htmldir}
2923 LOCAL_ETC_PATH=${exp_custometcdir}
2925 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
2927 LOCAL_LEXICON_PATH=${exp_customlexdir}
2929 LOCAL_LIB_PATH=${exp_customlibdir}
2931 LOCAL_PLUGIN_PATH=${exp_customplugindir}
2933 RT_LOG_PATH=${exp_logfiledir}
2936 if test ${exp_sysconfdir} = "etc" -o ${exp_sysconfdir} = "etc/rt"; then
2937 RT_PATH_R=${exp_prefix}
2939 RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
2941 RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir}
2943 RT_LIB_PATH_R=${exp_prefix}/${exp_libdir}
2945 RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir}
2947 CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir}
2949 RT_BIN_PATH_R=${exp_prefix}/${exp_bindir}
2951 RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir}
2953 RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir}
2955 RT_MAN_PATH_R=${exp_prefix}/${exp_mandir}
2957 RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir}
2959 RT_LEXICON_PATH_R=${exp_prefix}/${exp_lexdir}
2961 RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
2963 MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
2965 MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir}
2967 MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir}
2969 LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir}
2971 MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir}
2973 LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir}
2975 LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
2977 LOCAL_PLUGIN_PATH_R=${exp_prefix}/${exp_customplugindir}
2979 RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
2982 RT_PATH_R=${exp_prefix}
2984 RT_DOC_PATH_R=${exp_manualdir}
2986 RT_LOCAL_PATH_R=${exp_customdir}
2988 RT_LIB_PATH_R=${exp_libdir}
2990 RT_LEXICON_PATH_R=${exp_lexdir}
2992 RT_ETC_PATH_R=${exp_sysconfdir}
2994 RT_PLUGIN_PATH_R=${exp_plugindir}
2996 CONFIG_FILE_PATH_R=${exp_sysconfdir}
2998 RT_BIN_PATH_R=${exp_bindir}
3000 RT_SBIN_PATH_R=${exp_sbindir}
3002 RT_VAR_PATH_R=${exp_localstatedir}
3004 RT_MAN_PATH_R=${exp_mandir}
3006 RT_FONT_PATH_R=${exp_fontdir}
3008 MASON_DATA_PATH_R=${exp_masonstatedir}
3010 MASON_SESSION_PATH_R=${exp_sessionstatedir}
3012 MASON_HTML_PATH_R=${exp_htmldir}
3014 LOCAL_ETC_PATH_R=${exp_custometcdir}
3016 MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir}
3018 LOCAL_LEXICON_PATH_R=${exp_customlexdir}
3020 LOCAL_PLUGIN_PATH_R=${exp_customplugindir}
3022 LOCAL_LIB_PATH_R=${exp_customlibdir}
3024 RT_LOG_PATH_R=${exp_logfiledir}
3030 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"
3033 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"
3035 cat >confcache <<\_ACEOF
3036 # This file is a shell script that caches the results of configure
3037 # tests run on this system so they can be shared between configure
3038 # scripts and configure runs, see configure's option --config-cache.
3039 # It is not useful on other systems. If it contains results you don't
3040 # want to keep, you may remove or edit it.
3042 # config.status only pays attention to the cache file if you give it
3043 # the --recheck option to rerun configure.
3045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3051 # The following way of writing the cache mishandles newlines in values,
3052 # but we know of no workaround that is simple, portable, and efficient.
3053 # So, we kill variables containing newlines.
3054 # Ultrix sh set writes to stderr and can't be redirected directly,
3055 # and sets the high bit in the cache file unless we assign to the vars.
3057 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3058 eval ac_val=\$$ac_var
3062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3066 _ | IFS | as_nl) ;; #(
3067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3068 *) { eval $ac_var=; unset $ac_var;} ;;
3074 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3075 *${as_nl}ac_space=\ *)
3076 # `set' does not quote correctly, so add quotes: double-quote
3077 # substitution turns \\\\ into \\, and sed turns \\ into \.
3080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3083 # `set' quotes correctly as required by POSIX, so do not add quotes.
3084 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3093 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3095 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3097 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3098 if test -w "$cache_file"; then
3099 if test "x$cache_file" != "x/dev/null"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3101 $as_echo "$as_me: updating cache $cache_file" >&6;}
3102 if test ! -f "$cache_file" || test -h "$cache_file"; then
3103 cat confcache >"$cache_file"
3105 case $cache_file in #(
3107 mv -f confcache "$cache_file"$$ &&
3108 mv -f "$cache_file"$$ "$cache_file" ;; #(
3110 mv -f confcache "$cache_file" ;;
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3116 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3121 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3122 # Let make expand exec_prefix.
3123 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3125 # Transform confdefs.h into DEFS.
3126 # Protect against shell expansion while executing Makefile rules.
3127 # Protect against Makefile macro expansion.
3129 # If the first sed substitution is executed (which looks for macros that
3130 # take arguments), then branch to the quote section. Otherwise,
3131 # look for a macro that doesn't take arguments.
3141 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3143 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3147 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3160 DEFS=`sed -n "$ac_script" confdefs.h`
3166 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3167 # 1. Remove the extension, and $U if already installed.
3168 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3169 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3170 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3171 # will be set to the directory where LIBOBJS objects are built.
3172 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3173 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3177 LTLIBOBJS=$ac_ltlibobjs
3181 : "${CONFIG_STATUS=./config.status}"
3183 ac_clean_files_save=$ac_clean_files
3184 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3186 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3188 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3190 # Generated by $as_me.
3191 # Run this file to recreate the current configuration.
3192 # Compiler output produced by configure, useful for debugging
3193 # configure, is in config.log if it exists.
3199 SHELL=\${CONFIG_SHELL-$SHELL}
3202 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3203 ## -------------------- ##
3204 ## M4sh Initialization. ##
3205 ## -------------------- ##
3207 # Be more Bourne compatible
3208 DUALCASE=1; export DUALCASE # for MKS sh
3209 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3212 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3213 # is contrary to our usage. Disable this feature.
3214 alias -g '${1+"$@"}'='"$@"'
3215 setopt NO_GLOB_SUBST
3217 case `(set -o) 2>/dev/null` in #(
3229 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3230 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3231 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3233 # Prefer a ksh shell builtin over an external printf program on Solaris,
3234 # but without wasting forks for bash or zsh.
3235 if test -z "$BASH_VERSION$ZSH_VERSION" \
3236 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3237 as_echo='print -r --'
3238 as_echo_n='print -rn --'
3239 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3240 as_echo='printf %s\n'
3241 as_echo_n='printf %s'
3243 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3244 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3245 as_echo_n='/usr/ucb/echo -n'
3247 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3248 as_echo_n_body='eval
3252 expr "X$arg" : "X\\(.*\\)$as_nl";
3253 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3255 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3257 export as_echo_n_body
3258 as_echo_n='sh -c $as_echo_n_body as_echo'
3261 as_echo='sh -c $as_echo_body as_echo'
3264 # The user is always right.
3265 if test "${PATH_SEPARATOR+set}" != set; then
3267 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3268 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3275 # We need space, tab and new line, in precisely that order. Quoting is
3276 # there to prevent editors from complaining about space-tab.
3277 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3278 # splitting by setting IFS to empty value.)
3281 # Find who we are. Look in the path if we contain no directory separator.
3284 *[\\/]* ) as_myself=$0 ;;
3285 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3296 # We did not find ourselves, most probably we were run as `sh COMMAND'
3297 # in which case we are not to be found in the path.
3298 if test "x$as_myself" = x; then
3301 if test ! -f "$as_myself"; then
3302 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3306 # Unset variables that we do not need and which cause bugs (e.g. in
3307 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3308 # suppresses any "Segmentation fault" message there. '((' could
3309 # trigger a bug in pdksh 5.2.14.
3310 for as_var in BASH_ENV ENV MAIL MAILPATH
3311 do eval test x\${$as_var+set} = xset \
3312 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3325 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3328 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3329 # ----------------------------------------
3330 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3331 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3332 # script with STATUS, using 1 if that was 0.
3335 as_status=$1; test $as_status -eq 0 && as_status=1
3337 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3338 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3340 $as_echo "$as_me: error: $2" >&2
3341 as_fn_exit $as_status
3345 # as_fn_set_status STATUS
3346 # -----------------------
3347 # Set $? to STATUS, without forking.
3351 } # as_fn_set_status
3355 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3365 # Portably unset VAR.
3368 { eval $1=; unset $1;}
3370 as_unset=as_fn_unset
3371 # as_fn_append VAR VALUE
3372 # ----------------------
3373 # Append the text in VALUE to the end of the definition contained in VAR. Take
3374 # advantage of any shell optimizations that allow amortized linear growth over
3375 # repeated appends, instead of the typical quadratic growth present in naive
3377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3378 eval 'as_fn_append ()
3389 # as_fn_arith ARG...
3390 # ------------------
3391 # Perform arithmetic evaluation on the ARGs, and store the result in the
3392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3393 # must be portable across $(()) and expr.
3394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3395 eval 'as_fn_arith ()
3402 as_val=`expr "$@" || test $? -eq 1`
3407 if expr a : '\(a\)' >/dev/null 2>&1 &&
3408 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3414 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3415 as_basename=basename
3420 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3426 as_me=`$as_basename -- "$0" ||
3427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3428 X"$0" : 'X\(//\)$' \| \
3429 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3431 sed '/^.*\/\([^/][^/]*\)\/*$/{
3445 # Avoid depending upon Character Ranges.
3446 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3449 as_cr_digits='0123456789'
3450 as_cr_alnum=$as_cr_Letters$as_cr_digits
3452 ECHO_C= ECHO_N= ECHO_T=
3453 case `echo -n x` in #(((((
3455 case `echo 'xy\c'` in
3456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3465 rm -f conf$$ conf$$.exe conf$$.file
3466 if test -d conf$$.dir; then
3467 rm -f conf$$.dir/conf$$.file
3470 mkdir conf$$.dir 2>/dev/null
3472 if (echo >conf$$.file) 2>/dev/null; then
3473 if ln -s conf$$.file conf$$ 2>/dev/null; then
3475 # ... but there are two gotchas:
3476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3478 # In both cases, we have to default to `cp -p'.
3479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3481 elif ln conf$$.file conf$$ 2>/dev/null; then
3489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3490 rmdir conf$$.dir 2>/dev/null
3495 # Create "$as_dir" as a directory, including parents if necessary.
3500 -*) as_dir=./$as_dir;;
3502 test -d "$as_dir" || eval $as_mkdir_p || {
3506 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3507 *) as_qdir=$as_dir;;
3509 as_dirs="'$as_qdir' $as_dirs"
3510 as_dir=`$as_dirname -- "$as_dir" ||
3511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3512 X"$as_dir" : 'X\(//\)[^/]' \| \
3513 X"$as_dir" : 'X\(//\)$' \| \
3514 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3515 $as_echo X"$as_dir" |
3516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3533 test -d "$as_dir" && break
3535 test -z "$as_dirs" || eval "mkdir $as_dirs"
3536 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3540 if mkdir -p . 2>/dev/null; then
3541 as_mkdir_p='mkdir -p "$as_dir"'
3543 test -d ./-p && rmdir ./-p
3547 if test -x / >/dev/null 2>&1; then
3550 if ls -dL / >/dev/null 2>&1; then
3557 if test -d "$1"; then
3563 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3564 ???[sx]*):;;*)false;;esac;fi
3568 as_executable_p=$as_test_x
3570 # Sed expression to map a string onto a valid CPP name.
3571 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3573 # Sed expression to map a string onto a valid variable name.
3574 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3578 ## ----------------------------------- ##
3579 ## Main body of $CONFIG_STATUS script. ##
3580 ## ----------------------------------- ##
3582 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3585 # Save the log message, to keep $0 and so on meaningful, and to
3586 # report actual input values of CONFIG_FILES etc. instead of their
3587 # values after options handling.
3589 This file was extended by RT $as_me rt-4.0.21, which was
3590 generated by GNU Autoconf 2.68. Invocation command line was
3592 CONFIG_FILES = $CONFIG_FILES
3593 CONFIG_HEADERS = $CONFIG_HEADERS
3594 CONFIG_LINKS = $CONFIG_LINKS
3595 CONFIG_COMMANDS = $CONFIG_COMMANDS
3598 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3603 case $ac_config_files in *"
3604 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3610 # Files that config.status was made for.
3611 config_files="$ac_config_files"
3615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3617 \`$as_me' instantiates files and other configuration actions
3618 from templates according to the current configuration. Unless the files
3619 and actions are specified as TAGs, all are instantiated by default.
3621 Usage: $0 [OPTION]... [TAG]...
3623 -h, --help print this help, then exit
3624 -V, --version print version number and configuration settings, then exit
3625 --config print configuration, then exit
3626 -q, --quiet, --silent
3627 do not print progress messages
3628 -d, --debug don't remove temporary files
3629 --recheck update $as_me by reconfiguring in the same conditions
3630 --file=FILE[:TEMPLATE]
3631 instantiate the configuration file FILE
3633 Configuration files:
3636 Report bugs to <rt-bugs@bestpractical.com>."
3639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3640 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3642 RT config.status rt-4.0.21
3643 configured by $0, generated by GNU Autoconf 2.68,
3644 with options \\"\$ac_cs_config\\"
3646 Copyright (C) 2010 Free Software Foundation, Inc.
3647 This config.status script is free software; the Free Software Foundation
3648 gives unlimited permission to copy, distribute and modify it."
3653 test -n "\$AWK" || AWK=awk
3656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3657 # The default lists apply if the user does not specify any file.
3663 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3664 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3668 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3680 # Handling of the options.
3681 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3683 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3684 $as_echo "$ac_cs_version"; exit ;;
3685 --config | --confi | --conf | --con | --co | --c )
3686 $as_echo "$ac_cs_config"; exit ;;
3687 --debug | --debu | --deb | --de | --d | -d )
3689 --file | --fil | --fi | --f )
3692 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3693 '') as_fn_error $? "missing file argument" ;;
3695 as_fn_append CONFIG_FILES " '$ac_optarg'"
3696 ac_need_defaults=false;;
3697 --he | --h | --help | --hel | -h )
3698 $as_echo "$ac_cs_usage"; exit ;;
3699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3700 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3704 -*) as_fn_error $? "unrecognized option: \`$1'
3705 Try \`$0 --help' for more information." ;;
3707 *) as_fn_append ac_config_targets " $1"
3708 ac_need_defaults=false ;;
3714 ac_configure_extra_args=
3716 if $ac_cs_silent; then
3718 ac_configure_extra_args="$ac_configure_extra_args --silent"
3722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3723 if \$ac_cs_recheck; then
3724 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3726 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3727 CONFIG_SHELL='$SHELL'
3733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3738 ## Running $as_me. ##
3744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3749 # Handling of arguments.
3750 for ac_config_target in $ac_config_targets
3752 case $ac_config_target in
3753 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
3754 "etc/upgrade/4.0-customfield-checkbox-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/4.0-customfield-checkbox-extension" ;;
3755 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
3756 "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;;
3757 "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;;
3758 "etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;;
3759 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
3760 "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;;
3761 "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;;
3762 "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;;
3763 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
3764 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
3765 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
3766 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
3767 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
3768 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
3769 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
3770 "sbin/rt-validate-aliases") CONFIG_FILES="$CONFIG_FILES sbin/rt-validate-aliases" ;;
3771 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
3772 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
3773 "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;;
3774 "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;;
3775 "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;;
3776 "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;;
3777 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
3778 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
3779 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
3780 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3781 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
3782 "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;;
3783 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
3784 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
3786 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3791 # If the user did not use the arguments to specify the items to instantiate,
3792 # then the envvar interface is used. Set only those that are not.
3793 # We use the long form for the default assignment because of an extremely
3794 # bizarre bug on SunOS 4.1.3.
3795 if $ac_need_defaults; then
3796 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3799 # Have a temporary directory for convenience. Make it in the build tree
3800 # simply because there is no reason against having it here, and in addition,
3801 # creating and moving files from /tmp can sometimes cause problems.
3802 # Hook for its removal unless debugging.
3803 # Note that there is a small window in which the directory will not be cleaned:
3804 # after its creation but before its name has been assigned to `$tmp'.
3808 trap 'exit_status=$?
3810 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3812 trap 'as_fn_exit 1' 1 2 13 15
3814 # Create a (secure) tmp directory for tmp files.
3817 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3821 tmp=./conf$$-$RANDOM
3822 (umask 077 && mkdir "$tmp")
3823 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3826 # Set up the scripts for CONFIG_FILES section.
3827 # No need to generate them if there are no CONFIG_FILES.
3828 # This happens for instance with `./config.status config.h'.
3829 if test -n "$CONFIG_FILES"; then
3832 ac_cr=`echo X | tr X '\015'`
3833 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3834 # But we know of no other shell where ac_cr would be empty at this
3835 # point, so we can use a bashism as a fallback.
3836 if test "x$ac_cr" = x; then
3837 eval ac_cr=\$\'\\r\'
3839 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3840 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3846 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3851 echo "cat >conf$$subs.awk <<_ACEOF" &&
3852 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3855 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3856 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3858 for ac_last_try in false false false false false :; do
3859 . ./conf$$subs.sh ||
3860 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3862 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3863 if test $ac_delim_n = $ac_delim_num; then
3865 elif $ac_last_try; then
3866 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3868 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3874 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3878 s/^/S["/; s/!.*/"]=/
3888 s/\(.\{148\}\)..*/\1/
3890 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3895 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3902 s/\(.\{148\}\)..*/\1/
3904 s/["\\]/\\&/g; s/^/"/; s/$/"/
3908 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3913 ' <conf$$subs.awk | sed '
3918 ' >>$CONFIG_STATUS || ac_write_fail=1
3919 rm -f conf$$subs.awk
3920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3922 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3923 for (key in S) S_is_set[key] = 1
3929 nfields = split(line, field, "@")
3931 len = length(field[1])
3932 for (i = 2; i < nfields; i++) {
3934 keylen = length(key)
3935 if (S_is_set[key]) {
3937 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3938 len += length(value) + length(field[++i])
3949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3950 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3951 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3954 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3955 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3958 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3959 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3960 # trailing colons and then remove the whole line if VPATH becomes empty
3961 # (actually we leave an empty line to preserve line numbers).
3962 if test "x$srcdir" = x.; then
3963 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3982 fi # test -n "$CONFIG_FILES"
3985 eval set X " :F $CONFIG_FILES "
3990 :[FHLC]) ac_mode=$ac_tag; continue;;
3992 case $ac_mode$ac_tag in
3994 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3995 :[FH]-) ac_tag=-:-;;
3996 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4013 -) ac_f="$ac_tmp/stdin";;
4014 *) # Look for the file first in the build tree, then in the source tree
4015 # (if the path is not absolute). The absolute path cannot be DOS-style,
4016 # because $ac_f cannot contain `:'.
4020 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4022 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4024 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4025 as_fn_append ac_file_inputs " '$ac_f'"
4028 # Let's still pretend it is `configure' which instantiates (i.e., don't
4029 # use $as_me), people would be surprised to read:
4030 # /* config.h. Generated by config.status. */
4031 configure_input='Generated from '`
4032 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4034 if test x"$ac_file" != x-; then
4035 configure_input="$ac_file. $configure_input"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4037 $as_echo "$as_me: creating $ac_file" >&6;}
4039 # Neutralize special characters interpreted by sed in replacement strings.
4040 case $configure_input in #(
4041 *\&* | *\|* | *\\* )
4042 ac_sed_conf_input=`$as_echo "$configure_input" |
4043 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4044 *) ac_sed_conf_input=$configure_input;;
4048 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4054 ac_dir=`$as_dirname -- "$ac_file" ||
4055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4056 X"$ac_file" : 'X\(//\)[^/]' \| \
4057 X"$ac_file" : 'X\(//\)$' \| \
4058 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4059 $as_echo X"$ac_file" |
4060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4077 as_dir="$ac_dir"; as_fn_mkdir_p
4081 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4083 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4084 # A ".." for each directory in $ac_dir_suffix.
4085 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4086 case $ac_top_builddir_sub in
4087 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4088 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4091 ac_abs_top_builddir=$ac_pwd
4092 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4093 # for backward compatibility:
4094 ac_top_builddir=$ac_top_build_prefix
4097 .) # We are building in place.
4099 ac_top_srcdir=$ac_top_builddir_sub
4100 ac_abs_top_srcdir=$ac_pwd ;;
4101 [\\/]* | ?:[\\/]* ) # Absolute name.
4102 ac_srcdir=$srcdir$ac_dir_suffix;
4103 ac_top_srcdir=$srcdir
4104 ac_abs_top_srcdir=$srcdir ;;
4106 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4107 ac_top_srcdir=$ac_top_build_prefix$srcdir
4108 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4110 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4120 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4121 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4126 # If the template does not know about datarootdir, expand it.
4127 # FIXME: This hack should be removed a few years after 2.60.
4128 ac_datarootdir_hack=; ac_datarootdir_seen=
4139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4140 *datarootdir*) ac_datarootdir_seen=yes;;
4141 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4146 ac_datarootdir_hack='
4147 s&@datadir@&$datadir&g
4148 s&@docdir@&$docdir&g
4149 s&@infodir@&$infodir&g
4150 s&@localedir@&$localedir&g
4151 s&@mandir@&$mandir&g
4152 s&\\\${datarootdir}&$datarootdir&g' ;;
4156 # Neutralize VPATH when `$srcdir' = `.'.
4157 # Shell code in configure.ac might set extrasub.
4158 # FIXME: do we really want to maintain this feature?
4159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4160 ac_sed_extra="$ac_vpsub
4163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4166 s|@configure_input@|$ac_sed_conf_input|;t t
4167 s&@top_builddir@&$ac_top_builddir_sub&;t t
4168 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4169 s&@srcdir@&$ac_srcdir&;t t
4170 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4171 s&@top_srcdir@&$ac_top_srcdir&;t t
4172 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4173 s&@builddir@&$ac_builddir&;t t
4174 s&@abs_builddir@&$ac_abs_builddir&;t t
4175 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4176 s&@INSTALL@&$ac_INSTALL&;t t
4177 $ac_datarootdir_hack
4179 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4180 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4182 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4183 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4184 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4185 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4187 which seems to be undefined. Please make sure it is defined" >&5
4188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4189 which seems to be undefined. Please make sure it is defined" >&2;}
4191 rm -f "$ac_tmp/stdin"
4193 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4194 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4204 case $ac_file$ac_mode in
4205 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
4207 "etc/upgrade/4.0-customfield-checkbox-extension":F) chmod ug+x $ac_file
4209 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
4211 "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file
4213 "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file
4215 "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file
4217 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
4219 "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file
4221 "sbin/rt-session-viewer":F) chmod ug+x $ac_file
4223 "sbin/rt-dump-metadata":F) chmod ug+x $ac_file
4225 "sbin/rt-setup-database":F) chmod ug+x $ac_file
4227 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
4229 "sbin/rt-email-digest":F) chmod ug+x $ac_file
4231 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
4233 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
4235 "sbin/rt-shredder":F) chmod ug+x $ac_file
4237 "sbin/rt-validator":F) chmod ug+x $ac_file
4239 "sbin/rt-validate-aliases":F) chmod ug+x $ac_file
4241 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
4243 "sbin/rt-server":F) chmod ug+x $ac_file
4245 "sbin/rt-server.fcgi":F) chmod ug+x $ac_file
4247 "sbin/standalone_httpd":F) chmod ug+x $ac_file
4249 "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file
4251 "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file
4253 "bin/rt-crontool":F) chmod ug+x $ac_file
4255 "bin/rt-mailgate":F) chmod ug+x $ac_file
4257 "bin/rt":F) chmod ug+x $ac_file
4266 ac_clean_files=$ac_clean_files_save
4268 test $ac_write_fail = 0 ||
4269 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4272 # configure is writing to config.log, and then calls config.status.
4273 # config.status does its own redirection, appending to config.log.
4274 # Unfortunately, on DOS this fails, as config.log is still kept open
4275 # by configure, so config.status won't be able to write to it; its
4276 # output is simply discarded. So we exec the FD to /dev/null,
4277 # effectively closing config.log, so it can be properly (re)opened and
4278 # appended to by config.status. When coming back to configure, we
4279 # need to make the FD available again.
4280 if test "$no_create" != yes; then
4282 ac_config_status_args=
4283 test "$silent" = yes &&
4284 ac_config_status_args="$ac_config_status_args --quiet"
4286 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4288 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4289 # would make configure fail if this is the last instruction.
4290 $ac_cs_success || as_fn_exit 1
4292 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4294 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}