0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63 for virt-what 1.2.
|
|
2 |
# Generated by GNU Autoconf 2.66 for virt-what 1.3.
|
|
3 |
#
|
3 | 4 |
#
|
4 | 5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|
7 |
# Foundation, Inc.
|
|
8 |
#
|
|
9 |
#
|
6 | 10 |
# This configure script is free software; the Free Software Foundation
|
7 | 11 |
# gives unlimited permission to copy, distribute and modify it.
|
8 | |
## --------------------- ##
|
9 | |
## M4sh Initialization. ##
|
10 | |
## --------------------- ##
|
|
12 |
## -------------------- ##
|
|
13 |
## M4sh Initialization. ##
|
|
14 |
## -------------------- ##
|
11 | 15 |
|
12 | 16 |
# Be more Bourne compatible
|
13 | 17 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
18 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
15 | 19 |
emulate sh
|
16 | 20 |
NULLCMD=:
|
17 | 21 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
19 | 23 |
alias -g '${1+"$@"}'='"$@"'
|
20 | 24 |
setopt NO_GLOB_SUBST
|
21 | 25 |
else
|
22 | |
case `(set -o) 2>/dev/null` in
|
23 | |
*posix*) set -o posix ;;
|
|
26 |
case `(set -o) 2>/dev/null` in #(
|
|
27 |
*posix*) :
|
|
28 |
set -o posix ;; #(
|
|
29 |
*) :
|
|
30 |
;;
|
24 | 31 |
esac
|
25 | |
|
26 | |
fi
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
# PATH needs CR
|
32 | |
# Avoid depending upon Character Ranges.
|
33 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
34 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
35 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
36 | |
as_cr_digits='0123456789'
|
37 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
32 |
fi
|
|
33 |
|
38 | 34 |
|
39 | 35 |
as_nl='
|
40 | 36 |
'
|
|
43 | 39 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
44 | 40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
45 | 41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
46 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
42 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
43 |
# but without wasting forks for bash or zsh.
|
|
44 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
45 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
46 |
as_echo='print -r --'
|
|
47 |
as_echo_n='print -rn --'
|
|
48 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
47 | 49 |
as_echo='printf %s\n'
|
48 | 50 |
as_echo_n='printf %s'
|
49 | 51 |
else
|
|
54 | 56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
55 | 57 |
as_echo_n_body='eval
|
56 | 58 |
arg=$1;
|
57 | |
case $arg in
|
|
59 |
case $arg in #(
|
58 | 60 |
*"$as_nl"*)
|
59 | 61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
60 | 62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
77 | 79 |
}
|
78 | 80 |
fi
|
79 | 81 |
|
80 | |
# Support unset when possible.
|
81 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
82 | |
as_unset=unset
|
83 | |
else
|
84 | |
as_unset=false
|
85 | |
fi
|
86 | |
|
87 | 82 |
|
88 | 83 |
# IFS
|
89 | 84 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
93 | 88 |
IFS=" "" $as_nl"
|
94 | 89 |
|
95 | 90 |
# Find who we are. Look in the path if we contain no directory separator.
|
96 | |
case $0 in
|
|
91 |
case $0 in #((
|
97 | 92 |
*[\\/]* ) as_myself=$0 ;;
|
98 | 93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
99 | 94 |
for as_dir in $PATH
|
100 | 95 |
do
|
101 | 96 |
IFS=$as_save_IFS
|
102 | 97 |
test -z "$as_dir" && as_dir=.
|
103 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
104 | |
done
|
|
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
99 |
done
|
105 | 100 |
IFS=$as_save_IFS
|
106 | 101 |
|
107 | 102 |
;;
|
|
113 | 108 |
fi
|
114 | 109 |
if test ! -f "$as_myself"; then
|
115 | 110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
116 | |
{ (exit 1); exit 1; }
|
117 | |
fi
|
118 | |
|
119 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
120 | |
for as_var in ENV MAIL MAILPATH
|
121 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
111 |
exit 1
|
|
112 |
fi
|
|
113 |
|
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
116 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
117 |
# trigger a bug in pdksh 5.2.14.
|
|
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
119 |
do eval test x\${$as_var+set} = xset \
|
|
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
122 | 121 |
done
|
123 | 122 |
PS1='$ '
|
124 | 123 |
PS2='> '
|
|
130 | 129 |
LANGUAGE=C
|
131 | 130 |
export LANGUAGE
|
132 | 131 |
|
133 | |
# Required to use basename.
|
|
132 |
# CDPATH.
|
|
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
134 |
|
|
135 |
if test "x$CONFIG_SHELL" = x; then
|
|
136 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
137 |
emulate sh
|
|
138 |
NULLCMD=:
|
|
139 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
140 |
# is contrary to our usage. Disable this feature.
|
|
141 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
142 |
setopt NO_GLOB_SUBST
|
|
143 |
else
|
|
144 |
case \`(set -o) 2>/dev/null\` in #(
|
|
145 |
*posix*) :
|
|
146 |
set -o posix ;; #(
|
|
147 |
*) :
|
|
148 |
;;
|
|
149 |
esac
|
|
150 |
fi
|
|
151 |
"
|
|
152 |
as_required="as_fn_return () { (exit \$1); }
|
|
153 |
as_fn_success () { as_fn_return 0; }
|
|
154 |
as_fn_failure () { as_fn_return 1; }
|
|
155 |
as_fn_ret_success () { return 0; }
|
|
156 |
as_fn_ret_failure () { return 1; }
|
|
157 |
|
|
158 |
exitcode=0
|
|
159 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
160 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
161 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
162 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
163 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
164 |
|
|
165 |
else
|
|
166 |
exitcode=1; echo positional parameters were not saved.
|
|
167 |
fi
|
|
168 |
test x\$exitcode = x0 || exit 1"
|
|
169 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
170 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
171 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
172 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
|
|
173 |
if (eval "$as_required") 2>/dev/null; then :
|
|
174 |
as_have_required=yes
|
|
175 |
else
|
|
176 |
as_have_required=no
|
|
177 |
fi
|
|
178 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
179 |
|
|
180 |
else
|
|
181 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
182 |
as_found=false
|
|
183 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
184 |
do
|
|
185 |
IFS=$as_save_IFS
|
|
186 |
test -z "$as_dir" && as_dir=.
|
|
187 |
as_found=:
|
|
188 |
case $as_dir in #(
|
|
189 |
/*)
|
|
190 |
for as_base in sh bash ksh sh5; do
|
|
191 |
# Try only shells that exist, to save several forks.
|
|
192 |
as_shell=$as_dir/$as_base
|
|
193 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
194 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
195 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
196 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
197 |
break 2
|
|
198 |
fi
|
|
199 |
fi
|
|
200 |
done;;
|
|
201 |
esac
|
|
202 |
as_found=false
|
|
203 |
done
|
|
204 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
205 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
206 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
207 |
fi; }
|
|
208 |
IFS=$as_save_IFS
|
|
209 |
|
|
210 |
|
|
211 |
if test "x$CONFIG_SHELL" != x; then :
|
|
212 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
213 |
# neutralization value for shells without unset; and this also
|
|
214 |
# works around shells that cannot unset nonexistent variables.
|
|
215 |
BASH_ENV=/dev/null
|
|
216 |
ENV=/dev/null
|
|
217 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
218 |
export CONFIG_SHELL
|
|
219 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
220 |
fi
|
|
221 |
|
|
222 |
if test x$as_have_required = xno; then :
|
|
223 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
224 |
$as_echo "$0: the shells that I found on your system."
|
|
225 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
226 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
227 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
228 |
else
|
|
229 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
230 |
$0: including any error possibly output before this
|
|
231 |
$0: message. Then install a modern shell, or manually run
|
|
232 |
$0: the script under such a shell if you do have one."
|
|
233 |
fi
|
|
234 |
exit 1
|
|
235 |
fi
|
|
236 |
fi
|
|
237 |
fi
|
|
238 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
239 |
export SHELL
|
|
240 |
# Unset more variables known to interfere with behavior of common tools.
|
|
241 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
242 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
243 |
|
|
244 |
## --------------------- ##
|
|
245 |
## M4sh Shell Functions. ##
|
|
246 |
## --------------------- ##
|
|
247 |
# as_fn_unset VAR
|
|
248 |
# ---------------
|
|
249 |
# Portably unset VAR.
|
|
250 |
as_fn_unset ()
|
|
251 |
{
|
|
252 |
{ eval $1=; unset $1;}
|
|
253 |
}
|
|
254 |
as_unset=as_fn_unset
|
|
255 |
|
|
256 |
# as_fn_set_status STATUS
|
|
257 |
# -----------------------
|
|
258 |
# Set $? to STATUS, without forking.
|
|
259 |
as_fn_set_status ()
|
|
260 |
{
|
|
261 |
return $1
|
|
262 |
} # as_fn_set_status
|
|
263 |
|
|
264 |
# as_fn_exit STATUS
|
|
265 |
# -----------------
|
|
266 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
267 |
as_fn_exit ()
|
|
268 |
{
|
|
269 |
set +e
|
|
270 |
as_fn_set_status $1
|
|
271 |
exit $1
|
|
272 |
} # as_fn_exit
|
|
273 |
|
|
274 |
# as_fn_mkdir_p
|
|
275 |
# -------------
|
|
276 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
277 |
as_fn_mkdir_p ()
|
|
278 |
{
|
|
279 |
|
|
280 |
case $as_dir in #(
|
|
281 |
-*) as_dir=./$as_dir;;
|
|
282 |
esac
|
|
283 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
284 |
as_dirs=
|
|
285 |
while :; do
|
|
286 |
case $as_dir in #(
|
|
287 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
288 |
*) as_qdir=$as_dir;;
|
|
289 |
esac
|
|
290 |
as_dirs="'$as_qdir' $as_dirs"
|
|
291 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
292 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
293 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
294 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
295 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
296 |
$as_echo X"$as_dir" |
|
|
297 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
298 |
s//\1/
|
|
299 |
q
|
|
300 |
}
|
|
301 |
/^X\(\/\/\)[^/].*/{
|
|
302 |
s//\1/
|
|
303 |
q
|
|
304 |
}
|
|
305 |
/^X\(\/\/\)$/{
|
|
306 |
s//\1/
|
|
307 |
q
|
|
308 |
}
|
|
309 |
/^X\(\/\).*/{
|
|
310 |
s//\1/
|
|
311 |
q
|
|
312 |
}
|
|
313 |
s/.*/./; q'`
|
|
314 |
test -d "$as_dir" && break
|
|
315 |
done
|
|
316 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
317 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
318 |
|
|
319 |
|
|
320 |
} # as_fn_mkdir_p
|
|
321 |
# as_fn_append VAR VALUE
|
|
322 |
# ----------------------
|
|
323 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
324 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
325 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
326 |
# implementations.
|
|
327 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
328 |
eval 'as_fn_append ()
|
|
329 |
{
|
|
330 |
eval $1+=\$2
|
|
331 |
}'
|
|
332 |
else
|
|
333 |
as_fn_append ()
|
|
334 |
{
|
|
335 |
eval $1=\$$1\$2
|
|
336 |
}
|
|
337 |
fi # as_fn_append
|
|
338 |
|
|
339 |
# as_fn_arith ARG...
|
|
340 |
# ------------------
|
|
341 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
342 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
343 |
# must be portable across $(()) and expr.
|
|
344 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
345 |
eval 'as_fn_arith ()
|
|
346 |
{
|
|
347 |
as_val=$(( $* ))
|
|
348 |
}'
|
|
349 |
else
|
|
350 |
as_fn_arith ()
|
|
351 |
{
|
|
352 |
as_val=`expr "$@" || test $? -eq 1`
|
|
353 |
}
|
|
354 |
fi # as_fn_arith
|
|
355 |
|
|
356 |
|
|
357 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
358 |
# ----------------------------------------
|
|
359 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
360 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
361 |
# script with STATUS, using 1 if that was 0.
|
|
362 |
as_fn_error ()
|
|
363 |
{
|
|
364 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
365 |
if test "$4"; then
|
|
366 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
367 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
368 |
fi
|
|
369 |
$as_echo "$as_me: error: $2" >&2
|
|
370 |
as_fn_exit $as_status
|
|
371 |
} # as_fn_error
|
|
372 |
|
134 | 373 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
135 | 374 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
136 | 375 |
as_expr=expr
|
|
144 | 383 |
as_basename=false
|
145 | 384 |
fi
|
146 | 385 |
|
147 | |
|
148 | |
# Name of the executable.
|
|
386 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
387 |
as_dirname=dirname
|
|
388 |
else
|
|
389 |
as_dirname=false
|
|
390 |
fi
|
|
391 |
|
149 | 392 |
as_me=`$as_basename -- "$0" ||
|
150 | 393 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
151 | 394 |
X"$0" : 'X\(//\)$' \| \
|
|
165 | 408 |
}
|
166 | 409 |
s/.*/./; q'`
|
167 | 410 |
|
168 | |
# CDPATH.
|
169 | |
$as_unset CDPATH
|
170 | |
|
171 | |
|
172 | |
if test "x$CONFIG_SHELL" = x; then
|
173 | |
if (eval ":") 2>/dev/null; then
|
174 | |
as_have_required=yes
|
175 | |
else
|
176 | |
as_have_required=no
|
177 | |
fi
|
178 | |
|
179 | |
if test $as_have_required = yes && (eval ":
|
180 | |
(as_func_return () {
|
181 | |
(exit \$1)
|
182 | |
}
|
183 | |
as_func_success () {
|
184 | |
as_func_return 0
|
185 | |
}
|
186 | |
as_func_failure () {
|
187 | |
as_func_return 1
|
188 | |
}
|
189 | |
as_func_ret_success () {
|
190 | |
return 0
|
191 | |
}
|
192 | |
as_func_ret_failure () {
|
193 | |
return 1
|
194 | |
}
|
195 | |
|
196 | |
exitcode=0
|
197 | |
if as_func_success; then
|
198 | |
:
|
199 | |
else
|
200 | |
exitcode=1
|
201 | |
echo as_func_success failed.
|
202 | |
fi
|
203 | |
|
204 | |
if as_func_failure; then
|
205 | |
exitcode=1
|
206 | |
echo as_func_failure succeeded.
|
207 | |
fi
|
208 | |
|
209 | |
if as_func_ret_success; then
|
210 | |
:
|
211 | |
else
|
212 | |
exitcode=1
|
213 | |
echo as_func_ret_success failed.
|
214 | |
fi
|
215 | |
|
216 | |
if as_func_ret_failure; then
|
217 | |
exitcode=1
|
218 | |
echo as_func_ret_failure succeeded.
|
219 | |
fi
|
220 | |
|
221 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
222 | |
:
|
223 | |
else
|
224 | |
exitcode=1
|
225 | |
echo positional parameters were not saved.
|
226 | |
fi
|
227 | |
|
228 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
229 | |
|
230 | |
(
|
231 | |
as_lineno_1=\$LINENO
|
232 | |
as_lineno_2=\$LINENO
|
233 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
234 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
235 | |
") 2> /dev/null; then
|
236 | |
:
|
237 | |
else
|
238 | |
as_candidate_shells=
|
239 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
240 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
241 | |
do
|
242 | |
IFS=$as_save_IFS
|
243 | |
test -z "$as_dir" && as_dir=.
|
244 | |
case $as_dir in
|
245 | |
/*)
|
246 | |
for as_base in sh bash ksh sh5; do
|
247 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
248 | |
done;;
|
249 | |
esac
|
250 | |
done
|
251 | |
IFS=$as_save_IFS
|
252 | |
|
253 | |
|
254 | |
for as_shell in $as_candidate_shells $SHELL; do
|
255 | |
# Try only shells that exist, to save several forks.
|
256 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
257 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
258 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
259 | |
emulate sh
|
260 | |
NULLCMD=:
|
261 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
262 | |
# is contrary to our usage. Disable this feature.
|
263 | |
alias -g '${1+"$@"}'='"$@"'
|
264 | |
setopt NO_GLOB_SUBST
|
265 | |
else
|
266 | |
case `(set -o) 2>/dev/null` in
|
267 | |
*posix*) set -o posix ;;
|
268 | |
esac
|
269 | |
|
270 | |
fi
|
271 | |
|
272 | |
|
273 | |
:
|
274 | |
_ASEOF
|
275 | |
}; then
|
276 | |
CONFIG_SHELL=$as_shell
|
277 | |
as_have_required=yes
|
278 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
279 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
280 | |
emulate sh
|
281 | |
NULLCMD=:
|
282 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
283 | |
# is contrary to our usage. Disable this feature.
|
284 | |
alias -g '${1+"$@"}'='"$@"'
|
285 | |
setopt NO_GLOB_SUBST
|
286 | |
else
|
287 | |
case `(set -o) 2>/dev/null` in
|
288 | |
*posix*) set -o posix ;;
|
289 | |
esac
|
290 | |
|
291 | |
fi
|
292 | |
|
293 | |
|
294 | |
:
|
295 | |
(as_func_return () {
|
296 | |
(exit $1)
|
297 | |
}
|
298 | |
as_func_success () {
|
299 | |
as_func_return 0
|
300 | |
}
|
301 | |
as_func_failure () {
|
302 | |
as_func_return 1
|
303 | |
}
|
304 | |
as_func_ret_success () {
|
305 | |
return 0
|
306 | |
}
|
307 | |
as_func_ret_failure () {
|
308 | |
return 1
|
309 | |
}
|
310 | |
|
311 | |
exitcode=0
|
312 | |
if as_func_success; then
|
313 | |
:
|
314 | |
else
|
315 | |
exitcode=1
|
316 | |
echo as_func_success failed.
|
317 | |
fi
|
318 | |
|
319 | |
if as_func_failure; then
|
320 | |
exitcode=1
|
321 | |
echo as_func_failure succeeded.
|
322 | |
fi
|
323 | |
|
324 | |
if as_func_ret_success; then
|
325 | |
:
|
326 | |
else
|
327 | |
exitcode=1
|
328 | |
echo as_func_ret_success failed.
|
329 | |
fi
|
330 | |
|
331 | |
if as_func_ret_failure; then
|
332 | |
exitcode=1
|
333 | |
echo as_func_ret_failure succeeded.
|
334 | |
fi
|
335 | |
|
336 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
337 | |
:
|
338 | |
else
|
339 | |
exitcode=1
|
340 | |
echo positional parameters were not saved.
|
341 | |
fi
|
342 | |
|
343 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
344 | |
|
345 | |
(
|
346 | |
as_lineno_1=$LINENO
|
347 | |
as_lineno_2=$LINENO
|
348 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
349 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
350 | |
|
351 | |
_ASEOF
|
352 | |
}; then
|
353 | |
break
|
354 | |
fi
|
355 | |
|
356 | |
fi
|
357 | |
|
358 | |
done
|
359 | |
|
360 | |
if test "x$CONFIG_SHELL" != x; then
|
361 | |
for as_var in BASH_ENV ENV
|
362 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
363 | |
done
|
364 | |
export CONFIG_SHELL
|
365 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
366 | |
fi
|
367 | |
|
368 | |
|
369 | |
if test $as_have_required = no; then
|
370 | |
echo This script requires a shell more modern than all the
|
371 | |
echo shells that I found on your system. Please install a
|
372 | |
echo modern shell, or manually run the script under such a
|
373 | |
echo shell if you do have one.
|
374 | |
{ (exit 1); exit 1; }
|
375 | |
fi
|
376 | |
|
377 | |
|
378 | |
fi
|
379 | |
|
380 | |
fi
|
381 | |
|
382 | |
|
383 | |
|
384 | |
(eval "as_func_return () {
|
385 | |
(exit \$1)
|
386 | |
}
|
387 | |
as_func_success () {
|
388 | |
as_func_return 0
|
389 | |
}
|
390 | |
as_func_failure () {
|
391 | |
as_func_return 1
|
392 | |
}
|
393 | |
as_func_ret_success () {
|
394 | |
return 0
|
395 | |
}
|
396 | |
as_func_ret_failure () {
|
397 | |
return 1
|
398 | |
}
|
399 | |
|
400 | |
exitcode=0
|
401 | |
if as_func_success; then
|
402 | |
:
|
403 | |
else
|
404 | |
exitcode=1
|
405 | |
echo as_func_success failed.
|
406 | |
fi
|
407 | |
|
408 | |
if as_func_failure; then
|
409 | |
exitcode=1
|
410 | |
echo as_func_failure succeeded.
|
411 | |
fi
|
412 | |
|
413 | |
if as_func_ret_success; then
|
414 | |
:
|
415 | |
else
|
416 | |
exitcode=1
|
417 | |
echo as_func_ret_success failed.
|
418 | |
fi
|
419 | |
|
420 | |
if as_func_ret_failure; then
|
421 | |
exitcode=1
|
422 | |
echo as_func_ret_failure succeeded.
|
423 | |
fi
|
424 | |
|
425 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
426 | |
:
|
427 | |
else
|
428 | |
exitcode=1
|
429 | |
echo positional parameters were not saved.
|
430 | |
fi
|
431 | |
|
432 | |
test \$exitcode = 0") || {
|
433 | |
echo No shell found that supports shell functions.
|
434 | |
echo Please tell bug-autoconf@gnu.org about your system,
|
435 | |
echo including any error possibly output before this message.
|
436 | |
echo This can help us improve future autoconf versions.
|
437 | |
echo Configuration will now proceed without shell functions.
|
438 | |
}
|
439 | |
|
440 | |
|
441 | |
|
442 | |
as_lineno_1=$LINENO
|
443 | |
as_lineno_2=$LINENO
|
444 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
445 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
446 | |
|
447 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
448 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
449 | |
# line-number line after each line using $LINENO; the second 'sed'
|
450 | |
# does the real work. The second script uses 'N' to pair each
|
451 | |
# line-number line with the line containing $LINENO, and appends
|
452 | |
# trailing '-' during substitution so that $LINENO is not a special
|
453 | |
# case at line end.
|
454 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
455 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
456 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
411 |
# Avoid depending upon Character Ranges.
|
|
412 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
413 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
414 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
415 |
as_cr_digits='0123456789'
|
|
416 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
417 |
|
|
418 |
|
|
419 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
420 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
421 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
422 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
423 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
457 | 424 |
sed -n '
|
458 | 425 |
p
|
459 | 426 |
/[$]LINENO/=
|
|
470 | 437 |
s/-\n.*//
|
471 | 438 |
' >$as_me.lineno &&
|
472 | 439 |
chmod +x "$as_me.lineno" ||
|
473 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
474 | |
{ (exit 1); exit 1; }; }
|
|
440 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
475 | 441 |
|
476 | 442 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
477 | 443 |
# (the dirname of $[0] is not the place where we might find the
|
|
481 | 447 |
exit
|
482 | 448 |
}
|
483 | 449 |
|
484 | |
|
485 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
486 | |
as_dirname=dirname
|
487 | |
else
|
488 | |
as_dirname=false
|
489 | |
fi
|
490 | |
|
491 | 450 |
ECHO_C= ECHO_N= ECHO_T=
|
492 | |
case `echo -n x` in
|
|
451 |
case `echo -n x` in #(((((
|
493 | 452 |
-n*)
|
494 | |
case `echo 'x\c'` in
|
|
453 |
case `echo 'xy\c'` in
|
495 | 454 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
496 | |
*) ECHO_C='\c';;
|
|
455 |
xy) ECHO_C='\c';;
|
|
456 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
457 |
ECHO_T=' ';;
|
497 | 458 |
esac;;
|
498 | 459 |
*)
|
499 | 460 |
ECHO_N='-n';;
|
500 | 461 |
esac
|
501 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
502 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
503 | |
as_expr=expr
|
504 | |
else
|
505 | |
as_expr=false
|
506 | |
fi
|
507 | 462 |
|
508 | 463 |
rm -f conf$$ conf$$.exe conf$$.file
|
509 | 464 |
if test -d conf$$.dir; then
|
|
533 | 488 |
rmdir conf$$.dir 2>/dev/null
|
534 | 489 |
|
535 | 490 |
if mkdir -p . 2>/dev/null; then
|
536 | |
as_mkdir_p=:
|
|
491 |
as_mkdir_p='mkdir -p "$as_dir"'
|
537 | 492 |
else
|
538 | 493 |
test -d ./-p && rmdir ./-p
|
539 | 494 |
as_mkdir_p=false
|
|
552 | 507 |
if test -d "$1"; then
|
553 | 508 |
test -d "$1/.";
|
554 | 509 |
else
|
555 | |
case $1 in
|
|
510 |
case $1 in #(
|
556 | 511 |
-*)set "./$1";;
|
557 | 512 |
esac;
|
558 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
513 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
559 | 514 |
???[sx]*):;;*)false;;esac;fi
|
560 | 515 |
'\'' sh
|
561 | 516 |
'
|
|
569 | 524 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
570 | 525 |
|
571 | 526 |
|
572 | |
|
573 | |
exec 7<&0 </dev/null 6>&1
|
|
527 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
528 |
exec 6>&1
|
574 | 529 |
|
575 | 530 |
# Name of the host.
|
576 | |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
531 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
577 | 532 |
# so uname gets run too.
|
578 | 533 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
579 | 534 |
|
|
588 | 543 |
subdirs=
|
589 | 544 |
MFLAGS=
|
590 | 545 |
MAKEFLAGS=
|
591 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
592 | 546 |
|
593 | 547 |
# Identity of this package.
|
594 | 548 |
PACKAGE_NAME='virt-what'
|
595 | 549 |
PACKAGE_TARNAME='virt-what'
|
596 | |
PACKAGE_VERSION='1.2'
|
597 | |
PACKAGE_STRING='virt-what 1.2'
|
|
550 |
PACKAGE_VERSION='1.3'
|
|
551 |
PACKAGE_STRING='virt-what 1.3'
|
598 | 552 |
PACKAGE_BUGREPORT=''
|
|
553 |
PACKAGE_URL=''
|
599 | 554 |
|
600 | 555 |
ac_subst_vars='am__EXEEXT_FALSE
|
601 | 556 |
am__EXEEXT_TRUE
|
|
671 | 626 |
program_transform_name
|
672 | 627 |
prefix
|
673 | 628 |
exec_prefix
|
|
629 |
PACKAGE_URL
|
674 | 630 |
PACKAGE_BUGREPORT
|
675 | 631 |
PACKAGE_STRING
|
676 | 632 |
PACKAGE_VERSION
|
|
800 | 756 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
801 | 757 |
# Reject names that are not valid shell variable names.
|
802 | 758 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
803 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
804 | |
{ (exit 1); exit 1; }; }
|
|
759 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
805 | 760 |
ac_useropt_orig=$ac_useropt
|
806 | 761 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
807 | 762 |
case $ac_user_opts in
|
|
827 | 782 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
828 | 783 |
# Reject names that are not valid shell variable names.
|
829 | 784 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
830 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
831 | |
{ (exit 1); exit 1; }; }
|
|
785 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
832 | 786 |
ac_useropt_orig=$ac_useropt
|
833 | 787 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
834 | 788 |
case $ac_user_opts in
|
|
1032 | 986 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1033 | 987 |
# Reject names that are not valid shell variable names.
|
1034 | 988 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1035 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1036 | |
{ (exit 1); exit 1; }; }
|
|
989 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1037 | 990 |
ac_useropt_orig=$ac_useropt
|
1038 | 991 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1039 | 992 |
case $ac_user_opts in
|
|
1049 | 1002 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1050 | 1003 |
# Reject names that are not valid shell variable names.
|
1051 | 1004 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1052 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1053 | |
{ (exit 1); exit 1; }; }
|
|
1005 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1054 | 1006 |
ac_useropt_orig=$ac_useropt
|
1055 | 1007 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1056 | 1008 |
case $ac_user_opts in
|
|
1080 | 1032 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1081 | 1033 |
x_libraries=$ac_optarg ;;
|
1082 | 1034 |
|
1083 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1084 | |
Try \`$0 --help' for more information." >&2
|
1085 | |
{ (exit 1); exit 1; }; }
|
|
1035 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|
1036 |
Try \`$0 --help' for more information"
|
1086 | 1037 |
;;
|
1087 | 1038 |
|
1088 | 1039 |
*=*)
|
1089 | 1040 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1090 | 1041 |
# Reject names that are not valid shell variable names.
|
1091 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1092 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1093 | |
{ (exit 1); exit 1; }; }
|
|
1042 |
case $ac_envvar in #(
|
|
1043 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1044 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
|
1045 |
esac
|
1094 | 1046 |
eval $ac_envvar=\$ac_optarg
|
1095 | 1047 |
export $ac_envvar ;;
|
1096 | 1048 |
|
|
1107 | 1059 |
|
1108 | 1060 |
if test -n "$ac_prev"; then
|
1109 | 1061 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1110 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1111 | |
{ (exit 1); exit 1; }; }
|
|
1062 |
as_fn_error $? "missing argument to $ac_option"
|
1112 | 1063 |
fi
|
1113 | 1064 |
|
1114 | 1065 |
if test -n "$ac_unrecognized_opts"; then
|
1115 | 1066 |
case $enable_option_checking in
|
1116 | 1067 |
no) ;;
|
1117 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1118 | |
{ (exit 1); exit 1; }; } ;;
|
|
1068 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1119 | 1069 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1120 | 1070 |
esac
|
1121 | 1071 |
fi
|
|
1138 | 1088 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1139 | 1089 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1140 | 1090 |
esac
|
1141 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1142 | |
{ (exit 1); exit 1; }; }
|
|
1091 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1143 | 1092 |
done
|
1144 | 1093 |
|
1145 | 1094 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1153 | 1102 |
if test "x$host_alias" != x; then
|
1154 | 1103 |
if test "x$build_alias" = x; then
|
1155 | 1104 |
cross_compiling=maybe
|
1156 | |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1157 | |
If a cross compiler is detected then cross compile mode will be used." >&2
|
|
1105 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
|
1106 |
If a cross compiler is detected then cross compile mode will be used" >&2
|
1158 | 1107 |
elif test "x$build_alias" != "x$host_alias"; then
|
1159 | 1108 |
cross_compiling=yes
|
1160 | 1109 |
fi
|
|
1169 | 1118 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1170 | 1119 |
ac_ls_di=`ls -di .` &&
|
1171 | 1120 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1172 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1173 | |
{ (exit 1); exit 1; }; }
|
|
1121 |
as_fn_error $? "working directory cannot be determined"
|
1174 | 1122 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1175 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1176 | |
{ (exit 1); exit 1; }; }
|
|
1123 |
as_fn_error $? "pwd does not report name of working directory"
|
1177 | 1124 |
|
1178 | 1125 |
|
1179 | 1126 |
# Find the source files, if location was not specified.
|
|
1212 | 1159 |
fi
|
1213 | 1160 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1214 | 1161 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1215 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1216 | |
{ (exit 1); exit 1; }; }
|
|
1162 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1217 | 1163 |
fi
|
1218 | 1164 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1219 | 1165 |
ac_abs_confdir=`(
|
1220 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1221 | |
{ (exit 1); exit 1; }; }
|
|
1166 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1222 | 1167 |
pwd)`
|
1223 | 1168 |
# When building in place, set srcdir=.
|
1224 | 1169 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1244 | 1189 |
# Omit some internal or obsolete options to make the list less imposing.
|
1245 | 1190 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1246 | 1191 |
cat <<_ACEOF
|
1247 | |
\`configure' configures virt-what 1.2 to adapt to many kinds of systems.
|
|
1192 |
\`configure' configures virt-what 1.3 to adapt to many kinds of systems.
|
1248 | 1193 |
|
1249 | 1194 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1250 | 1195 |
|
|
1258 | 1203 |
--help=short display options specific to this package
|
1259 | 1204 |
--help=recursive display the short help of all the included packages
|
1260 | 1205 |
-V, --version display version information and exit
|
1261 | |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1206 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1262 | 1207 |
--cache-file=FILE cache test results in FILE [disabled]
|
1263 | 1208 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1264 | 1209 |
-n, --no-create do not create output files
|
|
1310 | 1255 |
|
1311 | 1256 |
if test -n "$ac_init_help"; then
|
1312 | 1257 |
case $ac_init_help in
|
1313 | |
short | recursive ) echo "Configuration of virt-what 1.2:";;
|
|
1258 |
short | recursive ) echo "Configuration of virt-what 1.3:";;
|
1314 | 1259 |
esac
|
1315 | 1260 |
cat <<\_ACEOF
|
1316 | 1261 |
|
|
1327 | 1272 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1328 | 1273 |
nonstandard directory <lib dir>
|
1329 | 1274 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1330 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1275 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1331 | 1276 |
you have headers in a nonstandard directory <include dir>
|
1332 | 1277 |
CPP C preprocessor
|
1333 | 1278 |
|
1334 | 1279 |
Use these variables to override the choices made by `configure' or to help
|
1335 | 1280 |
it to find libraries and programs with nonstandard names/locations.
|
1336 | 1281 |
|
|
1282 |
Report bugs to the package provider.
|
1337 | 1283 |
_ACEOF
|
1338 | 1284 |
ac_status=$?
|
1339 | 1285 |
fi
|
|
1396 | 1342 |
test -n "$ac_init_help" && exit $ac_status
|
1397 | 1343 |
if $ac_init_version; then
|
1398 | 1344 |
cat <<\_ACEOF
|
1399 | |
virt-what configure 1.2
|
1400 | |
generated by GNU Autoconf 2.63
|
1401 | |
|
1402 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1403 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1345 |
virt-what configure 1.3
|
|
1346 |
generated by GNU Autoconf 2.66
|
|
1347 |
|
|
1348 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
1404 | 1349 |
This configure script is free software; the Free Software Foundation
|
1405 | 1350 |
gives unlimited permission to copy, distribute and modify it.
|
1406 | 1351 |
_ACEOF
|
1407 | 1352 |
exit
|
1408 | 1353 |
fi
|
|
1354 |
|
|
1355 |
## ------------------------ ##
|
|
1356 |
## Autoconf initialization. ##
|
|
1357 |
## ------------------------ ##
|
|
1358 |
|
|
1359 |
# ac_fn_c_try_compile LINENO
|
|
1360 |
# --------------------------
|
|
1361 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1362 |
ac_fn_c_try_compile ()
|
|
1363 |
{
|
|
1364 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1365 |
rm -f conftest.$ac_objext
|
|
1366 |
if { { ac_try="$ac_compile"
|
|
1367 |
case "(($ac_try" in
|
|
1368 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1369 |
*) ac_try_echo=$ac_try;;
|
|
1370 |
esac
|
|
1371 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1372 |
$as_echo "$ac_try_echo"; } >&5
|
|
1373 |
(eval "$ac_compile") 2>conftest.err
|
|
1374 |
ac_status=$?
|
|
1375 |
if test -s conftest.err; then
|
|
1376 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1377 |
cat conftest.er1 >&5
|
|
1378 |
mv -f conftest.er1 conftest.err
|
|
1379 |
fi
|
|
1380 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1381 |
test $ac_status = 0; } && {
|
|
1382 |
test -z "$ac_c_werror_flag" ||
|
|
1383 |
test ! -s conftest.err
|
|
1384 |
} && test -s conftest.$ac_objext; then :
|
|
1385 |
ac_retval=0
|
|
1386 |
else
|
|
1387 |
$as_echo "$as_me: failed program was:" >&5
|
|
1388 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1389 |
|
|
1390 |
ac_retval=1
|
|
1391 |
fi
|
|
1392 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1393 |
as_fn_set_status $ac_retval
|
|
1394 |
|
|
1395 |
} # ac_fn_c_try_compile
|
|
1396 |
|
|
1397 |
# ac_fn_c_try_cpp LINENO
|
|
1398 |
# ----------------------
|
|
1399 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1400 |
ac_fn_c_try_cpp ()
|
|
1401 |
{
|
|
1402 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1403 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1404 |
case "(($ac_try" in
|
|
1405 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1406 |
*) ac_try_echo=$ac_try;;
|
|
1407 |
esac
|
|
1408 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1409 |
$as_echo "$ac_try_echo"; } >&5
|
|
1410 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1411 |
ac_status=$?
|
|
1412 |
if test -s conftest.err; then
|
|
1413 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1414 |
cat conftest.er1 >&5
|
|
1415 |
mv -f conftest.er1 conftest.err
|
|
1416 |
fi
|
|
1417 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1418 |
test $ac_status = 0; } >/dev/null && {
|
|
1419 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1420 |
test ! -s conftest.err
|
|
1421 |
}; then :
|
|
1422 |
ac_retval=0
|
|
1423 |
else
|
|
1424 |
$as_echo "$as_me: failed program was:" >&5
|
|
1425 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1426 |
|
|
1427 |
ac_retval=1
|
|
1428 |
fi
|
|
1429 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1430 |
as_fn_set_status $ac_retval
|
|
1431 |
|
|
1432 |
} # ac_fn_c_try_cpp
|
1409 | 1433 |
cat >config.log <<_ACEOF
|
1410 | 1434 |
This file contains any messages produced by compilers while
|
1411 | 1435 |
running configure, to aid debugging if configure makes a mistake.
|
1412 | 1436 |
|
1413 | |
It was created by virt-what $as_me 1.2, which was
|
1414 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
1437 |
It was created by virt-what $as_me 1.3, which was
|
|
1438 |
generated by GNU Autoconf 2.66. Invocation command line was
|
1415 | 1439 |
|
1416 | 1440 |
$ $0 $@
|
1417 | 1441 |
|
|
1447 | 1471 |
do
|
1448 | 1472 |
IFS=$as_save_IFS
|
1449 | 1473 |
test -z "$as_dir" && as_dir=.
|
1450 | |
$as_echo "PATH: $as_dir"
|
1451 | |
done
|
|
1474 |
$as_echo "PATH: $as_dir"
|
|
1475 |
done
|
1452 | 1476 |
IFS=$as_save_IFS
|
1453 | 1477 |
|
1454 | 1478 |
} >&5
|
|
1485 | 1509 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1486 | 1510 |
esac
|
1487 | 1511 |
case $ac_pass in
|
1488 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1512 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1489 | 1513 |
2)
|
1490 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1514 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1491 | 1515 |
if test $ac_must_keep_next = true; then
|
1492 | 1516 |
ac_must_keep_next=false # Got value, back to normal.
|
1493 | 1517 |
else
|
|
1503 | 1527 |
-* ) ac_must_keep_next=true ;;
|
1504 | 1528 |
esac
|
1505 | 1529 |
fi
|
1506 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1530 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1507 | 1531 |
;;
|
1508 | 1532 |
esac
|
1509 | 1533 |
done
|
1510 | 1534 |
done
|
1511 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1512 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1535 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1536 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1513 | 1537 |
|
1514 | 1538 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1515 | 1539 |
# config.log. We remove comments because anyway the quotes in there
|
|
1521 | 1545 |
{
|
1522 | 1546 |
echo
|
1523 | 1547 |
|
1524 | |
cat <<\_ASBOX
|
1525 | |
## ---------------- ##
|
|
1548 |
$as_echo "## ---------------- ##
|
1526 | 1549 |
## Cache variables. ##
|
1527 | |
## ---------------- ##
|
1528 | |
_ASBOX
|
|
1550 |
## ---------------- ##"
|
1529 | 1551 |
echo
|
1530 | 1552 |
# The following way of writing the cache mishandles newlines in values,
|
1531 | 1553 |
(
|
|
1534 | 1556 |
case $ac_val in #(
|
1535 | 1557 |
*${as_nl}*)
|
1536 | 1558 |
case $ac_var in #(
|
1537 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1559 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1538 | 1560 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1539 | 1561 |
esac
|
1540 | 1562 |
case $ac_var in #(
|
1541 | 1563 |
_ | IFS | as_nl) ;; #(
|
1542 | 1564 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1543 | |
*) $as_unset $ac_var ;;
|
|
1565 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1544 | 1566 |
esac ;;
|
1545 | 1567 |
esac
|
1546 | 1568 |
done
|
|
1559 | 1581 |
)
|
1560 | 1582 |
echo
|
1561 | 1583 |
|
1562 | |
cat <<\_ASBOX
|
1563 | |
## ----------------- ##
|
|
1584 |
$as_echo "## ----------------- ##
|
1564 | 1585 |
## Output variables. ##
|
1565 | |
## ----------------- ##
|
1566 | |
_ASBOX
|
|
1586 |
## ----------------- ##"
|
1567 | 1587 |
echo
|
1568 | 1588 |
for ac_var in $ac_subst_vars
|
1569 | 1589 |
do
|
|
1576 | 1596 |
echo
|
1577 | 1597 |
|
1578 | 1598 |
if test -n "$ac_subst_files"; then
|
1579 | |
cat <<\_ASBOX
|
1580 | |
## ------------------- ##
|
|
1599 |
$as_echo "## ------------------- ##
|
1581 | 1600 |
## File substitutions. ##
|
1582 | |
## ------------------- ##
|
1583 | |
_ASBOX
|
|
1601 |
## ------------------- ##"
|
1584 | 1602 |
echo
|
1585 | 1603 |
for ac_var in $ac_subst_files
|
1586 | 1604 |
do
|
|
1594 | 1612 |
fi
|
1595 | 1613 |
|
1596 | 1614 |
if test -s confdefs.h; then
|
1597 | |
cat <<\_ASBOX
|
1598 | |
## ----------- ##
|
|
1615 |
$as_echo "## ----------- ##
|
1599 | 1616 |
## confdefs.h. ##
|
1600 | |
## ----------- ##
|
1601 | |
_ASBOX
|
|
1617 |
## ----------- ##"
|
1602 | 1618 |
echo
|
1603 | 1619 |
cat confdefs.h
|
1604 | 1620 |
echo
|
|
1612 | 1628 |
exit $exit_status
|
1613 | 1629 |
' 0
|
1614 | 1630 |
for ac_signal in 1 2 13 15; do
|
1615 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
1631 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1616 | 1632 |
done
|
1617 | 1633 |
ac_signal=0
|
1618 | 1634 |
|
1619 | 1635 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1620 | 1636 |
rm -f -r conftest* confdefs.h
|
|
1637 |
|
|
1638 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1621 | 1639 |
|
1622 | 1640 |
# Predefined preprocessor variables.
|
1623 | 1641 |
|
|
1625 | 1643 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1626 | 1644 |
_ACEOF
|
1627 | 1645 |
|
1628 | |
|
1629 | 1646 |
cat >>confdefs.h <<_ACEOF
|
1630 | 1647 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1631 | 1648 |
_ACEOF
|
1632 | 1649 |
|
1633 | |
|
1634 | 1650 |
cat >>confdefs.h <<_ACEOF
|
1635 | 1651 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1636 | 1652 |
_ACEOF
|
1637 | 1653 |
|
1638 | |
|
1639 | 1654 |
cat >>confdefs.h <<_ACEOF
|
1640 | 1655 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1641 | 1656 |
_ACEOF
|
1642 | 1657 |
|
1643 | |
|
1644 | 1658 |
cat >>confdefs.h <<_ACEOF
|
1645 | 1659 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
1660 |
_ACEOF
|
|
1661 |
|
|
1662 |
cat >>confdefs.h <<_ACEOF
|
|
1663 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1646 | 1664 |
_ACEOF
|
1647 | 1665 |
|
1648 | 1666 |
|
|
1651 | 1669 |
ac_site_file1=NONE
|
1652 | 1670 |
ac_site_file2=NONE
|
1653 | 1671 |
if test -n "$CONFIG_SITE"; then
|
1654 | |
ac_site_file1=$CONFIG_SITE
|
|
1672 |
# We do not want a PATH search for config.site.
|
|
1673 |
case $CONFIG_SITE in #((
|
|
1674 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
1675 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
1676 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
1677 |
esac
|
1655 | 1678 |
elif test "x$prefix" != xNONE; then
|
1656 | 1679 |
ac_site_file1=$prefix/share/config.site
|
1657 | 1680 |
ac_site_file2=$prefix/etc/config.site
|
|
1662 | 1685 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1663 | 1686 |
do
|
1664 | 1687 |
test "x$ac_site_file" = xNONE && continue
|
1665 | |
if test -r "$ac_site_file"; then
|
1666 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
1688 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
1689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1667 | 1690 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1668 | 1691 |
sed 's/^/| /' "$ac_site_file" >&5
|
1669 | |
. "$ac_site_file"
|
|
1692 |
. "$ac_site_file" \
|
|
1693 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
1694 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
1695 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
1696 |
See \`config.log' for more details" "$LINENO" 5; }
|
1670 | 1697 |
fi
|
1671 | 1698 |
done
|
1672 | 1699 |
|
1673 | 1700 |
if test -r "$cache_file"; then
|
1674 | |
# Some versions of bash will fail to source /dev/null (special
|
1675 | |
# files actually), so we avoid doing that.
|
1676 | |
if test -f "$cache_file"; then
|
1677 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
1701 |
# Some versions of bash will fail to source /dev/null (special files
|
|
1702 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
1703 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
1704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1678 | 1705 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1679 | 1706 |
case $cache_file in
|
1680 | 1707 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1682 | 1709 |
esac
|
1683 | 1710 |
fi
|
1684 | 1711 |
else
|
1685 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
1712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1686 | 1713 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1687 | 1714 |
>$cache_file
|
1688 | 1715 |
fi
|
|
1697 | 1724 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1698 | 1725 |
case $ac_old_set,$ac_new_set in
|
1699 | 1726 |
set,)
|
1700 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1701 | 1728 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1702 | 1729 |
ac_cache_corrupted=: ;;
|
1703 | 1730 |
,set)
|
1704 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
1731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1705 | 1732 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1706 | 1733 |
ac_cache_corrupted=: ;;
|
1707 | 1734 |
,);;
|
|
1711 | 1738 |
ac_old_val_w=`echo x $ac_old_val`
|
1712 | 1739 |
ac_new_val_w=`echo x $ac_new_val`
|
1713 | 1740 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1714 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1715 | 1742 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1716 | 1743 |
ac_cache_corrupted=:
|
1717 | 1744 |
else
|
1718 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
1745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1719 | 1746 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1720 | 1747 |
eval $ac_var=\$ac_old_val
|
1721 | 1748 |
fi
|
1722 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
1749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1723 | 1750 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1724 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
1751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1725 | 1752 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1726 | 1753 |
fi;;
|
1727 | 1754 |
esac
|
|
1733 | 1760 |
esac
|
1734 | 1761 |
case " $ac_configure_args " in
|
1735 | 1762 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1736 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
1763 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1737 | 1764 |
esac
|
1738 | 1765 |
fi
|
1739 | 1766 |
done
|
1740 | 1767 |
if $ac_cache_corrupted; then
|
1741 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
1768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
1742 | 1769 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1743 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
1770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1744 | 1771 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1745 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1746 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1747 | |
{ (exit 1); exit 1; }; }
|
1748 | |
fi
|
1749 | |
|
1750 | |
|
1751 | |
|
1752 | |
|
1753 | |
|
1754 | |
|
1755 | |
|
1756 | |
|
1757 | |
|
1758 | |
|
1759 | |
|
1760 | |
|
1761 | |
|
1762 | |
|
1763 | |
|
1764 | |
|
1765 | |
|
1766 | |
|
1767 | |
|
1768 | |
|
1769 | |
|
1770 | |
|
1771 | |
|
1772 | |
|
|
1772 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
1773 |
fi
|
|
1774 |
## -------------------- ##
|
|
1775 |
## Main body of script. ##
|
|
1776 |
## -------------------- ##
|
1773 | 1777 |
|
1774 | 1778 |
ac_ext=c
|
1775 | 1779 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1797 | 1801 |
fi
|
1798 | 1802 |
done
|
1799 | 1803 |
if test -z "$ac_aux_dir"; then
|
1800 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1801 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1802 | |
{ (exit 1); exit 1; }; }
|
|
1804 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1803 | 1805 |
fi
|
1804 | 1806 |
|
1805 | 1807 |
# These three variables are undocumented and unsupported,
|
|
1825 | 1827 |
# OS/2's system install, which has a completely different semantic
|
1826 | 1828 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1827 | 1829 |
# Reject install programs that cannot install multiple files.
|
1828 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
1830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
1829 | 1831 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1830 | 1832 |
if test -z "$INSTALL"; then
|
1831 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
1833 |
if test "${ac_cv_path_install+set}" = set; then :
|
1832 | 1834 |
$as_echo_n "(cached) " >&6
|
1833 | 1835 |
else
|
1834 | 1836 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1836 | 1838 |
do
|
1837 | 1839 |
IFS=$as_save_IFS
|
1838 | 1840 |
test -z "$as_dir" && as_dir=.
|
1839 | |
# Account for people who put trailing slashes in PATH elements.
|
1840 | |
case $as_dir/ in
|
1841 | |
./ | .// | /cC/* | \
|
|
1841 |
# Account for people who put trailing slashes in PATH elements.
|
|
1842 |
case $as_dir/ in #((
|
|
1843 |
./ | .// | /[cC]/* | \
|
1842 | 1844 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1843 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
1845 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1844 | 1846 |
/usr/ucb/* ) ;;
|
1845 | 1847 |
*)
|
1846 | 1848 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1877 | 1879 |
;;
|
1878 | 1880 |
esac
|
1879 | 1881 |
|
1880 | |
done
|
|
1882 |
done
|
1881 | 1883 |
IFS=$as_save_IFS
|
1882 | 1884 |
|
1883 | 1885 |
rm -rf conftest.one conftest.two conftest.dir
|
|
1893 | 1895 |
INSTALL=$ac_install_sh
|
1894 | 1896 |
fi
|
1895 | 1897 |
fi
|
1896 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
1898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
1897 | 1899 |
$as_echo "$INSTALL" >&6; }
|
1898 | 1900 |
|
1899 | 1901 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
1904 | 1906 |
|
1905 | 1907 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1906 | 1908 |
|
1907 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
1909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
1908 | 1910 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1909 | 1911 |
# Just in case
|
1910 | 1912 |
sleep 1
|
|
1915 | 1917 |
'
|
1916 | 1918 |
case `pwd` in
|
1917 | 1919 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
1918 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
1919 | |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
1920 | |
{ (exit 1); exit 1; }; };;
|
|
1920 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
1921 | 1921 |
esac
|
1922 | 1922 |
case $srcdir in
|
1923 | 1923 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
1924 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
1925 | |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
1926 | |
{ (exit 1); exit 1; }; };;
|
|
1924 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
1927 | 1925 |
esac
|
1928 | 1926 |
|
1929 | 1927 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
1945 | 1943 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1946 | 1944 |
# broken ls alias from the environment. This has actually
|
1947 | 1945 |
# happened. Such a system could not be considered "sane".
|
1948 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1949 | |
alias in your environment" >&5
|
1950 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1951 | |
alias in your environment" >&2;}
|
1952 | |
{ (exit 1); exit 1; }; }
|
|
1946 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
1947 |
alias in your environment" "$LINENO" 5
|
1953 | 1948 |
fi
|
1954 | 1949 |
|
1955 | 1950 |
test "$2" = conftest.file
|
|
1958 | 1953 |
# Ok.
|
1959 | 1954 |
:
|
1960 | 1955 |
else
|
1961 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1962 | |
Check your system clock" >&5
|
1963 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
1964 | |
Check your system clock" >&2;}
|
1965 | |
{ (exit 1); exit 1; }; }
|
1966 | |
fi
|
1967 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
1956 |
as_fn_error $? "newly created file is older than distributed files!
|
|
1957 |
Check your system clock" "$LINENO" 5
|
|
1958 |
fi
|
|
1959 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
1968 | 1960 |
$as_echo "yes" >&6; }
|
1969 | 1961 |
test "$program_prefix" != NONE &&
|
1970 | 1962 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
1992 | 1984 |
am_missing_run="$MISSING --run "
|
1993 | 1985 |
else
|
1994 | 1986 |
am_missing_run=
|
1995 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
1987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
1996 | 1988 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1997 | 1989 |
fi
|
1998 | 1990 |
|
|
2013 | 2005 |
if test -n "$ac_tool_prefix"; then
|
2014 | 2006 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2015 | 2007 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2016 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2008 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2017 | 2009 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2018 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2010 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2019 | 2011 |
$as_echo_n "(cached) " >&6
|
2020 | 2012 |
else
|
2021 | 2013 |
if test -n "$STRIP"; then
|
|
2026 | 2018 |
do
|
2027 | 2019 |
IFS=$as_save_IFS
|
2028 | 2020 |
test -z "$as_dir" && as_dir=.
|
2029 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2021 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2030 | 2022 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2031 | 2023 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2032 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2024 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2033 | 2025 |
break 2
|
2034 | 2026 |
fi
|
2035 | 2027 |
done
|
2036 | |
done
|
|
2028 |
done
|
2037 | 2029 |
IFS=$as_save_IFS
|
2038 | 2030 |
|
2039 | 2031 |
fi
|
2040 | 2032 |
fi
|
2041 | 2033 |
STRIP=$ac_cv_prog_STRIP
|
2042 | 2034 |
if test -n "$STRIP"; then
|
2043 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2044 | 2036 |
$as_echo "$STRIP" >&6; }
|
2045 | 2037 |
else
|
2046 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2038 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2047 | 2039 |
$as_echo "no" >&6; }
|
2048 | 2040 |
fi
|
2049 | 2041 |
|
|
2053 | 2045 |
ac_ct_STRIP=$STRIP
|
2054 | 2046 |
# Extract the first word of "strip", so it can be a program name with args.
|
2055 | 2047 |
set dummy strip; ac_word=$2
|
2056 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2057 | 2049 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2058 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2050 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2059 | 2051 |
$as_echo_n "(cached) " >&6
|
2060 | 2052 |
else
|
2061 | 2053 |
if test -n "$ac_ct_STRIP"; then
|
|
2066 | 2058 |
do
|
2067 | 2059 |
IFS=$as_save_IFS
|
2068 | 2060 |
test -z "$as_dir" && as_dir=.
|
2069 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2061 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2070 | 2062 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2071 | 2063 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2072 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2064 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2073 | 2065 |
break 2
|
2074 | 2066 |
fi
|
2075 | 2067 |
done
|
2076 | |
done
|
|
2068 |
done
|
2077 | 2069 |
IFS=$as_save_IFS
|
2078 | 2070 |
|
2079 | 2071 |
fi
|
2080 | 2072 |
fi
|
2081 | 2073 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2082 | 2074 |
if test -n "$ac_ct_STRIP"; then
|
2083 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2084 | 2076 |
$as_echo "$ac_ct_STRIP" >&6; }
|
2085 | 2077 |
else
|
2086 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2087 | 2079 |
$as_echo "no" >&6; }
|
2088 | 2080 |
fi
|
2089 | 2081 |
|
|
2092 | 2084 |
else
|
2093 | 2085 |
case $cross_compiling:$ac_tool_warned in
|
2094 | 2086 |
yes:)
|
2095 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2096 | 2088 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2097 | 2089 |
ac_tool_warned=yes ;;
|
2098 | 2090 |
esac
|
|
2105 | 2097 |
fi
|
2106 | 2098 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2107 | 2099 |
|
2108 | |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2109 | 2101 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2110 | 2102 |
if test -z "$MKDIR_P"; then
|
2111 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2103 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
2112 | 2104 |
$as_echo_n "(cached) " >&6
|
2113 | 2105 |
else
|
2114 | 2106 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2116 | 2108 |
do
|
2117 | 2109 |
IFS=$as_save_IFS
|
2118 | 2110 |
test -z "$as_dir" && as_dir=.
|
2119 | |
for ac_prog in mkdir gmkdir; do
|
|
2111 |
for ac_prog in mkdir gmkdir; do
|
2120 | 2112 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2121 | 2113 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
2122 | 2114 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2128 | 2120 |
esac
|
2129 | 2121 |
done
|
2130 | 2122 |
done
|
2131 | |
done
|
|
2123 |
done
|
2132 | 2124 |
IFS=$as_save_IFS
|
2133 | 2125 |
|
2134 | 2126 |
fi
|
2135 | 2127 |
|
|
2128 |
test -d ./--version && rmdir ./--version
|
2136 | 2129 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
2137 | 2130 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2138 | 2131 |
else
|
|
2140 | 2133 |
# value for MKDIR_P within a source directory, because that will
|
2141 | 2134 |
# break other packages using the cache if that directory is
|
2142 | 2135 |
# removed, or if the value is a relative name.
|
2143 | |
test -d ./--version && rmdir ./--version
|
2144 | 2136 |
MKDIR_P="$ac_install_sh -d"
|
2145 | 2137 |
fi
|
2146 | 2138 |
fi
|
2147 | |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2148 | 2140 |
$as_echo "$MKDIR_P" >&6; }
|
2149 | 2141 |
|
2150 | 2142 |
mkdir_p="$MKDIR_P"
|
|
2157 | 2149 |
do
|
2158 | 2150 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2159 | 2151 |
set dummy $ac_prog; ac_word=$2
|
2160 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2152 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2161 | 2153 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2162 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2154 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2163 | 2155 |
$as_echo_n "(cached) " >&6
|
2164 | 2156 |
else
|
2165 | 2157 |
if test -n "$AWK"; then
|
|
2170 | 2162 |
do
|
2171 | 2163 |
IFS=$as_save_IFS
|
2172 | 2164 |
test -z "$as_dir" && as_dir=.
|
2173 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2165 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2174 | 2166 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2175 | 2167 |
ac_cv_prog_AWK="$ac_prog"
|
2176 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2168 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2177 | 2169 |
break 2
|
2178 | 2170 |
fi
|
2179 | 2171 |
done
|
2180 | |
done
|
|
2172 |
done
|
2181 | 2173 |
IFS=$as_save_IFS
|
2182 | 2174 |
|
2183 | 2175 |
fi
|
2184 | 2176 |
fi
|
2185 | 2177 |
AWK=$ac_cv_prog_AWK
|
2186 | 2178 |
if test -n "$AWK"; then
|
2187 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2188 | 2180 |
$as_echo "$AWK" >&6; }
|
2189 | 2181 |
else
|
2190 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2182 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2191 | 2183 |
$as_echo "no" >&6; }
|
2192 | 2184 |
fi
|
2193 | 2185 |
|
|
2195 | 2187 |
test -n "$AWK" && break
|
2196 | 2188 |
done
|
2197 | 2189 |
|
2198 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2199 | 2191 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2200 | 2192 |
set x ${MAKE-make}
|
2201 | 2193 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2202 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2194 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
|
2203 | 2195 |
$as_echo_n "(cached) " >&6
|
2204 | 2196 |
else
|
2205 | 2197 |
cat >conftest.make <<\_ACEOF
|
|
2207 | 2199 |
all:
|
2208 | 2200 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2209 | 2201 |
_ACEOF
|
2210 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2202 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2211 | 2203 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2212 | 2204 |
*@@@%%%=?*=@@@%%%*)
|
2213 | 2205 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2217 | 2209 |
rm -f conftest.make
|
2218 | 2210 |
fi
|
2219 | 2211 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2220 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2221 | 2213 |
$as_echo "yes" >&6; }
|
2222 | 2214 |
SET_MAKE=
|
2223 | 2215 |
else
|
2224 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2225 | 2217 |
$as_echo "no" >&6; }
|
2226 | 2218 |
SET_MAKE="MAKE=${MAKE-make}"
|
2227 | 2219 |
fi
|
|
2241 | 2233 |
am__isrc=' -I$(srcdir)'
|
2242 | 2234 |
# test to see if srcdir already configured
|
2243 | 2235 |
if test -f $srcdir/config.status; then
|
2244 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2245 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2246 | |
{ (exit 1); exit 1; }; }
|
|
2236 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2247 | 2237 |
fi
|
2248 | 2238 |
fi
|
2249 | 2239 |
|
|
2259 | 2249 |
|
2260 | 2250 |
# Define the identity of the package.
|
2261 | 2251 |
PACKAGE='virt-what'
|
2262 | |
VERSION='1.2'
|
|
2252 |
VERSION='1.3'
|
2263 | 2253 |
|
2264 | 2254 |
|
2265 | 2255 |
cat >>confdefs.h <<_ACEOF
|
|
2312 | 2302 |
.PHONY: am__doit
|
2313 | 2303 |
END
|
2314 | 2304 |
# If we don't find an include directive, just comment out the code.
|
2315 | |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
2305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
2316 | 2306 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
2317 | 2307 |
am__include="#"
|
2318 | 2308 |
am__quote=
|
|
2340 | 2330 |
fi
|
2341 | 2331 |
|
2342 | 2332 |
|
2343 | |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
2333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
2344 | 2334 |
$as_echo "$_am_result" >&6; }
|
2345 | 2335 |
rm -f confinc confmf
|
2346 | 2336 |
|
2347 | 2337 |
# Check whether --enable-dependency-tracking was given.
|
2348 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
2338 |
if test "${enable_dependency_tracking+set}" = set; then :
|
2349 | 2339 |
enableval=$enable_dependency_tracking;
|
2350 | 2340 |
fi
|
2351 | 2341 |
|
|
2370 | 2360 |
if test -n "$ac_tool_prefix"; then
|
2371 | 2361 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2372 | 2362 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2373 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2374 | 2364 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2375 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2365 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2376 | 2366 |
$as_echo_n "(cached) " >&6
|
2377 | 2367 |
else
|
2378 | 2368 |
if test -n "$CC"; then
|
|
2383 | 2373 |
do
|
2384 | 2374 |
IFS=$as_save_IFS
|
2385 | 2375 |
test -z "$as_dir" && as_dir=.
|
2386 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2376 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2387 | 2377 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2388 | 2378 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2389 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2379 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2390 | 2380 |
break 2
|
2391 | 2381 |
fi
|
2392 | 2382 |
done
|
2393 | |
done
|
|
2383 |
done
|
2394 | 2384 |
IFS=$as_save_IFS
|
2395 | 2385 |
|
2396 | 2386 |
fi
|
2397 | 2387 |
fi
|
2398 | 2388 |
CC=$ac_cv_prog_CC
|
2399 | 2389 |
if test -n "$CC"; then
|
2400 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2401 | 2391 |
$as_echo "$CC" >&6; }
|
2402 | 2392 |
else
|
2403 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2404 | 2394 |
$as_echo "no" >&6; }
|
2405 | 2395 |
fi
|
2406 | 2396 |
|
|
2410 | 2400 |
ac_ct_CC=$CC
|
2411 | 2401 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2412 | 2402 |
set dummy gcc; ac_word=$2
|
2413 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2414 | 2404 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2415 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2405 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2416 | 2406 |
$as_echo_n "(cached) " >&6
|
2417 | 2407 |
else
|
2418 | 2408 |
if test -n "$ac_ct_CC"; then
|
|
2423 | 2413 |
do
|
2424 | 2414 |
IFS=$as_save_IFS
|
2425 | 2415 |
test -z "$as_dir" && as_dir=.
|
2426 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2416 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2427 | 2417 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2428 | 2418 |
ac_cv_prog_ac_ct_CC="gcc"
|
2429 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2419 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2430 | 2420 |
break 2
|
2431 | 2421 |
fi
|
2432 | 2422 |
done
|
2433 | |
done
|
|
2423 |
done
|
2434 | 2424 |
IFS=$as_save_IFS
|
2435 | 2425 |
|
2436 | 2426 |
fi
|
2437 | 2427 |
fi
|
2438 | 2428 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2439 | 2429 |
if test -n "$ac_ct_CC"; then
|
2440 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2441 | 2431 |
$as_echo "$ac_ct_CC" >&6; }
|
2442 | 2432 |
else
|
2443 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2433 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2444 | 2434 |
$as_echo "no" >&6; }
|
2445 | 2435 |
fi
|
2446 | 2436 |
|
|
2449 | 2439 |
else
|
2450 | 2440 |
case $cross_compiling:$ac_tool_warned in
|
2451 | 2441 |
yes:)
|
2452 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2453 | 2443 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2454 | 2444 |
ac_tool_warned=yes ;;
|
2455 | 2445 |
esac
|
|
2463 | 2453 |
if test -n "$ac_tool_prefix"; then
|
2464 | 2454 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2465 | 2455 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2466 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2467 | 2457 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2468 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2458 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2469 | 2459 |
$as_echo_n "(cached) " >&6
|
2470 | 2460 |
else
|
2471 | 2461 |
if test -n "$CC"; then
|
|
2476 | 2466 |
do
|
2477 | 2467 |
IFS=$as_save_IFS
|
2478 | 2468 |
test -z "$as_dir" && as_dir=.
|
2479 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2469 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2480 | 2470 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2481 | 2471 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2482 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2472 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2483 | 2473 |
break 2
|
2484 | 2474 |
fi
|
2485 | 2475 |
done
|
2486 | |
done
|
|
2476 |
done
|
2487 | 2477 |
IFS=$as_save_IFS
|
2488 | 2478 |
|
2489 | 2479 |
fi
|
2490 | 2480 |
fi
|
2491 | 2481 |
CC=$ac_cv_prog_CC
|
2492 | 2482 |
if test -n "$CC"; then
|
2493 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2483 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2494 | 2484 |
$as_echo "$CC" >&6; }
|
2495 | 2485 |
else
|
2496 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2497 | 2487 |
$as_echo "no" >&6; }
|
2498 | 2488 |
fi
|
2499 | 2489 |
|
|
2503 | 2493 |
if test -z "$CC"; then
|
2504 | 2494 |
# Extract the first word of "cc", so it can be a program name with args.
|
2505 | 2495 |
set dummy cc; ac_word=$2
|
2506 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2507 | 2497 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2508 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2498 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2509 | 2499 |
$as_echo_n "(cached) " >&6
|
2510 | 2500 |
else
|
2511 | 2501 |
if test -n "$CC"; then
|
|
2517 | 2507 |
do
|
2518 | 2508 |
IFS=$as_save_IFS
|
2519 | 2509 |
test -z "$as_dir" && as_dir=.
|
2520 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2510 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2521 | 2511 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2522 | 2512 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2523 | 2513 |
ac_prog_rejected=yes
|
2524 | 2514 |
continue
|
2525 | 2515 |
fi
|
2526 | 2516 |
ac_cv_prog_CC="cc"
|
2527 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2517 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2528 | 2518 |
break 2
|
2529 | 2519 |
fi
|
2530 | 2520 |
done
|
2531 | |
done
|
|
2521 |
done
|
2532 | 2522 |
IFS=$as_save_IFS
|
2533 | 2523 |
|
2534 | 2524 |
if test $ac_prog_rejected = yes; then
|
|
2547 | 2537 |
fi
|
2548 | 2538 |
CC=$ac_cv_prog_CC
|
2549 | 2539 |
if test -n "$CC"; then
|
2550 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2551 | 2541 |
$as_echo "$CC" >&6; }
|
2552 | 2542 |
else
|
2553 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2554 | 2544 |
$as_echo "no" >&6; }
|
2555 | 2545 |
fi
|
2556 | 2546 |
|
|
2562 | 2552 |
do
|
2563 | 2553 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2564 | 2554 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2565 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2566 | 2556 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2567 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2557 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2568 | 2558 |
$as_echo_n "(cached) " >&6
|
2569 | 2559 |
else
|
2570 | 2560 |
if test -n "$CC"; then
|
|
2575 | 2565 |
do
|
2576 | 2566 |
IFS=$as_save_IFS
|
2577 | 2567 |
test -z "$as_dir" && as_dir=.
|
2578 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2568 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2579 | 2569 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2580 | 2570 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2581 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2571 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2582 | 2572 |
break 2
|
2583 | 2573 |
fi
|
2584 | 2574 |
done
|
2585 | |
done
|
|
2575 |
done
|
2586 | 2576 |
IFS=$as_save_IFS
|
2587 | 2577 |
|
2588 | 2578 |
fi
|
2589 | 2579 |
fi
|
2590 | 2580 |
CC=$ac_cv_prog_CC
|
2591 | 2581 |
if test -n "$CC"; then
|
2592 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2593 | 2583 |
$as_echo "$CC" >&6; }
|
2594 | 2584 |
else
|
2595 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2585 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2596 | 2586 |
$as_echo "no" >&6; }
|
2597 | 2587 |
fi
|
2598 | 2588 |
|
|
2606 | 2596 |
do
|
2607 | 2597 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2608 | 2598 |
set dummy $ac_prog; ac_word=$2
|
2609 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2610 | 2600 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2611 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2601 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2612 | 2602 |
$as_echo_n "(cached) " >&6
|
2613 | 2603 |
else
|
2614 | 2604 |
if test -n "$ac_ct_CC"; then
|
|
2619 | 2609 |
do
|
2620 | 2610 |
IFS=$as_save_IFS
|
2621 | 2611 |
test -z "$as_dir" && as_dir=.
|
2622 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2612 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2623 | 2613 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2624 | 2614 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2625 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2615 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2626 | 2616 |
break 2
|
2627 | 2617 |
fi
|
2628 | 2618 |
done
|
2629 | |
done
|
|
2619 |
done
|
2630 | 2620 |
IFS=$as_save_IFS
|
2631 | 2621 |
|
2632 | 2622 |
fi
|
2633 | 2623 |
fi
|
2634 | 2624 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2635 | 2625 |
if test -n "$ac_ct_CC"; then
|
2636 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2637 | 2627 |
$as_echo "$ac_ct_CC" >&6; }
|
2638 | 2628 |
else
|
2639 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2640 | 2630 |
$as_echo "no" >&6; }
|
2641 | 2631 |
fi
|
2642 | 2632 |
|
|
2649 | 2639 |
else
|
2650 | 2640 |
case $cross_compiling:$ac_tool_warned in
|
2651 | 2641 |
yes:)
|
2652 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2653 | 2643 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2654 | 2644 |
ac_tool_warned=yes ;;
|
2655 | 2645 |
esac
|
|
2660 | 2650 |
fi
|
2661 | 2651 |
|
2662 | 2652 |
|
2663 | |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2653 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2664 | 2654 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2665 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2666 | |
See \`config.log' for more details." >&5
|
2667 | |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2668 | |
See \`config.log' for more details." >&2;}
|
2669 | |
{ (exit 1); exit 1; }; }; }
|
|
2655 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
2656 |
See \`config.log' for more details" "$LINENO" 5; }
|
2670 | 2657 |
|
2671 | 2658 |
# Provide some information about the compiler.
|
2672 | |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
2659 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2673 | 2660 |
set X $ac_compile
|
2674 | 2661 |
ac_compiler=$2
|
2675 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
2662 |
for ac_option in --version -v -V -qversion; do
|
|
2663 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2676 | 2664 |
case "(($ac_try" in
|
2677 | 2665 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2678 | 2666 |
*) ac_try_echo=$ac_try;;
|
2679 | 2667 |
esac
|
2680 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2681 | |
$as_echo "$ac_try_echo") >&5
|
2682 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
2668 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2669 |
$as_echo "$ac_try_echo"; } >&5
|
|
2670 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2683 | 2671 |
ac_status=$?
|
2684 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2685 | |
(exit $ac_status); }
|
2686 | |
{ (ac_try="$ac_compiler -v >&5"
|
2687 | |
case "(($ac_try" in
|
2688 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2689 | |
*) ac_try_echo=$ac_try;;
|
2690 | |
esac
|
2691 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2692 | |
$as_echo "$ac_try_echo") >&5
|
2693 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2694 | |
ac_status=$?
|
2695 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2696 | |
(exit $ac_status); }
|
2697 | |
{ (ac_try="$ac_compiler -V >&5"
|
2698 | |
case "(($ac_try" in
|
2699 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2700 | |
*) ac_try_echo=$ac_try;;
|
2701 | |
esac
|
2702 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2703 | |
$as_echo "$ac_try_echo") >&5
|
2704 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2705 | |
ac_status=$?
|
2706 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2707 | |
(exit $ac_status); }
|
2708 | |
|
2709 | |
cat >conftest.$ac_ext <<_ACEOF
|
2710 | |
/* confdefs.h. */
|
2711 | |
_ACEOF
|
2712 | |
cat confdefs.h >>conftest.$ac_ext
|
2713 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2672 |
if test -s conftest.err; then
|
|
2673 |
sed '10a\
|
|
2674 |
... rest of stderr output deleted ...
|
|
2675 |
10q' conftest.err >conftest.er1
|
|
2676 |
cat conftest.er1 >&5
|
|
2677 |
fi
|
|
2678 |
rm -f conftest.er1 conftest.err
|
|
2679 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2680 |
test $ac_status = 0; }
|
|
2681 |
done
|
|
2682 |
|
|
2683 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2714 | 2684 |
/* end confdefs.h. */
|
2715 | 2685 |
|
2716 | 2686 |
int
|
|
2726 | 2696 |
# Try to create an executable without -o first, disregard a.out.
|
2727 | 2697 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2728 | 2698 |
# of exeext.
|
2729 | |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2730 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
2699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
2700 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2731 | 2701 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2732 | 2702 |
|
2733 | 2703 |
# The possible output files:
|
|
2743 | 2713 |
done
|
2744 | 2714 |
rm -f $ac_rmfiles
|
2745 | 2715 |
|
2746 | |
if { (ac_try="$ac_link_default"
|
|
2716 |
if { { ac_try="$ac_link_default"
|
2747 | 2717 |
case "(($ac_try" in
|
2748 | 2718 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2749 | 2719 |
*) ac_try_echo=$ac_try;;
|
2750 | 2720 |
esac
|
2751 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2752 | |
$as_echo "$ac_try_echo") >&5
|
|
2721 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2722 |
$as_echo "$ac_try_echo"; } >&5
|
2753 | 2723 |
(eval "$ac_link_default") 2>&5
|
2754 | 2724 |
ac_status=$?
|
2755 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2756 | |
(exit $ac_status); }; then
|
|
2725 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2726 |
test $ac_status = 0; }; then :
|
2757 | 2727 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2758 | 2728 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2759 | 2729 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2770 | 2740 |
# certainly right.
|
2771 | 2741 |
break;;
|
2772 | 2742 |
*.* )
|
2773 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2743 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2774 | 2744 |
then :; else
|
2775 | 2745 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2776 | 2746 |
fi
|
|
2789 | 2759 |
else
|
2790 | 2760 |
ac_file=''
|
2791 | 2761 |
fi
|
2792 | |
|
2793 | |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2762 |
if test -z "$ac_file"; then :
|
|
2763 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2764 |
$as_echo "no" >&6; }
|
|
2765 |
$as_echo "$as_me: failed program was:" >&5
|
|
2766 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2767 |
|
|
2768 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2769 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2770 |
as_fn_error 77 "C compiler cannot create executables
|
|
2771 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
2772 |
else
|
|
2773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2774 |
$as_echo "yes" >&6; }
|
|
2775 |
fi
|
|
2776 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
2777 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
2778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2794 | 2779 |
$as_echo "$ac_file" >&6; }
|
2795 | |
if test -z "$ac_file"; then
|
2796 | |
$as_echo "$as_me: failed program was:" >&5
|
2797 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2798 | |
|
2799 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2800 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2801 | |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2802 | |
See \`config.log' for more details." >&5
|
2803 | |
$as_echo "$as_me: error: C compiler cannot create executables
|
2804 | |
See \`config.log' for more details." >&2;}
|
2805 | |
{ (exit 77); exit 77; }; }; }
|
2806 | |
fi
|
2807 | |
|
2808 | 2780 |
ac_exeext=$ac_cv_exeext
|
2809 | |
|
2810 | |
# Check that the compiler produces executables we can run. If not, either
|
2811 | |
# the compiler is broken, or we cross compile.
|
2812 | |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2813 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2814 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2815 | |
# If not cross compiling, check that we can run a simple program.
|
2816 | |
if test "$cross_compiling" != yes; then
|
2817 | |
if { ac_try='./$ac_file'
|
2818 | |
{ (case "(($ac_try" in
|
2819 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2820 | |
*) ac_try_echo=$ac_try;;
|
2821 | |
esac
|
2822 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2823 | |
$as_echo "$ac_try_echo") >&5
|
2824 | |
(eval "$ac_try") 2>&5
|
2825 | |
ac_status=$?
|
2826 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2827 | |
(exit $ac_status); }; }; then
|
2828 | |
cross_compiling=no
|
2829 | |
else
|
2830 | |
if test "$cross_compiling" = maybe; then
|
2831 | |
cross_compiling=yes
|
2832 | |
else
|
2833 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2834 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2835 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2836 | |
If you meant to cross compile, use \`--host'.
|
2837 | |
See \`config.log' for more details." >&5
|
2838 | |
$as_echo "$as_me: error: cannot run C compiled programs.
|
2839 | |
If you meant to cross compile, use \`--host'.
|
2840 | |
See \`config.log' for more details." >&2;}
|
2841 | |
{ (exit 1); exit 1; }; }; }
|
2842 | |
fi
|
2843 | |
fi
|
2844 | |
fi
|
2845 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
2846 | |
$as_echo "yes" >&6; }
|
2847 | 2781 |
|
2848 | 2782 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2849 | 2783 |
ac_clean_files=$ac_clean_files_save
|
2850 | |
# Check that the compiler produces executables we can run. If not, either
|
2851 | |
# the compiler is broken, or we cross compile.
|
2852 | |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2853 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
2854 | |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2855 | |
$as_echo "$cross_compiling" >&6; }
|
2856 | |
|
2857 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2858 | 2785 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2859 | |
if { (ac_try="$ac_link"
|
|
2786 |
if { { ac_try="$ac_link"
|
2860 | 2787 |
case "(($ac_try" in
|
2861 | 2788 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2862 | 2789 |
*) ac_try_echo=$ac_try;;
|
2863 | 2790 |
esac
|
2864 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2865 | |
$as_echo "$ac_try_echo") >&5
|
|
2791 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2792 |
$as_echo "$ac_try_echo"; } >&5
|
2866 | 2793 |
(eval "$ac_link") 2>&5
|
2867 | 2794 |
ac_status=$?
|
2868 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2869 | |
(exit $ac_status); }; then
|
|
2795 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2796 |
test $ac_status = 0; }; then :
|
2870 | 2797 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2871 | 2798 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2872 | 2799 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2881 | 2808 |
esac
|
2882 | 2809 |
done
|
2883 | 2810 |
else
|
2884 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2811 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2885 | 2812 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2886 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2887 | |
See \`config.log' for more details." >&5
|
2888 | |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2889 | |
See \`config.log' for more details." >&2;}
|
2890 | |
{ (exit 1); exit 1; }; }; }
|
2891 | |
fi
|
2892 | |
|
2893 | |
rm -f conftest$ac_cv_exeext
|
2894 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2813 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
|
2814 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
2815 |
fi
|
|
2816 |
rm -f conftest conftest$ac_cv_exeext
|
|
2817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2895 | 2818 |
$as_echo "$ac_cv_exeext" >&6; }
|
2896 | 2819 |
|
2897 | 2820 |
rm -f conftest.$ac_ext
|
2898 | 2821 |
EXEEXT=$ac_cv_exeext
|
2899 | 2822 |
ac_exeext=$EXEEXT
|
2900 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2823 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2824 |
/* end confdefs.h. */
|
|
2825 |
#include <stdio.h>
|
|
2826 |
int
|
|
2827 |
main ()
|
|
2828 |
{
|
|
2829 |
FILE *f = fopen ("conftest.out", "w");
|
|
2830 |
return ferror (f) || fclose (f) != 0;
|
|
2831 |
|
|
2832 |
;
|
|
2833 |
return 0;
|
|
2834 |
}
|
|
2835 |
_ACEOF
|
|
2836 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
2837 |
# Check that the compiler produces executables we can run. If not, either
|
|
2838 |
# the compiler is broken, or we cross compile.
|
|
2839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
2840 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
2841 |
if test "$cross_compiling" != yes; then
|
|
2842 |
{ { ac_try="$ac_link"
|
|
2843 |
case "(($ac_try" in
|
|
2844 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2845 |
*) ac_try_echo=$ac_try;;
|
|
2846 |
esac
|
|
2847 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2848 |
$as_echo "$ac_try_echo"; } >&5
|
|
2849 |
(eval "$ac_link") 2>&5
|
|
2850 |
ac_status=$?
|
|
2851 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2852 |
test $ac_status = 0; }
|
|
2853 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
2854 |
{ { case "(($ac_try" in
|
|
2855 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2856 |
*) ac_try_echo=$ac_try;;
|
|
2857 |
esac
|
|
2858 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2859 |
$as_echo "$ac_try_echo"; } >&5
|
|
2860 |
(eval "$ac_try") 2>&5
|
|
2861 |
ac_status=$?
|
|
2862 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2863 |
test $ac_status = 0; }; }; then
|
|
2864 |
cross_compiling=no
|
|
2865 |
else
|
|
2866 |
if test "$cross_compiling" = maybe; then
|
|
2867 |
cross_compiling=yes
|
|
2868 |
else
|
|
2869 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2870 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2871 |
as_fn_error $? "cannot run C compiled programs.
|
|
2872 |
If you meant to cross compile, use \`--host'.
|
|
2873 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
2874 |
fi
|
|
2875 |
fi
|
|
2876 |
fi
|
|
2877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
2878 |
$as_echo "$cross_compiling" >&6; }
|
|
2879 |
|
|
2880 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
2881 |
ac_clean_files=$ac_clean_files_save
|
|
2882 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
2901 | 2883 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2902 | |
if test "${ac_cv_objext+set}" = set; then
|
|
2884 |
if test "${ac_cv_objext+set}" = set; then :
|
2903 | 2885 |
$as_echo_n "(cached) " >&6
|
2904 | 2886 |
else
|
2905 | |
cat >conftest.$ac_ext <<_ACEOF
|
2906 | |
/* confdefs.h. */
|
2907 | |
_ACEOF
|
2908 | |
cat confdefs.h >>conftest.$ac_ext
|
2909 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2887 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2910 | 2888 |
/* end confdefs.h. */
|
2911 | 2889 |
|
2912 | 2890 |
int
|
|
2918 | 2896 |
}
|
2919 | 2897 |
_ACEOF
|
2920 | 2898 |
rm -f conftest.o conftest.obj
|
2921 | |
if { (ac_try="$ac_compile"
|
|
2899 |
if { { ac_try="$ac_compile"
|
2922 | 2900 |
case "(($ac_try" in
|
2923 | 2901 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2924 | 2902 |
*) ac_try_echo=$ac_try;;
|
2925 | 2903 |
esac
|
2926 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2927 | |
$as_echo "$ac_try_echo") >&5
|
|
2904 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2905 |
$as_echo "$ac_try_echo"; } >&5
|
2928 | 2906 |
(eval "$ac_compile") 2>&5
|
2929 | 2907 |
ac_status=$?
|
2930 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2931 | |
(exit $ac_status); }; then
|
|
2908 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2909 |
test $ac_status = 0; }; then :
|
2932 | 2910 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2933 | 2911 |
test -f "$ac_file" || continue;
|
2934 | 2912 |
case $ac_file in
|
|
2941 | 2919 |
$as_echo "$as_me: failed program was:" >&5
|
2942 | 2920 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2943 | 2921 |
|
2944 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2922 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2945 | 2923 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2946 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2947 | |
See \`config.log' for more details." >&5
|
2948 | |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2949 | |
See \`config.log' for more details." >&2;}
|
2950 | |
{ (exit 1); exit 1; }; }; }
|
2951 | |
fi
|
2952 | |
|
|
2924 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
|
2925 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
2926 |
fi
|
2953 | 2927 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2954 | 2928 |
fi
|
2955 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2956 | 2930 |
$as_echo "$ac_cv_objext" >&6; }
|
2957 | 2931 |
OBJEXT=$ac_cv_objext
|
2958 | 2932 |
ac_objext=$OBJEXT
|
2959 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
2933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
2960 | 2934 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2961 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
2935 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
2962 | 2936 |
$as_echo_n "(cached) " >&6
|
2963 | 2937 |
else
|
2964 | |
cat >conftest.$ac_ext <<_ACEOF
|
2965 | |
/* confdefs.h. */
|
2966 | |
_ACEOF
|
2967 | |
cat confdefs.h >>conftest.$ac_ext
|
2968 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2938 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2969 | 2939 |
/* end confdefs.h. */
|
2970 | 2940 |
|
2971 | 2941 |
int
|
|
2979 | 2949 |
return 0;
|
2980 | 2950 |
}
|
2981 | 2951 |
_ACEOF
|
2982 | |
rm -f conftest.$ac_objext
|
2983 | |
if { (ac_try="$ac_compile"
|
2984 | |
case "(($ac_try" in
|
2985 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2986 | |
*) ac_try_echo=$ac_try;;
|
2987 | |
esac
|
2988 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2989 | |
$as_echo "$ac_try_echo") >&5
|
2990 | |
(eval "$ac_compile") 2>conftest.er1
|
2991 | |
ac_status=$?
|
2992 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2993 | |
rm -f conftest.er1
|
2994 | |
cat conftest.err >&5
|
2995 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2996 | |
(exit $ac_status); } && {
|
2997 | |
test -z "$ac_c_werror_flag" ||
|
2998 | |
test ! -s conftest.err
|
2999 | |
} && test -s conftest.$ac_objext; then
|
|
2952 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3000 | 2953 |
ac_compiler_gnu=yes
|
3001 | 2954 |
else
|
3002 | |
$as_echo "$as_me: failed program was:" >&5
|
3003 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3004 | |
|
3005 | |
ac_compiler_gnu=no
|
3006 | |
fi
|
3007 | |
|
|
2955 |
ac_compiler_gnu=no
|
|
2956 |
fi
|
3008 | 2957 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3009 | 2958 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3010 | 2959 |
|
3011 | 2960 |
fi
|
3012 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
2961 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
3013 | 2962 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
3014 | 2963 |
if test $ac_compiler_gnu = yes; then
|
3015 | 2964 |
GCC=yes
|
|
3018 | 2967 |
fi
|
3019 | 2968 |
ac_test_CFLAGS=${CFLAGS+set}
|
3020 | 2969 |
ac_save_CFLAGS=$CFLAGS
|
3021 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
2970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3022 | 2971 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3023 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
2972 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
3024 | 2973 |
$as_echo_n "(cached) " >&6
|
3025 | 2974 |
else
|
3026 | 2975 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3027 | 2976 |
ac_c_werror_flag=yes
|
3028 | 2977 |
ac_cv_prog_cc_g=no
|
3029 | 2978 |
CFLAGS="-g"
|
3030 | |
cat >conftest.$ac_ext <<_ACEOF
|
3031 | |
/* confdefs.h. */
|
3032 | |
_ACEOF
|
3033 | |
cat confdefs.h >>conftest.$ac_ext
|
3034 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2979 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3035 | 2980 |
/* end confdefs.h. */
|
3036 | 2981 |
|
3037 | 2982 |
int
|
|
3042 | 2987 |
return 0;
|
3043 | 2988 |
}
|
3044 | 2989 |
_ACEOF
|
3045 | |
rm -f conftest.$ac_objext
|
3046 | |
if { (ac_try="$ac_compile"
|
3047 | |
case "(($ac_try" in
|
3048 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3049 | |
*) ac_try_echo=$ac_try;;
|
3050 | |
esac
|
3051 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3052 | |
$as_echo "$ac_try_echo") >&5
|
3053 | |
(eval "$ac_compile") 2>conftest.er1
|
3054 | |
ac_status=$?
|
3055 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3056 | |
rm -f conftest.er1
|
3057 | |
cat conftest.err >&5
|
3058 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3059 | |
(exit $ac_status); } && {
|
3060 | |
test -z "$ac_c_werror_flag" ||
|
3061 | |
test ! -s conftest.err
|
3062 | |
} && test -s conftest.$ac_objext; then
|
|
2990 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3063 | 2991 |
ac_cv_prog_cc_g=yes
|
3064 | 2992 |
else
|
3065 | |
$as_echo "$as_me: failed program was:" >&5
|
3066 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3067 | |
|
3068 | |
CFLAGS=""
|
3069 | |
cat >conftest.$ac_ext <<_ACEOF
|
3070 | |
/* confdefs.h. */
|
3071 | |
_ACEOF
|
3072 | |
cat confdefs.h >>conftest.$ac_ext
|
3073 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2993 |
CFLAGS=""
|
|
2994 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3074 | 2995 |
/* end confdefs.h. */
|
3075 | 2996 |
|
3076 | 2997 |
int
|
|
3081 | 3002 |
return 0;
|
3082 | 3003 |
}
|
3083 | 3004 |
_ACEOF
|
3084 | |
rm -f conftest.$ac_objext
|
3085 | |
if { (ac_try="$ac_compile"
|
3086 | |
case "(($ac_try" in
|
3087 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3088 | |
*) ac_try_echo=$ac_try;;
|
3089 | |
esac
|
3090 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3091 | |
$as_echo "$ac_try_echo") >&5
|
3092 | |
(eval "$ac_compile") 2>conftest.er1
|
3093 | |
ac_status=$?
|
3094 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3095 | |
rm -f conftest.er1
|
3096 | |
cat conftest.err >&5
|
3097 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3098 | |
(exit $ac_status); } && {
|
3099 | |
test -z "$ac_c_werror_flag" ||
|
3100 | |
test ! -s conftest.err
|
3101 | |
} && test -s conftest.$ac_objext; then
|
3102 | |
:
|
3103 | |
else
|
3104 | |
$as_echo "$as_me: failed program was:" >&5
|
3105 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3106 | |
|
3107 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3005 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3006 |
|
|
3007 |
else
|
|
3008 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3108 | 3009 |
CFLAGS="-g"
|
3109 | |
cat >conftest.$ac_ext <<_ACEOF
|
3110 | |
/* confdefs.h. */
|
3111 | |
_ACEOF
|
3112 | |
cat confdefs.h >>conftest.$ac_ext
|
3113 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3010 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3114 | 3011 |
/* end confdefs.h. */
|
3115 | 3012 |
|
3116 | 3013 |
int
|
|
3121 | 3018 |
return 0;
|
3122 | 3019 |
}
|
3123 | 3020 |
_ACEOF
|
3124 | |
rm -f conftest.$ac_objext
|
3125 | |
if { (ac_try="$ac_compile"
|
3126 | |
case "(($ac_try" in
|
3127 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3128 | |
*) ac_try_echo=$ac_try;;
|
3129 | |
esac
|
3130 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3131 | |
$as_echo "$ac_try_echo") >&5
|
3132 | |
(eval "$ac_compile") 2>conftest.er1
|
3133 | |
ac_status=$?
|
3134 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3135 | |
rm -f conftest.er1
|
3136 | |
cat conftest.err >&5
|
3137 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3138 | |
(exit $ac_status); } && {
|
3139 | |
test -z "$ac_c_werror_flag" ||
|
3140 | |
test ! -s conftest.err
|
3141 | |
} && test -s conftest.$ac_objext; then
|
|
3021 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3142 | 3022 |
ac_cv_prog_cc_g=yes
|
3143 | |
else
|
3144 | |
$as_echo "$as_me: failed program was:" >&5
|
3145 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3146 | |
|
3147 | |
|
3148 | |
fi
|
3149 | |
|
|
3023 |
fi
|
3150 | 3024 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3151 | 3025 |
fi
|
3152 | |
|
3153 | 3026 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3154 | 3027 |
fi
|
3155 | |
|
3156 | 3028 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3157 | 3029 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3158 | 3030 |
fi
|
3159 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3160 | 3032 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3161 | 3033 |
if test "$ac_test_CFLAGS" = set; then
|
3162 | 3034 |
CFLAGS=$ac_save_CFLAGS
|
|
3173 | 3045 |
CFLAGS=
|
3174 | 3046 |
fi
|
3175 | 3047 |
fi
|
3176 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3177 | 3049 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3178 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3050 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3179 | 3051 |
$as_echo_n "(cached) " >&6
|
3180 | 3052 |
else
|
3181 | 3053 |
ac_cv_prog_cc_c89=no
|
3182 | 3054 |
ac_save_CC=$CC
|
3183 | |
cat >conftest.$ac_ext <<_ACEOF
|
3184 | |
/* confdefs.h. */
|
3185 | |
_ACEOF
|
3186 | |
cat confdefs.h >>conftest.$ac_ext
|
3187 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3055 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3188 | 3056 |
/* end confdefs.h. */
|
3189 | 3057 |
#include <stdarg.h>
|
3190 | 3058 |
#include <stdio.h>
|
|
3241 | 3109 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3242 | 3110 |
do
|
3243 | 3111 |
CC="$ac_save_CC $ac_arg"
|
3244 | |
rm -f conftest.$ac_objext
|
3245 | |
if { (ac_try="$ac_compile"
|
3246 | |
case "(($ac_try" in
|
3247 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3248 | |
*) ac_try_echo=$ac_try;;
|
3249 | |
esac
|
3250 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3251 | |
$as_echo "$ac_try_echo") >&5
|
3252 | |
(eval "$ac_compile") 2>conftest.er1
|
3253 | |
ac_status=$?
|
3254 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3255 | |
rm -f conftest.er1
|
3256 | |
cat conftest.err >&5
|
3257 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3258 | |
(exit $ac_status); } && {
|
3259 | |
test -z "$ac_c_werror_flag" ||
|
3260 | |
test ! -s conftest.err
|
3261 | |
} && test -s conftest.$ac_objext; then
|
|
3112 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3262 | 3113 |
ac_cv_prog_cc_c89=$ac_arg
|
3263 | |
else
|
3264 | |
$as_echo "$as_me: failed program was:" >&5
|
3265 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3266 | |
|
3267 | |
|
3268 | |
fi
|
3269 | |
|
|
3114 |
fi
|
3270 | 3115 |
rm -f core conftest.err conftest.$ac_objext
|
3271 | 3116 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3272 | 3117 |
done
|
|
3277 | 3122 |
# AC_CACHE_VAL
|
3278 | 3123 |
case "x$ac_cv_prog_cc_c89" in
|
3279 | 3124 |
x)
|
3280 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3281 | 3126 |
$as_echo "none needed" >&6; } ;;
|
3282 | 3127 |
xno)
|
3283 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3128 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3284 | 3129 |
$as_echo "unsupported" >&6; } ;;
|
3285 | 3130 |
*)
|
3286 | 3131 |
CC="$CC $ac_cv_prog_cc_c89"
|
3287 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3288 | 3133 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3289 | 3134 |
esac
|
3290 | |
|
|
3135 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3136 |
|
|
3137 |
fi
|
3291 | 3138 |
|
3292 | 3139 |
ac_ext=c
|
3293 | 3140 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3297 | 3144 |
|
3298 | 3145 |
depcc="$CC" am_compiler_list=
|
3299 | 3146 |
|
3300 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3301 | 3148 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3302 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3149 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
3303 | 3150 |
$as_echo_n "(cached) " >&6
|
3304 | 3151 |
else
|
3305 | 3152 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3407 | 3254 |
fi
|
3408 | 3255 |
|
3409 | 3256 |
fi
|
3410 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3411 | 3258 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3412 | 3259 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3413 | 3260 |
|
|
3422 | 3269 |
fi
|
3423 | 3270 |
|
3424 | 3271 |
|
3425 | |
case $ac_cv_prog_cc_stdc in
|
3426 | |
no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
|
3427 | |
*) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
|
|
3272 |
case $ac_cv_prog_cc_stdc in #(
|
|
3273 |
no) :
|
|
3274 |
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
|
|
3275 |
*) :
|
|
3276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
3428 | 3277 |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
3429 | |
if test "${ac_cv_prog_cc_c99+set}" = set; then
|
|
3278 |
if test "${ac_cv_prog_cc_c99+set}" = set; then :
|
3430 | 3279 |
$as_echo_n "(cached) " >&6
|
3431 | 3280 |
else
|
3432 | 3281 |
ac_cv_prog_cc_c99=no
|
3433 | 3282 |
ac_save_CC=$CC
|
3434 | |
cat >conftest.$ac_ext <<_ACEOF
|
3435 | |
/* confdefs.h. */
|
3436 | |
_ACEOF
|
3437 | |
cat confdefs.h >>conftest.$ac_ext
|
3438 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3283 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3439 | 3284 |
/* end confdefs.h. */
|
3440 | 3285 |
#include <stdarg.h>
|
3441 | 3286 |
#include <stdbool.h>
|
|
3577 | 3422 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
|
3578 | 3423 |
do
|
3579 | 3424 |
CC="$ac_save_CC $ac_arg"
|
3580 | |
rm -f conftest.$ac_objext
|
3581 | |
if { (ac_try="$ac_compile"
|
3582 | |
case "(($ac_try" in
|
3583 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3584 | |
*) ac_try_echo=$ac_try;;
|
3585 | |
esac
|
3586 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3587 | |
$as_echo "$ac_try_echo") >&5
|
3588 | |
(eval "$ac_compile") 2>conftest.er1
|
3589 | |
ac_status=$?
|
3590 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3591 | |
rm -f conftest.er1
|
3592 | |
cat conftest.err >&5
|
3593 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3594 | |
(exit $ac_status); } && {
|
3595 | |
test -z "$ac_c_werror_flag" ||
|
3596 | |
test ! -s conftest.err
|
3597 | |
} && test -s conftest.$ac_objext; then
|
|
3425 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3598 | 3426 |
ac_cv_prog_cc_c99=$ac_arg
|
3599 | |
else
|
3600 | |
$as_echo "$as_me: failed program was:" >&5
|
3601 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3602 | |
|
3603 | |
|
3604 | |
fi
|
3605 | |
|
|
3427 |
fi
|
3606 | 3428 |
rm -f core conftest.err conftest.$ac_objext
|
3607 | 3429 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
3608 | 3430 |
done
|
|
3613 | 3435 |
# AC_CACHE_VAL
|
3614 | 3436 |
case "x$ac_cv_prog_cc_c99" in
|
3615 | 3437 |
x)
|
3616 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3617 | 3439 |
$as_echo "none needed" >&6; } ;;
|
3618 | 3440 |
xno)
|
3619 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3620 | 3442 |
$as_echo "unsupported" >&6; } ;;
|
3621 | 3443 |
*)
|
3622 | 3444 |
CC="$CC $ac_cv_prog_cc_c99"
|
3623 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
|
|
3445 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
3624 | 3446 |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
3625 | 3447 |
esac
|
3626 | |
if test "x$ac_cv_prog_cc_c99" != xno; then
|
|
3448 |
if test "x$ac_cv_prog_cc_c99" != xno; then :
|
3627 | 3449 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
3628 | 3450 |
else
|
3629 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3630 | 3452 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3631 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3453 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3632 | 3454 |
$as_echo_n "(cached) " >&6
|
3633 | 3455 |
else
|
3634 | 3456 |
ac_cv_prog_cc_c89=no
|
3635 | 3457 |
ac_save_CC=$CC
|
3636 | |
cat >conftest.$ac_ext <<_ACEOF
|
3637 | |
/* confdefs.h. */
|
3638 | |
_ACEOF
|
3639 | |
cat confdefs.h >>conftest.$ac_ext
|
3640 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3458 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3641 | 3459 |
/* end confdefs.h. */
|
3642 | 3460 |
#include <stdarg.h>
|
3643 | 3461 |
#include <stdio.h>
|
|
3694 | 3512 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3695 | 3513 |
do
|
3696 | 3514 |
CC="$ac_save_CC $ac_arg"
|
3697 | |
rm -f conftest.$ac_objext
|
3698 | |
if { (ac_try="$ac_compile"
|
3699 | |
case "(($ac_try" in
|
3700 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3701 | |
*) ac_try_echo=$ac_try;;
|
3702 | |
esac
|
3703 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3704 | |
$as_echo "$ac_try_echo") >&5
|
3705 | |
(eval "$ac_compile") 2>conftest.er1
|
3706 | |
ac_status=$?
|
3707 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3708 | |
rm -f conftest.er1
|
3709 | |
cat conftest.err >&5
|
3710 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3711 | |
(exit $ac_status); } && {
|
3712 | |
test -z "$ac_c_werror_flag" ||
|
3713 | |
test ! -s conftest.err
|
3714 | |
} && test -s conftest.$ac_objext; then
|
|
3515 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3715 | 3516 |
ac_cv_prog_cc_c89=$ac_arg
|
3716 | |
else
|
3717 | |
$as_echo "$as_me: failed program was:" >&5
|
3718 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3719 | |
|
3720 | |
|
3721 | |
fi
|
3722 | |
|
|
3517 |
fi
|
3723 | 3518 |
rm -f core conftest.err conftest.$ac_objext
|
3724 | 3519 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3725 | 3520 |
done
|
|
3730 | 3525 |
# AC_CACHE_VAL
|
3731 | 3526 |
case "x$ac_cv_prog_cc_c89" in
|
3732 | 3527 |
x)
|
3733 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3734 | 3529 |
$as_echo "none needed" >&6; } ;;
|
3735 | 3530 |
xno)
|
3736 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3531 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3737 | 3532 |
$as_echo "unsupported" >&6; } ;;
|
3738 | 3533 |
*)
|
3739 | 3534 |
CC="$CC $ac_cv_prog_cc_c89"
|
3740 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3741 | 3536 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3742 | 3537 |
esac
|
3743 | |
if test "x$ac_cv_prog_cc_c89" != xno; then
|
|
3538 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
3744 | 3539 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
3745 | 3540 |
else
|
3746 | 3541 |
ac_cv_prog_cc_stdc=no
|
3747 | 3542 |
fi
|
3748 | 3543 |
|
3749 | |
|
3750 | |
fi
|
3751 | |
|
|
3544 |
fi
|
3752 | 3545 |
;;
|
3753 | 3546 |
esac
|
3754 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
|
|
3547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
|
3755 | 3548 |
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
|
3756 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
|
3549 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
3757 | 3550 |
$as_echo_n "(cached) " >&6
|
3758 | 3551 |
fi
|
3759 | 3552 |
|
3760 | |
case $ac_cv_prog_cc_stdc in
|
3761 | |
no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
3762 | |
$as_echo "unsupported" >&6; } ;;
|
3763 | |
'') { $as_echo "$as_me:$LINENO: result: none needed" >&5
|
3764 | |
$as_echo "none needed" >&6; } ;;
|
3765 | |
*) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
|
3553 |
case $ac_cv_prog_cc_stdc in #(
|
|
3554 |
no) :
|
|
3555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
3556 |
$as_echo "unsupported" >&6; } ;; #(
|
|
3557 |
'') :
|
|
3558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
3559 |
$as_echo "none needed" >&6; } ;; #(
|
|
3560 |
*) :
|
|
3561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
3766 | 3562 |
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
3767 | 3563 |
esac
|
3768 | 3564 |
|
3769 | |
|
3770 | |
# Find a good install program. We prefer a C program (faster),
|
3771 | |
# so one script is as good as another. But avoid the broken or
|
3772 | |
# incompatible versions:
|
3773 | |
# SysV /etc/install, /usr/sbin/install
|
3774 | |
# SunOS /usr/etc/install
|
3775 | |
# IRIX /sbin/install
|
3776 | |
# AIX /bin/install
|
3777 | |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
3778 | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
3779 | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
3780 | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3781 | |
# OS/2's system install, which has a completely different semantic
|
3782 | |
# ./install, which can be erroneously created by make from ./install.sh.
|
3783 | |
# Reject install programs that cannot install multiple files.
|
3784 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3785 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
3786 | |
if test -z "$INSTALL"; then
|
3787 | |
if test "${ac_cv_path_install+set}" = set; then
|
3788 | |
$as_echo_n "(cached) " >&6
|
3789 | |
else
|
3790 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3791 | |
for as_dir in $PATH
|
3792 | |
do
|
3793 | |
IFS=$as_save_IFS
|
3794 | |
test -z "$as_dir" && as_dir=.
|
3795 | |
# Account for people who put trailing slashes in PATH elements.
|
3796 | |
case $as_dir/ in
|
3797 | |
./ | .// | /cC/* | \
|
3798 | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3799 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
3800 | |
/usr/ucb/* ) ;;
|
3801 | |
*)
|
3802 | |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
3803 | |
# Don't use installbsd from OSF since it installs stuff as root
|
3804 | |
# by default.
|
3805 | |
for ac_prog in ginstall scoinst install; do
|
3806 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3807 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
3808 | |
if test $ac_prog = install &&
|
3809 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3810 | |
# AIX install. It has an incompatible calling convention.
|
3811 | |
:
|
3812 | |
elif test $ac_prog = install &&
|
3813 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3814 | |
# program-specific install script used by HP pwplus--don't use.
|
3815 | |
:
|
3816 | |
else
|
3817 | |
rm -rf conftest.one conftest.two conftest.dir
|
3818 | |
echo one > conftest.one
|
3819 | |
echo two > conftest.two
|
3820 | |
mkdir conftest.dir
|
3821 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
3822 | |
test -s conftest.one && test -s conftest.two &&
|
3823 | |
test -s conftest.dir/conftest.one &&
|
3824 | |
test -s conftest.dir/conftest.two
|
3825 | |
then
|
3826 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3827 | |
break 3
|
3828 | |
fi
|
3829 | |
fi
|
3830 | |
fi
|
3831 | |
done
|
3832 | |
done
|
3833 | |
;;
|
3834 | |
esac
|
3835 | |
|
3836 | |
done
|
3837 | |
IFS=$as_save_IFS
|
3838 | |
|
3839 | |
rm -rf conftest.one conftest.two conftest.dir
|
3840 | |
|
3841 | |
fi
|
3842 | |
if test "${ac_cv_path_install+set}" = set; then
|
3843 | |
INSTALL=$ac_cv_path_install
|
3844 | |
else
|
3845 | |
# As a last resort, use the slow shell script. Don't cache a
|
3846 | |
# value for INSTALL within a source directory, because that will
|
3847 | |
# break other packages using the cache if that directory is
|
3848 | |
# removed, or if the value is a relative name.
|
3849 | |
INSTALL=$ac_install_sh
|
3850 | |
fi
|
3851 | |
fi
|
3852 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3853 | |
$as_echo "$INSTALL" >&6; }
|
3854 | |
|
3855 | |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3856 | |
# It thinks the first close brace ends the variable substitution.
|
3857 | |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
3858 | |
|
3859 | |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
3860 | |
|
3861 | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3862 | 3565 |
|
3863 | 3566 |
ac_ext=c
|
3864 | 3567 |
ac_cpp='$CPP $CPPFLAGS'
|
3865 | 3568 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3866 | 3569 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3867 | 3570 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3868 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3869 | 3572 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3870 | 3573 |
# On Suns, sometimes $CPP names a directory.
|
3871 | 3574 |
if test -n "$CPP" && test -d "$CPP"; then
|
3872 | 3575 |
CPP=
|
3873 | 3576 |
fi
|
3874 | 3577 |
if test -z "$CPP"; then
|
3875 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
3578 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
3876 | 3579 |
$as_echo_n "(cached) " >&6
|
3877 | 3580 |
else
|
3878 | 3581 |
# Double quotes because CPP needs to be expanded
|
|
3887 | 3590 |
# <limits.h> exists even on freestanding compilers.
|
3888 | 3591 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3889 | 3592 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3890 | |
cat >conftest.$ac_ext <<_ACEOF
|
3891 | |
/* confdefs.h. */
|
3892 | |
_ACEOF
|
3893 | |
cat confdefs.h >>conftest.$ac_ext
|
3894 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3593 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3895 | 3594 |
/* end confdefs.h. */
|
3896 | 3595 |
#ifdef __STDC__
|
3897 | 3596 |
# include <limits.h>
|
|
3900 | 3599 |
#endif
|
3901 | 3600 |
Syntax error
|
3902 | 3601 |
_ACEOF
|
3903 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3904 | |
case "(($ac_try" in
|
3905 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3906 | |
*) ac_try_echo=$ac_try;;
|
3907 | |
esac
|
3908 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3909 | |
$as_echo "$ac_try_echo") >&5
|
3910 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3911 | |
ac_status=$?
|
3912 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3913 | |
rm -f conftest.er1
|
3914 | |
cat conftest.err >&5
|
3915 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3916 | |
(exit $ac_status); } >/dev/null && {
|
3917 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3918 | |
test ! -s conftest.err
|
3919 | |
}; then
|
3920 | |
:
|
3921 | |
else
|
3922 | |
$as_echo "$as_me: failed program was:" >&5
|
3923 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3924 | |
|
|
3602 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3603 |
|
|
3604 |
else
|
3925 | 3605 |
# Broken: fails on valid input.
|
3926 | 3606 |
continue
|
3927 | 3607 |
fi
|
3928 | |
|
3929 | 3608 |
rm -f conftest.err conftest.$ac_ext
|
3930 | 3609 |
|
3931 | 3610 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3932 | 3611 |
# can be detected and how.
|
3933 | |
cat >conftest.$ac_ext <<_ACEOF
|
3934 | |
/* confdefs.h. */
|
3935 | |
_ACEOF
|
3936 | |
cat confdefs.h >>conftest.$ac_ext
|
3937 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3612 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3938 | 3613 |
/* end confdefs.h. */
|
3939 | 3614 |
#include <ac_nonexistent.h>
|
3940 | 3615 |
_ACEOF
|
3941 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3942 | |
case "(($ac_try" in
|
3943 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3944 | |
*) ac_try_echo=$ac_try;;
|
3945 | |
esac
|
3946 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3947 | |
$as_echo "$ac_try_echo") >&5
|
3948 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3949 | |
ac_status=$?
|
3950 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3951 | |
rm -f conftest.er1
|
3952 | |
cat conftest.err >&5
|
3953 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3954 | |
(exit $ac_status); } >/dev/null && {
|
3955 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3956 | |
test ! -s conftest.err
|
3957 | |
}; then
|
|
3616 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3958 | 3617 |
# Broken: success on invalid input.
|
3959 | 3618 |
continue
|
3960 | 3619 |
else
|
3961 | |
$as_echo "$as_me: failed program was:" >&5
|
3962 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3963 | |
|
3964 | 3620 |
# Passes both tests.
|
3965 | 3621 |
ac_preproc_ok=:
|
3966 | 3622 |
break
|
3967 | 3623 |
fi
|
3968 | |
|
3969 | 3624 |
rm -f conftest.err conftest.$ac_ext
|
3970 | 3625 |
|
3971 | 3626 |
done
|
3972 | 3627 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3973 | 3628 |
rm -f conftest.err conftest.$ac_ext
|
3974 | |
if $ac_preproc_ok; then
|
|
3629 |
if $ac_preproc_ok; then :
|
3975 | 3630 |
break
|
3976 | 3631 |
fi
|
3977 | 3632 |
|
|
3983 | 3638 |
else
|
3984 | 3639 |
ac_cv_prog_CPP=$CPP
|
3985 | 3640 |
fi
|
3986 | |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
3987 | 3642 |
$as_echo "$CPP" >&6; }
|
3988 | 3643 |
ac_preproc_ok=false
|
3989 | 3644 |
for ac_c_preproc_warn_flag in '' yes
|
|
3994 | 3649 |
# <limits.h> exists even on freestanding compilers.
|
3995 | 3650 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3996 | 3651 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3997 | |
cat >conftest.$ac_ext <<_ACEOF
|
3998 | |
/* confdefs.h. */
|
3999 | |
_ACEOF
|
4000 | |
cat confdefs.h >>conftest.$ac_ext
|
4001 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3652 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4002 | 3653 |
/* end confdefs.h. */
|
4003 | 3654 |
#ifdef __STDC__
|
4004 | 3655 |
# include <limits.h>
|
|
4007 | 3658 |
#endif
|
4008 | 3659 |
Syntax error
|
4009 | 3660 |
_ACEOF
|
4010 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4011 | |
case "(($ac_try" in
|
4012 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4013 | |
*) ac_try_echo=$ac_try;;
|
4014 | |
esac
|
4015 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4016 | |
$as_echo "$ac_try_echo") >&5
|
4017 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4018 | |
ac_status=$?
|
4019 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4020 | |
rm -f conftest.er1
|
4021 | |
cat conftest.err >&5
|
4022 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4023 | |
(exit $ac_status); } >/dev/null && {
|
4024 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4025 | |
test ! -s conftest.err
|
4026 | |
}; then
|
4027 | |
:
|
4028 | |
else
|
4029 | |
$as_echo "$as_me: failed program was:" >&5
|
4030 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4031 | |
|
|
3661 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3662 |
|
|
3663 |
else
|
4032 | 3664 |
# Broken: fails on valid input.
|
4033 | 3665 |
continue
|
4034 | 3666 |
fi
|
4035 | |
|
4036 | 3667 |
rm -f conftest.err conftest.$ac_ext
|
4037 | 3668 |
|
4038 | 3669 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4039 | 3670 |
# can be detected and how.
|
4040 | |
cat >conftest.$ac_ext <<_ACEOF
|
4041 | |
/* confdefs.h. */
|
4042 | |
_ACEOF
|
4043 | |
cat confdefs.h >>conftest.$ac_ext
|
4044 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3671 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4045 | 3672 |
/* end confdefs.h. */
|
4046 | 3673 |
#include <ac_nonexistent.h>
|
4047 | 3674 |
_ACEOF
|
4048 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4049 | |
case "(($ac_try" in
|
4050 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4051 | |
*) ac_try_echo=$ac_try;;
|
4052 | |
esac
|
4053 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4054 | |
$as_echo "$ac_try_echo") >&5
|
4055 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4056 | |
ac_status=$?
|
4057 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4058 | |
rm -f conftest.er1
|
4059 | |
cat conftest.err >&5
|
4060 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4061 | |
(exit $ac_status); } >/dev/null && {
|
4062 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4063 | |
test ! -s conftest.err
|
4064 | |
}; then
|
|
3675 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4065 | 3676 |
# Broken: success on invalid input.
|
4066 | 3677 |
continue
|
4067 | 3678 |
else
|
4068 | |
$as_echo "$as_me: failed program was:" >&5
|
4069 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4070 | |
|
4071 | 3679 |
# Passes both tests.
|
4072 | 3680 |
ac_preproc_ok=:
|
4073 | 3681 |
break
|
4074 | 3682 |
fi
|
4075 | |
|
4076 | 3683 |
rm -f conftest.err conftest.$ac_ext
|
4077 | 3684 |
|
4078 | 3685 |
done
|
4079 | 3686 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4080 | 3687 |
rm -f conftest.err conftest.$ac_ext
|
4081 | |
if $ac_preproc_ok; then
|
4082 | |
:
|
4083 | |
else
|
4084 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3688 |
if $ac_preproc_ok; then :
|
|
3689 |
|
|
3690 |
else
|
|
3691 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4085 | 3692 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4086 | |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4087 | |
See \`config.log' for more details." >&5
|
4088 | |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4089 | |
See \`config.log' for more details." >&2;}
|
4090 | |
{ (exit 1); exit 1; }; }; }
|
|
3693 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
3694 |
See \`config.log' for more details" "$LINENO" 5; }
|
4091 | 3695 |
fi
|
4092 | 3696 |
|
4093 | 3697 |
ac_ext=c
|
|
4097 | 3701 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4098 | 3702 |
|
4099 | 3703 |
|
4100 | |
{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
|
|
3704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
4101 | 3705 |
$as_echo_n "checking for function prototypes... " >&6; }
|
4102 | 3706 |
if test "$ac_cv_prog_cc_c89" != no; then
|
4103 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
3707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4104 | 3708 |
$as_echo "yes" >&6; }
|
4105 | 3709 |
|
4106 | |
cat >>confdefs.h <<\_ACEOF
|
4107 | |
#define PROTOTYPES 1
|
4108 | |
_ACEOF
|
4109 | |
|
4110 | |
|
4111 | |
cat >>confdefs.h <<\_ACEOF
|
4112 | |
#define __PROTOTYPES 1
|
4113 | |
_ACEOF
|
4114 | |
|
4115 | |
else
|
4116 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3710 |
$as_echo "#define PROTOTYPES 1" >>confdefs.h
|
|
3711 |
|
|
3712 |
|
|
3713 |
$as_echo "#define __PROTOTYPES 1" >>confdefs.h
|
|
3714 |
|
|
3715 |
else
|
|
3716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4117 | 3717 |
$as_echo "no" >&6; }
|
4118 | 3718 |
fi
|
4119 | 3719 |
|
4120 | |
test "x$U" != "x" && { { $as_echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
|
4121 | |
$as_echo "$as_me: error: Compiler not ANSI compliant" >&2;}
|
4122 | |
{ (exit 1); exit 1; }; }
|
|
3720 |
test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5
|
4123 | 3721 |
|
4124 | 3722 |
if test "x$CC" != xcc; then
|
4125 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
|
|
3723 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
|
4126 | 3724 |
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
|
4127 | 3725 |
else
|
4128 | |
{ $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
|
|
3726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
|
4129 | 3727 |
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
|
4130 | 3728 |
fi
|
4131 | 3729 |
set dummy $CC; ac_cc=`$as_echo "$2" |
|
4132 | 3730 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
4133 | |
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
3731 |
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
|
4134 | 3732 |
$as_echo_n "(cached) " >&6
|
4135 | 3733 |
else
|
4136 | |
cat >conftest.$ac_ext <<_ACEOF
|
4137 | |
/* confdefs.h. */
|
4138 | |
_ACEOF
|
4139 | |
cat confdefs.h >>conftest.$ac_ext
|
4140 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3734 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4141 | 3735 |
/* end confdefs.h. */
|
4142 | 3736 |
|
4143 | 3737 |
int
|
|
4153 | 3747 |
# existing .o file with -o, though they will create one.
|
4154 | 3748 |
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
4155 | 3749 |
rm -f conftest2.*
|
4156 | |
if { (case "(($ac_try" in
|
|
3750 |
if { { case "(($ac_try" in
|
4157 | 3751 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4158 | 3752 |
*) ac_try_echo=$ac_try;;
|
4159 | 3753 |
esac
|
4160 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4161 | |
$as_echo "$ac_try_echo") >&5
|
|
3754 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3755 |
$as_echo "$ac_try_echo"; } >&5
|
4162 | 3756 |
(eval "$ac_try") 2>&5
|
4163 | 3757 |
ac_status=$?
|
4164 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4165 | |
(exit $ac_status); } &&
|
4166 | |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
3758 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3759 |
test $ac_status = 0; } &&
|
|
3760 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in
|
4167 | 3761 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4168 | 3762 |
*) ac_try_echo=$ac_try;;
|
4169 | 3763 |
esac
|
4170 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4171 | |
$as_echo "$ac_try_echo") >&5
|
|
3764 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3765 |
$as_echo "$ac_try_echo"; } >&5
|
4172 | 3766 |
(eval "$ac_try") 2>&5
|
4173 | 3767 |
ac_status=$?
|
4174 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4175 | |
(exit $ac_status); };
|
|
3768 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3769 |
test $ac_status = 0; };
|
4176 | 3770 |
then
|
4177 | 3771 |
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
4178 | 3772 |
if test "x$CC" != xcc; then
|
4179 | 3773 |
# Test first that cc exists at all.
|
4180 | 3774 |
if { ac_try='cc -c conftest.$ac_ext >&5'
|
4181 | |
{ (case "(($ac_try" in
|
|
3775 |
{ { case "(($ac_try" in
|
4182 | 3776 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4183 | 3777 |
*) ac_try_echo=$ac_try;;
|
4184 | 3778 |
esac
|
4185 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4186 | |
$as_echo "$ac_try_echo") >&5
|
|
3779 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3780 |
$as_echo "$ac_try_echo"; } >&5
|
4187 | 3781 |
(eval "$ac_try") 2>&5
|
4188 | 3782 |
ac_status=$?
|
4189 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4190 | |
(exit $ac_status); }; }; then
|
|
3783 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3784 |
test $ac_status = 0; }; }; then
|
4191 | 3785 |
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
4192 | 3786 |
rm -f conftest2.*
|
4193 | |
if { (case "(($ac_try" in
|
|
3787 |
if { { case "(($ac_try" in
|
4194 | 3788 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4195 | 3789 |
*) ac_try_echo=$ac_try;;
|
4196 | 3790 |
esac
|
4197 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4198 | |
$as_echo "$ac_try_echo") >&5
|
|
3791 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3792 |
$as_echo "$ac_try_echo"; } >&5
|
4199 | 3793 |
(eval "$ac_try") 2>&5
|
4200 | 3794 |
ac_status=$?
|
4201 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4202 | |
(exit $ac_status); } &&
|
4203 | |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
3795 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3796 |
test $ac_status = 0; } &&
|
|
3797 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in
|
4204 | 3798 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4205 | 3799 |
*) ac_try_echo=$ac_try;;
|
4206 | 3800 |
esac
|
4207 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4208 | |
$as_echo "$ac_try_echo") >&5
|
|
3801 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3802 |
$as_echo "$ac_try_echo"; } >&5
|
4209 | 3803 |
(eval "$ac_try") 2>&5
|
4210 | 3804 |
ac_status=$?
|
4211 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4212 | |
(exit $ac_status); };
|
|
3805 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3806 |
test $ac_status = 0; };
|
4213 | 3807 |
then
|
4214 | 3808 |
# cc works too.
|
4215 | 3809 |
:
|
|
4226 | 3820 |
|
4227 | 3821 |
fi
|
4228 | 3822 |
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
|
4229 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
3823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4230 | 3824 |
$as_echo "yes" >&6; }
|
4231 | 3825 |
else
|
4232 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3826 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4233 | 3827 |
$as_echo "no" >&6; }
|
4234 | 3828 |
|
4235 | |
cat >>confdefs.h <<\_ACEOF
|
4236 | |
#define NO_MINUS_C_MINUS_O 1
|
4237 | |
_ACEOF
|
|
3829 |
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
|
4238 | 3830 |
|
4239 | 3831 |
fi
|
4240 | 3832 |
|
|
4287 | 3879 |
case $ac_val in #(
|
4288 | 3880 |
*${as_nl}*)
|
4289 | 3881 |
case $ac_var in #(
|
4290 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
3882 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
4291 | 3883 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
4292 | 3884 |
esac
|
4293 | 3885 |
case $ac_var in #(
|
4294 | 3886 |
_ | IFS | as_nl) ;; #(
|
4295 | 3887 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
4296 | |
*) $as_unset $ac_var ;;
|
|
3888 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
4297 | 3889 |
esac ;;
|
4298 | 3890 |
esac
|
4299 | 3891 |
done
|
|
4301 | 3893 |
(set) 2>&1 |
|
4302 | 3894 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
4303 | 3895 |
*${as_nl}ac_space=\ *)
|
4304 | |
# `set' does not quote correctly, so add quotes (double-quote
|
4305 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
3896 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
3897 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
4306 | 3898 |
sed -n \
|
4307 | 3899 |
"s/'/'\\\\''/g;
|
4308 | 3900 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
4325 | 3917 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
4326 | 3918 |
if test -w "$cache_file"; then
|
4327 | 3919 |
test "x$cache_file" != "x/dev/null" &&
|
4328 | |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
3920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
4329 | 3921 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
4330 | 3922 |
cat confcache >$cache_file
|
4331 | 3923 |
else
|
4332 | |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
3924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
4333 | 3925 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
4334 | 3926 |
fi
|
4335 | 3927 |
fi
|
|
4343 | 3935 |
|
4344 | 3936 |
ac_libobjs=
|
4345 | 3937 |
ac_ltlibobjs=
|
|
3938 |
U=
|
4346 | 3939 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
4347 | 3940 |
# 1. Remove the extension, and $U if already installed.
|
4348 | 3941 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
4349 | 3942 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
4350 | 3943 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
4351 | 3944 |
# will be set to the directory where LIBOBJS objects are built.
|
4352 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
4353 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
3945 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
3946 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
4354 | 3947 |
done
|
4355 | 3948 |
LIBOBJS=$ac_libobjs
|
4356 | 3949 |
|
|
4366 | 3959 |
fi
|
4367 | 3960 |
|
4368 | 3961 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
4369 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
4370 | |
Usually this means the macro was only invoked conditionally." >&5
|
4371 | |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
4372 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
4373 | |
{ (exit 1); exit 1; }; }
|
|
3962 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|
3963 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
4374 | 3964 |
fi
|
4375 | 3965 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
4376 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
4377 | |
Usually this means the macro was only invoked conditionally." >&5
|
4378 | |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
4379 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
4380 | |
{ (exit 1); exit 1; }; }
|
|
3966 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
3967 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
4381 | 3968 |
fi
|
4382 | 3969 |
|
4383 | 3970 |
: ${CONFIG_STATUS=./config.status}
|
4384 | 3971 |
ac_write_fail=0
|
4385 | 3972 |
ac_clean_files_save=$ac_clean_files
|
4386 | 3973 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
4387 | |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
3974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
4388 | 3975 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
4389 | |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
3976 |
as_write_fail=0
|
|
3977 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
4390 | 3978 |
#! $SHELL
|
4391 | 3979 |
# Generated by $as_me.
|
4392 | 3980 |
# Run this file to recreate the current configuration.
|
|
4396 | 3984 |
debug=false
|
4397 | 3985 |
ac_cs_recheck=false
|
4398 | 3986 |
ac_cs_silent=false
|
|
3987 |
|
4399 | 3988 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
4400 | |
_ACEOF
|
4401 | |
|
4402 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
4403 | |
## --------------------- ##
|
4404 | |
## M4sh Initialization. ##
|
4405 | |
## --------------------- ##
|
|
3989 |
export SHELL
|
|
3990 |
_ASEOF
|
|
3991 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
3992 |
## -------------------- ##
|
|
3993 |
## M4sh Initialization. ##
|
|
3994 |
## -------------------- ##
|
4406 | 3995 |
|
4407 | 3996 |
# Be more Bourne compatible
|
4408 | 3997 |
DUALCASE=1; export DUALCASE # for MKS sh
|
4409 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
3998 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
4410 | 3999 |
emulate sh
|
4411 | 4000 |
NULLCMD=:
|
4412 | 4001 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
4414 | 4003 |
alias -g '${1+"$@"}'='"$@"'
|
4415 | 4004 |
setopt NO_GLOB_SUBST
|
4416 | 4005 |
else
|
4417 | |
case `(set -o) 2>/dev/null` in
|
4418 | |
*posix*) set -o posix ;;
|
|
4006 |
case `(set -o) 2>/dev/null` in #(
|
|
4007 |
*posix*) :
|
|
4008 |
set -o posix ;; #(
|
|
4009 |
*) :
|
|
4010 |
;;
|
4419 | 4011 |
esac
|
4420 | |
|
4421 | |
fi
|
4422 | |
|
4423 | |
|
4424 | |
|
4425 | |
|
4426 | |
# PATH needs CR
|
4427 | |
# Avoid depending upon Character Ranges.
|
4428 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
4429 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
4430 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
4431 | |
as_cr_digits='0123456789'
|
4432 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
4012 |
fi
|
|
4013 |
|
4433 | 4014 |
|
4434 | 4015 |
as_nl='
|
4435 | 4016 |
'
|
|
4438 | 4019 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
4439 | 4020 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
4440 | 4021 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
4441 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4022 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
4023 |
# but without wasting forks for bash or zsh.
|
|
4024 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
4025 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4026 |
as_echo='print -r --'
|
|
4027 |
as_echo_n='print -rn --'
|
|
4028 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
4442 | 4029 |
as_echo='printf %s\n'
|
4443 | 4030 |
as_echo_n='printf %s'
|
4444 | 4031 |
else
|
|
4449 | 4036 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
4450 | 4037 |
as_echo_n_body='eval
|
4451 | 4038 |
arg=$1;
|
4452 | |
case $arg in
|
|
4039 |
case $arg in #(
|
4453 | 4040 |
*"$as_nl"*)
|
4454 | 4041 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
4455 | 4042 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
4472 | 4059 |
}
|
4473 | 4060 |
fi
|
4474 | 4061 |
|
4475 | |
# Support unset when possible.
|
4476 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
4477 | |
as_unset=unset
|
4478 | |
else
|
4479 | |
as_unset=false
|
4480 | |
fi
|
4481 | |
|
4482 | 4062 |
|
4483 | 4063 |
# IFS
|
4484 | 4064 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
4488 | 4068 |
IFS=" "" $as_nl"
|
4489 | 4069 |
|
4490 | 4070 |
# Find who we are. Look in the path if we contain no directory separator.
|
4491 | |
case $0 in
|
|
4071 |
case $0 in #((
|
4492 | 4072 |
*[\\/]* ) as_myself=$0 ;;
|
4493 | 4073 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4494 | 4074 |
for as_dir in $PATH
|
4495 | 4075 |
do
|
4496 | 4076 |
IFS=$as_save_IFS
|
4497 | 4077 |
test -z "$as_dir" && as_dir=.
|
4498 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
4499 | |
done
|
|
4078 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
4079 |
done
|
4500 | 4080 |
IFS=$as_save_IFS
|
4501 | 4081 |
|
4502 | 4082 |
;;
|
|
4508 | 4088 |
fi
|
4509 | 4089 |
if test ! -f "$as_myself"; then
|
4510 | 4090 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
4511 | |
{ (exit 1); exit 1; }
|
4512 | |
fi
|
4513 | |
|
4514 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
4515 | |
for as_var in ENV MAIL MAILPATH
|
4516 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
4091 |
exit 1
|
|
4092 |
fi
|
|
4093 |
|
|
4094 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
4095 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
4096 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
4097 |
# trigger a bug in pdksh 5.2.14.
|
|
4098 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
4099 |
do eval test x\${$as_var+set} = xset \
|
|
4100 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
4517 | 4101 |
done
|
4518 | 4102 |
PS1='$ '
|
4519 | 4103 |
PS2='> '
|
|
4525 | 4109 |
LANGUAGE=C
|
4526 | 4110 |
export LANGUAGE
|
4527 | 4111 |
|
4528 | |
# Required to use basename.
|
|
4112 |
# CDPATH.
|
|
4113 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
4114 |
|
|
4115 |
|
|
4116 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
4117 |
# ----------------------------------------
|
|
4118 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
4119 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
4120 |
# script with STATUS, using 1 if that was 0.
|
|
4121 |
as_fn_error ()
|
|
4122 |
{
|
|
4123 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
4124 |
if test "$4"; then
|
|
4125 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
4126 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
4127 |
fi
|
|
4128 |
$as_echo "$as_me: error: $2" >&2
|
|
4129 |
as_fn_exit $as_status
|
|
4130 |
} # as_fn_error
|
|
4131 |
|
|
4132 |
|
|
4133 |
# as_fn_set_status STATUS
|
|
4134 |
# -----------------------
|
|
4135 |
# Set $? to STATUS, without forking.
|
|
4136 |
as_fn_set_status ()
|
|
4137 |
{
|
|
4138 |
return $1
|
|
4139 |
} # as_fn_set_status
|
|
4140 |
|
|
4141 |
# as_fn_exit STATUS
|
|
4142 |
# -----------------
|
|
4143 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
4144 |
as_fn_exit ()
|
|
4145 |
{
|
|
4146 |
set +e
|
|
4147 |
as_fn_set_status $1
|
|
4148 |
exit $1
|
|
4149 |
} # as_fn_exit
|
|
4150 |
|
|
4151 |
# as_fn_unset VAR
|
|
4152 |
# ---------------
|
|
4153 |
# Portably unset VAR.
|
|
4154 |
as_fn_unset ()
|
|
4155 |
{
|
|
4156 |
{ eval $1=; unset $1;}
|
|
4157 |
}
|
|
4158 |
as_unset=as_fn_unset
|
|
4159 |
# as_fn_append VAR VALUE
|
|
4160 |
# ----------------------
|
|
4161 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
4162 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
4163 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
4164 |
# implementations.
|
|
4165 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
4166 |
eval 'as_fn_append ()
|
|
4167 |
{
|
|
4168 |
eval $1+=\$2
|
|
4169 |
}'
|
|
4170 |
else
|
|
4171 |
as_fn_append ()
|
|
4172 |
{
|
|
4173 |
eval $1=\$$1\$2
|
|
4174 |
}
|
|
4175 |
fi # as_fn_append
|
|
4176 |
|
|
4177 |
# as_fn_arith ARG...
|
|
4178 |
# ------------------
|
|
4179 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
4180 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
4181 |
# must be portable across $(()) and expr.
|
|
4182 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
4183 |
eval 'as_fn_arith ()
|
|
4184 |
{
|
|
4185 |
as_val=$(( $* ))
|
|
4186 |
}'
|
|
4187 |
else
|
|
4188 |
as_fn_arith ()
|
|
4189 |
{
|
|
4190 |
as_val=`expr "$@" || test $? -eq 1`
|
|
4191 |
}
|
|
4192 |
fi # as_fn_arith
|
|
4193 |
|
|
4194 |
|
4529 | 4195 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
4530 | 4196 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
4531 | 4197 |
as_expr=expr
|
|
4539 | 4205 |
as_basename=false
|
4540 | 4206 |
fi
|
4541 | 4207 |
|
4542 | |
|
4543 | |
# Name of the executable.
|
|
4208 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
4209 |
as_dirname=dirname
|
|
4210 |
else
|
|
4211 |
as_dirname=false
|
|
4212 |
fi
|
|
4213 |
|
4544 | 4214 |
as_me=`$as_basename -- "$0" ||
|
4545 | 4215 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
4546 | 4216 |
X"$0" : 'X\(//\)$' \| \
|
|
4560 | 4230 |
}
|
4561 | 4231 |
s/.*/./; q'`
|
4562 | 4232 |
|
4563 | |
# CDPATH.
|
4564 | |
$as_unset CDPATH
|
4565 | |
|
4566 | |
|
4567 | |
|
4568 | |
as_lineno_1=$LINENO
|
4569 | |
as_lineno_2=$LINENO
|
4570 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
4571 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
4572 | |
|
4573 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
4574 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
4575 | |
# line-number line after each line using $LINENO; the second 'sed'
|
4576 | |
# does the real work. The second script uses 'N' to pair each
|
4577 | |
# line-number line with the line containing $LINENO, and appends
|
4578 | |
# trailing '-' during substitution so that $LINENO is not a special
|
4579 | |
# case at line end.
|
4580 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
4581 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
4582 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
4583 | |
sed -n '
|
4584 | |
p
|
4585 | |
/[$]LINENO/=
|
4586 | |
' <$as_myself |
|
4587 | |
sed '
|
4588 | |
s/[$]LINENO.*/&-/
|
4589 | |
t lineno
|
4590 | |
b
|
4591 | |
:lineno
|
4592 | |
N
|
4593 | |
:loop
|
4594 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
4595 | |
t loop
|
4596 | |
s/-\n.*//
|
4597 | |
' >$as_me.lineno &&
|
4598 | |
chmod +x "$as_me.lineno" ||
|
4599 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
4600 | |
{ (exit 1); exit 1; }; }
|
4601 | |
|
4602 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
4603 | |
# (the dirname of $[0] is not the place where we might find the
|
4604 | |
# original and so on. Autoconf is especially sensitive to this).
|
4605 | |
. "./$as_me.lineno"
|
4606 | |
# Exit status is that of the last command.
|
4607 | |
exit
|
4608 | |
}
|
4609 | |
|
4610 | |
|
4611 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
4612 | |
as_dirname=dirname
|
4613 | |
else
|
4614 | |
as_dirname=false
|
4615 | |
fi
|
|
4233 |
# Avoid depending upon Character Ranges.
|
|
4234 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
4235 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
4236 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
4237 |
as_cr_digits='0123456789'
|
|
4238 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
4616 | 4239 |
|
4617 | 4240 |
ECHO_C= ECHO_N= ECHO_T=
|
4618 | |
case `echo -n x` in
|
|
4241 |
case `echo -n x` in #(((((
|
4619 | 4242 |
-n*)
|
4620 | |
case `echo 'x\c'` in
|
|
4243 |
case `echo 'xy\c'` in
|
4621 | 4244 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
4622 | |
*) ECHO_C='\c';;
|
|
4245 |
xy) ECHO_C='\c';;
|
|
4246 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
4247 |
ECHO_T=' ';;
|
4623 | 4248 |
esac;;
|
4624 | 4249 |
*)
|
4625 | 4250 |
ECHO_N='-n';;
|
4626 | 4251 |
esac
|
4627 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
4628 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
4629 | |
as_expr=expr
|
4630 | |
else
|
4631 | |
as_expr=false
|
4632 | |
fi
|
4633 | 4252 |
|
4634 | 4253 |
rm -f conf$$ conf$$.exe conf$$.file
|
4635 | 4254 |
if test -d conf$$.dir; then
|
|
4658 | 4277 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
4659 | 4278 |
rmdir conf$$.dir 2>/dev/null
|
4660 | 4279 |
|
|
4280 |
|
|
4281 |
# as_fn_mkdir_p
|
|
4282 |
# -------------
|
|
4283 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
4284 |
as_fn_mkdir_p ()
|
|
4285 |
{
|
|
4286 |
|
|
4287 |
case $as_dir in #(
|
|
4288 |
-*) as_dir=./$as_dir;;
|
|
4289 |
esac
|
|
4290 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
4291 |
as_dirs=
|
|
4292 |
while :; do
|
|
4293 |
case $as_dir in #(
|
|
4294 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
4295 |
*) as_qdir=$as_dir;;
|
|
4296 |
esac
|
|
4297 |
as_dirs="'$as_qdir' $as_dirs"
|
|
4298 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
4299 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
4300 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
4301 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
4302 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
4303 |
$as_echo X"$as_dir" |
|
|
4304 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
4305 |
s//\1/
|
|
4306 |
q
|
|
4307 |
}
|
|
4308 |
/^X\(\/\/\)[^/].*/{
|
|
4309 |
s//\1/
|
|
4310 |
q
|
|
4311 |
}
|
|
4312 |
/^X\(\/\/\)$/{
|
|
4313 |
s//\1/
|
|
4314 |
q
|
|
4315 |
}
|
|
4316 |
/^X\(\/\).*/{
|
|
4317 |
s//\1/
|
|
4318 |
q
|
|
4319 |
}
|
|
4320 |
s/.*/./; q'`
|
|
4321 |
test -d "$as_dir" && break
|
|
4322 |
done
|
|
4323 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
4324 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
4325 |
|
|
4326 |
|
|
4327 |
} # as_fn_mkdir_p
|
4661 | 4328 |
if mkdir -p . 2>/dev/null; then
|
4662 | |
as_mkdir_p=:
|
|
4329 |
as_mkdir_p='mkdir -p "$as_dir"'
|
4663 | 4330 |
else
|
4664 | 4331 |
test -d ./-p && rmdir ./-p
|
4665 | 4332 |
as_mkdir_p=false
|
|
4678 | 4345 |
if test -d "$1"; then
|
4679 | 4346 |
test -d "$1/.";
|
4680 | 4347 |
else
|
4681 | |
case $1 in
|
|
4348 |
case $1 in #(
|
4682 | 4349 |
-*)set "./$1";;
|
4683 | 4350 |
esac;
|
4684 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
4351 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
4685 | 4352 |
???[sx]*):;;*)false;;esac;fi
|
4686 | 4353 |
'\'' sh
|
4687 | 4354 |
'
|
|
4696 | 4363 |
|
4697 | 4364 |
|
4698 | 4365 |
exec 6>&1
|
4699 | |
|
4700 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
4366 |
## ----------------------------------- ##
|
|
4367 |
## Main body of $CONFIG_STATUS script. ##
|
|
4368 |
## ----------------------------------- ##
|
|
4369 |
_ASEOF
|
|
4370 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
4371 |
|
|
4372 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4373 |
# Save the log message, to keep $0 and so on meaningful, and to
|
4701 | 4374 |
# report actual input values of CONFIG_FILES etc. instead of their
|
4702 | 4375 |
# values after options handling.
|
4703 | 4376 |
ac_log="
|
4704 | |
This file was extended by virt-what $as_me 1.2, which was
|
4705 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
4377 |
This file was extended by virt-what $as_me 1.3, which was
|
|
4378 |
generated by GNU Autoconf 2.66. Invocation command line was
|
4706 | 4379 |
|
4707 | 4380 |
CONFIG_FILES = $CONFIG_FILES
|
4708 | 4381 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
4734 | 4407 |
|
4735 | 4408 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
4736 | 4409 |
ac_cs_usage="\
|
4737 | |
\`$as_me' instantiates files from templates according to the
|
4738 | |
current configuration.
|
4739 | |
|
4740 | |
Usage: $0 [OPTION]... [FILE]...
|
|
4410 |
\`$as_me' instantiates files and other configuration actions
|
|
4411 |
from templates according to the current configuration. Unless the files
|
|
4412 |
and actions are specified as TAGs, all are instantiated by default.
|
|
4413 |
|
|
4414 |
Usage: $0 [OPTION]... [TAG]...
|
4741 | 4415 |
|
4742 | 4416 |
-h, --help print this help, then exit
|
4743 | 4417 |
-V, --version print version number and configuration settings, then exit
|
|
4418 |
--config print configuration, then exit
|
4744 | 4419 |
-q, --quiet, --silent
|
4745 | 4420 |
do not print progress messages
|
4746 | 4421 |
-d, --debug don't remove temporary files
|
|
4759 | 4434 |
Configuration commands:
|
4760 | 4435 |
$config_commands
|
4761 | 4436 |
|
4762 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
4437 |
Report bugs to the package provider."
|
4763 | 4438 |
|
4764 | 4439 |
_ACEOF
|
4765 | 4440 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4441 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
4766 | 4442 |
ac_cs_version="\\
|
4767 | |
virt-what config.status 1.2
|
4768 | |
configured by $0, generated by GNU Autoconf 2.63,
|
4769 | |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
4770 | |
|
4771 | |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
4443 |
virt-what config.status 1.3
|
|
4444 |
configured by $0, generated by GNU Autoconf 2.66,
|
|
4445 |
with options \\"\$ac_cs_config\\"
|
|
4446 |
|
|
4447 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
4772 | 4448 |
This config.status script is free software; the Free Software Foundation
|
4773 | 4449 |
gives unlimited permission to copy, distribute and modify it."
|
4774 | 4450 |
|
|
4804 | 4480 |
ac_cs_recheck=: ;;
|
4805 | 4481 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
4806 | 4482 |
$as_echo "$ac_cs_version"; exit ;;
|
|
4483 |
--config | --confi | --conf | --con | --co | --c )
|
|
4484 |
$as_echo "$ac_cs_config"; exit ;;
|
4807 | 4485 |
--debug | --debu | --deb | --de | --d | -d )
|
4808 | 4486 |
debug=: ;;
|
4809 | 4487 |
--file | --fil | --fi | --f )
|
|
4811 | 4489 |
case $ac_optarg in
|
4812 | 4490 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
4813 | 4491 |
esac
|
4814 | |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
4492 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
4815 | 4493 |
ac_need_defaults=false;;
|
4816 | 4494 |
--header | --heade | --head | --hea )
|
4817 | 4495 |
$ac_shift
|
4818 | 4496 |
case $ac_optarg in
|
4819 | 4497 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
4820 | 4498 |
esac
|
4821 | |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
4499 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
4822 | 4500 |
ac_need_defaults=false;;
|
4823 | 4501 |
--he | --h)
|
4824 | 4502 |
# Conflict between --help and --header
|
4825 | |
{ $as_echo "$as_me: error: ambiguous option: $1
|
4826 | |
Try \`$0 --help' for more information." >&2
|
4827 | |
{ (exit 1); exit 1; }; };;
|
|
4503 |
as_fn_error $? "ambiguous option: \`$1'
|
|
4504 |
Try \`$0 --help' for more information.";;
|
4828 | 4505 |
--help | --hel | -h )
|
4829 | 4506 |
$as_echo "$ac_cs_usage"; exit ;;
|
4830 | 4507 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
4832 | 4509 |
ac_cs_silent=: ;;
|
4833 | 4510 |
|
4834 | 4511 |
# This is an error.
|
4835 | |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
4836 | |
Try \`$0 --help' for more information." >&2
|
4837 | |
{ (exit 1); exit 1; }; } ;;
|
4838 | |
|
4839 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
4512 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
4513 |
Try \`$0 --help' for more information." ;;
|
|
4514 |
|
|
4515 |
*) as_fn_append ac_config_targets " $1"
|
4840 | 4516 |
ac_need_defaults=false ;;
|
4841 | 4517 |
|
4842 | 4518 |
esac
|
|
4892 | 4568 |
"virt-what") CONFIG_FILES="$CONFIG_FILES virt-what" ;;
|
4893 | 4569 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
4894 | 4570 |
|
4895 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
4896 | |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
4897 | |
{ (exit 1); exit 1; }; };;
|
|
4571 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
4898 | 4572 |
esac
|
4899 | 4573 |
done
|
4900 | 4574 |
|
|
4921 | 4595 |
trap 'exit_status=$?
|
4922 | 4596 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
4923 | 4597 |
' 0
|
4924 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
4598 |
trap 'as_fn_exit 1' 1 2 13 15
|
4925 | 4599 |
}
|
4926 | 4600 |
# Create a (secure) tmp directory for tmp files.
|
4927 | 4601 |
|
|
4932 | 4606 |
{
|
4933 | 4607 |
tmp=./conf$$-$RANDOM
|
4934 | 4608 |
(umask 077 && mkdir "$tmp")
|
4935 | |
} ||
|
4936 | |
{
|
4937 | |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
4938 | |
{ (exit 1); exit 1; }
|
4939 | |
}
|
|
4609 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
4940 | 4610 |
|
4941 | 4611 |
# Set up the scripts for CONFIG_FILES section.
|
4942 | 4612 |
# No need to generate them if there are no CONFIG_FILES.
|
|
4944 | 4614 |
if test -n "$CONFIG_FILES"; then
|
4945 | 4615 |
|
4946 | 4616 |
|
4947 | |
ac_cr='
⏎
|
4948 | |
'
|
|
4617 |
ac_cr=`echo X | tr X '\015'`
|
|
4618 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
4619 |
# But we know of no other shell where ac_cr would be empty at this
|
|
4620 |
# point, so we can use a bashism as a fallback.
|
|
4621 |
if test "x$ac_cr" = x; then
|
|
4622 |
eval ac_cr=\$\'\\r\'
|
|
4623 |
fi
|
4949 | 4624 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
4950 | 4625 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
4951 | 4626 |
ac_cs_awk_cr='\\r'
|
|
4962 | 4637 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
4963 | 4638 |
echo "_ACEOF"
|
4964 | 4639 |
} >conf$$subs.sh ||
|
4965 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
4966 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
4967 | |
{ (exit 1); exit 1; }; }
|
4968 | |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
4640 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
4641 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
4969 | 4642 |
ac_delim='%!_!# '
|
4970 | 4643 |
for ac_last_try in false false false false false :; do
|
4971 | 4644 |
. ./conf$$subs.sh ||
|
4972 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
4973 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
4974 | |
{ (exit 1); exit 1; }; }
|
|
4645 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
4975 | 4646 |
|
4976 | 4647 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
4977 | 4648 |
if test $ac_delim_n = $ac_delim_num; then
|
4978 | 4649 |
break
|
4979 | 4650 |
elif $ac_last_try; then
|
4980 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
4981 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
4982 | |
{ (exit 1); exit 1; }; }
|
|
4651 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
4983 | 4652 |
else
|
4984 | 4653 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
4985 | 4654 |
fi
|
|
5001 | 4670 |
t delim
|
5002 | 4671 |
:nl
|
5003 | 4672 |
h
|
5004 | |
s/\(.\{148\}\).*/\1/
|
|
4673 |
s/\(.\{148\}\)..*/\1/
|
5005 | 4674 |
t more1
|
5006 | 4675 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
5007 | 4676 |
p
|
|
5015 | 4684 |
t nl
|
5016 | 4685 |
:delim
|
5017 | 4686 |
h
|
5018 | |
s/\(.\{148\}\).*/\1/
|
|
4687 |
s/\(.\{148\}\)..*/\1/
|
5019 | 4688 |
t more2
|
5020 | 4689 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
5021 | 4690 |
p
|
|
5068 | 4737 |
else
|
5069 | 4738 |
cat
|
5070 | 4739 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
5071 | |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
5072 | |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
5073 | |
{ (exit 1); exit 1; }; }
|
|
4740 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
5074 | 4741 |
_ACEOF
|
5075 | 4742 |
|
5076 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
5077 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
4743 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
4744 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
5078 | 4745 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
5079 | 4746 |
# (actually we leave an empty line to preserve line numbers).
|
5080 | 4747 |
if test "x$srcdir" = x.; then
|
5081 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
5082 | |
s/:*\$(srcdir):*/:/
|
5083 | |
s/:*\${srcdir}:*/:/
|
5084 | |
s/:*@srcdir@:*/:/
|
5085 | |
s/^\([^=]*=[ ]*\):*/\1/
|
|
4748 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
4749 |
h
|
|
4750 |
s///
|
|
4751 |
s/^/:/
|
|
4752 |
s/[ ]*$/:/
|
|
4753 |
s/:\$(srcdir):/:/g
|
|
4754 |
s/:\${srcdir}:/:/g
|
|
4755 |
s/:@srcdir@:/:/g
|
|
4756 |
s/^:*//
|
5086 | 4757 |
s/:*$//
|
|
4758 |
x
|
|
4759 |
s/\(=[ ]*\).*/\1/
|
|
4760 |
G
|
|
4761 |
s/\n//
|
5087 | 4762 |
s/^[^=]*=[ ]*$//
|
5088 | 4763 |
}'
|
5089 | 4764 |
fi
|
|
5111 | 4786 |
if test -z "$ac_t"; then
|
5112 | 4787 |
break
|
5113 | 4788 |
elif $ac_last_try; then
|
5114 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
5115 | |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
5116 | |
{ (exit 1); exit 1; }; }
|
|
4789 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
5117 | 4790 |
else
|
5118 | 4791 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
5119 | 4792 |
fi
|
|
5198 | 4871 |
_ACAWK
|
5199 | 4872 |
_ACEOF
|
5200 | 4873 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5201 | |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
5202 | |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
5203 | |
{ (exit 1); exit 1; }; }
|
|
4874 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
5204 | 4875 |
fi # test -n "$CONFIG_HEADERS"
|
5205 | 4876 |
|
5206 | 4877 |
|
|
5213 | 4884 |
esac
|
5214 | 4885 |
case $ac_mode$ac_tag in
|
5215 | 4886 |
:[FHL]*:*);;
|
5216 | |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
5217 | |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
5218 | |
{ (exit 1); exit 1; }; };;
|
|
4887 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
5219 | 4888 |
:[FH]-) ac_tag=-:-;;
|
5220 | 4889 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
5221 | 4890 |
esac
|
|
5243 | 4912 |
[\\/$]*) false;;
|
5244 | 4913 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
5245 | 4914 |
esac ||
|
5246 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
5247 | |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
5248 | |
{ (exit 1); exit 1; }; };;
|
|
4915 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
5249 | 4916 |
esac
|
5250 | 4917 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
5251 | |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
4918 |
as_fn_append ac_file_inputs " '$ac_f'"
|
5252 | 4919 |
done
|
5253 | 4920 |
|
5254 | 4921 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
5259 | 4926 |
`' by configure.'
|
5260 | 4927 |
if test x"$ac_file" != x-; then
|
5261 | 4928 |
configure_input="$ac_file. $configure_input"
|
5262 | |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
4929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
5263 | 4930 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
5264 | 4931 |
fi
|
5265 | 4932 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
5272 | 4939 |
|
5273 | 4940 |
case $ac_tag in
|
5274 | 4941 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
5275 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
5276 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
5277 | |
{ (exit 1); exit 1; }; } ;;
|
|
4942 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
5278 | 4943 |
esac
|
5279 | 4944 |
;;
|
5280 | 4945 |
esac
|
|
5302 | 4967 |
q
|
5303 | 4968 |
}
|
5304 | 4969 |
s/.*/./; q'`
|
5305 | |
{ as_dir="$ac_dir"
|
5306 | |
case $as_dir in #(
|
5307 | |
-*) as_dir=./$as_dir;;
|
5308 | |
esac
|
5309 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
5310 | |
as_dirs=
|
5311 | |
while :; do
|
5312 | |
case $as_dir in #(
|
5313 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
5314 | |
*) as_qdir=$as_dir;;
|
5315 | |
esac
|
5316 | |
as_dirs="'$as_qdir' $as_dirs"
|
5317 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
5318 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5319 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5320 | |
X"$as_dir" : 'X\(//\)$' \| \
|
5321 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
5322 | |
$as_echo X"$as_dir" |
|
5323 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
5324 | |
s//\1/
|
5325 | |
q
|
5326 | |
}
|
5327 | |
/^X\(\/\/\)[^/].*/{
|
5328 | |
s//\1/
|
5329 | |
q
|
5330 | |
}
|
5331 | |
/^X\(\/\/\)$/{
|
5332 | |
s//\1/
|
5333 | |
q
|
5334 | |
}
|
5335 | |
/^X\(\/\).*/{
|
5336 | |
s//\1/
|
5337 | |
q
|
5338 | |
}
|
5339 | |
s/.*/./; q'`
|
5340 | |
test -d "$as_dir" && break
|
5341 | |
done
|
5342 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
5343 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
5344 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
5345 | |
{ (exit 1); exit 1; }; }; }
|
|
4970 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
5346 | 4971 |
ac_builddir=.
|
5347 | 4972 |
|
5348 | 4973 |
case "$ac_dir" in
|
|
5399 | 5024 |
# If the template does not know about datarootdir, expand it.
|
5400 | 5025 |
# FIXME: This hack should be removed a few years after 2.60.
|
5401 | 5026 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
5402 | |
|
5403 | 5027 |
ac_sed_dataroot='
|
5404 | 5028 |
/datarootdir/ {
|
5405 | 5029 |
p
|
|
5409 | 5033 |
/@docdir@/p
|
5410 | 5034 |
/@infodir@/p
|
5411 | 5035 |
/@localedir@/p
|
5412 | |
/@mandir@/p
|
5413 | |
'
|
|
5036 |
/@mandir@/p'
|
5414 | 5037 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
5415 | 5038 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
5416 | 5039 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
5417 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
5040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
5418 | 5041 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
5419 | 5042 |
_ACEOF
|
5420 | 5043 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
5424 | 5047 |
s&@infodir@&$infodir&g
|
5425 | 5048 |
s&@localedir@&$localedir&g
|
5426 | 5049 |
s&@mandir@&$mandir&g
|
5427 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
5050 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
5428 | 5051 |
esac
|
5429 | 5052 |
_ACEOF
|
5430 | 5053 |
|
|
5453 | 5076 |
$ac_datarootdir_hack
|
5454 | 5077 |
"
|
5455 | 5078 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
5456 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
5457 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
5458 | |
{ (exit 1); exit 1; }; }
|
|
5079 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5459 | 5080 |
|
5460 | 5081 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
5461 | 5082 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
5462 | 5083 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
5463 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
5464 | |
which seems to be undefined. Please make sure it is defined." >&5
|
|
5084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
5085 |
which seems to be undefined. Please make sure it is defined" >&5
|
5465 | 5086 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
5466 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
5087 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
5467 | 5088 |
|
5468 | 5089 |
rm -f "$tmp/stdin"
|
5469 | 5090 |
case $ac_file in
|
5470 | 5091 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
5471 | 5092 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
5472 | 5093 |
esac \
|
5473 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
5474 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
5475 | |
{ (exit 1); exit 1; }; }
|
|
5094 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5476 | 5095 |
;;
|
5477 | 5096 |
:H)
|
5478 | 5097 |
#
|
|
5483 | 5102 |
$as_echo "/* $configure_input */" \
|
5484 | 5103 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
5485 | 5104 |
} >"$tmp/config.h" \
|
5486 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
5487 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
5488 | |
{ (exit 1); exit 1; }; }
|
|
5105 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5489 | 5106 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
5490 | |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
5107 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
5491 | 5108 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
5492 | 5109 |
else
|
5493 | 5110 |
rm -f "$ac_file"
|
5494 | 5111 |
mv "$tmp/config.h" "$ac_file" \
|
5495 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
5496 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
5497 | |
{ (exit 1); exit 1; }; }
|
|
5112 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5498 | 5113 |
fi
|
5499 | 5114 |
else
|
5500 | 5115 |
$as_echo "/* $configure_input */" \
|
5501 | 5116 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
5502 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
5503 | |
$as_echo "$as_me: error: could not create -" >&2;}
|
5504 | |
{ (exit 1); exit 1; }; }
|
|
5117 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
5505 | 5118 |
fi
|
5506 | 5119 |
# Compute "$ac_file"'s index in $config_headers.
|
5507 | 5120 |
_am_arg="$ac_file"
|
|
5539 | 5152 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
5540 | 5153 |
;;
|
5541 | 5154 |
|
5542 | |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
5155 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
5543 | 5156 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
5544 | 5157 |
;;
|
5545 | 5158 |
esac
|
|
5634 | 5247 |
q
|
5635 | 5248 |
}
|
5636 | 5249 |
s/.*/./; q'`
|
5637 | |
{ as_dir=$dirpart/$fdir
|
5638 | |
case $as_dir in #(
|
5639 | |
-*) as_dir=./$as_dir;;
|
5640 | |
esac
|
5641 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
5642 | |
as_dirs=
|
5643 | |
while :; do
|
5644 | |
case $as_dir in #(
|
5645 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
5646 | |
*) as_qdir=$as_dir;;
|
5647 | |
esac
|
5648 | |
as_dirs="'$as_qdir' $as_dirs"
|
5649 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
5650 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5651 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5652 | |
X"$as_dir" : 'X\(//\)$' \| \
|
5653 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
5654 | |
$as_echo X"$as_dir" |
|
5655 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
5656 | |
s//\1/
|
5657 | |
q
|
5658 | |
}
|
5659 | |
/^X\(\/\/\)[^/].*/{
|
5660 | |
s//\1/
|
5661 | |
q
|
5662 | |
}
|
5663 | |
/^X\(\/\/\)$/{
|
5664 | |
s//\1/
|
5665 | |
q
|
5666 | |
}
|
5667 | |
/^X\(\/\).*/{
|
5668 | |
s//\1/
|
5669 | |
q
|
5670 | |
}
|
5671 | |
s/.*/./; q'`
|
5672 | |
test -d "$as_dir" && break
|
5673 | |
done
|
5674 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
5675 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
5676 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
5677 | |
{ (exit 1); exit 1; }; }; }
|
|
5250 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
5678 | 5251 |
# echo "creating $dirpart/$file"
|
5679 | 5252 |
echo '# dummy' > "$dirpart/$file"
|
5680 | 5253 |
done
|
|
5687 | 5260 |
done # for ac_tag
|
5688 | 5261 |
|
5689 | 5262 |
|
5690 | |
{ (exit 0); exit 0; }
|
|
5263 |
as_fn_exit 0
|
5691 | 5264 |
_ACEOF
|
5692 | |
chmod +x $CONFIG_STATUS
|
5693 | 5265 |
ac_clean_files=$ac_clean_files_save
|
5694 | 5266 |
|
5695 | 5267 |
test $ac_write_fail = 0 ||
|
5696 | |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
5697 | |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
5698 | |
{ (exit 1); exit 1; }; }
|
|
5268 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
5699 | 5269 |
|
5700 | 5270 |
|
5701 | 5271 |
# configure is writing to config.log, and then calls config.status.
|
|
5716 | 5286 |
exec 5>>config.log
|
5717 | 5287 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
5718 | 5288 |
# would make configure fail if this is the last instruction.
|
5719 | |
$ac_cs_success || { (exit 1); exit 1; }
|
|
5289 |
$ac_cs_success || as_fn_exit 1
|
5720 | 5290 |
fi
|
5721 | 5291 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
5722 | |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
5292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
5723 | 5293 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
5724 | 5294 |
fi
|
5725 | 5295 |
|