]> git.sur5r.net Git - bacula/docs/blob - docs/configure
Tweak bacula.org html meta data
[bacula/docs] / docs / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         # Preserve -v and -x to the replacement shell.
218         BASH_ENV=/dev/null
219         ENV=/dev/null
220         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221         export CONFIG_SHELL
222         case $- in # ((((
223           *v*x* | *x*v* ) as_opts=-vx ;;
224           *v* ) as_opts=-v ;;
225           *x* ) as_opts=-x ;;
226           * ) as_opts= ;;
227         esac
228         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
229 fi
230
231     if test x$as_have_required = xno; then :
232   $as_echo "$0: This script requires a shell more modern than all"
233   $as_echo "$0: the shells that I found on your system."
234   if test x${ZSH_VERSION+set} = xset ; then
235     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237   else
238     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
242   fi
243   exit 1
244 fi
245 fi
246 fi
247 SHELL=${CONFIG_SHELL-/bin/sh}
248 export SHELL
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE= GREP_OPTIONS=
251 unset CLICOLOR_FORCE GREP_OPTIONS
252
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
256 # as_fn_unset VAR
257 # ---------------
258 # Portably unset VAR.
259 as_fn_unset ()
260 {
261   { eval $1=; unset $1;}
262 }
263 as_unset=as_fn_unset
264
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
268 as_fn_set_status ()
269 {
270   return $1
271 } # as_fn_set_status
272
273 # as_fn_exit STATUS
274 # -----------------
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 as_fn_exit ()
277 {
278   set +e
279   as_fn_set_status $1
280   exit $1
281 } # as_fn_exit
282
283 # as_fn_mkdir_p
284 # -------------
285 # Create "$as_dir" as a directory, including parents if necessary.
286 as_fn_mkdir_p ()
287 {
288
289   case $as_dir in #(
290   -*) as_dir=./$as_dir;;
291   esac
292   test -d "$as_dir" || eval $as_mkdir_p || {
293     as_dirs=
294     while :; do
295       case $as_dir in #(
296       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297       *) as_qdir=$as_dir;;
298       esac
299       as_dirs="'$as_qdir' $as_dirs"
300       as_dir=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302          X"$as_dir" : 'X\(//\)[^/]' \| \
303          X"$as_dir" : 'X\(//\)$' \| \
304          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)[^/].*/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)$/{
315             s//\1/
316             q
317           }
318           /^X\(\/\).*/{
319             s//\1/
320             q
321           }
322           s/.*/./; q'`
323       test -d "$as_dir" && break
324     done
325     test -z "$as_dirs" || eval "mkdir $as_dirs"
326   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327
328
329 } # as_fn_mkdir_p
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
335 # implementations.
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337   eval 'as_fn_append ()
338   {
339     eval $1+=\$2
340   }'
341 else
342   as_fn_append ()
343   {
344     eval $1=\$$1\$2
345   }
346 fi # as_fn_append
347
348 # as_fn_arith ARG...
349 # ------------------
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354   eval 'as_fn_arith ()
355   {
356     as_val=$(( $* ))
357   }'
358 else
359   as_fn_arith ()
360   {
361     as_val=`expr "$@" || test $? -eq 1`
362   }
363 fi # as_fn_arith
364
365
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
371 as_fn_error ()
372 {
373   as_status=$1; test $as_status -eq 0 && as_status=1
374   if test "$4"; then
375     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
377   fi
378   $as_echo "$as_me: error: $2" >&2
379   as_fn_exit $as_status
380 } # as_fn_error
381
382 if expr a : '\(a\)' >/dev/null 2>&1 &&
383    test "X`expr 00001 : '.*\(...\)'`" = X001; then
384   as_expr=expr
385 else
386   as_expr=false
387 fi
388
389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390   as_basename=basename
391 else
392   as_basename=false
393 fi
394
395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396   as_dirname=dirname
397 else
398   as_dirname=false
399 fi
400
401 as_me=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403          X"$0" : 'X\(//\)$' \| \
404          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 $as_echo X/"$0" |
406     sed '/^.*\/\([^/][^/]*\)\/*$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\/\)$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\).*/{
415             s//\1/
416             q
417           }
418           s/.*/./; q'`
419
420 # Avoid depending upon Character Ranges.
421 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits='0123456789'
425 as_cr_alnum=$as_cr_Letters$as_cr_digits
426
427
428   as_lineno_1=$LINENO as_lineno_1a=$LINENO
429   as_lineno_2=$LINENO as_lineno_2a=$LINENO
430   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
433   sed -n '
434     p
435     /[$]LINENO/=
436   ' <$as_myself |
437     sed '
438       s/[$]LINENO.*/&-/
439       t lineno
440       b
441       :lineno
442       N
443       :loop
444       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445       t loop
446       s/-\n.*//
447     ' >$as_me.lineno &&
448   chmod +x "$as_me.lineno" ||
449     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450
451   # Don't try to exec as it changes $[0], causing all sort of problems
452   # (the dirname of $[0] is not the place where we might find the
453   # original and so on.  Autoconf is especially sensitive to this).
454   . "./$as_me.lineno"
455   # Exit status is that of the last command.
456   exit
457 }
458
459 ECHO_C= ECHO_N= ECHO_T=
460 case `echo -n x` in #(((((
461 -n*)
462   case `echo 'xy\c'` in
463   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
464   xy)  ECHO_C='\c';;
465   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
466        ECHO_T=' ';;
467   esac;;
468 *)
469   ECHO_N='-n';;
470 esac
471
472 rm -f conf$$ conf$$.exe conf$$.file
473 if test -d conf$$.dir; then
474   rm -f conf$$.dir/conf$$.file
475 else
476   rm -f conf$$.dir
477   mkdir conf$$.dir 2>/dev/null
478 fi
479 if (echo >conf$$.file) 2>/dev/null; then
480   if ln -s conf$$.file conf$$ 2>/dev/null; then
481     as_ln_s='ln -s'
482     # ... but there are two gotchas:
483     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485     # In both cases, we have to default to `cp -p'.
486     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487       as_ln_s='cp -p'
488   elif ln conf$$.file conf$$ 2>/dev/null; then
489     as_ln_s=ln
490   else
491     as_ln_s='cp -p'
492   fi
493 else
494   as_ln_s='cp -p'
495 fi
496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 rmdir conf$$.dir 2>/dev/null
498
499 if mkdir -p . 2>/dev/null; then
500   as_mkdir_p='mkdir -p "$as_dir"'
501 else
502   test -d ./-p && rmdir ./-p
503   as_mkdir_p=false
504 fi
505
506 if test -x / >/dev/null 2>&1; then
507   as_test_x='test -x'
508 else
509   if ls -dL / >/dev/null 2>&1; then
510     as_ls_L_option=L
511   else
512     as_ls_L_option=
513   fi
514   as_test_x='
515     eval sh -c '\''
516       if test -d "$1"; then
517         test -d "$1/.";
518       else
519         case $1 in #(
520         -*)set "./$1";;
521         esac;
522         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523         ???[sx]*):;;*)false;;esac;fi
524     '\'' sh
525   '
526 fi
527 as_executable_p=$as_test_x
528
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536 test -n "$DJDIR" || exec 7<&0 </dev/null
537 exec 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME=
558 PACKAGE_TARNAME=
559 PACKAGE_VERSION=
560 PACKAGE_STRING=
561 PACKAGE_BUGREPORT=
562 PACKAGE_URL=
563
564 ac_unique_file="autoconf/configure.in"
565 ac_subst_vars='LTLIBOBJS
566 LIBOBJS
567 AWK
568 AR
569 ECHO
570 CP
571 RM
572 MV
573 INSTALL_DATA
574 INSTALL_SCRIPT
575 INSTALL_PROGRAM
576 FALSEPRG
577 TRUEPRG
578 DATE
579 VERSION
580 bacula
581 BUILD_DIR
582 target_alias
583 host_alias
584 build_alias
585 LIBS
586 ECHO_T
587 ECHO_N
588 ECHO_C
589 DEFS
590 mandir
591 localedir
592 libdir
593 psdir
594 pdfdir
595 dvidir
596 htmldir
597 infodir
598 docdir
599 oldincludedir
600 includedir
601 localstatedir
602 sharedstatedir
603 sysconfdir
604 datadir
605 datarootdir
606 libexecdir
607 sbindir
608 bindir
609 program_transform_name
610 prefix
611 exec_prefix
612 PACKAGE_URL
613 PACKAGE_BUGREPORT
614 PACKAGE_STRING
615 PACKAGE_VERSION
616 PACKAGE_TARNAME
617 PACKAGE_NAME
618 PATH_SEPARATOR
619 SHELL'
620 ac_subst_files='MCOMMON'
621 ac_user_opts='
622 enable_option_checking
623 with_bacula
624 '
625       ac_precious_vars='build_alias
626 host_alias
627 target_alias'
628
629
630 # Initialize some variables set by options.
631 ac_init_help=
632 ac_init_version=false
633 ac_unrecognized_opts=
634 ac_unrecognized_sep=
635 # The variables have the same names as the options, with
636 # dashes changed to underlines.
637 cache_file=/dev/null
638 exec_prefix=NONE
639 no_create=
640 no_recursion=
641 prefix=NONE
642 program_prefix=NONE
643 program_suffix=NONE
644 program_transform_name=s,x,x,
645 silent=
646 site=
647 srcdir=
648 verbose=
649 x_includes=NONE
650 x_libraries=NONE
651
652 # Installation directory options.
653 # These are left unexpanded so users can "make install exec_prefix=/foo"
654 # and all the variables that are supposed to be based on exec_prefix
655 # by default will actually change.
656 # Use braces instead of parens because sh, perl, etc. also accept them.
657 # (The list follows the same order as the GNU Coding Standards.)
658 bindir='${exec_prefix}/bin'
659 sbindir='${exec_prefix}/sbin'
660 libexecdir='${exec_prefix}/libexec'
661 datarootdir='${prefix}/share'
662 datadir='${datarootdir}'
663 sysconfdir='${prefix}/etc'
664 sharedstatedir='${prefix}/com'
665 localstatedir='${prefix}/var'
666 includedir='${prefix}/include'
667 oldincludedir='/usr/include'
668 docdir='${datarootdir}/doc/${PACKAGE}'
669 infodir='${datarootdir}/info'
670 htmldir='${docdir}'
671 dvidir='${docdir}'
672 pdfdir='${docdir}'
673 psdir='${docdir}'
674 libdir='${exec_prefix}/lib'
675 localedir='${datarootdir}/locale'
676 mandir='${datarootdir}/man'
677
678 ac_prev=
679 ac_dashdash=
680 for ac_option
681 do
682   # If the previous option needs an argument, assign it.
683   if test -n "$ac_prev"; then
684     eval $ac_prev=\$ac_option
685     ac_prev=
686     continue
687   fi
688
689   case $ac_option in
690   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
691   *=)   ac_optarg= ;;
692   *)    ac_optarg=yes ;;
693   esac
694
695   # Accept the important Cygnus configure options, so we can diagnose typos.
696
697   case $ac_dashdash$ac_option in
698   --)
699     ac_dashdash=yes ;;
700
701   -bindir | --bindir | --bindi | --bind | --bin | --bi)
702     ac_prev=bindir ;;
703   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
704     bindir=$ac_optarg ;;
705
706   -build | --build | --buil | --bui | --bu)
707     ac_prev=build_alias ;;
708   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
709     build_alias=$ac_optarg ;;
710
711   -cache-file | --cache-file | --cache-fil | --cache-fi \
712   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
713     ac_prev=cache_file ;;
714   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
715   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
716     cache_file=$ac_optarg ;;
717
718   --config-cache | -C)
719     cache_file=config.cache ;;
720
721   -datadir | --datadir | --datadi | --datad)
722     ac_prev=datadir ;;
723   -datadir=* | --datadir=* | --datadi=* | --datad=*)
724     datadir=$ac_optarg ;;
725
726   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
727   | --dataroo | --dataro | --datar)
728     ac_prev=datarootdir ;;
729   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
730   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
731     datarootdir=$ac_optarg ;;
732
733   -disable-* | --disable-*)
734     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
735     # Reject names that are not valid shell variable names.
736     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
737       as_fn_error $? "invalid feature name: $ac_useropt"
738     ac_useropt_orig=$ac_useropt
739     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
740     case $ac_user_opts in
741       *"
742 "enable_$ac_useropt"
743 "*) ;;
744       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
745          ac_unrecognized_sep=', ';;
746     esac
747     eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
761     # Reject names that are not valid shell variable names.
762     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763       as_fn_error $? "invalid feature name: $ac_useropt"
764     ac_useropt_orig=$ac_useropt
765     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766     case $ac_user_opts in
767       *"
768 "enable_$ac_useropt"
769 "*) ;;
770       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
771          ac_unrecognized_sep=', ';;
772     esac
773     eval enable_$ac_useropt=\$ac_optarg ;;
774
775   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
776   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
777   | --exec | --exe | --ex)
778     ac_prev=exec_prefix ;;
779   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
780   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
781   | --exec=* | --exe=* | --ex=*)
782     exec_prefix=$ac_optarg ;;
783
784   -gas | --gas | --ga | --g)
785     # Obsolete; use --with-gas.
786     with_gas=yes ;;
787
788   -help | --help | --hel | --he | -h)
789     ac_init_help=long ;;
790   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
791     ac_init_help=recursive ;;
792   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
793     ac_init_help=short ;;
794
795   -host | --host | --hos | --ho)
796     ac_prev=host_alias ;;
797   -host=* | --host=* | --hos=* | --ho=*)
798     host_alias=$ac_optarg ;;
799
800   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
801     ac_prev=htmldir ;;
802   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
803   | --ht=*)
804     htmldir=$ac_optarg ;;
805
806   -includedir | --includedir | --includedi | --included | --include \
807   | --includ | --inclu | --incl | --inc)
808     ac_prev=includedir ;;
809   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
810   | --includ=* | --inclu=* | --incl=* | --inc=*)
811     includedir=$ac_optarg ;;
812
813   -infodir | --infodir | --infodi | --infod | --info | --inf)
814     ac_prev=infodir ;;
815   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
816     infodir=$ac_optarg ;;
817
818   -libdir | --libdir | --libdi | --libd)
819     ac_prev=libdir ;;
820   -libdir=* | --libdir=* | --libdi=* | --libd=*)
821     libdir=$ac_optarg ;;
822
823   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
824   | --libexe | --libex | --libe)
825     ac_prev=libexecdir ;;
826   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
827   | --libexe=* | --libex=* | --libe=*)
828     libexecdir=$ac_optarg ;;
829
830   -localedir | --localedir | --localedi | --localed | --locale)
831     ac_prev=localedir ;;
832   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
833     localedir=$ac_optarg ;;
834
835   -localstatedir | --localstatedir | --localstatedi | --localstated \
836   | --localstate | --localstat | --localsta | --localst | --locals)
837     ac_prev=localstatedir ;;
838   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
839   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
840     localstatedir=$ac_optarg ;;
841
842   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
843     ac_prev=mandir ;;
844   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
845     mandir=$ac_optarg ;;
846
847   -nfp | --nfp | --nf)
848     # Obsolete; use --without-fp.
849     with_fp=no ;;
850
851   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852   | --no-cr | --no-c | -n)
853     no_create=yes ;;
854
855   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
856   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
857     no_recursion=yes ;;
858
859   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
860   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
861   | --oldin | --oldi | --old | --ol | --o)
862     ac_prev=oldincludedir ;;
863   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
864   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
865   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
866     oldincludedir=$ac_optarg ;;
867
868   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
869     ac_prev=prefix ;;
870   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
871     prefix=$ac_optarg ;;
872
873   -program-prefix | --program-prefix | --program-prefi | --program-pref \
874   | --program-pre | --program-pr | --program-p)
875     ac_prev=program_prefix ;;
876   -program-prefix=* | --program-prefix=* | --program-prefi=* \
877   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
878     program_prefix=$ac_optarg ;;
879
880   -program-suffix | --program-suffix | --program-suffi | --program-suff \
881   | --program-suf | --program-su | --program-s)
882     ac_prev=program_suffix ;;
883   -program-suffix=* | --program-suffix=* | --program-suffi=* \
884   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
885     program_suffix=$ac_optarg ;;
886
887   -program-transform-name | --program-transform-name \
888   | --program-transform-nam | --program-transform-na \
889   | --program-transform-n | --program-transform- \
890   | --program-transform | --program-transfor \
891   | --program-transfo | --program-transf \
892   | --program-trans | --program-tran \
893   | --progr-tra | --program-tr | --program-t)
894     ac_prev=program_transform_name ;;
895   -program-transform-name=* | --program-transform-name=* \
896   | --program-transform-nam=* | --program-transform-na=* \
897   | --program-transform-n=* | --program-transform-=* \
898   | --program-transform=* | --program-transfor=* \
899   | --program-transfo=* | --program-transf=* \
900   | --program-trans=* | --program-tran=* \
901   | --progr-tra=* | --program-tr=* | --program-t=*)
902     program_transform_name=$ac_optarg ;;
903
904   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
905     ac_prev=pdfdir ;;
906   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
907     pdfdir=$ac_optarg ;;
908
909   -psdir | --psdir | --psdi | --psd | --ps)
910     ac_prev=psdir ;;
911   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
912     psdir=$ac_optarg ;;
913
914   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
915   | -silent | --silent | --silen | --sile | --sil)
916     silent=yes ;;
917
918   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
919     ac_prev=sbindir ;;
920   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
921   | --sbi=* | --sb=*)
922     sbindir=$ac_optarg ;;
923
924   -sharedstatedir | --sharedstatedir | --sharedstatedi \
925   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
926   | --sharedst | --shareds | --shared | --share | --shar \
927   | --sha | --sh)
928     ac_prev=sharedstatedir ;;
929   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
930   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
931   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
932   | --sha=* | --sh=*)
933     sharedstatedir=$ac_optarg ;;
934
935   -site | --site | --sit)
936     ac_prev=site ;;
937   -site=* | --site=* | --sit=*)
938     site=$ac_optarg ;;
939
940   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
941     ac_prev=srcdir ;;
942   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
943     srcdir=$ac_optarg ;;
944
945   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
946   | --syscon | --sysco | --sysc | --sys | --sy)
947     ac_prev=sysconfdir ;;
948   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
949   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
950     sysconfdir=$ac_optarg ;;
951
952   -target | --target | --targe | --targ | --tar | --ta | --t)
953     ac_prev=target_alias ;;
954   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
955     target_alias=$ac_optarg ;;
956
957   -v | -verbose | --verbose | --verbos | --verbo | --verb)
958     verbose=yes ;;
959
960   -version | --version | --versio | --versi | --vers | -V)
961     ac_init_version=: ;;
962
963   -with-* | --with-*)
964     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
965     # Reject names that are not valid shell variable names.
966     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967       as_fn_error $? "invalid package name: $ac_useropt"
968     ac_useropt_orig=$ac_useropt
969     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970     case $ac_user_opts in
971       *"
972 "with_$ac_useropt"
973 "*) ;;
974       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
975          ac_unrecognized_sep=', ';;
976     esac
977     eval with_$ac_useropt=\$ac_optarg ;;
978
979   -without-* | --without-*)
980     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
981     # Reject names that are not valid shell variable names.
982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983       as_fn_error $? "invalid package name: $ac_useropt"
984     ac_useropt_orig=$ac_useropt
985     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986     case $ac_user_opts in
987       *"
988 "with_$ac_useropt"
989 "*) ;;
990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
991          ac_unrecognized_sep=', ';;
992     esac
993     eval with_$ac_useropt=no ;;
994
995   --x)
996     # Obsolete; use --with-x.
997     with_x=yes ;;
998
999   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1000   | --x-incl | --x-inc | --x-in | --x-i)
1001     ac_prev=x_includes ;;
1002   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1003   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1004     x_includes=$ac_optarg ;;
1005
1006   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1007   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1008     ac_prev=x_libraries ;;
1009   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1010   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1011     x_libraries=$ac_optarg ;;
1012
1013   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1014 Try \`$0 --help' for more information"
1015     ;;
1016
1017   *=*)
1018     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1019     # Reject names that are not valid shell variable names.
1020     case $ac_envvar in #(
1021       '' | [0-9]* | *[!_$as_cr_alnum]* )
1022       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1023     esac
1024     eval $ac_envvar=\$ac_optarg
1025     export $ac_envvar ;;
1026
1027   *)
1028     # FIXME: should be removed in autoconf 3.0.
1029     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1030     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1032     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1033     ;;
1034
1035   esac
1036 done
1037
1038 if test -n "$ac_prev"; then
1039   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1040   as_fn_error $? "missing argument to $ac_option"
1041 fi
1042
1043 if test -n "$ac_unrecognized_opts"; then
1044   case $enable_option_checking in
1045     no) ;;
1046     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1047     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1048   esac
1049 fi
1050
1051 # Check all directory arguments for consistency.
1052 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1053                 datadir sysconfdir sharedstatedir localstatedir includedir \
1054                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1055                 libdir localedir mandir
1056 do
1057   eval ac_val=\$$ac_var
1058   # Remove trailing slashes.
1059   case $ac_val in
1060     */ )
1061       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1062       eval $ac_var=\$ac_val;;
1063   esac
1064   # Be sure to have absolute directory names.
1065   case $ac_val in
1066     [\\/$]* | ?:[\\/]* )  continue;;
1067     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1068   esac
1069   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1070 done
1071
1072 # There might be people who depend on the old broken behavior: `$host'
1073 # used to hold the argument of --host etc.
1074 # FIXME: To remove some day.
1075 build=$build_alias
1076 host=$host_alias
1077 target=$target_alias
1078
1079 # FIXME: To remove some day.
1080 if test "x$host_alias" != x; then
1081   if test "x$build_alias" = x; then
1082     cross_compiling=maybe
1083     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1084     If a cross compiler is detected then cross compile mode will be used" >&2
1085   elif test "x$build_alias" != "x$host_alias"; then
1086     cross_compiling=yes
1087   fi
1088 fi
1089
1090 ac_tool_prefix=
1091 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1092
1093 test "$silent" = yes && exec 6>/dev/null
1094
1095
1096 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1097 ac_ls_di=`ls -di .` &&
1098 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1099   as_fn_error $? "working directory cannot be determined"
1100 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1101   as_fn_error $? "pwd does not report name of working directory"
1102
1103
1104 # Find the source files, if location was not specified.
1105 if test -z "$srcdir"; then
1106   ac_srcdir_defaulted=yes
1107   # Try the directory containing this script, then the parent directory.
1108   ac_confdir=`$as_dirname -- "$as_myself" ||
1109 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1110          X"$as_myself" : 'X\(//\)[^/]' \| \
1111          X"$as_myself" : 'X\(//\)$' \| \
1112          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1113 $as_echo X"$as_myself" |
1114     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1115             s//\1/
1116             q
1117           }
1118           /^X\(\/\/\)[^/].*/{
1119             s//\1/
1120             q
1121           }
1122           /^X\(\/\/\)$/{
1123             s//\1/
1124             q
1125           }
1126           /^X\(\/\).*/{
1127             s//\1/
1128             q
1129           }
1130           s/.*/./; q'`
1131   srcdir=$ac_confdir
1132   if test ! -r "$srcdir/$ac_unique_file"; then
1133     srcdir=..
1134   fi
1135 else
1136   ac_srcdir_defaulted=no
1137 fi
1138 if test ! -r "$srcdir/$ac_unique_file"; then
1139   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1140   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1141 fi
1142 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1143 ac_abs_confdir=`(
1144         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1145         pwd)`
1146 # When building in place, set srcdir=.
1147 if test "$ac_abs_confdir" = "$ac_pwd"; then
1148   srcdir=.
1149 fi
1150 # Remove unnecessary trailing slashes from srcdir.
1151 # Double slashes in file names in object file debugging info
1152 # mess up M-x gdb in Emacs.
1153 case $srcdir in
1154 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1155 esac
1156 for ac_var in $ac_precious_vars; do
1157   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1158   eval ac_env_${ac_var}_value=\$${ac_var}
1159   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1160   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1161 done
1162
1163 #
1164 # Report the --help message.
1165 #
1166 if test "$ac_init_help" = "long"; then
1167   # Omit some internal or obsolete options to make the list less imposing.
1168   # This message is too long to be a string in the A/UX 3.1 sh.
1169   cat <<_ACEOF
1170 \`configure' configures this package to adapt to many kinds of systems.
1171
1172 Usage: $0 [OPTION]... [VAR=VALUE]...
1173
1174 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1175 VAR=VALUE.  See below for descriptions of some of the useful variables.
1176
1177 Defaults for the options are specified in brackets.
1178
1179 Configuration:
1180   -h, --help              display this help and exit
1181       --help=short        display options specific to this package
1182       --help=recursive    display the short help of all the included packages
1183   -V, --version           display version information and exit
1184   -q, --quiet, --silent   do not print \`checking ...' messages
1185       --cache-file=FILE   cache test results in FILE [disabled]
1186   -C, --config-cache      alias for \`--cache-file=config.cache'
1187   -n, --no-create         do not create output files
1188       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1189
1190 Installation directories:
1191   --prefix=PREFIX         install architecture-independent files in PREFIX
1192                           [$ac_default_prefix]
1193   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1194                           [PREFIX]
1195
1196 By default, \`make install' will install all the files in
1197 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1198 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1199 for instance \`--prefix=\$HOME'.
1200
1201 For better control, use the options below.
1202
1203 Fine tuning of the installation directories:
1204   --bindir=DIR            user executables [EPREFIX/bin]
1205   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1206   --libexecdir=DIR        program executables [EPREFIX/libexec]
1207   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1208   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1209   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1210   --libdir=DIR            object code libraries [EPREFIX/lib]
1211   --includedir=DIR        C header files [PREFIX/include]
1212   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1213   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1214   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1215   --infodir=DIR           info documentation [DATAROOTDIR/info]
1216   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1217   --mandir=DIR            man documentation [DATAROOTDIR/man]
1218   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1219   --htmldir=DIR           html documentation [DOCDIR]
1220   --dvidir=DIR            dvi documentation [DOCDIR]
1221   --pdfdir=DIR            pdf documentation [DOCDIR]
1222   --psdir=DIR             ps documentation [DOCDIR]
1223 _ACEOF
1224
1225   cat <<\_ACEOF
1226 _ACEOF
1227 fi
1228
1229 if test -n "$ac_init_help"; then
1230
1231   cat <<\_ACEOF
1232
1233 Optional Packages:
1234   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1235   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1236   --with-bacula=PATH    specify path to Bacula source
1237
1238 Report bugs to the package provider.
1239 _ACEOF
1240 ac_status=$?
1241 fi
1242
1243 if test "$ac_init_help" = "recursive"; then
1244   # If there are subdirs, report their specific --help.
1245   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1246     test -d "$ac_dir" ||
1247       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1248       continue
1249     ac_builddir=.
1250
1251 case "$ac_dir" in
1252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1253 *)
1254   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1255   # A ".." for each directory in $ac_dir_suffix.
1256   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1257   case $ac_top_builddir_sub in
1258   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1259   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1260   esac ;;
1261 esac
1262 ac_abs_top_builddir=$ac_pwd
1263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1264 # for backward compatibility:
1265 ac_top_builddir=$ac_top_build_prefix
1266
1267 case $srcdir in
1268   .)  # We are building in place.
1269     ac_srcdir=.
1270     ac_top_srcdir=$ac_top_builddir_sub
1271     ac_abs_top_srcdir=$ac_pwd ;;
1272   [\\/]* | ?:[\\/]* )  # Absolute name.
1273     ac_srcdir=$srcdir$ac_dir_suffix;
1274     ac_top_srcdir=$srcdir
1275     ac_abs_top_srcdir=$srcdir ;;
1276   *) # Relative name.
1277     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1278     ac_top_srcdir=$ac_top_build_prefix$srcdir
1279     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1280 esac
1281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1282
1283     cd "$ac_dir" || { ac_status=$?; continue; }
1284     # Check for guested configure.
1285     if test -f "$ac_srcdir/configure.gnu"; then
1286       echo &&
1287       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1288     elif test -f "$ac_srcdir/configure"; then
1289       echo &&
1290       $SHELL "$ac_srcdir/configure" --help=recursive
1291     else
1292       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1293     fi || ac_status=$?
1294     cd "$ac_pwd" || { ac_status=$?; break; }
1295   done
1296 fi
1297
1298 test -n "$ac_init_help" && exit $ac_status
1299 if $ac_init_version; then
1300   cat <<\_ACEOF
1301 configure
1302 generated by GNU Autoconf 2.68
1303
1304 Copyright (C) 2010 Free Software Foundation, Inc.
1305 This configure script is free software; the Free Software Foundation
1306 gives unlimited permission to copy, distribute and modify it.
1307 _ACEOF
1308   exit
1309 fi
1310
1311 ## ------------------------ ##
1312 ## Autoconf initialization. ##
1313 ## ------------------------ ##
1314 cat >config.log <<_ACEOF
1315 This file contains any messages produced by compilers while
1316 running configure, to aid debugging if configure makes a mistake.
1317
1318 It was created by $as_me, which was
1319 generated by GNU Autoconf 2.68.  Invocation command line was
1320
1321   $ $0 $@
1322
1323 _ACEOF
1324 exec 5>>config.log
1325 {
1326 cat <<_ASUNAME
1327 ## --------- ##
1328 ## Platform. ##
1329 ## --------- ##
1330
1331 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1332 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1333 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1334 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1335 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1336
1337 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1338 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1339
1340 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1341 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1342 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1343 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1344 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1345 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1346 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1347
1348 _ASUNAME
1349
1350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 for as_dir in $PATH
1352 do
1353   IFS=$as_save_IFS
1354   test -z "$as_dir" && as_dir=.
1355     $as_echo "PATH: $as_dir"
1356   done
1357 IFS=$as_save_IFS
1358
1359 } >&5
1360
1361 cat >&5 <<_ACEOF
1362
1363
1364 ## ----------- ##
1365 ## Core tests. ##
1366 ## ----------- ##
1367
1368 _ACEOF
1369
1370
1371 # Keep a trace of the command line.
1372 # Strip out --no-create and --no-recursion so they do not pile up.
1373 # Strip out --silent because we don't want to record it for future runs.
1374 # Also quote any args containing shell meta-characters.
1375 # Make two passes to allow for proper duplicate-argument suppression.
1376 ac_configure_args=
1377 ac_configure_args0=
1378 ac_configure_args1=
1379 ac_must_keep_next=false
1380 for ac_pass in 1 2
1381 do
1382   for ac_arg
1383   do
1384     case $ac_arg in
1385     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1386     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1387     | -silent | --silent | --silen | --sile | --sil)
1388       continue ;;
1389     *\'*)
1390       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1391     esac
1392     case $ac_pass in
1393     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1394     2)
1395       as_fn_append ac_configure_args1 " '$ac_arg'"
1396       if test $ac_must_keep_next = true; then
1397         ac_must_keep_next=false # Got value, back to normal.
1398       else
1399         case $ac_arg in
1400           *=* | --config-cache | -C | -disable-* | --disable-* \
1401           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1402           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1403           | -with-* | --with-* | -without-* | --without-* | --x)
1404             case "$ac_configure_args0 " in
1405               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1406             esac
1407             ;;
1408           -* ) ac_must_keep_next=true ;;
1409         esac
1410       fi
1411       as_fn_append ac_configure_args " '$ac_arg'"
1412       ;;
1413     esac
1414   done
1415 done
1416 { ac_configure_args0=; unset ac_configure_args0;}
1417 { ac_configure_args1=; unset ac_configure_args1;}
1418
1419 # When interrupted or exit'd, cleanup temporary files, and complete
1420 # config.log.  We remove comments because anyway the quotes in there
1421 # would cause problems or look ugly.
1422 # WARNING: Use '\'' to represent an apostrophe within the trap.
1423 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1424 trap 'exit_status=$?
1425   # Save into config.log some information that might help in debugging.
1426   {
1427     echo
1428
1429     $as_echo "## ---------------- ##
1430 ## Cache variables. ##
1431 ## ---------------- ##"
1432     echo
1433     # The following way of writing the cache mishandles newlines in values,
1434 (
1435   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1436     eval ac_val=\$$ac_var
1437     case $ac_val in #(
1438     *${as_nl}*)
1439       case $ac_var in #(
1440       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1442       esac
1443       case $ac_var in #(
1444       _ | IFS | as_nl) ;; #(
1445       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1446       *) { eval $ac_var=; unset $ac_var;} ;;
1447       esac ;;
1448     esac
1449   done
1450   (set) 2>&1 |
1451     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1452     *${as_nl}ac_space=\ *)
1453       sed -n \
1454         "s/'\''/'\''\\\\'\'''\''/g;
1455           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1456       ;; #(
1457     *)
1458       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1459       ;;
1460     esac |
1461     sort
1462 )
1463     echo
1464
1465     $as_echo "## ----------------- ##
1466 ## Output variables. ##
1467 ## ----------------- ##"
1468     echo
1469     for ac_var in $ac_subst_vars
1470     do
1471       eval ac_val=\$$ac_var
1472       case $ac_val in
1473       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1474       esac
1475       $as_echo "$ac_var='\''$ac_val'\''"
1476     done | sort
1477     echo
1478
1479     if test -n "$ac_subst_files"; then
1480       $as_echo "## ------------------- ##
1481 ## File substitutions. ##
1482 ## ------------------- ##"
1483       echo
1484       for ac_var in $ac_subst_files
1485       do
1486         eval ac_val=\$$ac_var
1487         case $ac_val in
1488         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1489         esac
1490         $as_echo "$ac_var='\''$ac_val'\''"
1491       done | sort
1492       echo
1493     fi
1494
1495     if test -s confdefs.h; then
1496       $as_echo "## ----------- ##
1497 ## confdefs.h. ##
1498 ## ----------- ##"
1499       echo
1500       cat confdefs.h
1501       echo
1502     fi
1503     test "$ac_signal" != 0 &&
1504       $as_echo "$as_me: caught signal $ac_signal"
1505     $as_echo "$as_me: exit $exit_status"
1506   } >&5
1507   rm -f core *.core core.conftest.* &&
1508     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1509     exit $exit_status
1510 ' 0
1511 for ac_signal in 1 2 13 15; do
1512   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1513 done
1514 ac_signal=0
1515
1516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1517 rm -f -r conftest* confdefs.h
1518
1519 $as_echo "/* confdefs.h */" > confdefs.h
1520
1521 # Predefined preprocessor variables.
1522
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_NAME "$PACKAGE_NAME"
1525 _ACEOF
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1529 _ACEOF
1530
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1533 _ACEOF
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_STRING "$PACKAGE_STRING"
1537 _ACEOF
1538
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1541 _ACEOF
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_URL "$PACKAGE_URL"
1545 _ACEOF
1546
1547
1548 # Let the site file select an alternate cache file if it wants to.
1549 # Prefer an explicitly selected file to automatically selected ones.
1550 ac_site_file1=NONE
1551 ac_site_file2=NONE
1552 if test -n "$CONFIG_SITE"; then
1553   # We do not want a PATH search for config.site.
1554   case $CONFIG_SITE in #((
1555     -*)  ac_site_file1=./$CONFIG_SITE;;
1556     */*) ac_site_file1=$CONFIG_SITE;;
1557     *)   ac_site_file1=./$CONFIG_SITE;;
1558   esac
1559 elif test "x$prefix" != xNONE; then
1560   ac_site_file1=$prefix/share/config.site
1561   ac_site_file2=$prefix/etc/config.site
1562 else
1563   ac_site_file1=$ac_default_prefix/share/config.site
1564   ac_site_file2=$ac_default_prefix/etc/config.site
1565 fi
1566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1567 do
1568   test "x$ac_site_file" = xNONE && continue
1569   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1570     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1571 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1572     sed 's/^/| /' "$ac_site_file" >&5
1573     . "$ac_site_file" \
1574       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1576 as_fn_error $? "failed to load site script $ac_site_file
1577 See \`config.log' for more details" "$LINENO" 5; }
1578   fi
1579 done
1580
1581 if test -r "$cache_file"; then
1582   # Some versions of bash will fail to source /dev/null (special files
1583   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1584   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1585     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1586 $as_echo "$as_me: loading cache $cache_file" >&6;}
1587     case $cache_file in
1588       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1589       *)                      . "./$cache_file";;
1590     esac
1591   fi
1592 else
1593   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1594 $as_echo "$as_me: creating cache $cache_file" >&6;}
1595   >$cache_file
1596 fi
1597
1598 # Check that the precious variables saved in the cache have kept the same
1599 # value.
1600 ac_cache_corrupted=false
1601 for ac_var in $ac_precious_vars; do
1602   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1603   eval ac_new_set=\$ac_env_${ac_var}_set
1604   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1605   eval ac_new_val=\$ac_env_${ac_var}_value
1606   case $ac_old_set,$ac_new_set in
1607     set,)
1608       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1609 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1610       ac_cache_corrupted=: ;;
1611     ,set)
1612       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1613 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1614       ac_cache_corrupted=: ;;
1615     ,);;
1616     *)
1617       if test "x$ac_old_val" != "x$ac_new_val"; then
1618         # differences in whitespace do not lead to failure.
1619         ac_old_val_w=`echo x $ac_old_val`
1620         ac_new_val_w=`echo x $ac_new_val`
1621         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1622           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1624           ac_cache_corrupted=:
1625         else
1626           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1628           eval $ac_var=\$ac_old_val
1629         fi
1630         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1631 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1632         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1633 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1634       fi;;
1635   esac
1636   # Pass precious variables to config.status.
1637   if test "$ac_new_set" = set; then
1638     case $ac_new_val in
1639     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1640     *) ac_arg=$ac_var=$ac_new_val ;;
1641     esac
1642     case " $ac_configure_args " in
1643       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1644       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1645     esac
1646   fi
1647 done
1648 if $ac_cache_corrupted; then
1649   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1651   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1654 fi
1655 ## -------------------- ##
1656 ## Main body of script. ##
1657 ## -------------------- ##
1658
1659 ac_ext=c
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664
1665
1666 BUILD_DIR=`pwd`
1667 cd ..
1668 TOP_DIR=`pwd`
1669 cd ${BUILD_DIR}
1670
1671 ac_aux_dir=
1672 for ac_dir in ${BUILD_DIR}/autoconf "$srcdir"/${BUILD_DIR}/autoconf; do
1673   if test -f "$ac_dir/install-sh"; then
1674     ac_aux_dir=$ac_dir
1675     ac_install_sh="$ac_aux_dir/install-sh -c"
1676     break
1677   elif test -f "$ac_dir/install.sh"; then
1678     ac_aux_dir=$ac_dir
1679     ac_install_sh="$ac_aux_dir/install.sh -c"
1680     break
1681   elif test -f "$ac_dir/shtool"; then
1682     ac_aux_dir=$ac_dir
1683     ac_install_sh="$ac_aux_dir/shtool install -c"
1684     break
1685   fi
1686 done
1687 if test -z "$ac_aux_dir"; then
1688   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ${BUILD_DIR}/autoconf \"$srcdir\"/${BUILD_DIR}/autoconf" "$LINENO" 5
1689 fi
1690
1691 # These three variables are undocumented and unsupported,
1692 # and are intended to be withdrawn in a future Autoconf release.
1693 # They can cause serious problems if a builder's source tree is in a directory
1694 # whose full name contains unusual characters.
1695 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1696 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1697 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1698
1699
1700
1701
1702
1703
1704
1705 # ------------------------------------------
1706 # Where to get Bacula source
1707 # ------------------------------------------
1708
1709 # Check whether --with-bacula was given.
1710 if test "${with_bacula+set}" = set; then :
1711   withval=$with_bacula;
1712        if test "x$withval" != "xno" ; then
1713           bacula=$withval
1714        fi
1715
1716
1717 fi
1718
1719
1720
1721 if test "x$bacula" = "x" ; then
1722    as_fn_error $? "The Bacula source directory must be specified. Use --with-bacula=<path>" "$LINENO" 5
1723 fi
1724
1725 VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
1726 DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' ${bacula}/src/version.h`
1727 if test "x$VERSION" = "x" ; then
1728    as_fn_error $? "Bacula version not found" "$LINENO" 5
1729 fi
1730 echo "configuring for Bacula $VERSION ($DATE)"
1731
1732 for ac_prog in true
1733 do
1734   # Extract the first word of "$ac_prog", so it can be a program name with args.
1735 set dummy $ac_prog; ac_word=$2
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1737 $as_echo_n "checking for $ac_word... " >&6; }
1738 if ${ac_cv_path_TRUEPRG+:} false; then :
1739   $as_echo_n "(cached) " >&6
1740 else
1741   case $TRUEPRG in
1742   [\\/]* | ?:[\\/]*)
1743   ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1744   ;;
1745   *)
1746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1748 do
1749   IFS=$as_save_IFS
1750   test -z "$as_dir" && as_dir=.
1751     for ac_exec_ext in '' $ac_executable_extensions; do
1752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1753     ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1755     break 2
1756   fi
1757 done
1758   done
1759 IFS=$as_save_IFS
1760
1761   ;;
1762 esac
1763 fi
1764 TRUEPRG=$ac_cv_path_TRUEPRG
1765 if test -n "$TRUEPRG"; then
1766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPRG" >&5
1767 $as_echo "$TRUEPRG" >&6; }
1768 else
1769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1770 $as_echo "no" >&6; }
1771 fi
1772
1773
1774   test -n "$TRUEPRG" && break
1775 done
1776 test -n "$TRUEPRG" || TRUEPRG=":"
1777
1778 for ac_prog in false
1779 do
1780   # Extract the first word of "$ac_prog", so it can be a program name with args.
1781 set dummy $ac_prog; ac_word=$2
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1783 $as_echo_n "checking for $ac_word... " >&6; }
1784 if ${ac_cv_path_FALSEPRG+:} false; then :
1785   $as_echo_n "(cached) " >&6
1786 else
1787   case $FALSEPRG in
1788   [\\/]* | ?:[\\/]*)
1789   ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1790   ;;
1791   *)
1792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1794 do
1795   IFS=$as_save_IFS
1796   test -z "$as_dir" && as_dir=.
1797     for ac_exec_ext in '' $ac_executable_extensions; do
1798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1799     ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1801     break 2
1802   fi
1803 done
1804   done
1805 IFS=$as_save_IFS
1806
1807   ;;
1808 esac
1809 fi
1810 FALSEPRG=$ac_cv_path_FALSEPRG
1811 if test -n "$FALSEPRG"; then
1812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FALSEPRG" >&5
1813 $as_echo "$FALSEPRG" >&6; }
1814 else
1815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1816 $as_echo "no" >&6; }
1817 fi
1818
1819
1820   test -n "$FALSEPRG" && break
1821 done
1822 test -n "$FALSEPRG" || FALSEPRG=":"
1823
1824 # Find a good install program.  We prefer a C program (faster),
1825 # so one script is as good as another.  But avoid the broken or
1826 # incompatible versions:
1827 # SysV /etc/install, /usr/sbin/install
1828 # SunOS /usr/etc/install
1829 # IRIX /sbin/install
1830 # AIX /bin/install
1831 # AmigaOS /C/install, which installs bootblocks on floppy discs
1832 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1833 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1834 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1835 # OS/2's system install, which has a completely different semantic
1836 # ./install, which can be erroneously created by make from ./install.sh.
1837 # Reject install programs that cannot install multiple files.
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1839 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1840 if test -z "$INSTALL"; then
1841 if ${ac_cv_path_install+:} false; then :
1842   $as_echo_n "(cached) " >&6
1843 else
1844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 for as_dir in $PATH
1846 do
1847   IFS=$as_save_IFS
1848   test -z "$as_dir" && as_dir=.
1849     # Account for people who put trailing slashes in PATH elements.
1850 case $as_dir/ in #((
1851   ./ | .// | /[cC]/* | \
1852   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1853   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1854   /usr/ucb/* ) ;;
1855   *)
1856     # OSF1 and SCO ODT 3.0 have their own names for install.
1857     # Don't use installbsd from OSF since it installs stuff as root
1858     # by default.
1859     for ac_prog in ginstall scoinst install; do
1860       for ac_exec_ext in '' $ac_executable_extensions; do
1861         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1862           if test $ac_prog = install &&
1863             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1864             # AIX install.  It has an incompatible calling convention.
1865             :
1866           elif test $ac_prog = install &&
1867             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1868             # program-specific install script used by HP pwplus--don't use.
1869             :
1870           else
1871             rm -rf conftest.one conftest.two conftest.dir
1872             echo one > conftest.one
1873             echo two > conftest.two
1874             mkdir conftest.dir
1875             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1876               test -s conftest.one && test -s conftest.two &&
1877               test -s conftest.dir/conftest.one &&
1878               test -s conftest.dir/conftest.two
1879             then
1880               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1881               break 3
1882             fi
1883           fi
1884         fi
1885       done
1886     done
1887     ;;
1888 esac
1889
1890   done
1891 IFS=$as_save_IFS
1892
1893 rm -rf conftest.one conftest.two conftest.dir
1894
1895 fi
1896   if test "${ac_cv_path_install+set}" = set; then
1897     INSTALL=$ac_cv_path_install
1898   else
1899     # As a last resort, use the slow shell script.  Don't cache a
1900     # value for INSTALL within a source directory, because that will
1901     # break other packages using the cache if that directory is
1902     # removed, or if the value is a relative name.
1903     INSTALL=$ac_install_sh
1904   fi
1905 fi
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1907 $as_echo "$INSTALL" >&6; }
1908
1909 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1910 # It thinks the first close brace ends the variable substitution.
1911 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1912
1913 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1914
1915 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1916
1917 # Extract the first word of "mv", so it can be a program name with args.
1918 set dummy mv; ac_word=$2
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1920 $as_echo_n "checking for $ac_word... " >&6; }
1921 if ${ac_cv_path_MV+:} false; then :
1922   $as_echo_n "(cached) " >&6
1923 else
1924   case $MV in
1925   [\\/]* | ?:[\\/]*)
1926   ac_cv_path_MV="$MV" # Let the user override the test with a path.
1927   ;;
1928   *)
1929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 for as_dir in $PATH
1931 do
1932   IFS=$as_save_IFS
1933   test -z "$as_dir" && as_dir=.
1934     for ac_exec_ext in '' $ac_executable_extensions; do
1935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1936     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1938     break 2
1939   fi
1940 done
1941   done
1942 IFS=$as_save_IFS
1943
1944   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1945   ;;
1946 esac
1947 fi
1948 MV=$ac_cv_path_MV
1949 if test -n "$MV"; then
1950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
1951 $as_echo "$MV" >&6; }
1952 else
1953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1954 $as_echo "no" >&6; }
1955 fi
1956
1957
1958 # Extract the first word of "rm", so it can be a program name with args.
1959 set dummy rm; ac_word=$2
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1961 $as_echo_n "checking for $ac_word... " >&6; }
1962 if ${ac_cv_path_RM+:} false; then :
1963   $as_echo_n "(cached) " >&6
1964 else
1965   case $RM in
1966   [\\/]* | ?:[\\/]*)
1967   ac_cv_path_RM="$RM" # Let the user override the test with a path.
1968   ;;
1969   *)
1970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1972 do
1973   IFS=$as_save_IFS
1974   test -z "$as_dir" && as_dir=.
1975     for ac_exec_ext in '' $ac_executable_extensions; do
1976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1977     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1979     break 2
1980   fi
1981 done
1982   done
1983 IFS=$as_save_IFS
1984
1985   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1986   ;;
1987 esac
1988 fi
1989 RM=$ac_cv_path_RM
1990 if test -n "$RM"; then
1991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
1992 $as_echo "$RM" >&6; }
1993 else
1994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1995 $as_echo "no" >&6; }
1996 fi
1997
1998
1999 # Extract the first word of "cp", so it can be a program name with args.
2000 set dummy cp; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_path_CP+:} false; then :
2004   $as_echo_n "(cached) " >&6
2005 else
2006   case $CP in
2007   [\\/]* | ?:[\\/]*)
2008   ac_cv_path_CP="$CP" # Let the user override the test with a path.
2009   ;;
2010   *)
2011   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 for as_dir in $PATH
2013 do
2014   IFS=$as_save_IFS
2015   test -z "$as_dir" && as_dir=.
2016     for ac_exec_ext in '' $ac_executable_extensions; do
2017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2018     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
2019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2020     break 2
2021   fi
2022 done
2023   done
2024 IFS=$as_save_IFS
2025
2026   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
2027   ;;
2028 esac
2029 fi
2030 CP=$ac_cv_path_CP
2031 if test -n "$CP"; then
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
2033 $as_echo "$CP" >&6; }
2034 else
2035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2037 fi
2038
2039
2040 # Extract the first word of "echo", so it can be a program name with args.
2041 set dummy echo; ac_word=$2
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2043 $as_echo_n "checking for $ac_word... " >&6; }
2044 if ${ac_cv_path_ECHO+:} false; then :
2045   $as_echo_n "(cached) " >&6
2046 else
2047   case $ECHO in
2048   [\\/]* | ?:[\\/]*)
2049   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
2050   ;;
2051   *)
2052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057     for ac_exec_ext in '' $ac_executable_extensions; do
2058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
2060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061     break 2
2062   fi
2063 done
2064   done
2065 IFS=$as_save_IFS
2066
2067   test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
2068   ;;
2069 esac
2070 fi
2071 ECHO=$ac_cv_path_ECHO
2072 if test -n "$ECHO"; then
2073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
2074 $as_echo "$ECHO" >&6; }
2075 else
2076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2077 $as_echo "no" >&6; }
2078 fi
2079
2080
2081 # Extract the first word of "ar", so it can be a program name with args.
2082 set dummy ar; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if ${ac_cv_path_AR+:} false; then :
2086   $as_echo_n "(cached) " >&6
2087 else
2088   case $AR in
2089   [\\/]* | ?:[\\/]*)
2090   ac_cv_path_AR="$AR" # Let the user override the test with a path.
2091   ;;
2092   *)
2093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2095 do
2096   IFS=$as_save_IFS
2097   test -z "$as_dir" && as_dir=.
2098     for ac_exec_ext in '' $ac_executable_extensions; do
2099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2102     break 2
2103   fi
2104 done
2105   done
2106 IFS=$as_save_IFS
2107
2108   test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
2109   ;;
2110 esac
2111 fi
2112 AR=$ac_cv_path_AR
2113 if test -n "$AR"; then
2114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2115 $as_echo "$AR" >&6; }
2116 else
2117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2118 $as_echo "no" >&6; }
2119 fi
2120
2121
2122 for ac_prog in gawk mawk nawk awk
2123 do
2124   # Extract the first word of "$ac_prog", so it can be a program name with args.
2125 set dummy $ac_prog; ac_word=$2
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2127 $as_echo_n "checking for $ac_word... " >&6; }
2128 if ${ac_cv_prog_AWK+:} false; then :
2129   $as_echo_n "(cached) " >&6
2130 else
2131   if test -n "$AWK"; then
2132   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2133 else
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 for as_dir in $PATH
2136 do
2137   IFS=$as_save_IFS
2138   test -z "$as_dir" && as_dir=.
2139     for ac_exec_ext in '' $ac_executable_extensions; do
2140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141     ac_cv_prog_AWK="$ac_prog"
2142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2143     break 2
2144   fi
2145 done
2146   done
2147 IFS=$as_save_IFS
2148
2149 fi
2150 fi
2151 AWK=$ac_cv_prog_AWK
2152 if test -n "$AWK"; then
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2154 $as_echo "$AWK" >&6; }
2155 else
2156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2157 $as_echo "no" >&6; }
2158 fi
2159
2160
2161   test -n "$AWK" && break
2162 done
2163
2164 # Some AWK programs fail, so test it and warn the user
2165 if echo xfoo | $AWK 'BEGIN { prog=ARGV1; ARGC=1 }
2166       { if ((prog == $2) || (("(" prog ")") == $2) ||
2167            (("" prog "") == $2) ||
2168            ((prog ":") == $2)) { print $1 ; exit 0 } }' xfoo>/dev/null; then :;
2169 else
2170   as_fn_error $? "!!!!!!!!! WARNING !!!!!!!!!!!!!!
2171    The regex engine of $AWK is too broken to be used you
2172    might want to install GNU AWK.
2173    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" "$LINENO" 5
2174 fi
2175 THE_AWK=$AWK
2176 # Extract the first word of "$THE_AWK", so it can be a program name with args.
2177 set dummy $THE_AWK; ac_word=$2
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if ${ac_cv_path_AWK+:} false; then :
2181   $as_echo_n "(cached) " >&6
2182 else
2183   case $AWK in
2184   [\\/]* | ?:[\\/]*)
2185   ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2186   ;;
2187   *)
2188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH
2190 do
2191   IFS=$as_save_IFS
2192   test -z "$as_dir" && as_dir=.
2193     for ac_exec_ext in '' $ac_executable_extensions; do
2194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195     ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
2196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2197     break 2
2198   fi
2199 done
2200   done
2201 IFS=$as_save_IFS
2202
2203   test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
2204   ;;
2205 esac
2206 fi
2207 AWK=$ac_cv_path_AWK
2208 if test -n "$AWK"; then
2209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2210 $as_echo "$AWK" >&6; }
2211 else
2212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2213 $as_echo "no" >&6; }
2214 fi
2215
2216
2217
2218 # -------------------------------------------------------------------------
2219 #  If the user has not set --exec-prefix, we default to ${prefix}
2220 # -------------------------------------------------------------------------
2221 if test x${exec_prefix} = xNONE ; then
2222     exec_prefix=${prefix}
2223 fi
2224
2225
2226
2227
2228
2229 MCOMMON=./autoconf/Make.common
2230
2231
2232
2233 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"
2234
2235 ac_config_commands="$ac_config_commands default"
2236
2237 cat >confcache <<\_ACEOF
2238 # This file is a shell script that caches the results of configure
2239 # tests run on this system so they can be shared between configure
2240 # scripts and configure runs, see configure's option --config-cache.
2241 # It is not useful on other systems.  If it contains results you don't
2242 # want to keep, you may remove or edit it.
2243 #
2244 # config.status only pays attention to the cache file if you give it
2245 # the --recheck option to rerun configure.
2246 #
2247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2249 # following values.
2250
2251 _ACEOF
2252
2253 # The following way of writing the cache mishandles newlines in values,
2254 # but we know of no workaround that is simple, portable, and efficient.
2255 # So, we kill variables containing newlines.
2256 # Ultrix sh set writes to stderr and can't be redirected directly,
2257 # and sets the high bit in the cache file unless we assign to the vars.
2258 (
2259   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2260     eval ac_val=\$$ac_var
2261     case $ac_val in #(
2262     *${as_nl}*)
2263       case $ac_var in #(
2264       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2266       esac
2267       case $ac_var in #(
2268       _ | IFS | as_nl) ;; #(
2269       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2270       *) { eval $ac_var=; unset $ac_var;} ;;
2271       esac ;;
2272     esac
2273   done
2274
2275   (set) 2>&1 |
2276     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2277     *${as_nl}ac_space=\ *)
2278       # `set' does not quote correctly, so add quotes: double-quote
2279       # substitution turns \\\\ into \\, and sed turns \\ into \.
2280       sed -n \
2281         "s/'/'\\\\''/g;
2282           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2283       ;; #(
2284     *)
2285       # `set' quotes correctly as required by POSIX, so do not add quotes.
2286       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2287       ;;
2288     esac |
2289     sort
2290 ) |
2291   sed '
2292      /^ac_cv_env_/b end
2293      t clear
2294      :clear
2295      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2296      t end
2297      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2298      :end' >>confcache
2299 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2300   if test -w "$cache_file"; then
2301     if test "x$cache_file" != "x/dev/null"; then
2302       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2303 $as_echo "$as_me: updating cache $cache_file" >&6;}
2304       if test ! -f "$cache_file" || test -h "$cache_file"; then
2305         cat confcache >"$cache_file"
2306       else
2307         case $cache_file in #(
2308         */* | ?:*)
2309           mv -f confcache "$cache_file"$$ &&
2310           mv -f "$cache_file"$$ "$cache_file" ;; #(
2311         *)
2312           mv -f confcache "$cache_file" ;;
2313         esac
2314       fi
2315     fi
2316   else
2317     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2318 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2319   fi
2320 fi
2321 rm -f confcache
2322
2323 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2324 # Let make expand exec_prefix.
2325 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2326
2327 # Transform confdefs.h into DEFS.
2328 # Protect against shell expansion while executing Makefile rules.
2329 # Protect against Makefile macro expansion.
2330 #
2331 # If the first sed substitution is executed (which looks for macros that
2332 # take arguments), then branch to the quote section.  Otherwise,
2333 # look for a macro that doesn't take arguments.
2334 ac_script='
2335 :mline
2336 /\\$/{
2337  N
2338  s,\\\n,,
2339  b mline
2340 }
2341 t clear
2342 :clear
2343 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2344 t quote
2345 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2346 t quote
2347 b any
2348 :quote
2349 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2350 s/\[/\\&/g
2351 s/\]/\\&/g
2352 s/\$/$$/g
2353 H
2354 :any
2355 ${
2356         g
2357         s/^\n//
2358         s/\n/ /g
2359         p
2360 }
2361 '
2362 DEFS=`sed -n "$ac_script" confdefs.h`
2363
2364
2365 ac_libobjs=
2366 ac_ltlibobjs=
2367 U=
2368 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2369   # 1. Remove the extension, and $U if already installed.
2370   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2371   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2372   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2373   #    will be set to the directory where LIBOBJS objects are built.
2374   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2375   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2376 done
2377 LIBOBJS=$ac_libobjs
2378
2379 LTLIBOBJS=$ac_ltlibobjs
2380
2381
2382
2383 : "${CONFIG_STATUS=./config.status}"
2384 ac_write_fail=0
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2388 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2389 as_write_fail=0
2390 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2391 #! $SHELL
2392 # Generated by $as_me.
2393 # Run this file to recreate the current configuration.
2394 # Compiler output produced by configure, useful for debugging
2395 # configure, is in config.log if it exists.
2396
2397 debug=false
2398 ac_cs_recheck=false
2399 ac_cs_silent=false
2400
2401 SHELL=\${CONFIG_SHELL-$SHELL}
2402 export SHELL
2403 _ASEOF
2404 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2405 ## -------------------- ##
2406 ## M4sh Initialization. ##
2407 ## -------------------- ##
2408
2409 # Be more Bourne compatible
2410 DUALCASE=1; export DUALCASE # for MKS sh
2411 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2412   emulate sh
2413   NULLCMD=:
2414   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2415   # is contrary to our usage.  Disable this feature.
2416   alias -g '${1+"$@"}'='"$@"'
2417   setopt NO_GLOB_SUBST
2418 else
2419   case `(set -o) 2>/dev/null` in #(
2420   *posix*) :
2421     set -o posix ;; #(
2422   *) :
2423      ;;
2424 esac
2425 fi
2426
2427
2428 as_nl='
2429 '
2430 export as_nl
2431 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2432 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2433 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2434 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2435 # Prefer a ksh shell builtin over an external printf program on Solaris,
2436 # but without wasting forks for bash or zsh.
2437 if test -z "$BASH_VERSION$ZSH_VERSION" \
2438     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2439   as_echo='print -r --'
2440   as_echo_n='print -rn --'
2441 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2442   as_echo='printf %s\n'
2443   as_echo_n='printf %s'
2444 else
2445   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2446     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2447     as_echo_n='/usr/ucb/echo -n'
2448   else
2449     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2450     as_echo_n_body='eval
2451       arg=$1;
2452       case $arg in #(
2453       *"$as_nl"*)
2454         expr "X$arg" : "X\\(.*\\)$as_nl";
2455         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2456       esac;
2457       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2458     '
2459     export as_echo_n_body
2460     as_echo_n='sh -c $as_echo_n_body as_echo'
2461   fi
2462   export as_echo_body
2463   as_echo='sh -c $as_echo_body as_echo'
2464 fi
2465
2466 # The user is always right.
2467 if test "${PATH_SEPARATOR+set}" != set; then
2468   PATH_SEPARATOR=:
2469   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2470     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2471       PATH_SEPARATOR=';'
2472   }
2473 fi
2474
2475
2476 # IFS
2477 # We need space, tab and new line, in precisely that order.  Quoting is
2478 # there to prevent editors from complaining about space-tab.
2479 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2480 # splitting by setting IFS to empty value.)
2481 IFS=" ""        $as_nl"
2482
2483 # Find who we are.  Look in the path if we contain no directory separator.
2484 as_myself=
2485 case $0 in #((
2486   *[\\/]* ) as_myself=$0 ;;
2487   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH
2489 do
2490   IFS=$as_save_IFS
2491   test -z "$as_dir" && as_dir=.
2492     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2493   done
2494 IFS=$as_save_IFS
2495
2496      ;;
2497 esac
2498 # We did not find ourselves, most probably we were run as `sh COMMAND'
2499 # in which case we are not to be found in the path.
2500 if test "x$as_myself" = x; then
2501   as_myself=$0
2502 fi
2503 if test ! -f "$as_myself"; then
2504   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2505   exit 1
2506 fi
2507
2508 # Unset variables that we do not need and which cause bugs (e.g. in
2509 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2510 # suppresses any "Segmentation fault" message there.  '((' could
2511 # trigger a bug in pdksh 5.2.14.
2512 for as_var in BASH_ENV ENV MAIL MAILPATH
2513 do eval test x\${$as_var+set} = xset \
2514   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2515 done
2516 PS1='$ '
2517 PS2='> '
2518 PS4='+ '
2519
2520 # NLS nuisances.
2521 LC_ALL=C
2522 export LC_ALL
2523 LANGUAGE=C
2524 export LANGUAGE
2525
2526 # CDPATH.
2527 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2528
2529
2530 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2531 # ----------------------------------------
2532 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2533 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2534 # script with STATUS, using 1 if that was 0.
2535 as_fn_error ()
2536 {
2537   as_status=$1; test $as_status -eq 0 && as_status=1
2538   if test "$4"; then
2539     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2541   fi
2542   $as_echo "$as_me: error: $2" >&2
2543   as_fn_exit $as_status
2544 } # as_fn_error
2545
2546
2547 # as_fn_set_status STATUS
2548 # -----------------------
2549 # Set $? to STATUS, without forking.
2550 as_fn_set_status ()
2551 {
2552   return $1
2553 } # as_fn_set_status
2554
2555 # as_fn_exit STATUS
2556 # -----------------
2557 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2558 as_fn_exit ()
2559 {
2560   set +e
2561   as_fn_set_status $1
2562   exit $1
2563 } # as_fn_exit
2564
2565 # as_fn_unset VAR
2566 # ---------------
2567 # Portably unset VAR.
2568 as_fn_unset ()
2569 {
2570   { eval $1=; unset $1;}
2571 }
2572 as_unset=as_fn_unset
2573 # as_fn_append VAR VALUE
2574 # ----------------------
2575 # Append the text in VALUE to the end of the definition contained in VAR. Take
2576 # advantage of any shell optimizations that allow amortized linear growth over
2577 # repeated appends, instead of the typical quadratic growth present in naive
2578 # implementations.
2579 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2580   eval 'as_fn_append ()
2581   {
2582     eval $1+=\$2
2583   }'
2584 else
2585   as_fn_append ()
2586   {
2587     eval $1=\$$1\$2
2588   }
2589 fi # as_fn_append
2590
2591 # as_fn_arith ARG...
2592 # ------------------
2593 # Perform arithmetic evaluation on the ARGs, and store the result in the
2594 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2595 # must be portable across $(()) and expr.
2596 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2597   eval 'as_fn_arith ()
2598   {
2599     as_val=$(( $* ))
2600   }'
2601 else
2602   as_fn_arith ()
2603   {
2604     as_val=`expr "$@" || test $? -eq 1`
2605   }
2606 fi # as_fn_arith
2607
2608
2609 if expr a : '\(a\)' >/dev/null 2>&1 &&
2610    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2611   as_expr=expr
2612 else
2613   as_expr=false
2614 fi
2615
2616 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2617   as_basename=basename
2618 else
2619   as_basename=false
2620 fi
2621
2622 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2623   as_dirname=dirname
2624 else
2625   as_dirname=false
2626 fi
2627
2628 as_me=`$as_basename -- "$0" ||
2629 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2630          X"$0" : 'X\(//\)$' \| \
2631          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2632 $as_echo X/"$0" |
2633     sed '/^.*\/\([^/][^/]*\)\/*$/{
2634             s//\1/
2635             q
2636           }
2637           /^X\/\(\/\/\)$/{
2638             s//\1/
2639             q
2640           }
2641           /^X\/\(\/\).*/{
2642             s//\1/
2643             q
2644           }
2645           s/.*/./; q'`
2646
2647 # Avoid depending upon Character Ranges.
2648 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2649 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2650 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2651 as_cr_digits='0123456789'
2652 as_cr_alnum=$as_cr_Letters$as_cr_digits
2653
2654 ECHO_C= ECHO_N= ECHO_T=
2655 case `echo -n x` in #(((((
2656 -n*)
2657   case `echo 'xy\c'` in
2658   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2659   xy)  ECHO_C='\c';;
2660   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2661        ECHO_T=' ';;
2662   esac;;
2663 *)
2664   ECHO_N='-n';;
2665 esac
2666
2667 rm -f conf$$ conf$$.exe conf$$.file
2668 if test -d conf$$.dir; then
2669   rm -f conf$$.dir/conf$$.file
2670 else
2671   rm -f conf$$.dir
2672   mkdir conf$$.dir 2>/dev/null
2673 fi
2674 if (echo >conf$$.file) 2>/dev/null; then
2675   if ln -s conf$$.file conf$$ 2>/dev/null; then
2676     as_ln_s='ln -s'
2677     # ... but there are two gotchas:
2678     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2679     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2680     # In both cases, we have to default to `cp -p'.
2681     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2682       as_ln_s='cp -p'
2683   elif ln conf$$.file conf$$ 2>/dev/null; then
2684     as_ln_s=ln
2685   else
2686     as_ln_s='cp -p'
2687   fi
2688 else
2689   as_ln_s='cp -p'
2690 fi
2691 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2692 rmdir conf$$.dir 2>/dev/null
2693
2694
2695 # as_fn_mkdir_p
2696 # -------------
2697 # Create "$as_dir" as a directory, including parents if necessary.
2698 as_fn_mkdir_p ()
2699 {
2700
2701   case $as_dir in #(
2702   -*) as_dir=./$as_dir;;
2703   esac
2704   test -d "$as_dir" || eval $as_mkdir_p || {
2705     as_dirs=
2706     while :; do
2707       case $as_dir in #(
2708       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2709       *) as_qdir=$as_dir;;
2710       esac
2711       as_dirs="'$as_qdir' $as_dirs"
2712       as_dir=`$as_dirname -- "$as_dir" ||
2713 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2714          X"$as_dir" : 'X\(//\)[^/]' \| \
2715          X"$as_dir" : 'X\(//\)$' \| \
2716          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2717 $as_echo X"$as_dir" |
2718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2719             s//\1/
2720             q
2721           }
2722           /^X\(\/\/\)[^/].*/{
2723             s//\1/
2724             q
2725           }
2726           /^X\(\/\/\)$/{
2727             s//\1/
2728             q
2729           }
2730           /^X\(\/\).*/{
2731             s//\1/
2732             q
2733           }
2734           s/.*/./; q'`
2735       test -d "$as_dir" && break
2736     done
2737     test -z "$as_dirs" || eval "mkdir $as_dirs"
2738   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2739
2740
2741 } # as_fn_mkdir_p
2742 if mkdir -p . 2>/dev/null; then
2743   as_mkdir_p='mkdir -p "$as_dir"'
2744 else
2745   test -d ./-p && rmdir ./-p
2746   as_mkdir_p=false
2747 fi
2748
2749 if test -x / >/dev/null 2>&1; then
2750   as_test_x='test -x'
2751 else
2752   if ls -dL / >/dev/null 2>&1; then
2753     as_ls_L_option=L
2754   else
2755     as_ls_L_option=
2756   fi
2757   as_test_x='
2758     eval sh -c '\''
2759       if test -d "$1"; then
2760         test -d "$1/.";
2761       else
2762         case $1 in #(
2763         -*)set "./$1";;
2764         esac;
2765         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2766         ???[sx]*):;;*)false;;esac;fi
2767     '\'' sh
2768   '
2769 fi
2770 as_executable_p=$as_test_x
2771
2772 # Sed expression to map a string onto a valid CPP name.
2773 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2774
2775 # Sed expression to map a string onto a valid variable name.
2776 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2777
2778
2779 exec 6>&1
2780 ## ----------------------------------- ##
2781 ## Main body of $CONFIG_STATUS script. ##
2782 ## ----------------------------------- ##
2783 _ASEOF
2784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2785
2786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2787 # Save the log message, to keep $0 and so on meaningful, and to
2788 # report actual input values of CONFIG_FILES etc. instead of their
2789 # values after options handling.
2790 ac_log="
2791 This file was extended by $as_me, which was
2792 generated by GNU Autoconf 2.68.  Invocation command line was
2793
2794   CONFIG_FILES    = $CONFIG_FILES
2795   CONFIG_HEADERS  = $CONFIG_HEADERS
2796   CONFIG_LINKS    = $CONFIG_LINKS
2797   CONFIG_COMMANDS = $CONFIG_COMMANDS
2798   $ $0 $@
2799
2800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2801 "
2802
2803 _ACEOF
2804
2805 case $ac_config_files in *"
2806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2807 esac
2808
2809
2810
2811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2812 # Files that config.status was made for.
2813 config_files="$ac_config_files"
2814 config_commands="$ac_config_commands"
2815
2816 _ACEOF
2817
2818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2819 ac_cs_usage="\
2820 \`$as_me' instantiates files and other configuration actions
2821 from templates according to the current configuration.  Unless the files
2822 and actions are specified as TAGs, all are instantiated by default.
2823
2824 Usage: $0 [OPTION]... [TAG]...
2825
2826   -h, --help       print this help, then exit
2827   -V, --version    print version number and configuration settings, then exit
2828       --config     print configuration, then exit
2829   -q, --quiet, --silent
2830                    do not print progress messages
2831   -d, --debug      don't remove temporary files
2832       --recheck    update $as_me by reconfiguring in the same conditions
2833       --file=FILE[:TEMPLATE]
2834                    instantiate the configuration file FILE
2835
2836 Configuration files:
2837 $config_files
2838
2839 Configuration commands:
2840 $config_commands
2841
2842 Report bugs to the package provider."
2843
2844 _ACEOF
2845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2846 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2847 ac_cs_version="\\
2848 config.status
2849 configured by $0, generated by GNU Autoconf 2.68,
2850   with options \\"\$ac_cs_config\\"
2851
2852 Copyright (C) 2010 Free Software Foundation, Inc.
2853 This config.status script is free software; the Free Software Foundation
2854 gives unlimited permission to copy, distribute and modify it."
2855
2856 ac_pwd='$ac_pwd'
2857 srcdir='$srcdir'
2858 INSTALL='$INSTALL'
2859 AWK='$AWK'
2860 test -n "\$AWK" || AWK=awk
2861 _ACEOF
2862
2863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2864 # The default lists apply if the user does not specify any file.
2865 ac_need_defaults=:
2866 while test $# != 0
2867 do
2868   case $1 in
2869   --*=?*)
2870     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2871     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2872     ac_shift=:
2873     ;;
2874   --*=)
2875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2876     ac_optarg=
2877     ac_shift=:
2878     ;;
2879   *)
2880     ac_option=$1
2881     ac_optarg=$2
2882     ac_shift=shift
2883     ;;
2884   esac
2885
2886   case $ac_option in
2887   # Handling of the options.
2888   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2889     ac_cs_recheck=: ;;
2890   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2891     $as_echo "$ac_cs_version"; exit ;;
2892   --config | --confi | --conf | --con | --co | --c )
2893     $as_echo "$ac_cs_config"; exit ;;
2894   --debug | --debu | --deb | --de | --d | -d )
2895     debug=: ;;
2896   --file | --fil | --fi | --f )
2897     $ac_shift
2898     case $ac_optarg in
2899     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2900     '') as_fn_error $? "missing file argument" ;;
2901     esac
2902     as_fn_append CONFIG_FILES " '$ac_optarg'"
2903     ac_need_defaults=false;;
2904   --he | --h |  --help | --hel | -h )
2905     $as_echo "$ac_cs_usage"; exit ;;
2906   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2907   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2908     ac_cs_silent=: ;;
2909
2910   # This is an error.
2911   -*) as_fn_error $? "unrecognized option: \`$1'
2912 Try \`$0 --help' for more information." ;;
2913
2914   *) as_fn_append ac_config_targets " $1"
2915      ac_need_defaults=false ;;
2916
2917   esac
2918   shift
2919 done
2920
2921 ac_configure_extra_args=
2922
2923 if $ac_cs_silent; then
2924   exec 6>/dev/null
2925   ac_configure_extra_args="$ac_configure_extra_args --silent"
2926 fi
2927
2928 _ACEOF
2929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2930 if \$ac_cs_recheck; then
2931   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2932   shift
2933   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2934   CONFIG_SHELL='$SHELL'
2935   export CONFIG_SHELL
2936   exec "\$@"
2937 fi
2938
2939 _ACEOF
2940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2941 exec 5>>config.log
2942 {
2943   echo
2944   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2945 ## Running $as_me. ##
2946 _ASBOX
2947   $as_echo "$ac_log"
2948 } >&5
2949
2950 _ACEOF
2951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2952 _ACEOF
2953
2954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2955
2956 # Handling of arguments.
2957 for ac_config_target in $ac_config_targets
2958 do
2959   case $ac_config_target in
2960     "autoconf/Make.common") CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
2961     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2962     "manuals/update_version") CONFIG_FILES="$CONFIG_FILES manuals/update_version" ;;
2963     "manuals/version.tex") CONFIG_FILES="$CONFIG_FILES manuals/version.tex" ;;
2964     "manuals/bacula.sty") CONFIG_FILES="$CONFIG_FILES manuals/bacula.sty" ;;
2965     "manuals/en/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/console/Makefile" ;;
2966     "manuals/en/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/main/Makefile" ;;
2967     "manuals/en/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/developers/Makefile" ;;
2968     "manuals/en/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/problems/Makefile" ;;
2969     "manuals/en/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/utility/Makefile" ;;
2970     "manuals/en/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/en/misc/Makefile" ;;
2971     "manuals/de/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/console/Makefile" ;;
2972     "manuals/de/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/main/Makefile" ;;
2973     "manuals/de/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/developers/Makefile" ;;
2974     "manuals/de/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/problems/Makefile" ;;
2975     "manuals/de/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/utility/Makefile" ;;
2976     "manuals/de/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/de/misc/Makefile" ;;
2977     "manuals/fr/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/console/Makefile" ;;
2978     "manuals/fr/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/main/Makefile" ;;
2979     "manuals/fr/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/developers/Makefile" ;;
2980     "manuals/fr/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/problems/Makefile" ;;
2981     "manuals/fr/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/utility/Makefile" ;;
2982     "manuals/fr/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/fr/misc/Makefile" ;;
2983     "manuals/es/console/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/console/Makefile" ;;
2984     "manuals/es/main/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/main/Makefile" ;;
2985     "manuals/es/developers/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/developers/Makefile" ;;
2986     "manuals/es/problems/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/problems/Makefile" ;;
2987     "manuals/es/utility/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/utility/Makefile" ;;
2988     "manuals/es/misc/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/es/misc/Makefile" ;;
2989     "bacula-web/Makefile") CONFIG_FILES="$CONFIG_FILES bacula-web/Makefile" ;;
2990     "bacula-web/version.tex") CONFIG_FILES="$CONFIG_FILES bacula-web/version.tex" ;;
2991     "$PFILES") CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
2992     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
2993
2994   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2995   esac
2996 done
2997
2998
2999 # If the user did not use the arguments to specify the items to instantiate,
3000 # then the envvar interface is used.  Set only those that are not.
3001 # We use the long form for the default assignment because of an extremely
3002 # bizarre bug on SunOS 4.1.3.
3003 if $ac_need_defaults; then
3004   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3005   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3006 fi
3007
3008 # Have a temporary directory for convenience.  Make it in the build tree
3009 # simply because there is no reason against having it here, and in addition,
3010 # creating and moving files from /tmp can sometimes cause problems.
3011 # Hook for its removal unless debugging.
3012 # Note that there is a small window in which the directory will not be cleaned:
3013 # after its creation but before its name has been assigned to `$tmp'.
3014 $debug ||
3015 {
3016   tmp= ac_tmp=
3017   trap 'exit_status=$?
3018   : "${ac_tmp:=$tmp}"
3019   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3020 ' 0
3021   trap 'as_fn_exit 1' 1 2 13 15
3022 }
3023 # Create a (secure) tmp directory for tmp files.
3024
3025 {
3026   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3027   test -d "$tmp"
3028 }  ||
3029 {
3030   tmp=./conf$$-$RANDOM
3031   (umask 077 && mkdir "$tmp")
3032 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3033 ac_tmp=$tmp
3034
3035 # Set up the scripts for CONFIG_FILES section.
3036 # No need to generate them if there are no CONFIG_FILES.
3037 # This happens for instance with `./config.status config.h'.
3038 if test -n "$CONFIG_FILES"; then
3039
3040 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3041   ac_cs_awk_getline=:
3042   ac_cs_awk_pipe_init=
3043   ac_cs_awk_read_file='
3044       while ((getline aline < (F[key])) > 0)
3045         print(aline)
3046       close(F[key])'
3047   ac_cs_awk_pipe_fini=
3048 else
3049   ac_cs_awk_getline=false
3050   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3051   ac_cs_awk_read_file='
3052       print "|#_!!_#|"
3053       print "cat " F[key] " &&"
3054       '$ac_cs_awk_pipe_init
3055   # The final `:' finishes the AND list.
3056   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3057 fi
3058 ac_cr=`echo X | tr X '\015'`
3059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3060 # But we know of no other shell where ac_cr would be empty at this
3061 # point, so we can use a bashism as a fallback.
3062 if test "x$ac_cr" = x; then
3063   eval ac_cr=\$\'\\r\'
3064 fi
3065 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3067   ac_cs_awk_cr='\\r'
3068 else
3069   ac_cs_awk_cr=$ac_cr
3070 fi
3071
3072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3073 _ACEOF
3074
3075 # Create commands to substitute file output variables.
3076 {
3077   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3078   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
3079   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3080   echo "_ACAWK" &&
3081   echo "_ACEOF"
3082 } >conf$$files.sh &&
3083 . ./conf$$files.sh ||
3084   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3085 rm -f conf$$files.sh
3086
3087 {
3088   echo "cat >conf$$subs.awk <<_ACEOF" &&
3089   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3090   echo "_ACEOF"
3091 } >conf$$subs.sh ||
3092   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3093 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3094 ac_delim='%!_!# '
3095 for ac_last_try in false false false false false :; do
3096   . ./conf$$subs.sh ||
3097     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3098
3099   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3100   if test $ac_delim_n = $ac_delim_num; then
3101     break
3102   elif $ac_last_try; then
3103     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3104   else
3105     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3106   fi
3107 done
3108 rm -f conf$$subs.sh
3109
3110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3111 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3112 _ACEOF
3113 sed -n '
3114 h
3115 s/^/S["/; s/!.*/"]=/
3116 p
3117 g
3118 s/^[^!]*!//
3119 :repl
3120 t repl
3121 s/'"$ac_delim"'$//
3122 t delim
3123 :nl
3124 h
3125 s/\(.\{148\}\)..*/\1/
3126 t more1
3127 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3128 p
3129 n
3130 b repl
3131 :more1
3132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3133 p
3134 g
3135 s/.\{148\}//
3136 t nl
3137 :delim
3138 h
3139 s/\(.\{148\}\)..*/\1/
3140 t more2
3141 s/["\\]/\\&/g; s/^/"/; s/$/"/
3142 p
3143 b
3144 :more2
3145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3146 p
3147 g
3148 s/.\{148\}//
3149 t delim
3150 ' <conf$$subs.awk | sed '
3151 /^[^""]/{
3152   N
3153   s/\n//
3154 }
3155 ' >>$CONFIG_STATUS || ac_write_fail=1
3156 rm -f conf$$subs.awk
3157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3158 _ACAWK
3159 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3160   for (key in S) S_is_set[key] = 1
3161   FS = "\a"
3162   \$ac_cs_awk_pipe_init
3163 }
3164 {
3165   line = $ 0
3166   nfields = split(line, field, "@")
3167   substed = 0
3168   len = length(field[1])
3169   for (i = 2; i < nfields; i++) {
3170     key = field[i]
3171     keylen = length(key)
3172     if (S_is_set[key]) {
3173       value = S[key]
3174       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3175       len += length(value) + length(field[++i])
3176       substed = 1
3177     } else
3178       len += 1 + keylen
3179   }
3180   if (nfields == 3 && !substed) {
3181     key = field[2]
3182     if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
3183       \$ac_cs_awk_read_file
3184       next
3185     }
3186   }
3187   print line
3188 }
3189 \$ac_cs_awk_pipe_fini
3190 _ACAWK
3191 _ACEOF
3192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3193 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3194   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3195 else
3196   cat
3197 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3198   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3199 _ACEOF
3200
3201 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3202 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3203 # trailing colons and then remove the whole line if VPATH becomes empty
3204 # (actually we leave an empty line to preserve line numbers).
3205 if test "x$srcdir" = x.; then
3206   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3207 h
3208 s///
3209 s/^/:/
3210 s/[      ]*$/:/
3211 s/:\$(srcdir):/:/g
3212 s/:\${srcdir}:/:/g
3213 s/:@srcdir@:/:/g
3214 s/^:*//
3215 s/:*$//
3216 x
3217 s/\(=[   ]*\).*/\1/
3218 G
3219 s/\n//
3220 s/^[^=]*=[       ]*$//
3221 }'
3222 fi
3223
3224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3225 fi # test -n "$CONFIG_FILES"
3226
3227
3228 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
3229 shift
3230 for ac_tag
3231 do
3232   case $ac_tag in
3233   :[FHLC]) ac_mode=$ac_tag; continue;;
3234   esac
3235   case $ac_mode$ac_tag in
3236   :[FHL]*:*);;
3237   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3238   :[FH]-) ac_tag=-:-;;
3239   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3240   esac
3241   ac_save_IFS=$IFS
3242   IFS=:
3243   set x $ac_tag
3244   IFS=$ac_save_IFS
3245   shift
3246   ac_file=$1
3247   shift
3248
3249   case $ac_mode in
3250   :L) ac_source=$1;;
3251   :[FH])
3252     ac_file_inputs=
3253     for ac_f
3254     do
3255       case $ac_f in
3256       -) ac_f="$ac_tmp/stdin";;
3257       *) # Look for the file first in the build tree, then in the source tree
3258          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3259          # because $ac_f cannot contain `:'.
3260          test -f "$ac_f" ||
3261            case $ac_f in
3262            [\\/$]*) false;;
3263            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3264            esac ||
3265            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3266       esac
3267       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3268       as_fn_append ac_file_inputs " '$ac_f'"
3269     done
3270
3271     # Let's still pretend it is `configure' which instantiates (i.e., don't
3272     # use $as_me), people would be surprised to read:
3273     #    /* config.h.  Generated by config.status.  */
3274     configure_input='Generated from '`
3275           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3276         `' by configure.'
3277     if test x"$ac_file" != x-; then
3278       configure_input="$ac_file.  $configure_input"
3279       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3280 $as_echo "$as_me: creating $ac_file" >&6;}
3281     fi
3282     # Neutralize special characters interpreted by sed in replacement strings.
3283     case $configure_input in #(
3284     *\&* | *\|* | *\\* )
3285        ac_sed_conf_input=`$as_echo "$configure_input" |
3286        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3287     *) ac_sed_conf_input=$configure_input;;
3288     esac
3289
3290     case $ac_tag in
3291     *:-:* | *:-) cat >"$ac_tmp/stdin" \
3292       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3293     esac
3294     ;;
3295   esac
3296
3297   ac_dir=`$as_dirname -- "$ac_file" ||
3298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3299          X"$ac_file" : 'X\(//\)[^/]' \| \
3300          X"$ac_file" : 'X\(//\)$' \| \
3301          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3302 $as_echo X"$ac_file" |
3303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3304             s//\1/
3305             q
3306           }
3307           /^X\(\/\/\)[^/].*/{
3308             s//\1/
3309             q
3310           }
3311           /^X\(\/\/\)$/{
3312             s//\1/
3313             q
3314           }
3315           /^X\(\/\).*/{
3316             s//\1/
3317             q
3318           }
3319           s/.*/./; q'`
3320   as_dir="$ac_dir"; as_fn_mkdir_p
3321   ac_builddir=.
3322
3323 case "$ac_dir" in
3324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3325 *)
3326   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3327   # A ".." for each directory in $ac_dir_suffix.
3328   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3329   case $ac_top_builddir_sub in
3330   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3331   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3332   esac ;;
3333 esac
3334 ac_abs_top_builddir=$ac_pwd
3335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3336 # for backward compatibility:
3337 ac_top_builddir=$ac_top_build_prefix
3338
3339 case $srcdir in
3340   .)  # We are building in place.
3341     ac_srcdir=.
3342     ac_top_srcdir=$ac_top_builddir_sub
3343     ac_abs_top_srcdir=$ac_pwd ;;
3344   [\\/]* | ?:[\\/]* )  # Absolute name.
3345     ac_srcdir=$srcdir$ac_dir_suffix;
3346     ac_top_srcdir=$srcdir
3347     ac_abs_top_srcdir=$srcdir ;;
3348   *) # Relative name.
3349     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3350     ac_top_srcdir=$ac_top_build_prefix$srcdir
3351     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3352 esac
3353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3354
3355
3356   case $ac_mode in
3357   :F)
3358   #
3359   # CONFIG_FILE
3360   #
3361
3362   case $INSTALL in
3363   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3364   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3365   esac
3366 _ACEOF
3367
3368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3369 # If the template does not know about datarootdir, expand it.
3370 # FIXME: This hack should be removed a few years after 2.60.
3371 ac_datarootdir_hack=; ac_datarootdir_seen=
3372 ac_sed_dataroot='
3373 /datarootdir/ {
3374   p
3375   q
3376 }
3377 /@datadir@/p
3378 /@docdir@/p
3379 /@infodir@/p
3380 /@localedir@/p
3381 /@mandir@/p'
3382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3383 *datarootdir*) ac_datarootdir_seen=yes;;
3384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3387 _ACEOF
3388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3389   ac_datarootdir_hack='
3390   s&@datadir@&$datadir&g
3391   s&@docdir@&$docdir&g
3392   s&@infodir@&$infodir&g
3393   s&@localedir@&$localedir&g
3394   s&@mandir@&$mandir&g
3395   s&\\\${datarootdir}&$datarootdir&g' ;;
3396 esac
3397 _ACEOF
3398
3399 # Neutralize VPATH when `$srcdir' = `.'.
3400 # Shell code in configure.ac might set extrasub.
3401 # FIXME: do we really want to maintain this feature?
3402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3403 ac_sed_extra="$ac_vpsub
3404 $extrasub
3405 _ACEOF
3406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3407 :t
3408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3409 s|@configure_input@|$ac_sed_conf_input|;t t
3410 s&@top_builddir@&$ac_top_builddir_sub&;t t
3411 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3412 s&@srcdir@&$ac_srcdir&;t t
3413 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3414 s&@top_srcdir@&$ac_top_srcdir&;t t
3415 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3416 s&@builddir@&$ac_builddir&;t t
3417 s&@abs_builddir@&$ac_abs_builddir&;t t
3418 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3419 s&@INSTALL@&$ac_INSTALL&;t t
3420 $ac_datarootdir_hack
3421 "
3422 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3423 if $ac_cs_awk_getline; then
3424   $AWK -f "$ac_tmp/subs.awk"
3425 else
3426   $AWK -f "$ac_tmp/subs.awk" | $SHELL
3427 fi \
3428   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3429
3430 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3431   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3432   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3433       "$ac_tmp/out"`; test -z "$ac_out"; } &&
3434   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3435 which seems to be undefined.  Please make sure it is defined" >&5
3436 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3437 which seems to be undefined.  Please make sure it is defined" >&2;}
3438
3439   rm -f "$ac_tmp/stdin"
3440   case $ac_file in
3441   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3442   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3443   esac \
3444   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3445  ;;
3446
3447
3448   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3449 $as_echo "$as_me: executing $ac_file commands" >&6;}
3450  ;;
3451   esac
3452
3453
3454   case $ac_file$ac_mode in
3455     "default":C)
3456  ;;
3457
3458   esac
3459 done # for ac_tag
3460
3461
3462 as_fn_exit 0
3463 _ACEOF
3464 ac_clean_files=$ac_clean_files_save
3465
3466 test $ac_write_fail = 0 ||
3467   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3468
3469
3470 # configure is writing to config.log, and then calls config.status.
3471 # config.status does its own redirection, appending to config.log.
3472 # Unfortunately, on DOS this fails, as config.log is still kept open
3473 # by configure, so config.status won't be able to write to it; its
3474 # output is simply discarded.  So we exec the FD to /dev/null,
3475 # effectively closing config.log, so it can be properly (re)opened and
3476 # appended to by config.status.  When coming back to configure, we
3477 # need to make the FD available again.
3478 if test "$no_create" != yes; then
3479   ac_cs_success=:
3480   ac_config_status_args=
3481   test "$silent" = yes &&
3482     ac_config_status_args="$ac_config_status_args --quiet"
3483   exec 5>/dev/null
3484   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3485   exec 5>>config.log
3486   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3487   # would make configure fail if this is the last instruction.
3488   $ac_cs_success || as_fn_exit 1
3489 fi
3490 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3491   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3492 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3493 fi
3494
3495
3496 chmod 766 manuals/update_version
3497
3498 # Now move common files into each subdirectory
3499 for i in manuals/version.tex manuals/bacula.sty ; do
3500   for j in console developers main misc problems utility ; do
3501       cp -f $i manuals/de/$j/
3502       cp -f $i manuals/en/$j/
3503       cp -f $i manuals/es/$j/
3504       cp -f $i manuals/fr/$j/
3505   done
3506 done
3507
3508 echo "
3509 Configuration on `date`:
3510
3511   Bacula version:             ${VERSION} (${DATE})
3512   Bacula source code:         ${bacula}
3513
3514   " > config.out
3515
3516 cat config.out