39a061ebba872dc9f354de326c29767da156ae0a
[matthijs/upstream/backupninja.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for backupninja 0.9.0.
4 #
5 # Report bugs to <micah@riseup.net>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22   set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28   as_unset=unset
29 else
30   as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44   LC_TELEPHONE LC_TIME
45 do
46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47     eval $as_var=C; export $as_var
48   else
49     $as_unset $as_var
50   fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55   as_expr=expr
56 else
57   as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61   as_basename=basename
62 else
63   as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70          X"$0" : 'X\(//\)$' \| \
71          X"$0" : 'X\(/\)$' \| \
72          .     : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75           /^X\/\(\/\/\)$/{ s//\1/; q; }
76           /^X\/\(\/\).*/{ s//\1/; q; }
77           s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90   echo "#! /bin/sh" >conf$$.sh
91   echo  "exit 0"   >>conf$$.sh
92   chmod +x conf$$.sh
93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94     PATH_SEPARATOR=';'
95   else
96     PATH_SEPARATOR=:
97   fi
98   rm -f conf$$.sh
99 fi
100
101
102   as_lineno_1=$LINENO
103   as_lineno_2=$LINENO
104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105   test "x$as_lineno_1" != "x$as_lineno_2" &&
106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107   # Find who we are.  Look in the path if we contain no path at all
108   # relative or not.
109   case $0 in
110     *[\\/]* ) as_myself=$0 ;;
111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114   IFS=$as_save_IFS
115   test -z "$as_dir" && as_dir=.
116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119        ;;
120   esac
121   # We did not find ourselves, most probably we were run as `sh COMMAND'
122   # in which case we are not to be found in the path.
123   if test "x$as_myself" = x; then
124     as_myself=$0
125   fi
126   if test ! -f "$as_myself"; then
127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128    { (exit 1); exit 1; }; }
129   fi
130   case $CONFIG_SHELL in
131   '')
132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135   IFS=$as_save_IFS
136   test -z "$as_dir" && as_dir=.
137   for as_base in sh bash ksh sh5; do
138          case $as_dir in
139          /*)
140            if ("$as_dir/$as_base" -c '
141   as_lineno_1=$LINENO
142   as_lineno_2=$LINENO
143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144   test "x$as_lineno_1" != "x$as_lineno_2" &&
145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148              CONFIG_SHELL=$as_dir/$as_base
149              export CONFIG_SHELL
150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151            fi;;
152          esac
153        done
154 done
155 ;;
156   esac
157
158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159   # uniformly replaced by the line number.  The first 'sed' inserts a
160   # line-number line before each line; the second 'sed' does the real
161   # work.  The second script uses 'N' to pair each line-number line
162   # with the numbered line, and appends trailing '-' during
163   # substitution so that $LINENO is not a special case at line end.
164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166   sed '=' <$as_myself |
167     sed '
168       N
169       s,$,-,
170       : loop
171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172       t loop
173       s,-$,,
174       s,^['$as_cr_digits']*\n,,
175     ' >$as_me.lineno &&
176   chmod +x $as_me.lineno ||
177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178    { (exit 1); exit 1; }; }
179
180   # Don't try to exec as it changes $[0], causing all sort of problems
181   # (the dirname of $[0] is not the place where we might find the
182   # original and so on.  Autoconf is especially sensible to this).
183   . ./$as_me.lineno
184   # Exit status is that of the last command.
185   exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190   *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T='      ' ;;
192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197   as_expr=expr
198 else
199   as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205   # We could just check for DJGPP; but this test a) works b) is more generic
206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207   if test -f conf$$.exe; then
208     # Don't use ln at all; we don't have any links
209     as_ln_s='cp -p'
210   else
211     as_ln_s='ln -s'
212   fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214   as_ln_s=ln
215 else
216   as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221   as_mkdir_p=:
222 else
223   test -d ./-p && rmdir ./-p
224   as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS="   $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete.  It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='backupninja'
271 PACKAGE_TARNAME='backupninja'
272 PACKAGE_VERSION='0.9.0'
273 PACKAGE_STRING='backupninja 0.9.0'
274 PACKAGE_BUGREPORT='micah@riseup.net'
275
276 ac_unique_file="src/backupninja.in"
277 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar BASH CFGDIR LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
279
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
299
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
317
318 ac_prev=
319 for ac_option
320 do
321   # If the previous option needs an argument, assign it.
322   if test -n "$ac_prev"; then
323     eval "$ac_prev=\$ac_option"
324     ac_prev=
325     continue
326   fi
327
328   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330   # Accept the important Cygnus configure options, so we can diagnose typos.
331
332   case $ac_option in
333
334   -bindir | --bindir | --bindi | --bind | --bin | --bi)
335     ac_prev=bindir ;;
336   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337     bindir=$ac_optarg ;;
338
339   -build | --build | --buil | --bui | --bu)
340     ac_prev=build_alias ;;
341   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342     build_alias=$ac_optarg ;;
343
344   -cache-file | --cache-file | --cache-fil | --cache-fi \
345   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346     ac_prev=cache_file ;;
347   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349     cache_file=$ac_optarg ;;
350
351   --config-cache | -C)
352     cache_file=config.cache ;;
353
354   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355     ac_prev=datadir ;;
356   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357   | --da=*)
358     datadir=$ac_optarg ;;
359
360   -disable-* | --disable-*)
361     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362     # Reject names that are not valid shell variable names.
363     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365    { (exit 1); exit 1; }; }
366     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367     eval "enable_$ac_feature=no" ;;
368
369   -enable-* | --enable-*)
370     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371     # Reject names that are not valid shell variable names.
372     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374    { (exit 1); exit 1; }; }
375     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376     case $ac_option in
377       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378       *) ac_optarg=yes ;;
379     esac
380     eval "enable_$ac_feature='$ac_optarg'" ;;
381
382   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384   | --exec | --exe | --ex)
385     ac_prev=exec_prefix ;;
386   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388   | --exec=* | --exe=* | --ex=*)
389     exec_prefix=$ac_optarg ;;
390
391   -gas | --gas | --ga | --g)
392     # Obsolete; use --with-gas.
393     with_gas=yes ;;
394
395   -help | --help | --hel | --he | -h)
396     ac_init_help=long ;;
397   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398     ac_init_help=recursive ;;
399   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400     ac_init_help=short ;;
401
402   -host | --host | --hos | --ho)
403     ac_prev=host_alias ;;
404   -host=* | --host=* | --hos=* | --ho=*)
405     host_alias=$ac_optarg ;;
406
407   -includedir | --includedir | --includedi | --included | --include \
408   | --includ | --inclu | --incl | --inc)
409     ac_prev=includedir ;;
410   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411   | --includ=* | --inclu=* | --incl=* | --inc=*)
412     includedir=$ac_optarg ;;
413
414   -infodir | --infodir | --infodi | --infod | --info | --inf)
415     ac_prev=infodir ;;
416   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417     infodir=$ac_optarg ;;
418
419   -libdir | --libdir | --libdi | --libd)
420     ac_prev=libdir ;;
421   -libdir=* | --libdir=* | --libdi=* | --libd=*)
422     libdir=$ac_optarg ;;
423
424   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425   | --libexe | --libex | --libe)
426     ac_prev=libexecdir ;;
427   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428   | --libexe=* | --libex=* | --libe=*)
429     libexecdir=$ac_optarg ;;
430
431   -localstatedir | --localstatedir | --localstatedi | --localstated \
432   | --localstate | --localstat | --localsta | --localst \
433   | --locals | --local | --loca | --loc | --lo)
434     ac_prev=localstatedir ;;
435   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438     localstatedir=$ac_optarg ;;
439
440   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441     ac_prev=mandir ;;
442   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443     mandir=$ac_optarg ;;
444
445   -nfp | --nfp | --nf)
446     # Obsolete; use --without-fp.
447     with_fp=no ;;
448
449   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450   | --no-cr | --no-c | -n)
451     no_create=yes ;;
452
453   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455     no_recursion=yes ;;
456
457   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459   | --oldin | --oldi | --old | --ol | --o)
460     ac_prev=oldincludedir ;;
461   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464     oldincludedir=$ac_optarg ;;
465
466   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467     ac_prev=prefix ;;
468   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469     prefix=$ac_optarg ;;
470
471   -program-prefix | --program-prefix | --program-prefi | --program-pref \
472   | --program-pre | --program-pr | --program-p)
473     ac_prev=program_prefix ;;
474   -program-prefix=* | --program-prefix=* | --program-prefi=* \
475   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476     program_prefix=$ac_optarg ;;
477
478   -program-suffix | --program-suffix | --program-suffi | --program-suff \
479   | --program-suf | --program-su | --program-s)
480     ac_prev=program_suffix ;;
481   -program-suffix=* | --program-suffix=* | --program-suffi=* \
482   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483     program_suffix=$ac_optarg ;;
484
485   -program-transform-name | --program-transform-name \
486   | --program-transform-nam | --program-transform-na \
487   | --program-transform-n | --program-transform- \
488   | --program-transform | --program-transfor \
489   | --program-transfo | --program-transf \
490   | --program-trans | --program-tran \
491   | --progr-tra | --program-tr | --program-t)
492     ac_prev=program_transform_name ;;
493   -program-transform-name=* | --program-transform-name=* \
494   | --program-transform-nam=* | --program-transform-na=* \
495   | --program-transform-n=* | --program-transform-=* \
496   | --program-transform=* | --program-transfor=* \
497   | --program-transfo=* | --program-transf=* \
498   | --program-trans=* | --program-tran=* \
499   | --progr-tra=* | --program-tr=* | --program-t=*)
500     program_transform_name=$ac_optarg ;;
501
502   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503   | -silent | --silent | --silen | --sile | --sil)
504     silent=yes ;;
505
506   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507     ac_prev=sbindir ;;
508   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509   | --sbi=* | --sb=*)
510     sbindir=$ac_optarg ;;
511
512   -sharedstatedir | --sharedstatedir | --sharedstatedi \
513   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514   | --sharedst | --shareds | --shared | --share | --shar \
515   | --sha | --sh)
516     ac_prev=sharedstatedir ;;
517   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520   | --sha=* | --sh=*)
521     sharedstatedir=$ac_optarg ;;
522
523   -site | --site | --sit)
524     ac_prev=site ;;
525   -site=* | --site=* | --sit=*)
526     site=$ac_optarg ;;
527
528   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529     ac_prev=srcdir ;;
530   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531     srcdir=$ac_optarg ;;
532
533   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534   | --syscon | --sysco | --sysc | --sys | --sy)
535     ac_prev=sysconfdir ;;
536   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538     sysconfdir=$ac_optarg ;;
539
540   -target | --target | --targe | --targ | --tar | --ta | --t)
541     ac_prev=target_alias ;;
542   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543     target_alias=$ac_optarg ;;
544
545   -v | -verbose | --verbose | --verbos | --verbo | --verb)
546     verbose=yes ;;
547
548   -version | --version | --versio | --versi | --vers | -V)
549     ac_init_version=: ;;
550
551   -with-* | --with-*)
552     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553     # Reject names that are not valid shell variable names.
554     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555       { echo "$as_me: error: invalid package name: $ac_package" >&2
556    { (exit 1); exit 1; }; }
557     ac_package=`echo $ac_package| sed 's/-/_/g'`
558     case $ac_option in
559       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560       *) ac_optarg=yes ;;
561     esac
562     eval "with_$ac_package='$ac_optarg'" ;;
563
564   -without-* | --without-*)
565     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566     # Reject names that are not valid shell variable names.
567     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568       { echo "$as_me: error: invalid package name: $ac_package" >&2
569    { (exit 1); exit 1; }; }
570     ac_package=`echo $ac_package | sed 's/-/_/g'`
571     eval "with_$ac_package=no" ;;
572
573   --x)
574     # Obsolete; use --with-x.
575     with_x=yes ;;
576
577   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578   | --x-incl | --x-inc | --x-in | --x-i)
579     ac_prev=x_includes ;;
580   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582     x_includes=$ac_optarg ;;
583
584   -x-libraries | --x-libraries | --x-librarie | --x-librari \
585   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586     ac_prev=x_libraries ;;
587   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589     x_libraries=$ac_optarg ;;
590
591   -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593    { (exit 1); exit 1; }; }
594     ;;
595
596   *=*)
597     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598     # Reject names that are not valid shell variable names.
599     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601    { (exit 1); exit 1; }; }
602     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603     eval "$ac_envvar='$ac_optarg'"
604     export $ac_envvar ;;
605
606   *)
607     # FIXME: should be removed in autoconf 3.0.
608     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612     ;;
613
614   esac
615 done
616
617 if test -n "$ac_prev"; then
618   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619   { echo "$as_me: error: missing argument to $ac_option" >&2
620    { (exit 1); exit 1; }; }
621 fi
622
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
625 do
626   eval ac_val=$`echo $ac_var`
627   case $ac_val in
628     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630    { (exit 1); exit 1; }; };;
631   esac
632 done
633
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636               localstatedir libdir includedir oldincludedir infodir mandir
637 do
638   eval ac_val=$`echo $ac_var`
639   case $ac_val in
640     [\\/$]* | ?:[\\/]* ) ;;
641     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642    { (exit 1); exit 1; }; };;
643   esac
644 done
645
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
652
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655   if test "x$build_alias" = x; then
656     cross_compiling=maybe
657     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658     If a cross compiler is detected then cross compile mode will be used." >&2
659   elif test "x$build_alias" != "x$host_alias"; then
660     cross_compiling=yes
661   fi
662 fi
663
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667 test "$silent" = yes && exec 6>/dev/null
668
669
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672   ac_srcdir_defaulted=yes
673   # Try the directory containing this script, then its parent.
674   ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676          X"$0" : 'X\(//\)[^/]' \| \
677          X"$0" : 'X\(//\)$' \| \
678          X"$0" : 'X\(/\)' \| \
679          .     : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683           /^X\(\/\/\)$/{ s//\1/; q; }
684           /^X\(\/\).*/{ s//\1/; q; }
685           s/.*/./; q'`
686   srcdir=$ac_confdir
687   if test ! -r $srcdir/$ac_unique_file; then
688     srcdir=..
689   fi
690 else
691   ac_srcdir_defaulted=no
692 fi
693 if test ! -r $srcdir/$ac_unique_file; then
694   if test "$ac_srcdir_defaulted" = yes; then
695     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696    { (exit 1); exit 1; }; }
697   else
698     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699    { (exit 1); exit 1; }; }
700   fi
701 fi
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704    { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718
719 #
720 # Report the --help message.
721 #
722 if test "$ac_init_help" = "long"; then
723   # Omit some internal or obsolete options to make the list less imposing.
724   # This message is too long to be a string in the A/UX 3.1 sh.
725   cat <<_ACEOF
726 \`configure' configures backupninja 0.9.0 to adapt to many kinds of systems.
727
728 Usage: $0 [OPTION]... [VAR=VALUE]...
729
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE.  See below for descriptions of some of the useful variables.
732
733 Defaults for the options are specified in brackets.
734
735 Configuration:
736   -h, --help              display this help and exit
737       --help=short        display options specific to this package
738       --help=recursive    display the short help of all the included packages
739   -V, --version           display version information and exit
740   -q, --quiet, --silent   do not print \`checking...' messages
741       --cache-file=FILE   cache test results in FILE [disabled]
742   -C, --config-cache      alias for \`--cache-file=config.cache'
743   -n, --no-create         do not create output files
744       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
745
746 _ACEOF
747
748   cat <<_ACEOF
749 Installation directories:
750   --prefix=PREFIX         install architecture-independent files in PREFIX
751                           [$ac_default_prefix]
752   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
753                           [PREFIX]
754
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
759
760 For better control, use the options below.
761
762 Fine tuning of the installation directories:
763   --bindir=DIR           user executables [EPREFIX/bin]
764   --sbindir=DIR          system admin executables [EPREFIX/sbin]
765   --libexecdir=DIR       program executables [EPREFIX/libexec]
766   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
767   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
768   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
769   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
770   --libdir=DIR           object code libraries [EPREFIX/lib]
771   --includedir=DIR       C header files [PREFIX/include]
772   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
773   --infodir=DIR          info documentation [PREFIX/info]
774   --mandir=DIR           man documentation [PREFIX/man]
775 _ACEOF
776
777   cat <<\_ACEOF
778
779 Program names:
780   --program-prefix=PREFIX            prepend PREFIX to installed program names
781   --program-suffix=SUFFIX            append SUFFIX to installed program names
782   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
783 _ACEOF
784 fi
785
786 if test -n "$ac_init_help"; then
787   case $ac_init_help in
788      short | recursive ) echo "Configuration of backupninja 0.9.0:";;
789    esac
790   cat <<\_ACEOF
791
792 Report bugs to <micah@riseup.net>.
793 _ACEOF
794 fi
795
796 if test "$ac_init_help" = "recursive"; then
797   # If there are subdirs, report their specific --help.
798   ac_popdir=`pwd`
799   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800     test -d $ac_dir || continue
801     ac_builddir=.
802
803 if test "$ac_dir" != .; then
804   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805   # A "../" for each directory in $ac_dir_suffix.
806   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
807 else
808   ac_dir_suffix= ac_top_builddir=
809 fi
810
811 case $srcdir in
812   .)  # No --srcdir option.  We are building in place.
813     ac_srcdir=.
814     if test -z "$ac_top_builddir"; then
815        ac_top_srcdir=.
816     else
817        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
818     fi ;;
819   [\\/]* | ?:[\\/]* )  # Absolute path.
820     ac_srcdir=$srcdir$ac_dir_suffix;
821     ac_top_srcdir=$srcdir ;;
822   *) # Relative path.
823     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824     ac_top_srcdir=$ac_top_builddir$srcdir ;;
825 esac
826
827 # Do not use `cd foo && pwd` to compute absolute paths, because
828 # the directories may not exist.
829 case `pwd` in
830 .) ac_abs_builddir="$ac_dir";;
831 *)
832   case "$ac_dir" in
833   .) ac_abs_builddir=`pwd`;;
834   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
835   *) ac_abs_builddir=`pwd`/"$ac_dir";;
836   esac;;
837 esac
838 case $ac_abs_builddir in
839 .) ac_abs_top_builddir=${ac_top_builddir}.;;
840 *)
841   case ${ac_top_builddir}. in
842   .) ac_abs_top_builddir=$ac_abs_builddir;;
843   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
844   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
845   esac;;
846 esac
847 case $ac_abs_builddir in
848 .) ac_abs_srcdir=$ac_srcdir;;
849 *)
850   case $ac_srcdir in
851   .) ac_abs_srcdir=$ac_abs_builddir;;
852   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
853   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
854   esac;;
855 esac
856 case $ac_abs_builddir in
857 .) ac_abs_top_srcdir=$ac_top_srcdir;;
858 *)
859   case $ac_top_srcdir in
860   .) ac_abs_top_srcdir=$ac_abs_builddir;;
861   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
862   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
863   esac;;
864 esac
865
866     cd $ac_dir
867     # Check for guested configure; otherwise get Cygnus style configure.
868     if test -f $ac_srcdir/configure.gnu; then
869       echo
870       $SHELL $ac_srcdir/configure.gnu  --help=recursive
871     elif test -f $ac_srcdir/configure; then
872       echo
873       $SHELL $ac_srcdir/configure  --help=recursive
874     elif test -f $ac_srcdir/configure.ac ||
875            test -f $ac_srcdir/configure.in; then
876       echo
877       $ac_configure --help
878     else
879       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
880     fi
881     cd $ac_popdir
882   done
883 fi
884
885 test -n "$ac_init_help" && exit 0
886 if $ac_init_version; then
887   cat <<\_ACEOF
888 backupninja configure 0.9.0
889 generated by GNU Autoconf 2.59
890
891 Copyright (C) 2003 Free Software Foundation, Inc.
892 This configure script is free software; the Free Software Foundation
893 gives unlimited permission to copy, distribute and modify it.
894 _ACEOF
895   exit 0
896 fi
897 exec 5>config.log
898 cat >&5 <<_ACEOF
899 This file contains any messages produced by compilers while
900 running configure, to aid debugging if configure makes a mistake.
901
902 It was created by backupninja $as_me 0.9.0, which was
903 generated by GNU Autoconf 2.59.  Invocation command line was
904
905   $ $0 $@
906
907 _ACEOF
908 {
909 cat <<_ASUNAME
910 ## --------- ##
911 ## Platform. ##
912 ## --------- ##
913
914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
919
920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
922
923 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
924 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
927 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
928 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
929 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
930
931 _ASUNAME
932
933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
934 for as_dir in $PATH
935 do
936   IFS=$as_save_IFS
937   test -z "$as_dir" && as_dir=.
938   echo "PATH: $as_dir"
939 done
940
941 } >&5
942
943 cat >&5 <<_ACEOF
944
945
946 ## ----------- ##
947 ## Core tests. ##
948 ## ----------- ##
949
950 _ACEOF
951
952
953 # Keep a trace of the command line.
954 # Strip out --no-create and --no-recursion so they do not pile up.
955 # Strip out --silent because we don't want to record it for future runs.
956 # Also quote any args containing shell meta-characters.
957 # Make two passes to allow for proper duplicate-argument suppression.
958 ac_configure_args=
959 ac_configure_args0=
960 ac_configure_args1=
961 ac_sep=
962 ac_must_keep_next=false
963 for ac_pass in 1 2
964 do
965   for ac_arg
966   do
967     case $ac_arg in
968     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970     | -silent | --silent | --silen | --sile | --sil)
971       continue ;;
972     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
974     esac
975     case $ac_pass in
976     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
977     2)
978       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979       if test $ac_must_keep_next = true; then
980         ac_must_keep_next=false # Got value, back to normal.
981       else
982         case $ac_arg in
983           *=* | --config-cache | -C | -disable-* | --disable-* \
984           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986           | -with-* | --with-* | -without-* | --without-* | --x)
987             case "$ac_configure_args0 " in
988               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
989             esac
990             ;;
991           -* ) ac_must_keep_next=true ;;
992         esac
993       fi
994       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995       # Get rid of the leading space.
996       ac_sep=" "
997       ;;
998     esac
999   done
1000 done
1001 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1003
1004 # When interrupted or exit'd, cleanup temporary files, and complete
1005 # config.log.  We remove comments because anyway the quotes in there
1006 # would cause problems or look ugly.
1007 # WARNING: Be sure not to use single quotes in there, as some shells,
1008 # such as our DU 5.0 friend, will then `close' the trap.
1009 trap 'exit_status=$?
1010   # Save into config.log some information that might help in debugging.
1011   {
1012     echo
1013
1014     cat <<\_ASBOX
1015 ## ---------------- ##
1016 ## Cache variables. ##
1017 ## ---------------- ##
1018 _ASBOX
1019     echo
1020     # The following way of writing the cache mishandles newlines in values,
1021 {
1022   (set) 2>&1 |
1023     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024     *ac_space=\ *)
1025       sed -n \
1026         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028       ;;
1029     *)
1030       sed -n \
1031         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032       ;;
1033     esac;
1034 }
1035     echo
1036
1037     cat <<\_ASBOX
1038 ## ----------------- ##
1039 ## Output variables. ##
1040 ## ----------------- ##
1041 _ASBOX
1042     echo
1043     for ac_var in $ac_subst_vars
1044     do
1045       eval ac_val=$`echo $ac_var`
1046       echo "$ac_var='"'"'$ac_val'"'"'"
1047     done | sort
1048     echo
1049
1050     if test -n "$ac_subst_files"; then
1051       cat <<\_ASBOX
1052 ## ------------- ##
1053 ## Output files. ##
1054 ## ------------- ##
1055 _ASBOX
1056       echo
1057       for ac_var in $ac_subst_files
1058       do
1059         eval ac_val=$`echo $ac_var`
1060         echo "$ac_var='"'"'$ac_val'"'"'"
1061       done | sort
1062       echo
1063     fi
1064
1065     if test -s confdefs.h; then
1066       cat <<\_ASBOX
1067 ## ----------- ##
1068 ## confdefs.h. ##
1069 ## ----------- ##
1070 _ASBOX
1071       echo
1072       sed "/^$/d" confdefs.h | sort
1073       echo
1074     fi
1075     test "$ac_signal" != 0 &&
1076       echo "$as_me: caught signal $ac_signal"
1077     echo "$as_me: exit $exit_status"
1078   } >&5
1079   rm -f core *.core &&
1080   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1081     exit $exit_status
1082      ' 0
1083 for ac_signal in 1 2 13 15; do
1084   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1085 done
1086 ac_signal=0
1087
1088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1089 rm -rf conftest* confdefs.h
1090 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1091 echo >confdefs.h
1092
1093 # Predefined preprocessor variables.
1094
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_NAME "$PACKAGE_NAME"
1097 _ACEOF
1098
1099
1100 cat >>confdefs.h <<_ACEOF
1101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1102 _ACEOF
1103
1104
1105 cat >>confdefs.h <<_ACEOF
1106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1107 _ACEOF
1108
1109
1110 cat >>confdefs.h <<_ACEOF
1111 #define PACKAGE_STRING "$PACKAGE_STRING"
1112 _ACEOF
1113
1114
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1117 _ACEOF
1118
1119
1120 # Let the site file select an alternate cache file if it wants to.
1121 # Prefer explicitly selected file to automatically selected ones.
1122 if test -z "$CONFIG_SITE"; then
1123   if test "x$prefix" != xNONE; then
1124     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125   else
1126     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1127   fi
1128 fi
1129 for ac_site_file in $CONFIG_SITE; do
1130   if test -r "$ac_site_file"; then
1131     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132 echo "$as_me: loading site script $ac_site_file" >&6;}
1133     sed 's/^/| /' "$ac_site_file" >&5
1134     . "$ac_site_file"
1135   fi
1136 done
1137
1138 if test -r "$cache_file"; then
1139   # Some versions of bash will fail to source /dev/null (special
1140   # files actually), so we avoid doing that.
1141   if test -f "$cache_file"; then
1142     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1143 echo "$as_me: loading cache $cache_file" >&6;}
1144     case $cache_file in
1145       [\\/]* | ?:[\\/]* ) . $cache_file;;
1146       *)                      . ./$cache_file;;
1147     esac
1148   fi
1149 else
1150   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1151 echo "$as_me: creating cache $cache_file" >&6;}
1152   >$cache_file
1153 fi
1154
1155 # Check that the precious variables saved in the cache have kept the same
1156 # value.
1157 ac_cache_corrupted=false
1158 for ac_var in `(set) 2>&1 |
1159                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1160   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1161   eval ac_new_set=\$ac_env_${ac_var}_set
1162   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163   eval ac_new_val="\$ac_env_${ac_var}_value"
1164   case $ac_old_set,$ac_new_set in
1165     set,)
1166       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1167 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1168       ac_cache_corrupted=: ;;
1169     ,set)
1170       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1171 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1172       ac_cache_corrupted=: ;;
1173     ,);;
1174     *)
1175       if test "x$ac_old_val" != "x$ac_new_val"; then
1176         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1177 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1178         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1179 echo "$as_me:   former value:  $ac_old_val" >&2;}
1180         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1181 echo "$as_me:   current value: $ac_new_val" >&2;}
1182         ac_cache_corrupted=:
1183       fi;;
1184   esac
1185   # Pass precious variables to config.status.
1186   if test "$ac_new_set" = set; then
1187     case $ac_new_val in
1188     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1190     *) ac_arg=$ac_var=$ac_new_val ;;
1191     esac
1192     case " $ac_configure_args " in
1193       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1194       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1195     esac
1196   fi
1197 done
1198 if $ac_cache_corrupted; then
1199   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1200 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1201   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1202 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1203    { (exit 1); exit 1; }; }
1204 fi
1205
1206 ac_ext=c
1207 ac_cpp='$CPP $CPPFLAGS'
1208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239 #AC_CONFIG_HEADERS([config.sh])
1240 am__api_version="1.9"
1241 ac_aux_dir=
1242 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1243   if test -f $ac_dir/install-sh; then
1244     ac_aux_dir=$ac_dir
1245     ac_install_sh="$ac_aux_dir/install-sh -c"
1246     break
1247   elif test -f $ac_dir/install.sh; then
1248     ac_aux_dir=$ac_dir
1249     ac_install_sh="$ac_aux_dir/install.sh -c"
1250     break
1251   elif test -f $ac_dir/shtool; then
1252     ac_aux_dir=$ac_dir
1253     ac_install_sh="$ac_aux_dir/shtool install -c"
1254     break
1255   fi
1256 done
1257 if test -z "$ac_aux_dir"; then
1258   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1259 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1260    { (exit 1); exit 1; }; }
1261 fi
1262 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1263 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1264 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1265
1266 # Find a good install program.  We prefer a C program (faster),
1267 # so one script is as good as another.  But avoid the broken or
1268 # incompatible versions:
1269 # SysV /etc/install, /usr/sbin/install
1270 # SunOS /usr/etc/install
1271 # IRIX /sbin/install
1272 # AIX /bin/install
1273 # AmigaOS /C/install, which installs bootblocks on floppy discs
1274 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1275 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1276 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1277 # OS/2's system install, which has a completely different semantic
1278 # ./install, which can be erroneously created by make from ./install.sh.
1279 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1280 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1281 if test -z "$INSTALL"; then
1282 if test "${ac_cv_path_install+set}" = set; then
1283   echo $ECHO_N "(cached) $ECHO_C" >&6
1284 else
1285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1286 for as_dir in $PATH
1287 do
1288   IFS=$as_save_IFS
1289   test -z "$as_dir" && as_dir=.
1290   # Account for people who put trailing slashes in PATH elements.
1291 case $as_dir/ in
1292   ./ | .// | /cC/* | \
1293   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1294   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1295   /usr/ucb/* ) ;;
1296   *)
1297     # OSF1 and SCO ODT 3.0 have their own names for install.
1298     # Don't use installbsd from OSF since it installs stuff as root
1299     # by default.
1300     for ac_prog in ginstall scoinst install; do
1301       for ac_exec_ext in '' $ac_executable_extensions; do
1302         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1303           if test $ac_prog = install &&
1304             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1305             # AIX install.  It has an incompatible calling convention.
1306             :
1307           elif test $ac_prog = install &&
1308             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1309             # program-specific install script used by HP pwplus--don't use.
1310             :
1311           else
1312             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1313             break 3
1314           fi
1315         fi
1316       done
1317     done
1318     ;;
1319 esac
1320 done
1321
1322
1323 fi
1324   if test "${ac_cv_path_install+set}" = set; then
1325     INSTALL=$ac_cv_path_install
1326   else
1327     # As a last resort, use the slow shell script.  We don't cache a
1328     # path for INSTALL within a source directory, because that will
1329     # break other packages using the cache if that directory is
1330     # removed, or if the path is relative.
1331     INSTALL=$ac_install_sh
1332   fi
1333 fi
1334 echo "$as_me:$LINENO: result: $INSTALL" >&5
1335 echo "${ECHO_T}$INSTALL" >&6
1336
1337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1338 # It thinks the first close brace ends the variable substitution.
1339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1340
1341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1342
1343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1344
1345 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1346 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1347 # Just in case
1348 sleep 1
1349 echo timestamp > conftest.file
1350 # Do `set' in a subshell so we don't clobber the current shell's
1351 # arguments.  Must try -L first in case configure is actually a
1352 # symlink; some systems play weird games with the mod time of symlinks
1353 # (eg FreeBSD returns the mod time of the symlink's containing
1354 # directory).
1355 if (
1356    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1357    if test "$*" = "X"; then
1358       # -L didn't work.
1359       set X `ls -t $srcdir/configure conftest.file`
1360    fi
1361    rm -f conftest.file
1362    if test "$*" != "X $srcdir/configure conftest.file" \
1363       && test "$*" != "X conftest.file $srcdir/configure"; then
1364
1365       # If neither matched, then we have a broken ls.  This can happen
1366       # if, for instance, CONFIG_SHELL is bash and it inherits a
1367       # broken ls alias from the environment.  This has actually
1368       # happened.  Such a system could not be considered "sane".
1369       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1370 alias in your environment" >&5
1371 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1372 alias in your environment" >&2;}
1373    { (exit 1); exit 1; }; }
1374    fi
1375
1376    test "$2" = conftest.file
1377    )
1378 then
1379    # Ok.
1380    :
1381 else
1382    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1383 Check your system clock" >&5
1384 echo "$as_me: error: newly created file is older than distributed files!
1385 Check your system clock" >&2;}
1386    { (exit 1); exit 1; }; }
1387 fi
1388 echo "$as_me:$LINENO: result: yes" >&5
1389 echo "${ECHO_T}yes" >&6
1390 test "$program_prefix" != NONE &&
1391   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1392 # Use a double $ so make ignores it.
1393 test "$program_suffix" != NONE &&
1394   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1395 # Double any \ or $.  echo might interpret backslashes.
1396 # By default was `s,x,x', remove it if useless.
1397 cat <<\_ACEOF >conftest.sed
1398 s/[\\$]/&&/g;s/;s,x,x,$//
1399 _ACEOF
1400 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1401 rm conftest.sed
1402
1403 # expand $ac_aux_dir to an absolute path
1404 am_aux_dir=`cd $ac_aux_dir && pwd`
1405
1406 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1407 # Use eval to expand $SHELL
1408 if eval "$MISSING --run true"; then
1409   am_missing_run="$MISSING --run "
1410 else
1411   am_missing_run=
1412   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1413 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1414 fi
1415
1416 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1417   # We used to keeping the `.' as first argument, in order to
1418   # allow $(mkdir_p) to be used without argument.  As in
1419   #   $(mkdir_p) $(somedir)
1420   # where $(somedir) is conditionally defined.  However this is wrong
1421   # for two reasons:
1422   #  1. if the package is installed by a user who cannot write `.'
1423   #     make install will fail,
1424   #  2. the above comment should most certainly read
1425   #     $(mkdir_p) $(DESTDIR)$(somedir)
1426   #     so it does not work when $(somedir) is undefined and
1427   #     $(DESTDIR) is not.
1428   #  To support the latter case, we have to write
1429   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1430   #  so the `.' trick is pointless.
1431   mkdir_p='mkdir -p --'
1432 else
1433   # On NextStep and OpenStep, the `mkdir' command does not
1434   # recognize any option.  It will interpret all options as
1435   # directories to create, and then abort because `.' already
1436   # exists.
1437   for d in ./-p ./--version;
1438   do
1439     test -d $d && rmdir $d
1440   done
1441   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1442   if test -f "$ac_aux_dir/mkinstalldirs"; then
1443     mkdir_p='$(mkinstalldirs)'
1444   else
1445     mkdir_p='$(install_sh) -d'
1446   fi
1447 fi
1448
1449 for ac_prog in gawk mawk nawk awk
1450 do
1451   # Extract the first word of "$ac_prog", so it can be a program name with args.
1452 set dummy $ac_prog; ac_word=$2
1453 echo "$as_me:$LINENO: checking for $ac_word" >&5
1454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1455 if test "${ac_cv_prog_AWK+set}" = set; then
1456   echo $ECHO_N "(cached) $ECHO_C" >&6
1457 else
1458   if test -n "$AWK"; then
1459   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1460 else
1461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462 for as_dir in $PATH
1463 do
1464   IFS=$as_save_IFS
1465   test -z "$as_dir" && as_dir=.
1466   for ac_exec_ext in '' $ac_executable_extensions; do
1467   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1468     ac_cv_prog_AWK="$ac_prog"
1469     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1470     break 2
1471   fi
1472 done
1473 done
1474
1475 fi
1476 fi
1477 AWK=$ac_cv_prog_AWK
1478 if test -n "$AWK"; then
1479   echo "$as_me:$LINENO: result: $AWK" >&5
1480 echo "${ECHO_T}$AWK" >&6
1481 else
1482   echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1484 fi
1485
1486   test -n "$AWK" && break
1487 done
1488
1489 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1490 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1491 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1492 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1493   echo $ECHO_N "(cached) $ECHO_C" >&6
1494 else
1495   cat >conftest.make <<\_ACEOF
1496 all:
1497         @echo 'ac_maketemp="$(MAKE)"'
1498 _ACEOF
1499 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1500 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1501 if test -n "$ac_maketemp"; then
1502   eval ac_cv_prog_make_${ac_make}_set=yes
1503 else
1504   eval ac_cv_prog_make_${ac_make}_set=no
1505 fi
1506 rm -f conftest.make
1507 fi
1508 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1509   echo "$as_me:$LINENO: result: yes" >&5
1510 echo "${ECHO_T}yes" >&6
1511   SET_MAKE=
1512 else
1513   echo "$as_me:$LINENO: result: no" >&5
1514 echo "${ECHO_T}no" >&6
1515   SET_MAKE="MAKE=${MAKE-make}"
1516 fi
1517
1518 rm -rf .tst 2>/dev/null
1519 mkdir .tst 2>/dev/null
1520 if test -d .tst; then
1521   am__leading_dot=.
1522 else
1523   am__leading_dot=_
1524 fi
1525 rmdir .tst 2>/dev/null
1526
1527 # test to see if srcdir already configured
1528 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1529    test -f $srcdir/config.status; then
1530   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1531 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1532    { (exit 1); exit 1; }; }
1533 fi
1534
1535 # test whether we have cygpath
1536 if test -z "$CYGPATH_W"; then
1537   if (cygpath --version) >/dev/null 2>/dev/null; then
1538     CYGPATH_W='cygpath -w'
1539   else
1540     CYGPATH_W=echo
1541   fi
1542 fi
1543
1544
1545 # Define the identity of the package.
1546  PACKAGE='backupninja'
1547  VERSION='0.9.0'
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE "$PACKAGE"
1552 _ACEOF
1553
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define VERSION "$VERSION"
1557 _ACEOF
1558
1559 # Some tools Automake needs.
1560
1561 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1562
1563
1564 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1565
1566
1567 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1568
1569
1570 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1571
1572
1573 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1574
1575 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1576
1577 # Installed binaries are usually stripped using `strip' when the user
1578 # run `make install-strip'.  However `strip' might not be the right
1579 # tool to use in cross-compilation environments, therefore Automake
1580 # will honor the `STRIP' environment variable to overrule this program.
1581 if test "$cross_compiling" != no; then
1582   if test -n "$ac_tool_prefix"; then
1583   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1584 set dummy ${ac_tool_prefix}strip; ac_word=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_STRIP+set}" = set; then
1588   echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590   if test -n "$STRIP"; then
1591   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1592 else
1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1594 for as_dir in $PATH
1595 do
1596   IFS=$as_save_IFS
1597   test -z "$as_dir" && as_dir=.
1598   for ac_exec_ext in '' $ac_executable_extensions; do
1599   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1600     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1602     break 2
1603   fi
1604 done
1605 done
1606
1607 fi
1608 fi
1609 STRIP=$ac_cv_prog_STRIP
1610 if test -n "$STRIP"; then
1611   echo "$as_me:$LINENO: result: $STRIP" >&5
1612 echo "${ECHO_T}$STRIP" >&6
1613 else
1614   echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1616 fi
1617
1618 fi
1619 if test -z "$ac_cv_prog_STRIP"; then
1620   ac_ct_STRIP=$STRIP
1621   # Extract the first word of "strip", so it can be a program name with args.
1622 set dummy strip; ac_word=$2
1623 echo "$as_me:$LINENO: checking for $ac_word" >&5
1624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1626   echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628   if test -n "$ac_ct_STRIP"; then
1629   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1630 else
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_prog_ac_ct_STRIP="strip"
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_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1646 fi
1647 fi
1648 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1649 if test -n "$ac_ct_STRIP"; then
1650   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1651 echo "${ECHO_T}$ac_ct_STRIP" >&6
1652 else
1653   echo "$as_me:$LINENO: result: no" >&5
1654 echo "${ECHO_T}no" >&6
1655 fi
1656
1657   STRIP=$ac_ct_STRIP
1658 else
1659   STRIP="$ac_cv_prog_STRIP"
1660 fi
1661
1662 fi
1663 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1664
1665 # We need awk for the "check" target.  The system "awk" is bad on
1666 # some platforms.
1667 # Always define AMTAR for backward compatibility.
1668
1669 AMTAR=${AMTAR-"${am_missing_run}tar"}
1670
1671 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1672
1673
1674
1675
1676
1677
1678 # Checks for programs.
1679 for ac_prog in bash
1680 do
1681   # Extract the first word of "$ac_prog", so it can be a program name with args.
1682 set dummy $ac_prog; ac_word=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_path_BASH+set}" = set; then
1686   echo $ECHO_N "(cached) $ECHO_C" >&6
1687 else
1688   case $BASH in
1689   [\\/]* | ?:[\\/]*)
1690   ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
1691   ;;
1692   *)
1693   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1694 for as_dir in $PATH
1695 do
1696   IFS=$as_save_IFS
1697   test -z "$as_dir" && as_dir=.
1698   for ac_exec_ext in '' $ac_executable_extensions; do
1699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1700     ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
1701     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702     break 2
1703   fi
1704 done
1705 done
1706
1707   ;;
1708 esac
1709 fi
1710 BASH=$ac_cv_path_BASH
1711
1712 if test -n "$BASH"; then
1713   echo "$as_me:$LINENO: result: $BASH" >&5
1714 echo "${ECHO_T}$BASH" >&6
1715 else
1716   echo "$as_me:$LINENO: result: no" >&5
1717 echo "${ECHO_T}no" >&6
1718 fi
1719
1720   test -n "$BASH" && break
1721 done
1722
1723 #AC_PATH_PROGS([PERL], [perl])
1724
1725 #AC_DEFINE([MYVERSION], [5.6])
1726 #AC_DEFINE_UNQUOTED([MYDIR], "${sysconfdir}")
1727 #AC_DEFINE([SYSCONFDIR], [$sysconfdir], [System config dir])
1728 CFGDIR="${sysconfdir}"
1729
1730
1731 # Checks for libraries.
1732
1733 # Checks for header files.
1734
1735 # Checks for typedefs, structures, and compiler characteristics.
1736
1737 # Checks for library functions.
1738
1739                                                             ac_config_files="$ac_config_files Makefile etc/Makefile examples/Makefile handlers/Makefile man/Makefile src/Makefile"
1740
1741
1742           ac_config_files="$ac_config_files backupninja.spec"
1743 cat >confcache <<\_ACEOF
1744 # This file is a shell script that caches the results of configure
1745 # tests run on this system so they can be shared between configure
1746 # scripts and configure runs, see configure's option --config-cache.
1747 # It is not useful on other systems.  If it contains results you don't
1748 # want to keep, you may remove or edit it.
1749 #
1750 # config.status only pays attention to the cache file if you give it
1751 # the --recheck option to rerun configure.
1752 #
1753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1755 # following values.
1756
1757 _ACEOF
1758
1759 # The following way of writing the cache mishandles newlines in values,
1760 # but we know of no workaround that is simple, portable, and efficient.
1761 # So, don't put newlines in cache variables' values.
1762 # Ultrix sh set writes to stderr and can't be redirected directly,
1763 # and sets the high bit in the cache file unless we assign to the vars.
1764 {
1765   (set) 2>&1 |
1766     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1767     *ac_space=\ *)
1768       # `set' does not quote correctly, so add quotes (double-quote
1769       # substitution turns \\\\ into \\, and sed turns \\ into \).
1770       sed -n \
1771         "s/'/'\\\\''/g;
1772           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1773       ;;
1774     *)
1775       # `set' quotes correctly as required by POSIX, so do not add quotes.
1776       sed -n \
1777         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1778       ;;
1779     esac;
1780 } |
1781   sed '
1782      t clear
1783      : clear
1784      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1785      t end
1786      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1787      : end' >>confcache
1788 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1789   if test -w $cache_file; then
1790     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1791     cat confcache >$cache_file
1792   else
1793     echo "not updating unwritable cache $cache_file"
1794   fi
1795 fi
1796 rm -f confcache
1797
1798 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1799 # Let make expand exec_prefix.
1800 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1801
1802 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1803 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1804 # trailing colons and then remove the whole line if VPATH becomes empty
1805 # (actually we leave an empty line to preserve line numbers).
1806 if test "x$srcdir" = x.; then
1807   ac_vpsub='/^[  ]*VPATH[        ]*=/{
1808 s/:*\$(srcdir):*/:/;
1809 s/:*\${srcdir}:*/:/;
1810 s/:*@srcdir@:*/:/;
1811 s/^\([^=]*=[     ]*\):*/\1/;
1812 s/:*$//;
1813 s/^[^=]*=[       ]*$//;
1814 }'
1815 fi
1816
1817 # Transform confdefs.h into DEFS.
1818 # Protect against shell expansion while executing Makefile rules.
1819 # Protect against Makefile macro expansion.
1820 #
1821 # If the first sed substitution is executed (which looks for macros that
1822 # take arguments), then we branch to the quote section.  Otherwise,
1823 # look for a macro that doesn't take arguments.
1824 cat >confdef2opt.sed <<\_ACEOF
1825 t clear
1826 : clear
1827 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1828 t quote
1829 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1830 t quote
1831 d
1832 : quote
1833 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
1834 s,\[,\\&,g
1835 s,\],\\&,g
1836 s,\$,$$,g
1837 p
1838 _ACEOF
1839 # We use echo to avoid assuming a particular line-breaking character.
1840 # The extra dot is to prevent the shell from consuming trailing
1841 # line-breaks from the sub-command output.  A line-break within
1842 # single-quotes doesn't work because, if this script is created in a
1843 # platform that uses two characters for line-breaks (e.g., DOS), tr
1844 # would break.
1845 ac_LF_and_DOT=`echo; echo .`
1846 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1847 rm -f confdef2opt.sed
1848
1849
1850 ac_libobjs=
1851 ac_ltlibobjs=
1852 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1853   # 1. Remove the extension, and $U if already installed.
1854   ac_i=`echo "$ac_i" |
1855          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1856   # 2. Add them.
1857   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1858   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1859 done
1860 LIBOBJS=$ac_libobjs
1861
1862 LTLIBOBJS=$ac_ltlibobjs
1863
1864
1865
1866 : ${CONFIG_STATUS=./config.status}
1867 ac_clean_files_save=$ac_clean_files
1868 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1869 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1870 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1871 cat >$CONFIG_STATUS <<_ACEOF
1872 #! $SHELL
1873 # Generated by $as_me.
1874 # Run this file to recreate the current configuration.
1875 # Compiler output produced by configure, useful for debugging
1876 # configure, is in config.log if it exists.
1877
1878 debug=false
1879 ac_cs_recheck=false
1880 ac_cs_silent=false
1881 SHELL=\${CONFIG_SHELL-$SHELL}
1882 _ACEOF
1883
1884 cat >>$CONFIG_STATUS <<\_ACEOF
1885 ## --------------------- ##
1886 ## M4sh Initialization.  ##
1887 ## --------------------- ##
1888
1889 # Be Bourne compatible
1890 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1891   emulate sh
1892   NULLCMD=:
1893   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1894   # is contrary to our usage.  Disable this feature.
1895   alias -g '${1+"$@"}'='"$@"'
1896 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1897   set -o posix
1898 fi
1899 DUALCASE=1; export DUALCASE # for MKS sh
1900
1901 # Support unset when possible.
1902 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1903   as_unset=unset
1904 else
1905   as_unset=false
1906 fi
1907
1908
1909 # Work around bugs in pre-3.0 UWIN ksh.
1910 $as_unset ENV MAIL MAILPATH
1911 PS1='$ '
1912 PS2='> '
1913 PS4='+ '
1914
1915 # NLS nuisances.
1916 for as_var in \
1917   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1918   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1919   LC_TELEPHONE LC_TIME
1920 do
1921   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1922     eval $as_var=C; export $as_var
1923   else
1924     $as_unset $as_var
1925   fi
1926 done
1927
1928 # Required to use basename.
1929 if expr a : '\(a\)' >/dev/null 2>&1; then
1930   as_expr=expr
1931 else
1932   as_expr=false
1933 fi
1934
1935 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1936   as_basename=basename
1937 else
1938   as_basename=false
1939 fi
1940
1941
1942 # Name of the executable.
1943 as_me=`$as_basename "$0" ||
1944 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1945          X"$0" : 'X\(//\)$' \| \
1946          X"$0" : 'X\(/\)$' \| \
1947          .     : '\(.\)' 2>/dev/null ||
1948 echo X/"$0" |
1949     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1950           /^X\/\(\/\/\)$/{ s//\1/; q; }
1951           /^X\/\(\/\).*/{ s//\1/; q; }
1952           s/.*/./; q'`
1953
1954
1955 # PATH needs CR, and LINENO needs CR and PATH.
1956 # Avoid depending upon Character Ranges.
1957 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1958 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1959 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1960 as_cr_digits='0123456789'
1961 as_cr_alnum=$as_cr_Letters$as_cr_digits
1962
1963 # The user is always right.
1964 if test "${PATH_SEPARATOR+set}" != set; then
1965   echo "#! /bin/sh" >conf$$.sh
1966   echo  "exit 0"   >>conf$$.sh
1967   chmod +x conf$$.sh
1968   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1969     PATH_SEPARATOR=';'
1970   else
1971     PATH_SEPARATOR=:
1972   fi
1973   rm -f conf$$.sh
1974 fi
1975
1976
1977   as_lineno_1=$LINENO
1978   as_lineno_2=$LINENO
1979   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1980   test "x$as_lineno_1" != "x$as_lineno_2" &&
1981   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1982   # Find who we are.  Look in the path if we contain no path at all
1983   # relative or not.
1984   case $0 in
1985     *[\\/]* ) as_myself=$0 ;;
1986     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1988 do
1989   IFS=$as_save_IFS
1990   test -z "$as_dir" && as_dir=.
1991   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1992 done
1993
1994        ;;
1995   esac
1996   # We did not find ourselves, most probably we were run as `sh COMMAND'
1997   # in which case we are not to be found in the path.
1998   if test "x$as_myself" = x; then
1999     as_myself=$0
2000   fi
2001   if test ! -f "$as_myself"; then
2002     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2003 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2004    { (exit 1); exit 1; }; }
2005   fi
2006   case $CONFIG_SHELL in
2007   '')
2008     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2010 do
2011   IFS=$as_save_IFS
2012   test -z "$as_dir" && as_dir=.
2013   for as_base in sh bash ksh sh5; do
2014          case $as_dir in
2015          /*)
2016            if ("$as_dir/$as_base" -c '
2017   as_lineno_1=$LINENO
2018   as_lineno_2=$LINENO
2019   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2020   test "x$as_lineno_1" != "x$as_lineno_2" &&
2021   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2022              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2023              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2024              CONFIG_SHELL=$as_dir/$as_base
2025              export CONFIG_SHELL
2026              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2027            fi;;
2028          esac
2029        done
2030 done
2031 ;;
2032   esac
2033
2034   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2035   # uniformly replaced by the line number.  The first 'sed' inserts a
2036   # line-number line before each line; the second 'sed' does the real
2037   # work.  The second script uses 'N' to pair each line-number line
2038   # with the numbered line, and appends trailing '-' during
2039   # substitution so that $LINENO is not a special case at line end.
2040   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2041   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2042   sed '=' <$as_myself |
2043     sed '
2044       N
2045       s,$,-,
2046       : loop
2047       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2048       t loop
2049       s,-$,,
2050       s,^['$as_cr_digits']*\n,,
2051     ' >$as_me.lineno &&
2052   chmod +x $as_me.lineno ||
2053     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2054 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2055    { (exit 1); exit 1; }; }
2056
2057   # Don't try to exec as it changes $[0], causing all sort of problems
2058   # (the dirname of $[0] is not the place where we might find the
2059   # original and so on.  Autoconf is especially sensible to this).
2060   . ./$as_me.lineno
2061   # Exit status is that of the last command.
2062   exit
2063 }
2064
2065
2066 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2067   *c*,-n*) ECHO_N= ECHO_C='
2068 ' ECHO_T='      ' ;;
2069   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2070   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2071 esac
2072
2073 if expr a : '\(a\)' >/dev/null 2>&1; then
2074   as_expr=expr
2075 else
2076   as_expr=false
2077 fi
2078
2079 rm -f conf$$ conf$$.exe conf$$.file
2080 echo >conf$$.file
2081 if ln -s conf$$.file conf$$ 2>/dev/null; then
2082   # We could just check for DJGPP; but this test a) works b) is more generic
2083   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2084   if test -f conf$$.exe; then
2085     # Don't use ln at all; we don't have any links
2086     as_ln_s='cp -p'
2087   else
2088     as_ln_s='ln -s'
2089   fi
2090 elif ln conf$$.file conf$$ 2>/dev/null; then
2091   as_ln_s=ln
2092 else
2093   as_ln_s='cp -p'
2094 fi
2095 rm -f conf$$ conf$$.exe conf$$.file
2096
2097 if mkdir -p . 2>/dev/null; then
2098   as_mkdir_p=:
2099 else
2100   test -d ./-p && rmdir ./-p
2101   as_mkdir_p=false
2102 fi
2103
2104 as_executable_p="test -f"
2105
2106 # Sed expression to map a string onto a valid CPP name.
2107 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2108
2109 # Sed expression to map a string onto a valid variable name.
2110 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2111
2112
2113 # IFS
2114 # We need space, tab and new line, in precisely that order.
2115 as_nl='
2116 '
2117 IFS="   $as_nl"
2118
2119 # CDPATH.
2120 $as_unset CDPATH
2121
2122 exec 6>&1
2123
2124 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2125 # report actual input values of CONFIG_FILES etc. instead of their
2126 # values after options handling.  Logging --version etc. is OK.
2127 exec 5>>config.log
2128 {
2129   echo
2130   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2131 ## Running $as_me. ##
2132 _ASBOX
2133 } >&5
2134 cat >&5 <<_CSEOF
2135
2136 This file was extended by backupninja $as_me 0.9.0, which was
2137 generated by GNU Autoconf 2.59.  Invocation command line was
2138
2139   CONFIG_FILES    = $CONFIG_FILES
2140   CONFIG_HEADERS  = $CONFIG_HEADERS
2141   CONFIG_LINKS    = $CONFIG_LINKS
2142   CONFIG_COMMANDS = $CONFIG_COMMANDS
2143   $ $0 $@
2144
2145 _CSEOF
2146 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2147 echo >&5
2148 _ACEOF
2149
2150 # Files that config.status was made for.
2151 if test -n "$ac_config_files"; then
2152   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2153 fi
2154
2155 if test -n "$ac_config_headers"; then
2156   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2157 fi
2158
2159 if test -n "$ac_config_links"; then
2160   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2161 fi
2162
2163 if test -n "$ac_config_commands"; then
2164   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2165 fi
2166
2167 cat >>$CONFIG_STATUS <<\_ACEOF
2168
2169 ac_cs_usage="\
2170 \`$as_me' instantiates files from templates according to the
2171 current configuration.
2172
2173 Usage: $0 [OPTIONS] [FILE]...
2174
2175   -h, --help       print this help, then exit
2176   -V, --version    print version number, then exit
2177   -q, --quiet      do not print progress messages
2178   -d, --debug      don't remove temporary files
2179       --recheck    update $as_me by reconfiguring in the same conditions
2180   --file=FILE[:TEMPLATE]
2181                    instantiate the configuration file FILE
2182
2183 Configuration files:
2184 $config_files
2185
2186 Report bugs to <bug-autoconf@gnu.org>."
2187 _ACEOF
2188
2189 cat >>$CONFIG_STATUS <<_ACEOF
2190 ac_cs_version="\\
2191 backupninja config.status 0.9.0
2192 configured by $0, generated by GNU Autoconf 2.59,
2193   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2194
2195 Copyright (C) 2003 Free Software Foundation, Inc.
2196 This config.status script is free software; the Free Software Foundation
2197 gives unlimited permission to copy, distribute and modify it."
2198 srcdir=$srcdir
2199 INSTALL="$INSTALL"
2200 _ACEOF
2201
2202 cat >>$CONFIG_STATUS <<\_ACEOF
2203 # If no file are specified by the user, then we need to provide default
2204 # value.  By we need to know if files were specified by the user.
2205 ac_need_defaults=:
2206 while test $# != 0
2207 do
2208   case $1 in
2209   --*=*)
2210     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2211     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2212     ac_shift=:
2213     ;;
2214   -*)
2215     ac_option=$1
2216     ac_optarg=$2
2217     ac_shift=shift
2218     ;;
2219   *) # This is not an option, so the user has probably given explicit
2220      # arguments.
2221      ac_option=$1
2222      ac_need_defaults=false;;
2223   esac
2224
2225   case $ac_option in
2226   # Handling of the options.
2227 _ACEOF
2228 cat >>$CONFIG_STATUS <<\_ACEOF
2229   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2230     ac_cs_recheck=: ;;
2231   --version | --vers* | -V )
2232     echo "$ac_cs_version"; exit 0 ;;
2233   --he | --h)
2234     # Conflict between --help and --header
2235     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2236 Try \`$0 --help' for more information." >&5
2237 echo "$as_me: error: ambiguous option: $1
2238 Try \`$0 --help' for more information." >&2;}
2239    { (exit 1); exit 1; }; };;
2240   --help | --hel | -h )
2241     echo "$ac_cs_usage"; exit 0 ;;
2242   --debug | --d* | -d )
2243     debug=: ;;
2244   --file | --fil | --fi | --f )
2245     $ac_shift
2246     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2247     ac_need_defaults=false;;
2248   --header | --heade | --head | --hea )
2249     $ac_shift
2250     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2251     ac_need_defaults=false;;
2252   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2254     ac_cs_silent=: ;;
2255
2256   # This is an error.
2257   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2258 Try \`$0 --help' for more information." >&5
2259 echo "$as_me: error: unrecognized option: $1
2260 Try \`$0 --help' for more information." >&2;}
2261    { (exit 1); exit 1; }; } ;;
2262
2263   *) ac_config_targets="$ac_config_targets $1" ;;
2264
2265   esac
2266   shift
2267 done
2268
2269 ac_configure_extra_args=
2270
2271 if $ac_cs_silent; then
2272   exec 6>/dev/null
2273   ac_configure_extra_args="$ac_configure_extra_args --silent"
2274 fi
2275
2276 _ACEOF
2277 cat >>$CONFIG_STATUS <<_ACEOF
2278 if \$ac_cs_recheck; then
2279   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2280   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2281 fi
2282
2283 _ACEOF
2284
2285
2286
2287
2288
2289 cat >>$CONFIG_STATUS <<\_ACEOF
2290 for ac_config_target in $ac_config_targets
2291 do
2292   case "$ac_config_target" in
2293   # Handling of arguments.
2294   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2295   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
2296   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
2297   "handlers/Makefile" ) CONFIG_FILES="$CONFIG_FILES handlers/Makefile" ;;
2298   "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
2299   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2300   "backupninja.spec" ) CONFIG_FILES="$CONFIG_FILES backupninja.spec" ;;
2301   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2302 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2303    { (exit 1); exit 1; }; };;
2304   esac
2305 done
2306
2307 # If the user did not use the arguments to specify the items to instantiate,
2308 # then the envvar interface is used.  Set only those that are not.
2309 # We use the long form for the default assignment because of an extremely
2310 # bizarre bug on SunOS 4.1.3.
2311 if $ac_need_defaults; then
2312   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2313 fi
2314
2315 # Have a temporary directory for convenience.  Make it in the build tree
2316 # simply because there is no reason to put it here, and in addition,
2317 # creating and moving files from /tmp can sometimes cause problems.
2318 # Create a temporary directory, and hook for its removal unless debugging.
2319 $debug ||
2320 {
2321   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2322   trap '{ (exit 1); exit 1; }' 1 2 13 15
2323 }
2324
2325 # Create a (secure) tmp directory for tmp files.
2326
2327 {
2328   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2329   test -n "$tmp" && test -d "$tmp"
2330 }  ||
2331 {
2332   tmp=./confstat$$-$RANDOM
2333   (umask 077 && mkdir $tmp)
2334 } ||
2335 {
2336    echo "$me: cannot create a temporary directory in ." >&2
2337    { (exit 1); exit 1; }
2338 }
2339
2340 _ACEOF
2341
2342 cat >>$CONFIG_STATUS <<_ACEOF
2343
2344 #
2345 # CONFIG_FILES section.
2346 #
2347
2348 # No need to generate the scripts if there are no CONFIG_FILES.
2349 # This happens for instance when ./config.status config.h
2350 if test -n "\$CONFIG_FILES"; then
2351   # Protect against being on the right side of a sed subst in config.status.
2352   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2353    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2354 s,@SHELL@,$SHELL,;t t
2355 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2356 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2357 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2358 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2359 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2360 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2361 s,@exec_prefix@,$exec_prefix,;t t
2362 s,@prefix@,$prefix,;t t
2363 s,@program_transform_name@,$program_transform_name,;t t
2364 s,@bindir@,$bindir,;t t
2365 s,@sbindir@,$sbindir,;t t
2366 s,@libexecdir@,$libexecdir,;t t
2367 s,@datadir@,$datadir,;t t
2368 s,@sysconfdir@,$sysconfdir,;t t
2369 s,@sharedstatedir@,$sharedstatedir,;t t
2370 s,@localstatedir@,$localstatedir,;t t
2371 s,@libdir@,$libdir,;t t
2372 s,@includedir@,$includedir,;t t
2373 s,@oldincludedir@,$oldincludedir,;t t
2374 s,@infodir@,$infodir,;t t
2375 s,@mandir@,$mandir,;t t
2376 s,@build_alias@,$build_alias,;t t
2377 s,@host_alias@,$host_alias,;t t
2378 s,@target_alias@,$target_alias,;t t
2379 s,@DEFS@,$DEFS,;t t
2380 s,@ECHO_C@,$ECHO_C,;t t
2381 s,@ECHO_N@,$ECHO_N,;t t
2382 s,@ECHO_T@,$ECHO_T,;t t
2383 s,@LIBS@,$LIBS,;t t
2384 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2385 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2386 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2387 s,@CYGPATH_W@,$CYGPATH_W,;t t
2388 s,@PACKAGE@,$PACKAGE,;t t
2389 s,@VERSION@,$VERSION,;t t
2390 s,@ACLOCAL@,$ACLOCAL,;t t
2391 s,@AUTOCONF@,$AUTOCONF,;t t
2392 s,@AUTOMAKE@,$AUTOMAKE,;t t
2393 s,@AUTOHEADER@,$AUTOHEADER,;t t
2394 s,@MAKEINFO@,$MAKEINFO,;t t
2395 s,@install_sh@,$install_sh,;t t
2396 s,@STRIP@,$STRIP,;t t
2397 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2398 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2399 s,@mkdir_p@,$mkdir_p,;t t
2400 s,@AWK@,$AWK,;t t
2401 s,@SET_MAKE@,$SET_MAKE,;t t
2402 s,@am__leading_dot@,$am__leading_dot,;t t
2403 s,@AMTAR@,$AMTAR,;t t
2404 s,@am__tar@,$am__tar,;t t
2405 s,@am__untar@,$am__untar,;t t
2406 s,@BASH@,$BASH,;t t
2407 s,@CFGDIR@,$CFGDIR,;t t
2408 s,@LIBOBJS@,$LIBOBJS,;t t
2409 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2410 CEOF
2411
2412 _ACEOF
2413
2414   cat >>$CONFIG_STATUS <<\_ACEOF
2415   # Split the substitutions into bite-sized pieces for seds with
2416   # small command number limits, like on Digital OSF/1 and HP-UX.
2417   ac_max_sed_lines=48
2418   ac_sed_frag=1 # Number of current file.
2419   ac_beg=1 # First line for current file.
2420   ac_end=$ac_max_sed_lines # Line after last line for current file.
2421   ac_more_lines=:
2422   ac_sed_cmds=
2423   while $ac_more_lines; do
2424     if test $ac_beg -gt 1; then
2425       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2426     else
2427       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2428     fi
2429     if test ! -s $tmp/subs.frag; then
2430       ac_more_lines=false
2431     else
2432       # The purpose of the label and of the branching condition is to
2433       # speed up the sed processing (if there are no `@' at all, there
2434       # is no need to browse any of the substitutions).
2435       # These are the two extra sed commands mentioned above.
2436       (echo ':t
2437   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2438       if test -z "$ac_sed_cmds"; then
2439         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2440       else
2441         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2442       fi
2443       ac_sed_frag=`expr $ac_sed_frag + 1`
2444       ac_beg=$ac_end
2445       ac_end=`expr $ac_end + $ac_max_sed_lines`
2446     fi
2447   done
2448   if test -z "$ac_sed_cmds"; then
2449     ac_sed_cmds=cat
2450   fi
2451 fi # test -n "$CONFIG_FILES"
2452
2453 _ACEOF
2454 cat >>$CONFIG_STATUS <<\_ACEOF
2455 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2456   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2457   case $ac_file in
2458   - | *:- | *:-:* ) # input from stdin
2459         cat >$tmp/stdin
2460         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2461         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2462   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2463         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2464   * )   ac_file_in=$ac_file.in ;;
2465   esac
2466
2467   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2468   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2470          X"$ac_file" : 'X\(//\)[^/]' \| \
2471          X"$ac_file" : 'X\(//\)$' \| \
2472          X"$ac_file" : 'X\(/\)' \| \
2473          .     : '\(.\)' 2>/dev/null ||
2474 echo X"$ac_file" |
2475     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2476           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2477           /^X\(\/\/\)$/{ s//\1/; q; }
2478           /^X\(\/\).*/{ s//\1/; q; }
2479           s/.*/./; q'`
2480   { if $as_mkdir_p; then
2481     mkdir -p "$ac_dir"
2482   else
2483     as_dir="$ac_dir"
2484     as_dirs=
2485     while test ! -d "$as_dir"; do
2486       as_dirs="$as_dir $as_dirs"
2487       as_dir=`(dirname "$as_dir") 2>/dev/null ||
2488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2489          X"$as_dir" : 'X\(//\)[^/]' \| \
2490          X"$as_dir" : 'X\(//\)$' \| \
2491          X"$as_dir" : 'X\(/\)' \| \
2492          .     : '\(.\)' 2>/dev/null ||
2493 echo X"$as_dir" |
2494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2495           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2496           /^X\(\/\/\)$/{ s//\1/; q; }
2497           /^X\(\/\).*/{ s//\1/; q; }
2498           s/.*/./; q'`
2499     done
2500     test ! -n "$as_dirs" || mkdir $as_dirs
2501   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2502 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2503    { (exit 1); exit 1; }; }; }
2504
2505   ac_builddir=.
2506
2507 if test "$ac_dir" != .; then
2508   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2509   # A "../" for each directory in $ac_dir_suffix.
2510   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2511 else
2512   ac_dir_suffix= ac_top_builddir=
2513 fi
2514
2515 case $srcdir in
2516   .)  # No --srcdir option.  We are building in place.
2517     ac_srcdir=.
2518     if test -z "$ac_top_builddir"; then
2519        ac_top_srcdir=.
2520     else
2521        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2522     fi ;;
2523   [\\/]* | ?:[\\/]* )  # Absolute path.
2524     ac_srcdir=$srcdir$ac_dir_suffix;
2525     ac_top_srcdir=$srcdir ;;
2526   *) # Relative path.
2527     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2528     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2529 esac
2530
2531 # Do not use `cd foo && pwd` to compute absolute paths, because
2532 # the directories may not exist.
2533 case `pwd` in
2534 .) ac_abs_builddir="$ac_dir";;
2535 *)
2536   case "$ac_dir" in
2537   .) ac_abs_builddir=`pwd`;;
2538   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2539   *) ac_abs_builddir=`pwd`/"$ac_dir";;
2540   esac;;
2541 esac
2542 case $ac_abs_builddir in
2543 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2544 *)
2545   case ${ac_top_builddir}. in
2546   .) ac_abs_top_builddir=$ac_abs_builddir;;
2547   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2548   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2549   esac;;
2550 esac
2551 case $ac_abs_builddir in
2552 .) ac_abs_srcdir=$ac_srcdir;;
2553 *)
2554   case $ac_srcdir in
2555   .) ac_abs_srcdir=$ac_abs_builddir;;
2556   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2557   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2558   esac;;
2559 esac
2560 case $ac_abs_builddir in
2561 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2562 *)
2563   case $ac_top_srcdir in
2564   .) ac_abs_top_srcdir=$ac_abs_builddir;;
2565   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2566   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2567   esac;;
2568 esac
2569
2570
2571   case $INSTALL in
2572   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2573   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2574   esac
2575
2576   if test x"$ac_file" != x-; then
2577     { echo "$as_me:$LINENO: creating $ac_file" >&5
2578 echo "$as_me: creating $ac_file" >&6;}
2579     rm -f "$ac_file"
2580   fi
2581   # Let's still pretend it is `configure' which instantiates (i.e., don't
2582   # use $as_me), people would be surprised to read:
2583   #    /* config.h.  Generated by config.status.  */
2584   if test x"$ac_file" = x-; then
2585     configure_input=
2586   else
2587     configure_input="$ac_file.  "
2588   fi
2589   configure_input=$configure_input"Generated from `echo $ac_file_in |
2590                                      sed 's,.*/,,'` by configure."
2591
2592   # First look for the input files in the build tree, otherwise in the
2593   # src tree.
2594   ac_file_inputs=`IFS=:
2595     for f in $ac_file_in; do
2596       case $f in
2597       -) echo $tmp/stdin ;;
2598       [\\/$]*)
2599          # Absolute (can't be DOS-style, as IFS=:)
2600          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2601 echo "$as_me: error: cannot find input file: $f" >&2;}
2602    { (exit 1); exit 1; }; }
2603          echo "$f";;
2604       *) # Relative
2605          if test -f "$f"; then
2606            # Build tree
2607            echo "$f"
2608          elif test -f "$srcdir/$f"; then
2609            # Source tree
2610            echo "$srcdir/$f"
2611          else
2612            # /dev/null tree
2613            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2614 echo "$as_me: error: cannot find input file: $f" >&2;}
2615    { (exit 1); exit 1; }; }
2616          fi;;
2617       esac
2618     done` || { (exit 1); exit 1; }
2619 _ACEOF
2620 cat >>$CONFIG_STATUS <<_ACEOF
2621   sed "$ac_vpsub
2622 $extrasub
2623 _ACEOF
2624 cat >>$CONFIG_STATUS <<\_ACEOF
2625 :t
2626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2627 s,@configure_input@,$configure_input,;t t
2628 s,@srcdir@,$ac_srcdir,;t t
2629 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2630 s,@top_srcdir@,$ac_top_srcdir,;t t
2631 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2632 s,@builddir@,$ac_builddir,;t t
2633 s,@abs_builddir@,$ac_abs_builddir,;t t
2634 s,@top_builddir@,$ac_top_builddir,;t t
2635 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2636 s,@INSTALL@,$ac_INSTALL,;t t
2637 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2638   rm -f $tmp/stdin
2639   if test x"$ac_file" != x-; then
2640     mv $tmp/out $ac_file
2641   else
2642     cat $tmp/out
2643     rm -f $tmp/out
2644   fi
2645
2646 done
2647 _ACEOF
2648
2649 cat >>$CONFIG_STATUS <<\_ACEOF
2650
2651 { (exit 0); exit 0; }
2652 _ACEOF
2653 chmod +x $CONFIG_STATUS
2654 ac_clean_files=$ac_clean_files_save
2655
2656
2657 # configure is writing to config.log, and then calls config.status.
2658 # config.status does its own redirection, appending to config.log.
2659 # Unfortunately, on DOS this fails, as config.log is still kept open
2660 # by configure, so config.status won't be able to write to it; its
2661 # output is simply discarded.  So we exec the FD to /dev/null,
2662 # effectively closing config.log, so it can be properly (re)opened and
2663 # appended to by config.status.  When coming back to configure, we
2664 # need to make the FD available again.
2665 if test "$no_create" != yes; then
2666   ac_cs_success=:
2667   ac_config_status_args=
2668   test "$silent" = yes &&
2669     ac_config_status_args="$ac_config_status_args --quiet"
2670   exec 5>/dev/null
2671   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2672   exec 5>>config.log
2673   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2674   # would make configure fail if this is the last instruction.
2675   $ac_cs_success || { (exit 1); exit 1; }
2676 fi
2677