Ubuntu

Merge lp:~ubuntu-branches/ubuntu/oneiric/lxc/oneiric-201108112013 into lp:ubuntu/oneiric/lxc

Proposed by Ubuntu Package Importer on 2011-09-02
Status: Rejected
Rejected by: Martin Pitt on 2011-09-08
Proposed branch: lp:~ubuntu-branches/ubuntu/oneiric/lxc/oneiric-201108112013
Merge into: lp:ubuntu/oneiric/lxc
Diff against target: 11197 lines (+11072/-0) 18 files modified (has conflicts)
Conflict adding file .pc/0015-monitor-support-quit.patch.  Moved existing file to .pc/0015-monitor-support-quit.patch.moved.
Conflict adding file .pc/01-libdir.patch.  Moved existing file to .pc/01-libdir.patch.moved.
Conflict adding file .pc/02-distclean.patch.  Moved existing file to .pc/02-distclean.patch.moved.
Conflict adding file .pc/03-module-init-tools.patch.  Moved existing file to .pc/03-module-init-tools.patch.moved.
Conflict adding file .pc/04-configuration-path.patch.  Moved existing file to .pc/04-configuration-path.patch.moved.
Conflict adding file .pc/06-debian.patch.  Moved existing file to .pc/06-debian.patch.moved.
Conflict adding file .pc/07-debian2.patch.  Moved existing file to .pc/07-debian2.patch.moved.
Conflict adding file .pc/applied-patches.  Moved existing file to .pc/applied-patches.moved.
Conflict adding file src/lxc/lxc-clone.in.  Moved existing file to src/lxc/lxc-clone.in.moved.
Conflict adding file templates/lxc-opensuse.in.  Moved existing file to templates/lxc-opensuse.in.moved.
Conflict adding file templates/lxc-ubuntu.in.  Moved existing file to templates/lxc-ubuntu.in.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/oneiric/lxc/oneiric-201108112013
Reviewer Review Type Date Requested Status
Didier Roche Disapprove on 2011-09-08
Ubuntu branches 2011-09-02 Pending
Review via email: mp+73921@code.launchpad.net

Description of the Change

The package importer has detected a possible inconsistency between the package history in the archve and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/oneiric/lxc reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/oneiric/lxc/oneiric-201108112013. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.
Didier Roche (didrocks) wrote :

tradition format 3 (quilt) conflict

review: Disapprove

Unmerged revisions

36. By Stéphane Graber on 2011-08-11

Remove files that shouldn't exist anymore

35. By Stéphane Graber on 2011-08-11

Remove all patches that aren't applied anymore

34. By Stéphane Graber on 2011-08-11

Merge branch from Serge Hallyn

33. By Stéphane Graber on 2011-08-11

Update changelog

32. By Stéphane Graber on 2011-08-11

Re-apply all patches

31. By Stéphane Graber on 2011-08-11

Merge 0.7.5

30. By Stéphane Graber on 2011-08-11

Unapply all patches

Preview Diff

1=== added file '.pc/.quilt_patches'
2--- .pc/.quilt_patches 1970-01-01 00:00:00 +0000
3+++ .pc/.quilt_patches 2011-09-02 23:10:35 +0000
4@@ -0,0 +1,1 @@
5+debian/patches
6
7=== added file '.pc/.quilt_series'
8--- .pc/.quilt_series 1970-01-01 00:00:00 +0000
9+++ .pc/.quilt_series 2011-09-02 23:10:35 +0000
10@@ -0,0 +1,1 @@
11+series
12
13=== added directory '.pc/0015-monitor-support-quit.patch'
14=== renamed directory '.pc/0015-monitor-support-quit.patch' => '.pc/0015-monitor-support-quit.patch.moved'
15=== added file '.pc/0015-monitor-support-quit.patch/.timestamp'
16=== added directory '.pc/0015-monitor-support-quit.patch/src'
17=== added directory '.pc/0015-monitor-support-quit.patch/src/lxc'
18=== added file '.pc/0015-monitor-support-quit.patch/src/lxc/arguments.h'
19--- .pc/0015-monitor-support-quit.patch/src/lxc/arguments.h 1970-01-01 00:00:00 +0000
20+++ .pc/0015-monitor-support-quit.patch/src/lxc/arguments.h 2011-09-02 23:10:35 +0000
21@@ -0,0 +1,89 @@
22+/*
23+ * lxc: linux Container library
24+ *
25+ * (C) Copyright IBM Corp. 2007, 2008
26+ *
27+ * Authors:
28+ * Daniel Lezcano <dlezcano at fr.ibm.com>
29+ * Michel Normand <normand at fr.ibm.com>
30+ *
31+ * This library is free software; you can redistribute it and/or
32+ * modify it under the terms of the GNU Lesser General Public
33+ * License as published by the Free Software Foundation; either
34+ * version 2.1 of the License, or (at your option) any later version.
35+ *
36+ * This library is distributed in the hope that it will be useful,
37+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
38+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
39+ * Lesser General Public License for more details.
40+ *
41+ * You should have received a copy of the GNU Lesser General Public
42+ * License along with this library; if not, write to the Free Software
43+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44+ */
45+#ifndef __arguments_h
46+#define __arguments_h
47+
48+#include <getopt.h>
49+
50+struct lxc_arguments;
51+
52+typedef int (*lxc_arguments_parser_t) (struct lxc_arguments *, int, char*);
53+typedef int (*lxc_arguments_checker_t) (const struct lxc_arguments *);
54+
55+struct lxc_arguments {
56+ const char *help;
57+ const char *progname;
58+ const struct option* options;
59+ lxc_arguments_parser_t parser;
60+ lxc_arguments_checker_t checker;
61+
62+ const char *name;
63+ char *log_file;
64+ char *log_priority;
65+ int quiet;
66+ int daemonize;
67+ const char *rcfile;
68+ const char *console;
69+
70+ /* for lxc-checkpoint/restart */
71+ const char *statefile;
72+ int statefd;
73+ int flags;
74+
75+ /* for lxc-console */
76+ int ttynum;
77+ char escape;
78+
79+ /* for lxc-wait */
80+ char *states;
81+
82+ /* remaining arguments */
83+ char *const *argv;
84+ int argc;
85+};
86+
87+#define LXC_COMMON_OPTIONS \
88+ {"name", required_argument, 0, 'n'}, \
89+ {"help", no_argument, 0, 'h'}, \
90+ {"usage", no_argument, 0, OPT_USAGE}, \
91+ {"quiet", no_argument, 0, 'q'}, \
92+ {"logfile", required_argument, 0, 'o'}, \
93+ {"logpriority", required_argument, 0, 'l'}, \
94+ {0, 0, 0, 0}
95+
96+/* option keys for long only options */
97+#define OPT_USAGE 0x1000
98+
99+extern int lxc_arguments_parse(struct lxc_arguments *args,
100+ int argc, char *const argv[]);
101+
102+extern char **lxc_arguments_dup(const char *file, struct lxc_arguments *args);
103+extern int lxc_arguments_str_to_int(struct lxc_arguments *args, const char *str);
104+
105+extern const char *lxc_strerror(int errnum);
106+
107+#define lxc_error(arg, fmt, args...) if (!(arg)->quiet) \
108+ fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args)
109+
110+#endif
111
112=== added file '.pc/0015-monitor-support-quit.patch/src/lxc/lxc_monitor.c'
113--- .pc/0015-monitor-support-quit.patch/src/lxc/lxc_monitor.c 1970-01-01 00:00:00 +0000
114+++ .pc/0015-monitor-support-quit.patch/src/lxc/lxc_monitor.c 2011-09-02 23:10:35 +0000
115@@ -0,0 +1,109 @@
116+/*
117+ * lxc: linux Container library
118+ *
119+ * (C) Copyright IBM Corp. 2007, 2008
120+ *
121+ * Authors:
122+ * Daniel Lezcano <dlezcano at fr.ibm.com>
123+ *
124+ * This library is free software; you can redistribute it and/or
125+ * modify it under the terms of the GNU Lesser General Public
126+ * License as published by the Free Software Foundation; either
127+ * version 2.1 of the License, or (at your option) any later version.
128+ *
129+ * This library is distributed in the hope that it will be useful,
130+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
131+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
132+ * Lesser General Public License for more details.
133+ *
134+ * You should have received a copy of the GNU Lesser General Public
135+ * License along with this library; if not, write to the Free Software
136+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
137+ */
138+#include <stdio.h>
139+#include <stdlib.h>
140+#include <string.h>
141+#include <libgen.h>
142+#include <unistd.h>
143+#include <regex.h>
144+#include <sys/types.h>
145+
146+#include <lxc/lxc.h>
147+#include <lxc/log.h>
148+#include <lxc/monitor.h>
149+#include "arguments.h"
150+
151+lxc_log_define(lxc_monitor_ui, lxc_monitor);
152+
153+static const struct option my_longopts[] = {
154+ LXC_COMMON_OPTIONS
155+};
156+
157+static struct lxc_arguments my_args = {
158+ .progname = "lxc-monitor",
159+ .help = "\
160+--name=NAME\n\
161+\n\
162+lxc-monitor monitors the state of the NAME container\n\
163+\n\
164+Options :\n\
165+ -n, --name=NAME NAME for name of the container\n\
166+ NAME may be a regular expression",
167+ .options = my_longopts,
168+ .parser = NULL,
169+ .checker = NULL,
170+};
171+
172+int main(int argc, char *argv[])
173+{
174+ char *regexp;
175+ struct lxc_msg msg;
176+ regex_t preg;
177+ int fd;
178+
179+ if (lxc_arguments_parse(&my_args, argc, argv))
180+ return -1;
181+
182+ if (lxc_log_init(my_args.log_file, my_args.log_priority,
183+ my_args.progname, my_args.quiet))
184+ return -1;
185+
186+ regexp = malloc(strlen(my_args.name) + 3);
187+ if (!regexp) {
188+ ERROR("failed to allocate memory");
189+ return -1;
190+ }
191+ sprintf(regexp, "^%s$", my_args.name);
192+
193+ if (regcomp(&preg, regexp, REG_NOSUB|REG_EXTENDED)) {
194+ ERROR("failed to compile the regex '%s'", my_args.name);
195+ return -1;
196+ }
197+
198+ fd = lxc_monitor_open();
199+ if (fd < 0)
200+ return -1;
201+
202+ for (;;) {
203+ if (lxc_monitor_read(fd, &msg) < 0)
204+ return -1;
205+
206+ if (regexec(&preg, msg.name, 0, NULL, 0))
207+ continue;
208+
209+ switch (msg.type) {
210+ case lxc_msg_state:
211+ printf("'%s' changed state to [%s]\n",
212+ msg.name, lxc_state2str(msg.value));
213+ break;
214+ default:
215+ /* ignore garbage */
216+ break;
217+ }
218+ }
219+
220+ regfree(&preg);
221+
222+ return 0;
223+}
224+
225
226=== added directory '.pc/01-libdir.patch'
227=== renamed directory '.pc/01-libdir.patch' => '.pc/01-libdir.patch.moved'
228=== added file '.pc/01-libdir.patch/.timestamp'
229=== added file '.pc/01-libdir.patch/configure'
230--- .pc/01-libdir.patch/configure 1970-01-01 00:00:00 +0000
231+++ .pc/01-libdir.patch/configure 2011-09-02 23:10:35 +0000
232@@ -0,0 +1,6620 @@
233+#! /bin/sh
234+# Guess values for system-dependent variables and create Makefiles.
235+# Generated by GNU Autoconf 2.67 for lxc 0.7.5.
236+#
237+#
238+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
239+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
240+# Foundation, Inc.
241+#
242+#
243+# This configure script is free software; the Free Software Foundation
244+# gives unlimited permission to copy, distribute and modify it.
245+## -------------------- ##
246+## M4sh Initialization. ##
247+## -------------------- ##
248+
249+# Be more Bourne compatible
250+DUALCASE=1; export DUALCASE # for MKS sh
251+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
252+ emulate sh
253+ NULLCMD=:
254+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
255+ # is contrary to our usage. Disable this feature.
256+ alias -g '${1+"$@"}'='"$@"'
257+ setopt NO_GLOB_SUBST
258+else
259+ case `(set -o) 2>/dev/null` in #(
260+ *posix*) :
261+ set -o posix ;; #(
262+ *) :
263+ ;;
264+esac
265+fi
266+
267+
268+as_nl='
269+'
270+export as_nl
271+# Printing a long string crashes Solaris 7 /usr/bin/printf.
272+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
273+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
274+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
275+# Prefer a ksh shell builtin over an external printf program on Solaris,
276+# but without wasting forks for bash or zsh.
277+if test -z "$BASH_VERSION$ZSH_VERSION" \
278+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
279+ as_echo='print -r --'
280+ as_echo_n='print -rn --'
281+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
282+ as_echo='printf %s\n'
283+ as_echo_n='printf %s'
284+else
285+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
286+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
287+ as_echo_n='/usr/ucb/echo -n'
288+ else
289+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
290+ as_echo_n_body='eval
291+ arg=$1;
292+ case $arg in #(
293+ *"$as_nl"*)
294+ expr "X$arg" : "X\\(.*\\)$as_nl";
295+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
296+ esac;
297+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
298+ '
299+ export as_echo_n_body
300+ as_echo_n='sh -c $as_echo_n_body as_echo'
301+ fi
302+ export as_echo_body
303+ as_echo='sh -c $as_echo_body as_echo'
304+fi
305+
306+# The user is always right.
307+if test "${PATH_SEPARATOR+set}" != set; then
308+ PATH_SEPARATOR=:
309+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
310+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
311+ PATH_SEPARATOR=';'
312+ }
313+fi
314+
315+
316+# IFS
317+# We need space, tab and new line, in precisely that order. Quoting is
318+# there to prevent editors from complaining about space-tab.
319+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
320+# splitting by setting IFS to empty value.)
321+IFS=" "" $as_nl"
322+
323+# Find who we are. Look in the path if we contain no directory separator.
324+case $0 in #((
325+ *[\\/]* ) as_myself=$0 ;;
326+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
327+for as_dir in $PATH
328+do
329+ IFS=$as_save_IFS
330+ test -z "$as_dir" && as_dir=.
331+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
332+ done
333+IFS=$as_save_IFS
334+
335+ ;;
336+esac
337+# We did not find ourselves, most probably we were run as `sh COMMAND'
338+# in which case we are not to be found in the path.
339+if test "x$as_myself" = x; then
340+ as_myself=$0
341+fi
342+if test ! -f "$as_myself"; then
343+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
344+ exit 1
345+fi
346+
347+# Unset variables that we do not need and which cause bugs (e.g. in
348+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
349+# suppresses any "Segmentation fault" message there. '((' could
350+# trigger a bug in pdksh 5.2.14.
351+for as_var in BASH_ENV ENV MAIL MAILPATH
352+do eval test x\${$as_var+set} = xset \
353+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
354+done
355+PS1='$ '
356+PS2='> '
357+PS4='+ '
358+
359+# NLS nuisances.
360+LC_ALL=C
361+export LC_ALL
362+LANGUAGE=C
363+export LANGUAGE
364+
365+# CDPATH.
366+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
367+
368+if test "x$CONFIG_SHELL" = x; then
369+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
370+ emulate sh
371+ NULLCMD=:
372+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
373+ # is contrary to our usage. Disable this feature.
374+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
375+ setopt NO_GLOB_SUBST
376+else
377+ case \`(set -o) 2>/dev/null\` in #(
378+ *posix*) :
379+ set -o posix ;; #(
380+ *) :
381+ ;;
382+esac
383+fi
384+"
385+ as_required="as_fn_return () { (exit \$1); }
386+as_fn_success () { as_fn_return 0; }
387+as_fn_failure () { as_fn_return 1; }
388+as_fn_ret_success () { return 0; }
389+as_fn_ret_failure () { return 1; }
390+
391+exitcode=0
392+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
393+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
394+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
395+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
396+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
397+
398+else
399+ exitcode=1; echo positional parameters were not saved.
400+fi
401+test x\$exitcode = x0 || exit 1"
402+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
403+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
404+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
405+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
406+test \$(( 1 + 1 )) = 2 || exit 1"
407+ if (eval "$as_required") 2>/dev/null; then :
408+ as_have_required=yes
409+else
410+ as_have_required=no
411+fi
412+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
413+
414+else
415+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
416+as_found=false
417+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
418+do
419+ IFS=$as_save_IFS
420+ test -z "$as_dir" && as_dir=.
421+ as_found=:
422+ case $as_dir in #(
423+ /*)
424+ for as_base in sh bash ksh sh5; do
425+ # Try only shells that exist, to save several forks.
426+ as_shell=$as_dir/$as_base
427+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
428+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
429+ CONFIG_SHELL=$as_shell as_have_required=yes
430+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
431+ break 2
432+fi
433+fi
434+ done;;
435+ esac
436+ as_found=false
437+done
438+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
439+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
440+ CONFIG_SHELL=$SHELL as_have_required=yes
441+fi; }
442+IFS=$as_save_IFS
443+
444+
445+ if test "x$CONFIG_SHELL" != x; then :
446+ # We cannot yet assume a decent shell, so we have to provide a
447+ # neutralization value for shells without unset; and this also
448+ # works around shells that cannot unset nonexistent variables.
449+ BASH_ENV=/dev/null
450+ ENV=/dev/null
451+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
452+ export CONFIG_SHELL
453+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
454+fi
455+
456+ if test x$as_have_required = xno; then :
457+ $as_echo "$0: This script requires a shell more modern than all"
458+ $as_echo "$0: the shells that I found on your system."
459+ if test x${ZSH_VERSION+set} = xset ; then
460+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
461+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
462+ else
463+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
464+$0: including any error possibly output before this
465+$0: message. Then install a modern shell, or manually run
466+$0: the script under such a shell if you do have one."
467+ fi
468+ exit 1
469+fi
470+fi
471+fi
472+SHELL=${CONFIG_SHELL-/bin/sh}
473+export SHELL
474+# Unset more variables known to interfere with behavior of common tools.
475+CLICOLOR_FORCE= GREP_OPTIONS=
476+unset CLICOLOR_FORCE GREP_OPTIONS
477+
478+## --------------------- ##
479+## M4sh Shell Functions. ##
480+## --------------------- ##
481+# as_fn_unset VAR
482+# ---------------
483+# Portably unset VAR.
484+as_fn_unset ()
485+{
486+ { eval $1=; unset $1;}
487+}
488+as_unset=as_fn_unset
489+
490+# as_fn_set_status STATUS
491+# -----------------------
492+# Set $? to STATUS, without forking.
493+as_fn_set_status ()
494+{
495+ return $1
496+} # as_fn_set_status
497+
498+# as_fn_exit STATUS
499+# -----------------
500+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
501+as_fn_exit ()
502+{
503+ set +e
504+ as_fn_set_status $1
505+ exit $1
506+} # as_fn_exit
507+
508+# as_fn_mkdir_p
509+# -------------
510+# Create "$as_dir" as a directory, including parents if necessary.
511+as_fn_mkdir_p ()
512+{
513+
514+ case $as_dir in #(
515+ -*) as_dir=./$as_dir;;
516+ esac
517+ test -d "$as_dir" || eval $as_mkdir_p || {
518+ as_dirs=
519+ while :; do
520+ case $as_dir in #(
521+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
522+ *) as_qdir=$as_dir;;
523+ esac
524+ as_dirs="'$as_qdir' $as_dirs"
525+ as_dir=`$as_dirname -- "$as_dir" ||
526+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
527+ X"$as_dir" : 'X\(//\)[^/]' \| \
528+ X"$as_dir" : 'X\(//\)$' \| \
529+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
530+$as_echo X"$as_dir" |
531+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
532+ s//\1/
533+ q
534+ }
535+ /^X\(\/\/\)[^/].*/{
536+ s//\1/
537+ q
538+ }
539+ /^X\(\/\/\)$/{
540+ s//\1/
541+ q
542+ }
543+ /^X\(\/\).*/{
544+ s//\1/
545+ q
546+ }
547+ s/.*/./; q'`
548+ test -d "$as_dir" && break
549+ done
550+ test -z "$as_dirs" || eval "mkdir $as_dirs"
551+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
552+
553+
554+} # as_fn_mkdir_p
555+# as_fn_append VAR VALUE
556+# ----------------------
557+# Append the text in VALUE to the end of the definition contained in VAR. Take
558+# advantage of any shell optimizations that allow amortized linear growth over
559+# repeated appends, instead of the typical quadratic growth present in naive
560+# implementations.
561+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
562+ eval 'as_fn_append ()
563+ {
564+ eval $1+=\$2
565+ }'
566+else
567+ as_fn_append ()
568+ {
569+ eval $1=\$$1\$2
570+ }
571+fi # as_fn_append
572+
573+# as_fn_arith ARG...
574+# ------------------
575+# Perform arithmetic evaluation on the ARGs, and store the result in the
576+# global $as_val. Take advantage of shells that can avoid forks. The arguments
577+# must be portable across $(()) and expr.
578+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
579+ eval 'as_fn_arith ()
580+ {
581+ as_val=$(( $* ))
582+ }'
583+else
584+ as_fn_arith ()
585+ {
586+ as_val=`expr "$@" || test $? -eq 1`
587+ }
588+fi # as_fn_arith
589+
590+
591+# as_fn_error STATUS ERROR [LINENO LOG_FD]
592+# ----------------------------------------
593+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
594+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
595+# script with STATUS, using 1 if that was 0.
596+as_fn_error ()
597+{
598+ as_status=$1; test $as_status -eq 0 && as_status=1
599+ if test "$4"; then
600+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
601+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
602+ fi
603+ $as_echo "$as_me: error: $2" >&2
604+ as_fn_exit $as_status
605+} # as_fn_error
606+
607+if expr a : '\(a\)' >/dev/null 2>&1 &&
608+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
609+ as_expr=expr
610+else
611+ as_expr=false
612+fi
613+
614+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
615+ as_basename=basename
616+else
617+ as_basename=false
618+fi
619+
620+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
621+ as_dirname=dirname
622+else
623+ as_dirname=false
624+fi
625+
626+as_me=`$as_basename -- "$0" ||
627+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
628+ X"$0" : 'X\(//\)$' \| \
629+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
630+$as_echo X/"$0" |
631+ sed '/^.*\/\([^/][^/]*\)\/*$/{
632+ s//\1/
633+ q
634+ }
635+ /^X\/\(\/\/\)$/{
636+ s//\1/
637+ q
638+ }
639+ /^X\/\(\/\).*/{
640+ s//\1/
641+ q
642+ }
643+ s/.*/./; q'`
644+
645+# Avoid depending upon Character Ranges.
646+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
647+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
648+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
649+as_cr_digits='0123456789'
650+as_cr_alnum=$as_cr_Letters$as_cr_digits
651+
652+
653+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
654+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
655+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
656+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
657+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
658+ sed -n '
659+ p
660+ /[$]LINENO/=
661+ ' <$as_myself |
662+ sed '
663+ s/[$]LINENO.*/&-/
664+ t lineno
665+ b
666+ :lineno
667+ N
668+ :loop
669+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
670+ t loop
671+ s/-\n.*//
672+ ' >$as_me.lineno &&
673+ chmod +x "$as_me.lineno" ||
674+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
675+
676+ # Don't try to exec as it changes $[0], causing all sort of problems
677+ # (the dirname of $[0] is not the place where we might find the
678+ # original and so on. Autoconf is especially sensitive to this).
679+ . "./$as_me.lineno"
680+ # Exit status is that of the last command.
681+ exit
682+}
683+
684+ECHO_C= ECHO_N= ECHO_T=
685+case `echo -n x` in #(((((
686+-n*)
687+ case `echo 'xy\c'` in
688+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
689+ xy) ECHO_C='\c';;
690+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
691+ ECHO_T=' ';;
692+ esac;;
693+*)
694+ ECHO_N='-n';;
695+esac
696+
697+rm -f conf$$ conf$$.exe conf$$.file
698+if test -d conf$$.dir; then
699+ rm -f conf$$.dir/conf$$.file
700+else
701+ rm -f conf$$.dir
702+ mkdir conf$$.dir 2>/dev/null
703+fi
704+if (echo >conf$$.file) 2>/dev/null; then
705+ if ln -s conf$$.file conf$$ 2>/dev/null; then
706+ as_ln_s='ln -s'
707+ # ... but there are two gotchas:
708+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
709+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
710+ # In both cases, we have to default to `cp -p'.
711+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
712+ as_ln_s='cp -p'
713+ elif ln conf$$.file conf$$ 2>/dev/null; then
714+ as_ln_s=ln
715+ else
716+ as_ln_s='cp -p'
717+ fi
718+else
719+ as_ln_s='cp -p'
720+fi
721+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
722+rmdir conf$$.dir 2>/dev/null
723+
724+if mkdir -p . 2>/dev/null; then
725+ as_mkdir_p='mkdir -p "$as_dir"'
726+else
727+ test -d ./-p && rmdir ./-p
728+ as_mkdir_p=false
729+fi
730+
731+if test -x / >/dev/null 2>&1; then
732+ as_test_x='test -x'
733+else
734+ if ls -dL / >/dev/null 2>&1; then
735+ as_ls_L_option=L
736+ else
737+ as_ls_L_option=
738+ fi
739+ as_test_x='
740+ eval sh -c '\''
741+ if test -d "$1"; then
742+ test -d "$1/.";
743+ else
744+ case $1 in #(
745+ -*)set "./$1";;
746+ esac;
747+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
748+ ???[sx]*):;;*)false;;esac;fi
749+ '\'' sh
750+ '
751+fi
752+as_executable_p=$as_test_x
753+
754+# Sed expression to map a string onto a valid CPP name.
755+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
756+
757+# Sed expression to map a string onto a valid variable name.
758+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
759+
760+
761+test -n "$DJDIR" || exec 7<&0 </dev/null
762+exec 6>&1
763+
764+# Name of the host.
765+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
766+# so uname gets run too.
767+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
768+
769+#
770+# Initializations.
771+#
772+ac_default_prefix=/usr/local
773+ac_clean_files=
774+ac_config_libobj_dir=.
775+LIBOBJS=
776+cross_compiling=no
777+subdirs=
778+MFLAGS=
779+MAKEFLAGS=
780+
781+# Identity of this package.
782+PACKAGE_NAME='lxc'
783+PACKAGE_TARNAME='lxc'
784+PACKAGE_VERSION='0.7.5'
785+PACKAGE_STRING='lxc 0.7.5'
786+PACKAGE_BUGREPORT=''
787+PACKAGE_URL=''
788+
789+ac_unique_file="configure.ac"
790+# Factoring default headers for most tests.
791+ac_includes_default="\
792+#include <stdio.h>
793+#ifdef HAVE_SYS_TYPES_H
794+# include <sys/types.h>
795+#endif
796+#ifdef HAVE_SYS_STAT_H
797+# include <sys/stat.h>
798+#endif
799+#ifdef STDC_HEADERS
800+# include <stdlib.h>
801+# include <stddef.h>
802+#else
803+# ifdef HAVE_STDLIB_H
804+# include <stdlib.h>
805+# endif
806+#endif
807+#ifdef HAVE_STRING_H
808+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
809+# include <memory.h>
810+# endif
811+# include <string.h>
812+#endif
813+#ifdef HAVE_STRINGS_H
814+# include <strings.h>
815+#endif
816+#ifdef HAVE_INTTYPES_H
817+# include <inttypes.h>
818+#endif
819+#ifdef HAVE_STDINT_H
820+# include <stdint.h>
821+#endif
822+#ifdef HAVE_UNISTD_H
823+# include <unistd.h>
824+#endif"
825+
826+ac_subst_vars='am__EXEEXT_FALSE
827+am__EXEEXT_TRUE
828+LTLIBOBJS
829+LIBOBJS
830+LINUX_SRCARCH
831+LINUX_DIR
832+CAP_LIBS
833+LXCTEMPLATEDIR
834+LXCINITDIR
835+LXCROOTFSMOUNT
836+LXCPATH
837+LXC_GENERATE_DATE
838+DOCDIR
839+LOCALSTATEDIR
840+DATADIR
841+SYSCONFDIR
842+INCLUDEDIR
843+BINDIR
844+LIBDIR
845+PREFIX
846+ENABLE_EXAMPLES_FALSE
847+ENABLE_EXAMPLES_TRUE
848+ENABLE_DOCBOOK_FALSE
849+ENABLE_DOCBOOK_TRUE
850+have_docbook
851+SETCAP
852+EGREP
853+GREP
854+CPP
855+am__fastdepCC_FALSE
856+am__fastdepCC_TRUE
857+CCDEPMODE
858+AMDEPBACKSLASH
859+AMDEP_FALSE
860+AMDEP_TRUE
861+am__quote
862+am__include
863+DEPDIR
864+OBJEXT
865+EXEEXT
866+ac_ct_CC
867+CPPFLAGS
868+LDFLAGS
869+CFLAGS
870+CC
871+host_os
872+host_vendor
873+host_cpu
874+host
875+build_os
876+build_vendor
877+build_cpu
878+build
879+am__untar
880+am__tar
881+AMTAR
882+am__leading_dot
883+SET_MAKE
884+AWK
885+mkdir_p
886+MKDIR_P
887+INSTALL_STRIP_PROGRAM
888+STRIP
889+install_sh
890+MAKEINFO
891+AUTOHEADER
892+AUTOMAKE
893+AUTOCONF
894+ACLOCAL
895+VERSION
896+PACKAGE
897+CYGPATH_W
898+am__isrc
899+INSTALL_DATA
900+INSTALL_SCRIPT
901+INSTALL_PROGRAM
902+target_alias
903+host_alias
904+build_alias
905+LIBS
906+ECHO_T
907+ECHO_N
908+ECHO_C
909+DEFS
910+mandir
911+localedir
912+libdir
913+psdir
914+pdfdir
915+dvidir
916+htmldir
917+infodir
918+docdir
919+oldincludedir
920+includedir
921+localstatedir
922+sharedstatedir
923+sysconfdir
924+datadir
925+datarootdir
926+libexecdir
927+sbindir
928+bindir
929+program_transform_name
930+prefix
931+exec_prefix
932+PACKAGE_URL
933+PACKAGE_BUGREPORT
934+PACKAGE_STRING
935+PACKAGE_VERSION
936+PACKAGE_TARNAME
937+PACKAGE_NAME
938+PATH_SEPARATOR
939+SHELL'
940+ac_subst_files=''
941+ac_user_opts='
942+enable_option_checking
943+enable_dependency_tracking
944+enable_doc
945+enable_examples
946+with_config_path
947+with_rootfs_path
948+with_linuxdir
949+'
950+ ac_precious_vars='build_alias
951+host_alias
952+target_alias
953+CC
954+CFLAGS
955+LDFLAGS
956+LIBS
957+CPPFLAGS
958+CPP'
959+
960+
961+# Initialize some variables set by options.
962+ac_init_help=
963+ac_init_version=false
964+ac_unrecognized_opts=
965+ac_unrecognized_sep=
966+# The variables have the same names as the options, with
967+# dashes changed to underlines.
968+cache_file=/dev/null
969+exec_prefix=NONE
970+no_create=
971+no_recursion=
972+prefix=NONE
973+program_prefix=NONE
974+program_suffix=NONE
975+program_transform_name=s,x,x,
976+silent=
977+site=
978+srcdir=
979+verbose=
980+x_includes=NONE
981+x_libraries=NONE
982+
983+# Installation directory options.
984+# These are left unexpanded so users can "make install exec_prefix=/foo"
985+# and all the variables that are supposed to be based on exec_prefix
986+# by default will actually change.
987+# Use braces instead of parens because sh, perl, etc. also accept them.
988+# (The list follows the same order as the GNU Coding Standards.)
989+bindir='${exec_prefix}/bin'
990+sbindir='${exec_prefix}/sbin'
991+libexecdir='${exec_prefix}/libexec'
992+datarootdir='${prefix}/share'
993+datadir='${datarootdir}'
994+sysconfdir='${prefix}/etc'
995+sharedstatedir='${prefix}/com'
996+localstatedir='${prefix}/var'
997+includedir='${prefix}/include'
998+oldincludedir='/usr/include'
999+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1000+infodir='${datarootdir}/info'
1001+htmldir='${docdir}'
1002+dvidir='${docdir}'
1003+pdfdir='${docdir}'
1004+psdir='${docdir}'
1005+libdir='${exec_prefix}/lib'
1006+localedir='${datarootdir}/locale'
1007+mandir='${datarootdir}/man'
1008+
1009+ac_prev=
1010+ac_dashdash=
1011+for ac_option
1012+do
1013+ # If the previous option needs an argument, assign it.
1014+ if test -n "$ac_prev"; then
1015+ eval $ac_prev=\$ac_option
1016+ ac_prev=
1017+ continue
1018+ fi
1019+
1020+ case $ac_option in
1021+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022+ *=) ac_optarg= ;;
1023+ *) ac_optarg=yes ;;
1024+ esac
1025+
1026+ # Accept the important Cygnus configure options, so we can diagnose typos.
1027+
1028+ case $ac_dashdash$ac_option in
1029+ --)
1030+ ac_dashdash=yes ;;
1031+
1032+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
1033+ ac_prev=bindir ;;
1034+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1035+ bindir=$ac_optarg ;;
1036+
1037+ -build | --build | --buil | --bui | --bu)
1038+ ac_prev=build_alias ;;
1039+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1040+ build_alias=$ac_optarg ;;
1041+
1042+ -cache-file | --cache-file | --cache-fil | --cache-fi \
1043+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1044+ ac_prev=cache_file ;;
1045+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1046+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1047+ cache_file=$ac_optarg ;;
1048+
1049+ --config-cache | -C)
1050+ cache_file=config.cache ;;
1051+
1052+ -datadir | --datadir | --datadi | --datad)
1053+ ac_prev=datadir ;;
1054+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
1055+ datadir=$ac_optarg ;;
1056+
1057+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1058+ | --dataroo | --dataro | --datar)
1059+ ac_prev=datarootdir ;;
1060+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1061+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1062+ datarootdir=$ac_optarg ;;
1063+
1064+ -disable-* | --disable-*)
1065+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066+ # Reject names that are not valid shell variable names.
1067+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068+ as_fn_error $? "invalid feature name: $ac_useropt"
1069+ ac_useropt_orig=$ac_useropt
1070+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071+ case $ac_user_opts in
1072+ *"
1073+"enable_$ac_useropt"
1074+"*) ;;
1075+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076+ ac_unrecognized_sep=', ';;
1077+ esac
1078+ eval enable_$ac_useropt=no ;;
1079+
1080+ -docdir | --docdir | --docdi | --doc | --do)
1081+ ac_prev=docdir ;;
1082+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083+ docdir=$ac_optarg ;;
1084+
1085+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086+ ac_prev=dvidir ;;
1087+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088+ dvidir=$ac_optarg ;;
1089+
1090+ -enable-* | --enable-*)
1091+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092+ # Reject names that are not valid shell variable names.
1093+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094+ as_fn_error $? "invalid feature name: $ac_useropt"
1095+ ac_useropt_orig=$ac_useropt
1096+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097+ case $ac_user_opts in
1098+ *"
1099+"enable_$ac_useropt"
1100+"*) ;;
1101+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102+ ac_unrecognized_sep=', ';;
1103+ esac
1104+ eval enable_$ac_useropt=\$ac_optarg ;;
1105+
1106+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108+ | --exec | --exe | --ex)
1109+ ac_prev=exec_prefix ;;
1110+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112+ | --exec=* | --exe=* | --ex=*)
1113+ exec_prefix=$ac_optarg ;;
1114+
1115+ -gas | --gas | --ga | --g)
1116+ # Obsolete; use --with-gas.
1117+ with_gas=yes ;;
1118+
1119+ -help | --help | --hel | --he | -h)
1120+ ac_init_help=long ;;
1121+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122+ ac_init_help=recursive ;;
1123+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124+ ac_init_help=short ;;
1125+
1126+ -host | --host | --hos | --ho)
1127+ ac_prev=host_alias ;;
1128+ -host=* | --host=* | --hos=* | --ho=*)
1129+ host_alias=$ac_optarg ;;
1130+
1131+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1132+ ac_prev=htmldir ;;
1133+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1134+ | --ht=*)
1135+ htmldir=$ac_optarg ;;
1136+
1137+ -includedir | --includedir | --includedi | --included | --include \
1138+ | --includ | --inclu | --incl | --inc)
1139+ ac_prev=includedir ;;
1140+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141+ | --includ=* | --inclu=* | --incl=* | --inc=*)
1142+ includedir=$ac_optarg ;;
1143+
1144+ -infodir | --infodir | --infodi | --infod | --info | --inf)
1145+ ac_prev=infodir ;;
1146+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147+ infodir=$ac_optarg ;;
1148+
1149+ -libdir | --libdir | --libdi | --libd)
1150+ ac_prev=libdir ;;
1151+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152+ libdir=$ac_optarg ;;
1153+
1154+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155+ | --libexe | --libex | --libe)
1156+ ac_prev=libexecdir ;;
1157+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158+ | --libexe=* | --libex=* | --libe=*)
1159+ libexecdir=$ac_optarg ;;
1160+
1161+ -localedir | --localedir | --localedi | --localed | --locale)
1162+ ac_prev=localedir ;;
1163+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164+ localedir=$ac_optarg ;;
1165+
1166+ -localstatedir | --localstatedir | --localstatedi | --localstated \
1167+ | --localstate | --localstat | --localsta | --localst | --locals)
1168+ ac_prev=localstatedir ;;
1169+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171+ localstatedir=$ac_optarg ;;
1172+
1173+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1174+ ac_prev=mandir ;;
1175+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176+ mandir=$ac_optarg ;;
1177+
1178+ -nfp | --nfp | --nf)
1179+ # Obsolete; use --without-fp.
1180+ with_fp=no ;;
1181+
1182+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183+ | --no-cr | --no-c | -n)
1184+ no_create=yes ;;
1185+
1186+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188+ no_recursion=yes ;;
1189+
1190+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192+ | --oldin | --oldi | --old | --ol | --o)
1193+ ac_prev=oldincludedir ;;
1194+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197+ oldincludedir=$ac_optarg ;;
1198+
1199+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1200+ ac_prev=prefix ;;
1201+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202+ prefix=$ac_optarg ;;
1203+
1204+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205+ | --program-pre | --program-pr | --program-p)
1206+ ac_prev=program_prefix ;;
1207+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209+ program_prefix=$ac_optarg ;;
1210+
1211+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212+ | --program-suf | --program-su | --program-s)
1213+ ac_prev=program_suffix ;;
1214+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216+ program_suffix=$ac_optarg ;;
1217+
1218+ -program-transform-name | --program-transform-name \
1219+ | --program-transform-nam | --program-transform-na \
1220+ | --program-transform-n | --program-transform- \
1221+ | --program-transform | --program-transfor \
1222+ | --program-transfo | --program-transf \
1223+ | --program-trans | --program-tran \
1224+ | --progr-tra | --program-tr | --program-t)
1225+ ac_prev=program_transform_name ;;
1226+ -program-transform-name=* | --program-transform-name=* \
1227+ | --program-transform-nam=* | --program-transform-na=* \
1228+ | --program-transform-n=* | --program-transform-=* \
1229+ | --program-transform=* | --program-transfor=* \
1230+ | --program-transfo=* | --program-transf=* \
1231+ | --program-trans=* | --program-tran=* \
1232+ | --progr-tra=* | --program-tr=* | --program-t=*)
1233+ program_transform_name=$ac_optarg ;;
1234+
1235+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1236+ ac_prev=pdfdir ;;
1237+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238+ pdfdir=$ac_optarg ;;
1239+
1240+ -psdir | --psdir | --psdi | --psd | --ps)
1241+ ac_prev=psdir ;;
1242+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243+ psdir=$ac_optarg ;;
1244+
1245+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246+ | -silent | --silent | --silen | --sile | --sil)
1247+ silent=yes ;;
1248+
1249+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1250+ ac_prev=sbindir ;;
1251+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1252+ | --sbi=* | --sb=*)
1253+ sbindir=$ac_optarg ;;
1254+
1255+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257+ | --sharedst | --shareds | --shared | --share | --shar \
1258+ | --sha | --sh)
1259+ ac_prev=sharedstatedir ;;
1260+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1263+ | --sha=* | --sh=*)
1264+ sharedstatedir=$ac_optarg ;;
1265+
1266+ -site | --site | --sit)
1267+ ac_prev=site ;;
1268+ -site=* | --site=* | --sit=*)
1269+ site=$ac_optarg ;;
1270+
1271+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1272+ ac_prev=srcdir ;;
1273+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274+ srcdir=$ac_optarg ;;
1275+
1276+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277+ | --syscon | --sysco | --sysc | --sys | --sy)
1278+ ac_prev=sysconfdir ;;
1279+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281+ sysconfdir=$ac_optarg ;;
1282+
1283+ -target | --target | --targe | --targ | --tar | --ta | --t)
1284+ ac_prev=target_alias ;;
1285+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286+ target_alias=$ac_optarg ;;
1287+
1288+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289+ verbose=yes ;;
1290+
1291+ -version | --version | --versio | --versi | --vers | -V)
1292+ ac_init_version=: ;;
1293+
1294+ -with-* | --with-*)
1295+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296+ # Reject names that are not valid shell variable names.
1297+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298+ as_fn_error $? "invalid package name: $ac_useropt"
1299+ ac_useropt_orig=$ac_useropt
1300+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301+ case $ac_user_opts in
1302+ *"
1303+"with_$ac_useropt"
1304+"*) ;;
1305+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306+ ac_unrecognized_sep=', ';;
1307+ esac
1308+ eval with_$ac_useropt=\$ac_optarg ;;
1309+
1310+ -without-* | --without-*)
1311+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1312+ # Reject names that are not valid shell variable names.
1313+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314+ as_fn_error $? "invalid package name: $ac_useropt"
1315+ ac_useropt_orig=$ac_useropt
1316+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317+ case $ac_user_opts in
1318+ *"
1319+"with_$ac_useropt"
1320+"*) ;;
1321+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322+ ac_unrecognized_sep=', ';;
1323+ esac
1324+ eval with_$ac_useropt=no ;;
1325+
1326+ --x)
1327+ # Obsolete; use --with-x.
1328+ with_x=yes ;;
1329+
1330+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331+ | --x-incl | --x-inc | --x-in | --x-i)
1332+ ac_prev=x_includes ;;
1333+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335+ x_includes=$ac_optarg ;;
1336+
1337+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339+ ac_prev=x_libraries ;;
1340+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342+ x_libraries=$ac_optarg ;;
1343+
1344+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1345+Try \`$0 --help' for more information"
1346+ ;;
1347+
1348+ *=*)
1349+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350+ # Reject names that are not valid shell variable names.
1351+ case $ac_envvar in #(
1352+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1353+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1354+ esac
1355+ eval $ac_envvar=\$ac_optarg
1356+ export $ac_envvar ;;
1357+
1358+ *)
1359+ # FIXME: should be removed in autoconf 3.0.
1360+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1364+ ;;
1365+
1366+ esac
1367+done
1368+
1369+if test -n "$ac_prev"; then
1370+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371+ as_fn_error $? "missing argument to $ac_option"
1372+fi
1373+
1374+if test -n "$ac_unrecognized_opts"; then
1375+ case $enable_option_checking in
1376+ no) ;;
1377+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1378+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379+ esac
1380+fi
1381+
1382+# Check all directory arguments for consistency.
1383+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384+ datadir sysconfdir sharedstatedir localstatedir includedir \
1385+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386+ libdir localedir mandir
1387+do
1388+ eval ac_val=\$$ac_var
1389+ # Remove trailing slashes.
1390+ case $ac_val in
1391+ */ )
1392+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393+ eval $ac_var=\$ac_val;;
1394+ esac
1395+ # Be sure to have absolute directory names.
1396+ case $ac_val in
1397+ [\\/$]* | ?:[\\/]* ) continue;;
1398+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1399+ esac
1400+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1401+done
1402+
1403+# There might be people who depend on the old broken behavior: `$host'
1404+# used to hold the argument of --host etc.
1405+# FIXME: To remove some day.
1406+build=$build_alias
1407+host=$host_alias
1408+target=$target_alias
1409+
1410+# FIXME: To remove some day.
1411+if test "x$host_alias" != x; then
1412+ if test "x$build_alias" = x; then
1413+ cross_compiling=maybe
1414+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1415+ If a cross compiler is detected then cross compile mode will be used" >&2
1416+ elif test "x$build_alias" != "x$host_alias"; then
1417+ cross_compiling=yes
1418+ fi
1419+fi
1420+
1421+ac_tool_prefix=
1422+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1423+
1424+test "$silent" = yes && exec 6>/dev/null
1425+
1426+
1427+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1428+ac_ls_di=`ls -di .` &&
1429+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1430+ as_fn_error $? "working directory cannot be determined"
1431+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432+ as_fn_error $? "pwd does not report name of working directory"
1433+
1434+
1435+# Find the source files, if location was not specified.
1436+if test -z "$srcdir"; then
1437+ ac_srcdir_defaulted=yes
1438+ # Try the directory containing this script, then the parent directory.
1439+ ac_confdir=`$as_dirname -- "$as_myself" ||
1440+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441+ X"$as_myself" : 'X\(//\)[^/]' \| \
1442+ X"$as_myself" : 'X\(//\)$' \| \
1443+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444+$as_echo X"$as_myself" |
1445+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446+ s//\1/
1447+ q
1448+ }
1449+ /^X\(\/\/\)[^/].*/{
1450+ s//\1/
1451+ q
1452+ }
1453+ /^X\(\/\/\)$/{
1454+ s//\1/
1455+ q
1456+ }
1457+ /^X\(\/\).*/{
1458+ s//\1/
1459+ q
1460+ }
1461+ s/.*/./; q'`
1462+ srcdir=$ac_confdir
1463+ if test ! -r "$srcdir/$ac_unique_file"; then
1464+ srcdir=..
1465+ fi
1466+else
1467+ ac_srcdir_defaulted=no
1468+fi
1469+if test ! -r "$srcdir/$ac_unique_file"; then
1470+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1472+fi
1473+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1474+ac_abs_confdir=`(
1475+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1476+ pwd)`
1477+# When building in place, set srcdir=.
1478+if test "$ac_abs_confdir" = "$ac_pwd"; then
1479+ srcdir=.
1480+fi
1481+# Remove unnecessary trailing slashes from srcdir.
1482+# Double slashes in file names in object file debugging info
1483+# mess up M-x gdb in Emacs.
1484+case $srcdir in
1485+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1486+esac
1487+for ac_var in $ac_precious_vars; do
1488+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1489+ eval ac_env_${ac_var}_value=\$${ac_var}
1490+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1491+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1492+done
1493+
1494+#
1495+# Report the --help message.
1496+#
1497+if test "$ac_init_help" = "long"; then
1498+ # Omit some internal or obsolete options to make the list less imposing.
1499+ # This message is too long to be a string in the A/UX 3.1 sh.
1500+ cat <<_ACEOF
1501+\`configure' configures lxc 0.7.5 to adapt to many kinds of systems.
1502+
1503+Usage: $0 [OPTION]... [VAR=VALUE]...
1504+
1505+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1506+VAR=VALUE. See below for descriptions of some of the useful variables.
1507+
1508+Defaults for the options are specified in brackets.
1509+
1510+Configuration:
1511+ -h, --help display this help and exit
1512+ --help=short display options specific to this package
1513+ --help=recursive display the short help of all the included packages
1514+ -V, --version display version information and exit
1515+ -q, --quiet, --silent do not print \`checking ...' messages
1516+ --cache-file=FILE cache test results in FILE [disabled]
1517+ -C, --config-cache alias for \`--cache-file=config.cache'
1518+ -n, --no-create do not create output files
1519+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1520+
1521+Installation directories:
1522+ --prefix=PREFIX install architecture-independent files in PREFIX
1523+ [$ac_default_prefix]
1524+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525+ [PREFIX]
1526+
1527+By default, \`make install' will install all the files in
1528+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1529+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1530+for instance \`--prefix=\$HOME'.
1531+
1532+For better control, use the options below.
1533+
1534+Fine tuning of the installation directories:
1535+ --bindir=DIR user executables [EPREFIX/bin]
1536+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1537+ --libexecdir=DIR program executables [EPREFIX/libexec]
1538+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1539+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1540+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1541+ --libdir=DIR object code libraries [EPREFIX/lib]
1542+ --includedir=DIR C header files [PREFIX/include]
1543+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1544+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1545+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1546+ --infodir=DIR info documentation [DATAROOTDIR/info]
1547+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1548+ --mandir=DIR man documentation [DATAROOTDIR/man]
1549+ --docdir=DIR documentation root [DATAROOTDIR/doc/lxc]
1550+ --htmldir=DIR html documentation [DOCDIR]
1551+ --dvidir=DIR dvi documentation [DOCDIR]
1552+ --pdfdir=DIR pdf documentation [DOCDIR]
1553+ --psdir=DIR ps documentation [DOCDIR]
1554+_ACEOF
1555+
1556+ cat <<\_ACEOF
1557+
1558+Program names:
1559+ --program-prefix=PREFIX prepend PREFIX to installed program names
1560+ --program-suffix=SUFFIX append SUFFIX to installed program names
1561+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1562+
1563+System types:
1564+ --build=BUILD configure for building on BUILD [guessed]
1565+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
1566+_ACEOF
1567+fi
1568+
1569+if test -n "$ac_init_help"; then
1570+ case $ac_init_help in
1571+ short | recursive ) echo "Configuration of lxc 0.7.5:";;
1572+ esac
1573+ cat <<\_ACEOF
1574+
1575+Optional Features:
1576+ --disable-option-checking ignore unrecognized --enable/--with options
1577+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579+ --disable-dependency-tracking speeds up one-time build
1580+ --enable-dependency-tracking do not reject slow dependency extractors
1581+ --enable-doc make mans (require docbook2man installed)
1582+ [default=auto]
1583+ --disable-examples do not install configuration examples
1584+
1585+Optional Packages:
1586+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588+ --with-config-path=dir lxc configuration repository path
1589+ --with-rootfs-path=dir lxc rootfs mount point
1590+ --with-linuxdir=DIR specify path to Linux source directory
1591+
1592+Some influential environment variables:
1593+ CC C compiler command
1594+ CFLAGS C compiler flags
1595+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596+ nonstandard directory <lib dir>
1597+ LIBS libraries to pass to the linker, e.g. -l<library>
1598+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1599+ you have headers in a nonstandard directory <include dir>
1600+ CPP C preprocessor
1601+
1602+Use these variables to override the choices made by `configure' or to help
1603+it to find libraries and programs with nonstandard names/locations.
1604+
1605+Report bugs to the package provider.
1606+_ACEOF
1607+ac_status=$?
1608+fi
1609+
1610+if test "$ac_init_help" = "recursive"; then
1611+ # If there are subdirs, report their specific --help.
1612+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613+ test -d "$ac_dir" ||
1614+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615+ continue
1616+ ac_builddir=.
1617+
1618+case "$ac_dir" in
1619+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620+*)
1621+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1622+ # A ".." for each directory in $ac_dir_suffix.
1623+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1624+ case $ac_top_builddir_sub in
1625+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1627+ esac ;;
1628+esac
1629+ac_abs_top_builddir=$ac_pwd
1630+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631+# for backward compatibility:
1632+ac_top_builddir=$ac_top_build_prefix
1633+
1634+case $srcdir in
1635+ .) # We are building in place.
1636+ ac_srcdir=.
1637+ ac_top_srcdir=$ac_top_builddir_sub
1638+ ac_abs_top_srcdir=$ac_pwd ;;
1639+ [\\/]* | ?:[\\/]* ) # Absolute name.
1640+ ac_srcdir=$srcdir$ac_dir_suffix;
1641+ ac_top_srcdir=$srcdir
1642+ ac_abs_top_srcdir=$srcdir ;;
1643+ *) # Relative name.
1644+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1646+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647+esac
1648+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649+
1650+ cd "$ac_dir" || { ac_status=$?; continue; }
1651+ # Check for guested configure.
1652+ if test -f "$ac_srcdir/configure.gnu"; then
1653+ echo &&
1654+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655+ elif test -f "$ac_srcdir/configure"; then
1656+ echo &&
1657+ $SHELL "$ac_srcdir/configure" --help=recursive
1658+ else
1659+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660+ fi || ac_status=$?
1661+ cd "$ac_pwd" || { ac_status=$?; break; }
1662+ done
1663+fi
1664+
1665+test -n "$ac_init_help" && exit $ac_status
1666+if $ac_init_version; then
1667+ cat <<\_ACEOF
1668+lxc configure 0.7.5
1669+generated by GNU Autoconf 2.67
1670+
1671+Copyright (C) 2010 Free Software Foundation, Inc.
1672+This configure script is free software; the Free Software Foundation
1673+gives unlimited permission to copy, distribute and modify it.
1674+_ACEOF
1675+ exit
1676+fi
1677+
1678+## ------------------------ ##
1679+## Autoconf initialization. ##
1680+## ------------------------ ##
1681+
1682+# ac_fn_c_try_compile LINENO
1683+# --------------------------
1684+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1685+ac_fn_c_try_compile ()
1686+{
1687+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688+ rm -f conftest.$ac_objext
1689+ if { { ac_try="$ac_compile"
1690+case "(($ac_try" in
1691+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692+ *) ac_try_echo=$ac_try;;
1693+esac
1694+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695+$as_echo "$ac_try_echo"; } >&5
1696+ (eval "$ac_compile") 2>conftest.err
1697+ ac_status=$?
1698+ if test -s conftest.err; then
1699+ grep -v '^ *+' conftest.err >conftest.er1
1700+ cat conftest.er1 >&5
1701+ mv -f conftest.er1 conftest.err
1702+ fi
1703+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704+ test $ac_status = 0; } && {
1705+ test -z "$ac_c_werror_flag" ||
1706+ test ! -s conftest.err
1707+ } && test -s conftest.$ac_objext; then :
1708+ ac_retval=0
1709+else
1710+ $as_echo "$as_me: failed program was:" >&5
1711+sed 's/^/| /' conftest.$ac_ext >&5
1712+
1713+ ac_retval=1
1714+fi
1715+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716+ as_fn_set_status $ac_retval
1717+
1718+} # ac_fn_c_try_compile
1719+
1720+# ac_fn_c_try_cpp LINENO
1721+# ----------------------
1722+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1723+ac_fn_c_try_cpp ()
1724+{
1725+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726+ if { { ac_try="$ac_cpp conftest.$ac_ext"
1727+case "(($ac_try" in
1728+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729+ *) ac_try_echo=$ac_try;;
1730+esac
1731+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732+$as_echo "$ac_try_echo"; } >&5
1733+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734+ ac_status=$?
1735+ if test -s conftest.err; then
1736+ grep -v '^ *+' conftest.err >conftest.er1
1737+ cat conftest.er1 >&5
1738+ mv -f conftest.er1 conftest.err
1739+ fi
1740+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741+ test $ac_status = 0; } > conftest.i && {
1742+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1743+ test ! -s conftest.err
1744+ }; then :
1745+ ac_retval=0
1746+else
1747+ $as_echo "$as_me: failed program was:" >&5
1748+sed 's/^/| /' conftest.$ac_ext >&5
1749+
1750+ ac_retval=1
1751+fi
1752+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1753+ as_fn_set_status $ac_retval
1754+
1755+} # ac_fn_c_try_cpp
1756+
1757+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1758+# -------------------------------------------------------
1759+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1760+# the include files in INCLUDES and setting the cache variable VAR
1761+# accordingly.
1762+ac_fn_c_check_header_mongrel ()
1763+{
1764+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765+ if eval "test \"\${$3+set}\"" = set; then :
1766+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767+$as_echo_n "checking for $2... " >&6; }
1768+if eval "test \"\${$3+set}\"" = set; then :
1769+ $as_echo_n "(cached) " >&6
1770+fi
1771+eval ac_res=\$$3
1772+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773+$as_echo "$ac_res" >&6; }
1774+else
1775+ # Is the header compilable?
1776+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1777+$as_echo_n "checking $2 usability... " >&6; }
1778+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779+/* end confdefs.h. */
1780+$4
1781+#include <$2>
1782+_ACEOF
1783+if ac_fn_c_try_compile "$LINENO"; then :
1784+ ac_header_compiler=yes
1785+else
1786+ ac_header_compiler=no
1787+fi
1788+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1790+$as_echo "$ac_header_compiler" >&6; }
1791+
1792+# Is the header present?
1793+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1794+$as_echo_n "checking $2 presence... " >&6; }
1795+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796+/* end confdefs.h. */
1797+#include <$2>
1798+_ACEOF
1799+if ac_fn_c_try_cpp "$LINENO"; then :
1800+ ac_header_preproc=yes
1801+else
1802+ ac_header_preproc=no
1803+fi
1804+rm -f conftest.err conftest.i conftest.$ac_ext
1805+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1806+$as_echo "$ac_header_preproc" >&6; }
1807+
1808+# So? What about this header?
1809+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1810+ yes:no: )
1811+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1812+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1813+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1814+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1815+ ;;
1816+ no:yes:* )
1817+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1818+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1819+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1820+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1821+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1822+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1823+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1824+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1825+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827+ ;;
1828+esac
1829+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830+$as_echo_n "checking for $2... " >&6; }
1831+if eval "test \"\${$3+set}\"" = set; then :
1832+ $as_echo_n "(cached) " >&6
1833+else
1834+ eval "$3=\$ac_header_compiler"
1835+fi
1836+eval ac_res=\$$3
1837+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838+$as_echo "$ac_res" >&6; }
1839+fi
1840+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841+
1842+} # ac_fn_c_check_header_mongrel
1843+
1844+# ac_fn_c_try_run LINENO
1845+# ----------------------
1846+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847+# that executables *can* be run.
1848+ac_fn_c_try_run ()
1849+{
1850+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851+ if { { ac_try="$ac_link"
1852+case "(($ac_try" in
1853+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854+ *) ac_try_echo=$ac_try;;
1855+esac
1856+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857+$as_echo "$ac_try_echo"; } >&5
1858+ (eval "$ac_link") 2>&5
1859+ ac_status=$?
1860+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862+ { { case "(($ac_try" in
1863+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864+ *) ac_try_echo=$ac_try;;
1865+esac
1866+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867+$as_echo "$ac_try_echo"; } >&5
1868+ (eval "$ac_try") 2>&5
1869+ ac_status=$?
1870+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871+ test $ac_status = 0; }; }; then :
1872+ ac_retval=0
1873+else
1874+ $as_echo "$as_me: program exited with status $ac_status" >&5
1875+ $as_echo "$as_me: failed program was:" >&5
1876+sed 's/^/| /' conftest.$ac_ext >&5
1877+
1878+ ac_retval=$ac_status
1879+fi
1880+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882+ as_fn_set_status $ac_retval
1883+
1884+} # ac_fn_c_try_run
1885+
1886+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1887+# -------------------------------------------------------
1888+# Tests whether HEADER exists and can be compiled using the include files in
1889+# INCLUDES, setting the cache variable VAR accordingly.
1890+ac_fn_c_check_header_compile ()
1891+{
1892+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894+$as_echo_n "checking for $2... " >&6; }
1895+if eval "test \"\${$3+set}\"" = set; then :
1896+ $as_echo_n "(cached) " >&6
1897+else
1898+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899+/* end confdefs.h. */
1900+$4
1901+#include <$2>
1902+_ACEOF
1903+if ac_fn_c_try_compile "$LINENO"; then :
1904+ eval "$3=yes"
1905+else
1906+ eval "$3=no"
1907+fi
1908+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909+fi
1910+eval ac_res=\$$3
1911+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912+$as_echo "$ac_res" >&6; }
1913+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914+
1915+} # ac_fn_c_check_header_compile
1916+
1917+# ac_fn_c_try_link LINENO
1918+# -----------------------
1919+# Try to link conftest.$ac_ext, and return whether this succeeded.
1920+ac_fn_c_try_link ()
1921+{
1922+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923+ rm -f conftest.$ac_objext conftest$ac_exeext
1924+ if { { ac_try="$ac_link"
1925+case "(($ac_try" in
1926+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927+ *) ac_try_echo=$ac_try;;
1928+esac
1929+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930+$as_echo "$ac_try_echo"; } >&5
1931+ (eval "$ac_link") 2>conftest.err
1932+ ac_status=$?
1933+ if test -s conftest.err; then
1934+ grep -v '^ *+' conftest.err >conftest.er1
1935+ cat conftest.er1 >&5
1936+ mv -f conftest.er1 conftest.err
1937+ fi
1938+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939+ test $ac_status = 0; } && {
1940+ test -z "$ac_c_werror_flag" ||
1941+ test ! -s conftest.err
1942+ } && test -s conftest$ac_exeext && {
1943+ test "$cross_compiling" = yes ||
1944+ $as_test_x conftest$ac_exeext
1945+ }; then :
1946+ ac_retval=0
1947+else
1948+ $as_echo "$as_me: failed program was:" >&5
1949+sed 's/^/| /' conftest.$ac_ext >&5
1950+
1951+ ac_retval=1
1952+fi
1953+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955+ # interfere with the next link command; also delete a directory that is
1956+ # left behind by Apple's compiler. We do this before executing the actions.
1957+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1959+ as_fn_set_status $ac_retval
1960+
1961+} # ac_fn_c_try_link
1962+
1963+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1964+# ---------------------------------------------
1965+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1966+# accordingly.
1967+ac_fn_c_check_decl ()
1968+{
1969+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970+ as_decl_name=`echo $2|sed 's/ *(.*//'`
1971+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1972+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1973+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1974+if eval "test \"\${$3+set}\"" = set; then :
1975+ $as_echo_n "(cached) " >&6
1976+else
1977+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978+/* end confdefs.h. */
1979+$4
1980+int
1981+main ()
1982+{
1983+#ifndef $as_decl_name
1984+#ifdef __cplusplus
1985+ (void) $as_decl_use;
1986+#else
1987+ (void) $as_decl_name;
1988+#endif
1989+#endif
1990+
1991+ ;
1992+ return 0;
1993+}
1994+_ACEOF
1995+if ac_fn_c_try_compile "$LINENO"; then :
1996+ eval "$3=yes"
1997+else
1998+ eval "$3=no"
1999+fi
2000+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001+fi
2002+eval ac_res=\$$3
2003+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004+$as_echo "$ac_res" >&6; }
2005+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2006+
2007+} # ac_fn_c_check_decl
2008+cat >config.log <<_ACEOF
2009+This file contains any messages produced by compilers while
2010+running configure, to aid debugging if configure makes a mistake.
2011+
2012+It was created by lxc $as_me 0.7.5, which was
2013+generated by GNU Autoconf 2.67. Invocation command line was
2014+
2015+ $ $0 $@
2016+
2017+_ACEOF
2018+exec 5>>config.log
2019+{
2020+cat <<_ASUNAME
2021+## --------- ##
2022+## Platform. ##
2023+## --------- ##
2024+
2025+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2026+uname -m = `(uname -m) 2>/dev/null || echo unknown`
2027+uname -r = `(uname -r) 2>/dev/null || echo unknown`
2028+uname -s = `(uname -s) 2>/dev/null || echo unknown`
2029+uname -v = `(uname -v) 2>/dev/null || echo unknown`
2030+
2031+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2032+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2033+
2034+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2035+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2036+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2037+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2038+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2039+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2040+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2041+
2042+_ASUNAME
2043+
2044+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045+for as_dir in $PATH
2046+do
2047+ IFS=$as_save_IFS
2048+ test -z "$as_dir" && as_dir=.
2049+ $as_echo "PATH: $as_dir"
2050+ done
2051+IFS=$as_save_IFS
2052+
2053+} >&5
2054+
2055+cat >&5 <<_ACEOF
2056+
2057+
2058+## ----------- ##
2059+## Core tests. ##
2060+## ----------- ##
2061+
2062+_ACEOF
2063+
2064+
2065+# Keep a trace of the command line.
2066+# Strip out --no-create and --no-recursion so they do not pile up.
2067+# Strip out --silent because we don't want to record it for future runs.
2068+# Also quote any args containing shell meta-characters.
2069+# Make two passes to allow for proper duplicate-argument suppression.
2070+ac_configure_args=
2071+ac_configure_args0=
2072+ac_configure_args1=
2073+ac_must_keep_next=false
2074+for ac_pass in 1 2
2075+do
2076+ for ac_arg
2077+ do
2078+ case $ac_arg in
2079+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081+ | -silent | --silent | --silen | --sile | --sil)
2082+ continue ;;
2083+ *\'*)
2084+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2085+ esac
2086+ case $ac_pass in
2087+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2088+ 2)
2089+ as_fn_append ac_configure_args1 " '$ac_arg'"
2090+ if test $ac_must_keep_next = true; then
2091+ ac_must_keep_next=false # Got value, back to normal.
2092+ else
2093+ case $ac_arg in
2094+ *=* | --config-cache | -C | -disable-* | --disable-* \
2095+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097+ | -with-* | --with-* | -without-* | --without-* | --x)
2098+ case "$ac_configure_args0 " in
2099+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100+ esac
2101+ ;;
2102+ -* ) ac_must_keep_next=true ;;
2103+ esac
2104+ fi
2105+ as_fn_append ac_configure_args " '$ac_arg'"
2106+ ;;
2107+ esac
2108+ done
2109+done
2110+{ ac_configure_args0=; unset ac_configure_args0;}
2111+{ ac_configure_args1=; unset ac_configure_args1;}
2112+
2113+# When interrupted or exit'd, cleanup temporary files, and complete
2114+# config.log. We remove comments because anyway the quotes in there
2115+# would cause problems or look ugly.
2116+# WARNING: Use '\'' to represent an apostrophe within the trap.
2117+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118+trap 'exit_status=$?
2119+ # Save into config.log some information that might help in debugging.
2120+ {
2121+ echo
2122+
2123+ $as_echo "## ---------------- ##
2124+## Cache variables. ##
2125+## ---------------- ##"
2126+ echo
2127+ # The following way of writing the cache mishandles newlines in values,
2128+(
2129+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2130+ eval ac_val=\$$ac_var
2131+ case $ac_val in #(
2132+ *${as_nl}*)
2133+ case $ac_var in #(
2134+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2135+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2136+ esac
2137+ case $ac_var in #(
2138+ _ | IFS | as_nl) ;; #(
2139+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2140+ *) { eval $ac_var=; unset $ac_var;} ;;
2141+ esac ;;
2142+ esac
2143+ done
2144+ (set) 2>&1 |
2145+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2146+ *${as_nl}ac_space=\ *)
2147+ sed -n \
2148+ "s/'\''/'\''\\\\'\'''\''/g;
2149+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150+ ;; #(
2151+ *)
2152+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2153+ ;;
2154+ esac |
2155+ sort
2156+)
2157+ echo
2158+
2159+ $as_echo "## ----------------- ##
2160+## Output variables. ##
2161+## ----------------- ##"
2162+ echo
2163+ for ac_var in $ac_subst_vars
2164+ do
2165+ eval ac_val=\$$ac_var
2166+ case $ac_val in
2167+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2168+ esac
2169+ $as_echo "$ac_var='\''$ac_val'\''"
2170+ done | sort
2171+ echo
2172+
2173+ if test -n "$ac_subst_files"; then
2174+ $as_echo "## ------------------- ##
2175+## File substitutions. ##
2176+## ------------------- ##"
2177+ echo
2178+ for ac_var in $ac_subst_files
2179+ do
2180+ eval ac_val=\$$ac_var
2181+ case $ac_val in
2182+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183+ esac
2184+ $as_echo "$ac_var='\''$ac_val'\''"
2185+ done | sort
2186+ echo
2187+ fi
2188+
2189+ if test -s confdefs.h; then
2190+ $as_echo "## ----------- ##
2191+## confdefs.h. ##
2192+## ----------- ##"
2193+ echo
2194+ cat confdefs.h
2195+ echo
2196+ fi
2197+ test "$ac_signal" != 0 &&
2198+ $as_echo "$as_me: caught signal $ac_signal"
2199+ $as_echo "$as_me: exit $exit_status"
2200+ } >&5
2201+ rm -f core *.core core.conftest.* &&
2202+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2203+ exit $exit_status
2204+' 0
2205+for ac_signal in 1 2 13 15; do
2206+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2207+done
2208+ac_signal=0
2209+
2210+# confdefs.h avoids OS command line length limits that DEFS can exceed.
2211+rm -f -r conftest* confdefs.h
2212+
2213+$as_echo "/* confdefs.h */" > confdefs.h
2214+
2215+# Predefined preprocessor variables.
2216+
2217+cat >>confdefs.h <<_ACEOF
2218+#define PACKAGE_NAME "$PACKAGE_NAME"
2219+_ACEOF
2220+
2221+cat >>confdefs.h <<_ACEOF
2222+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223+_ACEOF
2224+
2225+cat >>confdefs.h <<_ACEOF
2226+#define PACKAGE_VERSION "$PACKAGE_VERSION"
2227+_ACEOF
2228+
2229+cat >>confdefs.h <<_ACEOF
2230+#define PACKAGE_STRING "$PACKAGE_STRING"
2231+_ACEOF
2232+
2233+cat >>confdefs.h <<_ACEOF
2234+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2235+_ACEOF
2236+
2237+cat >>confdefs.h <<_ACEOF
2238+#define PACKAGE_URL "$PACKAGE_URL"
2239+_ACEOF
2240+
2241+
2242+# Let the site file select an alternate cache file if it wants to.
2243+# Prefer an explicitly selected file to automatically selected ones.
2244+ac_site_file1=NONE
2245+ac_site_file2=NONE
2246+if test -n "$CONFIG_SITE"; then
2247+ # We do not want a PATH search for config.site.
2248+ case $CONFIG_SITE in #((
2249+ -*) ac_site_file1=./$CONFIG_SITE;;
2250+ */*) ac_site_file1=$CONFIG_SITE;;
2251+ *) ac_site_file1=./$CONFIG_SITE;;
2252+ esac
2253+elif test "x$prefix" != xNONE; then
2254+ ac_site_file1=$prefix/share/config.site
2255+ ac_site_file2=$prefix/etc/config.site
2256+else
2257+ ac_site_file1=$ac_default_prefix/share/config.site
2258+ ac_site_file2=$ac_default_prefix/etc/config.site
2259+fi
2260+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2261+do
2262+ test "x$ac_site_file" = xNONE && continue
2263+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2264+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2265+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2266+ sed 's/^/| /' "$ac_site_file" >&5
2267+ . "$ac_site_file" \
2268+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2269+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2270+as_fn_error $? "failed to load site script $ac_site_file
2271+See \`config.log' for more details" "$LINENO" 5 ; }
2272+ fi
2273+done
2274+
2275+if test -r "$cache_file"; then
2276+ # Some versions of bash will fail to source /dev/null (special files
2277+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2278+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2279+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2280+$as_echo "$as_me: loading cache $cache_file" >&6;}
2281+ case $cache_file in
2282+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
2283+ *) . "./$cache_file";;
2284+ esac
2285+ fi
2286+else
2287+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2288+$as_echo "$as_me: creating cache $cache_file" >&6;}
2289+ >$cache_file
2290+fi
2291+
2292+# Check that the precious variables saved in the cache have kept the same
2293+# value.
2294+ac_cache_corrupted=false
2295+for ac_var in $ac_precious_vars; do
2296+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
2297+ eval ac_new_set=\$ac_env_${ac_var}_set
2298+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2299+ eval ac_new_val=\$ac_env_${ac_var}_value
2300+ case $ac_old_set,$ac_new_set in
2301+ set,)
2302+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2303+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2304+ ac_cache_corrupted=: ;;
2305+ ,set)
2306+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2307+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2308+ ac_cache_corrupted=: ;;
2309+ ,);;
2310+ *)
2311+ if test "x$ac_old_val" != "x$ac_new_val"; then
2312+ # differences in whitespace do not lead to failure.
2313+ ac_old_val_w=`echo x $ac_old_val`
2314+ ac_new_val_w=`echo x $ac_new_val`
2315+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
2316+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2317+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2318+ ac_cache_corrupted=:
2319+ else
2320+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2321+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2322+ eval $ac_var=\$ac_old_val
2323+ fi
2324+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2325+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2326+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2327+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2328+ fi;;
2329+ esac
2330+ # Pass precious variables to config.status.
2331+ if test "$ac_new_set" = set; then
2332+ case $ac_new_val in
2333+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2334+ *) ac_arg=$ac_var=$ac_new_val ;;
2335+ esac
2336+ case " $ac_configure_args " in
2337+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2338+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2339+ esac
2340+ fi
2341+done
2342+if $ac_cache_corrupted; then
2343+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2344+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2345+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2346+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2348+fi
2349+## -------------------- ##
2350+## Main body of script. ##
2351+## -------------------- ##
2352+
2353+ac_ext=c
2354+ac_cpp='$CPP $CPPFLAGS'
2355+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2356+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2357+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2358+
2359+
2360+
2361+
2362+ac_aux_dir=
2363+for ac_dir in config "$srcdir"/config; do
2364+ if test -f "$ac_dir/install-sh"; then
2365+ ac_aux_dir=$ac_dir
2366+ ac_install_sh="$ac_aux_dir/install-sh -c"
2367+ break
2368+ elif test -f "$ac_dir/install.sh"; then
2369+ ac_aux_dir=$ac_dir
2370+ ac_install_sh="$ac_aux_dir/install.sh -c"
2371+ break
2372+ elif test -f "$ac_dir/shtool"; then
2373+ ac_aux_dir=$ac_dir
2374+ ac_install_sh="$ac_aux_dir/shtool install -c"
2375+ break
2376+ fi
2377+done
2378+if test -z "$ac_aux_dir"; then
2379+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2380+fi
2381+
2382+# These three variables are undocumented and unsupported,
2383+# and are intended to be withdrawn in a future Autoconf release.
2384+# They can cause serious problems if a builder's source tree is in a directory
2385+# whose full name contains unusual characters.
2386+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2387+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2388+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2389+
2390+
2391+ac_config_headers="$ac_config_headers src/config.h"
2392+
2393+am__api_version='1.11'
2394+
2395+# Find a good install program. We prefer a C program (faster),
2396+# so one script is as good as another. But avoid the broken or
2397+# incompatible versions:
2398+# SysV /etc/install, /usr/sbin/install
2399+# SunOS /usr/etc/install
2400+# IRIX /sbin/install
2401+# AIX /bin/install
2402+# AmigaOS /C/install, which installs bootblocks on floppy discs
2403+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2404+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2405+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2406+# OS/2's system install, which has a completely different semantic
2407+# ./install, which can be erroneously created by make from ./install.sh.
2408+# Reject install programs that cannot install multiple files.
2409+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2410+$as_echo_n "checking for a BSD-compatible install... " >&6; }
2411+if test -z "$INSTALL"; then
2412+if test "${ac_cv_path_install+set}" = set; then :
2413+ $as_echo_n "(cached) " >&6
2414+else
2415+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2416+for as_dir in $PATH
2417+do
2418+ IFS=$as_save_IFS
2419+ test -z "$as_dir" && as_dir=.
2420+ # Account for people who put trailing slashes in PATH elements.
2421+case $as_dir/ in #((
2422+ ./ | .// | /[cC]/* | \
2423+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2424+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2425+ /usr/ucb/* ) ;;
2426+ *)
2427+ # OSF1 and SCO ODT 3.0 have their own names for install.
2428+ # Don't use installbsd from OSF since it installs stuff as root
2429+ # by default.
2430+ for ac_prog in ginstall scoinst install; do
2431+ for ac_exec_ext in '' $ac_executable_extensions; do
2432+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2433+ if test $ac_prog = install &&
2434+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2435+ # AIX install. It has an incompatible calling convention.
2436+ :
2437+ elif test $ac_prog = install &&
2438+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2439+ # program-specific install script used by HP pwplus--don't use.
2440+ :
2441+ else
2442+ rm -rf conftest.one conftest.two conftest.dir
2443+ echo one > conftest.one
2444+ echo two > conftest.two
2445+ mkdir conftest.dir
2446+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2447+ test -s conftest.one && test -s conftest.two &&
2448+ test -s conftest.dir/conftest.one &&
2449+ test -s conftest.dir/conftest.two
2450+ then
2451+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2452+ break 3
2453+ fi
2454+ fi
2455+ fi
2456+ done
2457+ done
2458+ ;;
2459+esac
2460+
2461+ done
2462+IFS=$as_save_IFS
2463+
2464+rm -rf conftest.one conftest.two conftest.dir
2465+
2466+fi
2467+ if test "${ac_cv_path_install+set}" = set; then
2468+ INSTALL=$ac_cv_path_install
2469+ else
2470+ # As a last resort, use the slow shell script. Don't cache a
2471+ # value for INSTALL within a source directory, because that will
2472+ # break other packages using the cache if that directory is
2473+ # removed, or if the value is a relative name.
2474+ INSTALL=$ac_install_sh
2475+ fi
2476+fi
2477+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2478+$as_echo "$INSTALL" >&6; }
2479+
2480+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2481+# It thinks the first close brace ends the variable substitution.
2482+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2483+
2484+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2485+
2486+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2487+
2488+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2489+$as_echo_n "checking whether build environment is sane... " >&6; }
2490+# Just in case
2491+sleep 1
2492+echo timestamp > conftest.file
2493+# Reject unsafe characters in $srcdir or the absolute working directory
2494+# name. Accept space and tab only in the latter.
2495+am_lf='
2496+'
2497+case `pwd` in
2498+ *[\\\"\#\$\&\'\`$am_lf]*)
2499+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2500+esac
2501+case $srcdir in
2502+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2503+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2504+esac
2505+
2506+# Do `set' in a subshell so we don't clobber the current shell's
2507+# arguments. Must try -L first in case configure is actually a
2508+# symlink; some systems play weird games with the mod time of symlinks
2509+# (eg FreeBSD returns the mod time of the symlink's containing
2510+# directory).
2511+if (
2512+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2513+ if test "$*" = "X"; then
2514+ # -L didn't work.
2515+ set X `ls -t "$srcdir/configure" conftest.file`
2516+ fi
2517+ rm -f conftest.file
2518+ if test "$*" != "X $srcdir/configure conftest.file" \
2519+ && test "$*" != "X conftest.file $srcdir/configure"; then
2520+
2521+ # If neither matched, then we have a broken ls. This can happen
2522+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2523+ # broken ls alias from the environment. This has actually
2524+ # happened. Such a system could not be considered "sane".
2525+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2526+alias in your environment" "$LINENO" 5
2527+ fi
2528+
2529+ test "$2" = conftest.file
2530+ )
2531+then
2532+ # Ok.
2533+ :
2534+else
2535+ as_fn_error $? "newly created file is older than distributed files!
2536+Check your system clock" "$LINENO" 5
2537+fi
2538+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539+$as_echo "yes" >&6; }
2540+test "$program_prefix" != NONE &&
2541+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
2542+# Use a double $ so make ignores it.
2543+test "$program_suffix" != NONE &&
2544+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2545+# Double any \ or $.
2546+# By default was `s,x,x', remove it if useless.
2547+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2548+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2549+
2550+# expand $ac_aux_dir to an absolute path
2551+am_aux_dir=`cd $ac_aux_dir && pwd`
2552+
2553+if test x"${MISSING+set}" != xset; then
2554+ case $am_aux_dir in
2555+ *\ * | *\ *)
2556+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2557+ *)
2558+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
2559+ esac
2560+fi
2561+# Use eval to expand $SHELL
2562+if eval "$MISSING --run true"; then
2563+ am_missing_run="$MISSING --run "
2564+else
2565+ am_missing_run=
2566+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2567+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2568+fi
2569+
2570+if test x"${install_sh}" != xset; then
2571+ case $am_aux_dir in
2572+ *\ * | *\ *)
2573+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2574+ *)
2575+ install_sh="\${SHELL} $am_aux_dir/install-sh"
2576+ esac
2577+fi
2578+
2579+# Installed binaries are usually stripped using `strip' when the user
2580+# run `make install-strip'. However `strip' might not be the right
2581+# tool to use in cross-compilation environments, therefore Automake
2582+# will honor the `STRIP' environment variable to overrule this program.
2583+if test "$cross_compiling" != no; then
2584+ if test -n "$ac_tool_prefix"; then
2585+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2586+set dummy ${ac_tool_prefix}strip; ac_word=$2
2587+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588+$as_echo_n "checking for $ac_word... " >&6; }
2589+if test "${ac_cv_prog_STRIP+set}" = set; then :
2590+ $as_echo_n "(cached) " >&6
2591+else
2592+ if test -n "$STRIP"; then
2593+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2594+else
2595+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596+for as_dir in $PATH
2597+do
2598+ IFS=$as_save_IFS
2599+ test -z "$as_dir" && as_dir=.
2600+ for ac_exec_ext in '' $ac_executable_extensions; do
2601+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2603+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604+ break 2
2605+ fi
2606+done
2607+ done
2608+IFS=$as_save_IFS
2609+
2610+fi
2611+fi
2612+STRIP=$ac_cv_prog_STRIP
2613+if test -n "$STRIP"; then
2614+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2615+$as_echo "$STRIP" >&6; }
2616+else
2617+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618+$as_echo "no" >&6; }
2619+fi
2620+
2621+
2622+fi
2623+if test -z "$ac_cv_prog_STRIP"; then
2624+ ac_ct_STRIP=$STRIP
2625+ # Extract the first word of "strip", so it can be a program name with args.
2626+set dummy strip; ac_word=$2
2627+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628+$as_echo_n "checking for $ac_word... " >&6; }
2629+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2630+ $as_echo_n "(cached) " >&6
2631+else
2632+ if test -n "$ac_ct_STRIP"; then
2633+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2634+else
2635+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636+for as_dir in $PATH
2637+do
2638+ IFS=$as_save_IFS
2639+ test -z "$as_dir" && as_dir=.
2640+ for ac_exec_ext in '' $ac_executable_extensions; do
2641+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642+ ac_cv_prog_ac_ct_STRIP="strip"
2643+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644+ break 2
2645+ fi
2646+done
2647+ done
2648+IFS=$as_save_IFS
2649+
2650+fi
2651+fi
2652+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2653+if test -n "$ac_ct_STRIP"; then
2654+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2655+$as_echo "$ac_ct_STRIP" >&6; }
2656+else
2657+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658+$as_echo "no" >&6; }
2659+fi
2660+
2661+ if test "x$ac_ct_STRIP" = x; then
2662+ STRIP=":"
2663+ else
2664+ case $cross_compiling:$ac_tool_warned in
2665+yes:)
2666+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668+ac_tool_warned=yes ;;
2669+esac
2670+ STRIP=$ac_ct_STRIP
2671+ fi
2672+else
2673+ STRIP="$ac_cv_prog_STRIP"
2674+fi
2675+
2676+fi
2677+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2678+
2679+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2680+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2681+if test -z "$MKDIR_P"; then
2682+ if test "${ac_cv_path_mkdir+set}" = set; then :
2683+ $as_echo_n "(cached) " >&6
2684+else
2685+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2687+do
2688+ IFS=$as_save_IFS
2689+ test -z "$as_dir" && as_dir=.
2690+ for ac_prog in mkdir gmkdir; do
2691+ for ac_exec_ext in '' $ac_executable_extensions; do
2692+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2693+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2694+ 'mkdir (GNU coreutils) '* | \
2695+ 'mkdir (coreutils) '* | \
2696+ 'mkdir (fileutils) '4.1*)
2697+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2698+ break 3;;
2699+ esac
2700+ done
2701+ done
2702+ done
2703+IFS=$as_save_IFS
2704+
2705+fi
2706+
2707+ test -d ./--version && rmdir ./--version
2708+ if test "${ac_cv_path_mkdir+set}" = set; then
2709+ MKDIR_P="$ac_cv_path_mkdir -p"
2710+ else
2711+ # As a last resort, use the slow shell script. Don't cache a
2712+ # value for MKDIR_P within a source directory, because that will
2713+ # break other packages using the cache if that directory is
2714+ # removed, or if the value is a relative name.
2715+ MKDIR_P="$ac_install_sh -d"
2716+ fi
2717+fi
2718+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2719+$as_echo "$MKDIR_P" >&6; }
2720+
2721+mkdir_p="$MKDIR_P"
2722+case $mkdir_p in
2723+ [\\/$]* | ?:[\\/]*) ;;
2724+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2725+esac
2726+
2727+for ac_prog in gawk mawk nawk awk
2728+do
2729+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2730+set dummy $ac_prog; ac_word=$2
2731+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732+$as_echo_n "checking for $ac_word... " >&6; }
2733+if test "${ac_cv_prog_AWK+set}" = set; then :
2734+ $as_echo_n "(cached) " >&6
2735+else
2736+ if test -n "$AWK"; then
2737+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
2738+else
2739+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740+for as_dir in $PATH
2741+do
2742+ IFS=$as_save_IFS
2743+ test -z "$as_dir" && as_dir=.
2744+ for ac_exec_ext in '' $ac_executable_extensions; do
2745+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746+ ac_cv_prog_AWK="$ac_prog"
2747+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748+ break 2
2749+ fi
2750+done
2751+ done
2752+IFS=$as_save_IFS
2753+
2754+fi
2755+fi
2756+AWK=$ac_cv_prog_AWK
2757+if test -n "$AWK"; then
2758+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2759+$as_echo "$AWK" >&6; }
2760+else
2761+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762+$as_echo "no" >&6; }
2763+fi
2764+
2765+
2766+ test -n "$AWK" && break
2767+done
2768+
2769+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2770+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2771+set x ${MAKE-make}
2772+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2773+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2774+ $as_echo_n "(cached) " >&6
2775+else
2776+ cat >conftest.make <<\_ACEOF
2777+SHELL = /bin/sh
2778+all:
2779+ @echo '@@@%%%=$(MAKE)=@@@%%%'
2780+_ACEOF
2781+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2782+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2783+ *@@@%%%=?*=@@@%%%*)
2784+ eval ac_cv_prog_make_${ac_make}_set=yes;;
2785+ *)
2786+ eval ac_cv_prog_make_${ac_make}_set=no;;
2787+esac
2788+rm -f conftest.make
2789+fi
2790+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2791+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792+$as_echo "yes" >&6; }
2793+ SET_MAKE=
2794+else
2795+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796+$as_echo "no" >&6; }
2797+ SET_MAKE="MAKE=${MAKE-make}"
2798+fi
2799+
2800+rm -rf .tst 2>/dev/null
2801+mkdir .tst 2>/dev/null
2802+if test -d .tst; then
2803+ am__leading_dot=.
2804+else
2805+ am__leading_dot=_
2806+fi
2807+rmdir .tst 2>/dev/null
2808+
2809+if test "`cd $srcdir && pwd`" != "`pwd`"; then
2810+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2811+ # is not polluted with repeated "-I."
2812+ am__isrc=' -I$(srcdir)'
2813+ # test to see if srcdir already configured
2814+ if test -f $srcdir/config.status; then
2815+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2816+ fi
2817+fi
2818+
2819+# test whether we have cygpath
2820+if test -z "$CYGPATH_W"; then
2821+ if (cygpath --version) >/dev/null 2>/dev/null; then
2822+ CYGPATH_W='cygpath -w'
2823+ else
2824+ CYGPATH_W=echo
2825+ fi
2826+fi
2827+
2828+
2829+# Define the identity of the package.
2830+ PACKAGE='lxc'
2831+ VERSION='0.7.5'
2832+
2833+
2834+cat >>confdefs.h <<_ACEOF
2835+#define PACKAGE "$PACKAGE"
2836+_ACEOF
2837+
2838+
2839+cat >>confdefs.h <<_ACEOF
2840+#define VERSION "$VERSION"
2841+_ACEOF
2842+
2843+# Some tools Automake needs.
2844+
2845+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2846+
2847+
2848+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2849+
2850+
2851+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2852+
2853+
2854+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2855+
2856+
2857+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858+
2859+# We need awk for the "check" target. The system "awk" is bad on
2860+# some platforms.
2861+# Always define AMTAR for backward compatibility.
2862+
2863+AMTAR=${AMTAR-"${am_missing_run}tar"}
2864+
2865+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2866+
2867+
2868+
2869+
2870+
2871+# Make sure we can run config.sub.
2872+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2874+
2875+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876+$as_echo_n "checking build system type... " >&6; }
2877+if test "${ac_cv_build+set}" = set; then :
2878+ $as_echo_n "(cached) " >&6
2879+else
2880+ ac_build_alias=$build_alias
2881+test "x$ac_build_alias" = x &&
2882+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883+test "x$ac_build_alias" = x &&
2884+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2885+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2887+
2888+fi
2889+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890+$as_echo "$ac_cv_build" >&6; }
2891+case $ac_cv_build in
2892+*-*-*) ;;
2893+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2894+esac
2895+build=$ac_cv_build
2896+ac_save_IFS=$IFS; IFS='-'
2897+set x $ac_cv_build
2898+shift
2899+build_cpu=$1
2900+build_vendor=$2
2901+shift; shift
2902+# Remember, the first character of IFS is used to create $*,
2903+# except with old shells:
2904+build_os=$*
2905+IFS=$ac_save_IFS
2906+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2907+
2908+
2909+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910+$as_echo_n "checking host system type... " >&6; }
2911+if test "${ac_cv_host+set}" = set; then :
2912+ $as_echo_n "(cached) " >&6
2913+else
2914+ if test "x$host_alias" = x; then
2915+ ac_cv_host=$ac_cv_build
2916+else
2917+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2919+fi
2920+
2921+fi
2922+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923+$as_echo "$ac_cv_host" >&6; }
2924+case $ac_cv_host in
2925+*-*-*) ;;
2926+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2927+esac
2928+host=$ac_cv_host
2929+ac_save_IFS=$IFS; IFS='-'
2930+set x $ac_cv_host
2931+shift
2932+host_cpu=$1
2933+host_vendor=$2
2934+shift; shift
2935+# Remember, the first character of IFS is used to create $*,
2936+# except with old shells:
2937+host_os=$*
2938+IFS=$ac_save_IFS
2939+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2940+
2941+
2942+DEPDIR="${am__leading_dot}deps"
2943+
2944+ac_config_commands="$ac_config_commands depfiles"
2945+
2946+
2947+am_make=${MAKE-make}
2948+cat > confinc << 'END'
2949+am__doit:
2950+ @echo this is the am__doit target
2951+.PHONY: am__doit
2952+END
2953+# If we don't find an include directive, just comment out the code.
2954+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2955+$as_echo_n "checking for style of include used by $am_make... " >&6; }
2956+am__include="#"
2957+am__quote=
2958+_am_result=none
2959+# First try GNU make style include.
2960+echo "include confinc" > confmf
2961+# Ignore all kinds of additional output from `make'.
2962+case `$am_make -s -f confmf 2> /dev/null` in #(
2963+*the\ am__doit\ target*)
2964+ am__include=include
2965+ am__quote=
2966+ _am_result=GNU
2967+ ;;
2968+esac
2969+# Now try BSD make style include.
2970+if test "$am__include" = "#"; then
2971+ echo '.include "confinc"' > confmf
2972+ case `$am_make -s -f confmf 2> /dev/null` in #(
2973+ *the\ am__doit\ target*)
2974+ am__include=.include
2975+ am__quote="\""
2976+ _am_result=BSD
2977+ ;;
2978+ esac
2979+fi
2980+
2981+
2982+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2983+$as_echo "$_am_result" >&6; }
2984+rm -f confinc confmf
2985+
2986+# Check whether --enable-dependency-tracking was given.
2987+if test "${enable_dependency_tracking+set}" = set; then :
2988+ enableval=$enable_dependency_tracking;
2989+fi
2990+
2991+if test "x$enable_dependency_tracking" != xno; then
2992+ am_depcomp="$ac_aux_dir/depcomp"
2993+ AMDEPBACKSLASH='\'
2994+fi
2995+ if test "x$enable_dependency_tracking" != xno; then
2996+ AMDEP_TRUE=
2997+ AMDEP_FALSE='#'
2998+else
2999+ AMDEP_TRUE='#'
3000+ AMDEP_FALSE=
3001+fi
3002+
3003+
3004+ac_ext=c
3005+ac_cpp='$CPP $CPPFLAGS'
3006+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3009+if test -n "$ac_tool_prefix"; then
3010+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3011+set dummy ${ac_tool_prefix}gcc; ac_word=$2
3012+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013+$as_echo_n "checking for $ac_word... " >&6; }
3014+if test "${ac_cv_prog_CC+set}" = set; then :
3015+ $as_echo_n "(cached) " >&6
3016+else
3017+ if test -n "$CC"; then
3018+ ac_cv_prog_CC="$CC" # Let the user override the test.
3019+else
3020+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021+for as_dir in $PATH
3022+do
3023+ IFS=$as_save_IFS
3024+ test -z "$as_dir" && as_dir=.
3025+ for ac_exec_ext in '' $ac_executable_extensions; do
3026+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
3028+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029+ break 2
3030+ fi
3031+done
3032+ done
3033+IFS=$as_save_IFS
3034+
3035+fi
3036+fi
3037+CC=$ac_cv_prog_CC
3038+if test -n "$CC"; then
3039+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3040+$as_echo "$CC" >&6; }
3041+else
3042+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043+$as_echo "no" >&6; }
3044+fi
3045+
3046+
3047+fi
3048+if test -z "$ac_cv_prog_CC"; then
3049+ ac_ct_CC=$CC
3050+ # Extract the first word of "gcc", so it can be a program name with args.
3051+set dummy gcc; ac_word=$2
3052+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053+$as_echo_n "checking for $ac_word... " >&6; }
3054+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3055+ $as_echo_n "(cached) " >&6
3056+else
3057+ if test -n "$ac_ct_CC"; then
3058+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3059+else
3060+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061+for as_dir in $PATH
3062+do
3063+ IFS=$as_save_IFS
3064+ test -z "$as_dir" && as_dir=.
3065+ for ac_exec_ext in '' $ac_executable_extensions; do
3066+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067+ ac_cv_prog_ac_ct_CC="gcc"
3068+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069+ break 2
3070+ fi
3071+done
3072+ done
3073+IFS=$as_save_IFS
3074+
3075+fi
3076+fi
3077+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3078+if test -n "$ac_ct_CC"; then
3079+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3080+$as_echo "$ac_ct_CC" >&6; }
3081+else
3082+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083+$as_echo "no" >&6; }
3084+fi
3085+
3086+ if test "x$ac_ct_CC" = x; then
3087+ CC=""
3088+ else
3089+ case $cross_compiling:$ac_tool_warned in
3090+yes:)
3091+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3092+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3093+ac_tool_warned=yes ;;
3094+esac
3095+ CC=$ac_ct_CC
3096+ fi
3097+else
3098+ CC="$ac_cv_prog_CC"
3099+fi
3100+
3101+if test -z "$CC"; then
3102+ if test -n "$ac_tool_prefix"; then
3103+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3104+set dummy ${ac_tool_prefix}cc; ac_word=$2
3105+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106+$as_echo_n "checking for $ac_word... " >&6; }
3107+if test "${ac_cv_prog_CC+set}" = set; then :
3108+ $as_echo_n "(cached) " >&6
3109+else
3110+ if test -n "$CC"; then
3111+ ac_cv_prog_CC="$CC" # Let the user override the test.
3112+else
3113+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114+for as_dir in $PATH
3115+do
3116+ IFS=$as_save_IFS
3117+ test -z "$as_dir" && as_dir=.
3118+ for ac_exec_ext in '' $ac_executable_extensions; do
3119+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3120+ ac_cv_prog_CC="${ac_tool_prefix}cc"
3121+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122+ break 2
3123+ fi
3124+done
3125+ done
3126+IFS=$as_save_IFS
3127+
3128+fi
3129+fi
3130+CC=$ac_cv_prog_CC
3131+if test -n "$CC"; then
3132+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133+$as_echo "$CC" >&6; }
3134+else
3135+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136+$as_echo "no" >&6; }
3137+fi
3138+
3139+
3140+ fi
3141+fi
3142+if test -z "$CC"; then
3143+ # Extract the first word of "cc", so it can be a program name with args.
3144+set dummy cc; ac_word=$2
3145+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146+$as_echo_n "checking for $ac_word... " >&6; }
3147+if test "${ac_cv_prog_CC+set}" = set; then :
3148+ $as_echo_n "(cached) " >&6
3149+else
3150+ if test -n "$CC"; then
3151+ ac_cv_prog_CC="$CC" # Let the user override the test.
3152+else
3153+ ac_prog_rejected=no
3154+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155+for as_dir in $PATH
3156+do
3157+ IFS=$as_save_IFS
3158+ test -z "$as_dir" && as_dir=.
3159+ for ac_exec_ext in '' $ac_executable_extensions; do
3160+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3162+ ac_prog_rejected=yes
3163+ continue
3164+ fi
3165+ ac_cv_prog_CC="cc"
3166+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167+ break 2
3168+ fi
3169+done
3170+ done
3171+IFS=$as_save_IFS
3172+
3173+if test $ac_prog_rejected = yes; then
3174+ # We found a bogon in the path, so make sure we never use it.
3175+ set dummy $ac_cv_prog_CC
3176+ shift
3177+ if test $# != 0; then
3178+ # We chose a different compiler from the bogus one.
3179+ # However, it has the same basename, so the bogon will be chosen
3180+ # first if we set CC to just the basename; use the full file name.
3181+ shift
3182+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3183+ fi
3184+fi
3185+fi
3186+fi
3187+CC=$ac_cv_prog_CC
3188+if test -n "$CC"; then
3189+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190+$as_echo "$CC" >&6; }
3191+else
3192+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193+$as_echo "no" >&6; }
3194+fi
3195+
3196+
3197+fi
3198+if test -z "$CC"; then
3199+ if test -n "$ac_tool_prefix"; then
3200+ for ac_prog in cl.exe
3201+ do
3202+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3203+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3204+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205+$as_echo_n "checking for $ac_word... " >&6; }
3206+if test "${ac_cv_prog_CC+set}" = set; then :
3207+ $as_echo_n "(cached) " >&6
3208+else
3209+ if test -n "$CC"; then
3210+ ac_cv_prog_CC="$CC" # Let the user override the test.
3211+else
3212+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213+for as_dir in $PATH
3214+do
3215+ IFS=$as_save_IFS
3216+ test -z "$as_dir" && as_dir=.
3217+ for ac_exec_ext in '' $ac_executable_extensions; do
3218+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3219+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3220+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221+ break 2
3222+ fi
3223+done
3224+ done
3225+IFS=$as_save_IFS
3226+
3227+fi
3228+fi
3229+CC=$ac_cv_prog_CC
3230+if test -n "$CC"; then
3231+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3232+$as_echo "$CC" >&6; }
3233+else
3234+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235+$as_echo "no" >&6; }
3236+fi
3237+
3238+
3239+ test -n "$CC" && break
3240+ done
3241+fi
3242+if test -z "$CC"; then
3243+ ac_ct_CC=$CC
3244+ for ac_prog in cl.exe
3245+do
3246+ # Extract the first word of "$ac_prog", so it can be a program name with args.
3247+set dummy $ac_prog; ac_word=$2
3248+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249+$as_echo_n "checking for $ac_word... " >&6; }
3250+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3251+ $as_echo_n "(cached) " >&6
3252+else
3253+ if test -n "$ac_ct_CC"; then
3254+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3255+else
3256+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257+for as_dir in $PATH
3258+do
3259+ IFS=$as_save_IFS
3260+ test -z "$as_dir" && as_dir=.
3261+ for ac_exec_ext in '' $ac_executable_extensions; do
3262+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263+ ac_cv_prog_ac_ct_CC="$ac_prog"
3264+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265+ break 2
3266+ fi
3267+done
3268+ done
3269+IFS=$as_save_IFS
3270+
3271+fi
3272+fi
3273+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3274+if test -n "$ac_ct_CC"; then
3275+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3276+$as_echo "$ac_ct_CC" >&6; }
3277+else
3278+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279+$as_echo "no" >&6; }
3280+fi
3281+
3282+
3283+ test -n "$ac_ct_CC" && break
3284+done
3285+
3286+ if test "x$ac_ct_CC" = x; then
3287+ CC=""
3288+ else
3289+ case $cross_compiling:$ac_tool_warned in
3290+yes:)
3291+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3292+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3293+ac_tool_warned=yes ;;
3294+esac
3295+ CC=$ac_ct_CC
3296+ fi
3297+fi
3298+
3299+fi
3300+
3301+
3302+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304+as_fn_error $? "no acceptable C compiler found in \$PATH
3305+See \`config.log' for more details" "$LINENO" 5 ; }
3306+
3307+# Provide some information about the compiler.
3308+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3309+set X $ac_compile
3310+ac_compiler=$2
3311+for ac_option in --version -v -V -qversion; do
3312+ { { ac_try="$ac_compiler $ac_option >&5"
3313+case "(($ac_try" in
3314+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315+ *) ac_try_echo=$ac_try;;
3316+esac
3317+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318+$as_echo "$ac_try_echo"; } >&5
3319+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3320+ ac_status=$?
3321+ if test -s conftest.err; then
3322+ sed '10a\
3323+... rest of stderr output deleted ...
3324+ 10q' conftest.err >conftest.er1
3325+ cat conftest.er1 >&5
3326+ fi
3327+ rm -f conftest.er1 conftest.err
3328+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329+ test $ac_status = 0; }
3330+done
3331+
3332+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333+/* end confdefs.h. */
3334+
3335+int
3336+main ()
3337+{
3338+
3339+ ;
3340+ return 0;
3341+}
3342+_ACEOF
3343+ac_clean_files_save=$ac_clean_files
3344+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3345+# Try to create an executable without -o first, disregard a.out.
3346+# It will help us diagnose broken compilers, and finding out an intuition
3347+# of exeext.
3348+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3349+$as_echo_n "checking whether the C compiler works... " >&6; }
3350+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3351+
3352+# The possible output files:
3353+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3354+
3355+ac_rmfiles=
3356+for ac_file in $ac_files
3357+do
3358+ case $ac_file in
3359+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3360+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3361+ esac
3362+done
3363+rm -f $ac_rmfiles
3364+
3365+if { { ac_try="$ac_link_default"
3366+case "(($ac_try" in
3367+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368+ *) ac_try_echo=$ac_try;;
3369+esac
3370+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371+$as_echo "$ac_try_echo"; } >&5
3372+ (eval "$ac_link_default") 2>&5
3373+ ac_status=$?
3374+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375+ test $ac_status = 0; }; then :
3376+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3377+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3378+# in a Makefile. We should not override ac_cv_exeext if it was cached,
3379+# so that the user can short-circuit this test for compilers unknown to
3380+# Autoconf.
3381+for ac_file in $ac_files ''
3382+do
3383+ test -f "$ac_file" || continue
3384+ case $ac_file in
3385+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3386+ ;;
3387+ [ab].out )
3388+ # We found the default executable, but exeext='' is most
3389+ # certainly right.
3390+ break;;
3391+ *.* )
3392+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3393+ then :; else
3394+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395+ fi
3396+ # We set ac_cv_exeext here because the later test for it is not
3397+ # safe: cross compilers may not add the suffix if given an `-o'
3398+ # argument, so we may need to know it at that point already.
3399+ # Even if this section looks crufty: it has the advantage of
3400+ # actually working.
3401+ break;;
3402+ * )
3403+ break;;
3404+ esac
3405+done
3406+test "$ac_cv_exeext" = no && ac_cv_exeext=
3407+
3408+else
3409+ ac_file=''
3410+fi
3411+if test -z "$ac_file"; then :
3412+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413+$as_echo "no" >&6; }
3414+$as_echo "$as_me: failed program was:" >&5
3415+sed 's/^/| /' conftest.$ac_ext >&5
3416+
3417+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419+as_fn_error 77 "C compiler cannot create executables
3420+See \`config.log' for more details" "$LINENO" 5 ; }
3421+else
3422+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423+$as_echo "yes" >&6; }
3424+fi
3425+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3426+$as_echo_n "checking for C compiler default output file name... " >&6; }
3427+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3428+$as_echo "$ac_file" >&6; }
3429+ac_exeext=$ac_cv_exeext
3430+
3431+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3432+ac_clean_files=$ac_clean_files_save
3433+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3434+$as_echo_n "checking for suffix of executables... " >&6; }
3435+if { { ac_try="$ac_link"
3436+case "(($ac_try" in
3437+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438+ *) ac_try_echo=$ac_try;;
3439+esac
3440+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441+$as_echo "$ac_try_echo"; } >&5
3442+ (eval "$ac_link") 2>&5
3443+ ac_status=$?
3444+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445+ test $ac_status = 0; }; then :
3446+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
3447+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3448+# work properly (i.e., refer to `conftest.exe'), while it won't with
3449+# `rm'.
3450+for ac_file in conftest.exe conftest conftest.*; do
3451+ test -f "$ac_file" || continue
3452+ case $ac_file in
3453+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3454+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3455+ break;;
3456+ * ) break;;
3457+ esac
3458+done
3459+else
3460+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3463+See \`config.log' for more details" "$LINENO" 5 ; }
3464+fi
3465+rm -f conftest conftest$ac_cv_exeext
3466+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3467+$as_echo "$ac_cv_exeext" >&6; }
3468+
3469+rm -f conftest.$ac_ext
3470+EXEEXT=$ac_cv_exeext
3471+ac_exeext=$EXEEXT
3472+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473+/* end confdefs.h. */
3474+#include <stdio.h>
3475+int
3476+main ()
3477+{
3478+FILE *f = fopen ("conftest.out", "w");
3479+ return ferror (f) || fclose (f) != 0;
3480+
3481+ ;
3482+ return 0;
3483+}
3484+_ACEOF
3485+ac_clean_files="$ac_clean_files conftest.out"
3486+# Check that the compiler produces executables we can run. If not, either
3487+# the compiler is broken, or we cross compile.
3488+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3489+$as_echo_n "checking whether we are cross compiling... " >&6; }
3490+if test "$cross_compiling" != yes; then
3491+ { { ac_try="$ac_link"
3492+case "(($ac_try" in
3493+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494+ *) ac_try_echo=$ac_try;;
3495+esac
3496+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497+$as_echo "$ac_try_echo"; } >&5
3498+ (eval "$ac_link") 2>&5
3499+ ac_status=$?
3500+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501+ test $ac_status = 0; }
3502+ if { ac_try='./conftest$ac_cv_exeext'
3503+ { { case "(($ac_try" in
3504+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505+ *) ac_try_echo=$ac_try;;
3506+esac
3507+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508+$as_echo "$ac_try_echo"; } >&5
3509+ (eval "$ac_try") 2>&5
3510+ ac_status=$?
3511+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512+ test $ac_status = 0; }; }; then
3513+ cross_compiling=no
3514+ else
3515+ if test "$cross_compiling" = maybe; then
3516+ cross_compiling=yes
3517+ else
3518+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520+as_fn_error $? "cannot run C compiled programs.
3521+If you meant to cross compile, use \`--host'.
3522+See \`config.log' for more details" "$LINENO" 5 ; }
3523+ fi
3524+ fi
3525+fi
3526+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3527+$as_echo "$cross_compiling" >&6; }
3528+
3529+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3530+ac_clean_files=$ac_clean_files_save
3531+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3532+$as_echo_n "checking for suffix of object files... " >&6; }
3533+if test "${ac_cv_objext+set}" = set; then :
3534+ $as_echo_n "(cached) " >&6
3535+else
3536+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537+/* end confdefs.h. */
3538+
3539+int
3540+main ()
3541+{
3542+
3543+ ;
3544+ return 0;
3545+}
3546+_ACEOF
3547+rm -f conftest.o conftest.obj
3548+if { { ac_try="$ac_compile"
3549+case "(($ac_try" in
3550+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551+ *) ac_try_echo=$ac_try;;
3552+esac
3553+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3554+$as_echo "$ac_try_echo"; } >&5
3555+ (eval "$ac_compile") 2>&5
3556+ ac_status=$?
3557+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558+ test $ac_status = 0; }; then :
3559+ for ac_file in conftest.o conftest.obj conftest.*; do
3560+ test -f "$ac_file" || continue;
3561+ case $ac_file in
3562+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3563+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3564+ break;;
3565+ esac
3566+done
3567+else
3568+ $as_echo "$as_me: failed program was:" >&5
3569+sed 's/^/| /' conftest.$ac_ext >&5
3570+
3571+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573+as_fn_error $? "cannot compute suffix of object files: cannot compile
3574+See \`config.log' for more details" "$LINENO" 5 ; }
3575+fi
3576+rm -f conftest.$ac_cv_objext conftest.$ac_ext
3577+fi
3578+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3579+$as_echo "$ac_cv_objext" >&6; }
3580+OBJEXT=$ac_cv_objext
3581+ac_objext=$OBJEXT
3582+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3583+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3584+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3585+ $as_echo_n "(cached) " >&6
3586+else
3587+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588+/* end confdefs.h. */
3589+
3590+int
3591+main ()
3592+{
3593+#ifndef __GNUC__
3594+ choke me
3595+#endif
3596+
3597+ ;
3598+ return 0;
3599+}
3600+_ACEOF
3601+if ac_fn_c_try_compile "$LINENO"; then :
3602+ ac_compiler_gnu=yes
3603+else
3604+ ac_compiler_gnu=no
3605+fi
3606+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3608+
3609+fi
3610+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3611+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3612+if test $ac_compiler_gnu = yes; then
3613+ GCC=yes
3614+else
3615+ GCC=
3616+fi
3617+ac_test_CFLAGS=${CFLAGS+set}
3618+ac_save_CFLAGS=$CFLAGS
3619+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3620+$as_echo_n "checking whether $CC accepts -g... " >&6; }
3621+if test "${ac_cv_prog_cc_g+set}" = set; then :
3622+ $as_echo_n "(cached) " >&6
3623+else
3624+ ac_save_c_werror_flag=$ac_c_werror_flag
3625+ ac_c_werror_flag=yes
3626+ ac_cv_prog_cc_g=no
3627+ CFLAGS="-g"
3628+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629+/* end confdefs.h. */
3630+
3631+int
3632+main ()
3633+{
3634+
3635+ ;
3636+ return 0;
3637+}
3638+_ACEOF
3639+if ac_fn_c_try_compile "$LINENO"; then :
3640+ ac_cv_prog_cc_g=yes
3641+else
3642+ CFLAGS=""
3643+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644+/* end confdefs.h. */
3645+
3646+int
3647+main ()
3648+{
3649+
3650+ ;
3651+ return 0;
3652+}
3653+_ACEOF
3654+if ac_fn_c_try_compile "$LINENO"; then :
3655+
3656+else
3657+ ac_c_werror_flag=$ac_save_c_werror_flag
3658+ CFLAGS="-g"
3659+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660+/* end confdefs.h. */
3661+
3662+int
3663+main ()
3664+{
3665+
3666+ ;
3667+ return 0;
3668+}
3669+_ACEOF
3670+if ac_fn_c_try_compile "$LINENO"; then :
3671+ ac_cv_prog_cc_g=yes
3672+fi
3673+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674+fi
3675+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676+fi
3677+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678+ ac_c_werror_flag=$ac_save_c_werror_flag
3679+fi
3680+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3681+$as_echo "$ac_cv_prog_cc_g" >&6; }
3682+if test "$ac_test_CFLAGS" = set; then
3683+ CFLAGS=$ac_save_CFLAGS
3684+elif test $ac_cv_prog_cc_g = yes; then
3685+ if test "$GCC" = yes; then
3686+ CFLAGS="-g -O2"
3687+ else
3688+ CFLAGS="-g"
3689+ fi
3690+else
3691+ if test "$GCC" = yes; then
3692+ CFLAGS="-O2"
3693+ else
3694+ CFLAGS=
3695+ fi
3696+fi
3697+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3698+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3699+if test "${ac_cv_prog_cc_c89+set}" = set; then :
3700+ $as_echo_n "(cached) " >&6
3701+else
3702+ ac_cv_prog_cc_c89=no
3703+ac_save_CC=$CC
3704+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705+/* end confdefs.h. */
3706+#include <stdarg.h>
3707+#include <stdio.h>
3708+#include <sys/types.h>
3709+#include <sys/stat.h>
3710+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3711+struct buf { int x; };
3712+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3713+static char *e (p, i)
3714+ char **p;
3715+ int i;
3716+{
3717+ return p[i];
3718+}
3719+static char *f (char * (*g) (char **, int), char **p, ...)
3720+{
3721+ char *s;
3722+ va_list v;
3723+ va_start (v,p);
3724+ s = g (p, va_arg (v,int));
3725+ va_end (v);
3726+ return s;
3727+}
3728+
3729+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3730+ function prototypes and stuff, but not '\xHH' hex character constants.
3731+ These don't provoke an error unfortunately, instead are silently treated
3732+ as 'x'. The following induces an error, until -std is added to get
3733+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3734+ array size at least. It's necessary to write '\x00'==0 to get something
3735+ that's true only with -std. */
3736+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3737+
3738+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3739+ inside strings and character constants. */
3740+#define FOO(x) 'x'
3741+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3742+
3743+int test (int i, double x);
3744+struct s1 {int (*f) (int a);};
3745+struct s2 {int (*f) (double a);};
3746+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3747+int argc;
3748+char **argv;
3749+int
3750+main ()
3751+{
3752+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3753+ ;
3754+ return 0;
3755+}
3756+_ACEOF
3757+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3758+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3759+do
3760+ CC="$ac_save_CC $ac_arg"
3761+ if ac_fn_c_try_compile "$LINENO"; then :
3762+ ac_cv_prog_cc_c89=$ac_arg
3763+fi
3764+rm -f core conftest.err conftest.$ac_objext
3765+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3766+done
3767+rm -f conftest.$ac_ext
3768+CC=$ac_save_CC
3769+
3770+fi
3771+# AC_CACHE_VAL
3772+case "x$ac_cv_prog_cc_c89" in
3773+ x)
3774+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3775+$as_echo "none needed" >&6; } ;;
3776+ xno)
3777+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3778+$as_echo "unsupported" >&6; } ;;
3779+ *)
3780+ CC="$CC $ac_cv_prog_cc_c89"
3781+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3782+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3783+esac
3784+if test "x$ac_cv_prog_cc_c89" != xno; then :
3785+
3786+fi
3787+
3788+ac_ext=c
3789+ac_cpp='$CPP $CPPFLAGS'
3790+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793+
3794+depcc="$CC" am_compiler_list=
3795+
3796+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3797+$as_echo_n "checking dependency style of $depcc... " >&6; }
3798+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3799+ $as_echo_n "(cached) " >&6
3800+else
3801+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3802+ # We make a subdir and do the tests there. Otherwise we can end up
3803+ # making bogus files that we don't know about and never remove. For
3804+ # instance it was reported that on HP-UX the gcc test will end up
3805+ # making a dummy file named `D' -- because `-MD' means `put the output
3806+ # in D'.
3807+ mkdir conftest.dir
3808+ # Copy depcomp to subdir because otherwise we won't find it if we're
3809+ # using a relative directory.
3810+ cp "$am_depcomp" conftest.dir
3811+ cd conftest.dir
3812+ # We will build objects and dependencies in a subdirectory because
3813+ # it helps to detect inapplicable dependency modes. For instance
3814+ # both Tru64's cc and ICC support -MD to output dependencies as a
3815+ # side effect of compilation, but ICC will put the dependencies in
3816+ # the current directory while Tru64 will put them in the object
3817+ # directory.
3818+ mkdir sub
3819+
3820+ am_cv_CC_dependencies_compiler_type=none
3821+ if test "$am_compiler_list" = ""; then
3822+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3823+ fi
3824+ am__universal=false
3825+ case " $depcc " in #(
3826+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3827+ esac
3828+
3829+ for depmode in $am_compiler_list; do
3830+ # Setup a source with many dependencies, because some compilers
3831+ # like to wrap large dependency lists on column 80 (with \), and
3832+ # we should not choose a depcomp mode which is confused by this.
3833+ #
3834+ # We need to recreate these files for each test, as the compiler may
3835+ # overwrite some of them when testing with obscure command lines.
3836+ # This happens at least with the AIX C compiler.
3837+ : > sub/conftest.c
3838+ for i in 1 2 3 4 5 6; do
3839+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3840+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3841+ # Solaris 8's {/usr,}/bin/sh.
3842+ touch sub/conftst$i.h
3843+ done
3844+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3845+
3846+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3847+ # mode. It turns out that the SunPro C++ compiler does not properly
3848+ # handle `-M -o', and we need to detect this. Also, some Intel
3849+ # versions had trouble with output in subdirs
3850+ am__obj=sub/conftest.${OBJEXT-o}
3851+ am__minus_obj="-o $am__obj"
3852+ case $depmode in
3853+ gcc)
3854+ # This depmode causes a compiler race in universal mode.
3855+ test "$am__universal" = false || continue
3856+ ;;
3857+ nosideeffect)
3858+ # after this tag, mechanisms are not by side-effect, so they'll
3859+ # only be used when explicitly requested
3860+ if test "x$enable_dependency_tracking" = xyes; then
3861+ continue
3862+ else
3863+ break
3864+ fi
3865+ ;;
3866+ msvisualcpp | msvcmsys)
3867+ # This compiler won't grok `-c -o', but also, the minuso test has
3868+ # not run yet. These depmodes are late enough in the game, and
3869+ # so weak that their functioning should not be impacted.
3870+ am__obj=conftest.${OBJEXT-o}
3871+ am__minus_obj=
3872+ ;;
3873+ none) break ;;
3874+ esac
3875+ if depmode=$depmode \
3876+ source=sub/conftest.c object=$am__obj \
3877+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3878+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3879+ >/dev/null 2>conftest.err &&
3880+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3881+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3882+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3883+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3884+ # icc doesn't choke on unknown options, it will just issue warnings
3885+ # or remarks (even with -Werror). So we grep stderr for any message
3886+ # that says an option was ignored or not supported.
3887+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3888+ # icc: Command line warning: ignoring option '-M'; no argument required
3889+ # The diagnosis changed in icc 8.0:
3890+ # icc: Command line remark: option '-MP' not supported
3891+ if (grep 'ignoring option' conftest.err ||
3892+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3893+ am_cv_CC_dependencies_compiler_type=$depmode
3894+ break
3895+ fi
3896+ fi
3897+ done
3898+
3899+ cd ..
3900+ rm -rf conftest.dir
3901+else
3902+ am_cv_CC_dependencies_compiler_type=none
3903+fi
3904+
3905+fi
3906+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3907+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3908+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3909+
3910+ if
3911+ test "x$enable_dependency_tracking" != xno \
3912+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3913+ am__fastdepCC_TRUE=
3914+ am__fastdepCC_FALSE='#'
3915+else
3916+ am__fastdepCC_TRUE='#'
3917+ am__fastdepCC_FALSE=
3918+fi
3919+
3920+
3921+if test "x$CC" != xcc; then
3922+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3923+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3924+else
3925+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3926+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3927+fi
3928+set dummy $CC; ac_cc=`$as_echo "$2" |
3929+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3930+if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3931+ $as_echo_n "(cached) " >&6
3932+else
3933+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934+/* end confdefs.h. */
3935+
3936+int
3937+main ()
3938+{
3939+
3940+ ;
3941+ return 0;
3942+}
3943+_ACEOF
3944+# Make sure it works both with $CC and with simple cc.
3945+# We do the test twice because some compilers refuse to overwrite an
3946+# existing .o file with -o, though they will create one.
3947+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3948+rm -f conftest2.*
3949+if { { case "(($ac_try" in
3950+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951+ *) ac_try_echo=$ac_try;;
3952+esac
3953+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954+$as_echo "$ac_try_echo"; } >&5
3955+ (eval "$ac_try") 2>&5
3956+ ac_status=$?
3957+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958+ test $ac_status = 0; } &&
3959+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
3960+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961+ *) ac_try_echo=$ac_try;;
3962+esac
3963+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964+$as_echo "$ac_try_echo"; } >&5
3965+ (eval "$ac_try") 2>&5
3966+ ac_status=$?
3967+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968+ test $ac_status = 0; };
3969+then
3970+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3971+ if test "x$CC" != xcc; then
3972+ # Test first that cc exists at all.
3973+ if { ac_try='cc -c conftest.$ac_ext >&5'
3974+ { { case "(($ac_try" in
3975+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976+ *) ac_try_echo=$ac_try;;
3977+esac
3978+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979+$as_echo "$ac_try_echo"; } >&5
3980+ (eval "$ac_try") 2>&5
3981+ ac_status=$?
3982+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983+ test $ac_status = 0; }; }; then
3984+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3985+ rm -f conftest2.*
3986+ if { { case "(($ac_try" in
3987+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988+ *) ac_try_echo=$ac_try;;
3989+esac
3990+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991+$as_echo "$ac_try_echo"; } >&5
3992+ (eval "$ac_try") 2>&5
3993+ ac_status=$?
3994+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995+ test $ac_status = 0; } &&
3996+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
3997+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998+ *) ac_try_echo=$ac_try;;
3999+esac
4000+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001+$as_echo "$ac_try_echo"; } >&5
4002+ (eval "$ac_try") 2>&5
4003+ ac_status=$?
4004+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005+ test $ac_status = 0; };
4006+ then
4007+ # cc works too.
4008+ :
4009+ else
4010+ # cc exists but doesn't like -o.
4011+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
4012+ fi
4013+ fi
4014+ fi
4015+else
4016+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
4017+fi
4018+rm -f core conftest*
4019+
4020+fi
4021+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4022+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4023+$as_echo "yes" >&6; }
4024+else
4025+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026+$as_echo "no" >&6; }
4027+
4028+$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4029+
4030+fi
4031+
4032+# FIXME: we rely on the cache variable name because
4033+# there is no other way.
4034+set dummy $CC
4035+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4036+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4037+if test "$am_t" != yes; then
4038+ # Losing compiler, so override with the script.
4039+ # FIXME: It is wrong to rewrite CC.
4040+ # But if we don't then we get into trouble of one sort or another.
4041+ # A longer-term fix would be to have automake use am__CC in this case,
4042+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4043+ CC="$am_aux_dir/compile $CC"
4044+fi
4045+
4046+
4047+
4048+ac_ext=c
4049+ac_cpp='$CPP $CPPFLAGS'
4050+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4054+$as_echo_n "checking how to run the C preprocessor... " >&6; }
4055+# On Suns, sometimes $CPP names a directory.
4056+if test -n "$CPP" && test -d "$CPP"; then
4057+ CPP=
4058+fi
4059+if test -z "$CPP"; then
4060+ if test "${ac_cv_prog_CPP+set}" = set; then :
4061+ $as_echo_n "(cached) " >&6
4062+else
4063+ # Double quotes because CPP needs to be expanded
4064+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4065+ do
4066+ ac_preproc_ok=false
4067+for ac_c_preproc_warn_flag in '' yes
4068+do
4069+ # Use a header file that comes with gcc, so configuring glibc
4070+ # with a fresh cross-compiler works.
4071+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4072+ # <limits.h> exists even on freestanding compilers.
4073+ # On the NeXT, cc -E runs the code through the compiler's parser,
4074+ # not just through cpp. "Syntax error" is here to catch this case.
4075+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076+/* end confdefs.h. */
4077+#ifdef __STDC__
4078+# include <limits.h>
4079+#else
4080+# include <assert.h>
4081+#endif
4082+ Syntax error
4083+_ACEOF
4084+if ac_fn_c_try_cpp "$LINENO"; then :
4085+
4086+else
4087+ # Broken: fails on valid input.
4088+continue
4089+fi
4090+rm -f conftest.err conftest.i conftest.$ac_ext
4091+
4092+ # OK, works on sane cases. Now check whether nonexistent headers
4093+ # can be detected and how.
4094+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095+/* end confdefs.h. */
4096+#include <ac_nonexistent.h>
4097+_ACEOF
4098+if ac_fn_c_try_cpp "$LINENO"; then :
4099+ # Broken: success on invalid input.
4100+continue
4101+else
4102+ # Passes both tests.
4103+ac_preproc_ok=:
4104+break
4105+fi
4106+rm -f conftest.err conftest.i conftest.$ac_ext
4107+
4108+done
4109+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4110+rm -f conftest.i conftest.err conftest.$ac_ext
4111+if $ac_preproc_ok; then :
4112+ break
4113+fi
4114+
4115+ done
4116+ ac_cv_prog_CPP=$CPP
4117+
4118+fi
4119+ CPP=$ac_cv_prog_CPP
4120+else
4121+ ac_cv_prog_CPP=$CPP
4122+fi
4123+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4124+$as_echo "$CPP" >&6; }
4125+ac_preproc_ok=false
4126+for ac_c_preproc_warn_flag in '' yes
4127+do
4128+ # Use a header file that comes with gcc, so configuring glibc
4129+ # with a fresh cross-compiler works.
4130+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4131+ # <limits.h> exists even on freestanding compilers.
4132+ # On the NeXT, cc -E runs the code through the compiler's parser,
4133+ # not just through cpp. "Syntax error" is here to catch this case.
4134+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135+/* end confdefs.h. */
4136+#ifdef __STDC__
4137+# include <limits.h>
4138+#else
4139+# include <assert.h>
4140+#endif
4141+ Syntax error
4142+_ACEOF
4143+if ac_fn_c_try_cpp "$LINENO"; then :
4144+
4145+else
4146+ # Broken: fails on valid input.
4147+continue
4148+fi
4149+rm -f conftest.err conftest.i conftest.$ac_ext
4150+
4151+ # OK, works on sane cases. Now check whether nonexistent headers
4152+ # can be detected and how.
4153+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154+/* end confdefs.h. */
4155+#include <ac_nonexistent.h>
4156+_ACEOF
4157+if ac_fn_c_try_cpp "$LINENO"; then :
4158+ # Broken: success on invalid input.
4159+continue
4160+else
4161+ # Passes both tests.
4162+ac_preproc_ok=:
4163+break
4164+fi
4165+rm -f conftest.err conftest.i conftest.$ac_ext
4166+
4167+done
4168+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4169+rm -f conftest.i conftest.err conftest.$ac_ext
4170+if $ac_preproc_ok; then :
4171+
4172+else
4173+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4176+See \`config.log' for more details" "$LINENO" 5 ; }
4177+fi
4178+
4179+ac_ext=c
4180+ac_cpp='$CPP $CPPFLAGS'
4181+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4182+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4183+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4184+
4185+
4186+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4187+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4188+if test "${ac_cv_path_GREP+set}" = set; then :
4189+ $as_echo_n "(cached) " >&6
4190+else
4191+ if test -z "$GREP"; then
4192+ ac_path_GREP_found=false
4193+ # Loop through the user's path and test for each of PROGNAME-LIST
4194+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4196+do
4197+ IFS=$as_save_IFS
4198+ test -z "$as_dir" && as_dir=.
4199+ for ac_prog in grep ggrep; do
4200+ for ac_exec_ext in '' $ac_executable_extensions; do
4201+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4202+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4203+# Check for GNU ac_path_GREP and select it if it is found.
4204+ # Check for GNU $ac_path_GREP
4205+case `"$ac_path_GREP" --version 2>&1` in
4206+*GNU*)
4207+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4208+*)
4209+ ac_count=0
4210+ $as_echo_n 0123456789 >"conftest.in"
4211+ while :
4212+ do
4213+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4214+ mv "conftest.tmp" "conftest.in"
4215+ cp "conftest.in" "conftest.nl"
4216+ $as_echo 'GREP' >> "conftest.nl"
4217+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4218+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4219+ as_fn_arith $ac_count + 1 && ac_count=$as_val
4220+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
4221+ # Best one so far, save it but keep looking for a better one
4222+ ac_cv_path_GREP="$ac_path_GREP"
4223+ ac_path_GREP_max=$ac_count
4224+ fi
4225+ # 10*(2^10) chars as input seems more than enough
4226+ test $ac_count -gt 10 && break
4227+ done
4228+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4229+esac
4230+
4231+ $ac_path_GREP_found && break 3
4232+ done
4233+ done
4234+ done
4235+IFS=$as_save_IFS
4236+ if test -z "$ac_cv_path_GREP"; then
4237+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4238+ fi
4239+else
4240+ ac_cv_path_GREP=$GREP
4241+fi
4242+
4243+fi
4244+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4245+$as_echo "$ac_cv_path_GREP" >&6; }
4246+ GREP="$ac_cv_path_GREP"
4247+
4248+
4249+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4250+$as_echo_n "checking for egrep... " >&6; }
4251+if test "${ac_cv_path_EGREP+set}" = set; then :
4252+ $as_echo_n "(cached) " >&6
4253+else
4254+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4255+ then ac_cv_path_EGREP="$GREP -E"
4256+ else
4257+ if test -z "$EGREP"; then
4258+ ac_path_EGREP_found=false
4259+ # Loop through the user's path and test for each of PROGNAME-LIST
4260+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4262+do
4263+ IFS=$as_save_IFS
4264+ test -z "$as_dir" && as_dir=.
4265+ for ac_prog in egrep; do
4266+ for ac_exec_ext in '' $ac_executable_extensions; do
4267+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4268+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4269+# Check for GNU ac_path_EGREP and select it if it is found.
4270+ # Check for GNU $ac_path_EGREP
4271+case `"$ac_path_EGREP" --version 2>&1` in
4272+*GNU*)
4273+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4274+*)
4275+ ac_count=0
4276+ $as_echo_n 0123456789 >"conftest.in"
4277+ while :
4278+ do
4279+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4280+ mv "conftest.tmp" "conftest.in"
4281+ cp "conftest.in" "conftest.nl"
4282+ $as_echo 'EGREP' >> "conftest.nl"
4283+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4284+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4285+ as_fn_arith $ac_count + 1 && ac_count=$as_val
4286+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4287+ # Best one so far, save it but keep looking for a better one
4288+ ac_cv_path_EGREP="$ac_path_EGREP"
4289+ ac_path_EGREP_max=$ac_count
4290+ fi
4291+ # 10*(2^10) chars as input seems more than enough
4292+ test $ac_count -gt 10 && break
4293+ done
4294+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4295+esac
4296+
4297+ $ac_path_EGREP_found && break 3
4298+ done
4299+ done
4300+ done
4301+IFS=$as_save_IFS
4302+ if test -z "$ac_cv_path_EGREP"; then
4303+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4304+ fi
4305+else
4306+ ac_cv_path_EGREP=$EGREP
4307+fi
4308+
4309+ fi
4310+fi
4311+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4312+$as_echo "$ac_cv_path_EGREP" >&6; }
4313+ EGREP="$ac_cv_path_EGREP"
4314+
4315+
4316+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4317+$as_echo_n "checking for ANSI C header files... " >&6; }
4318+if test "${ac_cv_header_stdc+set}" = set; then :
4319+ $as_echo_n "(cached) " >&6
4320+else
4321+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322+/* end confdefs.h. */
4323+#include <stdlib.h>
4324+#include <stdarg.h>
4325+#include <string.h>
4326+#include <float.h>
4327+
4328+int
4329+main ()
4330+{
4331+
4332+ ;
4333+ return 0;
4334+}
4335+_ACEOF
4336+if ac_fn_c_try_compile "$LINENO"; then :
4337+ ac_cv_header_stdc=yes
4338+else
4339+ ac_cv_header_stdc=no
4340+fi
4341+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342+
4343+if test $ac_cv_header_stdc = yes; then
4344+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4345+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346+/* end confdefs.h. */
4347+#include <string.h>
4348+
4349+_ACEOF
4350+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4351+ $EGREP "memchr" >/dev/null 2>&1; then :
4352+
4353+else
4354+ ac_cv_header_stdc=no
4355+fi
4356+rm -f conftest*
4357+
4358+fi
4359+
4360+if test $ac_cv_header_stdc = yes; then
4361+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4362+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363+/* end confdefs.h. */
4364+#include <stdlib.h>
4365+
4366+_ACEOF
4367+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4368+ $EGREP "free" >/dev/null 2>&1; then :
4369+
4370+else
4371+ ac_cv_header_stdc=no
4372+fi
4373+rm -f conftest*
4374+
4375+fi
4376+
4377+if test $ac_cv_header_stdc = yes; then
4378+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4379+ if test "$cross_compiling" = yes; then :
4380+ :
4381+else
4382+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383+/* end confdefs.h. */
4384+#include <ctype.h>
4385+#include <stdlib.h>
4386+#if ((' ' & 0x0FF) == 0x020)
4387+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4388+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4389+#else
4390+# define ISLOWER(c) \
4391+ (('a' <= (c) && (c) <= 'i') \
4392+ || ('j' <= (c) && (c) <= 'r') \
4393+ || ('s' <= (c) && (c) <= 'z'))
4394+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4395+#endif
4396+
4397+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4398+int
4399+main ()
4400+{
4401+ int i;
4402+ for (i = 0; i < 256; i++)
4403+ if (XOR (islower (i), ISLOWER (i))
4404+ || toupper (i) != TOUPPER (i))
4405+ return 2;
4406+ return 0;
4407+}
4408+_ACEOF
4409+if ac_fn_c_try_run "$LINENO"; then :
4410+
4411+else
4412+ ac_cv_header_stdc=no
4413+fi
4414+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4415+ conftest.$ac_objext conftest.beam conftest.$ac_ext
4416+fi
4417+
4418+fi
4419+fi
4420+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4421+$as_echo "$ac_cv_header_stdc" >&6; }
4422+if test $ac_cv_header_stdc = yes; then
4423+
4424+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4425+
4426+fi
4427+
4428+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4429+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4430+ inttypes.h stdint.h unistd.h
4431+do :
4432+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4433+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4434+"
4435+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4436+ cat >>confdefs.h <<_ACEOF
4437+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4438+_ACEOF
4439+
4440+fi
4441+
4442+done
4443+
4444+
4445+
4446+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4447+if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4448+ MINIX=yes
4449+else
4450+ MINIX=
4451+fi
4452+
4453+
4454+ if test "$MINIX" = yes; then
4455+
4456+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4457+
4458+
4459+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4460+
4461+
4462+$as_echo "#define _MINIX 1" >>confdefs.h
4463+
4464+ fi
4465+
4466+
4467+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4468+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4469+if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4470+ $as_echo_n "(cached) " >&6
4471+else
4472+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473+/* end confdefs.h. */
4474+
4475+# define __EXTENSIONS__ 1
4476+ $ac_includes_default
4477+int
4478+main ()
4479+{
4480+
4481+ ;
4482+ return 0;
4483+}
4484+_ACEOF
4485+if ac_fn_c_try_compile "$LINENO"; then :
4486+ ac_cv_safe_to_define___extensions__=yes
4487+else
4488+ ac_cv_safe_to_define___extensions__=no
4489+fi
4490+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491+fi
4492+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4493+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4494+ test $ac_cv_safe_to_define___extensions__ = yes &&
4495+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4496+
4497+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4498+
4499+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4500+
4501+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4502+
4503+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4504+
4505+
4506+
4507+# Extract the first word of "setcap", so it can be a program name with args.
4508+set dummy setcap; ac_word=$2
4509+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510+$as_echo_n "checking for $ac_word... " >&6; }
4511+if test "${ac_cv_prog_SETCAP+set}" = set; then :
4512+ $as_echo_n "(cached) " >&6
4513+else
4514+ if test -n "$SETCAP"; then
4515+ ac_cv_prog_SETCAP="$SETCAP" # Let the user override the test.
4516+else
4517+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518+for as_dir in $PATH$PATH_SEPARATOR/sbin
4519+do
4520+ IFS=$as_save_IFS
4521+ test -z "$as_dir" && as_dir=.
4522+ for ac_exec_ext in '' $ac_executable_extensions; do
4523+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4524+ ac_cv_prog_SETCAP="yes"
4525+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526+ break 2
4527+ fi
4528+done
4529+ done
4530+IFS=$as_save_IFS
4531+
4532+ test -z "$ac_cv_prog_SETCAP" && ac_cv_prog_SETCAP="no"
4533+fi
4534+fi
4535+SETCAP=$ac_cv_prog_SETCAP
4536+if test -n "$SETCAP"; then
4537+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
4538+$as_echo "$SETCAP" >&6; }
4539+else
4540+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541+$as_echo "no" >&6; }
4542+fi
4543+
4544+
4545+
4546+# Check whether --enable-doc was given.
4547+if test "${enable_doc+set}" = set; then :
4548+ enableval=$enable_doc;
4549+else
4550+ enable_doc=auto
4551+fi
4552+
4553+
4554+if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
4555+ # Extract the first word of "docbook2man", so it can be a program name with args.
4556+set dummy docbook2man; ac_word=$2
4557+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558+$as_echo_n "checking for $ac_word... " >&6; }
4559+if test "${ac_cv_prog_have_docbook+set}" = set; then :
4560+ $as_echo_n "(cached) " >&6
4561+else
4562+ if test -n "$have_docbook"; then
4563+ ac_cv_prog_have_docbook="$have_docbook" # Let the user override the test.
4564+else
4565+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566+for as_dir in $PATH
4567+do
4568+ IFS=$as_save_IFS
4569+ test -z "$as_dir" && as_dir=.
4570+ for ac_exec_ext in '' $ac_executable_extensions; do
4571+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4572+ ac_cv_prog_have_docbook="yes"
4573+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574+ break 2
4575+ fi
4576+done
4577+ done
4578+IFS=$as_save_IFS
4579+
4580+ test -z "$ac_cv_prog_have_docbook" && ac_cv_prog_have_docbook="no"
4581+fi
4582+fi
4583+have_docbook=$ac_cv_prog_have_docbook
4584+if test -n "$have_docbook"; then
4585+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_docbook" >&5
4586+$as_echo "$have_docbook" >&6; }
4587+else
4588+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589+$as_echo "no" >&6; }
4590+fi
4591+
4592+
4593+
4594+ test "x$have_docbook" = "xno" -a "x$enable_doc" = "xyes" && \
4595+ as_fn_error $? "docbook2man required by man request, but not found" "$LINENO" 5
4596+fi
4597+
4598+ if test "x$have_docbook" = "xyes"; then
4599+ ENABLE_DOCBOOK_TRUE=
4600+ ENABLE_DOCBOOK_FALSE='#'
4601+else
4602+ ENABLE_DOCBOOK_TRUE='#'
4603+ ENABLE_DOCBOOK_FALSE=
4604+fi
4605+
4606+
4607+# Check whether --enable-examples was given.
4608+if test "${enable_examples+set}" = set; then :
4609+ enableval=$enable_examples;
4610+else
4611+ enable_examples=yes
4612+fi
4613+
4614+
4615+ if test "x$enable_examples" = "xyes"; then
4616+ ENABLE_EXAMPLES_TRUE=
4617+ ENABLE_EXAMPLES_FALSE='#'
4618+else
4619+ ENABLE_EXAMPLES_TRUE='#'
4620+ ENABLE_EXAMPLES_FALSE=
4621+fi
4622+
4623+
4624+
4625+ EXP_VAR=PREFIX
4626+ FROM_VAR=$prefix
4627+
4628+ prefix_save=$prefix
4629+ exec_prefix_save=$exec_prefix
4630+
4631+ if test "x$prefix" = "xNONE"; then
4632+ prefix="$ac_default_prefix"
4633+ fi
4634+ if test "x$exec_prefix" = "xNONE"; then
4635+ exec_prefix=$prefix
4636+ fi
4637+
4638+ full_var="$FROM_VAR"
4639+ while true; do
4640+ new_full_var="`eval echo $full_var`"
4641+ if test "x$new_full_var" = "x$full_var"; then break; fi
4642+ full_var=$new_full_var
4643+ done
4644+
4645+ full_var=$new_full_var
4646+ PREFIX="$full_var"
4647+
4648+
4649+ prefix=$prefix_save
4650+ exec_prefix=$exec_prefix_save
4651+
4652+
4653+ EXP_VAR=LIBDIR
4654+ FROM_VAR=$libdir
4655+
4656+ prefix_save=$prefix
4657+ exec_prefix_save=$exec_prefix
4658+
4659+ if test "x$prefix" = "xNONE"; then
4660+ prefix="$ac_default_prefix"
4661+ fi
4662+ if test "x$exec_prefix" = "xNONE"; then
4663+ exec_prefix=$prefix
4664+ fi
4665+
4666+ full_var="$FROM_VAR"
4667+ while true; do
4668+ new_full_var="`eval echo $full_var`"
4669+ if test "x$new_full_var" = "x$full_var"; then break; fi
4670+ full_var=$new_full_var
4671+ done
4672+
4673+ full_var=$new_full_var
4674+ LIBDIR="$full_var"
4675+
4676+
4677+ prefix=$prefix_save
4678+ exec_prefix=$exec_prefix_save
4679+
4680+
4681+ EXP_VAR=BINDIR
4682+ FROM_VAR=$bindir
4683+
4684+ prefix_save=$prefix
4685+ exec_prefix_save=$exec_prefix
4686+
4687+ if test "x$prefix" = "xNONE"; then
4688+ prefix="$ac_default_prefix"
4689+ fi
4690+ if test "x$exec_prefix" = "xNONE"; then
4691+ exec_prefix=$prefix
4692+ fi
4693+
4694+ full_var="$FROM_VAR"
4695+ while true; do
4696+ new_full_var="`eval echo $full_var`"
4697+ if test "x$new_full_var" = "x$full_var"; then break; fi
4698+ full_var=$new_full_var
4699+ done
4700+
4701+ full_var=$new_full_var
4702+ BINDIR="$full_var"
4703+
4704+
4705+ prefix=$prefix_save
4706+ exec_prefix=$exec_prefix_save
4707+
4708+
4709+ EXP_VAR=INCLUDEDIR
4710+ FROM_VAR=$includedir
4711+
4712+ prefix_save=$prefix
4713+ exec_prefix_save=$exec_prefix
4714+
4715+ if test "x$prefix" = "xNONE"; then
4716+ prefix="$ac_default_prefix"
4717+ fi
4718+ if test "x$exec_prefix" = "xNONE"; then
4719+ exec_prefix=$prefix
4720+ fi
4721+
4722+ full_var="$FROM_VAR"
4723+ while true; do
4724+ new_full_var="`eval echo $full_var`"
4725+ if test "x$new_full_var" = "x$full_var"; then break; fi
4726+ full_var=$new_full_var
4727+ done
4728+
4729+ full_var=$new_full_var
4730+ INCLUDEDIR="$full_var"
4731+
4732+
4733+ prefix=$prefix_save
4734+ exec_prefix=$exec_prefix_save
4735+
4736+
4737+ EXP_VAR=SYSCONFDIR
4738+ FROM_VAR=$sysconfdir
4739+
4740+ prefix_save=$prefix
4741+ exec_prefix_save=$exec_prefix
4742+
4743+ if test "x$prefix" = "xNONE"; then
4744+ prefix="$ac_default_prefix"
4745+ fi
4746+ if test "x$exec_prefix" = "xNONE"; then
4747+ exec_prefix=$prefix
4748+ fi
4749+
4750+ full_var="$FROM_VAR"
4751+ while true; do
4752+ new_full_var="`eval echo $full_var`"
4753+ if test "x$new_full_var" = "x$full_var"; then break; fi
4754+ full_var=$new_full_var
4755+ done
4756+
4757+ full_var=$new_full_var
4758+ SYSCONFDIR="$full_var"
4759+
4760+
4761+ prefix=$prefix_save
4762+ exec_prefix=$exec_prefix_save
4763+
4764+
4765+ EXP_VAR=DATADIR
4766+ FROM_VAR=$datadir
4767+
4768+ prefix_save=$prefix
4769+ exec_prefix_save=$exec_prefix
4770+
4771+ if test "x$prefix" = "xNONE"; then
4772+ prefix="$ac_default_prefix"
4773+ fi
4774+ if test "x$exec_prefix" = "xNONE"; then
4775+ exec_prefix=$prefix
4776+ fi
4777+
4778+ full_var="$FROM_VAR"
4779+ while true; do
4780+ new_full_var="`eval echo $full_var`"
4781+ if test "x$new_full_var" = "x$full_var"; then break; fi
4782+ full_var=$new_full_var
4783+ done
4784+
4785+ full_var=$new_full_var
4786+ DATADIR="$full_var"
4787+
4788+
4789+ prefix=$prefix_save
4790+ exec_prefix=$exec_prefix_save
4791+
4792+
4793+ EXP_VAR=LOCALSTATEDIR
4794+ FROM_VAR=$localstatedir
4795+
4796+ prefix_save=$prefix
4797+ exec_prefix_save=$exec_prefix
4798+
4799+ if test "x$prefix" = "xNONE"; then
4800+ prefix="$ac_default_prefix"
4801+ fi
4802+ if test "x$exec_prefix" = "xNONE"; then
4803+ exec_prefix=$prefix
4804+ fi
4805+
4806+ full_var="$FROM_VAR"
4807+ while true; do
4808+ new_full_var="`eval echo $full_var`"
4809+ if test "x$new_full_var" = "x$full_var"; then break; fi
4810+ full_var=$new_full_var
4811+ done
4812+
4813+ full_var=$new_full_var
4814+ LOCALSTATEDIR="$full_var"
4815+
4816+
4817+ prefix=$prefix_save
4818+ exec_prefix=$exec_prefix_save
4819+
4820+
4821+ EXP_VAR=DOCDIR
4822+ FROM_VAR=$docdir
4823+
4824+ prefix_save=$prefix
4825+ exec_prefix_save=$exec_prefix
4826+
4827+ if test "x$prefix" = "xNONE"; then
4828+ prefix="$ac_default_prefix"
4829+ fi
4830+ if test "x$exec_prefix" = "xNONE"; then
4831+ exec_prefix=$prefix
4832+ fi
4833+
4834+ full_var="$FROM_VAR"
4835+ while true; do
4836+ new_full_var="`eval echo $full_var`"
4837+ if test "x$new_full_var" = "x$full_var"; then break; fi
4838+ full_var=$new_full_var
4839+ done
4840+
4841+ full_var=$new_full_var
4842+ DOCDIR="$full_var"
4843+
4844+
4845+ prefix=$prefix_save
4846+ exec_prefix=$exec_prefix_save
4847+
4848+
4849+
4850+# Check whether --with-config-path was given.
4851+if test "${with_config_path+set}" = set; then :
4852+ withval=$with_config_path;
4853+else
4854+ with_config_path="${localstatedir}/lib/lxc"
4855+fi
4856+
4857+
4858+
4859+# Check whether --with-rootfs-path was given.
4860+if test "${with_rootfs_path+set}" = set; then :
4861+ withval=$with_rootfs_path;
4862+else
4863+ with_rootfs_path="${libdir}/lxc/rootfs"
4864+fi
4865+
4866+
4867+
4868+ EXP_VAR=LXC_GENERATE_DATE
4869+ FROM_VAR="$(date)"
4870+
4871+ prefix_save=$prefix
4872+ exec_prefix_save=$exec_prefix
4873+
4874+ if test "x$prefix" = "xNONE"; then
4875+ prefix="$ac_default_prefix"
4876+ fi
4877+ if test "x$exec_prefix" = "xNONE"; then
4878+ exec_prefix=$prefix
4879+ fi
4880+
4881+ full_var="$FROM_VAR"
4882+ while true; do
4883+ new_full_var="`eval echo $full_var`"
4884+ if test "x$new_full_var" = "x$full_var"; then break; fi
4885+ full_var=$new_full_var
4886+ done
4887+
4888+ full_var=$new_full_var
4889+ LXC_GENERATE_DATE="$full_var"
4890+
4891+
4892+ prefix=$prefix_save
4893+ exec_prefix=$exec_prefix_save
4894+
4895+
4896+
4897+ EXP_VAR=LXCPATH
4898+ FROM_VAR="${with_config_path}"
4899+
4900+ prefix_save=$prefix
4901+ exec_prefix_save=$exec_prefix
4902+
4903+ if test "x$prefix" = "xNONE"; then
4904+ prefix="$ac_default_prefix"
4905+ fi
4906+ if test "x$exec_prefix" = "xNONE"; then
4907+ exec_prefix=$prefix
4908+ fi
4909+
4910+ full_var="$FROM_VAR"
4911+ while true; do
4912+ new_full_var="`eval echo $full_var`"
4913+ if test "x$new_full_var" = "x$full_var"; then break; fi
4914+ full_var=$new_full_var
4915+ done
4916+
4917+ full_var=$new_full_var
4918+ LXCPATH="$full_var"
4919+
4920+
4921+ prefix=$prefix_save
4922+ exec_prefix=$exec_prefix_save
4923+
4924+
4925+ EXP_VAR=LXCROOTFSMOUNT
4926+ FROM_VAR="${with_rootfs_path}"
4927+
4928+ prefix_save=$prefix
4929+ exec_prefix_save=$exec_prefix
4930+
4931+ if test "x$prefix" = "xNONE"; then
4932+ prefix="$ac_default_prefix"
4933+ fi
4934+ if test "x$exec_prefix" = "xNONE"; then
4935+ exec_prefix=$prefix
4936+ fi
4937+
4938+ full_var="$FROM_VAR"
4939+ while true; do
4940+ new_full_var="`eval echo $full_var`"
4941+ if test "x$new_full_var" = "x$full_var"; then break; fi
4942+ full_var=$new_full_var
4943+ done
4944+
4945+ full_var=$new_full_var
4946+ LXCROOTFSMOUNT="$full_var"
4947+
4948+
4949+ prefix=$prefix_save
4950+ exec_prefix=$exec_prefix_save
4951+
4952+
4953+ EXP_VAR=LXCINITDIR
4954+ FROM_VAR=$libdir/lxc
4955+
4956+ prefix_save=$prefix
4957+ exec_prefix_save=$exec_prefix
4958+
4959+ if test "x$prefix" = "xNONE"; then
4960+ prefix="$ac_default_prefix"
4961+ fi
4962+ if test "x$exec_prefix" = "xNONE"; then
4963+ exec_prefix=$prefix
4964+ fi
4965+
4966+ full_var="$FROM_VAR"
4967+ while true; do
4968+ new_full_var="`eval echo $full_var`"
4969+ if test "x$new_full_var" = "x$full_var"; then break; fi
4970+ full_var=$new_full_var
4971+ done
4972+
4973+ full_var=$new_full_var
4974+ LXCINITDIR="$full_var"
4975+
4976+
4977+ prefix=$prefix_save
4978+ exec_prefix=$exec_prefix_save
4979+
4980+
4981+ EXP_VAR=LXCTEMPLATEDIR
4982+ FROM_VAR=$libdir/lxc/templates
4983+
4984+ prefix_save=$prefix
4985+ exec_prefix_save=$exec_prefix
4986+
4987+ if test "x$prefix" = "xNONE"; then
4988+ prefix="$ac_default_prefix"
4989+ fi
4990+ if test "x$exec_prefix" = "xNONE"; then
4991+ exec_prefix=$prefix
4992+ fi
4993+
4994+ full_var="$FROM_VAR"
4995+ while true; do
4996+ new_full_var="`eval echo $full_var`"
4997+ if test "x$new_full_var" = "x$full_var"; then break; fi
4998+ full_var=$new_full_var
4999+ done
5000+
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: