]> git.sur5r.net Git - bacula/rescue/blob - rescue/configure
Final changes
[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 CDSTL iso where type KERNEL bacula STATIC_FD 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-iso=PATH        specify path to iso (not implemented)
791   --with-cdrom=PATH    specify path to cdrom
792   --with-kernel=version  specify complete kernel version (e.g. 2.6.14-2)
793   --with-bacula=PATH    specify path to Bacula source
794   --with-static-fd=PATH    specify path to static FD
795
796 _ACEOF
797 fi
798
799 if test "$ac_init_help" = "recursive"; then
800   # If there are subdirs, report their specific --help.
801   ac_popdir=`pwd`
802   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
803     test -d $ac_dir || continue
804     ac_builddir=.
805
806 if test "$ac_dir" != .; then
807   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
808   # A "../" for each directory in $ac_dir_suffix.
809   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
810 else
811   ac_dir_suffix= ac_top_builddir=
812 fi
813
814 case $srcdir in
815   .)  # No --srcdir option.  We are building in place.
816     ac_srcdir=.
817     if test -z "$ac_top_builddir"; then
818        ac_top_srcdir=.
819     else
820        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
821     fi ;;
822   [\\/]* | ?:[\\/]* )  # Absolute path.
823     ac_srcdir=$srcdir$ac_dir_suffix;
824     ac_top_srcdir=$srcdir ;;
825   *) # Relative path.
826     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
827     ac_top_srcdir=$ac_top_builddir$srcdir ;;
828 esac
829
830 # Do not use `cd foo && pwd` to compute absolute paths, because
831 # the directories may not exist.
832 case `pwd` in
833 .) ac_abs_builddir="$ac_dir";;
834 *)
835   case "$ac_dir" in
836   .) ac_abs_builddir=`pwd`;;
837   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
838   *) ac_abs_builddir=`pwd`/"$ac_dir";;
839   esac;;
840 esac
841 case $ac_abs_builddir in
842 .) ac_abs_top_builddir=${ac_top_builddir}.;;
843 *)
844   case ${ac_top_builddir}. in
845   .) ac_abs_top_builddir=$ac_abs_builddir;;
846   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
847   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
848   esac;;
849 esac
850 case $ac_abs_builddir in
851 .) ac_abs_srcdir=$ac_srcdir;;
852 *)
853   case $ac_srcdir in
854   .) ac_abs_srcdir=$ac_abs_builddir;;
855   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
856   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
857   esac;;
858 esac
859 case $ac_abs_builddir in
860 .) ac_abs_top_srcdir=$ac_top_srcdir;;
861 *)
862   case $ac_top_srcdir in
863   .) ac_abs_top_srcdir=$ac_abs_builddir;;
864   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
865   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
866   esac;;
867 esac
868
869     cd $ac_dir
870     # Check for guested configure; otherwise get Cygnus style configure.
871     if test -f $ac_srcdir/configure.gnu; then
872       echo
873       $SHELL $ac_srcdir/configure.gnu  --help=recursive
874     elif test -f $ac_srcdir/configure; then
875       echo
876       $SHELL $ac_srcdir/configure  --help=recursive
877     elif test -f $ac_srcdir/configure.ac ||
878            test -f $ac_srcdir/configure.in; then
879       echo
880       $ac_configure --help
881     else
882       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
883     fi
884     cd $ac_popdir
885   done
886 fi
887
888 test -n "$ac_init_help" && exit 0
889 if $ac_init_version; then
890   cat <<\_ACEOF
891
892 Copyright (C) 2003 Free Software Foundation, Inc.
893 This configure script is free software; the Free Software Foundation
894 gives unlimited permission to copy, distribute and modify it.
895 _ACEOF
896   exit 0
897 fi
898 exec 5>config.log
899 cat >&5 <<_ACEOF
900 This file contains any messages produced by compilers while
901 running configure, to aid debugging if configure makes a mistake.
902
903 It was created by $as_me, which was
904 generated by GNU Autoconf 2.59.  Invocation command line was
905
906   $ $0 $@
907
908 _ACEOF
909 {
910 cat <<_ASUNAME
911 ## --------- ##
912 ## Platform. ##
913 ## --------- ##
914
915 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
916 uname -m = `(uname -m) 2>/dev/null || echo unknown`
917 uname -r = `(uname -r) 2>/dev/null || echo unknown`
918 uname -s = `(uname -s) 2>/dev/null || echo unknown`
919 uname -v = `(uname -v) 2>/dev/null || echo unknown`
920
921 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
922 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
923
924 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
925 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
926 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
927 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
928 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
929 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
930 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
931
932 _ASUNAME
933
934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
935 for as_dir in $PATH
936 do
937   IFS=$as_save_IFS
938   test -z "$as_dir" && as_dir=.
939   echo "PATH: $as_dir"
940 done
941
942 } >&5
943
944 cat >&5 <<_ACEOF
945
946
947 ## ----------- ##
948 ## Core tests. ##
949 ## ----------- ##
950
951 _ACEOF
952
953
954 # Keep a trace of the command line.
955 # Strip out --no-create and --no-recursion so they do not pile up.
956 # Strip out --silent because we don't want to record it for future runs.
957 # Also quote any args containing shell meta-characters.
958 # Make two passes to allow for proper duplicate-argument suppression.
959 ac_configure_args=
960 ac_configure_args0=
961 ac_configure_args1=
962 ac_sep=
963 ac_must_keep_next=false
964 for ac_pass in 1 2
965 do
966   for ac_arg
967   do
968     case $ac_arg in
969     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
970     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971     | -silent | --silent | --silen | --sile | --sil)
972       continue ;;
973     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
974       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
975     esac
976     case $ac_pass in
977     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
978     2)
979       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
980       if test $ac_must_keep_next = true; then
981         ac_must_keep_next=false # Got value, back to normal.
982       else
983         case $ac_arg in
984           *=* | --config-cache | -C | -disable-* | --disable-* \
985           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
986           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
987           | -with-* | --with-* | -without-* | --without-* | --x)
988             case "$ac_configure_args0 " in
989               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
990             esac
991             ;;
992           -* ) ac_must_keep_next=true ;;
993         esac
994       fi
995       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
996       # Get rid of the leading space.
997       ac_sep=" "
998       ;;
999     esac
1000   done
1001 done
1002 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1003 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1004
1005 # When interrupted or exit'd, cleanup temporary files, and complete
1006 # config.log.  We remove comments because anyway the quotes in there
1007 # would cause problems or look ugly.
1008 # WARNING: Be sure not to use single quotes in there, as some shells,
1009 # such as our DU 5.0 friend, will then `close' the trap.
1010 trap 'exit_status=$?
1011   # Save into config.log some information that might help in debugging.
1012   {
1013     echo
1014
1015     cat <<\_ASBOX
1016 ## ---------------- ##
1017 ## Cache variables. ##
1018 ## ---------------- ##
1019 _ASBOX
1020     echo
1021     # The following way of writing the cache mishandles newlines in values,
1022 {
1023   (set) 2>&1 |
1024     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1025     *ac_space=\ *)
1026       sed -n \
1027         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1028           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1029       ;;
1030     *)
1031       sed -n \
1032         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1033       ;;
1034     esac;
1035 }
1036     echo
1037
1038     cat <<\_ASBOX
1039 ## ----------------- ##
1040 ## Output variables. ##
1041 ## ----------------- ##
1042 _ASBOX
1043     echo
1044     for ac_var in $ac_subst_vars
1045     do
1046       eval ac_val=$`echo $ac_var`
1047       echo "$ac_var='"'"'$ac_val'"'"'"
1048     done | sort
1049     echo
1050
1051     if test -n "$ac_subst_files"; then
1052       cat <<\_ASBOX
1053 ## ------------- ##
1054 ## Output files. ##
1055 ## ------------- ##
1056 _ASBOX
1057       echo
1058       for ac_var in $ac_subst_files
1059       do
1060         eval ac_val=$`echo $ac_var`
1061         echo "$ac_var='"'"'$ac_val'"'"'"
1062       done | sort
1063       echo
1064     fi
1065
1066     if test -s confdefs.h; then
1067       cat <<\_ASBOX
1068 ## ----------- ##
1069 ## confdefs.h. ##
1070 ## ----------- ##
1071 _ASBOX
1072       echo
1073       sed "/^$/d" confdefs.h | sort
1074       echo
1075     fi
1076     test "$ac_signal" != 0 &&
1077       echo "$as_me: caught signal $ac_signal"
1078     echo "$as_me: exit $exit_status"
1079   } >&5
1080   rm -f core *.core &&
1081   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1082     exit $exit_status
1083      ' 0
1084 for ac_signal in 1 2 13 15; do
1085   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1086 done
1087 ac_signal=0
1088
1089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1090 rm -rf conftest* confdefs.h
1091 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1092 echo >confdefs.h
1093
1094 # Predefined preprocessor variables.
1095
1096 cat >>confdefs.h <<_ACEOF
1097 #define PACKAGE_NAME "$PACKAGE_NAME"
1098 _ACEOF
1099
1100
1101 cat >>confdefs.h <<_ACEOF
1102 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1103 _ACEOF
1104
1105
1106 cat >>confdefs.h <<_ACEOF
1107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1108 _ACEOF
1109
1110
1111 cat >>confdefs.h <<_ACEOF
1112 #define PACKAGE_STRING "$PACKAGE_STRING"
1113 _ACEOF
1114
1115
1116 cat >>confdefs.h <<_ACEOF
1117 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1118 _ACEOF
1119
1120
1121 # Let the site file select an alternate cache file if it wants to.
1122 # Prefer explicitly selected file to automatically selected ones.
1123 if test -z "$CONFIG_SITE"; then
1124   if test "x$prefix" != xNONE; then
1125     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126   else
1127     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1128   fi
1129 fi
1130 for ac_site_file in $CONFIG_SITE; do
1131   if test -r "$ac_site_file"; then
1132     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1133 echo "$as_me: loading site script $ac_site_file" >&6;}
1134     sed 's/^/| /' "$ac_site_file" >&5
1135     . "$ac_site_file"
1136   fi
1137 done
1138
1139 if test -r "$cache_file"; then
1140   # Some versions of bash will fail to source /dev/null (special
1141   # files actually), so we avoid doing that.
1142   if test -f "$cache_file"; then
1143     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1144 echo "$as_me: loading cache $cache_file" >&6;}
1145     case $cache_file in
1146       [\\/]* | ?:[\\/]* ) . $cache_file;;
1147       *)                      . ./$cache_file;;
1148     esac
1149   fi
1150 else
1151   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1152 echo "$as_me: creating cache $cache_file" >&6;}
1153   >$cache_file
1154 fi
1155
1156 # Check that the precious variables saved in the cache have kept the same
1157 # value.
1158 ac_cache_corrupted=false
1159 for ac_var in `(set) 2>&1 |
1160                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1161   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1162   eval ac_new_set=\$ac_env_${ac_var}_set
1163   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1164   eval ac_new_val="\$ac_env_${ac_var}_value"
1165   case $ac_old_set,$ac_new_set in
1166     set,)
1167       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1168 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1169       ac_cache_corrupted=: ;;
1170     ,set)
1171       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1172 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1173       ac_cache_corrupted=: ;;
1174     ,);;
1175     *)
1176       if test "x$ac_old_val" != "x$ac_new_val"; then
1177         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1178 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1179         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1180 echo "$as_me:   former value:  $ac_old_val" >&2;}
1181         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1182 echo "$as_me:   current value: $ac_new_val" >&2;}
1183         ac_cache_corrupted=:
1184       fi;;
1185   esac
1186   # Pass precious variables to config.status.
1187   if test "$ac_new_set" = set; then
1188     case $ac_new_val in
1189     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1190       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1191     *) ac_arg=$ac_var=$ac_new_val ;;
1192     esac
1193     case " $ac_configure_args " in
1194       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1195       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1196     esac
1197   fi
1198 done
1199 if $ac_cache_corrupted; then
1200   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1201 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1202   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1203 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1204    { (exit 1); exit 1; }; }
1205 fi
1206
1207 ac_ext=c
1208 ac_cpp='$CPP $CPPFLAGS'
1209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231 BUILD_DIR=`pwd`
1232 cd ..
1233 TOP_DIR=`pwd`
1234 cd ${BUILD_DIR}
1235
1236 ac_aux_dir=
1237 for ac_dir in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf; do
1238   if test -f $ac_dir/install-sh; then
1239     ac_aux_dir=$ac_dir
1240     ac_install_sh="$ac_aux_dir/install-sh -c"
1241     break
1242   elif test -f $ac_dir/install.sh; then
1243     ac_aux_dir=$ac_dir
1244     ac_install_sh="$ac_aux_dir/install.sh -c"
1245     break
1246   elif test -f $ac_dir/shtool; then
1247     ac_aux_dir=$ac_dir
1248     ac_install_sh="$ac_aux_dir/shtool install -c"
1249     break
1250   fi
1251 done
1252 if test -z "$ac_aux_dir"; then
1253   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&5
1254 echo "$as_me: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&2;}
1255    { (exit 1); exit 1; }; }
1256 fi
1257 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1258 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1259 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1260
1261
1262
1263
1264
1265 for ac_prog in true
1266 do
1267   # Extract the first word of "$ac_prog", so it can be a program name with args.
1268 set dummy $ac_prog; ac_word=$2
1269 echo "$as_me:$LINENO: checking for $ac_word" >&5
1270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1271 if test "${ac_cv_path_TRUEPRG+set}" = set; then
1272   echo $ECHO_N "(cached) $ECHO_C" >&6
1273 else
1274   case $TRUEPRG in
1275   [\\/]* | ?:[\\/]*)
1276   ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1277   ;;
1278   *)
1279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1280 for as_dir in $PATH
1281 do
1282   IFS=$as_save_IFS
1283   test -z "$as_dir" && as_dir=.
1284   for ac_exec_ext in '' $ac_executable_extensions; do
1285   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1286     ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1288     break 2
1289   fi
1290 done
1291 done
1292
1293   ;;
1294 esac
1295 fi
1296 TRUEPRG=$ac_cv_path_TRUEPRG
1297
1298 if test -n "$TRUEPRG"; then
1299   echo "$as_me:$LINENO: result: $TRUEPRG" >&5
1300 echo "${ECHO_T}$TRUEPRG" >&6
1301 else
1302   echo "$as_me:$LINENO: result: no" >&5
1303 echo "${ECHO_T}no" >&6
1304 fi
1305
1306   test -n "$TRUEPRG" && break
1307 done
1308 test -n "$TRUEPRG" || TRUEPRG=":"
1309
1310 for ac_prog in false
1311 do
1312   # Extract the first word of "$ac_prog", so it can be a program name with args.
1313 set dummy $ac_prog; ac_word=$2
1314 echo "$as_me:$LINENO: checking for $ac_word" >&5
1315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1316 if test "${ac_cv_path_FALSEPRG+set}" = set; then
1317   echo $ECHO_N "(cached) $ECHO_C" >&6
1318 else
1319   case $FALSEPRG in
1320   [\\/]* | ?:[\\/]*)
1321   ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1322   ;;
1323   *)
1324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 for as_dir in $PATH
1326 do
1327   IFS=$as_save_IFS
1328   test -z "$as_dir" && as_dir=.
1329   for ac_exec_ext in '' $ac_executable_extensions; do
1330   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1331     ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1332     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1333     break 2
1334   fi
1335 done
1336 done
1337
1338   ;;
1339 esac
1340 fi
1341 FALSEPRG=$ac_cv_path_FALSEPRG
1342
1343 if test -n "$FALSEPRG"; then
1344   echo "$as_me:$LINENO: result: $FALSEPRG" >&5
1345 echo "${ECHO_T}$FALSEPRG" >&6
1346 else
1347   echo "$as_me:$LINENO: result: no" >&5
1348 echo "${ECHO_T}no" >&6
1349 fi
1350
1351   test -n "$FALSEPRG" && break
1352 done
1353 test -n "$FALSEPRG" || FALSEPRG=":"
1354
1355
1356 for ac_prog in gawk mawk nawk awk
1357 do
1358   # Extract the first word of "$ac_prog", so it can be a program name with args.
1359 set dummy $ac_prog; ac_word=$2
1360 echo "$as_me:$LINENO: checking for $ac_word" >&5
1361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1362 if test "${ac_cv_prog_AWK+set}" = set; then
1363   echo $ECHO_N "(cached) $ECHO_C" >&6
1364 else
1365   if test -n "$AWK"; then
1366   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1367 else
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369 for as_dir in $PATH
1370 do
1371   IFS=$as_save_IFS
1372   test -z "$as_dir" && as_dir=.
1373   for ac_exec_ext in '' $ac_executable_extensions; do
1374   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1375     ac_cv_prog_AWK="$ac_prog"
1376     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1377     break 2
1378   fi
1379 done
1380 done
1381
1382 fi
1383 fi
1384 AWK=$ac_cv_prog_AWK
1385 if test -n "$AWK"; then
1386   echo "$as_me:$LINENO: result: $AWK" >&5
1387 echo "${ECHO_T}$AWK" >&6
1388 else
1389   echo "$as_me:$LINENO: result: no" >&5
1390 echo "${ECHO_T}no" >&6
1391 fi
1392
1393   test -n "$AWK" && break
1394 done
1395
1396 # Some AWK programs fail, so test it and warn the user
1397 if echo xfoo | $AWK 'BEGIN { prog=ARGV1; ARGC=1 }
1398       { if ((prog == $2) || (("(" prog ")") == $2) ||
1399            (("" prog "") == $2) ||
1400            ((prog ":") == $2)) { print $1 ; exit 0 } }' xfoo>/dev/null; then :;
1401 else
1402   { { echo "$as_me:$LINENO: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
1403    The regex engine of $AWK is too broken to be used you
1404    might want to install GNU AWK.
1405    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&5
1406 echo "$as_me: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
1407    The regex engine of $AWK is too broken to be used you
1408    might want to install GNU AWK.
1409    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&2;}
1410    { (exit 1); exit 1; }; }
1411 fi
1412 THE_AWK=$AWK
1413 # Extract the first word of "$THE_AWK", so it can be a program name with args.
1414 set dummy $THE_AWK; ac_word=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_path_AWK+set}" = set; then
1418   echo $ECHO_N "(cached) $ECHO_C" >&6
1419 else
1420   case $AWK in
1421   [\\/]* | ?:[\\/]*)
1422   ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
1423   ;;
1424   *)
1425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 for as_dir in $PATH
1427 do
1428   IFS=$as_save_IFS
1429   test -z "$as_dir" && as_dir=.
1430   for ac_exec_ext in '' $ac_executable_extensions; do
1431   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1432     ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
1433     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1434     break 2
1435   fi
1436 done
1437 done
1438
1439   test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
1440   ;;
1441 esac
1442 fi
1443 AWK=$ac_cv_path_AWK
1444
1445 if test -n "$AWK"; then
1446   echo "$as_me:$LINENO: result: $AWK" >&5
1447 echo "${ECHO_T}$AWK" >&6
1448 else
1449   echo "$as_me:$LINENO: result: no" >&5
1450 echo "${ECHO_T}no" >&6
1451 fi
1452
1453
1454
1455 VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/version.h`
1456 DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/version.h`
1457 echo "configuring for Rescue $VERSION ($DATE)"
1458
1459
1460 # Find a good install program.  We prefer a C program (faster),
1461 # so one script is as good as another.  But avoid the broken or
1462 # incompatible versions:
1463 # SysV /etc/install, /usr/sbin/install
1464 # SunOS /usr/etc/install
1465 # IRIX /sbin/install
1466 # AIX /bin/install
1467 # AmigaOS /C/install, which installs bootblocks on floppy discs
1468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1471 # OS/2's system install, which has a completely different semantic
1472 # ./install, which can be erroneously created by make from ./install.sh.
1473 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1474 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1475 if test -z "$INSTALL"; then
1476 if test "${ac_cv_path_install+set}" = set; then
1477   echo $ECHO_N "(cached) $ECHO_C" >&6
1478 else
1479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 for as_dir in $PATH
1481 do
1482   IFS=$as_save_IFS
1483   test -z "$as_dir" && as_dir=.
1484   # Account for people who put trailing slashes in PATH elements.
1485 case $as_dir/ in
1486   ./ | .// | /cC/* | \
1487   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1488   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1489   /usr/ucb/* ) ;;
1490   *)
1491     # OSF1 and SCO ODT 3.0 have their own names for install.
1492     # Don't use installbsd from OSF since it installs stuff as root
1493     # by default.
1494     for ac_prog in ginstall scoinst install; do
1495       for ac_exec_ext in '' $ac_executable_extensions; do
1496         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1497           if test $ac_prog = install &&
1498             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1499             # AIX install.  It has an incompatible calling convention.
1500             :
1501           elif test $ac_prog = install &&
1502             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1503             # program-specific install script used by HP pwplus--don't use.
1504             :
1505           else
1506             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1507             break 3
1508           fi
1509         fi
1510       done
1511     done
1512     ;;
1513 esac
1514 done
1515
1516
1517 fi
1518   if test "${ac_cv_path_install+set}" = set; then
1519     INSTALL=$ac_cv_path_install
1520   else
1521     # As a last resort, use the slow shell script.  We don't cache a
1522     # path for INSTALL within a source directory, because that will
1523     # break other packages using the cache if that directory is
1524     # removed, or if the path is relative.
1525     INSTALL=$ac_install_sh
1526   fi
1527 fi
1528 echo "$as_me:$LINENO: result: $INSTALL" >&5
1529 echo "${ECHO_T}$INSTALL" >&6
1530
1531 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1532 # It thinks the first close brace ends the variable substitution.
1533 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1534
1535 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1536
1537 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1538
1539 # Extract the first word of "mv", so it can be a program name with args.
1540 set dummy mv; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_path_MV+set}" = set; then
1544   echo $ECHO_N "(cached) $ECHO_C" >&6
1545 else
1546   case $MV in
1547   [\\/]* | ?:[\\/]*)
1548   ac_cv_path_MV="$MV" # Let the user override the test with a path.
1549   ;;
1550   *)
1551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 for as_dir in $PATH
1553 do
1554   IFS=$as_save_IFS
1555   test -z "$as_dir" && as_dir=.
1556   for ac_exec_ext in '' $ac_executable_extensions; do
1557   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1559     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560     break 2
1561   fi
1562 done
1563 done
1564
1565   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1566   ;;
1567 esac
1568 fi
1569 MV=$ac_cv_path_MV
1570
1571 if test -n "$MV"; then
1572   echo "$as_me:$LINENO: result: $MV" >&5
1573 echo "${ECHO_T}$MV" >&6
1574 else
1575   echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1577 fi
1578
1579 # Extract the first word of "rm", so it can be a program name with args.
1580 set dummy rm; ac_word=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_path_RM+set}" = set; then
1584   echo $ECHO_N "(cached) $ECHO_C" >&6
1585 else
1586   case $RM in
1587   [\\/]* | ?:[\\/]*)
1588   ac_cv_path_RM="$RM" # Let the user override the test with a path.
1589   ;;
1590   *)
1591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 for as_dir in $PATH
1593 do
1594   IFS=$as_save_IFS
1595   test -z "$as_dir" && as_dir=.
1596   for ac_exec_ext in '' $ac_executable_extensions; do
1597   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1599     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600     break 2
1601   fi
1602 done
1603 done
1604
1605   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1606   ;;
1607 esac
1608 fi
1609 RM=$ac_cv_path_RM
1610
1611 if test -n "$RM"; then
1612   echo "$as_me:$LINENO: result: $RM" >&5
1613 echo "${ECHO_T}$RM" >&6
1614 else
1615   echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1617 fi
1618
1619 # Extract the first word of "cp", so it can be a program name with args.
1620 set dummy cp; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_path_CP+set}" = set; then
1624   echo $ECHO_N "(cached) $ECHO_C" >&6
1625 else
1626   case $CP in
1627   [\\/]* | ?:[\\/]*)
1628   ac_cv_path_CP="$CP" # Let the user override the test with a path.
1629   ;;
1630   *)
1631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1632 for as_dir in $PATH
1633 do
1634   IFS=$as_save_IFS
1635   test -z "$as_dir" && as_dir=.
1636   for ac_exec_ext in '' $ac_executable_extensions; do
1637   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1638     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1639     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640     break 2
1641   fi
1642 done
1643 done
1644
1645   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1646   ;;
1647 esac
1648 fi
1649 CP=$ac_cv_path_CP
1650
1651 if test -n "$CP"; then
1652   echo "$as_me:$LINENO: result: $CP" >&5
1653 echo "${ECHO_T}$CP" >&6
1654 else
1655   echo "$as_me:$LINENO: result: no" >&5
1656 echo "${ECHO_T}no" >&6
1657 fi
1658
1659 # Extract the first word of "echo", so it can be a program name with args.
1660 set dummy echo; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_path_ECHO+set}" = set; then
1664   echo $ECHO_N "(cached) $ECHO_C" >&6
1665 else
1666   case $ECHO in
1667   [\\/]* | ?:[\\/]*)
1668   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
1669   ;;
1670   *)
1671   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 for as_dir in $PATH
1673 do
1674   IFS=$as_save_IFS
1675   test -z "$as_dir" && as_dir=.
1676   for ac_exec_ext in '' $ac_executable_extensions; do
1677   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
1679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680     break 2
1681   fi
1682 done
1683 done
1684
1685   test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
1686   ;;
1687 esac
1688 fi
1689 ECHO=$ac_cv_path_ECHO
1690
1691 if test -n "$ECHO"; then
1692   echo "$as_me:$LINENO: result: $ECHO" >&5
1693 echo "${ECHO_T}$ECHO" >&6
1694 else
1695   echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1697 fi
1698
1699 # Extract the first word of "ar", so it can be a program name with args.
1700 set dummy ar; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_path_AR+set}" = set; then
1704   echo $ECHO_N "(cached) $ECHO_C" >&6
1705 else
1706   case $AR in
1707   [\\/]* | ?:[\\/]*)
1708   ac_cv_path_AR="$AR" # Let the user override the test with a path.
1709   ;;
1710   *)
1711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 for as_dir in $PATH
1713 do
1714   IFS=$as_save_IFS
1715   test -z "$as_dir" && as_dir=.
1716   for ac_exec_ext in '' $ac_executable_extensions; do
1717   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
1719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720     break 2
1721   fi
1722 done
1723 done
1724
1725   test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
1726   ;;
1727 esac
1728 fi
1729 AR=$ac_cv_path_AR
1730
1731 if test -n "$AR"; then
1732   echo "$as_me:$LINENO: result: $AR" >&5
1733 echo "${ECHO_T}$AR" >&6
1734 else
1735   echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1737 fi
1738
1739 # Extract the first word of "cdrecord", so it can be a program name with args.
1740 set dummy cdrecord; ac_word=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_path_CDRECORD+set}" = set; then
1744   echo $ECHO_N "(cached) $ECHO_C" >&6
1745 else
1746   case $CDRECORD in
1747   [\\/]* | ?:[\\/]*)
1748   ac_cv_path_CDRECORD="$CDRECORD" # Let the user override the test with a path.
1749   ;;
1750   *)
1751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 for as_dir in $PATH
1753 do
1754   IFS=$as_save_IFS
1755   test -z "$as_dir" && as_dir=.
1756   for ac_exec_ext in '' $ac_executable_extensions; do
1757   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758     ac_cv_path_CDRECORD="$as_dir/$ac_word$ac_exec_ext"
1759     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760     break 2
1761   fi
1762 done
1763 done
1764
1765   test -z "$ac_cv_path_CDRECORD" && ac_cv_path_CDRECORD="cdrecord"
1766   ;;
1767 esac
1768 fi
1769 CDRECORD=$ac_cv_path_CDRECORD
1770
1771 if test -n "$CDRECORD"; then
1772   echo "$as_me:$LINENO: result: $CDRECORD" >&5
1773 echo "${ECHO_T}$CDRECORD" >&6
1774 else
1775   echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1777 fi
1778
1779
1780 # Make sure we can run config.sub.
1781 $ac_config_sub sun4 >/dev/null 2>&1 ||
1782   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1783 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1784    { (exit 1); exit 1; }; }
1785
1786 echo "$as_me:$LINENO: checking build system type" >&5
1787 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1788 if test "${ac_cv_build+set}" = set; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   ac_cv_build_alias=$build_alias
1792 test -z "$ac_cv_build_alias" &&
1793   ac_cv_build_alias=`$ac_config_guess`
1794 test -z "$ac_cv_build_alias" &&
1795   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1796 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1797    { (exit 1); exit 1; }; }
1798 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1799   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1800 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1801    { (exit 1); exit 1; }; }
1802
1803 fi
1804 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1805 echo "${ECHO_T}$ac_cv_build" >&6
1806 build=$ac_cv_build
1807 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1808 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1809 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1810
1811
1812
1813 echo "$as_me:$LINENO: checking host system type" >&5
1814 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1815 if test "${ac_cv_host+set}" = set; then
1816   echo $ECHO_N "(cached) $ECHO_C" >&6
1817 else
1818   ac_cv_host_alias=$host_alias
1819 test -z "$ac_cv_host_alias" &&
1820   ac_cv_host_alias=$ac_cv_build_alias
1821 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1822   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1823 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1824    { (exit 1); exit 1; }; }
1825
1826 fi
1827 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1828 echo "${ECHO_T}$ac_cv_host" >&6
1829 host=$ac_cv_host
1830 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1831 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1832 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1833
1834
1835 case $host_os in
1836   *cygwin* ) CYGWIN=yes;;
1837          * ) CYGWIN=no;;
1838 esac
1839
1840 if test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
1841 then
1842
1843
1844 if $TRUEPRG; then
1845   HAVE_SUN_OS_TRUE=
1846   HAVE_SUN_OS_FALSE='#'
1847 else
1848   HAVE_SUN_OS_TRUE='#'
1849   HAVE_SUN_OS_FALSE=
1850 fi
1851         cat >>confdefs.h <<\_ACEOF
1852 #define HAVE_SUN_OS 1
1853 _ACEOF
1854
1855 else
1856
1857
1858 if $FALSEPRG; then
1859   HAVE_SUN_OS_TRUE=
1860   HAVE_SUN_OS_FALSE='#'
1861 else
1862   HAVE_SUN_OS_TRUE='#'
1863   HAVE_SUN_OS_FALSE=
1864 fi
1865 fi
1866
1867 if test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
1868 then
1869
1870
1871 if $TRUEPRG; then
1872   HAVE_OSF1_OS_TRUE=
1873   HAVE_OSF1_OS_FALSE='#'
1874 else
1875   HAVE_OSF1_OS_TRUE='#'
1876   HAVE_OSF1_OS_FALSE=
1877 fi
1878         cat >>confdefs.h <<\_ACEOF
1879 #define HAVE_OSF1_OS 1
1880 _ACEOF
1881
1882 else
1883
1884
1885 if $FALSEPRG; then
1886   HAVE_OSF1_OS_TRUE=
1887   HAVE_OSF1_OS_FALSE='#'
1888 else
1889   HAVE_OSF1_OS_TRUE='#'
1890   HAVE_OSF1_OS_FALSE=
1891 fi
1892 fi
1893
1894 if test $HAVE_UNAME=yes -a x`uname -s` = xAIX
1895 then
1896
1897
1898 if $TRUEPRG; then
1899   HAVE_AIX_OS_TRUE=
1900   HAVE_AIX_OS_FALSE='#'
1901 else
1902   HAVE_AIX_OS_TRUE='#'
1903   HAVE_AIX_OS_FALSE=
1904 fi
1905         cat >>confdefs.h <<\_ACEOF
1906 #define HAVE_AIX_OS 1
1907 _ACEOF
1908
1909 else
1910
1911
1912 if $FALSEPRG; then
1913   HAVE_AIX_OS_TRUE=
1914   HAVE_AIX_OS_FALSE='#'
1915 else
1916   HAVE_AIX_OS_TRUE='#'
1917   HAVE_AIX_OS_FALSE=
1918 fi
1919 fi
1920
1921 if test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
1922 then
1923
1924
1925 if $TRUEPRG; then
1926   HAVE_HPUX_OS_TRUE=
1927   HAVE_HPUX_OS_FALSE='#'
1928 else
1929   HAVE_HPUX_OS_TRUE='#'
1930   HAVE_HPUX_OS_FALSE=
1931 fi
1932         cat >>confdefs.h <<\_ACEOF
1933 #define HAVE_HPUX_OS 1
1934 _ACEOF
1935
1936 else
1937
1938
1939 if $FALSEPRG; then
1940   HAVE_HPUX_OS_TRUE=
1941   HAVE_HPUX_OS_FALSE='#'
1942 else
1943   HAVE_HPUX_OS_TRUE='#'
1944   HAVE_HPUX_OS_FALSE=
1945 fi
1946 fi
1947
1948 if test $HAVE_UNAME=yes -a x`uname -s` = xLinux
1949 then
1950
1951
1952 if $TRUEPRG; then
1953   HAVE_LINUX_OS_TRUE=
1954   HAVE_LINUX_OS_FALSE='#'
1955 else
1956   HAVE_LINUX_OS_TRUE='#'
1957   HAVE_LINUX_OS_FALSE=
1958 fi
1959         cat >>confdefs.h <<\_ACEOF
1960 #define HAVE_LINUX_OS 1
1961 _ACEOF
1962
1963 else
1964
1965
1966 if $FALSEPRG; then
1967   HAVE_LINUX_OS_TRUE=
1968   HAVE_LINUX_OS_FALSE='#'
1969 else
1970   HAVE_LINUX_OS_TRUE='#'
1971   HAVE_LINUX_OS_FALSE=
1972 fi
1973 fi
1974
1975 if test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
1976 then
1977
1978
1979 if $TRUEPRG; then
1980   HAVE_FREEBSD_OS_TRUE=
1981   HAVE_FREEBSD_OS_FALSE='#'
1982 else
1983   HAVE_FREEBSD_OS_TRUE='#'
1984   HAVE_FREEBSD_OS_FALSE=
1985 fi
1986         cat >>confdefs.h <<\_ACEOF
1987 #define HAVE_FREEBSD_OS 1
1988 _ACEOF
1989
1990 else
1991
1992
1993 if $FALSEPRG; then
1994   HAVE_FREEBSD_OS_TRUE=
1995   HAVE_FREEBSD_OS_FALSE='#'
1996 else
1997   HAVE_FREEBSD_OS_TRUE='#'
1998   HAVE_FREEBSD_OS_FALSE=
1999 fi
2000 fi
2001
2002 if test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
2003 then
2004
2005
2006 if $TRUEPRG; then
2007   HAVE_NETBSD_OS_TRUE=
2008   HAVE_NETBSD_OS_FALSE='#'
2009 else
2010   HAVE_NETBSD_OS_TRUE='#'
2011   HAVE_NETBSD_OS_FALSE=
2012 fi
2013         cat >>confdefs.h <<\_ACEOF
2014 #define HAVE_NETBSD_OS 1
2015 _ACEOF
2016
2017 else
2018
2019
2020 if $FALSEPRG; then
2021   HAVE_NETBSD_OS_TRUE=
2022   HAVE_NETBSD_OS_FALSE='#'
2023 else
2024   HAVE_NETBSD_OS_TRUE='#'
2025   HAVE_NETBSD_OS_FALSE=
2026 fi
2027 fi
2028
2029 if test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
2030 then
2031
2032
2033 if $TRUEPRG; then
2034   HAVE_OPENBSD_OS_TRUE=
2035   HAVE_OPENBSD_OS_FALSE='#'
2036 else
2037   HAVE_OPENBSD_OS_TRUE='#'
2038   HAVE_OPENBSD_OS_FALSE=
2039 fi
2040         cat >>confdefs.h <<\_ACEOF
2041 #define HAVE_OPENBSD_OS 1
2042 _ACEOF
2043
2044 else
2045
2046
2047 if $FALSEPRG; then
2048   HAVE_OPENBSD_OS_TRUE=
2049   HAVE_OPENBSD_OS_FALSE='#'
2050 else
2051   HAVE_OPENBSD_OS_TRUE='#'
2052   HAVE_OPENBSD_OS_FALSE=
2053 fi
2054 fi
2055
2056 if test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
2057 then
2058
2059
2060 if $TRUEPRG; then
2061   HAVE_BSDI_OS_TRUE=
2062   HAVE_BSDI_OS_FALSE='#'
2063 else
2064   HAVE_BSDI_OS_TRUE='#'
2065   HAVE_BSDI_OS_FALSE=
2066 fi
2067         cat >>confdefs.h <<\_ACEOF
2068 #define HAVE_BSDI_OS 1
2069 _ACEOF
2070
2071 else
2072
2073
2074 if $FALSEPRG; then
2075   HAVE_BSDI_OS_TRUE=
2076   HAVE_BSDI_OS_FALSE='#'
2077 else
2078   HAVE_BSDI_OS_TRUE='#'
2079   HAVE_BSDI_OS_FALSE=
2080 fi
2081 fi
2082
2083 if test $HAVE_UNAME=yes -a x`uname -s` = xSGI
2084 then
2085
2086
2087 if $TRUEPRG; then
2088   HAVE_SGI_OS_TRUE=
2089   HAVE_SGI_OS_FALSE='#'
2090 else
2091   HAVE_SGI_OS_TRUE='#'
2092   HAVE_SGI_OS_FALSE=
2093 fi
2094         cat >>confdefs.h <<\_ACEOF
2095 #define HAVE_SGI_OS 1
2096 _ACEOF
2097
2098 else
2099
2100
2101 if $FALSEPRG; then
2102   HAVE_SGI_OS_TRUE=
2103   HAVE_SGI_OS_FALSE='#'
2104 else
2105   HAVE_SGI_OS_TRUE='#'
2106   HAVE_SGI_OS_FALSE=
2107 fi
2108 fi
2109
2110 if test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
2111 then
2112
2113
2114 if $TRUEPRG; then
2115   HAVE_IRIX_OS_TRUE=
2116   HAVE_IRIX_OS_FALSE='#'
2117 else
2118   HAVE_IRIX_OS_TRUE='#'
2119   HAVE_IRIX_OS_FALSE=
2120 fi
2121         cat >>confdefs.h <<\_ACEOF
2122 #define HAVE_IRIX_OS 1
2123 _ACEOF
2124
2125 else
2126
2127
2128 if $FALSEPRG; then
2129   HAVE_IRIX_OS_TRUE=
2130   HAVE_IRIX_OS_FALSE='#'
2131 else
2132   HAVE_IRIX_OS_TRUE='#'
2133   HAVE_IRIX_OS_FALSE=
2134 fi
2135 fi
2136
2137 if test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
2138 then
2139
2140
2141 if $TRUEPRG; then
2142   HAVE_DARWIN_OS_TRUE=
2143   HAVE_DARWIN_OS_FALSE='#'
2144 else
2145   HAVE_DARWIN_OS_TRUE='#'
2146   HAVE_DARWIN_OS_FALSE=
2147 fi
2148     cat >>confdefs.h <<\_ACEOF
2149 #define HAVE_DARWIN_OS 1
2150 _ACEOF
2151
2152 else
2153
2154
2155 if $FALSEPRG; then
2156   HAVE_DARWIN_OS_TRUE=
2157   HAVE_DARWIN_OS_FALSE='#'
2158 else
2159   HAVE_DARWIN_OS_TRUE='#'
2160   HAVE_DARWIN_OS_FALSE=
2161 fi
2162 fi
2163
2164
2165 # -----------------------------------------------------------
2166 # ----------------------------------------------------------
2167 echo "$as_me:$LINENO: checking for Operating System Distribution" >&5
2168 echo $ECHO_N "checking for Operating System Distribution... $ECHO_C" >&6
2169 if test "x$DISTNAME" != "x"
2170 then
2171         echo "distname set to $DISTNAME"
2172 elif test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
2173 then
2174         DISTNAME=alpha
2175 elif test $HAVE_UNAME=yes -a x`uname -s` = xAIX
2176 then
2177         DISTNAME=aix
2178 elif test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
2179 then
2180         DISTNAME=hpux
2181 elif test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
2182 then
2183         DISTNAME=solaris
2184 elif test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
2185 then
2186         DISTNAME=freebsd
2187 elif test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
2188 then
2189         DISTNAME=netbsd
2190 elif test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
2191 then
2192         DISTNAME=openbsd
2193 elif test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
2194 then
2195         DISTNAME=irix
2196 elif test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
2197 then
2198         DISTNAME=bsdi
2199 elif test -f /etc/SuSE-release
2200 then
2201         DISTNAME=suse
2202 elif test -d /etc/SuSEconfig
2203 then
2204         DISTNAME=suse5
2205 elif test -f /etc/mandrake-release
2206 then
2207         DISTNAME=mandrake
2208 elif test -f /etc/whitebox-release
2209 then
2210        DISTNAME=redhat
2211 elif test -f /etc/redhat-release
2212 then
2213         DISTNAME=redhat
2214 elif test -f /etc/gentoo-release
2215 then
2216         DISTNAME=gentoo
2217 elif test -f /etc/debian_version
2218 then
2219         DISTNAME=debian
2220 elif test -f /etc/slackware-version
2221 then
2222         DISTNAME=slackware
2223 elif test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
2224 then
2225     DISTNAME=darwin
2226 elif test -f /etc/engarde-version
2227 then
2228         DISTNAME=engarde
2229 elif test "$CYGWIN" = yes
2230 then
2231         DISTNAME=cygwin
2232         cat >>confdefs.h <<\_ACEOF
2233 #define HAVE_CYGWIN 1
2234 _ACEOF
2235
2236 else
2237         DISTNAME=unknown
2238 fi
2239 echo "$as_me:$LINENO: result: done" >&5
2240 echo "${ECHO_T}done" >&6
2241
2242
2243 # -------------------------------------------------------------------------
2244 #  If the user has not set --exec-prefix, we default to ${prefix}
2245 # -------------------------------------------------------------------------
2246 if test x${exec_prefix} = xNONE ; then
2247     exec_prefix=${prefix}
2248 fi
2249
2250 # -------------------------------------------
2251 # check for cdrecord writer location
2252 # get scsibus,target,lun
2253 # -------------------------------------------
2254 CDSTL="3,0,0"
2255 if test ! x$CDRECORD = x ; then
2256    CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD-RW | ${AWK} '{print $1}'`
2257    if test x${CDSTL} = x ; then
2258       CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD+RW | ${AWK} '{print $1}'`
2259    fi
2260    if test x${CDSTL} = x ; then
2261       CDSTL="3,0,0"
2262    fi
2263 fi
2264
2265
2266
2267
2268 where=
2269 # ------------------------------------------
2270 # Where to get iso
2271 # ------------------------------------------
2272
2273 # Check whether --with-iso or --without-iso was given.
2274 if test "${with_iso+set}" = set; then
2275   withval="$with_iso"
2276
2277        if test "x$withval" != "xno" ; then
2278            where=$withval
2279            type=iso
2280        fi
2281
2282
2283 fi;
2284
2285
2286 # ------------------------------------------
2287 # Where to get cdrom
2288 # ------------------------------------------
2289
2290 # Check whether --with-cdrom or --without-cdrom was given.
2291 if test "${with_cdrom+set}" = set; then
2292   withval="$with_cdrom"
2293
2294        if test "x$withval" != "xno" ; then
2295           where=$withval
2296           type=cdrom
2297        fi
2298
2299
2300 fi;
2301
2302
2303
2304
2305
2306 # ------------------------------------------
2307 # Which kernel to take
2308 # ------------------------------------------
2309
2310 # Check whether --with-kernel or --without-kernel was given.
2311 if test "${with_kernel+set}" = set; then
2312   withval="$with_kernel"
2313
2314        if test "x$withval" != "xno" ; then
2315           KERNEL=$withval
2316        fi
2317
2318
2319 fi;
2320
2321
2322
2323 # ------------------------------------------
2324 # Where to get Bacula source
2325 # ------------------------------------------
2326
2327 # Check whether --with-bacula or --without-bacula was given.
2328 if test "${with_bacula+set}" = set; then
2329   withval="$with_bacula"
2330
2331        if test "x$withval" != "xno" ; then
2332           bacula=$withval
2333        fi
2334
2335
2336 fi;
2337
2338
2339 STATIC_FD=
2340 # ------------------------------------------
2341 # Where to get static-bacula-fd
2342 # ------------------------------------------
2343
2344 # Check whether --with-static-fd or --without-static-fd was given.
2345 if test "${with_static_fd+set}" = set; then
2346   withval="$with_static_fd"
2347
2348        if test "x$withval" != "xno" ; then
2349           STATIC_FD=$withval
2350        fi
2351
2352
2353 fi;
2354
2355
2356 if test x${bacula} = x -a x${STATIC_FD} = x ; then
2357    { { echo "$as_me:$LINENO: error: You must specify either --with-bacula=PATH or --with-static-fd=PATH" >&5
2358 echo "$as_me: error: You must specify either --with-bacula=PATH or --with-static-fd=PATH" >&2;}
2359    { (exit 1); exit 1; }; }
2360 fi
2361
2362 #
2363 # Finally we set appropriate distribution specific
2364 #  variables and defaults
2365 #
2366 # PFILES are platform specific files
2367 PFILES=""
2368 WIN32=
2369 MACOSX=
2370 hostname=`uname -n | cut -d '.' -f 1`
2371 case "$DISTNAME" in
2372 aix)
2373         DISTVER=`uname -r`
2374   ;;
2375 alpha)
2376         DISTVER=`uname -r`
2377   ;;
2378 bsdi)
2379         DISTVER=`uname -a |awk '{print $3}'`
2380   ;;
2381 cygwin)
2382         DISTVER=`uname -a |awk '{print $3}'`
2383         WIN32=win32
2384   ;;
2385 darwin)
2386         DISTVER=`uname -r`
2387   ;;
2388 debian)
2389         DISTVER=`cat /etc/debian_version`
2390   ;;
2391 freebsd)
2392         DISTVER=`uname -a |awk '{print $3}'`
2393   ;;
2394 hpux)
2395         DISTVER=`uname -r`
2396   ;;
2397 irix)
2398         DISTVER=`uname -r`
2399   ;;
2400 netbsd)
2401         DISTVER=`uname -a |awk '{print $3}'`
2402   ;;
2403 openbsd)
2404         DISTVER=`uname -a |awk '{print $3}'`
2405   ;;
2406 redhat)
2407         if test -f /etc/whitebox-release ; then
2408            f=/etc/whitebox-release
2409         else
2410            f=/etc/redhat-release
2411         fi
2412         if test `cat $f | grep release |\
2413                    cut -f 3 -d ' '`x = "Enterprise"x ; then
2414            DISTVER="Enterprise "`cat $f | grep release |\
2415                     cut -f 6 -d ' '`
2416         else
2417             DISTVER=`cat /etc/redhat-release | grep release |\
2418                      cut -f 5 -d ' '`
2419         fi
2420         hostname=`hostname -s`
2421   ;;
2422 mandrake)
2423         DISTVER=`cat /etc/mandrake-release | grep release |\
2424            cut -f 5 -d ' '`
2425   ;;
2426 gentoo)
2427         DISTVER=`awk '/version / {print $5}' < /etc/gentoo-release`
2428   ;;
2429 slackware)
2430         DISTVER=`cat /etc/slackware-version`
2431   ;;
2432 solaris)
2433         DISTVER=`uname -r`
2434   ;;
2435 suse)
2436         DISTVER=`cat /etc/SuSE-release |grep VERSION|\
2437             cut -f 3 -d ' '`
2438   ;;
2439 suse5)
2440         DISTNAME=suse
2441         DISTVER=5.x
2442   ;;
2443 unknown)
2444         DISTVER=unknown
2445   ;;
2446 *)
2447   echo " === Something went wrong. Unknown DISTNAME $DISTNAME ==="
2448   ;;
2449 esac
2450
2451
2452
2453
2454
2455
2456 MCOMMON=./autoconf/Make.common
2457
2458
2459
2460                                                                                           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 freebsd/Makefile solaris/Makefile $PFILES"
2461           ac_config_commands="$ac_config_commands default"
2462 cat >confcache <<\_ACEOF
2463 # This file is a shell script that caches the results of configure
2464 # tests run on this system so they can be shared between configure
2465 # scripts and configure runs, see configure's option --config-cache.
2466 # It is not useful on other systems.  If it contains results you don't
2467 # want to keep, you may remove or edit it.
2468 #
2469 # config.status only pays attention to the cache file if you give it
2470 # the --recheck option to rerun configure.
2471 #
2472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2474 # following values.
2475
2476 _ACEOF
2477
2478 # The following way of writing the cache mishandles newlines in values,
2479 # but we know of no workaround that is simple, portable, and efficient.
2480 # So, don't put newlines in cache variables' values.
2481 # Ultrix sh set writes to stderr and can't be redirected directly,
2482 # and sets the high bit in the cache file unless we assign to the vars.
2483 {
2484   (set) 2>&1 |
2485     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2486     *ac_space=\ *)
2487       # `set' does not quote correctly, so add quotes (double-quote
2488       # substitution turns \\\\ into \\, and sed turns \\ into \).
2489       sed -n \
2490         "s/'/'\\\\''/g;
2491           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2492       ;;
2493     *)
2494       # `set' quotes correctly as required by POSIX, so do not add quotes.
2495       sed -n \
2496         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2497       ;;
2498     esac;
2499 } |
2500   sed '
2501      t clear
2502      : clear
2503      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2504      t end
2505      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2506      : end' >>confcache
2507 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2508   if test -w $cache_file; then
2509     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2510     cat confcache >$cache_file
2511   else
2512     echo "not updating unwritable cache $cache_file"
2513   fi
2514 fi
2515 rm -f confcache
2516
2517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2518 # Let make expand exec_prefix.
2519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2520
2521 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2522 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2523 # trailing colons and then remove the whole line if VPATH becomes empty
2524 # (actually we leave an empty line to preserve line numbers).
2525 if test "x$srcdir" = x.; then
2526   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2527 s/:*\$(srcdir):*/:/;
2528 s/:*\${srcdir}:*/:/;
2529 s/:*@srcdir@:*/:/;
2530 s/^\([^=]*=[     ]*\):*/\1/;
2531 s/:*$//;
2532 s/^[^=]*=[       ]*$//;
2533 }'
2534 fi
2535
2536 # Transform confdefs.h into DEFS.
2537 # Protect against shell expansion while executing Makefile rules.
2538 # Protect against Makefile macro expansion.
2539 #
2540 # If the first sed substitution is executed (which looks for macros that
2541 # take arguments), then we branch to the quote section.  Otherwise,
2542 # look for a macro that doesn't take arguments.
2543 cat >confdef2opt.sed <<\_ACEOF
2544 t clear
2545 : clear
2546 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2547 t quote
2548 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2549 t quote
2550 d
2551 : quote
2552 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2553 s,\[,\\&,g
2554 s,\],\\&,g
2555 s,\$,$$,g
2556 p
2557 _ACEOF
2558 # We use echo to avoid assuming a particular line-breaking character.
2559 # The extra dot is to prevent the shell from consuming trailing
2560 # line-breaks from the sub-command output.  A line-break within
2561 # single-quotes doesn't work because, if this script is created in a
2562 # platform that uses two characters for line-breaks (e.g., DOS), tr
2563 # would break.
2564 ac_LF_and_DOT=`echo; echo .`
2565 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2566 rm -f confdef2opt.sed
2567
2568
2569 ac_libobjs=
2570 ac_ltlibobjs=
2571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2572   # 1. Remove the extension, and $U if already installed.
2573   ac_i=`echo "$ac_i" |
2574          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2575   # 2. Add them.
2576   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2577   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2578 done
2579 LIBOBJS=$ac_libobjs
2580
2581 LTLIBOBJS=$ac_ltlibobjs
2582
2583
2584
2585 : ${CONFIG_STATUS=./config.status}
2586 ac_clean_files_save=$ac_clean_files
2587 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2588 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2589 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2590 cat >$CONFIG_STATUS <<_ACEOF
2591 #! $SHELL
2592 # Generated by $as_me.
2593 # Run this file to recreate the current configuration.
2594 # Compiler output produced by configure, useful for debugging
2595 # configure, is in config.log if it exists.
2596
2597 debug=false
2598 ac_cs_recheck=false
2599 ac_cs_silent=false
2600 SHELL=\${CONFIG_SHELL-$SHELL}
2601 _ACEOF
2602
2603 cat >>$CONFIG_STATUS <<\_ACEOF
2604 ## --------------------- ##
2605 ## M4sh Initialization.  ##
2606 ## --------------------- ##
2607
2608 # Be Bourne compatible
2609 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2610   emulate sh
2611   NULLCMD=:
2612   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2613   # is contrary to our usage.  Disable this feature.
2614   alias -g '${1+"$@"}'='"$@"'
2615 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2616   set -o posix
2617 fi
2618 DUALCASE=1; export DUALCASE # for MKS sh
2619
2620 # Support unset when possible.
2621 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2622   as_unset=unset
2623 else
2624   as_unset=false
2625 fi
2626
2627
2628 # Work around bugs in pre-3.0 UWIN ksh.
2629 $as_unset ENV MAIL MAILPATH
2630 PS1='$ '
2631 PS2='> '
2632 PS4='+ '
2633
2634 # NLS nuisances.
2635 for as_var in \
2636   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2637   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2638   LC_TELEPHONE LC_TIME
2639 do
2640   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2641     eval $as_var=C; export $as_var
2642   else
2643     $as_unset $as_var
2644   fi
2645 done
2646
2647 # Required to use basename.
2648 if expr a : '\(a\)' >/dev/null 2>&1; then
2649   as_expr=expr
2650 else
2651   as_expr=false
2652 fi
2653
2654 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2655   as_basename=basename
2656 else
2657   as_basename=false
2658 fi
2659
2660
2661 # Name of the executable.
2662 as_me=`$as_basename "$0" ||
2663 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2664          X"$0" : 'X\(//\)$' \| \
2665          X"$0" : 'X\(/\)$' \| \
2666          .     : '\(.\)' 2>/dev/null ||
2667 echo X/"$0" |
2668     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2669           /^X\/\(\/\/\)$/{ s//\1/; q; }
2670           /^X\/\(\/\).*/{ s//\1/; q; }
2671           s/.*/./; q'`
2672
2673
2674 # PATH needs CR, and LINENO needs CR and PATH.
2675 # Avoid depending upon Character Ranges.
2676 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2677 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2678 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2679 as_cr_digits='0123456789'
2680 as_cr_alnum=$as_cr_Letters$as_cr_digits
2681
2682 # The user is always right.
2683 if test "${PATH_SEPARATOR+set}" != set; then
2684   echo "#! /bin/sh" >conf$$.sh
2685   echo  "exit 0"   >>conf$$.sh
2686   chmod +x conf$$.sh
2687   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2688     PATH_SEPARATOR=';'
2689   else
2690     PATH_SEPARATOR=:
2691   fi
2692   rm -f conf$$.sh
2693 fi
2694
2695
2696   as_lineno_1=$LINENO
2697   as_lineno_2=$LINENO
2698   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2699   test "x$as_lineno_1" != "x$as_lineno_2" &&
2700   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2701   # Find who we are.  Look in the path if we contain no path at all
2702   # relative or not.
2703   case $0 in
2704     *[\\/]* ) as_myself=$0 ;;
2705     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 for as_dir in $PATH
2707 do
2708   IFS=$as_save_IFS
2709   test -z "$as_dir" && as_dir=.
2710   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2711 done
2712
2713        ;;
2714   esac
2715   # We did not find ourselves, most probably we were run as `sh COMMAND'
2716   # in which case we are not to be found in the path.
2717   if test "x$as_myself" = x; then
2718     as_myself=$0
2719   fi
2720   if test ! -f "$as_myself"; then
2721     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2722 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2723    { (exit 1); exit 1; }; }
2724   fi
2725   case $CONFIG_SHELL in
2726   '')
2727     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2729 do
2730   IFS=$as_save_IFS
2731   test -z "$as_dir" && as_dir=.
2732   for as_base in sh bash ksh sh5; do
2733          case $as_dir in
2734          /*)
2735            if ("$as_dir/$as_base" -c '
2736   as_lineno_1=$LINENO
2737   as_lineno_2=$LINENO
2738   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2739   test "x$as_lineno_1" != "x$as_lineno_2" &&
2740   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2741              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2742              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2743              CONFIG_SHELL=$as_dir/$as_base
2744              export CONFIG_SHELL
2745              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2746            fi;;
2747          esac
2748        done
2749 done
2750 ;;
2751   esac
2752
2753   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2754   # uniformly replaced by the line number.  The first 'sed' inserts a
2755   # line-number line before each line; the second 'sed' does the real
2756   # work.  The second script uses 'N' to pair each line-number line
2757   # with the numbered line, and appends trailing '-' during
2758   # substitution so that $LINENO is not a special case at line end.
2759   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2760   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2761   sed '=' <$as_myself |
2762     sed '
2763       N
2764       s,$,-,
2765       : loop
2766       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2767       t loop
2768       s,-$,,
2769       s,^['$as_cr_digits']*\n,,
2770     ' >$as_me.lineno &&
2771   chmod +x $as_me.lineno ||
2772     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2773 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2774    { (exit 1); exit 1; }; }
2775
2776   # Don't try to exec as it changes $[0], causing all sort of problems
2777   # (the dirname of $[0] is not the place where we might find the
2778   # original and so on.  Autoconf is especially sensible to this).
2779   . ./$as_me.lineno
2780   # Exit status is that of the last command.
2781   exit
2782 }
2783
2784
2785 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2786   *c*,-n*) ECHO_N= ECHO_C='
2787 ' ECHO_T='      ' ;;
2788   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2789   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2790 esac
2791
2792 if expr a : '\(a\)' >/dev/null 2>&1; then
2793   as_expr=expr
2794 else
2795   as_expr=false
2796 fi
2797
2798 rm -f conf$$ conf$$.exe conf$$.file
2799 echo >conf$$.file
2800 if ln -s conf$$.file conf$$ 2>/dev/null; then
2801   # We could just check for DJGPP; but this test a) works b) is more generic
2802   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2803   if test -f conf$$.exe; then
2804     # Don't use ln at all; we don't have any links
2805     as_ln_s='cp -p'
2806   else
2807     as_ln_s='ln -s'
2808   fi
2809 elif ln conf$$.file conf$$ 2>/dev/null; then
2810   as_ln_s=ln
2811 else
2812   as_ln_s='cp -p'
2813 fi
2814 rm -f conf$$ conf$$.exe conf$$.file
2815
2816 if mkdir -p . 2>/dev/null; then
2817   as_mkdir_p=:
2818 else
2819   test -d ./-p && rmdir ./-p
2820   as_mkdir_p=false
2821 fi
2822
2823 as_executable_p="test -f"
2824
2825 # Sed expression to map a string onto a valid CPP name.
2826 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2827
2828 # Sed expression to map a string onto a valid variable name.
2829 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2830
2831
2832 # IFS
2833 # We need space, tab and new line, in precisely that order.
2834 as_nl='
2835 '
2836 IFS="   $as_nl"
2837
2838 # CDPATH.
2839 $as_unset CDPATH
2840
2841 exec 6>&1
2842
2843 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2844 # report actual input values of CONFIG_FILES etc. instead of their
2845 # values after options handling.  Logging --version etc. is OK.
2846 exec 5>>config.log
2847 {
2848   echo
2849   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2850 ## Running $as_me. ##
2851 _ASBOX
2852 } >&5
2853 cat >&5 <<_CSEOF
2854
2855 This file was extended by $as_me, which was
2856 generated by GNU Autoconf 2.59.  Invocation command line was
2857
2858   CONFIG_FILES    = $CONFIG_FILES
2859   CONFIG_HEADERS  = $CONFIG_HEADERS
2860   CONFIG_LINKS    = $CONFIG_LINKS
2861   CONFIG_COMMANDS = $CONFIG_COMMANDS
2862   $ $0 $@
2863
2864 _CSEOF
2865 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2866 echo >&5
2867 _ACEOF
2868
2869 # Files that config.status was made for.
2870 if test -n "$ac_config_files"; then
2871   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2872 fi
2873
2874 if test -n "$ac_config_headers"; then
2875   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2876 fi
2877
2878 if test -n "$ac_config_links"; then
2879   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2880 fi
2881
2882 if test -n "$ac_config_commands"; then
2883   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2884 fi
2885
2886 cat >>$CONFIG_STATUS <<\_ACEOF
2887
2888 ac_cs_usage="\
2889 \`$as_me' instantiates files from templates according to the
2890 current configuration.
2891
2892 Usage: $0 [OPTIONS] [FILE]...
2893
2894   -h, --help       print this help, then exit
2895   -V, --version    print version number, then exit
2896   -q, --quiet      do not print progress messages
2897   -d, --debug      don't remove temporary files
2898       --recheck    update $as_me by reconfiguring in the same conditions
2899   --file=FILE[:TEMPLATE]
2900                    instantiate the configuration file FILE
2901
2902 Configuration files:
2903 $config_files
2904
2905 Configuration commands:
2906 $config_commands
2907
2908 Report bugs to <bug-autoconf@gnu.org>."
2909 _ACEOF
2910
2911 cat >>$CONFIG_STATUS <<_ACEOF
2912 ac_cs_version="\\
2913 config.status
2914 configured by $0, generated by GNU Autoconf 2.59,
2915   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2916
2917 Copyright (C) 2003 Free Software Foundation, Inc.
2918 This config.status script is free software; the Free Software Foundation
2919 gives unlimited permission to copy, distribute and modify it."
2920 srcdir=$srcdir
2921 INSTALL="$INSTALL"
2922 _ACEOF
2923
2924 cat >>$CONFIG_STATUS <<\_ACEOF
2925 # If no file are specified by the user, then we need to provide default
2926 # value.  By we need to know if files were specified by the user.
2927 ac_need_defaults=:
2928 while test $# != 0
2929 do
2930   case $1 in
2931   --*=*)
2932     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2933     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2934     ac_shift=:
2935     ;;
2936   -*)
2937     ac_option=$1
2938     ac_optarg=$2
2939     ac_shift=shift
2940     ;;
2941   *) # This is not an option, so the user has probably given explicit
2942      # arguments.
2943      ac_option=$1
2944      ac_need_defaults=false;;
2945   esac
2946
2947   case $ac_option in
2948   # Handling of the options.
2949 _ACEOF
2950 cat >>$CONFIG_STATUS <<\_ACEOF
2951   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2952     ac_cs_recheck=: ;;
2953   --version | --vers* | -V )
2954     echo "$ac_cs_version"; exit 0 ;;
2955   --he | --h)
2956     # Conflict between --help and --header
2957     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2958 Try \`$0 --help' for more information." >&5
2959 echo "$as_me: error: ambiguous option: $1
2960 Try \`$0 --help' for more information." >&2;}
2961    { (exit 1); exit 1; }; };;
2962   --help | --hel | -h )
2963     echo "$ac_cs_usage"; exit 0 ;;
2964   --debug | --d* | -d )
2965     debug=: ;;
2966   --file | --fil | --fi | --f )
2967     $ac_shift
2968     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2969     ac_need_defaults=false;;
2970   --header | --heade | --head | --hea )
2971     $ac_shift
2972     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2973     ac_need_defaults=false;;
2974   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2975   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2976     ac_cs_silent=: ;;
2977
2978   # This is an error.
2979   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2980 Try \`$0 --help' for more information." >&5
2981 echo "$as_me: error: unrecognized option: $1
2982 Try \`$0 --help' for more information." >&2;}
2983    { (exit 1); exit 1; }; } ;;
2984
2985   *) ac_config_targets="$ac_config_targets $1" ;;
2986
2987   esac
2988   shift
2989 done
2990
2991 ac_configure_extra_args=
2992
2993 if $ac_cs_silent; then
2994   exec 6>/dev/null
2995   ac_configure_extra_args="$ac_configure_extra_args --silent"
2996 fi
2997
2998 _ACEOF
2999 cat >>$CONFIG_STATUS <<_ACEOF
3000 if \$ac_cs_recheck; then
3001   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3002   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3003 fi
3004
3005 _ACEOF
3006
3007
3008
3009
3010
3011 cat >>$CONFIG_STATUS <<\_ACEOF
3012 for ac_config_target in $ac_config_targets
3013 do
3014   case "$ac_config_target" in
3015   # Handling of arguments.
3016   "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
3017   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3018   "linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/Makefile" ;;
3019   "linux/cdrom/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/Makefile" ;;
3020   "linux/cdrom/bacula/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/bacula/Makefile" ;;
3021   "linux/cdrom/cdtree/boot/isolinux/boot.msg" ) CONFIG_FILES="$CONFIG_FILES linux/cdrom/cdtree/boot/isolinux/boot.msg" ;;
3022   "freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES freebsd/Makefile" ;;
3023   "solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES solaris/Makefile" ;;
3024   "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
3025   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
3026   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3027 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3028    { (exit 1); exit 1; }; };;
3029   esac
3030 done
3031
3032 # If the user did not use the arguments to specify the items to instantiate,
3033 # then the envvar interface is used.  Set only those that are not.
3034 # We use the long form for the default assignment because of an extremely
3035 # bizarre bug on SunOS 4.1.3.
3036 if $ac_need_defaults; then
3037   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3038   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3039 fi
3040
3041 # Have a temporary directory for convenience.  Make it in the build tree
3042 # simply because there is no reason to put it here, and in addition,
3043 # creating and moving files from /tmp can sometimes cause problems.
3044 # Create a temporary directory, and hook for its removal unless debugging.
3045 $debug ||
3046 {
3047   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3048   trap '{ (exit 1); exit 1; }' 1 2 13 15
3049 }
3050
3051 # Create a (secure) tmp directory for tmp files.
3052
3053 {
3054   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3055   test -n "$tmp" && test -d "$tmp"
3056 }  ||
3057 {
3058   tmp=./confstat$$-$RANDOM
3059   (umask 077 && mkdir $tmp)
3060 } ||
3061 {
3062    echo "$me: cannot create a temporary directory in ." >&2
3063    { (exit 1); exit 1; }
3064 }
3065
3066 _ACEOF
3067
3068 cat >>$CONFIG_STATUS <<_ACEOF
3069
3070 #
3071 # CONFIG_FILES section.
3072 #
3073
3074 # No need to generate the scripts if there are no CONFIG_FILES.
3075 # This happens for instance when ./config.status config.h
3076 if test -n "\$CONFIG_FILES"; then
3077   # Protect against being on the right side of a sed subst in config.status.
3078   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3079    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3080 s,@SHELL@,$SHELL,;t t
3081 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3082 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3083 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3084 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3085 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3086 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3087 s,@exec_prefix@,$exec_prefix,;t t
3088 s,@prefix@,$prefix,;t t
3089 s,@program_transform_name@,$program_transform_name,;t t
3090 s,@bindir@,$bindir,;t t
3091 s,@sbindir@,$sbindir,;t t
3092 s,@libexecdir@,$libexecdir,;t t
3093 s,@datadir@,$datadir,;t t
3094 s,@sysconfdir@,$sysconfdir,;t t
3095 s,@sharedstatedir@,$sharedstatedir,;t t
3096 s,@localstatedir@,$localstatedir,;t t
3097 s,@libdir@,$libdir,;t t
3098 s,@includedir@,$includedir,;t t
3099 s,@oldincludedir@,$oldincludedir,;t t
3100 s,@infodir@,$infodir,;t t
3101 s,@mandir@,$mandir,;t t
3102 s,@build_alias@,$build_alias,;t t
3103 s,@host_alias@,$host_alias,;t t
3104 s,@target_alias@,$target_alias,;t t
3105 s,@DEFS@,$DEFS,;t t
3106 s,@ECHO_C@,$ECHO_C,;t t
3107 s,@ECHO_N@,$ECHO_N,;t t
3108 s,@ECHO_T@,$ECHO_T,;t t
3109 s,@LIBS@,$LIBS,;t t
3110 s,@BUILD_DIR@,$BUILD_DIR,;t t
3111 s,@TRUEPRG@,$TRUEPRG,;t t
3112 s,@FALSEPRG@,$FALSEPRG,;t t
3113 s,@AWK@,$AWK,;t t
3114 s,@VERSION@,$VERSION,;t t
3115 s,@DATE@,$DATE,;t t
3116 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3117 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3118 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3119 s,@MV@,$MV,;t t
3120 s,@RM@,$RM,;t t
3121 s,@CP@,$CP,;t t
3122 s,@ECHO@,$ECHO,;t t
3123 s,@AR@,$AR,;t t
3124 s,@CDRECORD@,$CDRECORD,;t t
3125 s,@build@,$build,;t t
3126 s,@build_cpu@,$build_cpu,;t t
3127 s,@build_vendor@,$build_vendor,;t t
3128 s,@build_os@,$build_os,;t t
3129 s,@host@,$host,;t t
3130 s,@host_cpu@,$host_cpu,;t t
3131 s,@host_vendor@,$host_vendor,;t t
3132 s,@host_os@,$host_os,;t t
3133 s,@HAVE_SUN_OS_TRUE@,$HAVE_SUN_OS_TRUE,;t t
3134 s,@HAVE_SUN_OS_FALSE@,$HAVE_SUN_OS_FALSE,;t t
3135 s,@HAVE_OSF1_OS_TRUE@,$HAVE_OSF1_OS_TRUE,;t t
3136 s,@HAVE_OSF1_OS_FALSE@,$HAVE_OSF1_OS_FALSE,;t t
3137 s,@HAVE_AIX_OS_TRUE@,$HAVE_AIX_OS_TRUE,;t t
3138 s,@HAVE_AIX_OS_FALSE@,$HAVE_AIX_OS_FALSE,;t t
3139 s,@HAVE_HPUX_OS_TRUE@,$HAVE_HPUX_OS_TRUE,;t t
3140 s,@HAVE_HPUX_OS_FALSE@,$HAVE_HPUX_OS_FALSE,;t t
3141 s,@HAVE_LINUX_OS_TRUE@,$HAVE_LINUX_OS_TRUE,;t t
3142 s,@HAVE_LINUX_OS_FALSE@,$HAVE_LINUX_OS_FALSE,;t t
3143 s,@HAVE_FREEBSD_OS_TRUE@,$HAVE_FREEBSD_OS_TRUE,;t t
3144 s,@HAVE_FREEBSD_OS_FALSE@,$HAVE_FREEBSD_OS_FALSE,;t t
3145 s,@HAVE_NETBSD_OS_TRUE@,$HAVE_NETBSD_OS_TRUE,;t t
3146 s,@HAVE_NETBSD_OS_FALSE@,$HAVE_NETBSD_OS_FALSE,;t t
3147 s,@HAVE_OPENBSD_OS_TRUE@,$HAVE_OPENBSD_OS_TRUE,;t t
3148 s,@HAVE_OPENBSD_OS_FALSE@,$HAVE_OPENBSD_OS_FALSE,;t t
3149 s,@HAVE_BSDI_OS_TRUE@,$HAVE_BSDI_OS_TRUE,;t t
3150 s,@HAVE_BSDI_OS_FALSE@,$HAVE_BSDI_OS_FALSE,;t t
3151 s,@HAVE_SGI_OS_TRUE@,$HAVE_SGI_OS_TRUE,;t t
3152 s,@HAVE_SGI_OS_FALSE@,$HAVE_SGI_OS_FALSE,;t t
3153 s,@HAVE_IRIX_OS_TRUE@,$HAVE_IRIX_OS_TRUE,;t t
3154 s,@HAVE_IRIX_OS_FALSE@,$HAVE_IRIX_OS_FALSE,;t t
3155 s,@HAVE_DARWIN_OS_TRUE@,$HAVE_DARWIN_OS_TRUE,;t t
3156 s,@HAVE_DARWIN_OS_FALSE@,$HAVE_DARWIN_OS_FALSE,;t t
3157 s,@CDSTL@,$CDSTL,;t t
3158 s,@iso@,$iso,;t t
3159 s,@where@,$where,;t t
3160 s,@type@,$type,;t t
3161 s,@KERNEL@,$KERNEL,;t t
3162 s,@bacula@,$bacula,;t t
3163 s,@STATIC_FD@,$STATIC_FD,;t t
3164 s,@hostname@,$hostname,;t t
3165 s,@DISTNAME@,$DISTNAME,;t t
3166 s,@DISTVER@,$DISTVER,;t t
3167 s,@LIBOBJS@,$LIBOBJS,;t t
3168 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3169 /@MCOMMON@/r $MCOMMON
3170 s,@MCOMMON@,,;t t
3171 CEOF
3172
3173 _ACEOF
3174
3175   cat >>$CONFIG_STATUS <<\_ACEOF
3176   # Split the substitutions into bite-sized pieces for seds with
3177   # small command number limits, like on Digital OSF/1 and HP-UX.
3178   ac_max_sed_lines=48
3179   ac_sed_frag=1 # Number of current file.
3180   ac_beg=1 # First line for current file.
3181   ac_end=$ac_max_sed_lines # Line after last line for current file.
3182   ac_more_lines=:
3183   ac_sed_cmds=
3184   while $ac_more_lines; do
3185     if test $ac_beg -gt 1; then
3186       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3187     else
3188       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3189     fi
3190     if test ! -s $tmp/subs.frag; then
3191       ac_more_lines=false
3192     else
3193       # The purpose of the label and of the branching condition is to
3194       # speed up the sed processing (if there are no `@' at all, there
3195       # is no need to browse any of the substitutions).
3196       # These are the two extra sed commands mentioned above.
3197       (echo ':t
3198   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3199       if test -z "$ac_sed_cmds"; then
3200         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3201       else
3202         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3203       fi
3204       ac_sed_frag=`expr $ac_sed_frag + 1`
3205       ac_beg=$ac_end
3206       ac_end=`expr $ac_end + $ac_max_sed_lines`
3207     fi
3208   done
3209   if test -z "$ac_sed_cmds"; then
3210     ac_sed_cmds=cat
3211   fi
3212 fi # test -n "$CONFIG_FILES"
3213
3214 _ACEOF
3215 cat >>$CONFIG_STATUS <<\_ACEOF
3216 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3217   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3218   case $ac_file in
3219   - | *:- | *:-:* ) # input from stdin
3220         cat >$tmp/stdin
3221         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3222         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3223   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3224         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3225   * )   ac_file_in=$ac_file.in ;;
3226   esac
3227
3228   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3229   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3230 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3231          X"$ac_file" : 'X\(//\)[^/]' \| \
3232          X"$ac_file" : 'X\(//\)$' \| \
3233          X"$ac_file" : 'X\(/\)' \| \
3234          .     : '\(.\)' 2>/dev/null ||
3235 echo X"$ac_file" |
3236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3237           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3238           /^X\(\/\/\)$/{ s//\1/; q; }
3239           /^X\(\/\).*/{ s//\1/; q; }
3240           s/.*/./; q'`
3241   { if $as_mkdir_p; then
3242     mkdir -p "$ac_dir"
3243   else
3244     as_dir="$ac_dir"
3245     as_dirs=
3246     while test ! -d "$as_dir"; do
3247       as_dirs="$as_dir $as_dirs"
3248       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3250          X"$as_dir" : 'X\(//\)[^/]' \| \
3251          X"$as_dir" : 'X\(//\)$' \| \
3252          X"$as_dir" : 'X\(/\)' \| \
3253          .     : '\(.\)' 2>/dev/null ||
3254 echo X"$as_dir" |
3255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3256           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3257           /^X\(\/\/\)$/{ s//\1/; q; }
3258           /^X\(\/\).*/{ s//\1/; q; }
3259           s/.*/./; q'`
3260     done
3261     test ! -n "$as_dirs" || mkdir $as_dirs
3262   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3263 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3264    { (exit 1); exit 1; }; }; }
3265
3266   ac_builddir=.
3267
3268 if test "$ac_dir" != .; then
3269   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3270   # A "../" for each directory in $ac_dir_suffix.
3271   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3272 else
3273   ac_dir_suffix= ac_top_builddir=
3274 fi
3275
3276 case $srcdir in
3277   .)  # No --srcdir option.  We are building in place.
3278     ac_srcdir=.
3279     if test -z "$ac_top_builddir"; then
3280        ac_top_srcdir=.
3281     else
3282        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3283     fi ;;
3284   [\\/]* | ?:[\\/]* )  # Absolute path.
3285     ac_srcdir=$srcdir$ac_dir_suffix;
3286     ac_top_srcdir=$srcdir ;;
3287   *) # Relative path.
3288     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3289     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3290 esac
3291
3292 # Do not use `cd foo && pwd` to compute absolute paths, because
3293 # the directories may not exist.
3294 case `pwd` in
3295 .) ac_abs_builddir="$ac_dir";;
3296 *)
3297   case "$ac_dir" in
3298   .) ac_abs_builddir=`pwd`;;
3299   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3300   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3301   esac;;
3302 esac
3303 case $ac_abs_builddir in
3304 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3305 *)
3306   case ${ac_top_builddir}. in
3307   .) ac_abs_top_builddir=$ac_abs_builddir;;
3308   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3309   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3310   esac;;
3311 esac
3312 case $ac_abs_builddir in
3313 .) ac_abs_srcdir=$ac_srcdir;;
3314 *)
3315   case $ac_srcdir in
3316   .) ac_abs_srcdir=$ac_abs_builddir;;
3317   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3318   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3319   esac;;
3320 esac
3321 case $ac_abs_builddir in
3322 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3323 *)
3324   case $ac_top_srcdir in
3325   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3326   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3327   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3328   esac;;
3329 esac
3330
3331
3332   case $INSTALL in
3333   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3334   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3335   esac
3336
3337   if test x"$ac_file" != x-; then
3338     { echo "$as_me:$LINENO: creating $ac_file" >&5
3339 echo "$as_me: creating $ac_file" >&6;}
3340     rm -f "$ac_file"
3341   fi
3342   # Let's still pretend it is `configure' which instantiates (i.e., don't
3343   # use $as_me), people would be surprised to read:
3344   #    /* config.h.  Generated by config.status.  */
3345   if test x"$ac_file" = x-; then
3346     configure_input=
3347   else
3348     configure_input="$ac_file.  "
3349   fi
3350   configure_input=$configure_input"Generated from `echo $ac_file_in |
3351                                      sed 's,.*/,,'` by configure."
3352
3353   # First look for the input files in the build tree, otherwise in the
3354   # src tree.
3355   ac_file_inputs=`IFS=:
3356     for f in $ac_file_in; do
3357       case $f in
3358       -) echo $tmp/stdin ;;
3359       [\\/$]*)
3360          # Absolute (can't be DOS-style, as IFS=:)
3361          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3362 echo "$as_me: error: cannot find input file: $f" >&2;}
3363    { (exit 1); exit 1; }; }
3364          echo "$f";;
3365       *) # Relative
3366          if test -f "$f"; then
3367            # Build tree
3368            echo "$f"
3369          elif test -f "$srcdir/$f"; then
3370            # Source tree
3371            echo "$srcdir/$f"
3372          else
3373            # /dev/null tree
3374            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3375 echo "$as_me: error: cannot find input file: $f" >&2;}
3376    { (exit 1); exit 1; }; }
3377          fi;;
3378       esac
3379     done` || { (exit 1); exit 1; }
3380 _ACEOF
3381 cat >>$CONFIG_STATUS <<_ACEOF
3382   sed "$ac_vpsub
3383 $extrasub
3384 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF
3386 :t
3387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3388 s,@configure_input@,$configure_input,;t t
3389 s,@srcdir@,$ac_srcdir,;t t
3390 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3391 s,@top_srcdir@,$ac_top_srcdir,;t t
3392 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3393 s,@builddir@,$ac_builddir,;t t
3394 s,@abs_builddir@,$ac_abs_builddir,;t t
3395 s,@top_builddir@,$ac_top_builddir,;t t
3396 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3397 s,@INSTALL@,$ac_INSTALL,;t t
3398 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3399   rm -f $tmp/stdin
3400   if test x"$ac_file" != x-; then
3401     mv $tmp/out $ac_file
3402   else
3403     cat $tmp/out
3404     rm -f $tmp/out
3405   fi
3406
3407 done
3408 _ACEOF
3409 cat >>$CONFIG_STATUS <<\_ACEOF
3410
3411 #
3412 # CONFIG_COMMANDS section.
3413 #
3414 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3415   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3416   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3417   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3418 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3419          X"$ac_dest" : 'X\(//\)[^/]' \| \
3420          X"$ac_dest" : 'X\(//\)$' \| \
3421          X"$ac_dest" : 'X\(/\)' \| \
3422          .     : '\(.\)' 2>/dev/null ||
3423 echo X"$ac_dest" |
3424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3425           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3426           /^X\(\/\/\)$/{ s//\1/; q; }
3427           /^X\(\/\).*/{ s//\1/; q; }
3428           s/.*/./; q'`
3429   { if $as_mkdir_p; then
3430     mkdir -p "$ac_dir"
3431   else
3432     as_dir="$ac_dir"
3433     as_dirs=
3434     while test ! -d "$as_dir"; do
3435       as_dirs="$as_dir $as_dirs"
3436       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3438          X"$as_dir" : 'X\(//\)[^/]' \| \
3439          X"$as_dir" : 'X\(//\)$' \| \
3440          X"$as_dir" : 'X\(/\)' \| \
3441          .     : '\(.\)' 2>/dev/null ||
3442 echo X"$as_dir" |
3443     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3444           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3445           /^X\(\/\/\)$/{ s//\1/; q; }
3446           /^X\(\/\).*/{ s//\1/; q; }
3447           s/.*/./; q'`
3448     done
3449     test ! -n "$as_dirs" || mkdir $as_dirs
3450   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3452    { (exit 1); exit 1; }; }; }
3453
3454   ac_builddir=.
3455
3456 if test "$ac_dir" != .; then
3457   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3458   # A "../" for each directory in $ac_dir_suffix.
3459   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3460 else
3461   ac_dir_suffix= ac_top_builddir=
3462 fi
3463
3464 case $srcdir in
3465   .)  # No --srcdir option.  We are building in place.
3466     ac_srcdir=.
3467     if test -z "$ac_top_builddir"; then
3468        ac_top_srcdir=.
3469     else
3470        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3471     fi ;;
3472   [\\/]* | ?:[\\/]* )  # Absolute path.
3473     ac_srcdir=$srcdir$ac_dir_suffix;
3474     ac_top_srcdir=$srcdir ;;
3475   *) # Relative path.
3476     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3477     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3478 esac
3479
3480 # Do not use `cd foo && pwd` to compute absolute paths, because
3481 # the directories may not exist.
3482 case `pwd` in
3483 .) ac_abs_builddir="$ac_dir";;
3484 *)
3485   case "$ac_dir" in
3486   .) ac_abs_builddir=`pwd`;;
3487   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3488   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3489   esac;;
3490 esac
3491 case $ac_abs_builddir in
3492 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3493 *)
3494   case ${ac_top_builddir}. in
3495   .) ac_abs_top_builddir=$ac_abs_builddir;;
3496   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3497   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3498   esac;;
3499 esac
3500 case $ac_abs_builddir in
3501 .) ac_abs_srcdir=$ac_srcdir;;
3502 *)
3503   case $ac_srcdir in
3504   .) ac_abs_srcdir=$ac_abs_builddir;;
3505   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3506   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3507   esac;;
3508 esac
3509 case $ac_abs_builddir in
3510 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3511 *)
3512   case $ac_top_srcdir in
3513   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3514   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3515   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3516   esac;;
3517 esac
3518
3519
3520   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3521 echo "$as_me: executing $ac_dest commands" >&6;}
3522   case $ac_dest in
3523     default )
3524  ;;
3525   esac
3526 done
3527 _ACEOF
3528
3529 cat >>$CONFIG_STATUS <<\_ACEOF
3530
3531 { (exit 0); exit 0; }
3532 _ACEOF
3533 chmod +x $CONFIG_STATUS
3534 ac_clean_files=$ac_clean_files_save
3535
3536
3537 # configure is writing to config.log, and then calls config.status.
3538 # config.status does its own redirection, appending to config.log.
3539 # Unfortunately, on DOS this fails, as config.log is still kept open
3540 # by configure, so config.status won't be able to write to it; its
3541 # output is simply discarded.  So we exec the FD to /dev/null,
3542 # effectively closing config.log, so it can be properly (re)opened and
3543 # appended to by config.status.  When coming back to configure, we
3544 # need to make the FD available again.
3545 if test "$no_create" != yes; then
3546   ac_cs_success=:
3547   ac_config_status_args=
3548   test "$silent" = yes &&
3549     ac_config_status_args="$ac_config_status_args --quiet"
3550   exec 5>/dev/null
3551   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3552   exec 5>>config.log
3553   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3554   # would make configure fail if this is the last instruction.
3555   $ac_cs_success || { (exit 1); exit 1; }
3556 fi
3557
3558
3559
3560 echo "
3561 Configuration on `date`:
3562
3563   Host:                       $host -- ${DISTNAME} ${DISTVER}
3564   Rescue version:             ${VERSION} (${DATE})
3565   Source code location:       ${bacula}
3566   Static FD location:         ${STATIC_FD}
3567   Specific kernel version:    ${KERNEL}
3568
3569   " > config.out
3570
3571 cat config.out