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