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