2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
168 exitcode=1; echo positional parameters were not saved.
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 :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
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 :
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
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.
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 *v*x* | *x*v* ) as_opts=-vx ;;
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
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."
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."
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE= GREP_OPTIONS=
251 unset CLICOLOR_FORCE GREP_OPTIONS
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
258 # Portably unset VAR.
261 { eval $1=; unset $1;}
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 # Create "$as_dir" as a directory, including parents if necessary.
290 -*) as_dir=./$as_dir;;
292 test -d "$as_dir" || eval $as_mkdir_p || {
296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
323 test -d "$as_dir" && break
325 test -z "$as_dirs" || eval "mkdir $as_dirs"
326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337 eval 'as_fn_append ()
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 :
361 as_val=`expr "$@" || test $? -eq 1`
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.
373 as_status=$1; test $as_status -eq 0 && as_status=1
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
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit $as_status
382 if expr a : '\(a\)' >/dev/null 2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401 as_me=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
455 # Exit status is that of the last command.
459 ECHO_C= ECHO_N= ECHO_T=
460 case `echo -n x` in #(((((
462 case `echo 'xy\c'` in
463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
472 rm -f conf$$ conf$$.exe conf$$.file
473 if test -d conf$$.dir; then
474 rm -f conf$$.dir/conf$$.file
477 mkdir conf$$.dir 2>/dev/null
479 if (echo >conf$$.file) 2>/dev/null; then
480 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
488 elif ln conf$$.file conf$$ 2>/dev/null; then
496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 rmdir conf$$.dir 2>/dev/null
499 if mkdir -p . 2>/dev/null; then
500 as_mkdir_p='mkdir -p "$as_dir"'
502 test -d ./-p && rmdir ./-p
506 if test -x / >/dev/null 2>&1; then
509 if ls -dL / >/dev/null 2>&1; then
516 if test -d "$1"; then
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
527 as_executable_p=$as_test_x
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'"
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'"
536 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
564 ac_unique_file="autoconf/configure.in"
565 ac_subst_vars='LTLIBOBJS
609 program_transform_name
620 ac_subst_files='MCOMMON'
622 enable_option_checking
625 ac_precious_vars='build_alias
630 # Initialize some variables set by options.
632 ac_init_version=false
633 ac_unrecognized_opts=
635 # The variables have the same names as the options, with
636 # dashes changed to underlines.
644 program_transform_name=s,x,x,
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'
674 libdir='${exec_prefix}/lib'
675 localedir='${datarootdir}/locale'
676 mandir='${datarootdir}/man'
682 # If the previous option needs an argument, assign it.
683 if test -n "$ac_prev"; then
684 eval $ac_prev=\$ac_option
690 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 # Accept the important Cygnus configure options, so we can diagnose typos.
697 case $ac_dashdash$ac_option in
701 -bindir | --bindir | --bindi | --bind | --bin | --bi)
703 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
706 -build | --build | --buil | --bui | --bu)
707 ac_prev=build_alias ;;
708 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
709 build_alias=$ac_optarg ;;
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 ;;
719 cache_file=config.cache ;;
721 -datadir | --datadir | --datadi | --datad)
723 -datadir=* | --datadir=* | --datadi=* | --datad=*)
724 datadir=$ac_optarg ;;
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 ;;
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
744 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
745 ac_unrecognized_sep=', ';;
747 eval enable_$ac_useropt=no ;;
749 -docdir | --docdir | --docdi | --doc | --do)
751 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
754 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
756 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
759 -enable-* | --enable-*)
760 ac_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
770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
771 ac_unrecognized_sep=', ';;
773 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
784 -gas | --gas | --ga | --g)
785 # Obsolete; use --with-gas.
788 -help | --help | --hel | --he | -h)
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 ;;
795 -host | --host | --hos | --ho)
796 ac_prev=host_alias ;;
797 -host=* | --host=* | --hos=* | --ho=*)
798 host_alias=$ac_optarg ;;
800 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
802 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
804 htmldir=$ac_optarg ;;
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 ;;
813 -infodir | --infodir | --infodi | --infod | --info | --inf)
815 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
816 infodir=$ac_optarg ;;
818 -libdir | --libdir | --libdi | --libd)
820 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
830 -localedir | --localedir | --localedi | --localed | --locale)
832 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
833 localedir=$ac_optarg ;;
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 ;;
842 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
844 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
848 # Obsolete; use --without-fp.
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c | -n)
855 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
856 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
904 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
906 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
909 -psdir | --psdir | --psdi | --psd | --ps)
911 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
915 | -silent | --silent | --silen | --sile | --sil)
918 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
920 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
922 sbindir=$ac_optarg ;;
924 -sharedstatedir | --sharedstatedir | --sharedstatedi \
925 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
926 | --sharedst | --shareds | --shared | --share | --shar \
928 ac_prev=sharedstatedir ;;
929 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
930 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
931 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
933 sharedstatedir=$ac_optarg ;;
935 -site | --site | --sit)
937 -site=* | --site=* | --sit=*)
940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
957 -v | -verbose | --verbose | --verbos | --verbo | --verb)
960 -version | --version | --versio | --versi | --vers | -V)
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
974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
975 ac_unrecognized_sep=', ';;
977 eval with_$ac_useropt=\$ac_optarg ;;
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
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
993 eval with_$ac_useropt=no ;;
996 # Obsolete; use --with-x.
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 ;;
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 ;;
1013 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1014 Try \`$0 --help' for more information"
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'" ;;
1024 eval $ac_envvar=\$ac_optarg
1025 export $ac_envvar ;;
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}"
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"
1043 if test -n "$ac_unrecognized_opts"; then
1044 case $enable_option_checking in
1046 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1047 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1057 eval ac_val=\$$ac_var
1058 # Remove trailing slashes.
1061 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1062 eval $ac_var=\$ac_val;;
1064 # Be sure to have absolute directory names.
1066 [\\/$]* | ?:[\\/]* ) continue;;
1067 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1069 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1077 target=$target_alias
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
1091 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1093 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1132 if test ! -r "$srcdir/$ac_unique_file"; then
1136 ac_srcdir_defaulted=no
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"
1142 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1144 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1146 # When building in place, set srcdir=.
1147 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1154 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1164 # Report the --help message.
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.
1170 \`configure' configures this package to adapt to many kinds of systems.
1172 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1177 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1201 For better control, use the options below.
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]
1229 if test -n "$ac_init_help"; then
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
1238 Report bugs to the package provider.
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"; } ||
1252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1268 .) # We are building in place.
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 ;;
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 ;;
1281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1283 cd "$ac_dir" || { ac_status=$?; continue; }
1284 # Check for guested configure.
1285 if test -f "$ac_srcdir/configure.gnu"; then
1287 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1288 elif test -f "$ac_srcdir/configure"; then
1290 $SHELL "$ac_srcdir/configure" --help=recursive
1292 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1294 cd "$ac_pwd" || { ac_status=$?; break; }
1298 test -n "$ac_init_help" && exit $ac_status
1299 if $ac_init_version; then
1302 generated by GNU Autoconf 2.68
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.
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.
1318 It was created by $as_me, which was
1319 generated by GNU Autoconf 2.68. Invocation command line was
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`
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`
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`
1350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1354 test -z "$as_dir" && as_dir=.
1355 $as_echo "PATH: $as_dir"
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.
1379 ac_must_keep_next=false
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)
1390 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1393 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1408 -* ) ac_must_keep_next=true ;;
1411 as_fn_append ac_configure_args " '$ac_arg'"
1416 { ac_configure_args0=; unset ac_configure_args0;}
1417 { ac_configure_args1=; unset ac_configure_args1;}
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.
1429 $as_echo "## ---------------- ##
1430 ## Cache variables. ##
1431 ## ---------------- ##"
1433 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1444 _ | IFS | as_nl) ;; #(
1445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1446 *) { eval $ac_var=; unset $ac_var;} ;;
1451 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1452 *${as_nl}ac_space=\ *)
1454 "s/'\''/'\''\\\\'\'''\''/g;
1455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1465 $as_echo "## ----------------- ##
1466 ## Output variables. ##
1467 ## ----------------- ##"
1469 for ac_var in $ac_subst_vars
1471 eval ac_val=\$$ac_var
1473 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1475 $as_echo "$ac_var='\''$ac_val'\''"
1479 if test -n "$ac_subst_files"; then
1480 $as_echo "## ------------------- ##
1481 ## File substitutions. ##
1482 ## ------------------- ##"
1484 for ac_var in $ac_subst_files
1486 eval ac_val=\$$ac_var
1488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1490 $as_echo "$ac_var='\''$ac_val'\''"
1495 if test -s confdefs.h; then
1496 $as_echo "## ----------- ##
1503 test "$ac_signal" != 0 &&
1504 $as_echo "$as_me: caught signal $ac_signal"
1505 $as_echo "$as_me: exit $exit_status"
1507 rm -f core *.core core.conftest.* &&
1508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1511 for ac_signal in 1 2 13 15; do
1512 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1517 rm -f -r conftest* confdefs.h
1519 $as_echo "/* confdefs.h */" > confdefs.h
1521 # Predefined preprocessor variables.
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_NAME "$PACKAGE_NAME"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_STRING "$PACKAGE_STRING"
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_URL "$PACKAGE_URL"
1548 # Let the site file select an alternate cache file if it wants to.
1549 # Prefer an explicitly selected file to automatically selected ones.
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;;
1559 elif test "x$prefix" != xNONE; then
1560 ac_site_file1=$prefix/share/config.site
1561 ac_site_file2=$prefix/etc/config.site
1563 ac_site_file1=$ac_default_prefix/share/config.site
1564 ac_site_file2=$ac_default_prefix/etc/config.site
1566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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; }
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;}
1588 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1589 *) . "./$cache_file";;
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1594 $as_echo "$as_me: creating cache $cache_file" >&6;}
1598 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1640 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
1655 ## -------------------- ##
1656 ## Main body of script. ##
1657 ## -------------------- ##
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
1672 for ac_dir in ${BUILD_DIR}/autoconf "$srcdir"/${BUILD_DIR}/autoconf; do
1673 if test -f "$ac_dir/install-sh"; then
1675 ac_install_sh="$ac_aux_dir/install-sh -c"
1677 elif test -f "$ac_dir/install.sh"; then
1679 ac_install_sh="$ac_aux_dir/install.sh -c"
1681 elif test -f "$ac_dir/shtool"; then
1683 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
1705 # ------------------------------------------
1706 # Where to get Bacula source
1707 # ------------------------------------------
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
1721 if test "x$bacula" = "x" ; then
1722 as_fn_error $? "The Bacula source directory must be specified. Use --with-bacula=<path>" "$LINENO" 5
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
1730 echo "configuring for Bacula $VERSION ($DATE)"
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
1743 ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1770 $as_echo "no" >&6; }
1774 test -n "$TRUEPRG" && break
1776 test -n "$TRUEPRG" || TRUEPRG=":"
1778 for ac_prog in false
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
1789 ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1816 $as_echo "no" >&6; }
1820 test -n "$FALSEPRG" && break
1822 test -n "$FALSEPRG" || FALSEPRG=":"
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
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
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
1871 rm -rf conftest.one conftest.two conftest.dir
1872 echo one > conftest.one
1873 echo two > conftest.two
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
1880 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1893 rm -rf conftest.one conftest.two conftest.dir
1896 if test "${ac_cv_path_install+set}" = set; then
1897 INSTALL=$ac_cv_path_install
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
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1907 $as_echo "$INSTALL" >&6; }
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}'
1913 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1915 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
1926 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1944 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1949 if test -n "$MV"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
1951 $as_echo "$MV" >&6; }
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1954 $as_echo "no" >&6; }
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
1967 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1985 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1990 if test -n "$RM"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
1992 $as_echo "$RM" >&6; }
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1995 $as_echo "no" >&6; }
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
2008 ac_cv_path_CP="$CP" # Let the user override the test with a path.
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2026 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
2031 if test -n "$CP"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
2033 $as_echo "$CP" >&6; }
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
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
2049 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2067 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
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; }
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2077 $as_echo "no" >&6; }
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
2090 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2108 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
2113 if test -n "$AR"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2115 $as_echo "$AR" >&6; }
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2118 $as_echo "no" >&6; }
2122 for ac_prog in gawk mawk nawk awk
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
2131 if test -n "$AWK"; then
2132 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2152 if test -n "$AWK"; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2154 $as_echo "$AWK" >&6; }
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2157 $as_echo "no" >&6; }
2161 test -n "$AWK" && break
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 :;
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
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
2185 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2203 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
2208 if test -n "$AWK"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2210 $as_echo "$AWK" >&6; }
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2213 $as_echo "no" >&6; }
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}
2229 MCOMMON=./autoconf/Make.common
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"
2235 ac_config_commands="$ac_config_commands default"
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.
2244 # config.status only pays attention to the cache file if you give it
2245 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
2268 _ | IFS | as_nl) ;; #(
2269 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2270 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
2282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2285 # `set' quotes correctly as required by POSIX, so do not add quotes.
2286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2295 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2297 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
2307 case $cache_file in #(
2309 mv -f confcache "$cache_file"$$ &&
2310 mv -f "$cache_file"$$ "$cache_file" ;; #(
2312 mv -f confcache "$cache_file" ;;
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;}
2323 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2324 # Let make expand exec_prefix.
2325 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2327 # Transform confdefs.h into DEFS.
2328 # Protect against shell expansion while executing Makefile rules.
2329 # Protect against Makefile macro expansion.
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.
2343 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2345 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2349 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2362 DEFS=`sed -n "$ac_script" confdefs.h`
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'
2379 LTLIBOBJS=$ac_ltlibobjs
2383 : "${CONFIG_STATUS=./config.status}"
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;}
2390 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
2401 SHELL=\${CONFIG_SHELL-$SHELL}
2404 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2405 ## -------------------- ##
2406 ## M4sh Initialization. ##
2407 ## -------------------- ##
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 :
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
2419 case `(set -o) 2>/dev/null` in #(
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'
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'
2449 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2450 as_echo_n_body='eval
2454 expr "X$arg" : "X\\(.*\\)$as_nl";
2455 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2457 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2459 export as_echo_n_body
2460 as_echo_n='sh -c $as_echo_n_body as_echo'
2463 as_echo='sh -c $as_echo_body as_echo'
2466 # The user is always right.
2467 if test "${PATH_SEPARATOR+set}" != set; then
2469 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2470 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
2483 # Find who we are. Look in the path if we contain no directory separator.
2486 *[\\/]* ) as_myself=$0 ;;
2487 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
2503 if test ! -f "$as_myself"; then
2504 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
2527 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
2537 as_status=$1; test $as_status -eq 0 && as_status=1
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
2542 $as_echo "$as_me: error: $2" >&2
2543 as_fn_exit $as_status
2547 # as_fn_set_status STATUS
2548 # -----------------------
2549 # Set $? to STATUS, without forking.
2553 } # as_fn_set_status
2557 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2567 # Portably unset VAR.
2570 { eval $1=; unset $1;}
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
2579 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2580 eval 'as_fn_append ()
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 ()
2604 as_val=`expr "$@" || test $? -eq 1`
2609 if expr a : '\(a\)' >/dev/null 2>&1 &&
2610 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2616 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2617 as_basename=basename
2622 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2628 as_me=`$as_basename -- "$0" ||
2629 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2630 X"$0" : 'X\(//\)$' \| \
2631 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2633 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
2654 ECHO_C= ECHO_N= ECHO_T=
2655 case `echo -n x` in #(((((
2657 case `echo 'xy\c'` in
2658 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2660 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2667 rm -f conf$$ conf$$.exe conf$$.file
2668 if test -d conf$$.dir; then
2669 rm -f conf$$.dir/conf$$.file
2672 mkdir conf$$.dir 2>/dev/null
2674 if (echo >conf$$.file) 2>/dev/null; then
2675 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2683 elif ln conf$$.file conf$$ 2>/dev/null; then
2691 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2692 rmdir conf$$.dir 2>/dev/null
2697 # Create "$as_dir" as a directory, including parents if necessary.
2702 -*) as_dir=./$as_dir;;
2704 test -d "$as_dir" || eval $as_mkdir_p || {
2708 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2709 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2735 test -d "$as_dir" && break
2737 test -z "$as_dirs" || eval "mkdir $as_dirs"
2738 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2742 if mkdir -p . 2>/dev/null; then
2743 as_mkdir_p='mkdir -p "$as_dir"'
2745 test -d ./-p && rmdir ./-p
2749 if test -x / >/dev/null 2>&1; then
2752 if ls -dL / >/dev/null 2>&1; then
2759 if test -d "$1"; then
2765 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2766 ???[sx]*):;;*)false;;esac;fi
2770 as_executable_p=$as_test_x
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'"
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'"
2780 ## ----------------------------------- ##
2781 ## Main body of $CONFIG_STATUS script. ##
2782 ## ----------------------------------- ##
2784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
2791 This file was extended by $as_me, which was
2792 generated by GNU Autoconf 2.68. Invocation command line was
2794 CONFIG_FILES = $CONFIG_FILES
2795 CONFIG_HEADERS = $CONFIG_HEADERS
2796 CONFIG_LINKS = $CONFIG_LINKS
2797 CONFIG_COMMANDS = $CONFIG_COMMANDS
2800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2805 case $ac_config_files in *"
2806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
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"
2818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
2824 Usage: $0 [OPTION]... [TAG]...
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
2836 Configuration files:
2839 Configuration commands:
2842 Report bugs to the package provider."
2845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2846 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2849 configured by $0, generated by GNU Autoconf 2.68,
2850 with options \\"\$ac_cs_config\\"
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."
2860 test -n "\$AWK" || AWK=awk
2863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2864 # The default lists apply if the user does not specify any file.
2870 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2871 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2887 # Handling of the options.
2888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
2896 --file | --fil | --fi | --f )
2899 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2900 '') as_fn_error $? "missing file argument" ;;
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)
2911 -*) as_fn_error $? "unrecognized option: \`$1'
2912 Try \`$0 --help' for more information." ;;
2914 *) as_fn_append ac_config_targets " $1"
2915 ac_need_defaults=false ;;
2921 ac_configure_extra_args=
2923 if $ac_cs_silent; then
2925 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
2933 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2934 CONFIG_SHELL='$SHELL'
2940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2944 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2945 ## Running $as_me. ##
2951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2956 # Handling of arguments.
2957 for ac_config_target in $ac_config_targets
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" ;;
2994 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
3017 trap 'exit_status=$?
3019 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3021 trap 'as_fn_exit 1' 1 2 13 15
3023 # Create a (secure) tmp directory for tmp files.
3026 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3030 tmp=./conf$$-$RANDOM
3031 (umask 077 && mkdir "$tmp")
3032 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
3040 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3042 ac_cs_awk_pipe_init=
3043 ac_cs_awk_read_file='
3044 while ((getline aline < (F[key])) > 0)
3047 ac_cs_awk_pipe_fini=
3049 ac_cs_awk_getline=false
3050 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3051 ac_cs_awk_read_file='
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 ":" }'
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\'
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
3072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3075 # Create commands to substitute file output variables.
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["&"]="$&"/' &&
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
3088 echo "cat >conf$$subs.awk <<_ACEOF" &&
3089 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3093 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
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
3102 elif $ac_last_try; then
3103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3105 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3111 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3115 s/^/S["/; s/!.*/"]=/
3125 s/\(.\{148\}\)..*/\1/
3127 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3139 s/\(.\{148\}\)..*/\1/
3141 s/["\\]/\\&/g; s/^/"/; s/$/"/
3145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3150 ' <conf$$subs.awk | sed '
3155 ' >>$CONFIG_STATUS || ac_write_fail=1
3156 rm -f conf$$subs.awk
3157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3159 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3160 for (key in S) S_is_set[key] = 1
3162 \$ac_cs_awk_pipe_init
3166 nfields = split(line, field, "@")
3168 len = length(field[1])
3169 for (i = 2; i < nfields; i++) {
3171 keylen = length(key)
3172 if (S_is_set[key]) {
3174 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3175 len += length(value) + length(field[++i])
3180 if (nfields == 3 && !substed) {
3182 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
3183 \$ac_cs_awk_read_file
3189 \$ac_cs_awk_pipe_fini
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"
3197 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3198 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
3224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3225 fi # test -n "$CONFIG_FILES"
3228 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3233 :[FHLC]) ac_mode=$ac_tag; continue;;
3235 case $ac_mode$ac_tag in
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;;
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 `:'.
3263 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3265 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3267 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3268 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
3291 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3292 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3320 as_dir="$ac_dir"; as_fn_mkdir_p
3324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3340 .) # We are building in place.
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 ;;
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 ;;
3353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3363 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3364 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
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=
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;}
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' ;;
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
3406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
3422 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3423 if $ac_cs_awk_getline; then
3424 $AWK -f "$ac_tmp/subs.awk"
3426 $AWK -f "$ac_tmp/subs.awk" | $SHELL
3428 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
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;}
3439 rm -f "$ac_tmp/stdin"
3441 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3442 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3448 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3449 $as_echo "$as_me: executing $ac_file commands" >&6;}
3454 case $ac_file$ac_mode in
3464 ac_clean_files=$ac_clean_files_save
3466 test $ac_write_fail = 0 ||
3467 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
3480 ac_config_status_args=
3481 test "$silent" = yes &&
3482 ac_config_status_args="$ac_config_status_args --quiet"
3484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}
3496 chmod 766 manuals/update_version
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/
3509 Configuration on `date`:
3511 Bacula version: ${VERSION} (${DATE})
3512 Bacula source code: ${bacula}