1#! /bin/sh 2# From configure.ac Revision. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.71 for RT rt-4.4.5. 5# 6# Report bugs to <rt-bugs@bestpractical.com>. 7# 8# 9# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 10# Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21as_nop=: 22if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 23then : 24 emulate sh 25 NULLCMD=: 26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 # is contrary to our usage. Disable this feature. 28 alias -g '${1+"$@"}'='"$@"' 29 setopt NO_GLOB_SUBST 30else $as_nop 31 case `(set -o) 2>/dev/null` in #( 32 *posix*) : 33 set -o posix ;; #( 34 *) : 35 ;; 36esac 37fi 38 39 40 41# Reset variables that may have inherited troublesome values from 42# the environment. 43 44# IFS needs to be set, to space, tab, and newline, in precisely that order. 45# (If _AS_PATH_WALK were called with IFS unset, it would have the 46# side effect of setting IFS to empty, thus disabling word splitting.) 47# Quoting is to prevent editors from complaining about space-tab. 48as_nl=' 49' 50export as_nl 51IFS=" "" $as_nl" 52 53PS1='$ ' 54PS2='> ' 55PS4='+ ' 56 57# Ensure predictable behavior from utilities with locale-dependent output. 58LC_ALL=C 59export LC_ALL 60LANGUAGE=C 61export LANGUAGE 62 63# We cannot yet rely on "unset" to work, but we need these variables 64# to be unset--not just set to an empty or harmless value--now, to 65# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 66# also avoids known problems related to "unset" and subshell syntax 67# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 68for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 69do eval test \${$as_var+y} \ 70 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 71done 72 73# Ensure that fds 0, 1, and 2 are open. 74if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 75if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 76if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 77 78# The user is always right. 79if ${PATH_SEPARATOR+false} :; then 80 PATH_SEPARATOR=: 81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 83 PATH_SEPARATOR=';' 84 } 85fi 86 87 88# Find who we are. Look in the path if we contain no directory separator. 89as_myself= 90case $0 in #(( 91 *[\\/]* ) as_myself=$0 ;; 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93for as_dir in $PATH 94do 95 IFS=$as_save_IFS 96 case $as_dir in #((( 97 '') as_dir=./ ;; 98 */) ;; 99 *) as_dir=$as_dir/ ;; 100 esac 101 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117 118# Use a proper internal environment variable to ensure we don't fall 119 # into an infinite loop, continuously re-executing ourselves. 120 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 121 _as_can_reexec=no; export _as_can_reexec; 122 # We cannot yet assume a decent shell, so we have to provide a 123# neutralization value for shells without unset; and this also 124# works around shells that cannot unset nonexistent variables. 125# Preserve -v and -x to the replacement shell. 126BASH_ENV=/dev/null 127ENV=/dev/null 128(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 129case $- in # (((( 130 *v*x* | *x*v* ) as_opts=-vx ;; 131 *v* ) as_opts=-v ;; 132 *x* ) as_opts=-x ;; 133 * ) as_opts= ;; 134esac 135exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 136# Admittedly, this is quite paranoid, since all the known shells bail 137# out after a failed `exec'. 138printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 139exit 255 140 fi 141 # We don't want this to propagate to other subprocesses. 142 { _as_can_reexec=; unset _as_can_reexec;} 143if test "x$CONFIG_SHELL" = x; then 144 as_bourne_compatible="as_nop=: 145if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 146then : 147 emulate sh 148 NULLCMD=: 149 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 150 # is contrary to our usage. Disable this feature. 151 alias -g '\${1+\"\$@\"}'='\"\$@\"' 152 setopt NO_GLOB_SUBST 153else \$as_nop 154 case \`(set -o) 2>/dev/null\` in #( 155 *posix*) : 156 set -o posix ;; #( 157 *) : 158 ;; 159esac 160fi 161" 162 as_required="as_fn_return () { (exit \$1); } 163as_fn_success () { as_fn_return 0; } 164as_fn_failure () { as_fn_return 1; } 165as_fn_ret_success () { return 0; } 166as_fn_ret_failure () { return 1; } 167 168exitcode=0 169as_fn_success || { exitcode=1; echo as_fn_success failed.; } 170as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 171as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 172as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 173if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 174then : 175 176else \$as_nop 177 exitcode=1; echo positional parameters were not saved. 178fi 179test x\$exitcode = x0 || exit 1 180blah=\$(echo \$(echo blah)) 181test x\"\$blah\" = xblah || exit 1 182test -x / || exit 1" 183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 187 if (eval "$as_required") 2>/dev/null 188then : 189 as_have_required=yes 190else $as_nop 191 as_have_required=no 192fi 193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194then : 195 196else $as_nop 197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 198as_found=false 199for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 200do 201 IFS=$as_save_IFS 202 case $as_dir in #((( 203 '') as_dir=./ ;; 204 */) ;; 205 *) as_dir=$as_dir/ ;; 206 esac 207 as_found=: 208 case $as_dir in #( 209 /*) 210 for as_base in sh bash ksh sh5; do 211 # Try only shells that exist, to save several forks. 212 as_shell=$as_dir$as_base 213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215then : 216 CONFIG_SHELL=$as_shell as_have_required=yes 217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218then : 219 break 2 220fi 221fi 222 done;; 223 esac 224 as_found=false 225done 226IFS=$as_save_IFS 227if $as_found 228then : 229 230else $as_nop 231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233then : 234 CONFIG_SHELL=$SHELL as_have_required=yes 235fi 236fi 237 238 239 if test "x$CONFIG_SHELL" != x 240then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno 263then : 264 printf "%s\n" "$0: This script requires a shell more modern than all" 265 printf "%s\n" "$0: the shells that I found on your system." 266 if test ${ZSH_VERSION+y} ; then 267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 269 else 270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271$0: rt-bugs@bestpractical.com about your system, including 272$0: any error possibly output before this message. Then 273$0: install a modern shell, or manually run the script 274$0: under such a shell if you do have one." 275 fi 276 exit 1 277fi 278fi 279fi 280SHELL=${CONFIG_SHELL-/bin/sh} 281export SHELL 282# Unset more variables known to interfere with behavior of common tools. 283CLICOLOR_FORCE= GREP_OPTIONS= 284unset CLICOLOR_FORCE GREP_OPTIONS 285 286## --------------------- ## 287## M4sh Shell Functions. ## 288## --------------------- ## 289# as_fn_unset VAR 290# --------------- 291# Portably unset VAR. 292as_fn_unset () 293{ 294 { eval $1=; unset $1;} 295} 296as_unset=as_fn_unset 297 298 299# as_fn_set_status STATUS 300# ----------------------- 301# Set $? to STATUS, without forking. 302as_fn_set_status () 303{ 304 return $1 305} # as_fn_set_status 306 307# as_fn_exit STATUS 308# ----------------- 309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 310as_fn_exit () 311{ 312 set +e 313 as_fn_set_status $1 314 exit $1 315} # as_fn_exit 316# as_fn_nop 317# --------- 318# Do nothing but, unlike ":", preserve the value of $?. 319as_fn_nop () 320{ 321 return $? 322} 323as_nop=as_fn_nop 324 325# as_fn_mkdir_p 326# ------------- 327# Create "$as_dir" as a directory, including parents if necessary. 328as_fn_mkdir_p () 329{ 330 331 case $as_dir in #( 332 -*) as_dir=./$as_dir;; 333 esac 334 test -d "$as_dir" || eval $as_mkdir_p || { 335 as_dirs= 336 while :; do 337 case $as_dir in #( 338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 339 *) as_qdir=$as_dir;; 340 esac 341 as_dirs="'$as_qdir' $as_dirs" 342 as_dir=`$as_dirname -- "$as_dir" || 343$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 344 X"$as_dir" : 'X\(//\)[^/]' \| \ 345 X"$as_dir" : 'X\(//\)$' \| \ 346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 347printf "%s\n" X"$as_dir" | 348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 349 s//\1/ 350 q 351 } 352 /^X\(\/\/\)[^/].*/{ 353 s//\1/ 354 q 355 } 356 /^X\(\/\/\)$/{ 357 s//\1/ 358 q 359 } 360 /^X\(\/\).*/{ 361 s//\1/ 362 q 363 } 364 s/.*/./; q'` 365 test -d "$as_dir" && break 366 done 367 test -z "$as_dirs" || eval "mkdir $as_dirs" 368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 369 370 371} # as_fn_mkdir_p 372 373# as_fn_executable_p FILE 374# ----------------------- 375# Test if FILE is an executable regular file. 376as_fn_executable_p () 377{ 378 test -f "$1" && test -x "$1" 379} # as_fn_executable_p 380# as_fn_append VAR VALUE 381# ---------------------- 382# Append the text in VALUE to the end of the definition contained in VAR. Take 383# advantage of any shell optimizations that allow amortized linear growth over 384# repeated appends, instead of the typical quadratic growth present in naive 385# implementations. 386if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 387then : 388 eval 'as_fn_append () 389 { 390 eval $1+=\$2 391 }' 392else $as_nop 393 as_fn_append () 394 { 395 eval $1=\$$1\$2 396 } 397fi # as_fn_append 398 399# as_fn_arith ARG... 400# ------------------ 401# Perform arithmetic evaluation on the ARGs, and store the result in the 402# global $as_val. Take advantage of shells that can avoid forks. The arguments 403# must be portable across $(()) and expr. 404if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 405then : 406 eval 'as_fn_arith () 407 { 408 as_val=$(( $* )) 409 }' 410else $as_nop 411 as_fn_arith () 412 { 413 as_val=`expr "$@" || test $? -eq 1` 414 } 415fi # as_fn_arith 416 417# as_fn_nop 418# --------- 419# Do nothing but, unlike ":", preserve the value of $?. 420as_fn_nop () 421{ 422 return $? 423} 424as_nop=as_fn_nop 425 426# as_fn_error STATUS ERROR [LINENO LOG_FD] 427# ---------------------------------------- 428# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 429# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 430# script with STATUS, using 1 if that was 0. 431as_fn_error () 432{ 433 as_status=$1; test $as_status -eq 0 && as_status=1 434 if test "$4"; then 435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 437 fi 438 printf "%s\n" "$as_me: error: $2" >&2 439 as_fn_exit $as_status 440} # as_fn_error 441 442if expr a : '\(a\)' >/dev/null 2>&1 && 443 test "X`expr 00001 : '.*\(...\)'`" = X001; then 444 as_expr=expr 445else 446 as_expr=false 447fi 448 449if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 450 as_basename=basename 451else 452 as_basename=false 453fi 454 455if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 456 as_dirname=dirname 457else 458 as_dirname=false 459fi 460 461as_me=`$as_basename -- "$0" || 462$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 463 X"$0" : 'X\(//\)$' \| \ 464 X"$0" : 'X\(/\)' \| . 2>/dev/null || 465printf "%s\n" X/"$0" | 466 sed '/^.*\/\([^/][^/]*\)\/*$/{ 467 s//\1/ 468 q 469 } 470 /^X\/\(\/\/\)$/{ 471 s//\1/ 472 q 473 } 474 /^X\/\(\/\).*/{ 475 s//\1/ 476 q 477 } 478 s/.*/./; q'` 479 480# Avoid depending upon Character Ranges. 481as_cr_letters='abcdefghijklmnopqrstuvwxyz' 482as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 483as_cr_Letters=$as_cr_letters$as_cr_LETTERS 484as_cr_digits='0123456789' 485as_cr_alnum=$as_cr_Letters$as_cr_digits 486 487 488 as_lineno_1=$LINENO as_lineno_1a=$LINENO 489 as_lineno_2=$LINENO as_lineno_2a=$LINENO 490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 493 sed -n ' 494 p 495 /[$]LINENO/= 496 ' <$as_myself | 497 sed ' 498 s/[$]LINENO.*/&-/ 499 t lineno 500 b 501 :lineno 502 N 503 :loop 504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 505 t loop 506 s/-\n.*// 507 ' >$as_me.lineno && 508 chmod +x "$as_me.lineno" || 509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 510 511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 512 # already done that, so ensure we don't try to do so again and fall 513 # in an infinite loop. This has already happened in practice. 514 _as_can_reexec=no; export _as_can_reexec 515 # Don't try to exec as it changes $[0], causing all sort of problems 516 # (the dirname of $[0] is not the place where we might find the 517 # original and so on. Autoconf is especially sensitive to this). 518 . "./$as_me.lineno" 519 # Exit status is that of the last command. 520 exit 521} 522 523 524# Determine whether it's possible to make 'echo' print without a newline. 525# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 526# for compatibility with existing Makefiles. 527ECHO_C= ECHO_N= ECHO_T= 528case `echo -n x` in #((((( 529-n*) 530 case `echo 'xy\c'` in 531 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 532 xy) ECHO_C='\c';; 533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 534 ECHO_T=' ';; 535 esac;; 536*) 537 ECHO_N='-n';; 538esac 539 540# For backward compatibility with old third-party macros, we provide 541# the shell variables $as_echo and $as_echo_n. New code should use 542# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 543as_echo='printf %s\n' 544as_echo_n='printf %s' 545 546 547rm -f conf$$ conf$$.exe conf$$.file 548if test -d conf$$.dir; then 549 rm -f conf$$.dir/conf$$.file 550else 551 rm -f conf$$.dir 552 mkdir conf$$.dir 2>/dev/null 553fi 554if (echo >conf$$.file) 2>/dev/null; then 555 if ln -s conf$$.file conf$$ 2>/dev/null; then 556 as_ln_s='ln -s' 557 # ... but there are two gotchas: 558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 560 # In both cases, we have to default to `cp -pR'. 561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 562 as_ln_s='cp -pR' 563 elif ln conf$$.file conf$$ 2>/dev/null; then 564 as_ln_s=ln 565 else 566 as_ln_s='cp -pR' 567 fi 568else 569 as_ln_s='cp -pR' 570fi 571rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 572rmdir conf$$.dir 2>/dev/null 573 574if mkdir -p . 2>/dev/null; then 575 as_mkdir_p='mkdir -p "$as_dir"' 576else 577 test -d ./-p && rmdir ./-p 578 as_mkdir_p=false 579fi 580 581as_test_x='test -x' 582as_executable_p=as_fn_executable_p 583 584# Sed expression to map a string onto a valid CPP name. 585as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 586 587# Sed expression to map a string onto a valid variable name. 588as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 589 590 591test -n "$DJDIR" || exec 7<&0 </dev/null 592exec 6>&1 593 594# Name of the host. 595# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 596# so uname gets run too. 597ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 598 599# 600# Initializations. 601# 602ac_default_prefix=/usr/local 603ac_clean_files= 604ac_config_libobj_dir=. 605LIBOBJS= 606cross_compiling=no 607subdirs= 608MFLAGS= 609MAKEFLAGS= 610 611# Identity of this package. 612PACKAGE_NAME='RT' 613PACKAGE_TARNAME='rt' 614PACKAGE_VERSION='rt-4.4.5' 615PACKAGE_STRING='RT rt-4.4.5' 616PACKAGE_BUGREPORT='rt-bugs@bestpractical.com' 617PACKAGE_URL='' 618 619ac_unique_file="lib/RT.pm" 620ac_default_prefix=/opt/rt4 621ac_subst_vars='LTLIBOBJS 622LIBOBJS 623RT_LOG_PATH_R 624LOCAL_PLUGIN_PATH_R 625LOCAL_LIB_PATH_R 626LOCAL_STATIC_PATH_R 627LOCAL_LEXICON_PATH_R 628MASON_LOCAL_HTML_PATH_R 629LOCAL_ETC_PATH_R 630MASON_HTML_PATH_R 631MASON_SESSION_PATH_R 632MASON_DATA_PATH_R 633RT_PLUGIN_PATH_R 634RT_STATIC_PATH_R 635RT_LEXICON_PATH_R 636RT_FONT_PATH_R 637RT_MAN_PATH_R 638RT_VAR_PATH_R 639RT_SBIN_PATH_R 640RT_BIN_PATH_R 641CONFIG_FILE_PATH_R 642RT_ETC_PATH_R 643RT_LIB_PATH_R 644RT_LOCAL_PATH_R 645RT_DOC_PATH_R 646RT_PATH_R 647RT_LOG_PATH 648LOCAL_PLUGIN_PATH 649LOCAL_LIB_PATH 650LOCAL_STATIC_PATH 651LOCAL_LEXICON_PATH 652MASON_LOCAL_HTML_PATH 653LOCAL_ETC_PATH 654MASON_HTML_PATH 655MASON_SESSION_PATH 656MASON_DATA_PATH 657RT_PLUGIN_PATH 658RT_FONT_PATH 659RT_MAN_PATH 660RT_VAR_PATH 661RT_SBIN_PATH 662RT_BIN_PATH 663CONFIG_FILE_PATH 664RT_ETC_PATH 665RT_STATIC_PATH 666RT_LEXICON_PATH 667RT_LIB_PATH 668RT_LOCAL_PATH 669RT_DOC_PATH 670RT_PATH 671RT_VERSION_PATCH 672RT_VERSION_MINOR 673RT_VERSION_MAJOR 674ATTACHMENT_STORE 675RT_EXTERNALAUTH 676RT_SMIME 677RT_SMIME_DEPS 678RT_GPG 679RT_GPG_DEPS 680RT_GD 681RT_GRAPHVIZ 682RT_DEVELOPER 683RTGROUP 684WEB_GROUP 685WEB_USER 686DB_RT_PASS 687DB_RT_USER 688DB_DATABASE 689DB_DBA 690DB_RT_HOST 691DB_PORT 692DB_HOST 693DATABASE_ENV_PREF 694DB_TYPE 695LIBS_GROUP 696LIBS_OWNER 697BIN_OWNER 698COMMENT_INPLACE_LAYOUT 699rt_layout_name 700exp_customlibdir 701customlibdir 702exp_customstaticdir 703customstaticdir 704exp_customlexdir 705customlexdir 706exp_customhtmldir 707customhtmldir 708exp_customplugindir 709customplugindir 710exp_custometcdir 711custometcdir 712exp_customdir 713customdir 714exp_sessionstatedir 715sessionstatedir 716exp_masonstatedir 717masonstatedir 718exp_logfiledir 719logfiledir 720exp_localstatedir 721exp_plugindir 722plugindir 723exp_manualdir 724manualdir 725exp_fontdir 726fontdir 727exp_htmldir 728exp_datadir 729exp_staticdir 730staticdir 731exp_lexdir 732lexdir 733exp_libdir 734exp_mandir 735exp_sysconfdir 736exp_sbindir 737exp_bindir 738exp_exec_prefix 739exp_prefix 740WEB_HANDLER 741FINDPERM 742PERL 743INSTALL_DATA 744INSTALL_SCRIPT 745INSTALL_PROGRAM 746rt_version_patch 747rt_version_minor 748rt_version_major 749CONFIGURE_INCANT 750target_alias 751host_alias 752build_alias 753LIBS 754ECHO_T 755ECHO_N 756ECHO_C 757DEFS 758mandir 759localedir 760libdir 761psdir 762pdfdir 763dvidir 764htmldir 765infodir 766docdir 767oldincludedir 768includedir 769runstatedir 770localstatedir 771sharedstatedir 772sysconfdir 773datadir 774datarootdir 775libexecdir 776sbindir 777bindir 778program_transform_name 779prefix 780exec_prefix 781PACKAGE_URL 782PACKAGE_BUGREPORT 783PACKAGE_STRING 784PACKAGE_VERSION 785PACKAGE_TARNAME 786PACKAGE_NAME 787PATH_SEPARATOR 788SHELL' 789ac_subst_files='' 790ac_user_opts=' 791enable_option_checking 792with_web_handler 793enable_layout 794with_bin_owner 795with_libs_owner 796with_libs_group 797with_db_type 798with_db_host 799with_db_port 800with_db_rt_host 801with_db_dba 802with_db_database 803with_db_rt_user 804with_db_rt_pass 805with_web_user 806with_web_group 807with_rt_group 808with_my_user_group 809with_developer 810enable_developer 811with_graphviz 812enable_graphviz 813with_gd 814enable_gd 815enable_gpg 816enable_smime 817with_externalauth 818enable_externalauth 819with_attachment_store 820' 821 ac_precious_vars='build_alias 822host_alias 823target_alias 824PERL' 825 826 827# Initialize some variables set by options. 828ac_init_help= 829ac_init_version=false 830ac_unrecognized_opts= 831ac_unrecognized_sep= 832# The variables have the same names as the options, with 833# dashes changed to underlines. 834cache_file=/dev/null 835exec_prefix=NONE 836no_create= 837no_recursion= 838prefix=NONE 839program_prefix=NONE 840program_suffix=NONE 841program_transform_name=s,x,x, 842silent= 843site= 844srcdir= 845verbose= 846x_includes=NONE 847x_libraries=NONE 848 849# Installation directory options. 850# These are left unexpanded so users can "make install exec_prefix=/foo" 851# and all the variables that are supposed to be based on exec_prefix 852# by default will actually change. 853# Use braces instead of parens because sh, perl, etc. also accept them. 854# (The list follows the same order as the GNU Coding Standards.) 855bindir='${exec_prefix}/bin' 856sbindir='${exec_prefix}/sbin' 857libexecdir='${exec_prefix}/libexec' 858datarootdir='${prefix}/share' 859datadir='${datarootdir}' 860sysconfdir='${prefix}/etc' 861sharedstatedir='${prefix}/com' 862localstatedir='${prefix}/var' 863runstatedir='${localstatedir}/run' 864includedir='${prefix}/include' 865oldincludedir='/usr/include' 866docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 867infodir='${datarootdir}/info' 868htmldir='${docdir}' 869dvidir='${docdir}' 870pdfdir='${docdir}' 871psdir='${docdir}' 872libdir='${exec_prefix}/lib' 873localedir='${datarootdir}/locale' 874mandir='${datarootdir}/man' 875 876ac_prev= 877ac_dashdash= 878for ac_option 879do 880 # If the previous option needs an argument, assign it. 881 if test -n "$ac_prev"; then 882 eval $ac_prev=\$ac_option 883 ac_prev= 884 continue 885 fi 886 887 case $ac_option in 888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 889 *=) ac_optarg= ;; 890 *) ac_optarg=yes ;; 891 esac 892 893 case $ac_dashdash$ac_option in 894 --) 895 ac_dashdash=yes ;; 896 897 -bindir | --bindir | --bindi | --bind | --bin | --bi) 898 ac_prev=bindir ;; 899 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 900 bindir=$ac_optarg ;; 901 902 -build | --build | --buil | --bui | --bu) 903 ac_prev=build_alias ;; 904 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 905 build_alias=$ac_optarg ;; 906 907 -cache-file | --cache-file | --cache-fil | --cache-fi \ 908 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 909 ac_prev=cache_file ;; 910 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 911 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 912 cache_file=$ac_optarg ;; 913 914 --config-cache | -C) 915 cache_file=config.cache ;; 916 917 -datadir | --datadir | --datadi | --datad) 918 ac_prev=datadir ;; 919 -datadir=* | --datadir=* | --datadi=* | --datad=*) 920 datadir=$ac_optarg ;; 921 922 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 923 | --dataroo | --dataro | --datar) 924 ac_prev=datarootdir ;; 925 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 926 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 927 datarootdir=$ac_optarg ;; 928 929 -disable-* | --disable-*) 930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 931 # Reject names that are not valid shell variable names. 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 933 as_fn_error $? "invalid feature name: \`$ac_useropt'" 934 ac_useropt_orig=$ac_useropt 935 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 936 case $ac_user_opts in 937 *" 938"enable_$ac_useropt" 939"*) ;; 940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 941 ac_unrecognized_sep=', ';; 942 esac 943 eval enable_$ac_useropt=no ;; 944 945 -docdir | --docdir | --docdi | --doc | --do) 946 ac_prev=docdir ;; 947 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 948 docdir=$ac_optarg ;; 949 950 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 951 ac_prev=dvidir ;; 952 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 953 dvidir=$ac_optarg ;; 954 955 -enable-* | --enable-*) 956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 957 # Reject names that are not valid shell variable names. 958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 959 as_fn_error $? "invalid feature name: \`$ac_useropt'" 960 ac_useropt_orig=$ac_useropt 961 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 962 case $ac_user_opts in 963 *" 964"enable_$ac_useropt" 965"*) ;; 966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 967 ac_unrecognized_sep=', ';; 968 esac 969 eval enable_$ac_useropt=\$ac_optarg ;; 970 971 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 972 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 973 | --exec | --exe | --ex) 974 ac_prev=exec_prefix ;; 975 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 976 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 977 | --exec=* | --exe=* | --ex=*) 978 exec_prefix=$ac_optarg ;; 979 980 -gas | --gas | --ga | --g) 981 # Obsolete; use --with-gas. 982 with_gas=yes ;; 983 984 -help | --help | --hel | --he | -h) 985 ac_init_help=long ;; 986 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 987 ac_init_help=recursive ;; 988 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 989 ac_init_help=short ;; 990 991 -host | --host | --hos | --ho) 992 ac_prev=host_alias ;; 993 -host=* | --host=* | --hos=* | --ho=*) 994 host_alias=$ac_optarg ;; 995 996 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 997 ac_prev=htmldir ;; 998 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 999 | --ht=*) 1000 htmldir=$ac_optarg ;; 1001 1002 -includedir | --includedir | --includedi | --included | --include \ 1003 | --includ | --inclu | --incl | --inc) 1004 ac_prev=includedir ;; 1005 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1006 | --includ=* | --inclu=* | --incl=* | --inc=*) 1007 includedir=$ac_optarg ;; 1008 1009 -infodir | --infodir | --infodi | --infod | --info | --inf) 1010 ac_prev=infodir ;; 1011 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1012 infodir=$ac_optarg ;; 1013 1014 -libdir | --libdir | --libdi | --libd) 1015 ac_prev=libdir ;; 1016 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1017 libdir=$ac_optarg ;; 1018 1019 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1020 | --libexe | --libex | --libe) 1021 ac_prev=libexecdir ;; 1022 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1023 | --libexe=* | --libex=* | --libe=*) 1024 libexecdir=$ac_optarg ;; 1025 1026 -localedir | --localedir | --localedi | --localed | --locale) 1027 ac_prev=localedir ;; 1028 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1029 localedir=$ac_optarg ;; 1030 1031 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1032 | --localstate | --localstat | --localsta | --localst | --locals) 1033 ac_prev=localstatedir ;; 1034 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1035 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1036 localstatedir=$ac_optarg ;; 1037 1038 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1039 ac_prev=mandir ;; 1040 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1041 mandir=$ac_optarg ;; 1042 1043 -nfp | --nfp | --nf) 1044 # Obsolete; use --without-fp. 1045 with_fp=no ;; 1046 1047 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1048 | --no-cr | --no-c | -n) 1049 no_create=yes ;; 1050 1051 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1052 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1053 no_recursion=yes ;; 1054 1055 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1056 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1057 | --oldin | --oldi | --old | --ol | --o) 1058 ac_prev=oldincludedir ;; 1059 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1060 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1061 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1062 oldincludedir=$ac_optarg ;; 1063 1064 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1065 ac_prev=prefix ;; 1066 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1067 prefix=$ac_optarg ;; 1068 1069 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1070 | --program-pre | --program-pr | --program-p) 1071 ac_prev=program_prefix ;; 1072 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1073 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1074 program_prefix=$ac_optarg ;; 1075 1076 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1077 | --program-suf | --program-su | --program-s) 1078 ac_prev=program_suffix ;; 1079 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1080 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1081 program_suffix=$ac_optarg ;; 1082 1083 -program-transform-name | --program-transform-name \ 1084 | --program-transform-nam | --program-transform-na \ 1085 | --program-transform-n | --program-transform- \ 1086 | --program-transform | --program-transfor \ 1087 | --program-transfo | --program-transf \ 1088 | --program-trans | --program-tran \ 1089 | --progr-tra | --program-tr | --program-t) 1090 ac_prev=program_transform_name ;; 1091 -program-transform-name=* | --program-transform-name=* \ 1092 | --program-transform-nam=* | --program-transform-na=* \ 1093 | --program-transform-n=* | --program-transform-=* \ 1094 | --program-transform=* | --program-transfor=* \ 1095 | --program-transfo=* | --program-transf=* \ 1096 | --program-trans=* | --program-tran=* \ 1097 | --progr-tra=* | --program-tr=* | --program-t=*) 1098 program_transform_name=$ac_optarg ;; 1099 1100 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1101 ac_prev=pdfdir ;; 1102 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1103 pdfdir=$ac_optarg ;; 1104 1105 -psdir | --psdir | --psdi | --psd | --ps) 1106 ac_prev=psdir ;; 1107 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1108 psdir=$ac_optarg ;; 1109 1110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1111 | -silent | --silent | --silen | --sile | --sil) 1112 silent=yes ;; 1113 1114 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1115 | --runstate | --runstat | --runsta | --runst | --runs \ 1116 | --run | --ru | --r) 1117 ac_prev=runstatedir ;; 1118 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1119 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1120 | --run=* | --ru=* | --r=*) 1121 runstatedir=$ac_optarg ;; 1122 1123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1124 ac_prev=sbindir ;; 1125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1126 | --sbi=* | --sb=*) 1127 sbindir=$ac_optarg ;; 1128 1129 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1131 | --sharedst | --shareds | --shared | --share | --shar \ 1132 | --sha | --sh) 1133 ac_prev=sharedstatedir ;; 1134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1137 | --sha=* | --sh=*) 1138 sharedstatedir=$ac_optarg ;; 1139 1140 -site | --site | --sit) 1141 ac_prev=site ;; 1142 -site=* | --site=* | --sit=*) 1143 site=$ac_optarg ;; 1144 1145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1146 ac_prev=srcdir ;; 1147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1148 srcdir=$ac_optarg ;; 1149 1150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1151 | --syscon | --sysco | --sysc | --sys | --sy) 1152 ac_prev=sysconfdir ;; 1153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1155 sysconfdir=$ac_optarg ;; 1156 1157 -target | --target | --targe | --targ | --tar | --ta | --t) 1158 ac_prev=target_alias ;; 1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1160 target_alias=$ac_optarg ;; 1161 1162 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1163 verbose=yes ;; 1164 1165 -version | --version | --versio | --versi | --vers | -V) 1166 ac_init_version=: ;; 1167 1168 -with-* | --with-*) 1169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1170 # Reject names that are not valid shell variable names. 1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1172 as_fn_error $? "invalid package name: \`$ac_useropt'" 1173 ac_useropt_orig=$ac_useropt 1174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1175 case $ac_user_opts in 1176 *" 1177"with_$ac_useropt" 1178"*) ;; 1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1180 ac_unrecognized_sep=', ';; 1181 esac 1182 eval with_$ac_useropt=\$ac_optarg ;; 1183 1184 -without-* | --without-*) 1185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1186 # Reject names that are not valid shell variable names. 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1188 as_fn_error $? "invalid package name: \`$ac_useropt'" 1189 ac_useropt_orig=$ac_useropt 1190 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1191 case $ac_user_opts in 1192 *" 1193"with_$ac_useropt" 1194"*) ;; 1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1196 ac_unrecognized_sep=', ';; 1197 esac 1198 eval with_$ac_useropt=no ;; 1199 1200 --x) 1201 # Obsolete; use --with-x. 1202 with_x=yes ;; 1203 1204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1205 | --x-incl | --x-inc | --x-in | --x-i) 1206 ac_prev=x_includes ;; 1207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1209 x_includes=$ac_optarg ;; 1210 1211 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1213 ac_prev=x_libraries ;; 1214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1216 x_libraries=$ac_optarg ;; 1217 1218 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1219Try \`$0 --help' for more information" 1220 ;; 1221 1222 *=*) 1223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1224 # Reject names that are not valid shell variable names. 1225 case $ac_envvar in #( 1226 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1228 esac 1229 eval $ac_envvar=\$ac_optarg 1230 export $ac_envvar ;; 1231 1232 *) 1233 # FIXME: should be removed in autoconf 3.0. 1234 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1236 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1238 ;; 1239 1240 esac 1241done 1242 1243if test -n "$ac_prev"; then 1244 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1245 as_fn_error $? "missing argument to $ac_option" 1246fi 1247 1248if test -n "$ac_unrecognized_opts"; then 1249 case $enable_option_checking in 1250 no) ;; 1251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1252 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1253 esac 1254fi 1255 1256# Check all directory arguments for consistency. 1257for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1258 datadir sysconfdir sharedstatedir localstatedir includedir \ 1259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1260 libdir localedir mandir runstatedir 1261do 1262 eval ac_val=\$$ac_var 1263 # Remove trailing slashes. 1264 case $ac_val in 1265 */ ) 1266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1267 eval $ac_var=\$ac_val;; 1268 esac 1269 # Be sure to have absolute directory names. 1270 case $ac_val in 1271 [\\/$]* | ?:[\\/]* ) continue;; 1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1273 esac 1274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1275done 1276 1277# There might be people who depend on the old broken behavior: `$host' 1278# used to hold the argument of --host etc. 1279# FIXME: To remove some day. 1280build=$build_alias 1281host=$host_alias 1282target=$target_alias 1283 1284# FIXME: To remove some day. 1285if test "x$host_alias" != x; then 1286 if test "x$build_alias" = x; then 1287 cross_compiling=maybe 1288 elif test "x$build_alias" != "x$host_alias"; then 1289 cross_compiling=yes 1290 fi 1291fi 1292 1293ac_tool_prefix= 1294test -n "$host_alias" && ac_tool_prefix=$host_alias- 1295 1296test "$silent" = yes && exec 6>/dev/null 1297 1298 1299ac_pwd=`pwd` && test -n "$ac_pwd" && 1300ac_ls_di=`ls -di .` && 1301ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1302 as_fn_error $? "working directory cannot be determined" 1303test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1304 as_fn_error $? "pwd does not report name of working directory" 1305 1306 1307# Find the source files, if location was not specified. 1308if test -z "$srcdir"; then 1309 ac_srcdir_defaulted=yes 1310 # Try the directory containing this script, then the parent directory. 1311 ac_confdir=`$as_dirname -- "$as_myself" || 1312$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1313 X"$as_myself" : 'X\(//\)[^/]' \| \ 1314 X"$as_myself" : 'X\(//\)$' \| \ 1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1316printf "%s\n" X"$as_myself" | 1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1318 s//\1/ 1319 q 1320 } 1321 /^X\(\/\/\)[^/].*/{ 1322 s//\1/ 1323 q 1324 } 1325 /^X\(\/\/\)$/{ 1326 s//\1/ 1327 q 1328 } 1329 /^X\(\/\).*/{ 1330 s//\1/ 1331 q 1332 } 1333 s/.*/./; q'` 1334 srcdir=$ac_confdir 1335 if test ! -r "$srcdir/$ac_unique_file"; then 1336 srcdir=.. 1337 fi 1338else 1339 ac_srcdir_defaulted=no 1340fi 1341if test ! -r "$srcdir/$ac_unique_file"; then 1342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1344fi 1345ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1346ac_abs_confdir=`( 1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1348 pwd)` 1349# When building in place, set srcdir=. 1350if test "$ac_abs_confdir" = "$ac_pwd"; then 1351 srcdir=. 1352fi 1353# Remove unnecessary trailing slashes from srcdir. 1354# Double slashes in file names in object file debugging info 1355# mess up M-x gdb in Emacs. 1356case $srcdir in 1357*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1358esac 1359for ac_var in $ac_precious_vars; do 1360 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1361 eval ac_env_${ac_var}_value=\$${ac_var} 1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1363 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1364done 1365 1366# 1367# Report the --help message. 1368# 1369if test "$ac_init_help" = "long"; then 1370 # Omit some internal or obsolete options to make the list less imposing. 1371 # This message is too long to be a string in the A/UX 3.1 sh. 1372 cat <<_ACEOF 1373\`configure' configures RT rt-4.4.5 to adapt to many kinds of systems. 1374 1375Usage: $0 [OPTION]... [VAR=VALUE]... 1376 1377To assign environment variables (e.g., CC, CFLAGS...), specify them as 1378VAR=VALUE. See below for descriptions of some of the useful variables. 1379 1380Defaults for the options are specified in brackets. 1381 1382Configuration: 1383 -h, --help display this help and exit 1384 --help=short display options specific to this package 1385 --help=recursive display the short help of all the included packages 1386 -V, --version display version information and exit 1387 -q, --quiet, --silent do not print \`checking ...' messages 1388 --cache-file=FILE cache test results in FILE [disabled] 1389 -C, --config-cache alias for \`--cache-file=config.cache' 1390 -n, --no-create do not create output files 1391 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1392 1393Installation directories: 1394 --prefix=PREFIX install architecture-independent files in PREFIX 1395 [$ac_default_prefix] 1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1397 [PREFIX] 1398 1399By default, \`make install' will install all the files in 1400\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1401an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1402for instance \`--prefix=\$HOME'. 1403 1404For better control, use the options below. 1405 1406Fine tuning of the installation directories: 1407 --bindir=DIR user executables [EPREFIX/bin] 1408 --sbindir=DIR system admin executables [EPREFIX/sbin] 1409 --libexecdir=DIR program executables [EPREFIX/libexec] 1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1413 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1414 --libdir=DIR object code libraries [EPREFIX/lib] 1415 --includedir=DIR C header files [PREFIX/include] 1416 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1419 --infodir=DIR info documentation [DATAROOTDIR/info] 1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1421 --mandir=DIR man documentation [DATAROOTDIR/man] 1422 --docdir=DIR documentation root [DATAROOTDIR/doc/rt] 1423 --htmldir=DIR html documentation [DOCDIR] 1424 --dvidir=DIR dvi documentation [DOCDIR] 1425 --pdfdir=DIR pdf documentation [DOCDIR] 1426 --psdir=DIR ps documentation [DOCDIR] 1427_ACEOF 1428 1429 cat <<\_ACEOF 1430_ACEOF 1431fi 1432 1433if test -n "$ac_init_help"; then 1434 case $ac_init_help in 1435 short | recursive ) echo "Configuration of RT rt-4.4.5:";; 1436 esac 1437 cat <<\_ACEOF 1438 1439Optional Features: 1440 --disable-option-checking ignore unrecognized --enable/--with options 1441 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1442 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1443 --enable-layout=LAYOUT Use a specific directory layout (Default: relative) 1444 --enable-developer Add dependencies needed for testing and developing 1445 RT 1446 --enable-graphviz Turns on support for RT's GraphViz dependency charts 1447 --enable-gd Turns on support for RT's GD pie and bar charts 1448 --enable-gpg Turns on GNU Privacy Guard (GPG) support 1449 --enable-smime Turns on Secure MIME (SMIME) support 1450 --enable-externalauth Add dependencies needed for external auth 1451 1452Optional Packages: 1453 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1454 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1455 --with-web-handler=LIST comma separated list of web-handlers RT will be able 1456 to use. Default is fastcgi. Valid values are 1457 modperl1, modperl2, fastcgi and standalone. To 1458 successfully run RT you need only one. 1459 --with-bin-owner=OWNER user that will own RT binaries (default root) 1460 --with-libs-owner=OWNER user that will own RT libraries (default root) 1461 --with-libs-group=GROUP group that will own RT libraries (default root) 1462 --with-db-type=TYPE sort of database RT will use (default: mysql) 1463 (mysql, Pg, Oracle and SQLite are valid) 1464 --with-db-host=HOSTNAME FQDN of database server (default: localhost) 1465 --with-db-port=PORT port on which the database listens on 1466 --with-db-rt-host=HOSTNAME 1467 FQDN of RT server which talks to the database server 1468 (default: localhost) 1469 --with-db-dba=DBA name of database administrator (default: root or 1470 postgres) 1471 --with-db-database=DBNAME 1472 name of the database to use (default: rt4) 1473 --with-db-rt-user=DBUSER 1474 name of database user (default: rt_user) 1475 --with-db-rt-pass=PASSWORD 1476 password for database user (default: rt_pass) 1477 --with-web-user=USER user the web server runs as (default: www) 1478 --with-web-group=GROUP group the web server runs as (default: www) 1479 --with-rt-group=GROUP group to own all files (default: rt) 1480 --with-my-user-group set all users and groups to current user/group 1481 1482 --with-attachment-store=TYPE 1483 which attachment storage RT will use for attachments 1484 (default: database) (database, disk, S3 and Dropbox 1485 are valid) 1486 1487Some influential environment variables: 1488 PERL Perl interpreter command 1489 1490Use these variables to override the choices made by `configure' or to help 1491it to find libraries and programs with nonstandard names/locations. 1492 1493Report bugs to <rt-bugs@bestpractical.com>. 1494_ACEOF 1495ac_status=$? 1496fi 1497 1498if test "$ac_init_help" = "recursive"; then 1499 # If there are subdirs, report their specific --help. 1500 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1501 test -d "$ac_dir" || 1502 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1503 continue 1504 ac_builddir=. 1505 1506case "$ac_dir" in 1507.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1508*) 1509 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1510 # A ".." for each directory in $ac_dir_suffix. 1511 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1512 case $ac_top_builddir_sub in 1513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1515 esac ;; 1516esac 1517ac_abs_top_builddir=$ac_pwd 1518ac_abs_builddir=$ac_pwd$ac_dir_suffix 1519# for backward compatibility: 1520ac_top_builddir=$ac_top_build_prefix 1521 1522case $srcdir in 1523 .) # We are building in place. 1524 ac_srcdir=. 1525 ac_top_srcdir=$ac_top_builddir_sub 1526 ac_abs_top_srcdir=$ac_pwd ;; 1527 [\\/]* | ?:[\\/]* ) # Absolute name. 1528 ac_srcdir=$srcdir$ac_dir_suffix; 1529 ac_top_srcdir=$srcdir 1530 ac_abs_top_srcdir=$srcdir ;; 1531 *) # Relative name. 1532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1533 ac_top_srcdir=$ac_top_build_prefix$srcdir 1534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1535esac 1536ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1537 1538 cd "$ac_dir" || { ac_status=$?; continue; } 1539 # Check for configure.gnu first; this name is used for a wrapper for 1540 # Metaconfig's "Configure" on case-insensitive file systems. 1541 if test -f "$ac_srcdir/configure.gnu"; then 1542 echo && 1543 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1544 elif test -f "$ac_srcdir/configure"; then 1545 echo && 1546 $SHELL "$ac_srcdir/configure" --help=recursive 1547 else 1548 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1549 fi || ac_status=$? 1550 cd "$ac_pwd" || { ac_status=$?; break; } 1551 done 1552fi 1553 1554test -n "$ac_init_help" && exit $ac_status 1555if $ac_init_version; then 1556 cat <<\_ACEOF 1557RT configure rt-4.4.5 1558generated by GNU Autoconf 2.71 1559 1560Copyright (C) 2021 Free Software Foundation, Inc. 1561This configure script is free software; the Free Software Foundation 1562gives unlimited permission to copy, distribute and modify it. 1563_ACEOF 1564 exit 1565fi 1566 1567## ------------------------ ## 1568## Autoconf initialization. ## 1569## ------------------------ ## 1570ac_configure_args_raw= 1571for ac_arg 1572do 1573 case $ac_arg in 1574 *\'*) 1575 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1576 esac 1577 as_fn_append ac_configure_args_raw " '$ac_arg'" 1578done 1579 1580case $ac_configure_args_raw in 1581 *$as_nl*) 1582 ac_safe_unquote= ;; 1583 *) 1584 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1585 ac_unsafe_a="$ac_unsafe_z#~" 1586 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1587 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1588esac 1589 1590cat >config.log <<_ACEOF 1591This file contains any messages produced by compilers while 1592running configure, to aid debugging if configure makes a mistake. 1593 1594It was created by RT $as_me rt-4.4.5, which was 1595generated by GNU Autoconf 2.71. Invocation command line was 1596 1597 $ $0$ac_configure_args_raw 1598 1599_ACEOF 1600exec 5>>config.log 1601{ 1602cat <<_ASUNAME 1603## --------- ## 1604## Platform. ## 1605## --------- ## 1606 1607hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1608uname -m = `(uname -m) 2>/dev/null || echo unknown` 1609uname -r = `(uname -r) 2>/dev/null || echo unknown` 1610uname -s = `(uname -s) 2>/dev/null || echo unknown` 1611uname -v = `(uname -v) 2>/dev/null || echo unknown` 1612 1613/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1614/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1615 1616/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1617/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1618/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1619/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1620/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1621/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1622/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1623 1624_ASUNAME 1625 1626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1627for as_dir in $PATH 1628do 1629 IFS=$as_save_IFS 1630 case $as_dir in #((( 1631 '') as_dir=./ ;; 1632 */) ;; 1633 *) as_dir=$as_dir/ ;; 1634 esac 1635 printf "%s\n" "PATH: $as_dir" 1636 done 1637IFS=$as_save_IFS 1638 1639} >&5 1640 1641cat >&5 <<_ACEOF 1642 1643 1644## ----------- ## 1645## Core tests. ## 1646## ----------- ## 1647 1648_ACEOF 1649 1650 1651# Keep a trace of the command line. 1652# Strip out --no-create and --no-recursion so they do not pile up. 1653# Strip out --silent because we don't want to record it for future runs. 1654# Also quote any args containing shell meta-characters. 1655# Make two passes to allow for proper duplicate-argument suppression. 1656ac_configure_args= 1657ac_configure_args0= 1658ac_configure_args1= 1659ac_must_keep_next=false 1660for ac_pass in 1 2 1661do 1662 for ac_arg 1663 do 1664 case $ac_arg in 1665 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1667 | -silent | --silent | --silen | --sile | --sil) 1668 continue ;; 1669 *\'*) 1670 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1671 esac 1672 case $ac_pass in 1673 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1674 2) 1675 as_fn_append ac_configure_args1 " '$ac_arg'" 1676 if test $ac_must_keep_next = true; then 1677 ac_must_keep_next=false # Got value, back to normal. 1678 else 1679 case $ac_arg in 1680 *=* | --config-cache | -C | -disable-* | --disable-* \ 1681 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1682 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1683 | -with-* | --with-* | -without-* | --without-* | --x) 1684 case "$ac_configure_args0 " in 1685 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1686 esac 1687 ;; 1688 -* ) ac_must_keep_next=true ;; 1689 esac 1690 fi 1691 as_fn_append ac_configure_args " '$ac_arg'" 1692 ;; 1693 esac 1694 done 1695done 1696{ ac_configure_args0=; unset ac_configure_args0;} 1697{ ac_configure_args1=; unset ac_configure_args1;} 1698 1699# When interrupted or exit'd, cleanup temporary files, and complete 1700# config.log. We remove comments because anyway the quotes in there 1701# would cause problems or look ugly. 1702# WARNING: Use '\'' to represent an apostrophe within the trap. 1703# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1704trap 'exit_status=$? 1705 # Sanitize IFS. 1706 IFS=" "" $as_nl" 1707 # Save into config.log some information that might help in debugging. 1708 { 1709 echo 1710 1711 printf "%s\n" "## ---------------- ## 1712## Cache variables. ## 1713## ---------------- ##" 1714 echo 1715 # The following way of writing the cache mishandles newlines in values, 1716( 1717 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1718 eval ac_val=\$$ac_var 1719 case $ac_val in #( 1720 *${as_nl}*) 1721 case $ac_var in #( 1722 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1723printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1724 esac 1725 case $ac_var in #( 1726 _ | IFS | as_nl) ;; #( 1727 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1728 *) { eval $ac_var=; unset $ac_var;} ;; 1729 esac ;; 1730 esac 1731 done 1732 (set) 2>&1 | 1733 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1734 *${as_nl}ac_space=\ *) 1735 sed -n \ 1736 "s/'\''/'\''\\\\'\'''\''/g; 1737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1738 ;; #( 1739 *) 1740 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1741 ;; 1742 esac | 1743 sort 1744) 1745 echo 1746 1747 printf "%s\n" "## ----------------- ## 1748## Output variables. ## 1749## ----------------- ##" 1750 echo 1751 for ac_var in $ac_subst_vars 1752 do 1753 eval ac_val=\$$ac_var 1754 case $ac_val in 1755 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1756 esac 1757 printf "%s\n" "$ac_var='\''$ac_val'\''" 1758 done | sort 1759 echo 1760 1761 if test -n "$ac_subst_files"; then 1762 printf "%s\n" "## ------------------- ## 1763## File substitutions. ## 1764## ------------------- ##" 1765 echo 1766 for ac_var in $ac_subst_files 1767 do 1768 eval ac_val=\$$ac_var 1769 case $ac_val in 1770 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1771 esac 1772 printf "%s\n" "$ac_var='\''$ac_val'\''" 1773 done | sort 1774 echo 1775 fi 1776 1777 if test -s confdefs.h; then 1778 printf "%s\n" "## ----------- ## 1779## confdefs.h. ## 1780## ----------- ##" 1781 echo 1782 cat confdefs.h 1783 echo 1784 fi 1785 test "$ac_signal" != 0 && 1786 printf "%s\n" "$as_me: caught signal $ac_signal" 1787 printf "%s\n" "$as_me: exit $exit_status" 1788 } >&5 1789 rm -f core *.core core.conftest.* && 1790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1791 exit $exit_status 1792' 0 1793for ac_signal in 1 2 13 15; do 1794 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1795done 1796ac_signal=0 1797 1798# confdefs.h avoids OS command line length limits that DEFS can exceed. 1799rm -f -r conftest* confdefs.h 1800 1801printf "%s\n" "/* confdefs.h */" > confdefs.h 1802 1803# Predefined preprocessor variables. 1804 1805printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1806 1807printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1808 1809printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1810 1811printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1812 1813printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1814 1815printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1816 1817 1818# Let the site file select an alternate cache file if it wants to. 1819# Prefer an explicitly selected file to automatically selected ones. 1820if test -n "$CONFIG_SITE"; then 1821 ac_site_files="$CONFIG_SITE" 1822elif test "x$prefix" != xNONE; then 1823 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1824else 1825 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1826fi 1827 1828for ac_site_file in $ac_site_files 1829do 1830 case $ac_site_file in #( 1831 */*) : 1832 ;; #( 1833 *) : 1834 ac_site_file=./$ac_site_file ;; 1835esac 1836 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1838printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1839 sed 's/^/| /' "$ac_site_file" >&5 1840 . "$ac_site_file" \ 1841 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1842printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1843as_fn_error $? "failed to load site script $ac_site_file 1844See \`config.log' for more details" "$LINENO" 5; } 1845 fi 1846done 1847 1848if test -r "$cache_file"; then 1849 # Some versions of bash will fail to source /dev/null (special files 1850 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1851 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1853printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1854 case $cache_file in 1855 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1856 *) . "./$cache_file";; 1857 esac 1858 fi 1859else 1860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1861printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1862 >$cache_file 1863fi 1864 1865 1866# Auxiliary files required by this configure script. 1867ac_aux_files="install-sh" 1868 1869# Locations in which to look for auxiliary files. 1870ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1871 1872# Search for a directory containing all of the required auxiliary files, 1873# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1874# If we don't find one directory that contains all the files we need, 1875# we report the set of missing files from the *first* directory in 1876# $ac_aux_dir_candidates and give up. 1877ac_missing_aux_files="" 1878ac_first_candidate=: 1879printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1881as_found=false 1882for as_dir in $ac_aux_dir_candidates 1883do 1884 IFS=$as_save_IFS 1885 case $as_dir in #((( 1886 '') as_dir=./ ;; 1887 */) ;; 1888 *) as_dir=$as_dir/ ;; 1889 esac 1890 as_found=: 1891 1892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1893 ac_aux_dir_found=yes 1894 ac_install_sh= 1895 for ac_aux in $ac_aux_files 1896 do 1897 # As a special case, if "install-sh" is required, that requirement 1898 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1899 # and $ac_install_sh is set appropriately for whichever one is found. 1900 if test x"$ac_aux" = x"install-sh" 1901 then 1902 if test -f "${as_dir}install-sh"; then 1903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1904 ac_install_sh="${as_dir}install-sh -c" 1905 elif test -f "${as_dir}install.sh"; then 1906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1907 ac_install_sh="${as_dir}install.sh -c" 1908 elif test -f "${as_dir}shtool"; then 1909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1910 ac_install_sh="${as_dir}shtool install -c" 1911 else 1912 ac_aux_dir_found=no 1913 if $ac_first_candidate; then 1914 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1915 else 1916 break 1917 fi 1918 fi 1919 else 1920 if test -f "${as_dir}${ac_aux}"; then 1921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1922 else 1923 ac_aux_dir_found=no 1924 if $ac_first_candidate; then 1925 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1926 else 1927 break 1928 fi 1929 fi 1930 fi 1931 done 1932 if test "$ac_aux_dir_found" = yes; then 1933 ac_aux_dir="$as_dir" 1934 break 1935 fi 1936 ac_first_candidate=false 1937 1938 as_found=false 1939done 1940IFS=$as_save_IFS 1941if $as_found 1942then : 1943 1944else $as_nop 1945 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 1946fi 1947 1948 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. 1953if test -f "${ac_aux_dir}config.guess"; then 1954 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1955fi 1956if test -f "${ac_aux_dir}config.sub"; then 1957 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1958fi 1959if test -f "$ac_aux_dir/configure"; then 1960 ac_configure="$SHELL ${ac_aux_dir}configure" 1961fi 1962 1963# Check that the precious variables saved in the cache have kept the same 1964# value. 1965ac_cache_corrupted=false 1966for ac_var in $ac_precious_vars; do 1967 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1968 eval ac_new_set=\$ac_env_${ac_var}_set 1969 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1970 eval ac_new_val=\$ac_env_${ac_var}_value 1971 case $ac_old_set,$ac_new_set in 1972 set,) 1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1974printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1975 ac_cache_corrupted=: ;; 1976 ,set) 1977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1978printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1979 ac_cache_corrupted=: ;; 1980 ,);; 1981 *) 1982 if test "x$ac_old_val" != "x$ac_new_val"; then 1983 # differences in whitespace do not lead to failure. 1984 ac_old_val_w=`echo x $ac_old_val` 1985 ac_new_val_w=`echo x $ac_new_val` 1986 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1988printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1989 ac_cache_corrupted=: 1990 else 1991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1992printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1993 eval $ac_var=\$ac_old_val 1994 fi 1995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1996printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 1997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1998printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1999 fi;; 2000 esac 2001 # Pass precious variables to config.status. 2002 if test "$ac_new_set" = set; then 2003 case $ac_new_val in 2004 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2005 *) ac_arg=$ac_var=$ac_new_val ;; 2006 esac 2007 case " $ac_configure_args " in 2008 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2009 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2010 esac 2011 fi 2012done 2013if $ac_cache_corrupted; then 2014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2015printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2017printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2018 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2019 and start over" "$LINENO" 5 2020fi 2021## -------------------- ## 2022## Main body of script. ## 2023## -------------------- ## 2024 2025ac_ext=c 2026ac_cpp='$CPP $CPPFLAGS' 2027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2029ac_compiler_gnu=$ac_cv_c_compiler_gnu 2030 2031 2032 2033 2034CONFIGURE_INCANT="$0 $@" 2035 2036 2037rt_version_major=4 2038 2039rt_version_minor=4 2040 2041rt_version_patch=5 2042 2043test "x$rt_version_major" = 'x' && rt_version_major=0 2044test "x$rt_version_minor" = 'x' && rt_version_minor=0 2045test "x$rt_version_patch" = 'x' && rt_version_patch=0 2046 2047 2048 2049 # Find a good install program. We prefer a C program (faster), 2050# so one script is as good as another. But avoid the broken or 2051# incompatible versions: 2052# SysV /etc/install, /usr/sbin/install 2053# SunOS /usr/etc/install 2054# IRIX /sbin/install 2055# AIX /bin/install 2056# AmigaOS /C/install, which installs bootblocks on floppy discs 2057# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2058# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2059# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2060# OS/2's system install, which has a completely different semantic 2061# ./install, which can be erroneously created by make from ./install.sh. 2062# Reject install programs that cannot install multiple files. 2063{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2064printf %s "checking for a BSD-compatible install... " >&6; } 2065if test -z "$INSTALL"; then 2066if test ${ac_cv_path_install+y} 2067then : 2068 printf %s "(cached) " >&6 2069else $as_nop 2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071for as_dir in $PATH 2072do 2073 IFS=$as_save_IFS 2074 case $as_dir in #((( 2075 '') as_dir=./ ;; 2076 */) ;; 2077 *) as_dir=$as_dir/ ;; 2078 esac 2079 # Account for fact that we put trailing slashes in our PATH walk. 2080case $as_dir in #(( 2081 ./ | /[cC]/* | \ 2082 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2083 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2084 /usr/ucb/* ) ;; 2085 *) 2086 # OSF1 and SCO ODT 3.0 have their own names for install. 2087 # Don't use installbsd from OSF since it installs stuff as root 2088 # by default. 2089 for ac_prog in ginstall scoinst install; do 2090 for ac_exec_ext in '' $ac_executable_extensions; do 2091 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2092 if test $ac_prog = install && 2093 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2094 # AIX install. It has an incompatible calling convention. 2095 : 2096 elif test $ac_prog = install && 2097 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2098 # program-specific install script used by HP pwplus--don't use. 2099 : 2100 else 2101 rm -rf conftest.one conftest.two conftest.dir 2102 echo one > conftest.one 2103 echo two > conftest.two 2104 mkdir conftest.dir 2105 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2106 test -s conftest.one && test -s conftest.two && 2107 test -s conftest.dir/conftest.one && 2108 test -s conftest.dir/conftest.two 2109 then 2110 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2111 break 3 2112 fi 2113 fi 2114 fi 2115 done 2116 done 2117 ;; 2118esac 2119 2120 done 2121IFS=$as_save_IFS 2122 2123rm -rf conftest.one conftest.two conftest.dir 2124 2125fi 2126 if test ${ac_cv_path_install+y}; then 2127 INSTALL=$ac_cv_path_install 2128 else 2129 # As a last resort, use the slow shell script. Don't cache a 2130 # value for INSTALL within a source directory, because that will 2131 # break other packages using the cache if that directory is 2132 # removed, or if the value is a relative name. 2133 INSTALL=$ac_install_sh 2134 fi 2135fi 2136{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2137printf "%s\n" "$INSTALL" >&6; } 2138 2139# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2140# It thinks the first close brace ends the variable substitution. 2141test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2142 2143test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2144 2145test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2146 2147 2148# Extract the first word of "perl", so it can be a program name with args. 2149set dummy perl; ac_word=$2 2150{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2151printf %s "checking for $ac_word... " >&6; } 2152if test ${ac_cv_path_PERL+y} 2153then : 2154 printf %s "(cached) " >&6 2155else $as_nop 2156 case $PERL in 2157 [\\/]* | ?:[\\/]*) 2158 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 2159 ;; 2160 *) 2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2162for as_dir in $PATH 2163do 2164 IFS=$as_save_IFS 2165 case $as_dir in #((( 2166 '') as_dir=./ ;; 2167 */) ;; 2168 *) as_dir=$as_dir/ ;; 2169 esac 2170 for ac_exec_ext in '' $ac_executable_extensions; do 2171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2172 ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext" 2173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2174 break 2 2175 fi 2176done 2177 done 2178IFS=$as_save_IFS 2179 2180 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found" 2181 ;; 2182esac 2183fi 2184PERL=$ac_cv_path_PERL 2185if test -n "$PERL"; then 2186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 2187printf "%s\n" "$PERL" >&6; } 2188else 2189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2190printf "%s\n" "no" >&6; } 2191fi 2192 2193 2194if test "$PERL" = 'not found'; then 2195 as_fn_error $? "cannot use $PACKAGE_NAME without perl" "$LINENO" 5 2196fi 2197 2198{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking checking version of find" >&5 2199printf %s "checking checking version of find... " >&6; } 2200if find --version 2>&1 | grep 'GNU' 2201then : 2202 FINDPERM="/" 2203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: configuring for GNU find" >&5 2204printf "%s\n" "configuring for GNU find" >&6; } 2205else $as_nop 2206 FINDPERM="+" 2207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: configuring for BSD find" >&5 2208printf "%s\n" "configuring for BSD find" >&6; } 2209fi 2210 2211 2212 2213 2214# Check whether --with-web-handler was given. 2215if test ${with_web_handler+y} 2216then : 2217 withval=$with_web_handler; WEB_HANDLER=$withval 2218else $as_nop 2219 WEB_HANDLER=fastcgi 2220fi 2221 2222my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi|fcgid|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV[0]' $WEB_HANDLER) 2223if test "$my_web_handler_test" != "ok"; then 2224 as_fn_error $? "Only modperl1, modperl2, fastcgi, fcgid and standalone are valid web-handlers" "$LINENO" 5 2225fi 2226 2227 2228 2229 2230# Check whether --enable-layout was given. 2231if test ${enable_layout+y} 2232then : 2233 enableval=$enable_layout; LAYOUT=$enableval 2234fi 2235 2236 2237if test "x$LAYOUT" = "x"; then 2238 LAYOUT="relative" 2239fi 2240 2241 if test ! -f $srcdir/config.layout; then 2242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Layout file $srcdir/config.layout not found" >&5 2243printf "%s\n" "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;} 2244 rt_layout_name=no 2245 else 2246 pldconf=./config.pld 2247 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e ' 2248 s/.*<Layout\s+$layout>//gims; 2249 s/\<\/Layout\>.*//s; 2250 s/^#.*$//m; 2251 s/^\s+//gim; 2252 s/\s+$/\n/gim; 2253 s/\+$/\/rt44/gim; 2254 # m4 will not let us just use $srcdir/config.layout, we need $1 2255 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim; 2256 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim; 2257 ' < $srcdir/config.layout > $pldconf 2258 2259 if test -s $pldconf; then 2260 rt_layout_name=$LAYOUT 2261 . $pldconf 2262 2263 for var in prefix exec_prefix bindir sbindir \ 2264 sysconfdir mandir libdir datadir htmldir fontdir\ 2265 lexdir staticdir localstatedir logfiledir masonstatedir \ 2266 sessionstatedir customdir custometcdir customhtmldir \ 2267 customlexdir customstaticdir customplugindir customlibdir manualdir; do 2268 eval "val=\"\$$var\"" 2269 val=`echo $val | sed -e 's:\(.\)/*$:\1:'` 2270 val=`echo $val | 2271 sed -e 's:[\$]\([a-z_]*\):$\1:g'` 2272 eval "$var='$val'" 2273 done 2274 2275 else 2276 rt_layout_name=no 2277 fi 2278 #rm $pldconf 2279 fi 2280 2281 2282 ap_last='' 2283 ap_cur='$prefix' 2284 while test "x${ap_cur}" != "x${ap_last}"; do 2285 ap_last="${ap_cur}" 2286 ap_cur=`eval "echo ${ap_cur}"` 2287 done 2288 exp_prefix="${ap_cur}" 2289 2290 2291 2292 2293 2294 2295 ap_last='' 2296 ap_cur='$exec_prefix' 2297 while test "x${ap_cur}" != "x${ap_last}"; do 2298 ap_last="${ap_cur}" 2299 ap_cur=`eval "echo ${ap_cur}"` 2300 done 2301 exp_exec_prefix="${ap_cur}" 2302 2303 2304 2305 2306 2307 2308 ap_last='' 2309 ap_cur='$bindir' 2310 while test "x${ap_cur}" != "x${ap_last}"; do 2311 ap_last="${ap_cur}" 2312 ap_cur=`eval "echo ${ap_cur}"` 2313 done 2314 exp_bindir="${ap_cur}" 2315 2316 2317 2318 2319 2320 2321 ap_last='' 2322 ap_cur='$sbindir' 2323 while test "x${ap_cur}" != "x${ap_last}"; do 2324 ap_last="${ap_cur}" 2325 ap_cur=`eval "echo ${ap_cur}"` 2326 done 2327 exp_sbindir="${ap_cur}" 2328 2329 2330 2331 2332 2333 2334 ap_last='' 2335 ap_cur='$sysconfdir' 2336 while test "x${ap_cur}" != "x${ap_last}"; do 2337 ap_last="${ap_cur}" 2338 ap_cur=`eval "echo ${ap_cur}"` 2339 done 2340 exp_sysconfdir="${ap_cur}" 2341 2342 2343 2344 2345 2346 2347 ap_last='' 2348 ap_cur='$mandir' 2349 while test "x${ap_cur}" != "x${ap_last}"; do 2350 ap_last="${ap_cur}" 2351 ap_cur=`eval "echo ${ap_cur}"` 2352 done 2353 exp_mandir="${ap_cur}" 2354 2355 2356 2357 2358 2359 2360 ap_last='' 2361 ap_cur='$libdir' 2362 while test "x${ap_cur}" != "x${ap_last}"; do 2363 ap_last="${ap_cur}" 2364 ap_cur=`eval "echo ${ap_cur}"` 2365 done 2366 exp_libdir="${ap_cur}" 2367 2368 2369 2370 2371 2372 2373 ap_last='' 2374 ap_cur='$lexdir' 2375 while test "x${ap_cur}" != "x${ap_last}"; do 2376 ap_last="${ap_cur}" 2377 ap_cur=`eval "echo ${ap_cur}"` 2378 done 2379 exp_lexdir="${ap_cur}" 2380 2381 2382 2383 2384 2385 2386 ap_last='' 2387 ap_cur='$staticdir' 2388 while test "x${ap_cur}" != "x${ap_last}"; do 2389 ap_last="${ap_cur}" 2390 ap_cur=`eval "echo ${ap_cur}"` 2391 done 2392 exp_staticdir="${ap_cur}" 2393 2394 2395 2396 2397 2398 2399 ap_last='' 2400 ap_cur='$datadir' 2401 while test "x${ap_cur}" != "x${ap_last}"; do 2402 ap_last="${ap_cur}" 2403 ap_cur=`eval "echo ${ap_cur}"` 2404 done 2405 exp_datadir="${ap_cur}" 2406 2407 2408 2409 2410 2411 2412 ap_last='' 2413 ap_cur='$htmldir' 2414 while test "x${ap_cur}" != "x${ap_last}"; do 2415 ap_last="${ap_cur}" 2416 ap_cur=`eval "echo ${ap_cur}"` 2417 done 2418 exp_htmldir="${ap_cur}" 2419 2420 2421 2422 2423 2424 2425 ap_last='' 2426 ap_cur='$fontdir' 2427 while test "x${ap_cur}" != "x${ap_last}"; do 2428 ap_last="${ap_cur}" 2429 ap_cur=`eval "echo ${ap_cur}"` 2430 done 2431 exp_fontdir="${ap_cur}" 2432 2433 2434 2435 2436 2437 2438 ap_last='' 2439 ap_cur='$manualdir' 2440 while test "x${ap_cur}" != "x${ap_last}"; do 2441 ap_last="${ap_cur}" 2442 ap_cur=`eval "echo ${ap_cur}"` 2443 done 2444 exp_manualdir="${ap_cur}" 2445 2446 2447 2448 2449 2450 2451 ap_last='' 2452 ap_cur='$plugindir' 2453 while test "x${ap_cur}" != "x${ap_last}"; do 2454 ap_last="${ap_cur}" 2455 ap_cur=`eval "echo ${ap_cur}"` 2456 done 2457 exp_plugindir="${ap_cur}" 2458 2459 2460 2461 2462 2463 2464 ap_last='' 2465 ap_cur='$localstatedir' 2466 while test "x${ap_cur}" != "x${ap_last}"; do 2467 ap_last="${ap_cur}" 2468 ap_cur=`eval "echo ${ap_cur}"` 2469 done 2470 exp_localstatedir="${ap_cur}" 2471 2472 2473 2474 2475 2476 2477 ap_last='' 2478 ap_cur='$logfiledir' 2479 while test "x${ap_cur}" != "x${ap_last}"; do 2480 ap_last="${ap_cur}" 2481 ap_cur=`eval "echo ${ap_cur}"` 2482 done 2483 exp_logfiledir="${ap_cur}" 2484 2485 2486 2487 2488 2489 2490 ap_last='' 2491 ap_cur='$masonstatedir' 2492 while test "x${ap_cur}" != "x${ap_last}"; do 2493 ap_last="${ap_cur}" 2494 ap_cur=`eval "echo ${ap_cur}"` 2495 done 2496 exp_masonstatedir="${ap_cur}" 2497 2498 2499 2500 2501 2502 2503 ap_last='' 2504 ap_cur='$sessionstatedir' 2505 while test "x${ap_cur}" != "x${ap_last}"; do 2506 ap_last="${ap_cur}" 2507 ap_cur=`eval "echo ${ap_cur}"` 2508 done 2509 exp_sessionstatedir="${ap_cur}" 2510 2511 2512 2513 2514 2515 2516 ap_last='' 2517 ap_cur='$customdir' 2518 while test "x${ap_cur}" != "x${ap_last}"; do 2519 ap_last="${ap_cur}" 2520 ap_cur=`eval "echo ${ap_cur}"` 2521 done 2522 exp_customdir="${ap_cur}" 2523 2524 2525 2526 2527 2528 2529 ap_last='' 2530 ap_cur='$custometcdir' 2531 while test "x${ap_cur}" != "x${ap_last}"; do 2532 ap_last="${ap_cur}" 2533 ap_cur=`eval "echo ${ap_cur}"` 2534 done 2535 exp_custometcdir="${ap_cur}" 2536 2537 2538 2539 2540 2541 2542 ap_last='' 2543 ap_cur='$customplugindir' 2544 while test "x${ap_cur}" != "x${ap_last}"; do 2545 ap_last="${ap_cur}" 2546 ap_cur=`eval "echo ${ap_cur}"` 2547 done 2548 exp_customplugindir="${ap_cur}" 2549 2550 2551 2552 2553 2554 2555 ap_last='' 2556 ap_cur='$customhtmldir' 2557 while test "x${ap_cur}" != "x${ap_last}"; do 2558 ap_last="${ap_cur}" 2559 ap_cur=`eval "echo ${ap_cur}"` 2560 done 2561 exp_customhtmldir="${ap_cur}" 2562 2563 2564 2565 2566 2567 2568 ap_last='' 2569 ap_cur='$customlexdir' 2570 while test "x${ap_cur}" != "x${ap_last}"; do 2571 ap_last="${ap_cur}" 2572 ap_cur=`eval "echo ${ap_cur}"` 2573 done 2574 exp_customlexdir="${ap_cur}" 2575 2576 2577 2578 2579 2580 2581 ap_last='' 2582 ap_cur='$customstaticdir' 2583 while test "x${ap_cur}" != "x${ap_last}"; do 2584 ap_last="${ap_cur}" 2585 ap_cur=`eval "echo ${ap_cur}"` 2586 done 2587 exp_customstaticdir="${ap_cur}" 2588 2589 2590 2591 2592 2593 2594 ap_last='' 2595 ap_cur='$customlibdir' 2596 while test "x${ap_cur}" != "x${ap_last}"; do 2597 ap_last="${ap_cur}" 2598 ap_cur=`eval "echo ${ap_cur}"` 2599 done 2600 exp_customlibdir="${ap_cur}" 2601 2602 2603 2604 2605 2606{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5 2607printf %s "checking for chosen layout... " >&6; } 2608if test "x$rt_layout_name" = "xno"; then 2609 if test "x$LAYOUT" = "xno"; then 2610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 2611printf "%s\n" "none" >&6; } 2612 else 2613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAYOUT" >&5 2614printf "%s\n" "$LAYOUT" >&6; } 2615 fi 2616 as_fn_error $? "a valid layout must be specified (or the default used)" "$LINENO" 5 2617else 2618 2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rt_layout_name" >&5 2620printf "%s\n" "$rt_layout_name" >&6; } 2621fi 2622if test "x$rt_layout_name" != "xinplace" ; then 2623 COMMENT_INPLACE_LAYOUT="" 2624 2625else 2626 COMMENT_INPLACE_LAYOUT=# 2627 2628fi 2629 2630 2631 2632# ACRT_USER_EXISTS( users, variable, default ) 2633# - users is a list of users [www apache www-docs] 2634# from highest to lowest priority to high priority (i.e. first match) 2635# - variable is what you set with the result 2636# 2637 2638 2639 2640 2641 2642# Check whether --with-bin-owner was given. 2643if test ${with_bin_owner+y} 2644then : 2645 withval=$with_bin_owner; BIN_OWNER=$withval 2646else $as_nop 2647 BIN_OWNER=root 2648fi 2649 2650 2651 2652 2653# Check whether --with-libs-owner was given. 2654if test ${with_libs_owner+y} 2655then : 2656 withval=$with_libs_owner; LIBS_OWNER=$withval 2657else $as_nop 2658 LIBS_OWNER=root 2659fi 2660 2661 2662 2663 2664# Check whether --with-libs-group was given. 2665if test ${with_libs_group+y} 2666then : 2667 withval=$with_libs_group; LIBS_GROUP=$withval 2668else $as_nop 2669 LIBS_GROUP=root 2670fi 2671 2672 2673 2674 2675# Check whether --with-db-type was given. 2676if test ${with_db_type+y} 2677then : 2678 withval=$with_db_type; DB_TYPE=$withval 2679else $as_nop 2680 DB_TYPE=mysql 2681fi 2682 2683if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' ; then 2684 as_fn_error $? "Only Oracle, Pg, mysql and SQLite are valid db types" "$LINENO" 5 2685fi 2686 2687 2688if test "$DB_TYPE" = 'Oracle'; then 2689 test "x$ORACLE_HOME" = 'x' && as_fn_error $? "Please declare the ORACLE_HOME environment variable" "$LINENO" 5 2690 DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';" 2691fi 2692 2693 2694 2695 2696# Check whether --with-db-host was given. 2697if test ${with_db_host+y} 2698then : 2699 withval=$with_db_host; DB_HOST=$withval 2700else $as_nop 2701 DB_HOST=localhost 2702fi 2703 2704 2705 2706 2707# Check whether --with-db-port was given. 2708if test ${with_db_port+y} 2709then : 2710 withval=$with_db_port; DB_PORT=$withval 2711else $as_nop 2712 DB_PORT= 2713fi 2714 2715 2716 2717 2718# Check whether --with-db-rt-host was given. 2719if test ${with_db_rt_host+y} 2720then : 2721 withval=$with_db_rt_host; DB_RT_HOST=$withval 2722else $as_nop 2723 DB_RT_HOST=localhost 2724fi 2725 2726 2727 2728if test "$DB_TYPE" = "Pg" ; then 2729 DB_DBA="postgres" 2730else 2731 DB_DBA="root" 2732fi 2733 2734# Check whether --with-db-dba was given. 2735if test ${with_db_dba+y} 2736then : 2737 withval=$with_db_dba; DB_DBA=$withval 2738else $as_nop 2739 DB_DBA="$DB_DBA" 2740fi 2741 2742 2743 2744 2745# Check whether --with-db-database was given. 2746if test ${with_db_database+y} 2747then : 2748 withval=$with_db_database; DB_DATABASE=$withval 2749else $as_nop 2750 DB_DATABASE=rt4 2751fi 2752 2753 2754 2755 2756# Check whether --with-db-rt-user was given. 2757if test ${with_db_rt_user+y} 2758then : 2759 withval=$with_db_rt_user; DB_RT_USER=$withval 2760else $as_nop 2761 DB_RT_USER=rt_user 2762fi 2763 2764 2765 2766 2767# Check whether --with-db-rt-pass was given. 2768if test ${with_db_rt_pass+y} 2769then : 2770 withval=$with_db_rt_pass; DB_RT_PASS=$withval 2771else $as_nop 2772 DB_RT_PASS=rt_pass 2773fi 2774 2775 2776 2777 2778# Check whether --with-web-user was given. 2779if test ${with_web_user+y} 2780then : 2781 withval=$with_web_user; WEB_USER=$withval 2782else $as_nop 2783 2784 WEB_USER=www 2785 for x in www www-data apache httpd nobody; do 2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if user $x exists" >&5 2787printf %s "checking if user $x exists... " >&6; } 2788 if $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" 2789then : 2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 2791printf "%s\n" "found" >&6; }; WEB_USER=$x ; break 2792else $as_nop 2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 2794printf "%s\n" "not found" >&6; } 2795fi 2796 done 2797 2798 2799fi 2800 2801 2802 2803 2804# Check whether --with-web-group was given. 2805if test ${with_web_group+y} 2806then : 2807 withval=$with_web_group; WEB_GROUP=$withval 2808else $as_nop 2809 2810 WEB_GROUP=www 2811 for x in www www-data apache httpd nogroup nobody; do 2812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5 2813printf %s "checking if group $x exists... " >&6; } 2814 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" 2815then : 2816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 2817printf "%s\n" "found" >&6; }; WEB_GROUP=$x ; break 2818else $as_nop 2819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 2820printf "%s\n" "not found" >&6; } 2821fi 2822 done 2823 2824fi 2825 2826 2827 2828 2829# Check whether --with-rt-group was given. 2830if test ${with_rt_group+y} 2831then : 2832 withval=$with_rt_group; RTGROUP=$withval 2833else $as_nop 2834 2835 RTGROUP=rt 2836 for x in rt3 rt $WEB_GROUP; do 2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if group $x exists" >&5 2838printf %s "checking if group $x exists... " >&6; } 2839 if $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" 2840then : 2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 2842printf "%s\n" "found" >&6; }; RTGROUP=$x ; break 2843else $as_nop 2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 2845printf "%s\n" "not found" >&6; } 2846fi 2847 done 2848 2849fi 2850 2851 2852 2853my_group=$($PERL -MPOSIX=getgid -le 'print scalar getgrgid getgid') 2854my_user=${USER:-$LOGNAME} 2855 2856# Check whether --with-my-user-group was given. 2857if test ${with_my_user_group+y} 2858then : 2859 withval=$with_my_user_group; RTGROUP=$my_group 2860 BIN_OWNER=$my_user 2861 LIBS_OWNER=$my_user 2862 LIBS_GROUP=$my_group 2863 WEB_USER=$my_user 2864 WEB_GROUP=$my_group 2865fi 2866 2867 2868# Test for valid database names 2869{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if database name is set" >&5 2870printf %s "checking if database name is set... " >&6; } 2871 if echo $DB_DATABASE | $PERL -e 'exit(1) unless <> =~ /\S/' 2872then : 2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2874printf "%s\n" "yes" >&6; } 2875else $as_nop 2876 as_fn_error $? "no. database name is not set" "$LINENO" 5 2877 2878fi 2879 2880 2881# Check whether --with-developer was given. 2882if test ${with_developer+y} 2883then : 2884 withval=$with_developer; RT_DEVELOPER=$withval 2885else $as_nop 2886 RT_DEVELOPER="0" 2887fi 2888 2889# Check whether --enable-developer was given. 2890if test ${enable_developer+y} 2891then : 2892 enableval=$enable_developer; RT_DEVELOPER=$enableval 2893else $as_nop 2894 RT_DEVELOPER=$RT_DEVELOPER 2895fi 2896 2897if test "$RT_DEVELOPER" = yes; then 2898 RT_DEVELOPER="1" 2899else 2900 RT_DEVELOPER="0" 2901fi 2902 2903 2904# Extract the first word of "dot", so it can be a program name with args. 2905set dummy dot; ac_word=$2 2906{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2907printf %s "checking for $ac_word... " >&6; } 2908if test ${ac_cv_prog_RT_GRAPHVIZ+y} 2909then : 2910 printf %s "(cached) " >&6 2911else $as_nop 2912 if test -n "$RT_GRAPHVIZ"; then 2913 ac_cv_prog_RT_GRAPHVIZ="$RT_GRAPHVIZ" # Let the user override the test. 2914else 2915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2916for as_dir in $PATH 2917do 2918 IFS=$as_save_IFS 2919 case $as_dir in #((( 2920 '') as_dir=./ ;; 2921 */) ;; 2922 *) as_dir=$as_dir/ ;; 2923 esac 2924 for ac_exec_ext in '' $ac_executable_extensions; do 2925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2926 ac_cv_prog_RT_GRAPHVIZ=""yes"" 2927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2928 break 2 2929 fi 2930done 2931 done 2932IFS=$as_save_IFS 2933 2934 test -z "$ac_cv_prog_RT_GRAPHVIZ" && ac_cv_prog_RT_GRAPHVIZ=""no"" 2935fi 2936fi 2937RT_GRAPHVIZ=$ac_cv_prog_RT_GRAPHVIZ 2938if test -n "$RT_GRAPHVIZ"; then 2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RT_GRAPHVIZ" >&5 2940printf "%s\n" "$RT_GRAPHVIZ" >&6; } 2941else 2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943printf "%s\n" "no" >&6; } 2944fi 2945 2946 2947 2948# Check whether --with-graphviz was given. 2949if test ${with_graphviz+y} 2950then : 2951 withval=$with_graphviz; RT_GRAPHVIZ=$withval 2952fi 2953 2954# Check whether --enable-graphviz was given. 2955if test ${enable_graphviz+y} 2956then : 2957 enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval 2958fi 2959 2960if test "$RT_GRAPHVIZ" = yes; then 2961 RT_GRAPHVIZ="1" 2962else 2963 RT_GRAPHVIZ="0" 2964fi 2965 2966 2967# Extract the first word of "gdlib-config", so it can be a program name with args. 2968set dummy gdlib-config; ac_word=$2 2969{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2970printf %s "checking for $ac_word... " >&6; } 2971if test ${ac_cv_prog_RT_GD+y} 2972then : 2973 printf %s "(cached) " >&6 2974else $as_nop 2975 if test -n "$RT_GD"; then 2976 ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test. 2977else 2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2979for as_dir in $PATH 2980do 2981 IFS=$as_save_IFS 2982 case $as_dir in #((( 2983 '') as_dir=./ ;; 2984 */) ;; 2985 *) as_dir=$as_dir/ ;; 2986 esac 2987 for ac_exec_ext in '' $ac_executable_extensions; do 2988 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2989 ac_cv_prog_RT_GD=""yes"" 2990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2991 break 2 2992 fi 2993done 2994 done 2995IFS=$as_save_IFS 2996 2997 test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no"" 2998fi 2999fi 3000RT_GD=$ac_cv_prog_RT_GD 3001if test -n "$RT_GD"; then 3002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RT_GD" >&5 3003printf "%s\n" "$RT_GD" >&6; } 3004else 3005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3006printf "%s\n" "no" >&6; } 3007fi 3008 3009 3010 3011# Check whether --with-gd was given. 3012if test ${with_gd+y} 3013then : 3014 withval=$with_gd; RT_GD=$withval 3015fi 3016 3017# Check whether --enable-gd was given. 3018if test ${enable_gd+y} 3019then : 3020 enableval=$enable_gd; RT_GD=$enableval 3021fi 3022 3023if test "$RT_GD" = yes; then 3024 RT_GD="1" 3025else 3026 RT_GD="0" 3027fi 3028 3029 3030# Extract the first word of "gpg", so it can be a program name with args. 3031set dummy gpg; ac_word=$2 3032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3033printf %s "checking for $ac_word... " >&6; } 3034if test ${ac_cv_prog_RT_GPG_DEPS+y} 3035then : 3036 printf %s "(cached) " >&6 3037else $as_nop 3038 if test -n "$RT_GPG_DEPS"; then 3039 ac_cv_prog_RT_GPG_DEPS="$RT_GPG_DEPS" # Let the user override the test. 3040else 3041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3042for as_dir in $PATH 3043do 3044 IFS=$as_save_IFS 3045 case $as_dir in #((( 3046 '') as_dir=./ ;; 3047 */) ;; 3048 *) as_dir=$as_dir/ ;; 3049 esac 3050 for ac_exec_ext in '' $ac_executable_extensions; do 3051 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3052 ac_cv_prog_RT_GPG_DEPS=""yes"" 3053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3054 break 2 3055 fi 3056done 3057 done 3058IFS=$as_save_IFS 3059 3060 test -z "$ac_cv_prog_RT_GPG_DEPS" && ac_cv_prog_RT_GPG_DEPS=""no"" 3061fi 3062fi 3063RT_GPG_DEPS=$ac_cv_prog_RT_GPG_DEPS 3064if test -n "$RT_GPG_DEPS"; then 3065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RT_GPG_DEPS" >&5 3066printf "%s\n" "$RT_GPG_DEPS" >&6; } 3067else 3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3069printf "%s\n" "no" >&6; } 3070fi 3071 3072 3073if test "$RT_GPG_DEPS" = yes; then 3074 RT_GPG_DEPS="1" 3075else 3076 RT_GPG_DEPS="0" 3077fi 3078# Check whether --enable-gpg was given. 3079if test ${enable_gpg+y} 3080then : 3081 enableval=$enable_gpg; RT_GPG=$enableval 3082fi 3083 3084if test "$RT_GPG" = yes; then 3085 RT_GPG="1" 3086 RT_GPG_DEPS="1" 3087else 3088 if test "$RT_GPG" = no; then 3089 RT_GPG="0" 3090 RT_GPG_DEPS="0" 3091 else 3092 RT_GPG="0" 3093 fi 3094fi 3095 3096 3097 3098 3099# Extract the first word of "openssl", so it can be a program name with args. 3100set dummy openssl; ac_word=$2 3101{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3102printf %s "checking for $ac_word... " >&6; } 3103if test ${ac_cv_prog_RT_SMIME_DEPS+y} 3104then : 3105 printf %s "(cached) " >&6 3106else $as_nop 3107 if test -n "$RT_SMIME_DEPS"; then 3108 ac_cv_prog_RT_SMIME_DEPS="$RT_SMIME_DEPS" # Let the user override the test. 3109else 3110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3111for as_dir in $PATH 3112do 3113 IFS=$as_save_IFS 3114 case $as_dir in #((( 3115 '') as_dir=./ ;; 3116 */) ;; 3117 *) as_dir=$as_dir/ ;; 3118 esac 3119 for ac_exec_ext in '' $ac_executable_extensions; do 3120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3121 ac_cv_prog_RT_SMIME_DEPS=""yes"" 3122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3123 break 2 3124 fi 3125done 3126 done 3127IFS=$as_save_IFS 3128 3129 test -z "$ac_cv_prog_RT_SMIME_DEPS" && ac_cv_prog_RT_SMIME_DEPS=""no"" 3130fi 3131fi 3132RT_SMIME_DEPS=$ac_cv_prog_RT_SMIME_DEPS 3133if test -n "$RT_SMIME_DEPS"; then 3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RT_SMIME_DEPS" >&5 3135printf "%s\n" "$RT_SMIME_DEPS" >&6; } 3136else 3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3138printf "%s\n" "no" >&6; } 3139fi 3140 3141 3142if test "$RT_SMIME_DEPS" = yes; then 3143 RT_SMIME_DEPS="1" 3144else 3145 RT_SMIME_DEPS="0" 3146fi 3147# Check whether --enable-smime was given. 3148if test ${enable_smime+y} 3149then : 3150 enableval=$enable_smime; RT_SMIME=$enableval 3151fi 3152 3153if test "$RT_SMIME" = yes; then 3154 RT_SMIME="1" 3155 RT_SMIME_DEPS="1" 3156else 3157 if test "$RT_SMIME" = no; then 3158 RT_SMIME="0" 3159 RT_SMIME_DEPS="0" 3160 else 3161 RT_SMIME="0" 3162 fi 3163fi 3164 3165 3166 3167 3168# Check whether --with-externalauth was given. 3169if test ${with_externalauth+y} 3170then : 3171 withval=$with_externalauth; RT_EXTERNALAUTH=$withval 3172else $as_nop 3173 RT_EXTERNALAUTH="0" 3174fi 3175 3176# Check whether --enable-externalauth was given. 3177if test ${enable_externalauth+y} 3178then : 3179 enableval=$enable_externalauth; RT_EXTERNALAUTH=$enableval 3180else $as_nop 3181 RT_EXTERNALAUTH=$RT_EXTERNALAUTH 3182fi 3183 3184if test "$RT_EXTERNALAUTH" = yes; then 3185 RT_EXTERNALAUTH="1" 3186else 3187 RT_EXTERNALAUTH="0" 3188fi 3189 3190 3191 3192# Check whether --with-attachment-store was given. 3193if test ${with_attachment_store+y} 3194then : 3195 withval=$with_attachment_store; ATTACHMENT_STORE=$withval 3196else $as_nop 3197 ATTACHMENT_STORE=database 3198fi 3199 3200if test "$ATTACHMENT_STORE" != 'database' -a "$ATTACHMENT_STORE" != 'disk' -a "$ATTACHMENT_STORE" != 'S3' -a "$ATTACHMENT_STORE" != 'Dropbox' ; then 3201 as_fn_error $? "Only database, disk, S3 and Dropbox are valid db types" "$LINENO" 5 3202fi 3203 3204 3205 3206RT_VERSION_MAJOR=${rt_version_major} 3207 3208RT_VERSION_MINOR=${rt_version_minor} 3209 3210RT_VERSION_PATCH=${rt_version_patch} 3211 3212 3213RT_PATH=${exp_prefix} 3214 3215RT_DOC_PATH=${exp_manualdir} 3216 3217RT_LOCAL_PATH=${exp_customdir} 3218 3219RT_LIB_PATH=${exp_libdir} 3220 3221RT_LEXICON_PATH=${exp_lexdir} 3222 3223RT_STATIC_PATH=${exp_staticdir} 3224 3225RT_ETC_PATH=${exp_sysconfdir} 3226 3227CONFIG_FILE_PATH=${exp_sysconfdir} 3228 3229RT_BIN_PATH=${exp_bindir} 3230 3231RT_SBIN_PATH=${exp_sbindir} 3232 3233RT_VAR_PATH=${exp_localstatedir} 3234 3235RT_MAN_PATH=${exp_mandir} 3236 3237RT_FONT_PATH=${exp_fontdir} 3238 3239RT_PLUGIN_PATH=${exp_plugindir} 3240 3241MASON_DATA_PATH=${exp_masonstatedir} 3242 3243MASON_SESSION_PATH=${exp_sessionstatedir} 3244 3245MASON_HTML_PATH=${exp_htmldir} 3246 3247LOCAL_ETC_PATH=${exp_custometcdir} 3248 3249MASON_LOCAL_HTML_PATH=${exp_customhtmldir} 3250 3251LOCAL_LEXICON_PATH=${exp_customlexdir} 3252 3253LOCAL_STATIC_PATH=${exp_customstaticdir} 3254 3255LOCAL_LIB_PATH=${exp_customlibdir} 3256 3257LOCAL_PLUGIN_PATH=${exp_customplugindir} 3258 3259RT_LOG_PATH=${exp_logfiledir} 3260 3261 3262if test ${exp_sysconfdir} = "etc" -o ${exp_sysconfdir} = "etc/rt"; then 3263RT_PATH_R=${exp_prefix} 3264 3265RT_DOC_PATH_R=${exp_prefix}/${exp_manualdir} 3266 3267RT_LOCAL_PATH_R=${exp_prefix}/${exp_customdir} 3268 3269RT_LIB_PATH_R=${exp_prefix}/${exp_libdir} 3270 3271RT_ETC_PATH_R=${exp_prefix}/${exp_sysconfdir} 3272 3273CONFIG_FILE_PATH_R=${exp_prefix}/${exp_sysconfdir} 3274 3275RT_BIN_PATH_R=${exp_prefix}/${exp_bindir} 3276 3277RT_SBIN_PATH_R=${exp_prefix}/${exp_sbindir} 3278 3279RT_VAR_PATH_R=${exp_prefix}/${exp_localstatedir} 3280 3281RT_MAN_PATH_R=${exp_prefix}/${exp_mandir} 3282 3283RT_FONT_PATH_R=${exp_prefix}/${exp_fontdir} 3284 3285RT_LEXICON_PATH_R=${exp_prefix}/${exp_lexdir} 3286 3287RT_STATIC_PATH_R=${exp_prefix}/${exp_staticdir} 3288 3289RT_PLUGIN_PATH_R=${exp_prefix}/${exp_plugindir} 3290 3291MASON_DATA_PATH_R=${exp_prefix}/${exp_masonstatedir} 3292 3293MASON_SESSION_PATH_R=${exp_prefix}/${exp_sessionstatedir} 3294 3295MASON_HTML_PATH_R=${exp_prefix}/${exp_htmldir} 3296 3297LOCAL_ETC_PATH_R=${exp_prefix}/${exp_custometcdir} 3298 3299MASON_LOCAL_HTML_PATH_R=${exp_prefix}/${exp_customhtmldir} 3300 3301LOCAL_LEXICON_PATH_R=${exp_prefix}/${exp_customlexdir} 3302 3303LOCAL_STATIC_PATH_R=${exp_prefix}/${exp_customstaticdir} 3304 3305LOCAL_LIB_PATH_R=${exp_prefix}/${exp_customlibdir} 3306 3307LOCAL_PLUGIN_PATH_R=${exp_prefix}/${exp_customplugindir} 3308 3309RT_LOG_PATH_R=${exp_prefix}/${exp_logfiledir} 3310 3311else 3312RT_PATH_R=${exp_prefix} 3313 3314RT_DOC_PATH_R=${exp_manualdir} 3315 3316RT_LOCAL_PATH_R=${exp_customdir} 3317 3318RT_LIB_PATH_R=${exp_libdir} 3319 3320RT_LEXICON_PATH_R=${exp_lexdir} 3321 3322RT_STATIC_PATH_R=${exp_staticdir} 3323 3324RT_ETC_PATH_R=${exp_sysconfdir} 3325 3326RT_PLUGIN_PATH_R=${exp_plugindir} 3327 3328CONFIG_FILE_PATH_R=${exp_sysconfdir} 3329 3330RT_BIN_PATH_R=${exp_bindir} 3331 3332RT_SBIN_PATH_R=${exp_sbindir} 3333 3334RT_VAR_PATH_R=${exp_localstatedir} 3335 3336RT_MAN_PATH_R=${exp_mandir} 3337 3338RT_FONT_PATH_R=${exp_fontdir} 3339 3340MASON_DATA_PATH_R=${exp_masonstatedir} 3341 3342MASON_SESSION_PATH_R=${exp_sessionstatedir} 3343 3344MASON_HTML_PATH_R=${exp_htmldir} 3345 3346LOCAL_ETC_PATH_R=${exp_custometcdir} 3347 3348MASON_LOCAL_HTML_PATH_R=${exp_customhtmldir} 3349 3350LOCAL_LEXICON_PATH_R=${exp_customlexdir} 3351 3352LOCAL_STATIC_PATH_R=${exp_customstaticdir} 3353 3354LOCAL_PLUGIN_PATH_R=${exp_customplugindir} 3355 3356LOCAL_LIB_PATH_R=${exp_customlibdir} 3357 3358RT_LOG_PATH_R=${exp_logfiledir} 3359 3360 3361fi 3362 3363 3364ac_config_files="$ac_config_files etc/upgrade/3.8-ical-extension etc/upgrade/4.0-customfield-checkbox-extension etc/upgrade/generate-rtaddressregexp etc/upgrade/reset-sequences etc/upgrade/sanity-check-stylesheets etc/upgrade/shrink-cgm-table etc/upgrade/shrink-transactions-table etc/upgrade/switch-templates-to etc/upgrade/time-worked-history etc/upgrade/upgrade-articles etc/upgrade/upgrade-assets etc/upgrade/vulnerable-passwords etc/upgrade/upgrade-sla sbin/rt-ldapimport sbin/rt-attributes-viewer sbin/rt-preferences-viewer sbin/rt-session-viewer sbin/rt-dump-metadata sbin/rt-setup-database sbin/rt-test-dependencies sbin/rt-email-digest sbin/rt-email-dashboards sbin/rt-externalize-attachments sbin/rt-clean-sessions sbin/rt-shredder sbin/rt-validator sbin/rt-validate-aliases sbin/rt-email-group-admin sbin/rt-search-attributes sbin/rt-server sbin/rt-server.fcgi sbin/standalone_httpd sbin/rt-setup-fulltext-index sbin/rt-fulltext-indexer sbin/rt-serializer sbin/rt-importer sbin/rt-passwd sbin/rt-munge-attachments bin/rt-crontool bin/rt-mailgate bin/rt" 3365 3366 3367ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT/Generated.pm t/data/configs/apache2.2+mod_perl.conf t/data/configs/apache2.2+fastcgi.conf t/data/configs/apache2.4+mod_perl.conf t/data/configs/apache2.4+fastcgi.conf t/data/configs/apache2.4+fcgid.conf" 3368 3369cat >confcache <<\_ACEOF 3370# This file is a shell script that caches the results of configure 3371# tests run on this system so they can be shared between configure 3372# scripts and configure runs, see configure's option --config-cache. 3373# It is not useful on other systems. If it contains results you don't 3374# want to keep, you may remove or edit it. 3375# 3376# config.status only pays attention to the cache file if you give it 3377# the --recheck option to rerun configure. 3378# 3379# `ac_cv_env_foo' variables (set or unset) will be overridden when 3380# loading this file, other *unset* `ac_cv_foo' will be assigned the 3381# following values. 3382 3383_ACEOF 3384 3385# The following way of writing the cache mishandles newlines in values, 3386# but we know of no workaround that is simple, portable, and efficient. 3387# So, we kill variables containing newlines. 3388# Ultrix sh set writes to stderr and can't be redirected directly, 3389# and sets the high bit in the cache file unless we assign to the vars. 3390( 3391 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3392 eval ac_val=\$$ac_var 3393 case $ac_val in #( 3394 *${as_nl}*) 3395 case $ac_var in #( 3396 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3397printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3398 esac 3399 case $ac_var in #( 3400 _ | IFS | as_nl) ;; #( 3401 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3402 *) { eval $ac_var=; unset $ac_var;} ;; 3403 esac ;; 3404 esac 3405 done 3406 3407 (set) 2>&1 | 3408 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3409 *${as_nl}ac_space=\ *) 3410 # `set' does not quote correctly, so add quotes: double-quote 3411 # substitution turns \\\\ into \\, and sed turns \\ into \. 3412 sed -n \ 3413 "s/'/'\\\\''/g; 3414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3415 ;; #( 3416 *) 3417 # `set' quotes correctly as required by POSIX, so do not add quotes. 3418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3419 ;; 3420 esac | 3421 sort 3422) | 3423 sed ' 3424 /^ac_cv_env_/b end 3425 t clear 3426 :clear 3427 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3428 t end 3429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3430 :end' >>confcache 3431if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3432 if test -w "$cache_file"; then 3433 if test "x$cache_file" != "x/dev/null"; then 3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3435printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 3436 if test ! -f "$cache_file" || test -h "$cache_file"; then 3437 cat confcache >"$cache_file" 3438 else 3439 case $cache_file in #( 3440 */* | ?:*) 3441 mv -f confcache "$cache_file"$$ && 3442 mv -f "$cache_file"$$ "$cache_file" ;; #( 3443 *) 3444 mv -f confcache "$cache_file" ;; 3445 esac 3446 fi 3447 fi 3448 else 3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3450printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3451 fi 3452fi 3453rm -f confcache 3454 3455test "x$prefix" = xNONE && prefix=$ac_default_prefix 3456# Let make expand exec_prefix. 3457test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3458 3459# Transform confdefs.h into DEFS. 3460# Protect against shell expansion while executing Makefile rules. 3461# Protect against Makefile macro expansion. 3462# 3463# If the first sed substitution is executed (which looks for macros that 3464# take arguments), then branch to the quote section. Otherwise, 3465# look for a macro that doesn't take arguments. 3466ac_script=' 3467:mline 3468/\\$/{ 3469 N 3470 s,\\\n,, 3471 b mline 3472} 3473t clear 3474:clear 3475s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3476t quote 3477s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3478t quote 3479b any 3480:quote 3481s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3482s/\[/\\&/g 3483s/\]/\\&/g 3484s/\$/$$/g 3485H 3486:any 3487${ 3488 g 3489 s/^\n// 3490 s/\n/ /g 3491 p 3492} 3493' 3494DEFS=`sed -n "$ac_script" confdefs.h` 3495 3496 3497ac_libobjs= 3498ac_ltlibobjs= 3499U= 3500for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3501 # 1. Remove the extension, and $U if already installed. 3502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3503 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 3504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3505 # will be set to the directory where LIBOBJS objects are built. 3506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3508done 3509LIBOBJS=$ac_libobjs 3510 3511LTLIBOBJS=$ac_ltlibobjs 3512 3513 3514 3515: "${CONFIG_STATUS=./config.status}" 3516ac_write_fail=0 3517ac_clean_files_save=$ac_clean_files 3518ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3519{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3520printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 3521as_write_fail=0 3522cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3523#! $SHELL 3524# Generated by $as_me. 3525# Run this file to recreate the current configuration. 3526# Compiler output produced by configure, useful for debugging 3527# configure, is in config.log if it exists. 3528 3529debug=false 3530ac_cs_recheck=false 3531ac_cs_silent=false 3532 3533SHELL=\${CONFIG_SHELL-$SHELL} 3534export SHELL 3535_ASEOF 3536cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3537## -------------------- ## 3538## M4sh Initialization. ## 3539## -------------------- ## 3540 3541# Be more Bourne compatible 3542DUALCASE=1; export DUALCASE # for MKS sh 3543as_nop=: 3544if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 3545then : 3546 emulate sh 3547 NULLCMD=: 3548 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3549 # is contrary to our usage. Disable this feature. 3550 alias -g '${1+"$@"}'='"$@"' 3551 setopt NO_GLOB_SUBST 3552else $as_nop 3553 case `(set -o) 2>/dev/null` in #( 3554 *posix*) : 3555 set -o posix ;; #( 3556 *) : 3557 ;; 3558esac 3559fi 3560 3561 3562 3563# Reset variables that may have inherited troublesome values from 3564# the environment. 3565 3566# IFS needs to be set, to space, tab, and newline, in precisely that order. 3567# (If _AS_PATH_WALK were called with IFS unset, it would have the 3568# side effect of setting IFS to empty, thus disabling word splitting.) 3569# Quoting is to prevent editors from complaining about space-tab. 3570as_nl=' 3571' 3572export as_nl 3573IFS=" "" $as_nl" 3574 3575PS1='$ ' 3576PS2='> ' 3577PS4='+ ' 3578 3579# Ensure predictable behavior from utilities with locale-dependent output. 3580LC_ALL=C 3581export LC_ALL 3582LANGUAGE=C 3583export LANGUAGE 3584 3585# We cannot yet rely on "unset" to work, but we need these variables 3586# to be unset--not just set to an empty or harmless value--now, to 3587# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 3588# also avoids known problems related to "unset" and subshell syntax 3589# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 3590for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 3591do eval test \${$as_var+y} \ 3592 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3593done 3594 3595# Ensure that fds 0, 1, and 2 are open. 3596if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 3597if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 3598if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 3599 3600# The user is always right. 3601if ${PATH_SEPARATOR+false} :; then 3602 PATH_SEPARATOR=: 3603 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3604 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3605 PATH_SEPARATOR=';' 3606 } 3607fi 3608 3609 3610# Find who we are. Look in the path if we contain no directory separator. 3611as_myself= 3612case $0 in #(( 3613 *[\\/]* ) as_myself=$0 ;; 3614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3615for as_dir in $PATH 3616do 3617 IFS=$as_save_IFS 3618 case $as_dir in #((( 3619 '') as_dir=./ ;; 3620 */) ;; 3621 *) as_dir=$as_dir/ ;; 3622 esac 3623 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 3624 done 3625IFS=$as_save_IFS 3626 3627 ;; 3628esac 3629# We did not find ourselves, most probably we were run as `sh COMMAND' 3630# in which case we are not to be found in the path. 3631if test "x$as_myself" = x; then 3632 as_myself=$0 3633fi 3634if test ! -f "$as_myself"; then 3635 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3636 exit 1 3637fi 3638 3639 3640 3641# as_fn_error STATUS ERROR [LINENO LOG_FD] 3642# ---------------------------------------- 3643# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3644# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3645# script with STATUS, using 1 if that was 0. 3646as_fn_error () 3647{ 3648 as_status=$1; test $as_status -eq 0 && as_status=1 3649 if test "$4"; then 3650 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3652 fi 3653 printf "%s\n" "$as_me: error: $2" >&2 3654 as_fn_exit $as_status 3655} # as_fn_error 3656 3657 3658 3659# as_fn_set_status STATUS 3660# ----------------------- 3661# Set $? to STATUS, without forking. 3662as_fn_set_status () 3663{ 3664 return $1 3665} # as_fn_set_status 3666 3667# as_fn_exit STATUS 3668# ----------------- 3669# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3670as_fn_exit () 3671{ 3672 set +e 3673 as_fn_set_status $1 3674 exit $1 3675} # as_fn_exit 3676 3677# as_fn_unset VAR 3678# --------------- 3679# Portably unset VAR. 3680as_fn_unset () 3681{ 3682 { eval $1=; unset $1;} 3683} 3684as_unset=as_fn_unset 3685 3686# as_fn_append VAR VALUE 3687# ---------------------- 3688# Append the text in VALUE to the end of the definition contained in VAR. Take 3689# advantage of any shell optimizations that allow amortized linear growth over 3690# repeated appends, instead of the typical quadratic growth present in naive 3691# implementations. 3692if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3693then : 3694 eval 'as_fn_append () 3695 { 3696 eval $1+=\$2 3697 }' 3698else $as_nop 3699 as_fn_append () 3700 { 3701 eval $1=\$$1\$2 3702 } 3703fi # as_fn_append 3704 3705# as_fn_arith ARG... 3706# ------------------ 3707# Perform arithmetic evaluation on the ARGs, and store the result in the 3708# global $as_val. Take advantage of shells that can avoid forks. The arguments 3709# must be portable across $(()) and expr. 3710if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 3711then : 3712 eval 'as_fn_arith () 3713 { 3714 as_val=$(( $* )) 3715 }' 3716else $as_nop 3717 as_fn_arith () 3718 { 3719 as_val=`expr "$@" || test $? -eq 1` 3720 } 3721fi # as_fn_arith 3722 3723 3724if expr a : '\(a\)' >/dev/null 2>&1 && 3725 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3726 as_expr=expr 3727else 3728 as_expr=false 3729fi 3730 3731if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3732 as_basename=basename 3733else 3734 as_basename=false 3735fi 3736 3737if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3738 as_dirname=dirname 3739else 3740 as_dirname=false 3741fi 3742 3743as_me=`$as_basename -- "$0" || 3744$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3745 X"$0" : 'X\(//\)$' \| \ 3746 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3747printf "%s\n" X/"$0" | 3748 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3749 s//\1/ 3750 q 3751 } 3752 /^X\/\(\/\/\)$/{ 3753 s//\1/ 3754 q 3755 } 3756 /^X\/\(\/\).*/{ 3757 s//\1/ 3758 q 3759 } 3760 s/.*/./; q'` 3761 3762# Avoid depending upon Character Ranges. 3763as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3764as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3765as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3766as_cr_digits='0123456789' 3767as_cr_alnum=$as_cr_Letters$as_cr_digits 3768 3769 3770# Determine whether it's possible to make 'echo' print without a newline. 3771# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 3772# for compatibility with existing Makefiles. 3773ECHO_C= ECHO_N= ECHO_T= 3774case `echo -n x` in #((((( 3775-n*) 3776 case `echo 'xy\c'` in 3777 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3778 xy) ECHO_C='\c';; 3779 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3780 ECHO_T=' ';; 3781 esac;; 3782*) 3783 ECHO_N='-n';; 3784esac 3785 3786# For backward compatibility with old third-party macros, we provide 3787# the shell variables $as_echo and $as_echo_n. New code should use 3788# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 3789as_echo='printf %s\n' 3790as_echo_n='printf %s' 3791 3792rm -f conf$$ conf$$.exe conf$$.file 3793if test -d conf$$.dir; then 3794 rm -f conf$$.dir/conf$$.file 3795else 3796 rm -f conf$$.dir 3797 mkdir conf$$.dir 2>/dev/null 3798fi 3799if (echo >conf$$.file) 2>/dev/null; then 3800 if ln -s conf$$.file conf$$ 2>/dev/null; then 3801 as_ln_s='ln -s' 3802 # ... but there are two gotchas: 3803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3805 # In both cases, we have to default to `cp -pR'. 3806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3807 as_ln_s='cp -pR' 3808 elif ln conf$$.file conf$$ 2>/dev/null; then 3809 as_ln_s=ln 3810 else 3811 as_ln_s='cp -pR' 3812 fi 3813else 3814 as_ln_s='cp -pR' 3815fi 3816rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3817rmdir conf$$.dir 2>/dev/null 3818 3819 3820# as_fn_mkdir_p 3821# ------------- 3822# Create "$as_dir" as a directory, including parents if necessary. 3823as_fn_mkdir_p () 3824{ 3825 3826 case $as_dir in #( 3827 -*) as_dir=./$as_dir;; 3828 esac 3829 test -d "$as_dir" || eval $as_mkdir_p || { 3830 as_dirs= 3831 while :; do 3832 case $as_dir in #( 3833 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3834 *) as_qdir=$as_dir;; 3835 esac 3836 as_dirs="'$as_qdir' $as_dirs" 3837 as_dir=`$as_dirname -- "$as_dir" || 3838$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3839 X"$as_dir" : 'X\(//\)[^/]' \| \ 3840 X"$as_dir" : 'X\(//\)$' \| \ 3841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3842printf "%s\n" X"$as_dir" | 3843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3844 s//\1/ 3845 q 3846 } 3847 /^X\(\/\/\)[^/].*/{ 3848 s//\1/ 3849 q 3850 } 3851 /^X\(\/\/\)$/{ 3852 s//\1/ 3853 q 3854 } 3855 /^X\(\/\).*/{ 3856 s//\1/ 3857 q 3858 } 3859 s/.*/./; q'` 3860 test -d "$as_dir" && break 3861 done 3862 test -z "$as_dirs" || eval "mkdir $as_dirs" 3863 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3864 3865 3866} # as_fn_mkdir_p 3867if mkdir -p . 2>/dev/null; then 3868 as_mkdir_p='mkdir -p "$as_dir"' 3869else 3870 test -d ./-p && rmdir ./-p 3871 as_mkdir_p=false 3872fi 3873 3874 3875# as_fn_executable_p FILE 3876# ----------------------- 3877# Test if FILE is an executable regular file. 3878as_fn_executable_p () 3879{ 3880 test -f "$1" && test -x "$1" 3881} # as_fn_executable_p 3882as_test_x='test -x' 3883as_executable_p=as_fn_executable_p 3884 3885# Sed expression to map a string onto a valid CPP name. 3886as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3887 3888# Sed expression to map a string onto a valid variable name. 3889as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3890 3891 3892exec 6>&1 3893## ----------------------------------- ## 3894## Main body of $CONFIG_STATUS script. ## 3895## ----------------------------------- ## 3896_ASEOF 3897test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3898 3899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3900# Save the log message, to keep $0 and so on meaningful, and to 3901# report actual input values of CONFIG_FILES etc. instead of their 3902# values after options handling. 3903ac_log=" 3904This file was extended by RT $as_me rt-4.4.5, which was 3905generated by GNU Autoconf 2.71. Invocation command line was 3906 3907 CONFIG_FILES = $CONFIG_FILES 3908 CONFIG_HEADERS = $CONFIG_HEADERS 3909 CONFIG_LINKS = $CONFIG_LINKS 3910 CONFIG_COMMANDS = $CONFIG_COMMANDS 3911 $ $0 $@ 3912 3913on `(hostname || uname -n) 2>/dev/null | sed 1q` 3914" 3915 3916_ACEOF 3917 3918case $ac_config_files in *" 3919"*) set x $ac_config_files; shift; ac_config_files=$*;; 3920esac 3921 3922 3923 3924cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3925# Files that config.status was made for. 3926config_files="$ac_config_files" 3927 3928_ACEOF 3929 3930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3931ac_cs_usage="\ 3932\`$as_me' instantiates files and other configuration actions 3933from templates according to the current configuration. Unless the files 3934and actions are specified as TAGs, all are instantiated by default. 3935 3936Usage: $0 [OPTION]... [TAG]... 3937 3938 -h, --help print this help, then exit 3939 -V, --version print version number and configuration settings, then exit 3940 --config print configuration, then exit 3941 -q, --quiet, --silent 3942 do not print progress messages 3943 -d, --debug don't remove temporary files 3944 --recheck update $as_me by reconfiguring in the same conditions 3945 --file=FILE[:TEMPLATE] 3946 instantiate the configuration file FILE 3947 3948Configuration files: 3949$config_files 3950 3951Report bugs to <rt-bugs@bestpractical.com>." 3952 3953_ACEOF 3954ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 3955ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 3956cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3957ac_cs_config='$ac_cs_config_escaped' 3958ac_cs_version="\\ 3959RT config.status rt-4.4.5 3960configured by $0, generated by GNU Autoconf 2.71, 3961 with options \\"\$ac_cs_config\\" 3962 3963Copyright (C) 2021 Free Software Foundation, Inc. 3964This config.status script is free software; the Free Software Foundation 3965gives unlimited permission to copy, distribute and modify it." 3966 3967ac_pwd='$ac_pwd' 3968srcdir='$srcdir' 3969INSTALL='$INSTALL' 3970test -n "\$AWK" || AWK=awk 3971_ACEOF 3972 3973cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3974# The default lists apply if the user does not specify any file. 3975ac_need_defaults=: 3976while test $# != 0 3977do 3978 case $1 in 3979 --*=?*) 3980 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3981 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3982 ac_shift=: 3983 ;; 3984 --*=) 3985 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3986 ac_optarg= 3987 ac_shift=: 3988 ;; 3989 *) 3990 ac_option=$1 3991 ac_optarg=$2 3992 ac_shift=shift 3993 ;; 3994 esac 3995 3996 case $ac_option in 3997 # Handling of the options. 3998 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3999 ac_cs_recheck=: ;; 4000 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4001 printf "%s\n" "$ac_cs_version"; exit ;; 4002 --config | --confi | --conf | --con | --co | --c ) 4003 printf "%s\n" "$ac_cs_config"; exit ;; 4004 --debug | --debu | --deb | --de | --d | -d ) 4005 debug=: ;; 4006 --file | --fil | --fi | --f ) 4007 $ac_shift 4008 case $ac_optarg in 4009 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4010 '') as_fn_error $? "missing file argument" ;; 4011 esac 4012 as_fn_append CONFIG_FILES " '$ac_optarg'" 4013 ac_need_defaults=false;; 4014 --he | --h | --help | --hel | -h ) 4015 printf "%s\n" "$ac_cs_usage"; exit ;; 4016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4017 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4018 ac_cs_silent=: ;; 4019 4020 # This is an error. 4021 -*) as_fn_error $? "unrecognized option: \`$1' 4022Try \`$0 --help' for more information." ;; 4023 4024 *) as_fn_append ac_config_targets " $1" 4025 ac_need_defaults=false ;; 4026 4027 esac 4028 shift 4029done 4030 4031ac_configure_extra_args= 4032 4033if $ac_cs_silent; then 4034 exec 6>/dev/null 4035 ac_configure_extra_args="$ac_configure_extra_args --silent" 4036fi 4037 4038_ACEOF 4039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4040if \$ac_cs_recheck; then 4041 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4042 shift 4043 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 4044 CONFIG_SHELL='$SHELL' 4045 export CONFIG_SHELL 4046 exec "\$@" 4047fi 4048 4049_ACEOF 4050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4051exec 5>>config.log 4052{ 4053 echo 4054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4055## Running $as_me. ## 4056_ASBOX 4057 printf "%s\n" "$ac_log" 4058} >&5 4059 4060_ACEOF 4061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4062_ACEOF 4063 4064cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4065 4066# Handling of arguments. 4067for ac_config_target in $ac_config_targets 4068do 4069 case $ac_config_target in 4070 "etc/upgrade/3.8-ical-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/3.8-ical-extension" ;; 4071 "etc/upgrade/4.0-customfield-checkbox-extension") CONFIG_FILES="$CONFIG_FILES etc/upgrade/4.0-customfield-checkbox-extension" ;; 4072 "etc/upgrade/generate-rtaddressregexp") CONFIG_FILES="$CONFIG_FILES etc/upgrade/generate-rtaddressregexp" ;; 4073 "etc/upgrade/reset-sequences") CONFIG_FILES="$CONFIG_FILES etc/upgrade/reset-sequences" ;; 4074 "etc/upgrade/sanity-check-stylesheets") CONFIG_FILES="$CONFIG_FILES etc/upgrade/sanity-check-stylesheets" ;; 4075 "etc/upgrade/shrink-cgm-table") CONFIG_FILES="$CONFIG_FILES etc/upgrade/shrink-cgm-table" ;; 4076 "etc/upgrade/shrink-transactions-table") CONFIG_FILES="$CONFIG_FILES etc/upgrade/shrink-transactions-table" ;; 4077 "etc/upgrade/switch-templates-to") CONFIG_FILES="$CONFIG_FILES etc/upgrade/switch-templates-to" ;; 4078 "etc/upgrade/time-worked-history") CONFIG_FILES="$CONFIG_FILES etc/upgrade/time-worked-history" ;; 4079 "etc/upgrade/upgrade-articles") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-articles" ;; 4080 "etc/upgrade/upgrade-assets") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-assets" ;; 4081 "etc/upgrade/vulnerable-passwords") CONFIG_FILES="$CONFIG_FILES etc/upgrade/vulnerable-passwords" ;; 4082 "etc/upgrade/upgrade-sla") CONFIG_FILES="$CONFIG_FILES etc/upgrade/upgrade-sla" ;; 4083 "sbin/rt-ldapimport") CONFIG_FILES="$CONFIG_FILES sbin/rt-ldapimport" ;; 4084 "sbin/rt-attributes-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-attributes-viewer" ;; 4085 "sbin/rt-preferences-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-preferences-viewer" ;; 4086 "sbin/rt-session-viewer") CONFIG_FILES="$CONFIG_FILES sbin/rt-session-viewer" ;; 4087 "sbin/rt-dump-metadata") CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-metadata" ;; 4088 "sbin/rt-setup-database") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;; 4089 "sbin/rt-test-dependencies") CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;; 4090 "sbin/rt-email-digest") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-digest" ;; 4091 "sbin/rt-email-dashboards") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-dashboards" ;; 4092 "sbin/rt-externalize-attachments") CONFIG_FILES="$CONFIG_FILES sbin/rt-externalize-attachments" ;; 4093 "sbin/rt-clean-sessions") CONFIG_FILES="$CONFIG_FILES sbin/rt-clean-sessions" ;; 4094 "sbin/rt-shredder") CONFIG_FILES="$CONFIG_FILES sbin/rt-shredder" ;; 4095 "sbin/rt-validator") CONFIG_FILES="$CONFIG_FILES sbin/rt-validator" ;; 4096 "sbin/rt-validate-aliases") CONFIG_FILES="$CONFIG_FILES sbin/rt-validate-aliases" ;; 4097 "sbin/rt-email-group-admin") CONFIG_FILES="$CONFIG_FILES sbin/rt-email-group-admin" ;; 4098 "sbin/rt-search-attributes") CONFIG_FILES="$CONFIG_FILES sbin/rt-search-attributes" ;; 4099 "sbin/rt-server") CONFIG_FILES="$CONFIG_FILES sbin/rt-server" ;; 4100 "sbin/rt-server.fcgi") CONFIG_FILES="$CONFIG_FILES sbin/rt-server.fcgi" ;; 4101 "sbin/standalone_httpd") CONFIG_FILES="$CONFIG_FILES sbin/standalone_httpd" ;; 4102 "sbin/rt-setup-fulltext-index") CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-fulltext-index" ;; 4103 "sbin/rt-fulltext-indexer") CONFIG_FILES="$CONFIG_FILES sbin/rt-fulltext-indexer" ;; 4104 "sbin/rt-serializer") CONFIG_FILES="$CONFIG_FILES sbin/rt-serializer" ;; 4105 "sbin/rt-importer") CONFIG_FILES="$CONFIG_FILES sbin/rt-importer" ;; 4106 "sbin/rt-passwd") CONFIG_FILES="$CONFIG_FILES sbin/rt-passwd" ;; 4107 "sbin/rt-munge-attachments") CONFIG_FILES="$CONFIG_FILES sbin/rt-munge-attachments" ;; 4108 "bin/rt-crontool") CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;; 4109 "bin/rt-mailgate") CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;; 4110 "bin/rt") CONFIG_FILES="$CONFIG_FILES bin/rt" ;; 4111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4112 "etc/RT_Config.pm") CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;; 4113 "lib/RT/Generated.pm") CONFIG_FILES="$CONFIG_FILES lib/RT/Generated.pm" ;; 4114 "t/data/configs/apache2.2+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+mod_perl.conf" ;; 4115 "t/data/configs/apache2.2+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.2+fastcgi.conf" ;; 4116 "t/data/configs/apache2.4+mod_perl.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.4+mod_perl.conf" ;; 4117 "t/data/configs/apache2.4+fastcgi.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.4+fastcgi.conf" ;; 4118 "t/data/configs/apache2.4+fcgid.conf") CONFIG_FILES="$CONFIG_FILES t/data/configs/apache2.4+fcgid.conf" ;; 4119 4120 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4121 esac 4122done 4123 4124 4125# If the user did not use the arguments to specify the items to instantiate, 4126# then the envvar interface is used. Set only those that are not. 4127# We use the long form for the default assignment because of an extremely 4128# bizarre bug on SunOS 4.1.3. 4129if $ac_need_defaults; then 4130 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 4131fi 4132 4133# Have a temporary directory for convenience. Make it in the build tree 4134# simply because there is no reason against having it here, and in addition, 4135# creating and moving files from /tmp can sometimes cause problems. 4136# Hook for its removal unless debugging. 4137# Note that there is a small window in which the directory will not be cleaned: 4138# after its creation but before its name has been assigned to `$tmp'. 4139$debug || 4140{ 4141 tmp= ac_tmp= 4142 trap 'exit_status=$? 4143 : "${ac_tmp:=$tmp}" 4144 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4145' 0 4146 trap 'as_fn_exit 1' 1 2 13 15 4147} 4148# Create a (secure) tmp directory for tmp files. 4149 4150{ 4151 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4152 test -d "$tmp" 4153} || 4154{ 4155 tmp=./conf$$-$RANDOM 4156 (umask 077 && mkdir "$tmp") 4157} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4158ac_tmp=$tmp 4159 4160# Set up the scripts for CONFIG_FILES section. 4161# No need to generate them if there are no CONFIG_FILES. 4162# This happens for instance with `./config.status config.h'. 4163if test -n "$CONFIG_FILES"; then 4164 4165 4166ac_cr=`echo X | tr X '\015'` 4167# On cygwin, bash can eat \r inside `` if the user requested igncr. 4168# But we know of no other shell where ac_cr would be empty at this 4169# point, so we can use a bashism as a fallback. 4170if test "x$ac_cr" = x; then 4171 eval ac_cr=\$\'\\r\' 4172fi 4173ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4174if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4175 ac_cs_awk_cr='\\r' 4176else 4177 ac_cs_awk_cr=$ac_cr 4178fi 4179 4180echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4181_ACEOF 4182 4183 4184{ 4185 echo "cat >conf$$subs.awk <<_ACEOF" && 4186 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4187 echo "_ACEOF" 4188} >conf$$subs.sh || 4189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4190ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4191ac_delim='%!_!# ' 4192for ac_last_try in false false false false false :; do 4193 . ./conf$$subs.sh || 4194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4195 4196 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4197 if test $ac_delim_n = $ac_delim_num; then 4198 break 4199 elif $ac_last_try; then 4200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4201 else 4202 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4203 fi 4204done 4205rm -f conf$$subs.sh 4206 4207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4208cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4209_ACEOF 4210sed -n ' 4211h 4212s/^/S["/; s/!.*/"]=/ 4213p 4214g 4215s/^[^!]*!// 4216:repl 4217t repl 4218s/'"$ac_delim"'$// 4219t delim 4220:nl 4221h 4222s/\(.\{148\}\)..*/\1/ 4223t more1 4224s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4225p 4226n 4227b repl 4228:more1 4229s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4230p 4231g 4232s/.\{148\}// 4233t nl 4234:delim 4235h 4236s/\(.\{148\}\)..*/\1/ 4237t more2 4238s/["\\]/\\&/g; s/^/"/; s/$/"/ 4239p 4240b 4241:more2 4242s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4243p 4244g 4245s/.\{148\}// 4246t delim 4247' <conf$$subs.awk | sed ' 4248/^[^""]/{ 4249 N 4250 s/\n// 4251} 4252' >>$CONFIG_STATUS || ac_write_fail=1 4253rm -f conf$$subs.awk 4254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4255_ACAWK 4256cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4257 for (key in S) S_is_set[key] = 1 4258 FS = "" 4259 4260} 4261{ 4262 line = $ 0 4263 nfields = split(line, field, "@") 4264 substed = 0 4265 len = length(field[1]) 4266 for (i = 2; i < nfields; i++) { 4267 key = field[i] 4268 keylen = length(key) 4269 if (S_is_set[key]) { 4270 value = S[key] 4271 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4272 len += length(value) + length(field[++i]) 4273 substed = 1 4274 } else 4275 len += 1 + keylen 4276 } 4277 4278 print line 4279} 4280 4281_ACAWK 4282_ACEOF 4283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4284if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4285 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4286else 4287 cat 4288fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4289 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4290_ACEOF 4291 4292# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4293# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4294# trailing colons and then remove the whole line if VPATH becomes empty 4295# (actually we leave an empty line to preserve line numbers). 4296if test "x$srcdir" = x.; then 4297 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4298h 4299s/// 4300s/^/:/ 4301s/[ ]*$/:/ 4302s/:\$(srcdir):/:/g 4303s/:\${srcdir}:/:/g 4304s/:@srcdir@:/:/g 4305s/^:*// 4306s/:*$// 4307x 4308s/\(=[ ]*\).*/\1/ 4309G 4310s/\n// 4311s/^[^=]*=[ ]*$// 4312}' 4313fi 4314 4315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4316fi # test -n "$CONFIG_FILES" 4317 4318 4319eval set X " :F $CONFIG_FILES " 4320shift 4321for ac_tag 4322do 4323 case $ac_tag in 4324 :[FHLC]) ac_mode=$ac_tag; continue;; 4325 esac 4326 case $ac_mode$ac_tag in 4327 :[FHL]*:*);; 4328 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4329 :[FH]-) ac_tag=-:-;; 4330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4331 esac 4332 ac_save_IFS=$IFS 4333 IFS=: 4334 set x $ac_tag 4335 IFS=$ac_save_IFS 4336 shift 4337 ac_file=$1 4338 shift 4339 4340 case $ac_mode in 4341 :L) ac_source=$1;; 4342 :[FH]) 4343 ac_file_inputs= 4344 for ac_f 4345 do 4346 case $ac_f in 4347 -) ac_f="$ac_tmp/stdin";; 4348 *) # Look for the file first in the build tree, then in the source tree 4349 # (if the path is not absolute). The absolute path cannot be DOS-style, 4350 # because $ac_f cannot contain `:'. 4351 test -f "$ac_f" || 4352 case $ac_f in 4353 [\\/$]*) false;; 4354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4355 esac || 4356 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4357 esac 4358 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4359 as_fn_append ac_file_inputs " '$ac_f'" 4360 done 4361 4362 # Let's still pretend it is `configure' which instantiates (i.e., don't 4363 # use $as_me), people would be surprised to read: 4364 # /* config.h. Generated by config.status. */ 4365 configure_input='Generated from '` 4366 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4367 `' by configure.' 4368 if test x"$ac_file" != x-; then 4369 configure_input="$ac_file. $configure_input" 4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4371printf "%s\n" "$as_me: creating $ac_file" >&6;} 4372 fi 4373 # Neutralize special characters interpreted by sed in replacement strings. 4374 case $configure_input in #( 4375 *\&* | *\|* | *\\* ) 4376 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 4377 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4378 *) ac_sed_conf_input=$configure_input;; 4379 esac 4380 4381 case $ac_tag in 4382 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4383 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4384 esac 4385 ;; 4386 esac 4387 4388 ac_dir=`$as_dirname -- "$ac_file" || 4389$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4390 X"$ac_file" : 'X\(//\)[^/]' \| \ 4391 X"$ac_file" : 'X\(//\)$' \| \ 4392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4393printf "%s\n" X"$ac_file" | 4394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4395 s//\1/ 4396 q 4397 } 4398 /^X\(\/\/\)[^/].*/{ 4399 s//\1/ 4400 q 4401 } 4402 /^X\(\/\/\)$/{ 4403 s//\1/ 4404 q 4405 } 4406 /^X\(\/\).*/{ 4407 s//\1/ 4408 q 4409 } 4410 s/.*/./; q'` 4411 as_dir="$ac_dir"; as_fn_mkdir_p 4412 ac_builddir=. 4413 4414case "$ac_dir" in 4415.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4416*) 4417 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 4418 # A ".." for each directory in $ac_dir_suffix. 4419 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4420 case $ac_top_builddir_sub in 4421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4423 esac ;; 4424esac 4425ac_abs_top_builddir=$ac_pwd 4426ac_abs_builddir=$ac_pwd$ac_dir_suffix 4427# for backward compatibility: 4428ac_top_builddir=$ac_top_build_prefix 4429 4430case $srcdir in 4431 .) # We are building in place. 4432 ac_srcdir=. 4433 ac_top_srcdir=$ac_top_builddir_sub 4434 ac_abs_top_srcdir=$ac_pwd ;; 4435 [\\/]* | ?:[\\/]* ) # Absolute name. 4436 ac_srcdir=$srcdir$ac_dir_suffix; 4437 ac_top_srcdir=$srcdir 4438 ac_abs_top_srcdir=$srcdir ;; 4439 *) # Relative name. 4440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4441 ac_top_srcdir=$ac_top_build_prefix$srcdir 4442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4443esac 4444ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4445 4446 4447 case $ac_mode in 4448 :F) 4449 # 4450 # CONFIG_FILE 4451 # 4452 4453 case $INSTALL in 4454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4456 esac 4457_ACEOF 4458 4459cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4460# If the template does not know about datarootdir, expand it. 4461# FIXME: This hack should be removed a few years after 2.60. 4462ac_datarootdir_hack=; ac_datarootdir_seen= 4463ac_sed_dataroot=' 4464/datarootdir/ { 4465 p 4466 q 4467} 4468/@datadir@/p 4469/@docdir@/p 4470/@infodir@/p 4471/@localedir@/p 4472/@mandir@/p' 4473case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4474*datarootdir*) ac_datarootdir_seen=yes;; 4475*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4477printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4478_ACEOF 4479cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4480 ac_datarootdir_hack=' 4481 s&@datadir@&$datadir&g 4482 s&@docdir@&$docdir&g 4483 s&@infodir@&$infodir&g 4484 s&@localedir@&$localedir&g 4485 s&@mandir@&$mandir&g 4486 s&\\\${datarootdir}&$datarootdir&g' ;; 4487esac 4488_ACEOF 4489 4490# Neutralize VPATH when `$srcdir' = `.'. 4491# Shell code in configure.ac might set extrasub. 4492# FIXME: do we really want to maintain this feature? 4493cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4494ac_sed_extra="$ac_vpsub 4495$extrasub 4496_ACEOF 4497cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4498:t 4499/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4500s|@configure_input@|$ac_sed_conf_input|;t t 4501s&@top_builddir@&$ac_top_builddir_sub&;t t 4502s&@top_build_prefix@&$ac_top_build_prefix&;t t 4503s&@srcdir@&$ac_srcdir&;t t 4504s&@abs_srcdir@&$ac_abs_srcdir&;t t 4505s&@top_srcdir@&$ac_top_srcdir&;t t 4506s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4507s&@builddir@&$ac_builddir&;t t 4508s&@abs_builddir@&$ac_abs_builddir&;t t 4509s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4510s&@INSTALL@&$ac_INSTALL&;t t 4511$ac_datarootdir_hack 4512" 4513eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4514 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4515 4516test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4519 "$ac_tmp/out"`; test -z "$ac_out"; } && 4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4521which seems to be undefined. Please make sure it is defined" >&5 4522printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4523which seems to be undefined. Please make sure it is defined" >&2;} 4524 4525 rm -f "$ac_tmp/stdin" 4526 case $ac_file in 4527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4529 esac \ 4530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4531 ;; 4532 4533 4534 4535 esac 4536 4537 4538 case $ac_file$ac_mode in 4539 "etc/upgrade/3.8-ical-extension":F) chmod ug+x $ac_file 4540 ;; 4541 "etc/upgrade/4.0-customfield-checkbox-extension":F) chmod ug+x $ac_file 4542 ;; 4543 "etc/upgrade/generate-rtaddressregexp":F) chmod ug+x $ac_file 4544 ;; 4545 "etc/upgrade/reset-sequences":F) chmod ug+x $ac_file 4546 ;; 4547 "etc/upgrade/sanity-check-stylesheets":F) chmod ug+x $ac_file 4548 ;; 4549 "etc/upgrade/shrink-cgm-table":F) chmod ug+x $ac_file 4550 ;; 4551 "etc/upgrade/shrink-transactions-table":F) chmod ug+x $ac_file 4552 ;; 4553 "etc/upgrade/switch-templates-to":F) chmod ug+x $ac_file 4554 ;; 4555 "etc/upgrade/time-worked-history":F) chmod ug+x $ac_file 4556 ;; 4557 "etc/upgrade/upgrade-articles":F) chmod ug+x $ac_file 4558 ;; 4559 "etc/upgrade/upgrade-assets":F) chmod ug+x $ac_file 4560 ;; 4561 "etc/upgrade/vulnerable-passwords":F) chmod ug+x $ac_file 4562 ;; 4563 "etc/upgrade/upgrade-sla":F) chmod ug+x $ac_file 4564 ;; 4565 "sbin/rt-ldapimport":F) chmod ug+x $ac_file 4566 ;; 4567 "sbin/rt-attributes-viewer":F) chmod ug+x $ac_file 4568 ;; 4569 "sbin/rt-preferences-viewer":F) chmod ug+x $ac_file 4570 ;; 4571 "sbin/rt-session-viewer":F) chmod ug+x $ac_file 4572 ;; 4573 "sbin/rt-dump-metadata":F) chmod ug+x $ac_file 4574 ;; 4575 "sbin/rt-setup-database":F) chmod ug+x $ac_file 4576 ;; 4577 "sbin/rt-test-dependencies":F) chmod ug+x $ac_file 4578 ;; 4579 "sbin/rt-email-digest":F) chmod ug+x $ac_file 4580 ;; 4581 "sbin/rt-email-dashboards":F) chmod ug+x $ac_file 4582 ;; 4583 "sbin/rt-externalize-attachments":F) chmod ug+x $ac_file 4584 ;; 4585 "sbin/rt-clean-sessions":F) chmod ug+x $ac_file 4586 ;; 4587 "sbin/rt-shredder":F) chmod ug+x $ac_file 4588 ;; 4589 "sbin/rt-validator":F) chmod ug+x $ac_file 4590 ;; 4591 "sbin/rt-validate-aliases":F) chmod ug+x $ac_file 4592 ;; 4593 "sbin/rt-email-group-admin":F) chmod ug+x $ac_file 4594 ;; 4595 "sbin/rt-search-attributes":F) chmod ug+x $ac_file 4596 ;; 4597 "sbin/rt-server":F) chmod ug+x $ac_file 4598 ;; 4599 "sbin/rt-server.fcgi":F) chmod ug+x $ac_file 4600 ;; 4601 "sbin/standalone_httpd":F) chmod ug+x $ac_file 4602 ;; 4603 "sbin/rt-setup-fulltext-index":F) chmod ug+x $ac_file 4604 ;; 4605 "sbin/rt-fulltext-indexer":F) chmod ug+x $ac_file 4606 ;; 4607 "sbin/rt-serializer":F) chmod ug+x $ac_file 4608 ;; 4609 "sbin/rt-importer":F) chmod ug+x $ac_file 4610 ;; 4611 "sbin/rt-passwd":F) chmod ug+x $ac_file 4612 ;; 4613 "sbin/rt-munge-attachments":F) chmod ug+x $ac_file 4614 ;; 4615 "bin/rt-crontool":F) chmod ug+x $ac_file 4616 ;; 4617 "bin/rt-mailgate":F) chmod ug+x $ac_file 4618 ;; 4619 "bin/rt":F) chmod ug+x $ac_file 4620 ;; 4621 4622 esac 4623done # for ac_tag 4624 4625 4626as_fn_exit 0 4627_ACEOF 4628ac_clean_files=$ac_clean_files_save 4629 4630test $ac_write_fail = 0 || 4631 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4632 4633 4634# configure is writing to config.log, and then calls config.status. 4635# config.status does its own redirection, appending to config.log. 4636# Unfortunately, on DOS this fails, as config.log is still kept open 4637# by configure, so config.status won't be able to write to it; its 4638# output is simply discarded. So we exec the FD to /dev/null, 4639# effectively closing config.log, so it can be properly (re)opened and 4640# appended to by config.status. When coming back to configure, we 4641# need to make the FD available again. 4642if test "$no_create" != yes; then 4643 ac_cs_success=: 4644 ac_config_status_args= 4645 test "$silent" = yes && 4646 ac_config_status_args="$ac_config_status_args --quiet" 4647 exec 5>/dev/null 4648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4649 exec 5>>config.log 4650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4651 # would make configure fail if this is the last instruction. 4652 $ac_cs_success || as_fn_exit 1 4653fi 4654if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4656printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4657fi 4658 4659 4660