2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.64 for RT 3.8.7.
6 # Report bugs to <rt-bugs@bestpractical.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: rt-bugs@bestpractical.com about your system, including
233 $0: any error possibly output before this message. Then
234 $0: install a modern shell, or manually run the script
235 $0: under such a shell if you do have one."
241 SHELL=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir=./$as_dir;;
286 test -d "$as_dir" || eval $as_mkdir_p || {
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 as_val=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status=$?; test $as_status -eq 0 && as_status=1
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
471 mkdir conf$$.dir 2>/dev/null
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 elif ln conf$$.file conf$$ 2>/dev/null; then
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
496 test -d ./-p && rmdir ./-p
500 if test -x / >/dev/null 2>&1; then
503 if ls -dL / >/dev/null 2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev/null 6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
552 PACKAGE_VERSION='3.8.7'
553 PACKAGE_STRING='RT 3.8.7'
554 PACKAGE_BUGREPORT='rt-bugs@bestpractical.com'
557 ac_unique_file="lib/RT.pm.in"
558 ac_default_prefix=/opt/rt3
559 ac_subst_vars='LTLIBOBJS
564 MASON_LOCAL_HTML_PATH_R
583 MASON_LOCAL_HTML_PATH
629 COMMENT_INPLACE_LAYOUT
698 program_transform_name
711 enable_option_checking
739 ac_precious_vars='build_alias
750 # Initialize some variables set by options.
752 ac_init_version=false
753 ac_unrecognized_opts=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name=s,x,x,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 includedir='${prefix}/include'
787 oldincludedir='/usr/include'
788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir='${datarootdir}/info'
794 libdir='${exec_prefix}/lib'
795 localedir='${datarootdir}/locale'
796 mandir='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\$ac_option
810 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
838 cache_file=config.cache ;;
840 -datadir | --datadir | --datadi | --datad)
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
852 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 as_fn_error "invalid feature name: $ac_useropt"
857 ac_useropt_orig=$ac_useropt
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep=', ';;
866 eval enable_$ac_useropt=no ;;
868 -docdir | --docdir | --docdi | --doc | --do)
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878 -enable-* | --enable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error "invalid feature name: $ac_useropt"
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
892 eval enable_$ac_useropt=\$ac_optarg ;;
894 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
896 | --exec | --exe | --ex)
897 ac_prev=exec_prefix ;;
898 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
899 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
900 | --exec=* | --exe=* | --ex=*)
901 exec_prefix=$ac_optarg ;;
903 -gas | --gas | --ga | --g)
904 # Obsolete; use --with-gas.
907 -help | --help | --hel | --he | -h)
909 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
910 ac_init_help=recursive ;;
911 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
912 ac_init_help=short ;;
914 -host | --host | --hos | --ho)
915 ac_prev=host_alias ;;
916 -host=* | --host=* | --hos=* | --ho=*)
917 host_alias=$ac_optarg ;;
919 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
921 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
923 htmldir=$ac_optarg ;;
925 -includedir | --includedir | --includedi | --included | --include \
926 | --includ | --inclu | --incl | --inc)
927 ac_prev=includedir ;;
928 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
929 | --includ=* | --inclu=* | --incl=* | --inc=*)
930 includedir=$ac_optarg ;;
932 -infodir | --infodir | --infodi | --infod | --info | --inf)
934 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
935 infodir=$ac_optarg ;;
937 -libdir | --libdir | --libdi | --libd)
939 -libdir=* | --libdir=* | --libdi=* | --libd=*)
942 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
943 | --libexe | --libex | --libe)
944 ac_prev=libexecdir ;;
945 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
946 | --libexe=* | --libex=* | --libe=*)
947 libexecdir=$ac_optarg ;;
949 -localedir | --localedir | --localedi | --localed | --locale)
951 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
952 localedir=$ac_optarg ;;
954 -localstatedir | --localstatedir | --localstatedi | --localstated \
955 | --localstate | --localstat | --localsta | --localst | --locals)
956 ac_prev=localstatedir ;;
957 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
958 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
959 localstatedir=$ac_optarg ;;
961 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
963 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
967 # Obsolete; use --without-fp.
970 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
971 | --no-cr | --no-c | -n)
974 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
975 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
979 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
980 | --oldin | --oldi | --old | --ol | --o)
981 ac_prev=oldincludedir ;;
982 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
983 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
984 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
985 oldincludedir=$ac_optarg ;;
987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992 -program-prefix | --program-prefix | --program-prefi | --program-pref \
993 | --program-pre | --program-pr | --program-p)
994 ac_prev=program_prefix ;;
995 -program-prefix=* | --program-prefix=* | --program-prefi=* \
996 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
997 program_prefix=$ac_optarg ;;
999 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1000 | --program-suf | --program-su | --program-s)
1001 ac_prev=program_suffix ;;
1002 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1003 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1004 program_suffix=$ac_optarg ;;
1006 -program-transform-name | --program-transform-name \
1007 | --program-transform-nam | --program-transform-na \
1008 | --program-transform-n | --program-transform- \
1009 | --program-transform | --program-transfor \
1010 | --program-transfo | --program-transf \
1011 | --program-trans | --program-tran \
1012 | --progr-tra | --program-tr | --program-t)
1013 ac_prev=program_transform_name ;;
1014 -program-transform-name=* | --program-transform-name=* \
1015 | --program-transform-nam=* | --program-transform-na=* \
1016 | --program-transform-n=* | --program-transform-=* \
1017 | --program-transform=* | --program-transfor=* \
1018 | --program-transfo=* | --program-transf=* \
1019 | --program-trans=* | --program-tran=* \
1020 | --progr-tra=* | --program-tr=* | --program-t=*)
1021 program_transform_name=$ac_optarg ;;
1023 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1025 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1026 pdfdir=$ac_optarg ;;
1028 -psdir | --psdir | --psdi | --psd | --ps)
1030 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1041 sbindir=$ac_optarg ;;
1043 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1044 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1045 | --sharedst | --shareds | --shared | --share | --shar \
1047 ac_prev=sharedstatedir ;;
1048 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1049 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1050 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1052 sharedstatedir=$ac_optarg ;;
1054 -site | --site | --sit)
1056 -site=* | --site=* | --sit=*)
1059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1062 srcdir=$ac_optarg ;;
1064 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1065 | --syscon | --sysco | --sysc | --sys | --sy)
1066 ac_prev=sysconfdir ;;
1067 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1068 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1069 sysconfdir=$ac_optarg ;;
1071 -target | --target | --targe | --targ | --tar | --ta | --t)
1072 ac_prev=target_alias ;;
1073 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1074 target_alias=$ac_optarg ;;
1076 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1079 -version | --version | --versio | --versi | --vers | -V)
1080 ac_init_version=: ;;
1083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error "invalid package name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1096 eval with_$ac_useropt=\$ac_optarg ;;
1098 -without-* | --without-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=no ;;
1115 # Obsolete; use --with-x.
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) as_fn_error "unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information."
1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' | [0-9]* | *[!_$as_cr_alnum]* )
1141 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error "missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val=\$$ac_var
1177 # Remove trailing slashes.
1180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error "working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error "pwd does not report name of working directory"
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$as_myself" ||
1228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$as_myself" : 'X\(//\)[^/]' \| \
1230 X"$as_myself" : 'X\(//\)$' \| \
1231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232 $as_echo X"$as_myself" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var in $ac_precious_vars; do
1276 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_${ac_var}_value=\$${ac_var}
1278 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures RT 3.8.7 to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/rt]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of RT 3.8.7:";;
1355 --disable-option-checking ignore unrecognized --enable/--with options
1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --enable-layout=LAYOUT Use a specific directory layout (Default: relative)
1359 --enable-devel-mode Turn on development aids that might hurt you in
1361 --enable-graphviz Turns on support for RT's GraphViz dependency charts
1362 --enable-gd Turns on support for RT's GD pie and bar charts
1363 --enable-gpg Turns on GNU Privacy Guard (GPG) support
1366 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1367 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1368 --with-web-handler=LIST comma separated list of web-handlers RT will be able
1369 to use. Default is fastcgi when modperl1, modperl2,
1370 fastcgi, standalone and speedycgi are valid. To
1371 succefuly run RT you need only one.
1372 --with-speedycgi=/path/to/speedy
1373 path to your speedycgi binary, if it exists
1374 --with-bin-owner=OWNER user that will own RT binaries (default root)
1375 --with-libs-owner=OWNER user that will own RT libraries (default root)
1376 --with-libs-group=GROUP group that will own RT binaries (default bin)
1377 --with-db-type=TYPE sort of database RT will use (default: mysql)
1378 (mysql, Pg, Oracle and SQLite are valid)
1379 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
1380 --with-db-port=PORT port on which the database listens on
1381 --with-db-rt-host=HOSTNAME
1382 FQDN of RT server which talks to the database server
1383 (default: localhost)
1384 --with-db-dba=DBA name of database administrator (default: root or
1386 --with-db-database=DBNAME
1387 name of the database to use (default: rt3)
1388 --with-db-rt-user=DBUSER
1389 name of database user (default: rt_user)
1390 --with-db-rt-pass=PASSWORD
1391 password for database user (default: rt_pass)
1392 --with-web-user=USER user the web server runs as (default: www)
1393 --with-web-group=GROUP group the web server runs as (default: www)
1394 --with-rt-group=GROUP group to own all files (default: rt)
1395 --with-my-user-group set all users and groups to current user/group
1396 --with-apachectl instruct RT where to find your apachectl
1399 Some influential environment variables:
1400 PERL Perl interpreter command
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1409 Use these variables to override the choices made by `configure' or to help
1410 it to find libraries and programs with nonstandard names/locations.
1412 Report bugs to <rt-bugs@bestpractical.com>.
1417 if test "$ac_init_help" = "recursive"; then
1418 # If there are subdirs, report their specific --help.
1419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429 # A ".." for each directory in $ac_dir_suffix.
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431 case $ac_top_builddir_sub in
1432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436 ac_abs_top_builddir=$ac_pwd
1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 # for backward compatibility:
1439 ac_top_builddir=$ac_top_build_prefix
1442 .) # We are building in place.
1444 ac_top_srcdir=$ac_top_builddir_sub
1445 ac_abs_top_srcdir=$ac_pwd ;;
1446 [\\/]* | ?:[\\/]* ) # Absolute name.
1447 ac_srcdir=$srcdir$ac_dir_suffix;
1448 ac_top_srcdir=$srcdir
1449 ac_abs_top_srcdir=$srcdir ;;
1451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452 ac_top_srcdir=$ac_top_build_prefix$srcdir
1453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457 cd "$ac_dir" || { ac_status=$?; continue; }
1458 # Check for guested configure.
1459 if test -f "$ac_srcdir/configure.gnu"; then
1461 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462 elif test -f "$ac_srcdir/configure"; then
1464 $SHELL "$ac_srcdir/configure" --help=recursive
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 cd "$ac_pwd" || { ac_status=$?; break; }
1472 test -n "$ac_init_help" && exit $ac_status
1473 if $ac_init_version; then
1476 generated by GNU Autoconf 2.64
1478 Copyright (C) 2009 Free Software Foundation, Inc.
1479 This configure script is free software; the Free Software Foundation
1480 gives unlimited permission to copy, distribute and modify it.
1485 ## ------------------------ ##
1486 ## Autoconf initialization. ##
1487 ## ------------------------ ##
1489 # ac_fn_c_try_compile LINENO
1490 # --------------------------
1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1492 ac_fn_c_try_compile ()
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 rm -f conftest.$ac_objext
1496 if { { ac_try="$ac_compile"
1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499 *) ac_try_echo=$ac_try;;
1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502 $as_echo "$ac_try_echo"; } >&5
1503 (eval "$ac_compile") 2>conftest.err
1505 if test -s conftest.err; then
1506 grep -v '^ *+' conftest.err >conftest.er1
1507 cat conftest.er1 >&5
1508 mv -f conftest.er1 conftest.err
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; } && {
1512 test -z "$ac_c_werror_flag" ||
1513 test ! -s conftest.err
1514 } && test -s conftest.$ac_objext; then :
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.$ac_ext >&5
1522 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1525 } # ac_fn_c_try_compile
1527 # ac_fn_c_try_link LINENO
1528 # -----------------------
1529 # Try to link conftest.$ac_ext, and return whether this succeeded.
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext conftest$ac_exeext
1534 if { { ac_try="$ac_link"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_link") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest$ac_exeext && {
1553 test "$cross_compiling" = yes ||
1554 $as_test_x conftest$ac_exeext
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1564 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1565 # interfere with the next link command; also delete a directory that is
1566 # left behind by Apple's compiler. We do this before executing the actions.
1567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 } # ac_fn_c_try_link
1572 cat >config.log <<_ACEOF
1573 This file contains any messages produced by compilers while
1574 running configure, to aid debugging if configure makes a mistake.
1576 It was created by RT $as_me 3.8.7, which was
1577 generated by GNU Autoconf 2.64. Invocation command line was
1589 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1590 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1591 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1592 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1593 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1595 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1596 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1598 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1599 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1600 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1601 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1602 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1603 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1604 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 $as_echo "PATH: $as_dir"
1629 # Keep a trace of the command line.
1630 # Strip out --no-create and --no-recursion so they do not pile up.
1631 # Strip out --silent because we don't want to record it for future runs.
1632 # Also quote any args containing shell meta-characters.
1633 # Make two passes to allow for proper duplicate-argument suppression.
1637 ac_must_keep_next=false
1643 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1644 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1645 | -silent | --silent | --silen | --sile | --sil)
1648 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1653 as_fn_append ac_configure_args1 " '$ac_arg'"
1654 if test $ac_must_keep_next = true; then
1655 ac_must_keep_next=false # Got value, back to normal.
1658 *=* | --config-cache | -C | -disable-* | --disable-* \
1659 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1660 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1661 | -with-* | --with-* | -without-* | --without-* | --x)
1662 case "$ac_configure_args0 " in
1663 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1666 -* ) ac_must_keep_next=true ;;
1669 as_fn_append ac_configure_args " '$ac_arg'"
1674 { ac_configure_args0=; unset ac_configure_args0;}
1675 { ac_configure_args1=; unset ac_configure_args1;}
1677 # When interrupted or exit'd, cleanup temporary files, and complete
1678 # config.log. We remove comments because anyway the quotes in there
1679 # would cause problems or look ugly.
1680 # WARNING: Use '\'' to represent an apostrophe within the trap.
1681 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1682 trap 'exit_status=$?
1683 # Save into config.log some information that might help in debugging.
1688 ## ---------------- ##
1689 ## Cache variables. ##
1690 ## ---------------- ##
1693 # The following way of writing the cache mishandles newlines in values,
1695 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1696 eval ac_val=\$$ac_var
1700 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1704 _ | IFS | as_nl) ;; #(
1705 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1706 *) { eval $ac_var=; unset $ac_var;} ;;
1711 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1712 *${as_nl}ac_space=\ *)
1714 "s/'\''/'\''\\\\'\'''\''/g;
1715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1726 ## ----------------- ##
1727 ## Output variables. ##
1728 ## ----------------- ##
1731 for ac_var in $ac_subst_vars
1733 eval ac_val=\$$ac_var
1735 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1737 $as_echo "$ac_var='\''$ac_val'\''"
1741 if test -n "$ac_subst_files"; then
1743 ## ------------------- ##
1744 ## File substitutions. ##
1745 ## ------------------- ##
1748 for ac_var in $ac_subst_files
1750 eval ac_val=\$$ac_var
1752 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1754 $as_echo "$ac_var='\''$ac_val'\''"
1759 if test -s confdefs.h; then
1769 test "$ac_signal" != 0 &&
1770 $as_echo "$as_me: caught signal $ac_signal"
1771 $as_echo "$as_me: exit $exit_status"
1773 rm -f core *.core core.conftest.* &&
1774 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1777 for ac_signal in 1 2 13 15; do
1778 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1782 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1783 rm -f -r conftest* confdefs.h
1785 $as_echo "/* confdefs.h */" > confdefs.h
1787 # Predefined preprocessor variables.
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_NAME "$PACKAGE_NAME"
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1801 cat >>confdefs.h <<_ACEOF
1802 #define PACKAGE_STRING "$PACKAGE_STRING"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_URL "$PACKAGE_URL"
1814 # Let the site file select an alternate cache file if it wants to.
1815 # Prefer an explicitly selected file to automatically selected ones.
1818 if test -n "$CONFIG_SITE"; then
1819 ac_site_file1=$CONFIG_SITE
1820 elif test "x$prefix" != xNONE; then
1821 ac_site_file1=$prefix/share/config.site
1822 ac_site_file2=$prefix/etc/config.site
1824 ac_site_file1=$ac_default_prefix/share/config.site
1825 ac_site_file2=$ac_default_prefix/etc/config.site
1827 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1829 test "x$ac_site_file" = xNONE && continue
1830 if test -r "$ac_site_file"; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1832 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special
1840 # files actually), so we avoid doing that.
1841 if test -f "$cache_file"; then
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1843 $as_echo "$as_me: loading cache $cache_file" >&6;}
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1851 $as_echo "$as_me: creating cache $cache_file" >&6;}
1855 # Check that the precious variables saved in the cache have kept the same
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1866 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1870 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 # differences in whitespace do not lead to failure.
1876 ac_old_val_w=`echo x $ac_old_val`
1877 ac_new_val_w=`echo x $ac_new_val`
1878 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1880 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1881 ac_cache_corrupted=:
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1884 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1885 eval $ac_var=\$ac_old_val
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1888 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1890 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1893 # Pass precious variables to config.status.
1894 if test "$ac_new_set" = set; then
1896 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1897 *) ac_arg=$ac_var=$ac_new_val ;;
1899 case " $ac_configure_args " in
1900 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1901 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1905 if $ac_cache_corrupted; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1909 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1910 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1912 ## -------------------- ##
1913 ## Main body of script. ##
1914 ## -------------------- ##
1917 ac_cpp='$CPP $CPPFLAGS'
1918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1931 test "x$rt_version_major" = 'x' && rt_version_major=0
1932 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1933 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1936 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1937 for ac_t in install-sh install.sh shtool; do
1938 if test -f "$ac_dir/$ac_t"; then
1940 ac_install_sh="$ac_aux_dir/$ac_t -c"
1945 if test -z "$ac_aux_dir"; then
1946 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1949 # These three variables are undocumented and unsupported,
1950 # and are intended to be withdrawn in a future Autoconf release.
1951 # They can cause serious problems if a builder's source tree is in a directory
1952 # whose full name contains unusual characters.
1953 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1954 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1955 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1958 # Find a good install program. We prefer a C program (faster),
1959 # so one script is as good as another. But avoid the broken or
1960 # incompatible versions:
1961 # SysV /etc/install, /usr/sbin/install
1962 # SunOS /usr/etc/install
1963 # IRIX /sbin/install
1965 # AmigaOS /C/install, which installs bootblocks on floppy discs
1966 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1967 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1968 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1969 # OS/2's system install, which has a completely different semantic
1970 # ./install, which can be erroneously created by make from ./install.sh.
1971 # Reject install programs that cannot install multiple files.
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1973 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1974 if test -z "$INSTALL"; then
1975 if test "${ac_cv_path_install+set}" = set; then :
1976 $as_echo_n "(cached) " >&6
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 # Account for people who put trailing slashes in PATH elements.
1984 case $as_dir/ in #((
1985 ./ | .// | /[cC]/* | \
1986 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1987 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1990 # OSF1 and SCO ODT 3.0 have their own names for install.
1991 # Don't use installbsd from OSF since it installs stuff as root
1993 for ac_prog in ginstall scoinst install; do
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1996 if test $ac_prog = install &&
1997 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1998 # AIX install. It has an incompatible calling convention.
2000 elif test $ac_prog = install &&
2001 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2002 # program-specific install script used by HP pwplus--don't use.
2005 rm -rf conftest.one conftest.two conftest.dir
2006 echo one > conftest.one
2007 echo two > conftest.two
2009 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2010 test -s conftest.one && test -s conftest.two &&
2011 test -s conftest.dir/conftest.one &&
2012 test -s conftest.dir/conftest.two
2014 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2027 rm -rf conftest.one conftest.two conftest.dir
2030 if test "${ac_cv_path_install+set}" = set; then
2031 INSTALL=$ac_cv_path_install
2033 # As a last resort, use the slow shell script. Don't cache a
2034 # value for INSTALL within a source directory, because that will
2035 # break other packages using the cache if that directory is
2036 # removed, or if the value is a relative name.
2037 INSTALL=$ac_install_sh
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2041 $as_echo "$INSTALL" >&6; }
2043 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2044 # It thinks the first close brace ends the variable substitution.
2045 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2047 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2049 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2051 for ac_prog in gawk mawk nawk awk
2053 # Extract the first word of "$ac_prog", so it can be a program name with args.
2054 set dummy $ac_prog; ac_word=$2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if test "${ac_cv_prog_AWK+set}" = set; then :
2058 $as_echo_n "(cached) " >&6
2060 if test -n "$AWK"; then
2061 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2070 ac_cv_prog_AWK="$ac_prog"
2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 if test -n "$AWK"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2083 $as_echo "$AWK" >&6; }
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2090 test -n "$AWK" && break
2094 # Extract the first word of "perl", so it can be a program name with args.
2095 set dummy perl; ac_word=$2
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2097 $as_echo_n "checking for $ac_word... " >&6; }
2098 if test "${ac_cv_path_PERL+set}" = set; then :
2099 $as_echo_n "(cached) " >&6
2103 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2113 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
2125 PERL=$ac_cv_path_PERL
2126 if test -n "$PERL"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2128 $as_echo "$PERL" >&6; }
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2131 $as_echo "no" >&6; }
2135 if test "$PERL" = 'not found'; then
2136 as_fn_error "cannot use $PACKAGE_NAME without perl" "$LINENO" 5
2141 # Check whether --with-web-handler was given.
2142 if test "${with_web_handler+set}" = set; then :
2143 withval=$with_web_handler; WEB_HANDLER=$withval
2148 my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl12|fastcgi|speedycgi|standalone)$/i, grep defined && length, split /\s*,\s*/, "$WEB_HANDLER"')
2149 if test "$my_web_handler_test" != "ok"; then
2150 as_fn_error "Only modperl1, modperl2, fastcgi, speedycgi and standalone are valid web-handlers" "$LINENO" 5
2155 # Check whether --with-speedycgi was given.
2156 if test "${with_speedycgi+set}" = set; then :
2157 withval=$with_speedycgi; SPEEDY_BIN=$withval
2159 SPEEDY_BIN=/usr/local/bin/speedy
2162 if test "$WEB_HANDLER" = 'speedycgi' -a ! -x "$SPEEDY_BIN"; then
2163 as_fn_error "cannot find speedycgi binary" "$LINENO" 5
2169 # Check whether --enable-layout was given.
2170 if test "${enable_layout+set}" = set; then :
2171 enableval=$enable_layout; LAYOUT=$enableval
2175 if test "x$LAYOUT" = "x"; then
2179 if test ! -f $srcdir/config.layout; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5
2181 $as_echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
2184 pldconf=./config.pld
2185 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
2186 s/.*<Layout\s+$layout>//gims;
2187 s/\<\/Layout\>.*//s;
2192 # m4 will not let us just use $srcdir/config.layout, we need $1
2193 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim;
2194 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
2195 ' < $srcdir/config.layout > $pldconf
2197 if test -s $pldconf; then
2198 rt_layout_name=$LAYOUT
2201 for var in prefix exec_prefix bindir sbindir \
2202 sysconfdir mandir libdir datadir htmldir \
2203 localstatedir logfiledir masonstatedir \
2204 sessionstatedir customdir custometcdir customhtmldir \
2205 customlexdir customlibdir manualdir; do
2206 eval "val=\"\$$var\""
2207 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
2209 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
2222 while test "x${ap_cur}" != "x${ap_last}"; do
2224 ap_cur=`eval "echo ${ap_cur}"`
2226 exp_prefix="${ap_cur}"
2234 ap_cur='$exec_prefix'
2235 while test "x${ap_cur}" != "x${ap_last}"; do
2237 ap_cur=`eval "echo ${ap_cur}"`
2239 exp_exec_prefix="${ap_cur}"
2248 while test "x${ap_cur}" != "x${ap_last}"; do
2250 ap_cur=`eval "echo ${ap_cur}"`
2252 exp_bindir="${ap_cur}"
2261 while test "x${ap_cur}" != "x${ap_last}"; do
2263 ap_cur=`eval "echo ${ap_cur}"`
2265 exp_sbindir="${ap_cur}"
2273 ap_cur='$sysconfdir'
2274 while test "x${ap_cur}" != "x${ap_last}"; do
2276 ap_cur=`eval "echo ${ap_cur}"`
2278 exp_sysconfdir="${ap_cur}"
2287 while test "x${ap_cur}" != "x${ap_last}"; do
2289 ap_cur=`eval "echo ${ap_cur}"`
2291 exp_mandir="${ap_cur}"
2300 while test "x${ap_cur}" != "x${ap_last}"; do
2302 ap_cur=`eval "echo ${ap_cur}"`
2304 exp_libdir="${ap_cur}"
2313 while test "x${ap_cur}" != "x${ap_last}"; do
2315 ap_cur=`eval "echo ${ap_cur}"`
2317 exp_datadir="${ap_cur}"
2326 while test "x${ap_cur}" != "x${ap_last}"; do
2328 ap_cur=`eval "echo ${ap_cur}"`
2330 exp_htmldir="${ap_cur}"
2339 while test "x${ap_cur}" != "x${ap_last}"; do
2341 ap_cur=`eval "echo ${ap_cur}"`
2343 exp_manualdir="${ap_cur}"
2352 while test "x${ap_cur}" != "x${ap_last}"; do
2354 ap_cur=`eval "echo ${ap_cur}"`
2356 exp_plugindir="${ap_cur}"
2364 ap_cur='$localstatedir'
2365 while test "x${ap_cur}" != "x${ap_last}"; do
2367 ap_cur=`eval "echo ${ap_cur}"`
2369 exp_localstatedir="${ap_cur}"
2377 ap_cur='$logfiledir'
2378 while test "x${ap_cur}" != "x${ap_last}"; do
2380 ap_cur=`eval "echo ${ap_cur}"`
2382 exp_logfiledir="${ap_cur}"
2390 ap_cur='$masonstatedir'
2391 while test "x${ap_cur}" != "x${ap_last}"; do
2393 ap_cur=`eval "echo ${ap_cur}"`
2395 exp_masonstatedir="${ap_cur}"
2403 ap_cur='$sessionstatedir'
2404 while test "x${ap_cur}" != "x${ap_last}"; do
2406 ap_cur=`eval "echo ${ap_cur}"`
2408 exp_sessionstatedir="${ap_cur}"
2417 while test "x${ap_cur}" != "x${ap_last}"; do
2419 ap_cur=`eval "echo ${ap_cur}"`
2421 exp_customdir="${ap_cur}"
2429 ap_cur='$custometcdir'
2430 while test "x${ap_cur}" != "x${ap_last}"; do
2432 ap_cur=`eval "echo ${ap_cur}"`
2434 exp_custometcdir="${ap_cur}"
2442 ap_cur='$customhtmldir'
2443 while test "x${ap_cur}" != "x${ap_last}"; do
2445 ap_cur=`eval "echo ${ap_cur}"`
2447 exp_customhtmldir="${ap_cur}"
2455 ap_cur='$customlexdir'
2456 while test "x${ap_cur}" != "x${ap_last}"; do
2458 ap_cur=`eval "echo ${ap_cur}"`
2460 exp_customlexdir="${ap_cur}"
2468 ap_cur='$customlibdir'
2469 while test "x${ap_cur}" != "x${ap_last}"; do
2471 ap_cur=`eval "echo ${ap_cur}"`
2473 exp_customlibdir="${ap_cur}"
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
2480 $as_echo_n "checking for chosen layout... " >&6; }
2481 if test "x$rt_layout_name" = "xno"; then
2482 if test "x$LAYOUT" = "xno"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2484 $as_echo "none" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5
2487 $as_echo "$LAYOUT" >&6; }
2489 as_fn_error "a valid layout must be specified (or the default used)" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5
2493 $as_echo "$rt_layout_name" >&6; }
2495 if test "x$rt_layout_name" != "xinplace" ; then
2496 COMMENT_INPLACE_LAYOUT=""
2499 COMMENT_INPLACE_LAYOUT=#
2505 # ACRT_USER_EXISTS( users, variable, default )
2506 # - users is a list of users [www apache www-docs]
2507 # from highest to lowest priority to high priority (i.e. first match)
2508 # - variable is what you set with the result
2515 # Check whether --with-bin-owner was given.
2516 if test "${with_bin_owner+set}" = set; then :
2517 withval=$with_bin_owner; BIN_OWNER=$withval
2525 # Check whether --with-libs-owner was given.
2526 if test "${with_libs_owner+set}" = set; then :
2527 withval=$with_libs_owner; LIBS_OWNER=$withval
2535 # Check whether --with-libs-group was given.
2536 if test "${with_libs_group+set}" = set; then :
2537 withval=$with_libs_group; LIBS_GROUP=$withval
2545 # Check whether --with-db-type was given.
2546 if test "${with_db_type+set}" = set; then :
2547 withval=$with_db_type; DB_TYPE=$withval
2552 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
2553 as_fn_error "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5
2557 if test "$DB_TYPE" = 'Oracle'; then
2558 test "x$ORACLE_HOME" = 'x' && as_fn_error "Please declare the ORACLE_HOME environment variable" "$LINENO" 5
2559 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
2562 if test "$DB_TYPE" = 'Sybase'; then
2563 test "x$SYBASE" = 'x' && as_fn_error "Please declare the SYBASE_HOME environment variable" "$LINENO" 5
2564 DATABASE_ENV_PREF="\$ENV{'SYBASE'} = '$SYBASE';"
2569 # Check whether --with-db-host was given.
2570 if test "${with_db_host+set}" = set; then :
2571 withval=$with_db_host; DB_HOST=$withval
2579 # Check whether --with-db-port was given.
2580 if test "${with_db_port+set}" = set; then :
2581 withval=$with_db_port; DB_PORT=$withval
2589 # Check whether --with-db-rt-host was given.
2590 if test "${with_db_rt_host+set}" = set; then :
2591 withval=$with_db_rt_host; DB_RT_HOST=$withval
2593 DB_RT_HOST=localhost
2598 if test "$DB_TYPE" = "Pg" ; then
2604 # Check whether --with-db-dba was given.
2605 if test "${with_db_dba+set}" = set; then :
2606 withval=$with_db_dba; DB_DBA=$withval
2614 # Check whether --with-db-database was given.
2615 if test "${with_db_database+set}" = set; then :
2616 withval=$with_db_database; DB_DATABASE=$withval
2624 # Check whether --with-db-rt-user was given.
2625 if test "${with_db_rt_user+set}" = set; then :
2626 withval=$with_db_rt_user; DB_RT_USER=$withval
2634 # Check whether --with-db-rt-pass was given.
2635 if test "${with_db_rt_pass+set}" = set; then :
2636 withval=$with_db_rt_pass; DB_RT_PASS=$withval
2644 # Check whether --with-web-user was given.
2645 if test "${with_web_user+set}" = set; then :
2646 withval=$with_web_user; WEB_USER=$withval
2650 for x in www www-data apache httpd nobody; do
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5
2652 $as_echo_n "checking if user $x exists... " >&6; }
2653 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then :
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2655 $as_echo "found" >&6; }; WEB_USER=$x ; break
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2658 $as_echo "not found" >&6; }
2668 # Check whether --with-web-group was given.
2669 if test "${with_web_group+set}" = set; then :
2670 withval=$with_web_group; WEB_GROUP=$withval
2674 for x in www www-data apache httpd nogroup nobody; do
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2676 $as_echo_n "checking if group $x exists... " >&6; }
2677 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2679 $as_echo "found" >&6; }; WEB_GROUP=$x ; break
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2682 $as_echo "not found" >&6; }
2691 # Check whether --with-rt-group was given.
2692 if test "${with_rt_group+set}" = set; then :
2693 withval=$with_rt_group; RTGROUP=$withval
2697 for x in rt3 rt $WEB_GROUP; do
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5
2699 $as_echo_n "checking if group $x exists... " >&6; }
2700 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then :
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2702 $as_echo "found" >&6; }; RTGROUP=$x ; break
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2705 $as_echo "not found" >&6; }
2713 # XXX TODO: The command below to figure out the group brokenly relies on
2714 # output order (and "id -gn" doesn't work on all platforms).
2715 my_group=$(groups|cut -f1 -d' ')
2716 my_user=${USER:-$LOGNAME}
2718 # Check whether --with-my-user-group was given.
2719 if test "${with_my_user_group+set}" = set; then :
2720 withval=$with_my_user_group; RTGROUP=$my_group
2723 LIBS_GROUP=$my_group
2729 # Test for valid database names
2730 if test "$DB_TYPE" = "mysql" ; then :
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if database name is valid" >&5
2732 $as_echo_n "checking if database name is valid... " >&6; }
2733 if echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ; then :
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2735 $as_echo "yes" >&6; }
2737 as_fn_error "no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" "$LINENO" 5
2746 # Check whether --with-apachectl was given.
2747 if test "${with_apachectl+set}" = set; then :
2748 withval=$with_apachectl; APACHECTL=$withval
2750 APACHECTL=`which apachectl`
2756 # Check whether --with-devel-mode was given.
2757 if test "${with_devel_mode+set}" = set; then :
2758 withval=$with_devel_mode; RT_DEVEL_MODE=$withval
2763 # Check whether --enable-devel-mode was given.
2764 if test "${enable_devel_mode+set}" = set; then :
2765 enableval=$enable_devel_mode; RT_DEVEL_MODE=$enableval
2767 RT_DEVEL_MODE=$RT_DEVEL_MODE
2770 if test "$RT_DEVEL_MODE" = yes; then
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 if test -n "$ac_tool_prefix"; then
2783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if test "${ac_cv_prog_CC+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test -n "$CC"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2813 $as_echo "$CC" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2821 if test -z "$ac_cv_prog_CC"; then
2823 # Extract the first word of "gcc", so it can be a program name with args.
2824 set dummy gcc; ac_word=$2
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2826 $as_echo_n "checking for $ac_word... " >&6; }
2827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2828 $as_echo_n "(cached) " >&6
2830 if test -n "$ac_ct_CC"; then
2831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir=.
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 ac_cv_prog_ac_ct_CC="gcc"
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2851 if test -n "$ac_ct_CC"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2853 $as_echo "$ac_ct_CC" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2859 if test "x$ac_ct_CC" = x; then
2862 case $cross_compiling:$ac_tool_warned in
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2866 ac_tool_warned=yes ;;
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2877 set dummy ${ac_tool_prefix}cc; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if test "${ac_cv_prog_CC+set}" = set; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$CC"; then
2884 ac_cv_prog_CC="$CC" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 ac_cv_prog_CC="${ac_tool_prefix}cc"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 if test -n "$CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 $as_echo "$CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2915 if test -z "$CC"; then
2916 # Extract the first word of "cc", so it can be a program name with args.
2917 set dummy cc; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_prog_CC+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2935 ac_prog_rejected=yes
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test $ac_prog_rejected = yes; then
2947 # We found a bogon in the path, so make sure we never use it.
2948 set dummy $ac_cv_prog_CC
2950 if test $# != 0; then
2951 # We chose a different compiler from the bogus one.
2952 # However, it has the same basename, so the bogon will be chosen
2953 # first if we set CC to just the basename; use the full file name.
2955 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2961 if test -n "$CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 $as_echo "$CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$CC"; then
2972 if test -n "$ac_tool_prefix"; then
2973 for ac_prog in cl.exe
2975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if test "${ac_cv_prog_CC+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$CC"; then
2983 ac_cv_prog_CC="$CC" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3005 $as_echo "$CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$CC" && break
3015 if test -z "$CC"; then
3017 for ac_prog in cl.exe
3019 # Extract the first word of "$ac_prog", so it can be a program name with args.
3020 set dummy $ac_prog; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$ac_ct_CC"; then
3027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CC="$ac_prog"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3049 $as_echo "$ac_ct_CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3056 test -n "$ac_ct_CC" && break
3059 if test "x$ac_ct_CC" = x; then
3062 case $cross_compiling:$ac_tool_warned in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3066 ac_tool_warned=yes ;;
3075 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error "no acceptable C compiler found in \$PATH
3078 See \`config.log' for more details." "$LINENO" 5; }
3080 # Provide some information about the compiler.
3081 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3084 for ac_option in --version -v -V -qversion; do
3085 { { ac_try="$ac_compiler $ac_option >&5"
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3091 $as_echo "$ac_try_echo"; } >&5
3092 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3094 if test -s conftest.err; then
3096 ... rest of stderr output deleted ...
3097 10q' conftest.err >conftest.er1
3098 cat conftest.er1 >&5
3099 rm -f conftest.er1 conftest.err
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3111 FILE *f = fopen ("conftest.out", "w");
3112 return ferror (f) || fclose (f) != 0;
3118 ac_clean_files_save=$ac_clean_files
3119 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3120 # Try to create an executable without -o first, disregard a.out.
3121 # It will help us diagnose broken compilers, and finding out an intuition
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3124 $as_echo_n "checking for C compiler default output file name... " >&6; }
3125 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3127 # The possible output files:
3128 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3131 for ac_file in $ac_files
3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3140 if { { ac_try="$ac_link_default"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3146 $as_echo "$ac_try_echo"; } >&5
3147 (eval "$ac_link_default") 2>&5
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }; then :
3151 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3152 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3153 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3154 # so that the user can short-circuit this test for compilers unknown to
3156 for ac_file in $ac_files ''
3158 test -f "$ac_file" || continue
3160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3163 # We found the default executable, but exeext='' is most
3167 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3169 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3171 # We set ac_cv_exeext here because the later test for it is not
3172 # safe: cross compilers may not add the suffix if given an `-o'
3173 # argument, so we may need to know it at that point already.
3174 # Even if this section looks crufty: it has the advantage of
3181 test "$ac_cv_exeext" = no && ac_cv_exeext=
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3187 $as_echo "$ac_file" >&6; }
3188 if test -z "$ac_file"; then :
3189 $as_echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 { as_fn_set_status 77
3195 as_fn_error "C compiler cannot create executables
3196 See \`config.log' for more details." "$LINENO" 5; }; }
3198 ac_exeext=$ac_cv_exeext
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3203 $as_echo_n "checking whether the C compiler works... " >&6; }
3204 # If not cross compiling, check that we can run a simple program.
3205 if test "$cross_compiling" != yes; then
3206 if { ac_try='./$ac_file'
3207 { { case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_try") 2>&5
3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216 test $ac_status = 0; }; }; then
3219 if test "$cross_compiling" = maybe; then
3222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224 as_fn_error "cannot run C compiled programs.
3225 If you meant to cross compile, use \`--host'.
3226 See \`config.log' for more details." "$LINENO" 5; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3231 $as_echo "yes" >&6; }
3233 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3234 ac_clean_files=$ac_clean_files_save
3235 # Check that the compiler produces executables we can run. If not, either
3236 # the compiler is broken, or we cross compile.
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3238 $as_echo_n "checking whether we are cross compiling... " >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3240 $as_echo "$cross_compiling" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3243 $as_echo_n "checking for suffix of executables... " >&6; }
3244 if { { ac_try="$ac_link"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_link") 2>&5
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }; then :
3255 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3256 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3257 # work properly (i.e., refer to `conftest.exe'), while it won't with
3259 for ac_file in conftest.exe conftest conftest.*; do
3260 test -f "$ac_file" || continue
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3263 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error "cannot compute suffix of executables: cannot compile and link
3272 See \`config.log' for more details." "$LINENO" 5; }
3274 rm -f conftest$ac_cv_exeext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3276 $as_echo "$ac_cv_exeext" >&6; }
3278 rm -f conftest.$ac_ext
3279 EXEEXT=$ac_cv_exeext
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3282 $as_echo_n "checking for suffix of object files... " >&6; }
3283 if test "${ac_cv_objext+set}" = set; then :
3284 $as_echo_n "(cached) " >&6
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3297 rm -f conftest.o conftest.obj
3298 if { { ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304 $as_echo "$ac_try_echo"; } >&5
3305 (eval "$ac_compile") 2>&5
3307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3308 test $ac_status = 0; }; then :
3309 for ac_file in conftest.o conftest.obj conftest.*; do
3310 test -f "$ac_file" || continue;
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3313 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3318 $as_echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error "cannot compute suffix of object files: cannot compile
3324 See \`config.log' for more details." "$LINENO" 5; }
3326 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3329 $as_echo "$ac_cv_objext" >&6; }
3330 OBJEXT=$ac_cv_objext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3333 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3334 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3351 if ac_fn_c_try_compile "$LINENO"; then :
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3361 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3362 if test $ac_compiler_gnu = yes; then
3367 ac_test_CFLAGS=${CFLAGS+set}
3368 ac_save_CFLAGS=$CFLAGS
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3370 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3371 if test "${ac_cv_prog_cc_g+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3374 ac_save_c_werror_flag=$ac_c_werror_flag
3375 ac_c_werror_flag=yes
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3389 if ac_fn_c_try_compile "$LINENO"; then :
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3404 if ac_fn_c_try_compile "$LINENO"; then :
3407 ac_c_werror_flag=$ac_save_c_werror_flag
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 if ac_fn_c_try_compile "$LINENO"; then :
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 ac_c_werror_flag=$ac_save_c_werror_flag
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3431 $as_echo "$ac_cv_prog_cc_g" >&6; }
3432 if test "$ac_test_CFLAGS" = set; then
3433 CFLAGS=$ac_save_CFLAGS
3434 elif test $ac_cv_prog_cc_g = yes; then
3435 if test "$GCC" = yes; then
3441 if test "$GCC" = yes; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3448 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3449 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 ac_cv_prog_cc_c89=no
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3458 #include <sys/types.h>
3459 #include <sys/stat.h>
3460 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3461 struct buf { int x; };
3462 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3463 static char *e (p, i)
3469 static char *f (char * (*g) (char **, int), char **p, ...)
3474 s = g (p, va_arg (v,int));
3479 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3480 function prototypes and stuff, but not '\xHH' hex character constants.
3481 These don't provoke an error unfortunately, instead are silently treated
3482 as 'x'. The following induces an error, until -std is added to get
3483 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3484 array size at least. It's necessary to write '\x00'==0 to get something
3485 that's true only with -std. */
3486 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3488 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3489 inside strings and character constants. */
3491 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3493 int test (int i, double x);
3494 struct s1 {int (*f) (int a);};
3495 struct s2 {int (*f) (double a);};
3496 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3502 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3507 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3508 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3510 CC="$ac_save_CC $ac_arg"
3511 if ac_fn_c_try_compile "$LINENO"; then :
3512 ac_cv_prog_cc_c89=$ac_arg
3514 rm -f core conftest.err conftest.$ac_objext
3515 test "x$ac_cv_prog_cc_c89" != "xno" && break
3517 rm -f conftest.$ac_ext
3522 case "x$ac_cv_prog_cc_c89" in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3525 $as_echo "none needed" >&6; } ;;
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3528 $as_echo "unsupported" >&6; } ;;
3530 CC="$CC $ac_cv_prog_cc_c89"
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3532 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3534 if test "x$ac_cv_prog_cc_c89" != xno; then :
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aginitlib in -lgraph" >&5
3546 $as_echo_n "checking for aginitlib in -lgraph... " >&6; }
3547 if test "${ac_cv_lib_graph_aginitlib+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 ac_check_lib_save_LIBS=$LIBS
3551 LIBS="-lgraph $LIBS"
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3555 /* Override any GCC internal prototype to avoid an error.
3556 Use char because int might match the return type of a GCC
3557 builtin and then its argument prototype would still apply. */
3565 return aginitlib ();
3570 if ac_fn_c_try_link "$LINENO"; then :
3571 ac_cv_lib_graph_aginitlib=yes
3573 ac_cv_lib_graph_aginitlib=no
3575 rm -f core conftest.err conftest.$ac_objext \
3576 conftest$ac_exeext conftest.$ac_ext
3577 LIBS=$ac_check_lib_save_LIBS
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_graph_aginitlib" >&5
3580 $as_echo "$ac_cv_lib_graph_aginitlib" >&6; }
3581 if test "x$ac_cv_lib_graph_aginitlib" = x""yes; then :
3586 # Check whether --with-graphviz was given.
3587 if test "${with_graphviz+set}" = set; then :
3588 withval=$with_graphviz; RT_GRAPHVIZ=$withval
3591 # Check whether --enable-graphviz was given.
3592 if test "${enable_graphviz+set}" = set; then :
3593 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
3596 if test "$RT_GRAPHVIZ" = yes; then
3603 # Extract the first word of "gdlib-config", so it can be a program name with args.
3604 set dummy gdlib-config; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if test "${ac_cv_prog_RT_GD+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$RT_GD"; then
3611 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_RT_GD=""yes""
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""
3631 RT_GD=$ac_cv_prog_RT_GD
3632 if test -n "$RT_GD"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5
3634 $as_echo "$RT_GD" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 # Check whether --with-gd was given.
3643 if test "${with_gd+set}" = set; then :
3644 withval=$with_gd; RT_GD=$withval
3647 # Check whether --enable-gd was given.
3648 if test "${enable_gd+set}" = set; then :
3649 enableval=$enable_gd; RT_GD=$enableval
3652 if test "$RT_GD" = yes; then
3659 # Extract the first word of "gpg", so it can be a program name with args.
3660 set dummy gpg; ac_word=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_prog_RT_GPG+set}" = set; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$RT_GPG"; then
3667 ac_cv_prog_RT_GPG="$RT_GPG" # Let the user override the test.
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir=.
3674 for ac_exec_ext in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_prog_RT_GPG=""yes""
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 test -z "$ac_cv_prog_RT_GPG" && ac_cv_prog_RT_GPG=""no""
3687 RT_GPG=$ac_cv_prog_RT_GPG
3688 if test -n "$RT_GPG"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GPG" >&5
3690 $as_echo "$RT_GPG" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3697 # Check whether --enable-gpg was given.
3698 if test "${enable_gpg+set}" = set; then :
3699 enableval=$enable_gpg; RT_GPG=$enableval
3702 if test "$RT_GPG" = yes; then
3711 RT_VERSION_MAJOR=${rt_version_major}
3713 RT_VERSION_MINOR=${rt_version_minor}
3715 RT_VERSION_PATCH=${rt_version_patch}
3718 RT_PATH=${exp_prefix}
3720 RT_DOC_PATH=${exp_manualdir}
3722 RT_LOCAL_PATH=${exp_customdir}
3724 RT_LIB_PATH=${exp_libdir}
3726 RT_ETC_PATH=${exp_sysconfdir}
3728 CONFIG_FILE_PATH=${exp_sysconfdir}
3730 RT_BIN_PATH=${exp_bindir}
3732 RT_SBIN_PATH=${exp_sbindir}
3734 RT_VAR_PATH=${exp_localstatedir}
3736 RT_MAN_PATH=${exp_mandir}
3738 RT_PLUGIN_PATH=${exp_plugindir}
3740 MASON_DATA_PATH=${exp_masonstatedir}
3742 MASON_SESSION_PATH=${exp_sessionstatedir}
3744 MASON_HTML_PATH=${exp_htmldir}
3746 LOCAL_ETC_PATH=${exp_custometcdir}
3748 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
3750 LOCAL_LEXICON_PATH=${exp_customlexdir}
3752 LOCAL_LIB_PATH=${exp_customlibdir}
3754 RT_LOG_PATH=${exp_logfiledir}
3757 if test ${exp_sysconfdir} = "etc"; then
3758 RT_PATH_R=${exp_prefix}
3760 RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir}
3762 RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir}
3764 RT_LIB_PATH_R=${exp_prefix}/${exp_libdir}
3766 RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir}
3768 CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir}
3770 RT_BIN_PATH_R=${exp_prefix}/${exp_bindir}
3772 RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir}
3774 RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir}
3776 RT_MAN_PATH_R=${exp_prefix}/${exp_mandir}
3778 RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir}
3780 MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir}
3782 MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir}
3784 MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir}
3786 LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir}
3788 MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir}
3790 LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir}
3792 LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir}
3794 RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir}
3797 RT_PATH_R=${exp_prefix}
3799 RT_DOC_PATH_R=${exp_manualdir}
3801 RT_LOCAL_PATH_R=${exp_customdir}
3803 RT_LIB_PATH_R=${exp_libdir}
3805 RT_ETC_PATH_R=${exp_sysconfdir}
3807 RT_PLUGIN_PATH_R=${exp_plugindir}
3809 CONFIG_FILE_PATH_R=${exp_sysconfdir}
3811 RT_BIN_PATH_R=${exp_bindir}
3813 RT_SBIN_PATH_R=${exp_sbindir}
3815 RT_VAR_PATH_R=${exp_localstatedir}
3817 RT_MAN_PATH_R=${exp_mandir}
3819 MASON_DATA_PATH_R=${exp_masonstatedir}
3821 MASON_SESSION_PATH_R=${exp_sessionstatedir}
3823 MASON_HTML_PATH_R=${exp_htmldir}
3825 LOCAL_ETC_PATH_R=${exp_custometcdir}
3827 MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir}
3829 LOCAL_LEXICON_PATH_R=${exp_customlexdir}
3831 LOCAL_LIB_PATH_R=${exp_customlibdir}
3833 RT_LOG_PATH_R=${exp_logfiledir}
3839 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/mason_handler.fcgi bin/mason_handler.scgi bin/standalone_httpd bin/rt-crontool bin/rt-mailgate bin/rt"
3842 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"
3844 cat >confcache <<\_ACEOF
3845 # This file is a shell script that caches the results of configure
3846 # tests run on this system so they can be shared between configure
3847 # scripts and configure runs, see configure's option --config-cache.
3848 # It is not useful on other systems. If it contains results you don't
3849 # want to keep, you may remove or edit it.
3851 # config.status only pays attention to the cache file if you give it
3852 # the --recheck option to rerun configure.
3854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3860 # The following way of writing the cache mishandles newlines in values,
3861 # but we know of no workaround that is simple, portable, and efficient.
3862 # So, we kill variables containing newlines.
3863 # Ultrix sh set writes to stderr and can't be redirected directly,
3864 # and sets the high bit in the cache file unless we assign to the vars.
3866 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3867 eval ac_val=\$$ac_var
3871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3875 _ | IFS | as_nl) ;; #(
3876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3877 *) { eval $ac_var=; unset $ac_var;} ;;
3883 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3884 *${as_nl}ac_space=\ *)
3885 # `set' does not quote correctly, so add quotes: double-quote
3886 # substitution turns \\\\ into \\, and sed turns \\ into \.
3889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3892 # `set' quotes correctly as required by POSIX, so do not add quotes.
3893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3904 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3907 if test -w "$cache_file"; then
3908 test "x$cache_file" != "x/dev/null" &&
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3910 $as_echo "$as_me: updating cache $cache_file" >&6;}
3911 cat confcache >$cache_file
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3920 # Let make expand exec_prefix.
3921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3923 # Transform confdefs.h into DEFS.
3924 # Protect against shell expansion while executing Makefile rules.
3925 # Protect against Makefile macro expansion.
3927 # If the first sed substitution is executed (which looks for macros that
3928 # take arguments), then branch to the quote section. Otherwise,
3929 # look for a macro that doesn't take arguments.
3939 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3941 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3945 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3958 DEFS=`sed -n "$ac_script" confdefs.h`
3963 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3964 # 1. Remove the extension, and $U if already installed.
3965 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3966 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3967 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3968 # will be set to the directory where LIBOBJS objects are built.
3969 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3970 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3974 LTLIBOBJS=$ac_ltlibobjs
3978 : ${CONFIG_STATUS=./config.status}
3980 ac_clean_files_save=$ac_clean_files
3981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3983 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3987 # Generated by $as_me.
3988 # Run this file to recreate the current configuration.
3989 # Compiler output produced by configure, useful for debugging
3990 # configure, is in config.log if it exists.
3996 SHELL=\${CONFIG_SHELL-$SHELL}
3999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4000 ## -------------------- ##
4001 ## M4sh Initialization. ##
4002 ## -------------------- ##
4004 # Be more Bourne compatible
4005 DUALCASE=1; export DUALCASE # for MKS sh
4006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4009 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4010 # is contrary to our usage. Disable this feature.
4011 alias -g '${1+"$@"}'='"$@"'
4012 setopt NO_GLOB_SUBST
4014 case `(set -o) 2>/dev/null` in #(
4026 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4027 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4030 # Prefer a ksh shell builtin over an external printf program on Solaris,
4031 # but without wasting forks for bash or zsh.
4032 if test -z "$BASH_VERSION$ZSH_VERSION" \
4033 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4034 as_echo='print -r --'
4035 as_echo_n='print -rn --'
4036 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4037 as_echo='printf %s\n'
4038 as_echo_n='printf %s'
4040 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4041 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4042 as_echo_n='/usr/ucb/echo -n'
4044 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4045 as_echo_n_body='eval
4049 expr "X$arg" : "X\\(.*\\)$as_nl";
4050 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4052 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4054 export as_echo_n_body
4055 as_echo_n='sh -c $as_echo_n_body as_echo'
4058 as_echo='sh -c $as_echo_body as_echo'
4061 # The user is always right.
4062 if test "${PATH_SEPARATOR+set}" != set; then
4064 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4065 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4072 # We need space, tab and new line, in precisely that order. Quoting is
4073 # there to prevent editors from complaining about space-tab.
4074 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4075 # splitting by setting IFS to empty value.)
4078 # Find who we are. Look in the path if we contain no directory separator.
4080 *[\\/]* ) as_myself=$0 ;;
4081 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4092 # We did not find ourselves, most probably we were run as `sh COMMAND'
4093 # in which case we are not to be found in the path.
4094 if test "x$as_myself" = x; then
4097 if test ! -f "$as_myself"; then
4098 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4102 # Unset variables that we do not need and which cause bugs (e.g. in
4103 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4104 # suppresses any "Segmentation fault" message there. '((' could
4105 # trigger a bug in pdksh 5.2.14.
4106 for as_var in BASH_ENV ENV MAIL MAILPATH
4107 do eval test x\${$as_var+set} = xset \
4108 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4124 # as_fn_error ERROR [LINENO LOG_FD]
4125 # ---------------------------------
4126 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4127 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4128 # script with status $?, using 1 if that was 0.
4131 as_status=$?; test $as_status -eq 0 && as_status=1
4133 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4134 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4136 $as_echo "$as_me: error: $1" >&2
4137 as_fn_exit $as_status
4141 # as_fn_set_status STATUS
4142 # -----------------------
4143 # Set $? to STATUS, without forking.
4147 } # as_fn_set_status
4151 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4161 # Portably unset VAR.
4164 { eval $1=; unset $1;}
4166 as_unset=as_fn_unset
4167 # as_fn_append VAR VALUE
4168 # ----------------------
4169 # Append the text in VALUE to the end of the definition contained in VAR. Take
4170 # advantage of any shell optimizations that allow amortized linear growth over
4171 # repeated appends, instead of the typical quadratic growth present in naive
4173 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4174 eval 'as_fn_append ()
4185 # as_fn_arith ARG...
4186 # ------------------
4187 # Perform arithmetic evaluation on the ARGs, and store the result in the
4188 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4189 # must be portable across $(()) and expr.
4190 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4191 eval 'as_fn_arith ()
4198 as_val=`expr "$@" || test $? -eq 1`
4203 if expr a : '\(a\)' >/dev/null 2>&1 &&
4204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4211 as_basename=basename
4216 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4222 as_me=`$as_basename -- "$0" ||
4223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4224 X"$0" : 'X\(//\)$' \| \
4225 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4227 sed '/^.*\/\([^/][^/]*\)\/*$/{
4241 # Avoid depending upon Character Ranges.
4242 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4243 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4244 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4245 as_cr_digits='0123456789'
4246 as_cr_alnum=$as_cr_Letters$as_cr_digits
4248 ECHO_C= ECHO_N= ECHO_T=
4249 case `echo -n x` in #(((((
4251 case `echo 'xy\c'` in
4252 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4254 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4261 rm -f conf$$ conf$$.exe conf$$.file
4262 if test -d conf$$.dir; then
4263 rm -f conf$$.dir/conf$$.file
4266 mkdir conf$$.dir 2>/dev/null
4268 if (echo >conf$$.file) 2>/dev/null; then
4269 if ln -s conf$$.file conf$$ 2>/dev/null; then
4271 # ... but there are two gotchas:
4272 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4273 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4274 # In both cases, we have to default to `cp -p'.
4275 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4277 elif ln conf$$.file conf$$ 2>/dev/null; then
4285 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4286 rmdir conf$$.dir 2>/dev/null
4291 # Create "$as_dir" as a directory, including parents if necessary.
4296 -*) as_dir=./$as_dir;;
4298 test -d "$as_dir" || eval $as_mkdir_p || {
4302 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4303 *) as_qdir=$as_dir;;
4305 as_dirs="'$as_qdir' $as_dirs"
4306 as_dir=`$as_dirname -- "$as_dir" ||
4307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4308 X"$as_dir" : 'X\(//\)[^/]' \| \
4309 X"$as_dir" : 'X\(//\)$' \| \
4310 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4311 $as_echo X"$as_dir" |
4312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4329 test -d "$as_dir" && break
4331 test -z "$as_dirs" || eval "mkdir $as_dirs"
4332 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4336 if mkdir -p . 2>/dev/null; then
4337 as_mkdir_p='mkdir -p "$as_dir"'
4339 test -d ./-p && rmdir ./-p
4343 if test -x / >/dev/null 2>&1; then
4346 if ls -dL / >/dev/null 2>&1; then
4353 if test -d "$1"; then
4359 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4360 ???[sx]*):;;*)false;;esac;fi
4364 as_executable_p=$as_test_x
4366 # Sed expression to map a string onto a valid CPP name.
4367 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4369 # Sed expression to map a string onto a valid variable name.
4370 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4374 ## ----------------------------------- ##
4375 ## Main body of $CONFIG_STATUS script. ##
4376 ## ----------------------------------- ##
4378 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4381 # Save the log message, to keep $0 and so on meaningful, and to
4382 # report actual input values of CONFIG_FILES etc. instead of their
4383 # values after options handling.
4385 This file was extended by RT $as_me 3.8.7, which was
4386 generated by GNU Autoconf 2.64. Invocation command line was
4388 CONFIG_FILES = $CONFIG_FILES
4389 CONFIG_HEADERS = $CONFIG_HEADERS
4390 CONFIG_LINKS = $CONFIG_LINKS
4391 CONFIG_COMMANDS = $CONFIG_COMMANDS
4394 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4399 case $ac_config_files in *"
4400 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4406 # Files that config.status was made for.
4407 config_files="$ac_config_files"
4411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4413 \`$as_me' instantiates files and other configuration actions
4414 from templates according to the current configuration. Unless the files
4415 and actions are specified as TAGs, all are instantiated by default.
4417 Usage: $0 [OPTION]... [TAG]...
4419 -h, --help print this help, then exit
4420 -V, --version print version number and configuration settings, then exit
4421 -q, --quiet, --silent
4422 do not print progress messages
4423 -d, --debug don't remove temporary files
4424 --recheck update $as_me by reconfiguring in the same conditions
4425 --file=FILE[:TEMPLATE]
4426 instantiate the configuration file FILE
4428 Configuration files:
4431 Report bugs to <rt-bugs@bestpractical.com>."
4434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4436 RT config.status 3.8.7
4437 configured by $0, generated by GNU Autoconf 2.64,
4438 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4440 Copyright (C) 2009 Free Software Foundation, Inc.
4441 This config.status script is free software; the Free Software Foundation
4442 gives unlimited permission to copy, distribute and modify it."
4448 test -n "\$AWK" || AWK=awk
4451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4452 # The default lists apply if the user does not specify any file.
4458 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4459 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4470 # Handling of the options.
4471 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4473 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4474 $as_echo "$ac_cs_version"; exit ;;
4475 --debug | --debu | --deb | --de | --d | -d )
4477 --file | --fil | --fi | --f )
4480 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4482 as_fn_append CONFIG_FILES " '$ac_optarg'"
4483 ac_need_defaults=false;;
4484 --he | --h | --help | --hel | -h )
4485 $as_echo "$ac_cs_usage"; exit ;;
4486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4487 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4491 -*) as_fn_error "unrecognized option: \`$1'
4492 Try \`$0 --help' for more information." ;;
4494 *) as_fn_append ac_config_targets " $1"
4495 ac_need_defaults=false ;;
4501 ac_configure_extra_args=
4503 if $ac_cs_silent; then
4505 ac_configure_extra_args="$ac_configure_extra_args --silent"
4509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4510 if \$ac_cs_recheck; then
4511 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4513 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4514 CONFIG_SHELL='$SHELL'
4520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4525 ## Running $as_me. ##
4531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4536 # Handling of arguments.
4537 for ac_config_target in $ac_config_targets
4539 case $ac_config_target in
4540 "etc/upgrade/3.8-branded-queues-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-branded-queues-extension" ;;
4541 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;;
4542 "etc/upgrade/split-out-cf-categories") CONFIG_FILES="$CONFIG_FILES etc/upgrade/split-out-cf-categories" ;;
4543 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;;
4544 "sbin/rt-dump-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
4545 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
4546 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
4547 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;;
4548 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;;
4549 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;;
4550 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;;
4551 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;;
4552 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;;
4553 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;;
4554 "bin/mason_handler.fcgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
4555 "bin/mason_handler.scgi") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
4556 "bin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
4557 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
4558 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
4559 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
4560 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4561 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
4562 "lib/RT.pm") CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
4563 "bin/mason_handler.svc") CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
4564 "bin/webmux.pl") CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
4565 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;;
4566 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;;
4568 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4573 # If the user did not use the arguments to specify the items to instantiate,
4574 # then the envvar interface is used. Set only those that are not.
4575 # We use the long form for the default assignment because of an extremely
4576 # bizarre bug on SunOS 4.1.3.
4577 if $ac_need_defaults; then
4578 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4581 # Have a temporary directory for convenience. Make it in the build tree
4582 # simply because there is no reason against having it here, and in addition,
4583 # creating and moving files from /tmp can sometimes cause problems.
4584 # Hook for its removal unless debugging.
4585 # Note that there is a small window in which the directory will not be cleaned:
4586 # after its creation but before its name has been assigned to `$tmp'.
4590 trap 'exit_status=$?
4591 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4593 trap 'as_fn_exit 1' 1 2 13 15
4595 # Create a (secure) tmp directory for tmp files.
4598 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4599 test -n "$tmp" && test -d "$tmp"
4602 tmp=./conf$$-$RANDOM
4603 (umask 077 && mkdir "$tmp")
4604 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4606 # Set up the scripts for CONFIG_FILES section.
4607 # No need to generate them if there are no CONFIG_FILES.
4608 # This happens for instance with `./config.status config.h'.
4609 if test -n "$CONFIG_FILES"; then
4612 ac_cr=`echo X | tr X '\015'`
4613 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4614 # But we know of no other shell where ac_cr would be empty at this
4615 # point, so we can use a bashism as a fallback.
4616 if test "x$ac_cr" = x; then
4617 eval ac_cr=\$\'\\r\'
4619 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4620 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4626 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4631 echo "cat >conf$$subs.awk <<_ACEOF" &&
4632 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4635 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4636 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4638 for ac_last_try in false false false false false :; do
4639 . ./conf$$subs.sh ||
4640 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4642 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4643 if test $ac_delim_n = $ac_delim_num; then
4645 elif $ac_last_try; then
4646 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4654 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4658 s/^/S["/; s/!.*/"]=/
4668 s/\(.\{148\}\).*/\1/
4670 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4682 s/\(.\{148\}\).*/\1/
4684 s/["\\]/\\&/g; s/^/"/; s/$/"/
4688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4693 ' <conf$$subs.awk | sed '
4698 ' >>$CONFIG_STATUS || ac_write_fail=1
4699 rm -f conf$$subs.awk
4700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4702 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4703 for (key in S) S_is_set[key] = 1
4709 nfields = split(line, field, "@")
4711 len = length(field[1])
4712 for (i = 2; i < nfields; i++) {
4714 keylen = length(key)
4715 if (S_is_set[key]) {
4717 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4718 len += length(value) + length(field[++i])
4729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4730 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4731 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4734 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4735 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4738 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4739 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4740 # trailing colons and then remove the whole line if VPATH becomes empty
4741 # (actually we leave an empty line to preserve line numbers).
4742 if test "x$srcdir" = x.; then
4743 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4747 s/^\([^=]*=[ ]*\):*/\1/
4753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4754 fi # test -n "$CONFIG_FILES"
4757 eval set X " :F $CONFIG_FILES "
4762 :[FHLC]) ac_mode=$ac_tag; continue;;
4764 case $ac_mode$ac_tag in
4766 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4767 :[FH]-) ac_tag=-:-;;
4768 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4785 -) ac_f="$tmp/stdin";;
4786 *) # Look for the file first in the build tree, then in the source tree
4787 # (if the path is not absolute). The absolute path cannot be DOS-style,
4788 # because $ac_f cannot contain `:'.
4792 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4794 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4796 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4797 as_fn_append ac_file_inputs " '$ac_f'"
4800 # Let's still pretend it is `configure' which instantiates (i.e., don't
4801 # use $as_me), people would be surprised to read:
4802 # /* config.h. Generated by config.status. */
4803 configure_input='Generated from '`
4804 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4806 if test x"$ac_file" != x-; then
4807 configure_input="$ac_file. $configure_input"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4809 $as_echo "$as_me: creating $ac_file" >&6;}
4811 # Neutralize special characters interpreted by sed in replacement strings.
4812 case $configure_input in #(
4813 *\&* | *\|* | *\\* )
4814 ac_sed_conf_input=`$as_echo "$configure_input" |
4815 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4816 *) ac_sed_conf_input=$configure_input;;
4820 *:-:* | *:-) cat >"$tmp/stdin" \
4821 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4826 ac_dir=`$as_dirname -- "$ac_file" ||
4827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4828 X"$ac_file" : 'X\(//\)[^/]' \| \
4829 X"$ac_file" : 'X\(//\)$' \| \
4830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4831 $as_echo X"$ac_file" |
4832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4849 as_dir="$ac_dir"; as_fn_mkdir_p
4853 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4855 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4856 # A ".." for each directory in $ac_dir_suffix.
4857 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4858 case $ac_top_builddir_sub in
4859 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4860 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4863 ac_abs_top_builddir=$ac_pwd
4864 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4865 # for backward compatibility:
4866 ac_top_builddir=$ac_top_build_prefix
4869 .) # We are building in place.
4871 ac_top_srcdir=$ac_top_builddir_sub
4872 ac_abs_top_srcdir=$ac_pwd ;;
4873 [\\/]* | ?:[\\/]* ) # Absolute name.
4874 ac_srcdir=$srcdir$ac_dir_suffix;
4875 ac_top_srcdir=$srcdir
4876 ac_abs_top_srcdir=$srcdir ;;
4878 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4879 ac_top_srcdir=$ac_top_build_prefix$srcdir
4880 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4882 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4892 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4893 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4898 # If the template does not know about datarootdir, expand it.
4899 # FIXME: This hack should be removed a few years after 2.60.
4900 ac_datarootdir_hack=; ac_datarootdir_seen=
4911 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4912 *datarootdir*) ac_datarootdir_seen=yes;;
4913 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4915 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4918 ac_datarootdir_hack='
4919 s&@datadir@&$datadir&g
4920 s&@docdir@&$docdir&g
4921 s&@infodir@&$infodir&g
4922 s&@localedir@&$localedir&g
4923 s&@mandir@&$mandir&g
4924 s&\\\${datarootdir}&$datarootdir&g' ;;
4928 # Neutralize VPATH when `$srcdir' = `.'.
4929 # Shell code in configure.ac might set extrasub.
4930 # FIXME: do we really want to maintain this feature?
4931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4932 ac_sed_extra="$ac_vpsub
4935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4937 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4938 s|@configure_input@|$ac_sed_conf_input|;t t
4939 s&@top_builddir@&$ac_top_builddir_sub&;t t
4940 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4941 s&@srcdir@&$ac_srcdir&;t t
4942 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4943 s&@top_srcdir@&$ac_top_srcdir&;t t
4944 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4945 s&@builddir@&$ac_builddir&;t t
4946 s&@abs_builddir@&$ac_abs_builddir&;t t
4947 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4948 s&@INSTALL@&$ac_INSTALL&;t t
4949 $ac_datarootdir_hack
4951 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4952 || as_fn_error "could not create $ac_file" "$LINENO" 5
4954 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4955 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4956 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4958 which seems to be undefined. Please make sure it is defined." >&5
4959 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4960 which seems to be undefined. Please make sure it is defined." >&2;}
4964 -) cat "$tmp/out" && rm -f "$tmp/out";;
4965 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4967 || as_fn_error "could not create $ac_file" "$LINENO" 5
4975 case $ac_file$ac_mode in
4976 "etc/upgrade/3.8-branded-queues-extension":F) chmod ug+x $ac_file
4978 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file
4980 "etc/upgrade/split-out-cf-categories":F) chmod ug+x $ac_file
4982 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file
4984 "sbin/rt-dump-database":F) chmod ug+x $ac_file
4986 "sbin/rt-setup-database":F) chmod ug+x $ac_file
4988 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file
4990 "sbin/rt-email-digest":F) chmod ug+x $ac_file
4992 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file
4994 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file
4996 "sbin/rt-shredder":F) chmod ug+x $ac_file
4998 "sbin/rt-validator":F) chmod ug+x $ac_file
5000 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file
5002 "sbin/rt-server":F) chmod ug+x $ac_file
5004 "bin/mason_handler.fcgi":F) chmod ug+x $ac_file
5006 "bin/mason_handler.scgi":F) chmod ug+x $ac_file
5008 "bin/standalone_httpd":F) chmod ug+x $ac_file
5010 "bin/rt-crontool":F) chmod ug+x $ac_file
5012 "bin/rt-mailgate":F) chmod ug+x $ac_file
5014 "bin/rt":F) chmod ug+x $ac_file
5023 ac_clean_files=$ac_clean_files_save
5025 test $ac_write_fail = 0 ||
5026 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5029 # configure is writing to config.log, and then calls config.status.
5030 # config.status does its own redirection, appending to config.log.
5031 # Unfortunately, on DOS this fails, as config.log is still kept open
5032 # by configure, so config.status won't be able to write to it; its
5033 # output is simply discarded. So we exec the FD to /dev/null,
5034 # effectively closing config.log, so it can be properly (re)opened and
5035 # appended to by config.status. When coming back to configure, we
5036 # need to make the FD available again.
5037 if test "$no_create" != yes; then
5039 ac_config_status_args=
5040 test "$silent" = yes &&
5041 ac_config_status_args="$ac_config_status_args --quiet"
5043 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5046 # would make configure fail if this is the last instruction.
5047 $ac_cs_success || as_fn_exit $?
5049 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5051 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}