2 @%:@ From configure.ac Revision: 1.1 .
3 @%:@ Guess values for system-dependent variables and create Makefiles.
4 @%:@ Generated by GNU Autoconf 2.53 for RT 3.0.4.
6 @%:@ Report bugs to <rt-3.0-bugs@fsck.com>.
8 @%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 @%:@ Free Software Foundation, Inc.
10 @%:@ This configure script is free software; the Free Software Foundation
11 @%:@ gives unlimited permission to copy, distribute and modify it.
13 if expr a : '\(a\)' >/dev/null 2>&1; then
20 ## --------------------- ##
21 ## M4sh Initialization. ##
22 ## --------------------- ##
24 # Be Bourne compatible
25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33 # Support unset when possible.
34 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
40 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
41 { $as_unset LANG || test "${LANG+set}" != set; } ||
42 { LANG=C; export LANG; }
43 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
44 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
45 { LC_ALL=C; export LC_ALL; }
46 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
47 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
48 { LC_TIME=C; export LC_TIME; }
49 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
50 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
51 { LC_CTYPE=C; export LC_CTYPE; }
52 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
53 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
54 { LANGUAGE=C; export LANGUAGE; }
55 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
56 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
57 { LC_COLLATE=C; export LC_COLLATE; }
58 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
59 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
60 { LC_NUMERIC=C; export LC_NUMERIC; }
61 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
62 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
63 { LC_MESSAGES=C; export LC_MESSAGES; }
66 # Name of the executable.
67 as_me=`(basename "$0") 2>/dev/null ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conftest.sh
89 echo "exit 0" >>conftest.sh
91 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 CONFIG_SHELL=$as_dir/$as_base
146 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
154 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
155 # uniformly replaced by the line number. The first 'sed' inserts a
156 # line-number line before each line; the second 'sed' does the real
157 # work. The second script uses 'N' to pair each line-number line
158 # with the numbered line, and appends trailing '-' during
159 # substitution so that $LINENO is not a special case at line end.
160 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
161 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
162 sed '=' <$as_myself |
167 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 s,^['$as_cr_digits']*\n,,
172 chmod +x $as_me.lineno ||
173 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
174 { (exit 1); exit 1; }; }
176 # Don't try to exec as it changes $[0], causing all sort of problems
177 # (the dirname of $[0] is not the place where we might find the
178 # original and so on. Autoconf is especially sensible to this).
180 # Exit status is that of the last command.
185 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
186 *c*,-n*) ECHO_N= ECHO_C='
188 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
189 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 if expr a : '\(a\)' >/dev/null 2>&1; then
198 rm -f conf$$ conf$$.exe conf$$.file
200 if ln -s conf$$.file conf$$ 2>/dev/null; then
201 # We could just check for DJGPP; but this test a) works b) is more generic
202 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
203 if test -f conf$$.exe; then
204 # Don't use ln at all; we don't have any links
209 elif ln conf$$.file conf$$ 2>/dev/null; then
214 rm -f conf$$ conf$$.exe conf$$.file
216 as_executable_p="test -f"
218 # Sed expression to map a string onto a valid CPP name.
219 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
221 # Sed expression to map a string onto a valid variable name.
222 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
226 # We need space, tab and new line, in precisely that order.
232 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
236 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
237 # so uname gets run too.
238 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
245 ac_default_prefix=/usr/local
250 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Maximum number of lines to put in a shell here document.
253 # This variable seems obsolete. It should probably be removed, and
254 # only ac_max_sed_lines should be used.
255 : ${ac_max_here_lines=38}
257 # Identity of this package.
260 PACKAGE_VERSION='3.0.4'
261 PACKAGE_STRING='RT 3.0.4'
262 PACKAGE_BUGREPORT='rt-3.0-bugs@fsck.com'
264 ac_unique_file="lib/RT.pm.in"
265 ac_default_prefix=/opt/rt3
267 # Initialize some variables set by options.
269 ac_init_version=false
270 # The variables have the same names as the options, with
271 # dashes changed to underlines.
279 program_transform_name=s,x,x,
287 # Installation directory options.
288 # These are left unexpanded so users can "make install exec_prefix=/foo"
289 # and all the variables that are supposed to be based on exec_prefix
290 # by default will actually change.
291 # Use braces instead of parens because sh, perl, etc. also accept them.
292 bindir='${exec_prefix}/bin'
293 sbindir='${exec_prefix}/sbin'
294 libexecdir='${exec_prefix}/libexec'
295 datadir='${prefix}/share'
296 sysconfdir='${prefix}/etc'
297 sharedstatedir='${prefix}/com'
298 localstatedir='${prefix}/var'
299 libdir='${exec_prefix}/lib'
300 includedir='${prefix}/include'
301 oldincludedir='/usr/include'
302 infodir='${prefix}/info'
303 mandir='${prefix}/man'
308 # If the previous option needs an argument, assign it.
309 if test -n "$ac_prev"; then
310 eval "$ac_prev=\$ac_option"
315 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
317 # Accept the important Cygnus configure options, so we can diagnose typos.
321 -bindir | --bindir | --bindi | --bind | --bin | --bi)
323 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
326 -build | --build | --buil | --bui | --bu)
327 ac_prev=build_alias ;;
328 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
329 build_alias=$ac_optarg ;;
331 -cache-file | --cache-file | --cache-fil | --cache-fi \
332 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
333 ac_prev=cache_file ;;
334 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
335 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
336 cache_file=$ac_optarg ;;
339 cache_file=config.cache ;;
341 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
343 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
345 datadir=$ac_optarg ;;
347 -disable-* | --disable-*)
348 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
349 # Reject names that are not valid shell variable names.
350 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
351 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
352 { (exit 1); exit 1; }; }
353 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
354 eval "enable_$ac_feature=no" ;;
356 -enable-* | --enable-*)
357 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
358 # Reject names that are not valid shell variable names.
359 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
360 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
361 { (exit 1); exit 1; }; }
362 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
367 eval "enable_$ac_feature='$ac_optarg'" ;;
369 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
370 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
371 | --exec | --exe | --ex)
372 ac_prev=exec_prefix ;;
373 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
374 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
375 | --exec=* | --exe=* | --ex=*)
376 exec_prefix=$ac_optarg ;;
378 -gas | --gas | --ga | --g)
379 # Obsolete; use --with-gas.
382 -help | --help | --hel | --he | -h)
384 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
385 ac_init_help=recursive ;;
386 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
387 ac_init_help=short ;;
389 -host | --host | --hos | --ho)
390 ac_prev=host_alias ;;
391 -host=* | --host=* | --hos=* | --ho=*)
392 host_alias=$ac_optarg ;;
394 -includedir | --includedir | --includedi | --included | --include \
395 | --includ | --inclu | --incl | --inc)
396 ac_prev=includedir ;;
397 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
398 | --includ=* | --inclu=* | --incl=* | --inc=*)
399 includedir=$ac_optarg ;;
401 -infodir | --infodir | --infodi | --infod | --info | --inf)
403 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
404 infodir=$ac_optarg ;;
406 -libdir | --libdir | --libdi | --libd)
408 -libdir=* | --libdir=* | --libdi=* | --libd=*)
411 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
412 | --libexe | --libex | --libe)
413 ac_prev=libexecdir ;;
414 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
415 | --libexe=* | --libex=* | --libe=*)
416 libexecdir=$ac_optarg ;;
418 -localstatedir | --localstatedir | --localstatedi | --localstated \
419 | --localstate | --localstat | --localsta | --localst \
420 | --locals | --local | --loca | --loc | --lo)
421 ac_prev=localstatedir ;;
422 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
423 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
424 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
425 localstatedir=$ac_optarg ;;
427 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
429 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
433 # Obsolete; use --without-fp.
436 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
437 | --no-cr | --no-c | -n)
440 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
441 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
444 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
445 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
446 | --oldin | --oldi | --old | --ol | --o)
447 ac_prev=oldincludedir ;;
448 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
449 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
450 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
451 oldincludedir=$ac_optarg ;;
453 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
455 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
458 -program-prefix | --program-prefix | --program-prefi | --program-pref \
459 | --program-pre | --program-pr | --program-p)
460 ac_prev=program_prefix ;;
461 -program-prefix=* | --program-prefix=* | --program-prefi=* \
462 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
463 program_prefix=$ac_optarg ;;
465 -program-suffix | --program-suffix | --program-suffi | --program-suff \
466 | --program-suf | --program-su | --program-s)
467 ac_prev=program_suffix ;;
468 -program-suffix=* | --program-suffix=* | --program-suffi=* \
469 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
470 program_suffix=$ac_optarg ;;
472 -program-transform-name | --program-transform-name \
473 | --program-transform-nam | --program-transform-na \
474 | --program-transform-n | --program-transform- \
475 | --program-transform | --program-transfor \
476 | --program-transfo | --program-transf \
477 | --program-trans | --program-tran \
478 | --progr-tra | --program-tr | --program-t)
479 ac_prev=program_transform_name ;;
480 -program-transform-name=* | --program-transform-name=* \
481 | --program-transform-nam=* | --program-transform-na=* \
482 | --program-transform-n=* | --program-transform-=* \
483 | --program-transform=* | --program-transfor=* \
484 | --program-transfo=* | --program-transf=* \
485 | --program-trans=* | --program-tran=* \
486 | --progr-tra=* | --program-tr=* | --program-t=*)
487 program_transform_name=$ac_optarg ;;
489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
490 | -silent | --silent | --silen | --sile | --sil)
493 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
495 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
497 sbindir=$ac_optarg ;;
499 -sharedstatedir | --sharedstatedir | --sharedstatedi \
500 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
501 | --sharedst | --shareds | --shared | --share | --shar \
503 ac_prev=sharedstatedir ;;
504 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
505 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
506 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
508 sharedstatedir=$ac_optarg ;;
510 -site | --site | --sit)
512 -site=* | --site=* | --sit=*)
515 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
517 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
520 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
521 | --syscon | --sysco | --sysc | --sys | --sy)
522 ac_prev=sysconfdir ;;
523 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
524 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
525 sysconfdir=$ac_optarg ;;
527 -target | --target | --targe | --targ | --tar | --ta | --t)
528 ac_prev=target_alias ;;
529 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
530 target_alias=$ac_optarg ;;
532 -v | -verbose | --verbose | --verbos | --verbo | --verb)
535 -version | --version | --versio | --versi | --vers | -V)
539 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
540 # Reject names that are not valid shell variable names.
541 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
542 { echo "$as_me: error: invalid package name: $ac_package" >&2
543 { (exit 1); exit 1; }; }
544 ac_package=`echo $ac_package| sed 's/-/_/g'`
546 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
549 eval "with_$ac_package='$ac_optarg'" ;;
551 -without-* | --without-*)
552 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package | sed 's/-/_/g'`
558 eval "with_$ac_package=no" ;;
561 # Obsolete; use --with-x.
564 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
565 | --x-incl | --x-inc | --x-in | --x-i)
566 ac_prev=x_includes ;;
567 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
568 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
569 x_includes=$ac_optarg ;;
571 -x-libraries | --x-libraries | --x-librarie | --x-librari \
572 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
573 ac_prev=x_libraries ;;
574 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
575 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
576 x_libraries=$ac_optarg ;;
578 -*) { echo "$as_me: error: unrecognized option: $ac_option
579 Try \`$0 --help' for more information." >&2
580 { (exit 1); exit 1; }; }
584 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
585 # Reject names that are not valid shell variable names.
586 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
587 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
588 { (exit 1); exit 1; }; }
589 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
590 eval "$ac_envvar='$ac_optarg'"
594 # FIXME: should be removed in autoconf 3.0.
595 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
596 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
597 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
598 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
604 if test -n "$ac_prev"; then
605 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
606 { echo "$as_me: error: missing argument to $ac_option" >&2
607 { (exit 1); exit 1; }; }
610 # Be sure to have absolute paths.
611 for ac_var in exec_prefix prefix
613 eval ac_val=$`echo $ac_var`
615 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
616 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
617 { (exit 1); exit 1; }; };;
621 # Be sure to have absolute paths.
622 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
623 localstatedir libdir includedir oldincludedir infodir mandir
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # There might be people who depend on the old broken behavior: `$host'
634 # used to hold the argument of --host etc.
635 # FIXME: To remove some day.
640 # FIXME: To remove some day.
641 if test "x$host_alias" != x; then
642 if test "x$build_alias" = x; then
643 cross_compiling=maybe
644 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
645 If a cross compiler is detected then cross compile mode will be used." >&2
646 elif test "x$build_alias" != "x$host_alias"; then
652 test -n "$host_alias" && ac_tool_prefix=$host_alias-
654 test "$silent" = yes && exec 6>/dev/null
657 # Find the source files, if location was not specified.
658 if test -z "$srcdir"; then
659 ac_srcdir_defaulted=yes
660 # Try the directory containing this script, then its parent.
661 ac_confdir=`(dirname "$0") 2>/dev/null ||
662 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
663 X"$0" : 'X\(//\)[^/]' \| \
664 X"$0" : 'X\(//\)$' \| \
665 X"$0" : 'X\(/\)' \| \
666 . : '\(.\)' 2>/dev/null ||
668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
670 /^X\(\/\/\)$/{ s//\1/; q; }
671 /^X\(\/\).*/{ s//\1/; q; }
674 if test ! -r $srcdir/$ac_unique_file; then
678 ac_srcdir_defaulted=no
680 if test ! -r $srcdir/$ac_unique_file; then
681 if test "$ac_srcdir_defaulted" = yes; then
682 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
683 { (exit 1); exit 1; }; }
685 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
686 { (exit 1); exit 1; }; }
689 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
690 ac_env_build_alias_set=${build_alias+set}
691 ac_env_build_alias_value=$build_alias
692 ac_cv_env_build_alias_set=${build_alias+set}
693 ac_cv_env_build_alias_value=$build_alias
694 ac_env_host_alias_set=${host_alias+set}
695 ac_env_host_alias_value=$host_alias
696 ac_cv_env_host_alias_set=${host_alias+set}
697 ac_cv_env_host_alias_value=$host_alias
698 ac_env_target_alias_set=${target_alias+set}
699 ac_env_target_alias_value=$target_alias
700 ac_cv_env_target_alias_set=${target_alias+set}
701 ac_cv_env_target_alias_value=$target_alias
702 ac_env_PERL_set=${PERL+set}
703 ac_env_PERL_value=$PERL
704 ac_cv_env_PERL_set=${PERL+set}
705 ac_cv_env_PERL_value=$PERL
708 # Report the --help message.
710 if test "$ac_init_help" = "long"; then
711 # Omit some internal or obsolete options to make the list less imposing.
712 # This message is too long to be a string in the A/UX 3.1 sh.
714 \`configure' configures RT 3.0.4 to adapt to many kinds of systems.
716 Usage: $0 [OPTION]... [VAR=VALUE]...
718 To assign environment variables (e.g., CC, CFLAGS...), specify them as
719 VAR=VALUE. See below for descriptions of some of the useful variables.
721 Defaults for the options are specified in brackets.
724 -h, --help display this help and exit
725 --help=short display options specific to this package
726 --help=recursive display the short help of all the included packages
727 -V, --version display version information and exit
728 -q, --quiet, --silent do not print \`checking...' messages
729 --cache-file=FILE cache test results in FILE [disabled]
730 -C, --config-cache alias for \`--cache-file=config.cache'
731 -n, --no-create do not create output files
732 --srcdir=DIR find the sources in DIR [configure dir or \`..']
737 Installation directories:
738 --prefix=PREFIX install architecture-independent files in PREFIX
740 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
743 By default, \`make install' will install all the files in
744 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
745 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
746 for instance \`--prefix=\$HOME'.
748 For better control, use the options below.
750 Fine tuning of the installation directories:
751 --bindir=DIR user executables [EPREFIX/bin]
752 --sbindir=DIR system admin executables [EPREFIX/sbin]
753 --libexecdir=DIR program executables [EPREFIX/libexec]
754 --datadir=DIR read-only architecture-independent data [PREFIX/share]
755 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
756 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
757 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
758 --libdir=DIR object code libraries [EPREFIX/lib]
759 --includedir=DIR C header files [PREFIX/include]
760 --oldincludedir=DIR C header files for non-gcc [/usr/include]
761 --infodir=DIR info documentation [PREFIX/info]
762 --mandir=DIR man documentation [PREFIX/man]
769 if test -n "$ac_init_help"; then
770 case $ac_init_help in
771 short | recursive ) echo "Configuration of RT 3.0.4:";;
776 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
777 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
778 --enable-layout=LAYOUT Use a specific directory layout (Default: RT3)
781 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
782 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
783 --with-speedycgi=/path/to/speedy
784 path to your speedycgi binary, if it exists
785 --with-rt-group=GROUP group to own all files (default: rt)
786 --with-bin-owner=OWNER user that will own rt binaries (default root)
787 --with-libs-owner=OWNER user that will own RT libraries (default root)
788 --with-libs-group=GROUP group that will own rt binaries (default bin)
789 --with-db-type=TYPE sort of database RT will use (default: mysql) (mysql
791 --with-db-host=HOSTNAME FQDN of database server (default: localhost)
792 --with-db-port=PORT port on which the database listens on
793 --with-db-rt-host=HOSTNAME
794 FQDN of RT server which talks to the database server
796 --with-db-dba=DBA name of database administrator (default: root)
797 --with-db-database=DBNAME
798 name of the database to use (default: rt3)
799 --with-db-rt-user=DBUSER
800 name of database user (default: rt_user)
801 --with-db-rt-pass=PASSWORD
802 password for database user (default: rt_pass)
803 --with-web-user=USER user the web server runs as (default: www)
804 --with-web-group=GROUP group the web server runs as (default: www)
806 Some influential environment variables:
807 PERL Perl interpreter command
809 Use these variables to override the choices made by `configure' or to help
810 it to find libraries and programs with nonstandard names/locations.
812 Report bugs to <rt-3.0-bugs@fsck.com>.
816 if test "$ac_init_help" = "recursive"; then
817 # If there are subdirs, report their specific --help.
819 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
820 test -d $ac_dir || continue
823 if test "$ac_dir" != .; then
824 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
825 # A "../" for each directory in $ac_dir_suffix.
826 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
828 ac_dir_suffix= ac_top_builddir=
832 .) # No --srcdir option. We are building in place.
834 if test -z "$ac_top_builddir"; then
837 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
839 [\\/]* | ?:[\\/]* ) # Absolute path.
840 ac_srcdir=$srcdir$ac_dir_suffix;
841 ac_top_srcdir=$srcdir ;;
843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
846 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
848 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
849 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
850 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
851 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
854 # Check for guested configure; otherwise get Cygnus style configure.
855 if test -f $ac_srcdir/configure.gnu; then
857 $SHELL $ac_srcdir/configure.gnu --help=recursive
858 elif test -f $ac_srcdir/configure; then
860 $SHELL $ac_srcdir/configure --help=recursive
861 elif test -f $ac_srcdir/configure.ac ||
862 test -f $ac_srcdir/configure.in; then
866 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
872 test -n "$ac_init_help" && exit 0
873 if $ac_init_version; then
876 generated by GNU Autoconf 2.53
878 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
879 Free Software Foundation, Inc.
880 This configure script is free software; the Free Software Foundation
881 gives unlimited permission to copy, distribute and modify it.
887 This file contains any messages produced by compilers while
888 running configure, to aid debugging if configure makes a mistake.
890 It was created by RT $as_me 3.0.4, which was
891 generated by GNU Autoconf 2.53. Invocation command line was
898 @%:@@%:@ --------- @%:@@%:@
899 @%:@@%:@ Platform. @%:@@%:@
900 @%:@@%:@ --------- @%:@@%:@
902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
909 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
911 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
912 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
914 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
915 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
916 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
917 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
925 test -z "$as_dir" && as_dir=.
934 @%:@@%:@ ----------- @%:@@%:@
935 @%:@@%:@ Core tests. @%:@@%:@
936 @%:@@%:@ ----------- @%:@@%:@
941 # Keep a trace of the command line.
942 # Strip out --no-create and --no-recursion so they do not pile up.
943 # Also quote any args containing shell meta-characters.
949 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
950 | --no-cr | --no-c | -n ) continue ;;
951 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
952 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
955 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
957 case " $ac_configure_args " in
958 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
959 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
962 # Get rid of the leading space.
965 # When interrupted or exit'd, cleanup temporary files, and complete
966 # config.log. We remove comments because anyway the quotes in there
967 # would cause problems or look ugly.
968 # WARNING: Be sure not to use single quotes in there, as some shells,
969 # such as our DU 5.0 friend, will then `close' the trap.
971 # Save into config.log some information that might help in debugging.
975 @%:@@%:@ ---------------- @%:@@%:@
976 @%:@@%:@ Cache variables. @%:@@%:@
977 @%:@@%:@ ---------------- @%:@@%:@
980 # The following way of writing the cache mishandles newlines in values,
983 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
986 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
996 if test -s confdefs.h; then
998 @%:@@%:@ ----------- @%:@@%:@
999 @%:@@%:@ confdefs.h. @%:@@%:@
1000 @%:@@%:@ ----------- @%:@@%:@
1003 sed "/^$/d" confdefs.h
1006 test "$ac_signal" != 0 &&
1007 echo "$as_me: caught signal $ac_signal"
1008 echo "$as_me: exit $exit_status"
1010 rm -f core core.* *.core &&
1011 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1014 for ac_signal in 1 2 13 15; do
1015 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1019 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1020 rm -rf conftest* confdefs.h
1021 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1024 # Predefined preprocessor variables.
1026 cat >>confdefs.h <<_ACEOF
1027 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1031 cat >>confdefs.h <<_ACEOF
1032 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1036 cat >>confdefs.h <<_ACEOF
1037 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1041 cat >>confdefs.h <<_ACEOF
1042 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1046 cat >>confdefs.h <<_ACEOF
1047 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1051 # Let the site file select an alternate cache file if it wants to.
1052 # Prefer explicitly selected file to automatically selected ones.
1053 if test -z "$CONFIG_SITE"; then
1054 if test "x$prefix" != xNONE; then
1055 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1057 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1060 for ac_site_file in $CONFIG_SITE; do
1061 if test -r "$ac_site_file"; then
1062 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1063 echo "$as_me: loading site script $ac_site_file" >&6;}
1064 sed 's/^/| /' "$ac_site_file" >&5
1069 if test -r "$cache_file"; then
1070 # Some versions of bash will fail to source /dev/null (special
1071 # files actually), so we avoid doing that.
1072 if test -f "$cache_file"; then
1073 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1074 echo "$as_me: loading cache $cache_file" >&6;}
1076 [\\/]* | ?:[\\/]* ) . $cache_file;;
1077 *) . ./$cache_file;;
1081 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1082 echo "$as_me: creating cache $cache_file" >&6;}
1086 # Check that the precious variables saved in the cache have kept the same
1088 ac_cache_corrupted=false
1089 for ac_var in `(set) 2>&1 |
1090 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1091 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1092 eval ac_new_set=\$ac_env_${ac_var}_set
1093 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1094 eval ac_new_val="\$ac_env_${ac_var}_value"
1095 case $ac_old_set,$ac_new_set in
1097 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1098 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1099 ac_cache_corrupted=: ;;
1101 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1102 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1103 ac_cache_corrupted=: ;;
1106 if test "x$ac_old_val" != "x$ac_new_val"; then
1107 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1108 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1109 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1110 echo "$as_me: former value: $ac_old_val" >&2;}
1111 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1112 echo "$as_me: current value: $ac_new_val" >&2;}
1113 ac_cache_corrupted=:
1116 # Pass precious variables to config.status.
1117 if test "$ac_new_set" = set; then
1119 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1120 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1121 *) ac_arg=$ac_var=$ac_new_val ;;
1123 case " $ac_configure_args " in
1124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1125 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1129 if $ac_cache_corrupted; then
1130 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1131 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1132 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1133 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1134 { (exit 1); exit 1; }; }
1138 ac_cpp='$CPP $CPPFLAGS'
1139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1176 test "x$rt_version_major" = 'x' && rt_version_major=0
1177 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1178 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1181 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1182 if test -f $ac_dir/install-sh; then
1184 ac_install_sh="$ac_aux_dir/install-sh -c"
1186 elif test -f $ac_dir/install.sh; then
1188 ac_install_sh="$ac_aux_dir/install.sh -c"
1190 elif test -f $ac_dir/shtool; then
1192 ac_install_sh="$ac_aux_dir/shtool install -c"
1196 if test -z "$ac_aux_dir"; then
1197 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1198 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1199 { (exit 1); exit 1; }; }
1201 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1202 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1203 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1205 # Find a good install program. We prefer a C program (faster),
1206 # so one script is as good as another. But avoid the broken or
1207 # incompatible versions:
1208 # SysV /etc/install, /usr/sbin/install
1209 # SunOS /usr/etc/install
1210 # IRIX /sbin/install
1212 # AmigaOS /C/install, which installs bootblocks on floppy discs
1213 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1214 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1215 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1216 # ./install, which can be erroneously created by make from ./install.sh.
1217 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1218 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1219 if test -z "$INSTALL"; then
1220 if test "${ac_cv_path_install+set}" = set; then
1221 echo $ECHO_N "(cached) $ECHO_C" >&6
1223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1227 test -z "$as_dir" && as_dir=.
1228 # Account for people who put trailing slashes in PATH elements.
1230 ./ | .// | /cC/* | \
1231 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1234 # OSF1 and SCO ODT 3.0 have their own names for install.
1235 # Don't use installbsd from OSF since it installs stuff as root
1237 for ac_prog in ginstall scoinst install; do
1238 for ac_exec_ext in '' $ac_executable_extensions; do
1239 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1240 if test $ac_prog = install &&
1241 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1242 # AIX install. It has an incompatible calling convention.
1244 elif test $ac_prog = install &&
1245 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1246 # program-specific install script used by HP pwplus--don't use.
1249 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1261 if test "${ac_cv_path_install+set}" = set; then
1262 INSTALL=$ac_cv_path_install
1264 # As a last resort, use the slow shell script. We don't cache a
1265 # path for INSTALL within a source directory, because that will
1266 # break other packages using the cache if that directory is
1267 # removed, or if the path is relative.
1268 INSTALL=$ac_install_sh
1271 echo "$as_me:$LINENO: result: $INSTALL" >&5
1272 echo "${ECHO_T}$INSTALL" >&6
1274 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1275 # It thinks the first close brace ends the variable substitution.
1276 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1278 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1280 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1283 # Extract the first word of "perl", so it can be a program name with args.
1284 set dummy perl; ac_word=$2
1285 echo "$as_me:$LINENO: checking for $ac_word" >&5
1286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1287 if test "${ac_cv_path_PERL+set}" = set; then
1288 echo $ECHO_N "(cached) $ECHO_C" >&6
1292 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1299 test -z "$as_dir" && as_dir=.
1300 for ac_exec_ext in '' $ac_executable_extensions; do
1301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1302 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1309 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
1313 PERL=$ac_cv_path_PERL
1315 if test -n "$PERL"; then
1316 echo "$as_me:$LINENO: result: $PERL" >&5
1317 echo "${ECHO_T}$PERL" >&6
1319 echo "$as_me:$LINENO: result: no" >&5
1320 echo "${ECHO_T}no" >&6
1323 if test "$PERL" = 'not found'; then
1324 { { echo "$as_me:$LINENO: error: cannot use $PACKAGE_NAME without perl" >&5
1325 echo "$as_me: error: cannot use $PACKAGE_NAME without perl" >&2;}
1326 { (exit 1); exit 1; }; }
1329 # Check whether --with-speedycgi or --without-speedycgi was given.
1330 if test "${with_speedycgi+set}" = set; then
1331 withval="$with_speedycgi"
1334 SPEEDY_BIN=/usr/local/bin/speedy
1341 # Check whether --enable-layout or --disable-layout was given.
1342 if test "${enable_layout+set}" = set; then
1343 enableval="$enable_layout"
1347 if test "x$LAYOUT" = "x"; then
1351 if test ! -f $srcdir/config.layout; then
1352 { echo "$as_me:$LINENO: WARNING: Layout file $srcdir/config.layout not found" >&5
1353 echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
1356 pldconf=./config.pld
1357 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
1358 s/.*<Layout\s+$layout>//gims;
1359 s/\<\/Layout\>.*//s;
1364 # m4 will not let us just use $srcdir/config.layout, we need @S|@1
1365 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
1366 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
1367 ' < $srcdir/config.layout > $pldconf
1369 if test -s $pldconf; then
1370 rt_layout_name=$LAYOUT
1373 for var in prefix exec_prefix bindir sbindir \
1374 sysconfdir mandir libdir datadir htmldir \
1375 localstatedir logfiledir masonstatedir \
1376 sessionstatedir customdir custometcdir customhtmldir \
1377 customlexdir customlibdir manualdir; do
1378 eval "val=\"\$$var\""
1379 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
1381 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
1394 while test "x${ap_cur}" != "x${ap_last}"; do
1396 ap_cur=`eval "echo ${ap_cur}"`
1398 exp_prefix="${ap_cur}"
1406 ap_cur='$exec_prefix'
1407 while test "x${ap_cur}" != "x${ap_last}"; do
1409 ap_cur=`eval "echo ${ap_cur}"`
1411 exp_exec_prefix="${ap_cur}"
1420 while test "x${ap_cur}" != "x${ap_last}"; do
1422 ap_cur=`eval "echo ${ap_cur}"`
1424 exp_bindir="${ap_cur}"
1433 while test "x${ap_cur}" != "x${ap_last}"; do
1435 ap_cur=`eval "echo ${ap_cur}"`
1437 exp_sbindir="${ap_cur}"
1445 ap_cur='$sysconfdir'
1446 while test "x${ap_cur}" != "x${ap_last}"; do
1448 ap_cur=`eval "echo ${ap_cur}"`
1450 exp_sysconfdir="${ap_cur}"
1459 while test "x${ap_cur}" != "x${ap_last}"; do
1461 ap_cur=`eval "echo ${ap_cur}"`
1463 exp_mandir="${ap_cur}"
1472 while test "x${ap_cur}" != "x${ap_last}"; do
1474 ap_cur=`eval "echo ${ap_cur}"`
1476 exp_libdir="${ap_cur}"
1485 while test "x${ap_cur}" != "x${ap_last}"; do
1487 ap_cur=`eval "echo ${ap_cur}"`
1489 exp_datadir="${ap_cur}"
1498 while test "x${ap_cur}" != "x${ap_last}"; do
1500 ap_cur=`eval "echo ${ap_cur}"`
1502 exp_htmldir="${ap_cur}"
1511 while test "x${ap_cur}" != "x${ap_last}"; do
1513 ap_cur=`eval "echo ${ap_cur}"`
1515 exp_manualdir="${ap_cur}"
1523 ap_cur='$localstatedir'
1524 while test "x${ap_cur}" != "x${ap_last}"; do
1526 ap_cur=`eval "echo ${ap_cur}"`
1528 exp_localstatedir="${ap_cur}"
1536 ap_cur='$logfiledir'
1537 while test "x${ap_cur}" != "x${ap_last}"; do
1539 ap_cur=`eval "echo ${ap_cur}"`
1541 exp_logfiledir="${ap_cur}"
1549 ap_cur='$masonstatedir'
1550 while test "x${ap_cur}" != "x${ap_last}"; do
1552 ap_cur=`eval "echo ${ap_cur}"`
1554 exp_masonstatedir="${ap_cur}"
1562 ap_cur='$sessionstatedir'
1563 while test "x${ap_cur}" != "x${ap_last}"; do
1565 ap_cur=`eval "echo ${ap_cur}"`
1567 exp_sessionstatedir="${ap_cur}"
1576 while test "x${ap_cur}" != "x${ap_last}"; do
1578 ap_cur=`eval "echo ${ap_cur}"`
1580 exp_customdir="${ap_cur}"
1588 ap_cur='$custometcdir'
1589 while test "x${ap_cur}" != "x${ap_last}"; do
1591 ap_cur=`eval "echo ${ap_cur}"`
1593 exp_custometcdir="${ap_cur}"
1601 ap_cur='$customhtmldir'
1602 while test "x${ap_cur}" != "x${ap_last}"; do
1604 ap_cur=`eval "echo ${ap_cur}"`
1606 exp_customhtmldir="${ap_cur}"
1614 ap_cur='$customlexdir'
1615 while test "x${ap_cur}" != "x${ap_last}"; do
1617 ap_cur=`eval "echo ${ap_cur}"`
1619 exp_customlexdir="${ap_cur}"
1627 ap_cur='$customlibdir'
1628 while test "x${ap_cur}" != "x${ap_last}"; do
1630 ap_cur=`eval "echo ${ap_cur}"`
1632 exp_customlibdir="${ap_cur}"
1638 echo "$as_me:$LINENO: checking for chosen layout" >&5
1639 echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6
1640 if test "x$rt_layout_name" = "xno"; then
1641 if test "x$LAYOUT" = "xno"; then
1642 echo "$as_me:$LINENO: result: none" >&5
1643 echo "${ECHO_T}none" >&6
1645 echo "$as_me:$LINENO: result: $LAYOUT" >&5
1646 echo "${ECHO_T}$LAYOUT" >&6
1648 { { echo "$as_me:$LINENO: error: a valid layout must be specified (or the default used)" >&5
1649 echo "$as_me: error: a valid layout must be specified (or the default used)" >&2;}
1650 { (exit 1); exit 1; }; }
1653 echo "$as_me:$LINENO: result: $rt_layout_name" >&5
1654 echo "${ECHO_T}$rt_layout_name" >&6
1659 # Check whether --with-rt-group or --without-rt-group was given.
1660 if test "${with_rt_group+set}" = set; then
1661 withval="$with_rt_group"
1669 # Check whether --with-bin-owner or --without-bin-owner was given.
1670 if test "${with_bin_owner+set}" = set; then
1671 withval="$with_bin_owner"
1679 # Check whether --with-libs-owner or --without-libs-owner was given.
1680 if test "${with_libs_owner+set}" = set; then
1681 withval="$with_libs_owner"
1689 # Check whether --with-libs-group or --without-libs-group was given.
1690 if test "${with_libs_group+set}" = set; then
1691 withval="$with_libs_group"
1699 # Check whether --with-db-type or --without-db-type was given.
1700 if test "${with_db_type+set}" = set; then
1701 withval="$with_db_type"
1706 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite'; then
1707 { { echo "$as_me:$LINENO: error: Only Pg and mysql are valid db types" >&5
1708 echo "$as_me: error: Only Pg and mysql are valid db types" >&2;}
1709 { (exit 1); exit 1; }; }
1714 # Check whether --with-db-host or --without-db-host was given.
1715 if test "${with_db_host+set}" = set; then
1716 withval="$with_db_host"
1724 # Check whether --with-db-port or --without-db-port was given.
1725 if test "${with_db_port+set}" = set; then
1726 withval="$with_db_port"
1734 # Check whether --with-db-rt-host or --without-db-rt-host was given.
1735 if test "${with_db_rt_host+set}" = set; then
1736 withval="$with_db_rt_host"
1739 DB_RT_HOST=localhost
1744 # Check whether --with-db-dba or --without-db-dba was given.
1745 if test "${with_db_dba+set}" = set; then
1746 withval="$with_db_dba"
1754 # Check whether --with-db-database or --without-db-database was given.
1755 if test "${with_db_database+set}" = set; then
1756 withval="$with_db_database"
1757 DB_DATABASE=$withval
1764 # Check whether --with-db-rt-user or --without-db-rt-user was given.
1765 if test "${with_db_rt_user+set}" = set; then
1766 withval="$with_db_rt_user"
1774 # Check whether --with-db-rt-pass or --without-db-rt-pass was given.
1775 if test "${with_db_rt_pass+set}" = set; then
1776 withval="$with_db_rt_pass"
1784 # Check whether --with-web-user or --without-web-user was given.
1785 if test "${with_web_user+set}" = set; then
1786 withval="$with_web_user"
1794 # Check whether --with-web-group or --without-web-group was given.
1795 if test "${with_web_group+set}" = set; then
1796 withval="$with_web_group"
1804 RT_VERSION_MAJOR=${rt_version_major}
1806 RT_VERSION_MINOR=${rt_version_minor}
1808 RT_VERSION_PATCH=${rt_version_patch}
1811 RT_PATH=${exp_prefix}
1813 RT_DOC_PATH=${exp_manualdir}
1815 RT_LOCAL_PATH=${exp_customdir}
1817 RT_LIB_PATH=${exp_libdir}
1819 RT_ETC_PATH=${exp_sysconfdir}
1821 CONFIG_FILE_PATH=${exp_sysconfdir}
1823 RT_BIN_PATH=${exp_bindir}
1825 RT_SBIN_PATH=${exp_sbindir}
1827 RT_VAR_PATH=${exp_localstatedir}
1829 RT_MAN_PATH=${exp_mandir}
1831 MASON_DATA_PATH=${exp_masonstatedir}
1833 MASON_SESSION_PATH=${exp_sessionstatedir}
1835 MASON_HTML_PATH=${exp_htmldir}
1837 LOCAL_ETC_PATH=${exp_custometcdir}
1839 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
1841 LOCAL_LEXICON_PATH=${exp_customlexdir}
1843 LOCAL_LIB_PATH=${exp_customlibdir}
1845 DESTDIR=${exp_prefix}
1847 RT_LOG_PATH=${exp_logfiledir}
1851 ac_config_files="$ac_config_files sbin/rt-setup-database sbin/rt-test-dependencies Makefile etc/RT_Config.pm lib/RT.pm lib/t/00smoke.t lib/t/01harness.t lib/t/02regression.t lib/t/03web.pl lib/t/04_send_email.pl bin/mason_handler.fcgi bin/mason_handler.scgi bin/mason_handler.svc bin/rt-commit-handler bin/rt-crontool bin/rt-mailgate bin/webmux.pl"
1853 cat >confcache <<\_ACEOF
1854 # This file is a shell script that caches the results of configure
1855 # tests run on this system so they can be shared between configure
1856 # scripts and configure runs, see configure's option --config-cache.
1857 # It is not useful on other systems. If it contains results you don't
1858 # want to keep, you may remove or edit it.
1860 # config.status only pays attention to the cache file if you give it
1861 # the --recheck option to rerun configure.
1863 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1869 # The following way of writing the cache mishandles newlines in values,
1870 # but we know of no workaround that is simple, portable, and efficient.
1871 # So, don't put newlines in cache variables' values.
1872 # Ultrix sh set writes to stderr and can't be redirected directly,
1873 # and sets the high bit in the cache file unless we assign to the vars.
1876 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1878 # `set' does not quote correctly, so add quotes (double-quote
1879 # substitution turns \\\\ into \\, and sed turns \\ into \).
1882 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1885 # `set' quotes correctly as required by POSIX, so do not add quotes.
1887 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1896 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1898 if cmp -s $cache_file confcache; then :; else
1899 if test -w $cache_file; then
1900 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1901 cat confcache >$cache_file
1903 echo "not updating unwritable cache $cache_file"
1908 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1909 # Let make expand exec_prefix.
1910 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1912 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1913 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1914 # trailing colons and then remove the whole line if VPATH becomes empty
1915 # (actually we leave an empty line to preserve line numbers).
1916 if test "x$srcdir" = x.; then
1917 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1918 s/:*\$(srcdir):*/:/;
1919 s/:*\${srcdir}:*/:/;
1921 s/^\([^=]*=[ ]*\):*/\1/;
1927 # Transform confdefs.h into DEFS.
1928 # Protect against shell expansion while executing Makefile rules.
1929 # Protect against Makefile macro expansion.
1931 # If the first sed substitution is executed (which looks for macros that
1932 # take arguments), then we branch to the quote section. Otherwise,
1933 # look for a macro that doesn't take arguments.
1934 cat >confdef2opt.sed <<\_ACEOF
1937 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1939 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1943 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1949 # We use echo to avoid assuming a particular line-breaking character.
1950 # The extra dot is to prevent the shell from consuming trailing
1951 # line-breaks from the sub-command output. A line-break within
1952 # single-quotes doesn't work because, if this script is created in a
1953 # platform that uses two characters for line-breaks (e.g., DOS), tr
1955 ac_LF_and_DOT=`echo; echo .`
1956 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1957 rm -f confdef2opt.sed
1961 : ${CONFIG_STATUS=./config.status}
1962 ac_clean_files_save=$ac_clean_files
1963 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1964 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1965 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1966 cat >$CONFIG_STATUS <<_ACEOF
1968 # Generated by $as_me.
1969 # Run this file to recreate the current configuration.
1970 # Compiler output produced by configure, useful for debugging
1971 # configure, is in config.log if it exists.
1974 SHELL=\${CONFIG_SHELL-$SHELL}
1977 cat >>$CONFIG_STATUS <<\_ACEOF
1979 ## --------------------- ##
1980 ## M4sh Initialization. ##
1981 ## --------------------- ##
1983 # Be Bourne compatible
1984 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1987 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1992 # Support unset when possible.
1993 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1999 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2000 { $as_unset LANG || test "${LANG+set}" != set; } ||
2001 { LANG=C; export LANG; }
2002 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2003 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2004 { LC_ALL=C; export LC_ALL; }
2005 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2006 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2007 { LC_TIME=C; export LC_TIME; }
2008 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2009 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2010 { LC_CTYPE=C; export LC_CTYPE; }
2011 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2012 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2013 { LANGUAGE=C; export LANGUAGE; }
2014 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2015 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2016 { LC_COLLATE=C; export LC_COLLATE; }
2017 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2018 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2019 { LC_NUMERIC=C; export LC_NUMERIC; }
2020 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2021 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2022 { LC_MESSAGES=C; export LC_MESSAGES; }
2025 # Name of the executable.
2026 as_me=`(basename "$0") 2>/dev/null ||
2027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2028 X"$0" : 'X\(//\)$' \| \
2029 X"$0" : 'X\(/\)$' \| \
2030 . : '\(.\)' 2>/dev/null ||
2032 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2033 /^X\/\(\/\/\)$/{ s//\1/; q; }
2034 /^X\/\(\/\).*/{ s//\1/; q; }
2037 # PATH needs CR, and LINENO needs CR and PATH.
2038 # Avoid depending upon Character Ranges.
2039 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2040 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2041 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2042 as_cr_digits='0123456789'
2043 as_cr_alnum=$as_cr_Letters$as_cr_digits
2045 # The user is always right.
2046 if test "${PATH_SEPARATOR+set}" != set; then
2047 echo "#! /bin/sh" >conftest.sh
2048 echo "exit 0" >>conftest.sh
2049 chmod +x conftest.sh
2050 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2062 test "x$as_lineno_1" != "x$as_lineno_2" &&
2063 test "x$as_lineno_3" = "x$as_lineno_2" || {
2064 # Find who we are. Look in the path if we contain no path at all
2067 *[\\/]* ) as_myself=$0 ;;
2068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 test -z "$as_dir" && as_dir=.
2073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2078 # We did not find ourselves, most probably we were run as `sh COMMAND'
2079 # in which case we are not to be found in the path.
2080 if test "x$as_myself" = x; then
2083 if test ! -f "$as_myself"; then
2084 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2085 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2086 { (exit 1); exit 1; }; }
2088 case $CONFIG_SHELL in
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2094 test -z "$as_dir" && as_dir=.
2095 for as_base in sh bash ksh sh5; do
2098 if ("$as_dir/$as_base" -c '
2101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2102 test "x$as_lineno_1" != "x$as_lineno_2" &&
2103 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2104 CONFIG_SHELL=$as_dir/$as_base
2106 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2114 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2115 # uniformly replaced by the line number. The first 'sed' inserts a
2116 # line-number line before each line; the second 'sed' does the real
2117 # work. The second script uses 'N' to pair each line-number line
2118 # with the numbered line, and appends trailing '-' during
2119 # substitution so that $LINENO is not a special case at line end.
2120 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2121 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2122 sed '=' <$as_myself |
2127 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2130 s,^['$as_cr_digits']*\n,,
2132 chmod +x $as_me.lineno ||
2133 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2134 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2135 { (exit 1); exit 1; }; }
2137 # Don't try to exec as it changes $[0], causing all sort of problems
2138 # (the dirname of $[0] is not the place where we might find the
2139 # original and so on. Autoconf is especially sensible to this).
2141 # Exit status is that of the last command.
2146 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2147 *c*,-n*) ECHO_N= ECHO_C='
2149 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2150 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2153 if expr a : '\(a\)' >/dev/null 2>&1; then
2159 rm -f conf$$ conf$$.exe conf$$.file
2161 if ln -s conf$$.file conf$$ 2>/dev/null; then
2162 # We could just check for DJGPP; but this test a) works b) is more generic
2163 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2164 if test -f conf$$.exe; then
2165 # Don't use ln at all; we don't have any links
2170 elif ln conf$$.file conf$$ 2>/dev/null; then
2175 rm -f conf$$ conf$$.exe conf$$.file
2177 as_executable_p="test -f"
2179 # Sed expression to map a string onto a valid CPP name.
2180 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2182 # Sed expression to map a string onto a valid variable name.
2183 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2187 # We need space, tab and new line, in precisely that order.
2193 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2197 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2198 # report actual input values of CONFIG_FILES etc. instead of their
2199 # values after options handling. Logging --version etc. is OK.
2203 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
2204 @%:@@%:@ Running $as_me. @%:@@%:@
2209 This file was extended by RT $as_me 3.0.4, which was
2210 generated by GNU Autoconf 2.53. Invocation command line was
2212 CONFIG_FILES = $CONFIG_FILES
2213 CONFIG_HEADERS = $CONFIG_HEADERS
2214 CONFIG_LINKS = $CONFIG_LINKS
2215 CONFIG_COMMANDS = $CONFIG_COMMANDS
2219 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2223 # Files that config.status was made for.
2224 if test -n "$ac_config_files"; then
2225 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2228 if test -n "$ac_config_headers"; then
2229 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2232 if test -n "$ac_config_links"; then
2233 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2236 if test -n "$ac_config_commands"; then
2237 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2240 cat >>$CONFIG_STATUS <<\_ACEOF
2243 \`$as_me' instantiates files from templates according to the
2244 current configuration.
2246 Usage: $0 [OPTIONS] [FILE]...
2248 -h, --help print this help, then exit
2249 -V, --version print version number, then exit
2250 -d, --debug don't remove temporary files
2251 --recheck update $as_me by reconfiguring in the same conditions
2252 --file=FILE[:TEMPLATE]
2253 instantiate the configuration file FILE
2255 Configuration files:
2258 Report bugs to <bug-autoconf@gnu.org>."
2261 cat >>$CONFIG_STATUS <<_ACEOF
2263 RT config.status 3.0.4
2264 configured by $0, generated by GNU Autoconf 2.53,
2265 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2267 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2268 Free Software Foundation, Inc.
2269 This config.status script is free software; the Free Software Foundation
2270 gives unlimited permission to copy, distribute and modify it."
2275 cat >>$CONFIG_STATUS <<\_ACEOF
2276 # If no file are specified by the user, then we need to provide default
2277 # value. By we need to know if files were specified by the user.
2283 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2284 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2286 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2290 *) # This is not an option, so the user has probably given explicit
2292 ac_need_defaults=false;;
2296 # Handling of the options.
2298 cat >>$CONFIG_STATUS <<_ACEOF
2299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2300 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2301 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2303 cat >>$CONFIG_STATUS <<\_ACEOF
2304 --version | --vers* | -V )
2305 echo "$ac_cs_version"; exit 0 ;;
2307 # Conflict between --help and --header
2308 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2309 Try \`$0 --help' for more information." >&5
2310 echo "$as_me: error: ambiguous option: $1
2311 Try \`$0 --help' for more information." >&2;}
2312 { (exit 1); exit 1; }; };;
2313 --help | --hel | -h )
2314 echo "$ac_cs_usage"; exit 0 ;;
2315 --debug | --d* | -d )
2317 --file | --fil | --fi | --f )
2319 CONFIG_FILES="$CONFIG_FILES $1"
2320 ac_need_defaults=false;;
2321 --header | --heade | --head | --hea )
2323 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2324 ac_need_defaults=false;;
2327 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2328 Try \`$0 --help' for more information." >&5
2329 echo "$as_me: error: unrecognized option: $1
2330 Try \`$0 --help' for more information." >&2;}
2331 { (exit 1); exit 1; }; } ;;
2333 *) ac_config_targets="$ac_config_targets $1" ;;
2345 cat >>$CONFIG_STATUS <<\_ACEOF
2346 for ac_config_target in $ac_config_targets
2348 case "$ac_config_target" in
2349 # Handling of arguments.
2350 "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
2351 "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
2352 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2353 "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
2354 "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
2355 "lib/t/00smoke.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/00smoke.t" ;;
2356 "lib/t/01harness.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/01harness.t" ;;
2357 "lib/t/02regression.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/02regression.t" ;;
2358 "lib/t/03web.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/03web.pl" ;;
2359 "lib/t/04_send_email.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/04_send_email.pl" ;;
2360 "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
2361 "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
2362 "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
2363 "bin/rt-commit-handler" ) CONFIG_FILES="$CONFIG_FILES bin/rt-commit-handler" ;;
2364 "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
2365 "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
2366 "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
2367 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2368 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2369 { (exit 1); exit 1; }; };;
2373 # If the user did not use the arguments to specify the items to instantiate,
2374 # then the envvar interface is used. Set only those that are not.
2375 # We use the long form for the default assignment because of an extremely
2376 # bizarre bug on SunOS 4.1.3.
2377 if $ac_need_defaults; then
2378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2381 # Create a temporary directory, and hook for its removal unless debugging.
2384 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2385 trap '{ (exit 1); exit 1; }' 1 2 13 15
2388 # Create a (secure) tmp directory for tmp files.
2391 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2392 test -n "$tmp" && test -d "$tmp"
2395 tmp=$TMPDIR/cs$$-$RANDOM
2396 (umask 077 && mkdir $tmp)
2399 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2400 { (exit 1); exit 1; }
2405 cat >>$CONFIG_STATUS <<_ACEOF
2408 # CONFIG_FILES section.
2411 # No need to generate the scripts if there are no CONFIG_FILES.
2412 # This happens for instance when ./config.status config.h
2413 if test -n "\$CONFIG_FILES"; then
2414 # Protect against being on the right side of a sed subst in config.status.
2415 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2416 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2417 s,@SHELL@,$SHELL,;t t
2418 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2419 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2420 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2421 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2422 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2423 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2424 s,@exec_prefix@,$exec_prefix,;t t
2425 s,@prefix@,$prefix,;t t
2426 s,@program_transform_name@,$program_transform_name,;t t
2427 s,@bindir@,$bindir,;t t
2428 s,@sbindir@,$sbindir,;t t
2429 s,@libexecdir@,$libexecdir,;t t
2430 s,@datadir@,$datadir,;t t
2431 s,@sysconfdir@,$sysconfdir,;t t
2432 s,@sharedstatedir@,$sharedstatedir,;t t
2433 s,@localstatedir@,$localstatedir,;t t
2434 s,@libdir@,$libdir,;t t
2435 s,@includedir@,$includedir,;t t
2436 s,@oldincludedir@,$oldincludedir,;t t
2437 s,@infodir@,$infodir,;t t
2438 s,@mandir@,$mandir,;t t
2439 s,@build_alias@,$build_alias,;t t
2440 s,@host_alias@,$host_alias,;t t
2441 s,@target_alias@,$target_alias,;t t
2443 s,@ECHO_C@,$ECHO_C,;t t
2444 s,@ECHO_N@,$ECHO_N,;t t
2445 s,@ECHO_T@,$ECHO_T,;t t
2447 s,@rt_version_major@,$rt_version_major,;t t
2448 s,@rt_version_minor@,$rt_version_minor,;t t
2449 s,@rt_version_patch@,$rt_version_patch,;t t
2450 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2451 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2452 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2454 s,@SPEEDY_BIN@,$SPEEDY_BIN,;t t
2455 s,@exp_prefix@,$exp_prefix,;t t
2456 s,@exp_exec_prefix@,$exp_exec_prefix,;t t
2457 s,@exp_bindir@,$exp_bindir,;t t
2458 s,@exp_sbindir@,$exp_sbindir,;t t
2459 s,@exp_sysconfdir@,$exp_sysconfdir,;t t
2460 s,@exp_mandir@,$exp_mandir,;t t
2461 s,@exp_libdir@,$exp_libdir,;t t
2462 s,@exp_datadir@,$exp_datadir,;t t
2463 s,@htmldir@,$htmldir,;t t
2464 s,@exp_htmldir@,$exp_htmldir,;t t
2465 s,@manualdir@,$manualdir,;t t
2466 s,@exp_manualdir@,$exp_manualdir,;t t
2467 s,@exp_localstatedir@,$exp_localstatedir,;t t
2468 s,@logfiledir@,$logfiledir,;t t
2469 s,@exp_logfiledir@,$exp_logfiledir,;t t
2470 s,@masonstatedir@,$masonstatedir,;t t
2471 s,@exp_masonstatedir@,$exp_masonstatedir,;t t
2472 s,@sessionstatedir@,$sessionstatedir,;t t
2473 s,@exp_sessionstatedir@,$exp_sessionstatedir,;t t
2474 s,@customdir@,$customdir,;t t
2475 s,@exp_customdir@,$exp_customdir,;t t
2476 s,@custometcdir@,$custometcdir,;t t
2477 s,@exp_custometcdir@,$exp_custometcdir,;t t
2478 s,@customhtmldir@,$customhtmldir,;t t
2479 s,@exp_customhtmldir@,$exp_customhtmldir,;t t
2480 s,@customlexdir@,$customlexdir,;t t
2481 s,@exp_customlexdir@,$exp_customlexdir,;t t
2482 s,@customlibdir@,$customlibdir,;t t
2483 s,@exp_customlibdir@,$exp_customlibdir,;t t
2484 s,@rt_layout_name@,$rt_layout_name,;t t
2485 s,@RTGROUP@,$RTGROUP,;t t
2486 s,@BIN_OWNER@,$BIN_OWNER,;t t
2487 s,@LIBS_OWNER@,$LIBS_OWNER,;t t
2488 s,@LIBS_GROUP@,$LIBS_GROUP,;t t
2489 s,@DB_TYPE@,$DB_TYPE,;t t
2490 s,@DB_HOST@,$DB_HOST,;t t
2491 s,@DB_PORT@,$DB_PORT,;t t
2492 s,@DB_RT_HOST@,$DB_RT_HOST,;t t
2493 s,@DB_DBA@,$DB_DBA,;t t
2494 s,@DB_DATABASE@,$DB_DATABASE,;t t
2495 s,@DB_RT_USER@,$DB_RT_USER,;t t
2496 s,@DB_RT_PASS@,$DB_RT_PASS,;t t
2497 s,@WEB_USER@,$WEB_USER,;t t
2498 s,@WEB_GROUP@,$WEB_GROUP,;t t
2499 s,@RT_VERSION_MAJOR@,$RT_VERSION_MAJOR,;t t
2500 s,@RT_VERSION_MINOR@,$RT_VERSION_MINOR,;t t
2501 s,@RT_VERSION_PATCH@,$RT_VERSION_PATCH,;t t
2502 s,@RT_PATH@,$RT_PATH,;t t
2503 s,@RT_DOC_PATH@,$RT_DOC_PATH,;t t
2504 s,@RT_LOCAL_PATH@,$RT_LOCAL_PATH,;t t
2505 s,@RT_LIB_PATH@,$RT_LIB_PATH,;t t
2506 s,@RT_ETC_PATH@,$RT_ETC_PATH,;t t
2507 s,@CONFIG_FILE_PATH@,$CONFIG_FILE_PATH,;t t
2508 s,@RT_BIN_PATH@,$RT_BIN_PATH,;t t
2509 s,@RT_SBIN_PATH@,$RT_SBIN_PATH,;t t
2510 s,@RT_VAR_PATH@,$RT_VAR_PATH,;t t
2511 s,@RT_MAN_PATH@,$RT_MAN_PATH,;t t
2512 s,@MASON_DATA_PATH@,$MASON_DATA_PATH,;t t
2513 s,@MASON_SESSION_PATH@,$MASON_SESSION_PATH,;t t
2514 s,@MASON_HTML_PATH@,$MASON_HTML_PATH,;t t
2515 s,@LOCAL_ETC_PATH@,$LOCAL_ETC_PATH,;t t
2516 s,@MASON_LOCAL_HTML_PATH@,$MASON_LOCAL_HTML_PATH,;t t
2517 s,@LOCAL_LEXICON_PATH@,$LOCAL_LEXICON_PATH,;t t
2518 s,@LOCAL_LIB_PATH@,$LOCAL_LIB_PATH,;t t
2519 s,@DESTDIR@,$DESTDIR,;t t
2520 s,@RT_LOG_PATH@,$RT_LOG_PATH,;t t
2525 cat >>$CONFIG_STATUS <<\_ACEOF
2526 # Split the substitutions into bite-sized pieces for seds with
2527 # small command number limits, like on Digital OSF/1 and HP-UX.
2529 ac_sed_frag=1 # Number of current file.
2530 ac_beg=1 # First line for current file.
2531 ac_end=$ac_max_sed_lines # Line after last line for current file.
2534 while $ac_more_lines; do
2535 if test $ac_beg -gt 1; then
2536 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2538 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2540 if test ! -s $tmp/subs.frag; then
2543 # The purpose of the label and of the branching condition is to
2544 # speed up the sed processing (if there are no `@' at all, there
2545 # is no need to browse any of the substitutions).
2546 # These are the two extra sed commands mentioned above.
2548 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2549 if test -z "$ac_sed_cmds"; then
2550 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2552 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2554 ac_sed_frag=`expr $ac_sed_frag + 1`
2556 ac_end=`expr $ac_end + $ac_max_sed_lines`
2559 if test -z "$ac_sed_cmds"; then
2562 fi # test -n "$CONFIG_FILES"
2565 cat >>$CONFIG_STATUS <<\_ACEOF
2566 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2567 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2569 - | *:- | *:-:* ) # input from stdin
2571 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2572 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2573 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2574 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2575 * ) ac_file_in=$ac_file.in ;;
2578 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2579 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2581 X"$ac_file" : 'X\(//\)[^/]' \| \
2582 X"$ac_file" : 'X\(//\)$' \| \
2583 X"$ac_file" : 'X\(/\)' \| \
2584 . : '\(.\)' 2>/dev/null ||
2586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2588 /^X\(\/\/\)$/{ s//\1/; q; }
2589 /^X\(\/\).*/{ s//\1/; q; }
2592 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2596 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2597 case $as_mkdir_dir in
2598 # Skip DOS drivespec
2599 ?:) as_incr_dir=$as_mkdir_dir ;;
2601 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2602 test -d "$as_incr_dir" ||
2603 mkdir "$as_incr_dir" ||
2604 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2605 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2606 { (exit 1); exit 1; }; }
2613 if test "$ac_dir" != .; then
2614 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2615 # A "../" for each directory in $ac_dir_suffix.
2616 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2618 ac_dir_suffix= ac_top_builddir=
2622 .) # No --srcdir option. We are building in place.
2624 if test -z "$ac_top_builddir"; then
2627 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2629 [\\/]* | ?:[\\/]* ) # Absolute path.
2630 ac_srcdir=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir=$srcdir ;;
2633 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2634 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2636 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2638 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2639 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2640 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2641 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2645 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2646 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2649 if test x"$ac_file" != x-; then
2650 { echo "$as_me:$LINENO: creating $ac_file" >&5
2651 echo "$as_me: creating $ac_file" >&6;}
2654 # Let's still pretend it is `configure' which instantiates (i.e., don't
2655 # use $as_me), people would be surprised to read:
2656 # /* config.h. Generated by config.status. */
2657 if test x"$ac_file" = x-; then
2660 configure_input="$ac_file. "
2662 configure_input=$configure_input"Generated from `echo $ac_file_in |
2663 sed 's,.*/,,'` by configure."
2665 # First look for the input files in the build tree, otherwise in the
2667 ac_file_inputs=`IFS=:
2668 for f in $ac_file_in; do
2670 -) echo $tmp/stdin ;;
2672 # Absolute (can't be DOS-style, as IFS=:)
2673 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2674 echo "$as_me: error: cannot find input file: $f" >&2;}
2675 { (exit 1); exit 1; }; }
2678 if test -f "$f"; then
2681 elif test -f "$srcdir/$f"; then
2686 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2687 echo "$as_me: error: cannot find input file: $f" >&2;}
2688 { (exit 1); exit 1; }; }
2691 done` || { (exit 1); exit 1; }
2693 cat >>$CONFIG_STATUS <<_ACEOF
2697 cat >>$CONFIG_STATUS <<\_ACEOF
2699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2700 s,@configure_input@,$configure_input,;t t
2701 s,@srcdir@,$ac_srcdir,;t t
2702 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2703 s,@top_srcdir@,$ac_top_srcdir,;t t
2704 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2705 s,@builddir@,$ac_builddir,;t t
2706 s,@abs_builddir@,$ac_abs_builddir,;t t
2707 s,@top_builddir@,$ac_top_builddir,;t t
2708 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2709 s,@INSTALL@,$ac_INSTALL,;t t
2710 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2712 if test x"$ac_file" != x-; then
2713 mv $tmp/out $ac_file
2722 cat >>$CONFIG_STATUS <<\_ACEOF
2724 { (exit 0); exit 0; }
2726 chmod +x $CONFIG_STATUS
2727 ac_clean_files=$ac_clean_files_save
2730 # configure is writing to config.log, and then calls config.status.
2731 # config.status does its own redirection, appending to config.log.
2732 # Unfortunately, on DOS this fails, as config.log is still kept open
2733 # by configure, so config.status won't be able to write to it; its
2734 # output is simply discarded. So we exec the FD to /dev/null,
2735 # effectively closing config.log, so it can be properly (re)opened and
2736 # appended to by config.status. When coming back to configure, we
2737 # need to make the FD available again.
2738 if test "$no_create" != yes; then
2741 $SHELL $CONFIG_STATUS || ac_cs_success=false
2743 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2744 # would make configure fail if this is the last instruction.
2745 $ac_cs_success || { (exit 1); exit 1; }