89
110
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
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 \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
167
exitcode=1; echo positional parameters were not saved.
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
158
178
as_have_required=no
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
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
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
188
test -z "$as_dir" && as_dir=.
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 :
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
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
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+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
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
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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."
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."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
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
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
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 :
354
as_val=`expr "$@" || test $? -eq 1`
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.
366
as_status=$?; test $as_status -eq 0 && as_status=1
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
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
1391
1428
test -n "$ac_init_help" && exit $ac_status
1392
1429
if $ac_init_version; then
1395
generated by GNU Autoconf 2.61
1432
generated by GNU Autoconf 2.65
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.
1441
## ------------------------ ##
1442
## Autoconf initialization. ##
1443
## ------------------------ ##
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 ()
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"
1454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455
*) ac_try_echo=$ac_try;;
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
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
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 :
1473
$as_echo "$as_me: failed program was:" >&5
1474
sed 's/^/| /' conftest.$ac_ext >&5
1478
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1479
as_fn_set_status $ac_retval
1481
} # ac_fn_c_try_compile
1483
# ac_fn_c_try_cpp LINENO
1484
# ----------------------
1485
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1488
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489
if { { ac_try="$ac_cpp conftest.$ac_ext"
1491
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492
*) ac_try_echo=$ac_try;;
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
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
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
1510
$as_echo "$as_me: failed program was:" >&5
1511
sed 's/^/| /' conftest.$ac_ext >&5
1515
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1516
as_fn_set_status $ac_retval
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
1525
ac_fn_c_check_header_mongrel ()
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
1535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536
$as_echo "$ac_res" >&6; }
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. */
1546
if ac_fn_c_try_compile "$LINENO"; then :
1547
ac_header_compiler=yes
1549
ac_header_compiler=no
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; }
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. */
1562
if ac_fn_c_try_cpp "$LINENO"; then :
1563
ac_header_preproc=yes
1565
ac_header_preproc=no
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; }
1571
# So? What about this header?
1572
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
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;}
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;}
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
1597
eval "$3=\$ac_header_compiler"
1600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601
$as_echo "$ac_res" >&6; }
1603
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605
} # ac_fn_c_check_header_mongrel
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.
1613
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
if { { ac_try="$ac_link"
1616
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617
*) ac_try_echo=$ac_try;;
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
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;;
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
1633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634
test $ac_status = 0; }; }; then :
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
1641
ac_retval=$ac_status
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
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 ()
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
1661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662
/* end confdefs.h. */
1666
if ac_fn_c_try_compile "$LINENO"; then :
1671
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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;}
1678
} # ac_fn_c_check_header_compile
1680
# ac_fn_c_try_link LINENO
1681
# -----------------------
1682
# Try to link conftest.$ac_ext, and return whether this succeeded.
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"
1689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
*) ac_try_echo=$ac_try;;
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
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
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
1711
$as_echo "$as_me: failed program was:" >&5
1712
sed 's/^/| /' conftest.$ac_ext >&5
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
1724
} # ac_fn_c_try_link
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 ()
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
1737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738
/* end confdefs.h. */
1751
if ac_fn_c_try_compile "$LINENO"; then :
1756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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;}
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.
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
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
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,$//
1933
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2296
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2297
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1936
2299
# expand $ac_aux_dir to an absolute path
1937
2300
am_aux_dir=`cd $ac_aux_dir && pwd`
1939
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2302
if test x"${MISSING+set}" != xset; then
2305
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2307
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1940
2310
# Use eval to expand $SHELL
1941
2311
if eval "$MISSING --run true"; then
1942
2312
am_missing_run="$MISSING --run "
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;}
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;}
2319
if test x"${install_sh}" != xset; then
2322
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2324
install_sh="\${SHELL} $am_aux_dir/install-sh"
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
2341
if test -n "$STRIP"; then
2342
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2367
$as_echo "no" >&6; }
2372
if test -z "$ac_cv_prog_STRIP"; then
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
2381
if test -n "$ac_ct_STRIP"; then
2382
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2384
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407
$as_echo "no" >&6; }
2410
if test "x$ac_ct_STRIP" = x; then
2413
case $cross_compiling:$ac_tool_warned in
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 ;;
2422
STRIP="$ac_cv_prog_STRIP"
2426
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
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
1955
2434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956
2435
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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 #(
3547
cat >>confdefs.h <<\_ACEOF
3548
#define _GNU_SOURCE 1
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
3809
if test -z "$CPP"; then
3810
if test "${ac_cv_prog_CPP+set}" = set; then :
3811
$as_echo_n "(cached) " >&6
3813
# Double quotes because CPP needs to be expanded
3814
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3817
for ac_c_preproc_warn_flag in '' yes
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. */
3828
# include <limits.h>
3830
# include <assert.h>
3834
if ac_fn_c_try_cpp "$LINENO"; then :
3837
# Broken: fails on valid input.
3840
rm -f conftest.err conftest.$ac_ext
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>
3848
if ac_fn_c_try_cpp "$LINENO"; then :
3849
# Broken: success on invalid input.
3852
# Passes both tests.
3856
rm -f conftest.err conftest.$ac_ext
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 :
3873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3874
$as_echo "$CPP" >&6; }
3876
for ac_c_preproc_warn_flag in '' yes
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. */
3887
# include <limits.h>
3889
# include <assert.h>
3893
if ac_fn_c_try_cpp "$LINENO"; then :
3896
# Broken: fails on valid input.
3899
rm -f conftest.err conftest.$ac_ext
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>
3907
if ac_fn_c_try_cpp "$LINENO"; then :
3908
# Broken: success on invalid input.
3911
# Passes both tests.
3915
rm -f conftest.err conftest.$ac_ext
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 :
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; }
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
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
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
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
3957
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3960
$as_echo_n 0123456789 >"conftest.in"
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
3975
# 10*(2^10) chars as input seems more than enough
3976
test $ac_count -gt 10 && break
3978
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3981
$ac_path_GREP_found && break 3
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
3990
ac_cv_path_GREP=$GREP
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"
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
4004
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4005
then ac_cv_path_EGREP="$GREP -E"
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
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
4023
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4026
$as_echo_n 0123456789 >"conftest.in"
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
4041
# 10*(2^10) chars as input seems more than enough
4042
test $ac_count -gt 10 && break
4044
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4047
$ac_path_EGREP_found && break 3
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
4056
ac_cv_path_EGREP=$EGREP
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"
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
4071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072
/* end confdefs.h. */
4086
if ac_fn_c_try_compile "$LINENO"; then :
4087
ac_cv_header_stdc=yes
4089
ac_cv_header_stdc=no
4091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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. */
4100
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4101
$EGREP "memchr" >/dev/null 2>&1; then :
4104
ac_cv_header_stdc=no
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. */
4117
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4118
$EGREP "free" >/dev/null 2>&1; then :
4121
ac_cv_header_stdc=no
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 :
4132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133
/* end confdefs.h. */
4136
#if ((' ' & 0x0FF) == 0x020)
4137
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4138
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4147
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4152
for (i = 0; i < 256; i++)
4153
if (XOR (islower (i), ISLOWER (i))
4154
|| toupper (i) != TOUPPER (i))
4159
if ac_fn_c_try_run "$LINENO"; then :
4162
ac_cv_header_stdc=no
4164
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4165
conftest.$ac_objext conftest.beam conftest.$ac_ext
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
4174
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
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
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
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
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 :
4205
if test "$MINIX" = yes; then
4207
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4210
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4213
$as_echo "#define _MINIX 1" >>confdefs.h
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
4223
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224
/* end confdefs.h. */
4226
# define __EXTENSIONS__ 1
4227
$ac_includes_default
4236
if ac_fn_c_try_compile "$LINENO"; then :
4237
ac_cv_safe_to_define___extensions__=yes
4239
ac_cv_safe_to_define___extensions__=no
4241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4248
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4250
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4252
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4254
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
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
3559
4265
if test -n "$SETCAP"; then
3560
4266
ac_cv_prog_SETCAP="$SETCAP" # Let the user override the test.
3997
4766
cat >>confdefs.h <<_ACEOF
3998
#define LXCLIBEXECDIR "$LIBEXECDIR"
4767
#define LXCINITDIR "$LXCINITDIR"
4770
cat >>confdefs.h <<_ACEOF
4771
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
4005
4775
for ac_header in linux/netlink.h linux/genetlink.h
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
4013
cat >conftest.$ac_ext <<_ACEOF
4016
cat confdefs.h >>conftest.$ac_ext
4017
cat >>conftest.$ac_ext <<_ACEOF
4018
/* end confdefs.h. */
4019
#include <sys/socket.h>
4022
#include <$ac_header>
4024
rm -f conftest.$ac_objext
4025
if { (ac_try="$ac_compile"
4027
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028
*) ac_try_echo=$ac_try;;
4030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031
(eval "$ac_compile") 2>conftest.er1
4033
grep -v '^ *+' conftest.er1 >conftest.err
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"
4043
echo "$as_me: failed program was:" >&5
4044
sed 's/^/| /' conftest.$ac_ext >&5
4046
eval "$as_ac_Header=no"
4049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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>
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
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
4069
4794
for ac_header in sys/capability.h
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
4077
cat >conftest.$ac_ext <<_ACEOF
4080
cat confdefs.h >>conftest.$ac_ext
4081
cat >>conftest.$ac_ext <<_ACEOF
4082
/* end confdefs.h. */
4083
#include <sys/types.h>
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>
4086
#include <$ac_header>
4088
rm -f conftest.$ac_objext
4089
if { (ac_try="$ac_compile"
4091
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092
*) ac_try_echo=$ac_try;;
4094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095
(eval "$ac_compile") 2>conftest.er1
4097
grep -v '^ *+' conftest.er1 >conftest.err
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"
4107
echo "$as_me: failed program was:" >&5
4108
sed 's/^/| /' conftest.$ac_ext >&5
4110
eval "$as_ac_Header=no"
4113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
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
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
4815
ac_check_lib_save_LIBS=$LIBS
4817
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818
/* end confdefs.h. */
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. */
4826
char cap_set_proc ();
4830
return cap_set_proc ();
4835
if ac_fn_c_try_link "$LINENO"; then :
4836
ac_cv_lib_cap_cap_set_proc=yes
4838
ac_cv_lib_cap_cap_set_proc=no
4840
rm -f core conftest.err conftest.$ac_objext \
4841
conftest$ac_exeext conftest.$ac_ext
4842
LIBS=$ac_check_lib_save_LIBS
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 :
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
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAP_LIBS" >&5
4857
$as_echo "$CAP_LIBS" >&6; }
4859
as_fn_error "not found" "$LINENO" 5
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
4138
cat >conftest.$ac_ext <<_ACEOF
4141
cat confdefs.h >>conftest.$ac_ext
4142
cat >>conftest.$ac_ext <<_ACEOF
4143
/* end confdefs.h. */
4144
#include <sys/prctl.h>
4149
#ifndef PR_CAPBSET_DROP
4150
(void) PR_CAPBSET_DROP;
4157
rm -f conftest.$ac_objext
4158
if { (ac_try="$ac_compile"
4160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161
*) ac_try_echo=$ac_try;;
4163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164
(eval "$ac_compile") 2>conftest.er1
4166
grep -v '^ *+' conftest.er1 >conftest.err
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
4176
echo "$as_me: failed program was:" >&5
4177
sed 's/^/| /' conftest.$ac_ext >&5
4179
ac_cv_have_decl_PR_CAPBSET_DROP=no
4182
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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>
4866
if test "x$ac_cv_have_decl_PR_CAPBSET_DROP" = x""yes; then :
4188
4872
cat >>confdefs.h <<_ACEOF
4189
#define HAVE_DECL_PR_CAPBSET_DROP 1
4194
cat >>confdefs.h <<_ACEOF
4195
#define HAVE_DECL_PR_CAPBSET_DROP 0
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
4214
if test -z "$CPP"; then
4215
if test "${ac_cv_prog_CPP+set}" = set; then
4216
echo $ECHO_N "(cached) $ECHO_C" >&6
4218
# Double quotes because CPP needs to be expanded
4219
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4222
for ac_c_preproc_warn_flag in '' yes
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
4233
cat confdefs.h >>conftest.$ac_ext
4234
cat >>conftest.$ac_ext <<_ACEOF
4235
/* end confdefs.h. */
4237
# include <limits.h>
4239
# include <assert.h>
4243
if { (ac_try="$ac_cpp conftest.$ac_ext"
4245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246
*) ac_try_echo=$ac_try;;
4248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4251
grep -v '^ *+' conftest.er1 >conftest.err
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
4261
echo "$as_me: failed program was:" >&5
4262
sed 's/^/| /' conftest.$ac_ext >&5
4264
# Broken: fails on valid input.
4268
rm -f conftest.err conftest.$ac_ext
4270
# OK, works on sane cases. Now check whether nonexistent headers
4271
# can be detected and how.
4272
cat >conftest.$ac_ext <<_ACEOF
4275
cat confdefs.h >>conftest.$ac_ext
4276
cat >>conftest.$ac_ext <<_ACEOF
4277
/* end confdefs.h. */
4278
#include <ac_nonexistent.h>
4280
if { (ac_try="$ac_cpp conftest.$ac_ext"
4282
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283
*) ac_try_echo=$ac_try;;
4285
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4288
grep -v '^ *+' conftest.er1 >conftest.err
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
4296
# Broken: success on invalid input.
4299
echo "$as_me: failed program was:" >&5
4300
sed 's/^/| /' conftest.$ac_ext >&5
4302
# Passes both tests.
4307
rm -f conftest.err conftest.$ac_ext
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
4324
{ echo "$as_me:$LINENO: result: $CPP" >&5
4325
echo "${ECHO_T}$CPP" >&6; }
4327
for ac_c_preproc_warn_flag in '' yes
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
4338
cat confdefs.h >>conftest.$ac_ext
4339
cat >>conftest.$ac_ext <<_ACEOF
4340
/* end confdefs.h. */
4342
# include <limits.h>
4344
# include <assert.h>
4348
if { (ac_try="$ac_cpp conftest.$ac_ext"
4350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351
*) ac_try_echo=$ac_try;;
4353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4354
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4356
grep -v '^ *+' conftest.er1 >conftest.err
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
4366
echo "$as_me: failed program was:" >&5
4367
sed 's/^/| /' conftest.$ac_ext >&5
4369
# Broken: fails on valid input.
4373
rm -f conftest.err conftest.$ac_ext
4375
# OK, works on sane cases. Now check whether nonexistent headers
4376
# can be detected and how.
4377
cat >conftest.$ac_ext <<_ACEOF
4380
cat confdefs.h >>conftest.$ac_ext
4381
cat >>conftest.$ac_ext <<_ACEOF
4382
/* end confdefs.h. */
4383
#include <ac_nonexistent.h>
4385
if { (ac_try="$ac_cpp conftest.$ac_ext"
4387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388
*) ac_try_echo=$ac_try;;
4390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4391
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4393
grep -v '^ *+' conftest.er1 >conftest.err
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
4401
# Broken: success on invalid input.
4404
echo "$as_me: failed program was:" >&5
4405
sed 's/^/| /' conftest.$ac_ext >&5
4407
# Passes both tests.
4412
rm -f conftest.err conftest.$ac_ext
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
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; }; }
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
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
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
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
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
4460
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4463
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
4478
# 10*(2^10) chars as input seems more than enough
4479
test $ac_count -gt 10 && break
4481
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4485
$ac_path_GREP_found && break 3
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; }; }
4503
ac_cv_path_GREP=$GREP
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"
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
4518
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4519
then ac_cv_path_EGREP="$GREP -E"
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
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
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
4542
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4545
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
4560
# 10*(2^10) chars as input seems more than enough
4561
test $ac_count -gt 10 && break
4563
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4567
$ac_path_EGREP_found && break 3
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; }; }
4585
ac_cv_path_EGREP=$EGREP
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"
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
4601
cat >conftest.$ac_ext <<_ACEOF
4604
cat confdefs.h >>conftest.$ac_ext
4605
cat >>conftest.$ac_ext <<_ACEOF
4606
/* end confdefs.h. */
4620
rm -f conftest.$ac_objext
4621
if { (ac_try="$ac_compile"
4623
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624
*) ac_try_echo=$ac_try;;
4626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627
(eval "$ac_compile") 2>conftest.er1
4629
grep -v '^ *+' conftest.er1 >conftest.err
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
4639
echo "$as_me: failed program was:" >&5
4640
sed 's/^/| /' conftest.$ac_ext >&5
4642
ac_cv_header_stdc=no
4645
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4652
cat confdefs.h >>conftest.$ac_ext
4653
cat >>conftest.$ac_ext <<_ACEOF
4654
/* end confdefs.h. */
4658
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4659
$EGREP "memchr" >/dev/null 2>&1; then
4662
ac_cv_header_stdc=no
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
4673
cat confdefs.h >>conftest.$ac_ext
4674
cat >>conftest.$ac_ext <<_ACEOF
4675
/* end confdefs.h. */
4679
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4680
$EGREP "free" >/dev/null 2>&1; then
4683
ac_cv_header_stdc=no
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
4694
cat >conftest.$ac_ext <<_ACEOF
4697
cat confdefs.h >>conftest.$ac_ext
4698
cat >>conftest.$ac_ext <<_ACEOF
4699
/* end confdefs.h. */
4702
#if ((' ' & 0x0FF) == 0x020)
4703
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4704
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4713
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4718
for (i = 0; i < 256; i++)
4719
if (XOR (islower (i), ISLOWER (i))
4720
|| toupper (i) != TOUPPER (i))
4725
rm -f conftest$ac_exeext
4726
if { (ac_try="$ac_link"
4728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729
*) ac_try_echo=$ac_try;;
4731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732
(eval "$ac_link") 2>&5
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;;
4740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4741
(eval "$ac_try") 2>&5
4743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744
(exit $ac_status); }; }; then
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
4752
ac_cv_header_stdc=no
4754
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
4764
cat >>confdefs.h <<\_ACEOF
4765
#define STDC_HEADERS 1
4770
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
4789
cat >conftest.$ac_ext <<_ACEOF
4792
cat confdefs.h >>conftest.$ac_ext
4793
cat >>conftest.$ac_ext <<_ACEOF
4794
/* end confdefs.h. */
4795
$ac_includes_default
4797
#include <$ac_header>
4799
rm -f conftest.$ac_objext
4800
if { (ac_try="$ac_compile"
4802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803
*) ac_try_echo=$ac_try;;
4805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4806
(eval "$ac_compile") 2>conftest.er1
4808
grep -v '^ *+' conftest.er1 >conftest.err
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"
4818
echo "$as_me: failed program was:" >&5
4819
sed 's/^/| /' conftest.$ac_ext >&5
4821
eval "$as_ac_Header=no"
4824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4873
#define HAVE_DECL_PR_CAPBSET_DROP $ac_have_decl
4840
4877
for ac_header in sys/signalfd.h
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
4849
ac_res=`eval echo '${'$as_ac_Header'}'`
4850
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4851
echo "${ECHO_T}$ac_res" >&6; }
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
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>
4865
rm -f conftest.$ac_objext
4866
if { (ac_try="$ac_compile"
4868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869
*) ac_try_echo=$ac_try;;
4871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4872
(eval "$ac_compile") 2>conftest.er1
4874
grep -v '^ *+' conftest.er1 >conftest.err
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
4884
echo "$as_me: failed program was:" >&5
4885
sed 's/^/| /' conftest.$ac_ext >&5
4887
ac_header_compiler=no
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; }
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
4900
cat confdefs.h >>conftest.$ac_ext
4901
cat >>conftest.$ac_ext <<_ACEOF
4902
/* end confdefs.h. */
4903
#include <$ac_header>
4905
if { (ac_try="$ac_cpp conftest.$ac_ext"
4907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908
*) ac_try_echo=$ac_try;;
4910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4913
grep -v '^ *+' conftest.er1 >conftest.err
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
4921
ac_header_preproc=yes
4923
echo "$as_me: failed program was:" >&5
4924
sed 's/^/| /' conftest.$ac_ext >&5
4926
ac_header_preproc=no
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; }
4933
# So? What about this header?
4934
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
4963
eval "$as_ac_Header=\$ac_header_preproc"
4965
ac_res=`eval echo '${'$as_ac_Header'}'`
4966
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4967
echo "${ECHO_T}$ac_res" >&6; }
4970
if test `eval echo '${'$as_ac_Header'}'` = yes; then
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
5718
5750
tmp=./conf$$-$RANDOM
5719
5751
(umask 077 && mkdir "$tmp")
5722
echo "$me: cannot create a temporary directory in ." >&2
5723
{ (exit 1); exit 1; }
5727
# Set up the sed scripts for CONFIG_FILES section.
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
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
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
5771
ECHO_C!$ECHO_C$ac_delim
5772
ECHO_N!$ECHO_N$ac_delim
5773
ECHO_T!$ECHO_T$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
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
5805
host_cpu!$host_cpu$ac_delim
5806
host_vendor!$host_vendor$ac_delim
5807
host_os!$host_os$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
5840
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
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; }; }
5847
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
5857
cat >>$CONFIG_STATUS <<_ACEOF
5858
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5859
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5862
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5863
s/^/s,@/; s/!/@,|#_!!_#|/
5866
s/'"$ac_delim"'$/,g/; t
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
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
5884
EGREP!$EGREP$ac_delim
5885
LIBOBJS!$LIBOBJS$ac_delim
5886
LTLIBOBJS!$LTLIBOBJS$ac_delim
5889
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
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; }; }
5896
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
5911
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5912
s/^/s,@/; s/!/@,|#_!!_#|/
5915
s/'"$ac_delim"'$/,g/; t
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
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\'
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
5774
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5779
echo "cat >conf$$subs.awk <<_ACEOF" &&
5780
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5783
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5784
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
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
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
5793
elif $ac_last_try; then
5794
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5796
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5801
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5802
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5806
s/^/S["/; s/!.*/"]=/
5816
s/\(.\{148\}\)..*/\1/
5818
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5823
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5830
s/\(.\{148\}\)..*/\1/
5832
s/["\\]/\\&/g; s/^/"/; s/$/"/
5836
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5841
' <conf$$subs.awk | sed '
5846
' >>$CONFIG_STATUS || ac_write_fail=1
5847
rm -f conf$$subs.awk
5848
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5850
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5851
for (key in S) S_is_set[key] = 1
5857
nfields = split(line, field, "@")
5859
len = length(field[1])
5860
for (i = 2; i < nfields; i++) {
5862
keylen = length(key)
5863
if (S_is_set[key]) {
5865
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5866
len += length(value) + length(field[++i])
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"
5882
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5883
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
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