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