2 @%:@ From configure.ac Revision.
3 @%:@ Guess values for system-dependent variables and create Makefiles.
4 @%:@ Generated by GNU Autoconf 2.65 for RT 3.8.8.
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 Free Software Foundation,
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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in @%:@(
150 set -o posix ;; @%:@(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
192 case $as_dir in @%:@(
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: rt-bugs@bestpractical.com about your system, including
235 $0: any error possibly output before this message. Then
236 $0: install a modern shell, or manually run the script
237 $0: under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 @%:@ Portably unset VAR.
257 { eval $1=; unset $1;}
261 @%:@ as_fn_set_status STATUS
262 @%:@ -----------------------
263 @%:@ Set @S|@? to STATUS, without forking.
267 } @%:@ as_fn_set_status
269 @%:@ as_fn_exit STATUS
270 @%:@ -----------------
271 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326 @%:@ as_fn_append VAR VALUE
327 @%:@ ----------------------
328 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
329 @%:@ advantage of any shell optimizations that allow amortized linear growth over
330 @%:@ repeated appends, instead of the typical quadratic growth present in naive
331 @%:@ implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
344 @%:@ as_fn_arith ARG...
345 @%:@ ------------------
346 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
347 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
348 @%:@ must be portable across @S|@(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 @%:@ as_fn_error ERROR [LINENO LOG_FD]
363 @%:@ ---------------------------------
364 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 @%:@ script with status @S|@?, using 1 if that was 0.
369 as_status=$?; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in @%:@(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
555 PACKAGE_VERSION='3.8.8'
556 PACKAGE_STRING='RT 3.8.8'
557 PACKAGE_BUGREPORT='rt-bugs@bestpractical.com'
560 ac_unique_file="lib/RT.pm.in"
561 ac_default_prefix=/opt/rt3
562 ac_subst_vars='LTLIBOBJS
567 MASON_LOCAL_HTML_PATH_R
587 MASON_LOCAL_HTML_PATH
634 COMMENT_INPLACE_LAYOUT
705 program_transform_name
718 enable_option_checking
746 ac_precious_vars='build_alias
757 # Initialize some variables set by options.
759 ac_init_version=false
760 ac_unrecognized_opts=
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
771 program_transform_name=s,x,x,
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir='${exec_prefix}/bin'
786 sbindir='${exec_prefix}/sbin'
787 libexecdir='${exec_prefix}/libexec'
788 datarootdir='${prefix}/share'
789 datadir='${datarootdir}'
790 sysconfdir='${prefix}/etc'
791 sharedstatedir='${prefix}/com'
792 localstatedir='${prefix}/var'
793 includedir='${prefix}/include'
794 oldincludedir='/usr/include'
795 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796 infodir='${datarootdir}/info'
801 libdir='${exec_prefix}/lib'
802 localedir='${datarootdir}/locale'
803 mandir='${datarootdir}/man'
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\$ac_option
817 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 # Accept the important Cygnus configure options, so we can diagnose typos.
823 case $ac_dashdash$ac_option in
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
845 cache_file=config.cache ;;
847 -datadir | --datadir | --datadi | --datad)
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
859 -disable-* | --disable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
873 eval enable_$ac_useropt=no ;;
875 -docdir | --docdir | --docdi | --doc | --do)
877 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
880 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
885 -enable-* | --enable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=\$ac_optarg ;;
901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903 | --exec | --exe | --ex)
904 ac_prev=exec_prefix ;;
905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907 | --exec=* | --exe=* | --ex=*)
908 exec_prefix=$ac_optarg ;;
910 -gas | --gas | --ga | --g)
911 # Obsolete; use --with-gas.
914 -help | --help | --hel | --he | -h)
916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917 ac_init_help=recursive ;;
918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919 ac_init_help=short ;;
921 -host | --host | --hos | --ho)
922 ac_prev=host_alias ;;
923 -host=* | --host=* | --hos=* | --ho=*)
924 host_alias=$ac_optarg ;;
926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 htmldir=$ac_optarg ;;
932 -includedir | --includedir | --includedi | --included | --include \
933 | --includ | --inclu | --incl | --inc)
934 ac_prev=includedir ;;
935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936 | --includ=* | --inclu=* | --incl=* | --inc=*)
937 includedir=$ac_optarg ;;
939 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942 infodir=$ac_optarg ;;
944 -libdir | --libdir | --libdi | --libd)
946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950 | --libexe | --libex | --libe)
951 ac_prev=libexecdir ;;
952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953 | --libexe=* | --libex=* | --libe=*)
954 libexecdir=$ac_optarg ;;
956 -localedir | --localedir | --localedi | --localed | --locale)
958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959 localedir=$ac_optarg ;;
961 -localstatedir | --localstatedir | --localstatedi | --localstated \
962 | --localstate | --localstat | --localsta | --localst | --locals)
963 ac_prev=localstatedir ;;
964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966 localstatedir=$ac_optarg ;;
968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974 # Obsolete; use --without-fp.
977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978 | --no-cr | --no-c | -n)
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987 | --oldin | --oldi | --old | --ol | --o)
988 ac_prev=oldincludedir ;;
989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992 oldincludedir=$ac_optarg ;;
994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000 | --program-pre | --program-pr | --program-p)
1001 ac_prev=program_prefix ;;
1002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004 program_prefix=$ac_optarg ;;
1006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007 | --program-suf | --program-su | --program-s)
1008 ac_prev=program_suffix ;;
1009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011 program_suffix=$ac_optarg ;;
1013 -program-transform-name | --program-transform-name \
1014 | --program-transform-nam | --program-transform-na \
1015 | --program-transform-n | --program-transform- \
1016 | --program-transform | --program-transfor \
1017 | --program-transfo | --program-transf \
1018 | --program-trans | --program-tran \
1019 | --progr-tra | --program-tr | --program-t)
1020 ac_prev=program_transform_name ;;
1021 -program-transform-name=* | --program-transform-name=* \
1022 | --program-transform-nam=* | --program-transform-na=* \
1023 | --program-transform-n=* | --program-transform-=* \
1024 | --program-transform=* | --program-transfor=* \
1025 | --program-transfo=* | --program-transf=* \
1026 | --program-trans=* | --program-tran=* \
1027 | --progr-tra=* | --program-tr=* | --program-t=*)
1028 program_transform_name=$ac_optarg ;;
1030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033 pdfdir=$ac_optarg ;;
1035 -psdir | --psdir | --psdi | --psd | --ps)
1037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041 | -silent | --silent | --silen | --sile | --sil)
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 sbindir=$ac_optarg ;;
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 sharedstatedir=$ac_optarg ;;
1061 -site | --site | --sit)
1063 -site=* | --site=* | --sit=*)
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1119 eval with_$ac_useropt=no ;;
1122 # Obsolete; use --with-x.
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1139 -*) as_fn_error "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information."
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error "missing argument to $ac_option"
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1172 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error "pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures RT 3.8.8 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 @<:@@S|@ac_default_prefix@:>@
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/rt@:>@
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1355 if test -n "$ac_init_help"; then
1356 case $ac_init_help in
1357 short | recursive ) echo "Configuration of RT 3.8.8:";;
1362 --disable-option-checking ignore unrecognized --enable/--with options
1363 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1364 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1365 --enable-layout=LAYOUT Use a specific directory layout (Default: relative)
1366 --enable-devel-mode Turn on development aids that might hurt you in
1368 --enable-graphviz Turns on support for RT's GraphViz dependency charts
1369 --enable-gd Turns on support for RT's GD pie and bar charts
1370 --enable-gpg Turns on GNU Privacy Guard (GPG) support
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --with-web-handler=LIST comma separated list of web-handlers RT will be able
1376 to use. Default is fastcgi when modperl1, modperl2,
1377 fastcgi, fastcgi-server, and speedycgi are valid. To
1378 successfuly run RT you need only one. only one.
1379 --with-speedycgi=/path/to/speedy
1380 path to your speedycgi binary, if it exists
1381 --with-bin-owner=OWNER user that will own RT binaries (default root)
1382 --with-libs-owner=OWNER user that will own RT libraries (default root)
1383 --with-libs-group=GROUP group that will own RT binaries (default bin)
1384 --with-db-type=TYPE sort of database RT will use (default: mysql)
1385 (mysql, Pg, Oracle and SQLite are valid)
1386 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
1387 --with-db-port=PORT port on which the database listens on
1388 --with-db-rt-host=HOSTNAME
1389 FQDN of RT server which talks to the database server
1390 (default: localhost)
1391 --with-db-dba=DBA name of database administrator (default: root or
1393 --with-db-database=DBNAME
1394 name of the database to use (default: rt3)
1395 --with-db-rt-user=DBUSER
1396 name of database user (default: rt_user)
1397 --with-db-rt-pass=PASSWORD
1398 password for database user (default: rt_pass)
1399 --with-web-user=USER user the web server runs as (default: www)
1400 --with-web-group=GROUP group the web server runs as (default: www)
1401 --with-rt-group=GROUP group to own all files (default: rt)
1402 --with-my-user-group set all users and groups to current user/group
1403 --with-apachectl instruct RT where to find your apachectl
1406 Some influential environment variables:
1407 PERL Perl interpreter command
1408 CC C compiler command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1416 Use these variables to override the choices made by `configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to <rt-bugs@bestpractical.com>.
1424 if test "$ac_init_help" = "recursive"; then
1425 # If there are subdirs, report their specific --help.
1426 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427 test -d "$ac_dir" ||
1428 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1483 generated by GNU Autoconf 2.65
1485 Copyright (C) 2009 Free Software Foundation, Inc.
1486 This configure script is free software; the Free Software Foundation
1487 gives unlimited permission to copy, distribute and modify it.
1492 ## ------------------------ ##
1493 ## Autoconf initialization. ##
1494 ## ------------------------ ##
1496 @%:@ ac_fn_c_try_compile LINENO
1497 @%:@ --------------------------
1498 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_compile ()
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 rm -f conftest.$ac_objext
1503 if { { ac_try="$ac_compile"
1505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506 *) ac_try_echo=$ac_try;;
1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_compile") 2>conftest.err
1512 if test -s conftest.err; then
1513 grep -v '^ *+' conftest.err >conftest.er1
1514 cat conftest.er1 >&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } && {
1519 test -z "$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 } && test -s conftest.$ac_objext; then :
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.$ac_ext >&5
1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1530 as_fn_set_status $ac_retval
1532 } @%:@ ac_fn_c_try_compile
1534 @%:@ ac_fn_c_try_link LINENO
1535 @%:@ -----------------------
1536 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext conftest$ac_exeext
1541 if { { ac_try="$ac_link"
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_link") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest$ac_exeext && {
1560 test "$cross_compiling" = yes ||
1561 $as_test_x conftest$ac_exeext
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1571 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1572 # interfere with the next link command; also delete a directory that is
1573 # left behind by Apple's compiler. We do this before executing the actions.
1574 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576 as_fn_set_status $ac_retval
1578 } @%:@ ac_fn_c_try_link
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by RT $as_me 3.8.8, which was
1584 generated by GNU Autoconf 2.65. Invocation command line was
1596 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1597 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1598 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1599 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1600 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1602 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1603 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1605 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1606 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1607 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1608 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1609 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1610 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1611 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 $as_echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1660 as_fn_append ac_configure_args1 " '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 as_fn_append ac_configure_args " '$ac_arg'"
1681 { ac_configure_args0=; unset ac_configure_args0;}
1682 { ac_configure_args1=; unset ac_configure_args1;}
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1708 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1713 *) { eval $ac_var=; unset $ac_var;} ;;
1718 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1719 *${as_nl}ac_space=\ *)
1721 "s/'\''/'\''\\\\'\'''\''/g;
1722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1733 ## ----------------- ##
1734 ## Output variables. ##
1735 ## ----------------- ##
1738 for ac_var in $ac_subst_vars
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 $as_echo "$ac_var='\''$ac_val'\''"
1748 if test -n "$ac_subst_files"; then
1750 ## ------------------- ##
1751 ## File substitutions. ##
1752 ## ------------------- ##
1755 for ac_var in $ac_subst_files
1757 eval ac_val=\$$ac_var
1759 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1761 $as_echo "$ac_var='\''$ac_val'\''"
1766 if test -s confdefs.h; then
1776 test "$ac_signal" != 0 &&
1777 $as_echo "$as_me: caught signal $ac_signal"
1778 $as_echo "$as_me: exit $exit_status"
1780 rm -f core *.core core.conftest.* &&
1781 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1784 for ac_signal in 1 2 13 15; do
1785 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1790 rm -f -r conftest* confdefs.h
1792 $as_echo "/* confdefs.h */" > confdefs.h
1794 # Predefined preprocessor variables.
1796 cat >>confdefs.h <<_ACEOF
1797 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1800 cat >>confdefs.h <<_ACEOF
1801 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1804 cat >>confdefs.h <<_ACEOF
1805 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1812 cat >>confdefs.h <<_ACEOF
1813 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1816 cat >>confdefs.h <<_ACEOF
1817 @%:@define PACKAGE_URL "$PACKAGE_URL"
1821 # Let the site file select an alternate cache file if it wants to.
1822 # Prefer an explicitly selected file to automatically selected ones.
1825 if test -n "$CONFIG_SITE"; then
1826 ac_site_file1=$CONFIG_SITE
1827 elif test "x$prefix" != xNONE; then
1828 ac_site_file1=$prefix/share/config.site
1829 ac_site_file2=$prefix/etc/config.site
1831 ac_site_file1=$ac_default_prefix/share/config.site
1832 ac_site_file2=$ac_default_prefix/etc/config.site
1834 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1836 test "x$ac_site_file" = xNONE && continue
1837 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1839 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1840 sed 's/^/| /' "$ac_site_file" >&5
1845 if test -r "$cache_file"; then
1846 # Some versions of bash will fail to source /dev/null (special files
1847 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1848 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1850 $as_echo "$as_me: loading cache $cache_file" >&6;}
1852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853 *) . "./$cache_file";;
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1858 $as_echo "$as_me: creating cache $cache_file" >&6;}
1862 # Check that the precious variables saved in the cache have kept the same
1864 ac_cache_corrupted=false
1865 for ac_var in $ac_precious_vars; do
1866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867 eval ac_new_set=\$ac_env_${ac_var}_set
1868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869 eval ac_new_val=\$ac_env_${ac_var}_value
1870 case $ac_old_set,$ac_new_set in
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1873 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1877 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1881 if test "x$ac_old_val" != "x$ac_new_val"; then
1882 # differences in whitespace do not lead to failure.
1883 ac_old_val_w=`echo x $ac_old_val`
1884 ac_new_val_w=`echo x $ac_new_val`
1885 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1887 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1888 ac_cache_corrupted=:
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1891 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1892 eval $ac_var=\$ac_old_val
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1895 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1897 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1900 # Pass precious variables to config.status.
1901 if test "$ac_new_set" = set; then
1903 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1904 *) ac_arg=$ac_var=$ac_new_val ;;
1906 case " $ac_configure_args " in
1907 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1908 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1912 if $ac_cache_corrupted; then
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1916 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1917 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1919 ## -------------------- ##
1920 ## Main body of script. ##
1921 ## -------------------- ##
1924 ac_cpp='$CPP $CPPFLAGS'
1925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 test "x$rt_version_major" = 'x' && rt_version_major=0
1939 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1940 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 for ac_t in install-sh install.sh shtool; do
1945 if test -f "$ac_dir/$ac_t"; then
1947 ac_install_sh="$ac_aux_dir/$ac_t -c"
1952 if test -z "$ac_aux_dir"; then
1953 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1956 # These three variables are undocumented and unsupported,
1957 # and are intended to be withdrawn in a future Autoconf release.
1958 # They can cause serious problems if a builder's source tree is in a directory
1959 # whose full name contains unusual characters.
1960 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1961 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1962 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1965 # Find a good install program. We prefer a C program (faster),
1966 # so one script is as good as another. But avoid the broken or
1967 # incompatible versions:
1968 # SysV /etc/install, /usr/sbin/install
1969 # SunOS /usr/etc/install
1970 # IRIX /sbin/install
1972 # AmigaOS /C/install, which installs bootblocks on floppy discs
1973 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1974 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1975 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1976 # OS/2's system install, which has a completely different semantic
1977 # ./install, which can be erroneously created by make from ./install.sh.
1978 # Reject install programs that cannot install multiple files.
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1980 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1981 if test -z "$INSTALL"; then
1982 if test "${ac_cv_path_install+set}" = set; then :
1983 $as_echo_n "(cached) " >&6
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir=.
1990 # Account for people who put trailing slashes in PATH elements.
1991 case $as_dir/ in @%:@((
1992 ./ | .// | /[cC]/* | \
1993 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1994 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1997 # OSF1 and SCO ODT 3.0 have their own names for install.
1998 # Don't use installbsd from OSF since it installs stuff as root
2000 for ac_prog in ginstall scoinst install; do
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2003 if test $ac_prog = install &&
2004 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2005 # AIX install. It has an incompatible calling convention.
2007 elif test $ac_prog = install &&
2008 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2009 # program-specific install script used by HP pwplus--don't use.
2012 rm -rf conftest.one conftest.two conftest.dir
2013 echo one > conftest.one
2014 echo two > conftest.two
2016 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2017 test -s conftest.one && test -s conftest.two &&
2018 test -s conftest.dir/conftest.one &&
2019 test -s conftest.dir/conftest.two
2021 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2034 rm -rf conftest.one conftest.two conftest.dir
2037 if test "${ac_cv_path_install+set}" = set; then
2038 INSTALL=$ac_cv_path_install
2040 # As a last resort, use the slow shell script. Don't cache a
2041 # value for INSTALL within a source directory, because that will
2042 # break other packages using the cache if that directory is
2043 # removed, or if the value is a relative name.
2044 INSTALL=$ac_install_sh
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2048 $as_echo "$INSTALL" >&6; }
2050 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2051 # It thinks the first close brace ends the variable substitution.
2052 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2054 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2056 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2058 for ac_prog in gawk mawk nawk awk
2060 # Extract the first word of "$ac_prog", so it can be a program name with args.
2061 set dummy $ac_prog; ac_word=$2
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2063 $as_echo_n "checking for $ac_word... " >&6; }
2064 if test "${ac_cv_prog_AWK+set}" = set; then :
2065 $as_echo_n "(cached) " >&6
2067 if test -n "$AWK"; then
2068 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2077 ac_cv_prog_AWK="$ac_prog"
2078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 if test -n "$AWK"; then
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2090 $as_echo "$AWK" >&6; }
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2093 $as_echo "no" >&6; }
2097 test -n "$AWK" && break
2101 # Extract the first word of "perl", so it can be a program name with args.
2102 set dummy perl; ac_word=$2
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2104 $as_echo_n "checking for $ac_word... " >&6; }
2105 if test "${ac_cv_path_PERL+set}" = set; then :
2106 $as_echo_n "(cached) " >&6
2110 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2120 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
2132 PERL=$ac_cv_path_PERL
2133 if test -n "$PERL"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2135 $as_echo "$PERL" >&6; }
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2138 $as_echo "no" >&6; }
2142 if test "$PERL" = 'not found'; then
2143 as_fn_error "cannot use $PACKAGE_NAME without perl" "$LINENO" 5
2148 @%:@ Check whether --with-web-handler was given.
2149 if test "${with_web_handler+set}" = set; then :
2150 withval=$with_web_handler; WEB_HANDLER=$withval
2155 my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi(?:-server)?|speedycgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV0' $WEB_HANDLER)
2156 if test "$my_web_handler_test" != "ok"; then
2157 as_fn_error "Only modperl1, modperl2, fastcgi, fastcgi-server, speedycgi and standalone are valid web-handlers" "$LINENO" 5
2162 @%:@ Check whether --with-speedycgi was given.
2163 if test "${with_speedycgi+set}" = set; then :
2164 withval=$with_speedycgi; SPEEDY_BIN=$withval
2166 SPEEDY_BIN=/usr/local/bin/speedy
2169 if test "$WEB_HANDLER" = 'speedycgi' -a ! -x "$SPEEDY_BIN"; then
2170 as_fn_error "cannot find speedycgi binary" "$LINENO" 5
2176 @%:@ Check whether --enable-layout was given.
2177 if test "${enable_layout+set}" = set; then :
2178 enableval=$enable_layout; LAYOUT=$enableval
2182 if test "x$LAYOUT" = "x"; then
2186 if test ! -f $srcdir/config.layout; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5
2188 $as_echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
2191 pldconf=./config.pld
2192 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
2193 s/.*<Layout\s+$layout>//gims;
2194 s/\<\/Layout\>.*//s;
2199 # m4 will not let us just use $srcdir/config.layout, we need @S|@1
2200 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
2201 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
2202 ' < $srcdir/config.layout > $pldconf
2204 if test -s $pldconf; then
2205 rt_layout_name=$LAYOUT
2208 for var in prefix exec_prefix bindir sbindir \
2209 sysconfdir mandir libdir datadir htmldir fontdir\
2210 localstatedir logfiledir masonstatedir \
2211 sessionstatedir customdir custometcdir customhtmldir \
2212 customlexdir customlibdir manualdir; do
2213 eval "val=\"\$$var\""
2214 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
2216 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
2229 while test "x${ap_cur}" != "x${ap_last}"; do
2231 ap_cur=`eval "echo ${ap_cur}"`
2233 exp_prefix="${ap_cur}"
2241 ap_cur='$exec_prefix'
2242 while test "x${ap_cur}" != "x${ap_last}"; do
2244 ap_cur=`eval "echo ${ap_cur}"`
2246 exp_exec_prefix="${ap_cur}"
2255 while test "x${ap_cur}" != "x${ap_last}"; do
2257 ap_cur=`eval "echo ${ap_cur}"`
2259 exp_bindir="${ap_cur}"
2268 while test "x${ap_cur}" != "x${ap_last}"; do
2270 ap_cur=`eval "echo ${ap_cur}"`
2272 exp_sbindir="${ap_cur}"
2280 ap_cur='$sysconfdir'
2281 while test "x${ap_cur}" != "x${ap_last}"; do
2283 ap_cur=`eval "echo ${ap_cur}"`
2285 exp_sysconfdir="${ap_cur}"
2294 while test "x${ap_cur}" != "x${ap_last}"; do
2296 ap_cur=`eval "echo ${ap_cur}"`
2298 exp_mandir="${ap_cur}"
2307 while test "x${ap_cur}" != "x${ap_last}"; do
2309 ap_cur=`eval "echo ${ap_cur}"`
2311 exp_libdir="${ap_cur}"
2320 while test "x${ap_cur}" != "x${ap_last}"; do
2322 ap_cur=`eval "echo ${ap_cur}"`
2324 exp_datadir="${ap_cur}"
2333 while test "x${ap_cur}" != "x${ap_last}"; do
2335 ap_cur=`eval "echo ${ap_cur}"`
2337 exp_htmldir="${ap_cur}"
2346 while test "x${ap_cur}" != "x${ap_last}"; do
2348 ap_cur=`eval "echo ${ap_cur}"`
2350 exp_fontdir="${ap_cur}"
2359 while test "x${ap_cur}" != "x${ap_last}"; do
2361 ap_cur=`eval "echo ${ap_cur}"`
2363 exp_manualdir="${ap_cur}"
2372 while test "x${ap_cur}" != "x${ap_last}"; do
2374 ap_cur=`eval "echo ${ap_cur}"`
2376 exp_plugindir="${ap_cur}"
2384 ap_cur='$localstatedir'
2385 while test "x${ap_cur}" != "x${ap_last}"; do
2387 ap_cur=`eval "echo ${ap_cur}"`
2389 exp_localstatedir="${ap_cur}"
2397 ap_cur='$logfiledir'
2398 while test "x${ap_cur}" != "x${ap_last}"; do
2400 ap_cur=`eval "echo ${ap_cur}"`
2402 exp_logfiledir="${ap_cur}"
2410 ap_cur='$masonstatedir'
2411 while test "x${ap_cur}" != "x${ap_last}"; do
2413 ap_cur=`eval "echo ${ap_cur}"`
2415 exp_masonstatedir="${ap_cur}"
2423 ap_cur='$sessionstatedir'
2424 while test "x${ap_cur}" != "x${ap_last}"; do
2426 ap_cur=`eval "echo ${ap_cur}"`
2428 exp_sessionstatedir="${ap_cur}"
2437 while test "x${ap_cur}" != "x${ap_last}"; do
2439 ap_cur=`eval "echo ${ap_cur}"`
2441 exp_customdir="${ap_cur}"
2449 ap_cur='$custometcdir'
2450 while test "x${ap_cur}" != "x${ap_last}"; do
2452 ap_cur=`eval "echo ${ap_cur}"`
2454 exp_custometcdir="${ap_cur}"
2462 ap_cur='$customhtmldir'
2463 while test "x${ap_cur}" != "x${ap_last}"; do
2465 ap_cur=`eval "echo ${ap_cur}"`
2467 exp_customhtmldir="${ap_cur}"
2475 ap_cur='$customlexdir'
2476 while test "x${ap_cur}" != "x${ap_last}"; do
2478 ap_cur=`eval "echo ${ap_cur}"`
2480 exp_customlexdir="${ap_cur}"
2488 ap_cur='$customlibdir'
2489 while test "x${ap_cur}" != "x${ap_last}"; do
2491 ap_cur=`eval "echo ${ap_cur}"`
2493 exp_customlibdir="${ap_cur}"
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
2500 $as_echo_n "checking for chosen layout... " >&6; }
2501 if test "x$rt_layout_name" = "xno"; then
2502 if test "x$LAYOUT" = "xno"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2504 $as_echo "none" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5
2507 $as_echo "$LAYOUT" >&6; }
2509 as_fn_error "a valid layout must be specified (or the default used)" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5
2513 $as_echo "$rt_layout_name" >&6; }
2515 if test "x$rt_layout_name" != "xinplace" ; then
2516 COMMENT_INPLACE_LAYOUT=""
2519 COMMENT_INPLACE_LAYOUT=#
2525 # ACRT_USER_EXISTS( users, variable, default )
2526 # - users is a list of users [www apache www-docs]
2527 # from highest to lowest priority to high priority (i.e. first match)
2528 # - variable is what you set with the result
2535 @%:@ Check whether --with-bin-owner was given.
2536 if test "${with_bin_owner+set}" = set; then :
2537 withval=$with_bin_owner; BIN_OWNER=$withval
2545 @%:@ Check whether --with-libs-owner was given.
2546 if test "${with_libs_owner+set}" = set; then :
2547 withval=$with_libs_owner; LIBS_OWNER=$withval
2555 @%:@ Check whether --with-libs-group was given.
2556 if test "${with_libs_group+set}" = set; then :
2557 withval=$with_libs_group; LIBS_GROUP=$withval
2565 @%:@ Check whether --with-db-type was given.
2566 if test "${with_db_type+set}" = set; then :
2567 withval=$with_db_type; DB_TYPE=$withval
2572 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' -a "$DB_TYPE" != 'Sybase' ; then
2573 as_fn_error "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
2577 if test "$DB_TYPE" = 'Oracle'; then
2578 test "x$ORACLE_HOME" = 'x' && as_fn_error "Please declare the ORACLE_HOME environment variable" "$LINENO" 5
2579 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
2582 if test "$DB_TYPE" = 'Sybase'; then
2583 test "x$SYBASE" = 'x' && as_fn_error "Please declare the SYBASE_HOME environment variable" "$LINENO" 5
2584 DATABASE_ENV_PREF="\$ENV{'SYBASE'} = '$SYBASE';"
2589 @%:@ Check whether --with-db-host was given.
2590 if test "${with_db_host+set}" = set; then :
2591 withval=$with_db_host; DB_HOST=$withval
2599 @%:@ Check whether --with-db-port was given.
2600 if test "${with_db_port+set}" = set; then :
2601 withval=$with_db_port; DB_PORT=$withval
2609 @%:@ Check whether --with-db-rt-host was given.
2610 if test "${with_db_rt_host+set}" = set; then :
2611 withval=$with_db_rt_host; DB_RT_HOST=$withval
2613 DB_RT_HOST=localhost
2618 if test "$DB_TYPE" = "Pg" ; then
2624 @%:@ Check whether --with-db-dba was given.
2625 if test "${with_db_dba+set}" = set; then :
2626 withval=$with_db_dba; DB_DBA=$withval
2634 @%:@ Check whether --with-db-database was given.
2635 if test "${with_db_database+set}" = set; then :
2636 withval=$with_db_database; DB_DATABASE=$withval
2644 @%:@ Check whether --with-db-rt-user was given.
2645 if test "${with_db_rt_user+set}" = set; then :
2646 withval=$with_db_rt_user; DB_RT_USER=$withval
2654 @%:@ Check whether --with-db-rt-pass was given.
2655 if test "${with_db_rt_pass+set}" = set; then :
2656 withval=$with_db_rt_pass; DB_RT_PASS=$withval
2664 @%:@ Check whether --with-web-user was given.
2665 if test "${with_web_user+set}" = set; then :
2666 withval=$with_web_user; WEB_USER=$withval
2670 for x in www www-data apache httpd nobody; do
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5
2672 $as_echo_n "checking if user $x exists... " >&6; }
2673 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then :
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2675 $as_echo "found" >&6; }; WEB_USER=$x ; break
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2678 $as_echo "not found" >&6; }
2688 @%:@ Check whether --with-web-group was given.
2689 if test "${with_web_group+set}" = set; then :
2690 withval=$with_web_group; WEB_GROUP=$withval
2694 for x in www www-data apache httpd nogroup nobody; do
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2696 $as_echo_n "checking if group $x exists... " >&6; }
2697 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2699 $as_echo "found" >&6; }; WEB_GROUP=$x ; break
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2702 $as_echo "not found" >&6; }
2711 @%:@ Check whether --with-rt-group was given.
2712 if test "${with_rt_group+set}" = set; then :
2713 withval=$with_rt_group; RTGROUP=$withval
2717 for x in rt3 rt $WEB_GROUP; do
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2719 $as_echo_n "checking if group $x exists... " >&6; }
2720 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2722 $as_echo "found" >&6; }; RTGROUP=$x ; break
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2725 $as_echo "not found" >&6; }
2733 # XXX TODO: The command below to figure out the group brokenly relies on
2734 # output order (and "id -gn" doesn't work on all platforms).
2735 my_group=$(groups|cut -f1 -d' ')
2736 my_user=${USER:-$LOGNAME}
2738 @%:@ Check whether --with-my-user-group was given.
2739 if test "${with_my_user_group+set}" = set; then :
2740 withval=$with_my_user_group; RTGROUP=$my_group
2743 LIBS_GROUP=$my_group
2749 # Test for valid database names
2750 if test "$DB_TYPE" = "mysql" ; then :
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is valid" >&5
2752 $as_echo_n "checking if database name is valid... " >&6; }
2753 if echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ; then :
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2757 as_fn_error "no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" "$LINENO" 5
2766 @%:@ Check whether --with-apachectl was given.
2767 if test "${with_apachectl+set}" = set; then :
2768 withval=$with_apachectl; APACHECTL=$withval
2770 APACHECTL=`which apachectl`
2776 @%:@ Check whether --with-devel-mode was given.
2777 if test "${with_devel_mode+set}" = set; then :
2778 withval=$with_devel_mode; RT_DEVEL_MODE=$withval
2783 @%:@ Check whether --enable-devel-mode was given.
2784 if test "${enable_devel_mode+set}" = set; then :
2785 enableval=$enable_devel_mode; RT_DEVEL_MODE=$enableval
2787 RT_DEVEL_MODE=$RT_DEVEL_MODE
2790 if test "$RT_DEVEL_MODE" = yes; then
2798 ac_cpp='$CPP $CPPFLAGS'
2799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2802 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC="$CC" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 if test -n "$CC"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2833 $as_echo "$CC" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2841 if test -z "$ac_cv_prog_CC"; then
2843 # Extract the first word of "gcc", so it can be a program name with args.
2844 set dummy gcc; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CC="gcc"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2873 $as_echo "$ac_ct_CC" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2879 if test "x$ac_ct_CC" = x; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned=yes ;;
2894 if test -z "$CC"; then
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2897 set dummy ${ac_tool_prefix}cc; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CC="${ac_tool_prefix}cc"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CC"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2926 $as_echo "$CC" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2935 if test -z "$CC"; then
2936 # Extract the first word of "cc", so it can be a program name with args.
2937 set dummy cc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2954 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2955 ac_prog_rejected=yes
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 if test $ac_prog_rejected = yes; then
2967 # We found a bogon in the path, so make sure we never use it.
2968 set dummy $ac_cv_prog_CC
2970 if test $@%:@ != 0; then
2971 # We chose a different compiler from the bogus one.
2972 # However, it has the same basename, so the bogon will be chosen
2973 # first if we set CC to just the basename; use the full file name.
2975 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2991 if test -z "$CC"; then
2992 if test -n "$ac_tool_prefix"; then
2993 for ac_prog in cl.exe
2995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if test "${ac_cv_prog_CC+set}" = set; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC="$CC" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3032 test -n "$CC" && break
3035 if test -z "$CC"; then
3037 for ac_prog in cl.exe
3039 # Extract the first word of "$ac_prog", so it can be a program name with args.
3040 set dummy $ac_prog; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$ac_ct_CC"; then
3047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_ac_ct_CC="$ac_prog"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3067 if test -n "$ac_ct_CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3069 $as_echo "$ac_ct_CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3076 test -n "$ac_ct_CC" && break
3079 if test "x$ac_ct_CC" = x; then
3082 case $cross_compiling:$ac_tool_warned in
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086 ac_tool_warned=yes ;;
3095 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error "no acceptable C compiler found in \$PATH
3098 See \`config.log' for more details." "$LINENO" 5; }
3100 # Provide some information about the compiler.
3101 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3104 for ac_option in --version -v -V -qversion; do
3105 { { ac_try="$ac_compiler $ac_option >&5"
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3114 if test -s conftest.err; then
3116 ... rest of stderr output deleted ...
3117 10q' conftest.err >conftest.er1
3118 cat conftest.er1 >&5
3120 rm -f conftest.er1 conftest.err
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3136 ac_clean_files_save=$ac_clean_files
3137 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3138 # Try to create an executable without -o first, disregard a.out.
3139 # It will help us diagnose broken compilers, and finding out an intuition
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3142 $as_echo_n "checking whether the C compiler works... " >&6; }
3143 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3145 # The possible output files:
3146 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3149 for ac_file in $ac_files
3152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3153 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3158 if { { ac_try="$ac_link_default"
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_link_default") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }; then :
3169 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3170 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3171 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3172 # so that the user can short-circuit this test for compilers unknown to
3174 for ac_file in $ac_files ''
3176 test -f "$ac_file" || continue
3178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3181 # We found the default executable, but exeext='' is most
3185 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3187 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3189 # We set ac_cv_exeext here because the later test for it is not
3190 # safe: cross compilers may not add the suffix if given an `-o'
3191 # argument, so we may need to know it at that point already.
3192 # Even if this section looks crufty: it has the advantage of
3199 test "$ac_cv_exeext" = no && ac_cv_exeext=
3204 if test -z "$ac_file"; then :
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 $as_echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 { as_fn_set_status 77
3213 as_fn_error "C compiler cannot create executables
3214 See \`config.log' for more details." "$LINENO" 5; }; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3217 $as_echo "yes" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3220 $as_echo_n "checking for C compiler default output file name... " >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3222 $as_echo "$ac_file" >&6; }
3223 ac_exeext=$ac_cv_exeext
3225 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3226 ac_clean_files=$ac_clean_files_save
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3228 $as_echo_n "checking for suffix of executables... " >&6; }
3229 if { { ac_try="$ac_link"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_link") 2>&5
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }; then :
3240 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3241 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3242 # work properly (i.e., refer to `conftest.exe'), while it won't with
3244 for ac_file in conftest.exe conftest conftest.*; do
3245 test -f "$ac_file" || continue
3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3248 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error "cannot compute suffix of executables: cannot compile and link
3257 See \`config.log' for more details." "$LINENO" 5; }
3259 rm -f conftest conftest$ac_cv_exeext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3261 $as_echo "$ac_cv_exeext" >&6; }
3263 rm -f conftest.$ac_ext
3264 EXEEXT=$ac_cv_exeext
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3268 @%:@include <stdio.h>
3272 FILE *f = fopen ("conftest.out", "w");
3273 return ferror (f) || fclose (f) != 0;
3279 ac_clean_files="$ac_clean_files conftest.out"
3280 # Check that the compiler produces executables we can run. If not, either
3281 # the compiler is broken, or we cross compile.
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3283 $as_echo_n "checking whether we are cross compiling... " >&6; }
3284 if test "$cross_compiling" != yes; then
3285 { { ac_try="$ac_link"
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3291 $as_echo "$ac_try_echo"; } >&5
3292 (eval "$ac_link") 2>&5
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; }
3296 if { ac_try='./conftest$ac_cv_exeext'
3297 { { case "(($ac_try" in
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_try") 2>&5
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306 test $ac_status = 0; }; }; then
3309 if test "$cross_compiling" = maybe; then
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error "cannot run C compiled programs.
3315 If you meant to cross compile, use \`--host'.
3316 See \`config.log' for more details." "$LINENO" 5; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3321 $as_echo "$cross_compiling" >&6; }
3323 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3324 ac_clean_files=$ac_clean_files_save
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3326 $as_echo_n "checking for suffix of object files... " >&6; }
3327 if test "${ac_cv_objext+set}" = set; then :
3328 $as_echo_n "(cached) " >&6
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 rm -f conftest.o conftest.obj
3342 if { { ac_try="$ac_compile"
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348 $as_echo "$ac_try_echo"; } >&5
3349 (eval "$ac_compile") 2>&5
3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352 test $ac_status = 0; }; then :
3353 for ac_file in conftest.o conftest.obj conftest.*; do
3354 test -f "$ac_file" || continue;
3356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3357 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3362 $as_echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.$ac_ext >&5
3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 as_fn_error "cannot compute suffix of object files: cannot compile
3368 See \`config.log' for more details." "$LINENO" 5; }
3370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3373 $as_echo "$ac_cv_objext" >&6; }
3374 OBJEXT=$ac_cv_objext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3377 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3378 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3395 if ac_fn_c_try_compile "$LINENO"; then :
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3406 if test $ac_compiler_gnu = yes; then
3411 ac_test_CFLAGS=${CFLAGS+set}
3412 ac_save_CFLAGS=$CFLAGS
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3415 if test "${ac_cv_prog_cc_g+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 ac_save_c_werror_flag=$ac_c_werror_flag
3419 ac_c_werror_flag=yes
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3433 if ac_fn_c_try_compile "$LINENO"; then :
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 if ac_fn_c_try_compile "$LINENO"; then :
3451 ac_c_werror_flag=$ac_save_c_werror_flag
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3464 if ac_fn_c_try_compile "$LINENO"; then :
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 ac_c_werror_flag=$ac_save_c_werror_flag
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3475 $as_echo "$ac_cv_prog_cc_g" >&6; }
3476 if test "$ac_test_CFLAGS" = set; then
3477 CFLAGS=$ac_save_CFLAGS
3478 elif test $ac_cv_prog_cc_g = yes; then
3479 if test "$GCC" = yes; then
3485 if test "$GCC" = yes; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3493 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 ac_cv_prog_cc_c89=no
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3502 #include <sys/types.h>
3503 #include <sys/stat.h>
3504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3505 struct buf { int x; };
3506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3507 static char *e (p, i)
3513 static char *f (char * (*g) (char **, int), char **p, ...)
3518 s = g (p, va_arg (v,int));
3523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3524 function prototypes and stuff, but not '\xHH' hex character constants.
3525 These don't provoke an error unfortunately, instead are silently treated
3526 as 'x'. The following induces an error, until -std is added to get
3527 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3528 array size at least. It's necessary to write '\x00'==0 to get something
3529 that's true only with -std. */
3530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3533 inside strings and character constants. */
3535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3537 int test (int i, double x);
3538 struct s1 {int (*f) (int a);};
3539 struct s2 {int (*f) (double a);};
3540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3546 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3552 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3554 CC="$ac_save_CC $ac_arg"
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 ac_cv_prog_cc_c89=$ac_arg
3558 rm -f core conftest.err conftest.$ac_objext
3559 test "x$ac_cv_prog_cc_c89" != "xno" && break
3561 rm -f conftest.$ac_ext
3566 case "x$ac_cv_prog_cc_c89" in
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3569 $as_echo "none needed" >&6; } ;;
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3572 $as_echo "unsupported" >&6; } ;;
3574 CC="$CC $ac_cv_prog_cc_c89"
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3576 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3578 if test "x$ac_cv_prog_cc_c89" != xno; then :
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aginitlib in -lgraph" >&5
3590 $as_echo_n "checking for aginitlib in -lgraph... " >&6; }
3591 if test "${ac_cv_lib_graph_aginitlib+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3594 ac_check_lib_save_LIBS=$LIBS
3595 LIBS="-lgraph $LIBS"
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3599 /* Override any GCC internal prototype to avoid an error.
3600 Use char because int might match the return type of a GCC
3601 builtin and then its argument prototype would still apply. */
3609 return aginitlib ();
3614 if ac_fn_c_try_link "$LINENO"; then :
3615 ac_cv_lib_graph_aginitlib=yes
3617 ac_cv_lib_graph_aginitlib=no
3619 rm -f core conftest.err conftest.$ac_objext \
3620 conftest$ac_exeext conftest.$ac_ext
3621 LIBS=$ac_check_lib_save_LIBS
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_graph_aginitlib" >&5
3624 $as_echo "$ac_cv_lib_graph_aginitlib" >&6; }
3625 if test "x$ac_cv_lib_graph_aginitlib" = x""yes; then :
3630 @%:@ Check whether --with-graphviz was given.
3631 if test "${with_graphviz+set}" = set; then :
3632 withval=$with_graphviz; RT_GRAPHVIZ=$withval
3635 @%:@ Check whether --enable-graphviz was given.
3636 if test "${enable_graphviz+set}" = set; then :
3637 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
3640 if test "$RT_GRAPHVIZ" = yes; then
3647 # Extract the first word of "gdlib-config", so it can be a program name with args.
3648 set dummy gdlib-config; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if test "${ac_cv_prog_RT_GD+set}" = set; then :
3652 $as_echo_n "(cached) " >&6
3654 if test -n "$RT_GD"; then
3655 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 ac_cv_prog_RT_GD=""yes""
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""
3675 RT_GD=$ac_cv_prog_RT_GD
3676 if test -n "$RT_GD"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5
3678 $as_echo "$RT_GD" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3686 @%:@ Check whether --with-gd was given.
3687 if test "${with_gd+set}" = set; then :
3688 withval=$with_gd; RT_GD=$withval
3691 @%:@ Check whether --enable-gd was given.
3692 if test "${enable_gd+set}" = set; then :
3693 enableval=$enable_gd; RT_GD=$enableval
3696 if test "$RT_GD" = yes; then
3703 # Extract the first word of "gpg", so it can be a program name with args.
3704 set dummy gpg; ac_word=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if test "${ac_cv_prog_RT_GPG+set}" = set; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -n "$RT_GPG"; then
3711 ac_cv_prog_RT_GPG="$RT_GPG" # Let the user override the test.
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 ac_cv_prog_RT_GPG=""yes""
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 test -z "$ac_cv_prog_RT_GPG" && ac_cv_prog_RT_GPG=""no""
3731 RT_GPG=$ac_cv_prog_RT_GPG
3732 if test -n "$RT_GPG"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GPG" >&5
3734 $as_echo "$RT_GPG" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3741 @%:@ Check whether --enable-gpg was given.
3742 if test "${enable_gpg+set}" = set; then :
3743 enableval=$enable_gpg; RT_GPG=$enableval
3746 if test "$RT_GPG" = yes; then
3755 RT_VERSION_MAJOR=${rt_version_major}
3757 RT_VERSION_MINOR=${rt_version_minor}
3759 RT_VERSION_PATCH=${rt_version_patch}
3762 RT_PATH=${exp_prefix}
3764 RT_DOC_PATH=${exp_manualdir}
3766 RT_LOCAL_PATH=${exp_customdir}
3768 RT_LIB_PATH=${exp_libdir}
3770 RT_ETC_PATH=${exp_sysconfdir}
3772 CONFIG_FILE_PATH=${exp_sysconfdir}
3774 RT_BIN_PATH=${exp_bindir}
3776 RT_SBIN_PATH=${exp_sbindir}
3778 RT_VAR_PATH=${exp_localstatedir}
3780 RT_MAN_PATH=${exp_mandir}
3782 RT_FONT_PATH=${exp_fontdir}
3784 RT_PLUGIN_PATH=${exp_plugindir}
3786 MASON_DATA_PATH=${exp_masonstatedir}
3788 MASON_SESSION_PATH=${exp_sessionstatedir}
3790 MASON_HTML_PATH=${exp_htmldir}
3792 LOCAL_ETC_PATH=${exp_custometcdir}
3794 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
3796 LOCAL_LEXICON_PATH=${exp_customlexdir}
3798 LOCAL_LIB_PATH=${exp_customlibdir}
3800 RT_LOG_PATH=${exp_logfiledir}
3803 if test ${exp_sysconfdir} = "etc"; then
3804 RT_PATH_R=${exp_prefix}
3806 RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
3808 RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir}
3810 RT_LIB_PATH_R=${exp_prefix}/${exp_libdir}
3812 RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir}
3814 CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir}
3816 RT_BIN_PATH_R=${exp_prefix}/${exp_bindir}
3818 RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir}
3820 RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir}
3822 RT_MAN_PATH_R=${exp_prefix}/${exp_mandir}
3824 RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir}
3826 RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
3828 MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
3830 MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir}
3832 MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir}
3834 LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir}
3836 MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir}
3838 LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir}
3840 LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
3842 RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
3845 RT_PATH_R=${exp_prefix}
3847 RT_DOC_PATH_R=${exp_manualdir}
3849 RT_LOCAL_PATH_R=${exp_customdir}
3851 RT_LIB_PATH_R=${exp_libdir}
3853 RT_ETC_PATH_R=${exp_sysconfdir}
3855 RT_PLUGIN_PATH_R=${exp_plugindir}
3857 CONFIG_FILE_PATH_R=${exp_sysconfdir}
3859 RT_BIN_PATH_R=${exp_bindir}
3861 RT_SBIN_PATH_R=${exp_sbindir}
3863 RT_VAR_PATH_R=${exp_localstatedir}
3865 RT_MAN_PATH_R=${exp_mandir}
3867 RT_FONT_PATH_R=${exp_fontdir}
3869 MASON_DATA_PATH_R=${exp_masonstatedir}
3871 MASON_SESSION_PATH_R=${exp_sessionstatedir}
3873 MASON_HTML_PATH_R=${exp_htmldir}
3875 LOCAL_ETC_PATH_R=${exp_custometcdir}
3877 MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir}
3879 LOCAL_LEXICON_PATH_R=${exp_customlexdir}
3881 LOCAL_LIB_PATH_R=${exp_customlibdir}
3883 RT_LOG_PATH_R=${exp_logfiledir}
3889 ac_config_files="$ac_config_files etc/upgrade/3.8-branded-queues-extension etc/upgrade/3.8-ical-extension etc/upgrade/split-out-cf-categories sbin/rt-attributes-viewer sbin/rt-dump-database sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-email-group-admin sbin/rt-server bin/fastcgi_server bin/mason_handler.fcgi bin/mason_handler.scgi bin/standalone_httpd bin/rt-crontool bin/rt-mailgate bin/rt"
3892 ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT.pm bin/mason_handler.svc bin/webmux.pl t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf"
3894 cat >confcache <<\_ACEOF
3895 # This file is a shell script that caches the results of configure
3896 # tests run on this system so they can be shared between configure
3897 # scripts and configure runs, see configure's option --config-cache.
3898 # It is not useful on other systems. If it contains results you don't
3899 # want to keep, you may remove or edit it.
3901 # config.status only pays attention to the cache file if you give it
3902 # the --recheck option to rerun configure.
3904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3910 # The following way of writing the cache mishandles newlines in values,
3911 # but we know of no workaround that is simple, portable, and efficient.
3912 # So, we kill variables containing newlines.
3913 # Ultrix sh set writes to stderr and can't be redirected directly,
3914 # and sets the high bit in the cache file unless we assign to the vars.
3916 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3917 eval ac_val=\$$ac_var
3921 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3925 _ | IFS | as_nl) ;; #(
3926 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3927 *) { eval $ac_var=; unset $ac_var;} ;;
3933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3934 *${as_nl}ac_space=\ *)
3935 # `set' does not quote correctly, so add quotes: double-quote
3936 # substitution turns \\\\ into \\, and sed turns \\ into \.
3939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3942 # `set' quotes correctly as required by POSIX, so do not add quotes.
3943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3956 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3957 if test -w "$cache_file"; then
3958 test "x$cache_file" != "x/dev/null" &&
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3960 $as_echo "$as_me: updating cache $cache_file" >&6;}
3961 cat confcache >$cache_file
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3964 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3969 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3970 # Let make expand exec_prefix.
3971 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3973 # Transform confdefs.h into DEFS.
3974 # Protect against shell expansion while executing Makefile rules.
3975 # Protect against Makefile macro expansion.
3977 # If the first sed substitution is executed (which looks for macros that
3978 # take arguments), then branch to the quote section. Otherwise,
3979 # look for a macro that doesn't take arguments.
3989 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3991 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3995 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4008 DEFS=`sed -n "$ac_script" confdefs.h`
4013 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4014 # 1. Remove the extension, and $U if already installed.
4015 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4016 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4017 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4018 # will be set to the directory where LIBOBJS objects are built.
4019 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4020 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4022 LIB@&t@OBJS=$ac_libobjs
4024 LTLIBOBJS=$ac_ltlibobjs
4028 : ${CONFIG_STATUS=./config.status}
4030 ac_clean_files_save=$ac_clean_files
4031 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4033 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4037 # Generated by $as_me.
4038 # Run this file to recreate the current configuration.
4039 # Compiler output produced by configure, useful for debugging
4040 # configure, is in config.log if it exists.
4046 SHELL=\${CONFIG_SHELL-$SHELL}
4049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4050 ## -------------------- ##
4051 ## M4sh Initialization. ##
4052 ## -------------------- ##
4054 # Be more Bourne compatible
4055 DUALCASE=1; export DUALCASE # for MKS sh
4056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4060 # is contrary to our usage. Disable this feature.
4061 alias -g '${1+"$@"}'='"$@"'
4062 setopt NO_GLOB_SUBST
4064 case `(set -o) 2>/dev/null` in @%:@(
4066 set -o posix ;; @%:@(
4076 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4077 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4080 # Prefer a ksh shell builtin over an external printf program on Solaris,
4081 # but without wasting forks for bash or zsh.
4082 if test -z "$BASH_VERSION$ZSH_VERSION" \
4083 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4084 as_echo='print -r --'
4085 as_echo_n='print -rn --'
4086 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4087 as_echo='printf %s\n'
4088 as_echo_n='printf %s'
4090 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4091 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4092 as_echo_n='/usr/ucb/echo -n'
4094 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4095 as_echo_n_body='eval
4099 expr "X$arg" : "X\\(.*\\)$as_nl";
4100 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4102 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4104 export as_echo_n_body
4105 as_echo_n='sh -c $as_echo_n_body as_echo'
4108 as_echo='sh -c $as_echo_body as_echo'
4111 # The user is always right.
4112 if test "${PATH_SEPARATOR+set}" != set; then
4114 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4115 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4122 # We need space, tab and new line, in precisely that order. Quoting is
4123 # there to prevent editors from complaining about space-tab.
4124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4125 # splitting by setting IFS to empty value.)
4128 # Find who we are. Look in the path if we contain no directory separator.
4130 *[\\/]* ) as_myself=$0 ;;
4131 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir=.
4136 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4142 # We did not find ourselves, most probably we were run as `sh COMMAND'
4143 # in which case we are not to be found in the path.
4144 if test "x$as_myself" = x; then
4147 if test ! -f "$as_myself"; then
4148 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4152 # Unset variables that we do not need and which cause bugs (e.g. in
4153 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4154 # suppresses any "Segmentation fault" message there. '((' could
4155 # trigger a bug in pdksh 5.2.14.
4156 for as_var in BASH_ENV ENV MAIL MAILPATH
4157 do eval test x\${$as_var+set} = xset \
4158 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4171 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4174 @%:@ as_fn_error ERROR [LINENO LOG_FD]
4175 @%:@ ---------------------------------
4176 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4177 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4178 @%:@ script with status @S|@?, using 1 if that was 0.
4181 as_status=$?; test $as_status -eq 0 && as_status=1
4183 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4184 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4186 $as_echo "$as_me: error: $1" >&2
4187 as_fn_exit $as_status
4191 @%:@ as_fn_set_status STATUS
4192 @%:@ -----------------------
4193 @%:@ Set @S|@? to STATUS, without forking.
4197 } @%:@ as_fn_set_status
4199 @%:@ as_fn_exit STATUS
4200 @%:@ -----------------
4201 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4209 @%:@ as_fn_unset VAR
4210 @%:@ ---------------
4211 @%:@ Portably unset VAR.
4214 { eval $1=; unset $1;}
4216 as_unset=as_fn_unset
4217 @%:@ as_fn_append VAR VALUE
4218 @%:@ ----------------------
4219 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4220 @%:@ advantage of any shell optimizations that allow amortized linear growth over
4221 @%:@ repeated appends, instead of the typical quadratic growth present in naive
4222 @%:@ implementations.
4223 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4224 eval 'as_fn_append ()
4235 @%:@ as_fn_arith ARG...
4236 @%:@ ------------------
4237 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4238 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4239 @%:@ must be portable across @S|@(()) and expr.
4240 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4241 eval 'as_fn_arith ()
4248 as_val=`expr "$@" || test $? -eq 1`
4253 if expr a : '\(a\)' >/dev/null 2>&1 &&
4254 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4260 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4261 as_basename=basename
4266 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4272 as_me=`$as_basename -- "$0" ||
4273 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4274 X"$0" : 'X\(//\)$' \| \
4275 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4277 sed '/^.*\/\([^/][^/]*\)\/*$/{
4291 # Avoid depending upon Character Ranges.
4292 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4293 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4294 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4295 as_cr_digits='0123456789'
4296 as_cr_alnum=$as_cr_Letters$as_cr_digits
4298 ECHO_C= ECHO_N= ECHO_T=
4299 case `echo -n x` in @%:@(((((
4301 case `echo 'xy\c'` in
4302 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4304 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4311 rm -f conf$$ conf$$.exe conf$$.file
4312 if test -d conf$$.dir; then
4313 rm -f conf$$.dir/conf$$.file
4316 mkdir conf$$.dir 2>/dev/null
4318 if (echo >conf$$.file) 2>/dev/null; then
4319 if ln -s conf$$.file conf$$ 2>/dev/null; then
4321 # ... but there are two gotchas:
4322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4324 # In both cases, we have to default to `cp -p'.
4325 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4327 elif ln conf$$.file conf$$ 2>/dev/null; then
4335 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4336 rmdir conf$$.dir 2>/dev/null
4341 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4346 -*) as_dir=./$as_dir;;
4348 test -d "$as_dir" || eval $as_mkdir_p || {
4352 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4353 *) as_qdir=$as_dir;;
4355 as_dirs="'$as_qdir' $as_dirs"
4356 as_dir=`$as_dirname -- "$as_dir" ||
4357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4358 X"$as_dir" : 'X\(//\)[^/]' \| \
4359 X"$as_dir" : 'X\(//\)$' \| \
4360 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4361 $as_echo X"$as_dir" |
4362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4379 test -d "$as_dir" && break
4381 test -z "$as_dirs" || eval "mkdir $as_dirs"
4382 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4385 } @%:@ as_fn_mkdir_p
4386 if mkdir -p . 2>/dev/null; then
4387 as_mkdir_p='mkdir -p "$as_dir"'
4389 test -d ./-p && rmdir ./-p
4393 if test -x / >/dev/null 2>&1; then
4396 if ls -dL / >/dev/null 2>&1; then
4403 if test -d "$1"; then
4409 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
4410 ???[sx]*):;;*)false;;esac;fi
4414 as_executable_p=$as_test_x
4416 # Sed expression to map a string onto a valid CPP name.
4417 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4419 # Sed expression to map a string onto a valid variable name.
4420 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4424 ## ----------------------------------- ##
4425 ## Main body of $CONFIG_STATUS script. ##
4426 ## ----------------------------------- ##
4428 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4431 # Save the log message, to keep $0 and so on meaningful, and to
4432 # report actual input values of CONFIG_FILES etc. instead of their
4433 # values after options handling.
4435 This file was extended by RT $as_me 3.8.8, which was
4436 generated by GNU Autoconf 2.65. Invocation command line was
4438 CONFIG_FILES = $CONFIG_FILES
4439 CONFIG_HEADERS = $CONFIG_HEADERS
4440 CONFIG_LINKS = $CONFIG_LINKS
4441 CONFIG_COMMANDS = $CONFIG_COMMANDS
4444 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4449 case $ac_config_files in *"
4450 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4456 # Files that config.status was made for.
4457 config_files="$ac_config_files"
4461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4463 \`$as_me' instantiates files and other configuration actions
4464 from templates according to the current configuration. Unless the files
4465 and actions are specified as TAGs, all are instantiated by default.
4467 Usage: $0 [OPTION]... [TAG]...
4469 -h, --help print this help, then exit
4470 -V, --version print version number and configuration settings, then exit
4471 --config print configuration, then exit
4472 -q, --quiet, --silent
4473 do not print progress messages
4474 -d, --debug don't remove temporary files
4475 --recheck update $as_me by reconfiguring in the same conditions
4476 --file=FILE[:TEMPLATE]
4477 instantiate the configuration file FILE
4479 Configuration files:
4482 Report bugs to <rt-bugs@bestpractical.com>."
4485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4486 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4488 RT config.status 3.8.8
4489 configured by $0, generated by GNU Autoconf 2.65,
4490 with options \\"\$ac_cs_config\\"
4492 Copyright (C) 2009 Free Software Foundation, Inc.
4493 This config.status script is free software; the Free Software Foundation
4494 gives unlimited permission to copy, distribute and modify it."
4500 test -n "\$AWK" || AWK=awk
4503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4504 # The default lists apply if the user does not specify any file.
4510 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4511 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4522 # Handling of the options.
4523 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4525 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4526 $as_echo "$ac_cs_version"; exit ;;
4527 --config | --confi | --conf | --con | --co | --c )
4528 $as_echo "$ac_cs_config"; exit ;;
4529 --debug | --debu | --deb | --de | --d | -d )
4531 --file | --fil | --fi | --f )
4534 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4536 as_fn_append CONFIG_FILES " '$ac_optarg'"
4537 ac_need_defaults=false;;
4538 --he | --h | --help | --hel | -h )
4539 $as_echo "$ac_cs_usage"; exit ;;
4540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4541 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4545 -*) as_fn_error "unrecognized option: \`$1'
4546 Try \`$0 --help' for more information." ;;
4548 *) as_fn_append ac_config_targets " $1"
4549 ac_need_defaults=false ;;
4555 ac_configure_extra_args=
4557 if $ac_cs_silent; then
4559 ac_configure_extra_args="$ac_configure_extra_args --silent"
4563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4564 if \$ac_cs_recheck; then
4565 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4568 CONFIG_SHELL='$SHELL'
4574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4578 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4579 @%:@@%:@ Running $as_me. @%:@@%:@
4585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4590 # Handling of arguments.
4591 for ac_config_target in $ac_config_targets
4593 case $ac_config_target in
4594 "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
4595 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
4596 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
4597 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
4598 "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
4599 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
4600 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
4601 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
4602 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
4603 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
4604 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
4605 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
4606 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
4607 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
4608 "bin/fastcgi_server") CONFIG_FILES="$CONFIG_FILES bin/fastcgi_server" ;;
4609 "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
4610 "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
4611 "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
4612 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
4613 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
4614 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
4615 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4616 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
4617 "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
4618 "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
4619 "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
4620 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
4621 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
4623 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4628 # If the user did not use the arguments to specify the items to instantiate,
4629 # then the envvar interface is used. Set only those that are not.
4630 # We use the long form for the default assignment because of an extremely
4631 # bizarre bug on SunOS 4.1.3.
4632 if $ac_need_defaults; then
4633 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4636 # Have a temporary directory for convenience. Make it in the build tree
4637 # simply because there is no reason against having it here, and in addition,
4638 # creating and moving files from /tmp can sometimes cause problems.
4639 # Hook for its removal unless debugging.
4640 # Note that there is a small window in which the directory will not be cleaned:
4641 # after its creation but before its name has been assigned to `$tmp'.
4645 trap 'exit_status=$?
4646 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4648 trap 'as_fn_exit 1' 1 2 13 15
4650 # Create a (secure) tmp directory for tmp files.
4653 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4654 test -n "$tmp" && test -d "$tmp"
4657 tmp=./conf$$-$RANDOM
4658 (umask 077 && mkdir "$tmp")
4659 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4661 # Set up the scripts for CONFIG_FILES section.
4662 # No need to generate them if there are no CONFIG_FILES.
4663 # This happens for instance with `./config.status config.h'.
4664 if test -n "$CONFIG_FILES"; then
4667 ac_cr=`echo X | tr X '\015'`
4668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4669 # But we know of no other shell where ac_cr would be empty at this
4670 # point, so we can use a bashism as a fallback.
4671 if test "x$ac_cr" = x; then
4672 eval ac_cr=\$\'\\r\'
4674 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4681 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4686 echo "cat >conf$$subs.awk <<_ACEOF" &&
4687 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4690 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4691 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4693 for ac_last_try in false false false false false :; do
4694 . ./conf$$subs.sh ||
4695 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4697 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4698 if test $ac_delim_n = $ac_delim_num; then
4700 elif $ac_last_try; then
4701 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4709 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4713 s/^/S["/; s/!.*/"]=/
4723 s/\(.\{148\}\)..*/\1/
4725 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4730 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4737 s/\(.\{148\}\)..*/\1/
4739 s/["\\]/\\&/g; s/^/"/; s/$/"/
4743 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4748 ' <conf$$subs.awk | sed '
4753 ' >>$CONFIG_STATUS || ac_write_fail=1
4754 rm -f conf$$subs.awk
4755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4757 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4758 for (key in S) S_is_set[key] = 1
4764 nfields = split(line, field, "@")
4766 len = length(field[1])
4767 for (i = 2; i < nfields; i++) {
4769 keylen = length(key)
4770 if (S_is_set[key]) {
4772 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4773 len += length(value) + length(field[++i])
4784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4785 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4786 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4789 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4790 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4793 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4794 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4795 # trailing colons and then remove the whole line if VPATH becomes empty
4796 # (actually we leave an empty line to preserve line numbers).
4797 if test "x$srcdir" = x.; then
4798 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4802 s/^\([^=]*=[ ]*\):*/\1/
4808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4809 fi # test -n "$CONFIG_FILES"
4812 eval set X " :F $CONFIG_FILES "
4817 :[FHLC]) ac_mode=$ac_tag; continue;;
4819 case $ac_mode$ac_tag in
4821 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4822 :[FH]-) ac_tag=-:-;;
4823 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4840 -) ac_f="$tmp/stdin";;
4841 *) # Look for the file first in the build tree, then in the source tree
4842 # (if the path is not absolute). The absolute path cannot be DOS-style,
4843 # because $ac_f cannot contain `:'.
4847 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4849 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4851 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4852 as_fn_append ac_file_inputs " '$ac_f'"
4855 # Let's still pretend it is `configure' which instantiates (i.e., don't
4856 # use $as_me), people would be surprised to read:
4857 # /* config.h. Generated by config.status. */
4858 configure_input='Generated from '`
4859 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4861 if test x"$ac_file" != x-; then
4862 configure_input="$ac_file. $configure_input"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4864 $as_echo "$as_me: creating $ac_file" >&6;}
4866 # Neutralize special characters interpreted by sed in replacement strings.
4867 case $configure_input in #(
4868 *\&* | *\|* | *\\* )
4869 ac_sed_conf_input=`$as_echo "$configure_input" |
4870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4871 *) ac_sed_conf_input=$configure_input;;
4875 *:-:* | *:-) cat >"$tmp/stdin" \
4876 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4881 ac_dir=`$as_dirname -- "$ac_file" ||
4882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4883 X"$ac_file" : 'X\(//\)[^/]' \| \
4884 X"$ac_file" : 'X\(//\)$' \| \
4885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4886 $as_echo X"$ac_file" |
4887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4904 as_dir="$ac_dir"; as_fn_mkdir_p
4908 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4910 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4911 # A ".." for each directory in $ac_dir_suffix.
4912 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4913 case $ac_top_builddir_sub in
4914 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4915 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4918 ac_abs_top_builddir=$ac_pwd
4919 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4920 # for backward compatibility:
4921 ac_top_builddir=$ac_top_build_prefix
4924 .) # We are building in place.
4926 ac_top_srcdir=$ac_top_builddir_sub
4927 ac_abs_top_srcdir=$ac_pwd ;;
4928 [\\/]* | ?:[\\/]* ) # Absolute name.
4929 ac_srcdir=$srcdir$ac_dir_suffix;
4930 ac_top_srcdir=$srcdir
4931 ac_abs_top_srcdir=$srcdir ;;
4933 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4934 ac_top_srcdir=$ac_top_build_prefix$srcdir
4935 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4937 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4947 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4948 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4953 # If the template does not know about datarootdir, expand it.
4954 # FIXME: This hack should be removed a few years after 2.60.
4955 ac_datarootdir_hack=; ac_datarootdir_seen=
4966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4967 *datarootdir*) ac_datarootdir_seen=yes;;
4968 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4973 ac_datarootdir_hack='
4974 s&@datadir@&$datadir&g
4975 s&@docdir@&$docdir&g
4976 s&@infodir@&$infodir&g
4977 s&@localedir@&$localedir&g
4978 s&@mandir@&$mandir&g
4979 s&\\\${datarootdir}&$datarootdir&g' ;;
4983 # Neutralize VPATH when `$srcdir' = `.'.
4984 # Shell code in configure.ac might set extrasub.
4985 # FIXME: do we really want to maintain this feature?
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 ac_sed_extra="$ac_vpsub
4990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4993 s|@configure_input@|$ac_sed_conf_input|;t t
4994 s&@top_builddir@&$ac_top_builddir_sub&;t t
4995 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4996 s&@srcdir@&$ac_srcdir&;t t
4997 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4998 s&@top_srcdir@&$ac_top_srcdir&;t t
4999 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5000 s&@builddir@&$ac_builddir&;t t
5001 s&@abs_builddir@&$ac_abs_builddir&;t t
5002 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5003 s&@INSTALL@&$ac_INSTALL&;t t
5004 $ac_datarootdir_hack
5006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5007 || as_fn_error "could not create $ac_file" "$LINENO" 5
5009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5010 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5011 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5013 which seems to be undefined. Please make sure it is defined." >&5
5014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5015 which seems to be undefined. Please make sure it is defined." >&2;}
5019 -) cat "$tmp/out" && rm -f "$tmp/out";;
5020 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5022 || as_fn_error "could not create $ac_file" "$LINENO" 5
5030 case $ac_file$ac_mode in
5031 "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
5033 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
5035 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
5037 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
5039 "sbin/rt-dump-database":F) chmod ug+x $ac_file
5041 "sbin/rt-setup-database":F) chmod ug+x $ac_file
5043 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
5045 "sbin/rt-email-digest":F) chmod ug+x $ac_file
5047 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
5049 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
5051 "sbin/rt-shredder":F) chmod ug+x $ac_file
5053 "sbin/rt-validator":F) chmod ug+x $ac_file
5055 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
5057 "sbin/rt-server":F) chmod ug+x $ac_file
5059 "bin/fastcgi_server":F) chmod ug+x $ac_file
5061 "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
5063 "bin/mason_handler.scgi":F) chmod ug+x $ac_file
5065 "bin/standalone_httpd":F) chmod ug+x $ac_file
5067 "bin/rt-crontool":F) chmod ug+x $ac_file
5069 "bin/rt-mailgate":F) chmod ug+x $ac_file
5071 "bin/rt":F) chmod ug+x $ac_file
5080 ac_clean_files=$ac_clean_files_save
5082 test $ac_write_fail = 0 ||
5083 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5086 # configure is writing to config.log, and then calls config.status.
5087 # config.status does its own redirection, appending to config.log.
5088 # Unfortunately, on DOS this fails, as config.log is still kept open
5089 # by configure, so config.status won't be able to write to it; its
5090 # output is simply discarded. So we exec the FD to /dev/null,
5091 # effectively closing config.log, so it can be properly (re)opened and
5092 # appended to by config.status. When coming back to configure, we
5093 # need to make the FD available again.
5094 if test "$no_create" != yes; then
5096 ac_config_status_args=
5097 test "$silent" = yes &&
5098 ac_config_status_args="$ac_config_status_args --quiet"
5100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5103 # would make configure fail if this is the last instruction.
5104 $ac_cs_success || as_fn_exit $?
5106 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5108 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}