~ubuntu-branches/ubuntu/trusty/backupninja/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): intrigeri
  • Date: 2011-09-23 18:24:41 UTC
  • mfrom: (1.1.12) (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20110923182441-emtziiiue5alxs5w
Tags: 0.9.10-1
* New upsteam release
  . Fix "Locking mechanism causes variable problem".
  . Allow 'when = XXX' in sh jobs.
  . Stop supporting duplicity < 0.6.01.
  . Fixed $rsync_options. (Closes: #639545)
  . Fix typo in manpage.
  . Stop using hyphen as minus sign in manpages.
  . Fix infinite loop in rdiff helper when version inconsistency is detected.
    Thanks to Chris Lamb for the patch.
    (Closes: #639547)
  . Fix incorrect duplicity version check for keepincroffulls.
    Thanks to Olivier Berger for the patch.
    (Closes: #641120)
  . Don't install LDAP handler, helper and example configuration file.
  . Don't mention LDAP support in documentation.
* Formally move to team-maintenance, add myself to uploaders.
* Use 3.0 (quilt) source format.
* Convert to dh7 minimal rules with dh-autoreconf.
* preinst: use "set -e" in the script body instead of in the shebang.
* Don't mention LDAP support in long description, don't install its
  example configuration file.

Show diffs side-by-side

added added

removed removed

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