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