2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="autoconf/configure.in"
589 program_transform_name
634 ac_subst_files='MCOMMON'
635 ac_precious_vars='build_alias
640 # Initialize some variables set by options.
642 ac_init_version=false
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
652 program_transform_name=s,x,x,
660 # Installation directory options.
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
662 # and all the variables that are supposed to be based on exec_prefix
663 # by default will actually change.
664 # Use braces instead of parens because sh, perl, etc. also accept them.
665 # (The list follows the same order as the GNU Coding Standards.)
666 bindir='${exec_prefix}/bin'
667 sbindir='${exec_prefix}/sbin'
668 libexecdir='${exec_prefix}/libexec'
669 datarootdir='${prefix}/share'
670 datadir='${datarootdir}'
671 sysconfdir='${prefix}/etc'
672 sharedstatedir='${prefix}/com'
673 localstatedir='${prefix}/var'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE}'
677 infodir='${datarootdir}/info'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
690 # If the previous option needs an argument, assign it.
691 if test -n "$ac_prev"; then
692 eval $ac_prev=\$ac_option
698 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702 # Accept the important Cygnus configure options, so we can diagnose typos.
704 case $ac_dashdash$ac_option in
708 -bindir | --bindir | --bindi | --bind | --bin | --bi)
710 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
713 -build | --build | --buil | --bui | --bu)
714 ac_prev=build_alias ;;
715 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
716 build_alias=$ac_optarg ;;
718 -cache-file | --cache-file | --cache-fil | --cache-fi \
719 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
720 ac_prev=cache_file ;;
721 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
722 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
723 cache_file=$ac_optarg ;;
726 cache_file=config.cache ;;
728 -datadir | --datadir | --datadi | --datad)
730 -datadir=* | --datadir=* | --datadi=* | --datad=*)
731 datadir=$ac_optarg ;;
733 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
734 | --dataroo | --dataro | --datar)
735 ac_prev=datarootdir ;;
736 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
737 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
738 datarootdir=$ac_optarg ;;
740 -disable-* | --disable-*)
741 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
745 { (exit 1); exit 1; }; }
746 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
747 eval enable_$ac_feature=no ;;
749 -docdir | --docdir | --docdi | --doc | --do)
751 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
754 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
756 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
759 -enable-* | --enable-*)
760 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
761 # Reject names that are not valid shell variable names.
762 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
763 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
764 { (exit 1); exit 1; }; }
765 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
766 eval enable_$ac_feature=\$ac_optarg ;;
768 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
769 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
770 | --exec | --exe | --ex)
771 ac_prev=exec_prefix ;;
772 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
773 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
774 | --exec=* | --exe=* | --ex=*)
775 exec_prefix=$ac_optarg ;;
777 -gas | --gas | --ga | --g)
778 # Obsolete; use --with-gas.
781 -help | --help | --hel | --he | -h)
783 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
784 ac_init_help=recursive ;;
785 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
786 ac_init_help=short ;;
788 -host | --host | --hos | --ho)
789 ac_prev=host_alias ;;
790 -host=* | --host=* | --hos=* | --ho=*)
791 host_alias=$ac_optarg ;;
793 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
795 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
797 htmldir=$ac_optarg ;;
799 -includedir | --includedir | --includedi | --included | --include \
800 | --includ | --inclu | --incl | --inc)
801 ac_prev=includedir ;;
802 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
803 | --includ=* | --inclu=* | --incl=* | --inc=*)
804 includedir=$ac_optarg ;;
806 -infodir | --infodir | --infodi | --infod | --info | --inf)
808 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
809 infodir=$ac_optarg ;;
811 -libdir | --libdir | --libdi | --libd)
813 -libdir=* | --libdir=* | --libdi=* | --libd=*)
816 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
817 | --libexe | --libex | --libe)
818 ac_prev=libexecdir ;;
819 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
820 | --libexe=* | --libex=* | --libe=*)
821 libexecdir=$ac_optarg ;;
823 -localedir | --localedir | --localedi | --localed | --locale)
825 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
826 localedir=$ac_optarg ;;
828 -localstatedir | --localstatedir | --localstatedi | --localstated \
829 | --localstate | --localstat | --localsta | --localst | --locals)
830 ac_prev=localstatedir ;;
831 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
832 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
833 localstatedir=$ac_optarg ;;
835 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
837 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
841 # Obsolete; use --without-fp.
844 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
845 | --no-cr | --no-c | -n)
848 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
849 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
852 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
853 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
854 | --oldin | --oldi | --old | --ol | --o)
855 ac_prev=oldincludedir ;;
856 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
857 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
858 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
859 oldincludedir=$ac_optarg ;;
861 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
863 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
866 -program-prefix | --program-prefix | --program-prefi | --program-pref \
867 | --program-pre | --program-pr | --program-p)
868 ac_prev=program_prefix ;;
869 -program-prefix=* | --program-prefix=* | --program-prefi=* \
870 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
871 program_prefix=$ac_optarg ;;
873 -program-suffix | --program-suffix | --program-suffi | --program-suff \
874 | --program-suf | --program-su | --program-s)
875 ac_prev=program_suffix ;;
876 -program-suffix=* | --program-suffix=* | --program-suffi=* \
877 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
878 program_suffix=$ac_optarg ;;
880 -program-transform-name | --program-transform-name \
881 | --program-transform-nam | --program-transform-na \
882 | --program-transform-n | --program-transform- \
883 | --program-transform | --program-transfor \
884 | --program-transfo | --program-transf \
885 | --program-trans | --program-tran \
886 | --progr-tra | --program-tr | --program-t)
887 ac_prev=program_transform_name ;;
888 -program-transform-name=* | --program-transform-name=* \
889 | --program-transform-nam=* | --program-transform-na=* \
890 | --program-transform-n=* | --program-transform-=* \
891 | --program-transform=* | --program-transfor=* \
892 | --program-transfo=* | --program-transf=* \
893 | --program-trans=* | --program-tran=* \
894 | --progr-tra=* | --program-tr=* | --program-t=*)
895 program_transform_name=$ac_optarg ;;
897 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
899 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
902 -psdir | --psdir | --psdi | --psd | --ps)
904 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
907 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
908 | -silent | --silent | --silen | --sile | --sil)
911 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
913 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
915 sbindir=$ac_optarg ;;
917 -sharedstatedir | --sharedstatedir | --sharedstatedi \
918 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
919 | --sharedst | --shareds | --shared | --share | --shar \
921 ac_prev=sharedstatedir ;;
922 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
923 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
924 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
926 sharedstatedir=$ac_optarg ;;
928 -site | --site | --sit)
930 -site=* | --site=* | --sit=*)
933 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
935 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
938 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
939 | --syscon | --sysco | --sysc | --sys | --sy)
940 ac_prev=sysconfdir ;;
941 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
942 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
943 sysconfdir=$ac_optarg ;;
945 -target | --target | --targe | --targ | --tar | --ta | --t)
946 ac_prev=target_alias ;;
947 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
948 target_alias=$ac_optarg ;;
950 -v | -verbose | --verbose | --verbos | --verbo | --verb)
953 -version | --version | --versio | --versi | --vers | -V)
957 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
960 { echo "$as_me: error: invalid package name: $ac_package" >&2
961 { (exit 1); exit 1; }; }
962 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
963 eval with_$ac_package=\$ac_optarg ;;
965 -without-* | --without-*)
966 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid package name: $ac_package" >&2
970 { (exit 1); exit 1; }; }
971 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
972 eval with_$ac_package=no ;;
975 # Obsolete; use --with-x.
978 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
979 | --x-incl | --x-inc | --x-in | --x-i)
980 ac_prev=x_includes ;;
981 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
982 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
983 x_includes=$ac_optarg ;;
985 -x-libraries | --x-libraries | --x-librarie | --x-librari \
986 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
987 ac_prev=x_libraries ;;
988 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
989 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
990 x_libraries=$ac_optarg ;;
992 -*) { echo "$as_me: error: unrecognized option: $ac_option
993 Try \`$0 --help' for more information." >&2
994 { (exit 1); exit 1; }; }
998 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1001 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1002 { (exit 1); exit 1; }; }
1003 eval $ac_envvar=\$ac_optarg
1004 export $ac_envvar ;;
1007 # FIXME: should be removed in autoconf 3.0.
1008 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1009 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1010 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1011 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1017 if test -n "$ac_prev"; then
1018 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1019 { echo "$as_me: error: missing argument to $ac_option" >&2
1020 { (exit 1); exit 1; }; }
1023 # Be sure to have absolute directory names.
1024 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1025 datadir sysconfdir sharedstatedir localstatedir includedir \
1026 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1027 libdir localedir mandir
1029 eval ac_val=\$$ac_var
1031 [\\/$]* | ?:[\\/]* ) continue;;
1032 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1034 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1035 { (exit 1); exit 1; }; }
1038 # There might be people who depend on the old broken behavior: `$host'
1039 # used to hold the argument of --host etc.
1040 # FIXME: To remove some day.
1043 target=$target_alias
1045 # FIXME: To remove some day.
1046 if test "x$host_alias" != x; then
1047 if test "x$build_alias" = x; then
1048 cross_compiling=maybe
1049 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1050 If a cross compiler is detected then cross compile mode will be used." >&2
1051 elif test "x$build_alias" != "x$host_alias"; then
1057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1059 test "$silent" = yes && exec 6>/dev/null
1062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1063 ac_ls_di=`ls -di .` &&
1064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1065 { echo "$as_me: error: Working directory cannot be determined" >&2
1066 { (exit 1); exit 1; }; }
1067 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1068 { echo "$as_me: error: pwd does not report name of working directory" >&2
1069 { (exit 1); exit 1; }; }
1072 # Find the source files, if location was not specified.
1073 if test -z "$srcdir"; then
1074 ac_srcdir_defaulted=yes
1075 # Try the directory containing this script, then the parent directory.
1076 ac_confdir=`$as_dirname -- "$0" ||
1077 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1078 X"$0" : 'X\(//\)[^/]' \| \
1079 X"$0" : 'X\(//\)$' \| \
1080 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1100 if test ! -r "$srcdir/$ac_unique_file"; then
1104 ac_srcdir_defaulted=no
1106 if test ! -r "$srcdir/$ac_unique_file"; then
1107 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1108 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1109 { (exit 1); exit 1; }; }
1111 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1113 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1114 { (exit 1); exit 1; }; }
1116 # When building in place, set srcdir=.
1117 if test "$ac_abs_confdir" = "$ac_pwd"; then
1120 # Remove unnecessary trailing slashes from srcdir.
1121 # Double slashes in file names in object file debugging info
1122 # mess up M-x gdb in Emacs.
1124 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1126 for ac_var in $ac_precious_vars; do
1127 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1128 eval ac_env_${ac_var}_value=\$${ac_var}
1129 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1130 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1134 # Report the --help message.
1136 if test "$ac_init_help" = "long"; then
1137 # Omit some internal or obsolete options to make the list less imposing.
1138 # This message is too long to be a string in the A/UX 3.1 sh.
1140 \`configure' configures this package to adapt to many kinds of systems.
1142 Usage: $0 [OPTION]... [VAR=VALUE]...
1144 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1145 VAR=VALUE. See below for descriptions of some of the useful variables.
1147 Defaults for the options are specified in brackets.
1150 -h, --help display this help and exit
1151 --help=short display options specific to this package
1152 --help=recursive display the short help of all the included packages
1153 -V, --version display version information and exit
1154 -q, --quiet, --silent do not print \`checking...' messages
1155 --cache-file=FILE cache test results in FILE [disabled]
1156 -C, --config-cache alias for \`--cache-file=config.cache'
1157 -n, --no-create do not create output files
1158 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1160 Installation directories:
1161 --prefix=PREFIX install architecture-independent files in PREFIX
1162 [$ac_default_prefix]
1163 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1166 By default, \`make install' will install all the files in
1167 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1168 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1169 for instance \`--prefix=\$HOME'.
1171 For better control, use the options below.
1173 Fine tuning of the installation directories:
1174 --bindir=DIR user executables [EPREFIX/bin]
1175 --sbindir=DIR system admin executables [EPREFIX/sbin]
1176 --libexecdir=DIR program executables [EPREFIX/libexec]
1177 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1178 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1179 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1180 --libdir=DIR object code libraries [EPREFIX/lib]
1181 --includedir=DIR C header files [PREFIX/include]
1182 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1183 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1184 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1185 --infodir=DIR info documentation [DATAROOTDIR/info]
1186 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1187 --mandir=DIR man documentation [DATAROOTDIR/man]
1188 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1189 --htmldir=DIR html documentation [DOCDIR]
1190 --dvidir=DIR dvi documentation [DOCDIR]
1191 --pdfdir=DIR pdf documentation [DOCDIR]
1192 --psdir=DIR ps documentation [DOCDIR]
1199 if test -n "$ac_init_help"; then
1204 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1205 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1206 --with-bacula=PATH specify path to Bacula source
1212 if test "$ac_init_help" = "recursive"; then
1213 # If there are subdirs, report their specific --help.
1214 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1215 test -d "$ac_dir" || continue
1219 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1221 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1222 # A ".." for each directory in $ac_dir_suffix.
1223 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1224 case $ac_top_builddir_sub in
1225 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1226 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1229 ac_abs_top_builddir=$ac_pwd
1230 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1231 # for backward compatibility:
1232 ac_top_builddir=$ac_top_build_prefix
1235 .) # We are building in place.
1237 ac_top_srcdir=$ac_top_builddir_sub
1238 ac_abs_top_srcdir=$ac_pwd ;;
1239 [\\/]* | ?:[\\/]* ) # Absolute name.
1240 ac_srcdir=$srcdir$ac_dir_suffix;
1241 ac_top_srcdir=$srcdir
1242 ac_abs_top_srcdir=$srcdir ;;
1244 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1245 ac_top_srcdir=$ac_top_build_prefix$srcdir
1246 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1248 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1250 cd "$ac_dir" || { ac_status=$?; continue; }
1251 # Check for guested configure.
1252 if test -f "$ac_srcdir/configure.gnu"; then
1254 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1255 elif test -f "$ac_srcdir/configure"; then
1257 $SHELL "$ac_srcdir/configure" --help=recursive
1259 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1261 cd "$ac_pwd" || { ac_status=$?; break; }
1265 test -n "$ac_init_help" && exit $ac_status
1266 if $ac_init_version; then
1269 generated by GNU Autoconf 2.61
1271 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1272 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1273 This configure script is free software; the Free Software Foundation
1274 gives unlimited permission to copy, distribute and modify it.
1278 cat >config.log <<_ACEOF
1279 This file contains any messages produced by compilers while
1280 running configure, to aid debugging if configure makes a mistake.
1282 It was created by $as_me, which was
1283 generated by GNU Autoconf 2.61. Invocation command line was
1295 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1296 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1297 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1298 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1299 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1301 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1302 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1304 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1305 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1306 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1307 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1308 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1309 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1310 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 test -z "$as_dir" && as_dir=.
1319 echo "PATH: $as_dir"
1335 # Keep a trace of the command line.
1336 # Strip out --no-create and --no-recursion so they do not pile up.
1337 # Strip out --silent because we don't want to record it for future runs.
1338 # Also quote any args containing shell meta-characters.
1339 # Make two passes to allow for proper duplicate-argument suppression.
1343 ac_must_keep_next=false
1349 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1357 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1359 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1360 if test $ac_must_keep_next = true; then
1361 ac_must_keep_next=false # Got value, back to normal.
1364 *=* | --config-cache | -C | -disable-* | --disable-* \
1365 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1366 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1367 | -with-* | --with-* | -without-* | --without-* | --x)
1368 case "$ac_configure_args0 " in
1369 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1372 -* ) ac_must_keep_next=true ;;
1375 ac_configure_args="$ac_configure_args '$ac_arg'"
1380 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1381 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1383 # When interrupted or exit'd, cleanup temporary files, and complete
1384 # config.log. We remove comments because anyway the quotes in there
1385 # would cause problems or look ugly.
1386 # WARNING: Use '\'' to represent an apostrophe within the trap.
1387 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1388 trap 'exit_status=$?
1389 # Save into config.log some information that might help in debugging.
1394 ## ---------------- ##
1395 ## Cache variables. ##
1396 ## ---------------- ##
1399 # The following way of writing the cache mishandles newlines in values,
1401 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1402 eval ac_val=\$$ac_var
1406 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1407 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1410 _ | IFS | as_nl) ;; #(
1411 *) $as_unset $ac_var ;;
1416 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1417 *${as_nl}ac_space=\ *)
1419 "s/'\''/'\''\\\\'\'''\''/g;
1420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1431 ## ----------------- ##
1432 ## Output variables. ##
1433 ## ----------------- ##
1436 for ac_var in $ac_subst_vars
1438 eval ac_val=\$$ac_var
1440 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1442 echo "$ac_var='\''$ac_val'\''"
1446 if test -n "$ac_subst_files"; then
1448 ## ------------------- ##
1449 ## File substitutions. ##
1450 ## ------------------- ##
1453 for ac_var in $ac_subst_files
1455 eval ac_val=\$$ac_var
1457 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459 echo "$ac_var='\''$ac_val'\''"
1464 if test -s confdefs.h; then
1474 test "$ac_signal" != 0 &&
1475 echo "$as_me: caught signal $ac_signal"
1476 echo "$as_me: exit $exit_status"
1478 rm -f core *.core core.conftest.* &&
1479 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1482 for ac_signal in 1 2 13 15; do
1483 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1487 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1488 rm -f -r conftest* confdefs.h
1490 # Predefined preprocessor variables.
1492 cat >>confdefs.h <<_ACEOF
1493 #define PACKAGE_NAME "$PACKAGE_NAME"
1497 cat >>confdefs.h <<_ACEOF
1498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1502 cat >>confdefs.h <<_ACEOF
1503 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_STRING "$PACKAGE_STRING"
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1517 # Let the site file select an alternate cache file if it wants to.
1518 # Prefer explicitly selected file to automatically selected ones.
1519 if test -n "$CONFIG_SITE"; then
1520 set x "$CONFIG_SITE"
1521 elif test "x$prefix" != xNONE; then
1522 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1524 set x "$ac_default_prefix/share/config.site" \
1525 "$ac_default_prefix/etc/config.site"
1530 if test -r "$ac_site_file"; then
1531 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1532 echo "$as_me: loading site script $ac_site_file" >&6;}
1533 sed 's/^/| /' "$ac_site_file" >&5
1538 if test -r "$cache_file"; then
1539 # Some versions of bash will fail to source /dev/null (special
1540 # files actually), so we avoid doing that.
1541 if test -f "$cache_file"; then
1542 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1543 echo "$as_me: loading cache $cache_file" >&6;}
1545 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1546 *) . "./$cache_file";;
1550 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1551 echo "$as_me: creating cache $cache_file" >&6;}
1555 # Check that the precious variables saved in the cache have kept the same
1557 ac_cache_corrupted=false
1558 for ac_var in $ac_precious_vars; do
1559 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1560 eval ac_new_set=\$ac_env_${ac_var}_set
1561 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1562 eval ac_new_val=\$ac_env_${ac_var}_value
1563 case $ac_old_set,$ac_new_set in
1565 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1566 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1567 ac_cache_corrupted=: ;;
1569 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1570 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1571 ac_cache_corrupted=: ;;
1574 if test "x$ac_old_val" != "x$ac_new_val"; then
1575 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1576 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1577 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1578 echo "$as_me: former value: $ac_old_val" >&2;}
1579 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1580 echo "$as_me: current value: $ac_new_val" >&2;}
1581 ac_cache_corrupted=:
1584 # Pass precious variables to config.status.
1585 if test "$ac_new_set" = set; then
1587 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1588 *) ac_arg=$ac_var=$ac_new_val ;;
1590 case " $ac_configure_args " in
1591 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1592 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1596 if $ac_cache_corrupted; then
1597 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1598 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1599 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1600 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1601 { (exit 1); exit 1; }; }
1621 ac_cpp='$CPP $CPPFLAGS'
1622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1633 for ac_dir in ${BUILD_DIR}/autoconf "$srcdir"/${BUILD_DIR}/autoconf; do
1634 if test -f "$ac_dir/install-sh"; then
1636 ac_install_sh="$ac_aux_dir/install-sh -c"
1638 elif test -f "$ac_dir/install.sh"; then
1640 ac_install_sh="$ac_aux_dir/install.sh -c"
1642 elif test -f "$ac_dir/shtool"; then
1644 ac_install_sh="$ac_aux_dir/shtool install -c"
1648 if test -z "$ac_aux_dir"; then
1649 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf \"$srcdir\"/${BUILD_DIR}/autoconf" >&5
1650 echo "$as_me: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf \"$srcdir\"/${BUILD_DIR}/autoconf" >&2;}
1651 { (exit 1); exit 1; }; }
1654 # These three variables are undocumented and unsupported,
1655 # and are intended to be withdrawn in a future Autoconf release.
1656 # They can cause serious problems if a builder's source tree is in a directory
1657 # whose full name contains unusual characters.
1658 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1659 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1660 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1668 # ------------------------------------------
1669 # Where to get Bacula source
1670 # ------------------------------------------
1672 # Check whether --with-bacula was given.
1673 if test "${with_bacula+set}" = set; then
1674 withval=$with_bacula;
1675 if test "x$withval" != "xno" ; then
1684 if test "x$bacula" = "x" ; then
1685 { { echo "$as_me:$LINENO: error: The Bacula source directory must be specified. Use --with-bacula=<path>" >&5
1686 echo "$as_me: error: The Bacula source directory must be specified. Use --with-bacula=<path>" >&2;}
1687 { (exit 1); exit 1; }; }
1690 VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
1691 DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
1692 if test "x$VERSION" = "x" ; then
1693 { { echo "$as_me:$LINENO: error: Bacula version not found" >&5
1694 echo "$as_me: error: Bacula version not found" >&2;}
1695 { (exit 1); exit 1; }; }
1697 echo "configuring for Bacula $VERSION ($DATE)"
1701 # Extract the first word of "$ac_prog", so it can be a program name with args.
1702 set dummy $ac_prog; ac_word=$2
1703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1705 if test "${ac_cv_path_TRUEPRG+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir=.
1718 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1720 ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 TRUEPRG=$ac_cv_path_TRUEPRG
1732 if test -n "$TRUEPRG"; then
1733 { echo "$as_me:$LINENO: result: $TRUEPRG" >&5
1734 echo "${ECHO_T}$TRUEPRG" >&6; }
1736 { echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6; }
1741 test -n "$TRUEPRG" && break
1743 test -n "$TRUEPRG" || TRUEPRG=":"
1745 for ac_prog in false
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1751 if test "${ac_cv_path_FALSEPRG+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1766 ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1777 FALSEPRG=$ac_cv_path_FALSEPRG
1778 if test -n "$FALSEPRG"; then
1779 { echo "$as_me:$LINENO: result: $FALSEPRG" >&5
1780 echo "${ECHO_T}$FALSEPRG" >&6; }
1782 { echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6; }
1787 test -n "$FALSEPRG" && break
1789 test -n "$FALSEPRG" || FALSEPRG=":"
1791 # Find a good install program. We prefer a C program (faster),
1792 # so one script is as good as another. But avoid the broken or
1793 # incompatible versions:
1794 # SysV /etc/install, /usr/sbin/install
1795 # SunOS /usr/etc/install
1796 # IRIX /sbin/install
1798 # AmigaOS /C/install, which installs bootblocks on floppy discs
1799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1802 # OS/2's system install, which has a completely different semantic
1803 # ./install, which can be erroneously created by make from ./install.sh.
1804 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1806 if test -z "$INSTALL"; then
1807 if test "${ac_cv_path_install+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 # Account for people who put trailing slashes in PATH elements.
1817 ./ | .// | /cC/* | \
1818 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1819 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1822 # OSF1 and SCO ODT 3.0 have their own names for install.
1823 # Don't use installbsd from OSF since it installs stuff as root
1825 for ac_prog in ginstall scoinst install; do
1826 for ac_exec_ext in '' $ac_executable_extensions; do
1827 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1828 if test $ac_prog = install &&
1829 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1830 # AIX install. It has an incompatible calling convention.
1832 elif test $ac_prog = install &&
1833 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1834 # program-specific install script used by HP pwplus--don't use.
1837 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1850 if test "${ac_cv_path_install+set}" = set; then
1851 INSTALL=$ac_cv_path_install
1853 # As a last resort, use the slow shell script. Don't cache a
1854 # value for INSTALL within a source directory, because that will
1855 # break other packages using the cache if that directory is
1856 # removed, or if the value is a relative name.
1857 INSTALL=$ac_install_sh
1860 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1861 echo "${ECHO_T}$INSTALL" >&6; }
1863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1864 # It thinks the first close brace ends the variable substitution.
1865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1871 # Extract the first word of "mv", so it can be a program name with args.
1872 set dummy mv; ac_word=$2
1873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1875 if test "${ac_cv_path_MV+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1890 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1903 if test -n "$MV"; then
1904 { echo "$as_me:$LINENO: result: $MV" >&5
1905 echo "${ECHO_T}$MV" >&6; }
1907 { echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6; }
1912 # Extract the first word of "rm", so it can be a program name with args.
1913 set dummy rm; ac_word=$2
1914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916 if test "${ac_cv_path_RM+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1944 if test -n "$RM"; then
1945 { echo "$as_me:$LINENO: result: $RM" >&5
1946 echo "${ECHO_T}$RM" >&6; }
1948 { echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6; }
1953 # Extract the first word of "cp", so it can be a program name with args.
1954 set dummy cp; ac_word=$2
1955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957 if test "${ac_cv_path_CP+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1972 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1985 if test -n "$CP"; then
1986 { echo "$as_me:$LINENO: result: $CP" >&5
1987 echo "${ECHO_T}$CP" >&6; }
1989 { echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6; }
1994 # Extract the first word of "echo", so it can be a program name with args.
1995 set dummy echo; ac_word=$2
1996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998 if test "${ac_cv_path_ECHO+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2013 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
2025 ECHO=$ac_cv_path_ECHO
2026 if test -n "$ECHO"; then
2027 { echo "$as_me:$LINENO: result: $ECHO" >&5
2028 echo "${ECHO_T}$ECHO" >&6; }
2030 { echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6; }
2035 # Extract the first word of "ar", so it can be a program name with args.
2036 set dummy ar; ac_word=$2
2037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2039 if test "${ac_cv_path_AR+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2054 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
2067 if test -n "$AR"; then
2068 { echo "$as_me:$LINENO: result: $AR" >&5
2069 echo "${ECHO_T}$AR" >&6; }
2071 { echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6; }
2076 for ac_prog in gawk mawk nawk awk
2078 # Extract the first word of "$ac_prog", so it can be a program name with args.
2079 set dummy $ac_prog; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_AWK+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$AWK"; then
2086 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_AWK="$ac_prog"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$AWK"; then
2107 { echo "$as_me:$LINENO: result: $AWK" >&5
2108 echo "${ECHO_T}$AWK" >&6; }
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2115 test -n "$AWK" && break
2118 # Some AWK programs fail, so test it and warn the user
2119 if echo xfoo | $AWK 'BEGIN { prog=ARGV1; ARGC=1 }
2120 { if ((prog == $2) || (("(" prog ")") == $2) ||
2121 (("" prog "") == $2) ||
2122 ((prog ":") == $2)) { print $1 ; exit 0 } }' xfoo>/dev/null; then :;
2124 { { echo "$as_me:$LINENO: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
2125 The regex engine of $AWK is too broken to be used you
2126 might want to install GNU AWK.
2127 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&5
2128 echo "$as_me: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
2129 The regex engine of $AWK is too broken to be used you
2130 might want to install GNU AWK.
2131 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&2;}
2132 { (exit 1); exit 1; }; }
2135 # Extract the first word of "$THE_AWK", so it can be a program name with args.
2136 set dummy $THE_AWK; ac_word=$2
2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2139 if test "${ac_cv_path_AWK+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
2155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
2167 if test -n "$AWK"; then
2168 { echo "$as_me:$LINENO: result: $AWK" >&5
2169 echo "${ECHO_T}$AWK" >&6; }
2171 { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2177 # -------------------------------------------------------------------------
2178 # If the user has not set --exec-prefix, we default to ${prefix}
2179 # -------------------------------------------------------------------------
2180 if test x${exec_prefix} = xNONE ; then
2181 exec_prefix=${prefix}
2188 MCOMMON=./autoconf/Make.common
2192 ac_config_files="$ac_config_files autoconf/Make.common Makefile manuals/update_version manuals/version.tex manuals/bacula.sty manuals/de/catalog/Makefile manuals/de/concepts/Makefile manuals/de/console/Makefile manuals/de/developers/Makefile manuals/de/install/Makefile manuals/de/problems/Makefile manuals/de/utility/Makefile manuals/en/catalog/Makefile manuals/en/concepts/Makefile manuals/en/console/Makefile manuals/en/developers/Makefile manuals/en/install/Makefile manuals/en/problems/Makefile manuals/en/utility/Makefile manuals/fr/catalog/Makefile manuals/fr/concepts/Makefile manuals/fr/console/Makefile manuals/fr/developers/Makefile manuals/fr/install/Makefile manuals/fr/problems/Makefile manuals/fr/utility/Makefile bacula-web/Makefile bacula-web/version.tex $PFILES"
2194 ac_config_commands="$ac_config_commands default"
2196 cat >confcache <<\_ACEOF
2197 # This file is a shell script that caches the results of configure
2198 # tests run on this system so they can be shared between configure
2199 # scripts and configure runs, see configure's option --config-cache.
2200 # It is not useful on other systems. If it contains results you don't
2201 # want to keep, you may remove or edit it.
2203 # config.status only pays attention to the cache file if you give it
2204 # the --recheck option to rerun configure.
2206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2212 # The following way of writing the cache mishandles newlines in values,
2213 # but we know of no workaround that is simple, portable, and efficient.
2214 # So, we kill variables containing newlines.
2215 # Ultrix sh set writes to stderr and can't be redirected directly,
2216 # and sets the high bit in the cache file unless we assign to the vars.
2218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2219 eval ac_val=\$$ac_var
2223 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2227 _ | IFS | as_nl) ;; #(
2228 *) $as_unset $ac_var ;;
2234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2236 # `set' does not quote correctly, so add quotes (double-quote
2237 # substitution turns \\\\ into \\, and sed turns \\ into \).
2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2243 # `set' quotes correctly as required by POSIX, so do not add quotes.
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2257 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2258 if test -w "$cache_file"; then
2259 test "x$cache_file" != "x/dev/null" &&
2260 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2261 echo "$as_me: updating cache $cache_file" >&6;}
2262 cat confcache >$cache_file
2264 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2270 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2271 # Let make expand exec_prefix.
2272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2274 # Transform confdefs.h into DEFS.
2275 # Protect against shell expansion while executing Makefile rules.
2276 # Protect against Makefile macro expansion.
2278 # If the first sed substitution is executed (which looks for macros that
2279 # take arguments), then branch to the quote section. Otherwise,
2280 # look for a macro that doesn't take arguments.
2284 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2286 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2290 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2303 DEFS=`sed -n "$ac_script" confdefs.h`
2308 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2309 # 1. Remove the extension, and $U if already installed.
2310 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2311 ac_i=`echo "$ac_i" | sed "$ac_script"`
2312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2313 # will be set to the directory where LIBOBJS objects are built.
2314 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2315 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2319 LTLIBOBJS=$ac_ltlibobjs
2323 : ${CONFIG_STATUS=./config.status}
2324 ac_clean_files_save=$ac_clean_files
2325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2326 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2327 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2328 cat >$CONFIG_STATUS <<_ACEOF
2330 # Generated by $as_me.
2331 # Run this file to recreate the current configuration.
2332 # Compiler output produced by configure, useful for debugging
2333 # configure, is in config.log if it exists.
2338 SHELL=\${CONFIG_SHELL-$SHELL}
2341 cat >>$CONFIG_STATUS <<\_ACEOF
2342 ## --------------------- ##
2343 ## M4sh Initialization. ##
2344 ## --------------------- ##
2346 # Be more Bourne compatible
2347 DUALCASE=1; export DUALCASE # for MKS sh
2348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2351 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2352 # is contrary to our usage. Disable this feature.
2353 alias -g '${1+"$@"}'='"$@"'
2354 setopt NO_GLOB_SUBST
2356 case `(set -o) 2>/dev/null` in
2357 *posix*) set -o posix ;;
2366 # Avoid depending upon Character Ranges.
2367 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2368 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2369 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2370 as_cr_digits='0123456789'
2371 as_cr_alnum=$as_cr_Letters$as_cr_digits
2373 # The user is always right.
2374 if test "${PATH_SEPARATOR+set}" != set; then
2375 echo "#! /bin/sh" >conf$$.sh
2376 echo "exit 0" >>conf$$.sh
2378 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2386 # Support unset when possible.
2387 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2395 # We need space, tab and new line, in precisely that order. Quoting is
2396 # there to prevent editors from complaining about space-tab.
2397 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2398 # splitting by setting IFS to empty value.)
2403 # Find who we are. Look in the path if we contain no directory separator.
2405 *[\\/]* ) as_myself=$0 ;;
2406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2417 # We did not find ourselves, most probably we were run as `sh COMMAND'
2418 # in which case we are not to be found in the path.
2419 if test "x$as_myself" = x; then
2422 if test ! -f "$as_myself"; then
2423 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2424 { (exit 1); exit 1; }
2427 # Work around bugs in pre-3.0 UWIN ksh.
2428 for as_var in ENV MAIL MAILPATH
2429 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2439 LC_TELEPHONE LC_TIME
2441 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2442 eval $as_var=C; export $as_var
2444 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2448 # Required to use basename.
2449 if expr a : '\(a\)' >/dev/null 2>&1 &&
2450 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2457 as_basename=basename
2463 # Name of the executable.
2464 as_me=`$as_basename -- "$0" ||
2465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2466 X"$0" : 'X\(//\)$' \| \
2467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2469 sed '/^.*\/\([^/][^/]*\)\/*$/{
2490 test "x$as_lineno_1" != "x$as_lineno_2" &&
2491 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2494 # uniformly replaced by the line number. The first 'sed' inserts a
2495 # line-number line after each line using $LINENO; the second 'sed'
2496 # does the real work. The second script uses 'N' to pair each
2497 # line-number line with the line containing $LINENO, and appends
2498 # trailing '-' during substitution so that $LINENO is not a special
2500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2501 # scripts with optimization help from Paolo Bonzini. Blame Lee
2502 # E. McMahon (1931-1989) for sed's syntax. :-)
2514 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2518 chmod +x "$as_me.lineno" ||
2519 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2520 { (exit 1); exit 1; }; }
2522 # Don't try to exec as it changes $[0], causing all sort of problems
2523 # (the dirname of $[0] is not the place where we might find the
2524 # original and so on. Autoconf is especially sensitive to this).
2526 # Exit status is that of the last command.
2531 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2537 ECHO_C= ECHO_N= ECHO_T=
2540 case `echo 'x\c'` in
2541 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2548 if expr a : '\(a\)' >/dev/null 2>&1 &&
2549 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2555 rm -f conf$$ conf$$.exe conf$$.file
2556 if test -d conf$$.dir; then
2557 rm -f conf$$.dir/conf$$.file
2563 if ln -s conf$$.file conf$$ 2>/dev/null; then
2565 # ... but there are two gotchas:
2566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2568 # In both cases, we have to default to `cp -p'.
2569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2571 elif ln conf$$.file conf$$ 2>/dev/null; then
2576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2577 rmdir conf$$.dir 2>/dev/null
2579 if mkdir -p . 2>/dev/null; then
2582 test -d ./-p && rmdir ./-p
2586 if test -x / >/dev/null 2>&1; then
2589 if ls -dL / >/dev/null 2>&1; then
2596 if test -d "$1"; then
2602 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2603 ???[sx]*):;;*)false;;esac;fi
2607 as_executable_p=$as_test_x
2609 # Sed expression to map a string onto a valid CPP name.
2610 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2612 # Sed expression to map a string onto a valid variable name.
2613 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2618 # Save the log message, to keep $[0] and so on meaningful, and to
2619 # report actual input values of CONFIG_FILES etc. instead of their
2620 # values after options handling.
2622 This file was extended by $as_me, which was
2623 generated by GNU Autoconf 2.61. Invocation command line was
2625 CONFIG_FILES = $CONFIG_FILES
2626 CONFIG_HEADERS = $CONFIG_HEADERS
2627 CONFIG_LINKS = $CONFIG_LINKS
2628 CONFIG_COMMANDS = $CONFIG_COMMANDS
2631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2636 cat >>$CONFIG_STATUS <<_ACEOF
2637 # Files that config.status was made for.
2638 config_files="$ac_config_files"
2639 config_commands="$ac_config_commands"
2643 cat >>$CONFIG_STATUS <<\_ACEOF
2645 \`$as_me' instantiates files from templates according to the
2646 current configuration.
2648 Usage: $0 [OPTIONS] [FILE]...
2650 -h, --help print this help, then exit
2651 -V, --version print version number and configuration settings, then exit
2652 -q, --quiet do not print progress messages
2653 -d, --debug don't remove temporary files
2654 --recheck update $as_me by reconfiguring in the same conditions
2655 --file=FILE[:TEMPLATE]
2656 instantiate the configuration file FILE
2658 Configuration files:
2661 Configuration commands:
2664 Report bugs to <bug-autoconf@gnu.org>."
2667 cat >>$CONFIG_STATUS <<_ACEOF
2670 configured by $0, generated by GNU Autoconf 2.61,
2671 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2673 Copyright (C) 2006 Free Software Foundation, Inc.
2674 This config.status script is free software; the Free Software Foundation
2675 gives unlimited permission to copy, distribute and modify it."
2682 cat >>$CONFIG_STATUS <<\_ACEOF
2683 # If no file are specified by the user, then we need to provide default
2684 # value. By we need to know if files were specified by the user.
2690 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2691 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2702 # Handling of the options.
2703 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2705 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2706 echo "$ac_cs_version"; exit ;;
2707 --debug | --debu | --deb | --de | --d | -d )
2709 --file | --fil | --fi | --f )
2711 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2712 ac_need_defaults=false;;
2713 --he | --h | --help | --hel | -h )
2714 echo "$ac_cs_usage"; exit ;;
2715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2716 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2720 -*) { echo "$as_me: error: unrecognized option: $1
2721 Try \`$0 --help' for more information." >&2
2722 { (exit 1); exit 1; }; } ;;
2724 *) ac_config_targets="$ac_config_targets $1"
2725 ac_need_defaults=false ;;
2731 ac_configure_extra_args=
2733 if $ac_cs_silent; then
2735 ac_configure_extra_args="$ac_configure_extra_args --silent"
2739 cat >>$CONFIG_STATUS <<_ACEOF
2740 if \$ac_cs_recheck; then
2741 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2744 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2748 cat >>$CONFIG_STATUS <<\_ACEOF
2752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2753 ## Running $as_me. ##
2759 cat >>$CONFIG_STATUS <<_ACEOF
2762 cat >>$CONFIG_STATUS <<\_ACEOF
2764 # Handling of arguments.
2765 for ac_config_target in $ac_config_targets
2767 case $ac_config_target in
2768 "autoconf/Make.common") CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
2769 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2770 "manuals/update_version") CONFIG_FILES="$CONFIG_FILES manuals/update_version" ;;
2771 "manuals/version.tex") CONFIG_FILES="$CONFIG_FILES manuals/version.tex" ;;
2772 "manuals/bacula.sty") CONFIG_FILES="$CONFIG_FILES manuals/bacula.sty" ;;
2773 "manuals/de/catalog/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/catalog/Makefile" ;;
2774 "manuals/de/concepts/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/concepts/Makefile" ;;
2775 "manuals/de/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/console/Makefile" ;;
2776 "manuals/de/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/developers/Makefile" ;;
2777 "manuals/de/install/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/install/Makefile" ;;
2778 "manuals/de/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/problems/Makefile" ;;
2779 "manuals/de/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/utility/Makefile" ;;
2780 "manuals/en/catalog/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/catalog/Makefile" ;;
2781 "manuals/en/concepts/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/concepts/Makefile" ;;
2782 "manuals/en/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/console/Makefile" ;;
2783 "manuals/en/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/developers/Makefile" ;;
2784 "manuals/en/install/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/install/Makefile" ;;
2785 "manuals/en/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/problems/Makefile" ;;
2786 "manuals/en/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/utility/Makefile" ;;
2787 "manuals/fr/catalog/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/catalog/Makefile" ;;
2788 "manuals/fr/concepts/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/concepts/Makefile" ;;
2789 "manuals/fr/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/console/Makefile" ;;
2790 "manuals/fr/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/developers/Makefile" ;;
2791 "manuals/fr/install/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/install/Makefile" ;;
2792 "manuals/fr/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/problems/Makefile" ;;
2793 "manuals/fr/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/utility/Makefile" ;;
2794 "bacula-web/Makefile") CONFIG_FILES="$CONFIG_FILES bacula-web/Makefile" ;;
2795 "bacula-web/version.tex") CONFIG_FILES="$CONFIG_FILES bacula-web/version.tex" ;;
2796 "$PFILES") CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
2797 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
2799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2801 { (exit 1); exit 1; }; };;
2806 # If the user did not use the arguments to specify the items to instantiate,
2807 # then the envvar interface is used. Set only those that are not.
2808 # We use the long form for the default assignment because of an extremely
2809 # bizarre bug on SunOS 4.1.3.
2810 if $ac_need_defaults; then
2811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2812 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2815 # Have a temporary directory for convenience. Make it in the build tree
2816 # simply because there is no reason against having it here, and in addition,
2817 # creating and moving files from /tmp can sometimes cause problems.
2818 # Hook for its removal unless debugging.
2819 # Note that there is a small window in which the directory will not be cleaned:
2820 # after its creation but before its name has been assigned to `$tmp'.
2824 trap 'exit_status=$?
2825 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2827 trap '{ (exit 1); exit 1; }' 1 2 13 15
2829 # Create a (secure) tmp directory for tmp files.
2832 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2833 test -n "$tmp" && test -d "$tmp"
2836 tmp=./conf$$-$RANDOM
2837 (umask 077 && mkdir "$tmp")
2840 echo "$me: cannot create a temporary directory in ." >&2
2841 { (exit 1); exit 1; }
2845 # Set up the sed scripts for CONFIG_FILES section.
2848 # No need to generate the scripts if there are no CONFIG_FILES.
2849 # This happens for instance when ./config.status config.h
2850 if test -n "$CONFIG_FILES"; then
2854 # Create sed commands to just substitute file output variables.
2856 # Remaining file output variables are in a fragment that also has non-file
2862 for ac_last_try in false false false false false :; do
2863 cat >conf$$subs.sed <<_ACEOF
2864 SHELL!$SHELL$ac_delim
2865 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2866 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2867 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2868 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2869 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2870 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2871 exec_prefix!$exec_prefix$ac_delim
2872 prefix!$prefix$ac_delim
2873 program_transform_name!$program_transform_name$ac_delim
2874 bindir!$bindir$ac_delim
2875 sbindir!$sbindir$ac_delim
2876 libexecdir!$libexecdir$ac_delim
2877 datarootdir!$datarootdir$ac_delim
2878 datadir!$datadir$ac_delim
2879 sysconfdir!$sysconfdir$ac_delim
2880 sharedstatedir!$sharedstatedir$ac_delim
2881 localstatedir!$localstatedir$ac_delim
2882 includedir!$includedir$ac_delim
2883 oldincludedir!$oldincludedir$ac_delim
2884 docdir!$docdir$ac_delim
2885 infodir!$infodir$ac_delim
2886 htmldir!$htmldir$ac_delim
2887 dvidir!$dvidir$ac_delim
2888 pdfdir!$pdfdir$ac_delim
2889 psdir!$psdir$ac_delim
2890 libdir!$libdir$ac_delim
2891 localedir!$localedir$ac_delim
2892 mandir!$mandir$ac_delim
2894 ECHO_C!$ECHO_C$ac_delim
2895 ECHO_N!$ECHO_N$ac_delim
2896 ECHO_T!$ECHO_T$ac_delim
2898 build_alias!$build_alias$ac_delim
2899 host_alias!$host_alias$ac_delim
2900 target_alias!$target_alias$ac_delim
2901 BUILD_DIR!$BUILD_DIR$ac_delim
2902 bacula!$bacula$ac_delim
2903 VERSION!$VERSION$ac_delim
2905 TRUEPRG!$TRUEPRG$ac_delim
2906 FALSEPRG!$FALSEPRG$ac_delim
2907 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2908 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2909 INSTALL_DATA!$INSTALL_DATA$ac_delim
2916 LIBOBJS!$LIBOBJS$ac_delim
2917 LTLIBOBJS!$LTLIBOBJS$ac_delim
2920 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
2922 elif $ac_last_try; then
2923 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2924 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2925 { (exit 1); exit 1; }; }
2927 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2931 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2932 if test -n "$ac_eof"; then
2933 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2934 ac_eof=`expr $ac_eof + 1`
2937 cat >>$CONFIG_STATUS <<_ACEOF
2938 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2940 /^[ ]*@MCOMMON@[ ]*$/{
2946 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2947 s/^/s,@/; s/!/@,|#_!!_#|/
2950 s/'"$ac_delim"'$/,g/; t
2952 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2953 ' >>$CONFIG_STATUS <conf$$subs.sed
2954 rm -f conf$$subs.sed
2955 cat >>$CONFIG_STATUS <<_ACEOF
2962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2964 # trailing colons and then remove the whole line if VPATH becomes empty
2965 # (actually we leave an empty line to preserve line numbers).
2966 if test "x$srcdir" = x.; then
2967 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2971 s/^\([^=]*=[ ]*\):*/\1/
2977 cat >>$CONFIG_STATUS <<\_ACEOF
2978 fi # test -n "$CONFIG_FILES"
2981 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
2984 :[FHLC]) ac_mode=$ac_tag; continue;;
2986 case $ac_mode$ac_tag in
2988 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2989 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2990 { (exit 1); exit 1; }; };;
2991 :[FH]-) ac_tag=-:-;;
2992 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3009 -) ac_f="$tmp/stdin";;
3010 *) # Look for the file first in the build tree, then in the source tree
3011 # (if the path is not absolute). The absolute path cannot be DOS-style,
3012 # because $ac_f cannot contain `:'.
3016 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3018 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3019 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3020 { (exit 1); exit 1; }; };;
3022 ac_file_inputs="$ac_file_inputs $ac_f"
3025 # Let's still pretend it is `configure' which instantiates (i.e., don't
3026 # use $as_me), people would be surprised to read:
3027 # /* config.h. Generated by config.status. */
3028 configure_input="Generated from "`IFS=:
3029 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3030 if test x"$ac_file" != x-; then
3031 configure_input="$ac_file. $configure_input"
3032 { echo "$as_me:$LINENO: creating $ac_file" >&5
3033 echo "$as_me: creating $ac_file" >&6;}
3037 *:-:* | *:-) cat >"$tmp/stdin";;
3042 ac_dir=`$as_dirname -- "$ac_file" ||
3043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3044 X"$ac_file" : 'X\(//\)[^/]' \| \
3045 X"$ac_file" : 'X\(//\)$' \| \
3046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3067 -*) as_dir=./$as_dir;;
3069 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3073 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3074 *) as_qdir=$as_dir;;
3076 as_dirs="'$as_qdir' $as_dirs"
3077 as_dir=`$as_dirname -- "$as_dir" ||
3078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3079 X"$as_dir" : 'X\(//\)[^/]' \| \
3080 X"$as_dir" : 'X\(//\)$' \| \
3081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3100 test -d "$as_dir" && break
3102 test -z "$as_dirs" || eval "mkdir $as_dirs"
3103 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3104 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3105 { (exit 1); exit 1; }; }; }
3109 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3112 # A ".." for each directory in $ac_dir_suffix.
3113 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3114 case $ac_top_builddir_sub in
3115 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3116 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3119 ac_abs_top_builddir=$ac_pwd
3120 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3121 # for backward compatibility:
3122 ac_top_builddir=$ac_top_build_prefix
3125 .) # We are building in place.
3127 ac_top_srcdir=$ac_top_builddir_sub
3128 ac_abs_top_srcdir=$ac_pwd ;;
3129 [\\/]* | ?:[\\/]* ) # Absolute name.
3130 ac_srcdir=$srcdir$ac_dir_suffix;
3131 ac_top_srcdir=$srcdir
3132 ac_abs_top_srcdir=$srcdir ;;
3134 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3135 ac_top_srcdir=$ac_top_build_prefix$srcdir
3136 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3138 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3148 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3149 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3153 cat >>$CONFIG_STATUS <<\_ACEOF
3154 # If the template does not know about datarootdir, expand it.
3155 # FIXME: This hack should be removed a few years after 2.60.
3156 ac_datarootdir_hack=; ac_datarootdir_seen=
3158 case `sed -n '/datarootdir/ {
3167 ' $ac_file_inputs` in
3168 *datarootdir*) ac_datarootdir_seen=yes;;
3169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3170 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3171 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3173 cat >>$CONFIG_STATUS <<_ACEOF
3174 ac_datarootdir_hack='
3175 s&@datadir@&$datadir&g
3176 s&@docdir@&$docdir&g
3177 s&@infodir@&$infodir&g
3178 s&@localedir@&$localedir&g
3179 s&@mandir@&$mandir&g
3180 s&\\\${datarootdir}&$datarootdir&g' ;;
3184 # Neutralize VPATH when `$srcdir' = `.'.
3185 # Shell code in configure.ac might set extrasub.
3186 # FIXME: do we really want to maintain this feature?
3187 cat >>$CONFIG_STATUS <<_ACEOF
3191 cat >>$CONFIG_STATUS <<\_ACEOF
3193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3194 s&@configure_input@&$configure_input&;t t
3195 s&@top_builddir@&$ac_top_builddir_sub&;t t
3196 s&@srcdir@&$ac_srcdir&;t t
3197 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3198 s&@top_srcdir@&$ac_top_srcdir&;t t
3199 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3200 s&@builddir@&$ac_builddir&;t t
3201 s&@abs_builddir@&$ac_abs_builddir&;t t
3202 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3203 s&@INSTALL@&$ac_INSTALL&;t t
3204 $ac_datarootdir_hack
3205 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3210 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3211 which seems to be undefined. Please make sure it is defined." >&5
3212 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3213 which seems to be undefined. Please make sure it is defined." >&2;}
3217 -) cat "$tmp/out"; rm -f "$tmp/out";;
3218 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3223 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3224 echo "$as_me: executing $ac_file commands" >&6;}
3229 case $ac_file$ac_mode in
3237 { (exit 0); exit 0; }
3239 chmod +x $CONFIG_STATUS
3240 ac_clean_files=$ac_clean_files_save
3243 # configure is writing to config.log, and then calls config.status.
3244 # config.status does its own redirection, appending to config.log.
3245 # Unfortunately, on DOS this fails, as config.log is still kept open
3246 # by configure, so config.status won't be able to write to it; its
3247 # output is simply discarded. So we exec the FD to /dev/null,
3248 # effectively closing config.log, so it can be properly (re)opened and
3249 # appended to by config.status. When coming back to configure, we
3250 # need to make the FD available again.
3251 if test "$no_create" != yes; then
3253 ac_config_status_args=
3254 test "$silent" = yes &&
3255 ac_config_status_args="$ac_config_status_args --quiet"
3257 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3259 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3260 # would make configure fail if this is the last instruction.
3261 $ac_cs_success || { (exit 1); exit 1; }
3265 chmod 766 manuals/update_version
3267 # Now move common files into each subdirectory
3268 for i in manuals/update_version manuals/version.tex manuals/bacula.sty ; do
3269 for j in catalog concepts console developers install problems utility ; do
3270 cp -f $i manuals/de/$j
3271 cp -f $i manuals/en/$j
3272 cp -f $i manuals/fr/$j
3277 Configuration on `date`:
3279 Bacula version: ${VERSION} (${DATE})
3280 Bacula source code: ${bacula}