~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.7.2-1/configure

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-12-06 16:24:31 UTC
  • mfrom: (1.1.6 upstream) (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101206162431-lvg92fyuiupfoqek
Tags: 0.7.3-1
* New upstream version (closes: #602631)
  - Support for specifying debian suite (closes: #600459)
  - Support for declaring a different architecture (closes: #597875)
* Fix restart init.d action sequence (closes: #597998)
* Move too-deep /usr/lib/lxc/lxc path to a proper patch
* Disable checkroot script in debian template (closes: #601001)
* Create missing tty devices under squeeze (closes: #600466)
* Restore bindmount functionality in newer kernels (closes: #604475)
* Make debian mirror configurable (closes: #601422)
* Default to cdn.debian.net as a debian mirror (closes: #600464)

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.65 for lxc 0.7.2.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
105
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
 
# in which case we are not to be found in the path.
107
 
if test "x$as_myself" = x; then
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
136
 
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
191
 
         /*)
192
 
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
202
 
           done;;
203
 
       esac
204
 
  as_found=false
205
 
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
235
 
  fi
236
 
  exit 1
237
 
fi
238
 
fi
239
 
fi
240
 
SHELL=${CONFIG_SHELL-/bin/sh}
241
 
export SHELL
242
 
# Unset more variables known to interfere with behavior of common tools.
243
 
CLICOLOR_FORCE= GREP_OPTIONS=
244
 
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
 
246
 
## --------------------- ##
247
 
## M4sh Shell Functions. ##
248
 
## --------------------- ##
249
 
# as_fn_unset VAR
250
 
# ---------------
251
 
# Portably unset VAR.
252
 
as_fn_unset ()
253
 
{
254
 
  { eval $1=; unset $1;}
255
 
}
256
 
as_unset=as_fn_unset
257
 
 
258
 
# as_fn_set_status STATUS
259
 
# -----------------------
260
 
# Set $? to STATUS, without forking.
261
 
as_fn_set_status ()
262
 
{
263
 
  return $1
264
 
} # as_fn_set_status
265
 
 
266
 
# as_fn_exit STATUS
267
 
# -----------------
268
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
 
as_fn_exit ()
270
 
{
271
 
  set +e
272
 
  as_fn_set_status $1
273
 
  exit $1
274
 
} # as_fn_exit
275
 
 
276
 
# as_fn_mkdir_p
277
 
# -------------
278
 
# Create "$as_dir" as a directory, including parents if necessary.
279
 
as_fn_mkdir_p ()
280
 
{
281
 
 
282
 
  case $as_dir in #(
283
 
  -*) as_dir=./$as_dir;;
284
 
  esac
285
 
  test -d "$as_dir" || eval $as_mkdir_p || {
286
 
    as_dirs=
287
 
    while :; do
288
 
      case $as_dir in #(
289
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
 
      *) as_qdir=$as_dir;;
291
 
      esac
292
 
      as_dirs="'$as_qdir' $as_dirs"
293
 
      as_dir=`$as_dirname -- "$as_dir" ||
294
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
296
 
         X"$as_dir" : 'X\(//\)$' \| \
297
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
 
$as_echo X"$as_dir" |
299
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
 
            s//\1/
301
 
            q
302
 
          }
303
 
          /^X\(\/\/\)[^/].*/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)$/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\).*/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          s/.*/./; q'`
316
 
      test -d "$as_dir" && break
317
 
    done
318
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
 
 
321
 
 
322
 
} # as_fn_mkdir_p
323
 
# as_fn_append VAR VALUE
324
 
# ----------------------
325
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
 
# advantage of any shell optimizations that allow amortized linear growth over
327
 
# repeated appends, instead of the typical quadratic growth present in naive
328
 
# implementations.
329
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
 
  eval 'as_fn_append ()
331
 
  {
332
 
    eval $1+=\$2
333
 
  }'
334
 
else
335
 
  as_fn_append ()
336
 
  {
337
 
    eval $1=\$$1\$2
338
 
  }
339
 
fi # as_fn_append
340
 
 
341
 
# as_fn_arith ARG...
342
 
# ------------------
343
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
 
# must be portable across $(()) and expr.
346
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
 
  eval 'as_fn_arith ()
348
 
  {
349
 
    as_val=$(( $* ))
350
 
  }'
351
 
else
352
 
  as_fn_arith ()
353
 
  {
354
 
    as_val=`expr "$@" || test $? -eq 1`
355
 
  }
356
 
fi # as_fn_arith
357
 
 
358
 
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
361
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
364
 
as_fn_error ()
365
 
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
 
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
372
 
  as_fn_exit $as_status
373
 
} # as_fn_error
374
 
 
375
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
 
  as_expr=expr
378
 
else
379
 
  as_expr=false
380
 
fi
381
 
 
382
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
 
  as_basename=basename
384
 
else
385
 
  as_basename=false
386
 
fi
387
 
 
388
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
 
  as_dirname=dirname
390
 
else
391
 
  as_dirname=false
392
 
fi
393
 
 
394
 
as_me=`$as_basename -- "$0" ||
395
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
 
         X"$0" : 'X\(//\)$' \| \
397
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
 
$as_echo X/"$0" |
399
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
 
            s//\1/
401
 
            q
402
 
          }
403
 
          /^X\/\(\/\/\)$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\).*/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          s/.*/./; q'`
412
 
 
413
 
# Avoid depending upon Character Ranges.
414
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
 
as_cr_digits='0123456789'
418
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
 
 
420
 
 
421
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
441
 
  chmod +x "$as_me.lineno" ||
442
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
 
444
 
  # Don't try to exec as it changes $[0], causing all sort of problems
445
 
  # (the dirname of $[0] is not the place where we might find the
446
 
  # original and so on.  Autoconf is especially sensitive to this).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in #(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
475
 
    # ... but there are two gotchas:
476
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
479
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
522
 
# Sed expression to map a string onto a valid CPP name.
523
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
 
525
 
# Sed expression to map a string onto a valid variable name.
526
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
 
529
 
test -n "$DJDIR" || exec 7<&0 </dev/null
530
 
exec 6>&1
531
 
 
532
 
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
 
# so uname gets run too.
535
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
 
 
537
 
#
538
 
# Initializations.
539
 
#
540
 
ac_default_prefix=/usr/local
541
 
ac_clean_files=
542
 
ac_config_libobj_dir=.
543
 
LIBOBJS=
544
 
cross_compiling=no
545
 
subdirs=
546
 
MFLAGS=
547
 
MAKEFLAGS=
548
 
 
549
 
# Identity of this package.
550
 
PACKAGE_NAME='lxc'
551
 
PACKAGE_TARNAME='lxc'
552
 
PACKAGE_VERSION='0.7.2'
553
 
PACKAGE_STRING='lxc 0.7.2'
554
 
PACKAGE_BUGREPORT=''
555
 
PACKAGE_URL=''
556
 
 
557
 
ac_unique_file="configure.ac"
558
 
# Factoring default headers for most tests.
559
 
ac_includes_default="\
560
 
#include <stdio.h>
561
 
#ifdef HAVE_SYS_TYPES_H
562
 
# include <sys/types.h>
563
 
#endif
564
 
#ifdef HAVE_SYS_STAT_H
565
 
# include <sys/stat.h>
566
 
#endif
567
 
#ifdef STDC_HEADERS
568
 
# include <stdlib.h>
569
 
# include <stddef.h>
570
 
#else
571
 
# ifdef HAVE_STDLIB_H
572
 
#  include <stdlib.h>
573
 
# endif
574
 
#endif
575
 
#ifdef HAVE_STRING_H
576
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577
 
#  include <memory.h>
578
 
# endif
579
 
# include <string.h>
580
 
#endif
581
 
#ifdef HAVE_STRINGS_H
582
 
# include <strings.h>
583
 
#endif
584
 
#ifdef HAVE_INTTYPES_H
585
 
# include <inttypes.h>
586
 
#endif
587
 
#ifdef HAVE_STDINT_H
588
 
# include <stdint.h>
589
 
#endif
590
 
#ifdef HAVE_UNISTD_H
591
 
# include <unistd.h>
592
 
#endif"
593
 
 
594
 
ac_subst_vars='am__EXEEXT_FALSE
595
 
am__EXEEXT_TRUE
596
 
LTLIBOBJS
597
 
LIBOBJS
598
 
CAP_LIBS
599
 
LXCTEMPLATEDIR
600
 
LXCINITDIR
601
 
LXCROOTFSMOUNT
602
 
LXCPATH
603
 
LXC_GENERATE_DATE
604
 
DOCDIR
605
 
LOCALSTATEDIR
606
 
DATADIR
607
 
SYSCONFDIR
608
 
INCLUDEDIR
609
 
BINDIR
610
 
LIBDIR
611
 
PREFIX
612
 
ENABLE_EXAMPLES_FALSE
613
 
ENABLE_EXAMPLES_TRUE
614
 
ENABLE_DOCBOOK_FALSE
615
 
ENABLE_DOCBOOK_TRUE
616
 
have_docbook
617
 
SETCAP
618
 
EGREP
619
 
GREP
620
 
CPP
621
 
am__fastdepCC_FALSE
622
 
am__fastdepCC_TRUE
623
 
CCDEPMODE
624
 
AMDEPBACKSLASH
625
 
AMDEP_FALSE
626
 
AMDEP_TRUE
627
 
am__quote
628
 
am__include
629
 
DEPDIR
630
 
OBJEXT
631
 
EXEEXT
632
 
ac_ct_CC
633
 
CPPFLAGS
634
 
LDFLAGS
635
 
CFLAGS
636
 
CC
637
 
host_os
638
 
host_vendor
639
 
host_cpu
640
 
host
641
 
build_os
642
 
build_vendor
643
 
build_cpu
644
 
build
645
 
am__untar
646
 
am__tar
647
 
AMTAR
648
 
am__leading_dot
649
 
SET_MAKE
650
 
AWK
651
 
mkdir_p
652
 
MKDIR_P
653
 
INSTALL_STRIP_PROGRAM
654
 
STRIP
655
 
install_sh
656
 
MAKEINFO
657
 
AUTOHEADER
658
 
AUTOMAKE
659
 
AUTOCONF
660
 
ACLOCAL
661
 
VERSION
662
 
PACKAGE
663
 
CYGPATH_W
664
 
am__isrc
665
 
INSTALL_DATA
666
 
INSTALL_SCRIPT
667
 
INSTALL_PROGRAM
668
 
target_alias
669
 
host_alias
670
 
build_alias
671
 
LIBS
672
 
ECHO_T
673
 
ECHO_N
674
 
ECHO_C
675
 
DEFS
676
 
mandir
677
 
localedir
678
 
libdir
679
 
psdir
680
 
pdfdir
681
 
dvidir
682
 
htmldir
683
 
infodir
684
 
docdir
685
 
oldincludedir
686
 
includedir
687
 
localstatedir
688
 
sharedstatedir
689
 
sysconfdir
690
 
datadir
691
 
datarootdir
692
 
libexecdir
693
 
sbindir
694
 
bindir
695
 
program_transform_name
696
 
prefix
697
 
exec_prefix
698
 
PACKAGE_URL
699
 
PACKAGE_BUGREPORT
700
 
PACKAGE_STRING
701
 
PACKAGE_VERSION
702
 
PACKAGE_TARNAME
703
 
PACKAGE_NAME
704
 
PATH_SEPARATOR
705
 
SHELL'
706
 
ac_subst_files=''
707
 
ac_user_opts='
708
 
enable_option_checking
709
 
enable_dependency_tracking
710
 
enable_doc
711
 
enable_examples
712
 
with_config_path
713
 
with_rootfs_path
714
 
'
715
 
      ac_precious_vars='build_alias
716
 
host_alias
717
 
target_alias
718
 
CC
719
 
CFLAGS
720
 
LDFLAGS
721
 
LIBS
722
 
CPPFLAGS
723
 
CPP'
724
 
 
725
 
 
726
 
# Initialize some variables set by options.
727
 
ac_init_help=
728
 
ac_init_version=false
729
 
ac_unrecognized_opts=
730
 
ac_unrecognized_sep=
731
 
# The variables have the same names as the options, with
732
 
# dashes changed to underlines.
733
 
cache_file=/dev/null
734
 
exec_prefix=NONE
735
 
no_create=
736
 
no_recursion=
737
 
prefix=NONE
738
 
program_prefix=NONE
739
 
program_suffix=NONE
740
 
program_transform_name=s,x,x,
741
 
silent=
742
 
site=
743
 
srcdir=
744
 
verbose=
745
 
x_includes=NONE
746
 
x_libraries=NONE
747
 
 
748
 
# Installation directory options.
749
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
750
 
# and all the variables that are supposed to be based on exec_prefix
751
 
# by default will actually change.
752
 
# Use braces instead of parens because sh, perl, etc. also accept them.
753
 
# (The list follows the same order as the GNU Coding Standards.)
754
 
bindir='${exec_prefix}/bin'
755
 
sbindir='${exec_prefix}/sbin'
756
 
libexecdir='${exec_prefix}/libexec'
757
 
datarootdir='${prefix}/share'
758
 
datadir='${datarootdir}'
759
 
sysconfdir='${prefix}/etc'
760
 
sharedstatedir='${prefix}/com'
761
 
localstatedir='${prefix}/var'
762
 
includedir='${prefix}/include'
763
 
oldincludedir='/usr/include'
764
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
765
 
infodir='${datarootdir}/info'
766
 
htmldir='${docdir}'
767
 
dvidir='${docdir}'
768
 
pdfdir='${docdir}'
769
 
psdir='${docdir}'
770
 
libdir='${exec_prefix}/lib'
771
 
localedir='${datarootdir}/locale'
772
 
mandir='${datarootdir}/man'
773
 
 
774
 
ac_prev=
775
 
ac_dashdash=
776
 
for ac_option
777
 
do
778
 
  # If the previous option needs an argument, assign it.
779
 
  if test -n "$ac_prev"; then
780
 
    eval $ac_prev=\$ac_option
781
 
    ac_prev=
782
 
    continue
783
 
  fi
784
 
 
785
 
  case $ac_option in
786
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
787
 
  *)    ac_optarg=yes ;;
788
 
  esac
789
 
 
790
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
791
 
 
792
 
  case $ac_dashdash$ac_option in
793
 
  --)
794
 
    ac_dashdash=yes ;;
795
 
 
796
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
797
 
    ac_prev=bindir ;;
798
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799
 
    bindir=$ac_optarg ;;
800
 
 
801
 
  -build | --build | --buil | --bui | --bu)
802
 
    ac_prev=build_alias ;;
803
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804
 
    build_alias=$ac_optarg ;;
805
 
 
806
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
807
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808
 
    ac_prev=cache_file ;;
809
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811
 
    cache_file=$ac_optarg ;;
812
 
 
813
 
  --config-cache | -C)
814
 
    cache_file=config.cache ;;
815
 
 
816
 
  -datadir | --datadir | --datadi | --datad)
817
 
    ac_prev=datadir ;;
818
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
819
 
    datadir=$ac_optarg ;;
820
 
 
821
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822
 
  | --dataroo | --dataro | --datar)
823
 
    ac_prev=datarootdir ;;
824
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826
 
    datarootdir=$ac_optarg ;;
827
 
 
828
 
  -disable-* | --disable-*)
829
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830
 
    # Reject names that are not valid shell variable names.
831
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832
 
      as_fn_error "invalid feature name: $ac_useropt"
833
 
    ac_useropt_orig=$ac_useropt
834
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835
 
    case $ac_user_opts in
836
 
      *"
837
 
"enable_$ac_useropt"
838
 
"*) ;;
839
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840
 
         ac_unrecognized_sep=', ';;
841
 
    esac
842
 
    eval enable_$ac_useropt=no ;;
843
 
 
844
 
  -docdir | --docdir | --docdi | --doc | --do)
845
 
    ac_prev=docdir ;;
846
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847
 
    docdir=$ac_optarg ;;
848
 
 
849
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850
 
    ac_prev=dvidir ;;
851
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852
 
    dvidir=$ac_optarg ;;
853
 
 
854
 
  -enable-* | --enable-*)
855
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856
 
    # Reject names that are not valid shell variable names.
857
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858
 
      as_fn_error "invalid feature name: $ac_useropt"
859
 
    ac_useropt_orig=$ac_useropt
860
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861
 
    case $ac_user_opts in
862
 
      *"
863
 
"enable_$ac_useropt"
864
 
"*) ;;
865
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866
 
         ac_unrecognized_sep=', ';;
867
 
    esac
868
 
    eval enable_$ac_useropt=\$ac_optarg ;;
869
 
 
870
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872
 
  | --exec | --exe | --ex)
873
 
    ac_prev=exec_prefix ;;
874
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876
 
  | --exec=* | --exe=* | --ex=*)
877
 
    exec_prefix=$ac_optarg ;;
878
 
 
879
 
  -gas | --gas | --ga | --g)
880
 
    # Obsolete; use --with-gas.
881
 
    with_gas=yes ;;
882
 
 
883
 
  -help | --help | --hel | --he | -h)
884
 
    ac_init_help=long ;;
885
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886
 
    ac_init_help=recursive ;;
887
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888
 
    ac_init_help=short ;;
889
 
 
890
 
  -host | --host | --hos | --ho)
891
 
    ac_prev=host_alias ;;
892
 
  -host=* | --host=* | --hos=* | --ho=*)
893
 
    host_alias=$ac_optarg ;;
894
 
 
895
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896
 
    ac_prev=htmldir ;;
897
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898
 
  | --ht=*)
899
 
    htmldir=$ac_optarg ;;
900
 
 
901
 
  -includedir | --includedir | --includedi | --included | --include \
902
 
  | --includ | --inclu | --incl | --inc)
903
 
    ac_prev=includedir ;;
904
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
906
 
    includedir=$ac_optarg ;;
907
 
 
908
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
909
 
    ac_prev=infodir ;;
910
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911
 
    infodir=$ac_optarg ;;
912
 
 
913
 
  -libdir | --libdir | --libdi | --libd)
914
 
    ac_prev=libdir ;;
915
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
916
 
    libdir=$ac_optarg ;;
917
 
 
918
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919
 
  | --libexe | --libex | --libe)
920
 
    ac_prev=libexecdir ;;
921
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922
 
  | --libexe=* | --libex=* | --libe=*)
923
 
    libexecdir=$ac_optarg ;;
924
 
 
925
 
  -localedir | --localedir | --localedi | --localed | --locale)
926
 
    ac_prev=localedir ;;
927
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928
 
    localedir=$ac_optarg ;;
929
 
 
930
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
931
 
  | --localstate | --localstat | --localsta | --localst | --locals)
932
 
    ac_prev=localstatedir ;;
933
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935
 
    localstatedir=$ac_optarg ;;
936
 
 
937
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938
 
    ac_prev=mandir ;;
939
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940
 
    mandir=$ac_optarg ;;
941
 
 
942
 
  -nfp | --nfp | --nf)
943
 
    # Obsolete; use --without-fp.
944
 
    with_fp=no ;;
945
 
 
946
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947
 
  | --no-cr | --no-c | -n)
948
 
    no_create=yes ;;
949
 
 
950
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952
 
    no_recursion=yes ;;
953
 
 
954
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956
 
  | --oldin | --oldi | --old | --ol | --o)
957
 
    ac_prev=oldincludedir ;;
958
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961
 
    oldincludedir=$ac_optarg ;;
962
 
 
963
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964
 
    ac_prev=prefix ;;
965
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966
 
    prefix=$ac_optarg ;;
967
 
 
968
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
969
 
  | --program-pre | --program-pr | --program-p)
970
 
    ac_prev=program_prefix ;;
971
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
972
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973
 
    program_prefix=$ac_optarg ;;
974
 
 
975
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
976
 
  | --program-suf | --program-su | --program-s)
977
 
    ac_prev=program_suffix ;;
978
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
979
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980
 
    program_suffix=$ac_optarg ;;
981
 
 
982
 
  -program-transform-name | --program-transform-name \
983
 
  | --program-transform-nam | --program-transform-na \
984
 
  | --program-transform-n | --program-transform- \
985
 
  | --program-transform | --program-transfor \
986
 
  | --program-transfo | --program-transf \
987
 
  | --program-trans | --program-tran \
988
 
  | --progr-tra | --program-tr | --program-t)
989
 
    ac_prev=program_transform_name ;;
990
 
  -program-transform-name=* | --program-transform-name=* \
991
 
  | --program-transform-nam=* | --program-transform-na=* \
992
 
  | --program-transform-n=* | --program-transform-=* \
993
 
  | --program-transform=* | --program-transfor=* \
994
 
  | --program-transfo=* | --program-transf=* \
995
 
  | --program-trans=* | --program-tran=* \
996
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
997
 
    program_transform_name=$ac_optarg ;;
998
 
 
999
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000
 
    ac_prev=pdfdir ;;
1001
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002
 
    pdfdir=$ac_optarg ;;
1003
 
 
1004
 
  -psdir | --psdir | --psdi | --psd | --ps)
1005
 
    ac_prev=psdir ;;
1006
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007
 
    psdir=$ac_optarg ;;
1008
 
 
1009
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010
 
  | -silent | --silent | --silen | --sile | --sil)
1011
 
    silent=yes ;;
1012
 
 
1013
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014
 
    ac_prev=sbindir ;;
1015
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016
 
  | --sbi=* | --sb=*)
1017
 
    sbindir=$ac_optarg ;;
1018
 
 
1019
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021
 
  | --sharedst | --shareds | --shared | --share | --shar \
1022
 
  | --sha | --sh)
1023
 
    ac_prev=sharedstatedir ;;
1024
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027
 
  | --sha=* | --sh=*)
1028
 
    sharedstatedir=$ac_optarg ;;
1029
 
 
1030
 
  -site | --site | --sit)
1031
 
    ac_prev=site ;;
1032
 
  -site=* | --site=* | --sit=*)
1033
 
    site=$ac_optarg ;;
1034
 
 
1035
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036
 
    ac_prev=srcdir ;;
1037
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038
 
    srcdir=$ac_optarg ;;
1039
 
 
1040
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1042
 
    ac_prev=sysconfdir ;;
1043
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045
 
    sysconfdir=$ac_optarg ;;
1046
 
 
1047
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1048
 
    ac_prev=target_alias ;;
1049
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050
 
    target_alias=$ac_optarg ;;
1051
 
 
1052
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053
 
    verbose=yes ;;
1054
 
 
1055
 
  -version | --version | --versio | --versi | --vers | -V)
1056
 
    ac_init_version=: ;;
1057
 
 
1058
 
  -with-* | --with-*)
1059
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060
 
    # Reject names that are not valid shell variable names.
1061
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062
 
      as_fn_error "invalid package name: $ac_useropt"
1063
 
    ac_useropt_orig=$ac_useropt
1064
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065
 
    case $ac_user_opts in
1066
 
      *"
1067
 
"with_$ac_useropt"
1068
 
"*) ;;
1069
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070
 
         ac_unrecognized_sep=', ';;
1071
 
    esac
1072
 
    eval with_$ac_useropt=\$ac_optarg ;;
1073
 
 
1074
 
  -without-* | --without-*)
1075
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076
 
    # Reject names that are not valid shell variable names.
1077
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
 
      as_fn_error "invalid package name: $ac_useropt"
1079
 
    ac_useropt_orig=$ac_useropt
1080
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
 
    case $ac_user_opts in
1082
 
      *"
1083
 
"with_$ac_useropt"
1084
 
"*) ;;
1085
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086
 
         ac_unrecognized_sep=', ';;
1087
 
    esac
1088
 
    eval with_$ac_useropt=no ;;
1089
 
 
1090
 
  --x)
1091
 
    # Obsolete; use --with-x.
1092
 
    with_x=yes ;;
1093
 
 
1094
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095
 
  | --x-incl | --x-inc | --x-in | --x-i)
1096
 
    ac_prev=x_includes ;;
1097
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099
 
    x_includes=$ac_optarg ;;
1100
 
 
1101
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103
 
    ac_prev=x_libraries ;;
1104
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106
 
    x_libraries=$ac_optarg ;;
1107
 
 
1108
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1109
 
Try \`$0 --help' for more information."
1110
 
    ;;
1111
 
 
1112
 
  *=*)
1113
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114
 
    # Reject names that are not valid shell variable names.
1115
 
    case $ac_envvar in #(
1116
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1117
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1118
 
    esac
1119
 
    eval $ac_envvar=\$ac_optarg
1120
 
    export $ac_envvar ;;
1121
 
 
1122
 
  *)
1123
 
    # FIXME: should be removed in autoconf 3.0.
1124
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1128
 
    ;;
1129
 
 
1130
 
  esac
1131
 
done
1132
 
 
1133
 
if test -n "$ac_prev"; then
1134
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135
 
  as_fn_error "missing argument to $ac_option"
1136
 
fi
1137
 
 
1138
 
if test -n "$ac_unrecognized_opts"; then
1139
 
  case $enable_option_checking in
1140
 
    no) ;;
1141
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1142
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143
 
  esac
1144
 
fi
1145
 
 
1146
 
# Check all directory arguments for consistency.
1147
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1149
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150
 
                libdir localedir mandir
1151
 
do
1152
 
  eval ac_val=\$$ac_var
1153
 
  # Remove trailing slashes.
1154
 
  case $ac_val in
1155
 
    */ )
1156
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157
 
      eval $ac_var=\$ac_val;;
1158
 
  esac
1159
 
  # Be sure to have absolute directory names.
1160
 
  case $ac_val in
1161
 
    [\\/$]* | ?:[\\/]* )  continue;;
1162
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163
 
  esac
1164
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1165
 
done
1166
 
 
1167
 
# There might be people who depend on the old broken behavior: `$host'
1168
 
# used to hold the argument of --host etc.
1169
 
# FIXME: To remove some day.
1170
 
build=$build_alias
1171
 
host=$host_alias
1172
 
target=$target_alias
1173
 
 
1174
 
# FIXME: To remove some day.
1175
 
if test "x$host_alias" != x; then
1176
 
  if test "x$build_alias" = x; then
1177
 
    cross_compiling=maybe
1178
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1179
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1180
 
  elif test "x$build_alias" != "x$host_alias"; then
1181
 
    cross_compiling=yes
1182
 
  fi
1183
 
fi
1184
 
 
1185
 
ac_tool_prefix=
1186
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1187
 
 
1188
 
test "$silent" = yes && exec 6>/dev/null
1189
 
 
1190
 
 
1191
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192
 
ac_ls_di=`ls -di .` &&
1193
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194
 
  as_fn_error "working directory cannot be determined"
1195
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196
 
  as_fn_error "pwd does not report name of working directory"
1197
 
 
1198
 
 
1199
 
# Find the source files, if location was not specified.
1200
 
if test -z "$srcdir"; then
1201
 
  ac_srcdir_defaulted=yes
1202
 
  # Try the directory containing this script, then the parent directory.
1203
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1204
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1206
 
         X"$as_myself" : 'X\(//\)$' \| \
1207
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208
 
$as_echo X"$as_myself" |
1209
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210
 
            s//\1/
1211
 
            q
1212
 
          }
1213
 
          /^X\(\/\/\)[^/].*/{
1214
 
            s//\1/
1215
 
            q
1216
 
          }
1217
 
          /^X\(\/\/\)$/{
1218
 
            s//\1/
1219
 
            q
1220
 
          }
1221
 
          /^X\(\/\).*/{
1222
 
            s//\1/
1223
 
            q
1224
 
          }
1225
 
          s/.*/./; q'`
1226
 
  srcdir=$ac_confdir
1227
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1228
 
    srcdir=..
1229
 
  fi
1230
 
else
1231
 
  ac_srcdir_defaulted=no
1232
 
fi
1233
 
if test ! -r "$srcdir/$ac_unique_file"; then
1234
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1236
 
fi
1237
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238
 
ac_abs_confdir=`(
1239
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1240
 
        pwd)`
1241
 
# When building in place, set srcdir=.
1242
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1243
 
  srcdir=.
1244
 
fi
1245
 
# Remove unnecessary trailing slashes from srcdir.
1246
 
# Double slashes in file names in object file debugging info
1247
 
# mess up M-x gdb in Emacs.
1248
 
case $srcdir in
1249
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250
 
esac
1251
 
for ac_var in $ac_precious_vars; do
1252
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1254
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1256
 
done
1257
 
 
1258
 
#
1259
 
# Report the --help message.
1260
 
#
1261
 
if test "$ac_init_help" = "long"; then
1262
 
  # Omit some internal or obsolete options to make the list less imposing.
1263
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1264
 
  cat <<_ACEOF
1265
 
\`configure' configures lxc 0.7.2 to adapt to many kinds of systems.
1266
 
 
1267
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1268
 
 
1269
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1271
 
 
1272
 
Defaults for the options are specified in brackets.
1273
 
 
1274
 
Configuration:
1275
 
  -h, --help              display this help and exit
1276
 
      --help=short        display options specific to this package
1277
 
      --help=recursive    display the short help of all the included packages
1278
 
  -V, --version           display version information and exit
1279
 
  -q, --quiet, --silent   do not print \`checking...' messages
1280
 
      --cache-file=FILE   cache test results in FILE [disabled]
1281
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1282
 
  -n, --no-create         do not create output files
1283
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1284
 
 
1285
 
Installation directories:
1286
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1287
 
                          [$ac_default_prefix]
1288
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1289
 
                          [PREFIX]
1290
 
 
1291
 
By default, \`make install' will install all the files in
1292
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1293
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294
 
for instance \`--prefix=\$HOME'.
1295
 
 
1296
 
For better control, use the options below.
1297
 
 
1298
 
Fine tuning of the installation directories:
1299
 
  --bindir=DIR            user executables [EPREFIX/bin]
1300
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1301
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1302
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1303
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1304
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1305
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1306
 
  --includedir=DIR        C header files [PREFIX/include]
1307
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1308
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1309
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1310
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1311
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1312
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1313
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/lxc]
1314
 
  --htmldir=DIR           html documentation [DOCDIR]
1315
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1316
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1317
 
  --psdir=DIR             ps documentation [DOCDIR]
1318
 
_ACEOF
1319
 
 
1320
 
  cat <<\_ACEOF
1321
 
 
1322
 
Program names:
1323
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1324
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1325
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1326
 
 
1327
 
System types:
1328
 
  --build=BUILD     configure for building on BUILD [guessed]
1329
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1330
 
_ACEOF
1331
 
fi
1332
 
 
1333
 
if test -n "$ac_init_help"; then
1334
 
  case $ac_init_help in
1335
 
     short | recursive ) echo "Configuration of lxc 0.7.2:";;
1336
 
   esac
1337
 
  cat <<\_ACEOF
1338
 
 
1339
 
Optional Features:
1340
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1341
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1342
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1343
 
  --disable-dependency-tracking  speeds up one-time build
1344
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1345
 
  --enable-doc            make mans (require docbook2man installed)
1346
 
                          [default=auto]
1347
 
  --disable-examples      do not install configuration examples
1348
 
 
1349
 
Optional Packages:
1350
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1351
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1352
 
  --with-config-path=dir  lxc configuration repository path
1353
 
  --with-rootfs-path=dir  lxc rootfs mount point
1354
 
 
1355
 
Some influential environment variables:
1356
 
  CC          C compiler command
1357
 
  CFLAGS      C compiler flags
1358
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1359
 
              nonstandard directory <lib dir>
1360
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1361
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1362
 
              you have headers in a nonstandard directory <include dir>
1363
 
  CPP         C preprocessor
1364
 
 
1365
 
Use these variables to override the choices made by `configure' or to help
1366
 
it to find libraries and programs with nonstandard names/locations.
1367
 
 
1368
 
Report bugs to the package provider.
1369
 
_ACEOF
1370
 
ac_status=$?
1371
 
fi
1372
 
 
1373
 
if test "$ac_init_help" = "recursive"; then
1374
 
  # If there are subdirs, report their specific --help.
1375
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376
 
    test -d "$ac_dir" ||
1377
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378
 
      continue
1379
 
    ac_builddir=.
1380
 
 
1381
 
case "$ac_dir" in
1382
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383
 
*)
1384
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385
 
  # A ".." for each directory in $ac_dir_suffix.
1386
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387
 
  case $ac_top_builddir_sub in
1388
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390
 
  esac ;;
1391
 
esac
1392
 
ac_abs_top_builddir=$ac_pwd
1393
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394
 
# for backward compatibility:
1395
 
ac_top_builddir=$ac_top_build_prefix
1396
 
 
1397
 
case $srcdir in
1398
 
  .)  # We are building in place.
1399
 
    ac_srcdir=.
1400
 
    ac_top_srcdir=$ac_top_builddir_sub
1401
 
    ac_abs_top_srcdir=$ac_pwd ;;
1402
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1403
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1404
 
    ac_top_srcdir=$srcdir
1405
 
    ac_abs_top_srcdir=$srcdir ;;
1406
 
  *) # Relative name.
1407
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1409
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1410
 
esac
1411
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1412
 
 
1413
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1414
 
    # Check for guested configure.
1415
 
    if test -f "$ac_srcdir/configure.gnu"; then
1416
 
      echo &&
1417
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418
 
    elif test -f "$ac_srcdir/configure"; then
1419
 
      echo &&
1420
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1421
 
    else
1422
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1423
 
    fi || ac_status=$?
1424
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1425
 
  done
1426
 
fi
1427
 
 
1428
 
test -n "$ac_init_help" && exit $ac_status
1429
 
if $ac_init_version; then
1430
 
  cat <<\_ACEOF
1431
 
lxc configure 0.7.2
1432
 
generated by GNU Autoconf 2.65
1433
 
 
1434
 
Copyright (C) 2009 Free Software Foundation, Inc.
1435
 
This configure script is free software; the Free Software Foundation
1436
 
gives unlimited permission to copy, distribute and modify it.
1437
 
_ACEOF
1438
 
  exit
1439
 
fi
1440
 
 
1441
 
## ------------------------ ##
1442
 
## Autoconf initialization. ##
1443
 
## ------------------------ ##
1444
 
 
1445
 
# ac_fn_c_try_compile LINENO
1446
 
# --------------------------
1447
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1448
 
ac_fn_c_try_compile ()
1449
 
{
1450
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451
 
  rm -f conftest.$ac_objext
1452
 
  if { { ac_try="$ac_compile"
1453
 
case "(($ac_try" in
1454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455
 
  *) ac_try_echo=$ac_try;;
1456
 
esac
1457
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458
 
$as_echo "$ac_try_echo"; } >&5
1459
 
  (eval "$ac_compile") 2>conftest.err
1460
 
  ac_status=$?
1461
 
  if test -s conftest.err; then
1462
 
    grep -v '^ *+' conftest.err >conftest.er1
1463
 
    cat conftest.er1 >&5
1464
 
    mv -f conftest.er1 conftest.err
1465
 
  fi
1466
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467
 
  test $ac_status = 0; } && {
1468
 
         test -z "$ac_c_werror_flag" ||
1469
 
         test ! -s conftest.err
1470
 
       } && test -s conftest.$ac_objext; then :
1471
 
  ac_retval=0
1472
 
else
1473
 
  $as_echo "$as_me: failed program was:" >&5
1474
 
sed 's/^/| /' conftest.$ac_ext >&5
1475
 
 
1476
 
        ac_retval=1
1477
 
fi
1478
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1479
 
  as_fn_set_status $ac_retval
1480
 
 
1481
 
} # ac_fn_c_try_compile
1482
 
 
1483
 
# ac_fn_c_try_cpp LINENO
1484
 
# ----------------------
1485
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1486
 
ac_fn_c_try_cpp ()
1487
 
{
1488
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1490
 
case "(($ac_try" in
1491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492
 
  *) ac_try_echo=$ac_try;;
1493
 
esac
1494
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495
 
$as_echo "$ac_try_echo"; } >&5
1496
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1497
 
  ac_status=$?
1498
 
  if test -s conftest.err; then
1499
 
    grep -v '^ *+' conftest.err >conftest.er1
1500
 
    cat conftest.er1 >&5
1501
 
    mv -f conftest.er1 conftest.err
1502
 
  fi
1503
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504
 
  test $ac_status = 0; } >/dev/null && {
1505
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1506
 
         test ! -s conftest.err
1507
 
       }; then :
1508
 
  ac_retval=0
1509
 
else
1510
 
  $as_echo "$as_me: failed program was:" >&5
1511
 
sed 's/^/| /' conftest.$ac_ext >&5
1512
 
 
1513
 
    ac_retval=1
1514
 
fi
1515
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1516
 
  as_fn_set_status $ac_retval
1517
 
 
1518
 
} # ac_fn_c_try_cpp
1519
 
 
1520
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1521
 
# -------------------------------------------------------
1522
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1523
 
# the include files in INCLUDES and setting the cache variable VAR
1524
 
# accordingly.
1525
 
ac_fn_c_check_header_mongrel ()
1526
 
{
1527
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1529
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1530
 
$as_echo_n "checking for $2... " >&6; }
1531
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1532
 
  $as_echo_n "(cached) " >&6
1533
 
fi
1534
 
eval ac_res=\$$3
1535
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536
 
$as_echo "$ac_res" >&6; }
1537
 
else
1538
 
  # Is the header compilable?
1539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1540
 
$as_echo_n "checking $2 usability... " >&6; }
1541
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542
 
/* end confdefs.h.  */
1543
 
$4
1544
 
#include <$2>
1545
 
_ACEOF
1546
 
if ac_fn_c_try_compile "$LINENO"; then :
1547
 
  ac_header_compiler=yes
1548
 
else
1549
 
  ac_header_compiler=no
1550
 
fi
1551
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1553
 
$as_echo "$ac_header_compiler" >&6; }
1554
 
 
1555
 
# Is the header present?
1556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1557
 
$as_echo_n "checking $2 presence... " >&6; }
1558
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1559
 
/* end confdefs.h.  */
1560
 
#include <$2>
1561
 
_ACEOF
1562
 
if ac_fn_c_try_cpp "$LINENO"; then :
1563
 
  ac_header_preproc=yes
1564
 
else
1565
 
  ac_header_preproc=no
1566
 
fi
1567
 
rm -f conftest.err conftest.$ac_ext
1568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1569
 
$as_echo "$ac_header_preproc" >&6; }
1570
 
 
1571
 
# So?  What about this header?
1572
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1573
 
  yes:no: )
1574
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1575
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1576
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1577
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1578
 
    ;;
1579
 
  no:yes:* )
1580
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1581
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1582
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1583
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1584
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1585
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1586
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1587
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1588
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1590
 
    ;;
1591
 
esac
1592
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593
 
$as_echo_n "checking for $2... " >&6; }
1594
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595
 
  $as_echo_n "(cached) " >&6
1596
 
else
1597
 
  eval "$3=\$ac_header_compiler"
1598
 
fi
1599
 
eval ac_res=\$$3
1600
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601
 
$as_echo "$ac_res" >&6; }
1602
 
fi
1603
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1604
 
 
1605
 
} # ac_fn_c_check_header_mongrel
1606
 
 
1607
 
# ac_fn_c_try_run LINENO
1608
 
# ----------------------
1609
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1610
 
# that executables *can* be run.
1611
 
ac_fn_c_try_run ()
1612
 
{
1613
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
 
  if { { ac_try="$ac_link"
1615
 
case "(($ac_try" in
1616
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617
 
  *) ac_try_echo=$ac_try;;
1618
 
esac
1619
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620
 
$as_echo "$ac_try_echo"; } >&5
1621
 
  (eval "$ac_link") 2>&5
1622
 
  ac_status=$?
1623
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1625
 
  { { case "(($ac_try" in
1626
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627
 
  *) ac_try_echo=$ac_try;;
1628
 
esac
1629
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630
 
$as_echo "$ac_try_echo"; } >&5
1631
 
  (eval "$ac_try") 2>&5
1632
 
  ac_status=$?
1633
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634
 
  test $ac_status = 0; }; }; then :
1635
 
  ac_retval=0
1636
 
else
1637
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1638
 
       $as_echo "$as_me: failed program was:" >&5
1639
 
sed 's/^/| /' conftest.$ac_ext >&5
1640
 
 
1641
 
       ac_retval=$ac_status
1642
 
fi
1643
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645
 
  as_fn_set_status $ac_retval
1646
 
 
1647
 
} # ac_fn_c_try_run
1648
 
 
1649
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650
 
# -------------------------------------------------------
1651
 
# Tests whether HEADER exists and can be compiled using the include files in
1652
 
# INCLUDES, setting the cache variable VAR accordingly.
1653
 
ac_fn_c_check_header_compile ()
1654
 
{
1655
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657
 
$as_echo_n "checking for $2... " >&6; }
1658
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1659
 
  $as_echo_n "(cached) " >&6
1660
 
else
1661
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662
 
/* end confdefs.h.  */
1663
 
$4
1664
 
#include <$2>
1665
 
_ACEOF
1666
 
if ac_fn_c_try_compile "$LINENO"; then :
1667
 
  eval "$3=yes"
1668
 
else
1669
 
  eval "$3=no"
1670
 
fi
1671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672
 
fi
1673
 
eval ac_res=\$$3
1674
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675
 
$as_echo "$ac_res" >&6; }
1676
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677
 
 
1678
 
} # ac_fn_c_check_header_compile
1679
 
 
1680
 
# ac_fn_c_try_link LINENO
1681
 
# -----------------------
1682
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1683
 
ac_fn_c_try_link ()
1684
 
{
1685
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1687
 
  if { { ac_try="$ac_link"
1688
 
case "(($ac_try" in
1689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
 
  *) ac_try_echo=$ac_try;;
1691
 
esac
1692
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
 
$as_echo "$ac_try_echo"; } >&5
1694
 
  (eval "$ac_link") 2>conftest.err
1695
 
  ac_status=$?
1696
 
  if test -s conftest.err; then
1697
 
    grep -v '^ *+' conftest.err >conftest.er1
1698
 
    cat conftest.er1 >&5
1699
 
    mv -f conftest.er1 conftest.err
1700
 
  fi
1701
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702
 
  test $ac_status = 0; } && {
1703
 
         test -z "$ac_c_werror_flag" ||
1704
 
         test ! -s conftest.err
1705
 
       } && test -s conftest$ac_exeext && {
1706
 
         test "$cross_compiling" = yes ||
1707
 
         $as_test_x conftest$ac_exeext
1708
 
       }; then :
1709
 
  ac_retval=0
1710
 
else
1711
 
  $as_echo "$as_me: failed program was:" >&5
1712
 
sed 's/^/| /' conftest.$ac_ext >&5
1713
 
 
1714
 
        ac_retval=1
1715
 
fi
1716
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718
 
  # interfere with the next link command; also delete a directory that is
1719
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1720
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722
 
  as_fn_set_status $ac_retval
1723
 
 
1724
 
} # ac_fn_c_try_link
1725
 
 
1726
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
1727
 
# ------------------------------------
1728
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1729
 
ac_fn_c_check_decl ()
1730
 
{
1731
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1733
 
$as_echo_n "checking whether $2 is declared... " >&6; }
1734
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1735
 
  $as_echo_n "(cached) " >&6
1736
 
else
1737
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738
 
/* end confdefs.h.  */
1739
 
$4
1740
 
int
1741
 
main ()
1742
 
{
1743
 
#ifndef $2
1744
 
  (void) $2;
1745
 
#endif
1746
 
 
1747
 
  ;
1748
 
  return 0;
1749
 
}
1750
 
_ACEOF
1751
 
if ac_fn_c_try_compile "$LINENO"; then :
1752
 
  eval "$3=yes"
1753
 
else
1754
 
  eval "$3=no"
1755
 
fi
1756
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757
 
fi
1758
 
eval ac_res=\$$3
1759
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760
 
$as_echo "$ac_res" >&6; }
1761
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762
 
 
1763
 
} # ac_fn_c_check_decl
1764
 
cat >config.log <<_ACEOF
1765
 
This file contains any messages produced by compilers while
1766
 
running configure, to aid debugging if configure makes a mistake.
1767
 
 
1768
 
It was created by lxc $as_me 0.7.2, which was
1769
 
generated by GNU Autoconf 2.65.  Invocation command line was
1770
 
 
1771
 
  $ $0 $@
1772
 
 
1773
 
_ACEOF
1774
 
exec 5>>config.log
1775
 
{
1776
 
cat <<_ASUNAME
1777
 
## --------- ##
1778
 
## Platform. ##
1779
 
## --------- ##
1780
 
 
1781
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1782
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1783
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1784
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1785
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1786
 
 
1787
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1788
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1789
 
 
1790
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1791
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1792
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1793
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1794
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1795
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1796
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1797
 
 
1798
 
_ASUNAME
1799
 
 
1800
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801
 
for as_dir in $PATH
1802
 
do
1803
 
  IFS=$as_save_IFS
1804
 
  test -z "$as_dir" && as_dir=.
1805
 
    $as_echo "PATH: $as_dir"
1806
 
  done
1807
 
IFS=$as_save_IFS
1808
 
 
1809
 
} >&5
1810
 
 
1811
 
cat >&5 <<_ACEOF
1812
 
 
1813
 
 
1814
 
## ----------- ##
1815
 
## Core tests. ##
1816
 
## ----------- ##
1817
 
 
1818
 
_ACEOF
1819
 
 
1820
 
 
1821
 
# Keep a trace of the command line.
1822
 
# Strip out --no-create and --no-recursion so they do not pile up.
1823
 
# Strip out --silent because we don't want to record it for future runs.
1824
 
# Also quote any args containing shell meta-characters.
1825
 
# Make two passes to allow for proper duplicate-argument suppression.
1826
 
ac_configure_args=
1827
 
ac_configure_args0=
1828
 
ac_configure_args1=
1829
 
ac_must_keep_next=false
1830
 
for ac_pass in 1 2
1831
 
do
1832
 
  for ac_arg
1833
 
  do
1834
 
    case $ac_arg in
1835
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1836
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1837
 
    | -silent | --silent | --silen | --sile | --sil)
1838
 
      continue ;;
1839
 
    *\'*)
1840
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1841
 
    esac
1842
 
    case $ac_pass in
1843
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1844
 
    2)
1845
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1846
 
      if test $ac_must_keep_next = true; then
1847
 
        ac_must_keep_next=false # Got value, back to normal.
1848
 
      else
1849
 
        case $ac_arg in
1850
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1851
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1852
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1853
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1854
 
            case "$ac_configure_args0 " in
1855
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1856
 
            esac
1857
 
            ;;
1858
 
          -* ) ac_must_keep_next=true ;;
1859
 
        esac
1860
 
      fi
1861
 
      as_fn_append ac_configure_args " '$ac_arg'"
1862
 
      ;;
1863
 
    esac
1864
 
  done
1865
 
done
1866
 
{ ac_configure_args0=; unset ac_configure_args0;}
1867
 
{ ac_configure_args1=; unset ac_configure_args1;}
1868
 
 
1869
 
# When interrupted or exit'd, cleanup temporary files, and complete
1870
 
# config.log.  We remove comments because anyway the quotes in there
1871
 
# would cause problems or look ugly.
1872
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1873
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1874
 
trap 'exit_status=$?
1875
 
  # Save into config.log some information that might help in debugging.
1876
 
  {
1877
 
    echo
1878
 
 
1879
 
    cat <<\_ASBOX
1880
 
## ---------------- ##
1881
 
## Cache variables. ##
1882
 
## ---------------- ##
1883
 
_ASBOX
1884
 
    echo
1885
 
    # The following way of writing the cache mishandles newlines in values,
1886
 
(
1887
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1888
 
    eval ac_val=\$$ac_var
1889
 
    case $ac_val in #(
1890
 
    *${as_nl}*)
1891
 
      case $ac_var in #(
1892
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1893
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1894
 
      esac
1895
 
      case $ac_var in #(
1896
 
      _ | IFS | as_nl) ;; #(
1897
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1898
 
      *) { eval $ac_var=; unset $ac_var;} ;;
1899
 
      esac ;;
1900
 
    esac
1901
 
  done
1902
 
  (set) 2>&1 |
1903
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1904
 
    *${as_nl}ac_space=\ *)
1905
 
      sed -n \
1906
 
        "s/'\''/'\''\\\\'\'''\''/g;
1907
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1908
 
      ;; #(
1909
 
    *)
1910
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1911
 
      ;;
1912
 
    esac |
1913
 
    sort
1914
 
)
1915
 
    echo
1916
 
 
1917
 
    cat <<\_ASBOX
1918
 
## ----------------- ##
1919
 
## Output variables. ##
1920
 
## ----------------- ##
1921
 
_ASBOX
1922
 
    echo
1923
 
    for ac_var in $ac_subst_vars
1924
 
    do
1925
 
      eval ac_val=\$$ac_var
1926
 
      case $ac_val in
1927
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1928
 
      esac
1929
 
      $as_echo "$ac_var='\''$ac_val'\''"
1930
 
    done | sort
1931
 
    echo
1932
 
 
1933
 
    if test -n "$ac_subst_files"; then
1934
 
      cat <<\_ASBOX
1935
 
## ------------------- ##
1936
 
## File substitutions. ##
1937
 
## ------------------- ##
1938
 
_ASBOX
1939
 
      echo
1940
 
      for ac_var in $ac_subst_files
1941
 
      do
1942
 
        eval ac_val=\$$ac_var
1943
 
        case $ac_val in
1944
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1945
 
        esac
1946
 
        $as_echo "$ac_var='\''$ac_val'\''"
1947
 
      done | sort
1948
 
      echo
1949
 
    fi
1950
 
 
1951
 
    if test -s confdefs.h; then
1952
 
      cat <<\_ASBOX
1953
 
## ----------- ##
1954
 
## confdefs.h. ##
1955
 
## ----------- ##
1956
 
_ASBOX
1957
 
      echo
1958
 
      cat confdefs.h
1959
 
      echo
1960
 
    fi
1961
 
    test "$ac_signal" != 0 &&
1962
 
      $as_echo "$as_me: caught signal $ac_signal"
1963
 
    $as_echo "$as_me: exit $exit_status"
1964
 
  } >&5
1965
 
  rm -f core *.core core.conftest.* &&
1966
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1967
 
    exit $exit_status
1968
 
' 0
1969
 
for ac_signal in 1 2 13 15; do
1970
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1971
 
done
1972
 
ac_signal=0
1973
 
 
1974
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1975
 
rm -f -r conftest* confdefs.h
1976
 
 
1977
 
$as_echo "/* confdefs.h */" > confdefs.h
1978
 
 
1979
 
# Predefined preprocessor variables.
1980
 
 
1981
 
cat >>confdefs.h <<_ACEOF
1982
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1983
 
_ACEOF
1984
 
 
1985
 
cat >>confdefs.h <<_ACEOF
1986
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1987
 
_ACEOF
1988
 
 
1989
 
cat >>confdefs.h <<_ACEOF
1990
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1991
 
_ACEOF
1992
 
 
1993
 
cat >>confdefs.h <<_ACEOF
1994
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1995
 
_ACEOF
1996
 
 
1997
 
cat >>confdefs.h <<_ACEOF
1998
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1999
 
_ACEOF
2000
 
 
2001
 
cat >>confdefs.h <<_ACEOF
2002
 
#define PACKAGE_URL "$PACKAGE_URL"
2003
 
_ACEOF
2004
 
 
2005
 
 
2006
 
# Let the site file select an alternate cache file if it wants to.
2007
 
# Prefer an explicitly selected file to automatically selected ones.
2008
 
ac_site_file1=NONE
2009
 
ac_site_file2=NONE
2010
 
if test -n "$CONFIG_SITE"; then
2011
 
  ac_site_file1=$CONFIG_SITE
2012
 
elif test "x$prefix" != xNONE; then
2013
 
  ac_site_file1=$prefix/share/config.site
2014
 
  ac_site_file2=$prefix/etc/config.site
2015
 
else
2016
 
  ac_site_file1=$ac_default_prefix/share/config.site
2017
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2018
 
fi
2019
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2020
 
do
2021
 
  test "x$ac_site_file" = xNONE && continue
2022
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2023
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2024
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2025
 
    sed 's/^/| /' "$ac_site_file" >&5
2026
 
    . "$ac_site_file"
2027
 
  fi
2028
 
done
2029
 
 
2030
 
if test -r "$cache_file"; then
2031
 
  # Some versions of bash will fail to source /dev/null (special files
2032
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2033
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2034
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2035
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2036
 
    case $cache_file in
2037
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2038
 
      *)                      . "./$cache_file";;
2039
 
    esac
2040
 
  fi
2041
 
else
2042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2043
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2044
 
  >$cache_file
2045
 
fi
2046
 
 
2047
 
# Check that the precious variables saved in the cache have kept the same
2048
 
# value.
2049
 
ac_cache_corrupted=false
2050
 
for ac_var in $ac_precious_vars; do
2051
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2052
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2053
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2054
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2055
 
  case $ac_old_set,$ac_new_set in
2056
 
    set,)
2057
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2058
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2059
 
      ac_cache_corrupted=: ;;
2060
 
    ,set)
2061
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2062
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2063
 
      ac_cache_corrupted=: ;;
2064
 
    ,);;
2065
 
    *)
2066
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2067
 
        # differences in whitespace do not lead to failure.
2068
 
        ac_old_val_w=`echo x $ac_old_val`
2069
 
        ac_new_val_w=`echo x $ac_new_val`
2070
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2071
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2072
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2073
 
          ac_cache_corrupted=:
2074
 
        else
2075
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2076
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2077
 
          eval $ac_var=\$ac_old_val
2078
 
        fi
2079
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2080
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2081
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2082
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2083
 
      fi;;
2084
 
  esac
2085
 
  # Pass precious variables to config.status.
2086
 
  if test "$ac_new_set" = set; then
2087
 
    case $ac_new_val in
2088
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2089
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2090
 
    esac
2091
 
    case " $ac_configure_args " in
2092
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2093
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2094
 
    esac
2095
 
  fi
2096
 
done
2097
 
if $ac_cache_corrupted; then
2098
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2101
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2102
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2103
 
fi
2104
 
## -------------------- ##
2105
 
## Main body of script. ##
2106
 
## -------------------- ##
2107
 
 
2108
 
ac_ext=c
2109
 
ac_cpp='$CPP $CPPFLAGS'
2110
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2113
 
 
2114
 
 
2115
 
 
2116
 
 
2117
 
ac_aux_dir=
2118
 
for ac_dir in config "$srcdir"/config; do
2119
 
  for ac_t in install-sh install.sh shtool; do
2120
 
    if test -f "$ac_dir/$ac_t"; then
2121
 
      ac_aux_dir=$ac_dir
2122
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2123
 
      break 2
2124
 
    fi
2125
 
  done
2126
 
done
2127
 
if test -z "$ac_aux_dir"; then
2128
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2129
 
fi
2130
 
 
2131
 
# These three variables are undocumented and unsupported,
2132
 
# and are intended to be withdrawn in a future Autoconf release.
2133
 
# They can cause serious problems if a builder's source tree is in a directory
2134
 
# whose full name contains unusual characters.
2135
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2136
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2137
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2138
 
 
2139
 
 
2140
 
ac_config_headers="$ac_config_headers src/config.h"
2141
 
 
2142
 
am__api_version='1.11'
2143
 
 
2144
 
# Find a good install program.  We prefer a C program (faster),
2145
 
# so one script is as good as another.  But avoid the broken or
2146
 
# incompatible versions:
2147
 
# SysV /etc/install, /usr/sbin/install
2148
 
# SunOS /usr/etc/install
2149
 
# IRIX /sbin/install
2150
 
# AIX /bin/install
2151
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2152
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2153
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2154
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2155
 
# OS/2's system install, which has a completely different semantic
2156
 
# ./install, which can be erroneously created by make from ./install.sh.
2157
 
# Reject install programs that cannot install multiple files.
2158
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2159
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2160
 
if test -z "$INSTALL"; then
2161
 
if test "${ac_cv_path_install+set}" = set; then :
2162
 
  $as_echo_n "(cached) " >&6
2163
 
else
2164
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165
 
for as_dir in $PATH
2166
 
do
2167
 
  IFS=$as_save_IFS
2168
 
  test -z "$as_dir" && as_dir=.
2169
 
    # Account for people who put trailing slashes in PATH elements.
2170
 
case $as_dir/ in #((
2171
 
  ./ | .// | /[cC]/* | \
2172
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2173
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2174
 
  /usr/ucb/* ) ;;
2175
 
  *)
2176
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2177
 
    # Don't use installbsd from OSF since it installs stuff as root
2178
 
    # by default.
2179
 
    for ac_prog in ginstall scoinst install; do
2180
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2181
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2182
 
          if test $ac_prog = install &&
2183
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2184
 
            # AIX install.  It has an incompatible calling convention.
2185
 
            :
2186
 
          elif test $ac_prog = install &&
2187
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2188
 
            # program-specific install script used by HP pwplus--don't use.
2189
 
            :
2190
 
          else
2191
 
            rm -rf conftest.one conftest.two conftest.dir
2192
 
            echo one > conftest.one
2193
 
            echo two > conftest.two
2194
 
            mkdir conftest.dir
2195
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2196
 
              test -s conftest.one && test -s conftest.two &&
2197
 
              test -s conftest.dir/conftest.one &&
2198
 
              test -s conftest.dir/conftest.two
2199
 
            then
2200
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2201
 
              break 3
2202
 
            fi
2203
 
          fi
2204
 
        fi
2205
 
      done
2206
 
    done
2207
 
    ;;
2208
 
esac
2209
 
 
2210
 
  done
2211
 
IFS=$as_save_IFS
2212
 
 
2213
 
rm -rf conftest.one conftest.two conftest.dir
2214
 
 
2215
 
fi
2216
 
  if test "${ac_cv_path_install+set}" = set; then
2217
 
    INSTALL=$ac_cv_path_install
2218
 
  else
2219
 
    # As a last resort, use the slow shell script.  Don't cache a
2220
 
    # value for INSTALL within a source directory, because that will
2221
 
    # break other packages using the cache if that directory is
2222
 
    # removed, or if the value is a relative name.
2223
 
    INSTALL=$ac_install_sh
2224
 
  fi
2225
 
fi
2226
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2227
 
$as_echo "$INSTALL" >&6; }
2228
 
 
2229
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2230
 
# It thinks the first close brace ends the variable substitution.
2231
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2232
 
 
2233
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2234
 
 
2235
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2236
 
 
2237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2238
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2239
 
# Just in case
2240
 
sleep 1
2241
 
echo timestamp > conftest.file
2242
 
# Reject unsafe characters in $srcdir or the absolute working directory
2243
 
# name.  Accept space and tab only in the latter.
2244
 
am_lf='
2245
 
'
2246
 
case `pwd` in
2247
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2248
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2249
 
esac
2250
 
case $srcdir in
2251
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2252
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2253
 
esac
2254
 
 
2255
 
# Do `set' in a subshell so we don't clobber the current shell's
2256
 
# arguments.  Must try -L first in case configure is actually a
2257
 
# symlink; some systems play weird games with the mod time of symlinks
2258
 
# (eg FreeBSD returns the mod time of the symlink's containing
2259
 
# directory).
2260
 
if (
2261
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2262
 
   if test "$*" = "X"; then
2263
 
      # -L didn't work.
2264
 
      set X `ls -t "$srcdir/configure" conftest.file`
2265
 
   fi
2266
 
   rm -f conftest.file
2267
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2268
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2269
 
 
2270
 
      # If neither matched, then we have a broken ls.  This can happen
2271
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2272
 
      # broken ls alias from the environment.  This has actually
2273
 
      # happened.  Such a system could not be considered "sane".
2274
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2275
 
alias in your environment" "$LINENO" 5
2276
 
   fi
2277
 
 
2278
 
   test "$2" = conftest.file
2279
 
   )
2280
 
then
2281
 
   # Ok.
2282
 
   :
2283
 
else
2284
 
   as_fn_error "newly created file is older than distributed files!
2285
 
Check your system clock" "$LINENO" 5
2286
 
fi
2287
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2288
 
$as_echo "yes" >&6; }
2289
 
test "$program_prefix" != NONE &&
2290
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2291
 
# Use a double $ so make ignores it.
2292
 
test "$program_suffix" != NONE &&
2293
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2294
 
# Double any \ or $.
2295
 
# By default was `s,x,x', remove it if useless.
2296
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2297
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2298
 
 
2299
 
# expand $ac_aux_dir to an absolute path
2300
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2301
 
 
2302
 
if test x"${MISSING+set}" != xset; then
2303
 
  case $am_aux_dir in
2304
 
  *\ * | *\     *)
2305
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2306
 
  *)
2307
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2308
 
  esac
2309
 
fi
2310
 
# Use eval to expand $SHELL
2311
 
if eval "$MISSING --run true"; then
2312
 
  am_missing_run="$MISSING --run "
2313
 
else
2314
 
  am_missing_run=
2315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2316
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2317
 
fi
2318
 
 
2319
 
if test x"${install_sh}" != xset; then
2320
 
  case $am_aux_dir in
2321
 
  *\ * | *\     *)
2322
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2323
 
  *)
2324
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2325
 
  esac
2326
 
fi
2327
 
 
2328
 
# Installed binaries are usually stripped using `strip' when the user
2329
 
# run `make install-strip'.  However `strip' might not be the right
2330
 
# tool to use in cross-compilation environments, therefore Automake
2331
 
# will honor the `STRIP' environment variable to overrule this program.
2332
 
if test "$cross_compiling" != no; then
2333
 
  if test -n "$ac_tool_prefix"; then
2334
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2335
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2337
 
$as_echo_n "checking for $ac_word... " >&6; }
2338
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2339
 
  $as_echo_n "(cached) " >&6
2340
 
else
2341
 
  if test -n "$STRIP"; then
2342
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2343
 
else
2344
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345
 
for as_dir in $PATH
2346
 
do
2347
 
  IFS=$as_save_IFS
2348
 
  test -z "$as_dir" && as_dir=.
2349
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2350
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2352
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353
 
    break 2
2354
 
  fi
2355
 
done
2356
 
  done
2357
 
IFS=$as_save_IFS
2358
 
 
2359
 
fi
2360
 
fi
2361
 
STRIP=$ac_cv_prog_STRIP
2362
 
if test -n "$STRIP"; then
2363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2364
 
$as_echo "$STRIP" >&6; }
2365
 
else
2366
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2367
 
$as_echo "no" >&6; }
2368
 
fi
2369
 
 
2370
 
 
2371
 
fi
2372
 
if test -z "$ac_cv_prog_STRIP"; then
2373
 
  ac_ct_STRIP=$STRIP
2374
 
  # Extract the first word of "strip", so it can be a program name with args.
2375
 
set dummy strip; ac_word=$2
2376
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377
 
$as_echo_n "checking for $ac_word... " >&6; }
2378
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2379
 
  $as_echo_n "(cached) " >&6
2380
 
else
2381
 
  if test -n "$ac_ct_STRIP"; then
2382
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2383
 
else
2384
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385
 
for as_dir in $PATH
2386
 
do
2387
 
  IFS=$as_save_IFS
2388
 
  test -z "$as_dir" && as_dir=.
2389
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2390
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391
 
    ac_cv_prog_ac_ct_STRIP="strip"
2392
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2393
 
    break 2
2394
 
  fi
2395
 
done
2396
 
  done
2397
 
IFS=$as_save_IFS
2398
 
 
2399
 
fi
2400
 
fi
2401
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2402
 
if test -n "$ac_ct_STRIP"; then
2403
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2404
 
$as_echo "$ac_ct_STRIP" >&6; }
2405
 
else
2406
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407
 
$as_echo "no" >&6; }
2408
 
fi
2409
 
 
2410
 
  if test "x$ac_ct_STRIP" = x; then
2411
 
    STRIP=":"
2412
 
  else
2413
 
    case $cross_compiling:$ac_tool_warned in
2414
 
yes:)
2415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2416
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2417
 
ac_tool_warned=yes ;;
2418
 
esac
2419
 
    STRIP=$ac_ct_STRIP
2420
 
  fi
2421
 
else
2422
 
  STRIP="$ac_cv_prog_STRIP"
2423
 
fi
2424
 
 
2425
 
fi
2426
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2427
 
 
2428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2429
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2430
 
if test -z "$MKDIR_P"; then
2431
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2432
 
  $as_echo_n "(cached) " >&6
2433
 
else
2434
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2436
 
do
2437
 
  IFS=$as_save_IFS
2438
 
  test -z "$as_dir" && as_dir=.
2439
 
    for ac_prog in mkdir gmkdir; do
2440
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2441
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2442
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2443
 
             'mkdir (GNU coreutils) '* | \
2444
 
             'mkdir (coreutils) '* | \
2445
 
             'mkdir (fileutils) '4.1*)
2446
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2447
 
               break 3;;
2448
 
           esac
2449
 
         done
2450
 
       done
2451
 
  done
2452
 
IFS=$as_save_IFS
2453
 
 
2454
 
fi
2455
 
 
2456
 
  test -d ./--version && rmdir ./--version
2457
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2458
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2459
 
  else
2460
 
    # As a last resort, use the slow shell script.  Don't cache a
2461
 
    # value for MKDIR_P within a source directory, because that will
2462
 
    # break other packages using the cache if that directory is
2463
 
    # removed, or if the value is a relative name.
2464
 
    MKDIR_P="$ac_install_sh -d"
2465
 
  fi
2466
 
fi
2467
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2468
 
$as_echo "$MKDIR_P" >&6; }
2469
 
 
2470
 
mkdir_p="$MKDIR_P"
2471
 
case $mkdir_p in
2472
 
  [\\/$]* | ?:[\\/]*) ;;
2473
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2474
 
esac
2475
 
 
2476
 
for ac_prog in gawk mawk nawk awk
2477
 
do
2478
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2479
 
set dummy $ac_prog; ac_word=$2
2480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481
 
$as_echo_n "checking for $ac_word... " >&6; }
2482
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2483
 
  $as_echo_n "(cached) " >&6
2484
 
else
2485
 
  if test -n "$AWK"; then
2486
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2487
 
else
2488
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489
 
for as_dir in $PATH
2490
 
do
2491
 
  IFS=$as_save_IFS
2492
 
  test -z "$as_dir" && as_dir=.
2493
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2494
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495
 
    ac_cv_prog_AWK="$ac_prog"
2496
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497
 
    break 2
2498
 
  fi
2499
 
done
2500
 
  done
2501
 
IFS=$as_save_IFS
2502
 
 
2503
 
fi
2504
 
fi
2505
 
AWK=$ac_cv_prog_AWK
2506
 
if test -n "$AWK"; then
2507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2508
 
$as_echo "$AWK" >&6; }
2509
 
else
2510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511
 
$as_echo "no" >&6; }
2512
 
fi
2513
 
 
2514
 
 
2515
 
  test -n "$AWK" && break
2516
 
done
2517
 
 
2518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2519
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2520
 
set x ${MAKE-make}
2521
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2522
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2523
 
  $as_echo_n "(cached) " >&6
2524
 
else
2525
 
  cat >conftest.make <<\_ACEOF
2526
 
SHELL = /bin/sh
2527
 
all:
2528
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2529
 
_ACEOF
2530
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2531
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2532
 
  *@@@%%%=?*=@@@%%%*)
2533
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2534
 
  *)
2535
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2536
 
esac
2537
 
rm -f conftest.make
2538
 
fi
2539
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2541
 
$as_echo "yes" >&6; }
2542
 
  SET_MAKE=
2543
 
else
2544
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545
 
$as_echo "no" >&6; }
2546
 
  SET_MAKE="MAKE=${MAKE-make}"
2547
 
fi
2548
 
 
2549
 
rm -rf .tst 2>/dev/null
2550
 
mkdir .tst 2>/dev/null
2551
 
if test -d .tst; then
2552
 
  am__leading_dot=.
2553
 
else
2554
 
  am__leading_dot=_
2555
 
fi
2556
 
rmdir .tst 2>/dev/null
2557
 
 
2558
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2559
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2560
 
  # is not polluted with repeated "-I."
2561
 
  am__isrc=' -I$(srcdir)'
2562
 
  # test to see if srcdir already configured
2563
 
  if test -f $srcdir/config.status; then
2564
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2565
 
  fi
2566
 
fi
2567
 
 
2568
 
# test whether we have cygpath
2569
 
if test -z "$CYGPATH_W"; then
2570
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2571
 
    CYGPATH_W='cygpath -w'
2572
 
  else
2573
 
    CYGPATH_W=echo
2574
 
  fi
2575
 
fi
2576
 
 
2577
 
 
2578
 
# Define the identity of the package.
2579
 
 PACKAGE='lxc'
2580
 
 VERSION='0.7.2'
2581
 
 
2582
 
 
2583
 
cat >>confdefs.h <<_ACEOF
2584
 
#define PACKAGE "$PACKAGE"
2585
 
_ACEOF
2586
 
 
2587
 
 
2588
 
cat >>confdefs.h <<_ACEOF
2589
 
#define VERSION "$VERSION"
2590
 
_ACEOF
2591
 
 
2592
 
# Some tools Automake needs.
2593
 
 
2594
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2595
 
 
2596
 
 
2597
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2598
 
 
2599
 
 
2600
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2601
 
 
2602
 
 
2603
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2604
 
 
2605
 
 
2606
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2607
 
 
2608
 
# We need awk for the "check" target.  The system "awk" is bad on
2609
 
# some platforms.
2610
 
# Always define AMTAR for backward compatibility.
2611
 
 
2612
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2613
 
 
2614
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2615
 
 
2616
 
 
2617
 
 
2618
 
 
2619
 
 
2620
 
# Make sure we can run config.sub.
2621
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2622
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2623
 
 
2624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2625
 
$as_echo_n "checking build system type... " >&6; }
2626
 
if test "${ac_cv_build+set}" = set; then :
2627
 
  $as_echo_n "(cached) " >&6
2628
 
else
2629
 
  ac_build_alias=$build_alias
2630
 
test "x$ac_build_alias" = x &&
2631
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2632
 
test "x$ac_build_alias" = x &&
2633
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2634
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2635
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2636
 
 
2637
 
fi
2638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2639
 
$as_echo "$ac_cv_build" >&6; }
2640
 
case $ac_cv_build in
2641
 
*-*-*) ;;
2642
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2643
 
esac
2644
 
build=$ac_cv_build
2645
 
ac_save_IFS=$IFS; IFS='-'
2646
 
set x $ac_cv_build
2647
 
shift
2648
 
build_cpu=$1
2649
 
build_vendor=$2
2650
 
shift; shift
2651
 
# Remember, the first character of IFS is used to create $*,
2652
 
# except with old shells:
2653
 
build_os=$*
2654
 
IFS=$ac_save_IFS
2655
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2656
 
 
2657
 
 
2658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2659
 
$as_echo_n "checking host system type... " >&6; }
2660
 
if test "${ac_cv_host+set}" = set; then :
2661
 
  $as_echo_n "(cached) " >&6
2662
 
else
2663
 
  if test "x$host_alias" = x; then
2664
 
  ac_cv_host=$ac_cv_build
2665
 
else
2666
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2667
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2668
 
fi
2669
 
 
2670
 
fi
2671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2672
 
$as_echo "$ac_cv_host" >&6; }
2673
 
case $ac_cv_host in
2674
 
*-*-*) ;;
2675
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2676
 
esac
2677
 
host=$ac_cv_host
2678
 
ac_save_IFS=$IFS; IFS='-'
2679
 
set x $ac_cv_host
2680
 
shift
2681
 
host_cpu=$1
2682
 
host_vendor=$2
2683
 
shift; shift
2684
 
# Remember, the first character of IFS is used to create $*,
2685
 
# except with old shells:
2686
 
host_os=$*
2687
 
IFS=$ac_save_IFS
2688
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2689
 
 
2690
 
 
2691
 
DEPDIR="${am__leading_dot}deps"
2692
 
 
2693
 
ac_config_commands="$ac_config_commands depfiles"
2694
 
 
2695
 
 
2696
 
am_make=${MAKE-make}
2697
 
cat > confinc << 'END'
2698
 
am__doit:
2699
 
        @echo this is the am__doit target
2700
 
.PHONY: am__doit
2701
 
END
2702
 
# If we don't find an include directive, just comment out the code.
2703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2704
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2705
 
am__include="#"
2706
 
am__quote=
2707
 
_am_result=none
2708
 
# First try GNU make style include.
2709
 
echo "include confinc" > confmf
2710
 
# Ignore all kinds of additional output from `make'.
2711
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2712
 
*the\ am__doit\ target*)
2713
 
  am__include=include
2714
 
  am__quote=
2715
 
  _am_result=GNU
2716
 
  ;;
2717
 
esac
2718
 
# Now try BSD make style include.
2719
 
if test "$am__include" = "#"; then
2720
 
   echo '.include "confinc"' > confmf
2721
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2722
 
   *the\ am__doit\ target*)
2723
 
     am__include=.include
2724
 
     am__quote="\""
2725
 
     _am_result=BSD
2726
 
     ;;
2727
 
   esac
2728
 
fi
2729
 
 
2730
 
 
2731
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2732
 
$as_echo "$_am_result" >&6; }
2733
 
rm -f confinc confmf
2734
 
 
2735
 
# Check whether --enable-dependency-tracking was given.
2736
 
if test "${enable_dependency_tracking+set}" = set; then :
2737
 
  enableval=$enable_dependency_tracking;
2738
 
fi
2739
 
 
2740
 
if test "x$enable_dependency_tracking" != xno; then
2741
 
  am_depcomp="$ac_aux_dir/depcomp"
2742
 
  AMDEPBACKSLASH='\'
2743
 
fi
2744
 
 if test "x$enable_dependency_tracking" != xno; then
2745
 
  AMDEP_TRUE=
2746
 
  AMDEP_FALSE='#'
2747
 
else
2748
 
  AMDEP_TRUE='#'
2749
 
  AMDEP_FALSE=
2750
 
fi
2751
 
 
2752
 
 
2753
 
ac_ext=c
2754
 
ac_cpp='$CPP $CPPFLAGS'
2755
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758
 
if test -n "$ac_tool_prefix"; then
2759
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2760
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762
 
$as_echo_n "checking for $ac_word... " >&6; }
2763
 
if test "${ac_cv_prog_CC+set}" = set; then :
2764
 
  $as_echo_n "(cached) " >&6
2765
 
else
2766
 
  if test -n "$CC"; then
2767
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2768
 
else
2769
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770
 
for as_dir in $PATH
2771
 
do
2772
 
  IFS=$as_save_IFS
2773
 
  test -z "$as_dir" && as_dir=.
2774
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2775
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2777
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778
 
    break 2
2779
 
  fi
2780
 
done
2781
 
  done
2782
 
IFS=$as_save_IFS
2783
 
 
2784
 
fi
2785
 
fi
2786
 
CC=$ac_cv_prog_CC
2787
 
if test -n "$CC"; then
2788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789
 
$as_echo "$CC" >&6; }
2790
 
else
2791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792
 
$as_echo "no" >&6; }
2793
 
fi
2794
 
 
2795
 
 
2796
 
fi
2797
 
if test -z "$ac_cv_prog_CC"; then
2798
 
  ac_ct_CC=$CC
2799
 
  # Extract the first word of "gcc", so it can be a program name with args.
2800
 
set dummy gcc; ac_word=$2
2801
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802
 
$as_echo_n "checking for $ac_word... " >&6; }
2803
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2804
 
  $as_echo_n "(cached) " >&6
2805
 
else
2806
 
  if test -n "$ac_ct_CC"; then
2807
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2808
 
else
2809
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810
 
for as_dir in $PATH
2811
 
do
2812
 
  IFS=$as_save_IFS
2813
 
  test -z "$as_dir" && as_dir=.
2814
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2815
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816
 
    ac_cv_prog_ac_ct_CC="gcc"
2817
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818
 
    break 2
2819
 
  fi
2820
 
done
2821
 
  done
2822
 
IFS=$as_save_IFS
2823
 
 
2824
 
fi
2825
 
fi
2826
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827
 
if test -n "$ac_ct_CC"; then
2828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829
 
$as_echo "$ac_ct_CC" >&6; }
2830
 
else
2831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832
 
$as_echo "no" >&6; }
2833
 
fi
2834
 
 
2835
 
  if test "x$ac_ct_CC" = x; then
2836
 
    CC=""
2837
 
  else
2838
 
    case $cross_compiling:$ac_tool_warned in
2839
 
yes:)
2840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2841
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2842
 
ac_tool_warned=yes ;;
2843
 
esac
2844
 
    CC=$ac_ct_CC
2845
 
  fi
2846
 
else
2847
 
  CC="$ac_cv_prog_CC"
2848
 
fi
2849
 
 
2850
 
if test -z "$CC"; then
2851
 
          if test -n "$ac_tool_prefix"; then
2852
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2853
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855
 
$as_echo_n "checking for $ac_word... " >&6; }
2856
 
if test "${ac_cv_prog_CC+set}" = set; then :
2857
 
  $as_echo_n "(cached) " >&6
2858
 
else
2859
 
  if test -n "$CC"; then
2860
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2861
 
else
2862
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863
 
for as_dir in $PATH
2864
 
do
2865
 
  IFS=$as_save_IFS
2866
 
  test -z "$as_dir" && as_dir=.
2867
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2868
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2870
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871
 
    break 2
2872
 
  fi
2873
 
done
2874
 
  done
2875
 
IFS=$as_save_IFS
2876
 
 
2877
 
fi
2878
 
fi
2879
 
CC=$ac_cv_prog_CC
2880
 
if test -n "$CC"; then
2881
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882
 
$as_echo "$CC" >&6; }
2883
 
else
2884
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885
 
$as_echo "no" >&6; }
2886
 
fi
2887
 
 
2888
 
 
2889
 
  fi
2890
 
fi
2891
 
if test -z "$CC"; then
2892
 
  # Extract the first word of "cc", so it can be a program name with args.
2893
 
set dummy cc; ac_word=$2
2894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895
 
$as_echo_n "checking for $ac_word... " >&6; }
2896
 
if test "${ac_cv_prog_CC+set}" = set; then :
2897
 
  $as_echo_n "(cached) " >&6
2898
 
else
2899
 
  if test -n "$CC"; then
2900
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2901
 
else
2902
 
  ac_prog_rejected=no
2903
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904
 
for as_dir in $PATH
2905
 
do
2906
 
  IFS=$as_save_IFS
2907
 
  test -z "$as_dir" && as_dir=.
2908
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2909
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2911
 
       ac_prog_rejected=yes
2912
 
       continue
2913
 
     fi
2914
 
    ac_cv_prog_CC="cc"
2915
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916
 
    break 2
2917
 
  fi
2918
 
done
2919
 
  done
2920
 
IFS=$as_save_IFS
2921
 
 
2922
 
if test $ac_prog_rejected = yes; then
2923
 
  # We found a bogon in the path, so make sure we never use it.
2924
 
  set dummy $ac_cv_prog_CC
2925
 
  shift
2926
 
  if test $# != 0; then
2927
 
    # We chose a different compiler from the bogus one.
2928
 
    # However, it has the same basename, so the bogon will be chosen
2929
 
    # first if we set CC to just the basename; use the full file name.
2930
 
    shift
2931
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2932
 
  fi
2933
 
fi
2934
 
fi
2935
 
fi
2936
 
CC=$ac_cv_prog_CC
2937
 
if test -n "$CC"; then
2938
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939
 
$as_echo "$CC" >&6; }
2940
 
else
2941
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942
 
$as_echo "no" >&6; }
2943
 
fi
2944
 
 
2945
 
 
2946
 
fi
2947
 
if test -z "$CC"; then
2948
 
  if test -n "$ac_tool_prefix"; then
2949
 
  for ac_prog in cl.exe
2950
 
  do
2951
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2952
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954
 
$as_echo_n "checking for $ac_word... " >&6; }
2955
 
if test "${ac_cv_prog_CC+set}" = set; then :
2956
 
  $as_echo_n "(cached) " >&6
2957
 
else
2958
 
  if test -n "$CC"; then
2959
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2960
 
else
2961
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962
 
for as_dir in $PATH
2963
 
do
2964
 
  IFS=$as_save_IFS
2965
 
  test -z "$as_dir" && as_dir=.
2966
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2967
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2969
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970
 
    break 2
2971
 
  fi
2972
 
done
2973
 
  done
2974
 
IFS=$as_save_IFS
2975
 
 
2976
 
fi
2977
 
fi
2978
 
CC=$ac_cv_prog_CC
2979
 
if test -n "$CC"; then
2980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981
 
$as_echo "$CC" >&6; }
2982
 
else
2983
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984
 
$as_echo "no" >&6; }
2985
 
fi
2986
 
 
2987
 
 
2988
 
    test -n "$CC" && break
2989
 
  done
2990
 
fi
2991
 
if test -z "$CC"; then
2992
 
  ac_ct_CC=$CC
2993
 
  for ac_prog in cl.exe
2994
 
do
2995
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2996
 
set dummy $ac_prog; ac_word=$2
2997
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998
 
$as_echo_n "checking for $ac_word... " >&6; }
2999
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3000
 
  $as_echo_n "(cached) " >&6
3001
 
else
3002
 
  if test -n "$ac_ct_CC"; then
3003
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3004
 
else
3005
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006
 
for as_dir in $PATH
3007
 
do
3008
 
  IFS=$as_save_IFS
3009
 
  test -z "$as_dir" && as_dir=.
3010
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3011
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3013
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014
 
    break 2
3015
 
  fi
3016
 
done
3017
 
  done
3018
 
IFS=$as_save_IFS
3019
 
 
3020
 
fi
3021
 
fi
3022
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3023
 
if test -n "$ac_ct_CC"; then
3024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3025
 
$as_echo "$ac_ct_CC" >&6; }
3026
 
else
3027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028
 
$as_echo "no" >&6; }
3029
 
fi
3030
 
 
3031
 
 
3032
 
  test -n "$ac_ct_CC" && break
3033
 
done
3034
 
 
3035
 
  if test "x$ac_ct_CC" = x; then
3036
 
    CC=""
3037
 
  else
3038
 
    case $cross_compiling:$ac_tool_warned in
3039
 
yes:)
3040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042
 
ac_tool_warned=yes ;;
3043
 
esac
3044
 
    CC=$ac_ct_CC
3045
 
  fi
3046
 
fi
3047
 
 
3048
 
fi
3049
 
 
3050
 
 
3051
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053
 
as_fn_error "no acceptable C compiler found in \$PATH
3054
 
See \`config.log' for more details." "$LINENO" 5; }
3055
 
 
3056
 
# Provide some information about the compiler.
3057
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3058
 
set X $ac_compile
3059
 
ac_compiler=$2
3060
 
for ac_option in --version -v -V -qversion; do
3061
 
  { { ac_try="$ac_compiler $ac_option >&5"
3062
 
case "(($ac_try" in
3063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064
 
  *) ac_try_echo=$ac_try;;
3065
 
esac
3066
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067
 
$as_echo "$ac_try_echo"; } >&5
3068
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3069
 
  ac_status=$?
3070
 
  if test -s conftest.err; then
3071
 
    sed '10a\
3072
 
... rest of stderr output deleted ...
3073
 
         10q' conftest.err >conftest.er1
3074
 
    cat conftest.er1 >&5
3075
 
  fi
3076
 
  rm -f conftest.er1 conftest.err
3077
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
 
  test $ac_status = 0; }
3079
 
done
3080
 
 
3081
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082
 
/* end confdefs.h.  */
3083
 
 
3084
 
int
3085
 
main ()
3086
 
{
3087
 
 
3088
 
  ;
3089
 
  return 0;
3090
 
}
3091
 
_ACEOF
3092
 
ac_clean_files_save=$ac_clean_files
3093
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3094
 
# Try to create an executable without -o first, disregard a.out.
3095
 
# It will help us diagnose broken compilers, and finding out an intuition
3096
 
# of exeext.
3097
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3098
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3099
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3100
 
 
3101
 
# The possible output files:
3102
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3103
 
 
3104
 
ac_rmfiles=
3105
 
for ac_file in $ac_files
3106
 
do
3107
 
  case $ac_file in
3108
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3109
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3110
 
  esac
3111
 
done
3112
 
rm -f $ac_rmfiles
3113
 
 
3114
 
if { { ac_try="$ac_link_default"
3115
 
case "(($ac_try" in
3116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
 
  *) ac_try_echo=$ac_try;;
3118
 
esac
3119
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120
 
$as_echo "$ac_try_echo"; } >&5
3121
 
  (eval "$ac_link_default") 2>&5
3122
 
  ac_status=$?
3123
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124
 
  test $ac_status = 0; }; then :
3125
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3126
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3127
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3128
 
# so that the user can short-circuit this test for compilers unknown to
3129
 
# Autoconf.
3130
 
for ac_file in $ac_files ''
3131
 
do
3132
 
  test -f "$ac_file" || continue
3133
 
  case $ac_file in
3134
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3135
 
        ;;
3136
 
    [ab].out )
3137
 
        # We found the default executable, but exeext='' is most
3138
 
        # certainly right.
3139
 
        break;;
3140
 
    *.* )
3141
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3142
 
        then :; else
3143
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3144
 
        fi
3145
 
        # We set ac_cv_exeext here because the later test for it is not
3146
 
        # safe: cross compilers may not add the suffix if given an `-o'
3147
 
        # argument, so we may need to know it at that point already.
3148
 
        # Even if this section looks crufty: it has the advantage of
3149
 
        # actually working.
3150
 
        break;;
3151
 
    * )
3152
 
        break;;
3153
 
  esac
3154
 
done
3155
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3156
 
 
3157
 
else
3158
 
  ac_file=''
3159
 
fi
3160
 
if test -z "$ac_file"; then :
3161
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162
 
$as_echo "no" >&6; }
3163
 
$as_echo "$as_me: failed program was:" >&5
3164
 
sed 's/^/| /' conftest.$ac_ext >&5
3165
 
 
3166
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168
 
{ as_fn_set_status 77
3169
 
as_fn_error "C compiler cannot create executables
3170
 
See \`config.log' for more details." "$LINENO" 5; }; }
3171
 
else
3172
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173
 
$as_echo "yes" >&6; }
3174
 
fi
3175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3176
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3178
 
$as_echo "$ac_file" >&6; }
3179
 
ac_exeext=$ac_cv_exeext
3180
 
 
3181
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3182
 
ac_clean_files=$ac_clean_files_save
3183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3184
 
$as_echo_n "checking for suffix of executables... " >&6; }
3185
 
if { { ac_try="$ac_link"
3186
 
case "(($ac_try" in
3187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188
 
  *) ac_try_echo=$ac_try;;
3189
 
esac
3190
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3191
 
$as_echo "$ac_try_echo"; } >&5
3192
 
  (eval "$ac_link") 2>&5
3193
 
  ac_status=$?
3194
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195
 
  test $ac_status = 0; }; then :
3196
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3197
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3198
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3199
 
# `rm'.
3200
 
for ac_file in conftest.exe conftest conftest.*; do
3201
 
  test -f "$ac_file" || continue
3202
 
  case $ac_file in
3203
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3204
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3205
 
          break;;
3206
 
    * ) break;;
3207
 
  esac
3208
 
done
3209
 
else
3210
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3213
 
See \`config.log' for more details." "$LINENO" 5; }
3214
 
fi
3215
 
rm -f conftest conftest$ac_cv_exeext
3216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3217
 
$as_echo "$ac_cv_exeext" >&6; }
3218
 
 
3219
 
rm -f conftest.$ac_ext
3220
 
EXEEXT=$ac_cv_exeext
3221
 
ac_exeext=$EXEEXT
3222
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223
 
/* end confdefs.h.  */
3224
 
#include <stdio.h>
3225
 
int
3226
 
main ()
3227
 
{
3228
 
FILE *f = fopen ("conftest.out", "w");
3229
 
 return ferror (f) || fclose (f) != 0;
3230
 
 
3231
 
  ;
3232
 
  return 0;
3233
 
}
3234
 
_ACEOF
3235
 
ac_clean_files="$ac_clean_files conftest.out"
3236
 
# Check that the compiler produces executables we can run.  If not, either
3237
 
# the compiler is broken, or we cross compile.
3238
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3239
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3240
 
if test "$cross_compiling" != yes; then
3241
 
  { { ac_try="$ac_link"
3242
 
case "(($ac_try" in
3243
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
 
  *) ac_try_echo=$ac_try;;
3245
 
esac
3246
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247
 
$as_echo "$ac_try_echo"; } >&5
3248
 
  (eval "$ac_link") 2>&5
3249
 
  ac_status=$?
3250
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251
 
  test $ac_status = 0; }
3252
 
  if { ac_try='./conftest$ac_cv_exeext'
3253
 
  { { case "(($ac_try" in
3254
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255
 
  *) ac_try_echo=$ac_try;;
3256
 
esac
3257
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258
 
$as_echo "$ac_try_echo"; } >&5
3259
 
  (eval "$ac_try") 2>&5
3260
 
  ac_status=$?
3261
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262
 
  test $ac_status = 0; }; }; then
3263
 
    cross_compiling=no
3264
 
  else
3265
 
    if test "$cross_compiling" = maybe; then
3266
 
        cross_compiling=yes
3267
 
    else
3268
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3269
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3270
 
as_fn_error "cannot run C compiled programs.
3271
 
If you meant to cross compile, use \`--host'.
3272
 
See \`config.log' for more details." "$LINENO" 5; }
3273
 
    fi
3274
 
  fi
3275
 
fi
3276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3277
 
$as_echo "$cross_compiling" >&6; }
3278
 
 
3279
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3280
 
ac_clean_files=$ac_clean_files_save
3281
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3282
 
$as_echo_n "checking for suffix of object files... " >&6; }
3283
 
if test "${ac_cv_objext+set}" = set; then :
3284
 
  $as_echo_n "(cached) " >&6
3285
 
else
3286
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287
 
/* end confdefs.h.  */
3288
 
 
3289
 
int
3290
 
main ()
3291
 
{
3292
 
 
3293
 
  ;
3294
 
  return 0;
3295
 
}
3296
 
_ACEOF
3297
 
rm -f conftest.o conftest.obj
3298
 
if { { ac_try="$ac_compile"
3299
 
case "(($ac_try" in
3300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301
 
  *) ac_try_echo=$ac_try;;
3302
 
esac
3303
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304
 
$as_echo "$ac_try_echo"; } >&5
3305
 
  (eval "$ac_compile") 2>&5
3306
 
  ac_status=$?
3307
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3308
 
  test $ac_status = 0; }; then :
3309
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3310
 
  test -f "$ac_file" || continue;
3311
 
  case $ac_file in
3312
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3313
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3314
 
       break;;
3315
 
  esac
3316
 
done
3317
 
else
3318
 
  $as_echo "$as_me: failed program was:" >&5
3319
 
sed 's/^/| /' conftest.$ac_ext >&5
3320
 
 
3321
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323
 
as_fn_error "cannot compute suffix of object files: cannot compile
3324
 
See \`config.log' for more details." "$LINENO" 5; }
3325
 
fi
3326
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3327
 
fi
3328
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3329
 
$as_echo "$ac_cv_objext" >&6; }
3330
 
OBJEXT=$ac_cv_objext
3331
 
ac_objext=$OBJEXT
3332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3333
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3334
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3335
 
  $as_echo_n "(cached) " >&6
3336
 
else
3337
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338
 
/* end confdefs.h.  */
3339
 
 
3340
 
int
3341
 
main ()
3342
 
{
3343
 
#ifndef __GNUC__
3344
 
       choke me
3345
 
#endif
3346
 
 
3347
 
  ;
3348
 
  return 0;
3349
 
}
3350
 
_ACEOF
3351
 
if ac_fn_c_try_compile "$LINENO"; then :
3352
 
  ac_compiler_gnu=yes
3353
 
else
3354
 
  ac_compiler_gnu=no
3355
 
fi
3356
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3358
 
 
3359
 
fi
3360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3361
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3362
 
if test $ac_compiler_gnu = yes; then
3363
 
  GCC=yes
3364
 
else
3365
 
  GCC=
3366
 
fi
3367
 
ac_test_CFLAGS=${CFLAGS+set}
3368
 
ac_save_CFLAGS=$CFLAGS
3369
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3370
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3371
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3372
 
  $as_echo_n "(cached) " >&6
3373
 
else
3374
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3375
 
   ac_c_werror_flag=yes
3376
 
   ac_cv_prog_cc_g=no
3377
 
   CFLAGS="-g"
3378
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379
 
/* end confdefs.h.  */
3380
 
 
3381
 
int
3382
 
main ()
3383
 
{
3384
 
 
3385
 
  ;
3386
 
  return 0;
3387
 
}
3388
 
_ACEOF
3389
 
if ac_fn_c_try_compile "$LINENO"; then :
3390
 
  ac_cv_prog_cc_g=yes
3391
 
else
3392
 
  CFLAGS=""
3393
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394
 
/* end confdefs.h.  */
3395
 
 
3396
 
int
3397
 
main ()
3398
 
{
3399
 
 
3400
 
  ;
3401
 
  return 0;
3402
 
}
3403
 
_ACEOF
3404
 
if ac_fn_c_try_compile "$LINENO"; then :
3405
 
 
3406
 
else
3407
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3408
 
         CFLAGS="-g"
3409
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410
 
/* end confdefs.h.  */
3411
 
 
3412
 
int
3413
 
main ()
3414
 
{
3415
 
 
3416
 
  ;
3417
 
  return 0;
3418
 
}
3419
 
_ACEOF
3420
 
if ac_fn_c_try_compile "$LINENO"; then :
3421
 
  ac_cv_prog_cc_g=yes
3422
 
fi
3423
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424
 
fi
3425
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426
 
fi
3427
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3429
 
fi
3430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3431
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3432
 
if test "$ac_test_CFLAGS" = set; then
3433
 
  CFLAGS=$ac_save_CFLAGS
3434
 
elif test $ac_cv_prog_cc_g = yes; then
3435
 
  if test "$GCC" = yes; then
3436
 
    CFLAGS="-g -O2"
3437
 
  else
3438
 
    CFLAGS="-g"
3439
 
  fi
3440
 
else
3441
 
  if test "$GCC" = yes; then
3442
 
    CFLAGS="-O2"
3443
 
  else
3444
 
    CFLAGS=
3445
 
  fi
3446
 
fi
3447
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3448
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3449
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3450
 
  $as_echo_n "(cached) " >&6
3451
 
else
3452
 
  ac_cv_prog_cc_c89=no
3453
 
ac_save_CC=$CC
3454
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455
 
/* end confdefs.h.  */
3456
 
#include <stdarg.h>
3457
 
#include <stdio.h>
3458
 
#include <sys/types.h>
3459
 
#include <sys/stat.h>
3460
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3461
 
struct buf { int x; };
3462
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3463
 
static char *e (p, i)
3464
 
     char **p;
3465
 
     int i;
3466
 
{
3467
 
  return p[i];
3468
 
}
3469
 
static char *f (char * (*g) (char **, int), char **p, ...)
3470
 
{
3471
 
  char *s;
3472
 
  va_list v;
3473
 
  va_start (v,p);
3474
 
  s = g (p, va_arg (v,int));
3475
 
  va_end (v);
3476
 
  return s;
3477
 
}
3478
 
 
3479
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3480
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3481
 
   These don't provoke an error unfortunately, instead are silently treated
3482
 
   as 'x'.  The following induces an error, until -std is added to get
3483
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3484
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3485
 
   that's true only with -std.  */
3486
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3487
 
 
3488
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3489
 
   inside strings and character constants.  */
3490
 
#define FOO(x) 'x'
3491
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3492
 
 
3493
 
int test (int i, double x);
3494
 
struct s1 {int (*f) (int a);};
3495
 
struct s2 {int (*f) (double a);};
3496
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3497
 
int argc;
3498
 
char **argv;
3499
 
int
3500
 
main ()
3501
 
{
3502
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3503
 
  ;
3504
 
  return 0;
3505
 
}
3506
 
_ACEOF
3507
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3508
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3509
 
do
3510
 
  CC="$ac_save_CC $ac_arg"
3511
 
  if ac_fn_c_try_compile "$LINENO"; then :
3512
 
  ac_cv_prog_cc_c89=$ac_arg
3513
 
fi
3514
 
rm -f core conftest.err conftest.$ac_objext
3515
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3516
 
done
3517
 
rm -f conftest.$ac_ext
3518
 
CC=$ac_save_CC
3519
 
 
3520
 
fi
3521
 
# AC_CACHE_VAL
3522
 
case "x$ac_cv_prog_cc_c89" in
3523
 
  x)
3524
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3525
 
$as_echo "none needed" >&6; } ;;
3526
 
  xno)
3527
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3528
 
$as_echo "unsupported" >&6; } ;;
3529
 
  *)
3530
 
    CC="$CC $ac_cv_prog_cc_c89"
3531
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3532
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3533
 
esac
3534
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3535
 
 
3536
 
fi
3537
 
 
3538
 
ac_ext=c
3539
 
ac_cpp='$CPP $CPPFLAGS'
3540
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543
 
 
3544
 
depcc="$CC"   am_compiler_list=
3545
 
 
3546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3547
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3548
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3549
 
  $as_echo_n "(cached) " >&6
3550
 
else
3551
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3552
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3553
 
  # making bogus files that we don't know about and never remove.  For
3554
 
  # instance it was reported that on HP-UX the gcc test will end up
3555
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3556
 
  # in D'.
3557
 
  mkdir conftest.dir
3558
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3559
 
  # using a relative directory.
3560
 
  cp "$am_depcomp" conftest.dir
3561
 
  cd conftest.dir
3562
 
  # We will build objects and dependencies in a subdirectory because
3563
 
  # it helps to detect inapplicable dependency modes.  For instance
3564
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3565
 
  # side effect of compilation, but ICC will put the dependencies in
3566
 
  # the current directory while Tru64 will put them in the object
3567
 
  # directory.
3568
 
  mkdir sub
3569
 
 
3570
 
  am_cv_CC_dependencies_compiler_type=none
3571
 
  if test "$am_compiler_list" = ""; then
3572
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3573
 
  fi
3574
 
  am__universal=false
3575
 
  case " $depcc " in #(
3576
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3577
 
     esac
3578
 
 
3579
 
  for depmode in $am_compiler_list; do
3580
 
    # Setup a source with many dependencies, because some compilers
3581
 
    # like to wrap large dependency lists on column 80 (with \), and
3582
 
    # we should not choose a depcomp mode which is confused by this.
3583
 
    #
3584
 
    # We need to recreate these files for each test, as the compiler may
3585
 
    # overwrite some of them when testing with obscure command lines.
3586
 
    # This happens at least with the AIX C compiler.
3587
 
    : > sub/conftest.c
3588
 
    for i in 1 2 3 4 5 6; do
3589
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3590
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3591
 
      # Solaris 8's {/usr,}/bin/sh.
3592
 
      touch sub/conftst$i.h
3593
 
    done
3594
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3595
 
 
3596
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3597
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3598
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3599
 
    # versions had trouble with output in subdirs
3600
 
    am__obj=sub/conftest.${OBJEXT-o}
3601
 
    am__minus_obj="-o $am__obj"
3602
 
    case $depmode in
3603
 
    gcc)
3604
 
      # This depmode causes a compiler race in universal mode.
3605
 
      test "$am__universal" = false || continue
3606
 
      ;;
3607
 
    nosideeffect)
3608
 
      # after this tag, mechanisms are not by side-effect, so they'll
3609
 
      # only be used when explicitly requested
3610
 
      if test "x$enable_dependency_tracking" = xyes; then
3611
 
        continue
3612
 
      else
3613
 
        break
3614
 
      fi
3615
 
      ;;
3616
 
    msvisualcpp | msvcmsys)
3617
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3618
 
      # not run yet.  These depmodes are late enough in the game, and
3619
 
      # so weak that their functioning should not be impacted.
3620
 
      am__obj=conftest.${OBJEXT-o}
3621
 
      am__minus_obj=
3622
 
      ;;
3623
 
    none) break ;;
3624
 
    esac
3625
 
    if depmode=$depmode \
3626
 
       source=sub/conftest.c object=$am__obj \
3627
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3628
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3629
 
         >/dev/null 2>conftest.err &&
3630
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3631
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3632
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3633
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3634
 
      # icc doesn't choke on unknown options, it will just issue warnings
3635
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3636
 
      # that says an option was ignored or not supported.
3637
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3638
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3639
 
      # The diagnosis changed in icc 8.0:
3640
 
      #   icc: Command line remark: option '-MP' not supported
3641
 
      if (grep 'ignoring option' conftest.err ||
3642
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3643
 
        am_cv_CC_dependencies_compiler_type=$depmode
3644
 
        break
3645
 
      fi
3646
 
    fi
3647
 
  done
3648
 
 
3649
 
  cd ..
3650
 
  rm -rf conftest.dir
3651
 
else
3652
 
  am_cv_CC_dependencies_compiler_type=none
3653
 
fi
3654
 
 
3655
 
fi
3656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3657
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3658
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3659
 
 
3660
 
 if
3661
 
  test "x$enable_dependency_tracking" != xno \
3662
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3663
 
  am__fastdepCC_TRUE=
3664
 
  am__fastdepCC_FALSE='#'
3665
 
else
3666
 
  am__fastdepCC_TRUE='#'
3667
 
  am__fastdepCC_FALSE=
3668
 
fi
3669
 
 
3670
 
 
3671
 
if test "x$CC" != xcc; then
3672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3673
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3674
 
else
3675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3676
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3677
 
fi
3678
 
set dummy $CC; ac_cc=`$as_echo "$2" |
3679
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3680
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3681
 
  $as_echo_n "(cached) " >&6
3682
 
else
3683
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684
 
/* end confdefs.h.  */
3685
 
 
3686
 
int
3687
 
main ()
3688
 
{
3689
 
 
3690
 
  ;
3691
 
  return 0;
3692
 
}
3693
 
_ACEOF
3694
 
# Make sure it works both with $CC and with simple cc.
3695
 
# We do the test twice because some compilers refuse to overwrite an
3696
 
# existing .o file with -o, though they will create one.
3697
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3698
 
rm -f conftest2.*
3699
 
if { { case "(($ac_try" in
3700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701
 
  *) ac_try_echo=$ac_try;;
3702
 
esac
3703
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704
 
$as_echo "$ac_try_echo"; } >&5
3705
 
  (eval "$ac_try") 2>&5
3706
 
  ac_status=$?
3707
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708
 
  test $ac_status = 0; } &&
3709
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
3710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711
 
  *) ac_try_echo=$ac_try;;
3712
 
esac
3713
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714
 
$as_echo "$ac_try_echo"; } >&5
3715
 
  (eval "$ac_try") 2>&5
3716
 
  ac_status=$?
3717
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718
 
  test $ac_status = 0; };
3719
 
then
3720
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3721
 
  if test "x$CC" != xcc; then
3722
 
    # Test first that cc exists at all.
3723
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
3724
 
  { { case "(($ac_try" in
3725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726
 
  *) ac_try_echo=$ac_try;;
3727
 
esac
3728
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729
 
$as_echo "$ac_try_echo"; } >&5
3730
 
  (eval "$ac_try") 2>&5
3731
 
  ac_status=$?
3732
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3733
 
  test $ac_status = 0; }; }; then
3734
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3735
 
      rm -f conftest2.*
3736
 
      if { { case "(($ac_try" in
3737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738
 
  *) ac_try_echo=$ac_try;;
3739
 
esac
3740
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741
 
$as_echo "$ac_try_echo"; } >&5
3742
 
  (eval "$ac_try") 2>&5
3743
 
  ac_status=$?
3744
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745
 
  test $ac_status = 0; } &&
3746
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
3747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748
 
  *) ac_try_echo=$ac_try;;
3749
 
esac
3750
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751
 
$as_echo "$ac_try_echo"; } >&5
3752
 
  (eval "$ac_try") 2>&5
3753
 
  ac_status=$?
3754
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755
 
  test $ac_status = 0; };
3756
 
      then
3757
 
        # cc works too.
3758
 
        :
3759
 
      else
3760
 
        # cc exists but doesn't like -o.
3761
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
3762
 
      fi
3763
 
    fi
3764
 
  fi
3765
 
else
3766
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3767
 
fi
3768
 
rm -f core conftest*
3769
 
 
3770
 
fi
3771
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3772
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773
 
$as_echo "yes" >&6; }
3774
 
else
3775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776
 
$as_echo "no" >&6; }
3777
 
 
3778
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3779
 
 
3780
 
fi
3781
 
 
3782
 
# FIXME: we rely on the cache variable name because
3783
 
# there is no other way.
3784
 
set dummy $CC
3785
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3786
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3787
 
if test "$am_t" != yes; then
3788
 
   # Losing compiler, so override with the script.
3789
 
   # FIXME: It is wrong to rewrite CC.
3790
 
   # But if we don't then we get into trouble of one sort or another.
3791
 
   # A longer-term fix would be to have automake use am__CC in this case,
3792
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3793
 
   CC="$am_aux_dir/compile $CC"
3794
 
fi
3795
 
 
3796
 
 
3797
 
 
3798
 
ac_ext=c
3799
 
ac_cpp='$CPP $CPPFLAGS'
3800
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3804
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3805
 
# On Suns, sometimes $CPP names a directory.
3806
 
if test -n "$CPP" && test -d "$CPP"; then
3807
 
  CPP=
3808
 
fi
3809
 
if test -z "$CPP"; then
3810
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
3811
 
  $as_echo_n "(cached) " >&6
3812
 
else
3813
 
      # Double quotes because CPP needs to be expanded
3814
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3815
 
    do
3816
 
      ac_preproc_ok=false
3817
 
for ac_c_preproc_warn_flag in '' yes
3818
 
do
3819
 
  # Use a header file that comes with gcc, so configuring glibc
3820
 
  # with a fresh cross-compiler works.
3821
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3822
 
  # <limits.h> exists even on freestanding compilers.
3823
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3824
 
  # not just through cpp. "Syntax error" is here to catch this case.
3825
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826
 
/* end confdefs.h.  */
3827
 
#ifdef __STDC__
3828
 
# include <limits.h>
3829
 
#else
3830
 
# include <assert.h>
3831
 
#endif
3832
 
                     Syntax error
3833
 
_ACEOF
3834
 
if ac_fn_c_try_cpp "$LINENO"; then :
3835
 
 
3836
 
else
3837
 
  # Broken: fails on valid input.
3838
 
continue
3839
 
fi
3840
 
rm -f conftest.err conftest.$ac_ext
3841
 
 
3842
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3843
 
  # can be detected and how.
3844
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845
 
/* end confdefs.h.  */
3846
 
#include <ac_nonexistent.h>
3847
 
_ACEOF
3848
 
if ac_fn_c_try_cpp "$LINENO"; then :
3849
 
  # Broken: success on invalid input.
3850
 
continue
3851
 
else
3852
 
  # Passes both tests.
3853
 
ac_preproc_ok=:
3854
 
break
3855
 
fi
3856
 
rm -f conftest.err conftest.$ac_ext
3857
 
 
3858
 
done
3859
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3860
 
rm -f conftest.err conftest.$ac_ext
3861
 
if $ac_preproc_ok; then :
3862
 
  break
3863
 
fi
3864
 
 
3865
 
    done
3866
 
    ac_cv_prog_CPP=$CPP
3867
 
 
3868
 
fi
3869
 
  CPP=$ac_cv_prog_CPP
3870
 
else
3871
 
  ac_cv_prog_CPP=$CPP
3872
 
fi
3873
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3874
 
$as_echo "$CPP" >&6; }
3875
 
ac_preproc_ok=false
3876
 
for ac_c_preproc_warn_flag in '' yes
3877
 
do
3878
 
  # Use a header file that comes with gcc, so configuring glibc
3879
 
  # with a fresh cross-compiler works.
3880
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3881
 
  # <limits.h> exists even on freestanding compilers.
3882
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3883
 
  # not just through cpp. "Syntax error" is here to catch this case.
3884
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885
 
/* end confdefs.h.  */
3886
 
#ifdef __STDC__
3887
 
# include <limits.h>
3888
 
#else
3889
 
# include <assert.h>
3890
 
#endif
3891
 
                     Syntax error
3892
 
_ACEOF
3893
 
if ac_fn_c_try_cpp "$LINENO"; then :
3894
 
 
3895
 
else
3896
 
  # Broken: fails on valid input.
3897
 
continue
3898
 
fi
3899
 
rm -f conftest.err conftest.$ac_ext
3900
 
 
3901
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3902
 
  # can be detected and how.
3903
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904
 
/* end confdefs.h.  */
3905
 
#include <ac_nonexistent.h>
3906
 
_ACEOF
3907
 
if ac_fn_c_try_cpp "$LINENO"; then :
3908
 
  # Broken: success on invalid input.
3909
 
continue
3910
 
else
3911
 
  # Passes both tests.
3912
 
ac_preproc_ok=:
3913
 
break
3914
 
fi
3915
 
rm -f conftest.err conftest.$ac_ext
3916
 
 
3917
 
done
3918
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3919
 
rm -f conftest.err conftest.$ac_ext
3920
 
if $ac_preproc_ok; then :
3921
 
 
3922
 
else
3923
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3924
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3925
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
3926
 
See \`config.log' for more details." "$LINENO" 5; }
3927
 
fi
3928
 
 
3929
 
ac_ext=c
3930
 
ac_cpp='$CPP $CPPFLAGS'
3931
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3932
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3933
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3934
 
 
3935
 
 
3936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3937
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3938
 
if test "${ac_cv_path_GREP+set}" = set; then :
3939
 
  $as_echo_n "(cached) " >&6
3940
 
else
3941
 
  if test -z "$GREP"; then
3942
 
  ac_path_GREP_found=false
3943
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3944
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3946
 
do
3947
 
  IFS=$as_save_IFS
3948
 
  test -z "$as_dir" && as_dir=.
3949
 
    for ac_prog in grep ggrep; do
3950
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3951
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3952
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3953
 
# Check for GNU ac_path_GREP and select it if it is found.
3954
 
  # Check for GNU $ac_path_GREP
3955
 
case `"$ac_path_GREP" --version 2>&1` in
3956
 
*GNU*)
3957
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3958
 
*)
3959
 
  ac_count=0
3960
 
  $as_echo_n 0123456789 >"conftest.in"
3961
 
  while :
3962
 
  do
3963
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3964
 
    mv "conftest.tmp" "conftest.in"
3965
 
    cp "conftest.in" "conftest.nl"
3966
 
    $as_echo 'GREP' >> "conftest.nl"
3967
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3968
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3969
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3970
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3971
 
      # Best one so far, save it but keep looking for a better one
3972
 
      ac_cv_path_GREP="$ac_path_GREP"
3973
 
      ac_path_GREP_max=$ac_count
3974
 
    fi
3975
 
    # 10*(2^10) chars as input seems more than enough
3976
 
    test $ac_count -gt 10 && break
3977
 
  done
3978
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3979
 
esac
3980
 
 
3981
 
      $ac_path_GREP_found && break 3
3982
 
    done
3983
 
  done
3984
 
  done
3985
 
IFS=$as_save_IFS
3986
 
  if test -z "$ac_cv_path_GREP"; then
3987
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3988
 
  fi
3989
 
else
3990
 
  ac_cv_path_GREP=$GREP
3991
 
fi
3992
 
 
3993
 
fi
3994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3995
 
$as_echo "$ac_cv_path_GREP" >&6; }
3996
 
 GREP="$ac_cv_path_GREP"
3997
 
 
3998
 
 
3999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4000
 
$as_echo_n "checking for egrep... " >&6; }
4001
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4002
 
  $as_echo_n "(cached) " >&6
4003
 
else
4004
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4005
 
   then ac_cv_path_EGREP="$GREP -E"
4006
 
   else
4007
 
     if test -z "$EGREP"; then
4008
 
  ac_path_EGREP_found=false
4009
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4010
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4012
 
do
4013
 
  IFS=$as_save_IFS
4014
 
  test -z "$as_dir" && as_dir=.
4015
 
    for ac_prog in egrep; do
4016
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4017
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4018
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4019
 
# Check for GNU ac_path_EGREP and select it if it is found.
4020
 
  # Check for GNU $ac_path_EGREP
4021
 
case `"$ac_path_EGREP" --version 2>&1` in
4022
 
*GNU*)
4023
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4024
 
*)
4025
 
  ac_count=0
4026
 
  $as_echo_n 0123456789 >"conftest.in"
4027
 
  while :
4028
 
  do
4029
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4030
 
    mv "conftest.tmp" "conftest.in"
4031
 
    cp "conftest.in" "conftest.nl"
4032
 
    $as_echo 'EGREP' >> "conftest.nl"
4033
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4034
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4035
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4036
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4037
 
      # Best one so far, save it but keep looking for a better one
4038
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4039
 
      ac_path_EGREP_max=$ac_count
4040
 
    fi
4041
 
    # 10*(2^10) chars as input seems more than enough
4042
 
    test $ac_count -gt 10 && break
4043
 
  done
4044
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4045
 
esac
4046
 
 
4047
 
      $ac_path_EGREP_found && break 3
4048
 
    done
4049
 
  done
4050
 
  done
4051
 
IFS=$as_save_IFS
4052
 
  if test -z "$ac_cv_path_EGREP"; then
4053
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4054
 
  fi
4055
 
else
4056
 
  ac_cv_path_EGREP=$EGREP
4057
 
fi
4058
 
 
4059
 
   fi
4060
 
fi
4061
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4062
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4063
 
 EGREP="$ac_cv_path_EGREP"
4064
 
 
4065
 
 
4066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4067
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4068
 
if test "${ac_cv_header_stdc+set}" = set; then :
4069
 
  $as_echo_n "(cached) " >&6
4070
 
else
4071
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072
 
/* end confdefs.h.  */
4073
 
#include <stdlib.h>
4074
 
#include <stdarg.h>
4075
 
#include <string.h>
4076
 
#include <float.h>
4077
 
 
4078
 
int
4079
 
main ()
4080
 
{
4081
 
 
4082
 
  ;
4083
 
  return 0;
4084
 
}
4085
 
_ACEOF
4086
 
if ac_fn_c_try_compile "$LINENO"; then :
4087
 
  ac_cv_header_stdc=yes
4088
 
else
4089
 
  ac_cv_header_stdc=no
4090
 
fi
4091
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092
 
 
4093
 
if test $ac_cv_header_stdc = yes; then
4094
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4095
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096
 
/* end confdefs.h.  */
4097
 
#include <string.h>
4098
 
 
4099
 
_ACEOF
4100
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4101
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4102
 
 
4103
 
else
4104
 
  ac_cv_header_stdc=no
4105
 
fi
4106
 
rm -f conftest*
4107
 
 
4108
 
fi
4109
 
 
4110
 
if test $ac_cv_header_stdc = yes; then
4111
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4112
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113
 
/* end confdefs.h.  */
4114
 
#include <stdlib.h>
4115
 
 
4116
 
_ACEOF
4117
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4118
 
  $EGREP "free" >/dev/null 2>&1; then :
4119
 
 
4120
 
else
4121
 
  ac_cv_header_stdc=no
4122
 
fi
4123
 
rm -f conftest*
4124
 
 
4125
 
fi
4126
 
 
4127
 
if test $ac_cv_header_stdc = yes; then
4128
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4129
 
  if test "$cross_compiling" = yes; then :
4130
 
  :
4131
 
else
4132
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133
 
/* end confdefs.h.  */
4134
 
#include <ctype.h>
4135
 
#include <stdlib.h>
4136
 
#if ((' ' & 0x0FF) == 0x020)
4137
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4138
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4139
 
#else
4140
 
# define ISLOWER(c) \
4141
 
                   (('a' <= (c) && (c) <= 'i') \
4142
 
                     || ('j' <= (c) && (c) <= 'r') \
4143
 
                     || ('s' <= (c) && (c) <= 'z'))
4144
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4145
 
#endif
4146
 
 
4147
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4148
 
int
4149
 
main ()
4150
 
{
4151
 
  int i;
4152
 
  for (i = 0; i < 256; i++)
4153
 
    if (XOR (islower (i), ISLOWER (i))
4154
 
        || toupper (i) != TOUPPER (i))
4155
 
      return 2;
4156
 
  return 0;
4157
 
}
4158
 
_ACEOF
4159
 
if ac_fn_c_try_run "$LINENO"; then :
4160
 
 
4161
 
else
4162
 
  ac_cv_header_stdc=no
4163
 
fi
4164
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4165
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4166
 
fi
4167
 
 
4168
 
fi
4169
 
fi
4170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4171
 
$as_echo "$ac_cv_header_stdc" >&6; }
4172
 
if test $ac_cv_header_stdc = yes; then
4173
 
 
4174
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4175
 
 
4176
 
fi
4177
 
 
4178
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4179
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4180
 
                  inttypes.h stdint.h unistd.h
4181
 
do :
4182
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4183
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4184
 
"
4185
 
eval as_val=\$$as_ac_Header
4186
 
   if test "x$as_val" = x""yes; then :
4187
 
  cat >>confdefs.h <<_ACEOF
4188
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4189
 
_ACEOF
4190
 
 
4191
 
fi
4192
 
 
4193
 
done
4194
 
 
4195
 
 
4196
 
 
4197
 
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4198
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4199
 
  MINIX=yes
4200
 
else
4201
 
  MINIX=
4202
 
fi
4203
 
 
4204
 
 
4205
 
  if test "$MINIX" = yes; then
4206
 
 
4207
 
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4208
 
 
4209
 
 
4210
 
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4211
 
 
4212
 
 
4213
 
$as_echo "#define _MINIX 1" >>confdefs.h
4214
 
 
4215
 
  fi
4216
 
 
4217
 
 
4218
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4219
 
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4220
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4221
 
  $as_echo_n "(cached) " >&6
4222
 
else
4223
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224
 
/* end confdefs.h.  */
4225
 
 
4226
 
#         define __EXTENSIONS__ 1
4227
 
          $ac_includes_default
4228
 
int
4229
 
main ()
4230
 
{
4231
 
 
4232
 
  ;
4233
 
  return 0;
4234
 
}
4235
 
_ACEOF
4236
 
if ac_fn_c_try_compile "$LINENO"; then :
4237
 
  ac_cv_safe_to_define___extensions__=yes
4238
 
else
4239
 
  ac_cv_safe_to_define___extensions__=no
4240
 
fi
4241
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242
 
fi
4243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4244
 
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4245
 
  test $ac_cv_safe_to_define___extensions__ = yes &&
4246
 
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4247
 
 
4248
 
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4249
 
 
4250
 
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4251
 
 
4252
 
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4253
 
 
4254
 
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4255
 
 
4256
 
 
4257
 
 
4258
 
# Extract the first word of "setcap", so it can be a program name with args.
4259
 
set dummy setcap; ac_word=$2
4260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261
 
$as_echo_n "checking for $ac_word... " >&6; }
4262
 
if test "${ac_cv_prog_SETCAP+set}" = set; then :
4263
 
  $as_echo_n "(cached) " >&6
4264
 
else
4265
 
  if test -n "$SETCAP"; then
4266
 
  ac_cv_prog_SETCAP="$SETCAP" # Let the user override the test.
4267
 
else
4268
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269
 
for as_dir in $PATH$PATH_SEPARATOR/sbin
4270
 
do
4271
 
  IFS=$as_save_IFS
4272
 
  test -z "$as_dir" && as_dir=.
4273
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4274
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275
 
    ac_cv_prog_SETCAP="yes"
4276
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277
 
    break 2
4278
 
  fi
4279
 
done
4280
 
  done
4281
 
IFS=$as_save_IFS
4282
 
 
4283
 
  test -z "$ac_cv_prog_SETCAP" && ac_cv_prog_SETCAP="no"
4284
 
fi
4285
 
fi
4286
 
SETCAP=$ac_cv_prog_SETCAP
4287
 
if test -n "$SETCAP"; then
4288
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
4289
 
$as_echo "$SETCAP" >&6; }
4290
 
else
4291
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292
 
$as_echo "no" >&6; }
4293
 
fi
4294
 
 
4295
 
 
4296
 
 
4297
 
# Check whether --enable-doc was given.
4298
 
if test "${enable_doc+set}" = set; then :
4299
 
  enableval=$enable_doc;
4300
 
else
4301
 
  enable_doc=auto
4302
 
fi
4303
 
 
4304
 
 
4305
 
if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
4306
 
        # Extract the first word of "docbook2man", so it can be a program name with args.
4307
 
set dummy docbook2man; ac_word=$2
4308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309
 
$as_echo_n "checking for $ac_word... " >&6; }
4310
 
if test "${ac_cv_prog_have_docbook+set}" = set; then :
4311
 
  $as_echo_n "(cached) " >&6
4312
 
else
4313
 
  if test -n "$have_docbook"; then
4314
 
  ac_cv_prog_have_docbook="$have_docbook" # Let the user override the test.
4315
 
else
4316
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317
 
for as_dir in $PATH
4318
 
do
4319
 
  IFS=$as_save_IFS
4320
 
  test -z "$as_dir" && as_dir=.
4321
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4322
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323
 
    ac_cv_prog_have_docbook="yes"
4324
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325
 
    break 2
4326
 
  fi
4327
 
done
4328
 
  done
4329
 
IFS=$as_save_IFS
4330
 
 
4331
 
  test -z "$ac_cv_prog_have_docbook" && ac_cv_prog_have_docbook="no"
4332
 
fi
4333
 
fi
4334
 
have_docbook=$ac_cv_prog_have_docbook
4335
 
if test -n "$have_docbook"; then
4336
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_docbook" >&5
4337
 
$as_echo "$have_docbook" >&6; }
4338
 
else
4339
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340
 
$as_echo "no" >&6; }
4341
 
fi
4342
 
 
4343
 
 
4344
 
 
4345
 
        test "x$have_docbook" = "xno" -a "x$enable_doc" = "xyes" && \
4346
 
                as_fn_error "docbook2man required by man request, but not found" "$LINENO" 5
4347
 
fi
4348
 
 
4349
 
 if test "x$have_docbook" = "xyes"; then
4350
 
  ENABLE_DOCBOOK_TRUE=
4351
 
  ENABLE_DOCBOOK_FALSE='#'
4352
 
else
4353
 
  ENABLE_DOCBOOK_TRUE='#'
4354
 
  ENABLE_DOCBOOK_FALSE=
4355
 
fi
4356
 
 
4357
 
 
4358
 
# Check whether --enable-examples was given.
4359
 
if test "${enable_examples+set}" = set; then :
4360
 
  enableval=$enable_examples;
4361
 
else
4362
 
  enable_examples=yes
4363
 
fi
4364
 
 
4365
 
 
4366
 
 if test "x$enable_examples" = "xyes"; then
4367
 
  ENABLE_EXAMPLES_TRUE=
4368
 
  ENABLE_EXAMPLES_FALSE='#'
4369
 
else
4370
 
  ENABLE_EXAMPLES_TRUE='#'
4371
 
  ENABLE_EXAMPLES_FALSE=
4372
 
fi
4373
 
 
4374
 
 
4375
 
 
4376
 
    EXP_VAR=PREFIX
4377
 
    FROM_VAR=$prefix
4378
 
 
4379
 
        prefix_save=$prefix
4380
 
    exec_prefix_save=$exec_prefix
4381
 
 
4382
 
        if test "x$prefix" = "xNONE"; then
4383
 
        prefix="$ac_default_prefix"
4384
 
    fi
4385
 
        if test "x$exec_prefix" = "xNONE"; then
4386
 
        exec_prefix=$prefix
4387
 
    fi
4388
 
 
4389
 
    full_var="$FROM_VAR"
4390
 
        while true; do
4391
 
        new_full_var="`eval echo $full_var`"
4392
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4393
 
        full_var=$new_full_var
4394
 
    done
4395
 
 
4396
 
        full_var=$new_full_var
4397
 
    PREFIX="$full_var"
4398
 
 
4399
 
 
4400
 
        prefix=$prefix_save
4401
 
    exec_prefix=$exec_prefix_save
4402
 
 
4403
 
 
4404
 
    EXP_VAR=LIBDIR
4405
 
    FROM_VAR=$libdir
4406
 
 
4407
 
        prefix_save=$prefix
4408
 
    exec_prefix_save=$exec_prefix
4409
 
 
4410
 
        if test "x$prefix" = "xNONE"; then
4411
 
        prefix="$ac_default_prefix"
4412
 
    fi
4413
 
        if test "x$exec_prefix" = "xNONE"; then
4414
 
        exec_prefix=$prefix
4415
 
    fi
4416
 
 
4417
 
    full_var="$FROM_VAR"
4418
 
        while true; do
4419
 
        new_full_var="`eval echo $full_var`"
4420
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4421
 
        full_var=$new_full_var
4422
 
    done
4423
 
 
4424
 
        full_var=$new_full_var
4425
 
    LIBDIR="$full_var"
4426
 
 
4427
 
 
4428
 
        prefix=$prefix_save
4429
 
    exec_prefix=$exec_prefix_save
4430
 
 
4431
 
 
4432
 
    EXP_VAR=BINDIR
4433
 
    FROM_VAR=$bindir
4434
 
 
4435
 
        prefix_save=$prefix
4436
 
    exec_prefix_save=$exec_prefix
4437
 
 
4438
 
        if test "x$prefix" = "xNONE"; then
4439
 
        prefix="$ac_default_prefix"
4440
 
    fi
4441
 
        if test "x$exec_prefix" = "xNONE"; then
4442
 
        exec_prefix=$prefix
4443
 
    fi
4444
 
 
4445
 
    full_var="$FROM_VAR"
4446
 
        while true; do
4447
 
        new_full_var="`eval echo $full_var`"
4448
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4449
 
        full_var=$new_full_var
4450
 
    done
4451
 
 
4452
 
        full_var=$new_full_var
4453
 
    BINDIR="$full_var"
4454
 
 
4455
 
 
4456
 
        prefix=$prefix_save
4457
 
    exec_prefix=$exec_prefix_save
4458
 
 
4459
 
 
4460
 
    EXP_VAR=INCLUDEDIR
4461
 
    FROM_VAR=$includedir
4462
 
 
4463
 
        prefix_save=$prefix
4464
 
    exec_prefix_save=$exec_prefix
4465
 
 
4466
 
        if test "x$prefix" = "xNONE"; then
4467
 
        prefix="$ac_default_prefix"
4468
 
    fi
4469
 
        if test "x$exec_prefix" = "xNONE"; then
4470
 
        exec_prefix=$prefix
4471
 
    fi
4472
 
 
4473
 
    full_var="$FROM_VAR"
4474
 
        while true; do
4475
 
        new_full_var="`eval echo $full_var`"
4476
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4477
 
        full_var=$new_full_var
4478
 
    done
4479
 
 
4480
 
        full_var=$new_full_var
4481
 
    INCLUDEDIR="$full_var"
4482
 
 
4483
 
 
4484
 
        prefix=$prefix_save
4485
 
    exec_prefix=$exec_prefix_save
4486
 
 
4487
 
 
4488
 
    EXP_VAR=SYSCONFDIR
4489
 
    FROM_VAR=$sysconfdir
4490
 
 
4491
 
        prefix_save=$prefix
4492
 
    exec_prefix_save=$exec_prefix
4493
 
 
4494
 
        if test "x$prefix" = "xNONE"; then
4495
 
        prefix="$ac_default_prefix"
4496
 
    fi
4497
 
        if test "x$exec_prefix" = "xNONE"; then
4498
 
        exec_prefix=$prefix
4499
 
    fi
4500
 
 
4501
 
    full_var="$FROM_VAR"
4502
 
        while true; do
4503
 
        new_full_var="`eval echo $full_var`"
4504
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4505
 
        full_var=$new_full_var
4506
 
    done
4507
 
 
4508
 
        full_var=$new_full_var
4509
 
    SYSCONFDIR="$full_var"
4510
 
 
4511
 
 
4512
 
        prefix=$prefix_save
4513
 
    exec_prefix=$exec_prefix_save
4514
 
 
4515
 
 
4516
 
    EXP_VAR=DATADIR
4517
 
    FROM_VAR=$datadir
4518
 
 
4519
 
        prefix_save=$prefix
4520
 
    exec_prefix_save=$exec_prefix
4521
 
 
4522
 
        if test "x$prefix" = "xNONE"; then
4523
 
        prefix="$ac_default_prefix"
4524
 
    fi
4525
 
        if test "x$exec_prefix" = "xNONE"; then
4526
 
        exec_prefix=$prefix
4527
 
    fi
4528
 
 
4529
 
    full_var="$FROM_VAR"
4530
 
        while true; do
4531
 
        new_full_var="`eval echo $full_var`"
4532
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4533
 
        full_var=$new_full_var
4534
 
    done
4535
 
 
4536
 
        full_var=$new_full_var
4537
 
    DATADIR="$full_var"
4538
 
 
4539
 
 
4540
 
        prefix=$prefix_save
4541
 
    exec_prefix=$exec_prefix_save
4542
 
 
4543
 
 
4544
 
    EXP_VAR=LOCALSTATEDIR
4545
 
    FROM_VAR=$localstatedir
4546
 
 
4547
 
        prefix_save=$prefix
4548
 
    exec_prefix_save=$exec_prefix
4549
 
 
4550
 
        if test "x$prefix" = "xNONE"; then
4551
 
        prefix="$ac_default_prefix"
4552
 
    fi
4553
 
        if test "x$exec_prefix" = "xNONE"; then
4554
 
        exec_prefix=$prefix
4555
 
    fi
4556
 
 
4557
 
    full_var="$FROM_VAR"
4558
 
        while true; do
4559
 
        new_full_var="`eval echo $full_var`"
4560
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4561
 
        full_var=$new_full_var
4562
 
    done
4563
 
 
4564
 
        full_var=$new_full_var
4565
 
    LOCALSTATEDIR="$full_var"
4566
 
 
4567
 
 
4568
 
        prefix=$prefix_save
4569
 
    exec_prefix=$exec_prefix_save
4570
 
 
4571
 
 
4572
 
    EXP_VAR=DOCDIR
4573
 
    FROM_VAR=$docdir
4574
 
 
4575
 
        prefix_save=$prefix
4576
 
    exec_prefix_save=$exec_prefix
4577
 
 
4578
 
        if test "x$prefix" = "xNONE"; then
4579
 
        prefix="$ac_default_prefix"
4580
 
    fi
4581
 
        if test "x$exec_prefix" = "xNONE"; then
4582
 
        exec_prefix=$prefix
4583
 
    fi
4584
 
 
4585
 
    full_var="$FROM_VAR"
4586
 
        while true; do
4587
 
        new_full_var="`eval echo $full_var`"
4588
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4589
 
        full_var=$new_full_var
4590
 
    done
4591
 
 
4592
 
        full_var=$new_full_var
4593
 
    DOCDIR="$full_var"
4594
 
 
4595
 
 
4596
 
        prefix=$prefix_save
4597
 
    exec_prefix=$exec_prefix_save
4598
 
 
4599
 
 
4600
 
 
4601
 
# Check whether --with-config-path was given.
4602
 
if test "${with_config_path+set}" = set; then :
4603
 
  withval=$with_config_path;
4604
 
else
4605
 
  with_config_path="${localstatedir}/lib/lxc"
4606
 
fi
4607
 
 
4608
 
 
4609
 
 
4610
 
# Check whether --with-rootfs-path was given.
4611
 
if test "${with_rootfs_path+set}" = set; then :
4612
 
  withval=$with_rootfs_path;
4613
 
else
4614
 
  with_rootfs_path="${libdir}/lxc/rootfs"
4615
 
fi
4616
 
 
4617
 
 
4618
 
 
4619
 
    EXP_VAR=LXC_GENERATE_DATE
4620
 
    FROM_VAR="$(date)"
4621
 
 
4622
 
        prefix_save=$prefix
4623
 
    exec_prefix_save=$exec_prefix
4624
 
 
4625
 
        if test "x$prefix" = "xNONE"; then
4626
 
        prefix="$ac_default_prefix"
4627
 
    fi
4628
 
        if test "x$exec_prefix" = "xNONE"; then
4629
 
        exec_prefix=$prefix
4630
 
    fi
4631
 
 
4632
 
    full_var="$FROM_VAR"
4633
 
        while true; do
4634
 
        new_full_var="`eval echo $full_var`"
4635
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4636
 
        full_var=$new_full_var
4637
 
    done
4638
 
 
4639
 
        full_var=$new_full_var
4640
 
    LXC_GENERATE_DATE="$full_var"
4641
 
 
4642
 
 
4643
 
        prefix=$prefix_save
4644
 
    exec_prefix=$exec_prefix_save
4645
 
 
4646
 
 
4647
 
 
4648
 
    EXP_VAR=LXCPATH
4649
 
    FROM_VAR="${with_config_path}"
4650
 
 
4651
 
        prefix_save=$prefix
4652
 
    exec_prefix_save=$exec_prefix
4653
 
 
4654
 
        if test "x$prefix" = "xNONE"; then
4655
 
        prefix="$ac_default_prefix"
4656
 
    fi
4657
 
        if test "x$exec_prefix" = "xNONE"; then
4658
 
        exec_prefix=$prefix
4659
 
    fi
4660
 
 
4661
 
    full_var="$FROM_VAR"
4662
 
        while true; do
4663
 
        new_full_var="`eval echo $full_var`"
4664
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4665
 
        full_var=$new_full_var
4666
 
    done
4667
 
 
4668
 
        full_var=$new_full_var
4669
 
    LXCPATH="$full_var"
4670
 
 
4671
 
 
4672
 
        prefix=$prefix_save
4673
 
    exec_prefix=$exec_prefix_save
4674
 
 
4675
 
 
4676
 
    EXP_VAR=LXCROOTFSMOUNT
4677
 
    FROM_VAR="${with_rootfs_path}"
4678
 
 
4679
 
        prefix_save=$prefix
4680
 
    exec_prefix_save=$exec_prefix
4681
 
 
4682
 
        if test "x$prefix" = "xNONE"; then
4683
 
        prefix="$ac_default_prefix"
4684
 
    fi
4685
 
        if test "x$exec_prefix" = "xNONE"; then
4686
 
        exec_prefix=$prefix
4687
 
    fi
4688
 
 
4689
 
    full_var="$FROM_VAR"
4690
 
        while true; do
4691
 
        new_full_var="`eval echo $full_var`"
4692
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4693
 
        full_var=$new_full_var
4694
 
    done
4695
 
 
4696
 
        full_var=$new_full_var
4697
 
    LXCROOTFSMOUNT="$full_var"
4698
 
 
4699
 
 
4700
 
        prefix=$prefix_save
4701
 
    exec_prefix=$exec_prefix_save
4702
 
 
4703
 
 
4704
 
    EXP_VAR=LXCINITDIR
4705
 
    FROM_VAR=$libdir/lxc
4706
 
 
4707
 
        prefix_save=$prefix
4708
 
    exec_prefix_save=$exec_prefix
4709
 
 
4710
 
        if test "x$prefix" = "xNONE"; then
4711
 
        prefix="$ac_default_prefix"
4712
 
    fi
4713
 
        if test "x$exec_prefix" = "xNONE"; then
4714
 
        exec_prefix=$prefix
4715
 
    fi
4716
 
 
4717
 
    full_var="$FROM_VAR"
4718
 
        while true; do
4719
 
        new_full_var="`eval echo $full_var`"
4720
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4721
 
        full_var=$new_full_var
4722
 
    done
4723
 
 
4724
 
        full_var=$new_full_var
4725
 
    LXCINITDIR="$full_var"
4726
 
 
4727
 
 
4728
 
        prefix=$prefix_save
4729
 
    exec_prefix=$exec_prefix_save
4730
 
 
4731
 
 
4732
 
    EXP_VAR=LXCTEMPLATEDIR
4733
 
    FROM_VAR=$libdir/lxc/templates
4734
 
 
4735
 
        prefix_save=$prefix
4736
 
    exec_prefix_save=$exec_prefix
4737
 
 
4738
 
        if test "x$prefix" = "xNONE"; then
4739
 
        prefix="$ac_default_prefix"
4740
 
    fi
4741
 
        if test "x$exec_prefix" = "xNONE"; then
4742
 
        exec_prefix=$prefix
4743
 
    fi
4744
 
 
4745
 
    full_var="$FROM_VAR"
4746
 
        while true; do
4747
 
        new_full_var="`eval echo $full_var`"
4748
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
4749
 
        full_var=$new_full_var
4750
 
    done
4751
 
 
4752
 
        full_var=$new_full_var
4753
 
    LXCTEMPLATEDIR="$full_var"
4754
 
 
4755
 
 
4756
 
        prefix=$prefix_save
4757
 
    exec_prefix=$exec_prefix_save
4758
 
 
4759
 
 
4760
 
 
4761
 
 
4762
 
cat >>confdefs.h <<_ACEOF
4763
 
#define LXCPATH "$LXCPATH"
4764
 
_ACEOF
4765
 
 
4766
 
cat >>confdefs.h <<_ACEOF
4767
 
#define LXCINITDIR "$LXCINITDIR"
4768
 
_ACEOF
4769
 
 
4770
 
cat >>confdefs.h <<_ACEOF
4771
 
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
4772
 
_ACEOF
4773
 
 
4774
 
 
4775
 
for ac_header in linux/netlink.h linux/genetlink.h
4776
 
do :
4777
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4778
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/socket.h>
4779
 
 
4780
 
"
4781
 
eval as_val=\$$as_ac_Header
4782
 
   if test "x$as_val" = x""yes; then :
4783
 
  cat >>confdefs.h <<_ACEOF
4784
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4785
 
_ACEOF
4786
 
 
4787
 
else
4788
 
  as_fn_error "netlink headers not found. Please install the linux kernel headers." "$LINENO" 5
4789
 
fi
4790
 
 
4791
 
done
4792
 
 
4793
 
 
4794
 
for ac_header in sys/capability.h
4795
 
do :
4796
 
  ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "#include <sys/types.h>
4797
 
#include <sys/capability.h>
4798
 
"
4799
 
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
4800
 
  cat >>confdefs.h <<_ACEOF
4801
 
#define HAVE_SYS_CAPABILITY_H 1
4802
 
_ACEOF
4803
 
 
4804
 
else
4805
 
  as_fn_error "please install libcap-devel." "$LINENO" 5
4806
 
fi
4807
 
 
4808
 
done
4809
 
 
4810
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_set_proc in -lcap" >&5
4811
 
$as_echo_n "checking for cap_set_proc in -lcap... " >&6; }
4812
 
if test "${ac_cv_lib_cap_cap_set_proc+set}" = set; then :
4813
 
  $as_echo_n "(cached) " >&6
4814
 
else
4815
 
  ac_check_lib_save_LIBS=$LIBS
4816
 
LIBS="-lcap  $LIBS"
4817
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818
 
/* end confdefs.h.  */
4819
 
 
4820
 
/* Override any GCC internal prototype to avoid an error.
4821
 
   Use char because int might match the return type of a GCC
4822
 
   builtin and then its argument prototype would still apply.  */
4823
 
#ifdef __cplusplus
4824
 
extern "C"
4825
 
#endif
4826
 
char cap_set_proc ();
4827
 
int
4828
 
main ()
4829
 
{
4830
 
return cap_set_proc ();
4831
 
  ;
4832
 
  return 0;
4833
 
}
4834
 
_ACEOF
4835
 
if ac_fn_c_try_link "$LINENO"; then :
4836
 
  ac_cv_lib_cap_cap_set_proc=yes
4837
 
else
4838
 
  ac_cv_lib_cap_cap_set_proc=no
4839
 
fi
4840
 
rm -f core conftest.err conftest.$ac_objext \
4841
 
    conftest$ac_exeext conftest.$ac_ext
4842
 
LIBS=$ac_check_lib_save_LIBS
4843
 
fi
4844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_set_proc" >&5
4845
 
$as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; }
4846
 
if test "x$ac_cv_lib_cap_cap_set_proc" = x""yes; then :
4847
 
  caplib=yes
4848
 
else
4849
 
  caplib=no
4850
 
fi
4851
 
 
4852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linux capabilities" >&5
4853
 
$as_echo_n "checking linux capabilities... " >&6; }
4854
 
if test "x$caplib" = "xyes" ; then
4855
 
   CAP_LIBS="-lcap"
4856
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAP_LIBS" >&5
4857
 
$as_echo "$CAP_LIBS" >&6; }
4858
 
else
4859
 
   as_fn_error "not found" "$LINENO" 5
4860
 
fi
4861
 
 
4862
 
 
4863
 
# Some systems lack PR_CAPBSET_DROP definition => HAVE_DECL_PR_CAPBSET_DROP
4864
 
ac_fn_c_check_decl "$LINENO" "PR_CAPBSET_DROP" "ac_cv_have_decl_PR_CAPBSET_DROP" "#include <sys/prctl.h>
4865
 
"
4866
 
if test "x$ac_cv_have_decl_PR_CAPBSET_DROP" = x""yes; then :
4867
 
  ac_have_decl=1
4868
 
else
4869
 
  ac_have_decl=0
4870
 
fi
4871
 
 
4872
 
cat >>confdefs.h <<_ACEOF
4873
 
#define HAVE_DECL_PR_CAPBSET_DROP $ac_have_decl
4874
 
_ACEOF
4875
 
 
4876
 
 
4877
 
for ac_header in sys/signalfd.h
4878
 
do :
4879
 
  ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
4880
 
if test "x$ac_cv_header_sys_signalfd_h" = x""yes; then :
4881
 
  cat >>confdefs.h <<_ACEOF
4882
 
#define HAVE_SYS_SIGNALFD_H 1
4883
 
_ACEOF
4884
 
 
4885
 
fi
4886
 
 
4887
 
done
4888
 
 
4889
 
 
4890
 
if test $ac_cv_c_compiler_gnu = yes; then
4891
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4892
 
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
4893
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
4894
 
  $as_echo_n "(cached) " >&6
4895
 
else
4896
 
    ac_pattern="Autoconf.*'x'"
4897
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898
 
/* end confdefs.h.  */
4899
 
#include <sgtty.h>
4900
 
Autoconf TIOCGETP
4901
 
_ACEOF
4902
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4903
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4904
 
  ac_cv_prog_gcc_traditional=yes
4905
 
else
4906
 
  ac_cv_prog_gcc_traditional=no
4907
 
fi
4908
 
rm -f conftest*
4909
 
 
4910
 
 
4911
 
  if test $ac_cv_prog_gcc_traditional = no; then
4912
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913
 
/* end confdefs.h.  */
4914
 
#include <termio.h>
4915
 
Autoconf TCGETA
4916
 
_ACEOF
4917
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4918
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4919
 
  ac_cv_prog_gcc_traditional=yes
4920
 
fi
4921
 
rm -f conftest*
4922
 
 
4923
 
  fi
4924
 
fi
4925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4926
 
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4927
 
  if test $ac_cv_prog_gcc_traditional = yes; then
4928
 
    CC="$CC -traditional"
4929
 
  fi
4930
 
fi
4931
 
 
4932
 
 
4933
 
if test "x$GCC" = "xyes"; then
4934
 
  CFLAGS="$CFLAGS -Wall"
4935
 
fi
4936
 
 
4937
 
ac_config_files="$ac_config_files Makefile lxc.pc lxc.spec config/Makefile doc/Makefile doc/lxc-create.sgml doc/lxc-destroy.sgml doc/lxc-execute.sgml doc/lxc-start.sgml doc/lxc-checkpoint.sgml doc/lxc-restart.sgml doc/lxc-stop.sgml doc/lxc-console.sgml doc/lxc-freeze.sgml doc/lxc-unfreeze.sgml doc/lxc-monitor.sgml doc/lxc-wait.sgml doc/lxc-ls.sgml doc/lxc-ps.sgml doc/lxc-cgroup.sgml doc/lxc-kill.sgml doc/lxc.conf.sgml doc/lxc.sgml doc/common_options.sgml doc/see_also.sgml doc/rootfs/Makefile doc/examples/Makefile doc/examples/lxc-macvlan.conf doc/examples/lxc-vlan.conf doc/examples/lxc-no-netns.conf doc/examples/lxc-empty-netns.conf doc/examples/lxc-phys.conf doc/examples/lxc-veth.conf doc/examples/lxc-complex.conf templates/Makefile templates/lxc-debian templates/lxc-ubuntu templates/lxc-busybox templates/lxc-fedora templates/lxc-sshd src/Makefile src/lxc/Makefile src/lxc/lxc-ps src/lxc/lxc-ls src/lxc/lxc-netstat src/lxc/lxc-checkconfig src/lxc/lxc-setcap src/lxc/lxc-setuid src/lxc/lxc-version src/lxc/lxc-create src/lxc/lxc-destroy"
4938
 
 
4939
 
ac_config_commands="$ac_config_commands default"
4940
 
 
4941
 
cat >confcache <<\_ACEOF
4942
 
# This file is a shell script that caches the results of configure
4943
 
# tests run on this system so they can be shared between configure
4944
 
# scripts and configure runs, see configure's option --config-cache.
4945
 
# It is not useful on other systems.  If it contains results you don't
4946
 
# want to keep, you may remove or edit it.
4947
 
#
4948
 
# config.status only pays attention to the cache file if you give it
4949
 
# the --recheck option to rerun configure.
4950
 
#
4951
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4952
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4953
 
# following values.
4954
 
 
4955
 
_ACEOF
4956
 
 
4957
 
# The following way of writing the cache mishandles newlines in values,
4958
 
# but we know of no workaround that is simple, portable, and efficient.
4959
 
# So, we kill variables containing newlines.
4960
 
# Ultrix sh set writes to stderr and can't be redirected directly,
4961
 
# and sets the high bit in the cache file unless we assign to the vars.
4962
 
(
4963
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4964
 
    eval ac_val=\$$ac_var
4965
 
    case $ac_val in #(
4966
 
    *${as_nl}*)
4967
 
      case $ac_var in #(
4968
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4969
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4970
 
      esac
4971
 
      case $ac_var in #(
4972
 
      _ | IFS | as_nl) ;; #(
4973
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4974
 
      *) { eval $ac_var=; unset $ac_var;} ;;
4975
 
      esac ;;
4976
 
    esac
4977
 
  done
4978
 
 
4979
 
  (set) 2>&1 |
4980
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4981
 
    *${as_nl}ac_space=\ *)
4982
 
      # `set' does not quote correctly, so add quotes: double-quote
4983
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
4984
 
      sed -n \
4985
 
        "s/'/'\\\\''/g;
4986
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4987
 
      ;; #(
4988
 
    *)
4989
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4990
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4991
 
      ;;
4992
 
    esac |
4993
 
    sort
4994
 
) |
4995
 
  sed '
4996
 
     /^ac_cv_env_/b end
4997
 
     t clear
4998
 
     :clear
4999
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5000
 
     t end
5001
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5002
 
     :end' >>confcache
5003
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5004
 
  if test -w "$cache_file"; then
5005
 
    test "x$cache_file" != "x/dev/null" &&
5006
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5007
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
5008
 
    cat confcache >$cache_file
5009
 
  else
5010
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5011
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5012
 
  fi
5013
 
fi
5014
 
rm -f confcache
5015
 
 
5016
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5017
 
# Let make expand exec_prefix.
5018
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5019
 
 
5020
 
DEFS=-DHAVE_CONFIG_H
5021
 
 
5022
 
ac_libobjs=
5023
 
ac_ltlibobjs=
5024
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5025
 
  # 1. Remove the extension, and $U if already installed.
5026
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5027
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5028
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5029
 
  #    will be set to the directory where LIBOBJS objects are built.
5030
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5031
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5032
 
done
5033
 
LIBOBJS=$ac_libobjs
5034
 
 
5035
 
LTLIBOBJS=$ac_ltlibobjs
5036
 
 
5037
 
 
5038
 
 if test -n "$EXEEXT"; then
5039
 
  am__EXEEXT_TRUE=
5040
 
  am__EXEEXT_FALSE='#'
5041
 
else
5042
 
  am__EXEEXT_TRUE='#'
5043
 
  am__EXEEXT_FALSE=
5044
 
fi
5045
 
 
5046
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5047
 
  as_fn_error "conditional \"AMDEP\" was never defined.
5048
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5049
 
fi
5050
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5051
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
5052
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5053
 
fi
5054
 
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
5055
 
  as_fn_error "conditional \"ENABLE_DOCBOOK\" was never defined.
5056
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5057
 
fi
5058
 
if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
5059
 
  as_fn_error "conditional \"ENABLE_EXAMPLES\" was never defined.
5060
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5061
 
fi
5062
 
 
5063
 
: ${CONFIG_STATUS=./config.status}
5064
 
ac_write_fail=0
5065
 
ac_clean_files_save=$ac_clean_files
5066
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5068
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5069
 
as_write_fail=0
5070
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5071
 
#! $SHELL
5072
 
# Generated by $as_me.
5073
 
# Run this file to recreate the current configuration.
5074
 
# Compiler output produced by configure, useful for debugging
5075
 
# configure, is in config.log if it exists.
5076
 
 
5077
 
debug=false
5078
 
ac_cs_recheck=false
5079
 
ac_cs_silent=false
5080
 
 
5081
 
SHELL=\${CONFIG_SHELL-$SHELL}
5082
 
export SHELL
5083
 
_ASEOF
5084
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5085
 
## -------------------- ##
5086
 
## M4sh Initialization. ##
5087
 
## -------------------- ##
5088
 
 
5089
 
# Be more Bourne compatible
5090
 
DUALCASE=1; export DUALCASE # for MKS sh
5091
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5092
 
  emulate sh
5093
 
  NULLCMD=:
5094
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5095
 
  # is contrary to our usage.  Disable this feature.
5096
 
  alias -g '${1+"$@"}'='"$@"'
5097
 
  setopt NO_GLOB_SUBST
5098
 
else
5099
 
  case `(set -o) 2>/dev/null` in #(
5100
 
  *posix*) :
5101
 
    set -o posix ;; #(
5102
 
  *) :
5103
 
     ;;
5104
 
esac
5105
 
fi
5106
 
 
5107
 
 
5108
 
as_nl='
5109
 
'
5110
 
export as_nl
5111
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5112
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5113
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5114
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5115
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
5116
 
# but without wasting forks for bash or zsh.
5117
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
5118
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5119
 
  as_echo='print -r --'
5120
 
  as_echo_n='print -rn --'
5121
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5122
 
  as_echo='printf %s\n'
5123
 
  as_echo_n='printf %s'
5124
 
else
5125
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5126
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5127
 
    as_echo_n='/usr/ucb/echo -n'
5128
 
  else
5129
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5130
 
    as_echo_n_body='eval
5131
 
      arg=$1;
5132
 
      case $arg in #(
5133
 
      *"$as_nl"*)
5134
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
5135
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5136
 
      esac;
5137
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5138
 
    '
5139
 
    export as_echo_n_body
5140
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
5141
 
  fi
5142
 
  export as_echo_body
5143
 
  as_echo='sh -c $as_echo_body as_echo'
5144
 
fi
5145
 
 
5146
 
# The user is always right.
5147
 
if test "${PATH_SEPARATOR+set}" != set; then
5148
 
  PATH_SEPARATOR=:
5149
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5150
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5151
 
      PATH_SEPARATOR=';'
5152
 
  }
5153
 
fi
5154
 
 
5155
 
 
5156
 
# IFS
5157
 
# We need space, tab and new line, in precisely that order.  Quoting is
5158
 
# there to prevent editors from complaining about space-tab.
5159
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5160
 
# splitting by setting IFS to empty value.)
5161
 
IFS=" ""        $as_nl"
5162
 
 
5163
 
# Find who we are.  Look in the path if we contain no directory separator.
5164
 
case $0 in #((
5165
 
  *[\\/]* ) as_myself=$0 ;;
5166
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167
 
for as_dir in $PATH
5168
 
do
5169
 
  IFS=$as_save_IFS
5170
 
  test -z "$as_dir" && as_dir=.
5171
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5172
 
  done
5173
 
IFS=$as_save_IFS
5174
 
 
5175
 
     ;;
5176
 
esac
5177
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
5178
 
# in which case we are not to be found in the path.
5179
 
if test "x$as_myself" = x; then
5180
 
  as_myself=$0
5181
 
fi
5182
 
if test ! -f "$as_myself"; then
5183
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5184
 
  exit 1
5185
 
fi
5186
 
 
5187
 
# Unset variables that we do not need and which cause bugs (e.g. in
5188
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5189
 
# suppresses any "Segmentation fault" message there.  '((' could
5190
 
# trigger a bug in pdksh 5.2.14.
5191
 
for as_var in BASH_ENV ENV MAIL MAILPATH
5192
 
do eval test x\${$as_var+set} = xset \
5193
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5194
 
done
5195
 
PS1='$ '
5196
 
PS2='> '
5197
 
PS4='+ '
5198
 
 
5199
 
# NLS nuisances.
5200
 
LC_ALL=C
5201
 
export LC_ALL
5202
 
LANGUAGE=C
5203
 
export LANGUAGE
5204
 
 
5205
 
# CDPATH.
5206
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5207
 
 
5208
 
 
5209
 
# as_fn_error ERROR [LINENO LOG_FD]
5210
 
# ---------------------------------
5211
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5212
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5213
 
# script with status $?, using 1 if that was 0.
5214
 
as_fn_error ()
5215
 
{
5216
 
  as_status=$?; test $as_status -eq 0 && as_status=1
5217
 
  if test "$3"; then
5218
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5219
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5220
 
  fi
5221
 
  $as_echo "$as_me: error: $1" >&2
5222
 
  as_fn_exit $as_status
5223
 
} # as_fn_error
5224
 
 
5225
 
 
5226
 
# as_fn_set_status STATUS
5227
 
# -----------------------
5228
 
# Set $? to STATUS, without forking.
5229
 
as_fn_set_status ()
5230
 
{
5231
 
  return $1
5232
 
} # as_fn_set_status
5233
 
 
5234
 
# as_fn_exit STATUS
5235
 
# -----------------
5236
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5237
 
as_fn_exit ()
5238
 
{
5239
 
  set +e
5240
 
  as_fn_set_status $1
5241
 
  exit $1
5242
 
} # as_fn_exit
5243
 
 
5244
 
# as_fn_unset VAR
5245
 
# ---------------
5246
 
# Portably unset VAR.
5247
 
as_fn_unset ()
5248
 
{
5249
 
  { eval $1=; unset $1;}
5250
 
}
5251
 
as_unset=as_fn_unset
5252
 
# as_fn_append VAR VALUE
5253
 
# ----------------------
5254
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
5255
 
# advantage of any shell optimizations that allow amortized linear growth over
5256
 
# repeated appends, instead of the typical quadratic growth present in naive
5257
 
# implementations.
5258
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5259
 
  eval 'as_fn_append ()
5260
 
  {
5261
 
    eval $1+=\$2
5262
 
  }'
5263
 
else
5264
 
  as_fn_append ()
5265
 
  {
5266
 
    eval $1=\$$1\$2
5267
 
  }
5268
 
fi # as_fn_append
5269
 
 
5270
 
# as_fn_arith ARG...
5271
 
# ------------------
5272
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
5273
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5274
 
# must be portable across $(()) and expr.
5275
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5276
 
  eval 'as_fn_arith ()
5277
 
  {
5278
 
    as_val=$(( $* ))
5279
 
  }'
5280
 
else
5281
 
  as_fn_arith ()
5282
 
  {
5283
 
    as_val=`expr "$@" || test $? -eq 1`
5284
 
  }
5285
 
fi # as_fn_arith
5286
 
 
5287
 
 
5288
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5289
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5290
 
  as_expr=expr
5291
 
else
5292
 
  as_expr=false
5293
 
fi
5294
 
 
5295
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5296
 
  as_basename=basename
5297
 
else
5298
 
  as_basename=false
5299
 
fi
5300
 
 
5301
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5302
 
  as_dirname=dirname
5303
 
else
5304
 
  as_dirname=false
5305
 
fi
5306
 
 
5307
 
as_me=`$as_basename -- "$0" ||
5308
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5309
 
         X"$0" : 'X\(//\)$' \| \
5310
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5311
 
$as_echo X/"$0" |
5312
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5313
 
            s//\1/
5314
 
            q
5315
 
          }
5316
 
          /^X\/\(\/\/\)$/{
5317
 
            s//\1/
5318
 
            q
5319
 
          }
5320
 
          /^X\/\(\/\).*/{
5321
 
            s//\1/
5322
 
            q
5323
 
          }
5324
 
          s/.*/./; q'`
5325
 
 
5326
 
# Avoid depending upon Character Ranges.
5327
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5328
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5329
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5330
 
as_cr_digits='0123456789'
5331
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5332
 
 
5333
 
ECHO_C= ECHO_N= ECHO_T=
5334
 
case `echo -n x` in #(((((
5335
 
-n*)
5336
 
  case `echo 'xy\c'` in
5337
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5338
 
  xy)  ECHO_C='\c';;
5339
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5340
 
       ECHO_T=' ';;
5341
 
  esac;;
5342
 
*)
5343
 
  ECHO_N='-n';;
5344
 
esac
5345
 
 
5346
 
rm -f conf$$ conf$$.exe conf$$.file
5347
 
if test -d conf$$.dir; then
5348
 
  rm -f conf$$.dir/conf$$.file
5349
 
else
5350
 
  rm -f conf$$.dir
5351
 
  mkdir conf$$.dir 2>/dev/null
5352
 
fi
5353
 
if (echo >conf$$.file) 2>/dev/null; then
5354
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5355
 
    as_ln_s='ln -s'
5356
 
    # ... but there are two gotchas:
5357
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5358
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5359
 
    # In both cases, we have to default to `cp -p'.
5360
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5361
 
      as_ln_s='cp -p'
5362
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
5363
 
    as_ln_s=ln
5364
 
  else
5365
 
    as_ln_s='cp -p'
5366
 
  fi
5367
 
else
5368
 
  as_ln_s='cp -p'
5369
 
fi
5370
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5371
 
rmdir conf$$.dir 2>/dev/null
5372
 
 
5373
 
 
5374
 
# as_fn_mkdir_p
5375
 
# -------------
5376
 
# Create "$as_dir" as a directory, including parents if necessary.
5377
 
as_fn_mkdir_p ()
5378
 
{
5379
 
 
5380
 
  case $as_dir in #(
5381
 
  -*) as_dir=./$as_dir;;
5382
 
  esac
5383
 
  test -d "$as_dir" || eval $as_mkdir_p || {
5384
 
    as_dirs=
5385
 
    while :; do
5386
 
      case $as_dir in #(
5387
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5388
 
      *) as_qdir=$as_dir;;
5389
 
      esac
5390
 
      as_dirs="'$as_qdir' $as_dirs"
5391
 
      as_dir=`$as_dirname -- "$as_dir" ||
5392
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5393
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5394
 
         X"$as_dir" : 'X\(//\)$' \| \
5395
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5396
 
$as_echo X"$as_dir" |
5397
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5398
 
            s//\1/
5399
 
            q
5400
 
          }
5401
 
          /^X\(\/\/\)[^/].*/{
5402
 
            s//\1/
5403
 
            q
5404
 
          }
5405
 
          /^X\(\/\/\)$/{
5406
 
            s//\1/
5407
 
            q
5408
 
          }
5409
 
          /^X\(\/\).*/{
5410
 
            s//\1/
5411
 
            q
5412
 
          }
5413
 
          s/.*/./; q'`
5414
 
      test -d "$as_dir" && break
5415
 
    done
5416
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5417
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5418
 
 
5419
 
 
5420
 
} # as_fn_mkdir_p
5421
 
if mkdir -p . 2>/dev/null; then
5422
 
  as_mkdir_p='mkdir -p "$as_dir"'
5423
 
else
5424
 
  test -d ./-p && rmdir ./-p
5425
 
  as_mkdir_p=false
5426
 
fi
5427
 
 
5428
 
if test -x / >/dev/null 2>&1; then
5429
 
  as_test_x='test -x'
5430
 
else
5431
 
  if ls -dL / >/dev/null 2>&1; then
5432
 
    as_ls_L_option=L
5433
 
  else
5434
 
    as_ls_L_option=
5435
 
  fi
5436
 
  as_test_x='
5437
 
    eval sh -c '\''
5438
 
      if test -d "$1"; then
5439
 
        test -d "$1/.";
5440
 
      else
5441
 
        case $1 in #(
5442
 
        -*)set "./$1";;
5443
 
        esac;
5444
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5445
 
        ???[sx]*):;;*)false;;esac;fi
5446
 
    '\'' sh
5447
 
  '
5448
 
fi
5449
 
as_executable_p=$as_test_x
5450
 
 
5451
 
# Sed expression to map a string onto a valid CPP name.
5452
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5453
 
 
5454
 
# Sed expression to map a string onto a valid variable name.
5455
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5456
 
 
5457
 
 
5458
 
exec 6>&1
5459
 
## ----------------------------------- ##
5460
 
## Main body of $CONFIG_STATUS script. ##
5461
 
## ----------------------------------- ##
5462
 
_ASEOF
5463
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5464
 
 
5465
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5466
 
# Save the log message, to keep $0 and so on meaningful, and to
5467
 
# report actual input values of CONFIG_FILES etc. instead of their
5468
 
# values after options handling.
5469
 
ac_log="
5470
 
This file was extended by lxc $as_me 0.7.2, which was
5471
 
generated by GNU Autoconf 2.65.  Invocation command line was
5472
 
 
5473
 
  CONFIG_FILES    = $CONFIG_FILES
5474
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
5475
 
  CONFIG_LINKS    = $CONFIG_LINKS
5476
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5477
 
  $ $0 $@
5478
 
 
5479
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5480
 
"
5481
 
 
5482
 
_ACEOF
5483
 
 
5484
 
case $ac_config_files in *"
5485
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5486
 
esac
5487
 
 
5488
 
case $ac_config_headers in *"
5489
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5490
 
esac
5491
 
 
5492
 
 
5493
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5494
 
# Files that config.status was made for.
5495
 
config_files="$ac_config_files"
5496
 
config_headers="$ac_config_headers"
5497
 
config_commands="$ac_config_commands"
5498
 
 
5499
 
_ACEOF
5500
 
 
5501
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5502
 
ac_cs_usage="\
5503
 
\`$as_me' instantiates files and other configuration actions
5504
 
from templates according to the current configuration.  Unless the files
5505
 
and actions are specified as TAGs, all are instantiated by default.
5506
 
 
5507
 
Usage: $0 [OPTION]... [TAG]...
5508
 
 
5509
 
  -h, --help       print this help, then exit
5510
 
  -V, --version    print version number and configuration settings, then exit
5511
 
      --config     print configuration, then exit
5512
 
  -q, --quiet, --silent
5513
 
                   do not print progress messages
5514
 
  -d, --debug      don't remove temporary files
5515
 
      --recheck    update $as_me by reconfiguring in the same conditions
5516
 
      --file=FILE[:TEMPLATE]
5517
 
                   instantiate the configuration file FILE
5518
 
      --header=FILE[:TEMPLATE]
5519
 
                   instantiate the configuration header FILE
5520
 
 
5521
 
Configuration files:
5522
 
$config_files
5523
 
 
5524
 
Configuration headers:
5525
 
$config_headers
5526
 
 
5527
 
Configuration commands:
5528
 
$config_commands
5529
 
 
5530
 
Report bugs to the package provider."
5531
 
 
5532
 
_ACEOF
5533
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5535
 
ac_cs_version="\\
5536
 
lxc config.status 0.7.2
5537
 
configured by $0, generated by GNU Autoconf 2.65,
5538
 
  with options \\"\$ac_cs_config\\"
5539
 
 
5540
 
Copyright (C) 2009 Free Software Foundation, Inc.
5541
 
This config.status script is free software; the Free Software Foundation
5542
 
gives unlimited permission to copy, distribute and modify it."
5543
 
 
5544
 
ac_pwd='$ac_pwd'
5545
 
srcdir='$srcdir'
5546
 
INSTALL='$INSTALL'
5547
 
MKDIR_P='$MKDIR_P'
5548
 
AWK='$AWK'
5549
 
test -n "\$AWK" || AWK=awk
5550
 
_ACEOF
5551
 
 
5552
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5553
 
# The default lists apply if the user does not specify any file.
5554
 
ac_need_defaults=:
5555
 
while test $# != 0
5556
 
do
5557
 
  case $1 in
5558
 
  --*=*)
5559
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5560
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5561
 
    ac_shift=:
5562
 
    ;;
5563
 
  *)
5564
 
    ac_option=$1
5565
 
    ac_optarg=$2
5566
 
    ac_shift=shift
5567
 
    ;;
5568
 
  esac
5569
 
 
5570
 
  case $ac_option in
5571
 
  # Handling of the options.
5572
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5573
 
    ac_cs_recheck=: ;;
5574
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5575
 
    $as_echo "$ac_cs_version"; exit ;;
5576
 
  --config | --confi | --conf | --con | --co | --c )
5577
 
    $as_echo "$ac_cs_config"; exit ;;
5578
 
  --debug | --debu | --deb | --de | --d | -d )
5579
 
    debug=: ;;
5580
 
  --file | --fil | --fi | --f )
5581
 
    $ac_shift
5582
 
    case $ac_optarg in
5583
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5584
 
    esac
5585
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5586
 
    ac_need_defaults=false;;
5587
 
  --header | --heade | --head | --hea )
5588
 
    $ac_shift
5589
 
    case $ac_optarg in
5590
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5591
 
    esac
5592
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5593
 
    ac_need_defaults=false;;
5594
 
  --he | --h)
5595
 
    # Conflict between --help and --header
5596
 
    as_fn_error "ambiguous option: \`$1'
5597
 
Try \`$0 --help' for more information.";;
5598
 
  --help | --hel | -h )
5599
 
    $as_echo "$ac_cs_usage"; exit ;;
5600
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5601
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5602
 
    ac_cs_silent=: ;;
5603
 
 
5604
 
  # This is an error.
5605
 
  -*) as_fn_error "unrecognized option: \`$1'
5606
 
Try \`$0 --help' for more information." ;;
5607
 
 
5608
 
  *) as_fn_append ac_config_targets " $1"
5609
 
     ac_need_defaults=false ;;
5610
 
 
5611
 
  esac
5612
 
  shift
5613
 
done
5614
 
 
5615
 
ac_configure_extra_args=
5616
 
 
5617
 
if $ac_cs_silent; then
5618
 
  exec 6>/dev/null
5619
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5620
 
fi
5621
 
 
5622
 
_ACEOF
5623
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5624
 
if \$ac_cs_recheck; then
5625
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5626
 
  shift
5627
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5628
 
  CONFIG_SHELL='$SHELL'
5629
 
  export CONFIG_SHELL
5630
 
  exec "\$@"
5631
 
fi
5632
 
 
5633
 
_ACEOF
5634
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5635
 
exec 5>>config.log
5636
 
{
5637
 
  echo
5638
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5639
 
## Running $as_me. ##
5640
 
_ASBOX
5641
 
  $as_echo "$ac_log"
5642
 
} >&5
5643
 
 
5644
 
_ACEOF
5645
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5646
 
#
5647
 
# INIT-COMMANDS
5648
 
#
5649
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5650
 
 
5651
 
 
5652
 
_ACEOF
5653
 
 
5654
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5655
 
 
5656
 
# Handling of arguments.
5657
 
for ac_config_target in $ac_config_targets
5658
 
do
5659
 
  case $ac_config_target in
5660
 
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5661
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5662
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5663
 
    "lxc.pc") CONFIG_FILES="$CONFIG_FILES lxc.pc" ;;
5664
 
    "lxc.spec") CONFIG_FILES="$CONFIG_FILES lxc.spec" ;;
5665
 
    "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5666
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5667
 
    "doc/lxc-create.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-create.sgml" ;;
5668
 
    "doc/lxc-destroy.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-destroy.sgml" ;;
5669
 
    "doc/lxc-execute.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-execute.sgml" ;;
5670
 
    "doc/lxc-start.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-start.sgml" ;;
5671
 
    "doc/lxc-checkpoint.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-checkpoint.sgml" ;;
5672
 
    "doc/lxc-restart.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-restart.sgml" ;;
5673
 
    "doc/lxc-stop.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-stop.sgml" ;;
5674
 
    "doc/lxc-console.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-console.sgml" ;;
5675
 
    "doc/lxc-freeze.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-freeze.sgml" ;;
5676
 
    "doc/lxc-unfreeze.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-unfreeze.sgml" ;;
5677
 
    "doc/lxc-monitor.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-monitor.sgml" ;;
5678
 
    "doc/lxc-wait.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-wait.sgml" ;;
5679
 
    "doc/lxc-ls.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ls.sgml" ;;
5680
 
    "doc/lxc-ps.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ps.sgml" ;;
5681
 
    "doc/lxc-cgroup.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-cgroup.sgml" ;;
5682
 
    "doc/lxc-kill.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-kill.sgml" ;;
5683
 
    "doc/lxc.conf.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.conf.sgml" ;;
5684
 
    "doc/lxc.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.sgml" ;;
5685
 
    "doc/common_options.sgml") CONFIG_FILES="$CONFIG_FILES doc/common_options.sgml" ;;
5686
 
    "doc/see_also.sgml") CONFIG_FILES="$CONFIG_FILES doc/see_also.sgml" ;;
5687
 
    "doc/rootfs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/rootfs/Makefile" ;;
5688
 
    "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
5689
 
    "doc/examples/lxc-macvlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-macvlan.conf" ;;
5690
 
    "doc/examples/lxc-vlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-vlan.conf" ;;
5691
 
    "doc/examples/lxc-no-netns.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-no-netns.conf" ;;
5692
 
    "doc/examples/lxc-empty-netns.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-empty-netns.conf" ;;
5693
 
    "doc/examples/lxc-phys.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-phys.conf" ;;
5694
 
    "doc/examples/lxc-veth.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-veth.conf" ;;
5695
 
    "doc/examples/lxc-complex.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-complex.conf" ;;
5696
 
    "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
5697
 
    "templates/lxc-debian") CONFIG_FILES="$CONFIG_FILES templates/lxc-debian" ;;
5698
 
    "templates/lxc-ubuntu") CONFIG_FILES="$CONFIG_FILES templates/lxc-ubuntu" ;;
5699
 
    "templates/lxc-busybox") CONFIG_FILES="$CONFIG_FILES templates/lxc-busybox" ;;
5700
 
    "templates/lxc-fedora") CONFIG_FILES="$CONFIG_FILES templates/lxc-fedora" ;;
5701
 
    "templates/lxc-sshd") CONFIG_FILES="$CONFIG_FILES templates/lxc-sshd" ;;
5702
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5703
 
    "src/lxc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lxc/Makefile" ;;
5704
 
    "src/lxc/lxc-ps") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ps" ;;
5705
 
    "src/lxc/lxc-ls") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ls" ;;
5706
 
    "src/lxc/lxc-netstat") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-netstat" ;;
5707
 
    "src/lxc/lxc-checkconfig") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-checkconfig" ;;
5708
 
    "src/lxc/lxc-setcap") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-setcap" ;;
5709
 
    "src/lxc/lxc-setuid") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-setuid" ;;
5710
 
    "src/lxc/lxc-version") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-version" ;;
5711
 
    "src/lxc/lxc-create") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-create" ;;
5712
 
    "src/lxc/lxc-destroy") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-destroy" ;;
5713
 
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5714
 
 
5715
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5716
 
  esac
5717
 
done
5718
 
 
5719
 
 
5720
 
# If the user did not use the arguments to specify the items to instantiate,
5721
 
# then the envvar interface is used.  Set only those that are not.
5722
 
# We use the long form for the default assignment because of an extremely
5723
 
# bizarre bug on SunOS 4.1.3.
5724
 
if $ac_need_defaults; then
5725
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5726
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5727
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5728
 
fi
5729
 
 
5730
 
# Have a temporary directory for convenience.  Make it in the build tree
5731
 
# simply because there is no reason against having it here, and in addition,
5732
 
# creating and moving files from /tmp can sometimes cause problems.
5733
 
# Hook for its removal unless debugging.
5734
 
# Note that there is a small window in which the directory will not be cleaned:
5735
 
# after its creation but before its name has been assigned to `$tmp'.
5736
 
$debug ||
5737
 
{
5738
 
  tmp=
5739
 
  trap 'exit_status=$?
5740
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5741
 
' 0
5742
 
  trap 'as_fn_exit 1' 1 2 13 15
5743
 
}
5744
 
# Create a (secure) tmp directory for tmp files.
5745
 
 
5746
 
{
5747
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5748
 
  test -n "$tmp" && test -d "$tmp"
5749
 
}  ||
5750
 
{
5751
 
  tmp=./conf$$-$RANDOM
5752
 
  (umask 077 && mkdir "$tmp")
5753
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5754
 
 
5755
 
# Set up the scripts for CONFIG_FILES section.
5756
 
# No need to generate them if there are no CONFIG_FILES.
5757
 
# This happens for instance with `./config.status config.h'.
5758
 
if test -n "$CONFIG_FILES"; then
5759
 
 
5760
 
 
5761
 
ac_cr=`echo X | tr X '\015'`
5762
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
5763
 
# But we know of no other shell where ac_cr would be empty at this
5764
 
# point, so we can use a bashism as a fallback.
5765
 
if test "x$ac_cr" = x; then
5766
 
  eval ac_cr=\$\'\\r\'
5767
 
fi
5768
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5769
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5770
 
  ac_cs_awk_cr='\r'
5771
 
else
5772
 
  ac_cs_awk_cr=$ac_cr
5773
 
fi
5774
 
 
5775
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5776
 
_ACEOF
5777
 
 
5778
 
 
5779
 
{
5780
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5781
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5782
 
  echo "_ACEOF"
5783
 
} >conf$$subs.sh ||
5784
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5785
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5786
 
ac_delim='%!_!# '
5787
 
for ac_last_try in false false false false false :; do
5788
 
  . ./conf$$subs.sh ||
5789
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5790
 
 
5791
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5792
 
  if test $ac_delim_n = $ac_delim_num; then
5793
 
    break
5794
 
  elif $ac_last_try; then
5795
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5796
 
  else
5797
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5798
 
  fi
5799
 
done
5800
 
rm -f conf$$subs.sh
5801
 
 
5802
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5803
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5804
 
_ACEOF
5805
 
sed -n '
5806
 
h
5807
 
s/^/S["/; s/!.*/"]=/
5808
 
p
5809
 
g
5810
 
s/^[^!]*!//
5811
 
:repl
5812
 
t repl
5813
 
s/'"$ac_delim"'$//
5814
 
t delim
5815
 
:nl
5816
 
h
5817
 
s/\(.\{148\}\)..*/\1/
5818
 
t more1
5819
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5820
 
p
5821
 
n
5822
 
b repl
5823
 
:more1
5824
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5825
 
p
5826
 
g
5827
 
s/.\{148\}//
5828
 
t nl
5829
 
:delim
5830
 
h
5831
 
s/\(.\{148\}\)..*/\1/
5832
 
t more2
5833
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
5834
 
p
5835
 
b
5836
 
:more2
5837
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5838
 
p
5839
 
g
5840
 
s/.\{148\}//
5841
 
t delim
5842
 
' <conf$$subs.awk | sed '
5843
 
/^[^""]/{
5844
 
  N
5845
 
  s/\n//
5846
 
}
5847
 
' >>$CONFIG_STATUS || ac_write_fail=1
5848
 
rm -f conf$$subs.awk
5849
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5850
 
_ACAWK
5851
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5852
 
  for (key in S) S_is_set[key] = 1
5853
 
  FS = ""
5854
 
 
5855
 
}
5856
 
{
5857
 
  line = $ 0
5858
 
  nfields = split(line, field, "@")
5859
 
  substed = 0
5860
 
  len = length(field[1])
5861
 
  for (i = 2; i < nfields; i++) {
5862
 
    key = field[i]
5863
 
    keylen = length(key)
5864
 
    if (S_is_set[key]) {
5865
 
      value = S[key]
5866
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5867
 
      len += length(value) + length(field[++i])
5868
 
      substed = 1
5869
 
    } else
5870
 
      len += 1 + keylen
5871
 
  }
5872
 
 
5873
 
  print line
5874
 
}
5875
 
 
5876
 
_ACAWK
5877
 
_ACEOF
5878
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5879
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5880
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5881
 
else
5882
 
  cat
5883
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5884
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
5885
 
_ACEOF
5886
 
 
5887
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5888
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5889
 
# trailing colons and then remove the whole line if VPATH becomes empty
5890
 
# (actually we leave an empty line to preserve line numbers).
5891
 
if test "x$srcdir" = x.; then
5892
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5893
 
s/:*\$(srcdir):*/:/
5894
 
s/:*\${srcdir}:*/:/
5895
 
s/:*@srcdir@:*/:/
5896
 
s/^\([^=]*=[     ]*\):*/\1/
5897
 
s/:*$//
5898
 
s/^[^=]*=[       ]*$//
5899
 
}'
5900
 
fi
5901
 
 
5902
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5903
 
fi # test -n "$CONFIG_FILES"
5904
 
 
5905
 
# Set up the scripts for CONFIG_HEADERS section.
5906
 
# No need to generate them if there are no CONFIG_HEADERS.
5907
 
# This happens for instance with `./config.status Makefile'.
5908
 
if test -n "$CONFIG_HEADERS"; then
5909
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
5910
 
BEGIN {
5911
 
_ACEOF
5912
 
 
5913
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
5914
 
# here-document in config.status, that substitutes the proper values into
5915
 
# config.h.in to produce config.h.
5916
 
 
5917
 
# Create a delimiter string that does not exist in confdefs.h, to ease
5918
 
# handling of long lines.
5919
 
ac_delim='%!_!# '
5920
 
for ac_last_try in false false :; do
5921
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5922
 
  if test -z "$ac_t"; then
5923
 
    break
5924
 
  elif $ac_last_try; then
5925
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5926
 
  else
5927
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5928
 
  fi
5929
 
done
5930
 
 
5931
 
# For the awk script, D is an array of macro values keyed by name,
5932
 
# likewise P contains macro parameters if any.  Preserve backslash
5933
 
# newline sequences.
5934
 
 
5935
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5936
 
sed -n '
5937
 
s/.\{148\}/&'"$ac_delim"'/g
5938
 
t rset
5939
 
:rset
5940
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
5941
 
t def
5942
 
d
5943
 
:def
5944
 
s/\\$//
5945
 
t bsnl
5946
 
s/["\\]/\\&/g
5947
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5948
 
D["\1"]=" \3"/p
5949
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5950
 
d
5951
 
:bsnl
5952
 
s/["\\]/\\&/g
5953
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5954
 
D["\1"]=" \3\\\\\\n"\\/p
5955
 
t cont
5956
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5957
 
t cont
5958
 
d
5959
 
:cont
5960
 
n
5961
 
s/.\{148\}/&'"$ac_delim"'/g
5962
 
t clear
5963
 
:clear
5964
 
s/\\$//
5965
 
t bsnlc
5966
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
5967
 
d
5968
 
:bsnlc
5969
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5970
 
b cont
5971
 
' <confdefs.h | sed '
5972
 
s/'"$ac_delim"'/"\\\
5973
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
5974
 
 
5975
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5976
 
  for (key in D) D_is_set[key] = 1
5977
 
  FS = ""
5978
 
}
5979
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5980
 
  line = \$ 0
5981
 
  split(line, arg, " ")
5982
 
  if (arg[1] == "#") {
5983
 
    defundef = arg[2]
5984
 
    mac1 = arg[3]
5985
 
  } else {
5986
 
    defundef = substr(arg[1], 2)
5987
 
    mac1 = arg[2]
5988
 
  }
5989
 
  split(mac1, mac2, "(") #)
5990
 
  macro = mac2[1]
5991
 
  prefix = substr(line, 1, index(line, defundef) - 1)
5992
 
  if (D_is_set[macro]) {
5993
 
    # Preserve the white space surrounding the "#".
5994
 
    print prefix "define", macro P[macro] D[macro]
5995
 
    next
5996
 
  } else {
5997
 
    # Replace #undef with comments.  This is necessary, for example,
5998
 
    # in the case of _POSIX_SOURCE, which is predefined and required
5999
 
    # on some systems where configure will not decide to define it.
6000
 
    if (defundef == "undef") {
6001
 
      print "/*", prefix defundef, macro, "*/"
6002
 
      next
6003
 
    }
6004
 
  }
6005
 
}
6006
 
{ print }
6007
 
_ACAWK
6008
 
_ACEOF
6009
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6010
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
6011
 
fi # test -n "$CONFIG_HEADERS"
6012
 
 
6013
 
 
6014
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6015
 
shift
6016
 
for ac_tag
6017
 
do
6018
 
  case $ac_tag in
6019
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
6020
 
  esac
6021
 
  case $ac_mode$ac_tag in
6022
 
  :[FHL]*:*);;
6023
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6024
 
  :[FH]-) ac_tag=-:-;;
6025
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6026
 
  esac
6027
 
  ac_save_IFS=$IFS
6028
 
  IFS=:
6029
 
  set x $ac_tag
6030
 
  IFS=$ac_save_IFS
6031
 
  shift
6032
 
  ac_file=$1
6033
 
  shift
6034
 
 
6035
 
  case $ac_mode in
6036
 
  :L) ac_source=$1;;
6037
 
  :[FH])
6038
 
    ac_file_inputs=
6039
 
    for ac_f
6040
 
    do
6041
 
      case $ac_f in
6042
 
      -) ac_f="$tmp/stdin";;
6043
 
      *) # Look for the file first in the build tree, then in the source tree
6044
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6045
 
         # because $ac_f cannot contain `:'.
6046
 
         test -f "$ac_f" ||
6047
 
           case $ac_f in
6048
 
           [\\/$]*) false;;
6049
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6050
 
           esac ||
6051
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6052
 
      esac
6053
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6054
 
      as_fn_append ac_file_inputs " '$ac_f'"
6055
 
    done
6056
 
 
6057
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6058
 
    # use $as_me), people would be surprised to read:
6059
 
    #    /* config.h.  Generated by config.status.  */
6060
 
    configure_input='Generated from '`
6061
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6062
 
        `' by configure.'
6063
 
    if test x"$ac_file" != x-; then
6064
 
      configure_input="$ac_file.  $configure_input"
6065
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6066
 
$as_echo "$as_me: creating $ac_file" >&6;}
6067
 
    fi
6068
 
    # Neutralize special characters interpreted by sed in replacement strings.
6069
 
    case $configure_input in #(
6070
 
    *\&* | *\|* | *\\* )
6071
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
6072
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6073
 
    *) ac_sed_conf_input=$configure_input;;
6074
 
    esac
6075
 
 
6076
 
    case $ac_tag in
6077
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6078
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6079
 
    esac
6080
 
    ;;
6081
 
  esac
6082
 
 
6083
 
  ac_dir=`$as_dirname -- "$ac_file" ||
6084
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
6086
 
         X"$ac_file" : 'X\(//\)$' \| \
6087
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6088
 
$as_echo X"$ac_file" |
6089
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6090
 
            s//\1/
6091
 
            q
6092
 
          }
6093
 
          /^X\(\/\/\)[^/].*/{
6094
 
            s//\1/
6095
 
            q
6096
 
          }
6097
 
          /^X\(\/\/\)$/{
6098
 
            s//\1/
6099
 
            q
6100
 
          }
6101
 
          /^X\(\/\).*/{
6102
 
            s//\1/
6103
 
            q
6104
 
          }
6105
 
          s/.*/./; q'`
6106
 
  as_dir="$ac_dir"; as_fn_mkdir_p
6107
 
  ac_builddir=.
6108
 
 
6109
 
case "$ac_dir" in
6110
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6111
 
*)
6112
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6113
 
  # A ".." for each directory in $ac_dir_suffix.
6114
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6115
 
  case $ac_top_builddir_sub in
6116
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6117
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6118
 
  esac ;;
6119
 
esac
6120
 
ac_abs_top_builddir=$ac_pwd
6121
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6122
 
# for backward compatibility:
6123
 
ac_top_builddir=$ac_top_build_prefix
6124
 
 
6125
 
case $srcdir in
6126
 
  .)  # We are building in place.
6127
 
    ac_srcdir=.
6128
 
    ac_top_srcdir=$ac_top_builddir_sub
6129
 
    ac_abs_top_srcdir=$ac_pwd ;;
6130
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
6131
 
    ac_srcdir=$srcdir$ac_dir_suffix;
6132
 
    ac_top_srcdir=$srcdir
6133
 
    ac_abs_top_srcdir=$srcdir ;;
6134
 
  *) # Relative name.
6135
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6136
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
6137
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6138
 
esac
6139
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6140
 
 
6141
 
 
6142
 
  case $ac_mode in
6143
 
  :F)
6144
 
  #
6145
 
  # CONFIG_FILE
6146
 
  #
6147
 
 
6148
 
  case $INSTALL in
6149
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6150
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6151
 
  esac
6152
 
  ac_MKDIR_P=$MKDIR_P
6153
 
  case $MKDIR_P in
6154
 
  [\\/$]* | ?:[\\/]* ) ;;
6155
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6156
 
  esac
6157
 
_ACEOF
6158
 
 
6159
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6160
 
# If the template does not know about datarootdir, expand it.
6161
 
# FIXME: This hack should be removed a few years after 2.60.
6162
 
ac_datarootdir_hack=; ac_datarootdir_seen=
6163
 
ac_sed_dataroot='
6164
 
/datarootdir/ {
6165
 
  p
6166
 
  q
6167
 
}
6168
 
/@datadir@/p
6169
 
/@docdir@/p
6170
 
/@infodir@/p
6171
 
/@localedir@/p
6172
 
/@mandir@/p'
6173
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6174
 
*datarootdir*) ac_datarootdir_seen=yes;;
6175
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6177
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6178
 
_ACEOF
6179
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6180
 
  ac_datarootdir_hack='
6181
 
  s&@datadir@&$datadir&g
6182
 
  s&@docdir@&$docdir&g
6183
 
  s&@infodir@&$infodir&g
6184
 
  s&@localedir@&$localedir&g
6185
 
  s&@mandir@&$mandir&g
6186
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
6187
 
esac
6188
 
_ACEOF
6189
 
 
6190
 
# Neutralize VPATH when `$srcdir' = `.'.
6191
 
# Shell code in configure.ac might set extrasub.
6192
 
# FIXME: do we really want to maintain this feature?
6193
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6194
 
ac_sed_extra="$ac_vpsub
6195
 
$extrasub
6196
 
_ACEOF
6197
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6198
 
:t
6199
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6200
 
s|@configure_input@|$ac_sed_conf_input|;t t
6201
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
6202
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6203
 
s&@srcdir@&$ac_srcdir&;t t
6204
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6205
 
s&@top_srcdir@&$ac_top_srcdir&;t t
6206
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6207
 
s&@builddir@&$ac_builddir&;t t
6208
 
s&@abs_builddir@&$ac_abs_builddir&;t t
6209
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6210
 
s&@INSTALL@&$ac_INSTALL&;t t
6211
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6212
 
$ac_datarootdir_hack
6213
 
"
6214
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6215
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6216
 
 
6217
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6218
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6219
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6220
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6221
 
which seems to be undefined.  Please make sure it is defined." >&5
6222
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6223
 
which seems to be undefined.  Please make sure it is defined." >&2;}
6224
 
 
6225
 
  rm -f "$tmp/stdin"
6226
 
  case $ac_file in
6227
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6228
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6229
 
  esac \
6230
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6231
 
 ;;
6232
 
  :H)
6233
 
  #
6234
 
  # CONFIG_HEADER
6235
 
  #
6236
 
  if test x"$ac_file" != x-; then
6237
 
    {
6238
 
      $as_echo "/* $configure_input  */" \
6239
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6240
 
    } >"$tmp/config.h" \
6241
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
6242
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6243
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6244
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6245
 
    else
6246
 
      rm -f "$ac_file"
6247
 
      mv "$tmp/config.h" "$ac_file" \
6248
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
6249
 
    fi
6250
 
  else
6251
 
    $as_echo "/* $configure_input  */" \
6252
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6253
 
      || as_fn_error "could not create -" "$LINENO" 5
6254
 
  fi
6255
 
# Compute "$ac_file"'s index in $config_headers.
6256
 
_am_arg="$ac_file"
6257
 
_am_stamp_count=1
6258
 
for _am_header in $config_headers :; do
6259
 
  case $_am_header in
6260
 
    $_am_arg | $_am_arg:* )
6261
 
      break ;;
6262
 
    * )
6263
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6264
 
  esac
6265
 
done
6266
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6267
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6269
 
         X"$_am_arg" : 'X\(//\)$' \| \
6270
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6271
 
$as_echo X"$_am_arg" |
6272
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6273
 
            s//\1/
6274
 
            q
6275
 
          }
6276
 
          /^X\(\/\/\)[^/].*/{
6277
 
            s//\1/
6278
 
            q
6279
 
          }
6280
 
          /^X\(\/\/\)$/{
6281
 
            s//\1/
6282
 
            q
6283
 
          }
6284
 
          /^X\(\/\).*/{
6285
 
            s//\1/
6286
 
            q
6287
 
          }
6288
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
6289
 
 ;;
6290
 
 
6291
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6292
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
6293
 
 ;;
6294
 
  esac
6295
 
 
6296
 
 
6297
 
  case $ac_file$ac_mode in
6298
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6299
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6300
 
  # are listed without --file.  Let's play safe and only enable the eval
6301
 
  # if we detect the quoting.
6302
 
  case $CONFIG_FILES in
6303
 
  *\'*) eval set x "$CONFIG_FILES" ;;
6304
 
  *)   set x $CONFIG_FILES ;;
6305
 
  esac
6306
 
  shift
6307
 
  for mf
6308
 
  do
6309
 
    # Strip MF so we end up with the name of the file.
6310
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
6311
 
    # Check whether this is an Automake generated Makefile or not.
6312
 
    # We used to match only the files named `Makefile.in', but
6313
 
    # some people rename them; so instead we look at the file content.
6314
 
    # Grep'ing the first line is not enough: some people post-process
6315
 
    # each Makefile.in and add a new line on top of each file to say so.
6316
 
    # Grep'ing the whole file is not good either: AIX grep has a line
6317
 
    # limit of 2048, but all sed's we know have understand at least 4000.
6318
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6319
 
      dirpart=`$as_dirname -- "$mf" ||
6320
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6321
 
         X"$mf" : 'X\(//\)[^/]' \| \
6322
 
         X"$mf" : 'X\(//\)$' \| \
6323
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6324
 
$as_echo X"$mf" |
6325
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6326
 
            s//\1/
6327
 
            q
6328
 
          }
6329
 
          /^X\(\/\/\)[^/].*/{
6330
 
            s//\1/
6331
 
            q
6332
 
          }
6333
 
          /^X\(\/\/\)$/{
6334
 
            s//\1/
6335
 
            q
6336
 
          }
6337
 
          /^X\(\/\).*/{
6338
 
            s//\1/
6339
 
            q
6340
 
          }
6341
 
          s/.*/./; q'`
6342
 
    else
6343
 
      continue
6344
 
    fi
6345
 
    # Extract the definition of DEPDIR, am__include, and am__quote
6346
 
    # from the Makefile without running `make'.
6347
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6348
 
    test -z "$DEPDIR" && continue
6349
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6350
 
    test -z "am__include" && continue
6351
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6352
 
    # When using ansi2knr, U may be empty or an underscore; expand it
6353
 
    U=`sed -n 's/^U = //p' < "$mf"`
6354
 
    # Find all dependency output files, they are included files with
6355
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6356
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
6357
 
    # expansion.
6358
 
    for file in `sed -n "
6359
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6360
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6361
 
      # Make sure the directory exists.
6362
 
      test -f "$dirpart/$file" && continue
6363
 
      fdir=`$as_dirname -- "$file" ||
6364
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6365
 
         X"$file" : 'X\(//\)[^/]' \| \
6366
 
         X"$file" : 'X\(//\)$' \| \
6367
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6368
 
$as_echo X"$file" |
6369
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6370
 
            s//\1/
6371
 
            q
6372
 
          }
6373
 
          /^X\(\/\/\)[^/].*/{
6374
 
            s//\1/
6375
 
            q
6376
 
          }
6377
 
          /^X\(\/\/\)$/{
6378
 
            s//\1/
6379
 
            q
6380
 
          }
6381
 
          /^X\(\/\).*/{
6382
 
            s//\1/
6383
 
            q
6384
 
          }
6385
 
          s/.*/./; q'`
6386
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6387
 
      # echo "creating $dirpart/$file"
6388
 
      echo '# dummy' > "$dirpart/$file"
6389
 
    done
6390
 
  done
6391
 
}
6392
 
 ;;
6393
 
    "default":C)  ;;
6394
 
 
6395
 
  esac
6396
 
done # for ac_tag
6397
 
 
6398
 
 
6399
 
as_fn_exit 0
6400
 
_ACEOF
6401
 
ac_clean_files=$ac_clean_files_save
6402
 
 
6403
 
test $ac_write_fail = 0 ||
6404
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6405
 
 
6406
 
 
6407
 
# configure is writing to config.log, and then calls config.status.
6408
 
# config.status does its own redirection, appending to config.log.
6409
 
# Unfortunately, on DOS this fails, as config.log is still kept open
6410
 
# by configure, so config.status won't be able to write to it; its
6411
 
# output is simply discarded.  So we exec the FD to /dev/null,
6412
 
# effectively closing config.log, so it can be properly (re)opened and
6413
 
# appended to by config.status.  When coming back to configure, we
6414
 
# need to make the FD available again.
6415
 
if test "$no_create" != yes; then
6416
 
  ac_cs_success=:
6417
 
  ac_config_status_args=
6418
 
  test "$silent" = yes &&
6419
 
    ac_config_status_args="$ac_config_status_args --quiet"
6420
 
  exec 5>/dev/null
6421
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6422
 
  exec 5>>config.log
6423
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6424
 
  # would make configure fail if this is the last instruction.
6425
 
  $ac_cs_success || as_fn_exit $?
6426
 
fi
6427
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6428
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6429
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6430
 
fi
6431
 
 
6432
 
 
6433
 
if test "x$SETCAP" = "xno"; then
6434
 
   { $as_echo "$as_me:${as_lineno-$LINENO}:
6435
 
 
6436
 
Warning:
6437
 
--------
6438
 
 
6439
 
The setcap binary was not found. This means the tools to set the
6440
 
privilege for the lxc commands are not available, that's ok, but you
6441
 
will need to run these commands as root or install libcap-2.
6442
 
 
6443
 
" >&5
6444
 
$as_echo "$as_me:
6445
 
 
6446
 
Warning:
6447
 
--------
6448
 
 
6449
 
The setcap binary was not found. This means the tools to set the
6450
 
privilege for the lxc commands are not available, that's ok, but you
6451
 
will need to run these commands as root or install libcap-2.
6452
 
 
6453
 
" >&6;}
6454
 
 
6455
 
else
6456
 
 
6457
 
   { $as_echo "$as_me:${as_lineno-$LINENO}:
6458
 
 
6459
 
Advice:
6460
 
-------
6461
 
 
6462
 
If you wish to have a non root user to use the lxc tools,
6463
 
you can add the needed capabilities to the tools by invoking
6464
 
the 'lxc-setcap' script. To remove the capabilities, use
6465
 
'lxc-setcap -d'.
6466
 
" >&5
6467
 
$as_echo "$as_me:
6468
 
 
6469
 
Advice:
6470
 
-------
6471
 
 
6472
 
If you wish to have a non root user to use the lxc tools,
6473
 
you can add the needed capabilities to the tools by invoking
6474
 
the 'lxc-setcap' script. To remove the capabilities, use
6475
 
'lxc-setcap -d'.
6476
 
" >&6;}
6477
 
 
6478
 
fi