]> git.sur5r.net Git - bacula/docs/blob - docs/configure
Add Spanish traslation of the newbsfeatures chapter
[bacula/docs] / docs / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
4 #
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 ## --------------------- ##
12
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
16   emulate sh
17   NULLCMD=:
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+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
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
39
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
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
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.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
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
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
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
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
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 \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
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 ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
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
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
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
241   emulate sh
242   NULLCMD=:
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+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
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+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
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; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
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
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
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; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
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
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
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
434   # case at line end.
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.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
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; }; }
456
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).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
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 ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
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'"
546
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'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
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`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_unique_file="autoconf/configure.in"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
617 BUILD_DIR
618 bacula
619 VERSION
620 DATE
621 TRUEPRG
622 FALSEPRG
623 INSTALL_PROGRAM
624 INSTALL_SCRIPT
625 INSTALL_DATA
626 MV
627 RM
628 CP
629 ECHO
630 AR
631 AWK
632 LIBOBJS
633 LTLIBOBJS'
634 ac_subst_files='MCOMMON'
635       ac_precious_vars='build_alias
636 host_alias
637 target_alias'
638
639
640 # Initialize some variables set by options.
641 ac_init_help=
642 ac_init_version=false
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
645 cache_file=/dev/null
646 exec_prefix=NONE
647 no_create=
648 no_recursion=
649 prefix=NONE
650 program_prefix=NONE
651 program_suffix=NONE
652 program_transform_name=s,x,x,
653 silent=
654 site=
655 srcdir=
656 verbose=
657 x_includes=NONE
658 x_libraries=NONE
659
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'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
685
686 ac_prev=
687 ac_dashdash=
688 for ac_option
689 do
690   # If the previous option needs an argument, assign it.
691   if test -n "$ac_prev"; then
692     eval $ac_prev=\$ac_option
693     ac_prev=
694     continue
695   fi
696
697   case $ac_option in
698   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699   *)    ac_optarg=yes ;;
700   esac
701
702   # Accept the important Cygnus configure options, so we can diagnose typos.
703
704   case $ac_dashdash$ac_option in
705   --)
706     ac_dashdash=yes ;;
707
708   -bindir | --bindir | --bindi | --bind | --bin | --bi)
709     ac_prev=bindir ;;
710   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
711     bindir=$ac_optarg ;;
712
713   -build | --build | --buil | --bui | --bu)
714     ac_prev=build_alias ;;
715   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
716     build_alias=$ac_optarg ;;
717
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 ;;
724
725   --config-cache | -C)
726     cache_file=config.cache ;;
727
728   -datadir | --datadir | --datadi | --datad)
729     ac_prev=datadir ;;
730   -datadir=* | --datadir=* | --datadi=* | --datad=*)
731     datadir=$ac_optarg ;;
732
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 ;;
739
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 ;;
748
749   -docdir | --docdir | --docdi | --doc | --do)
750     ac_prev=docdir ;;
751   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
752     docdir=$ac_optarg ;;
753
754   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
755     ac_prev=dvidir ;;
756   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
757     dvidir=$ac_optarg ;;
758
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 ;;
767
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 ;;
776
777   -gas | --gas | --ga | --g)
778     # Obsolete; use --with-gas.
779     with_gas=yes ;;
780
781   -help | --help | --hel | --he | -h)
782     ac_init_help=long ;;
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 ;;
787
788   -host | --host | --hos | --ho)
789     ac_prev=host_alias ;;
790   -host=* | --host=* | --hos=* | --ho=*)
791     host_alias=$ac_optarg ;;
792
793   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
794     ac_prev=htmldir ;;
795   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
796   | --ht=*)
797     htmldir=$ac_optarg ;;
798
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 ;;
805
806   -infodir | --infodir | --infodi | --infod | --info | --inf)
807     ac_prev=infodir ;;
808   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
809     infodir=$ac_optarg ;;
810
811   -libdir | --libdir | --libdi | --libd)
812     ac_prev=libdir ;;
813   -libdir=* | --libdir=* | --libdi=* | --libd=*)
814     libdir=$ac_optarg ;;
815
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 ;;
822
823   -localedir | --localedir | --localedi | --localed | --locale)
824     ac_prev=localedir ;;
825   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
826     localedir=$ac_optarg ;;
827
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 ;;
834
835   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
836     ac_prev=mandir ;;
837   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
838     mandir=$ac_optarg ;;
839
840   -nfp | --nfp | --nf)
841     # Obsolete; use --without-fp.
842     with_fp=no ;;
843
844   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
845   | --no-cr | --no-c | -n)
846     no_create=yes ;;
847
848   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
849   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
850     no_recursion=yes ;;
851
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 ;;
860
861   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
862     ac_prev=prefix ;;
863   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
864     prefix=$ac_optarg ;;
865
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 ;;
872
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 ;;
879
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 ;;
896
897   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
898     ac_prev=pdfdir ;;
899   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
900     pdfdir=$ac_optarg ;;
901
902   -psdir | --psdir | --psdi | --psd | --ps)
903     ac_prev=psdir ;;
904   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
905     psdir=$ac_optarg ;;
906
907   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
908   | -silent | --silent | --silen | --sile | --sil)
909     silent=yes ;;
910
911   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
912     ac_prev=sbindir ;;
913   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
914   | --sbi=* | --sb=*)
915     sbindir=$ac_optarg ;;
916
917   -sharedstatedir | --sharedstatedir | --sharedstatedi \
918   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
919   | --sharedst | --shareds | --shared | --share | --shar \
920   | --sha | --sh)
921     ac_prev=sharedstatedir ;;
922   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
923   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
924   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
925   | --sha=* | --sh=*)
926     sharedstatedir=$ac_optarg ;;
927
928   -site | --site | --sit)
929     ac_prev=site ;;
930   -site=* | --site=* | --sit=*)
931     site=$ac_optarg ;;
932
933   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
934     ac_prev=srcdir ;;
935   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
936     srcdir=$ac_optarg ;;
937
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 ;;
944
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 ;;
949
950   -v | -verbose | --verbose | --verbos | --verbo | --verb)
951     verbose=yes ;;
952
953   -version | --version | --versio | --versi | --vers | -V)
954     ac_init_version=: ;;
955
956   -with-* | --with-*)
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 ;;
964
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 ;;
973
974   --x)
975     # Obsolete; use --with-x.
976     with_x=yes ;;
977
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 ;;
984
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 ;;
991
992   -*) { echo "$as_me: error: unrecognized option: $ac_option
993 Try \`$0 --help' for more information." >&2
994    { (exit 1); exit 1; }; }
995     ;;
996
997   *=*)
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 ;;
1005
1006   *)
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}
1012     ;;
1013
1014   esac
1015 done
1016
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; }; }
1021 fi
1022
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
1028 do
1029   eval ac_val=\$$ac_var
1030   case $ac_val in
1031     [\\/$]* | ?:[\\/]* )  continue;;
1032     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1033   esac
1034   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1035    { (exit 1); exit 1; }; }
1036 done
1037
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.
1041 build=$build_alias
1042 host=$host_alias
1043 target=$target_alias
1044
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
1052     cross_compiling=yes
1053   fi
1054 fi
1055
1056 ac_tool_prefix=
1057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1058
1059 test "$silent" = yes && exec 6>/dev/null
1060
1061
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; }; }
1070
1071
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 ||
1081 echo X"$0" |
1082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1083             s//\1/
1084             q
1085           }
1086           /^X\(\/\/\)[^/].*/{
1087             s//\1/
1088             q
1089           }
1090           /^X\(\/\/\)$/{
1091             s//\1/
1092             q
1093           }
1094           /^X\(\/\).*/{
1095             s//\1/
1096             q
1097           }
1098           s/.*/./; q'`
1099   srcdir=$ac_confdir
1100   if test ! -r "$srcdir/$ac_unique_file"; then
1101     srcdir=..
1102   fi
1103 else
1104   ac_srcdir_defaulted=no
1105 fi
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; }; }
1110 fi
1111 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1112 ac_abs_confdir=`(
1113         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1114    { (exit 1); exit 1; }; }
1115         pwd)`
1116 # When building in place, set srcdir=.
1117 if test "$ac_abs_confdir" = "$ac_pwd"; then
1118   srcdir=.
1119 fi
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.
1123 case $srcdir in
1124 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1125 esac
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}
1131 done
1132
1133 #
1134 # Report the --help message.
1135 #
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.
1139   cat <<_ACEOF
1140 \`configure' configures this package to adapt to many kinds of systems.
1141
1142 Usage: $0 [OPTION]... [VAR=VALUE]...
1143
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.
1146
1147 Defaults for the options are specified in brackets.
1148
1149 Configuration:
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 \`..']
1159
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
1164                           [PREFIX]
1165
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'.
1170
1171 For better control, use the options below.
1172
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]
1193 _ACEOF
1194
1195   cat <<\_ACEOF
1196 _ACEOF
1197 fi
1198
1199 if test -n "$ac_init_help"; then
1200
1201   cat <<\_ACEOF
1202
1203 Optional Packages:
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
1207
1208 _ACEOF
1209 ac_status=$?
1210 fi
1211
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
1216     ac_builddir=.
1217
1218 case "$ac_dir" in
1219 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1220 *)
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/ ;;
1227   esac ;;
1228 esac
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
1233
1234 case $srcdir in
1235   .)  # We are building in place.
1236     ac_srcdir=.
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 ;;
1243   *) # Relative name.
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 ;;
1247 esac
1248 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1249
1250     cd "$ac_dir" || { ac_status=$?; continue; }
1251     # Check for guested configure.
1252     if test -f "$ac_srcdir/configure.gnu"; then
1253       echo &&
1254       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1255     elif test -f "$ac_srcdir/configure"; then
1256       echo &&
1257       $SHELL "$ac_srcdir/configure" --help=recursive
1258     else
1259       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1260     fi || ac_status=$?
1261     cd "$ac_pwd" || { ac_status=$?; break; }
1262   done
1263 fi
1264
1265 test -n "$ac_init_help" && exit $ac_status
1266 if $ac_init_version; then
1267   cat <<\_ACEOF
1268 configure
1269 generated by GNU Autoconf 2.61
1270
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.
1275 _ACEOF
1276   exit
1277 fi
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.
1281
1282 It was created by $as_me, which was
1283 generated by GNU Autoconf 2.61.  Invocation command line was
1284
1285   $ $0 $@
1286
1287 _ACEOF
1288 exec 5>>config.log
1289 {
1290 cat <<_ASUNAME
1291 ## --------- ##
1292 ## Platform. ##
1293 ## --------- ##
1294
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`
1300
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`
1303
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`
1311
1312 _ASUNAME
1313
1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315 for as_dir in $PATH
1316 do
1317   IFS=$as_save_IFS
1318   test -z "$as_dir" && as_dir=.
1319   echo "PATH: $as_dir"
1320 done
1321 IFS=$as_save_IFS
1322
1323 } >&5
1324
1325 cat >&5 <<_ACEOF
1326
1327
1328 ## ----------- ##
1329 ## Core tests. ##
1330 ## ----------- ##
1331
1332 _ACEOF
1333
1334
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.
1340 ac_configure_args=
1341 ac_configure_args0=
1342 ac_configure_args1=
1343 ac_must_keep_next=false
1344 for ac_pass in 1 2
1345 do
1346   for ac_arg
1347   do
1348     case $ac_arg in
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)
1352       continue ;;
1353     *\'*)
1354       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1355     esac
1356     case $ac_pass in
1357     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1358     2)
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.
1362       else
1363         case $ac_arg in
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 ;;
1370             esac
1371             ;;
1372           -* ) ac_must_keep_next=true ;;
1373         esac
1374       fi
1375       ac_configure_args="$ac_configure_args '$ac_arg'"
1376       ;;
1377     esac
1378   done
1379 done
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; }
1382
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.
1390   {
1391     echo
1392
1393     cat <<\_ASBOX
1394 ## ---------------- ##
1395 ## Cache variables. ##
1396 ## ---------------- ##
1397 _ASBOX
1398     echo
1399     # The following way of writing the cache mishandles newlines in values,
1400 (
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
1403     case $ac_val in #(
1404     *${as_nl}*)
1405       case $ac_var in #(
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;} ;;
1408       esac
1409       case $ac_var in #(
1410       _ | IFS | as_nl) ;; #(
1411       *) $as_unset $ac_var ;;
1412       esac ;;
1413     esac
1414   done
1415   (set) 2>&1 |
1416     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1417     *${as_nl}ac_space=\ *)
1418       sed -n \
1419         "s/'\''/'\''\\\\'\'''\''/g;
1420           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1421       ;; #(
1422     *)
1423       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1424       ;;
1425     esac |
1426     sort
1427 )
1428     echo
1429
1430     cat <<\_ASBOX
1431 ## ----------------- ##
1432 ## Output variables. ##
1433 ## ----------------- ##
1434 _ASBOX
1435     echo
1436     for ac_var in $ac_subst_vars
1437     do
1438       eval ac_val=\$$ac_var
1439       case $ac_val in
1440       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1441       esac
1442       echo "$ac_var='\''$ac_val'\''"
1443     done | sort
1444     echo
1445
1446     if test -n "$ac_subst_files"; then
1447       cat <<\_ASBOX
1448 ## ------------------- ##
1449 ## File substitutions. ##
1450 ## ------------------- ##
1451 _ASBOX
1452       echo
1453       for ac_var in $ac_subst_files
1454       do
1455         eval ac_val=\$$ac_var
1456         case $ac_val in
1457         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1458         esac
1459         echo "$ac_var='\''$ac_val'\''"
1460       done | sort
1461       echo
1462     fi
1463
1464     if test -s confdefs.h; then
1465       cat <<\_ASBOX
1466 ## ----------- ##
1467 ## confdefs.h. ##
1468 ## ----------- ##
1469 _ASBOX
1470       echo
1471       cat confdefs.h
1472       echo
1473     fi
1474     test "$ac_signal" != 0 &&
1475       echo "$as_me: caught signal $ac_signal"
1476     echo "$as_me: exit $exit_status"
1477   } >&5
1478   rm -f core *.core core.conftest.* &&
1479     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1480     exit $exit_status
1481 ' 0
1482 for ac_signal in 1 2 13 15; do
1483   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1484 done
1485 ac_signal=0
1486
1487 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1488 rm -f -r conftest* confdefs.h
1489
1490 # Predefined preprocessor variables.
1491
1492 cat >>confdefs.h <<_ACEOF
1493 #define PACKAGE_NAME "$PACKAGE_NAME"
1494 _ACEOF
1495
1496
1497 cat >>confdefs.h <<_ACEOF
1498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1499 _ACEOF
1500
1501
1502 cat >>confdefs.h <<_ACEOF
1503 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1504 _ACEOF
1505
1506
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_STRING "$PACKAGE_STRING"
1509 _ACEOF
1510
1511
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1514 _ACEOF
1515
1516
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"
1523 else
1524   set x "$ac_default_prefix/share/config.site" \
1525         "$ac_default_prefix/etc/config.site"
1526 fi
1527 shift
1528 for ac_site_file
1529 do
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
1534     . "$ac_site_file"
1535   fi
1536 done
1537
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;}
1544     case $cache_file in
1545       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1546       *)                      . "./$cache_file";;
1547     esac
1548   fi
1549 else
1550   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1551 echo "$as_me: creating cache $cache_file" >&6;}
1552   >$cache_file
1553 fi
1554
1555 # Check that the precious variables saved in the cache have kept the same
1556 # value.
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
1564     set,)
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=: ;;
1568     ,set)
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=: ;;
1572     ,);;
1573     *)
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=:
1582       fi;;
1583   esac
1584   # Pass precious variables to config.status.
1585   if test "$ac_new_set" = set; then
1586     case $ac_new_val in
1587     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1588     *) ac_arg=$ac_var=$ac_new_val ;;
1589     esac
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'" ;;
1593     esac
1594   fi
1595 done
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; }; }
1602 fi
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620 ac_ext=c
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
1625
1626
1627 BUILD_DIR=`pwd`
1628 cd ..
1629 TOP_DIR=`pwd`
1630 cd ${BUILD_DIR}
1631
1632 ac_aux_dir=
1633 for ac_dir in ${BUILD_DIR}/autoconf "$srcdir"/${BUILD_DIR}/autoconf; do
1634   if test -f "$ac_dir/install-sh"; then
1635     ac_aux_dir=$ac_dir
1636     ac_install_sh="$ac_aux_dir/install-sh -c"
1637     break
1638   elif test -f "$ac_dir/install.sh"; then
1639     ac_aux_dir=$ac_dir
1640     ac_install_sh="$ac_aux_dir/install.sh -c"
1641     break
1642   elif test -f "$ac_dir/shtool"; then
1643     ac_aux_dir=$ac_dir
1644     ac_install_sh="$ac_aux_dir/shtool install -c"
1645     break
1646   fi
1647 done
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; }; }
1652 fi
1653
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.
1661
1662
1663
1664
1665
1666
1667
1668 # ------------------------------------------
1669 # Where to get Bacula source
1670 # ------------------------------------------
1671
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
1676           bacula=$withval
1677        fi
1678
1679
1680 fi
1681
1682
1683
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; }; }
1688 fi
1689
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; }; }
1696 fi
1697 echo "configuring for Bacula $VERSION ($DATE)"
1698
1699 for ac_prog in true
1700 do
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
1707 else
1708   case $TRUEPRG in
1709   [\\/]* | ?:[\\/]*)
1710   ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1711   ;;
1712   *)
1713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716   IFS=$as_save_IFS
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
1722     break 2
1723   fi
1724 done
1725 done
1726 IFS=$as_save_IFS
1727
1728   ;;
1729 esac
1730 fi
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; }
1735 else
1736   { echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6; }
1738 fi
1739
1740
1741   test -n "$TRUEPRG" && break
1742 done
1743 test -n "$TRUEPRG" || TRUEPRG=":"
1744
1745 for ac_prog in false
1746 do
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
1753 else
1754   case $FALSEPRG in
1755   [\\/]* | ?:[\\/]*)
1756   ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1757   ;;
1758   *)
1759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1761 do
1762   IFS=$as_save_IFS
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
1768     break 2
1769   fi
1770 done
1771 done
1772 IFS=$as_save_IFS
1773
1774   ;;
1775 esac
1776 fi
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; }
1781 else
1782   { echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6; }
1784 fi
1785
1786
1787   test -n "$FALSEPRG" && break
1788 done
1789 test -n "$FALSEPRG" || FALSEPRG=":"
1790
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
1797 # AIX /bin/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
1809 else
1810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1812 do
1813   IFS=$as_save_IFS
1814   test -z "$as_dir" && as_dir=.
1815   # Account for people who put trailing slashes in PATH elements.
1816 case $as_dir/ in
1817   ./ | .// | /cC/* | \
1818   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1819   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1820   /usr/ucb/* ) ;;
1821   *)
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
1824     # by default.
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.
1831             :
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.
1835             :
1836           else
1837             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1838             break 3
1839           fi
1840         fi
1841       done
1842     done
1843     ;;
1844 esac
1845 done
1846 IFS=$as_save_IFS
1847
1848
1849 fi
1850   if test "${ac_cv_path_install+set}" = set; then
1851     INSTALL=$ac_cv_path_install
1852   else
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
1858   fi
1859 fi
1860 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1861 echo "${ECHO_T}$INSTALL" >&6; }
1862
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}'
1866
1867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1868
1869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1870
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
1877 else
1878   case $MV in
1879   [\\/]* | ?:[\\/]*)
1880   ac_cv_path_MV="$MV" # Let the user override the test with a path.
1881   ;;
1882   *)
1883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 for as_dir in $PATH
1885 do
1886   IFS=$as_save_IFS
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
1892     break 2
1893   fi
1894 done
1895 done
1896 IFS=$as_save_IFS
1897
1898   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1899   ;;
1900 esac
1901 fi
1902 MV=$ac_cv_path_MV
1903 if test -n "$MV"; then
1904   { echo "$as_me:$LINENO: result: $MV" >&5
1905 echo "${ECHO_T}$MV" >&6; }
1906 else
1907   { echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6; }
1909 fi
1910
1911
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
1918 else
1919   case $RM in
1920   [\\/]* | ?:[\\/]*)
1921   ac_cv_path_RM="$RM" # Let the user override the test with a path.
1922   ;;
1923   *)
1924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 for as_dir in $PATH
1926 do
1927   IFS=$as_save_IFS
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
1933     break 2
1934   fi
1935 done
1936 done
1937 IFS=$as_save_IFS
1938
1939   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1940   ;;
1941 esac
1942 fi
1943 RM=$ac_cv_path_RM
1944 if test -n "$RM"; then
1945   { echo "$as_me:$LINENO: result: $RM" >&5
1946 echo "${ECHO_T}$RM" >&6; }
1947 else
1948   { echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6; }
1950 fi
1951
1952
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
1959 else
1960   case $CP in
1961   [\\/]* | ?:[\\/]*)
1962   ac_cv_path_CP="$CP" # Let the user override the test with a path.
1963   ;;
1964   *)
1965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 for as_dir in $PATH
1967 do
1968   IFS=$as_save_IFS
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
1974     break 2
1975   fi
1976 done
1977 done
1978 IFS=$as_save_IFS
1979
1980   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1981   ;;
1982 esac
1983 fi
1984 CP=$ac_cv_path_CP
1985 if test -n "$CP"; then
1986   { echo "$as_me:$LINENO: result: $CP" >&5
1987 echo "${ECHO_T}$CP" >&6; }
1988 else
1989   { echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6; }
1991 fi
1992
1993
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
2000 else
2001   case $ECHO in
2002   [\\/]* | ?:[\\/]*)
2003   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
2004   ;;
2005   *)
2006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009   IFS=$as_save_IFS
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
2015     break 2
2016   fi
2017 done
2018 done
2019 IFS=$as_save_IFS
2020
2021   test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
2022   ;;
2023 esac
2024 fi
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; }
2029 else
2030   { echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6; }
2032 fi
2033
2034
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
2041 else
2042   case $AR in
2043   [\\/]* | ?:[\\/]*)
2044   ac_cv_path_AR="$AR" # Let the user override the test with a path.
2045   ;;
2046   *)
2047   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050   IFS=$as_save_IFS
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
2056     break 2
2057   fi
2058 done
2059 done
2060 IFS=$as_save_IFS
2061
2062   test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
2063   ;;
2064 esac
2065 fi
2066 AR=$ac_cv_path_AR
2067 if test -n "$AR"; then
2068   { echo "$as_me:$LINENO: result: $AR" >&5
2069 echo "${ECHO_T}$AR" >&6; }
2070 else
2071   { echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6; }
2073 fi
2074
2075
2076 for ac_prog in gawk mawk nawk awk
2077 do
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
2084 else
2085   if test -n "$AWK"; then
2086   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2090 do
2091   IFS=$as_save_IFS
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
2097     break 2
2098   fi
2099 done
2100 done
2101 IFS=$as_save_IFS
2102
2103 fi
2104 fi
2105 AWK=$ac_cv_prog_AWK
2106 if test -n "$AWK"; then
2107   { echo "$as_me:$LINENO: result: $AWK" >&5
2108 echo "${ECHO_T}$AWK" >&6; }
2109 else
2110   { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2112 fi
2113
2114
2115   test -n "$AWK" && break
2116 done
2117
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 :;
2123 else
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; }; }
2133 fi
2134 THE_AWK=$AWK
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
2141 else
2142   case $AWK in
2143   [\\/]* | ?:[\\/]*)
2144   ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2145   ;;
2146   *)
2147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
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
2156     break 2
2157   fi
2158 done
2159 done
2160 IFS=$as_save_IFS
2161
2162   test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
2163   ;;
2164 esac
2165 fi
2166 AWK=$ac_cv_path_AWK
2167 if test -n "$AWK"; then
2168   { echo "$as_me:$LINENO: result: $AWK" >&5
2169 echo "${ECHO_T}$AWK" >&6; }
2170 else
2171   { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2173 fi
2174
2175
2176
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}
2182 fi
2183
2184
2185
2186
2187
2188 MCOMMON=./autoconf/Make.common
2189
2190
2191
2192 ac_config_files="$ac_config_files autoconf/Make.common Makefile manuals/update_version manuals/version.tex manuals/bacula.sty manuals/en/console/Makefile manuals/en/main/Makefile manuals/en/developers/Makefile manuals/en/problems/Makefile manuals/en/utility/Makefile manuals/en/misc/Makefile manuals/de/console/Makefile manuals/de/main/Makefile manuals/de/developers/Makefile manuals/de/problems/Makefile manuals/de/utility/Makefile manuals/de/misc/Makefile manuals/fr/console/Makefile manuals/fr/main/Makefile manuals/fr/developers/Makefile manuals/fr/problems/Makefile manuals/fr/utility/Makefile manuals/fr/misc/Makefile manuals/es/console/Makefile manuals/es/main/Makefile manuals/es/developers/Makefile manuals/es/problems/Makefile manuals/es/utility/Makefile manuals/es/misc/Makefile bacula-web/Makefile bacula-web/version.tex $PFILES"
2193
2194 ac_config_commands="$ac_config_commands default"
2195
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.
2202 #
2203 # config.status only pays attention to the cache file if you give it
2204 # the --recheck option to rerun configure.
2205 #
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
2208 # following values.
2209
2210 _ACEOF
2211
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.
2217 (
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
2220     case $ac_val in #(
2221     *${as_nl}*)
2222       case $ac_var in #(
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;} ;;
2225       esac
2226       case $ac_var in #(
2227       _ | IFS | as_nl) ;; #(
2228       *) $as_unset $ac_var ;;
2229       esac ;;
2230     esac
2231   done
2232
2233   (set) 2>&1 |
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 \).
2238       sed -n \
2239         "s/'/'\\\\''/g;
2240           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2241       ;; #(
2242     *)
2243       # `set' quotes correctly as required by POSIX, so do not add quotes.
2244       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245       ;;
2246     esac |
2247     sort
2248 ) |
2249   sed '
2250      /^ac_cv_env_/b end
2251      t clear
2252      :clear
2253      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2254      t end
2255      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2256      :end' >>confcache
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
2263   else
2264     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2266   fi
2267 fi
2268 rm -f confcache
2269
2270 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2271 # Let make expand exec_prefix.
2272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2273
2274 # Transform confdefs.h into DEFS.
2275 # Protect against shell expansion while executing Makefile rules.
2276 # Protect against Makefile macro expansion.
2277 #
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.
2281 ac_script='
2282 t clear
2283 :clear
2284 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2285 t quote
2286 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2287 t quote
2288 b any
2289 :quote
2290 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2291 s/\[/\\&/g
2292 s/\]/\\&/g
2293 s/\$/$$/g
2294 H
2295 :any
2296 ${
2297         g
2298         s/^\n//
2299         s/\n/ /g
2300         p
2301 }
2302 '
2303 DEFS=`sed -n "$ac_script" confdefs.h`
2304
2305
2306 ac_libobjs=
2307 ac_ltlibobjs=
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'
2316 done
2317 LIBOBJS=$ac_libobjs
2318
2319 LTLIBOBJS=$ac_ltlibobjs
2320
2321
2322
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
2329 #! $SHELL
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.
2334
2335 debug=false
2336 ac_cs_recheck=false
2337 ac_cs_silent=false
2338 SHELL=\${CONFIG_SHELL-$SHELL}
2339 _ACEOF
2340
2341 cat >>$CONFIG_STATUS <<\_ACEOF
2342 ## --------------------- ##
2343 ## M4sh Initialization.  ##
2344 ## --------------------- ##
2345
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
2349   emulate sh
2350   NULLCMD=:
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
2355 else
2356   case `(set -o) 2>/dev/null` in
2357   *posix*) set -o posix ;;
2358 esac
2359
2360 fi
2361
2362
2363
2364
2365 # PATH needs CR
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
2372
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
2377   chmod +x conf$$.sh
2378   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2379     PATH_SEPARATOR=';'
2380   else
2381     PATH_SEPARATOR=:
2382   fi
2383   rm -f conf$$.sh
2384 fi
2385
2386 # Support unset when possible.
2387 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2388   as_unset=unset
2389 else
2390   as_unset=false
2391 fi
2392
2393
2394 # IFS
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.)
2399 as_nl='
2400 '
2401 IFS=" ""        $as_nl"
2402
2403 # Find who we are.  Look in the path if we contain no directory separator.
2404 case $0 in
2405   *[\\/]* ) as_myself=$0 ;;
2406   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 for as_dir in $PATH
2408 do
2409   IFS=$as_save_IFS
2410   test -z "$as_dir" && as_dir=.
2411   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2412 done
2413 IFS=$as_save_IFS
2414
2415      ;;
2416 esac
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
2420   as_myself=$0
2421 fi
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; }
2425 fi
2426
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
2430 done
2431 PS1='$ '
2432 PS2='> '
2433 PS4='+ '
2434
2435 # NLS nuisances.
2436 for as_var in \
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
2440 do
2441   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2442     eval $as_var=C; export $as_var
2443   else
2444     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2445   fi
2446 done
2447
2448 # Required to use basename.
2449 if expr a : '\(a\)' >/dev/null 2>&1 &&
2450    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2451   as_expr=expr
2452 else
2453   as_expr=false
2454 fi
2455
2456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2457   as_basename=basename
2458 else
2459   as_basename=false
2460 fi
2461
2462
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 ||
2468 echo X/"$0" |
2469     sed '/^.*\/\([^/][^/]*\)\/*$/{
2470             s//\1/
2471             q
2472           }
2473           /^X\/\(\/\/\)$/{
2474             s//\1/
2475             q
2476           }
2477           /^X\/\(\/\).*/{
2478             s//\1/
2479             q
2480           }
2481           s/.*/./; q'`
2482
2483 # CDPATH.
2484 $as_unset CDPATH
2485
2486
2487
2488   as_lineno_1=$LINENO
2489   as_lineno_2=$LINENO
2490   test "x$as_lineno_1" != "x$as_lineno_2" &&
2491   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2492
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
2499   # case at line end.
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.  :-)
2503   sed -n '
2504     p
2505     /[$]LINENO/=
2506   ' <$as_myself |
2507     sed '
2508       s/[$]LINENO.*/&-/
2509       t lineno
2510       b
2511       :lineno
2512       N
2513       :loop
2514       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2515       t loop
2516       s/-\n.*//
2517     ' >$as_me.lineno &&
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; }; }
2521
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).
2525   . "./$as_me.lineno"
2526   # Exit status is that of the last command.
2527   exit
2528 }
2529
2530
2531 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2532   as_dirname=dirname
2533 else
2534   as_dirname=false
2535 fi
2536
2537 ECHO_C= ECHO_N= ECHO_T=
2538 case `echo -n x` in
2539 -n*)
2540   case `echo 'x\c'` in
2541   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2542   *)   ECHO_C='\c';;
2543   esac;;
2544 *)
2545   ECHO_N='-n';;
2546 esac
2547
2548 if expr a : '\(a\)' >/dev/null 2>&1 &&
2549    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2550   as_expr=expr
2551 else
2552   as_expr=false
2553 fi
2554
2555 rm -f conf$$ conf$$.exe conf$$.file
2556 if test -d conf$$.dir; then
2557   rm -f conf$$.dir/conf$$.file
2558 else
2559   rm -f conf$$.dir
2560   mkdir conf$$.dir
2561 fi
2562 echo >conf$$.file
2563 if ln -s conf$$.file conf$$ 2>/dev/null; then
2564   as_ln_s='ln -s'
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 ||
2570     as_ln_s='cp -p'
2571 elif ln conf$$.file conf$$ 2>/dev/null; then
2572   as_ln_s=ln
2573 else
2574   as_ln_s='cp -p'
2575 fi
2576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2577 rmdir conf$$.dir 2>/dev/null
2578
2579 if mkdir -p . 2>/dev/null; then
2580   as_mkdir_p=:
2581 else
2582   test -d ./-p && rmdir ./-p
2583   as_mkdir_p=false
2584 fi
2585
2586 if test -x / >/dev/null 2>&1; then
2587   as_test_x='test -x'
2588 else
2589   if ls -dL / >/dev/null 2>&1; then
2590     as_ls_L_option=L
2591   else
2592     as_ls_L_option=
2593   fi
2594   as_test_x='
2595     eval sh -c '\''
2596       if test -d "$1"; then
2597         test -d "$1/.";
2598       else
2599         case $1 in
2600         -*)set "./$1";;
2601         esac;
2602         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2603         ???[sx]*):;;*)false;;esac;fi
2604     '\'' sh
2605   '
2606 fi
2607 as_executable_p=$as_test_x
2608
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'"
2611
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'"
2614
2615
2616 exec 6>&1
2617
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.
2621 ac_log="
2622 This file was extended by $as_me, which was
2623 generated by GNU Autoconf 2.61.  Invocation command line was
2624
2625   CONFIG_FILES    = $CONFIG_FILES
2626   CONFIG_HEADERS  = $CONFIG_HEADERS
2627   CONFIG_LINKS    = $CONFIG_LINKS
2628   CONFIG_COMMANDS = $CONFIG_COMMANDS
2629   $ $0 $@
2630
2631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2632 "
2633
2634 _ACEOF
2635
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"
2640
2641 _ACEOF
2642
2643 cat >>$CONFIG_STATUS <<\_ACEOF
2644 ac_cs_usage="\
2645 \`$as_me' instantiates files from templates according to the
2646 current configuration.
2647
2648 Usage: $0 [OPTIONS] [FILE]...
2649
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
2657
2658 Configuration files:
2659 $config_files
2660
2661 Configuration commands:
2662 $config_commands
2663
2664 Report bugs to <bug-autoconf@gnu.org>."
2665
2666 _ACEOF
2667 cat >>$CONFIG_STATUS <<_ACEOF
2668 ac_cs_version="\\
2669 config.status
2670 configured by $0, generated by GNU Autoconf 2.61,
2671   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2672
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."
2676
2677 ac_pwd='$ac_pwd'
2678 srcdir='$srcdir'
2679 INSTALL='$INSTALL'
2680 _ACEOF
2681
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.
2685 ac_need_defaults=:
2686 while test $# != 0
2687 do
2688   case $1 in
2689   --*=*)
2690     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2691     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2692     ac_shift=:
2693     ;;
2694   *)
2695     ac_option=$1
2696     ac_optarg=$2
2697     ac_shift=shift
2698     ;;
2699   esac
2700
2701   case $ac_option in
2702   # Handling of the options.
2703   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2704     ac_cs_recheck=: ;;
2705   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2706     echo "$ac_cs_version"; exit ;;
2707   --debug | --debu | --deb | --de | --d | -d )
2708     debug=: ;;
2709   --file | --fil | --fi | --f )
2710     $ac_shift
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)
2717     ac_cs_silent=: ;;
2718
2719   # This is an error.
2720   -*) { echo "$as_me: error: unrecognized option: $1
2721 Try \`$0 --help' for more information." >&2
2722    { (exit 1); exit 1; }; } ;;
2723
2724   *) ac_config_targets="$ac_config_targets $1"
2725      ac_need_defaults=false ;;
2726
2727   esac
2728   shift
2729 done
2730
2731 ac_configure_extra_args=
2732
2733 if $ac_cs_silent; then
2734   exec 6>/dev/null
2735   ac_configure_extra_args="$ac_configure_extra_args --silent"
2736 fi
2737
2738 _ACEOF
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
2742   CONFIG_SHELL=$SHELL
2743   export CONFIG_SHELL
2744   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2745 fi
2746
2747 _ACEOF
2748 cat >>$CONFIG_STATUS <<\_ACEOF
2749 exec 5>>config.log
2750 {
2751   echo
2752   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2753 ## Running $as_me. ##
2754 _ASBOX
2755   echo "$ac_log"
2756 } >&5
2757
2758 _ACEOF
2759 cat >>$CONFIG_STATUS <<_ACEOF
2760 _ACEOF
2761
2762 cat >>$CONFIG_STATUS <<\_ACEOF
2763
2764 # Handling of arguments.
2765 for ac_config_target in $ac_config_targets
2766 do
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/en/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/console/Makefile" ;;
2774     "manuals/en/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/main/Makefile" ;;
2775     "manuals/en/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/developers/Makefile" ;;
2776     "manuals/en/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/problems/Makefile" ;;
2777     "manuals/en/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/utility/Makefile" ;;
2778     "manuals/en/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/misc/Makefile" ;;
2779     "manuals/de/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/console/Makefile" ;;
2780     "manuals/de/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/main/Makefile" ;;
2781     "manuals/de/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/developers/Makefile" ;;
2782     "manuals/de/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/problems/Makefile" ;;
2783     "manuals/de/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/utility/Makefile" ;;
2784     "manuals/de/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/misc/Makefile" ;;
2785     "manuals/fr/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/console/Makefile" ;;
2786     "manuals/fr/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/main/Makefile" ;;
2787     "manuals/fr/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/developers/Makefile" ;;
2788     "manuals/fr/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/problems/Makefile" ;;
2789     "manuals/fr/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/utility/Makefile" ;;
2790     "manuals/fr/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/misc/Makefile" ;;
2791     "manuals/es/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/console/Makefile" ;;
2792     "manuals/es/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/main/Makefile" ;;
2793     "manuals/es/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/developers/Makefile" ;;
2794     "manuals/es/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/problems/Makefile" ;;
2795     "manuals/es/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/utility/Makefile" ;;
2796     "manuals/es/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/misc/Makefile" ;;
2797     "bacula-web/Makefile") CONFIG_FILES="$CONFIG_FILES bacula-web/Makefile" ;;
2798     "bacula-web/version.tex") CONFIG_FILES="$CONFIG_FILES bacula-web/version.tex" ;;
2799     "$PFILES") CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
2800     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
2801
2802   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2803 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2804    { (exit 1); exit 1; }; };;
2805   esac
2806 done
2807
2808
2809 # If the user did not use the arguments to specify the items to instantiate,
2810 # then the envvar interface is used.  Set only those that are not.
2811 # We use the long form for the default assignment because of an extremely
2812 # bizarre bug on SunOS 4.1.3.
2813 if $ac_need_defaults; then
2814   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2815   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2816 fi
2817
2818 # Have a temporary directory for convenience.  Make it in the build tree
2819 # simply because there is no reason against having it here, and in addition,
2820 # creating and moving files from /tmp can sometimes cause problems.
2821 # Hook for its removal unless debugging.
2822 # Note that there is a small window in which the directory will not be cleaned:
2823 # after its creation but before its name has been assigned to `$tmp'.
2824 $debug ||
2825 {
2826   tmp=
2827   trap 'exit_status=$?
2828   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2829 ' 0
2830   trap '{ (exit 1); exit 1; }' 1 2 13 15
2831 }
2832 # Create a (secure) tmp directory for tmp files.
2833
2834 {
2835   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2836   test -n "$tmp" && test -d "$tmp"
2837 }  ||
2838 {
2839   tmp=./conf$$-$RANDOM
2840   (umask 077 && mkdir "$tmp")
2841 } ||
2842 {
2843    echo "$me: cannot create a temporary directory in ." >&2
2844    { (exit 1); exit 1; }
2845 }
2846
2847 #
2848 # Set up the sed scripts for CONFIG_FILES section.
2849 #
2850
2851 # No need to generate the scripts if there are no CONFIG_FILES.
2852 # This happens for instance when ./config.status config.h
2853 if test -n "$CONFIG_FILES"; then
2854
2855 _ACEOF
2856
2857 # Create sed commands to just substitute file output variables.
2858
2859 # Remaining file output variables are in a fragment that also has non-file
2860 # output varibles.
2861
2862
2863
2864 ac_delim='%!_!# '
2865 for ac_last_try in false false false false false :; do
2866   cat >conf$$subs.sed <<_ACEOF
2867 SHELL!$SHELL$ac_delim
2868 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2869 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2870 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2871 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2872 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2873 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2874 exec_prefix!$exec_prefix$ac_delim
2875 prefix!$prefix$ac_delim
2876 program_transform_name!$program_transform_name$ac_delim
2877 bindir!$bindir$ac_delim
2878 sbindir!$sbindir$ac_delim
2879 libexecdir!$libexecdir$ac_delim
2880 datarootdir!$datarootdir$ac_delim
2881 datadir!$datadir$ac_delim
2882 sysconfdir!$sysconfdir$ac_delim
2883 sharedstatedir!$sharedstatedir$ac_delim
2884 localstatedir!$localstatedir$ac_delim
2885 includedir!$includedir$ac_delim
2886 oldincludedir!$oldincludedir$ac_delim
2887 docdir!$docdir$ac_delim
2888 infodir!$infodir$ac_delim
2889 htmldir!$htmldir$ac_delim
2890 dvidir!$dvidir$ac_delim
2891 pdfdir!$pdfdir$ac_delim
2892 psdir!$psdir$ac_delim
2893 libdir!$libdir$ac_delim
2894 localedir!$localedir$ac_delim
2895 mandir!$mandir$ac_delim
2896 DEFS!$DEFS$ac_delim
2897 ECHO_C!$ECHO_C$ac_delim
2898 ECHO_N!$ECHO_N$ac_delim
2899 ECHO_T!$ECHO_T$ac_delim
2900 LIBS!$LIBS$ac_delim
2901 build_alias!$build_alias$ac_delim
2902 host_alias!$host_alias$ac_delim
2903 target_alias!$target_alias$ac_delim
2904 BUILD_DIR!$BUILD_DIR$ac_delim
2905 bacula!$bacula$ac_delim
2906 VERSION!$VERSION$ac_delim
2907 DATE!$DATE$ac_delim
2908 TRUEPRG!$TRUEPRG$ac_delim
2909 FALSEPRG!$FALSEPRG$ac_delim
2910 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2911 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2912 INSTALL_DATA!$INSTALL_DATA$ac_delim
2913 MV!$MV$ac_delim
2914 RM!$RM$ac_delim
2915 CP!$CP$ac_delim
2916 ECHO!$ECHO$ac_delim
2917 AR!$AR$ac_delim
2918 AWK!$AWK$ac_delim
2919 LIBOBJS!$LIBOBJS$ac_delim
2920 LTLIBOBJS!$LTLIBOBJS$ac_delim
2921 _ACEOF
2922
2923   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
2924     break
2925   elif $ac_last_try; then
2926     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2927 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2928    { (exit 1); exit 1; }; }
2929   else
2930     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2931   fi
2932 done
2933
2934 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2935 if test -n "$ac_eof"; then
2936   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2937   ac_eof=`expr $ac_eof + 1`
2938 fi
2939
2940 cat >>$CONFIG_STATUS <<_ACEOF
2941 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2943 /^[      ]*@MCOMMON@[    ]*$/{
2944 r $MCOMMON
2945 d
2946 }
2947 _ACEOF
2948 sed '
2949 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2950 s/^/s,@/; s/!/@,|#_!!_#|/
2951 :n
2952 t n
2953 s/'"$ac_delim"'$/,g/; t
2954 s/$/\\/; p
2955 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2956 ' >>$CONFIG_STATUS <conf$$subs.sed
2957 rm -f conf$$subs.sed
2958 cat >>$CONFIG_STATUS <<_ACEOF
2959 :end
2960 s/|#_!!_#|//g
2961 CEOF$ac_eof
2962 _ACEOF
2963
2964
2965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2967 # trailing colons and then remove the whole line if VPATH becomes empty
2968 # (actually we leave an empty line to preserve line numbers).
2969 if test "x$srcdir" = x.; then
2970   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2971 s/:*\$(srcdir):*/:/
2972 s/:*\${srcdir}:*/:/
2973 s/:*@srcdir@:*/:/
2974 s/^\([^=]*=[     ]*\):*/\1/
2975 s/:*$//
2976 s/^[^=]*=[       ]*$//
2977 }'
2978 fi
2979
2980 cat >>$CONFIG_STATUS <<\_ACEOF
2981 fi # test -n "$CONFIG_FILES"
2982
2983
2984 for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
2985 do
2986   case $ac_tag in
2987   :[FHLC]) ac_mode=$ac_tag; continue;;
2988   esac
2989   case $ac_mode$ac_tag in
2990   :[FHL]*:*);;
2991   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2992 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2993    { (exit 1); exit 1; }; };;
2994   :[FH]-) ac_tag=-:-;;
2995   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2996   esac
2997   ac_save_IFS=$IFS
2998   IFS=:
2999   set x $ac_tag
3000   IFS=$ac_save_IFS
3001   shift
3002   ac_file=$1
3003   shift
3004
3005   case $ac_mode in
3006   :L) ac_source=$1;;
3007   :[FH])
3008     ac_file_inputs=
3009     for ac_f
3010     do
3011       case $ac_f in
3012       -) ac_f="$tmp/stdin";;
3013       *) # Look for the file first in the build tree, then in the source tree
3014          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3015          # because $ac_f cannot contain `:'.
3016          test -f "$ac_f" ||
3017            case $ac_f in
3018            [\\/$]*) false;;
3019            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3020            esac ||
3021            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3022 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3023    { (exit 1); exit 1; }; };;
3024       esac
3025       ac_file_inputs="$ac_file_inputs $ac_f"
3026     done
3027
3028     # Let's still pretend it is `configure' which instantiates (i.e., don't
3029     # use $as_me), people would be surprised to read:
3030     #    /* config.h.  Generated by config.status.  */
3031     configure_input="Generated from "`IFS=:
3032           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3033     if test x"$ac_file" != x-; then
3034       configure_input="$ac_file.  $configure_input"
3035       { echo "$as_me:$LINENO: creating $ac_file" >&5
3036 echo "$as_me: creating $ac_file" >&6;}
3037     fi
3038
3039     case $ac_tag in
3040     *:-:* | *:-) cat >"$tmp/stdin";;
3041     esac
3042     ;;
3043   esac
3044
3045   ac_dir=`$as_dirname -- "$ac_file" ||
3046 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3047          X"$ac_file" : 'X\(//\)[^/]' \| \
3048          X"$ac_file" : 'X\(//\)$' \| \
3049          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3050 echo X"$ac_file" |
3051     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3052             s//\1/
3053             q
3054           }
3055           /^X\(\/\/\)[^/].*/{
3056             s//\1/
3057             q
3058           }
3059           /^X\(\/\/\)$/{
3060             s//\1/
3061             q
3062           }
3063           /^X\(\/\).*/{
3064             s//\1/
3065             q
3066           }
3067           s/.*/./; q'`
3068   { as_dir="$ac_dir"
3069   case $as_dir in #(
3070   -*) as_dir=./$as_dir;;
3071   esac
3072   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3073     as_dirs=
3074     while :; do
3075       case $as_dir in #(
3076       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3077       *) as_qdir=$as_dir;;
3078       esac
3079       as_dirs="'$as_qdir' $as_dirs"
3080       as_dir=`$as_dirname -- "$as_dir" ||
3081 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3082          X"$as_dir" : 'X\(//\)[^/]' \| \
3083          X"$as_dir" : 'X\(//\)$' \| \
3084          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3085 echo X"$as_dir" |
3086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3087             s//\1/
3088             q
3089           }
3090           /^X\(\/\/\)[^/].*/{
3091             s//\1/
3092             q
3093           }
3094           /^X\(\/\/\)$/{
3095             s//\1/
3096             q
3097           }
3098           /^X\(\/\).*/{
3099             s//\1/
3100             q
3101           }
3102           s/.*/./; q'`
3103       test -d "$as_dir" && break
3104     done
3105     test -z "$as_dirs" || eval "mkdir $as_dirs"
3106   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3107 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3108    { (exit 1); exit 1; }; }; }
3109   ac_builddir=.
3110
3111 case "$ac_dir" in
3112 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3113 *)
3114   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3115   # A ".." for each directory in $ac_dir_suffix.
3116   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3117   case $ac_top_builddir_sub in
3118   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3119   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3120   esac ;;
3121 esac
3122 ac_abs_top_builddir=$ac_pwd
3123 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3124 # for backward compatibility:
3125 ac_top_builddir=$ac_top_build_prefix
3126
3127 case $srcdir in
3128   .)  # We are building in place.
3129     ac_srcdir=.
3130     ac_top_srcdir=$ac_top_builddir_sub
3131     ac_abs_top_srcdir=$ac_pwd ;;
3132   [\\/]* | ?:[\\/]* )  # Absolute name.
3133     ac_srcdir=$srcdir$ac_dir_suffix;
3134     ac_top_srcdir=$srcdir
3135     ac_abs_top_srcdir=$srcdir ;;
3136   *) # Relative name.
3137     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3138     ac_top_srcdir=$ac_top_build_prefix$srcdir
3139     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3140 esac
3141 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3142
3143
3144   case $ac_mode in
3145   :F)
3146   #
3147   # CONFIG_FILE
3148   #
3149
3150   case $INSTALL in
3151   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3152   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3153   esac
3154 _ACEOF
3155
3156 cat >>$CONFIG_STATUS <<\_ACEOF
3157 # If the template does not know about datarootdir, expand it.
3158 # FIXME: This hack should be removed a few years after 2.60.
3159 ac_datarootdir_hack=; ac_datarootdir_seen=
3160
3161 case `sed -n '/datarootdir/ {
3162   p
3163   q
3164 }
3165 /@datadir@/p
3166 /@docdir@/p
3167 /@infodir@/p
3168 /@localedir@/p
3169 /@mandir@/p
3170 ' $ac_file_inputs` in
3171 *datarootdir*) ac_datarootdir_seen=yes;;
3172 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3173   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3174 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3175 _ACEOF
3176 cat >>$CONFIG_STATUS <<_ACEOF
3177   ac_datarootdir_hack='
3178   s&@datadir@&$datadir&g
3179   s&@docdir@&$docdir&g
3180   s&@infodir@&$infodir&g
3181   s&@localedir@&$localedir&g
3182   s&@mandir@&$mandir&g
3183     s&\\\${datarootdir}&$datarootdir&g' ;;
3184 esac
3185 _ACEOF
3186
3187 # Neutralize VPATH when `$srcdir' = `.'.
3188 # Shell code in configure.ac might set extrasub.
3189 # FIXME: do we really want to maintain this feature?
3190 cat >>$CONFIG_STATUS <<_ACEOF
3191   sed "$ac_vpsub
3192 $extrasub
3193 _ACEOF
3194 cat >>$CONFIG_STATUS <<\_ACEOF
3195 :t
3196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3197 s&@configure_input@&$configure_input&;t t
3198 s&@top_builddir@&$ac_top_builddir_sub&;t t
3199 s&@srcdir@&$ac_srcdir&;t t
3200 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3201 s&@top_srcdir@&$ac_top_srcdir&;t t
3202 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3203 s&@builddir@&$ac_builddir&;t t
3204 s&@abs_builddir@&$ac_abs_builddir&;t t
3205 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3206 s&@INSTALL@&$ac_INSTALL&;t t
3207 $ac_datarootdir_hack
3208 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3209
3210 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3211   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3212   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3213   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3214 which seems to be undefined.  Please make sure it is defined." >&5
3215 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3216 which seems to be undefined.  Please make sure it is defined." >&2;}
3217
3218   rm -f "$tmp/stdin"
3219   case $ac_file in
3220   -) cat "$tmp/out"; rm -f "$tmp/out";;
3221   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3222   esac
3223  ;;
3224
3225
3226   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3227 echo "$as_me: executing $ac_file commands" >&6;}
3228  ;;
3229   esac
3230
3231
3232   case $ac_file$ac_mode in
3233     "default":C)
3234  ;;
3235
3236   esac
3237 done # for ac_tag
3238
3239
3240 { (exit 0); exit 0; }
3241 _ACEOF
3242 chmod +x $CONFIG_STATUS
3243 ac_clean_files=$ac_clean_files_save
3244
3245
3246 # configure is writing to config.log, and then calls config.status.
3247 # config.status does its own redirection, appending to config.log.
3248 # Unfortunately, on DOS this fails, as config.log is still kept open
3249 # by configure, so config.status won't be able to write to it; its
3250 # output is simply discarded.  So we exec the FD to /dev/null,
3251 # effectively closing config.log, so it can be properly (re)opened and
3252 # appended to by config.status.  When coming back to configure, we
3253 # need to make the FD available again.
3254 if test "$no_create" != yes; then
3255   ac_cs_success=:
3256   ac_config_status_args=
3257   test "$silent" = yes &&
3258     ac_config_status_args="$ac_config_status_args --quiet"
3259   exec 5>/dev/null
3260   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3261   exec 5>>config.log
3262   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3263   # would make configure fail if this is the last instruction.
3264   $ac_cs_success || { (exit 1); exit 1; }
3265 fi
3266
3267
3268 chmod 766 manuals/update_version
3269
3270 # Now move common files into each subdirectory
3271 for i in manuals/version.tex manuals/bacula.sty ; do
3272   for j in console developers main misc problems utility ; do
3273       cp -f $i manuals/de/$j/
3274       cp -f $i manuals/en/$j/
3275       cp -f $i manuals/es/$j/
3276       cp -f $i manuals/fr/$j/
3277   done
3278 done
3279
3280 echo "
3281 Configuration on `date`:
3282
3283   Bacula version:             ${VERSION} (${DATE})
3284   Bacula source code:         ${bacula}
3285
3286   " > config.out
3287
3288 cat config.out