~ubuntu-branches/ubuntu/quantal/lxc/quantal-201208301614

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-06-28 10:15:48 UTC
  • mto: (1.1.4 upstream) (3.1.5 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20100628101548-vexhggdo6x9cpwtk
ImportĀ upstreamĀ versionĀ 0.7.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for lxc 0.6.5.
 
3
# Generated by GNU Autoconf 2.65 for lxc 0.7.1.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
23
  # is contrary to our usage.  Disable this feature.
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
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
39
73
 
40
74
# The user is always right.
41
75
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
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
  }
58
81
fi
59
82
 
60
83
 
63
86
# there to prevent editors from complaining about space-tab.
64
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
88
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
89
IFS=" ""        $as_nl"
69
90
 
70
91
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
92
case $0 in #((
72
93
  *[\\/]* ) as_myself=$0 ;;
73
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
95
for as_dir in $PATH
75
96
do
76
97
  IFS=$as_save_IFS
77
98
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
80
101
IFS=$as_save_IFS
81
102
 
82
103
     ;;
87
108
  as_myself=$0
88
109
fi
89
110
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
92
113
fi
93
114
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
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 || :
97
122
done
98
123
PS1='$ '
99
124
PS2='> '
100
125
PS4='+ '
101
126
 
102
127
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
149
132
 
150
133
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
153
135
 
154
136
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; 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 :
156
176
  as_have_required=yes
157
177
else
158
178
  as_have_required=no
159
179
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
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
222
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
186
do
224
187
  IFS=$as_save_IFS
225
188
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
227
191
         /*)
228
192
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
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
230
202
           done;;
231
203
       esac
 
204
  as_found=false
232
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; }
233
210
IFS=$as_save_IFS
234
211
 
235
212
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
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.  :-)
438
426
  sed -n '
439
427
    p
440
428
    /[$]LINENO/=
451
439
      s/-\n.*//
452
440
    ' >$as_me.lineno &&
453
441
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
443
 
457
444
  # Don't try to exec as it changes $[0], causing all sort of problems
458
445
  # (the dirname of $[0] is not the place where we might find the
462
449
  exit
463
450
}
464
451
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
452
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
474
454
-n*)
475
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
476
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
478
460
  esac;;
479
461
*)
480
462
  ECHO_N='-n';;
481
463
esac
482
464
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
465
rm -f conf$$ conf$$.exe conf$$.file
491
466
if test -d conf$$.dir; then
492
467
  rm -f conf$$.dir/conf$$.file
493
468
else
494
469
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
496
471
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
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
505
484
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
485
  fi
508
486
else
509
487
  as_ln_s='cp -p'
510
488
fi
512
490
rmdir conf$$.dir 2>/dev/null
513
491
 
514
492
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
516
494
else
517
495
  test -d ./-p && rmdir ./-p
518
496
  as_mkdir_p=false
529
507
  as_test_x='
530
508
    eval sh -c '\''
531
509
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
510
        test -d "$1/.";
533
511
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
536
514
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
516
        ???[sx]*):;;*)false;;esac;fi
539
517
    '\'' sh
540
518
  '
548
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
527
 
550
528
 
551
 
 
552
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
553
531
 
554
532
# Name of the host.
555
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
567
545
subdirs=
568
546
MFLAGS=
569
547
MAKEFLAGS=
570
 
SHELL=${CONFIG_SHELL-/bin/sh}
571
548
 
572
549
# Identity of this package.
573
550
PACKAGE_NAME='lxc'
574
551
PACKAGE_TARNAME='lxc'
575
 
PACKAGE_VERSION='0.6.5'
576
 
PACKAGE_STRING='lxc 0.6.5'
 
552
PACKAGE_VERSION='0.7.1'
 
553
PACKAGE_STRING='lxc 0.7.1'
577
554
PACKAGE_BUGREPORT=''
 
555
PACKAGE_URL=''
578
556
 
579
557
ac_unique_file="configure.ac"
580
558
# Factoring default headers for most tests.
613
591
# include <unistd.h>
614
592
#endif"
615
593
 
616
 
ac_subst_vars='SHELL
617
 
PATH_SEPARATOR
618
 
PACKAGE_NAME
619
 
PACKAGE_TARNAME
620
 
PACKAGE_VERSION
621
 
PACKAGE_STRING
622
 
PACKAGE_BUGREPORT
623
 
exec_prefix
624
 
prefix
625
 
program_transform_name
626
 
bindir
627
 
sbindir
628
 
libexecdir
629
 
datarootdir
630
 
datadir
631
 
sysconfdir
632
 
sharedstatedir
633
 
localstatedir
634
 
includedir
635
 
oldincludedir
636
 
docdir
637
 
infodir
638
 
htmldir
639
 
dvidir
640
 
pdfdir
641
 
psdir
642
 
libdir
643
 
localedir
644
 
mandir
645
 
DEFS
646
 
ECHO_C
647
 
ECHO_N
648
 
ECHO_T
649
 
LIBS
650
 
build_alias
651
 
host_alias
652
 
target_alias
653
 
INSTALL_PROGRAM
654
 
INSTALL_SCRIPT
655
 
INSTALL_DATA
656
 
am__isrc
657
 
CYGPATH_W
658
 
PACKAGE
659
 
VERSION
660
 
ACLOCAL
661
 
AUTOCONF
662
 
AUTOMAKE
663
 
AUTOHEADER
664
 
MAKEINFO
665
 
install_sh
666
 
STRIP
667
 
INSTALL_STRIP_PROGRAM
668
 
mkdir_p
669
 
AWK
670
 
SET_MAKE
671
 
am__leading_dot
672
 
AMTAR
673
 
am__tar
674
 
am__untar
675
 
build
676
 
build_cpu
677
 
build_vendor
678
 
build_os
679
 
host
680
 
host_cpu
681
 
host_vendor
682
 
host_os
683
 
CC
684
 
CFLAGS
685
 
LDFLAGS
686
 
CPPFLAGS
687
 
ac_ct_CC
688
 
EXEEXT
689
 
OBJEXT
690
 
DEPDIR
691
 
am__include
692
 
am__quote
693
 
AMDEP_TRUE
694
 
AMDEP_FALSE
695
 
AMDEPBACKSLASH
696
 
CCDEPMODE
697
 
am__fastdepCC_TRUE
698
 
am__fastdepCC_FALSE
 
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
699
617
SETCAP
700
 
have_docbook
701
 
ENABLE_DOCBOOK_TRUE
702
 
ENABLE_DOCBOOK_FALSE
703
 
ENABLE_EXAMPLES_TRUE
704
 
ENABLE_EXAMPLES_FALSE
705
 
PREFIX
706
 
LIBDIR
707
 
BINDIR
708
 
INCLUDEDIR
709
 
LIBEXECDIR
710
 
SYSCONFDIR
711
 
DATADIR
712
 
LOCALSTATEDIR
713
 
DOCDIR
714
 
LXC_GENERATE_DATE
715
 
LXCPATH
 
618
EGREP
 
619
GREP
716
620
CPP
717
 
GREP
718
 
EGREP
719
 
LIBOBJS
720
 
LTLIBOBJS'
 
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'
721
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
'
722
715
      ac_precious_vars='build_alias
723
716
host_alias
724
717
target_alias
733
726
# Initialize some variables set by options.
734
727
ac_init_help=
735
728
ac_init_version=false
 
729
ac_unrecognized_opts=
 
730
ac_unrecognized_sep=
736
731
# The variables have the same names as the options, with
737
732
# dashes changed to underlines.
738
733
cache_file=/dev/null
831
826
    datarootdir=$ac_optarg ;;
832
827
 
833
828
  -disable-* | --disable-*)
834
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
829
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835
830
    # Reject names that are not valid shell variable names.
836
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838
 
   { (exit 1); exit 1; }; }
839
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840
 
    eval enable_$ac_feature=no ;;
 
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 ;;
841
843
 
842
844
  -docdir | --docdir | --docdi | --doc | --do)
843
845
    ac_prev=docdir ;;
850
852
    dvidir=$ac_optarg ;;
851
853
 
852
854
  -enable-* | --enable-*)
853
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
855
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854
856
    # Reject names that are not valid shell variable names.
855
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857
 
   { (exit 1); exit 1; }; }
858
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
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 ;;
860
869
 
861
870
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862
871
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1047
1056
    ac_init_version=: ;;
1048
1057
 
1049
1058
  -with-* | --with-*)
1050
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1059
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051
1060
    # Reject names that are not valid shell variable names.
1052
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1054
 
   { (exit 1); exit 1; }; }
1055
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056
 
    eval with_$ac_package=\$ac_optarg ;;
 
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 ;;
1057
1073
 
1058
1074
  -without-* | --without-*)
1059
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1075
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060
1076
    # Reject names that are not valid shell variable names.
1061
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1063
 
   { (exit 1); exit 1; }; }
1064
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065
 
    eval with_$ac_package=no ;;
 
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 ;;
1066
1089
 
1067
1090
  --x)
1068
1091
    # Obsolete; use --with-x.
1082
1105
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083
1106
    x_libraries=$ac_optarg ;;
1084
1107
 
1085
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1086
 
Try \`$0 --help' for more information." >&2
1087
 
   { (exit 1); exit 1; }; }
 
1108
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1109
Try \`$0 --help' for more information."
1088
1110
    ;;
1089
1111
 
1090
1112
  *=*)
1091
1113
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092
1114
    # Reject names that are not valid shell variable names.
1093
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095
 
   { (exit 1); exit 1; }; }
 
1115
    case $ac_envvar in #(
 
1116
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1117
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1118
    esac
1096
1119
    eval $ac_envvar=\$ac_optarg
1097
1120
    export $ac_envvar ;;
1098
1121
 
1099
1122
  *)
1100
1123
    # FIXME: should be removed in autoconf 3.0.
1101
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1124
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102
1125
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1126
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104
1127
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1105
1128
    ;;
1106
1129
 
1109
1132
 
1110
1133
if test -n "$ac_prev"; then
1111
1134
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1113
 
   { (exit 1); exit 1; }; }
1114
 
fi
1115
 
 
1116
 
# Be sure to have absolute directory names.
 
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.
1117
1147
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118
1148
                datadir sysconfdir sharedstatedir localstatedir includedir \
1119
1149
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120
1150
                libdir localedir mandir
1121
1151
do
1122
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.
1123
1160
  case $ac_val in
1124
1161
    [\\/$]* | ?:[\\/]* )  continue;;
1125
1162
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1126
1163
  esac
1127
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128
 
   { (exit 1); exit 1; }; }
 
1164
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1129
1165
done
1130
1166
 
1131
1167
# There might be people who depend on the old broken behavior: `$host'
1139
1175
if test "x$host_alias" != x; then
1140
1176
  if test "x$build_alias" = x; then
1141
1177
    cross_compiling=maybe
1142
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1178
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143
1179
    If a cross compiler is detected then cross compile mode will be used." >&2
1144
1180
  elif test "x$build_alias" != "x$host_alias"; then
1145
1181
    cross_compiling=yes
1155
1191
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156
1192
ac_ls_di=`ls -di .` &&
1157
1193
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1159
 
   { (exit 1); exit 1; }; }
 
1194
  as_fn_error "working directory cannot be determined"
1160
1195
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1162
 
   { (exit 1); exit 1; }; }
 
1196
  as_fn_error "pwd does not report name of working directory"
1163
1197
 
1164
1198
 
1165
1199
# Find the source files, if location was not specified.
1166
1200
if test -z "$srcdir"; then
1167
1201
  ac_srcdir_defaulted=yes
1168
1202
  # Try the directory containing this script, then the parent directory.
1169
 
  ac_confdir=`$as_dirname -- "$0" ||
1170
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171
 
         X"$0" : 'X\(//\)[^/]' \| \
1172
 
         X"$0" : 'X\(//\)$' \| \
1173
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174
 
echo X"$0" |
 
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" |
1175
1209
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1176
1210
            s//\1/
1177
1211
            q
1198
1232
fi
1199
1233
if test ! -r "$srcdir/$ac_unique_file"; then
1200
1234
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202
 
   { (exit 1); exit 1; }; }
 
1235
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1203
1236
fi
1204
1237
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1205
1238
ac_abs_confdir=`(
1206
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207
 
   { (exit 1); exit 1; }; }
 
1239
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1208
1240
        pwd)`
1209
1241
# When building in place, set srcdir=.
1210
1242
if test "$ac_abs_confdir" = "$ac_pwd"; then
1230
1262
  # Omit some internal or obsolete options to make the list less imposing.
1231
1263
  # This message is too long to be a string in the A/UX 3.1 sh.
1232
1264
  cat <<_ACEOF
1233
 
\`configure' configures lxc 0.6.5 to adapt to many kinds of systems.
 
1265
\`configure' configures lxc 0.7.1 to adapt to many kinds of systems.
1234
1266
 
1235
1267
Usage: $0 [OPTION]... [VAR=VALUE]...
1236
1268
 
1252
1284
 
1253
1285
Installation directories:
1254
1286
  --prefix=PREFIX         install architecture-independent files in PREFIX
1255
 
                          [$ac_default_prefix]
 
1287
                          [$ac_default_prefix]
1256
1288
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1257
 
                          [PREFIX]
 
1289
                          [PREFIX]
1258
1290
 
1259
1291
By default, \`make install' will install all the files in
1260
1292
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1264
1296
For better control, use the options below.
1265
1297
 
1266
1298
Fine tuning of the installation directories:
1267
 
  --bindir=DIR           user executables [EPREFIX/bin]
1268
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1269
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1270
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1271
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1272
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1273
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1274
 
  --includedir=DIR       C header files [PREFIX/include]
1275
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1276
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1277
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1278
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1279
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1280
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1281
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/lxc]
1282
 
  --htmldir=DIR          html documentation [DOCDIR]
1283
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1284
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1285
 
  --psdir=DIR            ps documentation [DOCDIR]
 
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]
1286
1318
_ACEOF
1287
1319
 
1288
1320
  cat <<\_ACEOF
1300
1332
 
1301
1333
if test -n "$ac_init_help"; then
1302
1334
  case $ac_init_help in
1303
 
     short | recursive ) echo "Configuration of lxc 0.6.5:";;
 
1335
     short | recursive ) echo "Configuration of lxc 0.7.1:";;
1304
1336
   esac
1305
1337
  cat <<\_ACEOF
1306
1338
 
1307
1339
Optional Features:
 
1340
  --disable-option-checking  ignore unrecognized --enable/--with options
1308
1341
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1309
1342
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1310
1343
  --disable-dependency-tracking  speeds up one-time build
1317
1350
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1318
1351
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1319
1352
  --with-config-path=dir  lxc configuration repository path
 
1353
  --with-rootfs-path=dir  lxc rootfs mount point
1320
1354
 
1321
1355
Some influential environment variables:
1322
1356
  CC          C compiler command
1324
1358
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1325
1359
              nonstandard directory <lib dir>
1326
1360
  LIBS        libraries to pass to the linker, e.g. -l<library>
1327
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1361
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1328
1362
              you have headers in a nonstandard directory <include dir>
1329
1363
  CPP         C preprocessor
1330
1364
 
1331
1365
Use these variables to override the choices made by `configure' or to help
1332
1366
it to find libraries and programs with nonstandard names/locations.
1333
1367
 
 
1368
Report bugs to the package provider.
1334
1369
_ACEOF
1335
1370
ac_status=$?
1336
1371
fi
1338
1373
if test "$ac_init_help" = "recursive"; then
1339
1374
  # If there are subdirs, report their specific --help.
1340
1375
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341
 
    test -d "$ac_dir" || continue
 
1376
    test -d "$ac_dir" ||
 
1377
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1378
      continue
1342
1379
    ac_builddir=.
1343
1380
 
1344
1381
case "$ac_dir" in
1345
1382
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346
1383
*)
1347
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1384
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1348
1385
  # A ".." for each directory in $ac_dir_suffix.
1349
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1386
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1350
1387
  case $ac_top_builddir_sub in
1351
1388
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352
1389
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382
1419
      echo &&
1383
1420
      $SHELL "$ac_srcdir/configure" --help=recursive
1384
1421
    else
1385
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1422
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386
1423
    fi || ac_status=$?
1387
1424
    cd "$ac_pwd" || { ac_status=$?; break; }
1388
1425
  done
1391
1428
test -n "$ac_init_help" && exit $ac_status
1392
1429
if $ac_init_version; then
1393
1430
  cat <<\_ACEOF
1394
 
lxc configure 0.6.5
1395
 
generated by GNU Autoconf 2.61
 
1431
lxc configure 0.7.1
 
1432
generated by GNU Autoconf 2.65
1396
1433
 
1397
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1398
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1434
Copyright (C) 2009 Free Software Foundation, Inc.
1399
1435
This configure script is free software; the Free Software Foundation
1400
1436
gives unlimited permission to copy, distribute and modify it.
1401
1437
_ACEOF
1402
1438
  exit
1403
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
1404
1764
cat >config.log <<_ACEOF
1405
1765
This file contains any messages produced by compilers while
1406
1766
running configure, to aid debugging if configure makes a mistake.
1407
1767
 
1408
 
It was created by lxc $as_me 0.6.5, which was
1409
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1768
It was created by lxc $as_me 0.7.1, which was
 
1769
generated by GNU Autoconf 2.65.  Invocation command line was
1410
1770
 
1411
1771
  $ $0 $@
1412
1772
 
1442
1802
do
1443
1803
  IFS=$as_save_IFS
1444
1804
  test -z "$as_dir" && as_dir=.
1445
 
  echo "PATH: $as_dir"
1446
 
done
 
1805
    $as_echo "PATH: $as_dir"
 
1806
  done
1447
1807
IFS=$as_save_IFS
1448
1808
 
1449
1809
} >&5
1477
1837
    | -silent | --silent | --silen | --sile | --sil)
1478
1838
      continue ;;
1479
1839
    *\'*)
1480
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1840
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1481
1841
    esac
1482
1842
    case $ac_pass in
1483
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1843
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1484
1844
    2)
1485
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1845
      as_fn_append ac_configure_args1 " '$ac_arg'"
1486
1846
      if test $ac_must_keep_next = true; then
1487
1847
        ac_must_keep_next=false # Got value, back to normal.
1488
1848
      else
1498
1858
          -* ) ac_must_keep_next=true ;;
1499
1859
        esac
1500
1860
      fi
1501
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1861
      as_fn_append ac_configure_args " '$ac_arg'"
1502
1862
      ;;
1503
1863
    esac
1504
1864
  done
1505
1865
done
1506
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1507
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1866
{ ac_configure_args0=; unset ac_configure_args0;}
 
1867
{ ac_configure_args1=; unset ac_configure_args1;}
1508
1868
 
1509
1869
# When interrupted or exit'd, cleanup temporary files, and complete
1510
1870
# config.log.  We remove comments because anyway the quotes in there
1529
1889
    case $ac_val in #(
1530
1890
    *${as_nl}*)
1531
1891
      case $ac_var in #(
1532
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1533
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
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;} ;;
1534
1894
      esac
1535
1895
      case $ac_var in #(
1536
1896
      _ | IFS | as_nl) ;; #(
1537
 
      *) $as_unset $ac_var ;;
 
1897
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1898
      *) { eval $ac_var=; unset $ac_var;} ;;
1538
1899
      esac ;;
1539
1900
    esac
1540
1901
  done
1563
1924
    do
1564
1925
      eval ac_val=\$$ac_var
1565
1926
      case $ac_val in
1566
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1927
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567
1928
      esac
1568
 
      echo "$ac_var='\''$ac_val'\''"
 
1929
      $as_echo "$ac_var='\''$ac_val'\''"
1569
1930
    done | sort
1570
1931
    echo
1571
1932
 
1580
1941
      do
1581
1942
        eval ac_val=\$$ac_var
1582
1943
        case $ac_val in
1583
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1944
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584
1945
        esac
1585
 
        echo "$ac_var='\''$ac_val'\''"
 
1946
        $as_echo "$ac_var='\''$ac_val'\''"
1586
1947
      done | sort
1587
1948
      echo
1588
1949
    fi
1598
1959
      echo
1599
1960
    fi
1600
1961
    test "$ac_signal" != 0 &&
1601
 
      echo "$as_me: caught signal $ac_signal"
1602
 
    echo "$as_me: exit $exit_status"
 
1962
      $as_echo "$as_me: caught signal $ac_signal"
 
1963
    $as_echo "$as_me: exit $exit_status"
1603
1964
  } >&5
1604
1965
  rm -f core *.core core.conftest.* &&
1605
1966
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1606
1967
    exit $exit_status
1607
1968
' 0
1608
1969
for ac_signal in 1 2 13 15; do
1609
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1970
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1610
1971
done
1611
1972
ac_signal=0
1612
1973
 
1613
1974
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1614
1975
rm -f -r conftest* confdefs.h
1615
1976
 
 
1977
$as_echo "/* confdefs.h */" > confdefs.h
 
1978
 
1616
1979
# Predefined preprocessor variables.
1617
1980
 
1618
1981
cat >>confdefs.h <<_ACEOF
1619
1982
#define PACKAGE_NAME "$PACKAGE_NAME"
1620
1983
_ACEOF
1621
1984
 
1622
 
 
1623
1985
cat >>confdefs.h <<_ACEOF
1624
1986
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1625
1987
_ACEOF
1626
1988
 
1627
 
 
1628
1989
cat >>confdefs.h <<_ACEOF
1629
1990
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1630
1991
_ACEOF
1631
1992
 
1632
 
 
1633
1993
cat >>confdefs.h <<_ACEOF
1634
1994
#define PACKAGE_STRING "$PACKAGE_STRING"
1635
1995
_ACEOF
1636
1996
 
1637
 
 
1638
1997
cat >>confdefs.h <<_ACEOF
1639
1998
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1640
1999
_ACEOF
1641
2000
 
 
2001
cat >>confdefs.h <<_ACEOF
 
2002
#define PACKAGE_URL "$PACKAGE_URL"
 
2003
_ACEOF
 
2004
 
1642
2005
 
1643
2006
# Let the site file select an alternate cache file if it wants to.
1644
 
# Prefer explicitly selected file to automatically selected ones.
 
2007
# Prefer an explicitly selected file to automatically selected ones.
 
2008
ac_site_file1=NONE
 
2009
ac_site_file2=NONE
1645
2010
if test -n "$CONFIG_SITE"; then
1646
 
  set x "$CONFIG_SITE"
 
2011
  ac_site_file1=$CONFIG_SITE
1647
2012
elif test "x$prefix" != xNONE; then
1648
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2013
  ac_site_file1=$prefix/share/config.site
 
2014
  ac_site_file2=$prefix/etc/config.site
1649
2015
else
1650
 
  set x "$ac_default_prefix/share/config.site" \
1651
 
        "$ac_default_prefix/etc/config.site"
 
2016
  ac_site_file1=$ac_default_prefix/share/config.site
 
2017
  ac_site_file2=$ac_default_prefix/etc/config.site
1652
2018
fi
1653
 
shift
1654
 
for ac_site_file
 
2019
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1655
2020
do
1656
 
  if test -r "$ac_site_file"; then
1657
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1658
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
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;}
1659
2025
    sed 's/^/| /' "$ac_site_file" >&5
1660
2026
    . "$ac_site_file"
1661
2027
  fi
1662
2028
done
1663
2029
 
1664
2030
if test -r "$cache_file"; then
1665
 
  # Some versions of bash will fail to source /dev/null (special
1666
 
  # files actually), so we avoid doing that.
1667
 
  if test -f "$cache_file"; then
1668
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1669
 
echo "$as_me: loading cache $cache_file" >&6;}
 
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;}
1670
2036
    case $cache_file in
1671
2037
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672
2038
      *)                      . "./$cache_file";;
1673
2039
    esac
1674
2040
  fi
1675
2041
else
1676
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2042
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2043
$as_echo "$as_me: creating cache $cache_file" >&6;}
1678
2044
  >$cache_file
1679
2045
fi
1680
2046
 
1688
2054
  eval ac_new_val=\$ac_env_${ac_var}_value
1689
2055
  case $ac_old_set,$ac_new_set in
1690
2056
    set,)
1691
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
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;}
1693
2059
      ac_cache_corrupted=: ;;
1694
2060
    ,set)
1695
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1696
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
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;}
1697
2063
      ac_cache_corrupted=: ;;
1698
2064
    ,);;
1699
2065
    *)
1700
2066
      if test "x$ac_old_val" != "x$ac_new_val"; then
1701
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1702
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1703
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1704
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1705
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1706
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1707
 
        ac_cache_corrupted=:
 
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;}
1708
2083
      fi;;
1709
2084
  esac
1710
2085
  # Pass precious variables to config.status.
1711
2086
  if test "$ac_new_set" = set; then
1712
2087
    case $ac_new_val in
1713
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2088
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1714
2089
    *) ac_arg=$ac_var=$ac_new_val ;;
1715
2090
    esac
1716
2091
    case " $ac_configure_args " in
1717
2092
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1718
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2093
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1719
2094
    esac
1720
2095
  fi
1721
2096
done
1722
2097
if $ac_cache_corrupted; then
1723
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1724
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1725
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1726
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1727
 
   { (exit 1); exit 1; }; }
 
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
1728
2103
fi
1729
 
 
1730
 
 
1731
 
 
1732
 
 
1733
 
 
1734
 
 
1735
 
 
1736
 
 
1737
 
 
1738
 
 
1739
 
 
1740
 
 
1741
 
 
1742
 
 
1743
 
 
1744
 
 
1745
 
 
1746
 
 
1747
 
 
1748
 
 
1749
 
 
1750
 
 
1751
 
 
1752
 
 
 
2104
## -------------------- ##
 
2105
## Main body of script. ##
 
2106
## -------------------- ##
1753
2107
 
1754
2108
ac_ext=c
1755
2109
ac_cpp='$CPP $CPPFLAGS'
1762
2116
 
1763
2117
ac_aux_dir=
1764
2118
for ac_dir in config "$srcdir"/config; do
1765
 
  if test -f "$ac_dir/install-sh"; then
1766
 
    ac_aux_dir=$ac_dir
1767
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1768
 
    break
1769
 
  elif test -f "$ac_dir/install.sh"; then
1770
 
    ac_aux_dir=$ac_dir
1771
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1772
 
    break
1773
 
  elif test -f "$ac_dir/shtool"; then
1774
 
    ac_aux_dir=$ac_dir
1775
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1776
 
    break
1777
 
  fi
 
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
1778
2126
done
1779
2127
if test -z "$ac_aux_dir"; then
1780
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1781
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1782
 
   { (exit 1); exit 1; }; }
 
2128
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1783
2129
fi
1784
2130
 
1785
2131
# These three variables are undocumented and unsupported,
1793
2139
 
1794
2140
ac_config_headers="$ac_config_headers src/config.h"
1795
2141
 
1796
 
am__api_version='1.10'
 
2142
am__api_version='1.11'
1797
2143
 
1798
2144
# Find a good install program.  We prefer a C program (faster),
1799
2145
# so one script is as good as another.  But avoid the broken or
1808
2154
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1809
2155
# OS/2's system install, which has a completely different semantic
1810
2156
# ./install, which can be erroneously created by make from ./install.sh.
1811
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1812
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
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; }
1813
2160
if test -z "$INSTALL"; then
1814
 
if test "${ac_cv_path_install+set}" = set; then
1815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2161
if test "${ac_cv_path_install+set}" = set; then :
 
2162
  $as_echo_n "(cached) " >&6
1816
2163
else
1817
2164
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818
2165
for as_dir in $PATH
1819
2166
do
1820
2167
  IFS=$as_save_IFS
1821
2168
  test -z "$as_dir" && as_dir=.
1822
 
  # Account for people who put trailing slashes in PATH elements.
1823
 
case $as_dir/ in
1824
 
  ./ | .// | /cC/* | \
 
2169
    # Account for people who put trailing slashes in PATH elements.
 
2170
case $as_dir/ in #((
 
2171
  ./ | .// | /[cC]/* | \
1825
2172
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1826
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2173
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1827
2174
  /usr/ucb/* ) ;;
1828
2175
  *)
1829
2176
    # OSF1 and SCO ODT 3.0 have their own names for install.
1841
2188
            # program-specific install script used by HP pwplus--don't use.
1842
2189
            :
1843
2190
          else
1844
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1845
 
            break 3
 
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
1846
2203
          fi
1847
2204
        fi
1848
2205
      done
1849
2206
    done
1850
2207
    ;;
1851
2208
esac
1852
 
done
 
2209
 
 
2210
  done
1853
2211
IFS=$as_save_IFS
1854
2212
 
 
2213
rm -rf conftest.one conftest.two conftest.dir
1855
2214
 
1856
2215
fi
1857
2216
  if test "${ac_cv_path_install+set}" = set; then
1864
2223
    INSTALL=$ac_install_sh
1865
2224
  fi
1866
2225
fi
1867
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1868
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2227
$as_echo "$INSTALL" >&6; }
1869
2228
 
1870
2229
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1871
2230
# It thinks the first close brace ends the variable substitution.
1875
2234
 
1876
2235
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1877
2236
 
1878
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1879
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
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; }
1880
2239
# Just in case
1881
2240
sleep 1
1882
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
 
1883
2255
# Do `set' in a subshell so we don't clobber the current shell's
1884
2256
# arguments.  Must try -L first in case configure is actually a
1885
2257
# symlink; some systems play weird games with the mod time of symlinks
1886
2258
# (eg FreeBSD returns the mod time of the symlink's containing
1887
2259
# directory).
1888
2260
if (
1889
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2261
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1890
2262
   if test "$*" = "X"; then
1891
2263
      # -L didn't work.
1892
 
      set X `ls -t $srcdir/configure conftest.file`
 
2264
      set X `ls -t "$srcdir/configure" conftest.file`
1893
2265
   fi
1894
2266
   rm -f conftest.file
1895
2267
   if test "$*" != "X $srcdir/configure conftest.file" \
1899
2271
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1900
2272
      # broken ls alias from the environment.  This has actually
1901
2273
      # happened.  Such a system could not be considered "sane".
1902
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1903
 
alias in your environment" >&5
1904
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1905
 
alias in your environment" >&2;}
1906
 
   { (exit 1); exit 1; }; }
 
2274
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2275
alias in your environment" "$LINENO" 5
1907
2276
   fi
1908
2277
 
1909
2278
   test "$2" = conftest.file
1912
2281
   # Ok.
1913
2282
   :
1914
2283
else
1915
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1916
 
Check your system clock" >&5
1917
 
echo "$as_me: error: newly created file is older than distributed files!
1918
 
Check your system clock" >&2;}
1919
 
   { (exit 1); exit 1; }; }
 
2284
   as_fn_error "newly created file is older than distributed files!
 
2285
Check your system clock" "$LINENO" 5
1920
2286
fi
1921
 
{ echo "$as_me:$LINENO: result: yes" >&5
1922
 
echo "${ECHO_T}yes" >&6; }
 
2287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2288
$as_echo "yes" >&6; }
1923
2289
test "$program_prefix" != NONE &&
1924
2290
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1925
2291
# Use a double $ so make ignores it.
1926
2292
test "$program_suffix" != NONE &&
1927
2293
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1928
 
# Double any \ or $.  echo might interpret backslashes.
 
2294
# Double any \ or $.
1929
2295
# By default was `s,x,x', remove it if useless.
1930
 
cat <<\_ACEOF >conftest.sed
1931
 
s/[\\$]/&&/g;s/;s,x,x,$//
1932
 
_ACEOF
1933
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1934
 
rm -f conftest.sed
 
2296
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2297
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1935
2298
 
1936
2299
# expand $ac_aux_dir to an absolute path
1937
2300
am_aux_dir=`cd $ac_aux_dir && pwd`
1938
2301
 
1939
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
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
1940
2310
# Use eval to expand $SHELL
1941
2311
if eval "$MISSING --run true"; then
1942
2312
  am_missing_run="$MISSING --run "
1943
2313
else
1944
2314
  am_missing_run=
1945
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1946
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1947
 
fi
1948
 
 
1949
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1950
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
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; }
1951
2430
if test -z "$MKDIR_P"; then
1952
 
  if test "${ac_cv_path_mkdir+set}" = set; then
1953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2431
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2432
  $as_echo_n "(cached) " >&6
1954
2433
else
1955
2434
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956
2435
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1957
2436
do
1958
2437
  IFS=$as_save_IFS
1959
2438
  test -z "$as_dir" && as_dir=.
1960
 
  for ac_prog in mkdir gmkdir; do
 
2439
    for ac_prog in mkdir gmkdir; do
1961
2440
         for ac_exec_ext in '' $ac_executable_extensions; do
1962
2441
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1963
2442
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1969
2448
           esac
1970
2449
         done
1971
2450
       done
1972
 
done
 
2451
  done
1973
2452
IFS=$as_save_IFS
1974
2453
 
1975
2454
fi
1976
2455
 
 
2456
  test -d ./--version && rmdir ./--version
1977
2457
  if test "${ac_cv_path_mkdir+set}" = set; then
1978
2458
    MKDIR_P="$ac_cv_path_mkdir -p"
1979
2459
  else
1981
2461
    # value for MKDIR_P within a source directory, because that will
1982
2462
    # break other packages using the cache if that directory is
1983
2463
    # removed, or if the value is a relative name.
1984
 
    test -d ./--version && rmdir ./--version
1985
2464
    MKDIR_P="$ac_install_sh -d"
1986
2465
  fi
1987
2466
fi
1988
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1989
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2468
$as_echo "$MKDIR_P" >&6; }
1990
2469
 
1991
2470
mkdir_p="$MKDIR_P"
1992
2471
case $mkdir_p in
1998
2477
do
1999
2478
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2000
2479
set dummy $ac_prog; ac_word=$2
2001
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2002
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2003
 
if test "${ac_cv_prog_AWK+set}" = set; then
2004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2005
2484
else
2006
2485
  if test -n "$AWK"; then
2007
2486
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2011
2490
do
2012
2491
  IFS=$as_save_IFS
2013
2492
  test -z "$as_dir" && as_dir=.
2014
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2493
    for ac_exec_ext in '' $ac_executable_extensions; do
2015
2494
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2016
2495
    ac_cv_prog_AWK="$ac_prog"
2017
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2496
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018
2497
    break 2
2019
2498
  fi
2020
2499
done
2021
 
done
 
2500
  done
2022
2501
IFS=$as_save_IFS
2023
2502
 
2024
2503
fi
2025
2504
fi
2026
2505
AWK=$ac_cv_prog_AWK
2027
2506
if test -n "$AWK"; then
2028
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2029
 
echo "${ECHO_T}$AWK" >&6; }
 
2507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2508
$as_echo "$AWK" >&6; }
2030
2509
else
2031
 
  { echo "$as_me:$LINENO: result: no" >&5
2032
 
echo "${ECHO_T}no" >&6; }
 
2510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2511
$as_echo "no" >&6; }
2033
2512
fi
2034
2513
 
2035
2514
 
2036
2515
  test -n "$AWK" && break
2037
2516
done
2038
2517
 
2039
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2040
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2041
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2042
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2044
2524
else
2045
2525
  cat >conftest.make <<\_ACEOF
2046
2526
SHELL = /bin/sh
2057
2537
rm -f conftest.make
2058
2538
fi
2059
2539
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2060
 
  { echo "$as_me:$LINENO: result: yes" >&5
2061
 
echo "${ECHO_T}yes" >&6; }
 
2540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2541
$as_echo "yes" >&6; }
2062
2542
  SET_MAKE=
2063
2543
else
2064
 
  { echo "$as_me:$LINENO: result: no" >&5
2065
 
echo "${ECHO_T}no" >&6; }
 
2544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2545
$as_echo "no" >&6; }
2066
2546
  SET_MAKE="MAKE=${MAKE-make}"
2067
2547
fi
2068
2548
 
2081
2561
  am__isrc=' -I$(srcdir)'
2082
2562
  # test to see if srcdir already configured
2083
2563
  if test -f $srcdir/config.status; then
2084
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2085
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2086
 
   { (exit 1); exit 1; }; }
 
2564
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2087
2565
  fi
2088
2566
fi
2089
2567
 
2099
2577
 
2100
2578
# Define the identity of the package.
2101
2579
 PACKAGE='lxc'
2102
 
 VERSION='0.6.5'
 
2580
 VERSION='0.7.1'
2103
2581
 
2104
2582
 
2105
2583
cat >>confdefs.h <<_ACEOF
2127
2605
 
2128
2606
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2129
2607
 
2130
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2131
 
 
2132
 
# Installed binaries are usually stripped using `strip' when the user
2133
 
# run `make install-strip'.  However `strip' might not be the right
2134
 
# tool to use in cross-compilation environments, therefore Automake
2135
 
# will honor the `STRIP' environment variable to overrule this program.
2136
 
if test "$cross_compiling" != no; then
2137
 
  if test -n "$ac_tool_prefix"; then
2138
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2139
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2140
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2141
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2144
 
else
2145
 
  if test -n "$STRIP"; then
2146
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2147
 
else
2148
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149
 
for as_dir in $PATH
2150
 
do
2151
 
  IFS=$as_save_IFS
2152
 
  test -z "$as_dir" && as_dir=.
2153
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2154
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2156
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157
 
    break 2
2158
 
  fi
2159
 
done
2160
 
done
2161
 
IFS=$as_save_IFS
2162
 
 
2163
 
fi
2164
 
fi
2165
 
STRIP=$ac_cv_prog_STRIP
2166
 
if test -n "$STRIP"; then
2167
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2168
 
echo "${ECHO_T}$STRIP" >&6; }
2169
 
else
2170
 
  { echo "$as_me:$LINENO: result: no" >&5
2171
 
echo "${ECHO_T}no" >&6; }
2172
 
fi
2173
 
 
2174
 
 
2175
 
fi
2176
 
if test -z "$ac_cv_prog_STRIP"; then
2177
 
  ac_ct_STRIP=$STRIP
2178
 
  # Extract the first word of "strip", so it can be a program name with args.
2179
 
set dummy strip; ac_word=$2
2180
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2181
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2183
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2184
 
else
2185
 
  if test -n "$ac_ct_STRIP"; then
2186
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2187
 
else
2188
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189
 
for as_dir in $PATH
2190
 
do
2191
 
  IFS=$as_save_IFS
2192
 
  test -z "$as_dir" && as_dir=.
2193
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195
 
    ac_cv_prog_ac_ct_STRIP="strip"
2196
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197
 
    break 2
2198
 
  fi
2199
 
done
2200
 
done
2201
 
IFS=$as_save_IFS
2202
 
 
2203
 
fi
2204
 
fi
2205
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2206
 
if test -n "$ac_ct_STRIP"; then
2207
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2208
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2209
 
else
2210
 
  { echo "$as_me:$LINENO: result: no" >&5
2211
 
echo "${ECHO_T}no" >&6; }
2212
 
fi
2213
 
 
2214
 
  if test "x$ac_ct_STRIP" = x; then
2215
 
    STRIP=":"
2216
 
  else
2217
 
    case $cross_compiling:$ac_tool_warned in
2218
 
yes:)
2219
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2220
 
whose name does not start with the host triplet.  If you think this
2221
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2222
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2223
 
whose name does not start with the host triplet.  If you think this
2224
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2225
 
ac_tool_warned=yes ;;
2226
 
esac
2227
 
    STRIP=$ac_ct_STRIP
2228
 
  fi
2229
 
else
2230
 
  STRIP="$ac_cv_prog_STRIP"
2231
 
fi
2232
 
 
2233
 
fi
2234
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2235
 
 
2236
2608
# We need awk for the "check" target.  The system "awk" is bad on
2237
2609
# some platforms.
2238
2610
# Always define AMTAR for backward compatibility.
2247
2619
 
2248
2620
# Make sure we can run config.sub.
2249
2621
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2250
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2251
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2252
 
   { (exit 1); exit 1; }; }
 
2622
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2253
2623
 
2254
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2255
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2256
 
if test "${ac_cv_build+set}" = set; then
2257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2258
2628
else
2259
2629
  ac_build_alias=$build_alias
2260
2630
test "x$ac_build_alias" = x &&
2261
2631
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2262
2632
test "x$ac_build_alias" = x &&
2263
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2264
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2265
 
   { (exit 1); exit 1; }; }
 
2633
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2266
2634
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2267
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2268
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2269
 
   { (exit 1); exit 1; }; }
 
2635
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2270
2636
 
2271
2637
fi
2272
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2273
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2639
$as_echo "$ac_cv_build" >&6; }
2274
2640
case $ac_cv_build in
2275
2641
*-*-*) ;;
2276
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2277
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2278
 
   { (exit 1); exit 1; }; };;
 
2642
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2279
2643
esac
2280
2644
build=$ac_cv_build
2281
2645
ac_save_IFS=$IFS; IFS='-'
2291
2655
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2292
2656
 
2293
2657
 
2294
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2295
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2296
 
if test "${ac_cv_host+set}" = set; then
2297
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2298
2662
else
2299
2663
  if test "x$host_alias" = x; then
2300
2664
  ac_cv_host=$ac_cv_build
2301
2665
else
2302
2666
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2303
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2304
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2305
 
   { (exit 1); exit 1; }; }
 
2667
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2306
2668
fi
2307
2669
 
2308
2670
fi
2309
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2310
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2672
$as_echo "$ac_cv_host" >&6; }
2311
2673
case $ac_cv_host in
2312
2674
*-*-*) ;;
2313
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2314
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2315
 
   { (exit 1); exit 1; }; };;
 
2675
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2316
2676
esac
2317
2677
host=$ac_cv_host
2318
2678
ac_save_IFS=$IFS; IFS='-'
2336
2696
am_make=${MAKE-make}
2337
2697
cat > confinc << 'END'
2338
2698
am__doit:
2339
 
        @echo done
 
2699
        @echo this is the am__doit target
2340
2700
.PHONY: am__doit
2341
2701
END
2342
2702
# If we don't find an include directive, just comment out the code.
2343
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2344
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
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; }
2345
2705
am__include="#"
2346
2706
am__quote=
2347
2707
_am_result=none
2348
2708
# First try GNU make style include.
2349
2709
echo "include confinc" > confmf
2350
 
# We grep out `Entering directory' and `Leaving directory'
2351
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2352
 
# In particular we don't look at `^make:' because GNU make might
2353
 
# be invoked under some other name (usually "gmake"), in which
2354
 
# case it prints its new name instead of `make'.
2355
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2356
 
   am__include=include
2357
 
   am__quote=
2358
 
   _am_result=GNU
2359
 
fi
 
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
2360
2718
# Now try BSD make style include.
2361
2719
if test "$am__include" = "#"; then
2362
2720
   echo '.include "confinc"' > confmf
2363
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2364
 
      am__include=.include
2365
 
      am__quote="\""
2366
 
      _am_result=BSD
2367
 
   fi
 
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
2368
2728
fi
2369
2729
 
2370
2730
 
2371
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2372
 
echo "${ECHO_T}$_am_result" >&6; }
 
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2732
$as_echo "$_am_result" >&6; }
2373
2733
rm -f confinc confmf
2374
2734
 
2375
2735
# Check whether --enable-dependency-tracking was given.
2376
 
if test "${enable_dependency_tracking+set}" = set; then
 
2736
if test "${enable_dependency_tracking+set}" = set; then :
2377
2737
  enableval=$enable_dependency_tracking;
2378
2738
fi
2379
2739
 
2398
2758
if test -n "$ac_tool_prefix"; then
2399
2759
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2400
2760
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2401
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2402
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2403
 
if test "${ac_cv_prog_CC+set}" = set; then
2404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2405
2765
else
2406
2766
  if test -n "$CC"; then
2407
2767
  ac_cv_prog_CC="$CC" # Let the user override the test.
2411
2771
do
2412
2772
  IFS=$as_save_IFS
2413
2773
  test -z "$as_dir" && as_dir=.
2414
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2774
    for ac_exec_ext in '' $ac_executable_extensions; do
2415
2775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416
2776
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2417
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418
2778
    break 2
2419
2779
  fi
2420
2780
done
2421
 
done
 
2781
  done
2422
2782
IFS=$as_save_IFS
2423
2783
 
2424
2784
fi
2425
2785
fi
2426
2786
CC=$ac_cv_prog_CC
2427
2787
if test -n "$CC"; then
2428
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2429
 
echo "${ECHO_T}$CC" >&6; }
 
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2789
$as_echo "$CC" >&6; }
2430
2790
else
2431
 
  { echo "$as_me:$LINENO: result: no" >&5
2432
 
echo "${ECHO_T}no" >&6; }
 
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2792
$as_echo "no" >&6; }
2433
2793
fi
2434
2794
 
2435
2795
 
2438
2798
  ac_ct_CC=$CC
2439
2799
  # Extract the first word of "gcc", so it can be a program name with args.
2440
2800
set dummy gcc; ac_word=$2
2441
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2442
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2443
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2445
2805
else
2446
2806
  if test -n "$ac_ct_CC"; then
2447
2807
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2451
2811
do
2452
2812
  IFS=$as_save_IFS
2453
2813
  test -z "$as_dir" && as_dir=.
2454
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2814
    for ac_exec_ext in '' $ac_executable_extensions; do
2455
2815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456
2816
    ac_cv_prog_ac_ct_CC="gcc"
2457
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458
2818
    break 2
2459
2819
  fi
2460
2820
done
2461
 
done
 
2821
  done
2462
2822
IFS=$as_save_IFS
2463
2823
 
2464
2824
fi
2465
2825
fi
2466
2826
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467
2827
if test -n "$ac_ct_CC"; then
2468
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2469
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2829
$as_echo "$ac_ct_CC" >&6; }
2470
2830
else
2471
 
  { echo "$as_me:$LINENO: result: no" >&5
2472
 
echo "${ECHO_T}no" >&6; }
 
2831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2832
$as_echo "no" >&6; }
2473
2833
fi
2474
2834
 
2475
2835
  if test "x$ac_ct_CC" = x; then
2477
2837
  else
2478
2838
    case $cross_compiling:$ac_tool_warned in
2479
2839
yes:)
2480
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2481
 
whose name does not start with the host triplet.  If you think this
2482
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2483
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2484
 
whose name does not start with the host triplet.  If you think this
2485
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
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;}
2486
2842
ac_tool_warned=yes ;;
2487
2843
esac
2488
2844
    CC=$ac_ct_CC
2495
2851
          if test -n "$ac_tool_prefix"; then
2496
2852
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2497
2853
set dummy ${ac_tool_prefix}cc; ac_word=$2
2498
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2499
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2500
 
if test "${ac_cv_prog_CC+set}" = set; then
2501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2502
2858
else
2503
2859
  if test -n "$CC"; then
2504
2860
  ac_cv_prog_CC="$CC" # Let the user override the test.
2508
2864
do
2509
2865
  IFS=$as_save_IFS
2510
2866
  test -z "$as_dir" && as_dir=.
2511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2867
    for ac_exec_ext in '' $ac_executable_extensions; do
2512
2868
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513
2869
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2514
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2870
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515
2871
    break 2
2516
2872
  fi
2517
2873
done
2518
 
done
 
2874
  done
2519
2875
IFS=$as_save_IFS
2520
2876
 
2521
2877
fi
2522
2878
fi
2523
2879
CC=$ac_cv_prog_CC
2524
2880
if test -n "$CC"; then
2525
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2526
 
echo "${ECHO_T}$CC" >&6; }
 
2881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2882
$as_echo "$CC" >&6; }
2527
2883
else
2528
 
  { echo "$as_me:$LINENO: result: no" >&5
2529
 
echo "${ECHO_T}no" >&6; }
 
2884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2885
$as_echo "no" >&6; }
2530
2886
fi
2531
2887
 
2532
2888
 
2535
2891
if test -z "$CC"; then
2536
2892
  # Extract the first word of "cc", so it can be a program name with args.
2537
2893
set dummy cc; ac_word=$2
2538
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2539
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2540
 
if test "${ac_cv_prog_CC+set}" = set; then
2541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2542
2898
else
2543
2899
  if test -n "$CC"; then
2544
2900
  ac_cv_prog_CC="$CC" # Let the user override the test.
2549
2905
do
2550
2906
  IFS=$as_save_IFS
2551
2907
  test -z "$as_dir" && as_dir=.
2552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2908
    for ac_exec_ext in '' $ac_executable_extensions; do
2553
2909
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554
2910
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2555
2911
       ac_prog_rejected=yes
2556
2912
       continue
2557
2913
     fi
2558
2914
    ac_cv_prog_CC="cc"
2559
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560
2916
    break 2
2561
2917
  fi
2562
2918
done
2563
 
done
 
2919
  done
2564
2920
IFS=$as_save_IFS
2565
2921
 
2566
2922
if test $ac_prog_rejected = yes; then
2579
2935
fi
2580
2936
CC=$ac_cv_prog_CC
2581
2937
if test -n "$CC"; then
2582
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2583
 
echo "${ECHO_T}$CC" >&6; }
 
2938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2939
$as_echo "$CC" >&6; }
2584
2940
else
2585
 
  { echo "$as_me:$LINENO: result: no" >&5
2586
 
echo "${ECHO_T}no" >&6; }
 
2941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2942
$as_echo "no" >&6; }
2587
2943
fi
2588
2944
 
2589
2945
 
2594
2950
  do
2595
2951
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2596
2952
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2597
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2599
 
if test "${ac_cv_prog_CC+set}" = set; then
2600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2601
2957
else
2602
2958
  if test -n "$CC"; then
2603
2959
  ac_cv_prog_CC="$CC" # Let the user override the test.
2607
2963
do
2608
2964
  IFS=$as_save_IFS
2609
2965
  test -z "$as_dir" && as_dir=.
2610
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2966
    for ac_exec_ext in '' $ac_executable_extensions; do
2611
2967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612
2968
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2613
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2969
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614
2970
    break 2
2615
2971
  fi
2616
2972
done
2617
 
done
 
2973
  done
2618
2974
IFS=$as_save_IFS
2619
2975
 
2620
2976
fi
2621
2977
fi
2622
2978
CC=$ac_cv_prog_CC
2623
2979
if test -n "$CC"; then
2624
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2625
 
echo "${ECHO_T}$CC" >&6; }
 
2980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2981
$as_echo "$CC" >&6; }
2626
2982
else
2627
 
  { echo "$as_me:$LINENO: result: no" >&5
2628
 
echo "${ECHO_T}no" >&6; }
 
2983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2984
$as_echo "no" >&6; }
2629
2985
fi
2630
2986
 
2631
2987
 
2638
2994
do
2639
2995
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2640
2996
set dummy $ac_prog; ac_word=$2
2641
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2642
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2643
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2645
3001
else
2646
3002
  if test -n "$ac_ct_CC"; then
2647
3003
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2651
3007
do
2652
3008
  IFS=$as_save_IFS
2653
3009
  test -z "$as_dir" && as_dir=.
2654
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3010
    for ac_exec_ext in '' $ac_executable_extensions; do
2655
3011
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656
3012
    ac_cv_prog_ac_ct_CC="$ac_prog"
2657
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3013
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658
3014
    break 2
2659
3015
  fi
2660
3016
done
2661
 
done
 
3017
  done
2662
3018
IFS=$as_save_IFS
2663
3019
 
2664
3020
fi
2665
3021
fi
2666
3022
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667
3023
if test -n "$ac_ct_CC"; then
2668
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3024
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3025
$as_echo "$ac_ct_CC" >&6; }
2670
3026
else
2671
 
  { echo "$as_me:$LINENO: result: no" >&5
2672
 
echo "${ECHO_T}no" >&6; }
 
3027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3028
$as_echo "no" >&6; }
2673
3029
fi
2674
3030
 
2675
3031
 
2681
3037
  else
2682
3038
    case $cross_compiling:$ac_tool_warned in
2683
3039
yes:)
2684
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2685
 
whose name does not start with the host triplet.  If you think this
2686
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2687
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2688
 
whose name does not start with the host triplet.  If you think this
2689
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
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;}
2690
3042
ac_tool_warned=yes ;;
2691
3043
esac
2692
3044
    CC=$ac_ct_CC
2696
3048
fi
2697
3049
 
2698
3050
 
2699
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2700
 
See \`config.log' for more details." >&5
2701
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2702
 
See \`config.log' for more details." >&2;}
2703
 
   { (exit 1); exit 1; }; }
 
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; }
2704
3055
 
2705
3056
# Provide some information about the compiler.
2706
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2707
 
ac_compiler=`set X $ac_compile; echo $2`
2708
 
{ (ac_try="$ac_compiler --version >&5"
2709
 
case "(($ac_try" in
2710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711
 
  *) ac_try_echo=$ac_try;;
2712
 
esac
2713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2714
 
  (eval "$ac_compiler --version >&5") 2>&5
2715
 
  ac_status=$?
2716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717
 
  (exit $ac_status); }
2718
 
{ (ac_try="$ac_compiler -v >&5"
2719
 
case "(($ac_try" in
2720
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721
 
  *) ac_try_echo=$ac_try;;
2722
 
esac
2723
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724
 
  (eval "$ac_compiler -v >&5") 2>&5
2725
 
  ac_status=$?
2726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727
 
  (exit $ac_status); }
2728
 
{ (ac_try="$ac_compiler -V >&5"
2729
 
case "(($ac_try" in
2730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731
 
  *) ac_try_echo=$ac_try;;
2732
 
esac
2733
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734
 
  (eval "$ac_compiler -V >&5") 2>&5
2735
 
  ac_status=$?
2736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737
 
  (exit $ac_status); }
 
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
2738
3080
 
2739
 
cat >conftest.$ac_ext <<_ACEOF
2740
 
/* confdefs.h.  */
2741
 
_ACEOF
2742
 
cat confdefs.h >>conftest.$ac_ext
2743
 
cat >>conftest.$ac_ext <<_ACEOF
 
3081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744
3082
/* end confdefs.h.  */
2745
3083
 
2746
3084
int
2752
3090
}
2753
3091
_ACEOF
2754
3092
ac_clean_files_save=$ac_clean_files
2755
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3093
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2756
3094
# Try to create an executable without -o first, disregard a.out.
2757
3095
# It will help us diagnose broken compilers, and finding out an intuition
2758
3096
# of exeext.
2759
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2760
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2761
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2762
 
#
2763
 
# List of possible output files, starting from the most likely.
2764
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2765
 
# only as a last resort.  b.out is created by i960 compilers.
2766
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2767
 
#
2768
 
# The IRIX 6 linker writes into existing files which may not be
2769
 
# executable, retaining their permissions.  Remove them first so a
2770
 
# subsequent execution test works.
 
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
 
2771
3104
ac_rmfiles=
2772
3105
for ac_file in $ac_files
2773
3106
do
2774
3107
  case $ac_file in
2775
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3108
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2776
3109
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2777
3110
  esac
2778
3111
done
2779
3112
rm -f $ac_rmfiles
2780
3113
 
2781
 
if { (ac_try="$ac_link_default"
 
3114
if { { ac_try="$ac_link_default"
2782
3115
case "(($ac_try" in
2783
3116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784
3117
  *) ac_try_echo=$ac_try;;
2785
3118
esac
2786
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3119
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3120
$as_echo "$ac_try_echo"; } >&5
2787
3121
  (eval "$ac_link_default") 2>&5
2788
3122
  ac_status=$?
2789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790
 
  (exit $ac_status); }; then
 
3123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3124
  test $ac_status = 0; }; then :
2791
3125
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2792
3126
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2793
3127
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2797
3131
do
2798
3132
  test -f "$ac_file" || continue
2799
3133
  case $ac_file in
2800
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3134
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2801
3135
        ;;
2802
3136
    [ab].out )
2803
3137
        # We found the default executable, but exeext='' is most
2804
3138
        # certainly right.
2805
3139
        break;;
2806
3140
    *.* )
2807
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3141
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2808
3142
        then :; else
2809
3143
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2810
3144
        fi
2823
3157
else
2824
3158
  ac_file=''
2825
3159
fi
2826
 
 
2827
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2828
 
echo "${ECHO_T}$ac_file" >&6; }
2829
 
if test -z "$ac_file"; then
2830
 
  echo "$as_me: failed program was:" >&5
 
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
2831
3164
sed 's/^/| /' conftest.$ac_ext >&5
2832
3165
 
2833
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2834
 
See \`config.log' for more details." >&5
2835
 
echo "$as_me: error: C compiler cannot create executables
2836
 
See \`config.log' for more details." >&2;}
2837
 
   { (exit 77); exit 77; }; }
 
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; }
2838
3174
fi
2839
 
 
 
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; }
2840
3179
ac_exeext=$ac_cv_exeext
2841
3180
 
2842
 
# Check that the compiler produces executables we can run.  If not, either
2843
 
# the compiler is broken, or we cross compile.
2844
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2845
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2846
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2847
 
# If not cross compiling, check that we can run a simple program.
2848
 
if test "$cross_compiling" != yes; then
2849
 
  if { ac_try='./$ac_file'
2850
 
  { (case "(($ac_try" in
2851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852
 
  *) ac_try_echo=$ac_try;;
2853
 
esac
2854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2855
 
  (eval "$ac_try") 2>&5
2856
 
  ac_status=$?
2857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
 
  (exit $ac_status); }; }; then
2859
 
    cross_compiling=no
2860
 
  else
2861
 
    if test "$cross_compiling" = maybe; then
2862
 
        cross_compiling=yes
2863
 
    else
2864
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2865
 
If you meant to cross compile, use \`--host'.
2866
 
See \`config.log' for more details." >&5
2867
 
echo "$as_me: error: cannot run C compiled programs.
2868
 
If you meant to cross compile, use \`--host'.
2869
 
See \`config.log' for more details." >&2;}
2870
 
   { (exit 1); exit 1; }; }
2871
 
    fi
2872
 
  fi
2873
 
fi
2874
 
{ echo "$as_me:$LINENO: result: yes" >&5
2875
 
echo "${ECHO_T}yes" >&6; }
2876
 
 
2877
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3181
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2878
3182
ac_clean_files=$ac_clean_files_save
2879
 
# Check that the compiler produces executables we can run.  If not, either
2880
 
# the compiler is broken, or we cross compile.
2881
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2882
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2883
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2884
 
echo "${ECHO_T}$cross_compiling" >&6; }
2885
 
 
2886
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2887
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2888
 
if { (ac_try="$ac_link"
 
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"
2889
3186
case "(($ac_try" in
2890
3187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891
3188
  *) ac_try_echo=$ac_try;;
2892
3189
esac
2893
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3190
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3191
$as_echo "$ac_try_echo"; } >&5
2894
3192
  (eval "$ac_link") 2>&5
2895
3193
  ac_status=$?
2896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897
 
  (exit $ac_status); }; then
 
3194
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3195
  test $ac_status = 0; }; then :
2898
3196
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2899
3197
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2900
3198
# work properly (i.e., refer to `conftest.exe'), while it won't with
2902
3200
for ac_file in conftest.exe conftest conftest.*; do
2903
3201
  test -f "$ac_file" || continue
2904
3202
  case $ac_file in
2905
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3203
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2906
3204
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2907
3205
          break;;
2908
3206
    * ) break;;
2909
3207
  esac
2910
3208
done
2911
3209
else
2912
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2913
 
See \`config.log' for more details." >&5
2914
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2915
 
See \`config.log' for more details." >&2;}
2916
 
   { (exit 1); exit 1; }; }
 
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; }
2917
3214
fi
2918
 
 
2919
 
rm -f conftest$ac_cv_exeext
2920
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2921
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
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; }
2922
3218
 
2923
3219
rm -f conftest.$ac_ext
2924
3220
EXEEXT=$ac_cv_exeext
2925
3221
ac_exeext=$EXEEXT
2926
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2927
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2928
 
if test "${ac_cv_objext+set}" = set; then
2929
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2930
3285
else
2931
 
  cat >conftest.$ac_ext <<_ACEOF
2932
 
/* confdefs.h.  */
2933
 
_ACEOF
2934
 
cat confdefs.h >>conftest.$ac_ext
2935
 
cat >>conftest.$ac_ext <<_ACEOF
 
3286
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936
3287
/* end confdefs.h.  */
2937
3288
 
2938
3289
int
2944
3295
}
2945
3296
_ACEOF
2946
3297
rm -f conftest.o conftest.obj
2947
 
if { (ac_try="$ac_compile"
 
3298
if { { ac_try="$ac_compile"
2948
3299
case "(($ac_try" in
2949
3300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950
3301
  *) ac_try_echo=$ac_try;;
2951
3302
esac
2952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3303
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3304
$as_echo "$ac_try_echo"; } >&5
2953
3305
  (eval "$ac_compile") 2>&5
2954
3306
  ac_status=$?
2955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956
 
  (exit $ac_status); }; then
 
3307
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3308
  test $ac_status = 0; }; then :
2957
3309
  for ac_file in conftest.o conftest.obj conftest.*; do
2958
3310
  test -f "$ac_file" || continue;
2959
3311
  case $ac_file in
2960
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3312
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2961
3313
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2962
3314
       break;;
2963
3315
  esac
2964
3316
done
2965
3317
else
2966
 
  echo "$as_me: failed program was:" >&5
 
3318
  $as_echo "$as_me: failed program was:" >&5
2967
3319
sed 's/^/| /' conftest.$ac_ext >&5
2968
3320
 
2969
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2970
 
See \`config.log' for more details." >&5
2971
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2972
 
See \`config.log' for more details." >&2;}
2973
 
   { (exit 1); exit 1; }; }
 
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; }
2974
3325
fi
2975
 
 
2976
3326
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2977
3327
fi
2978
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2979
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3329
$as_echo "$ac_cv_objext" >&6; }
2980
3330
OBJEXT=$ac_cv_objext
2981
3331
ac_objext=$OBJEXT
2982
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2983
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2984
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
2986
3336
else
2987
 
  cat >conftest.$ac_ext <<_ACEOF
2988
 
/* confdefs.h.  */
2989
 
_ACEOF
2990
 
cat confdefs.h >>conftest.$ac_ext
2991
 
cat >>conftest.$ac_ext <<_ACEOF
 
3337
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992
3338
/* end confdefs.h.  */
2993
3339
 
2994
3340
int
3002
3348
  return 0;
3003
3349
}
3004
3350
_ACEOF
3005
 
rm -f conftest.$ac_objext
3006
 
if { (ac_try="$ac_compile"
3007
 
case "(($ac_try" in
3008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009
 
  *) ac_try_echo=$ac_try;;
3010
 
esac
3011
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012
 
  (eval "$ac_compile") 2>conftest.er1
3013
 
  ac_status=$?
3014
 
  grep -v '^ *+' conftest.er1 >conftest.err
3015
 
  rm -f conftest.er1
3016
 
  cat conftest.err >&5
3017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018
 
  (exit $ac_status); } && {
3019
 
         test -z "$ac_c_werror_flag" ||
3020
 
         test ! -s conftest.err
3021
 
       } && test -s conftest.$ac_objext; then
 
3351
if ac_fn_c_try_compile "$LINENO"; then :
3022
3352
  ac_compiler_gnu=yes
3023
3353
else
3024
 
  echo "$as_me: failed program was:" >&5
3025
 
sed 's/^/| /' conftest.$ac_ext >&5
3026
 
 
3027
 
        ac_compiler_gnu=no
 
3354
  ac_compiler_gnu=no
3028
3355
fi
3029
 
 
3030
3356
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031
3357
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3032
3358
 
3033
3359
fi
3034
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3035
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3036
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
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
3037
3367
ac_test_CFLAGS=${CFLAGS+set}
3038
3368
ac_save_CFLAGS=$CFLAGS
3039
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3040
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3041
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3043
3373
else
3044
3374
  ac_save_c_werror_flag=$ac_c_werror_flag
3045
3375
   ac_c_werror_flag=yes
3046
3376
   ac_cv_prog_cc_g=no
3047
3377
   CFLAGS="-g"
3048
 
   cat >conftest.$ac_ext <<_ACEOF
3049
 
/* confdefs.h.  */
3050
 
_ACEOF
3051
 
cat confdefs.h >>conftest.$ac_ext
3052
 
cat >>conftest.$ac_ext <<_ACEOF
 
3378
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053
3379
/* end confdefs.h.  */
3054
3380
 
3055
3381
int
3060
3386
  return 0;
3061
3387
}
3062
3388
_ACEOF
3063
 
rm -f conftest.$ac_objext
3064
 
if { (ac_try="$ac_compile"
3065
 
case "(($ac_try" in
3066
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067
 
  *) ac_try_echo=$ac_try;;
3068
 
esac
3069
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070
 
  (eval "$ac_compile") 2>conftest.er1
3071
 
  ac_status=$?
3072
 
  grep -v '^ *+' conftest.er1 >conftest.err
3073
 
  rm -f conftest.er1
3074
 
  cat conftest.err >&5
3075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
 
  (exit $ac_status); } && {
3077
 
         test -z "$ac_c_werror_flag" ||
3078
 
         test ! -s conftest.err
3079
 
       } && test -s conftest.$ac_objext; then
 
3389
if ac_fn_c_try_compile "$LINENO"; then :
3080
3390
  ac_cv_prog_cc_g=yes
3081
3391
else
3082
 
  echo "$as_me: failed program was:" >&5
3083
 
sed 's/^/| /' conftest.$ac_ext >&5
3084
 
 
3085
 
        CFLAGS=""
3086
 
      cat >conftest.$ac_ext <<_ACEOF
3087
 
/* confdefs.h.  */
3088
 
_ACEOF
3089
 
cat confdefs.h >>conftest.$ac_ext
3090
 
cat >>conftest.$ac_ext <<_ACEOF
 
3392
  CFLAGS=""
 
3393
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091
3394
/* end confdefs.h.  */
3092
3395
 
3093
3396
int
3098
3401
  return 0;
3099
3402
}
3100
3403
_ACEOF
3101
 
rm -f conftest.$ac_objext
3102
 
if { (ac_try="$ac_compile"
3103
 
case "(($ac_try" in
3104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105
 
  *) ac_try_echo=$ac_try;;
3106
 
esac
3107
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108
 
  (eval "$ac_compile") 2>conftest.er1
3109
 
  ac_status=$?
3110
 
  grep -v '^ *+' conftest.er1 >conftest.err
3111
 
  rm -f conftest.er1
3112
 
  cat conftest.err >&5
3113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114
 
  (exit $ac_status); } && {
3115
 
         test -z "$ac_c_werror_flag" ||
3116
 
         test ! -s conftest.err
3117
 
       } && test -s conftest.$ac_objext; then
3118
 
  :
 
3404
if ac_fn_c_try_compile "$LINENO"; then :
 
3405
 
3119
3406
else
3120
 
  echo "$as_me: failed program was:" >&5
3121
 
sed 's/^/| /' conftest.$ac_ext >&5
3122
 
 
3123
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3407
  ac_c_werror_flag=$ac_save_c_werror_flag
3124
3408
         CFLAGS="-g"
3125
 
         cat >conftest.$ac_ext <<_ACEOF
3126
 
/* confdefs.h.  */
3127
 
_ACEOF
3128
 
cat confdefs.h >>conftest.$ac_ext
3129
 
cat >>conftest.$ac_ext <<_ACEOF
 
3409
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130
3410
/* end confdefs.h.  */
3131
3411
 
3132
3412
int
3137
3417
  return 0;
3138
3418
}
3139
3419
_ACEOF
3140
 
rm -f conftest.$ac_objext
3141
 
if { (ac_try="$ac_compile"
3142
 
case "(($ac_try" in
3143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
 
  *) ac_try_echo=$ac_try;;
3145
 
esac
3146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147
 
  (eval "$ac_compile") 2>conftest.er1
3148
 
  ac_status=$?
3149
 
  grep -v '^ *+' conftest.er1 >conftest.err
3150
 
  rm -f conftest.er1
3151
 
  cat conftest.err >&5
3152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); } && {
3154
 
         test -z "$ac_c_werror_flag" ||
3155
 
         test ! -s conftest.err
3156
 
       } && test -s conftest.$ac_objext; then
 
3420
if ac_fn_c_try_compile "$LINENO"; then :
3157
3421
  ac_cv_prog_cc_g=yes
3158
 
else
3159
 
  echo "$as_me: failed program was:" >&5
3160
 
sed 's/^/| /' conftest.$ac_ext >&5
3161
 
 
3162
 
 
3163
 
fi
3164
 
 
3165
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166
 
fi
3167
 
 
3168
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169
 
fi
3170
 
 
 
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
3171
3427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172
3428
   ac_c_werror_flag=$ac_save_c_werror_flag
3173
3429
fi
3174
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3175
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3431
$as_echo "$ac_cv_prog_cc_g" >&6; }
3176
3432
if test "$ac_test_CFLAGS" = set; then
3177
3433
  CFLAGS=$ac_save_CFLAGS
3178
3434
elif test $ac_cv_prog_cc_g = yes; then
3188
3444
    CFLAGS=
3189
3445
  fi
3190
3446
fi
3191
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3192
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3193
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3195
3451
else
3196
3452
  ac_cv_prog_cc_c89=no
3197
3453
ac_save_CC=$CC
3198
 
cat >conftest.$ac_ext <<_ACEOF
3199
 
/* confdefs.h.  */
3200
 
_ACEOF
3201
 
cat confdefs.h >>conftest.$ac_ext
3202
 
cat >>conftest.$ac_ext <<_ACEOF
 
3454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203
3455
/* end confdefs.h.  */
3204
3456
#include <stdarg.h>
3205
3457
#include <stdio.h>
3256
3508
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3257
3509
do
3258
3510
  CC="$ac_save_CC $ac_arg"
3259
 
  rm -f conftest.$ac_objext
3260
 
if { (ac_try="$ac_compile"
3261
 
case "(($ac_try" in
3262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263
 
  *) ac_try_echo=$ac_try;;
3264
 
esac
3265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3266
 
  (eval "$ac_compile") 2>conftest.er1
3267
 
  ac_status=$?
3268
 
  grep -v '^ *+' conftest.er1 >conftest.err
3269
 
  rm -f conftest.er1
3270
 
  cat conftest.err >&5
3271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272
 
  (exit $ac_status); } && {
3273
 
         test -z "$ac_c_werror_flag" ||
3274
 
         test ! -s conftest.err
3275
 
       } && test -s conftest.$ac_objext; then
 
3511
  if ac_fn_c_try_compile "$LINENO"; then :
3276
3512
  ac_cv_prog_cc_c89=$ac_arg
3277
 
else
3278
 
  echo "$as_me: failed program was:" >&5
3279
 
sed 's/^/| /' conftest.$ac_ext >&5
3280
 
 
3281
 
 
3282
3513
fi
3283
 
 
3284
3514
rm -f core conftest.err conftest.$ac_objext
3285
3515
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3286
3516
done
3291
3521
# AC_CACHE_VAL
3292
3522
case "x$ac_cv_prog_cc_c89" in
3293
3523
  x)
3294
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3295
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3524
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3525
$as_echo "none needed" >&6; } ;;
3296
3526
  xno)
3297
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3298
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3527
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3528
$as_echo "unsupported" >&6; } ;;
3299
3529
  *)
3300
3530
    CC="$CC $ac_cv_prog_cc_c89"
3301
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3302
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3531
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3532
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3303
3533
esac
 
3534
if test "x$ac_cv_prog_cc_c89" != xno; then :
3304
3535
 
 
3536
fi
3305
3537
 
3306
3538
ac_ext=c
3307
3539
ac_cpp='$CPP $CPPFLAGS'
3311
3543
 
3312
3544
depcc="$CC"   am_compiler_list=
3313
3545
 
3314
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3315
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3316
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3317
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3318
3550
else
3319
3551
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3320
3552
  # We make a subdir and do the tests there.  Otherwise we can end up
3339
3571
  if test "$am_compiler_list" = ""; then
3340
3572
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3341
3573
  fi
 
3574
  am__universal=false
 
3575
  case " $depcc " in #(
 
3576
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3577
     esac
 
3578
 
3342
3579
  for depmode in $am_compiler_list; do
3343
3580
    # Setup a source with many dependencies, because some compilers
3344
3581
    # like to wrap large dependency lists on column 80 (with \), and
3356
3593
    done
3357
3594
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3358
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"
3359
3602
    case $depmode in
 
3603
    gcc)
 
3604
      # This depmode causes a compiler race in universal mode.
 
3605
      test "$am__universal" = false || continue
 
3606
      ;;
3360
3607
    nosideeffect)
3361
3608
      # after this tag, mechanisms are not by side-effect, so they'll
3362
3609
      # only be used when explicitly requested
3366
3613
        break
3367
3614
      fi
3368
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
      ;;
3369
3623
    none) break ;;
3370
3624
    esac
3371
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3372
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3373
 
    # handle `-M -o', and we need to detect this.
3374
3625
    if depmode=$depmode \
3375
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3626
       source=sub/conftest.c object=$am__obj \
3376
3627
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3377
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3628
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3378
3629
         >/dev/null 2>conftest.err &&
3379
3630
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3380
3631
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3381
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3632
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3382
3633
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3383
3634
      # icc doesn't choke on unknown options, it will just issue warnings
3384
3635
      # or remarks (even with -Werror).  So we grep stderr for any message
3402
3653
fi
3403
3654
 
3404
3655
fi
3405
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3406
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
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; }
3407
3658
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3408
3659
 
3409
3660
 if
3418
3669
 
3419
3670
 
3420
3671
if test "x$CC" != xcc; then
3421
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3422
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
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; }
3423
3674
else
3424
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3425
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
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; }
3426
3677
fi
3427
 
set dummy $CC; ac_cc=`echo $2 |
 
3678
set dummy $CC; ac_cc=`$as_echo "$2" |
3428
3679
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3429
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3430
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3431
3682
else
3432
 
  cat >conftest.$ac_ext <<_ACEOF
3433
 
/* confdefs.h.  */
3434
 
_ACEOF
3435
 
cat confdefs.h >>conftest.$ac_ext
3436
 
cat >>conftest.$ac_ext <<_ACEOF
 
3683
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437
3684
/* end confdefs.h.  */
3438
3685
 
3439
3686
int
3449
3696
# existing .o file with -o, though they will create one.
3450
3697
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3451
3698
rm -f conftest2.*
3452
 
if { (case "(($ac_try" in
3453
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
 
  *) ac_try_echo=$ac_try;;
3455
 
esac
3456
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457
 
  (eval "$ac_try") 2>&5
3458
 
  ac_status=$?
3459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460
 
  (exit $ac_status); } &&
3461
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463
 
  *) ac_try_echo=$ac_try;;
3464
 
esac
3465
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466
 
  (eval "$ac_try") 2>&5
3467
 
  ac_status=$?
3468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
 
  (exit $ac_status); };
 
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; };
3470
3719
then
3471
3720
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3472
3721
  if test "x$CC" != xcc; then
3473
3722
    # Test first that cc exists at all.
3474
3723
    if { ac_try='cc -c conftest.$ac_ext >&5'
3475
 
  { (case "(($ac_try" in
 
3724
  { { case "(($ac_try" in
3476
3725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
3726
  *) ac_try_echo=$ac_try;;
3478
3727
esac
3479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3728
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3729
$as_echo "$ac_try_echo"; } >&5
3480
3730
  (eval "$ac_try") 2>&5
3481
3731
  ac_status=$?
3482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
 
  (exit $ac_status); }; }; then
 
3732
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3733
  test $ac_status = 0; }; }; then
3484
3734
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3485
3735
      rm -f conftest2.*
3486
 
      if { (case "(($ac_try" in
3487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
 
  *) ac_try_echo=$ac_try;;
3489
 
esac
3490
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491
 
  (eval "$ac_try") 2>&5
3492
 
  ac_status=$?
3493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
 
  (exit $ac_status); } &&
3495
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
3496
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497
 
  *) ac_try_echo=$ac_try;;
3498
 
esac
3499
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3500
 
  (eval "$ac_try") 2>&5
3501
 
  ac_status=$?
3502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503
 
  (exit $ac_status); };
 
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; };
3504
3756
      then
3505
3757
        # cc works too.
3506
3758
        :
3517
3769
 
3518
3770
fi
3519
3771
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3520
 
  { echo "$as_me:$LINENO: result: yes" >&5
3521
 
echo "${ECHO_T}yes" >&6; }
 
3772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3773
$as_echo "yes" >&6; }
3522
3774
else
3523
 
  { echo "$as_me:$LINENO: result: no" >&5
3524
 
echo "${ECHO_T}no" >&6; }
 
3775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3776
$as_echo "no" >&6; }
3525
3777
 
3526
 
cat >>confdefs.h <<\_ACEOF
3527
 
#define NO_MINUS_C_MINUS_O 1
3528
 
_ACEOF
 
3778
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3529
3779
 
3530
3780
fi
3531
3781
 
3532
3782
# FIXME: we rely on the cache variable name because
3533
3783
# there is no other way.
3534
3784
set dummy $CC
3535
 
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3536
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
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
3537
3788
   # Losing compiler, so override with the script.
3538
3789
   # FIXME: It is wrong to rewrite CC.
3539
3790
   # But if we don't then we get into trouble of one sort or another.
3544
3795
 
3545
3796
 
3546
3797
 
3547
 
cat >>confdefs.h <<\_ACEOF
3548
 
#define _GNU_SOURCE 1
3549
 
_ACEOF
 
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
 
3550
4256
 
3551
4257
 
3552
4258
# Extract the first word of "setcap", so it can be a program name with args.
3553
4259
set dummy setcap; ac_word=$2
3554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3556
 
if test "${ac_cv_prog_SETCAP+set}" = set; then
3557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3558
4264
else
3559
4265
  if test -n "$SETCAP"; then
3560
4266
  ac_cv_prog_SETCAP="$SETCAP" # Let the user override the test.
3564
4270
do
3565
4271
  IFS=$as_save_IFS
3566
4272
  test -z "$as_dir" && as_dir=.
3567
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4273
    for ac_exec_ext in '' $ac_executable_extensions; do
3568
4274
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569
4275
    ac_cv_prog_SETCAP="yes"
3570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4276
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571
4277
    break 2
3572
4278
  fi
3573
4279
done
3574
 
done
 
4280
  done
3575
4281
IFS=$as_save_IFS
3576
4282
 
3577
4283
  test -z "$ac_cv_prog_SETCAP" && ac_cv_prog_SETCAP="no"
3579
4285
fi
3580
4286
SETCAP=$ac_cv_prog_SETCAP
3581
4287
if test -n "$SETCAP"; then
3582
 
  { echo "$as_me:$LINENO: result: $SETCAP" >&5
3583
 
echo "${ECHO_T}$SETCAP" >&6; }
 
4288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
 
4289
$as_echo "$SETCAP" >&6; }
3584
4290
else
3585
 
  { echo "$as_me:$LINENO: result: no" >&5
3586
 
echo "${ECHO_T}no" >&6; }
 
4291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4292
$as_echo "no" >&6; }
3587
4293
fi
3588
4294
 
3589
4295
 
3590
4296
 
3591
4297
# Check whether --enable-doc was given.
3592
 
if test "${enable_doc+set}" = set; then
 
4298
if test "${enable_doc+set}" = set; then :
3593
4299
  enableval=$enable_doc;
3594
4300
else
3595
4301
  enable_doc=auto
3599
4305
if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
3600
4306
        # Extract the first word of "docbook2man", so it can be a program name with args.
3601
4307
set dummy docbook2man; ac_word=$2
3602
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3603
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3604
 
if test "${ac_cv_prog_have_docbook+set}" = set; then
3605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
3606
4312
else
3607
4313
  if test -n "$have_docbook"; then
3608
4314
  ac_cv_prog_have_docbook="$have_docbook" # Let the user override the test.
3612
4318
do
3613
4319
  IFS=$as_save_IFS
3614
4320
  test -z "$as_dir" && as_dir=.
3615
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4321
    for ac_exec_ext in '' $ac_executable_extensions; do
3616
4322
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617
4323
    ac_cv_prog_have_docbook="yes"
3618
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4324
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619
4325
    break 2
3620
4326
  fi
3621
4327
done
3622
 
done
 
4328
  done
3623
4329
IFS=$as_save_IFS
3624
4330
 
3625
4331
  test -z "$ac_cv_prog_have_docbook" && ac_cv_prog_have_docbook="no"
3627
4333
fi
3628
4334
have_docbook=$ac_cv_prog_have_docbook
3629
4335
if test -n "$have_docbook"; then
3630
 
  { echo "$as_me:$LINENO: result: $have_docbook" >&5
3631
 
echo "${ECHO_T}$have_docbook" >&6; }
 
4336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_docbook" >&5
 
4337
$as_echo "$have_docbook" >&6; }
3632
4338
else
3633
 
  { echo "$as_me:$LINENO: result: no" >&5
3634
 
echo "${ECHO_T}no" >&6; }
 
4339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4340
$as_echo "no" >&6; }
3635
4341
fi
3636
4342
 
3637
4343
 
3638
4344
 
3639
4345
        test "x$have_docbook" = "xno" -a "x$enable_doc" = "xyes" && \
3640
 
                { { echo "$as_me:$LINENO: error: docbook2man required by man request, but not found" >&5
3641
 
echo "$as_me: error: docbook2man required by man request, but not found" >&2;}
3642
 
   { (exit 1); exit 1; }; }
 
4346
                as_fn_error "docbook2man required by man request, but not found" "$LINENO" 5
3643
4347
fi
3644
4348
 
3645
4349
 if test "x$have_docbook" = "xyes"; then
3652
4356
 
3653
4357
 
3654
4358
# Check whether --enable-examples was given.
3655
 
if test "${enable_examples+set}" = set; then
 
4359
if test "${enable_examples+set}" = set; then :
3656
4360
  enableval=$enable_examples;
3657
4361
else
3658
4362
  enable_examples=yes
3781
4485
    exec_prefix=$exec_prefix_save
3782
4486
 
3783
4487
 
3784
 
    EXP_VAR=LIBEXECDIR
3785
 
    FROM_VAR=$libexecdir
3786
 
 
3787
 
        prefix_save=$prefix
3788
 
    exec_prefix_save=$exec_prefix
3789
 
 
3790
 
        if test "x$prefix" = "xNONE"; then
3791
 
        prefix="$ac_default_prefix"
3792
 
    fi
3793
 
        if test "x$exec_prefix" = "xNONE"; then
3794
 
        exec_prefix=$prefix
3795
 
    fi
3796
 
 
3797
 
    full_var="$FROM_VAR"
3798
 
        while true; do
3799
 
        new_full_var="`eval echo $full_var`"
3800
 
        if test "x$new_full_var" = "x$full_var"; then break; fi
3801
 
        full_var=$new_full_var
3802
 
    done
3803
 
 
3804
 
        full_var=$new_full_var
3805
 
    LIBEXECDIR="$full_var"
3806
 
 
3807
 
 
3808
 
        prefix=$prefix_save
3809
 
    exec_prefix=$exec_prefix_save
3810
 
 
3811
 
 
3812
4488
    EXP_VAR=SYSCONFDIR
3813
4489
    FROM_VAR=$sysconfdir
3814
4490
 
3923
4599
 
3924
4600
 
3925
4601
# Check whether --with-config-path was given.
3926
 
if test "${with_config_path+set}" = set; then
 
4602
if test "${with_config_path+set}" = set; then :
3927
4603
  withval=$with_config_path;
3928
4604
else
3929
4605
  with_config_path="${localstatedir}/lib/lxc"
3931
4607
 
3932
4608
 
3933
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
 
3934
4619
    EXP_VAR=LXC_GENERATE_DATE
3935
4620
    FROM_VAR="$(date)"
3936
4621
 
3959
4644
    exec_prefix=$exec_prefix_save
3960
4645
 
3961
4646
 
 
4647
 
3962
4648
    EXP_VAR=LXCPATH
3963
4649
    FROM_VAR="${with_config_path}"
3964
4650
 
3987
4673
    exec_prefix=$exec_prefix_save
3988
4674
 
3989
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
 
3990
4759
 
3991
4760
 
3992
4761
 
3995
4764
_ACEOF
3996
4765
 
3997
4766
cat >>confdefs.h <<_ACEOF
3998
 
#define LXCLIBEXECDIR "$LIBEXECDIR"
3999
 
_ACEOF
4000
 
 
4001
 
 
4002
 
 
 
4767
#define LXCINITDIR "$LXCINITDIR"
 
4768
_ACEOF
 
4769
 
 
4770
cat >>confdefs.h <<_ACEOF
 
4771
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
 
4772
_ACEOF
4003
4773
 
4004
4774
 
4005
4775
for ac_header in linux/netlink.h linux/genetlink.h
4006
 
do
4007
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4008
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4009
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4010
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4012
 
else
4013
 
  cat >conftest.$ac_ext <<_ACEOF
4014
 
/* confdefs.h.  */
4015
 
_ACEOF
4016
 
cat confdefs.h >>conftest.$ac_ext
4017
 
cat >>conftest.$ac_ext <<_ACEOF
4018
 
/* end confdefs.h.  */
4019
 
#include <sys/socket.h>
4020
 
 
4021
 
 
4022
 
#include <$ac_header>
4023
 
_ACEOF
4024
 
rm -f conftest.$ac_objext
4025
 
if { (ac_try="$ac_compile"
4026
 
case "(($ac_try" in
4027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028
 
  *) ac_try_echo=$ac_try;;
4029
 
esac
4030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031
 
  (eval "$ac_compile") 2>conftest.er1
4032
 
  ac_status=$?
4033
 
  grep -v '^ *+' conftest.er1 >conftest.err
4034
 
  rm -f conftest.er1
4035
 
  cat conftest.err >&5
4036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037
 
  (exit $ac_status); } && {
4038
 
         test -z "$ac_c_werror_flag" ||
4039
 
         test ! -s conftest.err
4040
 
       } && test -s conftest.$ac_objext; then
4041
 
  eval "$as_ac_Header=yes"
4042
 
else
4043
 
  echo "$as_me: failed program was:" >&5
4044
 
sed 's/^/| /' conftest.$ac_ext >&5
4045
 
 
4046
 
        eval "$as_ac_Header=no"
4047
 
fi
4048
 
 
4049
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050
 
fi
4051
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4052
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4053
 
echo "${ECHO_T}$ac_res" >&6; }
4054
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
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 :
4055
4783
  cat >>confdefs.h <<_ACEOF
4056
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4784
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4057
4785
_ACEOF
4058
4786
 
4059
4787
else
4060
 
  { { echo "$as_me:$LINENO: error: netlink headers not found. Please install the linux kernel headers." >&5
4061
 
echo "$as_me: error: netlink headers not found. Please install the linux kernel headers." >&2;}
4062
 
   { (exit 1); exit 1; }; }
 
4788
  as_fn_error "netlink headers not found. Please install the linux kernel headers." "$LINENO" 5
4063
4789
fi
4064
4790
 
4065
4791
done
4066
4792
 
4067
4793
 
4068
 
 
4069
4794
for ac_header in sys/capability.h
4070
 
do
4071
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4072
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4073
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4074
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4076
 
else
4077
 
  cat >conftest.$ac_ext <<_ACEOF
4078
 
/* confdefs.h.  */
4079
 
_ACEOF
4080
 
cat confdefs.h >>conftest.$ac_ext
4081
 
cat >>conftest.$ac_ext <<_ACEOF
4082
 
/* end confdefs.h.  */
4083
 
#include <sys/types.h>
 
4795
do :
 
4796
  ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "#include <sys/types.h>
4084
4797
#include <sys/capability.h>
4085
 
 
4086
 
#include <$ac_header>
4087
 
_ACEOF
4088
 
rm -f conftest.$ac_objext
4089
 
if { (ac_try="$ac_compile"
4090
 
case "(($ac_try" in
4091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092
 
  *) ac_try_echo=$ac_try;;
4093
 
esac
4094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095
 
  (eval "$ac_compile") 2>conftest.er1
4096
 
  ac_status=$?
4097
 
  grep -v '^ *+' conftest.er1 >conftest.err
4098
 
  rm -f conftest.er1
4099
 
  cat conftest.err >&5
4100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101
 
  (exit $ac_status); } && {
4102
 
         test -z "$ac_c_werror_flag" ||
4103
 
         test ! -s conftest.err
4104
 
       } && test -s conftest.$ac_objext; then
4105
 
  eval "$as_ac_Header=yes"
4106
 
else
4107
 
  echo "$as_me: failed program was:" >&5
4108
 
sed 's/^/| /' conftest.$ac_ext >&5
4109
 
 
4110
 
        eval "$as_ac_Header=no"
4111
 
fi
4112
 
 
4113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114
 
fi
4115
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4116
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4117
 
echo "${ECHO_T}$ac_res" >&6; }
4118
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4798
"
 
4799
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
4119
4800
  cat >>confdefs.h <<_ACEOF
4120
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4801
#define HAVE_SYS_CAPABILITY_H 1
4121
4802
_ACEOF
4122
4803
 
4123
4804
else
4124
 
  { { echo "$as_me:$LINENO: error: please install libcap-devel." >&5
4125
 
echo "$as_me: error: please install libcap-devel." >&2;}
4126
 
   { (exit 1); exit 1; }; }
 
4805
  as_fn_error "please install libcap-devel." "$LINENO" 5
4127
4806
fi
4128
4807
 
4129
4808
done
4130
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
 
4131
4862
 
4132
4863
# Some systems lack PR_CAPBSET_DROP definition => HAVE_DECL_PR_CAPBSET_DROP
4133
 
{ echo "$as_me:$LINENO: checking whether PR_CAPBSET_DROP is declared" >&5
4134
 
echo $ECHO_N "checking whether PR_CAPBSET_DROP is declared... $ECHO_C" >&6; }
4135
 
if test "${ac_cv_have_decl_PR_CAPBSET_DROP+set}" = set; then
4136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4137
 
else
4138
 
  cat >conftest.$ac_ext <<_ACEOF
4139
 
/* confdefs.h.  */
4140
 
_ACEOF
4141
 
cat confdefs.h >>conftest.$ac_ext
4142
 
cat >>conftest.$ac_ext <<_ACEOF
4143
 
/* end confdefs.h.  */
4144
 
#include <sys/prctl.h>
4145
 
 
4146
 
int
4147
 
main ()
4148
 
{
4149
 
#ifndef PR_CAPBSET_DROP
4150
 
  (void) PR_CAPBSET_DROP;
4151
 
#endif
4152
 
 
4153
 
  ;
4154
 
  return 0;
4155
 
}
4156
 
_ACEOF
4157
 
rm -f conftest.$ac_objext
4158
 
if { (ac_try="$ac_compile"
4159
 
case "(($ac_try" in
4160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161
 
  *) ac_try_echo=$ac_try;;
4162
 
esac
4163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164
 
  (eval "$ac_compile") 2>conftest.er1
4165
 
  ac_status=$?
4166
 
  grep -v '^ *+' conftest.er1 >conftest.err
4167
 
  rm -f conftest.er1
4168
 
  cat conftest.err >&5
4169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170
 
  (exit $ac_status); } && {
4171
 
         test -z "$ac_c_werror_flag" ||
4172
 
         test ! -s conftest.err
4173
 
       } && test -s conftest.$ac_objext; then
4174
 
  ac_cv_have_decl_PR_CAPBSET_DROP=yes
4175
 
else
4176
 
  echo "$as_me: failed program was:" >&5
4177
 
sed 's/^/| /' conftest.$ac_ext >&5
4178
 
 
4179
 
        ac_cv_have_decl_PR_CAPBSET_DROP=no
4180
 
fi
4181
 
 
4182
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183
 
fi
4184
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PR_CAPBSET_DROP" >&5
4185
 
echo "${ECHO_T}$ac_cv_have_decl_PR_CAPBSET_DROP" >&6; }
4186
 
if test $ac_cv_have_decl_PR_CAPBSET_DROP = yes; then
 
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
4187
4871
 
4188
4872
cat >>confdefs.h <<_ACEOF
4189
 
#define HAVE_DECL_PR_CAPBSET_DROP 1
4190
 
_ACEOF
4191
 
 
4192
 
 
4193
 
else
4194
 
  cat >>confdefs.h <<_ACEOF
4195
 
#define HAVE_DECL_PR_CAPBSET_DROP 0
4196
 
_ACEOF
4197
 
 
4198
 
 
4199
 
fi
4200
 
 
4201
 
 
4202
 
 
4203
 
ac_ext=c
4204
 
ac_cpp='$CPP $CPPFLAGS'
4205
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4209
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4210
 
# On Suns, sometimes $CPP names a directory.
4211
 
if test -n "$CPP" && test -d "$CPP"; then
4212
 
  CPP=
4213
 
fi
4214
 
if test -z "$CPP"; then
4215
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4217
 
else
4218
 
      # Double quotes because CPP needs to be expanded
4219
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4220
 
    do
4221
 
      ac_preproc_ok=false
4222
 
for ac_c_preproc_warn_flag in '' yes
4223
 
do
4224
 
  # Use a header file that comes with gcc, so configuring glibc
4225
 
  # with a fresh cross-compiler works.
4226
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4227
 
  # <limits.h> exists even on freestanding compilers.
4228
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4229
 
  # not just through cpp. "Syntax error" is here to catch this case.
4230
 
  cat >conftest.$ac_ext <<_ACEOF
4231
 
/* confdefs.h.  */
4232
 
_ACEOF
4233
 
cat confdefs.h >>conftest.$ac_ext
4234
 
cat >>conftest.$ac_ext <<_ACEOF
4235
 
/* end confdefs.h.  */
4236
 
#ifdef __STDC__
4237
 
# include <limits.h>
4238
 
#else
4239
 
# include <assert.h>
4240
 
#endif
4241
 
                     Syntax error
4242
 
_ACEOF
4243
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4244
 
case "(($ac_try" in
4245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246
 
  *) ac_try_echo=$ac_try;;
4247
 
esac
4248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4250
 
  ac_status=$?
4251
 
  grep -v '^ *+' conftest.er1 >conftest.err
4252
 
  rm -f conftest.er1
4253
 
  cat conftest.err >&5
4254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255
 
  (exit $ac_status); } >/dev/null && {
4256
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4257
 
         test ! -s conftest.err
4258
 
       }; then
4259
 
  :
4260
 
else
4261
 
  echo "$as_me: failed program was:" >&5
4262
 
sed 's/^/| /' conftest.$ac_ext >&5
4263
 
 
4264
 
  # Broken: fails on valid input.
4265
 
continue
4266
 
fi
4267
 
 
4268
 
rm -f conftest.err conftest.$ac_ext
4269
 
 
4270
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4271
 
  # can be detected and how.
4272
 
  cat >conftest.$ac_ext <<_ACEOF
4273
 
/* confdefs.h.  */
4274
 
_ACEOF
4275
 
cat confdefs.h >>conftest.$ac_ext
4276
 
cat >>conftest.$ac_ext <<_ACEOF
4277
 
/* end confdefs.h.  */
4278
 
#include <ac_nonexistent.h>
4279
 
_ACEOF
4280
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4281
 
case "(($ac_try" in
4282
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283
 
  *) ac_try_echo=$ac_try;;
4284
 
esac
4285
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4287
 
  ac_status=$?
4288
 
  grep -v '^ *+' conftest.er1 >conftest.err
4289
 
  rm -f conftest.er1
4290
 
  cat conftest.err >&5
4291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292
 
  (exit $ac_status); } >/dev/null && {
4293
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4294
 
         test ! -s conftest.err
4295
 
       }; then
4296
 
  # Broken: success on invalid input.
4297
 
continue
4298
 
else
4299
 
  echo "$as_me: failed program was:" >&5
4300
 
sed 's/^/| /' conftest.$ac_ext >&5
4301
 
 
4302
 
  # Passes both tests.
4303
 
ac_preproc_ok=:
4304
 
break
4305
 
fi
4306
 
 
4307
 
rm -f conftest.err conftest.$ac_ext
4308
 
 
4309
 
done
4310
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4311
 
rm -f conftest.err conftest.$ac_ext
4312
 
if $ac_preproc_ok; then
4313
 
  break
4314
 
fi
4315
 
 
4316
 
    done
4317
 
    ac_cv_prog_CPP=$CPP
4318
 
 
4319
 
fi
4320
 
  CPP=$ac_cv_prog_CPP
4321
 
else
4322
 
  ac_cv_prog_CPP=$CPP
4323
 
fi
4324
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4325
 
echo "${ECHO_T}$CPP" >&6; }
4326
 
ac_preproc_ok=false
4327
 
for ac_c_preproc_warn_flag in '' yes
4328
 
do
4329
 
  # Use a header file that comes with gcc, so configuring glibc
4330
 
  # with a fresh cross-compiler works.
4331
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4332
 
  # <limits.h> exists even on freestanding compilers.
4333
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4334
 
  # not just through cpp. "Syntax error" is here to catch this case.
4335
 
  cat >conftest.$ac_ext <<_ACEOF
4336
 
/* confdefs.h.  */
4337
 
_ACEOF
4338
 
cat confdefs.h >>conftest.$ac_ext
4339
 
cat >>conftest.$ac_ext <<_ACEOF
4340
 
/* end confdefs.h.  */
4341
 
#ifdef __STDC__
4342
 
# include <limits.h>
4343
 
#else
4344
 
# include <assert.h>
4345
 
#endif
4346
 
                     Syntax error
4347
 
_ACEOF
4348
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4349
 
case "(($ac_try" in
4350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351
 
  *) ac_try_echo=$ac_try;;
4352
 
esac
4353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4354
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4355
 
  ac_status=$?
4356
 
  grep -v '^ *+' conftest.er1 >conftest.err
4357
 
  rm -f conftest.er1
4358
 
  cat conftest.err >&5
4359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360
 
  (exit $ac_status); } >/dev/null && {
4361
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4362
 
         test ! -s conftest.err
4363
 
       }; then
4364
 
  :
4365
 
else
4366
 
  echo "$as_me: failed program was:" >&5
4367
 
sed 's/^/| /' conftest.$ac_ext >&5
4368
 
 
4369
 
  # Broken: fails on valid input.
4370
 
continue
4371
 
fi
4372
 
 
4373
 
rm -f conftest.err conftest.$ac_ext
4374
 
 
4375
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4376
 
  # can be detected and how.
4377
 
  cat >conftest.$ac_ext <<_ACEOF
4378
 
/* confdefs.h.  */
4379
 
_ACEOF
4380
 
cat confdefs.h >>conftest.$ac_ext
4381
 
cat >>conftest.$ac_ext <<_ACEOF
4382
 
/* end confdefs.h.  */
4383
 
#include <ac_nonexistent.h>
4384
 
_ACEOF
4385
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4386
 
case "(($ac_try" in
4387
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388
 
  *) ac_try_echo=$ac_try;;
4389
 
esac
4390
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4391
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4392
 
  ac_status=$?
4393
 
  grep -v '^ *+' conftest.er1 >conftest.err
4394
 
  rm -f conftest.er1
4395
 
  cat conftest.err >&5
4396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
 
  (exit $ac_status); } >/dev/null && {
4398
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4399
 
         test ! -s conftest.err
4400
 
       }; then
4401
 
  # Broken: success on invalid input.
4402
 
continue
4403
 
else
4404
 
  echo "$as_me: failed program was:" >&5
4405
 
sed 's/^/| /' conftest.$ac_ext >&5
4406
 
 
4407
 
  # Passes both tests.
4408
 
ac_preproc_ok=:
4409
 
break
4410
 
fi
4411
 
 
4412
 
rm -f conftest.err conftest.$ac_ext
4413
 
 
4414
 
done
4415
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4416
 
rm -f conftest.err conftest.$ac_ext
4417
 
if $ac_preproc_ok; then
4418
 
  :
4419
 
else
4420
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4421
 
See \`config.log' for more details." >&5
4422
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4423
 
See \`config.log' for more details." >&2;}
4424
 
   { (exit 1); exit 1; }; }
4425
 
fi
4426
 
 
4427
 
ac_ext=c
4428
 
ac_cpp='$CPP $CPPFLAGS'
4429
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432
 
 
4433
 
 
4434
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4435
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4436
 
if test "${ac_cv_path_GREP+set}" = set; then
4437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4438
 
else
4439
 
  # Extract the first word of "grep ggrep" to use in msg output
4440
 
if test -z "$GREP"; then
4441
 
set dummy grep ggrep; ac_prog_name=$2
4442
 
if test "${ac_cv_path_GREP+set}" = set; then
4443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4444
 
else
4445
 
  ac_path_GREP_found=false
4446
 
# Loop through the user's path and test for each of PROGNAME-LIST
4447
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4449
 
do
4450
 
  IFS=$as_save_IFS
4451
 
  test -z "$as_dir" && as_dir=.
4452
 
  for ac_prog in grep ggrep; do
4453
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4454
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4455
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4456
 
    # Check for GNU ac_path_GREP and select it if it is found.
4457
 
  # Check for GNU $ac_path_GREP
4458
 
case `"$ac_path_GREP" --version 2>&1` in
4459
 
*GNU*)
4460
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4461
 
*)
4462
 
  ac_count=0
4463
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4464
 
  while :
4465
 
  do
4466
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4467
 
    mv "conftest.tmp" "conftest.in"
4468
 
    cp "conftest.in" "conftest.nl"
4469
 
    echo 'GREP' >> "conftest.nl"
4470
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4471
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4472
 
    ac_count=`expr $ac_count + 1`
4473
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4474
 
      # Best one so far, save it but keep looking for a better one
4475
 
      ac_cv_path_GREP="$ac_path_GREP"
4476
 
      ac_path_GREP_max=$ac_count
4477
 
    fi
4478
 
    # 10*(2^10) chars as input seems more than enough
4479
 
    test $ac_count -gt 10 && break
4480
 
  done
4481
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4482
 
esac
4483
 
 
4484
 
 
4485
 
    $ac_path_GREP_found && break 3
4486
 
  done
4487
 
done
4488
 
 
4489
 
done
4490
 
IFS=$as_save_IFS
4491
 
 
4492
 
 
4493
 
fi
4494
 
 
4495
 
GREP="$ac_cv_path_GREP"
4496
 
if test -z "$GREP"; then
4497
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4498
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4499
 
   { (exit 1); exit 1; }; }
4500
 
fi
4501
 
 
4502
 
else
4503
 
  ac_cv_path_GREP=$GREP
4504
 
fi
4505
 
 
4506
 
 
4507
 
fi
4508
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4509
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4510
 
 GREP="$ac_cv_path_GREP"
4511
 
 
4512
 
 
4513
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4514
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4515
 
if test "${ac_cv_path_EGREP+set}" = set; then
4516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4517
 
else
4518
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4519
 
   then ac_cv_path_EGREP="$GREP -E"
4520
 
   else
4521
 
     # Extract the first word of "egrep" to use in msg output
4522
 
if test -z "$EGREP"; then
4523
 
set dummy egrep; ac_prog_name=$2
4524
 
if test "${ac_cv_path_EGREP+set}" = set; then
4525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4526
 
else
4527
 
  ac_path_EGREP_found=false
4528
 
# Loop through the user's path and test for each of PROGNAME-LIST
4529
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4531
 
do
4532
 
  IFS=$as_save_IFS
4533
 
  test -z "$as_dir" && as_dir=.
4534
 
  for ac_prog in egrep; do
4535
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4536
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4537
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4538
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4539
 
  # Check for GNU $ac_path_EGREP
4540
 
case `"$ac_path_EGREP" --version 2>&1` in
4541
 
*GNU*)
4542
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4543
 
*)
4544
 
  ac_count=0
4545
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4546
 
  while :
4547
 
  do
4548
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4549
 
    mv "conftest.tmp" "conftest.in"
4550
 
    cp "conftest.in" "conftest.nl"
4551
 
    echo 'EGREP' >> "conftest.nl"
4552
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4553
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4554
 
    ac_count=`expr $ac_count + 1`
4555
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4556
 
      # Best one so far, save it but keep looking for a better one
4557
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4558
 
      ac_path_EGREP_max=$ac_count
4559
 
    fi
4560
 
    # 10*(2^10) chars as input seems more than enough
4561
 
    test $ac_count -gt 10 && break
4562
 
  done
4563
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4564
 
esac
4565
 
 
4566
 
 
4567
 
    $ac_path_EGREP_found && break 3
4568
 
  done
4569
 
done
4570
 
 
4571
 
done
4572
 
IFS=$as_save_IFS
4573
 
 
4574
 
 
4575
 
fi
4576
 
 
4577
 
EGREP="$ac_cv_path_EGREP"
4578
 
if test -z "$EGREP"; then
4579
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4580
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4581
 
   { (exit 1); exit 1; }; }
4582
 
fi
4583
 
 
4584
 
else
4585
 
  ac_cv_path_EGREP=$EGREP
4586
 
fi
4587
 
 
4588
 
 
4589
 
   fi
4590
 
fi
4591
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4592
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4593
 
 EGREP="$ac_cv_path_EGREP"
4594
 
 
4595
 
 
4596
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4597
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4598
 
if test "${ac_cv_header_stdc+set}" = set; then
4599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4600
 
else
4601
 
  cat >conftest.$ac_ext <<_ACEOF
4602
 
/* confdefs.h.  */
4603
 
_ACEOF
4604
 
cat confdefs.h >>conftest.$ac_ext
4605
 
cat >>conftest.$ac_ext <<_ACEOF
4606
 
/* end confdefs.h.  */
4607
 
#include <stdlib.h>
4608
 
#include <stdarg.h>
4609
 
#include <string.h>
4610
 
#include <float.h>
4611
 
 
4612
 
int
4613
 
main ()
4614
 
{
4615
 
 
4616
 
  ;
4617
 
  return 0;
4618
 
}
4619
 
_ACEOF
4620
 
rm -f conftest.$ac_objext
4621
 
if { (ac_try="$ac_compile"
4622
 
case "(($ac_try" in
4623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624
 
  *) ac_try_echo=$ac_try;;
4625
 
esac
4626
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627
 
  (eval "$ac_compile") 2>conftest.er1
4628
 
  ac_status=$?
4629
 
  grep -v '^ *+' conftest.er1 >conftest.err
4630
 
  rm -f conftest.er1
4631
 
  cat conftest.err >&5
4632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
 
  (exit $ac_status); } && {
4634
 
         test -z "$ac_c_werror_flag" ||
4635
 
         test ! -s conftest.err
4636
 
       } && test -s conftest.$ac_objext; then
4637
 
  ac_cv_header_stdc=yes
4638
 
else
4639
 
  echo "$as_me: failed program was:" >&5
4640
 
sed 's/^/| /' conftest.$ac_ext >&5
4641
 
 
4642
 
        ac_cv_header_stdc=no
4643
 
fi
4644
 
 
4645
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646
 
 
4647
 
if test $ac_cv_header_stdc = yes; then
4648
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4649
 
  cat >conftest.$ac_ext <<_ACEOF
4650
 
/* confdefs.h.  */
4651
 
_ACEOF
4652
 
cat confdefs.h >>conftest.$ac_ext
4653
 
cat >>conftest.$ac_ext <<_ACEOF
4654
 
/* end confdefs.h.  */
4655
 
#include <string.h>
4656
 
 
4657
 
_ACEOF
4658
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4659
 
  $EGREP "memchr" >/dev/null 2>&1; then
4660
 
  :
4661
 
else
4662
 
  ac_cv_header_stdc=no
4663
 
fi
4664
 
rm -f conftest*
4665
 
 
4666
 
fi
4667
 
 
4668
 
if test $ac_cv_header_stdc = yes; then
4669
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4670
 
  cat >conftest.$ac_ext <<_ACEOF
4671
 
/* confdefs.h.  */
4672
 
_ACEOF
4673
 
cat confdefs.h >>conftest.$ac_ext
4674
 
cat >>conftest.$ac_ext <<_ACEOF
4675
 
/* end confdefs.h.  */
4676
 
#include <stdlib.h>
4677
 
 
4678
 
_ACEOF
4679
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4680
 
  $EGREP "free" >/dev/null 2>&1; then
4681
 
  :
4682
 
else
4683
 
  ac_cv_header_stdc=no
4684
 
fi
4685
 
rm -f conftest*
4686
 
 
4687
 
fi
4688
 
 
4689
 
if test $ac_cv_header_stdc = yes; then
4690
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4691
 
  if test "$cross_compiling" = yes; then
4692
 
  :
4693
 
else
4694
 
  cat >conftest.$ac_ext <<_ACEOF
4695
 
/* confdefs.h.  */
4696
 
_ACEOF
4697
 
cat confdefs.h >>conftest.$ac_ext
4698
 
cat >>conftest.$ac_ext <<_ACEOF
4699
 
/* end confdefs.h.  */
4700
 
#include <ctype.h>
4701
 
#include <stdlib.h>
4702
 
#if ((' ' & 0x0FF) == 0x020)
4703
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4704
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4705
 
#else
4706
 
# define ISLOWER(c) \
4707
 
                   (('a' <= (c) && (c) <= 'i') \
4708
 
                     || ('j' <= (c) && (c) <= 'r') \
4709
 
                     || ('s' <= (c) && (c) <= 'z'))
4710
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4711
 
#endif
4712
 
 
4713
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4714
 
int
4715
 
main ()
4716
 
{
4717
 
  int i;
4718
 
  for (i = 0; i < 256; i++)
4719
 
    if (XOR (islower (i), ISLOWER (i))
4720
 
        || toupper (i) != TOUPPER (i))
4721
 
      return 2;
4722
 
  return 0;
4723
 
}
4724
 
_ACEOF
4725
 
rm -f conftest$ac_exeext
4726
 
if { (ac_try="$ac_link"
4727
 
case "(($ac_try" in
4728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729
 
  *) ac_try_echo=$ac_try;;
4730
 
esac
4731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732
 
  (eval "$ac_link") 2>&5
4733
 
  ac_status=$?
4734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4736
 
  { (case "(($ac_try" in
4737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738
 
  *) ac_try_echo=$ac_try;;
4739
 
esac
4740
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4741
 
  (eval "$ac_try") 2>&5
4742
 
  ac_status=$?
4743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744
 
  (exit $ac_status); }; }; then
4745
 
  :
4746
 
else
4747
 
  echo "$as_me: program exited with status $ac_status" >&5
4748
 
echo "$as_me: failed program was:" >&5
4749
 
sed 's/^/| /' conftest.$ac_ext >&5
4750
 
 
4751
 
( exit $ac_status )
4752
 
ac_cv_header_stdc=no
4753
 
fi
4754
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4755
 
fi
4756
 
 
4757
 
 
4758
 
fi
4759
 
fi
4760
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4761
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4762
 
if test $ac_cv_header_stdc = yes; then
4763
 
 
4764
 
cat >>confdefs.h <<\_ACEOF
4765
 
#define STDC_HEADERS 1
4766
 
_ACEOF
4767
 
 
4768
 
fi
4769
 
 
4770
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4771
 
 
4772
 
 
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4781
 
                  inttypes.h stdint.h unistd.h
4782
 
do
4783
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4784
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4785
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4786
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4788
 
else
4789
 
  cat >conftest.$ac_ext <<_ACEOF
4790
 
/* confdefs.h.  */
4791
 
_ACEOF
4792
 
cat confdefs.h >>conftest.$ac_ext
4793
 
cat >>conftest.$ac_ext <<_ACEOF
4794
 
/* end confdefs.h.  */
4795
 
$ac_includes_default
4796
 
 
4797
 
#include <$ac_header>
4798
 
_ACEOF
4799
 
rm -f conftest.$ac_objext
4800
 
if { (ac_try="$ac_compile"
4801
 
case "(($ac_try" in
4802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803
 
  *) ac_try_echo=$ac_try;;
4804
 
esac
4805
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4806
 
  (eval "$ac_compile") 2>conftest.er1
4807
 
  ac_status=$?
4808
 
  grep -v '^ *+' conftest.er1 >conftest.err
4809
 
  rm -f conftest.er1
4810
 
  cat conftest.err >&5
4811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812
 
  (exit $ac_status); } && {
4813
 
         test -z "$ac_c_werror_flag" ||
4814
 
         test ! -s conftest.err
4815
 
       } && test -s conftest.$ac_objext; then
4816
 
  eval "$as_ac_Header=yes"
4817
 
else
4818
 
  echo "$as_me: failed program was:" >&5
4819
 
sed 's/^/| /' conftest.$ac_ext >&5
4820
 
 
4821
 
        eval "$as_ac_Header=no"
4822
 
fi
4823
 
 
4824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825
 
fi
4826
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4827
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4828
 
echo "${ECHO_T}$ac_res" >&6; }
4829
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4830
 
  cat >>confdefs.h <<_ACEOF
4831
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4832
 
_ACEOF
4833
 
 
4834
 
fi
4835
 
 
4836
 
done
4837
 
 
 
4873
#define HAVE_DECL_PR_CAPBSET_DROP $ac_have_decl
 
4874
_ACEOF
4838
4875
 
4839
4876
 
4840
4877
for ac_header in sys/signalfd.h
4841
 
do
4842
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4843
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4844
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4845
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4846
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4848
 
fi
4849
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4850
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4851
 
echo "${ECHO_T}$ac_res" >&6; }
4852
 
else
4853
 
  # Is the header compilable?
4854
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4855
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4856
 
cat >conftest.$ac_ext <<_ACEOF
4857
 
/* confdefs.h.  */
4858
 
_ACEOF
4859
 
cat confdefs.h >>conftest.$ac_ext
4860
 
cat >>conftest.$ac_ext <<_ACEOF
4861
 
/* end confdefs.h.  */
4862
 
$ac_includes_default
4863
 
#include <$ac_header>
4864
 
_ACEOF
4865
 
rm -f conftest.$ac_objext
4866
 
if { (ac_try="$ac_compile"
4867
 
case "(($ac_try" in
4868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869
 
  *) ac_try_echo=$ac_try;;
4870
 
esac
4871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4872
 
  (eval "$ac_compile") 2>conftest.er1
4873
 
  ac_status=$?
4874
 
  grep -v '^ *+' conftest.er1 >conftest.err
4875
 
  rm -f conftest.er1
4876
 
  cat conftest.err >&5
4877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
 
  (exit $ac_status); } && {
4879
 
         test -z "$ac_c_werror_flag" ||
4880
 
         test ! -s conftest.err
4881
 
       } && test -s conftest.$ac_objext; then
4882
 
  ac_header_compiler=yes
4883
 
else
4884
 
  echo "$as_me: failed program was:" >&5
4885
 
sed 's/^/| /' conftest.$ac_ext >&5
4886
 
 
4887
 
        ac_header_compiler=no
4888
 
fi
4889
 
 
4890
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4892
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
4893
 
 
4894
 
# Is the header present?
4895
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4896
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4897
 
cat >conftest.$ac_ext <<_ACEOF
4898
 
/* confdefs.h.  */
4899
 
_ACEOF
4900
 
cat confdefs.h >>conftest.$ac_ext
4901
 
cat >>conftest.$ac_ext <<_ACEOF
4902
 
/* end confdefs.h.  */
4903
 
#include <$ac_header>
4904
 
_ACEOF
4905
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4906
 
case "(($ac_try" in
4907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908
 
  *) ac_try_echo=$ac_try;;
4909
 
esac
4910
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4912
 
  ac_status=$?
4913
 
  grep -v '^ *+' conftest.er1 >conftest.err
4914
 
  rm -f conftest.er1
4915
 
  cat conftest.err >&5
4916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917
 
  (exit $ac_status); } >/dev/null && {
4918
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4919
 
         test ! -s conftest.err
4920
 
       }; then
4921
 
  ac_header_preproc=yes
4922
 
else
4923
 
  echo "$as_me: failed program was:" >&5
4924
 
sed 's/^/| /' conftest.$ac_ext >&5
4925
 
 
4926
 
  ac_header_preproc=no
4927
 
fi
4928
 
 
4929
 
rm -f conftest.err conftest.$ac_ext
4930
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4931
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
4932
 
 
4933
 
# So?  What about this header?
4934
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4935
 
  yes:no: )
4936
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4937
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4938
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4939
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4940
 
    ac_header_preproc=yes
4941
 
    ;;
4942
 
  no:yes:* )
4943
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4944
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4945
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4946
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4947
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4948
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4949
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4950
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4951
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4952
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4953
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4954
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4955
 
 
4956
 
    ;;
4957
 
esac
4958
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4959
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4960
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4962
 
else
4963
 
  eval "$as_ac_Header=\$ac_header_preproc"
4964
 
fi
4965
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4966
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4967
 
echo "${ECHO_T}$ac_res" >&6; }
4968
 
 
4969
 
fi
4970
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
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 :
4971
4881
  cat >>confdefs.h <<_ACEOF
4972
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4882
#define HAVE_SYS_SIGNALFD_H 1
4973
4883
_ACEOF
4974
4884
 
4975
4885
fi
4978
4888
 
4979
4889
 
4980
4890
if test $ac_cv_c_compiler_gnu = yes; then
4981
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4982
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
4983
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4984
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
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
4985
4895
else
4986
4896
    ac_pattern="Autoconf.*'x'"
4987
 
  cat >conftest.$ac_ext <<_ACEOF
4988
 
/* confdefs.h.  */
4989
 
_ACEOF
4990
 
cat confdefs.h >>conftest.$ac_ext
4991
 
cat >>conftest.$ac_ext <<_ACEOF
 
4897
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992
4898
/* end confdefs.h.  */
4993
4899
#include <sgtty.h>
4994
4900
Autoconf TIOCGETP
4995
4901
_ACEOF
4996
4902
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4997
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
4903
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4998
4904
  ac_cv_prog_gcc_traditional=yes
4999
4905
else
5000
4906
  ac_cv_prog_gcc_traditional=no
5003
4909
 
5004
4910
 
5005
4911
  if test $ac_cv_prog_gcc_traditional = no; then
5006
 
    cat >conftest.$ac_ext <<_ACEOF
5007
 
/* confdefs.h.  */
5008
 
_ACEOF
5009
 
cat confdefs.h >>conftest.$ac_ext
5010
 
cat >>conftest.$ac_ext <<_ACEOF
 
4912
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011
4913
/* end confdefs.h.  */
5012
4914
#include <termio.h>
5013
4915
Autoconf TCGETA
5014
4916
_ACEOF
5015
4917
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5016
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
4918
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5017
4919
  ac_cv_prog_gcc_traditional=yes
5018
4920
fi
5019
4921
rm -f conftest*
5020
4922
 
5021
4923
  fi
5022
4924
fi
5023
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5024
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
 
4925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
 
4926
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5025
4927
  if test $ac_cv_prog_gcc_traditional = yes; then
5026
4928
    CC="$CC -traditional"
5027
4929
  fi
5032
4934
  CFLAGS="$CFLAGS -Wall"
5033
4935
fi
5034
4936
 
5035
 
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-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.conf.sgml doc/lxc.sgml doc/common_options.sgml doc/see_also.sgml 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 scripts/Makefile scripts/lxc-debian scripts/lxc-busybox scripts/lxc-fedora scripts/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-version src/lxc/lxc-create src/lxc/lxc-destroy"
 
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-version src/lxc/lxc-create src/lxc/lxc-destroy"
5036
4938
 
5037
4939
ac_config_commands="$ac_config_commands default"
5038
4940
 
5063
4965
    case $ac_val in #(
5064
4966
    *${as_nl}*)
5065
4967
      case $ac_var in #(
5066
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5067
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
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;} ;;
5068
4970
      esac
5069
4971
      case $ac_var in #(
5070
4972
      _ | IFS | as_nl) ;; #(
5071
 
      *) $as_unset $ac_var ;;
 
4973
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
4974
      *) { eval $ac_var=; unset $ac_var;} ;;
5072
4975
      esac ;;
5073
4976
    esac
5074
4977
  done
5076
4979
  (set) 2>&1 |
5077
4980
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5078
4981
    *${as_nl}ac_space=\ *)
5079
 
      # `set' does not quote correctly, so add quotes (double-quote
5080
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4982
      # `set' does not quote correctly, so add quotes: double-quote
 
4983
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5081
4984
      sed -n \
5082
4985
        "s/'/'\\\\''/g;
5083
4986
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5100
5003
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5101
5004
  if test -w "$cache_file"; then
5102
5005
    test "x$cache_file" != "x/dev/null" &&
5103
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5104
 
echo "$as_me: updating cache $cache_file" >&6;}
 
5006
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
5007
$as_echo "$as_me: updating cache $cache_file" >&6;}
5105
5008
    cat confcache >$cache_file
5106
5009
  else
5107
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5108
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
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;}
5109
5012
  fi
5110
5013
fi
5111
5014
rm -f confcache
5121
5024
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5122
5025
  # 1. Remove the extension, and $U if already installed.
5123
5026
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5124
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
5027
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5125
5028
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5126
5029
  #    will be set to the directory where LIBOBJS objects are built.
5127
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5128
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
5030
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
5031
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5129
5032
done
5130
5033
LIBOBJS=$ac_libobjs
5131
5034
 
5132
5035
LTLIBOBJS=$ac_ltlibobjs
5133
5036
 
5134
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
 
5135
5046
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5136
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5137
 
Usually this means the macro was only invoked conditionally." >&5
5138
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5139
 
Usually this means the macro was only invoked conditionally." >&2;}
5140
 
   { (exit 1); exit 1; }; }
 
5047
  as_fn_error "conditional \"AMDEP\" was never defined.
 
5048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5141
5049
fi
5142
5050
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5143
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5144
 
Usually this means the macro was only invoked conditionally." >&5
5145
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5146
 
Usually this means the macro was only invoked conditionally." >&2;}
5147
 
   { (exit 1); exit 1; }; }
 
5051
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
5052
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5148
5053
fi
5149
5054
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
5150
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCBOOK\" was never defined.
5151
 
Usually this means the macro was only invoked conditionally." >&5
5152
 
echo "$as_me: error: conditional \"ENABLE_DOCBOOK\" was never defined.
5153
 
Usually this means the macro was only invoked conditionally." >&2;}
5154
 
   { (exit 1); exit 1; }; }
 
5055
  as_fn_error "conditional \"ENABLE_DOCBOOK\" was never defined.
 
5056
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5155
5057
fi
5156
5058
if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
5157
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_EXAMPLES\" was never defined.
5158
 
Usually this means the macro was only invoked conditionally." >&5
5159
 
echo "$as_me: error: conditional \"ENABLE_EXAMPLES\" was never defined.
5160
 
Usually this means the macro was only invoked conditionally." >&2;}
5161
 
   { (exit 1); exit 1; }; }
 
5059
  as_fn_error "conditional \"ENABLE_EXAMPLES\" was never defined.
 
5060
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5162
5061
fi
5163
5062
 
5164
5063
: ${CONFIG_STATUS=./config.status}
 
5064
ac_write_fail=0
5165
5065
ac_clean_files_save=$ac_clean_files
5166
5066
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5167
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5168
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5169
 
cat >$CONFIG_STATUS <<_ACEOF
 
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
5170
5071
#! $SHELL
5171
5072
# Generated by $as_me.
5172
5073
# Run this file to recreate the current configuration.
5176
5077
debug=false
5177
5078
ac_cs_recheck=false
5178
5079
ac_cs_silent=false
 
5080
 
5179
5081
SHELL=\${CONFIG_SHELL-$SHELL}
5180
 
_ACEOF
5181
 
 
5182
 
cat >>$CONFIG_STATUS <<\_ACEOF
5183
 
## --------------------- ##
5184
 
## M4sh Initialization.  ##
5185
 
## --------------------- ##
 
5082
export SHELL
 
5083
_ASEOF
 
5084
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
5085
## -------------------- ##
 
5086
## M4sh Initialization. ##
 
5087
## -------------------- ##
5186
5088
 
5187
5089
# Be more Bourne compatible
5188
5090
DUALCASE=1; export DUALCASE # for MKS sh
5189
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
5091
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5190
5092
  emulate sh
5191
5093
  NULLCMD=:
5192
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5094
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5193
5095
  # is contrary to our usage.  Disable this feature.
5194
5096
  alias -g '${1+"$@"}'='"$@"'
5195
5097
  setopt NO_GLOB_SUBST
5196
5098
else
5197
 
  case `(set -o) 2>/dev/null` in
5198
 
  *posix*) set -o posix ;;
 
5099
  case `(set -o) 2>/dev/null` in #(
 
5100
  *posix*) :
 
5101
    set -o posix ;; #(
 
5102
  *) :
 
5103
     ;;
5199
5104
esac
5200
 
 
5201
 
fi
5202
 
 
5203
 
 
5204
 
 
5205
 
 
5206
 
# PATH needs CR
5207
 
# Avoid depending upon Character Ranges.
5208
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5209
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5210
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5211
 
as_cr_digits='0123456789'
5212
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
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
5213
5145
 
5214
5146
# The user is always right.
5215
5147
if test "${PATH_SEPARATOR+set}" != set; then
5216
 
  echo "#! /bin/sh" >conf$$.sh
5217
 
  echo  "exit 0"   >>conf$$.sh
5218
 
  chmod +x conf$$.sh
5219
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5220
 
    PATH_SEPARATOR=';'
5221
 
  else
5222
 
    PATH_SEPARATOR=:
5223
 
  fi
5224
 
  rm -f conf$$.sh
5225
 
fi
5226
 
 
5227
 
# Support unset when possible.
5228
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5229
 
  as_unset=unset
5230
 
else
5231
 
  as_unset=false
 
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
  }
5232
5153
fi
5233
5154
 
5234
5155
 
5237
5158
# there to prevent editors from complaining about space-tab.
5238
5159
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5239
5160
# splitting by setting IFS to empty value.)
5240
 
as_nl='
5241
 
'
5242
5161
IFS=" ""        $as_nl"
5243
5162
 
5244
5163
# Find who we are.  Look in the path if we contain no directory separator.
5245
 
case $0 in
 
5164
case $0 in #((
5246
5165
  *[\\/]* ) as_myself=$0 ;;
5247
5166
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248
5167
for as_dir in $PATH
5249
5168
do
5250
5169
  IFS=$as_save_IFS
5251
5170
  test -z "$as_dir" && as_dir=.
5252
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5253
 
done
 
5171
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
5172
  done
5254
5173
IFS=$as_save_IFS
5255
5174
 
5256
5175
     ;;
5261
5180
  as_myself=$0
5262
5181
fi
5263
5182
if test ! -f "$as_myself"; then
5264
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5265
 
  { (exit 1); exit 1; }
 
5183
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5184
  exit 1
5266
5185
fi
5267
5186
 
5268
 
# Work around bugs in pre-3.0 UWIN ksh.
5269
 
for as_var in ENV MAIL MAILPATH
5270
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
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 || :
5271
5194
done
5272
5195
PS1='$ '
5273
5196
PS2='> '
5274
5197
PS4='+ '
5275
5198
 
5276
5199
# NLS nuisances.
5277
 
for as_var in \
5278
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5279
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5280
 
  LC_TELEPHONE LC_TIME
5281
 
do
5282
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5283
 
    eval $as_var=C; export $as_var
5284
 
  else
5285
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
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
5286
5220
  fi
5287
 
done
5288
 
 
5289
 
# Required to use basename.
 
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
 
5290
5288
if expr a : '\(a\)' >/dev/null 2>&1 &&
5291
5289
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5292
5290
  as_expr=expr
5300
5298
  as_basename=false
5301
5299
fi
5302
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
5303
5306
 
5304
 
# Name of the executable.
5305
5307
as_me=`$as_basename -- "$0" ||
5306
5308
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5307
5309
         X"$0" : 'X\(//\)$' \| \
5308
5310
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5309
 
echo X/"$0" |
 
5311
$as_echo X/"$0" |
5310
5312
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5311
5313
            s//\1/
5312
5314
            q
5321
5323
          }
5322
5324
          s/.*/./; q'`
5323
5325
 
5324
 
# CDPATH.
5325
 
$as_unset CDPATH
5326
 
 
5327
 
 
5328
 
 
5329
 
  as_lineno_1=$LINENO
5330
 
  as_lineno_2=$LINENO
5331
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5332
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5333
 
 
5334
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5335
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
5336
 
  # line-number line after each line using $LINENO; the second 'sed'
5337
 
  # does the real work.  The second script uses 'N' to pair each
5338
 
  # line-number line with the line containing $LINENO, and appends
5339
 
  # trailing '-' during substitution so that $LINENO is not a special
5340
 
  # case at line end.
5341
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5342
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5343
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5344
 
  sed -n '
5345
 
    p
5346
 
    /[$]LINENO/=
5347
 
  ' <$as_myself |
5348
 
    sed '
5349
 
      s/[$]LINENO.*/&-/
5350
 
      t lineno
5351
 
      b
5352
 
      :lineno
5353
 
      N
5354
 
      :loop
5355
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5356
 
      t loop
5357
 
      s/-\n.*//
5358
 
    ' >$as_me.lineno &&
5359
 
  chmod +x "$as_me.lineno" ||
5360
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5361
 
   { (exit 1); exit 1; }; }
5362
 
 
5363
 
  # Don't try to exec as it changes $[0], causing all sort of problems
5364
 
  # (the dirname of $[0] is not the place where we might find the
5365
 
  # original and so on.  Autoconf is especially sensitive to this).
5366
 
  . "./$as_me.lineno"
5367
 
  # Exit status is that of the last command.
5368
 
  exit
5369
 
}
5370
 
 
5371
 
 
5372
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5373
 
  as_dirname=dirname
5374
 
else
5375
 
  as_dirname=false
5376
 
fi
 
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
5377
5332
 
5378
5333
ECHO_C= ECHO_N= ECHO_T=
5379
 
case `echo -n x` in
 
5334
case `echo -n x` in #(((((
5380
5335
-n*)
5381
 
  case `echo 'x\c'` in
 
5336
  case `echo 'xy\c'` in
5382
5337
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5383
 
  *)   ECHO_C='\c';;
 
5338
  xy)  ECHO_C='\c';;
 
5339
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5340
       ECHO_T=' ';;
5384
5341
  esac;;
5385
5342
*)
5386
5343
  ECHO_N='-n';;
5387
5344
esac
5388
5345
 
5389
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5390
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5391
 
  as_expr=expr
5392
 
else
5393
 
  as_expr=false
5394
 
fi
5395
 
 
5396
5346
rm -f conf$$ conf$$.exe conf$$.file
5397
5347
if test -d conf$$.dir; then
5398
5348
  rm -f conf$$.dir/conf$$.file
5399
5349
else
5400
5350
  rm -f conf$$.dir
5401
 
  mkdir conf$$.dir
 
5351
  mkdir conf$$.dir 2>/dev/null
5402
5352
fi
5403
 
echo >conf$$.file
5404
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
5405
 
  as_ln_s='ln -s'
5406
 
  # ... but there are two gotchas:
5407
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5408
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5409
 
  # In both cases, we have to default to `cp -p'.
5410
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
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
5411
5365
    as_ln_s='cp -p'
5412
 
elif ln conf$$.file conf$$ 2>/dev/null; then
5413
 
  as_ln_s=ln
 
5366
  fi
5414
5367
else
5415
5368
  as_ln_s='cp -p'
5416
5369
fi
5417
5370
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5418
5371
rmdir conf$$.dir 2>/dev/null
5419
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
5420
5421
if mkdir -p . 2>/dev/null; then
5421
 
  as_mkdir_p=:
 
5422
  as_mkdir_p='mkdir -p "$as_dir"'
5422
5423
else
5423
5424
  test -d ./-p && rmdir ./-p
5424
5425
  as_mkdir_p=false
5435
5436
  as_test_x='
5436
5437
    eval sh -c '\''
5437
5438
      if test -d "$1"; then
5438
 
        test -d "$1/.";
 
5439
        test -d "$1/.";
5439
5440
      else
5440
 
        case $1 in
5441
 
        -*)set "./$1";;
 
5441
        case $1 in #(
 
5442
        -*)set "./$1";;
5442
5443
        esac;
5443
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5444
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5444
5445
        ???[sx]*):;;*)false;;esac;fi
5445
5446
    '\'' sh
5446
5447
  '
5455
5456
 
5456
5457
 
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
5458
5464
 
5459
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5465
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5466
# Save the log message, to keep $0 and so on meaningful, and to
5460
5467
# report actual input values of CONFIG_FILES etc. instead of their
5461
5468
# values after options handling.
5462
5469
ac_log="
5463
 
This file was extended by lxc $as_me 0.6.5, which was
5464
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
5470
This file was extended by lxc $as_me 0.7.1, which was
 
5471
generated by GNU Autoconf 2.65.  Invocation command line was
5465
5472
 
5466
5473
  CONFIG_FILES    = $CONFIG_FILES
5467
5474
  CONFIG_HEADERS  = $CONFIG_HEADERS
5474
5481
 
5475
5482
_ACEOF
5476
5483
 
5477
 
cat >>$CONFIG_STATUS <<_ACEOF
 
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
5478
5494
# Files that config.status was made for.
5479
5495
config_files="$ac_config_files"
5480
5496
config_headers="$ac_config_headers"
5482
5498
 
5483
5499
_ACEOF
5484
5500
 
5485
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5501
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5486
5502
ac_cs_usage="\
5487
 
\`$as_me' instantiates files from templates according to the
5488
 
current configuration.
 
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.
5489
5506
 
5490
 
Usage: $0 [OPTIONS] [FILE]...
 
5507
Usage: $0 [OPTION]... [TAG]...
5491
5508
 
5492
5509
  -h, --help       print this help, then exit
5493
5510
  -V, --version    print version number and configuration settings, then exit
5494
 
  -q, --quiet      do not print progress messages
 
5511
      --config     print configuration, then exit
 
5512
  -q, --quiet, --silent
 
5513
                   do not print progress messages
5495
5514
  -d, --debug      don't remove temporary files
5496
5515
      --recheck    update $as_me by reconfiguring in the same conditions
5497
 
  --file=FILE[:TEMPLATE]
5498
 
                   instantiate the configuration file FILE
5499
 
  --header=FILE[:TEMPLATE]
5500
 
                   instantiate the configuration header FILE
 
5516
      --file=FILE[:TEMPLATE]
 
5517
                   instantiate the configuration file FILE
 
5518
      --header=FILE[:TEMPLATE]
 
5519
                   instantiate the configuration header FILE
5501
5520
 
5502
5521
Configuration files:
5503
5522
$config_files
5508
5527
Configuration commands:
5509
5528
$config_commands
5510
5529
 
5511
 
Report bugs to <bug-autoconf@gnu.org>."
 
5530
Report bugs to the package provider."
5512
5531
 
5513
5532
_ACEOF
5514
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5533
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5534
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5515
5535
ac_cs_version="\\
5516
 
lxc config.status 0.6.5
5517
 
configured by $0, generated by GNU Autoconf 2.61,
5518
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5536
lxc config.status 0.7.1
 
5537
configured by $0, generated by GNU Autoconf 2.65,
 
5538
  with options \\"\$ac_cs_config\\"
5519
5539
 
5520
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
5540
Copyright (C) 2009 Free Software Foundation, Inc.
5521
5541
This config.status script is free software; the Free Software Foundation
5522
5542
gives unlimited permission to copy, distribute and modify it."
5523
5543
 
5525
5545
srcdir='$srcdir'
5526
5546
INSTALL='$INSTALL'
5527
5547
MKDIR_P='$MKDIR_P'
 
5548
AWK='$AWK'
 
5549
test -n "\$AWK" || AWK=awk
5528
5550
_ACEOF
5529
5551
 
5530
 
cat >>$CONFIG_STATUS <<\_ACEOF
5531
 
# If no file are specified by the user, then we need to provide default
5532
 
# value.  By we need to know if files were specified by the user.
 
5552
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5553
# The default lists apply if the user does not specify any file.
5533
5554
ac_need_defaults=:
5534
5555
while test $# != 0
5535
5556
do
5551
5572
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5552
5573
    ac_cs_recheck=: ;;
5553
5574
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5554
 
    echo "$ac_cs_version"; exit ;;
 
5575
    $as_echo "$ac_cs_version"; exit ;;
 
5576
  --config | --confi | --conf | --con | --co | --c )
 
5577
    $as_echo "$ac_cs_config"; exit ;;
5555
5578
  --debug | --debu | --deb | --de | --d | -d )
5556
5579
    debug=: ;;
5557
5580
  --file | --fil | --fi | --f )
5558
5581
    $ac_shift
5559
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
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'"
5560
5586
    ac_need_defaults=false;;
5561
5587
  --header | --heade | --head | --hea )
5562
5588
    $ac_shift
5563
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
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'"
5564
5593
    ac_need_defaults=false;;
5565
5594
  --he | --h)
5566
5595
    # Conflict between --help and --header
5567
 
    { echo "$as_me: error: ambiguous option: $1
5568
 
Try \`$0 --help' for more information." >&2
5569
 
   { (exit 1); exit 1; }; };;
 
5596
    as_fn_error "ambiguous option: \`$1'
 
5597
Try \`$0 --help' for more information.";;
5570
5598
  --help | --hel | -h )
5571
 
    echo "$ac_cs_usage"; exit ;;
 
5599
    $as_echo "$ac_cs_usage"; exit ;;
5572
5600
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5573
5601
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5574
5602
    ac_cs_silent=: ;;
5575
5603
 
5576
5604
  # This is an error.
5577
 
  -*) { echo "$as_me: error: unrecognized option: $1
5578
 
Try \`$0 --help' for more information." >&2
5579
 
   { (exit 1); exit 1; }; } ;;
 
5605
  -*) as_fn_error "unrecognized option: \`$1'
 
5606
Try \`$0 --help' for more information." ;;
5580
5607
 
5581
 
  *) ac_config_targets="$ac_config_targets $1"
 
5608
  *) as_fn_append ac_config_targets " $1"
5582
5609
     ac_need_defaults=false ;;
5583
5610
 
5584
5611
  esac
5593
5620
fi
5594
5621
 
5595
5622
_ACEOF
5596
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5623
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5597
5624
if \$ac_cs_recheck; then
5598
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5599
 
  CONFIG_SHELL=$SHELL
 
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'
5600
5629
  export CONFIG_SHELL
5601
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5630
  exec "\$@"
5602
5631
fi
5603
5632
 
5604
5633
_ACEOF
5605
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5634
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5606
5635
exec 5>>config.log
5607
5636
{
5608
5637
  echo
5609
5638
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5610
5639
## Running $as_me. ##
5611
5640
_ASBOX
5612
 
  echo "$ac_log"
 
5641
  $as_echo "$ac_log"
5613
5642
} >&5
5614
5643
 
5615
5644
_ACEOF
5616
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5645
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5617
5646
#
5618
5647
# INIT-COMMANDS
5619
5648
#
5622
5651
 
5623
5652
_ACEOF
5624
5653
 
5625
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5654
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5626
5655
 
5627
5656
# Handling of arguments.
5628
5657
for ac_config_target in $ac_config_targets
5639
5668
    "doc/lxc-destroy.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-destroy.sgml" ;;
5640
5669
    "doc/lxc-execute.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-execute.sgml" ;;
5641
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" ;;
5642
5673
    "doc/lxc-stop.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-stop.sgml" ;;
5643
5674
    "doc/lxc-console.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-console.sgml" ;;
5644
5675
    "doc/lxc-freeze.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-freeze.sgml" ;;
5648
5679
    "doc/lxc-ls.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ls.sgml" ;;
5649
5680
    "doc/lxc-ps.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ps.sgml" ;;
5650
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" ;;
5651
5683
    "doc/lxc.conf.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.conf.sgml" ;;
5652
5684
    "doc/lxc.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.sgml" ;;
5653
5685
    "doc/common_options.sgml") CONFIG_FILES="$CONFIG_FILES doc/common_options.sgml" ;;
5654
5686
    "doc/see_also.sgml") CONFIG_FILES="$CONFIG_FILES doc/see_also.sgml" ;;
 
5687
    "doc/rootfs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/rootfs/Makefile" ;;
5655
5688
    "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
5656
5689
    "doc/examples/lxc-macvlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-macvlan.conf" ;;
5657
5690
    "doc/examples/lxc-vlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-vlan.conf" ;;
5660
5693
    "doc/examples/lxc-phys.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-phys.conf" ;;
5661
5694
    "doc/examples/lxc-veth.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-veth.conf" ;;
5662
5695
    "doc/examples/lxc-complex.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-complex.conf" ;;
5663
 
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5664
 
    "scripts/lxc-debian") CONFIG_FILES="$CONFIG_FILES scripts/lxc-debian" ;;
5665
 
    "scripts/lxc-busybox") CONFIG_FILES="$CONFIG_FILES scripts/lxc-busybox" ;;
5666
 
    "scripts/lxc-fedora") CONFIG_FILES="$CONFIG_FILES scripts/lxc-fedora" ;;
5667
 
    "scripts/lxc-sshd") CONFIG_FILES="$CONFIG_FILES scripts/lxc-sshd" ;;
 
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" ;;
5668
5702
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5669
5703
    "src/lxc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lxc/Makefile" ;;
5670
5704
    "src/lxc/lxc-ps") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ps" ;;
5677
5711
    "src/lxc/lxc-destroy") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-destroy" ;;
5678
5712
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5679
5713
 
5680
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5681
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5682
 
   { (exit 1); exit 1; }; };;
 
5714
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5683
5715
  esac
5684
5716
done
5685
5717
 
5706
5738
  trap 'exit_status=$?
5707
5739
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5708
5740
' 0
5709
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5741
  trap 'as_fn_exit 1' 1 2 13 15
5710
5742
}
5711
5743
# Create a (secure) tmp directory for tmp files.
5712
5744
 
5717
5749
{
5718
5750
  tmp=./conf$$-$RANDOM
5719
5751
  (umask 077 && mkdir "$tmp")
5720
 
} ||
5721
 
{
5722
 
   echo "$me: cannot create a temporary directory in ." >&2
5723
 
   { (exit 1); exit 1; }
5724
 
}
5725
 
 
5726
 
#
5727
 
# Set up the sed scripts for CONFIG_FILES section.
5728
 
#
5729
 
 
5730
 
# No need to generate the scripts if there are no CONFIG_FILES.
5731
 
# This happens for instance when ./config.status config.h
 
5752
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
5753
 
 
5754
# Set up the scripts for CONFIG_FILES section.
 
5755
# No need to generate them if there are no CONFIG_FILES.
 
5756
# This happens for instance with `./config.status config.h'.
5732
5757
if test -n "$CONFIG_FILES"; then
5733
5758
 
5734
 
_ACEOF
5735
 
 
5736
 
 
5737
 
 
5738
 
ac_delim='%!_!# '
5739
 
for ac_last_try in false false false false false :; do
5740
 
  cat >conf$$subs.sed <<_ACEOF
5741
 
SHELL!$SHELL$ac_delim
5742
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5743
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5744
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5745
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5746
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5747
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5748
 
exec_prefix!$exec_prefix$ac_delim
5749
 
prefix!$prefix$ac_delim
5750
 
program_transform_name!$program_transform_name$ac_delim
5751
 
bindir!$bindir$ac_delim
5752
 
sbindir!$sbindir$ac_delim
5753
 
libexecdir!$libexecdir$ac_delim
5754
 
datarootdir!$datarootdir$ac_delim
5755
 
datadir!$datadir$ac_delim
5756
 
sysconfdir!$sysconfdir$ac_delim
5757
 
sharedstatedir!$sharedstatedir$ac_delim
5758
 
localstatedir!$localstatedir$ac_delim
5759
 
includedir!$includedir$ac_delim
5760
 
oldincludedir!$oldincludedir$ac_delim
5761
 
docdir!$docdir$ac_delim
5762
 
infodir!$infodir$ac_delim
5763
 
htmldir!$htmldir$ac_delim
5764
 
dvidir!$dvidir$ac_delim
5765
 
pdfdir!$pdfdir$ac_delim
5766
 
psdir!$psdir$ac_delim
5767
 
libdir!$libdir$ac_delim
5768
 
localedir!$localedir$ac_delim
5769
 
mandir!$mandir$ac_delim
5770
 
DEFS!$DEFS$ac_delim
5771
 
ECHO_C!$ECHO_C$ac_delim
5772
 
ECHO_N!$ECHO_N$ac_delim
5773
 
ECHO_T!$ECHO_T$ac_delim
5774
 
LIBS!$LIBS$ac_delim
5775
 
build_alias!$build_alias$ac_delim
5776
 
host_alias!$host_alias$ac_delim
5777
 
target_alias!$target_alias$ac_delim
5778
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5779
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5780
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
5781
 
am__isrc!$am__isrc$ac_delim
5782
 
CYGPATH_W!$CYGPATH_W$ac_delim
5783
 
PACKAGE!$PACKAGE$ac_delim
5784
 
VERSION!$VERSION$ac_delim
5785
 
ACLOCAL!$ACLOCAL$ac_delim
5786
 
AUTOCONF!$AUTOCONF$ac_delim
5787
 
AUTOMAKE!$AUTOMAKE$ac_delim
5788
 
AUTOHEADER!$AUTOHEADER$ac_delim
5789
 
MAKEINFO!$MAKEINFO$ac_delim
5790
 
install_sh!$install_sh$ac_delim
5791
 
STRIP!$STRIP$ac_delim
5792
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5793
 
mkdir_p!$mkdir_p$ac_delim
5794
 
AWK!$AWK$ac_delim
5795
 
SET_MAKE!$SET_MAKE$ac_delim
5796
 
am__leading_dot!$am__leading_dot$ac_delim
5797
 
AMTAR!$AMTAR$ac_delim
5798
 
am__tar!$am__tar$ac_delim
5799
 
am__untar!$am__untar$ac_delim
5800
 
build!$build$ac_delim
5801
 
build_cpu!$build_cpu$ac_delim
5802
 
build_vendor!$build_vendor$ac_delim
5803
 
build_os!$build_os$ac_delim
5804
 
host!$host$ac_delim
5805
 
host_cpu!$host_cpu$ac_delim
5806
 
host_vendor!$host_vendor$ac_delim
5807
 
host_os!$host_os$ac_delim
5808
 
CC!$CC$ac_delim
5809
 
CFLAGS!$CFLAGS$ac_delim
5810
 
LDFLAGS!$LDFLAGS$ac_delim
5811
 
CPPFLAGS!$CPPFLAGS$ac_delim
5812
 
ac_ct_CC!$ac_ct_CC$ac_delim
5813
 
EXEEXT!$EXEEXT$ac_delim
5814
 
OBJEXT!$OBJEXT$ac_delim
5815
 
DEPDIR!$DEPDIR$ac_delim
5816
 
am__include!$am__include$ac_delim
5817
 
am__quote!$am__quote$ac_delim
5818
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5819
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5820
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5821
 
CCDEPMODE!$CCDEPMODE$ac_delim
5822
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5823
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5824
 
SETCAP!$SETCAP$ac_delim
5825
 
have_docbook!$have_docbook$ac_delim
5826
 
ENABLE_DOCBOOK_TRUE!$ENABLE_DOCBOOK_TRUE$ac_delim
5827
 
ENABLE_DOCBOOK_FALSE!$ENABLE_DOCBOOK_FALSE$ac_delim
5828
 
ENABLE_EXAMPLES_TRUE!$ENABLE_EXAMPLES_TRUE$ac_delim
5829
 
ENABLE_EXAMPLES_FALSE!$ENABLE_EXAMPLES_FALSE$ac_delim
5830
 
PREFIX!$PREFIX$ac_delim
5831
 
LIBDIR!$LIBDIR$ac_delim
5832
 
BINDIR!$BINDIR$ac_delim
5833
 
INCLUDEDIR!$INCLUDEDIR$ac_delim
5834
 
LIBEXECDIR!$LIBEXECDIR$ac_delim
5835
 
SYSCONFDIR!$SYSCONFDIR$ac_delim
5836
 
DATADIR!$DATADIR$ac_delim
5837
 
LOCALSTATEDIR!$LOCALSTATEDIR$ac_delim
5838
 
_ACEOF
5839
 
 
5840
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5841
 
    break
5842
 
  elif $ac_last_try; then
5843
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5844
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5845
 
   { (exit 1); exit 1; }; }
5846
 
  else
5847
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5848
 
  fi
5849
 
done
5850
 
 
5851
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5852
 
if test -n "$ac_eof"; then
5853
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5854
 
  ac_eof=`expr $ac_eof + 1`
5855
 
fi
5856
 
 
5857
 
cat >>$CONFIG_STATUS <<_ACEOF
5858
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5859
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5860
 
_ACEOF
5861
 
sed '
5862
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5863
 
s/^/s,@/; s/!/@,|#_!!_#|/
5864
 
:n
5865
 
t n
5866
 
s/'"$ac_delim"'$/,g/; t
5867
 
s/$/\\/; p
5868
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5869
 
' >>$CONFIG_STATUS <conf$$subs.sed
5870
 
rm -f conf$$subs.sed
5871
 
cat >>$CONFIG_STATUS <<_ACEOF
5872
 
CEOF$ac_eof
5873
 
_ACEOF
5874
 
 
5875
 
 
5876
 
ac_delim='%!_!# '
5877
 
for ac_last_try in false false false false false :; do
5878
 
  cat >conf$$subs.sed <<_ACEOF
5879
 
DOCDIR!$DOCDIR$ac_delim
5880
 
LXC_GENERATE_DATE!$LXC_GENERATE_DATE$ac_delim
5881
 
LXCPATH!$LXCPATH$ac_delim
5882
 
CPP!$CPP$ac_delim
5883
 
GREP!$GREP$ac_delim
5884
 
EGREP!$EGREP$ac_delim
5885
 
LIBOBJS!$LIBOBJS$ac_delim
5886
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
5887
 
_ACEOF
5888
 
 
5889
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
5890
 
    break
5891
 
  elif $ac_last_try; then
5892
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5893
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5894
 
   { (exit 1); exit 1; }; }
5895
 
  else
5896
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5897
 
  fi
5898
 
done
5899
 
 
5900
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5901
 
if test -n "$ac_eof"; then
5902
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5903
 
  ac_eof=`expr $ac_eof + 1`
5904
 
fi
5905
 
 
5906
 
cat >>$CONFIG_STATUS <<_ACEOF
5907
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
5908
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5909
 
_ACEOF
5910
 
sed '
5911
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5912
 
s/^/s,@/; s/!/@,|#_!!_#|/
5913
 
:n
5914
 
t n
5915
 
s/'"$ac_delim"'$/,g/; t
5916
 
s/$/\\/; p
5917
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5918
 
' >>$CONFIG_STATUS <conf$$subs.sed
5919
 
rm -f conf$$subs.sed
5920
 
cat >>$CONFIG_STATUS <<_ACEOF
5921
 
:end
5922
 
s/|#_!!_#|//g
5923
 
CEOF$ac_eof
5924
 
_ACEOF
5925
 
 
 
5759
 
 
5760
ac_cr=`echo X | tr X '\015'`
 
5761
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5762
# But we know of no other shell where ac_cr would be empty at this
 
5763
# point, so we can use a bashism as a fallback.
 
5764
if test "x$ac_cr" = x; then
 
5765
  eval ac_cr=\$\'\\r\'
 
5766
fi
 
5767
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
5768
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
5769
  ac_cs_awk_cr='\r'
 
5770
else
 
5771
  ac_cs_awk_cr=$ac_cr
 
5772
fi
 
5773
 
 
5774
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5775
_ACEOF
 
5776
 
 
5777
 
 
5778
{
 
5779
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
5780
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
5781
  echo "_ACEOF"
 
5782
} >conf$$subs.sh ||
 
5783
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5784
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5785
ac_delim='%!_!# '
 
5786
for ac_last_try in false false false false false :; do
 
5787
  . ./conf$$subs.sh ||
 
5788
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5789
 
 
5790
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5791
  if test $ac_delim_n = $ac_delim_num; then
 
5792
    break
 
5793
  elif $ac_last_try; then
 
5794
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5795
  else
 
5796
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
5797
  fi
 
5798
done
 
5799
rm -f conf$$subs.sh
 
5800
 
 
5801
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5802
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5803
_ACEOF
 
5804
sed -n '
 
5805
h
 
5806
s/^/S["/; s/!.*/"]=/
 
5807
p
 
5808
g
 
5809
s/^[^!]*!//
 
5810
:repl
 
5811
t repl
 
5812
s/'"$ac_delim"'$//
 
5813
t delim
 
5814
:nl
 
5815
h
 
5816
s/\(.\{148\}\)..*/\1/
 
5817
t more1
 
5818
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
5819
p
 
5820
n
 
5821
b repl
 
5822
:more1
 
5823
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5824
p
 
5825
g
 
5826
s/.\{148\}//
 
5827
t nl
 
5828
:delim
 
5829
h
 
5830
s/\(.\{148\}\)..*/\1/
 
5831
t more2
 
5832
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
5833
p
 
5834
b
 
5835
:more2
 
5836
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5837
p
 
5838
g
 
5839
s/.\{148\}//
 
5840
t delim
 
5841
' <conf$$subs.awk | sed '
 
5842
/^[^""]/{
 
5843
  N
 
5844
  s/\n//
 
5845
}
 
5846
' >>$CONFIG_STATUS || ac_write_fail=1
 
5847
rm -f conf$$subs.awk
 
5848
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5849
_ACAWK
 
5850
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5851
  for (key in S) S_is_set[key] = 1
 
5852
  FS = ""
 
5853
 
 
5854
}
 
5855
{
 
5856
  line = $ 0
 
5857
  nfields = split(line, field, "@")
 
5858
  substed = 0
 
5859
  len = length(field[1])
 
5860
  for (i = 2; i < nfields; i++) {
 
5861
    key = field[i]
 
5862
    keylen = length(key)
 
5863
    if (S_is_set[key]) {
 
5864
      value = S[key]
 
5865
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
5866
      len += length(value) + length(field[++i])
 
5867
      substed = 1
 
5868
    } else
 
5869
      len += 1 + keylen
 
5870
  }
 
5871
 
 
5872
  print line
 
5873
}
 
5874
 
 
5875
_ACAWK
 
5876
_ACEOF
 
5877
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5878
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
5879
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
5880
else
 
5881
  cat
 
5882
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5883
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
5884
_ACEOF
5926
5885
 
5927
5886
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5928
5887
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5939
5898
}'
5940
5899
fi
5941
5900
 
5942
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5901
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943
5902
fi # test -n "$CONFIG_FILES"
5944
5903
 
5945
 
 
5946
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
5904
# Set up the scripts for CONFIG_HEADERS section.
 
5905
# No need to generate them if there are no CONFIG_HEADERS.
 
5906
# This happens for instance with `./config.status Makefile'.
 
5907
if test -n "$CONFIG_HEADERS"; then
 
5908
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5909
BEGIN {
 
5910
_ACEOF
 
5911
 
 
5912
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
5913
# here-document in config.status, that substitutes the proper values into
 
5914
# config.h.in to produce config.h.
 
5915
 
 
5916
# Create a delimiter string that does not exist in confdefs.h, to ease
 
5917
# handling of long lines.
 
5918
ac_delim='%!_!# '
 
5919
for ac_last_try in false false :; do
 
5920
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
5921
  if test -z "$ac_t"; then
 
5922
    break
 
5923
  elif $ac_last_try; then
 
5924
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
5925
  else
 
5926
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
5927
  fi
 
5928
done
 
5929
 
 
5930
# For the awk script, D is an array of macro values keyed by name,
 
5931
# likewise P contains macro parameters if any.  Preserve backslash
 
5932
# newline sequences.
 
5933
 
 
5934
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
5935
sed -n '
 
5936
s/.\{148\}/&'"$ac_delim"'/g
 
5937
t rset
 
5938
:rset
 
5939
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
5940
t def
 
5941
d
 
5942
:def
 
5943
s/\\$//
 
5944
t bsnl
 
5945
s/["\\]/\\&/g
 
5946
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5947
D["\1"]=" \3"/p
 
5948
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
5949
d
 
5950
:bsnl
 
5951
s/["\\]/\\&/g
 
5952
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5953
D["\1"]=" \3\\\\\\n"\\/p
 
5954
t cont
 
5955
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
5956
t cont
 
5957
d
 
5958
:cont
 
5959
n
 
5960
s/.\{148\}/&'"$ac_delim"'/g
 
5961
t clear
 
5962
:clear
 
5963
s/\\$//
 
5964
t bsnlc
 
5965
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
5966
d
 
5967
:bsnlc
 
5968
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
5969
b cont
 
5970
' <confdefs.h | sed '
 
5971
s/'"$ac_delim"'/"\\\
 
5972
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
5973
 
 
5974
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5975
  for (key in D) D_is_set[key] = 1
 
5976
  FS = ""
 
5977
}
 
5978
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
5979
  line = \$ 0
 
5980
  split(line, arg, " ")
 
5981
  if (arg[1] == "#") {
 
5982
    defundef = arg[2]
 
5983
    mac1 = arg[3]
 
5984
  } else {
 
5985
    defundef = substr(arg[1], 2)
 
5986
    mac1 = arg[2]
 
5987
  }
 
5988
  split(mac1, mac2, "(") #)
 
5989
  macro = mac2[1]
 
5990
  prefix = substr(line, 1, index(line, defundef) - 1)
 
5991
  if (D_is_set[macro]) {
 
5992
    # Preserve the white space surrounding the "#".
 
5993
    print prefix "define", macro P[macro] D[macro]
 
5994
    next
 
5995
  } else {
 
5996
    # Replace #undef with comments.  This is necessary, for example,
 
5997
    # in the case of _POSIX_SOURCE, which is predefined and required
 
5998
    # on some systems where configure will not decide to define it.
 
5999
    if (defundef == "undef") {
 
6000
      print "/*", prefix defundef, macro, "*/"
 
6001
      next
 
6002
    }
 
6003
  }
 
6004
}
 
6005
{ print }
 
6006
_ACAWK
 
6007
_ACEOF
 
6008
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6009
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
6010
fi # test -n "$CONFIG_HEADERS"
 
6011
 
 
6012
 
 
6013
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
6014
shift
 
6015
for ac_tag
5947
6016
do
5948
6017
  case $ac_tag in
5949
6018
  :[FHLC]) ac_mode=$ac_tag; continue;;
5950
6019
  esac
5951
6020
  case $ac_mode$ac_tag in
5952
6021
  :[FHL]*:*);;
5953
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5954
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5955
 
   { (exit 1); exit 1; }; };;
 
6022
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5956
6023
  :[FH]-) ac_tag=-:-;;
5957
6024
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5958
6025
  esac
5980
6047
           [\\/$]*) false;;
5981
6048
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5982
6049
           esac ||
5983
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5984
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5985
 
   { (exit 1); exit 1; }; };;
 
6050
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5986
6051
      esac
5987
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6052
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6053
      as_fn_append ac_file_inputs " '$ac_f'"
5988
6054
    done
5989
6055
 
5990
6056
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5991
6057
    # use $as_me), people would be surprised to read:
5992
6058
    #    /* config.h.  Generated by config.status.  */
5993
 
    configure_input="Generated from "`IFS=:
5994
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6059
    configure_input='Generated from '`
 
6060
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6061
        `' by configure.'
5995
6062
    if test x"$ac_file" != x-; then
5996
6063
      configure_input="$ac_file.  $configure_input"
5997
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5998
 
echo "$as_me: creating $ac_file" >&6;}
 
6064
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
6065
$as_echo "$as_me: creating $ac_file" >&6;}
5999
6066
    fi
 
6067
    # Neutralize special characters interpreted by sed in replacement strings.
 
6068
    case $configure_input in #(
 
6069
    *\&* | *\|* | *\\* )
 
6070
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6071
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6072
    *) ac_sed_conf_input=$configure_input;;
 
6073
    esac
6000
6074
 
6001
6075
    case $ac_tag in
6002
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6076
    *:-:* | *:-) cat >"$tmp/stdin" \
 
6077
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6003
6078
    esac
6004
6079
    ;;
6005
6080
  esac
6009
6084
         X"$ac_file" : 'X\(//\)[^/]' \| \
6010
6085
         X"$ac_file" : 'X\(//\)$' \| \
6011
6086
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6012
 
echo X"$ac_file" |
6013
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6014
 
            s//\1/
6015
 
            q
6016
 
          }
6017
 
          /^X\(\/\/\)[^/].*/{
6018
 
            s//\1/
6019
 
            q
6020
 
          }
6021
 
          /^X\(\/\/\)$/{
6022
 
            s//\1/
6023
 
            q
6024
 
          }
6025
 
          /^X\(\/\).*/{
6026
 
            s//\1/
6027
 
            q
6028
 
          }
6029
 
          s/.*/./; q'`
6030
 
  { as_dir="$ac_dir"
6031
 
  case $as_dir in #(
6032
 
  -*) as_dir=./$as_dir;;
6033
 
  esac
6034
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6035
 
    as_dirs=
6036
 
    while :; do
6037
 
      case $as_dir in #(
6038
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6039
 
      *) as_qdir=$as_dir;;
6040
 
      esac
6041
 
      as_dirs="'$as_qdir' $as_dirs"
6042
 
      as_dir=`$as_dirname -- "$as_dir" ||
6043
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6044
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6045
 
         X"$as_dir" : 'X\(//\)$' \| \
6046
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6047
 
echo X"$as_dir" |
6048
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6049
 
            s//\1/
6050
 
            q
6051
 
          }
6052
 
          /^X\(\/\/\)[^/].*/{
6053
 
            s//\1/
6054
 
            q
6055
 
          }
6056
 
          /^X\(\/\/\)$/{
6057
 
            s//\1/
6058
 
            q
6059
 
          }
6060
 
          /^X\(\/\).*/{
6061
 
            s//\1/
6062
 
            q
6063
 
          }
6064
 
          s/.*/./; q'`
6065
 
      test -d "$as_dir" && break
6066
 
    done
6067
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6068
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6069
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6070
 
   { (exit 1); exit 1; }; }; }
 
6087
$as_echo X"$ac_file" |
 
6088
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6089
            s//\1/
 
6090
            q
 
6091
          }
 
6092
          /^X\(\/\/\)[^/].*/{
 
6093
            s//\1/
 
6094
            q
 
6095
          }
 
6096
          /^X\(\/\/\)$/{
 
6097
            s//\1/
 
6098
            q
 
6099
          }
 
6100
          /^X\(\/\).*/{
 
6101
            s//\1/
 
6102
            q
 
6103
          }
 
6104
          s/.*/./; q'`
 
6105
  as_dir="$ac_dir"; as_fn_mkdir_p
6071
6106
  ac_builddir=.
6072
6107
 
6073
6108
case "$ac_dir" in
6074
6109
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6075
6110
*)
6076
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6111
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6077
6112
  # A ".." for each directory in $ac_dir_suffix.
6078
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
6113
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6079
6114
  case $ac_top_builddir_sub in
6080
6115
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6081
6116
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6120
6155
  esac
6121
6156
_ACEOF
6122
6157
 
6123
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6158
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124
6159
# If the template does not know about datarootdir, expand it.
6125
6160
# FIXME: This hack should be removed a few years after 2.60.
6126
6161
ac_datarootdir_hack=; ac_datarootdir_seen=
6127
 
 
6128
 
case `sed -n '/datarootdir/ {
 
6162
ac_sed_dataroot='
 
6163
/datarootdir/ {
6129
6164
  p
6130
6165
  q
6131
6166
}
6133
6168
/@docdir@/p
6134
6169
/@infodir@/p
6135
6170
/@localedir@/p
6136
 
/@mandir@/p
6137
 
' $ac_file_inputs` in
 
6171
/@mandir@/p'
 
6172
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6138
6173
*datarootdir*) ac_datarootdir_seen=yes;;
6139
6174
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6140
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6141
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6175
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6176
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6142
6177
_ACEOF
6143
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6178
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6144
6179
  ac_datarootdir_hack='
6145
6180
  s&@datadir@&$datadir&g
6146
6181
  s&@docdir@&$docdir&g
6147
6182
  s&@infodir@&$infodir&g
6148
6183
  s&@localedir@&$localedir&g
6149
6184
  s&@mandir@&$mandir&g
6150
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
6185
  s&\\\${datarootdir}&$datarootdir&g' ;;
6151
6186
esac
6152
6187
_ACEOF
6153
6188
 
6154
6189
# Neutralize VPATH when `$srcdir' = `.'.
6155
6190
# Shell code in configure.ac might set extrasub.
6156
6191
# FIXME: do we really want to maintain this feature?
6157
 
cat >>$CONFIG_STATUS <<_ACEOF
6158
 
  sed "$ac_vpsub
 
6192
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6193
ac_sed_extra="$ac_vpsub
6159
6194
$extrasub
6160
6195
_ACEOF
6161
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6196
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6162
6197
:t
6163
6198
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6164
 
s&@configure_input@&$configure_input&;t t
 
6199
s|@configure_input@|$ac_sed_conf_input|;t t
6165
6200
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6201
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6166
6202
s&@srcdir@&$ac_srcdir&;t t
6167
6203
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6168
6204
s&@top_srcdir@&$ac_top_srcdir&;t t
6173
6209
s&@INSTALL@&$ac_INSTALL&;t t
6174
6210
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6175
6211
$ac_datarootdir_hack
6176
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
6212
"
 
6213
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
6214
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6177
6215
 
6178
6216
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6179
6217
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6180
6218
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6181
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6219
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6182
6220
which seems to be undefined.  Please make sure it is defined." >&5
6183
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6221
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6184
6222
which seems to be undefined.  Please make sure it is defined." >&2;}
6185
6223
 
6186
6224
  rm -f "$tmp/stdin"
6187
6225
  case $ac_file in
6188
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
6189
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6190
 
  esac
 
6226
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
6227
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6228
  esac \
 
6229
  || as_fn_error "could not create $ac_file" "$LINENO" 5
6191
6230
 ;;
6192
6231
  :H)
6193
6232
  #
6194
6233
  # CONFIG_HEADER
6195
6234
  #
6196
 
_ACEOF
6197
 
 
6198
 
# Transform confdefs.h into a sed script `conftest.defines', that
6199
 
# substitutes the proper values into config.h.in to produce config.h.
6200
 
rm -f conftest.defines conftest.tail
6201
 
# First, append a space to every undef/define line, to ease matching.
6202
 
echo 's/$/ /' >conftest.defines
6203
 
# Then, protect against being on the right side of a sed subst, or in
6204
 
# an unquoted here document, in config.status.  If some macros were
6205
 
# called several times there might be several #defines for the same
6206
 
# symbol, which is useless.  But do not sort them, since the last
6207
 
# AC_DEFINE must be honored.
6208
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6209
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6210
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6211
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
6212
 
# just an empty string.
6213
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6214
 
ac_dB='\\)[      (].*,\\1define\\2'
6215
 
ac_dC=' '
6216
 
ac_dD=' ,'
6217
 
 
6218
 
uniq confdefs.h |
6219
 
  sed -n '
6220
 
        t rset
6221
 
        :rset
6222
 
        s/^[     ]*#[    ]*define[       ][      ]*//
6223
 
        t ok
6224
 
        d
6225
 
        :ok
6226
 
        s/[\\&,]/\\&/g
6227
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6228
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6229
 
  ' >>conftest.defines
6230
 
 
6231
 
# Remove the space that was appended to ease matching.
6232
 
# Then replace #undef with comments.  This is necessary, for
6233
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
6234
 
# on some systems where configure will not decide to define it.
6235
 
# (The regexp can be short, since the line contains either #define or #undef.)
6236
 
echo 's/ $//
6237
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
6238
 
 
6239
 
# Break up conftest.defines:
6240
 
ac_max_sed_lines=50
6241
 
 
6242
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6243
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6244
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6245
 
# et cetera.
6246
 
ac_in='$ac_file_inputs'
6247
 
ac_out='"$tmp/out1"'
6248
 
ac_nxt='"$tmp/out2"'
6249
 
 
6250
 
while :
6251
 
do
6252
 
  # Write a here document:
6253
 
    cat >>$CONFIG_STATUS <<_ACEOF
6254
 
    # First, check the format of the line:
6255
 
    cat >"\$tmp/defines.sed" <<\\CEOF
6256
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6257
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6258
 
b
6259
 
:def
6260
 
_ACEOF
6261
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6262
 
  echo 'CEOF
6263
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6264
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6265
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6266
 
  grep . conftest.tail >/dev/null || break
6267
 
  rm -f conftest.defines
6268
 
  mv conftest.tail conftest.defines
6269
 
done
6270
 
rm -f conftest.defines conftest.tail
6271
 
 
6272
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6273
 
cat >>$CONFIG_STATUS <<\_ACEOF
6274
6235
  if test x"$ac_file" != x-; then
6275
 
    echo "/* $configure_input  */" >"$tmp/config.h"
6276
 
    cat "$ac_result" >>"$tmp/config.h"
6277
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6278
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6279
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
6236
    {
 
6237
      $as_echo "/* $configure_input  */" \
 
6238
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
6239
    } >"$tmp/config.h" \
 
6240
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
6241
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6242
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
6243
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6280
6244
    else
6281
 
      rm -f $ac_file
6282
 
      mv "$tmp/config.h" $ac_file
 
6245
      rm -f "$ac_file"
 
6246
      mv "$tmp/config.h" "$ac_file" \
 
6247
        || as_fn_error "could not create $ac_file" "$LINENO" 5
6283
6248
    fi
6284
6249
  else
6285
 
    echo "/* $configure_input  */"
6286
 
    cat "$ac_result"
 
6250
    $as_echo "/* $configure_input  */" \
 
6251
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
6252
      || as_fn_error "could not create -" "$LINENO" 5
6287
6253
  fi
6288
 
  rm -f "$tmp/out12"
6289
 
# Compute $ac_file's index in $config_headers.
6290
 
_am_arg=$ac_file
 
6254
# Compute "$ac_file"'s index in $config_headers.
 
6255
_am_arg="$ac_file"
6291
6256
_am_stamp_count=1
6292
6257
for _am_header in $config_headers :; do
6293
6258
  case $_am_header in
6302
6267
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6303
6268
         X"$_am_arg" : 'X\(//\)$' \| \
6304
6269
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6305
 
echo X"$_am_arg" |
 
6270
$as_echo X"$_am_arg" |
6306
6271
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6307
6272
            s//\1/
6308
6273
            q
6322
6287
          s/.*/./; q'`/stamp-h$_am_stamp_count
6323
6288
 ;;
6324
6289
 
6325
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6326
 
echo "$as_me: executing $ac_file commands" >&6;}
 
6290
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
6291
$as_echo "$as_me: executing $ac_file commands" >&6;}
6327
6292
 ;;
6328
6293
  esac
6329
6294
 
6330
6295
 
6331
6296
  case $ac_file$ac_mode in
6332
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6333
 
  # Strip MF so we end up with the name of the file.
6334
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6335
 
  # Check whether this is an Automake generated Makefile or not.
6336
 
  # We used to match only the files named `Makefile.in', but
6337
 
  # some people rename them; so instead we look at the file content.
6338
 
  # Grep'ing the first line is not enough: some people post-process
6339
 
  # each Makefile.in and add a new line on top of each file to say so.
6340
 
  # Grep'ing the whole file is not good either: AIX grep has a line
6341
 
  # limit of 2048, but all sed's we know have understand at least 4000.
6342
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6343
 
    dirpart=`$as_dirname -- "$mf" ||
 
6297
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
6298
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
6299
  # are listed without --file.  Let's play safe and only enable the eval
 
6300
  # if we detect the quoting.
 
6301
  case $CONFIG_FILES in
 
6302
  *\'*) eval set x "$CONFIG_FILES" ;;
 
6303
  *)   set x $CONFIG_FILES ;;
 
6304
  esac
 
6305
  shift
 
6306
  for mf
 
6307
  do
 
6308
    # Strip MF so we end up with the name of the file.
 
6309
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6310
    # Check whether this is an Automake generated Makefile or not.
 
6311
    # We used to match only the files named `Makefile.in', but
 
6312
    # some people rename them; so instead we look at the file content.
 
6313
    # Grep'ing the first line is not enough: some people post-process
 
6314
    # each Makefile.in and add a new line on top of each file to say so.
 
6315
    # Grep'ing the whole file is not good either: AIX grep has a line
 
6316
    # limit of 2048, but all sed's we know have understand at least 4000.
 
6317
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
6318
      dirpart=`$as_dirname -- "$mf" ||
6344
6319
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6345
6320
         X"$mf" : 'X\(//\)[^/]' \| \
6346
6321
         X"$mf" : 'X\(//\)$' \| \
6347
6322
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6348
 
echo X"$mf" |
 
6323
$as_echo X"$mf" |
6349
6324
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6350
6325
            s//\1/
6351
6326
            q
6363
6338
            q
6364
6339
          }
6365
6340
          s/.*/./; q'`
6366
 
  else
6367
 
    continue
6368
 
  fi
6369
 
  # Extract the definition of DEPDIR, am__include, and am__quote
6370
 
  # from the Makefile without running `make'.
6371
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6372
 
  test -z "$DEPDIR" && continue
6373
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6374
 
  test -z "am__include" && continue
6375
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6376
 
  # When using ansi2knr, U may be empty or an underscore; expand it
6377
 
  U=`sed -n 's/^U = //p' < "$mf"`
6378
 
  # Find all dependency output files, they are included files with
6379
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6380
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
6381
 
  # expansion.
6382
 
  for file in `sed -n "
6383
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6384
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6385
 
    # Make sure the directory exists.
6386
 
    test -f "$dirpart/$file" && continue
6387
 
    fdir=`$as_dirname -- "$file" ||
 
6341
    else
 
6342
      continue
 
6343
    fi
 
6344
    # Extract the definition of DEPDIR, am__include, and am__quote
 
6345
    # from the Makefile without running `make'.
 
6346
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6347
    test -z "$DEPDIR" && continue
 
6348
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6349
    test -z "am__include" && continue
 
6350
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6351
    # When using ansi2knr, U may be empty or an underscore; expand it
 
6352
    U=`sed -n 's/^U = //p' < "$mf"`
 
6353
    # Find all dependency output files, they are included files with
 
6354
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6355
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
6356
    # expansion.
 
6357
    for file in `sed -n "
 
6358
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6359
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6360
      # Make sure the directory exists.
 
6361
      test -f "$dirpart/$file" && continue
 
6362
      fdir=`$as_dirname -- "$file" ||
6388
6363
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6389
6364
         X"$file" : 'X\(//\)[^/]' \| \
6390
6365
         X"$file" : 'X\(//\)$' \| \
6391
6366
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6392
 
echo X"$file" |
6393
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6394
 
            s//\1/
6395
 
            q
6396
 
          }
6397
 
          /^X\(\/\/\)[^/].*/{
6398
 
            s//\1/
6399
 
            q
6400
 
          }
6401
 
          /^X\(\/\/\)$/{
6402
 
            s//\1/
6403
 
            q
6404
 
          }
6405
 
          /^X\(\/\).*/{
6406
 
            s//\1/
6407
 
            q
6408
 
          }
6409
 
          s/.*/./; q'`
6410
 
    { as_dir=$dirpart/$fdir
6411
 
  case $as_dir in #(
6412
 
  -*) as_dir=./$as_dir;;
6413
 
  esac
6414
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6415
 
    as_dirs=
6416
 
    while :; do
6417
 
      case $as_dir in #(
6418
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6419
 
      *) as_qdir=$as_dir;;
6420
 
      esac
6421
 
      as_dirs="'$as_qdir' $as_dirs"
6422
 
      as_dir=`$as_dirname -- "$as_dir" ||
6423
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6424
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6425
 
         X"$as_dir" : 'X\(//\)$' \| \
6426
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6427
 
echo X"$as_dir" |
6428
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6429
 
            s//\1/
6430
 
            q
6431
 
          }
6432
 
          /^X\(\/\/\)[^/].*/{
6433
 
            s//\1/
6434
 
            q
6435
 
          }
6436
 
          /^X\(\/\/\)$/{
6437
 
            s//\1/
6438
 
            q
6439
 
          }
6440
 
          /^X\(\/\).*/{
6441
 
            s//\1/
6442
 
            q
6443
 
          }
6444
 
          s/.*/./; q'`
6445
 
      test -d "$as_dir" && break
 
6367
$as_echo X"$file" |
 
6368
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
6369
            s//\1/
 
6370
            q
 
6371
          }
 
6372
          /^X\(\/\/\)[^/].*/{
 
6373
            s//\1/
 
6374
            q
 
6375
          }
 
6376
          /^X\(\/\/\)$/{
 
6377
            s//\1/
 
6378
            q
 
6379
          }
 
6380
          /^X\(\/\).*/{
 
6381
            s//\1/
 
6382
            q
 
6383
          }
 
6384
          s/.*/./; q'`
 
6385
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
6386
      # echo "creating $dirpart/$file"
 
6387
      echo '# dummy' > "$dirpart/$file"
6446
6388
    done
6447
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6448
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6449
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6450
 
   { (exit 1); exit 1; }; }; }
6451
 
    # echo "creating $dirpart/$file"
6452
 
    echo '# dummy' > "$dirpart/$file"
6453
6389
  done
6454
 
done
 
6390
}
6455
6391
 ;;
6456
6392
    "default":C)  ;;
6457
6393
 
6459
6395
done # for ac_tag
6460
6396
 
6461
6397
 
6462
 
{ (exit 0); exit 0; }
 
6398
as_fn_exit 0
6463
6399
_ACEOF
6464
 
chmod +x $CONFIG_STATUS
6465
6400
ac_clean_files=$ac_clean_files_save
6466
6401
 
 
6402
test $ac_write_fail = 0 ||
 
6403
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
6404
 
6467
6405
 
6468
6406
# configure is writing to config.log, and then calls config.status.
6469
6407
# config.status does its own redirection, appending to config.log.
6483
6421
  exec 5>>config.log
6484
6422
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6485
6423
  # would make configure fail if this is the last instruction.
6486
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6424
  $ac_cs_success || as_fn_exit $?
 
6425
fi
 
6426
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
6427
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6428
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6487
6429
fi
6488
6430
 
6489
6431
 
6490
6432
if test "x$SETCAP" = "xno"; then
6491
 
   { echo "$as_me:$LINENO:
 
6433
   { $as_echo "$as_me:${as_lineno-$LINENO}:
6492
6434
 
6493
6435
Warning:
6494
6436
--------
6498
6440
will need to run these commands as root or install libcap-2.
6499
6441
 
6500
6442
" >&5
6501
 
echo "$as_me:
 
6443
$as_echo "$as_me:
6502
6444
 
6503
6445
Warning:
6504
6446
--------
6511
6453
 
6512
6454
else
6513
6455
 
6514
 
   { echo "$as_me:$LINENO:
 
6456
   { $as_echo "$as_me:${as_lineno-$LINENO}:
6515
6457
 
6516
6458
Advice:
6517
6459
-------
6521
6463
the 'lxc-setcap' script. To remove the capabilities, use
6522
6464
'lxc-setcap -d'.
6523
6465
" >&5
6524
 
echo "$as_me:
 
6466
$as_echo "$as_me:
6525
6467
 
6526
6468
Advice:
6527
6469
-------