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.9.
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.9'
261 PACKAGE_STRING='RT 3.0.9'
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.9 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.9:";;
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)
790 (mysql, Pg, Oracle and Informix are valid)
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)
805 --with-my-user-group set all users and groups to current user/group
807 Some influential environment variables:
808 PERL Perl interpreter command
810 Use these variables to override the choices made by `configure' or to help
811 it to find libraries and programs with nonstandard names/locations.
813 Report bugs to <rt-3.0-bugs@fsck.com>.
817 if test "$ac_init_help" = "recursive"; then
818 # If there are subdirs, report their specific --help.
820 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821 test -d $ac_dir || continue
824 if test "$ac_dir" != .; then
825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
826 # A "../" for each directory in $ac_dir_suffix.
827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
829 ac_dir_suffix= ac_top_builddir=
833 .) # No --srcdir option. We are building in place.
835 if test -z "$ac_top_builddir"; then
838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840 [\\/]* | ?:[\\/]* ) # Absolute path.
841 ac_srcdir=$srcdir$ac_dir_suffix;
842 ac_top_srcdir=$srcdir ;;
844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
847 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
849 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
850 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
851 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
852 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
855 # Check for guested configure; otherwise get Cygnus style configure.
856 if test -f $ac_srcdir/configure.gnu; then
858 $SHELL $ac_srcdir/configure.gnu --help=recursive
859 elif test -f $ac_srcdir/configure; then
861 $SHELL $ac_srcdir/configure --help=recursive
862 elif test -f $ac_srcdir/configure.ac ||
863 test -f $ac_srcdir/configure.in; then
867 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
873 test -n "$ac_init_help" && exit 0
874 if $ac_init_version; then
877 generated by GNU Autoconf 2.53
879 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
880 Free Software Foundation, Inc.
881 This configure script is free software; the Free Software Foundation
882 gives unlimited permission to copy, distribute and modify it.
888 This file contains any messages produced by compilers while
889 running configure, to aid debugging if configure makes a mistake.
891 It was created by RT $as_me 3.0.9, which was
892 generated by GNU Autoconf 2.53. Invocation command line was
903 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
904 uname -m = `(uname -m) 2>/dev/null || echo unknown`
905 uname -r = `(uname -r) 2>/dev/null || echo unknown`
906 uname -s = `(uname -s) 2>/dev/null || echo unknown`
907 uname -v = `(uname -v) 2>/dev/null || echo unknown`
909 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
910 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
912 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
913 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
914 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
915 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
916 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
917 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
918 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
926 test -z "$as_dir" && as_dir=.
942 # Keep a trace of the command line.
943 # Strip out --no-create and --no-recursion so they do not pile up.
944 # Also quote any args containing shell meta-characters.
950 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
951 | --no-cr | --no-c | -n ) continue ;;
952 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
955 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
956 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
958 case " $ac_configure_args " in
959 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
960 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
963 # Get rid of the leading space.
966 # When interrupted or exit'd, cleanup temporary files, and complete
967 # config.log. We remove comments because anyway the quotes in there
968 # would cause problems or look ugly.
969 # WARNING: Be sure not to use single quotes in there, as some shells,
970 # such as our DU 5.0 friend, will then `close' the trap.
972 # Save into config.log some information that might help in debugging.
976 ## ---------------- ##
977 ## Cache variables. ##
978 ## ---------------- ##
981 # The following way of writing the cache mishandles newlines in values,
984 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
987 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
992 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
997 if test -s confdefs.h; then
1004 sed "/^$/d" confdefs.h
1007 test "$ac_signal" != 0 &&
1008 echo "$as_me: caught signal $ac_signal"
1009 echo "$as_me: exit $exit_status"
1011 rm -f core core.* *.core &&
1012 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1015 for ac_signal in 1 2 13 15; do
1016 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1021 rm -rf conftest* confdefs.h
1022 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1025 # Predefined preprocessor variables.
1027 cat >>confdefs.h <<_ACEOF
1028 #define PACKAGE_NAME "$PACKAGE_NAME"
1032 cat >>confdefs.h <<_ACEOF
1033 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1037 cat >>confdefs.h <<_ACEOF
1038 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1042 cat >>confdefs.h <<_ACEOF
1043 #define PACKAGE_STRING "$PACKAGE_STRING"
1047 cat >>confdefs.h <<_ACEOF
1048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1052 # Let the site file select an alternate cache file if it wants to.
1053 # Prefer explicitly selected file to automatically selected ones.
1054 if test -z "$CONFIG_SITE"; then
1055 if test "x$prefix" != xNONE; then
1056 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1058 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1061 for ac_site_file in $CONFIG_SITE; do
1062 if test -r "$ac_site_file"; then
1063 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1064 echo "$as_me: loading site script $ac_site_file" >&6;}
1065 sed 's/^/| /' "$ac_site_file" >&5
1070 if test -r "$cache_file"; then
1071 # Some versions of bash will fail to source /dev/null (special
1072 # files actually), so we avoid doing that.
1073 if test -f "$cache_file"; then
1074 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1075 echo "$as_me: loading cache $cache_file" >&6;}
1077 [\\/]* | ?:[\\/]* ) . $cache_file;;
1078 *) . ./$cache_file;;
1082 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1083 echo "$as_me: creating cache $cache_file" >&6;}
1087 # Check that the precious variables saved in the cache have kept the same
1089 ac_cache_corrupted=false
1090 for ac_var in `(set) 2>&1 |
1091 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1093 eval ac_new_set=\$ac_env_${ac_var}_set
1094 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1095 eval ac_new_val="\$ac_env_${ac_var}_value"
1096 case $ac_old_set,$ac_new_set in
1098 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1099 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1100 ac_cache_corrupted=: ;;
1102 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1103 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1104 ac_cache_corrupted=: ;;
1107 if test "x$ac_old_val" != "x$ac_new_val"; then
1108 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1109 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1110 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1111 echo "$as_me: former value: $ac_old_val" >&2;}
1112 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1113 echo "$as_me: current value: $ac_new_val" >&2;}
1114 ac_cache_corrupted=:
1117 # Pass precious variables to config.status.
1118 if test "$ac_new_set" = set; then
1120 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1121 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1122 *) ac_arg=$ac_var=$ac_new_val ;;
1124 case " $ac_configure_args " in
1125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1126 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1130 if $ac_cache_corrupted; then
1131 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1132 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1133 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1134 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1135 { (exit 1); exit 1; }; }
1139 ac_cpp='$CPP $CPPFLAGS'
1140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1177 test "x$rt_version_major" = 'x' && rt_version_major=0
1178 test "x$rt_version_minor" = 'x' && rt_version_minor=0
1179 test "x$rt_version_patch" = 'x' && rt_version_patch=0
1182 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1183 if test -f $ac_dir/install-sh; then
1185 ac_install_sh="$ac_aux_dir/install-sh -c"
1187 elif test -f $ac_dir/install.sh; then
1189 ac_install_sh="$ac_aux_dir/install.sh -c"
1191 elif test -f $ac_dir/shtool; then
1193 ac_install_sh="$ac_aux_dir/shtool install -c"
1197 if test -z "$ac_aux_dir"; then
1198 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1199 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1200 { (exit 1); exit 1; }; }
1202 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1203 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1204 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1206 # Find a good install program. We prefer a C program (faster),
1207 # so one script is as good as another. But avoid the broken or
1208 # incompatible versions:
1209 # SysV /etc/install, /usr/sbin/install
1210 # SunOS /usr/etc/install
1211 # IRIX /sbin/install
1213 # AmigaOS /C/install, which installs bootblocks on floppy discs
1214 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1215 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1216 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1217 # ./install, which can be erroneously created by make from ./install.sh.
1218 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1219 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1220 if test -z "$INSTALL"; then
1221 if test "${ac_cv_path_install+set}" = set; then
1222 echo $ECHO_N "(cached) $ECHO_C" >&6
1224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1228 test -z "$as_dir" && as_dir=.
1229 # Account for people who put trailing slashes in PATH elements.
1231 ./ | .// | /cC/* | \
1232 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1235 # OSF1 and SCO ODT 3.0 have their own names for install.
1236 # Don't use installbsd from OSF since it installs stuff as root
1238 for ac_prog in ginstall scoinst install; do
1239 for ac_exec_ext in '' $ac_executable_extensions; do
1240 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1241 if test $ac_prog = install &&
1242 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1243 # AIX install. It has an incompatible calling convention.
1245 elif test $ac_prog = install &&
1246 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1247 # program-specific install script used by HP pwplus--don't use.
1250 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1262 if test "${ac_cv_path_install+set}" = set; then
1263 INSTALL=$ac_cv_path_install
1265 # As a last resort, use the slow shell script. We don't cache a
1266 # path for INSTALL within a source directory, because that will
1267 # break other packages using the cache if that directory is
1268 # removed, or if the path is relative.
1269 INSTALL=$ac_install_sh
1272 echo "$as_me:$LINENO: result: $INSTALL" >&5
1273 echo "${ECHO_T}$INSTALL" >&6
1275 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1276 # It thinks the first close brace ends the variable substitution.
1277 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1279 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1281 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1284 # Extract the first word of "perl", so it can be a program name with args.
1285 set dummy perl; ac_word=$2
1286 echo "$as_me:$LINENO: checking for $ac_word" >&5
1287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1288 if test "${ac_cv_path_PERL+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 for ac_exec_ext in '' $ac_executable_extensions; do
1302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1303 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1310 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
1314 PERL=$ac_cv_path_PERL
1316 if test -n "$PERL"; then
1317 echo "$as_me:$LINENO: result: $PERL" >&5
1318 echo "${ECHO_T}$PERL" >&6
1320 echo "$as_me:$LINENO: result: no" >&5
1321 echo "${ECHO_T}no" >&6
1324 if test "$PERL" = 'not found'; then
1325 { { echo "$as_me:$LINENO: error: cannot use $PACKAGE_NAME without perl" >&5
1326 echo "$as_me: error: cannot use $PACKAGE_NAME without perl" >&2;}
1327 { (exit 1); exit 1; }; }
1330 # Check whether --with-speedycgi or --without-speedycgi was given.
1331 if test "${with_speedycgi+set}" = set; then
1332 withval="$with_speedycgi"
1335 SPEEDY_BIN=/usr/local/bin/speedy
1342 # Check whether --enable-layout or --disable-layout was given.
1343 if test "${enable_layout+set}" = set; then
1344 enableval="$enable_layout"
1348 if test "x$LAYOUT" = "x"; then
1352 if test ! -f $srcdir/config.layout; then
1353 { echo "$as_me:$LINENO: WARNING: Layout file $srcdir/config.layout not found" >&5
1354 echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
1357 pldconf=./config.pld
1358 $PERL -0777 -p -e "\$layout = '$LAYOUT';" -e '
1359 s/.*<Layout\s+$layout>//gims;
1360 s/\<\/Layout\>.*//s;
1365 # m4 will not let us just use $srcdir/config.layout, we need $1
1366 s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/$1=$2/gim;
1367 s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
1368 ' < $srcdir/config.layout > $pldconf
1370 if test -s $pldconf; then
1371 rt_layout_name=$LAYOUT
1374 for var in prefix exec_prefix bindir sbindir \
1375 sysconfdir mandir libdir datadir htmldir \
1376 localstatedir logfiledir masonstatedir \
1377 sessionstatedir customdir custometcdir customhtmldir \
1378 customlexdir customlibdir manualdir; do
1379 eval "val=\"\$$var\""
1380 val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
1382 sed -e 's:[\$]\([a-z_]*\):$\1:g'`
1395 while test "x${ap_cur}" != "x${ap_last}"; do
1397 ap_cur=`eval "echo ${ap_cur}"`
1399 exp_prefix="${ap_cur}"
1407 ap_cur='$exec_prefix'
1408 while test "x${ap_cur}" != "x${ap_last}"; do
1410 ap_cur=`eval "echo ${ap_cur}"`
1412 exp_exec_prefix="${ap_cur}"
1421 while test "x${ap_cur}" != "x${ap_last}"; do
1423 ap_cur=`eval "echo ${ap_cur}"`
1425 exp_bindir="${ap_cur}"
1434 while test "x${ap_cur}" != "x${ap_last}"; do
1436 ap_cur=`eval "echo ${ap_cur}"`
1438 exp_sbindir="${ap_cur}"
1446 ap_cur='$sysconfdir'
1447 while test "x${ap_cur}" != "x${ap_last}"; do
1449 ap_cur=`eval "echo ${ap_cur}"`
1451 exp_sysconfdir="${ap_cur}"
1460 while test "x${ap_cur}" != "x${ap_last}"; do
1462 ap_cur=`eval "echo ${ap_cur}"`
1464 exp_mandir="${ap_cur}"
1473 while test "x${ap_cur}" != "x${ap_last}"; do
1475 ap_cur=`eval "echo ${ap_cur}"`
1477 exp_libdir="${ap_cur}"
1486 while test "x${ap_cur}" != "x${ap_last}"; do
1488 ap_cur=`eval "echo ${ap_cur}"`
1490 exp_datadir="${ap_cur}"
1499 while test "x${ap_cur}" != "x${ap_last}"; do
1501 ap_cur=`eval "echo ${ap_cur}"`
1503 exp_htmldir="${ap_cur}"
1512 while test "x${ap_cur}" != "x${ap_last}"; do
1514 ap_cur=`eval "echo ${ap_cur}"`
1516 exp_manualdir="${ap_cur}"
1524 ap_cur='$localstatedir'
1525 while test "x${ap_cur}" != "x${ap_last}"; do
1527 ap_cur=`eval "echo ${ap_cur}"`
1529 exp_localstatedir="${ap_cur}"
1537 ap_cur='$logfiledir'
1538 while test "x${ap_cur}" != "x${ap_last}"; do
1540 ap_cur=`eval "echo ${ap_cur}"`
1542 exp_logfiledir="${ap_cur}"
1550 ap_cur='$masonstatedir'
1551 while test "x${ap_cur}" != "x${ap_last}"; do
1553 ap_cur=`eval "echo ${ap_cur}"`
1555 exp_masonstatedir="${ap_cur}"
1563 ap_cur='$sessionstatedir'
1564 while test "x${ap_cur}" != "x${ap_last}"; do
1566 ap_cur=`eval "echo ${ap_cur}"`
1568 exp_sessionstatedir="${ap_cur}"
1577 while test "x${ap_cur}" != "x${ap_last}"; do
1579 ap_cur=`eval "echo ${ap_cur}"`
1581 exp_customdir="${ap_cur}"
1589 ap_cur='$custometcdir'
1590 while test "x${ap_cur}" != "x${ap_last}"; do
1592 ap_cur=`eval "echo ${ap_cur}"`
1594 exp_custometcdir="${ap_cur}"
1602 ap_cur='$customhtmldir'
1603 while test "x${ap_cur}" != "x${ap_last}"; do
1605 ap_cur=`eval "echo ${ap_cur}"`
1607 exp_customhtmldir="${ap_cur}"
1615 ap_cur='$customlexdir'
1616 while test "x${ap_cur}" != "x${ap_last}"; do
1618 ap_cur=`eval "echo ${ap_cur}"`
1620 exp_customlexdir="${ap_cur}"
1628 ap_cur='$customlibdir'
1629 while test "x${ap_cur}" != "x${ap_last}"; do
1631 ap_cur=`eval "echo ${ap_cur}"`
1633 exp_customlibdir="${ap_cur}"
1639 echo "$as_me:$LINENO: checking for chosen layout" >&5
1640 echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6
1641 if test "x$rt_layout_name" = "xno"; then
1642 if test "x$LAYOUT" = "xno"; then
1643 echo "$as_me:$LINENO: result: none" >&5
1644 echo "${ECHO_T}none" >&6
1646 echo "$as_me:$LINENO: result: $LAYOUT" >&5
1647 echo "${ECHO_T}$LAYOUT" >&6
1649 { { echo "$as_me:$LINENO: error: a valid layout must be specified (or the default used)" >&5
1650 echo "$as_me: error: a valid layout must be specified (or the default used)" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $rt_layout_name" >&5
1655 echo "${ECHO_T}$rt_layout_name" >&6
1660 # Check whether --with-rt-group or --without-rt-group was given.
1661 if test "${with_rt_group+set}" = set; then
1662 withval="$with_rt_group"
1670 # Check whether --with-bin-owner or --without-bin-owner was given.
1671 if test "${with_bin_owner+set}" = set; then
1672 withval="$with_bin_owner"
1680 # Check whether --with-libs-owner or --without-libs-owner was given.
1681 if test "${with_libs_owner+set}" = set; then
1682 withval="$with_libs_owner"
1690 # Check whether --with-libs-group or --without-libs-group was given.
1691 if test "${with_libs_group+set}" = set; then
1692 withval="$with_libs_group"
1700 # Check whether --with-db-type or --without-db-type was given.
1701 if test "${with_db_type+set}" = set; then
1702 withval="$with_db_type"
1707 if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' ; then
1708 { { echo "$as_me:$LINENO: error: Only Oracle, Informix, Pg and mysql are valid db types" >&5
1709 echo "$as_me: error: Only Oracle, Informix, Pg and mysql are valid db types" >&2;}
1710 { (exit 1); exit 1; }; }
1714 if test "$DB_TYPE" = 'Oracle'; then
1715 test "x$ORACLE_HOME" = 'x' && { { echo "$as_me:$LINENO: error: Please declare the ORACLE_HOME environment variable" >&5
1716 echo "$as_me: error: Please declare the ORACLE_HOME environment variable" >&2;}
1717 { (exit 1); exit 1; }; }
1718 ORACLE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
1723 # Check whether --with-db-host or --without-db-host was given.
1724 if test "${with_db_host+set}" = set; then
1725 withval="$with_db_host"
1733 # Check whether --with-db-port or --without-db-port was given.
1734 if test "${with_db_port+set}" = set; then
1735 withval="$with_db_port"
1743 # Check whether --with-db-rt-host or --without-db-rt-host was given.
1744 if test "${with_db_rt_host+set}" = set; then
1745 withval="$with_db_rt_host"
1748 DB_RT_HOST=localhost
1753 # Check whether --with-db-dba or --without-db-dba was given.
1754 if test "${with_db_dba+set}" = set; then
1755 withval="$with_db_dba"
1763 # Check whether --with-db-database or --without-db-database was given.
1764 if test "${with_db_database+set}" = set; then
1765 withval="$with_db_database"
1766 DB_DATABASE=$withval
1773 # Check whether --with-db-rt-user or --without-db-rt-user was given.
1774 if test "${with_db_rt_user+set}" = set; then
1775 withval="$with_db_rt_user"
1783 # Check whether --with-db-rt-pass or --without-db-rt-pass was given.
1784 if test "${with_db_rt_pass+set}" = set; then
1785 withval="$with_db_rt_pass"
1793 # Check whether --with-web-user or --without-web-user was given.
1794 if test "${with_web_user+set}" = set; then
1795 withval="$with_web_user"
1803 # Check whether --with-web-group or --without-web-group was given.
1804 if test "${with_web_group+set}" = set; then
1805 withval="$with_web_group"
1812 my_group=$(groups|cut -f1 -d' ')
1814 # Check whether --with-my-user-group or --without-my-user-group was given.
1815 if test "${with_my_user_group+set}" = set; then
1816 withval="$with_my_user_group"
1820 LIBS_GROUP=$my_group
1826 RT_VERSION_MAJOR=${rt_version_major}
1828 RT_VERSION_MINOR=${rt_version_minor}
1830 RT_VERSION_PATCH=${rt_version_patch}
1833 RT_PATH=${exp_prefix}
1835 RT_DOC_PATH=${exp_manualdir}
1837 RT_LOCAL_PATH=${exp_customdir}
1839 RT_LIB_PATH=${exp_libdir}
1841 RT_ETC_PATH=${exp_sysconfdir}
1843 CONFIG_FILE_PATH=${exp_sysconfdir}
1845 RT_BIN_PATH=${exp_bindir}
1847 RT_SBIN_PATH=${exp_sbindir}
1849 RT_VAR_PATH=${exp_localstatedir}
1851 RT_MAN_PATH=${exp_mandir}
1853 MASON_DATA_PATH=${exp_masonstatedir}
1855 MASON_SESSION_PATH=${exp_sessionstatedir}
1857 MASON_HTML_PATH=${exp_htmldir}
1859 LOCAL_ETC_PATH=${exp_custometcdir}
1861 MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
1863 LOCAL_LEXICON_PATH=${exp_customlexdir}
1865 LOCAL_LIB_PATH=${exp_customlibdir}
1867 DESTDIR=${exp_prefix}
1869 RT_LOG_PATH=${exp_logfiledir}
1873 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/rt bin/webmux.pl"
1875 cat >confcache <<\_ACEOF
1876 # This file is a shell script that caches the results of configure
1877 # tests run on this system so they can be shared between configure
1878 # scripts and configure runs, see configure's option --config-cache.
1879 # It is not useful on other systems. If it contains results you don't
1880 # want to keep, you may remove or edit it.
1882 # config.status only pays attention to the cache file if you give it
1883 # the --recheck option to rerun configure.
1885 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1891 # The following way of writing the cache mishandles newlines in values,
1892 # but we know of no workaround that is simple, portable, and efficient.
1893 # So, don't put newlines in cache variables' values.
1894 # Ultrix sh set writes to stderr and can't be redirected directly,
1895 # and sets the high bit in the cache file unless we assign to the vars.
1898 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1900 # `set' does not quote correctly, so add quotes (double-quote
1901 # substitution turns \\\\ into \\, and sed turns \\ into \).
1904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1907 # `set' quotes correctly as required by POSIX, so do not add quotes.
1909 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1916 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1918 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1920 if cmp -s $cache_file confcache; then :; else
1921 if test -w $cache_file; then
1922 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1923 cat confcache >$cache_file
1925 echo "not updating unwritable cache $cache_file"
1930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1931 # Let make expand exec_prefix.
1932 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1934 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1935 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1936 # trailing colons and then remove the whole line if VPATH becomes empty
1937 # (actually we leave an empty line to preserve line numbers).
1938 if test "x$srcdir" = x.; then
1939 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1940 s/:*\$(srcdir):*/:/;
1941 s/:*\${srcdir}:*/:/;
1943 s/^\([^=]*=[ ]*\):*/\1/;
1949 # Transform confdefs.h into DEFS.
1950 # Protect against shell expansion while executing Makefile rules.
1951 # Protect against Makefile macro expansion.
1953 # If the first sed substitution is executed (which looks for macros that
1954 # take arguments), then we branch to the quote section. Otherwise,
1955 # look for a macro that doesn't take arguments.
1956 cat >confdef2opt.sed <<\_ACEOF
1959 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1961 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1965 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1971 # We use echo to avoid assuming a particular line-breaking character.
1972 # The extra dot is to prevent the shell from consuming trailing
1973 # line-breaks from the sub-command output. A line-break within
1974 # single-quotes doesn't work because, if this script is created in a
1975 # platform that uses two characters for line-breaks (e.g., DOS), tr
1977 ac_LF_and_DOT=`echo; echo .`
1978 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1979 rm -f confdef2opt.sed
1983 : ${CONFIG_STATUS=./config.status}
1984 ac_clean_files_save=$ac_clean_files
1985 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1986 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1987 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1988 cat >$CONFIG_STATUS <<_ACEOF
1990 # Generated by $as_me.
1991 # Run this file to recreate the current configuration.
1992 # Compiler output produced by configure, useful for debugging
1993 # configure, is in config.log if it exists.
1996 SHELL=\${CONFIG_SHELL-$SHELL}
1999 cat >>$CONFIG_STATUS <<\_ACEOF
2001 ## --------------------- ##
2002 ## M4sh Initialization. ##
2003 ## --------------------- ##
2005 # Be Bourne compatible
2006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2009 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2014 # Support unset when possible.
2015 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2021 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2022 { $as_unset LANG || test "${LANG+set}" != set; } ||
2023 { LANG=C; export LANG; }
2024 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2025 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2026 { LC_ALL=C; export LC_ALL; }
2027 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2028 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2029 { LC_TIME=C; export LC_TIME; }
2030 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2031 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2032 { LC_CTYPE=C; export LC_CTYPE; }
2033 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2034 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2035 { LANGUAGE=C; export LANGUAGE; }
2036 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2037 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2038 { LC_COLLATE=C; export LC_COLLATE; }
2039 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2040 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2041 { LC_NUMERIC=C; export LC_NUMERIC; }
2042 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2043 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2044 { LC_MESSAGES=C; export LC_MESSAGES; }
2047 # Name of the executable.
2048 as_me=`(basename "$0") 2>/dev/null ||
2049 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2050 X"$0" : 'X\(//\)$' \| \
2051 X"$0" : 'X\(/\)$' \| \
2052 . : '\(.\)' 2>/dev/null ||
2054 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2055 /^X\/\(\/\/\)$/{ s//\1/; q; }
2056 /^X\/\(\/\).*/{ s//\1/; q; }
2059 # PATH needs CR, and LINENO needs CR and PATH.
2060 # Avoid depending upon Character Ranges.
2061 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2062 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2063 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2064 as_cr_digits='0123456789'
2065 as_cr_alnum=$as_cr_Letters$as_cr_digits
2067 # The user is always right.
2068 if test "${PATH_SEPARATOR+set}" != set; then
2069 echo "#! /bin/sh" >conftest.sh
2070 echo "exit 0" >>conftest.sh
2071 chmod +x conftest.sh
2072 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2083 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2084 test "x$as_lineno_1" != "x$as_lineno_2" &&
2085 test "x$as_lineno_3" = "x$as_lineno_2" || {
2086 # Find who we are. Look in the path if we contain no path at all
2089 *[\\/]* ) as_myself=$0 ;;
2090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2100 # We did not find ourselves, most probably we were run as `sh COMMAND'
2101 # in which case we are not to be found in the path.
2102 if test "x$as_myself" = x; then
2105 if test ! -f "$as_myself"; then
2106 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2107 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2108 { (exit 1); exit 1; }; }
2110 case $CONFIG_SHELL in
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2116 test -z "$as_dir" && as_dir=.
2117 for as_base in sh bash ksh sh5; do
2120 if ("$as_dir/$as_base" -c '
2123 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2124 test "x$as_lineno_1" != "x$as_lineno_2" &&
2125 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2126 CONFIG_SHELL=$as_dir/$as_base
2128 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2136 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2137 # uniformly replaced by the line number. The first 'sed' inserts a
2138 # line-number line before each line; the second 'sed' does the real
2139 # work. The second script uses 'N' to pair each line-number line
2140 # with the numbered line, and appends trailing '-' during
2141 # substitution so that $LINENO is not a special case at line end.
2142 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2143 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2144 sed '=' <$as_myself |
2149 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2152 s,^['$as_cr_digits']*\n,,
2154 chmod +x $as_me.lineno ||
2155 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2156 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2157 { (exit 1); exit 1; }; }
2159 # Don't try to exec as it changes $[0], causing all sort of problems
2160 # (the dirname of $[0] is not the place where we might find the
2161 # original and so on. Autoconf is especially sensible to this).
2163 # Exit status is that of the last command.
2168 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2169 *c*,-n*) ECHO_N= ECHO_C='
2171 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2172 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2175 if expr a : '\(a\)' >/dev/null 2>&1; then
2181 rm -f conf$$ conf$$.exe conf$$.file
2183 if ln -s conf$$.file conf$$ 2>/dev/null; then
2184 # We could just check for DJGPP; but this test a) works b) is more generic
2185 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2186 if test -f conf$$.exe; then
2187 # Don't use ln at all; we don't have any links
2192 elif ln conf$$.file conf$$ 2>/dev/null; then
2197 rm -f conf$$ conf$$.exe conf$$.file
2199 as_executable_p="test -f"
2201 # Sed expression to map a string onto a valid CPP name.
2202 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2204 # Sed expression to map a string onto a valid variable name.
2205 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2209 # We need space, tab and new line, in precisely that order.
2215 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2219 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2220 # report actual input values of CONFIG_FILES etc. instead of their
2221 # values after options handling. Logging --version etc. is OK.
2225 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2226 ## Running $as_me. ##
2231 This file was extended by RT $as_me 3.0.9, which was
2232 generated by GNU Autoconf 2.53. Invocation command line was
2234 CONFIG_FILES = $CONFIG_FILES
2235 CONFIG_HEADERS = $CONFIG_HEADERS
2236 CONFIG_LINKS = $CONFIG_LINKS
2237 CONFIG_COMMANDS = $CONFIG_COMMANDS
2241 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2245 # Files that config.status was made for.
2246 if test -n "$ac_config_files"; then
2247 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2250 if test -n "$ac_config_headers"; then
2251 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2254 if test -n "$ac_config_links"; then
2255 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2258 if test -n "$ac_config_commands"; then
2259 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2262 cat >>$CONFIG_STATUS <<\_ACEOF
2265 \`$as_me' instantiates files from templates according to the
2266 current configuration.
2268 Usage: $0 [OPTIONS] [FILE]...
2270 -h, --help print this help, then exit
2271 -V, --version print version number, then exit
2272 -d, --debug don't remove temporary files
2273 --recheck update $as_me by reconfiguring in the same conditions
2274 --file=FILE[:TEMPLATE]
2275 instantiate the configuration file FILE
2277 Configuration files:
2280 Report bugs to <bug-autoconf@gnu.org>."
2283 cat >>$CONFIG_STATUS <<_ACEOF
2285 RT config.status 3.0.9
2286 configured by $0, generated by GNU Autoconf 2.53,
2287 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2289 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2290 Free Software Foundation, Inc.
2291 This config.status script is free software; the Free Software Foundation
2292 gives unlimited permission to copy, distribute and modify it."
2297 cat >>$CONFIG_STATUS <<\_ACEOF
2298 # If no file are specified by the user, then we need to provide default
2299 # value. By we need to know if files were specified by the user.
2305 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2306 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2308 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2312 *) # This is not an option, so the user has probably given explicit
2314 ac_need_defaults=false;;
2318 # Handling of the options.
2320 cat >>$CONFIG_STATUS <<_ACEOF
2321 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2322 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2323 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2325 cat >>$CONFIG_STATUS <<\_ACEOF
2326 --version | --vers* | -V )
2327 echo "$ac_cs_version"; exit 0 ;;
2329 # Conflict between --help and --header
2330 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2331 Try \`$0 --help' for more information." >&5
2332 echo "$as_me: error: ambiguous option: $1
2333 Try \`$0 --help' for more information." >&2;}
2334 { (exit 1); exit 1; }; };;
2335 --help | --hel | -h )
2336 echo "$ac_cs_usage"; exit 0 ;;
2337 --debug | --d* | -d )
2339 --file | --fil | --fi | --f )
2341 CONFIG_FILES="$CONFIG_FILES $1"
2342 ac_need_defaults=false;;
2343 --header | --heade | --head | --hea )
2345 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2346 ac_need_defaults=false;;
2349 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2350 Try \`$0 --help' for more information." >&5
2351 echo "$as_me: error: unrecognized option: $1
2352 Try \`$0 --help' for more information." >&2;}
2353 { (exit 1); exit 1; }; } ;;
2355 *) ac_config_targets="$ac_config_targets $1" ;;
2367 cat >>$CONFIG_STATUS <<\_ACEOF
2368 for ac_config_target in $ac_config_targets
2370 case "$ac_config_target" in
2371 # Handling of arguments.
2372 "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
2373 "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
2374 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2375 "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
2376 "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
2377 "lib/t/00smoke.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/00smoke.t" ;;
2378 "lib/t/01harness.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/01harness.t" ;;
2379 "lib/t/02regression.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/02regression.t" ;;
2380 "lib/t/03web.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/03web.pl" ;;
2381 "lib/t/04_send_email.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/04_send_email.pl" ;;
2382 "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
2383 "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
2384 "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
2385 "bin/rt-commit-handler" ) CONFIG_FILES="$CONFIG_FILES bin/rt-commit-handler" ;;
2386 "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
2387 "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
2388 "bin/rt" ) CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
2389 "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
2390 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2391 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2392 { (exit 1); exit 1; }; };;
2396 # If the user did not use the arguments to specify the items to instantiate,
2397 # then the envvar interface is used. Set only those that are not.
2398 # We use the long form for the default assignment because of an extremely
2399 # bizarre bug on SunOS 4.1.3.
2400 if $ac_need_defaults; then
2401 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2404 # Create a temporary directory, and hook for its removal unless debugging.
2407 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2408 trap '{ (exit 1); exit 1; }' 1 2 13 15
2411 # Create a (secure) tmp directory for tmp files.
2414 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2415 test -n "$tmp" && test -d "$tmp"
2418 tmp=$TMPDIR/cs$$-$RANDOM
2419 (umask 077 && mkdir $tmp)
2422 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2423 { (exit 1); exit 1; }
2428 cat >>$CONFIG_STATUS <<_ACEOF
2431 # CONFIG_FILES section.
2434 # No need to generate the scripts if there are no CONFIG_FILES.
2435 # This happens for instance when ./config.status config.h
2436 if test -n "\$CONFIG_FILES"; then
2437 # Protect against being on the right side of a sed subst in config.status.
2438 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2439 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2440 s,@SHELL@,$SHELL,;t t
2441 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2442 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2443 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2444 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2445 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2446 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2447 s,@exec_prefix@,$exec_prefix,;t t
2448 s,@prefix@,$prefix,;t t
2449 s,@program_transform_name@,$program_transform_name,;t t
2450 s,@bindir@,$bindir,;t t
2451 s,@sbindir@,$sbindir,;t t
2452 s,@libexecdir@,$libexecdir,;t t
2453 s,@datadir@,$datadir,;t t
2454 s,@sysconfdir@,$sysconfdir,;t t
2455 s,@sharedstatedir@,$sharedstatedir,;t t
2456 s,@localstatedir@,$localstatedir,;t t
2457 s,@libdir@,$libdir,;t t
2458 s,@includedir@,$includedir,;t t
2459 s,@oldincludedir@,$oldincludedir,;t t
2460 s,@infodir@,$infodir,;t t
2461 s,@mandir@,$mandir,;t t
2462 s,@build_alias@,$build_alias,;t t
2463 s,@host_alias@,$host_alias,;t t
2464 s,@target_alias@,$target_alias,;t t
2466 s,@ECHO_C@,$ECHO_C,;t t
2467 s,@ECHO_N@,$ECHO_N,;t t
2468 s,@ECHO_T@,$ECHO_T,;t t
2470 s,@rt_version_major@,$rt_version_major,;t t
2471 s,@rt_version_minor@,$rt_version_minor,;t t
2472 s,@rt_version_patch@,$rt_version_patch,;t t
2473 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2474 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2475 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2477 s,@SPEEDY_BIN@,$SPEEDY_BIN,;t t
2478 s,@exp_prefix@,$exp_prefix,;t t
2479 s,@exp_exec_prefix@,$exp_exec_prefix,;t t
2480 s,@exp_bindir@,$exp_bindir,;t t
2481 s,@exp_sbindir@,$exp_sbindir,;t t
2482 s,@exp_sysconfdir@,$exp_sysconfdir,;t t
2483 s,@exp_mandir@,$exp_mandir,;t t
2484 s,@exp_libdir@,$exp_libdir,;t t
2485 s,@exp_datadir@,$exp_datadir,;t t
2486 s,@htmldir@,$htmldir,;t t
2487 s,@exp_htmldir@,$exp_htmldir,;t t
2488 s,@manualdir@,$manualdir,;t t
2489 s,@exp_manualdir@,$exp_manualdir,;t t
2490 s,@exp_localstatedir@,$exp_localstatedir,;t t
2491 s,@logfiledir@,$logfiledir,;t t
2492 s,@exp_logfiledir@,$exp_logfiledir,;t t
2493 s,@masonstatedir@,$masonstatedir,;t t
2494 s,@exp_masonstatedir@,$exp_masonstatedir,;t t
2495 s,@sessionstatedir@,$sessionstatedir,;t t
2496 s,@exp_sessionstatedir@,$exp_sessionstatedir,;t t
2497 s,@customdir@,$customdir,;t t
2498 s,@exp_customdir@,$exp_customdir,;t t
2499 s,@custometcdir@,$custometcdir,;t t
2500 s,@exp_custometcdir@,$exp_custometcdir,;t t
2501 s,@customhtmldir@,$customhtmldir,;t t
2502 s,@exp_customhtmldir@,$exp_customhtmldir,;t t
2503 s,@customlexdir@,$customlexdir,;t t
2504 s,@exp_customlexdir@,$exp_customlexdir,;t t
2505 s,@customlibdir@,$customlibdir,;t t
2506 s,@exp_customlibdir@,$exp_customlibdir,;t t
2507 s,@rt_layout_name@,$rt_layout_name,;t t
2508 s,@RTGROUP@,$RTGROUP,;t t
2509 s,@BIN_OWNER@,$BIN_OWNER,;t t
2510 s,@LIBS_OWNER@,$LIBS_OWNER,;t t
2511 s,@LIBS_GROUP@,$LIBS_GROUP,;t t
2512 s,@DB_TYPE@,$DB_TYPE,;t t
2513 s,@ORACLE_ENV_PREF@,$ORACLE_ENV_PREF,;t t
2514 s,@DB_HOST@,$DB_HOST,;t t
2515 s,@DB_PORT@,$DB_PORT,;t t
2516 s,@DB_RT_HOST@,$DB_RT_HOST,;t t
2517 s,@DB_DBA@,$DB_DBA,;t t
2518 s,@DB_DATABASE@,$DB_DATABASE,;t t
2519 s,@DB_RT_USER@,$DB_RT_USER,;t t
2520 s,@DB_RT_PASS@,$DB_RT_PASS,;t t
2521 s,@WEB_USER@,$WEB_USER,;t t
2522 s,@WEB_GROUP@,$WEB_GROUP,;t t
2523 s,@RT_VERSION_MAJOR@,$RT_VERSION_MAJOR,;t t
2524 s,@RT_VERSION_MINOR@,$RT_VERSION_MINOR,;t t
2525 s,@RT_VERSION_PATCH@,$RT_VERSION_PATCH,;t t
2526 s,@RT_PATH@,$RT_PATH,;t t
2527 s,@RT_DOC_PATH@,$RT_DOC_PATH,;t t
2528 s,@RT_LOCAL_PATH@,$RT_LOCAL_PATH,;t t
2529 s,@RT_LIB_PATH@,$RT_LIB_PATH,;t t
2530 s,@RT_ETC_PATH@,$RT_ETC_PATH,;t t
2531 s,@CONFIG_FILE_PATH@,$CONFIG_FILE_PATH,;t t
2532 s,@RT_BIN_PATH@,$RT_BIN_PATH,;t t
2533 s,@RT_SBIN_PATH@,$RT_SBIN_PATH,;t t
2534 s,@RT_VAR_PATH@,$RT_VAR_PATH,;t t
2535 s,@RT_MAN_PATH@,$RT_MAN_PATH,;t t
2536 s,@MASON_DATA_PATH@,$MASON_DATA_PATH,;t t
2537 s,@MASON_SESSION_PATH@,$MASON_SESSION_PATH,;t t
2538 s,@MASON_HTML_PATH@,$MASON_HTML_PATH,;t t
2539 s,@LOCAL_ETC_PATH@,$LOCAL_ETC_PATH,;t t
2540 s,@MASON_LOCAL_HTML_PATH@,$MASON_LOCAL_HTML_PATH,;t t
2541 s,@LOCAL_LEXICON_PATH@,$LOCAL_LEXICON_PATH,;t t
2542 s,@LOCAL_LIB_PATH@,$LOCAL_LIB_PATH,;t t
2543 s,@DESTDIR@,$DESTDIR,;t t
2544 s,@RT_LOG_PATH@,$RT_LOG_PATH,;t t
2549 cat >>$CONFIG_STATUS <<\_ACEOF
2550 # Split the substitutions into bite-sized pieces for seds with
2551 # small command number limits, like on Digital OSF/1 and HP-UX.
2553 ac_sed_frag=1 # Number of current file.
2554 ac_beg=1 # First line for current file.
2555 ac_end=$ac_max_sed_lines # Line after last line for current file.
2558 while $ac_more_lines; do
2559 if test $ac_beg -gt 1; then
2560 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2562 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2564 if test ! -s $tmp/subs.frag; then
2567 # The purpose of the label and of the branching condition is to
2568 # speed up the sed processing (if there are no `@' at all, there
2569 # is no need to browse any of the substitutions).
2570 # These are the two extra sed commands mentioned above.
2572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2573 if test -z "$ac_sed_cmds"; then
2574 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2576 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2578 ac_sed_frag=`expr $ac_sed_frag + 1`
2580 ac_end=`expr $ac_end + $ac_max_sed_lines`
2583 if test -z "$ac_sed_cmds"; then
2586 fi # test -n "$CONFIG_FILES"
2589 cat >>$CONFIG_STATUS <<\_ACEOF
2590 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2591 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2593 - | *:- | *:-:* ) # input from stdin
2595 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2596 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2597 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2598 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2599 * ) ac_file_in=$ac_file.in ;;
2602 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2603 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2604 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2605 X"$ac_file" : 'X\(//\)[^/]' \| \
2606 X"$ac_file" : 'X\(//\)$' \| \
2607 X"$ac_file" : 'X\(/\)' \| \
2608 . : '\(.\)' 2>/dev/null ||
2610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2612 /^X\(\/\/\)$/{ s//\1/; q; }
2613 /^X\(\/\).*/{ s//\1/; q; }
2616 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2620 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2621 case $as_mkdir_dir in
2622 # Skip DOS drivespec
2623 ?:) as_incr_dir=$as_mkdir_dir ;;
2625 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2626 test -d "$as_incr_dir" ||
2627 mkdir "$as_incr_dir" ||
2628 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2629 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2630 { (exit 1); exit 1; }; }
2637 if test "$ac_dir" != .; then
2638 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2639 # A "../" for each directory in $ac_dir_suffix.
2640 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2642 ac_dir_suffix= ac_top_builddir=
2646 .) # No --srcdir option. We are building in place.
2648 if test -z "$ac_top_builddir"; then
2651 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2653 [\\/]* | ?:[\\/]* ) # Absolute path.
2654 ac_srcdir=$srcdir$ac_dir_suffix;
2655 ac_top_srcdir=$srcdir ;;
2657 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2658 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2660 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2662 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2663 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2664 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2665 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2670 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2673 if test x"$ac_file" != x-; then
2674 { echo "$as_me:$LINENO: creating $ac_file" >&5
2675 echo "$as_me: creating $ac_file" >&6;}
2678 # Let's still pretend it is `configure' which instantiates (i.e., don't
2679 # use $as_me), people would be surprised to read:
2680 # /* config.h. Generated by config.status. */
2681 if test x"$ac_file" = x-; then
2684 configure_input="$ac_file. "
2686 configure_input=$configure_input"Generated from `echo $ac_file_in |
2687 sed 's,.*/,,'` by configure."
2689 # First look for the input files in the build tree, otherwise in the
2691 ac_file_inputs=`IFS=:
2692 for f in $ac_file_in; do
2694 -) echo $tmp/stdin ;;
2696 # Absolute (can't be DOS-style, as IFS=:)
2697 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2698 echo "$as_me: error: cannot find input file: $f" >&2;}
2699 { (exit 1); exit 1; }; }
2702 if test -f "$f"; then
2705 elif test -f "$srcdir/$f"; then
2710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2711 echo "$as_me: error: cannot find input file: $f" >&2;}
2712 { (exit 1); exit 1; }; }
2715 done` || { (exit 1); exit 1; }
2717 cat >>$CONFIG_STATUS <<_ACEOF
2721 cat >>$CONFIG_STATUS <<\_ACEOF
2723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2724 s,@configure_input@,$configure_input,;t t
2725 s,@srcdir@,$ac_srcdir,;t t
2726 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2727 s,@top_srcdir@,$ac_top_srcdir,;t t
2728 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2729 s,@builddir@,$ac_builddir,;t t
2730 s,@abs_builddir@,$ac_abs_builddir,;t t
2731 s,@top_builddir@,$ac_top_builddir,;t t
2732 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2733 s,@INSTALL@,$ac_INSTALL,;t t
2734 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2736 if test x"$ac_file" != x-; then
2737 mv $tmp/out $ac_file
2746 cat >>$CONFIG_STATUS <<\_ACEOF
2748 { (exit 0); exit 0; }
2750 chmod +x $CONFIG_STATUS
2751 ac_clean_files=$ac_clean_files_save
2754 # configure is writing to config.log, and then calls config.status.
2755 # config.status does its own redirection, appending to config.log.
2756 # Unfortunately, on DOS this fails, as config.log is still kept open
2757 # by configure, so config.status won't be able to write to it; its
2758 # output is simply discarded. So we exec the FD to /dev/null,
2759 # effectively closing config.log, so it can be properly (re)opened and
2760 # appended to by config.status. When coming back to configure, we
2761 # need to make the FD available again.
2762 if test "$no_create" != yes; then
2765 $SHELL $CONFIG_STATUS || ac_cs_success=false
2767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2768 # would make configure fail if this is the last instruction.
2769 $ac_cs_success || { (exit 1); exit 1; }