~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann
  • Date: 2012-03-09 13:05:03 UTC
  • mto: (3.1.38 sid)
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: package-import@ubuntu.com-20120309130503-j0prgw9tsp967bbv
Tags: upstream-0.8.0~rc1
ImportĀ upstreamĀ versionĀ 0.8.0~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for lxc 0.7.5.
 
3
# Generated by GNU Autoconf 2.68 for lxc 0.8.0-rc1.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
218
220
        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+"$@"}
 
223
        case $- in # ((((
 
224
          *v*x* | *x*v* ) as_opts=-vx ;;
 
225
          *v* ) as_opts=-v ;;
 
226
          *x* ) as_opts=-x ;;
 
227
          * ) as_opts= ;;
 
228
        esac
 
229
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
230
fi
223
231
 
224
232
    if test x$as_have_required = xno; then :
549
557
# Identity of this package.
550
558
PACKAGE_NAME='lxc'
551
559
PACKAGE_TARNAME='lxc'
552
 
PACKAGE_VERSION='0.7.5'
553
 
PACKAGE_STRING='lxc 0.7.5'
 
560
PACKAGE_VERSION='0.8.0-rc1'
 
561
PACKAGE_STRING='lxc 0.8.0-rc1'
554
562
PACKAGE_BUGREPORT=''
555
563
PACKAGE_URL=''
556
564
 
616
624
ENABLE_DOCBOOK_FALSE
617
625
ENABLE_DOCBOOK_TRUE
618
626
have_docbook
 
627
ENABLE_RPATH_FALSE
 
628
ENABLE_RPATH_TRUE
619
629
SETCAP
620
630
EGREP
621
631
GREP
709
719
ac_user_opts='
710
720
enable_option_checking
711
721
enable_dependency_tracking
 
722
enable_rpath
712
723
enable_doc
713
724
enable_examples
714
725
with_config_path
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}"
1132
1143
    ;;
1133
1144
 
1134
1145
  esac
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.
1268
1279
  cat <<_ACEOF
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.
1270
1281
 
1271
1282
Usage: $0 [OPTION]... [VAR=VALUE]...
1272
1283
 
1336
1347
 
1337
1348
if test -n "$ac_init_help"; then
1338
1349
  case $ac_init_help in
1339
 
     short | recursive ) echo "Configuration of lxc 0.7.5:";;
 
1350
     short | recursive ) echo "Configuration of lxc 0.8.0-rc1:";;
1340
1351
   esac
1341
1352
  cat <<\_ACEOF
1342
1353
 
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)
1350
1362
                          [default=auto]
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
1435
1447
  cat <<\_ACEOF
1436
 
lxc configure 0.7.5
1437
 
generated by GNU Autoconf 2.67
 
1448
lxc configure 0.8.0-rc1
 
1449
generated by GNU Autoconf 2.68
1438
1450
 
1439
1451
Copyright (C) 2010 Free Software Foundation, Inc.
1440
1452
This configure script is free software; the Free Software Foundation
1480
1492
 
1481
1493
        ac_retval=1
1482
1494
fi
1483
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1495
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1484
1496
  as_fn_set_status $ac_retval
1485
1497
 
1486
1498
} # ac_fn_c_try_compile
1517
1529
 
1518
1530
    ac_retval=1
1519
1531
fi
1520
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1532
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521
1533
  as_fn_set_status $ac_retval
1522
1534
 
1523
1535
} # ac_fn_c_try_cpp
1530
1542
ac_fn_c_check_header_mongrel ()
1531
1543
{
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
1538
1550
fi
1539
1551
eval ac_res=\$$3
1596
1608
esac
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
1601
1613
else
1602
1614
  eval "$3=\$ac_header_compiler"
1605
1617
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606
1618
$as_echo "$ac_res" >&6; }
1607
1619
fi
1608
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1620
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609
1621
 
1610
1622
} # ac_fn_c_check_header_mongrel
1611
1623
 
1646
1658
       ac_retval=$ac_status
1647
1659
fi
1648
1660
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1661
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1662
  as_fn_set_status $ac_retval
1651
1663
 
1652
1664
} # ac_fn_c_try_run
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
1665
1677
else
1666
1678
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678
1690
eval ac_res=\$$3
1679
1691
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680
1692
$as_echo "$ac_res" >&6; }
1681
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1693
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
1694
 
1683
1695
} # ac_fn_c_check_header_compile
1684
1696
 
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
1728
1740
 
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
1744
1756
else
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
1774
1786
 
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.
1779
1791
 
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
1782
1794
 
1783
1795
  $ $0 $@
1784
1796
 
2036
2048
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2037
2049
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2038
2050
as_fn_error $? "failed to load site script $ac_site_file
2039
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2051
See \`config.log' for more details" "$LINENO" 5; }
2040
2052
  fi
2041
2053
done
2042
2054
 
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
2182
2194
else
2183
2195
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264
2276
'
2265
2277
case `pwd` in
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;;
2268
2280
esac
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;;
2272
2284
esac
2273
2285
 
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
2359
2371
else
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
2399
2411
else
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
2452
2464
else
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
2503
2515
else
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
2543
2555
else
2544
2556
  cat >conftest.make <<\_ACEOF
2596
2608
 
2597
2609
# Define the identity of the package.
2598
2610
 PACKAGE='lxc'
2599
 
 VERSION='0.7.5'
 
2611
 VERSION='0.8.0-rc1'
2600
2612
 
2601
2613
 
2602
2614
cat >>confdefs.h <<_ACEOF
2642
2654
 
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
2647
2659
else
2648
2660
  ac_build_alias=$build_alias
2658
2670
$as_echo "$ac_cv_build" >&6; }
2659
2671
case $ac_cv_build in
2660
2672
*-*-*) ;;
2661
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2673
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2662
2674
esac
2663
2675
build=$ac_cv_build
2664
2676
ac_save_IFS=$IFS; IFS='-'
2676
2688
 
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
2681
2693
else
2682
2694
  if test "x$host_alias" = x; then
2691
2703
$as_echo "$ac_cv_host" >&6; }
2692
2704
case $ac_cv_host in
2693
2705
*-*-*) ;;
2694
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2706
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2695
2707
esac
2696
2708
host=$ac_cv_host
2697
2709
ac_save_IFS=$IFS; IFS='-'
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
2784
2796
else
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
2824
2836
else
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
2877
2889
else
2878
2890
  if test -n "$CC"; then
2912
2924
set dummy cc; ac_word=$2
2913
2925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914
2926
$as_echo_n "checking for $ac_word... " >&6; }
2915
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2927
if ${ac_cv_prog_CC+:} false; then :
2916
2928
  $as_echo_n "(cached) " >&6
2917
2929
else
2918
2930
  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
2976
2988
else
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
3020
3032
else
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; }
3074
3086
 
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; }
3189
3201
else
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; }
3232
3244
fi
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; }
3291
3303
    fi
3292
3304
  fi
3293
3305
fi
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
3303
3315
else
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; }
3343
3355
fi
3344
3356
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3345
3357
fi
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
3354
3366
else
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
3391
3403
else
3392
3404
  ac_save_c_werror_flag=$ac_c_werror_flag
3464
3476
fi
3465
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3466
3478
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3467
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3479
if ${ac_cv_prog_cc_c89+:} false; then :
3468
3480
  $as_echo_n "(cached) " >&6
3469
3481
else
3470
3482
  ac_cv_prog_cc_c89=no
3563
3575
 
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
3568
3580
else
3569
3581
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3695
3707
fi
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
3700
3712
else
3701
3713
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825
3837
  CPP=
3826
3838
fi
3827
3839
if test -z "$CPP"; then
3828
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3840
  if ${ac_cv_prog_CPP+:} false; then :
3829
3841
  $as_echo_n "(cached) " >&6
3830
3842
else
3831
3843
      # Double quotes because CPP needs to be expanded
3941
3953
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942
3954
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943
3955
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3944
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3956
See \`config.log' for more details" "$LINENO" 5; }
3945
3957
fi
3946
3958
 
3947
3959
ac_ext=c
3953
3965
 
3954
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3955
3967
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3956
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3968
if ${ac_cv_path_GREP+:} false; then :
3957
3969
  $as_echo_n "(cached) " >&6
3958
3970
else
3959
3971
  if test -z "$GREP"; then
4016
4028
 
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
4021
4033
else
4022
4034
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4083
4095
 
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
4088
4100
else
4089
4101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212
4224
 
4213
4225
 
4214
4226
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4215
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4227
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4216
4228
  MINIX=yes
4217
4229
else
4218
4230
  MINIX=
4234
4246
 
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
4239
4251
else
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
4281
4293
else
4282
4294
  if test -n "$SETCAP"; then
4311
4323
 
4312
4324
 
4313
4325
 
 
4326
# Check whether --enable-rpath was given.
 
4327
if test "${enable_rpath+set}" = set; then :
 
4328
  enableval=$enable_rpath;
 
4329
else
 
4330
  enable_rpath=yes
 
4331
fi
 
4332
 
 
4333
 
 
4334
 if test "x$enable_rpath" = "xyes"; then
 
4335
  ENABLE_RPATH_TRUE=
 
4336
  ENABLE_RPATH_FALSE='#'
 
4337
else
 
4338
  ENABLE_RPATH_TRUE='#'
 
4339
  ENABLE_RPATH_FALSE=
 
4340
fi
 
4341
 
 
4342
 
4314
4343
# Check whether --enable-doc was given.
4315
4344
if test "${enable_doc+set}" = set; then :
4316
4345
  enableval=$enable_doc;
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
4329
4358
else
4330
4359
  if test -n "$have_docbook"; then
4619
4648
if test "${with_config_path+set}" = set; then :
4620
4649
  withval=$with_config_path;
4621
4650
else
4622
 
  with_config_path="${localstatedir}/lib/lxc"
 
4651
  with_config_path='${localstatedir}/lib/lxc'
4623
4652
fi
4624
4653
 
4625
4654
 
4628
4657
if test "${with_rootfs_path+set}" = set; then :
4629
4658
  withval=$with_rootfs_path;
4630
4659
else
4631
 
  with_rootfs_path="${libdir}/lxc/rootfs"
 
4660
  with_rootfs_path='${libdir}/lxc/rootfs'
4632
4661
fi
4633
4662
 
4634
4663
 
4661
4690
    exec_prefix=$exec_prefix_save
4662
4691
 
4663
4692
 
4664
 
 
4665
 
    EXP_VAR=LXCPATH
4666
 
    FROM_VAR="${with_config_path}"
4667
 
 
4668
 
        prefix_save=$prefix
4669
 
    exec_prefix_save=$exec_prefix
4670
 
 
4671
 
        if test "x$prefix" = "xNONE"; then
4672
 
        prefix="$ac_default_prefix"
4673
 
    fi
4674
 
        if test "x$exec_prefix" = "xNONE"; then
4675
 
        exec_prefix=$prefix
4676
 
    fi
4677
 
 
4678
 
    full_var="$FROM_VAR"
4679
 
        while true; do
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
4683
 
    done
4684
 
 
4685
 
        full_var=$new_full_var
4686
 
    LXCPATH="$full_var"
4687
 
 
4688
 
 
4689
 
        prefix=$prefix_save
4690
 
    exec_prefix=$exec_prefix_save
4691
 
 
4692
 
 
4693
 
    EXP_VAR=LXCROOTFSMOUNT
4694
 
    FROM_VAR="${with_rootfs_path}"
4695
 
 
4696
 
        prefix_save=$prefix
4697
 
    exec_prefix_save=$exec_prefix
4698
 
 
4699
 
        if test "x$prefix" = "xNONE"; then
4700
 
        prefix="$ac_default_prefix"
4701
 
    fi
4702
 
        if test "x$exec_prefix" = "xNONE"; then
4703
 
        exec_prefix=$prefix
4704
 
    fi
4705
 
 
4706
 
    full_var="$FROM_VAR"
4707
 
        while true; do
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
4711
 
    done
4712
 
 
4713
 
        full_var=$new_full_var
4714
 
    LXCROOTFSMOUNT="$full_var"
4715
 
 
4716
 
 
4717
 
        prefix=$prefix_save
4718
 
    exec_prefix=$exec_prefix_save
4719
 
 
4720
 
 
4721
 
    EXP_VAR=LXCINITDIR
4722
 
    FROM_VAR=$libdir/lxc
4723
 
 
4724
 
        prefix_save=$prefix
4725
 
    exec_prefix_save=$exec_prefix
4726
 
 
4727
 
        if test "x$prefix" = "xNONE"; then
4728
 
        prefix="$ac_default_prefix"
4729
 
    fi
4730
 
        if test "x$exec_prefix" = "xNONE"; then
4731
 
        exec_prefix=$prefix
4732
 
    fi
4733
 
 
4734
 
    full_var="$FROM_VAR"
4735
 
        while true; do
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
4739
 
    done
4740
 
 
4741
 
        full_var=$new_full_var
4742
 
    LXCINITDIR="$full_var"
4743
 
 
4744
 
 
4745
 
        prefix=$prefix_save
4746
 
    exec_prefix=$exec_prefix_save
4747
 
 
4748
 
 
4749
 
    EXP_VAR=LXCTEMPLATEDIR
4750
 
    FROM_VAR=$libdir/lxc/templates
4751
 
 
4752
 
        prefix_save=$prefix
4753
 
    exec_prefix_save=$exec_prefix
4754
 
 
4755
 
        if test "x$prefix" = "xNONE"; then
4756
 
        prefix="$ac_default_prefix"
4757
 
    fi
4758
 
        if test "x$exec_prefix" = "xNONE"; then
4759
 
        exec_prefix=$prefix
4760
 
    fi
4761
 
 
4762
 
    full_var="$FROM_VAR"
4763
 
        while true; do
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
4767
 
    done
4768
 
 
4769
 
        full_var=$new_full_var
4770
 
    LXCTEMPLATEDIR="$full_var"
4771
 
 
4772
 
 
4773
 
        prefix=$prefix_save
4774
 
    exec_prefix=$exec_prefix_save
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
cat >>confdefs.h <<_ACEOF
4780
 
#define LXCPATH "$LXCPATH"
4781
 
_ACEOF
4782
 
 
4783
 
cat >>confdefs.h <<_ACEOF
4784
 
#define LXCINITDIR "$LXCINITDIR"
4785
 
_ACEOF
4786
 
 
4787
 
cat >>confdefs.h <<_ACEOF
4788
 
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
4789
 
_ACEOF
 
4693
LXCPATH="${with_config_path}"
 
4694
 
 
4695
LXCROOTFSMOUNT="${with_rootfs_path}"
 
4696
 
 
4697
LXCINITDIR='${libexecdir}/lxc'
 
4698
 
 
4699
LXCTEMPLATEDIR='${libdir}/lxc/templates'
4790
4700
 
4791
4701
 
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>
4814
4724
"
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
4818
4728
_ACEOF
4825
4735
 
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
4830
4740
else
4831
4741
  ac_check_lib_save_LIBS=$LIBS
4859
4769
fi
4860
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_set_proc" >&5
4861
4771
$as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; }
4862
 
if test "x$ac_cv_lib_cap_cap_set_proc" = x""yes; then :
 
4772
if test "x$ac_cv_lib_cap_cap_set_proc" = xyes; then :
4863
4773
  caplib=yes
4864
4774
else
4865
4775
  caplib=no
4879
4789
# Some systems lack PR_CAPBSET_DROP definition => HAVE_DECL_PR_CAPBSET_DROP
4880
4790
ac_fn_c_check_decl "$LINENO" "PR_CAPBSET_DROP" "ac_cv_have_decl_PR_CAPBSET_DROP" "#include <sys/prctl.h>
4881
4791
"
4882
 
if test "x$ac_cv_have_decl_PR_CAPBSET_DROP" = x""yes; then :
 
4792
if test "x$ac_cv_have_decl_PR_CAPBSET_DROP" = xyes; then :
4883
4793
  ac_have_decl=1
4884
4794
else
4885
4795
  ac_have_decl=0
4893
4803
for ac_header in sys/signalfd.h
4894
4804
do :
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
4899
4809
_ACEOF
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
4911
4821
else
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;;
5049
4961
        esac
5050
4962
 
5051
4963
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINUX_SRCARCH}" >&5
5058
4970
  CFLAGS="$CFLAGS -Wall"
5059
4971
fi
5060
4972
 
5061
 
ac_config_files="$ac_config_files Makefile lxc.pc lxc.spec config/Makefile doc/Makefile doc/lxc-create.sgml doc/lxc-destroy.sgml doc/lxc-execute.sgml doc/lxc-start.sgml doc/lxc-checkpoint.sgml doc/lxc-restart.sgml doc/lxc-stop.sgml doc/lxc-console.sgml doc/lxc-freeze.sgml doc/lxc-unfreeze.sgml doc/lxc-monitor.sgml doc/lxc-wait.sgml doc/lxc-ls.sgml doc/lxc-ps.sgml doc/lxc-cgroup.sgml doc/lxc-kill.sgml doc/lxc.conf.sgml doc/lxc.sgml doc/common_options.sgml doc/see_also.sgml doc/rootfs/Makefile doc/examples/Makefile doc/examples/lxc-macvlan.conf doc/examples/lxc-vlan.conf doc/examples/lxc-no-netns.conf doc/examples/lxc-empty-netns.conf doc/examples/lxc-phys.conf doc/examples/lxc-veth.conf doc/examples/lxc-complex.conf templates/Makefile templates/lxc-lenny templates/lxc-debian templates/lxc-ubuntu templates/lxc-opensuse templates/lxc-busybox templates/lxc-fedora templates/lxc-sshd src/Makefile src/lxc/Makefile src/lxc/lxc-ps src/lxc/lxc-ls src/lxc/lxc-netstat src/lxc/lxc-checkconfig src/lxc/lxc-setcap src/lxc/lxc-setuid src/lxc/lxc-version src/lxc/lxc-create src/lxc/lxc-clone src/lxc/lxc-destroy"
 
4973
ac_config_files="$ac_config_files Makefile lxc.pc lxc.spec config/Makefile doc/Makefile doc/lxc-create.sgml doc/lxc-destroy.sgml doc/lxc-execute.sgml doc/lxc-start.sgml doc/lxc-checkpoint.sgml doc/lxc-restart.sgml doc/lxc-stop.sgml doc/lxc-console.sgml doc/lxc-freeze.sgml doc/lxc-unfreeze.sgml doc/lxc-monitor.sgml doc/lxc-wait.sgml doc/lxc-ls.sgml doc/lxc-ps.sgml doc/lxc-cgroup.sgml doc/lxc-kill.sgml doc/lxc-attach.sgml doc/lxc.conf.sgml doc/lxc.sgml doc/common_options.sgml doc/see_also.sgml doc/rootfs/Makefile doc/examples/Makefile doc/examples/lxc-macvlan.conf doc/examples/lxc-vlan.conf doc/examples/lxc-no-netns.conf doc/examples/lxc-empty-netns.conf doc/examples/lxc-phys.conf doc/examples/lxc-veth.conf doc/examples/lxc-complex.conf templates/Makefile templates/lxc-lenny templates/lxc-debian templates/lxc-ubuntu templates/lxc-ubuntu-cloud templates/lxc-opensuse templates/lxc-busybox templates/lxc-fedora templates/lxc-altlinux templates/lxc-sshd templates/lxc-archlinux src/Makefile src/lxc/Makefile src/lxc/lxc-ps src/lxc/lxc-ls src/lxc/lxc-netstat src/lxc/lxc-checkconfig src/lxc/lxc-setcap src/lxc/lxc-setuid src/lxc/lxc-version src/lxc/lxc-create src/lxc/lxc-clone src/lxc/lxc-destroy"
5062
4974
 
5063
4975
ac_config_commands="$ac_config_commands default"
5064
4976
 
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"
 
5046
      else
 
5047
        case $cache_file in #(
 
5048
        */* | ?:*)
 
5049
          mv -f confcache "$cache_file"$$ &&
 
5050
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
5051
        *)
 
5052
          mv -f confcache "$cache_file" ;;
 
5053
        esac
 
5054
      fi
 
5055
    fi
5133
5056
  else
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
5178
5101
fi
 
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
 
5105
fi
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
5185
5112
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5186
5113
fi
5187
5114
 
5188
 
: ${CONFIG_STATUS=./config.status}
 
5115
: "${CONFIG_STATUS=./config.status}"
5189
5116
ac_write_fail=0
5190
5117
ac_clean_files_save=$ac_clean_files
5191
5118
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5286
5213
IFS=" ""        $as_nl"
5287
5214
 
5288
5215
# Find who we are.  Look in the path if we contain no directory separator.
 
5216
as_myself=
5289
5217
case $0 in #((
5290
5218
  *[\\/]* ) as_myself=$0 ;;
5291
5219
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592
5520
# report actual input values of CONFIG_FILES etc. instead of their
5593
5521
# values after options handling.
5594
5522
ac_log="
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
5597
5525
 
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\\"
5664
5592
 
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" ;;
5828
5757
    "templates/lxc-lenny") CONFIG_FILES="$CONFIG_FILES templates/lxc-lenny" ;;
5829
5758
    "templates/lxc-debian") CONFIG_FILES="$CONFIG_FILES templates/lxc-debian" ;;
5830
5759
    "templates/lxc-ubuntu") CONFIG_FILES="$CONFIG_FILES templates/lxc-ubuntu" ;;
 
5760
    "templates/lxc-ubuntu-cloud") CONFIG_FILES="$CONFIG_FILES templates/lxc-ubuntu-cloud" ;;
5831
5761
    "templates/lxc-opensuse") CONFIG_FILES="$CONFIG_FILES templates/lxc-opensuse" ;;
5832
5762
    "templates/lxc-busybox") CONFIG_FILES="$CONFIG_FILES templates/lxc-busybox" ;;
5833
5763
    "templates/lxc-fedora") CONFIG_FILES="$CONFIG_FILES templates/lxc-fedora" ;;
 
5764
    "templates/lxc-altlinux") CONFIG_FILES="$CONFIG_FILES templates/lxc-altlinux" ;;
5834
5765
    "templates/lxc-sshd") CONFIG_FILES="$CONFIG_FILES templates/lxc-sshd" ;;
 
5766
    "templates/lxc-archlinux") CONFIG_FILES="$CONFIG_FILES templates/lxc-archlinux" ;;
5835
5767
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5836
5768
    "src/lxc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lxc/Makefile" ;;
5837
5769
    "src/lxc/lxc-ps") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ps" ;;
5846
5778
    "src/lxc/lxc-destroy") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-destroy" ;;
5847
5779
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5848
5780
 
5849
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
5781
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5850
5782
  esac
5851
5783
done
5852
5784
 
5869
5801
# after its creation but before its name has been assigned to `$tmp'.
5870
5802
$debug ||
5871
5803
{
5872
 
  tmp=
 
5804
  tmp= ac_tmp=
5873
5805
  trap 'exit_status=$?
5874
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5806
  : "${ac_tmp:=$tmp}"
 
5807
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5875
5808
' 0
5876
5809
  trap 'as_fn_exit 1' 1 2 13 15
5877
5810
}
5879
5812
 
5880
5813
{
5881
5814
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5882
 
  test -n "$tmp" && test -d "$tmp"
 
5815
  test -d "$tmp"
5883
5816
}  ||
5884
5817
{
5885
5818
  tmp=./conf$$-$RANDOM
5886
5819
  (umask 077 && mkdir "$tmp")
5887
5820
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5821
ac_tmp=$tmp
5888
5822
 
5889
5823
# Set up the scripts for CONFIG_FILES section.
5890
5824
# No need to generate them if there are no CONFIG_FILES.
5906
5840
  ac_cs_awk_cr=$ac_cr
5907
5841
fi
5908
5842
 
5909
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5843
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5910
5844
_ACEOF
5911
5845
 
5912
5846
 
5934
5868
rm -f conf$$subs.sh
5935
5869
 
5936
5870
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5937
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5871
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5938
5872
_ACEOF
5939
5873
sed -n '
5940
5874
h
5982
5916
rm -f conf$$subs.awk
5983
5917
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5984
5918
_ACAWK
5985
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5919
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5986
5920
  for (key in S) S_is_set[key] = 1
5987
5921
  FS = ""
5988
5922
 
6014
5948
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6015
5949
else
6016
5950
  cat
6017
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5951
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6018
5952
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6019
5953
_ACEOF
6020
5954
 
6048
5982
# No need to generate them if there are no CONFIG_HEADERS.
6049
5983
# This happens for instance with `./config.status Makefile'.
6050
5984
if test -n "$CONFIG_HEADERS"; then
6051
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5985
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6052
5986
BEGIN {
6053
5987
_ACEOF
6054
5988
 
6060
5994
# handling of long lines.
6061
5995
ac_delim='%!_!# '
6062
5996
for ac_last_try in false false :; do
6063
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6064
 
  if test -z "$ac_t"; then
 
5997
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5998
  if test -z "$ac_tt"; then
6065
5999
    break
6066
6000
  elif $ac_last_try; then
6067
6001
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6162
6096
  esac
6163
6097
  case $ac_mode$ac_tag in
6164
6098
  :[FHL]*:*);;
6165
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
6099
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6166
6100
  :[FH]-) ac_tag=-:-;;
6167
6101
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6168
6102
  esac
6181
6115
    for ac_f
6182
6116
    do
6183
6117
      case $ac_f in
6184
 
      -) ac_f="$tmp/stdin";;
 
6118
      -) ac_f="$ac_tmp/stdin";;
6185
6119
      *) # Look for the file first in the build tree, then in the source tree
6186
6120
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6187
6121
         # because $ac_f cannot contain `:'.
6190
6124
           [\\/$]*) false;;
6191
6125
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6192
6126
           esac ||
6193
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
6127
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6194
6128
      esac
6195
6129
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6196
6130
      as_fn_append ac_file_inputs " '$ac_f'"
6216
6150
    esac
6217
6151
 
6218
6152
    case $ac_tag in
6219
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6220
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
6153
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
6154
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6221
6155
    esac
6222
6156
    ;;
6223
6157
  esac
6353
6287
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6354
6288
$ac_datarootdir_hack
6355
6289
"
6356
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6357
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6290
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6291
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6358
6292
 
6359
6293
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6360
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6361
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
6294
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6295
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6296
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6362
6297
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6363
6298
which seems to be undefined.  Please make sure it is defined" >&5
6364
6299
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6365
6300
which seems to be undefined.  Please make sure it is defined" >&2;}
6366
6301
 
6367
 
  rm -f "$tmp/stdin"
 
6302
  rm -f "$ac_tmp/stdin"
6368
6303
  case $ac_file in
6369
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6370
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6304
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6305
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6371
6306
  esac \
6372
6307
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6373
6308
 ;;
6378
6313
  if test x"$ac_file" != x-; then
6379
6314
    {
6380
6315
      $as_echo "/* $configure_input  */" \
6381
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6382
 
    } >"$tmp/config.h" \
 
6316
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6317
    } >"$ac_tmp/config.h" \
6383
6318
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6384
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6319
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6385
6320
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6386
6321
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6387
6322
    else
6388
6323
      rm -f "$ac_file"
6389
 
      mv "$tmp/config.h" "$ac_file" \
 
6324
      mv "$ac_tmp/config.h" "$ac_file" \
6390
6325
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6391
6326
    fi
6392
6327
  else
6393
6328
    $as_echo "/* $configure_input  */" \
6394
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
6329
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6395
6330
      || as_fn_error $? "could not create -" "$LINENO" 5
6396
6331
  fi
6397
6332
# Compute "$ac_file"'s index in $config_headers.