0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63.
|
|
2 |
# Generated by GNU Autoconf 2.65.
|
|
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 Free Software Foundation,
|
|
7 |
# 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 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
174 |
if (eval "$as_required") 2>/dev/null; then :
|
|
175 |
as_have_required=yes
|
|
176 |
else
|
|
177 |
as_have_required=no
|
|
178 |
fi
|
|
179 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
180 |
|
|
181 |
else
|
|
182 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
183 |
as_found=false
|
|
184 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
185 |
do
|
|
186 |
IFS=$as_save_IFS
|
|
187 |
test -z "$as_dir" && as_dir=.
|
|
188 |
as_found=:
|
|
189 |
case $as_dir in #(
|
|
190 |
/*)
|
|
191 |
for as_base in sh bash ksh sh5; do
|
|
192 |
# Try only shells that exist, to save several forks.
|
|
193 |
as_shell=$as_dir/$as_base
|
|
194 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
195 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
196 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
197 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
break 2
|
|
199 |
fi
|
|
200 |
fi
|
|
201 |
done;;
|
|
202 |
esac
|
|
203 |
as_found=false
|
|
204 |
done
|
|
205 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
206 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
207 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
208 |
fi; }
|
|
209 |
IFS=$as_save_IFS
|
|
210 |
|
|
211 |
|
|
212 |
if test "x$CONFIG_SHELL" != x; then :
|
|
213 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
214 |
# neutralization value for shells without unset; and this also
|
|
215 |
# works around shells that cannot unset nonexistent variables.
|
|
216 |
BASH_ENV=/dev/null
|
|
217 |
ENV=/dev/null
|
|
218 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
219 |
export CONFIG_SHELL
|
|
220 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
221 |
fi
|
|
222 |
|
|
223 |
if test x$as_have_required = xno; then :
|
|
224 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
225 |
$as_echo "$0: the shells that I found on your system."
|
|
226 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
227 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
228 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
229 |
else
|
|
230 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
231 |
$0: including any error possibly output before this
|
|
232 |
$0: message. Then install a modern shell, or manually run
|
|
233 |
$0: the script under such a shell if you do have one."
|
|
234 |
fi
|
|
235 |
exit 1
|
|
236 |
fi
|
|
237 |
fi
|
|
238 |
fi
|
|
239 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
240 |
export SHELL
|
|
241 |
# Unset more variables known to interfere with behavior of common tools.
|
|
242 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
243 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
244 |
|
|
245 |
## --------------------- ##
|
|
246 |
## M4sh Shell Functions. ##
|
|
247 |
## --------------------- ##
|
|
248 |
# as_fn_unset VAR
|
|
249 |
# ---------------
|
|
250 |
# Portably unset VAR.
|
|
251 |
as_fn_unset ()
|
|
252 |
{
|
|
253 |
{ eval $1=; unset $1;}
|
|
254 |
}
|
|
255 |
as_unset=as_fn_unset
|
|
256 |
|
|
257 |
# as_fn_set_status STATUS
|
|
258 |
# -----------------------
|
|
259 |
# Set $? to STATUS, without forking.
|
|
260 |
as_fn_set_status ()
|
|
261 |
{
|
|
262 |
return $1
|
|
263 |
} # as_fn_set_status
|
|
264 |
|
|
265 |
# as_fn_exit STATUS
|
|
266 |
# -----------------
|
|
267 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
268 |
as_fn_exit ()
|
|
269 |
{
|
|
270 |
set +e
|
|
271 |
as_fn_set_status $1
|
|
272 |
exit $1
|
|
273 |
} # as_fn_exit
|
|
274 |
|
|
275 |
# as_fn_mkdir_p
|
|
276 |
# -------------
|
|
277 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
278 |
as_fn_mkdir_p ()
|
|
279 |
{
|
|
280 |
|
|
281 |
case $as_dir in #(
|
|
282 |
-*) as_dir=./$as_dir;;
|
|
283 |
esac
|
|
284 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
285 |
as_dirs=
|
|
286 |
while :; do
|
|
287 |
case $as_dir in #(
|
|
288 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
289 |
*) as_qdir=$as_dir;;
|
|
290 |
esac
|
|
291 |
as_dirs="'$as_qdir' $as_dirs"
|
|
292 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
293 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
294 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
295 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
296 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
297 |
$as_echo X"$as_dir" |
|
|
298 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
299 |
s//\1/
|
|
300 |
q
|
|
301 |
}
|
|
302 |
/^X\(\/\/\)[^/].*/{
|
|
303 |
s//\1/
|
|
304 |
q
|
|
305 |
}
|
|
306 |
/^X\(\/\/\)$/{
|
|
307 |
s//\1/
|
|
308 |
q
|
|
309 |
}
|
|
310 |
/^X\(\/\).*/{
|
|
311 |
s//\1/
|
|
312 |
q
|
|
313 |
}
|
|
314 |
s/.*/./; q'`
|
|
315 |
test -d "$as_dir" && break
|
|
316 |
done
|
|
317 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
318 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
319 |
|
|
320 |
|
|
321 |
} # as_fn_mkdir_p
|
|
322 |
# as_fn_append VAR VALUE
|
|
323 |
# ----------------------
|
|
324 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
325 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
326 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
327 |
# implementations.
|
|
328 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
329 |
eval 'as_fn_append ()
|
|
330 |
{
|
|
331 |
eval $1+=\$2
|
|
332 |
}'
|
|
333 |
else
|
|
334 |
as_fn_append ()
|
|
335 |
{
|
|
336 |
eval $1=\$$1\$2
|
|
337 |
}
|
|
338 |
fi # as_fn_append
|
|
339 |
|
|
340 |
# as_fn_arith ARG...
|
|
341 |
# ------------------
|
|
342 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
343 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
344 |
# must be portable across $(()) and expr.
|
|
345 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
346 |
eval 'as_fn_arith ()
|
|
347 |
{
|
|
348 |
as_val=$(( $* ))
|
|
349 |
}'
|
|
350 |
else
|
|
351 |
as_fn_arith ()
|
|
352 |
{
|
|
353 |
as_val=`expr "$@" || test $? -eq 1`
|
|
354 |
}
|
|
355 |
fi # as_fn_arith
|
|
356 |
|
|
357 |
|
|
358 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
359 |
# ---------------------------------
|
|
360 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
361 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
362 |
# script with status $?, using 1 if that was 0.
|
|
363 |
as_fn_error ()
|
|
364 |
{
|
|
365 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
366 |
if test "$3"; then
|
|
367 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
368 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
369 |
fi
|
|
370 |
$as_echo "$as_me: error: $1" >&2
|
|
371 |
as_fn_exit $as_status
|
|
372 |
} # as_fn_error
|
|
373 |
|
134 | 374 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
135 | 375 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
136 | 376 |
as_expr=expr
|
|
144 | 384 |
as_basename=false
|
145 | 385 |
fi
|
146 | 386 |
|
147 | |
|
148 | |
# Name of the executable.
|
|
387 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
388 |
as_dirname=dirname
|
|
389 |
else
|
|
390 |
as_dirname=false
|
|
391 |
fi
|
|
392 |
|
149 | 393 |
as_me=`$as_basename -- "$0" ||
|
150 | 394 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
151 | 395 |
X"$0" : 'X\(//\)$' \| \
|
|
165 | 409 |
}
|
166 | 410 |
s/.*/./; q'`
|
167 | 411 |
|
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. :-)
|
|
412 |
# Avoid depending upon Character Ranges.
|
|
413 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
414 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
415 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
416 |
as_cr_digits='0123456789'
|
|
417 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
418 |
|
|
419 |
|
|
420 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
421 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
422 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
423 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
424 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
457 | 425 |
sed -n '
|
458 | 426 |
p
|
459 | 427 |
/[$]LINENO/=
|
|
470 | 438 |
s/-\n.*//
|
471 | 439 |
' >$as_me.lineno &&
|
472 | 440 |
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; }; }
|
|
441 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
475 | 442 |
|
476 | 443 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
477 | 444 |
# (the dirname of $[0] is not the place where we might find the
|
|
481 | 448 |
exit
|
482 | 449 |
}
|
483 | 450 |
|
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 | 451 |
ECHO_C= ECHO_N= ECHO_T=
|
492 | |
case `echo -n x` in
|
|
452 |
case `echo -n x` in #(((((
|
493 | 453 |
-n*)
|
494 | |
case `echo 'x\c'` in
|
|
454 |
case `echo 'xy\c'` in
|
495 | 455 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
496 | |
*) ECHO_C='\c';;
|
|
456 |
xy) ECHO_C='\c';;
|
|
457 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
458 |
ECHO_T=' ';;
|
497 | 459 |
esac;;
|
498 | 460 |
*)
|
499 | 461 |
ECHO_N='-n';;
|
500 | 462 |
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 | 463 |
|
508 | 464 |
rm -f conf$$ conf$$.exe conf$$.file
|
509 | 465 |
if test -d conf$$.dir; then
|
|
533 | 489 |
rmdir conf$$.dir 2>/dev/null
|
534 | 490 |
|
535 | 491 |
if mkdir -p . 2>/dev/null; then
|
536 | |
as_mkdir_p=:
|
|
492 |
as_mkdir_p='mkdir -p "$as_dir"'
|
537 | 493 |
else
|
538 | 494 |
test -d ./-p && rmdir ./-p
|
539 | 495 |
as_mkdir_p=false
|
|
552 | 508 |
if test -d "$1"; then
|
553 | 509 |
test -d "$1/.";
|
554 | 510 |
else
|
555 | |
case $1 in
|
|
511 |
case $1 in #(
|
556 | 512 |
-*)set "./$1";;
|
557 | 513 |
esac;
|
558 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
514 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
559 | 515 |
???[sx]*):;;*)false;;esac;fi
|
560 | 516 |
'\'' sh
|
561 | 517 |
'
|
|
569 | 525 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
570 | 526 |
|
571 | 527 |
|
572 | |
|
573 | |
exec 7<&0 </dev/null 6>&1
|
|
528 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
529 |
exec 6>&1
|
574 | 530 |
|
575 | 531 |
# Name of the host.
|
576 | 532 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
588 | 544 |
subdirs=
|
589 | 545 |
MFLAGS=
|
590 | 546 |
MAKEFLAGS=
|
591 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
592 | 547 |
|
593 | 548 |
# Identity of this package.
|
594 | 549 |
PACKAGE_NAME=
|
|
596 | 551 |
PACKAGE_VERSION=
|
597 | 552 |
PACKAGE_STRING=
|
598 | 553 |
PACKAGE_BUGREPORT=
|
|
554 |
PACKAGE_URL=
|
599 | 555 |
|
600 | 556 |
ac_unique_file="squidview.cpp"
|
601 | 557 |
# Factoring default headers for most tests.
|
|
634 | 590 |
# include <unistd.h>
|
635 | 591 |
#endif"
|
636 | 592 |
|
637 | |
ac_subst_vars='LTLIBOBJS
|
|
593 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
594 |
am__EXEEXT_TRUE
|
|
595 |
LTLIBOBJS
|
638 | 596 |
LIBOBJS
|
639 | 597 |
CXXCPP
|
640 | 598 |
EGREP
|
|
715 | 673 |
program_transform_name
|
716 | 674 |
prefix
|
717 | 675 |
exec_prefix
|
|
676 |
PACKAGE_URL
|
718 | 677 |
PACKAGE_BUGREPORT
|
719 | 678 |
PACKAGE_STRING
|
720 | 679 |
PACKAGE_VERSION
|
|
848 | 807 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
849 | 808 |
# Reject names that are not valid shell variable names.
|
850 | 809 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
851 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
852 | |
{ (exit 1); exit 1; }; }
|
|
810 |
as_fn_error "invalid feature name: $ac_useropt"
|
853 | 811 |
ac_useropt_orig=$ac_useropt
|
854 | 812 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
855 | 813 |
case $ac_user_opts in
|
|
875 | 833 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
876 | 834 |
# Reject names that are not valid shell variable names.
|
877 | 835 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
878 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
879 | |
{ (exit 1); exit 1; }; }
|
|
836 |
as_fn_error "invalid feature name: $ac_useropt"
|
880 | 837 |
ac_useropt_orig=$ac_useropt
|
881 | 838 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
882 | 839 |
case $ac_user_opts in
|
|
1080 | 1037 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1081 | 1038 |
# Reject names that are not valid shell variable names.
|
1082 | 1039 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1083 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1084 | |
{ (exit 1); exit 1; }; }
|
|
1040 |
as_fn_error "invalid package name: $ac_useropt"
|
1085 | 1041 |
ac_useropt_orig=$ac_useropt
|
1086 | 1042 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1087 | 1043 |
case $ac_user_opts in
|
|
1097 | 1053 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1098 | 1054 |
# Reject names that are not valid shell variable names.
|
1099 | 1055 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1100 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1101 | |
{ (exit 1); exit 1; }; }
|
|
1056 |
as_fn_error "invalid package name: $ac_useropt"
|
1102 | 1057 |
ac_useropt_orig=$ac_useropt
|
1103 | 1058 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1104 | 1059 |
case $ac_user_opts in
|
|
1128 | 1083 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1129 | 1084 |
x_libraries=$ac_optarg ;;
|
1130 | 1085 |
|
1131 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1132 | |
Try \`$0 --help' for more information." >&2
|
1133 | |
{ (exit 1); exit 1; }; }
|
|
1086 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1087 |
Try \`$0 --help' for more information."
|
1134 | 1088 |
;;
|
1135 | 1089 |
|
1136 | 1090 |
*=*)
|
1137 | 1091 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1138 | 1092 |
# Reject names that are not valid shell variable names.
|
1139 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1140 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1141 | |
{ (exit 1); exit 1; }; }
|
|
1093 |
case $ac_envvar in #(
|
|
1094 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1095 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1096 |
esac
|
1142 | 1097 |
eval $ac_envvar=\$ac_optarg
|
1143 | 1098 |
export $ac_envvar ;;
|
1144 | 1099 |
|
|
1155 | 1110 |
|
1156 | 1111 |
if test -n "$ac_prev"; then
|
1157 | 1112 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1158 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1159 | |
{ (exit 1); exit 1; }; }
|
|
1113 |
as_fn_error "missing argument to $ac_option"
|
1160 | 1114 |
fi
|
1161 | 1115 |
|
1162 | 1116 |
if test -n "$ac_unrecognized_opts"; then
|
1163 | 1117 |
case $enable_option_checking in
|
1164 | 1118 |
no) ;;
|
1165 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1166 | |
{ (exit 1); exit 1; }; } ;;
|
|
1119 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1167 | 1120 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1168 | 1121 |
esac
|
1169 | 1122 |
fi
|
|
1186 | 1139 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1187 | 1140 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1188 | 1141 |
esac
|
1189 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1190 | |
{ (exit 1); exit 1; }; }
|
|
1142 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1191 | 1143 |
done
|
1192 | 1144 |
|
1193 | 1145 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1217 | 1169 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1218 | 1170 |
ac_ls_di=`ls -di .` &&
|
1219 | 1171 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1220 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1221 | |
{ (exit 1); exit 1; }; }
|
|
1172 |
as_fn_error "working directory cannot be determined"
|
1222 | 1173 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1223 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1224 | |
{ (exit 1); exit 1; }; }
|
|
1174 |
as_fn_error "pwd does not report name of working directory"
|
1225 | 1175 |
|
1226 | 1176 |
|
1227 | 1177 |
# Find the source files, if location was not specified.
|
|
1260 | 1210 |
fi
|
1261 | 1211 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1262 | 1212 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1263 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1264 | |
{ (exit 1); exit 1; }; }
|
|
1213 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1265 | 1214 |
fi
|
1266 | 1215 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1267 | 1216 |
ac_abs_confdir=`(
|
1268 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1269 | |
{ (exit 1); exit 1; }; }
|
|
1217 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1270 | 1218 |
pwd)`
|
1271 | 1219 |
# When building in place, set srcdir=.
|
1272 | 1220 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1373 | 1321 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1374 | 1322 |
nonstandard directory <lib dir>
|
1375 | 1323 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1376 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1324 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1377 | 1325 |
you have headers in a nonstandard directory <include dir>
|
1378 | 1326 |
CC C compiler command
|
1379 | 1327 |
CFLAGS C compiler flags
|
|
1383 | 1331 |
Use these variables to override the choices made by `configure' or to help
|
1384 | 1332 |
it to find libraries and programs with nonstandard names/locations.
|
1385 | 1333 |
|
|
1334 |
Report bugs to the package provider.
|
1386 | 1335 |
_ACEOF
|
1387 | 1336 |
ac_status=$?
|
1388 | 1337 |
fi
|
|
1446 | 1395 |
if $ac_init_version; then
|
1447 | 1396 |
cat <<\_ACEOF
|
1448 | 1397 |
configure
|
1449 | |
generated by GNU Autoconf 2.63
|
1450 | |
|
1451 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1452 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1398 |
generated by GNU Autoconf 2.65
|
|
1399 |
|
|
1400 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1453 | 1401 |
This configure script is free software; the Free Software Foundation
|
1454 | 1402 |
gives unlimited permission to copy, distribute and modify it.
|
1455 | 1403 |
_ACEOF
|
1456 | 1404 |
exit
|
1457 | 1405 |
fi
|
|
1406 |
|
|
1407 |
## ------------------------ ##
|
|
1408 |
## Autoconf initialization. ##
|
|
1409 |
## ------------------------ ##
|
|
1410 |
|
|
1411 |
# ac_fn_cxx_try_compile LINENO
|
|
1412 |
# ----------------------------
|
|
1413 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1414 |
ac_fn_cxx_try_compile ()
|
|
1415 |
{
|
|
1416 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1417 |
rm -f conftest.$ac_objext
|
|
1418 |
if { { ac_try="$ac_compile"
|
|
1419 |
case "(($ac_try" in
|
|
1420 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1421 |
*) ac_try_echo=$ac_try;;
|
|
1422 |
esac
|
|
1423 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1424 |
$as_echo "$ac_try_echo"; } >&5
|
|
1425 |
(eval "$ac_compile") 2>conftest.err
|
|
1426 |
ac_status=$?
|
|
1427 |
if test -s conftest.err; then
|
|
1428 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1429 |
cat conftest.er1 >&5
|
|
1430 |
mv -f conftest.er1 conftest.err
|
|
1431 |
fi
|
|
1432 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1433 |
test $ac_status = 0; } && {
|
|
1434 |
test -z "$ac_cxx_werror_flag" ||
|
|
1435 |
test ! -s conftest.err
|
|
1436 |
} && test -s conftest.$ac_objext; then :
|
|
1437 |
ac_retval=0
|
|
1438 |
else
|
|
1439 |
$as_echo "$as_me: failed program was:" >&5
|
|
1440 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1441 |
|
|
1442 |
ac_retval=1
|
|
1443 |
fi
|
|
1444 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1445 |
as_fn_set_status $ac_retval
|
|
1446 |
|
|
1447 |
} # ac_fn_cxx_try_compile
|
|
1448 |
|
|
1449 |
# ac_fn_c_try_compile LINENO
|
|
1450 |
# --------------------------
|
|
1451 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1452 |
ac_fn_c_try_compile ()
|
|
1453 |
{
|
|
1454 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1455 |
rm -f conftest.$ac_objext
|
|
1456 |
if { { ac_try="$ac_compile"
|
|
1457 |
case "(($ac_try" in
|
|
1458 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1459 |
*) ac_try_echo=$ac_try;;
|
|
1460 |
esac
|
|
1461 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1462 |
$as_echo "$ac_try_echo"; } >&5
|
|
1463 |
(eval "$ac_compile") 2>conftest.err
|
|
1464 |
ac_status=$?
|
|
1465 |
if test -s conftest.err; then
|
|
1466 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1467 |
cat conftest.er1 >&5
|
|
1468 |
mv -f conftest.er1 conftest.err
|
|
1469 |
fi
|
|
1470 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1471 |
test $ac_status = 0; } && {
|
|
1472 |
test -z "$ac_c_werror_flag" ||
|
|
1473 |
test ! -s conftest.err
|
|
1474 |
} && test -s conftest.$ac_objext; then :
|
|
1475 |
ac_retval=0
|
|
1476 |
else
|
|
1477 |
$as_echo "$as_me: failed program was:" >&5
|
|
1478 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1479 |
|
|
1480 |
ac_retval=1
|
|
1481 |
fi
|
|
1482 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1483 |
as_fn_set_status $ac_retval
|
|
1484 |
|
|
1485 |
} # ac_fn_c_try_compile
|
|
1486 |
|
|
1487 |
# ac_fn_c_try_cpp LINENO
|
|
1488 |
# ----------------------
|
|
1489 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1490 |
ac_fn_c_try_cpp ()
|
|
1491 |
{
|
|
1492 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1493 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1494 |
case "(($ac_try" in
|
|
1495 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1496 |
*) ac_try_echo=$ac_try;;
|
|
1497 |
esac
|
|
1498 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1499 |
$as_echo "$ac_try_echo"; } >&5
|
|
1500 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1501 |
ac_status=$?
|
|
1502 |
if test -s conftest.err; then
|
|
1503 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1504 |
cat conftest.er1 >&5
|
|
1505 |
mv -f conftest.er1 conftest.err
|
|
1506 |
fi
|
|
1507 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1508 |
test $ac_status = 0; } >/dev/null && {
|
|
1509 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1510 |
test ! -s conftest.err
|
|
1511 |
}; then :
|
|
1512 |
ac_retval=0
|
|
1513 |
else
|
|
1514 |
$as_echo "$as_me: failed program was:" >&5
|
|
1515 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1516 |
|
|
1517 |
ac_retval=1
|
|
1518 |
fi
|
|
1519 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1520 |
as_fn_set_status $ac_retval
|
|
1521 |
|
|
1522 |
} # ac_fn_c_try_cpp
|
|
1523 |
|
|
1524 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1525 |
# -------------------------------------------------------
|
|
1526 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1527 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1528 |
# accordingly.
|
|
1529 |
ac_fn_c_check_header_mongrel ()
|
|
1530 |
{
|
|
1531 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1532 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1534 |
$as_echo_n "checking for $2... " >&6; }
|
|
1535 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1536 |
$as_echo_n "(cached) " >&6
|
|
1537 |
fi
|
|
1538 |
eval ac_res=\$$3
|
|
1539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1540 |
$as_echo "$ac_res" >&6; }
|
|
1541 |
else
|
|
1542 |
# Is the header compilable?
|
|
1543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1544 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1545 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1546 |
/* end confdefs.h. */
|
|
1547 |
$4
|
|
1548 |
#include <$2>
|
|
1549 |
_ACEOF
|
|
1550 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1551 |
ac_header_compiler=yes
|
|
1552 |
else
|
|
1553 |
ac_header_compiler=no
|
|
1554 |
fi
|
|
1555 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1557 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1558 |
|
|
1559 |
# Is the header present?
|
|
1560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1561 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1562 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1563 |
/* end confdefs.h. */
|
|
1564 |
#include <$2>
|
|
1565 |
_ACEOF
|
|
1566 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1567 |
ac_header_preproc=yes
|
|
1568 |
else
|
|
1569 |
ac_header_preproc=no
|
|
1570 |
fi
|
|
1571 |
rm -f conftest.err conftest.$ac_ext
|
|
1572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1573 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1574 |
|
|
1575 |
# So? What about this header?
|
|
1576 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1577 |
yes:no: )
|
|
1578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1579 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1580 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1581 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1582 |
;;
|
|
1583 |
no:yes:* )
|
|
1584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1585 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1587 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1588 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1589 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1591 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1593 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1594 |
;;
|
|
1595 |
esac
|
|
1596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1597 |
$as_echo_n "checking for $2... " >&6; }
|
|
1598 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1599 |
$as_echo_n "(cached) " >&6
|
|
1600 |
else
|
|
1601 |
eval "$3=\$ac_header_compiler"
|
|
1602 |
fi
|
|
1603 |
eval ac_res=\$$3
|
|
1604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1605 |
$as_echo "$ac_res" >&6; }
|
|
1606 |
fi
|
|
1607 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1608 |
|
|
1609 |
} # ac_fn_c_check_header_mongrel
|
|
1610 |
|
|
1611 |
# ac_fn_c_try_run LINENO
|
|
1612 |
# ----------------------
|
|
1613 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1614 |
# that executables *can* be run.
|
|
1615 |
ac_fn_c_try_run ()
|
|
1616 |
{
|
|
1617 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1618 |
if { { ac_try="$ac_link"
|
|
1619 |
case "(($ac_try" in
|
|
1620 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1621 |
*) ac_try_echo=$ac_try;;
|
|
1622 |
esac
|
|
1623 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1624 |
$as_echo "$ac_try_echo"; } >&5
|
|
1625 |
(eval "$ac_link") 2>&5
|
|
1626 |
ac_status=$?
|
|
1627 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1628 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1629 |
{ { case "(($ac_try" in
|
|
1630 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1631 |
*) ac_try_echo=$ac_try;;
|
|
1632 |
esac
|
|
1633 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1634 |
$as_echo "$ac_try_echo"; } >&5
|
|
1635 |
(eval "$ac_try") 2>&5
|
|
1636 |
ac_status=$?
|
|
1637 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1638 |
test $ac_status = 0; }; }; then :
|
|
1639 |
ac_retval=0
|
|
1640 |
else
|
|
1641 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1642 |
$as_echo "$as_me: failed program was:" >&5
|
|
1643 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1644 |
|
|
1645 |
ac_retval=$ac_status
|
|
1646 |
fi
|
|
1647 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1648 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1649 |
as_fn_set_status $ac_retval
|
|
1650 |
|
|
1651 |
} # ac_fn_c_try_run
|
|
1652 |
|
|
1653 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1654 |
# -------------------------------------------------------
|
|
1655 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1656 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1657 |
ac_fn_c_check_header_compile ()
|
|
1658 |
{
|
|
1659 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1661 |
$as_echo_n "checking for $2... " >&6; }
|
|
1662 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1663 |
$as_echo_n "(cached) " >&6
|
|
1664 |
else
|
|
1665 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1666 |
/* end confdefs.h. */
|
|
1667 |
$4
|
|
1668 |
#include <$2>
|
|
1669 |
_ACEOF
|
|
1670 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1671 |
eval "$3=yes"
|
|
1672 |
else
|
|
1673 |
eval "$3=no"
|
|
1674 |
fi
|
|
1675 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1676 |
fi
|
|
1677 |
eval ac_res=\$$3
|
|
1678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1679 |
$as_echo "$ac_res" >&6; }
|
|
1680 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1681 |
|
|
1682 |
} # ac_fn_c_check_header_compile
|
|
1683 |
|
|
1684 |
# ac_fn_c_try_link LINENO
|
|
1685 |
# -----------------------
|
|
1686 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1687 |
ac_fn_c_try_link ()
|
|
1688 |
{
|
|
1689 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1690 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1691 |
if { { ac_try="$ac_link"
|
|
1692 |
case "(($ac_try" in
|
|
1693 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1694 |
*) ac_try_echo=$ac_try;;
|
|
1695 |
esac
|
|
1696 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1697 |
$as_echo "$ac_try_echo"; } >&5
|
|
1698 |
(eval "$ac_link") 2>conftest.err
|
|
1699 |
ac_status=$?
|
|
1700 |
if test -s conftest.err; then
|
|
1701 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1702 |
cat conftest.er1 >&5
|
|
1703 |
mv -f conftest.er1 conftest.err
|
|
1704 |
fi
|
|
1705 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1706 |
test $ac_status = 0; } && {
|
|
1707 |
test -z "$ac_c_werror_flag" ||
|
|
1708 |
test ! -s conftest.err
|
|
1709 |
} && test -s conftest$ac_exeext && {
|
|
1710 |
test "$cross_compiling" = yes ||
|
|
1711 |
$as_test_x conftest$ac_exeext
|
|
1712 |
}; then :
|
|
1713 |
ac_retval=0
|
|
1714 |
else
|
|
1715 |
$as_echo "$as_me: failed program was:" >&5
|
|
1716 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1717 |
|
|
1718 |
ac_retval=1
|
|
1719 |
fi
|
|
1720 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1721 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1722 |
# interfere with the next link command; also delete a directory that is
|
|
1723 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1724 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1725 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1726 |
as_fn_set_status $ac_retval
|
|
1727 |
|
|
1728 |
} # ac_fn_c_try_link
|
|
1729 |
|
|
1730 |
# ac_fn_cxx_try_cpp LINENO
|
|
1731 |
# ------------------------
|
|
1732 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1733 |
ac_fn_cxx_try_cpp ()
|
|
1734 |
{
|
|
1735 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1736 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1737 |
case "(($ac_try" in
|
|
1738 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1739 |
*) ac_try_echo=$ac_try;;
|
|
1740 |
esac
|
|
1741 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1742 |
$as_echo "$ac_try_echo"; } >&5
|
|
1743 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1744 |
ac_status=$?
|
|
1745 |
if test -s conftest.err; then
|
|
1746 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1747 |
cat conftest.er1 >&5
|
|
1748 |
mv -f conftest.er1 conftest.err
|
|
1749 |
fi
|
|
1750 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1751 |
test $ac_status = 0; } >/dev/null && {
|
|
1752 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
1753 |
test ! -s conftest.err
|
|
1754 |
}; then :
|
|
1755 |
ac_retval=0
|
|
1756 |
else
|
|
1757 |
$as_echo "$as_me: failed program was:" >&5
|
|
1758 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1759 |
|
|
1760 |
ac_retval=1
|
|
1761 |
fi
|
|
1762 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1763 |
as_fn_set_status $ac_retval
|
|
1764 |
|
|
1765 |
} # ac_fn_cxx_try_cpp
|
|
1766 |
|
|
1767 |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1768 |
# ---------------------------------------------------------
|
|
1769 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1770 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1771 |
# accordingly.
|
|
1772 |
ac_fn_cxx_check_header_mongrel ()
|
|
1773 |
{
|
|
1774 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1775 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1776 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1777 |
$as_echo_n "checking for $2... " >&6; }
|
|
1778 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1779 |
$as_echo_n "(cached) " >&6
|
|
1780 |
fi
|
|
1781 |
eval ac_res=\$$3
|
|
1782 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1783 |
$as_echo "$ac_res" >&6; }
|
|
1784 |
else
|
|
1785 |
# Is the header compilable?
|
|
1786 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1787 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1788 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1789 |
/* end confdefs.h. */
|
|
1790 |
$4
|
|
1791 |
#include <$2>
|
|
1792 |
_ACEOF
|
|
1793 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
1794 |
ac_header_compiler=yes
|
|
1795 |
else
|
|
1796 |
ac_header_compiler=no
|
|
1797 |
fi
|
|
1798 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1800 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1801 |
|
|
1802 |
# Is the header present?
|
|
1803 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1804 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1805 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1806 |
/* end confdefs.h. */
|
|
1807 |
#include <$2>
|
|
1808 |
_ACEOF
|
|
1809 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
1810 |
ac_header_preproc=yes
|
|
1811 |
else
|
|
1812 |
ac_header_preproc=no
|
|
1813 |
fi
|
|
1814 |
rm -f conftest.err conftest.$ac_ext
|
|
1815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1816 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1817 |
|
|
1818 |
# So? What about this header?
|
|
1819 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
|
|
1820 |
yes:no: )
|
|
1821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1822 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1824 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1825 |
;;
|
|
1826 |
no:yes:* )
|
|
1827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1828 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1829 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1830 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1832 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1833 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1834 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1836 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1837 |
;;
|
|
1838 |
esac
|
|
1839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1840 |
$as_echo_n "checking for $2... " >&6; }
|
|
1841 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1842 |
$as_echo_n "(cached) " >&6
|
|
1843 |
else
|
|
1844 |
eval "$3=\$ac_header_compiler"
|
|
1845 |
fi
|
|
1846 |
eval ac_res=\$$3
|
|
1847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1848 |
$as_echo "$ac_res" >&6; }
|
|
1849 |
fi
|
|
1850 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1851 |
|
|
1852 |
} # ac_fn_cxx_check_header_mongrel
|
1458 | 1853 |
cat >config.log <<_ACEOF
|
1459 | 1854 |
This file contains any messages produced by compilers while
|
1460 | 1855 |
running configure, to aid debugging if configure makes a mistake.
|
1461 | 1856 |
|
1462 | 1857 |
It was created by $as_me, which was
|
1463 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
1858 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1464 | 1859 |
|
1465 | 1860 |
$ $0 $@
|
1466 | 1861 |
|
|
1496 | 1891 |
do
|
1497 | 1892 |
IFS=$as_save_IFS
|
1498 | 1893 |
test -z "$as_dir" && as_dir=.
|
1499 | |
$as_echo "PATH: $as_dir"
|
1500 | |
done
|
|
1894 |
$as_echo "PATH: $as_dir"
|
|
1895 |
done
|
1501 | 1896 |
IFS=$as_save_IFS
|
1502 | 1897 |
|
1503 | 1898 |
} >&5
|
|
1534 | 1929 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1535 | 1930 |
esac
|
1536 | 1931 |
case $ac_pass in
|
1537 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1932 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1538 | 1933 |
2)
|
1539 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1934 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1540 | 1935 |
if test $ac_must_keep_next = true; then
|
1541 | 1936 |
ac_must_keep_next=false # Got value, back to normal.
|
1542 | 1937 |
else
|
|
1552 | 1947 |
-* ) ac_must_keep_next=true ;;
|
1553 | 1948 |
esac
|
1554 | 1949 |
fi
|
1555 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1950 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1556 | 1951 |
;;
|
1557 | 1952 |
esac
|
1558 | 1953 |
done
|
1559 | 1954 |
done
|
1560 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1561 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1955 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1956 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1562 | 1957 |
|
1563 | 1958 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1564 | 1959 |
# config.log. We remove comments because anyway the quotes in there
|
|
1583 | 1978 |
case $ac_val in #(
|
1584 | 1979 |
*${as_nl}*)
|
1585 | 1980 |
case $ac_var in #(
|
1586 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1981 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1587 | 1982 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1588 | 1983 |
esac
|
1589 | 1984 |
case $ac_var in #(
|
1590 | 1985 |
_ | IFS | as_nl) ;; #(
|
1591 | 1986 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1592 | |
*) $as_unset $ac_var ;;
|
|
1987 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1593 | 1988 |
esac ;;
|
1594 | 1989 |
esac
|
1595 | 1990 |
done
|
|
1661 | 2056 |
exit $exit_status
|
1662 | 2057 |
' 0
|
1663 | 2058 |
for ac_signal in 1 2 13 15; do
|
1664 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2059 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1665 | 2060 |
done
|
1666 | 2061 |
ac_signal=0
|
1667 | 2062 |
|
1668 | 2063 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1669 | 2064 |
rm -f -r conftest* confdefs.h
|
1670 | 2065 |
|
|
2066 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2067 |
|
1671 | 2068 |
# Predefined preprocessor variables.
|
1672 | 2069 |
|
1673 | 2070 |
cat >>confdefs.h <<_ACEOF
|
1674 | 2071 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1675 | 2072 |
_ACEOF
|
1676 | 2073 |
|
1677 | |
|
1678 | 2074 |
cat >>confdefs.h <<_ACEOF
|
1679 | 2075 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1680 | 2076 |
_ACEOF
|
1681 | 2077 |
|
1682 | |
|
1683 | 2078 |
cat >>confdefs.h <<_ACEOF
|
1684 | 2079 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1685 | 2080 |
_ACEOF
|
1686 | 2081 |
|
1687 | |
|
1688 | 2082 |
cat >>confdefs.h <<_ACEOF
|
1689 | 2083 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1690 | 2084 |
_ACEOF
|
1691 | 2085 |
|
1692 | |
|
1693 | 2086 |
cat >>confdefs.h <<_ACEOF
|
1694 | 2087 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2088 |
_ACEOF
|
|
2089 |
|
|
2090 |
cat >>confdefs.h <<_ACEOF
|
|
2091 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1695 | 2092 |
_ACEOF
|
1696 | 2093 |
|
1697 | 2094 |
|
|
1711 | 2108 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1712 | 2109 |
do
|
1713 | 2110 |
test "x$ac_site_file" = xNONE && continue
|
1714 | |
if test -r "$ac_site_file"; then
|
1715 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
2111 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1716 | 2113 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1717 | 2114 |
sed 's/^/| /' "$ac_site_file" >&5
|
1718 | 2115 |
. "$ac_site_file"
|
|
1720 | 2117 |
done
|
1721 | 2118 |
|
1722 | 2119 |
if test -r "$cache_file"; then
|
1723 | |
# Some versions of bash will fail to source /dev/null (special
|
1724 | |
# files actually), so we avoid doing that.
|
1725 | |
if test -f "$cache_file"; then
|
1726 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
2120 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2121 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2122 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1727 | 2124 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1728 | 2125 |
case $cache_file in
|
1729 | 2126 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1731 | 2128 |
esac
|
1732 | 2129 |
fi
|
1733 | 2130 |
else
|
1734 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
2131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1735 | 2132 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1736 | 2133 |
>$cache_file
|
1737 | 2134 |
fi
|
|
1746 | 2143 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1747 | 2144 |
case $ac_old_set,$ac_new_set in
|
1748 | 2145 |
set,)
|
1749 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1750 | 2147 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1751 | 2148 |
ac_cache_corrupted=: ;;
|
1752 | 2149 |
,set)
|
1753 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
2150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1754 | 2151 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1755 | 2152 |
ac_cache_corrupted=: ;;
|
1756 | 2153 |
,);;
|
|
1760 | 2157 |
ac_old_val_w=`echo x $ac_old_val`
|
1761 | 2158 |
ac_new_val_w=`echo x $ac_new_val`
|
1762 | 2159 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1763 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1764 | 2161 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1765 | 2162 |
ac_cache_corrupted=:
|
1766 | 2163 |
else
|
1767 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1768 | 2165 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1769 | 2166 |
eval $ac_var=\$ac_old_val
|
1770 | 2167 |
fi
|
1771 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
2168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1772 | 2169 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1773 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
2170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1774 | 2171 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1775 | 2172 |
fi;;
|
1776 | 2173 |
esac
|
|
1782 | 2179 |
esac
|
1783 | 2180 |
case " $ac_configure_args " in
|
1784 | 2181 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1785 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2182 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1786 | 2183 |
esac
|
1787 | 2184 |
fi
|
1788 | 2185 |
done
|
1789 | 2186 |
if $ac_cache_corrupted; then
|
1790 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
1791 | 2188 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1792 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
2189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1793 | 2190 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1794 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1795 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1796 | |
{ (exit 1); exit 1; }; }
|
1797 | |
fi
|
1798 | |
|
1799 | |
|
1800 | |
|
1801 | |
|
1802 | |
|
1803 | |
|
1804 | |
|
1805 | |
|
1806 | |
|
1807 | |
|
1808 | |
|
1809 | |
|
1810 | |
|
1811 | |
|
1812 | |
|
1813 | |
|
|
2191 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2192 |
fi
|
|
2193 |
## -------------------- ##
|
|
2194 |
## Main body of script. ##
|
|
2195 |
## -------------------- ##
|
1814 | 2196 |
|
1815 | 2197 |
ac_ext=c
|
1816 | 2198 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1821 | 2203 |
|
1822 | 2204 |
ac_config_headers="$ac_config_headers config.h"
|
1823 | 2205 |
|
1824 | |
am__api_version='1.10'
|
|
2206 |
am__api_version='1.11'
|
1825 | 2207 |
|
1826 | 2208 |
ac_aux_dir=
|
1827 | 2209 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1828 | |
if test -f "$ac_dir/install-sh"; then
|
1829 | |
ac_aux_dir=$ac_dir
|
1830 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1831 | |
break
|
1832 | |
elif test -f "$ac_dir/install.sh"; then
|
1833 | |
ac_aux_dir=$ac_dir
|
1834 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1835 | |
break
|
1836 | |
elif test -f "$ac_dir/shtool"; then
|
1837 | |
ac_aux_dir=$ac_dir
|
1838 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1839 | |
break
|
1840 | |
fi
|
|
2210 |
for ac_t in install-sh install.sh shtool; do
|
|
2211 |
if test -f "$ac_dir/$ac_t"; then
|
|
2212 |
ac_aux_dir=$ac_dir
|
|
2213 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2214 |
break 2
|
|
2215 |
fi
|
|
2216 |
done
|
1841 | 2217 |
done
|
1842 | 2218 |
if test -z "$ac_aux_dir"; then
|
1843 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1844 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1845 | |
{ (exit 1); exit 1; }; }
|
|
2219 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1846 | 2220 |
fi
|
1847 | 2221 |
|
1848 | 2222 |
# These three variables are undocumented and unsupported,
|
|
1868 | 2242 |
# OS/2's system install, which has a completely different semantic
|
1869 | 2243 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1870 | 2244 |
# Reject install programs that cannot install multiple files.
|
1871 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
1872 | 2246 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1873 | 2247 |
if test -z "$INSTALL"; then
|
1874 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2248 |
if test "${ac_cv_path_install+set}" = set; then :
|
1875 | 2249 |
$as_echo_n "(cached) " >&6
|
1876 | 2250 |
else
|
1877 | 2251 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1879 | 2253 |
do
|
1880 | 2254 |
IFS=$as_save_IFS
|
1881 | 2255 |
test -z "$as_dir" && as_dir=.
|
1882 | |
# Account for people who put trailing slashes in PATH elements.
|
1883 | |
case $as_dir/ in
|
1884 | |
./ | .// | /cC/* | \
|
|
2256 |
# Account for people who put trailing slashes in PATH elements.
|
|
2257 |
case $as_dir/ in #((
|
|
2258 |
./ | .// | /[cC]/* | \
|
1885 | 2259 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1886 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2260 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1887 | 2261 |
/usr/ucb/* ) ;;
|
1888 | 2262 |
*)
|
1889 | 2263 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1920 | 2294 |
;;
|
1921 | 2295 |
esac
|
1922 | 2296 |
|
1923 | |
done
|
|
2297 |
done
|
1924 | 2298 |
IFS=$as_save_IFS
|
1925 | 2299 |
|
1926 | 2300 |
rm -rf conftest.one conftest.two conftest.dir
|
|
1936 | 2310 |
INSTALL=$ac_install_sh
|
1937 | 2311 |
fi
|
1938 | 2312 |
fi
|
1939 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
1940 | 2314 |
$as_echo "$INSTALL" >&6; }
|
1941 | 2315 |
|
1942 | 2316 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
1947 | 2321 |
|
1948 | 2322 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1949 | 2323 |
|
1950 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
2324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
1951 | 2325 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1952 | 2326 |
# Just in case
|
1953 | 2327 |
sleep 1
|
1954 | 2328 |
echo timestamp > conftest.file
|
|
2329 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
2330 |
# name. Accept space and tab only in the latter.
|
|
2331 |
am_lf='
|
|
2332 |
'
|
|
2333 |
case `pwd` in
|
|
2334 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
2335 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
|
2336 |
esac
|
|
2337 |
case $srcdir in
|
|
2338 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
2339 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
|
2340 |
esac
|
|
2341 |
|
1955 | 2342 |
# Do `set' in a subshell so we don't clobber the current shell's
|
1956 | 2343 |
# arguments. Must try -L first in case configure is actually a
|
1957 | 2344 |
# symlink; some systems play weird games with the mod time of symlinks
|
1958 | 2345 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
1959 | 2346 |
# directory).
|
1960 | 2347 |
if (
|
1961 | |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
2348 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
1962 | 2349 |
if test "$*" = "X"; then
|
1963 | 2350 |
# -L didn't work.
|
1964 | |
set X `ls -t $srcdir/configure conftest.file`
|
|
2351 |
set X `ls -t "$srcdir/configure" conftest.file`
|
1965 | 2352 |
fi
|
1966 | 2353 |
rm -f conftest.file
|
1967 | 2354 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
1971 | 2358 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1972 | 2359 |
# broken ls alias from the environment. This has actually
|
1973 | 2360 |
# happened. Such a system could not be considered "sane".
|
1974 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1975 | |
alias in your environment" >&5
|
1976 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1977 | |
alias in your environment" >&2;}
|
1978 | |
{ (exit 1); exit 1; }; }
|
|
2361 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2362 |
alias in your environment" "$LINENO" 5
|
1979 | 2363 |
fi
|
1980 | 2364 |
|
1981 | 2365 |
test "$2" = conftest.file
|
|
1984 | 2368 |
# Ok.
|
1985 | 2369 |
:
|
1986 | 2370 |
else
|
1987 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1988 | |
Check your system clock" >&5
|
1989 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
1990 | |
Check your system clock" >&2;}
|
1991 | |
{ (exit 1); exit 1; }; }
|
1992 | |
fi
|
1993 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2371 |
as_fn_error "newly created file is older than distributed files!
|
|
2372 |
Check your system clock" "$LINENO" 5
|
|
2373 |
fi
|
|
2374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
1994 | 2375 |
$as_echo "yes" >&6; }
|
1995 | 2376 |
test "$program_prefix" != NONE &&
|
1996 | 2377 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2005 | 2386 |
# expand $ac_aux_dir to an absolute path
|
2006 | 2387 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
2007 | 2388 |
|
2008 | |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
2389 |
if test x"${MISSING+set}" != xset; then
|
|
2390 |
case $am_aux_dir in
|
|
2391 |
*\ * | *\ *)
|
|
2392 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
2393 |
*)
|
|
2394 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
2395 |
esac
|
|
2396 |
fi
|
2009 | 2397 |
# Use eval to expand $SHELL
|
2010 | 2398 |
if eval "$MISSING --run true"; then
|
2011 | 2399 |
am_missing_run="$MISSING --run "
|
2012 | 2400 |
else
|
2013 | 2401 |
am_missing_run=
|
2014 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2402 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2015 | 2403 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2016 | 2404 |
fi
|
2017 | 2405 |
|
2018 | |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2406 |
if test x"${install_sh}" != xset; then
|
|
2407 |
case $am_aux_dir in
|
|
2408 |
*\ * | *\ *)
|
|
2409 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
2410 |
*)
|
|
2411 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
2412 |
esac
|
|
2413 |
fi
|
|
2414 |
|
|
2415 |
# Installed binaries are usually stripped using `strip' when the user
|
|
2416 |
# run `make install-strip'. However `strip' might not be the right
|
|
2417 |
# tool to use in cross-compilation environments, therefore Automake
|
|
2418 |
# will honor the `STRIP' environment variable to overrule this program.
|
|
2419 |
if test "$cross_compiling" != no; then
|
|
2420 |
if test -n "$ac_tool_prefix"; then
|
|
2421 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2422 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
2423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2424 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2425 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
|
2426 |
$as_echo_n "(cached) " >&6
|
|
2427 |
else
|
|
2428 |
if test -n "$STRIP"; then
|
|
2429 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
2430 |
else
|
|
2431 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2432 |
for as_dir in $PATH
|
|
2433 |
do
|
|
2434 |
IFS=$as_save_IFS
|
|
2435 |
test -z "$as_dir" && as_dir=.
|
|
2436 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2437 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2438 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
2439 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2440 |
break 2
|
|
2441 |
fi
|
|
2442 |
done
|
|
2443 |
done
|
|
2444 |
IFS=$as_save_IFS
|
|
2445 |
|
|
2446 |
fi
|
|
2447 |
fi
|
|
2448 |
STRIP=$ac_cv_prog_STRIP
|
|
2449 |
if test -n "$STRIP"; then
|
|
2450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
2451 |
$as_echo "$STRIP" >&6; }
|
|
2452 |
else
|
|
2453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2454 |
$as_echo "no" >&6; }
|
|
2455 |
fi
|
|
2456 |
|
|
2457 |
|
|
2458 |
fi
|
|
2459 |
if test -z "$ac_cv_prog_STRIP"; then
|
|
2460 |
ac_ct_STRIP=$STRIP
|
|
2461 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2462 |
set dummy strip; ac_word=$2
|
|
2463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2464 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2465 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
|
2466 |
$as_echo_n "(cached) " >&6
|
|
2467 |
else
|
|
2468 |
if test -n "$ac_ct_STRIP"; then
|
|
2469 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2470 |
else
|
|
2471 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2472 |
for as_dir in $PATH
|
|
2473 |
do
|
|
2474 |
IFS=$as_save_IFS
|
|
2475 |
test -z "$as_dir" && as_dir=.
|
|
2476 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2477 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2478 |
ac_cv_prog_ac_ct_STRIP="strip"
|
|
2479 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2480 |
break 2
|
|
2481 |
fi
|
|
2482 |
done
|
|
2483 |
done
|
|
2484 |
IFS=$as_save_IFS
|
|
2485 |
|
|
2486 |
fi
|
|
2487 |
fi
|
|
2488 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
2489 |
if test -n "$ac_ct_STRIP"; then
|
|
2490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
2491 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
2492 |
else
|
|
2493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2494 |
$as_echo "no" >&6; }
|
|
2495 |
fi
|
|
2496 |
|
|
2497 |
if test "x$ac_ct_STRIP" = x; then
|
|
2498 |
STRIP=":"
|
|
2499 |
else
|
|
2500 |
case $cross_compiling:$ac_tool_warned in
|
|
2501 |
yes:)
|
|
2502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2503 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2504 |
ac_tool_warned=yes ;;
|
|
2505 |
esac
|
|
2506 |
STRIP=$ac_ct_STRIP
|
|
2507 |
fi
|
|
2508 |
else
|
|
2509 |
STRIP="$ac_cv_prog_STRIP"
|
|
2510 |
fi
|
|
2511 |
|
|
2512 |
fi
|
|
2513 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2514 |
|
|
2515 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2019 | 2516 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2020 | 2517 |
if test -z "$MKDIR_P"; then
|
2021 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2518 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
2022 | 2519 |
$as_echo_n "(cached) " >&6
|
2023 | 2520 |
else
|
2024 | 2521 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2026 | 2523 |
do
|
2027 | 2524 |
IFS=$as_save_IFS
|
2028 | 2525 |
test -z "$as_dir" && as_dir=.
|
2029 | |
for ac_prog in mkdir gmkdir; do
|
|
2526 |
for ac_prog in mkdir gmkdir; do
|
2030 | 2527 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2031 | 2528 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
2032 | 2529 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2038 | 2535 |
esac
|
2039 | 2536 |
done
|
2040 | 2537 |
done
|
2041 | |
done
|
|
2538 |
done
|
2042 | 2539 |
IFS=$as_save_IFS
|
2043 | 2540 |
|
2044 | 2541 |
fi
|
2045 | 2542 |
|
|
2543 |
test -d ./--version && rmdir ./--version
|
2046 | 2544 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
2047 | 2545 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2048 | 2546 |
else
|
|
2050 | 2548 |
# value for MKDIR_P within a source directory, because that will
|
2051 | 2549 |
# break other packages using the cache if that directory is
|
2052 | 2550 |
# removed, or if the value is a relative name.
|
2053 | |
test -d ./--version && rmdir ./--version
|
2054 | 2551 |
MKDIR_P="$ac_install_sh -d"
|
2055 | 2552 |
fi
|
2056 | 2553 |
fi
|
2057 | |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2058 | 2555 |
$as_echo "$MKDIR_P" >&6; }
|
2059 | 2556 |
|
2060 | 2557 |
mkdir_p="$MKDIR_P"
|
|
2067 | 2564 |
do
|
2068 | 2565 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2069 | 2566 |
set dummy $ac_prog; ac_word=$2
|
2070 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2071 | 2568 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2072 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2569 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2073 | 2570 |
$as_echo_n "(cached) " >&6
|
2074 | 2571 |
else
|
2075 | 2572 |
if test -n "$AWK"; then
|
|
2080 | 2577 |
do
|
2081 | 2578 |
IFS=$as_save_IFS
|
2082 | 2579 |
test -z "$as_dir" && as_dir=.
|
2083 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2580 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2084 | 2581 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2085 | 2582 |
ac_cv_prog_AWK="$ac_prog"
|
2086 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2583 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2087 | 2584 |
break 2
|
2088 | 2585 |
fi
|
2089 | 2586 |
done
|
2090 | |
done
|
|
2587 |
done
|
2091 | 2588 |
IFS=$as_save_IFS
|
2092 | 2589 |
|
2093 | 2590 |
fi
|
2094 | 2591 |
fi
|
2095 | 2592 |
AWK=$ac_cv_prog_AWK
|
2096 | 2593 |
if test -n "$AWK"; then
|
2097 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2098 | 2595 |
$as_echo "$AWK" >&6; }
|
2099 | 2596 |
else
|
2100 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2597 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2101 | 2598 |
$as_echo "no" >&6; }
|
2102 | 2599 |
fi
|
2103 | 2600 |
|
|
2105 | 2602 |
test -n "$AWK" && break
|
2106 | 2603 |
done
|
2107 | 2604 |
|
2108 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2109 | 2606 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2110 | 2607 |
set x ${MAKE-make}
|
2111 | 2608 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2112 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2609 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2113 | 2610 |
$as_echo_n "(cached) " >&6
|
2114 | 2611 |
else
|
2115 | 2612 |
cat >conftest.make <<\_ACEOF
|
|
2127 | 2624 |
rm -f conftest.make
|
2128 | 2625 |
fi
|
2129 | 2626 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2130 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2131 | 2628 |
$as_echo "yes" >&6; }
|
2132 | 2629 |
SET_MAKE=
|
2133 | 2630 |
else
|
2134 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2135 | 2632 |
$as_echo "no" >&6; }
|
2136 | 2633 |
SET_MAKE="MAKE=${MAKE-make}"
|
2137 | 2634 |
fi
|
|
2151 | 2648 |
am__isrc=' -I$(srcdir)'
|
2152 | 2649 |
# test to see if srcdir already configured
|
2153 | 2650 |
if test -f $srcdir/config.status; then
|
2154 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2155 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2156 | |
{ (exit 1); exit 1; }; }
|
|
2651 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2157 | 2652 |
fi
|
2158 | 2653 |
fi
|
2159 | 2654 |
|
|
2169 | 2664 |
|
2170 | 2665 |
# Define the identity of the package.
|
2171 | 2666 |
PACKAGE=squidview
|
2172 | |
VERSION=0.73
|
|
2667 |
VERSION=0.76
|
2173 | 2668 |
|
2174 | 2669 |
|
2175 | 2670 |
cat >>confdefs.h <<_ACEOF
|
|
2196 | 2691 |
|
2197 | 2692 |
|
2198 | 2693 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
2199 | |
|
2200 | |
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
2201 | |
|
2202 | |
# Installed binaries are usually stripped using `strip' when the user
|
2203 | |
# run `make install-strip'. However `strip' might not be the right
|
2204 | |
# tool to use in cross-compilation environments, therefore Automake
|
2205 | |
# will honor the `STRIP' environment variable to overrule this program.
|
2206 | |
if test "$cross_compiling" != no; then
|
2207 | |
if test -n "$ac_tool_prefix"; then
|
2208 | |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2209 | |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2210 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2211 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2212 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
2213 | |
$as_echo_n "(cached) " >&6
|
2214 | |
else
|
2215 | |
if test -n "$STRIP"; then
|
2216 | |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2217 | |
else
|
2218 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2219 | |
for as_dir in $PATH
|
2220 | |
do
|
2221 | |
IFS=$as_save_IFS
|
2222 | |
test -z "$as_dir" && as_dir=.
|
2223 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2224 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2225 | |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2226 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2227 | |
break 2
|
2228 | |
fi
|
2229 | |
done
|
2230 | |
done
|
2231 | |
IFS=$as_save_IFS
|
2232 | |
|
2233 | |
fi
|
2234 | |
fi
|
2235 | |
STRIP=$ac_cv_prog_STRIP
|
2236 | |
if test -n "$STRIP"; then
|
2237 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
2238 | |
$as_echo "$STRIP" >&6; }
|
2239 | |
else
|
2240 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2241 | |
$as_echo "no" >&6; }
|
2242 | |
fi
|
2243 | |
|
2244 | |
|
2245 | |
fi
|
2246 | |
if test -z "$ac_cv_prog_STRIP"; then
|
2247 | |
ac_ct_STRIP=$STRIP
|
2248 | |
# Extract the first word of "strip", so it can be a program name with args.
|
2249 | |
set dummy strip; ac_word=$2
|
2250 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2251 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2252 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
2253 | |
$as_echo_n "(cached) " >&6
|
2254 | |
else
|
2255 | |
if test -n "$ac_ct_STRIP"; then
|
2256 | |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2257 | |
else
|
2258 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2259 | |
for as_dir in $PATH
|
2260 | |
do
|
2261 | |
IFS=$as_save_IFS
|
2262 | |
test -z "$as_dir" && as_dir=.
|
2263 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2264 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2265 | |
ac_cv_prog_ac_ct_STRIP="strip"
|
2266 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2267 | |
break 2
|
2268 | |
fi
|
2269 | |
done
|
2270 | |
done
|
2271 | |
IFS=$as_save_IFS
|
2272 | |
|
2273 | |
fi
|
2274 | |
fi
|
2275 | |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2276 | |
if test -n "$ac_ct_STRIP"; then
|
2277 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
2278 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
2279 | |
else
|
2280 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
2281 | |
$as_echo "no" >&6; }
|
2282 | |
fi
|
2283 | |
|
2284 | |
if test "x$ac_ct_STRIP" = x; then
|
2285 | |
STRIP=":"
|
2286 | |
else
|
2287 | |
case $cross_compiling:$ac_tool_warned in
|
2288 | |
yes:)
|
2289 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
2290 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2291 | |
ac_tool_warned=yes ;;
|
2292 | |
esac
|
2293 | |
STRIP=$ac_ct_STRIP
|
2294 | |
fi
|
2295 | |
else
|
2296 | |
STRIP="$ac_cv_prog_STRIP"
|
2297 | |
fi
|
2298 | |
|
2299 | |
fi
|
2300 | |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2301 | 2694 |
|
2302 | 2695 |
# We need awk for the "check" target. The system "awk" is bad on
|
2303 | 2696 |
# some platforms.
|
|
2325 | 2718 |
do
|
2326 | 2719 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2327 | 2720 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2328 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2329 | 2722 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2330 | |
if test "${ac_cv_prog_CXX+set}" = set; then
|
|
2723 |
if test "${ac_cv_prog_CXX+set}" = set; then :
|
2331 | 2724 |
$as_echo_n "(cached) " >&6
|
2332 | 2725 |
else
|
2333 | 2726 |
if test -n "$CXX"; then
|
|
2338 | 2731 |
do
|
2339 | 2732 |
IFS=$as_save_IFS
|
2340 | 2733 |
test -z "$as_dir" && as_dir=.
|
2341 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2734 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2342 | 2735 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2343 | 2736 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
2344 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2737 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2345 | 2738 |
break 2
|
2346 | 2739 |
fi
|
2347 | 2740 |
done
|
2348 | |
done
|
|
2741 |
done
|
2349 | 2742 |
IFS=$as_save_IFS
|
2350 | 2743 |
|
2351 | 2744 |
fi
|
2352 | 2745 |
fi
|
2353 | 2746 |
CXX=$ac_cv_prog_CXX
|
2354 | 2747 |
if test -n "$CXX"; then
|
2355 | |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
|
2748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
2356 | 2749 |
$as_echo "$CXX" >&6; }
|
2357 | 2750 |
else
|
2358 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2359 | 2752 |
$as_echo "no" >&6; }
|
2360 | 2753 |
fi
|
2361 | 2754 |
|
|
2369 | 2762 |
do
|
2370 | 2763 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2371 | 2764 |
set dummy $ac_prog; ac_word=$2
|
2372 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2373 | 2766 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2374 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
|
2767 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
2375 | 2768 |
$as_echo_n "(cached) " >&6
|
2376 | 2769 |
else
|
2377 | 2770 |
if test -n "$ac_ct_CXX"; then
|
|
2382 | 2775 |
do
|
2383 | 2776 |
IFS=$as_save_IFS
|
2384 | 2777 |
test -z "$as_dir" && as_dir=.
|
2385 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2778 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2386 | 2779 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2387 | 2780 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
2388 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2781 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2389 | 2782 |
break 2
|
2390 | 2783 |
fi
|
2391 | 2784 |
done
|
2392 | |
done
|
|
2785 |
done
|
2393 | 2786 |
IFS=$as_save_IFS
|
2394 | 2787 |
|
2395 | 2788 |
fi
|
2396 | 2789 |
fi
|
2397 | 2790 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
2398 | 2791 |
if test -n "$ac_ct_CXX"; then
|
2399 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
|
2792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
2400 | 2793 |
$as_echo "$ac_ct_CXX" >&6; }
|
2401 | 2794 |
else
|
2402 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2403 | 2796 |
$as_echo "no" >&6; }
|
2404 | 2797 |
fi
|
2405 | 2798 |
|
|
2412 | 2805 |
else
|
2413 | 2806 |
case $cross_compiling:$ac_tool_warned in
|
2414 | 2807 |
yes:)
|
2415 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2416 | 2809 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2417 | 2810 |
ac_tool_warned=yes ;;
|
2418 | 2811 |
esac
|
|
2423 | 2816 |
fi
|
2424 | 2817 |
fi
|
2425 | 2818 |
# Provide some information about the compiler.
|
2426 | |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
|
2819 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
2427 | 2820 |
set X $ac_compile
|
2428 | 2821 |
ac_compiler=$2
|
2429 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
2822 |
for ac_option in --version -v -V -qversion; do
|
|
2823 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2430 | 2824 |
case "(($ac_try" in
|
2431 | 2825 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2432 | 2826 |
*) ac_try_echo=$ac_try;;
|
2433 | 2827 |
esac
|
2434 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2435 | |
$as_echo "$ac_try_echo") >&5
|
2436 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
2828 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2829 |
$as_echo "$ac_try_echo"; } >&5
|
|
2830 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2437 | 2831 |
ac_status=$?
|
2438 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2439 | |
(exit $ac_status); }
|
2440 | |
{ (ac_try="$ac_compiler -v >&5"
|
2441 | |
case "(($ac_try" in
|
2442 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2443 | |
*) ac_try_echo=$ac_try;;
|
2444 | |
esac
|
2445 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2446 | |
$as_echo "$ac_try_echo") >&5
|
2447 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2448 | |
ac_status=$?
|
2449 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2450 | |
(exit $ac_status); }
|
2451 | |
{ (ac_try="$ac_compiler -V >&5"
|
2452 | |
case "(($ac_try" in
|
2453 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2454 | |
*) ac_try_echo=$ac_try;;
|
2455 | |
esac
|
2456 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2457 | |
$as_echo "$ac_try_echo") >&5
|
2458 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2459 | |
ac_status=$?
|
2460 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2461 | |
(exit $ac_status); }
|
2462 | |
|
2463 | |
cat >conftest.$ac_ext <<_ACEOF
|
2464 | |
/* confdefs.h. */
|
2465 | |
_ACEOF
|
2466 | |
cat confdefs.h >>conftest.$ac_ext
|
2467 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2832 |
if test -s conftest.err; then
|
|
2833 |
sed '10a\
|
|
2834 |
... rest of stderr output deleted ...
|
|
2835 |
10q' conftest.err >conftest.er1
|
|
2836 |
cat conftest.er1 >&5
|
|
2837 |
fi
|
|
2838 |
rm -f conftest.er1 conftest.err
|
|
2839 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2840 |
test $ac_status = 0; }
|
|
2841 |
done
|
|
2842 |
|
|
2843 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2468 | 2844 |
/* end confdefs.h. */
|
2469 | 2845 |
|
2470 | 2846 |
int
|
|
2480 | 2856 |
# Try to create an executable without -o first, disregard a.out.
|
2481 | 2857 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2482 | 2858 |
# of exeext.
|
2483 | |
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
2484 | |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
|
2859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
|
2860 |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
2485 | 2861 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2486 | 2862 |
|
2487 | 2863 |
# The possible output files:
|
|
2497 | 2873 |
done
|
2498 | 2874 |
rm -f $ac_rmfiles
|
2499 | 2875 |
|
2500 | |
if { (ac_try="$ac_link_default"
|
|
2876 |
if { { ac_try="$ac_link_default"
|
2501 | 2877 |
case "(($ac_try" in
|
2502 | 2878 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2503 | 2879 |
*) ac_try_echo=$ac_try;;
|
2504 | 2880 |
esac
|
2505 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2506 | |
$as_echo "$ac_try_echo") >&5
|
|
2881 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2882 |
$as_echo "$ac_try_echo"; } >&5
|
2507 | 2883 |
(eval "$ac_link_default") 2>&5
|
2508 | 2884 |
ac_status=$?
|
2509 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2510 | |
(exit $ac_status); }; then
|
|
2885 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2886 |
test $ac_status = 0; }; then :
|
2511 | 2887 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2512 | 2888 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2513 | 2889 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2524 | 2900 |
# certainly right.
|
2525 | 2901 |
break;;
|
2526 | 2902 |
*.* )
|
2527 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2903 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2528 | 2904 |
then :; else
|
2529 | 2905 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2530 | 2906 |
fi
|
|
2543 | 2919 |
else
|
2544 | 2920 |
ac_file=''
|
2545 | 2921 |
fi
|
2546 | |
|
2547 | |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2922 |
if test -z "$ac_file"; then :
|
|
2923 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2924 |
$as_echo "no" >&6; }
|
|
2925 |
$as_echo "$as_me: failed program was:" >&5
|
|
2926 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2927 |
|
|
2928 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2929 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2930 |
{ as_fn_set_status 77
|
|
2931 |
as_fn_error "C++ compiler cannot create executables
|
|
2932 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
2933 |
else
|
|
2934 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2935 |
$as_echo "yes" >&6; }
|
|
2936 |
fi
|
|
2937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
|
2938 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
|
2939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2548 | 2940 |
$as_echo "$ac_file" >&6; }
|
2549 | |
if test -z "$ac_file"; then
|
2550 | |
$as_echo "$as_me: failed program was:" >&5
|
2551 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2552 | |
|
2553 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2554 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2555 | |
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
|
2556 | |
See \`config.log' for more details." >&5
|
2557 | |
$as_echo "$as_me: error: C++ compiler cannot create executables
|
2558 | |
See \`config.log' for more details." >&2;}
|
2559 | |
{ (exit 77); exit 77; }; }; }
|
2560 | |
fi
|
2561 | |
|
2562 | 2941 |
ac_exeext=$ac_cv_exeext
|
2563 | |
|
2564 | |
# Check that the compiler produces executables we can run. If not, either
|
2565 | |
# the compiler is broken, or we cross compile.
|
2566 | |
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
2567 | |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
2568 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2569 | |
# If not cross compiling, check that we can run a simple program.
|
2570 | |
if test "$cross_compiling" != yes; then
|
2571 | |
if { ac_try='./$ac_file'
|
2572 | |
{ (case "(($ac_try" in
|
2573 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2574 | |
*) ac_try_echo=$ac_try;;
|
2575 | |
esac
|
2576 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2577 | |
$as_echo "$ac_try_echo") >&5
|
2578 | |
(eval "$ac_try") 2>&5
|
2579 | |
ac_status=$?
|
2580 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2581 | |
(exit $ac_status); }; }; then
|
2582 | |
cross_compiling=no
|
2583 | |
else
|
2584 | |
if test "$cross_compiling" = maybe; then
|
2585 | |
cross_compiling=yes
|
2586 | |
else
|
2587 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2588 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2589 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
|
2590 | |
If you meant to cross compile, use \`--host'.
|
2591 | |
See \`config.log' for more details." >&5
|
2592 | |
$as_echo "$as_me: error: cannot run C++ compiled programs.
|
2593 | |
If you meant to cross compile, use \`--host'.
|
2594 | |
See \`config.log' for more details." >&2;}
|
2595 | |
{ (exit 1); exit 1; }; }; }
|
2596 | |
fi
|
2597 | |
fi
|
2598 | |
fi
|
2599 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
2600 | |
$as_echo "yes" >&6; }
|
2601 | 2942 |
|
2602 | 2943 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2603 | 2944 |
ac_clean_files=$ac_clean_files_save
|
2604 | |
# Check that the compiler produces executables we can run. If not, either
|
2605 | |
# the compiler is broken, or we cross compile.
|
2606 | |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2607 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
2608 | |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2609 | |
$as_echo "$cross_compiling" >&6; }
|
2610 | |
|
2611 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2945 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2612 | 2946 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2613 | |
if { (ac_try="$ac_link"
|
|
2947 |
if { { ac_try="$ac_link"
|
2614 | 2948 |
case "(($ac_try" in
|
2615 | 2949 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2616 | 2950 |
*) ac_try_echo=$ac_try;;
|
2617 | 2951 |
esac
|
2618 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2619 | |
$as_echo "$ac_try_echo") >&5
|
|
2952 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2953 |
$as_echo "$ac_try_echo"; } >&5
|
2620 | 2954 |
(eval "$ac_link") 2>&5
|
2621 | 2955 |
ac_status=$?
|
2622 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2623 | |
(exit $ac_status); }; then
|
|
2956 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2957 |
test $ac_status = 0; }; then :
|
2624 | 2958 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2625 | 2959 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2626 | 2960 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2635 | 2969 |
esac
|
2636 | 2970 |
done
|
2637 | 2971 |
else
|
2638 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2972 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2639 | 2973 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2640 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2641 | |
See \`config.log' for more details." >&5
|
2642 | |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2643 | |
See \`config.log' for more details." >&2;}
|
2644 | |
{ (exit 1); exit 1; }; }; }
|
2645 | |
fi
|
2646 | |
|
2647 | |
rm -f conftest$ac_cv_exeext
|
2648 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2974 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
2975 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2976 |
fi
|
|
2977 |
rm -f conftest conftest$ac_cv_exeext
|
|
2978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2649 | 2979 |
$as_echo "$ac_cv_exeext" >&6; }
|
2650 | 2980 |
|
2651 | 2981 |
rm -f conftest.$ac_ext
|
2652 | 2982 |
EXEEXT=$ac_cv_exeext
|
2653 | 2983 |
ac_exeext=$EXEEXT
|
2654 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2655 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2656 | |
if test "${ac_cv_objext+set}" = set; then
|
2657 | |
$as_echo_n "(cached) " >&6
|
2658 | |
else
|
2659 | |
cat >conftest.$ac_ext <<_ACEOF
|
2660 | |
/* confdefs.h. */
|
2661 | |
_ACEOF
|
2662 | |
cat confdefs.h >>conftest.$ac_ext
|
2663 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2984 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2664 | 2985 |
/* end confdefs.h. */
|
2665 | |
|
|
2986 |
#include <stdio.h>
|
2666 | 2987 |
int
|
2667 | 2988 |
main ()
|
2668 | 2989 |
{
|
|
2990 |
FILE *f = fopen ("conftest.out", "w");
|
|
2991 |
return ferror (f) || fclose (f) != 0;
|
2669 | 2992 |
|
2670 | 2993 |
;
|
2671 | 2994 |
return 0;
|
2672 | 2995 |
}
|
2673 | 2996 |
_ACEOF
|
2674 | |
rm -f conftest.o conftest.obj
|
2675 | |
if { (ac_try="$ac_compile"
|
|
2997 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
2998 |
# Check that the compiler produces executables we can run. If not, either
|
|
2999 |
# the compiler is broken, or we cross compile.
|
|
3000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3001 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3002 |
if test "$cross_compiling" != yes; then
|
|
3003 |
{ { ac_try="$ac_link"
|
2676 | 3004 |
case "(($ac_try" in
|
2677 | 3005 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2678 | 3006 |
*) ac_try_echo=$ac_try;;
|
2679 | 3007 |
esac
|
2680 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2681 | |
$as_echo "$ac_try_echo") >&5
|
|
3008 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3009 |
$as_echo "$ac_try_echo"; } >&5
|
|
3010 |
(eval "$ac_link") 2>&5
|
|
3011 |
ac_status=$?
|
|
3012 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3013 |
test $ac_status = 0; }
|
|
3014 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3015 |
{ { case "(($ac_try" in
|
|
3016 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3017 |
*) ac_try_echo=$ac_try;;
|
|
3018 |
esac
|
|
3019 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3020 |
$as_echo "$ac_try_echo"; } >&5
|
|
3021 |
(eval "$ac_try") 2>&5
|
|
3022 |
ac_status=$?
|
|
3023 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3024 |
test $ac_status = 0; }; }; then
|
|
3025 |
cross_compiling=no
|
|
3026 |
else
|
|
3027 |
if test "$cross_compiling" = maybe; then
|
|
3028 |
cross_compiling=yes
|
|
3029 |
else
|
|
3030 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3031 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3032 |
as_fn_error "cannot run C++ compiled programs.
|
|
3033 |
If you meant to cross compile, use \`--host'.
|
|
3034 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3035 |
fi
|
|
3036 |
fi
|
|
3037 |
fi
|
|
3038 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3039 |
$as_echo "$cross_compiling" >&6; }
|
|
3040 |
|
|
3041 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3042 |
ac_clean_files=$ac_clean_files_save
|
|
3043 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3044 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3045 |
if test "${ac_cv_objext+set}" = set; then :
|
|
3046 |
$as_echo_n "(cached) " >&6
|
|
3047 |
else
|
|
3048 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3049 |
/* end confdefs.h. */
|
|
3050 |
|
|
3051 |
int
|
|
3052 |
main ()
|
|
3053 |
{
|
|
3054 |
|
|
3055 |
;
|
|
3056 |
return 0;
|
|
3057 |
}
|
|
3058 |
_ACEOF
|
|
3059 |
rm -f conftest.o conftest.obj
|
|
3060 |
if { { ac_try="$ac_compile"
|
|
3061 |
case "(($ac_try" in
|
|
3062 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3063 |
*) ac_try_echo=$ac_try;;
|
|
3064 |
esac
|
|
3065 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3066 |
$as_echo "$ac_try_echo"; } >&5
|
2682 | 3067 |
(eval "$ac_compile") 2>&5
|
2683 | 3068 |
ac_status=$?
|
2684 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2685 | |
(exit $ac_status); }; then
|
|
3069 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3070 |
test $ac_status = 0; }; then :
|
2686 | 3071 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2687 | 3072 |
test -f "$ac_file" || continue;
|
2688 | 3073 |
case $ac_file in
|
|
2695 | 3080 |
$as_echo "$as_me: failed program was:" >&5
|
2696 | 3081 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2697 | 3082 |
|
2698 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3083 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2699 | 3084 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2700 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2701 | |
See \`config.log' for more details." >&5
|
2702 | |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2703 | |
See \`config.log' for more details." >&2;}
|
2704 | |
{ (exit 1); exit 1; }; }; }
|
2705 | |
fi
|
2706 | |
|
|
3085 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
3086 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3087 |
fi
|
2707 | 3088 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2708 | 3089 |
fi
|
2709 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
3090 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2710 | 3091 |
$as_echo "$ac_cv_objext" >&6; }
|
2711 | 3092 |
OBJEXT=$ac_cv_objext
|
2712 | 3093 |
ac_objext=$OBJEXT
|
2713 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
|
3094 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
2714 | 3095 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
2715 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
|
3096 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
2716 | 3097 |
$as_echo_n "(cached) " >&6
|
2717 | 3098 |
else
|
2718 | |
cat >conftest.$ac_ext <<_ACEOF
|
2719 | |
/* confdefs.h. */
|
2720 | |
_ACEOF
|
2721 | |
cat confdefs.h >>conftest.$ac_ext
|
2722 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3099 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2723 | 3100 |
/* end confdefs.h. */
|
2724 | 3101 |
|
2725 | 3102 |
int
|
|
2733 | 3110 |
return 0;
|
2734 | 3111 |
}
|
2735 | 3112 |
_ACEOF
|
2736 | |
rm -f conftest.$ac_objext
|
2737 | |
if { (ac_try="$ac_compile"
|
2738 | |
case "(($ac_try" in
|
2739 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2740 | |
*) ac_try_echo=$ac_try;;
|
2741 | |
esac
|
2742 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2743 | |
$as_echo "$ac_try_echo") >&5
|
2744 | |
(eval "$ac_compile") 2>conftest.er1
|
2745 | |
ac_status=$?
|
2746 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2747 | |
rm -f conftest.er1
|
2748 | |
cat conftest.err >&5
|
2749 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2750 | |
(exit $ac_status); } && {
|
2751 | |
test -z "$ac_cxx_werror_flag" ||
|
2752 | |
test ! -s conftest.err
|
2753 | |
} && test -s conftest.$ac_objext; then
|
|
3113 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2754 | 3114 |
ac_compiler_gnu=yes
|
2755 | 3115 |
else
|
2756 | |
$as_echo "$as_me: failed program was:" >&5
|
2757 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2758 | |
|
2759 | |
ac_compiler_gnu=no
|
2760 | |
fi
|
2761 | |
|
|
3116 |
ac_compiler_gnu=no
|
|
3117 |
fi
|
2762 | 3118 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2763 | 3119 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
2764 | 3120 |
|
2765 | 3121 |
fi
|
2766 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
3122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
2767 | 3123 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
2768 | 3124 |
if test $ac_compiler_gnu = yes; then
|
2769 | 3125 |
GXX=yes
|
|
2772 | 3128 |
fi
|
2773 | 3129 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
2774 | 3130 |
ac_save_CXXFLAGS=$CXXFLAGS
|
2775 | |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
|
3131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
2776 | 3132 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
2777 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
|
3133 |
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
2778 | 3134 |
$as_echo_n "(cached) " >&6
|
2779 | 3135 |
else
|
2780 | 3136 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
2781 | 3137 |
ac_cxx_werror_flag=yes
|
2782 | 3138 |
ac_cv_prog_cxx_g=no
|
2783 | 3139 |
CXXFLAGS="-g"
|
2784 | |
cat >conftest.$ac_ext <<_ACEOF
|
2785 | |
/* confdefs.h. */
|
2786 | |
_ACEOF
|
2787 | |
cat confdefs.h >>conftest.$ac_ext
|
2788 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3140 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2789 | 3141 |
/* end confdefs.h. */
|
2790 | 3142 |
|
2791 | 3143 |
int
|
|
2796 | 3148 |
return 0;
|
2797 | 3149 |
}
|
2798 | 3150 |
_ACEOF
|
2799 | |
rm -f conftest.$ac_objext
|
2800 | |
if { (ac_try="$ac_compile"
|
2801 | |
case "(($ac_try" in
|
2802 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2803 | |
*) ac_try_echo=$ac_try;;
|
2804 | |
esac
|
2805 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2806 | |
$as_echo "$ac_try_echo") >&5
|
2807 | |
(eval "$ac_compile") 2>conftest.er1
|
2808 | |
ac_status=$?
|
2809 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2810 | |
rm -f conftest.er1
|
2811 | |
cat conftest.err >&5
|
2812 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2813 | |
(exit $ac_status); } && {
|
2814 | |
test -z "$ac_cxx_werror_flag" ||
|
2815 | |
test ! -s conftest.err
|
2816 | |
} && test -s conftest.$ac_objext; then
|
|
3151 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2817 | 3152 |
ac_cv_prog_cxx_g=yes
|
2818 | 3153 |
else
|
2819 | |
$as_echo "$as_me: failed program was:" >&5
|
2820 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2821 | |
|
2822 | |
CXXFLAGS=""
|
2823 | |
cat >conftest.$ac_ext <<_ACEOF
|
2824 | |
/* confdefs.h. */
|
2825 | |
_ACEOF
|
2826 | |
cat confdefs.h >>conftest.$ac_ext
|
2827 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3154 |
CXXFLAGS=""
|
|
3155 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2828 | 3156 |
/* end confdefs.h. */
|
2829 | 3157 |
|
2830 | 3158 |
int
|
|
2835 | 3163 |
return 0;
|
2836 | 3164 |
}
|
2837 | 3165 |
_ACEOF
|
2838 | |
rm -f conftest.$ac_objext
|
2839 | |
if { (ac_try="$ac_compile"
|
2840 | |
case "(($ac_try" in
|
2841 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2842 | |
*) ac_try_echo=$ac_try;;
|
2843 | |
esac
|
2844 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2845 | |
$as_echo "$ac_try_echo") >&5
|
2846 | |
(eval "$ac_compile") 2>conftest.er1
|
2847 | |
ac_status=$?
|
2848 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2849 | |
rm -f conftest.er1
|
2850 | |
cat conftest.err >&5
|
2851 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2852 | |
(exit $ac_status); } && {
|
2853 | |
test -z "$ac_cxx_werror_flag" ||
|
2854 | |
test ! -s conftest.err
|
2855 | |
} && test -s conftest.$ac_objext; then
|
2856 | |
:
|
2857 | |
else
|
2858 | |
$as_echo "$as_me: failed program was:" >&5
|
2859 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2860 | |
|
2861 | |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
3166 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
3167 |
|
|
3168 |
else
|
|
3169 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2862 | 3170 |
CXXFLAGS="-g"
|
2863 | |
cat >conftest.$ac_ext <<_ACEOF
|
2864 | |
/* confdefs.h. */
|
2865 | |
_ACEOF
|
2866 | |
cat confdefs.h >>conftest.$ac_ext
|
2867 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3171 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2868 | 3172 |
/* end confdefs.h. */
|
2869 | 3173 |
|
2870 | 3174 |
int
|
|
2875 | 3179 |
return 0;
|
2876 | 3180 |
}
|
2877 | 3181 |
_ACEOF
|
2878 | |
rm -f conftest.$ac_objext
|
2879 | |
if { (ac_try="$ac_compile"
|
2880 | |
case "(($ac_try" in
|
2881 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2882 | |
*) ac_try_echo=$ac_try;;
|
2883 | |
esac
|
2884 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2885 | |
$as_echo "$ac_try_echo") >&5
|
2886 | |
(eval "$ac_compile") 2>conftest.er1
|
2887 | |
ac_status=$?
|
2888 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2889 | |
rm -f conftest.er1
|
2890 | |
cat conftest.err >&5
|
2891 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2892 | |
(exit $ac_status); } && {
|
2893 | |
test -z "$ac_cxx_werror_flag" ||
|
2894 | |
test ! -s conftest.err
|
2895 | |
} && test -s conftest.$ac_objext; then
|
|
3182 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2896 | 3183 |
ac_cv_prog_cxx_g=yes
|
2897 | |
else
|
2898 | |
$as_echo "$as_me: failed program was:" >&5
|
2899 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2900 | |
|
2901 | |
|
2902 | |
fi
|
2903 | |
|
|
3184 |
fi
|
2904 | 3185 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2905 | 3186 |
fi
|
2906 | |
|
2907 | 3187 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2908 | 3188 |
fi
|
2909 | |
|
2910 | 3189 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2911 | 3190 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
2912 | 3191 |
fi
|
2913 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
|
3192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
2914 | 3193 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
2915 | 3194 |
if test "$ac_test_CXXFLAGS" = set; then
|
2916 | 3195 |
CXXFLAGS=$ac_save_CXXFLAGS
|
|
2940 | 3219 |
am_make=${MAKE-make}
|
2941 | 3220 |
cat > confinc << 'END'
|
2942 | 3221 |
am__doit:
|
2943 | |
@echo done
|
|
3222 |
@echo this is the am__doit target
|
2944 | 3223 |
.PHONY: am__doit
|
2945 | 3224 |
END
|
2946 | 3225 |
# If we don't find an include directive, just comment out the code.
|
2947 | |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
2948 | 3227 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
2949 | 3228 |
am__include="#"
|
2950 | 3229 |
am__quote=
|
2951 | 3230 |
_am_result=none
|
2952 | 3231 |
# First try GNU make style include.
|
2953 | 3232 |
echo "include confinc" > confmf
|
2954 | |
# We grep out `Entering directory' and `Leaving directory'
|
2955 | |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
2956 | |
# In particular we don't look at `^make:' because GNU make might
|
2957 | |
# be invoked under some other name (usually "gmake"), in which
|
2958 | |
# case it prints its new name instead of `make'.
|
2959 | |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
2960 | |
am__include=include
|
2961 | |
am__quote=
|
2962 | |
_am_result=GNU
|
2963 | |
fi
|
|
3233 |
# Ignore all kinds of additional output from `make'.
|
|
3234 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3235 |
*the\ am__doit\ target*)
|
|
3236 |
am__include=include
|
|
3237 |
am__quote=
|
|
3238 |
_am_result=GNU
|
|
3239 |
;;
|
|
3240 |
esac
|
2964 | 3241 |
# Now try BSD make style include.
|
2965 | 3242 |
if test "$am__include" = "#"; then
|
2966 | 3243 |
echo '.include "confinc"' > confmf
|
2967 | |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
2968 | |
am__include=.include
|
2969 | |
am__quote="\""
|
2970 | |
_am_result=BSD
|
2971 | |
fi
|
2972 | |
fi
|
2973 | |
|
2974 | |
|
2975 | |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3244 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3245 |
*the\ am__doit\ target*)
|
|
3246 |
am__include=.include
|
|
3247 |
am__quote="\""
|
|
3248 |
_am_result=BSD
|
|
3249 |
;;
|
|
3250 |
esac
|
|
3251 |
fi
|
|
3252 |
|
|
3253 |
|
|
3254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
2976 | 3255 |
$as_echo "$_am_result" >&6; }
|
2977 | 3256 |
rm -f confinc confmf
|
2978 | 3257 |
|
2979 | 3258 |
# Check whether --enable-dependency-tracking was given.
|
2980 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
3259 |
if test "${enable_dependency_tracking+set}" = set; then :
|
2981 | 3260 |
enableval=$enable_dependency_tracking;
|
2982 | 3261 |
fi
|
2983 | 3262 |
|
|
2997 | 3276 |
|
2998 | 3277 |
depcc="$CXX" am_compiler_list=
|
2999 | 3278 |
|
3000 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3279 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3001 | 3280 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3002 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
|
3281 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
3003 | 3282 |
$as_echo_n "(cached) " >&6
|
3004 | 3283 |
else
|
3005 | 3284 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3025 | 3304 |
if test "$am_compiler_list" = ""; then
|
3026 | 3305 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
3027 | 3306 |
fi
|
|
3307 |
am__universal=false
|
|
3308 |
case " $depcc " in #(
|
|
3309 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3310 |
esac
|
|
3311 |
|
3028 | 3312 |
for depmode in $am_compiler_list; do
|
3029 | 3313 |
# Setup a source with many dependencies, because some compilers
|
3030 | 3314 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
3042 | 3326 |
done
|
3043 | 3327 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
3044 | 3328 |
|
|
3329 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3330 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3331 |
# handle `-M -o', and we need to detect this. Also, some Intel
|
|
3332 |
# versions had trouble with output in subdirs
|
|
3333 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
3334 |
am__minus_obj="-o $am__obj"
|
3045 | 3335 |
case $depmode in
|
|
3336 |
gcc)
|
|
3337 |
# This depmode causes a compiler race in universal mode.
|
|
3338 |
test "$am__universal" = false || continue
|
|
3339 |
;;
|
3046 | 3340 |
nosideeffect)
|
3047 | 3341 |
# after this tag, mechanisms are not by side-effect, so they'll
|
3048 | 3342 |
# only be used when explicitly requested
|
|
3052 | 3346 |
break
|
3053 | 3347 |
fi
|
3054 | 3348 |
;;
|
|
3349 |
msvisualcpp | msvcmsys)
|
|
3350 |
# This compiler won't grok `-c -o', but also, the minuso test has
|
|
3351 |
# not run yet. These depmodes are late enough in the game, and
|
|
3352 |
# so weak that their functioning should not be impacted.
|
|
3353 |
am__obj=conftest.${OBJEXT-o}
|
|
3354 |
am__minus_obj=
|
|
3355 |
;;
|
3055 | 3356 |
none) break ;;
|
3056 | 3357 |
esac
|
3057 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
3058 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
3059 | |
# handle `-M -o', and we need to detect this.
|
3060 | 3358 |
if depmode=$depmode \
|
3061 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3359 |
source=sub/conftest.c object=$am__obj \
|
3062 | 3360 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
3063 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3361 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
3064 | 3362 |
>/dev/null 2>conftest.err &&
|
3065 | 3363 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
3066 | 3364 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
3067 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3365 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
3068 | 3366 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
3069 | 3367 |
# icc doesn't choke on unknown options, it will just issue warnings
|
3070 | 3368 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
3088 | 3386 |
fi
|
3089 | 3387 |
|
3090 | 3388 |
fi
|
3091 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
3389 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
3092 | 3390 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
3093 | 3391 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
3094 | 3392 |
|
|
3103 | 3401 |
fi
|
3104 | 3402 |
|
3105 | 3403 |
|
3106 | |
# Find a good install program. We prefer a C program (faster),
|
3107 | |
# so one script is as good as another. But avoid the broken or
|
3108 | |
# incompatible versions:
|
3109 | |
# SysV /etc/install, /usr/sbin/install
|
3110 | |
# SunOS /usr/etc/install
|
3111 | |
# IRIX /sbin/install
|
3112 | |
# AIX /bin/install
|
3113 | |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
3114 | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
3115 | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
3116 | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3117 | |
# OS/2's system install, which has a completely different semantic
|
3118 | |
# ./install, which can be erroneously created by make from ./install.sh.
|
3119 | |
# Reject install programs that cannot install multiple files.
|
3120 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3121 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
3122 | |
if test -z "$INSTALL"; then
|
3123 | |
if test "${ac_cv_path_install+set}" = set; then
|
3124 | |
$as_echo_n "(cached) " >&6
|
3125 | |
else
|
3126 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3127 | |
for as_dir in $PATH
|
3128 | |
do
|
3129 | |
IFS=$as_save_IFS
|
3130 | |
test -z "$as_dir" && as_dir=.
|
3131 | |
# Account for people who put trailing slashes in PATH elements.
|
3132 | |
case $as_dir/ in
|
3133 | |
./ | .// | /cC/* | \
|
3134 | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3135 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
3136 | |
/usr/ucb/* ) ;;
|
3137 | |
*)
|
3138 | |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
3139 | |
# Don't use installbsd from OSF since it installs stuff as root
|
3140 | |
# by default.
|
3141 | |
for ac_prog in ginstall scoinst install; do
|
3142 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3143 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
3144 | |
if test $ac_prog = install &&
|
3145 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3146 | |
# AIX install. It has an incompatible calling convention.
|
3147 | |
:
|
3148 | |
elif test $ac_prog = install &&
|
3149 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3150 | |
# program-specific install script used by HP pwplus--don't use.
|
3151 | |
:
|
3152 | |
else
|
3153 | |
rm -rf conftest.one conftest.two conftest.dir
|
3154 | |
echo one > conftest.one
|
3155 | |
echo two > conftest.two
|
3156 | |
mkdir conftest.dir
|
3157 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
3158 | |
test -s conftest.one && test -s conftest.two &&
|
3159 | |
test -s conftest.dir/conftest.one &&
|
3160 | |
test -s conftest.dir/conftest.two
|
3161 | |
then
|
3162 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3163 | |
break 3
|
3164 | |
fi
|
3165 | |
fi
|
3166 | |
fi
|
3167 | |
done
|
3168 | |
done
|
3169 | |
;;
|
3170 | |
esac
|
3171 | |
|
3172 | |
done
|
3173 | |
IFS=$as_save_IFS
|
3174 | |
|
3175 | |
rm -rf conftest.one conftest.two conftest.dir
|
3176 | |
|
3177 | |
fi
|
3178 | |
if test "${ac_cv_path_install+set}" = set; then
|
3179 | |
INSTALL=$ac_cv_path_install
|
3180 | |
else
|
3181 | |
# As a last resort, use the slow shell script. Don't cache a
|
3182 | |
# value for INSTALL within a source directory, because that will
|
3183 | |
# break other packages using the cache if that directory is
|
3184 | |
# removed, or if the value is a relative name.
|
3185 | |
INSTALL=$ac_install_sh
|
3186 | |
fi
|
3187 | |
fi
|
3188 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3189 | |
$as_echo "$INSTALL" >&6; }
|
3190 | |
|
3191 | |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3192 | |
# It thinks the first close brace ends the variable substitution.
|
3193 | |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
3194 | |
|
3195 | |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
3196 | |
|
3197 | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3198 | 3404 |
|
3199 | 3405 |
|
3200 | 3406 |
ac_ext=c
|
|
3205 | 3411 |
if test -n "$ac_tool_prefix"; then
|
3206 | 3412 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3207 | 3413 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3208 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3209 | 3415 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3210 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3416 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3211 | 3417 |
$as_echo_n "(cached) " >&6
|
3212 | 3418 |
else
|
3213 | 3419 |
if test -n "$CC"; then
|
|
3218 | 3424 |
do
|
3219 | 3425 |
IFS=$as_save_IFS
|
3220 | 3426 |
test -z "$as_dir" && as_dir=.
|
3221 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3427 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3222 | 3428 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3223 | 3429 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3224 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3430 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3225 | 3431 |
break 2
|
3226 | 3432 |
fi
|
3227 | 3433 |
done
|
3228 | |
done
|
|
3434 |
done
|
3229 | 3435 |
IFS=$as_save_IFS
|
3230 | 3436 |
|
3231 | 3437 |
fi
|
3232 | 3438 |
fi
|
3233 | 3439 |
CC=$ac_cv_prog_CC
|
3234 | 3440 |
if test -n "$CC"; then
|
3235 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3236 | 3442 |
$as_echo "$CC" >&6; }
|
3237 | 3443 |
else
|
3238 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3444 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3239 | 3445 |
$as_echo "no" >&6; }
|
3240 | 3446 |
fi
|
3241 | 3447 |
|
|
3245 | 3451 |
ac_ct_CC=$CC
|
3246 | 3452 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3247 | 3453 |
set dummy gcc; ac_word=$2
|
3248 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3454 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3249 | 3455 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3250 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
3456 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3251 | 3457 |
$as_echo_n "(cached) " >&6
|
3252 | 3458 |
else
|
3253 | 3459 |
if test -n "$ac_ct_CC"; then
|
|
3258 | 3464 |
do
|
3259 | 3465 |
IFS=$as_save_IFS
|
3260 | 3466 |
test -z "$as_dir" && as_dir=.
|
3261 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3467 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3262 | 3468 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3263 | 3469 |
ac_cv_prog_ac_ct_CC="gcc"
|
3264 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3470 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3265 | 3471 |
break 2
|
3266 | 3472 |
fi
|
3267 | 3473 |
done
|
3268 | |
done
|
|
3474 |
done
|
3269 | 3475 |
IFS=$as_save_IFS
|
3270 | 3476 |
|
3271 | 3477 |
fi
|
3272 | 3478 |
fi
|
3273 | 3479 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3274 | 3480 |
if test -n "$ac_ct_CC"; then
|
3275 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
3481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3276 | 3482 |
$as_echo "$ac_ct_CC" >&6; }
|
3277 | 3483 |
else
|
3278 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3484 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3279 | 3485 |
$as_echo "no" >&6; }
|
3280 | 3486 |
fi
|
3281 | 3487 |
|
|
3284 | 3490 |
else
|
3285 | 3491 |
case $cross_compiling:$ac_tool_warned in
|
3286 | 3492 |
yes:)
|
3287 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3288 | 3494 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3289 | 3495 |
ac_tool_warned=yes ;;
|
3290 | 3496 |
esac
|
|
3298 | 3504 |
if test -n "$ac_tool_prefix"; then
|
3299 | 3505 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3300 | 3506 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3301 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3302 | 3508 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3303 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3509 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3304 | 3510 |
$as_echo_n "(cached) " >&6
|
3305 | 3511 |
else
|
3306 | 3512 |
if test -n "$CC"; then
|
|
3311 | 3517 |
do
|
3312 | 3518 |
IFS=$as_save_IFS
|
3313 | 3519 |
test -z "$as_dir" && as_dir=.
|
3314 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3520 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3315 | 3521 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3316 | 3522 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3317 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3523 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3318 | 3524 |
break 2
|
3319 | 3525 |
fi
|
3320 | 3526 |
done
|
3321 | |
done
|
|
3527 |
done
|
3322 | 3528 |
IFS=$as_save_IFS
|
3323 | 3529 |
|
3324 | 3530 |
fi
|
3325 | 3531 |
fi
|
3326 | 3532 |
CC=$ac_cv_prog_CC
|
3327 | 3533 |
if test -n "$CC"; then
|
3328 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3329 | 3535 |
$as_echo "$CC" >&6; }
|
3330 | 3536 |
else
|
3331 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3332 | 3538 |
$as_echo "no" >&6; }
|
3333 | 3539 |
fi
|
3334 | 3540 |
|
|
3338 | 3544 |
if test -z "$CC"; then
|
3339 | 3545 |
# Extract the first word of "cc", so it can be a program name with args.
|
3340 | 3546 |
set dummy cc; ac_word=$2
|
3341 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3342 | 3548 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3343 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3549 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3344 | 3550 |
$as_echo_n "(cached) " >&6
|
3345 | 3551 |
else
|
3346 | 3552 |
if test -n "$CC"; then
|
|
3352 | 3558 |
do
|
3353 | 3559 |
IFS=$as_save_IFS
|
3354 | 3560 |
test -z "$as_dir" && as_dir=.
|
3355 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3561 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3356 | 3562 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3357 | 3563 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3358 | 3564 |
ac_prog_rejected=yes
|
3359 | 3565 |
continue
|
3360 | 3566 |
fi
|
3361 | 3567 |
ac_cv_prog_CC="cc"
|
3362 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3568 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3363 | 3569 |
break 2
|
3364 | 3570 |
fi
|
3365 | 3571 |
done
|
3366 | |
done
|
|
3572 |
done
|
3367 | 3573 |
IFS=$as_save_IFS
|
3368 | 3574 |
|
3369 | 3575 |
if test $ac_prog_rejected = yes; then
|
|
3382 | 3588 |
fi
|
3383 | 3589 |
CC=$ac_cv_prog_CC
|
3384 | 3590 |
if test -n "$CC"; then
|
3385 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3386 | 3592 |
$as_echo "$CC" >&6; }
|
3387 | 3593 |
else
|
3388 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3389 | 3595 |
$as_echo "no" >&6; }
|
3390 | 3596 |
fi
|
3391 | 3597 |
|
|
3397 | 3603 |
do
|
3398 | 3604 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3399 | 3605 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3400 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3401 | 3607 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3402 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3608 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3403 | 3609 |
$as_echo_n "(cached) " >&6
|
3404 | 3610 |
else
|
3405 | 3611 |
if test -n "$CC"; then
|
|
3410 | 3616 |
do
|
3411 | 3617 |
IFS=$as_save_IFS
|
3412 | 3618 |
test -z "$as_dir" && as_dir=.
|
3413 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3619 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3414 | 3620 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3415 | 3621 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3416 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3622 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3417 | 3623 |
break 2
|
3418 | 3624 |
fi
|
3419 | 3625 |
done
|
3420 | |
done
|
|
3626 |
done
|
3421 | 3627 |
IFS=$as_save_IFS
|
3422 | 3628 |
|
3423 | 3629 |
fi
|
3424 | 3630 |
fi
|
3425 | 3631 |
CC=$ac_cv_prog_CC
|
3426 | 3632 |
if test -n "$CC"; then
|
3427 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3428 | 3634 |
$as_echo "$CC" >&6; }
|
3429 | 3635 |
else
|
3430 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3431 | 3637 |
$as_echo "no" >&6; }
|
3432 | 3638 |
fi
|
3433 | 3639 |
|
|
3441 | 3647 |
do
|
3442 | 3648 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3443 | 3649 |
set dummy $ac_prog; ac_word=$2
|
3444 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3445 | 3651 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3446 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
3652 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3447 | 3653 |
$as_echo_n "(cached) " >&6
|
3448 | 3654 |
else
|
3449 | 3655 |
if test -n "$ac_ct_CC"; then
|
|
3454 | 3660 |
do
|
3455 | 3661 |
IFS=$as_save_IFS
|
3456 | 3662 |
test -z "$as_dir" && as_dir=.
|
3457 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3663 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3458 | 3664 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3459 | 3665 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3460 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3666 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3461 | 3667 |
break 2
|
3462 | 3668 |
fi
|
3463 | 3669 |
done
|
3464 | |
done
|
|
3670 |
done
|
3465 | 3671 |
IFS=$as_save_IFS
|
3466 | 3672 |
|
3467 | 3673 |
fi
|
3468 | 3674 |
fi
|
3469 | 3675 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3470 | 3676 |
if test -n "$ac_ct_CC"; then
|
3471 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
3677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3472 | 3678 |
$as_echo "$ac_ct_CC" >&6; }
|
3473 | 3679 |
else
|
3474 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3475 | 3681 |
$as_echo "no" >&6; }
|
3476 | 3682 |
fi
|
3477 | 3683 |
|
|
3484 | 3690 |
else
|
3485 | 3691 |
case $cross_compiling:$ac_tool_warned in
|
3486 | 3692 |
yes:)
|
3487 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3488 | 3694 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3489 | 3695 |
ac_tool_warned=yes ;;
|
3490 | 3696 |
esac
|
|
3495 | 3701 |
fi
|
3496 | 3702 |
|
3497 | 3703 |
|
3498 | |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3704 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3499 | 3705 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3500 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
3501 | |
See \`config.log' for more details." >&5
|
3502 | |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
3503 | |
See \`config.log' for more details." >&2;}
|
3504 | |
{ (exit 1); exit 1; }; }; }
|
|
3706 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
3707 |
See \`config.log' for more details." "$LINENO" 5; }
|
3505 | 3708 |
|
3506 | 3709 |
# Provide some information about the compiler.
|
3507 | |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
3710 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3508 | 3711 |
set X $ac_compile
|
3509 | 3712 |
ac_compiler=$2
|
3510 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3713 |
for ac_option in --version -v -V -qversion; do
|
|
3714 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3511 | 3715 |
case "(($ac_try" in
|
3512 | 3716 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3513 | 3717 |
*) ac_try_echo=$ac_try;;
|
3514 | 3718 |
esac
|
3515 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3516 | |
$as_echo "$ac_try_echo") >&5
|
3517 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3719 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3720 |
$as_echo "$ac_try_echo"; } >&5
|
|
3721 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3518 | 3722 |
ac_status=$?
|
3519 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3520 | |
(exit $ac_status); }
|
3521 | |
{ (ac_try="$ac_compiler -v >&5"
|
3522 | |
case "(($ac_try" in
|
3523 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3524 | |
*) ac_try_echo=$ac_try;;
|
3525 | |
esac
|
3526 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3527 | |
$as_echo "$ac_try_echo") >&5
|
3528 | |
(eval "$ac_compiler -v >&5") 2>&5
|
3529 | |
ac_status=$?
|
3530 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3531 | |
(exit $ac_status); }
|
3532 | |
{ (ac_try="$ac_compiler -V >&5"
|
3533 | |
case "(($ac_try" in
|
3534 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3535 | |
*) ac_try_echo=$ac_try;;
|
3536 | |
esac
|
3537 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3538 | |
$as_echo "$ac_try_echo") >&5
|
3539 | |
(eval "$ac_compiler -V >&5") 2>&5
|
3540 | |
ac_status=$?
|
3541 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3542 | |
(exit $ac_status); }
|
3543 | |
|
3544 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3723 |
if test -s conftest.err; then
|
|
3724 |
sed '10a\
|
|
3725 |
... rest of stderr output deleted ...
|
|
3726 |
10q' conftest.err >conftest.er1
|
|
3727 |
cat conftest.er1 >&5
|
|
3728 |
fi
|
|
3729 |
rm -f conftest.er1 conftest.err
|
|
3730 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3731 |
test $ac_status = 0; }
|
|
3732 |
done
|
|
3733 |
|
|
3734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3545 | 3735 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3546 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
3736 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
3547 | 3737 |
$as_echo_n "(cached) " >&6
|
3548 | 3738 |
else
|
3549 | |
cat >conftest.$ac_ext <<_ACEOF
|
3550 | |
/* confdefs.h. */
|
3551 | |
_ACEOF
|
3552 | |
cat confdefs.h >>conftest.$ac_ext
|
3553 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3739 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3554 | 3740 |
/* end confdefs.h. */
|
3555 | 3741 |
|
3556 | 3742 |
int
|
|
3564 | 3750 |
return 0;
|
3565 | 3751 |
}
|
3566 | 3752 |
_ACEOF
|
3567 | |
rm -f conftest.$ac_objext
|
3568 | |
if { (ac_try="$ac_compile"
|
3569 | |
case "(($ac_try" in
|
3570 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3571 | |
*) ac_try_echo=$ac_try;;
|
3572 | |
esac
|
3573 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3574 | |
$as_echo "$ac_try_echo") >&5
|
3575 | |
(eval "$ac_compile") 2>conftest.er1
|
3576 | |
ac_status=$?
|
3577 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3578 | |
rm -f conftest.er1
|
3579 | |
cat conftest.err >&5
|
3580 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3581 | |
(exit $ac_status); } && {
|
3582 | |
test -z "$ac_c_werror_flag" ||
|
3583 | |
test ! -s conftest.err
|
3584 | |
} && test -s conftest.$ac_objext; then
|
|
3753 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3585 | 3754 |
ac_compiler_gnu=yes
|
3586 | 3755 |
else
|
3587 | |
$as_echo "$as_me: failed program was:" >&5
|
3588 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3589 | |
|
3590 | |
ac_compiler_gnu=no
|
3591 | |
fi
|
3592 | |
|
|
3756 |
ac_compiler_gnu=no
|
|
3757 |
fi
|
3593 | 3758 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3594 | 3759 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3595 | 3760 |
|
3596 | 3761 |
fi
|
3597 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
3598 | 3763 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
3599 | 3764 |
if test $ac_compiler_gnu = yes; then
|
3600 | 3765 |
GCC=yes
|
|
3603 | 3768 |
fi
|
3604 | 3769 |
ac_test_CFLAGS=${CFLAGS+set}
|
3605 | 3770 |
ac_save_CFLAGS=$CFLAGS
|
3606 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3607 | 3772 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3608 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3773 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
3609 | 3774 |
$as_echo_n "(cached) " >&6
|
3610 | 3775 |
else
|
3611 | 3776 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3612 | 3777 |
ac_c_werror_flag=yes
|
3613 | 3778 |
ac_cv_prog_cc_g=no
|
3614 | 3779 |
CFLAGS="-g"
|
3615 | |
cat >conftest.$ac_ext <<_ACEOF
|
3616 | |
/* confdefs.h. */
|
3617 | |
_ACEOF
|
3618 | |
cat confdefs.h >>conftest.$ac_ext
|
3619 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3780 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3620 | 3781 |
/* end confdefs.h. */
|
3621 | 3782 |
|
3622 | 3783 |
int
|
|
3627 | 3788 |
return 0;
|
3628 | 3789 |
}
|
3629 | 3790 |
_ACEOF
|
3630 | |
rm -f conftest.$ac_objext
|
3631 | |
if { (ac_try="$ac_compile"
|
3632 | |
case "(($ac_try" in
|
3633 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3634 | |
*) ac_try_echo=$ac_try;;
|
3635 | |
esac
|
3636 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3637 | |
$as_echo "$ac_try_echo") >&5
|
3638 | |
(eval "$ac_compile") 2>conftest.er1
|
3639 | |
ac_status=$?
|
3640 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3641 | |
rm -f conftest.er1
|
3642 | |
cat conftest.err >&5
|
3643 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3644 | |
(exit $ac_status); } && {
|
3645 | |
test -z "$ac_c_werror_flag" ||
|
3646 | |
test ! -s conftest.err
|
3647 | |
} && test -s conftest.$ac_objext; then
|
|
3791 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3648 | 3792 |
ac_cv_prog_cc_g=yes
|
3649 | 3793 |
else
|
3650 | |
$as_echo "$as_me: failed program was:" >&5
|
3651 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3652 | |
|
3653 | |
CFLAGS=""
|
3654 | |
cat >conftest.$ac_ext <<_ACEOF
|
3655 | |
/* confdefs.h. */
|
3656 | |
_ACEOF
|
3657 | |
cat confdefs.h >>conftest.$ac_ext
|
3658 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3794 |
CFLAGS=""
|
|
3795 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3659 | 3796 |
/* end confdefs.h. */
|
3660 | 3797 |
|
3661 | 3798 |
int
|
|
3666 | 3803 |
return 0;
|
3667 | 3804 |
}
|
3668 | 3805 |
_ACEOF
|
3669 | |
rm -f conftest.$ac_objext
|
3670 | |
if { (ac_try="$ac_compile"
|
3671 | |
case "(($ac_try" in
|
3672 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3673 | |
*) ac_try_echo=$ac_try;;
|
3674 | |
esac
|
3675 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3676 | |
$as_echo "$ac_try_echo") >&5
|
3677 | |
(eval "$ac_compile") 2>conftest.er1
|
3678 | |
ac_status=$?
|
3679 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3680 | |
rm -f conftest.er1
|
3681 | |
cat conftest.err >&5
|
3682 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3683 | |
(exit $ac_status); } && {
|
3684 | |
test -z "$ac_c_werror_flag" ||
|
3685 | |
test ! -s conftest.err
|
3686 | |
} && test -s conftest.$ac_objext; then
|
3687 | |
:
|
3688 | |
else
|
3689 | |
$as_echo "$as_me: failed program was:" >&5
|
3690 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3691 | |
|
3692 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3806 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3807 |
|
|
3808 |
else
|
|
3809 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3693 | 3810 |
CFLAGS="-g"
|
3694 | |
cat >conftest.$ac_ext <<_ACEOF
|
3695 | |
/* confdefs.h. */
|
3696 | |
_ACEOF
|
3697 | |
cat confdefs.h >>conftest.$ac_ext
|
3698 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3811 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3699 | 3812 |
/* end confdefs.h. */
|
3700 | 3813 |
|
3701 | 3814 |
int
|
|
3706 | 3819 |
return 0;
|
3707 | 3820 |
}
|
3708 | 3821 |
_ACEOF
|
3709 | |
rm -f conftest.$ac_objext
|
3710 | |
if { (ac_try="$ac_compile"
|
3711 | |
case "(($ac_try" in
|
3712 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3713 | |
*) ac_try_echo=$ac_try;;
|
3714 | |
esac
|
3715 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3716 | |
$as_echo "$ac_try_echo") >&5
|
3717 | |
(eval "$ac_compile") 2>conftest.er1
|
3718 | |
ac_status=$?
|
3719 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3720 | |
rm -f conftest.er1
|
3721 | |
cat conftest.err >&5
|
3722 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3723 | |
(exit $ac_status); } && {
|
3724 | |
test -z "$ac_c_werror_flag" ||
|
3725 | |
test ! -s conftest.err
|
3726 | |
} && test -s conftest.$ac_objext; then
|
|
3822 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3727 | 3823 |
ac_cv_prog_cc_g=yes
|
3728 | |
else
|
3729 | |
$as_echo "$as_me: failed program was:" >&5
|
3730 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3731 | |
|
3732 | |
|
3733 | |
fi
|
3734 | |
|
|
3824 |
fi
|
3735 | 3825 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3736 | 3826 |
fi
|
3737 | |
|
3738 | 3827 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3739 | 3828 |
fi
|
3740 | |
|
3741 | 3829 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3742 | 3830 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3743 | 3831 |
fi
|
3744 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3832 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3745 | 3833 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3746 | 3834 |
if test "$ac_test_CFLAGS" = set; then
|
3747 | 3835 |
CFLAGS=$ac_save_CFLAGS
|
|
3758 | 3846 |
CFLAGS=
|
3759 | 3847 |
fi
|
3760 | 3848 |
fi
|
3761 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3762 | 3850 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3763 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3851 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3764 | 3852 |
$as_echo_n "(cached) " >&6
|
3765 | 3853 |
else
|
3766 | 3854 |
ac_cv_prog_cc_c89=no
|
3767 | 3855 |
ac_save_CC=$CC
|
3768 | |
cat >conftest.$ac_ext <<_ACEOF
|
3769 | |
/* confdefs.h. */
|
3770 | |
_ACEOF
|
3771 | |
cat confdefs.h >>conftest.$ac_ext
|
3772 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3856 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3773 | 3857 |
/* end confdefs.h. */
|
3774 | 3858 |
#include <stdarg.h>
|
3775 | 3859 |
#include <stdio.h>
|
|
3826 | 3910 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3827 | 3911 |
do
|
3828 | 3912 |
CC="$ac_save_CC $ac_arg"
|
3829 | |
rm -f conftest.$ac_objext
|
3830 | |
if { (ac_try="$ac_compile"
|
3831 | |
case "(($ac_try" in
|
3832 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3833 | |
*) ac_try_echo=$ac_try;;
|
3834 | |
esac
|
3835 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3836 | |
$as_echo "$ac_try_echo") >&5
|
3837 | |
(eval "$ac_compile") 2>conftest.er1
|
3838 | |
ac_status=$?
|
3839 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3840 | |
rm -f conftest.er1
|
3841 | |
cat conftest.err >&5
|
3842 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3843 | |
(exit $ac_status); } && {
|
3844 | |
test -z "$ac_c_werror_flag" ||
|
3845 | |
test ! -s conftest.err
|
3846 | |
} && test -s conftest.$ac_objext; then
|
|
3913 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3847 | 3914 |
ac_cv_prog_cc_c89=$ac_arg
|
3848 | |
else
|
3849 | |
$as_echo "$as_me: failed program was:" >&5
|
3850 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3851 | |
|
3852 | |
|
3853 | |
fi
|
3854 | |
|
|
3915 |
fi
|
3855 | 3916 |
rm -f core conftest.err conftest.$ac_objext
|
3856 | 3917 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3857 | 3918 |
done
|
|
3862 | 3923 |
# AC_CACHE_VAL
|
3863 | 3924 |
case "x$ac_cv_prog_cc_c89" in
|
3864 | 3925 |
x)
|
3865 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3866 | 3927 |
$as_echo "none needed" >&6; } ;;
|
3867 | 3928 |
xno)
|
3868 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3869 | 3930 |
$as_echo "unsupported" >&6; } ;;
|
3870 | 3931 |
*)
|
3871 | 3932 |
CC="$CC $ac_cv_prog_cc_c89"
|
3872 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3873 | 3934 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3874 | 3935 |
esac
|
3875 | |
|
|
3936 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3937 |
|
|
3938 |
fi
|
3876 | 3939 |
|
3877 | 3940 |
ac_ext=c
|
3878 | 3941 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3882 | 3945 |
|
3883 | 3946 |
depcc="$CC" am_compiler_list=
|
3884 | 3947 |
|
3885 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3886 | 3949 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3887 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3950 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
3888 | 3951 |
$as_echo_n "(cached) " >&6
|
3889 | 3952 |
else
|
3890 | 3953 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3910 | 3973 |
if test "$am_compiler_list" = ""; then
|
3911 | 3974 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
3912 | 3975 |
fi
|
|
3976 |
am__universal=false
|
|
3977 |
case " $depcc " in #(
|
|
3978 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3979 |
esac
|
|
3980 |
|
3913 | 3981 |
for depmode in $am_compiler_list; do
|
3914 | 3982 |
# Setup a source with many dependencies, because some compilers
|
3915 | 3983 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
3927 | 3995 |
done
|
3928 | 3996 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
3929 | 3997 |
|
|
3998 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3999 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
4000 |
# handle `-M -o', and we need to detect this. Also, some Intel
|
|
4001 |
# versions had trouble with output in subdirs
|
|
4002 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
4003 |
am__minus_obj="-o $am__obj"
|
3930 | 4004 |
case $depmode in
|
|
4005 |
gcc)
|
|
4006 |
# This depmode causes a compiler race in universal mode.
|
|
4007 |
test "$am__universal" = false || continue
|
|
4008 |
;;
|
3931 | 4009 |
nosideeffect)
|
3932 | 4010 |
# after this tag, mechanisms are not by side-effect, so they'll
|
3933 | 4011 |
# only be used when explicitly requested
|
|
3937 | 4015 |
break
|
3938 | 4016 |
fi
|
3939 | 4017 |
;;
|
|
4018 |
msvisualcpp | msvcmsys)
|
|
4019 |
# This compiler won't grok `-c -o', but also, the minuso test has
|
|
4020 |
# not run yet. These depmodes are late enough in the game, and
|
|
4021 |
# so weak that their functioning should not be impacted.
|
|
4022 |
am__obj=conftest.${OBJEXT-o}
|
|
4023 |
am__minus_obj=
|
|
4024 |
;;
|
3940 | 4025 |
none) break ;;
|
3941 | 4026 |
esac
|
3942 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
3943 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
3944 | |
# handle `-M -o', and we need to detect this.
|
3945 | 4027 |
if depmode=$depmode \
|
3946 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
4028 |
source=sub/conftest.c object=$am__obj \
|
3947 | 4029 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
3948 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
4030 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
3949 | 4031 |
>/dev/null 2>conftest.err &&
|
3950 | 4032 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
3951 | 4033 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
3952 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
4034 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
3953 | 4035 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
3954 | 4036 |
# icc doesn't choke on unknown options, it will just issue warnings
|
3955 | 4037 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
3973 | 4055 |
fi
|
3974 | 4056 |
|
3975 | 4057 |
fi
|
3976 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
4058 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3977 | 4059 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3978 | 4060 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3979 | 4061 |
|
|
3994 | 4076 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3995 | 4077 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3996 | 4078 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3997 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
4079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3998 | 4080 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3999 | 4081 |
# On Suns, sometimes $CPP names a directory.
|
4000 | 4082 |
if test -n "$CPP" && test -d "$CPP"; then
|
4001 | 4083 |
CPP=
|
4002 | 4084 |
fi
|
4003 | 4085 |
if test -z "$CPP"; then
|
4004 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
4086 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
4005 | 4087 |
$as_echo_n "(cached) " >&6
|
4006 | 4088 |
else
|
4007 | 4089 |
# Double quotes because CPP needs to be expanded
|
|
4016 | 4098 |
# <limits.h> exists even on freestanding compilers.
|
4017 | 4099 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4018 | 4100 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4019 | |
cat >conftest.$ac_ext <<_ACEOF
|
4020 | |
/* confdefs.h. */
|
4021 | |
_ACEOF
|
4022 | |
cat confdefs.h >>conftest.$ac_ext
|
4023 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4101 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4024 | 4102 |
/* end confdefs.h. */
|
4025 | 4103 |
#ifdef __STDC__
|
4026 | 4104 |
# include <limits.h>
|
|
4029 | 4107 |
#endif
|
4030 | 4108 |
Syntax error
|
4031 | 4109 |
_ACEOF
|
4032 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4033 | |
case "(($ac_try" in
|
4034 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4035 | |
*) ac_try_echo=$ac_try;;
|
4036 | |
esac
|
4037 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4038 | |
$as_echo "$ac_try_echo") >&5
|
4039 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4040 | |
ac_status=$?
|
4041 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4042 | |
rm -f conftest.er1
|
4043 | |
cat conftest.err >&5
|
4044 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4045 | |
(exit $ac_status); } >/dev/null && {
|
4046 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4047 | |
test ! -s conftest.err
|
4048 | |
}; then
|
4049 | |
:
|
4050 | |
else
|
4051 | |
$as_echo "$as_me: failed program was:" >&5
|
4052 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4053 | |
|
|
4110 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4111 |
|
|
4112 |
else
|
4054 | 4113 |
# Broken: fails on valid input.
|
4055 | 4114 |
continue
|
4056 | 4115 |
fi
|
4057 | |
|
4058 | 4116 |
rm -f conftest.err conftest.$ac_ext
|
4059 | 4117 |
|
4060 | 4118 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4061 | 4119 |
# can be detected and how.
|
4062 | |
cat >conftest.$ac_ext <<_ACEOF
|
4063 | |
/* confdefs.h. */
|
4064 | |
_ACEOF
|
4065 | |
cat confdefs.h >>conftest.$ac_ext
|
4066 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4067 | 4121 |
/* end confdefs.h. */
|
4068 | 4122 |
#include <ac_nonexistent.h>
|
4069 | 4123 |
_ACEOF
|
4070 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4071 | |
case "(($ac_try" in
|
4072 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4073 | |
*) ac_try_echo=$ac_try;;
|
4074 | |
esac
|
4075 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4076 | |
$as_echo "$ac_try_echo") >&5
|
4077 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4078 | |
ac_status=$?
|
4079 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4080 | |
rm -f conftest.er1
|
4081 | |
cat conftest.err >&5
|
4082 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4083 | |
(exit $ac_status); } >/dev/null && {
|
4084 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4085 | |
test ! -s conftest.err
|
4086 | |
}; then
|
|
4124 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4087 | 4125 |
# Broken: success on invalid input.
|
4088 | 4126 |
continue
|
4089 | 4127 |
else
|
4090 | |
$as_echo "$as_me: failed program was:" >&5
|
4091 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4092 | |
|
4093 | 4128 |
# Passes both tests.
|
4094 | 4129 |
ac_preproc_ok=:
|
4095 | 4130 |
break
|
4096 | 4131 |
fi
|
4097 | |
|
4098 | 4132 |
rm -f conftest.err conftest.$ac_ext
|
4099 | 4133 |
|
4100 | 4134 |
done
|
4101 | 4135 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4102 | 4136 |
rm -f conftest.err conftest.$ac_ext
|
4103 | |
if $ac_preproc_ok; then
|
|
4137 |
if $ac_preproc_ok; then :
|
4104 | 4138 |
break
|
4105 | 4139 |
fi
|
4106 | 4140 |
|
|
4112 | 4146 |
else
|
4113 | 4147 |
ac_cv_prog_CPP=$CPP
|
4114 | 4148 |
fi
|
4115 | |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
4149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4116 | 4150 |
$as_echo "$CPP" >&6; }
|
4117 | 4151 |
ac_preproc_ok=false
|
4118 | 4152 |
for ac_c_preproc_warn_flag in '' yes
|
|
4123 | 4157 |
# <limits.h> exists even on freestanding compilers.
|
4124 | 4158 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4125 | 4159 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4126 | |
cat >conftest.$ac_ext <<_ACEOF
|
4127 | |
/* confdefs.h. */
|
4128 | |
_ACEOF
|
4129 | |
cat confdefs.h >>conftest.$ac_ext
|
4130 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4160 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4131 | 4161 |
/* end confdefs.h. */
|
4132 | 4162 |
#ifdef __STDC__
|
4133 | 4163 |
# include <limits.h>
|
|
4136 | 4166 |
#endif
|
4137 | 4167 |
Syntax error
|
4138 | 4168 |
_ACEOF
|
4139 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4140 | |
case "(($ac_try" in
|
4141 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4142 | |
*) ac_try_echo=$ac_try;;
|
4143 | |
esac
|
4144 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4145 | |
$as_echo "$ac_try_echo") >&5
|
4146 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4147 | |
ac_status=$?
|
4148 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4149 | |
rm -f conftest.er1
|
4150 | |
cat conftest.err >&5
|
4151 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4152 | |
(exit $ac_status); } >/dev/null && {
|
4153 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4154 | |
test ! -s conftest.err
|
4155 | |
}; then
|
4156 | |
:
|
4157 | |
else
|
4158 | |
$as_echo "$as_me: failed program was:" >&5
|
4159 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4160 | |
|
|
4169 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4170 |
|
|
4171 |
else
|
4161 | 4172 |
# Broken: fails on valid input.
|
4162 | 4173 |
continue
|
4163 | 4174 |
fi
|
4164 | |
|
4165 | 4175 |
rm -f conftest.err conftest.$ac_ext
|
4166 | 4176 |
|
4167 | 4177 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4168 | 4178 |
# can be detected and how.
|
4169 | |
cat >conftest.$ac_ext <<_ACEOF
|
4170 | |
/* confdefs.h. */
|
4171 | |
_ACEOF
|
4172 | |
cat confdefs.h >>conftest.$ac_ext
|
4173 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4179 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4174 | 4180 |
/* end confdefs.h. */
|
4175 | 4181 |
#include <ac_nonexistent.h>
|
4176 | 4182 |
_ACEOF
|
4177 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4178 | |
case "(($ac_try" in
|
4179 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4180 | |
*) ac_try_echo=$ac_try;;
|
4181 | |
esac
|
4182 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4183 | |
$as_echo "$ac_try_echo") >&5
|
4184 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4185 | |
ac_status=$?
|
4186 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4187 | |
rm -f conftest.er1
|
4188 | |
cat conftest.err >&5
|
4189 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4190 | |
(exit $ac_status); } >/dev/null && {
|
4191 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4192 | |
test ! -s conftest.err
|
4193 | |
}; then
|
|
4183 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4194 | 4184 |
# Broken: success on invalid input.
|
4195 | 4185 |
continue
|
4196 | 4186 |
else
|
4197 | |
$as_echo "$as_me: failed program was:" >&5
|
4198 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4199 | |
|
4200 | 4187 |
# Passes both tests.
|
4201 | 4188 |
ac_preproc_ok=:
|
4202 | 4189 |
break
|
4203 | 4190 |
fi
|
4204 | |
|
4205 | 4191 |
rm -f conftest.err conftest.$ac_ext
|
4206 | 4192 |
|
4207 | 4193 |
done
|
4208 | 4194 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4209 | 4195 |
rm -f conftest.err conftest.$ac_ext
|
4210 | |
if $ac_preproc_ok; then
|
4211 | |
:
|
4212 | |
else
|
4213 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
4196 |
if $ac_preproc_ok; then :
|
|
4197 |
|
|
4198 |
else
|
|
4199 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4214 | 4200 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4215 | |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4216 | |
See \`config.log' for more details." >&5
|
4217 | |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4218 | |
See \`config.log' for more details." >&2;}
|
4219 | |
{ (exit 1); exit 1; }; }; }
|
|
4201 |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
|
4202 |
See \`config.log' for more details." "$LINENO" 5; }
|
4220 | 4203 |
fi
|
4221 | 4204 |
|
4222 | 4205 |
ac_ext=c
|
|
4226 | 4209 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4227 | 4210 |
|
4228 | 4211 |
|
4229 | |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
4212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4230 | 4213 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4231 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
4214 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
4232 | 4215 |
$as_echo_n "(cached) " >&6
|
4233 | 4216 |
else
|
4234 | 4217 |
if test -z "$GREP"; then
|
|
4239 | 4222 |
do
|
4240 | 4223 |
IFS=$as_save_IFS
|
4241 | 4224 |
test -z "$as_dir" && as_dir=.
|
4242 | |
for ac_prog in grep ggrep; do
|
|
4225 |
for ac_prog in grep ggrep; do
|
4243 | 4226 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4244 | 4227 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4245 | 4228 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
4259 | 4242 |
$as_echo 'GREP' >> "conftest.nl"
|
4260 | 4243 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4261 | 4244 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4262 | |
ac_count=`expr $ac_count + 1`
|
|
4245 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4263 | 4246 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4264 | 4247 |
# Best one so far, save it but keep looking for a better one
|
4265 | 4248 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
4274 | 4257 |
$ac_path_GREP_found && break 3
|
4275 | 4258 |
done
|
4276 | 4259 |
done
|
4277 | |
done
|
|
4260 |
done
|
4278 | 4261 |
IFS=$as_save_IFS
|
4279 | 4262 |
if test -z "$ac_cv_path_GREP"; then
|
4280 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4281 | |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4282 | |
{ (exit 1); exit 1; }; }
|
|
4263 |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4283 | 4264 |
fi
|
4284 | 4265 |
else
|
4285 | 4266 |
ac_cv_path_GREP=$GREP
|
4286 | 4267 |
fi
|
4287 | 4268 |
|
4288 | 4269 |
fi
|
4289 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
4270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4290 | 4271 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
4291 | 4272 |
GREP="$ac_cv_path_GREP"
|
4292 | 4273 |
|
4293 | 4274 |
|
4294 | |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
|
4275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4295 | 4276 |
$as_echo_n "checking for egrep... " >&6; }
|
4296 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
4277 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
4297 | 4278 |
$as_echo_n "(cached) " >&6
|
4298 | 4279 |
else
|
4299 | 4280 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4307 | 4288 |
do
|
4308 | 4289 |
IFS=$as_save_IFS
|
4309 | 4290 |
test -z "$as_dir" && as_dir=.
|
4310 | |
for ac_prog in egrep; do
|
|
4291 |
for ac_prog in egrep; do
|
4311 | 4292 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4312 | 4293 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4313 | 4294 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
4327 | 4308 |
$as_echo 'EGREP' >> "conftest.nl"
|
4328 | 4309 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4329 | 4310 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4330 | |
ac_count=`expr $ac_count + 1`
|
|
4311 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4331 | 4312 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4332 | 4313 |
# Best one so far, save it but keep looking for a better one
|
4333 | 4314 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4342 | 4323 |
$ac_path_EGREP_found && break 3
|
4343 | 4324 |
done
|
4344 | 4325 |
done
|
4345 | |
done
|
|
4326 |
done
|
4346 | 4327 |
IFS=$as_save_IFS
|
4347 | 4328 |
if test -z "$ac_cv_path_EGREP"; then
|
4348 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4349 | |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4350 | |
{ (exit 1); exit 1; }; }
|
|
4329 |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4351 | 4330 |
fi
|
4352 | 4331 |
else
|
4353 | 4332 |
ac_cv_path_EGREP=$EGREP
|
|
4355 | 4334 |
|
4356 | 4335 |
fi
|
4357 | 4336 |
fi
|
4358 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
4337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
4359 | 4338 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
4360 | 4339 |
EGREP="$ac_cv_path_EGREP"
|
4361 | 4340 |
|
4362 | 4341 |
|
4363 | |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
4342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
4364 | 4343 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
4365 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
4344 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
4366 | 4345 |
$as_echo_n "(cached) " >&6
|
4367 | 4346 |
else
|
4368 | |
cat >conftest.$ac_ext <<_ACEOF
|
4369 | |
/* confdefs.h. */
|
4370 | |
_ACEOF
|
4371 | |
cat confdefs.h >>conftest.$ac_ext
|
4372 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4347 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4373 | 4348 |
/* end confdefs.h. */
|
4374 | 4349 |
#include <stdlib.h>
|
4375 | 4350 |
#include <stdarg.h>
|
|
4384 | 4359 |
return 0;
|
4385 | 4360 |
}
|
4386 | 4361 |
_ACEOF
|
4387 | |
rm -f conftest.$ac_objext
|
4388 | |
if { (ac_try="$ac_compile"
|
4389 | |
case "(($ac_try" in
|
4390 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4391 | |
*) ac_try_echo=$ac_try;;
|
4392 | |
esac
|
4393 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4394 | |
$as_echo "$ac_try_echo") >&5
|
4395 | |
(eval "$ac_compile") 2>conftest.er1
|
4396 | |
ac_status=$?
|
4397 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4398 | |
rm -f conftest.er1
|
4399 | |
cat conftest.err >&5
|
4400 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4401 | |
(exit $ac_status); } && {
|
4402 | |
test -z "$ac_c_werror_flag" ||
|
4403 | |
test ! -s conftest.err
|
4404 | |
} && test -s conftest.$ac_objext; then
|
|
4362 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4405 | 4363 |
ac_cv_header_stdc=yes
|
4406 | 4364 |
else
|
4407 | |
$as_echo "$as_me: failed program was:" >&5
|
4408 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4409 | |
|
4410 | |
ac_cv_header_stdc=no
|
4411 | |
fi
|
4412 | |
|
|
4365 |
ac_cv_header_stdc=no
|
|
4366 |
fi
|
4413 | 4367 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4414 | 4368 |
|
4415 | 4369 |
if test $ac_cv_header_stdc = yes; then
|
4416 | 4370 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
4417 | |
cat >conftest.$ac_ext <<_ACEOF
|
4418 | |
/* confdefs.h. */
|
4419 | |
_ACEOF
|
4420 | |
cat confdefs.h >>conftest.$ac_ext
|
4421 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4371 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4422 | 4372 |
/* end confdefs.h. */
|
4423 | 4373 |
#include <string.h>
|
4424 | 4374 |
|
4425 | 4375 |
_ACEOF
|
4426 | 4376 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4427 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
4428 | |
:
|
|
4377 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
4378 |
|
4429 | 4379 |
else
|
4430 | 4380 |
ac_cv_header_stdc=no
|
4431 | 4381 |
fi
|
|
4435 | 4385 |
|
4436 | 4386 |
if test $ac_cv_header_stdc = yes; then
|
4437 | 4387 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4438 | |
cat >conftest.$ac_ext <<_ACEOF
|
4439 | |
/* confdefs.h. */
|
4440 | |
_ACEOF
|
4441 | |
cat confdefs.h >>conftest.$ac_ext
|
4442 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4388 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4443 | 4389 |
/* end confdefs.h. */
|
4444 | 4390 |
#include <stdlib.h>
|
4445 | 4391 |
|
4446 | 4392 |
_ACEOF
|
4447 | 4393 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4448 | |
$EGREP "free" >/dev/null 2>&1; then
|
4449 | |
:
|
|
4394 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
4395 |
|
4450 | 4396 |
else
|
4451 | 4397 |
ac_cv_header_stdc=no
|
4452 | 4398 |
fi
|
|
4456 | 4402 |
|
4457 | 4403 |
if test $ac_cv_header_stdc = yes; then
|
4458 | 4404 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
4459 | |
if test "$cross_compiling" = yes; then
|
|
4405 |
if test "$cross_compiling" = yes; then :
|
4460 | 4406 |
:
|
4461 | 4407 |
else
|
4462 | |
cat >conftest.$ac_ext <<_ACEOF
|
4463 | |
/* confdefs.h. */
|
4464 | |
_ACEOF
|
4465 | |
cat confdefs.h >>conftest.$ac_ext
|
4466 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4408 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4467 | 4409 |
/* end confdefs.h. */
|
4468 | 4410 |
#include <ctype.h>
|
4469 | 4411 |
#include <stdlib.h>
|
|
4490 | 4432 |
return 0;
|
4491 | 4433 |
}
|
4492 | 4434 |
_ACEOF
|
4493 | |
rm -f conftest$ac_exeext
|
4494 | |
if { (ac_try="$ac_link"
|
4495 | |
case "(($ac_try" in
|
4496 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4497 | |
*) ac_try_echo=$ac_try;;
|
4498 | |
esac
|
4499 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4500 | |
$as_echo "$ac_try_echo") >&5
|
4501 | |
(eval "$ac_link") 2>&5
|
4502 | |
ac_status=$?
|
4503 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4504 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4505 | |
{ (case "(($ac_try" in
|
4506 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4507 | |
*) ac_try_echo=$ac_try;;
|
4508 | |
esac
|
4509 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4510 | |
$as_echo "$ac_try_echo") >&5
|
4511 | |
(eval "$ac_try") 2>&5
|
4512 | |
ac_status=$?
|
4513 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4514 | |
(exit $ac_status); }; }; then
|
4515 | |
:
|
4516 | |
else
|
4517 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
4518 | |
$as_echo "$as_me: failed program was:" >&5
|
4519 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4520 | |
|
4521 | |
( exit $ac_status )
|
4522 | |
ac_cv_header_stdc=no
|
4523 | |
fi
|
4524 | |
rm -rf conftest.dSYM
|
4525 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4526 | |
fi
|
4527 | |
|
4528 | |
|
4529 | |
fi
|
4530 | |
fi
|
4531 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4435 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4436 |
|
|
4437 |
else
|
|
4438 |
ac_cv_header_stdc=no
|
|
4439 |
fi
|
|
4440 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4441 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4442 |
fi
|
|
4443 |
|
|
4444 |
fi
|
|
4445 |
fi
|
|
4446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4532 | 4447 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4533 | 4448 |
if test $ac_cv_header_stdc = yes; then
|
4534 | 4449 |
|
4535 | |
cat >>confdefs.h <<\_ACEOF
|
4536 | |
#define STDC_HEADERS 1
|
4537 | |
_ACEOF
|
|
4450 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
4538 | 4451 |
|
4539 | 4452 |
fi
|
4540 | 4453 |
|
4541 | 4454 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
4542 | |
|
4543 | |
|
4544 | |
|
4545 | |
|
4546 | |
|
4547 | |
|
4548 | |
|
4549 | |
|
4550 | |
|
4551 | 4455 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4552 | 4456 |
inttypes.h stdint.h unistd.h
|
4553 | |
do
|
4554 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4555 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4556 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4557 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4558 | |
$as_echo_n "(cached) " >&6
|
4559 | |
else
|
4560 | |
cat >conftest.$ac_ext <<_ACEOF
|
4561 | |
/* confdefs.h. */
|
4562 | |
_ACEOF
|
4563 | |
cat confdefs.h >>conftest.$ac_ext
|
4564 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4565 | |
/* end confdefs.h. */
|
4566 | |
$ac_includes_default
|
4567 | |
|
4568 | |
#include <$ac_header>
|
4569 | |
_ACEOF
|
4570 | |
rm -f conftest.$ac_objext
|
4571 | |
if { (ac_try="$ac_compile"
|
4572 | |
case "(($ac_try" in
|
4573 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4574 | |
*) ac_try_echo=$ac_try;;
|
4575 | |
esac
|
4576 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4577 | |
$as_echo "$ac_try_echo") >&5
|
4578 | |
(eval "$ac_compile") 2>conftest.er1
|
4579 | |
ac_status=$?
|
4580 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4581 | |
rm -f conftest.er1
|
4582 | |
cat conftest.err >&5
|
4583 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4584 | |
(exit $ac_status); } && {
|
4585 | |
test -z "$ac_c_werror_flag" ||
|
4586 | |
test ! -s conftest.err
|
4587 | |
} && test -s conftest.$ac_objext; then
|
4588 | |
eval "$as_ac_Header=yes"
|
4589 | |
else
|
4590 | |
$as_echo "$as_me: failed program was:" >&5
|
4591 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4592 | |
|
4593 | |
eval "$as_ac_Header=no"
|
4594 | |
fi
|
4595 | |
|
4596 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4597 | |
fi
|
4598 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4599 | |
$as_echo "$as_val"'`
|
4600 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4601 | |
$as_echo "$ac_res" >&6; }
|
4602 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
4603 | |
$as_echo "$as_val"'`
|
4604 | |
if test "x$as_val" = x""yes; then
|
|
4457 |
do :
|
|
4458 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4459 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4460 |
"
|
|
4461 |
eval as_val=\$$as_ac_Header
|
|
4462 |
if test "x$as_val" = x""yes; then :
|
4605 | 4463 |
cat >>confdefs.h <<_ACEOF
|
4606 | 4464 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4607 | 4465 |
_ACEOF
|
|
4611 | 4469 |
done
|
4612 | 4470 |
|
4613 | 4471 |
|
4614 | |
|
4615 | |
|
4616 | |
|
4617 | |
|
4618 | |
|
4619 | |
|
4620 | |
|
4621 | |
|
4622 | |
|
4623 | |
|
4624 | 4472 |
for ac_header in curses.h signal.h sys/time.h sys/types.h sys/stat.h \
|
4625 | 4473 |
unistd.h fcntl.h time.h stdlib.h math.h
|
4626 | |
do
|
4627 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4628 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4629 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4630 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4631 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4632 | |
$as_echo_n "(cached) " >&6
|
4633 | |
fi
|
4634 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4635 | |
$as_echo "$as_val"'`
|
4636 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4637 | |
$as_echo "$ac_res" >&6; }
|
4638 | |
else
|
4639 | |
# Is the header compilable?
|
4640 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4641 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
4642 | |
cat >conftest.$ac_ext <<_ACEOF
|
4643 | |
/* confdefs.h. */
|
4644 | |
_ACEOF
|
4645 | |
cat confdefs.h >>conftest.$ac_ext
|
4646 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4647 | |
/* end confdefs.h. */
|
4648 | |
$ac_includes_default
|
4649 | |
#include <$ac_header>
|
4650 | |
_ACEOF
|
4651 | |
rm -f conftest.$ac_objext
|
4652 | |
if { (ac_try="$ac_compile"
|
4653 | |
case "(($ac_try" in
|
4654 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4655 | |
*) ac_try_echo=$ac_try;;
|
4656 | |
esac
|
4657 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4658 | |
$as_echo "$ac_try_echo") >&5
|
4659 | |
(eval "$ac_compile") 2>conftest.er1
|
4660 | |
ac_status=$?
|
4661 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4662 | |
rm -f conftest.er1
|
4663 | |
cat conftest.err >&5
|
4664 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4665 | |
(exit $ac_status); } && {
|
4666 | |
test -z "$ac_c_werror_flag" ||
|
4667 | |
test ! -s conftest.err
|
4668 | |
} && test -s conftest.$ac_objext; then
|
4669 | |
ac_header_compiler=yes
|
4670 | |
else
|
4671 | |
$as_echo "$as_me: failed program was:" >&5
|
4672 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4673 | |
|
4674 | |
ac_header_compiler=no
|
4675 | |
fi
|
4676 | |
|
4677 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4678 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4679 | |
$as_echo "$ac_header_compiler" >&6; }
|
4680 | |
|
4681 | |
# Is the header present?
|
4682 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4683 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
4684 | |
cat >conftest.$ac_ext <<_ACEOF
|
4685 | |
/* confdefs.h. */
|
4686 | |
_ACEOF
|
4687 | |
cat confdefs.h >>conftest.$ac_ext
|
4688 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4689 | |
/* end confdefs.h. */
|
4690 | |
#include <$ac_header>
|
4691 | |
_ACEOF
|
4692 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4693 | |
case "(($ac_try" in
|
4694 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4695 | |
*) ac_try_echo=$ac_try;;
|
4696 | |
esac
|
4697 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4698 | |
$as_echo "$ac_try_echo") >&5
|
4699 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4700 | |
ac_status=$?
|
4701 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4702 | |
rm -f conftest.er1
|
4703 | |
cat conftest.err >&5
|
4704 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4705 | |
(exit $ac_status); } >/dev/null && {
|
4706 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4707 | |
test ! -s conftest.err
|
4708 | |
}; then
|
4709 | |
ac_header_preproc=yes
|
4710 | |
else
|
4711 | |
$as_echo "$as_me: failed program was:" >&5
|
4712 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4713 | |
|
4714 | |
ac_header_preproc=no
|
4715 | |
fi
|
4716 | |
|
4717 | |
rm -f conftest.err conftest.$ac_ext
|
4718 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4719 | |
$as_echo "$ac_header_preproc" >&6; }
|
4720 | |
|
4721 | |
# So? What about this header?
|
4722 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4723 | |
yes:no: )
|
4724 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4725 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4726 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
4727 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
4728 | |
ac_header_preproc=yes
|
4729 | |
;;
|
4730 | |
no:yes:* )
|
4731 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4732 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4733 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4734 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4735 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
4736 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
4737 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
4738 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4739 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4740 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4741 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4742 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4743 | |
|
4744 | |
;;
|
4745 | |
esac
|
4746 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4747 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4748 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4749 | |
$as_echo_n "(cached) " >&6
|
4750 | |
else
|
4751 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
4752 | |
fi
|
4753 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4754 | |
$as_echo "$as_val"'`
|
4755 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4756 | |
$as_echo "$ac_res" >&6; }
|
4757 | |
|
4758 | |
fi
|
4759 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
4760 | |
$as_echo "$as_val"'`
|
4761 | |
if test "x$as_val" = x""yes; then
|
|
4474 |
do :
|
|
4475 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4476 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
4477 |
eval as_val=\$$as_ac_Header
|
|
4478 |
if test "x$as_val" = x""yes; then :
|
4762 | 4479 |
cat >>confdefs.h <<_ACEOF
|
4763 | 4480 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4764 | 4481 |
_ACEOF
|
4765 | 4482 |
|
4766 | 4483 |
else
|
4767 | 4484 |
\
|
4768 | |
{ { $as_echo "$as_me:$LINENO: error: header missing" >&5
|
4769 | |
$as_echo "$as_me: error: header missing" >&2;}
|
4770 | |
{ (exit 1); exit 1; }; }
|
|
4485 |
as_fn_error "header missing" "$LINENO" 5
|
4771 | 4486 |
fi
|
4772 | 4487 |
|
4773 | 4488 |
done
|
4774 | 4489 |
|
4775 | |
|
4776 | |
{ $as_echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
|
|
4490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5
|
4777 | 4491 |
$as_echo_n "checking for wgetch in -lncurses... " >&6; }
|
4778 | |
if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
|
|
4492 |
if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then :
|
4779 | 4493 |
$as_echo_n "(cached) " >&6
|
4780 | 4494 |
else
|
4781 | 4495 |
ac_check_lib_save_LIBS=$LIBS
|
4782 | 4496 |
LIBS="-lncurses $LIBS"
|
4783 | |
cat >conftest.$ac_ext <<_ACEOF
|
4784 | |
/* confdefs.h. */
|
4785 | |
_ACEOF
|
4786 | |
cat confdefs.h >>conftest.$ac_ext
|
4787 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4497 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4788 | 4498 |
/* end confdefs.h. */
|
4789 | 4499 |
|
4790 | 4500 |
/* Override any GCC internal prototype to avoid an error.
|
|
4802 | 4512 |
return 0;
|
4803 | 4513 |
}
|
4804 | 4514 |
_ACEOF
|
4805 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4806 | |
if { (ac_try="$ac_link"
|
4807 | |
case "(($ac_try" in
|
4808 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4809 | |
*) ac_try_echo=$ac_try;;
|
4810 | |
esac
|
4811 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4812 | |
$as_echo "$ac_try_echo") >&5
|
4813 | |
(eval "$ac_link") 2>conftest.er1
|
4814 | |
ac_status=$?
|
4815 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4816 | |
rm -f conftest.er1
|
4817 | |
cat conftest.err >&5
|
4818 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4819 | |
(exit $ac_status); } && {
|
4820 | |
test -z "$ac_c_werror_flag" ||
|
4821 | |
test ! -s conftest.err
|
4822 | |
} && test -s conftest$ac_exeext && {
|
4823 | |
test "$cross_compiling" = yes ||
|
4824 | |
$as_test_x conftest$ac_exeext
|
4825 | |
}; then
|
|
4515 |
if ac_fn_c_try_link "$LINENO"; then :
|
4826 | 4516 |
ac_cv_lib_ncurses_wgetch=yes
|
4827 | 4517 |
else
|
4828 | |
$as_echo "$as_me: failed program was:" >&5
|
4829 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4830 | |
|
4831 | |
ac_cv_lib_ncurses_wgetch=no
|
4832 | |
fi
|
4833 | |
|
4834 | |
rm -rf conftest.dSYM
|
4835 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4836 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4518 |
ac_cv_lib_ncurses_wgetch=no
|
|
4519 |
fi
|
|
4520 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4521 |
conftest$ac_exeext conftest.$ac_ext
|
4837 | 4522 |
LIBS=$ac_check_lib_save_LIBS
|
4838 | 4523 |
fi
|
4839 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
|
|
4524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5
|
4840 | 4525 |
$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; }
|
4841 | |
if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then
|
|
4526 |
if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then :
|
4842 | 4527 |
cat >>confdefs.h <<_ACEOF
|
4843 | 4528 |
#define HAVE_LIBNCURSES 1
|
4844 | 4529 |
_ACEOF
|
|
4846 | 4531 |
LIBS="-lncurses $LIBS"
|
4847 | 4532 |
|
4848 | 4533 |
else
|
4849 | |
{ { $as_echo "$as_me:$LINENO: error: recent ncurses installed?" >&5
|
4850 | |
$as_echo "$as_me: error: recent ncurses installed?" >&2;}
|
4851 | |
{ (exit 1); exit 1; }; }
|
|
4534 |
as_fn_error "recent ncurses installed?" "$LINENO" 5
|
4852 | 4535 |
fi
|
4853 | 4536 |
|
4854 | 4537 |
|
|
4864 | 4547 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4865 | 4548 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4866 | 4549 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4867 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
|
4550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
4868 | 4551 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
4869 | 4552 |
if test -z "$CXXCPP"; then
|
4870 | |
if test "${ac_cv_prog_CXXCPP+set}" = set; then
|
|
4553 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
4871 | 4554 |
$as_echo_n "(cached) " >&6
|
4872 | 4555 |
else
|
4873 | 4556 |
# Double quotes because CXXCPP needs to be expanded
|
|
4882 | 4565 |
# <limits.h> exists even on freestanding compilers.
|
4883 | 4566 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4884 | 4567 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4885 | |
cat >conftest.$ac_ext <<_ACEOF
|
4886 | |
/* confdefs.h. */
|
4887 | |
_ACEOF
|
4888 | |
cat confdefs.h >>conftest.$ac_ext
|
4889 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4568 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4890 | 4569 |
/* end confdefs.h. */
|
4891 | 4570 |
#ifdef __STDC__
|
4892 | 4571 |
# include <limits.h>
|
|
4895 | 4574 |
#endif
|
4896 | 4575 |
Syntax error
|
4897 | 4576 |
_ACEOF
|
4898 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4899 | |
case "(($ac_try" in
|
4900 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4901 | |
*) ac_try_echo=$ac_try;;
|
4902 | |
esac
|
4903 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4904 | |
$as_echo "$ac_try_echo") >&5
|
4905 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4906 | |
ac_status=$?
|
4907 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4908 | |
rm -f conftest.er1
|
4909 | |
cat conftest.err >&5
|
4910 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4911 | |
(exit $ac_status); } >/dev/null && {
|
4912 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
4913 | |
test ! -s conftest.err
|
4914 | |
}; then
|
4915 | |
:
|
4916 | |
else
|
4917 | |
$as_echo "$as_me: failed program was:" >&5
|
4918 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4919 | |
|
|
4577 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
4578 |
|
|
4579 |
else
|
4920 | 4580 |
# Broken: fails on valid input.
|
4921 | 4581 |
continue
|
4922 | 4582 |
fi
|
4923 | |
|
4924 | 4583 |
rm -f conftest.err conftest.$ac_ext
|
4925 | 4584 |
|
4926 | 4585 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4927 | 4586 |
# can be detected and how.
|
4928 | |
cat >conftest.$ac_ext <<_ACEOF
|
4929 | |
/* confdefs.h. */
|
4930 | |
_ACEOF
|
4931 | |
cat confdefs.h >>conftest.$ac_ext
|
4932 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4587 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4933 | 4588 |
/* end confdefs.h. */
|
4934 | 4589 |
#include <ac_nonexistent.h>
|
4935 | 4590 |
_ACEOF
|
4936 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4937 | |
case "(($ac_try" in
|
4938 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4939 | |
*) ac_try_echo=$ac_try;;
|
4940 | |
esac
|
4941 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4942 | |
$as_echo "$ac_try_echo") >&5
|
4943 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4944 | |
ac_status=$?
|
4945 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4946 | |
rm -f conftest.er1
|
4947 | |
cat conftest.err >&5
|
4948 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4949 | |
(exit $ac_status); } >/dev/null && {
|
4950 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
4951 | |
test ! -s conftest.err
|
4952 | |
}; then
|
|
4591 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4953 | 4592 |
# Broken: success on invalid input.
|
4954 | 4593 |
continue
|
4955 | 4594 |
else
|
4956 | |
$as_echo "$as_me: failed program was:" >&5
|
4957 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4958 | |
|
4959 | 4595 |
# Passes both tests.
|
4960 | 4596 |
ac_preproc_ok=:
|
4961 | 4597 |
break
|
4962 | 4598 |
fi
|
4963 | |
|
4964 | 4599 |
rm -f conftest.err conftest.$ac_ext
|
4965 | 4600 |
|
4966 | 4601 |
done
|
4967 | 4602 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4968 | 4603 |
rm -f conftest.err conftest.$ac_ext
|
4969 | |
if $ac_preproc_ok; then
|
|
4604 |
if $ac_preproc_ok; then :
|
4970 | 4605 |
break
|
4971 | 4606 |
fi
|
4972 | 4607 |
|
|
4978 | 4613 |
else
|
4979 | 4614 |
ac_cv_prog_CXXCPP=$CXXCPP
|
4980 | 4615 |
fi
|
4981 | |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
|
4616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
4982 | 4617 |
$as_echo "$CXXCPP" >&6; }
|
4983 | 4618 |
ac_preproc_ok=false
|
4984 | 4619 |
for ac_cxx_preproc_warn_flag in '' yes
|
|
4989 | 4624 |
# <limits.h> exists even on freestanding compilers.
|
4990 | 4625 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4991 | 4626 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4992 | |
cat >conftest.$ac_ext <<_ACEOF
|
4993 | |
/* confdefs.h. */
|
4994 | |
_ACEOF
|
4995 | |
cat confdefs.h >>conftest.$ac_ext
|
4996 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4627 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4997 | 4628 |
/* end confdefs.h. */
|
4998 | 4629 |
#ifdef __STDC__
|
4999 | 4630 |
# include <limits.h>
|
|
5002 | 4633 |
#endif
|
5003 | 4634 |
Syntax error
|
5004 | 4635 |
_ACEOF
|
5005 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5006 | |
case "(($ac_try" in
|
5007 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5008 | |
*) ac_try_echo=$ac_try;;
|
5009 | |
esac
|
5010 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5011 | |
$as_echo "$ac_try_echo") >&5
|
5012 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5013 | |
ac_status=$?
|
5014 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5015 | |
rm -f conftest.er1
|
5016 | |
cat conftest.err >&5
|
5017 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5018 | |
(exit $ac_status); } >/dev/null && {
|
5019 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5020 | |
test ! -s conftest.err
|
5021 | |
}; then
|
5022 | |
:
|
5023 | |
else
|
5024 | |
$as_echo "$as_me: failed program was:" >&5
|
5025 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5026 | |
|
|
4636 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
4637 |
|
|
4638 |
else
|
5027 | 4639 |
# Broken: fails on valid input.
|
5028 | 4640 |
continue
|
5029 | 4641 |
fi
|
5030 | |
|
5031 | 4642 |
rm -f conftest.err conftest.$ac_ext
|
5032 | 4643 |
|
5033 | 4644 |
# OK, works on sane cases. Now check whether nonexistent headers
|
5034 | 4645 |
# can be detected and how.
|
5035 | |
cat >conftest.$ac_ext <<_ACEOF
|
5036 | |
/* confdefs.h. */
|
5037 | |
_ACEOF
|
5038 | |
cat confdefs.h >>conftest.$ac_ext
|
5039 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4646 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5040 | 4647 |
/* end confdefs.h. */
|
5041 | 4648 |
#include <ac_nonexistent.h>
|
5042 | 4649 |
_ACEOF
|
5043 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5044 | |
case "(($ac_try" in
|
5045 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5046 | |
*) ac_try_echo=$ac_try;;
|
5047 | |
esac
|
5048 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5049 | |
$as_echo "$ac_try_echo") >&5
|
5050 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5051 | |
ac_status=$?
|
5052 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5053 | |
rm -f conftest.er1
|
5054 | |
cat conftest.err >&5
|
5055 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5056 | |
(exit $ac_status); } >/dev/null && {
|
5057 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5058 | |
test ! -s conftest.err
|
5059 | |
}; then
|
|
4650 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5060 | 4651 |
# Broken: success on invalid input.
|
5061 | 4652 |
continue
|
5062 | 4653 |
else
|
5063 | |
$as_echo "$as_me: failed program was:" >&5
|
5064 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5065 | |
|
5066 | 4654 |
# Passes both tests.
|
5067 | 4655 |
ac_preproc_ok=:
|
5068 | 4656 |
break
|
5069 | 4657 |
fi
|
5070 | |
|
5071 | 4658 |
rm -f conftest.err conftest.$ac_ext
|
5072 | 4659 |
|
5073 | 4660 |
done
|
5074 | 4661 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5075 | 4662 |
rm -f conftest.err conftest.$ac_ext
|
5076 | |
if $ac_preproc_ok; then
|
5077 | |
:
|
5078 | |
else
|
5079 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
4663 |
if $ac_preproc_ok; then :
|
|
4664 |
|
|
4665 |
else
|
|
4666 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5080 | 4667 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5081 | |
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
5082 | |
See \`config.log' for more details." >&5
|
5083 | |
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
5084 | |
See \`config.log' for more details." >&2;}
|
5085 | |
{ (exit 1); exit 1; }; }; }
|
|
4668 |
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
|
|
4669 |
See \`config.log' for more details." "$LINENO" 5; }
|
5086 | 4670 |
fi
|
5087 | 4671 |
|
5088 | 4672 |
ac_ext=cpp
|
|
5092 | 4676 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
5093 | 4677 |
|
5094 | 4678 |
|
5095 | |
if test "${ac_cv_header_string+set}" = set; then
|
5096 | |
{ $as_echo "$as_me:$LINENO: checking for string" >&5
|
5097 | |
$as_echo_n "checking for string... " >&6; }
|
5098 | |
if test "${ac_cv_header_string+set}" = set; then
|
5099 | |
$as_echo_n "(cached) " >&6
|
5100 | |
fi
|
5101 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
5102 | |
$as_echo "$ac_cv_header_string" >&6; }
|
5103 | |
else
|
5104 | |
# Is the header compilable?
|
5105 | |
{ $as_echo "$as_me:$LINENO: checking string usability" >&5
|
5106 | |
$as_echo_n "checking string usability... " >&6; }
|
5107 | |
cat >conftest.$ac_ext <<_ACEOF
|
5108 | |
/* confdefs.h. */
|
5109 | |
_ACEOF
|
5110 | |
cat confdefs.h >>conftest.$ac_ext
|
5111 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5112 | |
/* end confdefs.h. */
|
5113 | |
$ac_includes_default
|
5114 | |
#include <string>
|
5115 | |
_ACEOF
|
5116 | |
rm -f conftest.$ac_objext
|
5117 | |
if { (ac_try="$ac_compile"
|
5118 | |
case "(($ac_try" in
|
5119 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5120 | |
*) ac_try_echo=$ac_try;;
|
5121 | |
esac
|
5122 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5123 | |
$as_echo "$ac_try_echo") >&5
|
5124 | |
(eval "$ac_compile") 2>conftest.er1
|
5125 | |
ac_status=$?
|
5126 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5127 | |
rm -f conftest.er1
|
5128 | |
cat conftest.err >&5
|
5129 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5130 | |
(exit $ac_status); } && {
|
5131 | |
test -z "$ac_cxx_werror_flag" ||
|
5132 | |
test ! -s conftest.err
|
5133 | |
} && test -s conftest.$ac_objext; then
|
5134 | |
ac_header_compiler=yes
|
5135 | |
else
|
5136 | |
$as_echo "$as_me: failed program was:" >&5
|
5137 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5138 | |
|
5139 | |
ac_header_compiler=no
|
5140 | |
fi
|
5141 | |
|
5142 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5143 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5144 | |
$as_echo "$ac_header_compiler" >&6; }
|
5145 | |
|
5146 | |
# Is the header present?
|
5147 | |
{ $as_echo "$as_me:$LINENO: checking string presence" >&5
|
5148 | |
$as_echo_n "checking string presence... " >&6; }
|
5149 | |
cat >conftest.$ac_ext <<_ACEOF
|
5150 | |
/* confdefs.h. */
|
5151 | |
_ACEOF
|
5152 | |
cat confdefs.h >>conftest.$ac_ext
|
5153 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5154 | |
/* end confdefs.h. */
|
5155 | |
#include <string>
|
5156 | |
_ACEOF
|
5157 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5158 | |
case "(($ac_try" in
|
5159 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5160 | |
*) ac_try_echo=$ac_try;;
|
5161 | |
esac
|
5162 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5163 | |
$as_echo "$ac_try_echo") >&5
|
5164 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5165 | |
ac_status=$?
|
5166 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5167 | |
rm -f conftest.er1
|
5168 | |
cat conftest.err >&5
|
5169 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5170 | |
(exit $ac_status); } >/dev/null && {
|
5171 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5172 | |
test ! -s conftest.err
|
5173 | |
}; then
|
5174 | |
ac_header_preproc=yes
|
5175 | |
else
|
5176 | |
$as_echo "$as_me: failed program was:" >&5
|
5177 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5178 | |
|
5179 | |
ac_header_preproc=no
|
5180 | |
fi
|
5181 | |
|
5182 | |
rm -f conftest.err conftest.$ac_ext
|
5183 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5184 | |
$as_echo "$ac_header_preproc" >&6; }
|
5185 | |
|
5186 | |
# So? What about this header?
|
5187 | |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
5188 | |
yes:no: )
|
5189 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: accepted by the compiler, rejected by the preprocessor!" >&5
|
5190 | |
$as_echo "$as_me: WARNING: string: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5191 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: proceeding with the compiler's result" >&5
|
5192 | |
$as_echo "$as_me: WARNING: string: proceeding with the compiler's result" >&2;}
|
5193 | |
ac_header_preproc=yes
|
5194 | |
;;
|
5195 | |
no:yes:* )
|
5196 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: present but cannot be compiled" >&5
|
5197 | |
$as_echo "$as_me: WARNING: string: present but cannot be compiled" >&2;}
|
5198 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: check for missing prerequisite headers?" >&5
|
5199 | |
$as_echo "$as_me: WARNING: string: check for missing prerequisite headers?" >&2;}
|
5200 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: see the Autoconf documentation" >&5
|
5201 | |
$as_echo "$as_me: WARNING: string: see the Autoconf documentation" >&2;}
|
5202 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: section \"Present But Cannot Be Compiled\"" >&5
|
5203 | |
$as_echo "$as_me: WARNING: string: section \"Present But Cannot Be Compiled\"" >&2;}
|
5204 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: proceeding with the preprocessor's result" >&5
|
5205 | |
$as_echo "$as_me: WARNING: string: proceeding with the preprocessor's result" >&2;}
|
5206 | |
{ $as_echo "$as_me:$LINENO: WARNING: string: in the future, the compiler will take precedence" >&5
|
5207 | |
$as_echo "$as_me: WARNING: string: in the future, the compiler will take precedence" >&2;}
|
5208 | |
|
5209 | |
;;
|
5210 | |
esac
|
5211 | |
{ $as_echo "$as_me:$LINENO: checking for string" >&5
|
5212 | |
$as_echo_n "checking for string... " >&6; }
|
5213 | |
if test "${ac_cv_header_string+set}" = set; then
|
5214 | |
$as_echo_n "(cached) " >&6
|
5215 | |
else
|
5216 | |
ac_cv_header_string=$ac_header_preproc
|
5217 | |
fi
|
5218 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
5219 | |
$as_echo "$ac_cv_header_string" >&6; }
|
5220 | |
|
5221 | |
fi
|
5222 | |
if test "x$ac_cv_header_string" = x""yes; then
|
5223 | |
:
|
5224 | |
else
|
5225 | |
{ { $as_echo "$as_me:$LINENO: error: C++ STL string class missing" >&5
|
5226 | |
$as_echo "$as_me: error: C++ STL string class missing" >&2;}
|
5227 | |
{ (exit 1); exit 1; }; }
|
5228 | |
fi
|
5229 | |
|
5230 | |
|
5231 | |
if test "${ac_cv_header_vector+set}" = set; then
|
5232 | |
{ $as_echo "$as_me:$LINENO: checking for vector" >&5
|
5233 | |
$as_echo_n "checking for vector... " >&6; }
|
5234 | |
if test "${ac_cv_header_vector+set}" = set; then
|
5235 | |
$as_echo_n "(cached) " >&6
|
5236 | |
fi
|
5237 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
5238 | |
$as_echo "$ac_cv_header_vector" >&6; }
|
5239 | |
else
|
5240 | |
# Is the header compilable?
|
5241 | |
{ $as_echo "$as_me:$LINENO: checking vector usability" >&5
|
5242 | |
$as_echo_n "checking vector usability... " >&6; }
|
5243 | |
cat >conftest.$ac_ext <<_ACEOF
|
5244 | |
/* confdefs.h. */
|
5245 | |
_ACEOF
|
5246 | |
cat confdefs.h >>conftest.$ac_ext
|
5247 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5248 | |
/* end confdefs.h. */
|
5249 | |
$ac_includes_default
|
5250 | |
#include <vector>
|
5251 | |
_ACEOF
|
5252 | |
rm -f conftest.$ac_objext
|
5253 | |
if { (ac_try="$ac_compile"
|
5254 | |
case "(($ac_try" in
|
5255 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5256 | |
*) ac_try_echo=$ac_try;;
|
5257 | |
esac
|
5258 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5259 | |
$as_echo "$ac_try_echo") >&5
|
5260 | |
(eval "$ac_compile") 2>conftest.er1
|
5261 | |
ac_status=$?
|
5262 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5263 | |
rm -f conftest.er1
|
5264 | |
cat conftest.err >&5
|
5265 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5266 | |
(exit $ac_status); } && {
|
5267 | |
test -z "$ac_cxx_werror_flag" ||
|
5268 | |
test ! -s conftest.err
|
5269 | |
} && test -s conftest.$ac_objext; then
|
5270 | |
ac_header_compiler=yes
|
5271 | |
else
|
5272 | |
$as_echo "$as_me: failed program was:" >&5
|
5273 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5274 | |
|
5275 | |
ac_header_compiler=no
|
5276 | |
fi
|
5277 | |
|
5278 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5279 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5280 | |
$as_echo "$ac_header_compiler" >&6; }
|
5281 | |
|
5282 | |
# Is the header present?
|
5283 | |
{ $as_echo "$as_me:$LINENO: checking vector presence" >&5
|
5284 | |
$as_echo_n "checking vector presence... " >&6; }
|
5285 | |
cat >conftest.$ac_ext <<_ACEOF
|
5286 | |
/* confdefs.h. */
|
5287 | |
_ACEOF
|
5288 | |
cat confdefs.h >>conftest.$ac_ext
|
5289 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5290 | |
/* end confdefs.h. */
|
5291 | |
#include <vector>
|
5292 | |
_ACEOF
|
5293 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5294 | |
case "(($ac_try" in
|
5295 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5296 | |
*) ac_try_echo=$ac_try;;
|
5297 | |
esac
|
5298 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5299 | |
$as_echo "$ac_try_echo") >&5
|
5300 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5301 | |
ac_status=$?
|
5302 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5303 | |
rm -f conftest.er1
|
5304 | |
cat conftest.err >&5
|
5305 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5306 | |
(exit $ac_status); } >/dev/null && {
|
5307 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5308 | |
test ! -s conftest.err
|
5309 | |
}; then
|
5310 | |
ac_header_preproc=yes
|
5311 | |
else
|
5312 | |
$as_echo "$as_me: failed program was:" >&5
|
5313 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5314 | |
|
5315 | |
ac_header_preproc=no
|
5316 | |
fi
|
5317 | |
|
5318 | |
rm -f conftest.err conftest.$ac_ext
|
5319 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5320 | |
$as_echo "$ac_header_preproc" >&6; }
|
5321 | |
|
5322 | |
# So? What about this header?
|
5323 | |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
5324 | |
yes:no: )
|
5325 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: accepted by the compiler, rejected by the preprocessor!" >&5
|
5326 | |
$as_echo "$as_me: WARNING: vector: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5327 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: proceeding with the compiler's result" >&5
|
5328 | |
$as_echo "$as_me: WARNING: vector: proceeding with the compiler's result" >&2;}
|
5329 | |
ac_header_preproc=yes
|
5330 | |
;;
|
5331 | |
no:yes:* )
|
5332 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: present but cannot be compiled" >&5
|
5333 | |
$as_echo "$as_me: WARNING: vector: present but cannot be compiled" >&2;}
|
5334 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: check for missing prerequisite headers?" >&5
|
5335 | |
$as_echo "$as_me: WARNING: vector: check for missing prerequisite headers?" >&2;}
|
5336 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: see the Autoconf documentation" >&5
|
5337 | |
$as_echo "$as_me: WARNING: vector: see the Autoconf documentation" >&2;}
|
5338 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: section \"Present But Cannot Be Compiled\"" >&5
|
5339 | |
$as_echo "$as_me: WARNING: vector: section \"Present But Cannot Be Compiled\"" >&2;}
|
5340 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: proceeding with the preprocessor's result" >&5
|
5341 | |
$as_echo "$as_me: WARNING: vector: proceeding with the preprocessor's result" >&2;}
|
5342 | |
{ $as_echo "$as_me:$LINENO: WARNING: vector: in the future, the compiler will take precedence" >&5
|
5343 | |
$as_echo "$as_me: WARNING: vector: in the future, the compiler will take precedence" >&2;}
|
5344 | |
|
5345 | |
;;
|
5346 | |
esac
|
5347 | |
{ $as_echo "$as_me:$LINENO: checking for vector" >&5
|
5348 | |
$as_echo_n "checking for vector... " >&6; }
|
5349 | |
if test "${ac_cv_header_vector+set}" = set; then
|
5350 | |
$as_echo_n "(cached) " >&6
|
5351 | |
else
|
5352 | |
ac_cv_header_vector=$ac_header_preproc
|
5353 | |
fi
|
5354 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
5355 | |
$as_echo "$ac_cv_header_vector" >&6; }
|
5356 | |
|
5357 | |
fi
|
5358 | |
if test "x$ac_cv_header_vector" = x""yes; then
|
5359 | |
:
|
5360 | |
else
|
5361 | |
{ { $as_echo "$as_me:$LINENO: error: C++ STL vector class missing" >&5
|
5362 | |
$as_echo "$as_me: error: C++ STL vector class missing" >&2;}
|
5363 | |
{ (exit 1); exit 1; }; }
|
5364 | |
fi
|
5365 | |
|
5366 | |
|
5367 | |
if test "${ac_cv_header_algorithm+set}" = set; then
|
5368 | |
{ $as_echo "$as_me:$LINENO: checking for algorithm" >&5
|
5369 | |
$as_echo_n "checking for algorithm... " >&6; }
|
5370 | |
if test "${ac_cv_header_algorithm+set}" = set; then
|
5371 | |
$as_echo_n "(cached) " >&6
|
5372 | |
fi
|
5373 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
5374 | |
$as_echo "$ac_cv_header_algorithm" >&6; }
|
5375 | |
else
|
5376 | |
# Is the header compilable?
|
5377 | |
{ $as_echo "$as_me:$LINENO: checking algorithm usability" >&5
|
5378 | |
$as_echo_n "checking algorithm usability... " >&6; }
|
5379 | |
cat >conftest.$ac_ext <<_ACEOF
|
5380 | |
/* confdefs.h. */
|
5381 | |
_ACEOF
|
5382 | |
cat confdefs.h >>conftest.$ac_ext
|
5383 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5384 | |
/* end confdefs.h. */
|
5385 | |
$ac_includes_default
|
5386 | |
#include <algorithm>
|
5387 | |
_ACEOF
|
5388 | |
rm -f conftest.$ac_objext
|
5389 | |
if { (ac_try="$ac_compile"
|
5390 | |
case "(($ac_try" in
|
5391 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5392 | |
*) ac_try_echo=$ac_try;;
|
5393 | |
esac
|
5394 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5395 | |
$as_echo "$ac_try_echo") >&5
|
5396 | |
(eval "$ac_compile") 2>conftest.er1
|
5397 | |
ac_status=$?
|
5398 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5399 | |
rm -f conftest.er1
|
5400 | |
cat conftest.err >&5
|
5401 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5402 | |
(exit $ac_status); } && {
|
5403 | |
test -z "$ac_cxx_werror_flag" ||
|
5404 | |
test ! -s conftest.err
|
5405 | |
} && test -s conftest.$ac_objext; then
|
5406 | |
ac_header_compiler=yes
|
5407 | |
else
|
5408 | |
$as_echo "$as_me: failed program was:" >&5
|
5409 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5410 | |
|
5411 | |
ac_header_compiler=no
|
5412 | |
fi
|
5413 | |
|
5414 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5415 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5416 | |
$as_echo "$ac_header_compiler" >&6; }
|
5417 | |
|
5418 | |
# Is the header present?
|
5419 | |
{ $as_echo "$as_me:$LINENO: checking algorithm presence" >&5
|
5420 | |
$as_echo_n "checking algorithm presence... " >&6; }
|
5421 | |
cat >conftest.$ac_ext <<_ACEOF
|
5422 | |
/* confdefs.h. */
|
5423 | |
_ACEOF
|
5424 | |
cat confdefs.h >>conftest.$ac_ext
|
5425 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5426 | |
/* end confdefs.h. */
|
5427 | |
#include <algorithm>
|
5428 | |
_ACEOF
|
5429 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5430 | |
case "(($ac_try" in
|
5431 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5432 | |
*) ac_try_echo=$ac_try;;
|
5433 | |
esac
|
5434 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5435 | |
$as_echo "$ac_try_echo") >&5
|
5436 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5437 | |
ac_status=$?
|
5438 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5439 | |
rm -f conftest.er1
|
5440 | |
cat conftest.err >&5
|
5441 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5442 | |
(exit $ac_status); } >/dev/null && {
|
5443 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5444 | |
test ! -s conftest.err
|
5445 | |
}; then
|
5446 | |
ac_header_preproc=yes
|
5447 | |
else
|
5448 | |
$as_echo "$as_me: failed program was:" >&5
|
5449 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5450 | |
|
5451 | |
ac_header_preproc=no
|
5452 | |
fi
|
5453 | |
|
5454 | |
rm -f conftest.err conftest.$ac_ext
|
5455 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5456 | |
$as_echo "$ac_header_preproc" >&6; }
|
5457 | |
|
5458 | |
# So? What about this header?
|
5459 | |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
5460 | |
yes:no: )
|
5461 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: accepted by the compiler, rejected by the preprocessor!" >&5
|
5462 | |
$as_echo "$as_me: WARNING: algorithm: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5463 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: proceeding with the compiler's result" >&5
|
5464 | |
$as_echo "$as_me: WARNING: algorithm: proceeding with the compiler's result" >&2;}
|
5465 | |
ac_header_preproc=yes
|
5466 | |
;;
|
5467 | |
no:yes:* )
|
5468 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: present but cannot be compiled" >&5
|
5469 | |
$as_echo "$as_me: WARNING: algorithm: present but cannot be compiled" >&2;}
|
5470 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: check for missing prerequisite headers?" >&5
|
5471 | |
$as_echo "$as_me: WARNING: algorithm: check for missing prerequisite headers?" >&2;}
|
5472 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: see the Autoconf documentation" >&5
|
5473 | |
$as_echo "$as_me: WARNING: algorithm: see the Autoconf documentation" >&2;}
|
5474 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: section \"Present But Cannot Be Compiled\"" >&5
|
5475 | |
$as_echo "$as_me: WARNING: algorithm: section \"Present But Cannot Be Compiled\"" >&2;}
|
5476 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: proceeding with the preprocessor's result" >&5
|
5477 | |
$as_echo "$as_me: WARNING: algorithm: proceeding with the preprocessor's result" >&2;}
|
5478 | |
{ $as_echo "$as_me:$LINENO: WARNING: algorithm: in the future, the compiler will take precedence" >&5
|
5479 | |
$as_echo "$as_me: WARNING: algorithm: in the future, the compiler will take precedence" >&2;}
|
5480 | |
|
5481 | |
;;
|
5482 | |
esac
|
5483 | |
{ $as_echo "$as_me:$LINENO: checking for algorithm" >&5
|
5484 | |
$as_echo_n "checking for algorithm... " >&6; }
|
5485 | |
if test "${ac_cv_header_algorithm+set}" = set; then
|
5486 | |
$as_echo_n "(cached) " >&6
|
5487 | |
else
|
5488 | |
ac_cv_header_algorithm=$ac_header_preproc
|
5489 | |
fi
|
5490 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
5491 | |
$as_echo "$ac_cv_header_algorithm" >&6; }
|
5492 | |
|
5493 | |
fi
|
5494 | |
if test "x$ac_cv_header_algorithm" = x""yes; then
|
5495 | |
:
|
5496 | |
else
|
5497 | |
{ { $as_echo "$as_me:$LINENO: error: C++ STL algorithm class missing" >&5
|
5498 | |
$as_echo "$as_me: error: C++ STL algorithm class missing" >&2;}
|
5499 | |
{ (exit 1); exit 1; }; }
|
|
4679 |
ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
|
|
4680 |
if test "x$ac_cv_header_string" = x""yes; then :
|
|
4681 |
|
|
4682 |
else
|
|
4683 |
as_fn_error "C++ STL string class missing" "$LINENO" 5
|
|
4684 |
fi
|
|
4685 |
|
|
4686 |
|
|
4687 |
ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
|
|
4688 |
if test "x$ac_cv_header_vector" = x""yes; then :
|
|
4689 |
|
|
4690 |
else
|
|
4691 |
as_fn_error "C++ STL vector class missing" "$LINENO" 5
|
|
4692 |
fi
|
|
4693 |
|
|
4694 |
|
|
4695 |
ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
|
|
4696 |
if test "x$ac_cv_header_algorithm" = x""yes; then :
|
|
4697 |
|
|
4698 |
else
|
|
4699 |
as_fn_error "C++ STL algorithm class missing" "$LINENO" 5
|
5500 | 4700 |
fi
|
5501 | 4701 |
|
5502 | 4702 |
|
|
5530 | 4730 |
case $ac_val in #(
|
5531 | 4731 |
*${as_nl}*)
|
5532 | 4732 |
case $ac_var in #(
|
5533 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
4733 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
5534 | 4734 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
5535 | 4735 |
esac
|
5536 | 4736 |
case $ac_var in #(
|
5537 | 4737 |
_ | IFS | as_nl) ;; #(
|
5538 | 4738 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
5539 | |
*) $as_unset $ac_var ;;
|
|
4739 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
5540 | 4740 |
esac ;;
|
5541 | 4741 |
esac
|
5542 | 4742 |
done
|
|
5544 | 4744 |
(set) 2>&1 |
|
5545 | 4745 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
5546 | 4746 |
*${as_nl}ac_space=\ *)
|
5547 | |
# `set' does not quote correctly, so add quotes (double-quote
|
5548 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
4747 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
4748 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
5549 | 4749 |
sed -n \
|
5550 | 4750 |
"s/'/'\\\\''/g;
|
5551 | 4751 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
5568 | 4768 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
5569 | 4769 |
if test -w "$cache_file"; then
|
5570 | 4770 |
test "x$cache_file" != "x/dev/null" &&
|
5571 | |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
4771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
5572 | 4772 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
5573 | 4773 |
cat confcache >$cache_file
|
5574 | 4774 |
else
|
5575 | |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
4775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
5576 | 4776 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
5577 | 4777 |
fi
|
5578 | 4778 |
fi
|
|
5592 | 4792 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
5593 | 4793 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
5594 | 4794 |
# will be set to the directory where LIBOBJS objects are built.
|
5595 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
5596 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
4795 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
4796 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
5597 | 4797 |
done
|
5598 | 4798 |
LIBOBJS=$ac_libobjs
|
5599 | 4799 |
|
5600 | 4800 |
LTLIBOBJS=$ac_ltlibobjs
|
5601 | 4801 |
|
5602 | 4802 |
|
|
4803 |
if test -n "$EXEEXT"; then
|
|
4804 |
am__EXEEXT_TRUE=
|
|
4805 |
am__EXEEXT_FALSE='#'
|
|
4806 |
else
|
|
4807 |
am__EXEEXT_TRUE='#'
|
|
4808 |
am__EXEEXT_FALSE=
|
|
4809 |
fi
|
|
4810 |
|
5603 | 4811 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
5604 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
5605 | |
Usually this means the macro was only invoked conditionally." >&5
|
5606 | |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
5607 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5608 | |
{ (exit 1); exit 1; }; }
|
|
4812 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
4813 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5609 | 4814 |
fi
|
5610 | 4815 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
5611 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
5612 | |
Usually this means the macro was only invoked conditionally." >&5
|
5613 | |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
5614 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5615 | |
{ (exit 1); exit 1; }; }
|
|
4816 |
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
|
4817 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5616 | 4818 |
fi
|
5617 | 4819 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
5618 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
5619 | |
Usually this means the macro was only invoked conditionally." >&5
|
5620 | |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
5621 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5622 | |
{ (exit 1); exit 1; }; }
|
|
4820 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
4821 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5623 | 4822 |
fi
|
5624 | 4823 |
|
5625 | 4824 |
: ${CONFIG_STATUS=./config.status}
|
5626 | 4825 |
ac_write_fail=0
|
5627 | 4826 |
ac_clean_files_save=$ac_clean_files
|
5628 | 4827 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5629 | |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
4828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
5630 | 4829 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5631 | |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4830 |
as_write_fail=0
|
|
4831 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
5632 | 4832 |
#! $SHELL
|
5633 | 4833 |
# Generated by $as_me.
|
5634 | 4834 |
# Run this file to recreate the current configuration.
|
|
5638 | 4838 |
debug=false
|
5639 | 4839 |
ac_cs_recheck=false
|
5640 | 4840 |
ac_cs_silent=false
|
|
4841 |
|
5641 | 4842 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
5642 | |
_ACEOF
|
5643 | |
|
5644 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5645 | |
## --------------------- ##
|
5646 | |
## M4sh Initialization. ##
|
5647 | |
## --------------------- ##
|
|
4843 |
export SHELL
|
|
4844 |
_ASEOF
|
|
4845 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
4846 |
## -------------------- ##
|
|
4847 |
## M4sh Initialization. ##
|
|
4848 |
## -------------------- ##
|
5648 | 4849 |
|
5649 | 4850 |
# Be more Bourne compatible
|
5650 | 4851 |
DUALCASE=1; export DUALCASE # for MKS sh
|
5651 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
4852 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
5652 | 4853 |
emulate sh
|
5653 | 4854 |
NULLCMD=:
|
5654 | 4855 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
5656 | 4857 |
alias -g '${1+"$@"}'='"$@"'
|
5657 | 4858 |
setopt NO_GLOB_SUBST
|
5658 | 4859 |
else
|
5659 | |
case `(set -o) 2>/dev/null` in
|
5660 | |
*posix*) set -o posix ;;
|
|
4860 |
case `(set -o) 2>/dev/null` in #(
|
|
4861 |
*posix*) :
|
|
4862 |
set -o posix ;; #(
|
|
4863 |
*) :
|
|
4864 |
;;
|
5661 | 4865 |
esac
|
5662 | |
|
5663 | |
fi
|
5664 | |
|
5665 | |
|
5666 | |
|
5667 | |
|
5668 | |
# PATH needs CR
|
5669 | |
# Avoid depending upon Character Ranges.
|
5670 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
5671 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
5672 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
5673 | |
as_cr_digits='0123456789'
|
5674 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
4866 |
fi
|
|
4867 |
|
5675 | 4868 |
|
5676 | 4869 |
as_nl='
|
5677 | 4870 |
'
|
|
5680 | 4873 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
5681 | 4874 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
5682 | 4875 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
5683 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4876 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
4877 |
# but without wasting forks for bash or zsh.
|
|
4878 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
4879 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4880 |
as_echo='print -r --'
|
|
4881 |
as_echo_n='print -rn --'
|
|
4882 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
5684 | 4883 |
as_echo='printf %s\n'
|
5685 | 4884 |
as_echo_n='printf %s'
|
5686 | 4885 |
else
|
|
5691 | 4890 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
5692 | 4891 |
as_echo_n_body='eval
|
5693 | 4892 |
arg=$1;
|
5694 | |
case $arg in
|
|
4893 |
case $arg in #(
|
5695 | 4894 |
*"$as_nl"*)
|
5696 | 4895 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
5697 | 4896 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
5714 | 4913 |
}
|
5715 | 4914 |
fi
|
5716 | 4915 |
|
5717 | |
# Support unset when possible.
|
5718 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
5719 | |
as_unset=unset
|
5720 | |
else
|
5721 | |
as_unset=false
|
5722 | |
fi
|
5723 | |
|
5724 | 4916 |
|
5725 | 4917 |
# IFS
|
5726 | 4918 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
5730 | 4922 |
IFS=" "" $as_nl"
|
5731 | 4923 |
|
5732 | 4924 |
# Find who we are. Look in the path if we contain no directory separator.
|
5733 | |
case $0 in
|
|
4925 |
case $0 in #((
|
5734 | 4926 |
*[\\/]* ) as_myself=$0 ;;
|
5735 | 4927 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5736 | 4928 |
for as_dir in $PATH
|
5737 | 4929 |
do
|
5738 | 4930 |
IFS=$as_save_IFS
|
5739 | 4931 |
test -z "$as_dir" && as_dir=.
|
5740 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5741 | |
done
|
|
4932 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
4933 |
done
|
5742 | 4934 |
IFS=$as_save_IFS
|
5743 | 4935 |
|
5744 | 4936 |
;;
|
|
5750 | 4942 |
fi
|
5751 | 4943 |
if test ! -f "$as_myself"; then
|
5752 | 4944 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
5753 | |
{ (exit 1); exit 1; }
|
5754 | |
fi
|
5755 | |
|
5756 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
5757 | |
for as_var in ENV MAIL MAILPATH
|
5758 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
4945 |
exit 1
|
|
4946 |
fi
|
|
4947 |
|
|
4948 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
4949 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
4950 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
4951 |
# trigger a bug in pdksh 5.2.14.
|
|
4952 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
4953 |
do eval test x\${$as_var+set} = xset \
|
|
4954 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
5759 | 4955 |
done
|
5760 | 4956 |
PS1='$ '
|
5761 | 4957 |
PS2='> '
|
|
5767 | 4963 |
LANGUAGE=C
|
5768 | 4964 |
export LANGUAGE
|
5769 | 4965 |
|
5770 | |
# Required to use basename.
|
|
4966 |
# CDPATH.
|
|
4967 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
4968 |
|
|
4969 |
|
|
4970 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
4971 |
# ---------------------------------
|
|
4972 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
4973 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
4974 |
# script with status $?, using 1 if that was 0.
|
|
4975 |
as_fn_error ()
|
|
4976 |
{
|
|
4977 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
4978 |
if test "$3"; then
|
|
4979 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
4980 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
4981 |
fi
|
|
4982 |
$as_echo "$as_me: error: $1" >&2
|
|
4983 |
as_fn_exit $as_status
|
|
4984 |
} # as_fn_error
|
|
4985 |
|
|
4986 |
|
|
4987 |
# as_fn_set_status STATUS
|
|
4988 |
# -----------------------
|
|
4989 |
# Set $? to STATUS, without forking.
|
|
4990 |
as_fn_set_status ()
|
|
4991 |
{
|
|
4992 |
return $1
|
|
4993 |
} # as_fn_set_status
|
|
4994 |
|
|
4995 |
# as_fn_exit STATUS
|
|
4996 |
# -----------------
|
|
4997 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
4998 |
as_fn_exit ()
|
|
4999 |
{
|
|
5000 |
set +e
|
|
5001 |
as_fn_set_status $1
|
|
5002 |
exit $1
|
|
5003 |
} # as_fn_exit
|
|
5004 |
|
|
5005 |
# as_fn_unset VAR
|
|
5006 |
# ---------------
|
|
5007 |
# Portably unset VAR.
|
|
5008 |
as_fn_unset ()
|
|
5009 |
{
|
|
5010 |
{ eval $1=; unset $1;}
|
|
5011 |
}
|
|
5012 |
as_unset=as_fn_unset
|
|
5013 |
# as_fn_append VAR VALUE
|
|
5014 |
# ----------------------
|
|
5015 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
5016 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
5017 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
5018 |
# implementations.
|
|
5019 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
5020 |
eval 'as_fn_append ()
|
|
5021 |
{
|
|
5022 |
eval $1+=\$2
|
|
5023 |
}'
|
|
5024 |
else
|
|
5025 |
as_fn_append ()
|
|
5026 |
{
|
|
5027 |
eval $1=\$$1\$2
|
|
5028 |
}
|
|
5029 |
fi # as_fn_append
|
|
5030 |
|
|
5031 |
# as_fn_arith ARG...
|
|
5032 |
# ------------------
|
|
5033 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
5034 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
5035 |
# must be portable across $(()) and expr.
|
|
5036 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
5037 |
eval 'as_fn_arith ()
|
|
5038 |
{
|
|
5039 |
as_val=$(( $* ))
|
|
5040 |
}'
|
|
5041 |
else
|
|
5042 |
as_fn_arith ()
|
|
5043 |
{
|
|
5044 |
as_val=`expr "$@" || test $? -eq 1`
|
|
5045 |
}
|
|
5046 |
fi # as_fn_arith
|
|
5047 |
|
|
5048 |
|
5771 | 5049 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5772 | 5050 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5773 | 5051 |
as_expr=expr
|
|
5781 | 5059 |
as_basename=false
|
5782 | 5060 |
fi
|
5783 | 5061 |
|
5784 | |
|
5785 | |
# Name of the executable.
|
|
5062 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
5063 |
as_dirname=dirname
|
|
5064 |
else
|
|
5065 |
as_dirname=false
|
|
5066 |
fi
|
|
5067 |
|
5786 | 5068 |
as_me=`$as_basename -- "$0" ||
|
5787 | 5069 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5788 | 5070 |
X"$0" : 'X\(//\)$' \| \
|
|
5802 | 5084 |
}
|
5803 | 5085 |
s/.*/./; q'`
|
5804 | 5086 |
|
5805 | |
# CDPATH.
|
5806 | |
$as_unset CDPATH
|
5807 | |
|
5808 | |
|
5809 | |
|
5810 | |
as_lineno_1=$LINENO
|
5811 | |
as_lineno_2=$LINENO
|
5812 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
5813 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
5814 | |
|
5815 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
5816 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
5817 | |
# line-number line after each line using $LINENO; the second 'sed'
|
5818 | |
# does the real work. The second script uses 'N' to pair each
|
5819 | |
# line-number line with the line containing $LINENO, and appends
|
5820 | |
# trailing '-' during substitution so that $LINENO is not a special
|
5821 | |
# case at line end.
|
5822 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
5823 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
5824 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
5825 | |
sed -n '
|
5826 | |
p
|
5827 | |
/[$]LINENO/=
|
5828 | |
' <$as_myself |
|
5829 | |
sed '
|
5830 | |
s/[$]LINENO.*/&-/
|
5831 | |
t lineno
|
5832 | |
b
|
5833 | |
:lineno
|
5834 | |
N
|
5835 | |
:loop
|
5836 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
5837 | |
t loop
|
5838 | |
s/-\n.*//
|
5839 | |
' >$as_me.lineno &&
|
5840 | |
chmod +x "$as_me.lineno" ||
|
5841 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
5842 | |
{ (exit 1); exit 1; }; }
|
5843 | |
|
5844 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
5845 | |
# (the dirname of $[0] is not the place where we might find the
|
5846 | |
# original and so on. Autoconf is especially sensitive to this).
|
5847 | |
. "./$as_me.lineno"
|
5848 | |
# Exit status is that of the last command.
|
5849 | |
exit
|
5850 | |
}
|
5851 | |
|
5852 | |
|
5853 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
5854 | |
as_dirname=dirname
|
5855 | |
else
|
5856 | |
as_dirname=false
|
5857 | |
fi
|
|
5087 |
# Avoid depending upon Character Ranges.
|
|
5088 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
5089 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
5090 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
5091 |
as_cr_digits='0123456789'
|
|
5092 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
5858 | 5093 |
|
5859 | 5094 |
ECHO_C= ECHO_N= ECHO_T=
|
5860 | |
case `echo -n x` in
|
|
5095 |
case `echo -n x` in #(((((
|
5861 | 5096 |
-n*)
|
5862 | |
case `echo 'x\c'` in
|
|
5097 |
case `echo 'xy\c'` in
|
5863 | 5098 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
5864 | |
*) ECHO_C='\c';;
|
|
5099 |
xy) ECHO_C='\c';;
|
|
5100 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
5101 |
ECHO_T=' ';;
|
5865 | 5102 |
esac;;
|
5866 | 5103 |
*)
|
5867 | 5104 |
ECHO_N='-n';;
|
5868 | 5105 |
esac
|
5869 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5870 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5871 | |
as_expr=expr
|
5872 | |
else
|
5873 | |
as_expr=false
|
5874 | |
fi
|
5875 | 5106 |
|
5876 | 5107 |
rm -f conf$$ conf$$.exe conf$$.file
|
5877 | 5108 |
if test -d conf$$.dir; then
|
|
5900 | 5131 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
5901 | 5132 |
rmdir conf$$.dir 2>/dev/null
|
5902 | 5133 |
|
|
5134 |
|
|
5135 |
# as_fn_mkdir_p
|
|
5136 |
# -------------
|
|
5137 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
5138 |
as_fn_mkdir_p ()
|
|
5139 |
{
|
|
5140 |
|
|
5141 |
case $as_dir in #(
|
|
5142 |
-*) as_dir=./$as_dir;;
|
|
5143 |
esac
|
|
5144 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
5145 |
as_dirs=
|
|
5146 |
while :; do
|
|
5147 |
case $as_dir in #(
|
|
5148 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
5149 |
*) as_qdir=$as_dir;;
|
|
5150 |
esac
|
|
5151 |
as_dirs="'$as_qdir' $as_dirs"
|
|
5152 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
5153 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
5154 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
5155 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
5156 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
5157 |
$as_echo X"$as_dir" |
|
|
5158 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
5159 |
s//\1/
|
|
5160 |
q
|
|
5161 |
}
|
|
5162 |
/^X\(\/\/\)[^/].*/{
|
|
5163 |
s//\1/
|
|
5164 |
q
|
|
5165 |
}
|
|
5166 |
/^X\(\/\/\)$/{
|
|
5167 |
s//\1/
|
|
5168 |
q
|
|
5169 |
}
|
|
5170 |
/^X\(\/\).*/{
|
|
5171 |
s//\1/
|
|
5172 |
q
|
|
5173 |
}
|
|
5174 |
s/.*/./; q'`
|
|
5175 |
test -d "$as_dir" && break
|
|
5176 |
done
|
|
5177 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
5178 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
5179 |
|
|
5180 |
|
|
5181 |
} # as_fn_mkdir_p
|
5903 | 5182 |
if mkdir -p . 2>/dev/null; then
|
5904 | |
as_mkdir_p=:
|
|
5183 |
as_mkdir_p='mkdir -p "$as_dir"'
|
5905 | 5184 |
else
|
5906 | 5185 |
test -d ./-p && rmdir ./-p
|
5907 | 5186 |
as_mkdir_p=false
|
|
5920 | 5199 |
if test -d "$1"; then
|
5921 | 5200 |
test -d "$1/.";
|
5922 | 5201 |
else
|
5923 | |
case $1 in
|
|
5202 |
case $1 in #(
|
5924 | 5203 |
-*)set "./$1";;
|
5925 | 5204 |
esac;
|
5926 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
5205 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
5927 | 5206 |
???[sx]*):;;*)false;;esac;fi
|
5928 | 5207 |
'\'' sh
|
5929 | 5208 |
'
|
|
5938 | 5217 |
|
5939 | 5218 |
|
5940 | 5219 |
exec 6>&1
|
5941 | |
|
5942 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
5220 |
## ----------------------------------- ##
|
|
5221 |
## Main body of $CONFIG_STATUS script. ##
|
|
5222 |
## ----------------------------------- ##
|
|
5223 |
_ASEOF
|
|
5224 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
5225 |
|
|
5226 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
5227 |
# Save the log message, to keep $0 and so on meaningful, and to
|
5943 | 5228 |
# report actual input values of CONFIG_FILES etc. instead of their
|
5944 | 5229 |
# values after options handling.
|
5945 | 5230 |
ac_log="
|
5946 | 5231 |
This file was extended by $as_me, which was
|
5947 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
5232 |
generated by GNU Autoconf 2.65. Invocation command line was
|
5948 | 5233 |
|
5949 | 5234 |
CONFIG_FILES = $CONFIG_FILES
|
5950 | 5235 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
5976 | 5261 |
|
5977 | 5262 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5978 | 5263 |
ac_cs_usage="\
|
5979 | |
\`$as_me' instantiates files from templates according to the
|
5980 | |
current configuration.
|
5981 | |
|
5982 | |
Usage: $0 [OPTION]... [FILE]...
|
|
5264 |
\`$as_me' instantiates files and other configuration actions
|
|
5265 |
from templates according to the current configuration. Unless the files
|
|
5266 |
and actions are specified as TAGs, all are instantiated by default.
|
|
5267 |
|
|
5268 |
Usage: $0 [OPTION]... [TAG]...
|
5983 | 5269 |
|
5984 | 5270 |
-h, --help print this help, then exit
|
5985 | 5271 |
-V, --version print version number and configuration settings, then exit
|
|
5272 |
--config print configuration, then exit
|
5986 | 5273 |
-q, --quiet, --silent
|
5987 | 5274 |
do not print progress messages
|
5988 | 5275 |
-d, --debug don't remove temporary files
|
|
6001 | 5288 |
Configuration commands:
|
6002 | 5289 |
$config_commands
|
6003 | 5290 |
|
6004 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
5291 |
Report bugs to the package provider."
|
6005 | 5292 |
|
6006 | 5293 |
_ACEOF
|
6007 | 5294 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
5295 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
6008 | 5296 |
ac_cs_version="\\
|
6009 | 5297 |
config.status
|
6010 | |
configured by $0, generated by GNU Autoconf 2.63,
|
6011 | |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
6012 | |
|
6013 | |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
5298 |
configured by $0, generated by GNU Autoconf 2.65,
|
|
5299 |
with options \\"\$ac_cs_config\\"
|
|
5300 |
|
|
5301 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
6014 | 5302 |
This config.status script is free software; the Free Software Foundation
|
6015 | 5303 |
gives unlimited permission to copy, distribute and modify it."
|
6016 | 5304 |
|
|
6046 | 5334 |
ac_cs_recheck=: ;;
|
6047 | 5335 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
6048 | 5336 |
$as_echo "$ac_cs_version"; exit ;;
|
|
5337 |
--config | --confi | --conf | --con | --co | --c )
|
|
5338 |
$as_echo "$ac_cs_config"; exit ;;
|
6049 | 5339 |
--debug | --debu | --deb | --de | --d | -d )
|
6050 | 5340 |
debug=: ;;
|
6051 | 5341 |
--file | --fil | --fi | --f )
|
|
6053 | 5343 |
case $ac_optarg in
|
6054 | 5344 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6055 | 5345 |
esac
|
6056 | |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
5346 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
6057 | 5347 |
ac_need_defaults=false;;
|
6058 | 5348 |
--header | --heade | --head | --hea )
|
6059 | 5349 |
$ac_shift
|
6060 | 5350 |
case $ac_optarg in
|
6061 | 5351 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6062 | 5352 |
esac
|
6063 | |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
5353 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
6064 | 5354 |
ac_need_defaults=false;;
|
6065 | 5355 |
--he | --h)
|
6066 | 5356 |
# Conflict between --help and --header
|
6067 | |
{ $as_echo "$as_me: error: ambiguous option: $1
|
6068 | |
Try \`$0 --help' for more information." >&2
|
6069 | |
{ (exit 1); exit 1; }; };;
|
|
5357 |
as_fn_error "ambiguous option: \`$1'
|
|
5358 |
Try \`$0 --help' for more information.";;
|
6070 | 5359 |
--help | --hel | -h )
|
6071 | 5360 |
$as_echo "$ac_cs_usage"; exit ;;
|
6072 | 5361 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6074 | 5363 |
ac_cs_silent=: ;;
|
6075 | 5364 |
|
6076 | 5365 |
# This is an error.
|
6077 | |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
6078 | |
Try \`$0 --help' for more information." >&2
|
6079 | |
{ (exit 1); exit 1; }; } ;;
|
6080 | |
|
6081 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
5366 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
5367 |
Try \`$0 --help' for more information." ;;
|
|
5368 |
|
|
5369 |
*) as_fn_append ac_config_targets " $1"
|
6082 | 5370 |
ac_need_defaults=false ;;
|
6083 | 5371 |
|
6084 | 5372 |
esac
|
|
6133 | 5421 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
6134 | 5422 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
6135 | 5423 |
|
6136 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6137 | |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
6138 | |
{ (exit 1); exit 1; }; };;
|
|
5424 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
6139 | 5425 |
esac
|
6140 | 5426 |
done
|
6141 | 5427 |
|
|
6162 | 5448 |
trap 'exit_status=$?
|
6163 | 5449 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
6164 | 5450 |
' 0
|
6165 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
5451 |
trap 'as_fn_exit 1' 1 2 13 15
|
6166 | 5452 |
}
|
6167 | 5453 |
# Create a (secure) tmp directory for tmp files.
|
6168 | 5454 |
|
|
6173 | 5459 |
{
|
6174 | 5460 |
tmp=./conf$$-$RANDOM
|
6175 | 5461 |
(umask 077 && mkdir "$tmp")
|
6176 | |
} ||
|
6177 | |
{
|
6178 | |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
6179 | |
{ (exit 1); exit 1; }
|
6180 | |
}
|
|
5462 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
6181 | 5463 |
|
6182 | 5464 |
# Set up the scripts for CONFIG_FILES section.
|
6183 | 5465 |
# No need to generate them if there are no CONFIG_FILES.
|
|
6185 | 5467 |
if test -n "$CONFIG_FILES"; then
|
6186 | 5468 |
|
6187 | 5469 |
|
6188 | |
ac_cr='
⏎
|
6189 | |
'
|
|
5470 |
ac_cr=`echo X | tr X '\015'`
|
|
5471 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
5472 |
# But we know of no other shell where ac_cr would be empty at this
|
|
5473 |
# point, so we can use a bashism as a fallback.
|
|
5474 |
if test "x$ac_cr" = x; then
|
|
5475 |
eval ac_cr=\$\'\\r\'
|
|
5476 |
fi
|
6190 | 5477 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
6191 | 5478 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
6192 | |
ac_cs_awk_cr='\\r'
|
|
5479 |
ac_cs_awk_cr='\r'
|
6193 | 5480 |
else
|
6194 | 5481 |
ac_cs_awk_cr=$ac_cr
|
6195 | 5482 |
fi
|
|
6203 | 5490 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
6204 | 5491 |
echo "_ACEOF"
|
6205 | 5492 |
} >conf$$subs.sh ||
|
6206 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6207 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6208 | |
{ (exit 1); exit 1; }; }
|
|
5493 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6209 | 5494 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
6210 | 5495 |
ac_delim='%!_!# '
|
6211 | 5496 |
for ac_last_try in false false false false false :; do
|
6212 | 5497 |
. ./conf$$subs.sh ||
|
6213 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6214 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6215 | |
{ (exit 1); exit 1; }; }
|
|
5498 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6216 | 5499 |
|
6217 | 5500 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
6218 | 5501 |
if test $ac_delim_n = $ac_delim_num; then
|
6219 | 5502 |
break
|
6220 | 5503 |
elif $ac_last_try; then
|
6221 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6222 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6223 | |
{ (exit 1); exit 1; }; }
|
|
5504 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6224 | 5505 |
else
|
6225 | 5506 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6226 | 5507 |
fi
|
|
6242 | 5523 |
t delim
|
6243 | 5524 |
:nl
|
6244 | 5525 |
h
|
6245 | |
s/\(.\{148\}\).*/\1/
|
|
5526 |
s/\(.\{148\}\)..*/\1/
|
6246 | 5527 |
t more1
|
6247 | 5528 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
6248 | 5529 |
p
|
|
6256 | 5537 |
t nl
|
6257 | 5538 |
:delim
|
6258 | 5539 |
h
|
6259 | |
s/\(.\{148\}\).*/\1/
|
|
5540 |
s/\(.\{148\}\)..*/\1/
|
6260 | 5541 |
t more2
|
6261 | 5542 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
6262 | 5543 |
p
|
|
6309 | 5590 |
else
|
6310 | 5591 |
cat
|
6311 | 5592 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
6312 | |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
6313 | |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
6314 | |
{ (exit 1); exit 1; }; }
|
|
5593 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
6315 | 5594 |
_ACEOF
|
6316 | 5595 |
|
6317 | 5596 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
6352 | 5631 |
if test -z "$ac_t"; then
|
6353 | 5632 |
break
|
6354 | 5633 |
elif $ac_last_try; then
|
6355 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
6356 | |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
6357 | |
{ (exit 1); exit 1; }; }
|
|
5634 |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
6358 | 5635 |
else
|
6359 | 5636 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6360 | 5637 |
fi
|
|
6439 | 5716 |
_ACAWK
|
6440 | 5717 |
_ACEOF
|
6441 | 5718 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6442 | |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
6443 | |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
6444 | |
{ (exit 1); exit 1; }; }
|
|
5719 |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
6445 | 5720 |
fi # test -n "$CONFIG_HEADERS"
|
6446 | 5721 |
|
6447 | 5722 |
|
|
6454 | 5729 |
esac
|
6455 | 5730 |
case $ac_mode$ac_tag in
|
6456 | 5731 |
:[FHL]*:*);;
|
6457 | |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
6458 | |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
6459 | |
{ (exit 1); exit 1; }; };;
|
|
5732 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
6460 | 5733 |
:[FH]-) ac_tag=-:-;;
|
6461 | 5734 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
6462 | 5735 |
esac
|
|
6484 | 5757 |
[\\/$]*) false;;
|
6485 | 5758 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
6486 | 5759 |
esac ||
|
6487 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
6488 | |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
6489 | |
{ (exit 1); exit 1; }; };;
|
|
5760 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
6490 | 5761 |
esac
|
6491 | 5762 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
6492 | |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
5763 |
as_fn_append ac_file_inputs " '$ac_f'"
|
6493 | 5764 |
done
|
6494 | 5765 |
|
6495 | 5766 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
6500 | 5771 |
`' by configure.'
|
6501 | 5772 |
if test x"$ac_file" != x-; then
|
6502 | 5773 |
configure_input="$ac_file. $configure_input"
|
6503 | |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
5774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
6504 | 5775 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
6505 | 5776 |
fi
|
6506 | 5777 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
6513 | 5784 |
|
6514 | 5785 |
case $ac_tag in
|
6515 | 5786 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
6516 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6517 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6518 | |
{ (exit 1); exit 1; }; } ;;
|
|
5787 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
6519 | 5788 |
esac
|
6520 | 5789 |
;;
|
6521 | 5790 |
esac
|
|
6543 | 5812 |
q
|
6544 | 5813 |
}
|
6545 | 5814 |
s/.*/./; q'`
|
6546 | |
{ as_dir="$ac_dir"
|
6547 | |
case $as_dir in #(
|
6548 | |
-*) as_dir=./$as_dir;;
|
6549 | |
esac
|
6550 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6551 | |
as_dirs=
|
6552 | |
while :; do
|
6553 | |
case $as_dir in #(
|
6554 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
6555 | |
*) as_qdir=$as_dir;;
|
6556 | |
esac
|
6557 | |
as_dirs="'$as_qdir' $as_dirs"
|
6558 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
6559 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6560 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6561 | |
X"$as_dir" : 'X\(//\)$' \| \
|
6562 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6563 | |
$as_echo X"$as_dir" |
|
6564 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6565 | |
s//\1/
|
6566 | |
q
|
6567 | |
}
|
6568 | |
/^X\(\/\/\)[^/].*/{
|
6569 | |
s//\1/
|
6570 | |
q
|
6571 | |
}
|
6572 | |
/^X\(\/\/\)$/{
|
6573 | |
s//\1/
|
6574 | |
q
|
6575 | |
}
|
6576 | |
/^X\(\/\).*/{
|
6577 | |
s//\1/
|
6578 | |
q
|
6579 | |
}
|
6580 | |
s/.*/./; q'`
|
6581 | |
test -d "$as_dir" && break
|
6582 | |
done
|
6583 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6584 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6585 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6586 | |
{ (exit 1); exit 1; }; }; }
|
|
5815 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
6587 | 5816 |
ac_builddir=.
|
6588 | 5817 |
|
6589 | 5818 |
case "$ac_dir" in
|
|
6640 | 5869 |
# If the template does not know about datarootdir, expand it.
|
6641 | 5870 |
# FIXME: This hack should be removed a few years after 2.60.
|
6642 | 5871 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
6643 | |
|
6644 | 5872 |
ac_sed_dataroot='
|
6645 | 5873 |
/datarootdir/ {
|
6646 | 5874 |
p
|
|
6650 | 5878 |
/@docdir@/p
|
6651 | 5879 |
/@infodir@/p
|
6652 | 5880 |
/@localedir@/p
|
6653 | |
/@mandir@/p
|
6654 | |
'
|
|
5881 |
/@mandir@/p'
|
6655 | 5882 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
6656 | 5883 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
6657 | 5884 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
6658 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
5885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
6659 | 5886 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
6660 | 5887 |
_ACEOF
|
6661 | 5888 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6665 | 5892 |
s&@infodir@&$infodir&g
|
6666 | 5893 |
s&@localedir@&$localedir&g
|
6667 | 5894 |
s&@mandir@&$mandir&g
|
6668 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
5895 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
6669 | 5896 |
esac
|
6670 | 5897 |
_ACEOF
|
6671 | 5898 |
|
|
6694 | 5921 |
$ac_datarootdir_hack
|
6695 | 5922 |
"
|
6696 | 5923 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
6697 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6698 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6699 | |
{ (exit 1); exit 1; }; }
|
|
5924 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6700 | 5925 |
|
6701 | 5926 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
6702 | 5927 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
6703 | 5928 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
6704 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
5929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6705 | 5930 |
which seems to be undefined. Please make sure it is defined." >&5
|
6706 | 5931 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6707 | 5932 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
6711 | 5936 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
6712 | 5937 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
6713 | 5938 |
esac \
|
6714 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6715 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6716 | |
{ (exit 1); exit 1; }; }
|
|
5939 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6717 | 5940 |
;;
|
6718 | 5941 |
:H)
|
6719 | 5942 |
#
|
|
6724 | 5947 |
$as_echo "/* $configure_input */" \
|
6725 | 5948 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
6726 | 5949 |
} >"$tmp/config.h" \
|
6727 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6728 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6729 | |
{ (exit 1); exit 1; }; }
|
|
5950 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6730 | 5951 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
6731 | |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
5952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
6732 | 5953 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
6733 | 5954 |
else
|
6734 | 5955 |
rm -f "$ac_file"
|
6735 | 5956 |
mv "$tmp/config.h" "$ac_file" \
|
6736 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6737 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6738 | |
{ (exit 1); exit 1; }; }
|
|
5957 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6739 | 5958 |
fi
|
6740 | 5959 |
else
|
6741 | 5960 |
$as_echo "/* $configure_input */" \
|
6742 | 5961 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
6743 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
6744 | |
$as_echo "$as_me: error: could not create -" >&2;}
|
6745 | |
{ (exit 1); exit 1; }; }
|
|
5962 |
|| as_fn_error "could not create -" "$LINENO" 5
|
6746 | 5963 |
fi
|
6747 | 5964 |
# Compute "$ac_file"'s index in $config_headers.
|
6748 | 5965 |
_am_arg="$ac_file"
|
|
6780 | 5997 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
6781 | 5998 |
;;
|
6782 | 5999 |
|
6783 | |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
6000 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
6784 | 6001 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
6785 | 6002 |
;;
|
6786 | 6003 |
esac
|
6787 | 6004 |
|
6788 | 6005 |
|
6789 | 6006 |
case $ac_file$ac_mode in
|
6790 | |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
6791 | |
# Strip MF so we end up with the name of the file.
|
6792 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
6793 | |
# Check whether this is an Automake generated Makefile or not.
|
6794 | |
# We used to match only the files named `Makefile.in', but
|
6795 | |
# some people rename them; so instead we look at the file content.
|
6796 | |
# Grep'ing the first line is not enough: some people post-process
|
6797 | |
# each Makefile.in and add a new line on top of each file to say so.
|
6798 | |
# Grep'ing the whole file is not good either: AIX grep has a line
|
6799 | |
# limit of 2048, but all sed's we know have understand at least 4000.
|
6800 | |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
6801 | |
dirpart=`$as_dirname -- "$mf" ||
|
|
6007 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
6008 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
6009 |
# are listed without --file. Let's play safe and only enable the eval
|
|
6010 |
# if we detect the quoting.
|
|
6011 |
case $CONFIG_FILES in
|
|
6012 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
6013 |
*) set x $CONFIG_FILES ;;
|
|
6014 |
esac
|
|
6015 |
shift
|
|
6016 |
for mf
|
|
6017 |
do
|
|
6018 |
# Strip MF so we end up with the name of the file.
|
|
6019 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
6020 |
# Check whether this is an Automake generated Makefile or not.
|
|
6021 |
# We used to match only the files named `Makefile.in', but
|
|
6022 |
# some people rename them; so instead we look at the file content.
|
|
6023 |
# Grep'ing the first line is not enough: some people post-process
|
|
6024 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
6025 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
6026 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
6027 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
6028 |
dirpart=`$as_dirname -- "$mf" ||
|
6802 | 6029 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6803 | 6030 |
X"$mf" : 'X\(//\)[^/]' \| \
|
6804 | 6031 |
X"$mf" : 'X\(//\)$' \| \
|
|
6821 | 6048 |
q
|
6822 | 6049 |
}
|
6823 | 6050 |
s/.*/./; q'`
|
6824 | |
else
|
6825 | |
continue
|
6826 | |
fi
|
6827 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
6828 | |
# from the Makefile without running `make'.
|
6829 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
6830 | |
test -z "$DEPDIR" && continue
|
6831 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
6832 | |
test -z "am__include" && continue
|
6833 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
6834 | |
# When using ansi2knr, U may be empty or an underscore; expand it
|
6835 | |
U=`sed -n 's/^U = //p' < "$mf"`
|
6836 | |
# Find all dependency output files, they are included files with
|
6837 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
6838 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
6839 | |
# expansion.
|
6840 | |
for file in `sed -n "
|
6841 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
6842 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
6843 | |
# Make sure the directory exists.
|
6844 | |
test -f "$dirpart/$file" && continue
|
6845 | |
fdir=`$as_dirname -- "$file" ||
|
|
6051 |
else
|
|
6052 |
continue
|
|
6053 |
fi
|
|
6054 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
6055 |
# from the Makefile without running `make'.
|
|
6056 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
6057 |
test -z "$DEPDIR" && continue
|
|
6058 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
6059 |
test -z "am__include" && continue
|
|
6060 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
6061 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
6062 |
U=`sed -n 's/^U = //p' < "$mf"`
|
|
6063 |
# Find all dependency output files, they are included files with
|
|
6064 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
6065 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
6066 |
# expansion.
|
|
6067 |
for file in `sed -n "
|
|
6068 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
6069 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
6070 |
# Make sure the directory exists.
|
|
6071 |
test -f "$dirpart/$file" && continue
|
|
6072 |
fdir=`$as_dirname -- "$file" ||
|
6846 | 6073 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6847 | 6074 |
X"$file" : 'X\(//\)[^/]' \| \
|
6848 | 6075 |
X"$file" : 'X\(//\)$' \| \
|
|
6865 | 6092 |
q
|
6866 | 6093 |
}
|
6867 | 6094 |
s/.*/./; q'`
|
6868 | |
{ as_dir=$dirpart/$fdir
|
6869 | |
case $as_dir in #(
|
6870 | |
-*) as_dir=./$as_dir;;
|
6871 | |
esac
|
6872 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6873 | |
as_dirs=
|
6874 | |
while :; do
|
6875 | |
case $as_dir in #(
|
6876 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
6877 | |
*) as_qdir=$as_dir;;
|
6878 | |
esac
|
6879 | |
as_dirs="'$as_qdir' $as_dirs"
|
6880 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
6881 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6882 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6883 | |
X"$as_dir" : 'X\(//\)$' \| \
|
6884 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6885 | |
$as_echo X"$as_dir" |
|
6886 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6887 | |
s//\1/
|
6888 | |
q
|
6889 | |
}
|
6890 | |
/^X\(\/\/\)[^/].*/{
|
6891 | |
s//\1/
|
6892 | |
q
|
6893 | |
}
|
6894 | |
/^X\(\/\/\)$/{
|
6895 | |
s//\1/
|
6896 | |
q
|
6897 | |
}
|
6898 | |
/^X\(\/\).*/{
|
6899 | |
s//\1/
|
6900 | |
q
|
6901 | |
}
|
6902 | |
s/.*/./; q'`
|
6903 | |
test -d "$as_dir" && break
|
|
6095 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
6096 |
# echo "creating $dirpart/$file"
|
|
6097 |
echo '# dummy' > "$dirpart/$file"
|
6904 | 6098 |
done
|
6905 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6906 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6907 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6908 | |
{ (exit 1); exit 1; }; }; }
|
6909 | |
# echo "creating $dirpart/$file"
|
6910 | |
echo '# dummy' > "$dirpart/$file"
|
6911 | 6099 |
done
|
6912 | |
done
|
|
6100 |
}
|
6913 | 6101 |
;;
|
6914 | 6102 |
|
6915 | 6103 |
esac
|
6916 | 6104 |
done # for ac_tag
|
6917 | 6105 |
|
6918 | 6106 |
|
6919 | |
{ (exit 0); exit 0; }
|
6920 | |
_ACEOF
|
6921 | |
chmod +x $CONFIG_STATUS
|
|
6107 |
as_fn_exit 0
|
|
6108 |
_ACEOF
|
6922 | 6109 |
ac_clean_files=$ac_clean_files_save
|
6923 | 6110 |
|
6924 | 6111 |
test $ac_write_fail = 0 ||
|
6925 | |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
6926 | |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
6927 | |
{ (exit 1); exit 1; }; }
|
|
6112 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
6928 | 6113 |
|
6929 | 6114 |
|
6930 | 6115 |
# configure is writing to config.log, and then calls config.status.
|
|
6945 | 6130 |
exec 5>>config.log
|
6946 | 6131 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6947 | 6132 |
# would make configure fail if this is the last instruction.
|
6948 | |
$ac_cs_success || { (exit 1); exit 1; }
|
|
6133 |
$ac_cs_success || as_fn_exit $?
|
6949 | 6134 |
fi
|
6950 | 6135 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
6951 | |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
6136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
6952 | 6137 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
6953 | 6138 |
fi
|
6954 | 6139 |
|