2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for lxc 0.7.2.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
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 :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
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
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. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
test -n "$DJDIR" || exec 7<&0 </dev/null
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
# so uname gets run too.
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
ac_default_prefix=/usr/local
542
ac_config_libobj_dir=.
549
# Identity of this package.
551
PACKAGE_TARNAME='lxc'
552
PACKAGE_VERSION='0.7.2'
553
PACKAGE_STRING='lxc 0.7.2'
557
ac_unique_file="configure.ac"
558
# Factoring default headers for most tests.
559
ac_includes_default="\
561
#ifdef HAVE_SYS_TYPES_H
562
# include <sys/types.h>
564
#ifdef HAVE_SYS_STAT_H
565
# include <sys/stat.h>
571
# ifdef HAVE_STDLIB_H
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581
#ifdef HAVE_STRINGS_H
582
# include <strings.h>
584
#ifdef HAVE_INTTYPES_H
585
# include <inttypes.h>
594
ac_subst_vars='am__EXEEXT_FALSE
612
ENABLE_EXAMPLES_FALSE
653
INSTALL_STRIP_PROGRAM
695
program_transform_name
708
enable_option_checking
709
enable_dependency_tracking
715
ac_precious_vars='build_alias
726
# Initialize some variables set by options.
728
ac_init_version=false
729
ac_unrecognized_opts=
731
# The variables have the same names as the options, with
732
# dashes changed to underlines.
740
program_transform_name=s,x,x,
748
# Installation directory options.
749
# These are left unexpanded so users can "make install exec_prefix=/foo"
750
# and all the variables that are supposed to be based on exec_prefix
751
# by default will actually change.
752
# Use braces instead of parens because sh, perl, etc. also accept them.
753
# (The list follows the same order as the GNU Coding Standards.)
754
bindir='${exec_prefix}/bin'
755
sbindir='${exec_prefix}/sbin'
756
libexecdir='${exec_prefix}/libexec'
757
datarootdir='${prefix}/share'
758
datadir='${datarootdir}'
759
sysconfdir='${prefix}/etc'
760
sharedstatedir='${prefix}/com'
761
localstatedir='${prefix}/var'
762
includedir='${prefix}/include'
763
oldincludedir='/usr/include'
764
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
765
infodir='${datarootdir}/info'
770
libdir='${exec_prefix}/lib'
771
localedir='${datarootdir}/locale'
772
mandir='${datarootdir}/man'
778
# If the previous option needs an argument, assign it.
779
if test -n "$ac_prev"; then
780
eval $ac_prev=\$ac_option
786
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790
# Accept the important Cygnus configure options, so we can diagnose typos.
792
case $ac_dashdash$ac_option in
796
-bindir | --bindir | --bindi | --bind | --bin | --bi)
798
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801
-build | --build | --buil | --bui | --bu)
802
ac_prev=build_alias ;;
803
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
804
build_alias=$ac_optarg ;;
806
-cache-file | --cache-file | --cache-fil | --cache-fi \
807
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808
ac_prev=cache_file ;;
809
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811
cache_file=$ac_optarg ;;
814
cache_file=config.cache ;;
816
-datadir | --datadir | --datadi | --datad)
818
-datadir=* | --datadir=* | --datadi=* | --datad=*)
819
datadir=$ac_optarg ;;
821
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822
| --dataroo | --dataro | --datar)
823
ac_prev=datarootdir ;;
824
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826
datarootdir=$ac_optarg ;;
828
-disable-* | --disable-*)
829
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830
# Reject names that are not valid shell variable names.
831
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832
as_fn_error "invalid feature name: $ac_useropt"
833
ac_useropt_orig=$ac_useropt
834
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835
case $ac_user_opts in
839
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840
ac_unrecognized_sep=', ';;
842
eval enable_$ac_useropt=no ;;
844
-docdir | --docdir | --docdi | --doc | --do)
846
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
851
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854
-enable-* | --enable-*)
855
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856
# Reject names that are not valid shell variable names.
857
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858
as_fn_error "invalid feature name: $ac_useropt"
859
ac_useropt_orig=$ac_useropt
860
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861
case $ac_user_opts in
865
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866
ac_unrecognized_sep=', ';;
868
eval enable_$ac_useropt=\$ac_optarg ;;
870
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872
| --exec | --exe | --ex)
873
ac_prev=exec_prefix ;;
874
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876
| --exec=* | --exe=* | --ex=*)
877
exec_prefix=$ac_optarg ;;
879
-gas | --gas | --ga | --g)
880
# Obsolete; use --with-gas.
883
-help | --help | --hel | --he | -h)
885
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886
ac_init_help=recursive ;;
887
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888
ac_init_help=short ;;
890
-host | --host | --hos | --ho)
891
ac_prev=host_alias ;;
892
-host=* | --host=* | --hos=* | --ho=*)
893
host_alias=$ac_optarg ;;
895
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
897
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
899
htmldir=$ac_optarg ;;
901
-includedir | --includedir | --includedi | --included | --include \
902
| --includ | --inclu | --incl | --inc)
903
ac_prev=includedir ;;
904
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905
| --includ=* | --inclu=* | --incl=* | --inc=*)
906
includedir=$ac_optarg ;;
908
-infodir | --infodir | --infodi | --infod | --info | --inf)
910
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911
infodir=$ac_optarg ;;
913
-libdir | --libdir | --libdi | --libd)
915
-libdir=* | --libdir=* | --libdi=* | --libd=*)
918
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919
| --libexe | --libex | --libe)
920
ac_prev=libexecdir ;;
921
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922
| --libexe=* | --libex=* | --libe=*)
923
libexecdir=$ac_optarg ;;
925
-localedir | --localedir | --localedi | --localed | --locale)
927
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928
localedir=$ac_optarg ;;
930
-localstatedir | --localstatedir | --localstatedi | --localstated \
931
| --localstate | --localstat | --localsta | --localst | --locals)
932
ac_prev=localstatedir ;;
933
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935
localstatedir=$ac_optarg ;;
937
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
939
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943
# Obsolete; use --without-fp.
946
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
947
| --no-cr | --no-c | -n)
950
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
951
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956
| --oldin | --oldi | --old | --ol | --o)
957
ac_prev=oldincludedir ;;
958
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961
oldincludedir=$ac_optarg ;;
963
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
965
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968
-program-prefix | --program-prefix | --program-prefi | --program-pref \
969
| --program-pre | --program-pr | --program-p)
970
ac_prev=program_prefix ;;
971
-program-prefix=* | --program-prefix=* | --program-prefi=* \
972
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973
program_prefix=$ac_optarg ;;
975
-program-suffix | --program-suffix | --program-suffi | --program-suff \
976
| --program-suf | --program-su | --program-s)
977
ac_prev=program_suffix ;;
978
-program-suffix=* | --program-suffix=* | --program-suffi=* \
979
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980
program_suffix=$ac_optarg ;;
982
-program-transform-name | --program-transform-name \
983
| --program-transform-nam | --program-transform-na \
984
| --program-transform-n | --program-transform- \
985
| --program-transform | --program-transfor \
986
| --program-transfo | --program-transf \
987
| --program-trans | --program-tran \
988
| --progr-tra | --program-tr | --program-t)
989
ac_prev=program_transform_name ;;
990
-program-transform-name=* | --program-transform-name=* \
991
| --program-transform-nam=* | --program-transform-na=* \
992
| --program-transform-n=* | --program-transform-=* \
993
| --program-transform=* | --program-transfor=* \
994
| --program-transfo=* | --program-transf=* \
995
| --program-trans=* | --program-tran=* \
996
| --progr-tra=* | --program-tr=* | --program-t=*)
997
program_transform_name=$ac_optarg ;;
999
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1001
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002
pdfdir=$ac_optarg ;;
1004
-psdir | --psdir | --psdi | --psd | --ps)
1006
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010
| -silent | --silent | --silen | --sile | --sil)
1013
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1015
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1017
sbindir=$ac_optarg ;;
1019
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1020
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021
| --sharedst | --shareds | --shared | --share | --shar \
1023
ac_prev=sharedstatedir ;;
1024
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1028
sharedstatedir=$ac_optarg ;;
1030
-site | --site | --sit)
1032
-site=* | --site=* | --sit=*)
1035
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1037
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038
srcdir=$ac_optarg ;;
1040
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041
| --syscon | --sysco | --sysc | --sys | --sy)
1042
ac_prev=sysconfdir ;;
1043
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045
sysconfdir=$ac_optarg ;;
1047
-target | --target | --targe | --targ | --tar | --ta | --t)
1048
ac_prev=target_alias ;;
1049
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050
target_alias=$ac_optarg ;;
1052
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1055
-version | --version | --versio | --versi | --vers | -V)
1056
ac_init_version=: ;;
1059
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060
# Reject names that are not valid shell variable names.
1061
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062
as_fn_error "invalid package name: $ac_useropt"
1063
ac_useropt_orig=$ac_useropt
1064
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065
case $ac_user_opts in
1069
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070
ac_unrecognized_sep=', ';;
1072
eval with_$ac_useropt=\$ac_optarg ;;
1074
-without-* | --without-*)
1075
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076
# Reject names that are not valid shell variable names.
1077
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
as_fn_error "invalid package name: $ac_useropt"
1079
ac_useropt_orig=$ac_useropt
1080
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
case $ac_user_opts in
1085
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086
ac_unrecognized_sep=', ';;
1088
eval with_$ac_useropt=no ;;
1091
# Obsolete; use --with-x.
1094
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095
| --x-incl | --x-inc | --x-in | --x-i)
1096
ac_prev=x_includes ;;
1097
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099
x_includes=$ac_optarg ;;
1101
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1102
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103
ac_prev=x_libraries ;;
1104
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106
x_libraries=$ac_optarg ;;
1108
-*) as_fn_error "unrecognized option: \`$ac_option'
1109
Try \`$0 --help' for more information."
1113
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114
# Reject names that are not valid shell variable names.
1115
case $ac_envvar in #(
1116
'' | [0-9]* | *[!_$as_cr_alnum]* )
1117
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1119
eval $ac_envvar=\$ac_optarg
1120
export $ac_envvar ;;
1123
# FIXME: should be removed in autoconf 3.0.
1124
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1133
if test -n "$ac_prev"; then
1134
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135
as_fn_error "missing argument to $ac_option"
1138
if test -n "$ac_unrecognized_opts"; then
1139
case $enable_option_checking in
1141
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1142
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146
# Check all directory arguments for consistency.
1147
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148
datadir sysconfdir sharedstatedir localstatedir includedir \
1149
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150
libdir localedir mandir
1152
eval ac_val=\$$ac_var
1153
# Remove trailing slashes.
1156
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157
eval $ac_var=\$ac_val;;
1159
# Be sure to have absolute directory names.
1161
[\\/$]* | ?:[\\/]* ) continue;;
1162
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1167
# There might be people who depend on the old broken behavior: `$host'
1168
# used to hold the argument of --host etc.
1169
# FIXME: To remove some day.
1172
target=$target_alias
1174
# FIXME: To remove some day.
1175
if test "x$host_alias" != x; then
1176
if test "x$build_alias" = x; then
1177
cross_compiling=maybe
1178
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1179
If a cross compiler is detected then cross compile mode will be used." >&2
1180
elif test "x$build_alias" != "x$host_alias"; then
1186
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188
test "$silent" = yes && exec 6>/dev/null
1191
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192
ac_ls_di=`ls -di .` &&
1193
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194
as_fn_error "working directory cannot be determined"
1195
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196
as_fn_error "pwd does not report name of working directory"
1199
# Find the source files, if location was not specified.
1200
if test -z "$srcdir"; then
1201
ac_srcdir_defaulted=yes
1202
# Try the directory containing this script, then the parent directory.
1203
ac_confdir=`$as_dirname -- "$as_myself" ||
1204
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205
X"$as_myself" : 'X\(//\)[^/]' \| \
1206
X"$as_myself" : 'X\(//\)$' \| \
1207
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208
$as_echo X"$as_myself" |
1209
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227
if test ! -r "$srcdir/$ac_unique_file"; then
1231
ac_srcdir_defaulted=no
1233
if test ! -r "$srcdir/$ac_unique_file"; then
1234
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1237
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1241
# When building in place, set srcdir=.
1242
if test "$ac_abs_confdir" = "$ac_pwd"; then
1245
# Remove unnecessary trailing slashes from srcdir.
1246
# Double slashes in file names in object file debugging info
1247
# mess up M-x gdb in Emacs.
1249
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251
for ac_var in $ac_precious_vars; do
1252
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253
eval ac_env_${ac_var}_value=\$${ac_var}
1254
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259
# Report the --help message.
1261
if test "$ac_init_help" = "long"; then
1262
# Omit some internal or obsolete options to make the list less imposing.
1263
# This message is too long to be a string in the A/UX 3.1 sh.
1265
\`configure' configures lxc 0.7.2 to adapt to many kinds of systems.
1267
Usage: $0 [OPTION]... [VAR=VALUE]...
1269
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270
VAR=VALUE. See below for descriptions of some of the useful variables.
1272
Defaults for the options are specified in brackets.
1275
-h, --help display this help and exit
1276
--help=short display options specific to this package
1277
--help=recursive display the short help of all the included packages
1278
-V, --version display version information and exit
1279
-q, --quiet, --silent do not print \`checking...' messages
1280
--cache-file=FILE cache test results in FILE [disabled]
1281
-C, --config-cache alias for \`--cache-file=config.cache'
1282
-n, --no-create do not create output files
1283
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1285
Installation directories:
1286
--prefix=PREFIX install architecture-independent files in PREFIX
1287
[$ac_default_prefix]
1288
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291
By default, \`make install' will install all the files in
1292
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294
for instance \`--prefix=\$HOME'.
1296
For better control, use the options below.
1298
Fine tuning of the installation directories:
1299
--bindir=DIR user executables [EPREFIX/bin]
1300
--sbindir=DIR system admin executables [EPREFIX/sbin]
1301
--libexecdir=DIR program executables [EPREFIX/libexec]
1302
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305
--libdir=DIR object code libraries [EPREFIX/lib]
1306
--includedir=DIR C header files [PREFIX/include]
1307
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1308
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310
--infodir=DIR info documentation [DATAROOTDIR/info]
1311
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312
--mandir=DIR man documentation [DATAROOTDIR/man]
1313
--docdir=DIR documentation root [DATAROOTDIR/doc/lxc]
1314
--htmldir=DIR html documentation [DOCDIR]
1315
--dvidir=DIR dvi documentation [DOCDIR]
1316
--pdfdir=DIR pdf documentation [DOCDIR]
1317
--psdir=DIR ps documentation [DOCDIR]
1323
--program-prefix=PREFIX prepend PREFIX to installed program names
1324
--program-suffix=SUFFIX append SUFFIX to installed program names
1325
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1328
--build=BUILD configure for building on BUILD [guessed]
1329
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1333
if test -n "$ac_init_help"; then
1334
case $ac_init_help in
1335
short | recursive ) echo "Configuration of lxc 0.7.2:";;
1340
--disable-option-checking ignore unrecognized --enable/--with options
1341
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343
--disable-dependency-tracking speeds up one-time build
1344
--enable-dependency-tracking do not reject slow dependency extractors
1345
--enable-doc make mans (require docbook2man installed)
1347
--disable-examples do not install configuration examples
1350
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1351
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1352
--with-config-path=dir lxc configuration repository path
1353
--with-rootfs-path=dir lxc rootfs mount point
1355
Some influential environment variables:
1356
CC C compiler command
1357
CFLAGS C compiler flags
1358
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1359
nonstandard directory <lib dir>
1360
LIBS libraries to pass to the linker, e.g. -l<library>
1361
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1362
you have headers in a nonstandard directory <include dir>
1365
Use these variables to override the choices made by `configure' or to help
1366
it to find libraries and programs with nonstandard names/locations.
1368
Report bugs to the package provider.
1373
if test "$ac_init_help" = "recursive"; then
1374
# If there are subdirs, report their specific --help.
1375
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376
test -d "$ac_dir" ||
1377
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1382
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385
# A ".." for each directory in $ac_dir_suffix.
1386
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387
case $ac_top_builddir_sub in
1388
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1392
ac_abs_top_builddir=$ac_pwd
1393
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394
# for backward compatibility:
1395
ac_top_builddir=$ac_top_build_prefix
1398
.) # We are building in place.
1400
ac_top_srcdir=$ac_top_builddir_sub
1401
ac_abs_top_srcdir=$ac_pwd ;;
1402
[\\/]* | ?:[\\/]* ) # Absolute name.
1403
ac_srcdir=$srcdir$ac_dir_suffix;
1404
ac_top_srcdir=$srcdir
1405
ac_abs_top_srcdir=$srcdir ;;
1407
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408
ac_top_srcdir=$ac_top_build_prefix$srcdir
1409
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1411
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1413
cd "$ac_dir" || { ac_status=$?; continue; }
1414
# Check for guested configure.
1415
if test -f "$ac_srcdir/configure.gnu"; then
1417
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418
elif test -f "$ac_srcdir/configure"; then
1420
$SHELL "$ac_srcdir/configure" --help=recursive
1422
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424
cd "$ac_pwd" || { ac_status=$?; break; }
1428
test -n "$ac_init_help" && exit $ac_status
1429
if $ac_init_version; then
1432
generated by GNU Autoconf 2.65
1434
Copyright (C) 2009 Free Software Foundation, Inc.
1435
This configure script is free software; the Free Software Foundation
1436
gives unlimited permission to copy, distribute and modify it.
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
1764
cat >config.log <<_ACEOF
1765
This file contains any messages produced by compilers while
1766
running configure, to aid debugging if configure makes a mistake.
1768
It was created by lxc $as_me 0.7.2, which was
1769
generated by GNU Autoconf 2.65. Invocation command line was
1781
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1782
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1783
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1784
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1785
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1787
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1788
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1790
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1791
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1792
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1793
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1794
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1795
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1796
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804
test -z "$as_dir" && as_dir=.
1805
$as_echo "PATH: $as_dir"
1821
# Keep a trace of the command line.
1822
# Strip out --no-create and --no-recursion so they do not pile up.
1823
# Strip out --silent because we don't want to record it for future runs.
1824
# Also quote any args containing shell meta-characters.
1825
# Make two passes to allow for proper duplicate-argument suppression.
1829
ac_must_keep_next=false
1835
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1836
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1837
| -silent | --silent | --silen | --sile | --sil)
1840
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1843
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1845
as_fn_append ac_configure_args1 " '$ac_arg'"
1846
if test $ac_must_keep_next = true; then
1847
ac_must_keep_next=false # Got value, back to normal.
1850
*=* | --config-cache | -C | -disable-* | --disable-* \
1851
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1852
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1853
| -with-* | --with-* | -without-* | --without-* | --x)
1854
case "$ac_configure_args0 " in
1855
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1858
-* ) ac_must_keep_next=true ;;
1861
as_fn_append ac_configure_args " '$ac_arg'"
1866
{ ac_configure_args0=; unset ac_configure_args0;}
1867
{ ac_configure_args1=; unset ac_configure_args1;}
1869
# When interrupted or exit'd, cleanup temporary files, and complete
1870
# config.log. We remove comments because anyway the quotes in there
1871
# would cause problems or look ugly.
1872
# WARNING: Use '\'' to represent an apostrophe within the trap.
1873
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1874
trap 'exit_status=$?
1875
# Save into config.log some information that might help in debugging.
1880
## ---------------- ##
1881
## Cache variables. ##
1882
## ---------------- ##
1885
# The following way of writing the cache mishandles newlines in values,
1887
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1888
eval ac_val=\$$ac_var
1892
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1893
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1896
_ | IFS | as_nl) ;; #(
1897
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1898
*) { eval $ac_var=; unset $ac_var;} ;;
1903
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1904
*${as_nl}ac_space=\ *)
1906
"s/'\''/'\''\\\\'\'''\''/g;
1907
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1910
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1918
## ----------------- ##
1919
## Output variables. ##
1920
## ----------------- ##
1923
for ac_var in $ac_subst_vars
1925
eval ac_val=\$$ac_var
1927
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929
$as_echo "$ac_var='\''$ac_val'\''"
1933
if test -n "$ac_subst_files"; then
1935
## ------------------- ##
1936
## File substitutions. ##
1937
## ------------------- ##
1940
for ac_var in $ac_subst_files
1942
eval ac_val=\$$ac_var
1944
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946
$as_echo "$ac_var='\''$ac_val'\''"
1951
if test -s confdefs.h; then
1961
test "$ac_signal" != 0 &&
1962
$as_echo "$as_me: caught signal $ac_signal"
1963
$as_echo "$as_me: exit $exit_status"
1965
rm -f core *.core core.conftest.* &&
1966
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969
for ac_signal in 1 2 13 15; do
1970
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1975
rm -f -r conftest* confdefs.h
1977
$as_echo "/* confdefs.h */" > confdefs.h
1979
# Predefined preprocessor variables.
1981
cat >>confdefs.h <<_ACEOF
1982
#define PACKAGE_NAME "$PACKAGE_NAME"
1985
cat >>confdefs.h <<_ACEOF
1986
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989
cat >>confdefs.h <<_ACEOF
1990
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1993
cat >>confdefs.h <<_ACEOF
1994
#define PACKAGE_STRING "$PACKAGE_STRING"
1997
cat >>confdefs.h <<_ACEOF
1998
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001
cat >>confdefs.h <<_ACEOF
2002
#define PACKAGE_URL "$PACKAGE_URL"
2006
# Let the site file select an alternate cache file if it wants to.
2007
# Prefer an explicitly selected file to automatically selected ones.
2010
if test -n "$CONFIG_SITE"; then
2011
ac_site_file1=$CONFIG_SITE
2012
elif test "x$prefix" != xNONE; then
2013
ac_site_file1=$prefix/share/config.site
2014
ac_site_file2=$prefix/etc/config.site
2016
ac_site_file1=$ac_default_prefix/share/config.site
2017
ac_site_file2=$ac_default_prefix/etc/config.site
2019
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2021
test "x$ac_site_file" = xNONE && continue
2022
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2023
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2024
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2025
sed 's/^/| /' "$ac_site_file" >&5
2030
if test -r "$cache_file"; then
2031
# Some versions of bash will fail to source /dev/null (special files
2032
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2033
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2035
$as_echo "$as_me: loading cache $cache_file" >&6;}
2037
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2038
*) . "./$cache_file";;
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2043
$as_echo "$as_me: creating cache $cache_file" >&6;}
2047
# Check that the precious variables saved in the cache have kept the same
2049
ac_cache_corrupted=false
2050
for ac_var in $ac_precious_vars; do
2051
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2052
eval ac_new_set=\$ac_env_${ac_var}_set
2053
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2054
eval ac_new_val=\$ac_env_${ac_var}_value
2055
case $ac_old_set,$ac_new_set in
2057
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2058
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2059
ac_cache_corrupted=: ;;
2061
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2062
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2063
ac_cache_corrupted=: ;;
2066
if test "x$ac_old_val" != "x$ac_new_val"; then
2067
# differences in whitespace do not lead to failure.
2068
ac_old_val_w=`echo x $ac_old_val`
2069
ac_new_val_w=`echo x $ac_new_val`
2070
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2071
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2072
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2073
ac_cache_corrupted=:
2075
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2076
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2077
eval $ac_var=\$ac_old_val
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2080
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2081
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2082
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2085
# Pass precious variables to config.status.
2086
if test "$ac_new_set" = set; then
2088
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2089
*) ac_arg=$ac_var=$ac_new_val ;;
2091
case " $ac_configure_args " in
2092
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2093
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2097
if $ac_cache_corrupted; then
2098
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2101
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2102
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2104
## -------------------- ##
2105
## Main body of script. ##
2106
## -------------------- ##
2109
ac_cpp='$CPP $CPPFLAGS'
2110
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118
for ac_dir in config "$srcdir"/config; do
2119
for ac_t in install-sh install.sh shtool; do
2120
if test -f "$ac_dir/$ac_t"; then
2122
ac_install_sh="$ac_aux_dir/$ac_t -c"
2127
if test -z "$ac_aux_dir"; then
2128
as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2131
# These three variables are undocumented and unsupported,
2132
# and are intended to be withdrawn in a future Autoconf release.
2133
# They can cause serious problems if a builder's source tree is in a directory
2134
# whose full name contains unusual characters.
2135
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2136
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2137
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2140
ac_config_headers="$ac_config_headers src/config.h"
2142
am__api_version='1.11'
2144
# Find a good install program. We prefer a C program (faster),
2145
# so one script is as good as another. But avoid the broken or
2146
# incompatible versions:
2147
# SysV /etc/install, /usr/sbin/install
2148
# SunOS /usr/etc/install
2149
# IRIX /sbin/install
2151
# AmigaOS /C/install, which installs bootblocks on floppy discs
2152
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2153
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2154
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2155
# OS/2's system install, which has a completely different semantic
2156
# ./install, which can be erroneously created by make from ./install.sh.
2157
# Reject install programs that cannot install multiple files.
2158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2159
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2160
if test -z "$INSTALL"; then
2161
if test "${ac_cv_path_install+set}" = set; then :
2162
$as_echo_n "(cached) " >&6
2164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168
test -z "$as_dir" && as_dir=.
2169
# Account for people who put trailing slashes in PATH elements.
2170
case $as_dir/ in #((
2171
./ | .// | /[cC]/* | \
2172
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2173
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2176
# OSF1 and SCO ODT 3.0 have their own names for install.
2177
# Don't use installbsd from OSF since it installs stuff as root
2179
for ac_prog in ginstall scoinst install; do
2180
for ac_exec_ext in '' $ac_executable_extensions; do
2181
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2182
if test $ac_prog = install &&
2183
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2184
# AIX install. It has an incompatible calling convention.
2186
elif test $ac_prog = install &&
2187
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2188
# program-specific install script used by HP pwplus--don't use.
2191
rm -rf conftest.one conftest.two conftest.dir
2192
echo one > conftest.one
2193
echo two > conftest.two
2195
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2196
test -s conftest.one && test -s conftest.two &&
2197
test -s conftest.dir/conftest.one &&
2198
test -s conftest.dir/conftest.two
2200
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2213
rm -rf conftest.one conftest.two conftest.dir
2216
if test "${ac_cv_path_install+set}" = set; then
2217
INSTALL=$ac_cv_path_install
2219
# As a last resort, use the slow shell script. Don't cache a
2220
# value for INSTALL within a source directory, because that will
2221
# break other packages using the cache if that directory is
2222
# removed, or if the value is a relative name.
2223
INSTALL=$ac_install_sh
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2227
$as_echo "$INSTALL" >&6; }
2229
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2230
# It thinks the first close brace ends the variable substitution.
2231
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2233
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2235
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2238
$as_echo_n "checking whether build environment is sane... " >&6; }
2241
echo timestamp > conftest.file
2242
# Reject unsafe characters in $srcdir or the absolute working directory
2243
# name. Accept space and tab only in the latter.
2247
*[\\\"\#\$\&\'\`$am_lf]*)
2248
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2251
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2252
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2255
# Do `set' in a subshell so we don't clobber the current shell's
2256
# arguments. Must try -L first in case configure is actually a
2257
# symlink; some systems play weird games with the mod time of symlinks
2258
# (eg FreeBSD returns the mod time of the symlink's containing
2261
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2262
if test "$*" = "X"; then
2264
set X `ls -t "$srcdir/configure" conftest.file`
2267
if test "$*" != "X $srcdir/configure conftest.file" \
2268
&& test "$*" != "X conftest.file $srcdir/configure"; then
2270
# If neither matched, then we have a broken ls. This can happen
2271
# if, for instance, CONFIG_SHELL is bash and it inherits a
2272
# broken ls alias from the environment. This has actually
2273
# happened. Such a system could not be considered "sane".
2274
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2275
alias in your environment" "$LINENO" 5
2278
test "$2" = conftest.file
2284
as_fn_error "newly created file is older than distributed files!
2285
Check your system clock" "$LINENO" 5
2287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2288
$as_echo "yes" >&6; }
2289
test "$program_prefix" != NONE &&
2290
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2291
# Use a double $ so make ignores it.
2292
test "$program_suffix" != NONE &&
2293
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2294
# Double any \ or $.
2295
# By default was `s,x,x', remove it if useless.
2296
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2297
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2299
# expand $ac_aux_dir to an absolute path
2300
am_aux_dir=`cd $ac_aux_dir && pwd`
2302
if test x"${MISSING+set}" != xset; then
2305
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2307
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2310
# Use eval to expand $SHELL
2311
if eval "$MISSING --run true"; then
2312
am_missing_run="$MISSING --run "
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2316
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
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; }
2430
if test -z "$MKDIR_P"; then
2431
if test "${ac_cv_path_mkdir+set}" = set; then :
2432
$as_echo_n "(cached) " >&6
2434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2438
test -z "$as_dir" && as_dir=.
2439
for ac_prog in mkdir gmkdir; do
2440
for ac_exec_ext in '' $ac_executable_extensions; do
2441
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2442
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2443
'mkdir (GNU coreutils) '* | \
2444
'mkdir (coreutils) '* | \
2445
'mkdir (fileutils) '4.1*)
2446
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2456
test -d ./--version && rmdir ./--version
2457
if test "${ac_cv_path_mkdir+set}" = set; then
2458
MKDIR_P="$ac_cv_path_mkdir -p"
2460
# As a last resort, use the slow shell script. Don't cache a
2461
# value for MKDIR_P within a source directory, because that will
2462
# break other packages using the cache if that directory is
2463
# removed, or if the value is a relative name.
2464
MKDIR_P="$ac_install_sh -d"
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2468
$as_echo "$MKDIR_P" >&6; }
2472
[\\/$]* | ?:[\\/]*) ;;
2473
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2476
for ac_prog in gawk mawk nawk awk
2478
# Extract the first word of "$ac_prog", so it can be a program name with args.
2479
set dummy $ac_prog; ac_word=$2
2480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481
$as_echo_n "checking for $ac_word... " >&6; }
2482
if test "${ac_cv_prog_AWK+set}" = set; then :
2483
$as_echo_n "(cached) " >&6
2485
if test -n "$AWK"; then
2486
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492
test -z "$as_dir" && as_dir=.
2493
for ac_exec_ext in '' $ac_executable_extensions; do
2494
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495
ac_cv_prog_AWK="$ac_prog"
2496
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506
if test -n "$AWK"; then
2507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2508
$as_echo "$AWK" >&6; }
2510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511
$as_echo "no" >&6; }
2515
test -n "$AWK" && break
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2519
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2521
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2522
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2523
$as_echo_n "(cached) " >&6
2525
cat >conftest.make <<\_ACEOF
2528
@echo '@@@%%%=$(MAKE)=@@@%%%'
2530
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2531
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2533
eval ac_cv_prog_make_${ac_make}_set=yes;;
2535
eval ac_cv_prog_make_${ac_make}_set=no;;
2539
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2541
$as_echo "yes" >&6; }
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545
$as_echo "no" >&6; }
2546
SET_MAKE="MAKE=${MAKE-make}"
2549
rm -rf .tst 2>/dev/null
2550
mkdir .tst 2>/dev/null
2551
if test -d .tst; then
2556
rmdir .tst 2>/dev/null
2558
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2559
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2560
# is not polluted with repeated "-I."
2561
am__isrc=' -I$(srcdir)'
2562
# test to see if srcdir already configured
2563
if test -f $srcdir/config.status; then
2564
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2568
# test whether we have cygpath
2569
if test -z "$CYGPATH_W"; then
2570
if (cygpath --version) >/dev/null 2>/dev/null; then
2571
CYGPATH_W='cygpath -w'
2578
# Define the identity of the package.
2583
cat >>confdefs.h <<_ACEOF
2584
#define PACKAGE "$PACKAGE"
2588
cat >>confdefs.h <<_ACEOF
2589
#define VERSION "$VERSION"
2592
# Some tools Automake needs.
2594
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2597
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2600
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2603
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2606
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2608
# We need awk for the "check" target. The system "awk" is bad on
2610
# Always define AMTAR for backward compatibility.
2612
AMTAR=${AMTAR-"${am_missing_run}tar"}
2614
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2620
# Make sure we can run config.sub.
2621
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2622
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2625
$as_echo_n "checking build system type... " >&6; }
2626
if test "${ac_cv_build+set}" = set; then :
2627
$as_echo_n "(cached) " >&6
2629
ac_build_alias=$build_alias
2630
test "x$ac_build_alias" = x &&
2631
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2632
test "x$ac_build_alias" = x &&
2633
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2634
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2635
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2639
$as_echo "$ac_cv_build" >&6; }
2640
case $ac_cv_build in
2642
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2645
ac_save_IFS=$IFS; IFS='-'
2651
# Remember, the first character of IFS is used to create $*,
2652
# except with old shells:
2655
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2659
$as_echo_n "checking host system type... " >&6; }
2660
if test "${ac_cv_host+set}" = set; then :
2661
$as_echo_n "(cached) " >&6
2663
if test "x$host_alias" = x; then
2664
ac_cv_host=$ac_cv_build
2666
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2667
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2672
$as_echo "$ac_cv_host" >&6; }
2675
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2678
ac_save_IFS=$IFS; IFS='-'
2684
# Remember, the first character of IFS is used to create $*,
2685
# except with old shells:
2688
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2691
DEPDIR="${am__leading_dot}deps"
2693
ac_config_commands="$ac_config_commands depfiles"
2696
am_make=${MAKE-make}
2697
cat > confinc << 'END'
2699
@echo this is the am__doit target
2702
# If we don't find an include directive, just comment out the code.
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2704
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2708
# First try GNU make style include.
2709
echo "include confinc" > confmf
2710
# Ignore all kinds of additional output from `make'.
2711
case `$am_make -s -f confmf 2> /dev/null` in #(
2712
*the\ am__doit\ target*)
2718
# Now try BSD make style include.
2719
if test "$am__include" = "#"; then
2720
echo '.include "confinc"' > confmf
2721
case `$am_make -s -f confmf 2> /dev/null` in #(
2722
*the\ am__doit\ target*)
2723
am__include=.include
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2732
$as_echo "$_am_result" >&6; }
2733
rm -f confinc confmf
2735
# Check whether --enable-dependency-tracking was given.
2736
if test "${enable_dependency_tracking+set}" = set; then :
2737
enableval=$enable_dependency_tracking;
2740
if test "x$enable_dependency_tracking" != xno; then
2741
am_depcomp="$ac_aux_dir/depcomp"
2744
if test "x$enable_dependency_tracking" != xno; then
2754
ac_cpp='$CPP $CPPFLAGS'
2755
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758
if test -n "$ac_tool_prefix"; then
2759
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2760
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762
$as_echo_n "checking for $ac_word... " >&6; }
2763
if test "${ac_cv_prog_CC+set}" = set; then :
2764
$as_echo_n "(cached) " >&6
2766
if test -n "$CC"; then
2767
ac_cv_prog_CC="$CC" # Let the user override the test.
2769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773
test -z "$as_dir" && as_dir=.
2774
for ac_exec_ext in '' $ac_executable_extensions; do
2775
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2777
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787
if test -n "$CC"; then
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789
$as_echo "$CC" >&6; }
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792
$as_echo "no" >&6; }
2797
if test -z "$ac_cv_prog_CC"; then
2799
# Extract the first word of "gcc", so it can be a program name with args.
2800
set dummy gcc; ac_word=$2
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802
$as_echo_n "checking for $ac_word... " >&6; }
2803
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2804
$as_echo_n "(cached) " >&6
2806
if test -n "$ac_ct_CC"; then
2807
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813
test -z "$as_dir" && as_dir=.
2814
for ac_exec_ext in '' $ac_executable_extensions; do
2815
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816
ac_cv_prog_ac_ct_CC="gcc"
2817
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827
if test -n "$ac_ct_CC"; then
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829
$as_echo "$ac_ct_CC" >&6; }
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832
$as_echo "no" >&6; }
2835
if test "x$ac_ct_CC" = x; then
2838
case $cross_compiling:$ac_tool_warned in
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2842
ac_tool_warned=yes ;;
2850
if test -z "$CC"; then
2851
if test -n "$ac_tool_prefix"; then
2852
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2853
set dummy ${ac_tool_prefix}cc; ac_word=$2
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855
$as_echo_n "checking for $ac_word... " >&6; }
2856
if test "${ac_cv_prog_CC+set}" = set; then :
2857
$as_echo_n "(cached) " >&6
2859
if test -n "$CC"; then
2860
ac_cv_prog_CC="$CC" # Let the user override the test.
2862
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866
test -z "$as_dir" && as_dir=.
2867
for ac_exec_ext in '' $ac_executable_extensions; do
2868
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869
ac_cv_prog_CC="${ac_tool_prefix}cc"
2870
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880
if test -n "$CC"; then
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882
$as_echo "$CC" >&6; }
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885
$as_echo "no" >&6; }
2891
if test -z "$CC"; then
2892
# Extract the first word of "cc", so it can be a program name with args.
2893
set dummy cc; ac_word=$2
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895
$as_echo_n "checking for $ac_word... " >&6; }
2896
if test "${ac_cv_prog_CC+set}" = set; then :
2897
$as_echo_n "(cached) " >&6
2899
if test -n "$CC"; then
2900
ac_cv_prog_CC="$CC" # Let the user override the test.
2903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907
test -z "$as_dir" && as_dir=.
2908
for ac_exec_ext in '' $ac_executable_extensions; do
2909
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2911
ac_prog_rejected=yes
2915
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922
if test $ac_prog_rejected = yes; then
2923
# We found a bogon in the path, so make sure we never use it.
2924
set dummy $ac_cv_prog_CC
2926
if test $# != 0; then
2927
# We chose a different compiler from the bogus one.
2928
# However, it has the same basename, so the bogon will be chosen
2929
# first if we set CC to just the basename; use the full file name.
2931
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2937
if test -n "$CC"; then
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939
$as_echo "$CC" >&6; }
2941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942
$as_echo "no" >&6; }
2947
if test -z "$CC"; then
2948
if test -n "$ac_tool_prefix"; then
2949
for ac_prog in cl.exe
2951
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2952
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954
$as_echo_n "checking for $ac_word... " >&6; }
2955
if test "${ac_cv_prog_CC+set}" = set; then :
2956
$as_echo_n "(cached) " >&6
2958
if test -n "$CC"; then
2959
ac_cv_prog_CC="$CC" # Let the user override the test.
2961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965
test -z "$as_dir" && as_dir=.
2966
for ac_exec_ext in '' $ac_executable_extensions; do
2967
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2969
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979
if test -n "$CC"; then
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981
$as_echo "$CC" >&6; }
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984
$as_echo "no" >&6; }
2988
test -n "$CC" && break
2991
if test -z "$CC"; then
2993
for ac_prog in cl.exe
2995
# Extract the first word of "$ac_prog", so it can be a program name with args.
2996
set dummy $ac_prog; ac_word=$2
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998
$as_echo_n "checking for $ac_word... " >&6; }
2999
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3000
$as_echo_n "(cached) " >&6
3002
if test -n "$ac_ct_CC"; then
3003
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009
test -z "$as_dir" && as_dir=.
3010
for ac_exec_ext in '' $ac_executable_extensions; do
3011
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012
ac_cv_prog_ac_ct_CC="$ac_prog"
3013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3023
if test -n "$ac_ct_CC"; then
3024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3025
$as_echo "$ac_ct_CC" >&6; }
3027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028
$as_echo "no" >&6; }
3032
test -n "$ac_ct_CC" && break
3035
if test "x$ac_ct_CC" = x; then
3038
case $cross_compiling:$ac_tool_warned in
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042
ac_tool_warned=yes ;;
3051
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053
as_fn_error "no acceptable C compiler found in \$PATH
3054
See \`config.log' for more details." "$LINENO" 5; }
3056
# Provide some information about the compiler.
3057
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3060
for ac_option in --version -v -V -qversion; do
3061
{ { ac_try="$ac_compiler $ac_option >&5"
3063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064
*) ac_try_echo=$ac_try;;
3066
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067
$as_echo "$ac_try_echo"; } >&5
3068
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3070
if test -s conftest.err; then
3072
... rest of stderr output deleted ...
3073
10q' conftest.err >conftest.er1
3074
cat conftest.er1 >&5
3076
rm -f conftest.er1 conftest.err
3077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
test $ac_status = 0; }
3081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082
/* end confdefs.h. */
3092
ac_clean_files_save=$ac_clean_files
3093
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3094
# Try to create an executable without -o first, disregard a.out.
3095
# It will help us diagnose broken compilers, and finding out an intuition
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3098
$as_echo_n "checking whether the C compiler works... " >&6; }
3099
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3101
# The possible output files:
3102
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3105
for ac_file in $ac_files
3108
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3109
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3114
if { { ac_try="$ac_link_default"
3116
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
*) ac_try_echo=$ac_try;;
3119
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120
$as_echo "$ac_try_echo"; } >&5
3121
(eval "$ac_link_default") 2>&5
3123
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124
test $ac_status = 0; }; then :
3125
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3126
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3127
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3128
# so that the user can short-circuit this test for compilers unknown to
3130
for ac_file in $ac_files ''
3132
test -f "$ac_file" || continue
3134
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3137
# We found the default executable, but exeext='' is most
3141
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3143
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3145
# We set ac_cv_exeext here because the later test for it is not
3146
# safe: cross compilers may not add the suffix if given an `-o'
3147
# argument, so we may need to know it at that point already.
3148
# Even if this section looks crufty: it has the advantage of
3155
test "$ac_cv_exeext" = no && ac_cv_exeext=
3160
if test -z "$ac_file"; then :
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162
$as_echo "no" >&6; }
3163
$as_echo "$as_me: failed program was:" >&5
3164
sed 's/^/| /' conftest.$ac_ext >&5
3166
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168
{ as_fn_set_status 77
3169
as_fn_error "C compiler cannot create executables
3170
See \`config.log' for more details." "$LINENO" 5; }; }
3172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173
$as_echo "yes" >&6; }
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3176
$as_echo_n "checking for C compiler default output file name... " >&6; }
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3178
$as_echo "$ac_file" >&6; }
3179
ac_exeext=$ac_cv_exeext
3181
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3182
ac_clean_files=$ac_clean_files_save
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3184
$as_echo_n "checking for suffix of executables... " >&6; }
3185
if { { ac_try="$ac_link"
3187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188
*) ac_try_echo=$ac_try;;
3190
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3191
$as_echo "$ac_try_echo"; } >&5
3192
(eval "$ac_link") 2>&5
3194
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195
test $ac_status = 0; }; then :
3196
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3197
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3198
# work properly (i.e., refer to `conftest.exe'), while it won't with
3200
for ac_file in conftest.exe conftest conftest.*; do
3201
test -f "$ac_file" || continue
3203
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3204
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212
as_fn_error "cannot compute suffix of executables: cannot compile and link
3213
See \`config.log' for more details." "$LINENO" 5; }
3215
rm -f conftest conftest$ac_cv_exeext
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3217
$as_echo "$ac_cv_exeext" >&6; }
3219
rm -f conftest.$ac_ext
3220
EXEEXT=$ac_cv_exeext
3222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223
/* end confdefs.h. */
3228
FILE *f = fopen ("conftest.out", "w");
3229
return ferror (f) || fclose (f) != 0;
3235
ac_clean_files="$ac_clean_files conftest.out"
3236
# Check that the compiler produces executables we can run. If not, either
3237
# the compiler is broken, or we cross compile.
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3239
$as_echo_n "checking whether we are cross compiling... " >&6; }
3240
if test "$cross_compiling" != yes; then
3241
{ { ac_try="$ac_link"
3243
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
*) ac_try_echo=$ac_try;;
3246
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247
$as_echo "$ac_try_echo"; } >&5
3248
(eval "$ac_link") 2>&5
3250
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251
test $ac_status = 0; }
3252
if { ac_try='./conftest$ac_cv_exeext'
3253
{ { case "(($ac_try" in
3254
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255
*) ac_try_echo=$ac_try;;
3257
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258
$as_echo "$ac_try_echo"; } >&5
3259
(eval "$ac_try") 2>&5
3261
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262
test $ac_status = 0; }; }; then
3265
if test "$cross_compiling" = maybe; then
3268
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3269
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3270
as_fn_error "cannot run C compiled programs.
3271
If you meant to cross compile, use \`--host'.
3272
See \`config.log' for more details." "$LINENO" 5; }
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3277
$as_echo "$cross_compiling" >&6; }
3279
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3280
ac_clean_files=$ac_clean_files_save
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3282
$as_echo_n "checking for suffix of object files... " >&6; }
3283
if test "${ac_cv_objext+set}" = set; then :
3284
$as_echo_n "(cached) " >&6
3286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287
/* end confdefs.h. */
3297
rm -f conftest.o conftest.obj
3298
if { { ac_try="$ac_compile"
3300
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301
*) ac_try_echo=$ac_try;;
3303
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304
$as_echo "$ac_try_echo"; } >&5
3305
(eval "$ac_compile") 2>&5
3307
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3308
test $ac_status = 0; }; then :
3309
for ac_file in conftest.o conftest.obj conftest.*; do
3310
test -f "$ac_file" || continue;
3312
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3313
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3318
$as_echo "$as_me: failed program was:" >&5
3319
sed 's/^/| /' conftest.$ac_ext >&5
3321
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323
as_fn_error "cannot compute suffix of object files: cannot compile
3324
See \`config.log' for more details." "$LINENO" 5; }
3326
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3329
$as_echo "$ac_cv_objext" >&6; }
3330
OBJEXT=$ac_cv_objext
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3333
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3334
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3335
$as_echo_n "(cached) " >&6
3337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338
/* end confdefs.h. */
3351
if ac_fn_c_try_compile "$LINENO"; then :
3356
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3361
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3362
if test $ac_compiler_gnu = yes; then
3367
ac_test_CFLAGS=${CFLAGS+set}
3368
ac_save_CFLAGS=$CFLAGS
3369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3370
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3371
if test "${ac_cv_prog_cc_g+set}" = set; then :
3372
$as_echo_n "(cached) " >&6
3374
ac_save_c_werror_flag=$ac_c_werror_flag
3375
ac_c_werror_flag=yes
3378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379
/* end confdefs.h. */
3389
if ac_fn_c_try_compile "$LINENO"; then :
3393
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394
/* end confdefs.h. */
3404
if ac_fn_c_try_compile "$LINENO"; then :
3407
ac_c_werror_flag=$ac_save_c_werror_flag
3409
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410
/* end confdefs.h. */
3420
if ac_fn_c_try_compile "$LINENO"; then :
3423
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428
ac_c_werror_flag=$ac_save_c_werror_flag
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3431
$as_echo "$ac_cv_prog_cc_g" >&6; }
3432
if test "$ac_test_CFLAGS" = set; then
3433
CFLAGS=$ac_save_CFLAGS
3434
elif test $ac_cv_prog_cc_g = yes; then
3435
if test "$GCC" = yes; then
3441
if test "$GCC" = yes; then
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3448
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3449
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3450
$as_echo_n "(cached) " >&6
3452
ac_cv_prog_cc_c89=no
3454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455
/* end confdefs.h. */
3458
#include <sys/types.h>
3459
#include <sys/stat.h>
3460
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3461
struct buf { int x; };
3462
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3463
static char *e (p, i)
3469
static char *f (char * (*g) (char **, int), char **p, ...)
3474
s = g (p, va_arg (v,int));
3479
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3480
function prototypes and stuff, but not '\xHH' hex character constants.
3481
These don't provoke an error unfortunately, instead are silently treated
3482
as 'x'. The following induces an error, until -std is added to get
3483
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3484
array size at least. It's necessary to write '\x00'==0 to get something
3485
that's true only with -std. */
3486
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3488
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3489
inside strings and character constants. */
3491
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3493
int test (int i, double x);
3494
struct s1 {int (*f) (int a);};
3495
struct s2 {int (*f) (double a);};
3496
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3502
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3507
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3508
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3510
CC="$ac_save_CC $ac_arg"
3511
if ac_fn_c_try_compile "$LINENO"; then :
3512
ac_cv_prog_cc_c89=$ac_arg
3514
rm -f core conftest.err conftest.$ac_objext
3515
test "x$ac_cv_prog_cc_c89" != "xno" && break
3517
rm -f conftest.$ac_ext
3522
case "x$ac_cv_prog_cc_c89" in
3524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3525
$as_echo "none needed" >&6; } ;;
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3528
$as_echo "unsupported" >&6; } ;;
3530
CC="$CC $ac_cv_prog_cc_c89"
3531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3532
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3534
if test "x$ac_cv_prog_cc_c89" != xno; then :
3539
ac_cpp='$CPP $CPPFLAGS'
3540
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3544
depcc="$CC" am_compiler_list=
3546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3547
$as_echo_n "checking dependency style of $depcc... " >&6; }
3548
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3549
$as_echo_n "(cached) " >&6
3551
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3552
# We make a subdir and do the tests there. Otherwise we can end up
3553
# making bogus files that we don't know about and never remove. For
3554
# instance it was reported that on HP-UX the gcc test will end up
3555
# making a dummy file named `D' -- because `-MD' means `put the output
3558
# Copy depcomp to subdir because otherwise we won't find it if we're
3559
# using a relative directory.
3560
cp "$am_depcomp" conftest.dir
3562
# We will build objects and dependencies in a subdirectory because
3563
# it helps to detect inapplicable dependency modes. For instance
3564
# both Tru64's cc and ICC support -MD to output dependencies as a
3565
# side effect of compilation, but ICC will put the dependencies in
3566
# the current directory while Tru64 will put them in the object
3570
am_cv_CC_dependencies_compiler_type=none
3571
if test "$am_compiler_list" = ""; then
3572
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3575
case " $depcc " in #(
3576
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3579
for depmode in $am_compiler_list; do
3580
# Setup a source with many dependencies, because some compilers
3581
# like to wrap large dependency lists on column 80 (with \), and
3582
# we should not choose a depcomp mode which is confused by this.
3584
# We need to recreate these files for each test, as the compiler may
3585
# overwrite some of them when testing with obscure command lines.
3586
# This happens at least with the AIX C compiler.
3588
for i in 1 2 3 4 5 6; do
3589
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3590
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3591
# Solaris 8's {/usr,}/bin/sh.
3592
touch sub/conftst$i.h
3594
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3596
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3597
# mode. It turns out that the SunPro C++ compiler does not properly
3598
# handle `-M -o', and we need to detect this. Also, some Intel
3599
# versions had trouble with output in subdirs
3600
am__obj=sub/conftest.${OBJEXT-o}
3601
am__minus_obj="-o $am__obj"
3604
# This depmode causes a compiler race in universal mode.
3605
test "$am__universal" = false || continue
3608
# after this tag, mechanisms are not by side-effect, so they'll
3609
# only be used when explicitly requested
3610
if test "x$enable_dependency_tracking" = xyes; then
3616
msvisualcpp | msvcmsys)
3617
# This compiler won't grok `-c -o', but also, the minuso test has
3618
# not run yet. These depmodes are late enough in the game, and
3619
# so weak that their functioning should not be impacted.
3620
am__obj=conftest.${OBJEXT-o}
3625
if depmode=$depmode \
3626
source=sub/conftest.c object=$am__obj \
3627
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3628
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3629
>/dev/null 2>conftest.err &&
3630
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3631
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3632
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3633
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3634
# icc doesn't choke on unknown options, it will just issue warnings
3635
# or remarks (even with -Werror). So we grep stderr for any message
3636
# that says an option was ignored or not supported.
3637
# When given -MP, icc 7.0 and 7.1 complain thusly:
3638
# icc: Command line warning: ignoring option '-M'; no argument required
3639
# The diagnosis changed in icc 8.0:
3640
# icc: Command line remark: option '-MP' not supported
3641
if (grep 'ignoring option' conftest.err ||
3642
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3643
am_cv_CC_dependencies_compiler_type=$depmode
3652
am_cv_CC_dependencies_compiler_type=none
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3657
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3658
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3661
test "x$enable_dependency_tracking" != xno \
3662
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3664
am__fastdepCC_FALSE='#'
3666
am__fastdepCC_TRUE='#'
3667
am__fastdepCC_FALSE=
3671
if test "x$CC" != xcc; then
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3673
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3676
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3678
set dummy $CC; ac_cc=`$as_echo "$2" |
3679
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3680
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3681
$as_echo_n "(cached) " >&6
3683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684
/* end confdefs.h. */
3694
# Make sure it works both with $CC and with simple cc.
3695
# We do the test twice because some compilers refuse to overwrite an
3696
# existing .o file with -o, though they will create one.
3697
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3699
if { { case "(($ac_try" in
3700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701
*) ac_try_echo=$ac_try;;
3703
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704
$as_echo "$ac_try_echo"; } >&5
3705
(eval "$ac_try") 2>&5
3707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708
test $ac_status = 0; } &&
3709
test -f conftest2.$ac_objext && { { case "(($ac_try" in
3710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711
*) ac_try_echo=$ac_try;;
3713
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714
$as_echo "$ac_try_echo"; } >&5
3715
(eval "$ac_try") 2>&5
3717
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718
test $ac_status = 0; };
3720
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3721
if test "x$CC" != xcc; then
3722
# Test first that cc exists at all.
3723
if { ac_try='cc -c conftest.$ac_ext >&5'
3724
{ { case "(($ac_try" in
3725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726
*) ac_try_echo=$ac_try;;
3728
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729
$as_echo "$ac_try_echo"; } >&5
3730
(eval "$ac_try") 2>&5
3732
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3733
test $ac_status = 0; }; }; then
3734
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3736
if { { case "(($ac_try" in
3737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738
*) ac_try_echo=$ac_try;;
3740
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741
$as_echo "$ac_try_echo"; } >&5
3742
(eval "$ac_try") 2>&5
3744
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745
test $ac_status = 0; } &&
3746
test -f conftest2.$ac_objext && { { case "(($ac_try" in
3747
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748
*) ac_try_echo=$ac_try;;
3750
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751
$as_echo "$ac_try_echo"; } >&5
3752
(eval "$ac_try") 2>&5
3754
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755
test $ac_status = 0; };
3760
# cc exists but doesn't like -o.
3761
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3766
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3768
rm -f core conftest*
3771
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773
$as_echo "yes" >&6; }
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776
$as_echo "no" >&6; }
3778
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3782
# FIXME: we rely on the cache variable name because
3783
# there is no other way.
3785
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3786
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3787
if test "$am_t" != yes; then
3788
# Losing compiler, so override with the script.
3789
# FIXME: It is wrong to rewrite CC.
3790
# But if we don't then we get into trouble of one sort or another.
3791
# A longer-term fix would be to have automake use am__CC in this case,
3792
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3793
CC="$am_aux_dir/compile $CC"
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
4258
# Extract the first word of "setcap", so it can be a program name with args.
4259
set dummy setcap; ac_word=$2
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261
$as_echo_n "checking for $ac_word... " >&6; }
4262
if test "${ac_cv_prog_SETCAP+set}" = set; then :
4263
$as_echo_n "(cached) " >&6
4265
if test -n "$SETCAP"; then
4266
ac_cv_prog_SETCAP="$SETCAP" # Let the user override the test.
4268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269
for as_dir in $PATH$PATH_SEPARATOR/sbin
4272
test -z "$as_dir" && as_dir=.
4273
for ac_exec_ext in '' $ac_executable_extensions; do
4274
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275
ac_cv_prog_SETCAP="yes"
4276
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283
test -z "$ac_cv_prog_SETCAP" && ac_cv_prog_SETCAP="no"
4286
SETCAP=$ac_cv_prog_SETCAP
4287
if test -n "$SETCAP"; then
4288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
4289
$as_echo "$SETCAP" >&6; }
4291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292
$as_echo "no" >&6; }
4297
# Check whether --enable-doc was given.
4298
if test "${enable_doc+set}" = set; then :
4299
enableval=$enable_doc;
4305
if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
4306
# Extract the first word of "docbook2man", so it can be a program name with args.
4307
set dummy docbook2man; ac_word=$2
4308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309
$as_echo_n "checking for $ac_word... " >&6; }
4310
if test "${ac_cv_prog_have_docbook+set}" = set; then :
4311
$as_echo_n "(cached) " >&6
4313
if test -n "$have_docbook"; then
4314
ac_cv_prog_have_docbook="$have_docbook" # Let the user override the test.
4316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320
test -z "$as_dir" && as_dir=.
4321
for ac_exec_ext in '' $ac_executable_extensions; do
4322
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323
ac_cv_prog_have_docbook="yes"
4324
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331
test -z "$ac_cv_prog_have_docbook" && ac_cv_prog_have_docbook="no"
4334
have_docbook=$ac_cv_prog_have_docbook
4335
if test -n "$have_docbook"; then
4336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_docbook" >&5
4337
$as_echo "$have_docbook" >&6; }
4339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340
$as_echo "no" >&6; }
4345
test "x$have_docbook" = "xno" -a "x$enable_doc" = "xyes" && \
4346
as_fn_error "docbook2man required by man request, but not found" "$LINENO" 5
4349
if test "x$have_docbook" = "xyes"; then
4350
ENABLE_DOCBOOK_TRUE=
4351
ENABLE_DOCBOOK_FALSE='#'
4353
ENABLE_DOCBOOK_TRUE='#'
4354
ENABLE_DOCBOOK_FALSE=
4358
# Check whether --enable-examples was given.
4359
if test "${enable_examples+set}" = set; then :
4360
enableval=$enable_examples;
4366
if test "x$enable_examples" = "xyes"; then
4367
ENABLE_EXAMPLES_TRUE=
4368
ENABLE_EXAMPLES_FALSE='#'
4370
ENABLE_EXAMPLES_TRUE='#'
4371
ENABLE_EXAMPLES_FALSE=
4380
exec_prefix_save=$exec_prefix
4382
if test "x$prefix" = "xNONE"; then
4383
prefix="$ac_default_prefix"
4385
if test "x$exec_prefix" = "xNONE"; then
4389
full_var="$FROM_VAR"
4391
new_full_var="`eval echo $full_var`"
4392
if test "x$new_full_var" = "x$full_var"; then break; fi
4393
full_var=$new_full_var
4396
full_var=$new_full_var
4401
exec_prefix=$exec_prefix_save
4408
exec_prefix_save=$exec_prefix
4410
if test "x$prefix" = "xNONE"; then
4411
prefix="$ac_default_prefix"
4413
if test "x$exec_prefix" = "xNONE"; then
4417
full_var="$FROM_VAR"
4419
new_full_var="`eval echo $full_var`"
4420
if test "x$new_full_var" = "x$full_var"; then break; fi
4421
full_var=$new_full_var
4424
full_var=$new_full_var
4429
exec_prefix=$exec_prefix_save
4436
exec_prefix_save=$exec_prefix
4438
if test "x$prefix" = "xNONE"; then
4439
prefix="$ac_default_prefix"
4441
if test "x$exec_prefix" = "xNONE"; then
4445
full_var="$FROM_VAR"
4447
new_full_var="`eval echo $full_var`"
4448
if test "x$new_full_var" = "x$full_var"; then break; fi
4449
full_var=$new_full_var
4452
full_var=$new_full_var
4457
exec_prefix=$exec_prefix_save
4461
FROM_VAR=$includedir
4464
exec_prefix_save=$exec_prefix
4466
if test "x$prefix" = "xNONE"; then
4467
prefix="$ac_default_prefix"
4469
if test "x$exec_prefix" = "xNONE"; then
4473
full_var="$FROM_VAR"
4475
new_full_var="`eval echo $full_var`"
4476
if test "x$new_full_var" = "x$full_var"; then break; fi
4477
full_var=$new_full_var
4480
full_var=$new_full_var
4481
INCLUDEDIR="$full_var"
4485
exec_prefix=$exec_prefix_save
4489
FROM_VAR=$sysconfdir
4492
exec_prefix_save=$exec_prefix
4494
if test "x$prefix" = "xNONE"; then
4495
prefix="$ac_default_prefix"
4497
if test "x$exec_prefix" = "xNONE"; then
4501
full_var="$FROM_VAR"
4503
new_full_var="`eval echo $full_var`"
4504
if test "x$new_full_var" = "x$full_var"; then break; fi
4505
full_var=$new_full_var
4508
full_var=$new_full_var
4509
SYSCONFDIR="$full_var"
4513
exec_prefix=$exec_prefix_save
4520
exec_prefix_save=$exec_prefix
4522
if test "x$prefix" = "xNONE"; then
4523
prefix="$ac_default_prefix"
4525
if test "x$exec_prefix" = "xNONE"; then
4529
full_var="$FROM_VAR"
4531
new_full_var="`eval echo $full_var`"
4532
if test "x$new_full_var" = "x$full_var"; then break; fi
4533
full_var=$new_full_var
4536
full_var=$new_full_var
4541
exec_prefix=$exec_prefix_save
4544
EXP_VAR=LOCALSTATEDIR
4545
FROM_VAR=$localstatedir
4548
exec_prefix_save=$exec_prefix
4550
if test "x$prefix" = "xNONE"; then
4551
prefix="$ac_default_prefix"
4553
if test "x$exec_prefix" = "xNONE"; then
4557
full_var="$FROM_VAR"
4559
new_full_var="`eval echo $full_var`"
4560
if test "x$new_full_var" = "x$full_var"; then break; fi
4561
full_var=$new_full_var
4564
full_var=$new_full_var
4565
LOCALSTATEDIR="$full_var"
4569
exec_prefix=$exec_prefix_save
4576
exec_prefix_save=$exec_prefix
4578
if test "x$prefix" = "xNONE"; then
4579
prefix="$ac_default_prefix"
4581
if test "x$exec_prefix" = "xNONE"; then
4585
full_var="$FROM_VAR"
4587
new_full_var="`eval echo $full_var`"
4588
if test "x$new_full_var" = "x$full_var"; then break; fi
4589
full_var=$new_full_var
4592
full_var=$new_full_var
4597
exec_prefix=$exec_prefix_save
4601
# Check whether --with-config-path was given.
4602
if test "${with_config_path+set}" = set; then :
4603
withval=$with_config_path;
4605
with_config_path="${localstatedir}/lib/lxc"
4610
# Check whether --with-rootfs-path was given.
4611
if test "${with_rootfs_path+set}" = set; then :
4612
withval=$with_rootfs_path;
4614
with_rootfs_path="${libdir}/lxc/rootfs"
4619
EXP_VAR=LXC_GENERATE_DATE
4623
exec_prefix_save=$exec_prefix
4625
if test "x$prefix" = "xNONE"; then
4626
prefix="$ac_default_prefix"
4628
if test "x$exec_prefix" = "xNONE"; then
4632
full_var="$FROM_VAR"
4634
new_full_var="`eval echo $full_var`"
4635
if test "x$new_full_var" = "x$full_var"; then break; fi
4636
full_var=$new_full_var
4639
full_var=$new_full_var
4640
LXC_GENERATE_DATE="$full_var"
4644
exec_prefix=$exec_prefix_save
4649
FROM_VAR="${with_config_path}"
4652
exec_prefix_save=$exec_prefix
4654
if test "x$prefix" = "xNONE"; then
4655
prefix="$ac_default_prefix"
4657
if test "x$exec_prefix" = "xNONE"; then
4661
full_var="$FROM_VAR"
4663
new_full_var="`eval echo $full_var`"
4664
if test "x$new_full_var" = "x$full_var"; then break; fi
4665
full_var=$new_full_var
4668
full_var=$new_full_var
4673
exec_prefix=$exec_prefix_save
4676
EXP_VAR=LXCROOTFSMOUNT
4677
FROM_VAR="${with_rootfs_path}"
4680
exec_prefix_save=$exec_prefix
4682
if test "x$prefix" = "xNONE"; then
4683
prefix="$ac_default_prefix"
4685
if test "x$exec_prefix" = "xNONE"; then
4689
full_var="$FROM_VAR"
4691
new_full_var="`eval echo $full_var`"
4692
if test "x$new_full_var" = "x$full_var"; then break; fi
4693
full_var=$new_full_var
4696
full_var=$new_full_var
4697
LXCROOTFSMOUNT="$full_var"
4701
exec_prefix=$exec_prefix_save
4705
FROM_VAR=$libdir/lxc
4708
exec_prefix_save=$exec_prefix
4710
if test "x$prefix" = "xNONE"; then
4711
prefix="$ac_default_prefix"
4713
if test "x$exec_prefix" = "xNONE"; then
4717
full_var="$FROM_VAR"
4719
new_full_var="`eval echo $full_var`"
4720
if test "x$new_full_var" = "x$full_var"; then break; fi
4721
full_var=$new_full_var
4724
full_var=$new_full_var
4725
LXCINITDIR="$full_var"
4729
exec_prefix=$exec_prefix_save
4732
EXP_VAR=LXCTEMPLATEDIR
4733
FROM_VAR=$libdir/lxc/templates
4736
exec_prefix_save=$exec_prefix
4738
if test "x$prefix" = "xNONE"; then
4739
prefix="$ac_default_prefix"
4741
if test "x$exec_prefix" = "xNONE"; then
4745
full_var="$FROM_VAR"
4747
new_full_var="`eval echo $full_var`"
4748
if test "x$new_full_var" = "x$full_var"; then break; fi
4749
full_var=$new_full_var
4752
full_var=$new_full_var
4753
LXCTEMPLATEDIR="$full_var"
4757
exec_prefix=$exec_prefix_save
4762
cat >>confdefs.h <<_ACEOF
4763
#define LXCPATH "$LXCPATH"
4766
cat >>confdefs.h <<_ACEOF
4767
#define LXCINITDIR "$LXCINITDIR"
4770
cat >>confdefs.h <<_ACEOF
4771
#define LXCROOTFSMOUNT "$LXCROOTFSMOUNT"
4775
for ac_header in linux/netlink.h linux/genetlink.h
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 :
4783
cat >>confdefs.h <<_ACEOF
4784
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4788
as_fn_error "netlink headers not found. Please install the linux kernel headers." "$LINENO" 5
4794
for ac_header in sys/capability.h
4796
ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "#include <sys/types.h>
4797
#include <sys/capability.h>
4799
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
4800
cat >>confdefs.h <<_ACEOF
4801
#define HAVE_SYS_CAPABILITY_H 1
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
4863
# Some systems lack PR_CAPBSET_DROP definition => HAVE_DECL_PR_CAPBSET_DROP
4864
ac_fn_c_check_decl "$LINENO" "PR_CAPBSET_DROP" "ac_cv_have_decl_PR_CAPBSET_DROP" "#include <sys/prctl.h>
4866
if test "x$ac_cv_have_decl_PR_CAPBSET_DROP" = x""yes; then :
4872
cat >>confdefs.h <<_ACEOF
4873
#define HAVE_DECL_PR_CAPBSET_DROP $ac_have_decl
4877
for ac_header in sys/signalfd.h
4879
ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
4880
if test "x$ac_cv_header_sys_signalfd_h" = x""yes; then :
4881
cat >>confdefs.h <<_ACEOF
4882
#define HAVE_SYS_SIGNALFD_H 1
4890
if test $ac_cv_c_compiler_gnu = yes; then
4891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4892
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
4893
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
4894
$as_echo_n "(cached) " >&6
4896
ac_pattern="Autoconf.*'x'"
4897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898
/* end confdefs.h. */
4902
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4903
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
4904
ac_cv_prog_gcc_traditional=yes
4906
ac_cv_prog_gcc_traditional=no
4911
if test $ac_cv_prog_gcc_traditional = no; then
4912
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913
/* end confdefs.h. */
4917
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4918
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
4919
ac_cv_prog_gcc_traditional=yes
4925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4926
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4927
if test $ac_cv_prog_gcc_traditional = yes; then
4928
CC="$CC -traditional"
4933
if test "x$GCC" = "xyes"; then
4934
CFLAGS="$CFLAGS -Wall"
4937
ac_config_files="$ac_config_files Makefile lxc.pc lxc.spec config/Makefile doc/Makefile doc/lxc-create.sgml doc/lxc-destroy.sgml doc/lxc-execute.sgml doc/lxc-start.sgml doc/lxc-checkpoint.sgml doc/lxc-restart.sgml doc/lxc-stop.sgml doc/lxc-console.sgml doc/lxc-freeze.sgml doc/lxc-unfreeze.sgml doc/lxc-monitor.sgml doc/lxc-wait.sgml doc/lxc-ls.sgml doc/lxc-ps.sgml doc/lxc-cgroup.sgml doc/lxc-kill.sgml doc/lxc.conf.sgml doc/lxc.sgml doc/common_options.sgml doc/see_also.sgml doc/rootfs/Makefile doc/examples/Makefile doc/examples/lxc-macvlan.conf doc/examples/lxc-vlan.conf doc/examples/lxc-no-netns.conf doc/examples/lxc-empty-netns.conf doc/examples/lxc-phys.conf doc/examples/lxc-veth.conf doc/examples/lxc-complex.conf templates/Makefile templates/lxc-debian templates/lxc-ubuntu templates/lxc-busybox templates/lxc-fedora templates/lxc-sshd src/Makefile src/lxc/Makefile src/lxc/lxc-ps src/lxc/lxc-ls src/lxc/lxc-netstat src/lxc/lxc-checkconfig src/lxc/lxc-setcap src/lxc/lxc-setuid src/lxc/lxc-version src/lxc/lxc-create src/lxc/lxc-destroy"
4939
ac_config_commands="$ac_config_commands default"
4941
cat >confcache <<\_ACEOF
4942
# This file is a shell script that caches the results of configure
4943
# tests run on this system so they can be shared between configure
4944
# scripts and configure runs, see configure's option --config-cache.
4945
# It is not useful on other systems. If it contains results you don't
4946
# want to keep, you may remove or edit it.
4948
# config.status only pays attention to the cache file if you give it
4949
# the --recheck option to rerun configure.
4951
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4952
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4957
# The following way of writing the cache mishandles newlines in values,
4958
# but we know of no workaround that is simple, portable, and efficient.
4959
# So, we kill variables containing newlines.
4960
# Ultrix sh set writes to stderr and can't be redirected directly,
4961
# and sets the high bit in the cache file unless we assign to the vars.
4963
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4964
eval ac_val=\$$ac_var
4968
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4969
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4972
_ | IFS | as_nl) ;; #(
4973
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4974
*) { eval $ac_var=; unset $ac_var;} ;;
4980
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4981
*${as_nl}ac_space=\ *)
4982
# `set' does not quote correctly, so add quotes: double-quote
4983
# substitution turns \\\\ into \\, and sed turns \\ into \.
4986
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4989
# `set' quotes correctly as required by POSIX, so do not add quotes.
4990
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4999
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5001
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5003
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5004
if test -w "$cache_file"; then
5005
test "x$cache_file" != "x/dev/null" &&
5006
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5007
$as_echo "$as_me: updating cache $cache_file" >&6;}
5008
cat confcache >$cache_file
5010
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5011
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5016
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5017
# Let make expand exec_prefix.
5018
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5020
DEFS=-DHAVE_CONFIG_H
5024
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5025
# 1. Remove the extension, and $U if already installed.
5026
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5027
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5028
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5029
# will be set to the directory where LIBOBJS objects are built.
5030
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5031
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5035
LTLIBOBJS=$ac_ltlibobjs
5038
if test -n "$EXEEXT"; then
5040
am__EXEEXT_FALSE='#'
5046
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5047
as_fn_error "conditional \"AMDEP\" was never defined.
5048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5050
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5051
as_fn_error "conditional \"am__fastdepCC\" was never defined.
5052
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5054
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
5055
as_fn_error "conditional \"ENABLE_DOCBOOK\" was never defined.
5056
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5058
if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
5059
as_fn_error "conditional \"ENABLE_EXAMPLES\" was never defined.
5060
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5063
: ${CONFIG_STATUS=./config.status}
5065
ac_clean_files_save=$ac_clean_files
5066
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5067
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5068
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5070
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5072
# Generated by $as_me.
5073
# Run this file to recreate the current configuration.
5074
# Compiler output produced by configure, useful for debugging
5075
# configure, is in config.log if it exists.
5081
SHELL=\${CONFIG_SHELL-$SHELL}
5084
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5085
## -------------------- ##
5086
## M4sh Initialization. ##
5087
## -------------------- ##
5089
# Be more Bourne compatible
5090
DUALCASE=1; export DUALCASE # for MKS sh
5091
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5094
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5095
# is contrary to our usage. Disable this feature.
5096
alias -g '${1+"$@"}'='"$@"'
5097
setopt NO_GLOB_SUBST
5099
case `(set -o) 2>/dev/null` in #(
5111
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5112
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5113
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5114
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5115
# Prefer a ksh shell builtin over an external printf program on Solaris,
5116
# but without wasting forks for bash or zsh.
5117
if test -z "$BASH_VERSION$ZSH_VERSION" \
5118
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5119
as_echo='print -r --'
5120
as_echo_n='print -rn --'
5121
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5122
as_echo='printf %s\n'
5123
as_echo_n='printf %s'
5125
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5126
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5127
as_echo_n='/usr/ucb/echo -n'
5129
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5130
as_echo_n_body='eval
5134
expr "X$arg" : "X\\(.*\\)$as_nl";
5135
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5137
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5139
export as_echo_n_body
5140
as_echo_n='sh -c $as_echo_n_body as_echo'
5143
as_echo='sh -c $as_echo_body as_echo'
5146
# The user is always right.
5147
if test "${PATH_SEPARATOR+set}" != set; then
5149
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5150
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5157
# We need space, tab and new line, in precisely that order. Quoting is
5158
# there to prevent editors from complaining about space-tab.
5159
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5160
# splitting by setting IFS to empty value.)
5163
# Find who we are. Look in the path if we contain no directory separator.
5165
*[\\/]* ) as_myself=$0 ;;
5166
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170
test -z "$as_dir" && as_dir=.
5171
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5177
# We did not find ourselves, most probably we were run as `sh COMMAND'
5178
# in which case we are not to be found in the path.
5179
if test "x$as_myself" = x; then
5182
if test ! -f "$as_myself"; then
5183
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5187
# Unset variables that we do not need and which cause bugs (e.g. in
5188
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5189
# suppresses any "Segmentation fault" message there. '((' could
5190
# trigger a bug in pdksh 5.2.14.
5191
for as_var in BASH_ENV ENV MAIL MAILPATH
5192
do eval test x\${$as_var+set} = xset \
5193
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5206
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5209
# as_fn_error ERROR [LINENO LOG_FD]
5210
# ---------------------------------
5211
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5212
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5213
# script with status $?, using 1 if that was 0.
5216
as_status=$?; test $as_status -eq 0 && as_status=1
5218
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5219
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5221
$as_echo "$as_me: error: $1" >&2
5222
as_fn_exit $as_status
5226
# as_fn_set_status STATUS
5227
# -----------------------
5228
# Set $? to STATUS, without forking.
5232
} # as_fn_set_status
5236
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5246
# Portably unset VAR.
5249
{ eval $1=; unset $1;}
5251
as_unset=as_fn_unset
5252
# as_fn_append VAR VALUE
5253
# ----------------------
5254
# Append the text in VALUE to the end of the definition contained in VAR. Take
5255
# advantage of any shell optimizations that allow amortized linear growth over
5256
# repeated appends, instead of the typical quadratic growth present in naive
5258
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5259
eval 'as_fn_append ()
5270
# as_fn_arith ARG...
5271
# ------------------
5272
# Perform arithmetic evaluation on the ARGs, and store the result in the
5273
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5274
# must be portable across $(()) and expr.
5275
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5276
eval 'as_fn_arith ()
5283
as_val=`expr "$@" || test $? -eq 1`
5288
if expr a : '\(a\)' >/dev/null 2>&1 &&
5289
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5295
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5296
as_basename=basename
5301
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5307
as_me=`$as_basename -- "$0" ||
5308
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5309
X"$0" : 'X\(//\)$' \| \
5310
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5312
sed '/^.*\/\([^/][^/]*\)\/*$/{
5326
# Avoid depending upon Character Ranges.
5327
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5328
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5329
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5330
as_cr_digits='0123456789'
5331
as_cr_alnum=$as_cr_Letters$as_cr_digits
5333
ECHO_C= ECHO_N= ECHO_T=
5334
case `echo -n x` in #(((((
5336
case `echo 'xy\c'` in
5337
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5339
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5346
rm -f conf$$ conf$$.exe conf$$.file
5347
if test -d conf$$.dir; then
5348
rm -f conf$$.dir/conf$$.file
5351
mkdir conf$$.dir 2>/dev/null
5353
if (echo >conf$$.file) 2>/dev/null; then
5354
if ln -s conf$$.file conf$$ 2>/dev/null; then
5356
# ... but there are two gotchas:
5357
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5358
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5359
# In both cases, we have to default to `cp -p'.
5360
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5362
elif ln conf$$.file conf$$ 2>/dev/null; then
5370
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5371
rmdir conf$$.dir 2>/dev/null
5376
# Create "$as_dir" as a directory, including parents if necessary.
5381
-*) as_dir=./$as_dir;;
5383
test -d "$as_dir" || eval $as_mkdir_p || {
5387
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5388
*) as_qdir=$as_dir;;
5390
as_dirs="'$as_qdir' $as_dirs"
5391
as_dir=`$as_dirname -- "$as_dir" ||
5392
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5393
X"$as_dir" : 'X\(//\)[^/]' \| \
5394
X"$as_dir" : 'X\(//\)$' \| \
5395
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5396
$as_echo X"$as_dir" |
5397
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5414
test -d "$as_dir" && break
5416
test -z "$as_dirs" || eval "mkdir $as_dirs"
5417
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5421
if mkdir -p . 2>/dev/null; then
5422
as_mkdir_p='mkdir -p "$as_dir"'
5424
test -d ./-p && rmdir ./-p
5428
if test -x / >/dev/null 2>&1; then
5431
if ls -dL / >/dev/null 2>&1; then
5438
if test -d "$1"; then
5444
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5445
???[sx]*):;;*)false;;esac;fi
5449
as_executable_p=$as_test_x
5451
# Sed expression to map a string onto a valid CPP name.
5452
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5454
# Sed expression to map a string onto a valid variable name.
5455
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5459
## ----------------------------------- ##
5460
## Main body of $CONFIG_STATUS script. ##
5461
## ----------------------------------- ##
5463
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5465
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5466
# Save the log message, to keep $0 and so on meaningful, and to
5467
# report actual input values of CONFIG_FILES etc. instead of their
5468
# values after options handling.
5470
This file was extended by lxc $as_me 0.7.2, which was
5471
generated by GNU Autoconf 2.65. Invocation command line was
5473
CONFIG_FILES = $CONFIG_FILES
5474
CONFIG_HEADERS = $CONFIG_HEADERS
5475
CONFIG_LINKS = $CONFIG_LINKS
5476
CONFIG_COMMANDS = $CONFIG_COMMANDS
5479
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5484
case $ac_config_files in *"
5485
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5488
case $ac_config_headers in *"
5489
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5493
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5494
# Files that config.status was made for.
5495
config_files="$ac_config_files"
5496
config_headers="$ac_config_headers"
5497
config_commands="$ac_config_commands"
5501
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5503
\`$as_me' instantiates files and other configuration actions
5504
from templates according to the current configuration. Unless the files
5505
and actions are specified as TAGs, all are instantiated by default.
5507
Usage: $0 [OPTION]... [TAG]...
5509
-h, --help print this help, then exit
5510
-V, --version print version number and configuration settings, then exit
5511
--config print configuration, then exit
5512
-q, --quiet, --silent
5513
do not print progress messages
5514
-d, --debug don't remove temporary files
5515
--recheck update $as_me by reconfiguring in the same conditions
5516
--file=FILE[:TEMPLATE]
5517
instantiate the configuration file FILE
5518
--header=FILE[:TEMPLATE]
5519
instantiate the configuration header FILE
5521
Configuration files:
5524
Configuration headers:
5527
Configuration commands:
5530
Report bugs to the package provider."
5533
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5536
lxc config.status 0.7.2
5537
configured by $0, generated by GNU Autoconf 2.65,
5538
with options \\"\$ac_cs_config\\"
5540
Copyright (C) 2009 Free Software Foundation, Inc.
5541
This config.status script is free software; the Free Software Foundation
5542
gives unlimited permission to copy, distribute and modify it."
5549
test -n "\$AWK" || AWK=awk
5552
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5553
# The default lists apply if the user does not specify any file.
5559
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5560
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5571
# Handling of the options.
5572
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5574
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5575
$as_echo "$ac_cs_version"; exit ;;
5576
--config | --confi | --conf | --con | --co | --c )
5577
$as_echo "$ac_cs_config"; exit ;;
5578
--debug | --debu | --deb | --de | --d | -d )
5580
--file | --fil | --fi | --f )
5583
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5585
as_fn_append CONFIG_FILES " '$ac_optarg'"
5586
ac_need_defaults=false;;
5587
--header | --heade | --head | --hea )
5590
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5592
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5593
ac_need_defaults=false;;
5595
# Conflict between --help and --header
5596
as_fn_error "ambiguous option: \`$1'
5597
Try \`$0 --help' for more information.";;
5598
--help | --hel | -h )
5599
$as_echo "$ac_cs_usage"; exit ;;
5600
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5601
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5605
-*) as_fn_error "unrecognized option: \`$1'
5606
Try \`$0 --help' for more information." ;;
5608
*) as_fn_append ac_config_targets " $1"
5609
ac_need_defaults=false ;;
5615
ac_configure_extra_args=
5617
if $ac_cs_silent; then
5619
ac_configure_extra_args="$ac_configure_extra_args --silent"
5623
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5624
if \$ac_cs_recheck; then
5625
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5627
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5628
CONFIG_SHELL='$SHELL'
5634
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5638
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5639
## Running $as_me. ##
5645
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5649
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5654
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5656
# Handling of arguments.
5657
for ac_config_target in $ac_config_targets
5659
case $ac_config_target in
5660
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5661
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5662
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5663
"lxc.pc") CONFIG_FILES="$CONFIG_FILES lxc.pc" ;;
5664
"lxc.spec") CONFIG_FILES="$CONFIG_FILES lxc.spec" ;;
5665
"config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5666
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5667
"doc/lxc-create.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-create.sgml" ;;
5668
"doc/lxc-destroy.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-destroy.sgml" ;;
5669
"doc/lxc-execute.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-execute.sgml" ;;
5670
"doc/lxc-start.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-start.sgml" ;;
5671
"doc/lxc-checkpoint.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-checkpoint.sgml" ;;
5672
"doc/lxc-restart.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-restart.sgml" ;;
5673
"doc/lxc-stop.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-stop.sgml" ;;
5674
"doc/lxc-console.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-console.sgml" ;;
5675
"doc/lxc-freeze.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-freeze.sgml" ;;
5676
"doc/lxc-unfreeze.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-unfreeze.sgml" ;;
5677
"doc/lxc-monitor.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-monitor.sgml" ;;
5678
"doc/lxc-wait.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-wait.sgml" ;;
5679
"doc/lxc-ls.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ls.sgml" ;;
5680
"doc/lxc-ps.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-ps.sgml" ;;
5681
"doc/lxc-cgroup.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-cgroup.sgml" ;;
5682
"doc/lxc-kill.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc-kill.sgml" ;;
5683
"doc/lxc.conf.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.conf.sgml" ;;
5684
"doc/lxc.sgml") CONFIG_FILES="$CONFIG_FILES doc/lxc.sgml" ;;
5685
"doc/common_options.sgml") CONFIG_FILES="$CONFIG_FILES doc/common_options.sgml" ;;
5686
"doc/see_also.sgml") CONFIG_FILES="$CONFIG_FILES doc/see_also.sgml" ;;
5687
"doc/rootfs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/rootfs/Makefile" ;;
5688
"doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
5689
"doc/examples/lxc-macvlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-macvlan.conf" ;;
5690
"doc/examples/lxc-vlan.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-vlan.conf" ;;
5691
"doc/examples/lxc-no-netns.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-no-netns.conf" ;;
5692
"doc/examples/lxc-empty-netns.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-empty-netns.conf" ;;
5693
"doc/examples/lxc-phys.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-phys.conf" ;;
5694
"doc/examples/lxc-veth.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-veth.conf" ;;
5695
"doc/examples/lxc-complex.conf") CONFIG_FILES="$CONFIG_FILES doc/examples/lxc-complex.conf" ;;
5696
"templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
5697
"templates/lxc-debian") CONFIG_FILES="$CONFIG_FILES templates/lxc-debian" ;;
5698
"templates/lxc-ubuntu") CONFIG_FILES="$CONFIG_FILES templates/lxc-ubuntu" ;;
5699
"templates/lxc-busybox") CONFIG_FILES="$CONFIG_FILES templates/lxc-busybox" ;;
5700
"templates/lxc-fedora") CONFIG_FILES="$CONFIG_FILES templates/lxc-fedora" ;;
5701
"templates/lxc-sshd") CONFIG_FILES="$CONFIG_FILES templates/lxc-sshd" ;;
5702
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5703
"src/lxc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lxc/Makefile" ;;
5704
"src/lxc/lxc-ps") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ps" ;;
5705
"src/lxc/lxc-ls") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-ls" ;;
5706
"src/lxc/lxc-netstat") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-netstat" ;;
5707
"src/lxc/lxc-checkconfig") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-checkconfig" ;;
5708
"src/lxc/lxc-setcap") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-setcap" ;;
5709
"src/lxc/lxc-setuid") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-setuid" ;;
5710
"src/lxc/lxc-version") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-version" ;;
5711
"src/lxc/lxc-create") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-create" ;;
5712
"src/lxc/lxc-destroy") CONFIG_FILES="$CONFIG_FILES src/lxc/lxc-destroy" ;;
5713
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5715
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5720
# If the user did not use the arguments to specify the items to instantiate,
5721
# then the envvar interface is used. Set only those that are not.
5722
# We use the long form for the default assignment because of an extremely
5723
# bizarre bug on SunOS 4.1.3.
5724
if $ac_need_defaults; then
5725
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5726
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5727
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5730
# Have a temporary directory for convenience. Make it in the build tree
5731
# simply because there is no reason against having it here, and in addition,
5732
# creating and moving files from /tmp can sometimes cause problems.
5733
# Hook for its removal unless debugging.
5734
# Note that there is a small window in which the directory will not be cleaned:
5735
# after its creation but before its name has been assigned to `$tmp'.
5739
trap 'exit_status=$?
5740
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5742
trap 'as_fn_exit 1' 1 2 13 15
5744
# Create a (secure) tmp directory for tmp files.
5747
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5748
test -n "$tmp" && test -d "$tmp"
5751
tmp=./conf$$-$RANDOM
5752
(umask 077 && mkdir "$tmp")
5753
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5755
# Set up the scripts for CONFIG_FILES section.
5756
# No need to generate them if there are no CONFIG_FILES.
5757
# This happens for instance with `./config.status config.h'.
5758
if test -n "$CONFIG_FILES"; then
5761
ac_cr=`echo X | tr X '\015'`
5762
# On cygwin, bash can eat \r inside `` if the user requested igncr.
5763
# But we know of no other shell where ac_cr would be empty at this
5764
# point, so we can use a bashism as a fallback.
5765
if test "x$ac_cr" = x; then
5766
eval ac_cr=\$\'\\r\'
5768
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5769
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5775
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5780
echo "cat >conf$$subs.awk <<_ACEOF" &&
5781
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5784
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5785
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5787
for ac_last_try in false false false false false :; do
5788
. ./conf$$subs.sh ||
5789
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5791
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5792
if test $ac_delim_n = $ac_delim_num; then
5794
elif $ac_last_try; then
5795
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5797
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5802
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5803
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5807
s/^/S["/; s/!.*/"]=/
5817
s/\(.\{148\}\)..*/\1/
5819
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5824
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5831
s/\(.\{148\}\)..*/\1/
5833
s/["\\]/\\&/g; s/^/"/; s/$/"/
5837
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5842
' <conf$$subs.awk | sed '
5847
' >>$CONFIG_STATUS || ac_write_fail=1
5848
rm -f conf$$subs.awk
5849
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5851
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5852
for (key in S) S_is_set[key] = 1
5858
nfields = split(line, field, "@")
5860
len = length(field[1])
5861
for (i = 2; i < nfields; i++) {
5863
keylen = length(key)
5864
if (S_is_set[key]) {
5866
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5867
len += length(value) + length(field[++i])
5878
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5879
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5880
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5883
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5884
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
5887
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5888
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5889
# trailing colons and then remove the whole line if VPATH becomes empty
5890
# (actually we leave an empty line to preserve line numbers).
5891
if test "x$srcdir" = x.; then
5892
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5896
s/^\([^=]*=[ ]*\):*/\1/
5902
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5903
fi # test -n "$CONFIG_FILES"
5905
# Set up the scripts for CONFIG_HEADERS section.
5906
# No need to generate them if there are no CONFIG_HEADERS.
5907
# This happens for instance with `./config.status Makefile'.
5908
if test -n "$CONFIG_HEADERS"; then
5909
cat >"$tmp/defines.awk" <<\_ACAWK ||
5913
# Transform confdefs.h into an awk script `defines.awk', embedded as
5914
# here-document in config.status, that substitutes the proper values into
5915
# config.h.in to produce config.h.
5917
# Create a delimiter string that does not exist in confdefs.h, to ease
5918
# handling of long lines.
5920
for ac_last_try in false false :; do
5921
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5922
if test -z "$ac_t"; then
5924
elif $ac_last_try; then
5925
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5927
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5931
# For the awk script, D is an array of macro values keyed by name,
5932
# likewise P contains macro parameters if any. Preserve backslash
5933
# newline sequences.
5935
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5937
s/.\{148\}/&'"$ac_delim"'/g
5940
s/^[ ]*#[ ]*define[ ][ ]*/ /
5947
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5949
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5953
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5954
D["\1"]=" \3\\\\\\n"\\/p
5956
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5961
s/.\{148\}/&'"$ac_delim"'/g
5966
s/["\\]/\\&/g; s/^/"/; s/$/"/p
5969
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5971
' <confdefs.h | sed '
5972
s/'"$ac_delim"'/"\\\
5973
"/g' >>$CONFIG_STATUS || ac_write_fail=1
5975
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5976
for (key in D) D_is_set[key] = 1
5979
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5981
split(line, arg, " ")
5982
if (arg[1] == "#") {
5986
defundef = substr(arg[1], 2)
5989
split(mac1, mac2, "(") #)
5991
prefix = substr(line, 1, index(line, defundef) - 1)
5992
if (D_is_set[macro]) {
5993
# Preserve the white space surrounding the "#".
5994
print prefix "define", macro P[macro] D[macro]
5997
# Replace #undef with comments. This is necessary, for example,
5998
# in the case of _POSIX_SOURCE, which is predefined and required
5999
# on some systems where configure will not decide to define it.
6000
if (defundef == "undef") {
6001
print "/*", prefix defundef, macro, "*/"
6009
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6010
as_fn_error "could not setup config headers machinery" "$LINENO" 5
6011
fi # test -n "$CONFIG_HEADERS"
6014
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6019
:[FHLC]) ac_mode=$ac_tag; continue;;
6021
case $ac_mode$ac_tag in
6023
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6024
:[FH]-) ac_tag=-:-;;
6025
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6042
-) ac_f="$tmp/stdin";;
6043
*) # Look for the file first in the build tree, then in the source tree
6044
# (if the path is not absolute). The absolute path cannot be DOS-style,
6045
# because $ac_f cannot contain `:'.
6049
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6051
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6053
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6054
as_fn_append ac_file_inputs " '$ac_f'"
6057
# Let's still pretend it is `configure' which instantiates (i.e., don't
6058
# use $as_me), people would be surprised to read:
6059
# /* config.h. Generated by config.status. */
6060
configure_input='Generated from '`
6061
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6063
if test x"$ac_file" != x-; then
6064
configure_input="$ac_file. $configure_input"
6065
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6066
$as_echo "$as_me: creating $ac_file" >&6;}
6068
# Neutralize special characters interpreted by sed in replacement strings.
6069
case $configure_input in #(
6070
*\&* | *\|* | *\\* )
6071
ac_sed_conf_input=`$as_echo "$configure_input" |
6072
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6073
*) ac_sed_conf_input=$configure_input;;
6077
*:-:* | *:-) cat >"$tmp/stdin" \
6078
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6083
ac_dir=`$as_dirname -- "$ac_file" ||
6084
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085
X"$ac_file" : 'X\(//\)[^/]' \| \
6086
X"$ac_file" : 'X\(//\)$' \| \
6087
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6088
$as_echo X"$ac_file" |
6089
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6106
as_dir="$ac_dir"; as_fn_mkdir_p
6110
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6112
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6113
# A ".." for each directory in $ac_dir_suffix.
6114
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6115
case $ac_top_builddir_sub in
6116
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6117
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6120
ac_abs_top_builddir=$ac_pwd
6121
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6122
# for backward compatibility:
6123
ac_top_builddir=$ac_top_build_prefix
6126
.) # We are building in place.
6128
ac_top_srcdir=$ac_top_builddir_sub
6129
ac_abs_top_srcdir=$ac_pwd ;;
6130
[\\/]* | ?:[\\/]* ) # Absolute name.
6131
ac_srcdir=$srcdir$ac_dir_suffix;
6132
ac_top_srcdir=$srcdir
6133
ac_abs_top_srcdir=$srcdir ;;
6135
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6136
ac_top_srcdir=$ac_top_build_prefix$srcdir
6137
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6139
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6149
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6150
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6154
[\\/$]* | ?:[\\/]* ) ;;
6155
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6159
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6160
# If the template does not know about datarootdir, expand it.
6161
# FIXME: This hack should be removed a few years after 2.60.
6162
ac_datarootdir_hack=; ac_datarootdir_seen=
6173
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6174
*datarootdir*) ac_datarootdir_seen=yes;;
6175
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6176
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6177
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6179
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6180
ac_datarootdir_hack='
6181
s&@datadir@&$datadir&g
6182
s&@docdir@&$docdir&g
6183
s&@infodir@&$infodir&g
6184
s&@localedir@&$localedir&g
6185
s&@mandir@&$mandir&g
6186
s&\\\${datarootdir}&$datarootdir&g' ;;
6190
# Neutralize VPATH when `$srcdir' = `.'.
6191
# Shell code in configure.ac might set extrasub.
6192
# FIXME: do we really want to maintain this feature?
6193
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6194
ac_sed_extra="$ac_vpsub
6197
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6199
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6200
s|@configure_input@|$ac_sed_conf_input|;t t
6201
s&@top_builddir@&$ac_top_builddir_sub&;t t
6202
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6203
s&@srcdir@&$ac_srcdir&;t t
6204
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6205
s&@top_srcdir@&$ac_top_srcdir&;t t
6206
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6207
s&@builddir@&$ac_builddir&;t t
6208
s&@abs_builddir@&$ac_abs_builddir&;t t
6209
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6210
s&@INSTALL@&$ac_INSTALL&;t t
6211
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6212
$ac_datarootdir_hack
6214
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6215
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6217
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6218
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6219
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6220
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6221
which seems to be undefined. Please make sure it is defined." >&5
6222
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6223
which seems to be undefined. Please make sure it is defined." >&2;}
6227
-) cat "$tmp/out" && rm -f "$tmp/out";;
6228
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6230
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6236
if test x"$ac_file" != x-; then
6238
$as_echo "/* $configure_input */" \
6239
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6240
} >"$tmp/config.h" \
6241
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6242
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6243
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6244
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6247
mv "$tmp/config.h" "$ac_file" \
6248
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6251
$as_echo "/* $configure_input */" \
6252
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6253
|| as_fn_error "could not create -" "$LINENO" 5
6255
# Compute "$ac_file"'s index in $config_headers.
6258
for _am_header in $config_headers :; do
6260
$_am_arg | $_am_arg:* )
6263
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6266
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6267
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268
X"$_am_arg" : 'X\(//\)[^/]' \| \
6269
X"$_am_arg" : 'X\(//\)$' \| \
6270
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6271
$as_echo X"$_am_arg" |
6272
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6288
s/.*/./; q'`/stamp-h$_am_stamp_count
6291
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6292
$as_echo "$as_me: executing $ac_file commands" >&6;}
6297
case $ac_file$ac_mode in
6298
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6299
# Autoconf 2.62 quotes --file arguments for eval, but not when files
6300
# are listed without --file. Let's play safe and only enable the eval
6301
# if we detect the quoting.
6302
case $CONFIG_FILES in
6303
*\'*) eval set x "$CONFIG_FILES" ;;
6304
*) set x $CONFIG_FILES ;;
6309
# Strip MF so we end up with the name of the file.
6310
mf=`echo "$mf" | sed -e 's/:.*$//'`
6311
# Check whether this is an Automake generated Makefile or not.
6312
# We used to match only the files named `Makefile.in', but
6313
# some people rename them; so instead we look at the file content.
6314
# Grep'ing the first line is not enough: some people post-process
6315
# each Makefile.in and add a new line on top of each file to say so.
6316
# Grep'ing the whole file is not good either: AIX grep has a line
6317
# limit of 2048, but all sed's we know have understand at least 4000.
6318
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6319
dirpart=`$as_dirname -- "$mf" ||
6320
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6321
X"$mf" : 'X\(//\)[^/]' \| \
6322
X"$mf" : 'X\(//\)$' \| \
6323
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6325
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6345
# Extract the definition of DEPDIR, am__include, and am__quote
6346
# from the Makefile without running `make'.
6347
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6348
test -z "$DEPDIR" && continue
6349
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6350
test -z "am__include" && continue
6351
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6352
# When using ansi2knr, U may be empty or an underscore; expand it
6353
U=`sed -n 's/^U = //p' < "$mf"`
6354
# Find all dependency output files, they are included files with
6355
# $(DEPDIR) in their names. We invoke sed twice because it is the
6356
# simplest approach to changing $(DEPDIR) to its actual value in the
6358
for file in `sed -n "
6359
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6360
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6361
# Make sure the directory exists.
6362
test -f "$dirpart/$file" && continue
6363
fdir=`$as_dirname -- "$file" ||
6364
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6365
X"$file" : 'X\(//\)[^/]' \| \
6366
X"$file" : 'X\(//\)$' \| \
6367
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6369
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6386
as_dir=$dirpart/$fdir; as_fn_mkdir_p
6387
# echo "creating $dirpart/$file"
6388
echo '# dummy' > "$dirpart/$file"
6401
ac_clean_files=$ac_clean_files_save
6403
test $ac_write_fail = 0 ||
6404
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6407
# configure is writing to config.log, and then calls config.status.
6408
# config.status does its own redirection, appending to config.log.
6409
# Unfortunately, on DOS this fails, as config.log is still kept open
6410
# by configure, so config.status won't be able to write to it; its
6411
# output is simply discarded. So we exec the FD to /dev/null,
6412
# effectively closing config.log, so it can be properly (re)opened and
6413
# appended to by config.status. When coming back to configure, we
6414
# need to make the FD available again.
6415
if test "$no_create" != yes; then
6417
ac_config_status_args=
6418
test "$silent" = yes &&
6419
ac_config_status_args="$ac_config_status_args --quiet"
6421
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6423
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6424
# would make configure fail if this is the last instruction.
6425
$ac_cs_success || as_fn_exit $?
6427
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6429
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6433
if test "x$SETCAP" = "xno"; then
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}:
6439
The setcap binary was not found. This means the tools to set the
6440
privilege for the lxc commands are not available, that's ok, but you
6441
will need to run these commands as root or install libcap-2.
6449
The setcap binary was not found. This means the tools to set the
6450
privilege for the lxc commands are not available, that's ok, but you
6451
will need to run these commands as root or install libcap-2.
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}:
6462
If you wish to have a non root user to use the lxc tools,
6463
you can add the needed capabilities to the tools by invoking
6464
the 'lxc-setcap' script. To remove the capabilities, use
6472
If you wish to have a non root user to use the lxc tools,
6473
you can add the needed capabilities to the tools by invoking
6474
the 'lxc-setcap' script. To remove the capabilities, use