2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for lxc 0.7.5.
3
# Generated by GNU Autoconf 2.68 for lxc 0.8.0-rc1.
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
214
215
# We cannot yet assume a decent shell, so we have to provide a
215
216
# neutralization value for shells without unset; and this also
216
217
# works around shells that cannot unset nonexistent variables.
218
# Preserve -v and -x to the replacement shell.
217
219
BASH_ENV=/dev/null
219
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
222
export CONFIG_SHELL
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
*v*x* | *x*v* ) as_opts=-vx ;;
229
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
if test x$as_have_required = xno; then :
1128
1139
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129
1140
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130
1141
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1142
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266
1277
# Omit some internal or obsolete options to make the list less imposing.
1267
1278
# This message is too long to be a string in the A/UX 3.1 sh.
1269
\`configure' configures lxc 0.7.5 to adapt to many kinds of systems.
1280
\`configure' configures lxc 0.8.0-rc1 to adapt to many kinds of systems.
1271
1282
Usage: $0 [OPTION]... [VAR=VALUE]...
1346
1357
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1347
1358
--disable-dependency-tracking speeds up one-time build
1348
1359
--enable-dependency-tracking do not reject slow dependency extractors
1360
--disable-rpath do not set rpath in executables
1349
1361
--enable-doc make mans (require docbook2man installed)
1351
1363
--disable-examples do not install configuration examples
1433
1445
test -n "$ac_init_help" && exit $ac_status
1434
1446
if $ac_init_version; then
1437
generated by GNU Autoconf 2.67
1448
lxc configure 0.8.0-rc1
1449
generated by GNU Autoconf 2.68
1439
1451
Copyright (C) 2010 Free Software Foundation, Inc.
1440
1452
This configure script is free software; the Free Software Foundation
1530
1542
ac_fn_c_check_header_mongrel ()
1532
1544
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533
if eval "test \"\${$3+set}\"" = set; then :
1545
if eval \${$3+:} false; then :
1534
1546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1535
1547
$as_echo_n "checking for $2... " >&6; }
1536
if eval "test \"\${$3+set}\"" = set; then :
1548
if eval \${$3+:} false; then :
1537
1549
$as_echo_n "(cached) " >&6
1539
1551
eval ac_res=\$$3
1597
1609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598
1610
$as_echo_n "checking for $2... " >&6; }
1599
if eval "test \"\${$3+set}\"" = set; then :
1611
if eval \${$3+:} false; then :
1600
1612
$as_echo_n "(cached) " >&6
1602
1614
eval "$3=\$ac_header_compiler"
1660
1672
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
1673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662
1674
$as_echo_n "checking for $2... " >&6; }
1663
if eval "test \"\${$3+set}\"" = set; then :
1675
if eval \${$3+:} false; then :
1664
1676
$as_echo_n "(cached) " >&6
1666
1678
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723
1735
# interfere with the next link command; also delete a directory that is
1724
1736
# left behind by Apple's compiler. We do this before executing the actions.
1725
1737
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727
1739
as_fn_set_status $ac_retval
1729
1741
} # ac_fn_c_try_link
1739
1751
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1740
1752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1741
1753
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1742
if eval "test \"\${$3+set}\"" = set; then :
1754
if eval \${$3+:} false; then :
1743
1755
$as_echo_n "(cached) " >&6
1745
1757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770
1782
eval ac_res=\$$3
1771
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772
1784
$as_echo "$ac_res" >&6; }
1773
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
1787
} # ac_fn_c_check_decl
1776
1788
cat >config.log <<_ACEOF
1777
1789
This file contains any messages produced by compilers while
1778
1790
running configure, to aid debugging if configure makes a mistake.
1780
It was created by lxc $as_me 0.7.5, which was
1781
generated by GNU Autoconf 2.67. Invocation command line was
1792
It was created by lxc $as_me 0.8.0-rc1, which was
1793
generated by GNU Autoconf 2.68. Invocation command line was
2177
2189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2178
2190
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2179
2191
if test -z "$INSTALL"; then
2180
if test "${ac_cv_path_install+set}" = set; then :
2192
if ${ac_cv_path_install+:} false; then :
2181
2193
$as_echo_n "(cached) " >&6
2183
2195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
2278
*[\\\"\#\$\&\'\`$am_lf]*)
2267
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2279
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2269
2281
case $srcdir in
2270
2282
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2271
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2283
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2274
2286
# Do `set' in a subshell so we don't clobber the current shell's
2354
2366
set dummy ${ac_tool_prefix}strip; ac_word=$2
2355
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356
2368
$as_echo_n "checking for $ac_word... " >&6; }
2357
if test "${ac_cv_prog_STRIP+set}" = set; then :
2369
if ${ac_cv_prog_STRIP+:} false; then :
2358
2370
$as_echo_n "(cached) " >&6
2360
2372
if test -n "$STRIP"; then
2394
2406
set dummy strip; ac_word=$2
2395
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396
2408
$as_echo_n "checking for $ac_word... " >&6; }
2397
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2409
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2398
2410
$as_echo_n "(cached) " >&6
2400
2412
if test -n "$ac_ct_STRIP"; then
2447
2459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2448
2460
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2449
2461
if test -z "$MKDIR_P"; then
2450
if test "${ac_cv_path_mkdir+set}" = set; then :
2462
if ${ac_cv_path_mkdir+:} false; then :
2451
2463
$as_echo_n "(cached) " >&6
2453
2465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498
2510
set dummy $ac_prog; ac_word=$2
2499
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500
2512
$as_echo_n "checking for $ac_word... " >&6; }
2501
if test "${ac_cv_prog_AWK+set}" = set; then :
2513
if ${ac_cv_prog_AWK+:} false; then :
2502
2514
$as_echo_n "(cached) " >&6
2504
2516
if test -n "$AWK"; then
2538
2550
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2539
2551
set x ${MAKE-make}
2540
2552
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2541
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2553
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2542
2554
$as_echo_n "(cached) " >&6
2544
2556
cat >conftest.make <<\_ACEOF
2643
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2644
2656
$as_echo_n "checking build system type... " >&6; }
2645
if test "${ac_cv_build+set}" = set; then :
2657
if ${ac_cv_build+:} false; then :
2646
2658
$as_echo_n "(cached) " >&6
2648
2660
ac_build_alias=$build_alias
2677
2689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2678
2690
$as_echo_n "checking host system type... " >&6; }
2679
if test "${ac_cv_host+set}" = set; then :
2691
if ${ac_cv_host+:} false; then :
2680
2692
$as_echo_n "(cached) " >&6
2682
2694
if test "x$host_alias" = x; then
2779
2791
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2780
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781
2793
$as_echo_n "checking for $ac_word... " >&6; }
2782
if test "${ac_cv_prog_CC+set}" = set; then :
2794
if ${ac_cv_prog_CC+:} false; then :
2783
2795
$as_echo_n "(cached) " >&6
2785
2797
if test -n "$CC"; then
2819
2831
set dummy gcc; ac_word=$2
2820
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821
2833
$as_echo_n "checking for $ac_word... " >&6; }
2822
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2834
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2823
2835
$as_echo_n "(cached) " >&6
2825
2837
if test -n "$ac_ct_CC"; then
2872
2884
set dummy ${ac_tool_prefix}cc; ac_word=$2
2873
2885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874
2886
$as_echo_n "checking for $ac_word... " >&6; }
2875
if test "${ac_cv_prog_CC+set}" = set; then :
2887
if ${ac_cv_prog_CC+:} false; then :
2876
2888
$as_echo_n "(cached) " >&6
2878
2890
if test -n "$CC"; then
2971
2983
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972
2984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973
2985
$as_echo_n "checking for $ac_word... " >&6; }
2974
if test "${ac_cv_prog_CC+set}" = set; then :
2986
if ${ac_cv_prog_CC+:} false; then :
2975
2987
$as_echo_n "(cached) " >&6
2977
2989
if test -n "$CC"; then
3015
3027
set dummy $ac_prog; ac_word=$2
3016
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017
3029
$as_echo_n "checking for $ac_word... " >&6; }
3018
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3030
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3019
3031
$as_echo_n "(cached) " >&6
3021
3033
if test -n "$ac_ct_CC"; then
3070
3082
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071
3083
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072
3084
as_fn_error $? "no acceptable C compiler found in \$PATH
3073
See \`config.log' for more details" "$LINENO" 5 ; }
3085
See \`config.log' for more details" "$LINENO" 5; }
3075
3087
# Provide some information about the compiler.
3076
3088
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3185
3197
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186
3198
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187
3199
as_fn_error 77 "C compiler cannot create executables
3188
See \`config.log' for more details" "$LINENO" 5 ; }
3200
See \`config.log' for more details" "$LINENO" 5; }
3190
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191
3203
$as_echo "yes" >&6; }
3228
3240
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229
3241
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230
3242
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3231
See \`config.log' for more details" "$LINENO" 5 ; }
3243
See \`config.log' for more details" "$LINENO" 5; }
3233
3245
rm -f conftest conftest$ac_cv_exeext
3234
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3287
3299
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288
3300
as_fn_error $? "cannot run C compiled programs.
3289
3301
If you meant to cross compile, use \`--host'.
3290
See \`config.log' for more details" "$LINENO" 5 ; }
3302
See \`config.log' for more details" "$LINENO" 5; }
3298
3310
ac_clean_files=$ac_clean_files_save
3299
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3300
3312
$as_echo_n "checking for suffix of object files... " >&6; }
3301
if test "${ac_cv_objext+set}" = set; then :
3313
if ${ac_cv_objext+:} false; then :
3302
3314
$as_echo_n "(cached) " >&6
3304
3316
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339
3351
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341
3353
as_fn_error $? "cannot compute suffix of object files: cannot compile
3342
See \`config.log' for more details" "$LINENO" 5 ; }
3354
See \`config.log' for more details" "$LINENO" 5; }
3344
3356
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3349
3361
ac_objext=$OBJEXT
3350
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3351
3363
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3352
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3364
if ${ac_cv_c_compiler_gnu+:} false; then :
3353
3365
$as_echo_n "(cached) " >&6
3355
3367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386
3398
ac_save_CFLAGS=$CFLAGS
3387
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3388
3400
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3389
if test "${ac_cv_prog_cc_g+set}" = set; then :
3401
if ${ac_cv_prog_cc_g+:} false; then :
3390
3402
$as_echo_n "(cached) " >&6
3392
3404
ac_save_c_werror_flag=$ac_c_werror_flag
3564
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3565
3577
$as_echo_n "checking dependency style of $depcc... " >&6; }
3566
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3578
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3567
3579
$as_echo_n "(cached) " >&6
3569
3581
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3696
3708
set dummy $CC; ac_cc=`$as_echo "$2" |
3697
3709
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3698
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3710
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3699
3711
$as_echo_n "(cached) " >&6
3701
3713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4018
4030
$as_echo_n "checking for egrep... " >&6; }
4019
if test "${ac_cv_path_EGREP+set}" = set; then :
4031
if ${ac_cv_path_EGREP+:} false; then :
4020
4032
$as_echo_n "(cached) " >&6
4022
4034
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4084
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4085
4097
$as_echo_n "checking for ANSI C header files... " >&6; }
4086
if test "${ac_cv_header_stdc+set}" = set; then :
4098
if ${ac_cv_header_stdc+:} false; then :
4087
4099
$as_echo_n "(cached) " >&6
4089
4101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4236
4248
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4237
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4249
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4238
4250
$as_echo_n "(cached) " >&6
4240
4252
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276
4288
set dummy setcap; ac_word=$2
4277
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278
4290
$as_echo_n "checking for $ac_word... " >&6; }
4279
if test "${ac_cv_prog_SETCAP+set}" = set; then :
4291
if ${ac_cv_prog_SETCAP+:} false; then :
4280
4292
$as_echo_n "(cached) " >&6
4282
4294
if test -n "$SETCAP"; then
4324
4353
set dummy docbook2man; ac_word=$2
4325
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4326
4355
$as_echo_n "checking for $ac_word... " >&6; }
4327
if test "${ac_cv_prog_have_docbook+set}" = set; then :
4356
if ${ac_cv_prog_have_docbook+:} false; then :
4328
4357
$as_echo_n "(cached) " >&6
4330
4359
if test -n "$have_docbook"; then
4661
4690
exec_prefix=$exec_prefix_save
4666
FROM_VAR="${with_config_path}"
4669
exec_prefix_save=$exec_prefix
4671
if test "x$prefix" = "xNONE"; then
4672
prefix="$ac_default_prefix"
4674
if test "x$exec_prefix" = "xNONE"; then
4678
full_var="$FROM_VAR"
4680
new_full_var="`eval echo $full_var`"
4681
if test "x$new_full_var" = "x$full_var"; then break; fi
4682
full_var=$new_full_var
4685
full_var=$new_full_var
4690
exec_prefix=$exec_prefix_save
4693
EXP_VAR=LXCROOTFSMOUNT
4694
FROM_VAR="${with_rootfs_path}"
4697
exec_prefix_save=$exec_prefix
4699
if test "x$prefix" = "xNONE"; then
4700
prefix="$ac_default_prefix"
4702
if test "x$exec_prefix" = "xNONE"; then
4706
full_var="$FROM_VAR"
4708
new_full_var="`eval echo $full_var`"
4709
if test "x$new_full_var" = "x$full_var"; then break; fi
4710
full_var=$new_full_var
4713
full_var=$new_full_var
4714
LXCROOTFSMOUNT="$full_var"
4718
exec_prefix=$exec_prefix_save
4725
exec_prefix_save=$exec_prefix
4727
if test "x$prefix" = "xNONE"; then
4728
prefix="$ac_default_prefix"
4730
if test "x$exec_prefix" = "xNONE"; then
4734
full_var="$FROM_VAR"
4736
new_full_var="`eval echo $full_var`"
4737
if test "x$new_full_var" = "x$full_var"; then break; fi
4738
full_var=$new_full_var
4741
full_var=$new_full_var
4742
LXCINITDIR="$full_var"
4746
exec_prefix=$exec_prefix_save
4749
EXP_VAR=LXCTEMPLATEDIR
4750
FROM_VAR=$libdir/templates
4753
exec_prefix_save=$exec_prefix
4755
if test "x$prefix" = "xNONE"; then
4756
prefix="$ac_default_prefix"
4758
if test "x$exec_prefix" = "xNONE"; then
4762
full_var="$FROM_VAR"
4764
new_full_var="`eval echo $full_var`"
4765
if test "x$new_full_var" = "x$full_var"; then break; fi
4766
full_var=$new_full_var
4769
full_var=$new_full_var
4770
LXCTEMPLATEDIR="$full_var"
4774
exec_prefix=$exec_prefix_save
4779
cat >>confdefs.h <<_ACEOF
4780
#define LXCPATH "$LXCPATH"
4783
cat >>confdefs.h <<_ACEOF
4784
#define LXCINITDIR "$LXCINITDIR"
4787
cat >>confdefs.h <<_ACEOF
4788
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
4693
LXCPATH="${with_config_path}"
4695
LXCROOTFSMOUNT="${with_rootfs_path}"
4697
LXCINITDIR='${libexecdir}'
4699
LXCTEMPLATEDIR='/usr/share/lxc/templates'
4792
4702
for ac_header in linux/netlink.h linux/genetlink.h
4812
4722
ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "#include <sys/types.h>
4813
4723
#include <sys/capability.h>
4815
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
4725
if test "x$ac_cv_header_sys_capability_h" = xyes; then :
4816
4726
cat >>confdefs.h <<_ACEOF
4817
4727
#define HAVE_SYS_CAPABILITY_H 1
4826
4736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_set_proc in -lcap" >&5
4827
4737
$as_echo_n "checking for cap_set_proc in -lcap... " >&6; }
4828
if test "${ac_cv_lib_cap_cap_set_proc+set}" = set; then :
4738
if ${ac_cv_lib_cap_cap_set_proc+:} false; then :
4829
4739
$as_echo_n "(cached) " >&6
4831
4741
ac_check_lib_save_LIBS=$LIBS
4893
4803
for ac_header in sys/signalfd.h
4895
4805
ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
4896
if test "x$ac_cv_header_sys_signalfd_h" = x""yes; then :
4806
if test "x$ac_cv_header_sys_signalfd_h" = xyes; then :
4897
4807
cat >>confdefs.h <<_ACEOF
4898
4808
#define HAVE_SYS_SIGNALFD_H 1
4906
4816
if test $ac_cv_c_compiler_gnu = yes; then
4907
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4908
4818
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
4909
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
4819
if ${ac_cv_prog_gcc_traditional+:} false; then :
4910
4820
$as_echo_n "(cached) " >&6
4912
4822
ac_pattern="Autoconf.*'x'"
5045
4955
powerpc*-*) LINUX_SRCARCH=powerpc;;
5046
4956
s390*-*) LINUX_SRCARCH=s390;;
5047
4957
arm*-*) LINUX_SRCARCH=arm;;
5048
*) as_fn_error $? "architecture ${host} not supported" "$LINENO" 5 ;;
4958
mips*-*) LINUX_SRCARCH=mips;;
4959
sparc*-*) LINUX_SRCARCH=sparc;;
4960
*) as_fn_error $? "architecture ${host} not supported" "$LINENO" 5;;
5051
4963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINUX_SRCARCH}" >&5
5126
5038
:end' >>confcache
5127
5039
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5128
5040
if test -w "$cache_file"; then
5129
test "x$cache_file" != "x/dev/null" &&
5041
if test "x$cache_file" != "x/dev/null"; then
5130
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5131
5043
$as_echo "$as_me: updating cache $cache_file" >&6;}
5132
cat confcache >$cache_file
5044
if test ! -f "$cache_file" || test -h "$cache_file"; then
5045
cat confcache >"$cache_file"
5047
case $cache_file in #(
5049
mv -f confcache "$cache_file"$$ &&
5050
mv -f "$cache_file"$$ "$cache_file" ;; #(
5052
mv -f confcache "$cache_file" ;;
5134
5057
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5135
5058
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5176
5099
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5177
5100
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5102
if test -z "${ENABLE_RPATH_TRUE}" && test -z "${ENABLE_RPATH_FALSE}"; then
5103
as_fn_error $? "conditional \"ENABLE_RPATH\" was never defined.
5104
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5179
5106
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
5180
5107
as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
5181
5108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5592
5520
# report actual input values of CONFIG_FILES etc. instead of their
5593
5521
# values after options handling.
5595
This file was extended by lxc $as_me 0.7.5, which was
5596
generated by GNU Autoconf 2.67. Invocation command line was
5523
This file was extended by lxc $as_me 0.8.0-rc1, which was
5524
generated by GNU Autoconf 2.68. Invocation command line was
5598
5526
CONFIG_FILES = $CONFIG_FILES
5599
5527
CONFIG_HEADERS = $CONFIG_HEADERS
5658
5586
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659
5587
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5660
5588
ac_cs_version="\\
5661
lxc config.status 0.7.5
5662
configured by $0, generated by GNU Autoconf 2.67,
5589
lxc config.status 0.8.0-rc1
5590
configured by $0, generated by GNU Autoconf 2.68,
5663
5591
with options \\"\$ac_cs_config\\"
5665
5593
Copyright (C) 2010 Free Software Foundation, Inc.
5811
5739
"doc/lxc-ps.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ps.sgml" ;;
5812
5740
"doc/lxc-cgroup.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-cgroup.sgml" ;;
5813
5741
"doc/lxc-kill.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-kill.sgml" ;;
5742
"doc/lxc-attach.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-attach.sgml" ;;
5814
5743
"doc/lxc.conf.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.conf.sgml" ;;
5815
5744
"doc/lxc.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.sgml" ;;
5816
5745
"doc/common_options.sgml") CONFIG_FILES="$CONFIG_FILES doc/common_options.sgml" ;;
5832
5761
"templates/lxc-opensuse") CONFIG_FILES="$CONFIG_FILES templates/lxc-opensuse" ;;
5833
5762
"templates/lxc-busybox") CONFIG_FILES="$CONFIG_FILES templates/lxc-busybox" ;;
5834
5763
"templates/lxc-fedora") CONFIG_FILES="$CONFIG_FILES templates/lxc-fedora" ;;
5764
"templates/lxc-altlinux") CONFIG_FILES="$CONFIG_FILES templates/lxc-altlinux" ;;
5835
5765
"templates/lxc-sshd") CONFIG_FILES="$CONFIG_FILES templates/lxc-sshd" ;;
5766
"templates/lxc-archlinux") CONFIG_FILES="$CONFIG_FILES templates/lxc-archlinux" ;;
5836
5767
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5837
5768
"src/lxc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lxc/Makefile" ;;
5838
5769
"src/lxc/lxc-ps") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ps" ;;
5883
5815
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5884
test -n "$tmp" && test -d "$tmp"
5887
5819
tmp=./conf$$-$RANDOM
5888
5820
(umask 077 && mkdir "$tmp")
5889
5821
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5891
5824
# Set up the scripts for CONFIG_FILES section.
5892
5825
# No need to generate them if there are no CONFIG_FILES.
6062
5995
# handling of long lines.
6063
5996
ac_delim='%!_!# '
6064
5997
for ac_last_try in false false :; do
6065
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6066
if test -z "$ac_t"; then
5998
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5999
if test -z "$ac_tt"; then
6068
6001
elif $ac_last_try; then
6069
6002
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6355
6288
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6356
6289
$ac_datarootdir_hack
6358
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6359
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6291
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6292
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6361
6294
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6362
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6363
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6295
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6296
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6297
"$ac_tmp/out"`; test -z "$ac_out"; } &&
6364
6298
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6365
6299
which seems to be undefined. Please make sure it is defined" >&5
6366
6300
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6367
6301
which seems to be undefined. Please make sure it is defined" >&2;}
6303
rm -f "$ac_tmp/stdin"
6370
6304
case $ac_file in
6371
-) cat "$tmp/out" && rm -f "$tmp/out";;
6372
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6305
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6306
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6374
6308
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6380
6314
if test x"$ac_file" != x-; then
6382
6316
$as_echo "/* $configure_input */" \
6383
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6384
} >"$tmp/config.h" \
6317
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6318
} >"$ac_tmp/config.h" \
6385
6319
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6386
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6320
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6387
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6388
6322
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6390
6324
rm -f "$ac_file"
6391
mv "$tmp/config.h" "$ac_file" \
6325
mv "$ac_tmp/config.h" "$ac_file" \
6392
6326
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6395
6329
$as_echo "/* $configure_input */" \
6396
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6330
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6397
6331
|| as_fn_error $? "could not create -" "$LINENO" 5
6399
6333
# Compute "$ac_file"'s index in $config_headers.