0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.59.
|
|
2 |
# Generated by GNU Autoconf 2.60.
|
3 | 3 |
#
|
4 | |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
4 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
5 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
5 | 6 |
# This configure script is free software; the Free Software Foundation
|
6 | 7 |
# gives unlimited permission to copy, distribute and modify it.
|
7 | 8 |
## --------------------- ##
|
|
15 | 16 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
16 | 17 |
# is contrary to our usage. Disable this feature.
|
17 | 18 |
alias -g '${1+"$@"}'='"$@"'
|
18 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
19 | |
set -o posix
|
20 | |
fi
|
|
19 |
setopt NO_GLOB_SUBST
|
|
20 |
else
|
|
21 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
|
22 |
fi
|
|
23 |
BIN_SH=xpg4; export BIN_SH # for Tru64
|
21 | 24 |
DUALCASE=1; export DUALCASE # for MKS sh
|
22 | 25 |
|
23 | |
# Support unset when possible.
|
24 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
25 | |
as_unset=unset
|
26 | |
else
|
27 | |
as_unset=false
|
28 | |
fi
|
29 | |
|
30 | |
|
31 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
32 | |
$as_unset ENV MAIL MAILPATH
|
33 | |
PS1='$ '
|
34 | |
PS2='> '
|
35 | |
PS4='+ '
|
36 | |
|
37 | |
# NLS nuisances.
|
38 | |
for as_var in \
|
39 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
40 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
41 | |
LC_TELEPHONE LC_TIME
|
42 | |
do
|
43 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
44 | |
eval $as_var=C; export $as_var
|
45 | |
else
|
46 | |
$as_unset $as_var
|
47 | |
fi
|
48 | |
done
|
49 | |
|
50 | |
# Required to use basename.
|
51 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
52 | |
as_expr=expr
|
53 | |
else
|
54 | |
as_expr=false
|
55 | |
fi
|
56 | |
|
57 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
58 | |
as_basename=basename
|
59 | |
else
|
60 | |
as_basename=false
|
61 | |
fi
|
62 | |
|
63 | |
|
64 | |
# Name of the executable.
|
65 | |
as_me=`$as_basename "$0" ||
|
66 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
67 | |
X"$0" : 'X\(//\)$' \| \
|
68 | |
X"$0" : 'X\(/\)$' \| \
|
69 | |
. : '\(.\)' 2>/dev/null ||
|
70 | |
echo X/"$0" |
|
71 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
72 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
73 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
74 | |
s/.*/./; q'`
|
75 | |
|
76 | |
|
77 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
26 |
|
|
27 |
# PATH needs CR
|
78 | 28 |
# Avoid depending upon Character Ranges.
|
79 | 29 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
80 | 30 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
95 | 45 |
rm -f conf$$.sh
|
96 | 46 |
fi
|
97 | 47 |
|
98 | |
|
99 | |
as_lineno_1=$LINENO
|
100 | |
as_lineno_2=$LINENO
|
101 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
102 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
103 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
104 | |
# Find who we are. Look in the path if we contain no path at all
|
105 | |
# relative or not.
|
106 | |
case $0 in
|
107 | |
*[\\/]* ) as_myself=$0 ;;
|
108 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
48 |
# Support unset when possible.
|
|
49 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
50 |
as_unset=unset
|
|
51 |
else
|
|
52 |
as_unset=false
|
|
53 |
fi
|
|
54 |
|
|
55 |
|
|
56 |
# IFS
|
|
57 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
58 |
# there to prevent editors from complaining about space-tab.
|
|
59 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
60 |
# splitting by setting IFS to empty value.)
|
|
61 |
as_nl='
|
|
62 |
'
|
|
63 |
IFS=" "" $as_nl"
|
|
64 |
|
|
65 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
66 |
case $0 in
|
|
67 |
*[\\/]* ) as_myself=$0 ;;
|
|
68 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
109 | 69 |
for as_dir in $PATH
|
110 | 70 |
do
|
111 | 71 |
IFS=$as_save_IFS
|
112 | 72 |
test -z "$as_dir" && as_dir=.
|
113 | 73 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
114 | 74 |
done
|
115 | |
|
116 | |
;;
|
117 | |
esac
|
118 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
119 | |
# in which case we are not to be found in the path.
|
120 | |
if test "x$as_myself" = x; then
|
121 | |
as_myself=$0
|
|
75 |
IFS=$as_save_IFS
|
|
76 |
|
|
77 |
;;
|
|
78 |
esac
|
|
79 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
80 |
# in which case we are not to be found in the path.
|
|
81 |
if test "x$as_myself" = x; then
|
|
82 |
as_myself=$0
|
|
83 |
fi
|
|
84 |
if test ! -f "$as_myself"; then
|
|
85 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
86 |
{ (exit 1); exit 1; }
|
|
87 |
fi
|
|
88 |
|
|
89 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
90 |
for as_var in ENV MAIL MAILPATH
|
|
91 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
92 |
done
|
|
93 |
PS1='$ '
|
|
94 |
PS2='> '
|
|
95 |
PS4='+ '
|
|
96 |
|
|
97 |
# NLS nuisances.
|
|
98 |
for as_var in \
|
|
99 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
100 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
101 |
LC_TELEPHONE LC_TIME
|
|
102 |
do
|
|
103 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
104 |
eval $as_var=C; export $as_var
|
|
105 |
else
|
|
106 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
122 | 107 |
fi
|
123 | |
if test ! -f "$as_myself"; then
|
124 | |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
125 | |
{ (exit 1); exit 1; }; }
|
126 | |
fi
|
127 | |
case $CONFIG_SHELL in
|
128 | |
'')
|
|
108 |
done
|
|
109 |
|
|
110 |
# Required to use basename.
|
|
111 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
112 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
113 |
as_expr=expr
|
|
114 |
else
|
|
115 |
as_expr=false
|
|
116 |
fi
|
|
117 |
|
|
118 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
119 |
as_basename=basename
|
|
120 |
else
|
|
121 |
as_basename=false
|
|
122 |
fi
|
|
123 |
|
|
124 |
|
|
125 |
# Name of the executable.
|
|
126 |
as_me=`$as_basename -- "$0" ||
|
|
127 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
128 |
X"$0" : 'X\(//\)$' \| \
|
|
129 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
130 |
echo X/"$0" |
|
|
131 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
132 |
s//\1/
|
|
133 |
q
|
|
134 |
}
|
|
135 |
/^X\/\(\/\/\)$/{
|
|
136 |
s//\1/
|
|
137 |
q
|
|
138 |
}
|
|
139 |
/^X\/\(\/\).*/{
|
|
140 |
s//\1/
|
|
141 |
q
|
|
142 |
}
|
|
143 |
s/.*/./; q'`
|
|
144 |
|
|
145 |
# CDPATH.
|
|
146 |
$as_unset CDPATH
|
|
147 |
|
|
148 |
|
|
149 |
if test "x$CONFIG_SHELL" = x; then
|
|
150 |
if (eval ":") 2>/dev/null; then
|
|
151 |
as_have_required=yes
|
|
152 |
else
|
|
153 |
as_have_required=no
|
|
154 |
fi
|
|
155 |
|
|
156 |
if test $as_have_required = yes && (eval ":
|
|
157 |
(as_func_return () {
|
|
158 |
(exit \$1)
|
|
159 |
}
|
|
160 |
as_func_success () {
|
|
161 |
as_func_return 0
|
|
162 |
}
|
|
163 |
as_func_failure () {
|
|
164 |
as_func_return 1
|
|
165 |
}
|
|
166 |
as_func_ret_success () {
|
|
167 |
return 0
|
|
168 |
}
|
|
169 |
as_func_ret_failure () {
|
|
170 |
return 1
|
|
171 |
}
|
|
172 |
|
|
173 |
exitcode=0
|
|
174 |
if as_func_success; then
|
|
175 |
:
|
|
176 |
else
|
|
177 |
exitcode=1
|
|
178 |
echo as_func_success failed.
|
|
179 |
fi
|
|
180 |
|
|
181 |
if as_func_failure; then
|
|
182 |
exitcode=1
|
|
183 |
echo as_func_failure succeeded.
|
|
184 |
fi
|
|
185 |
|
|
186 |
if as_func_ret_success; then
|
|
187 |
:
|
|
188 |
else
|
|
189 |
exitcode=1
|
|
190 |
echo as_func_ret_success failed.
|
|
191 |
fi
|
|
192 |
|
|
193 |
if as_func_ret_failure; then
|
|
194 |
exitcode=1
|
|
195 |
echo as_func_ret_failure succeeded.
|
|
196 |
fi
|
|
197 |
|
|
198 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
199 |
:
|
|
200 |
else
|
|
201 |
exitcode=1
|
|
202 |
echo positional parameters were not saved.
|
|
203 |
fi
|
|
204 |
|
|
205 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
206 |
|
|
207 |
(
|
|
208 |
as_lineno_1=\$LINENO
|
|
209 |
as_lineno_2=\$LINENO
|
|
210 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
211 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
212 |
") 2> /dev/null; then
|
|
213 |
:
|
|
214 |
else
|
|
215 |
as_candidate_shells=
|
129 | 216 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
130 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
217 |
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
131 | 218 |
do
|
132 | 219 |
IFS=$as_save_IFS
|
133 | 220 |
test -z "$as_dir" && as_dir=.
|
134 | |
for as_base in sh bash ksh sh5; do
|
135 | |
case $as_dir in
|
|
221 |
case $as_dir in
|
136 | 222 |
/*)
|
137 | |
if ("$as_dir/$as_base" -c '
|
|
223 |
for as_base in sh bash ksh sh5; do
|
|
224 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
225 |
done;;
|
|
226 |
esac
|
|
227 |
done
|
|
228 |
IFS=$as_save_IFS
|
|
229 |
|
|
230 |
|
|
231 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
232 |
# Try only shells that exist, to save several forks.
|
|
233 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
234 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
235 |
# Be Bourne compatible
|
|
236 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
237 |
emulate sh
|
|
238 |
NULLCMD=:
|
|
239 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
240 |
# is contrary to our usage. Disable this feature.
|
|
241 |
alias -g '${1+"$@"}'='"$@"'
|
|
242 |
setopt NO_GLOB_SUBST
|
|
243 |
else
|
|
244 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
|
245 |
fi
|
|
246 |
BIN_SH=xpg4; export BIN_SH # for Tru64
|
|
247 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
248 |
|
|
249 |
:
|
|
250 |
_ASEOF
|
|
251 |
}; then
|
|
252 |
CONFIG_SHELL=$as_shell
|
|
253 |
as_have_required=yes
|
|
254 |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
255 |
# Be Bourne compatible
|
|
256 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
257 |
emulate sh
|
|
258 |
NULLCMD=:
|
|
259 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
260 |
# is contrary to our usage. Disable this feature.
|
|
261 |
alias -g '${1+"$@"}'='"$@"'
|
|
262 |
setopt NO_GLOB_SUBST
|
|
263 |
else
|
|
264 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
|
265 |
fi
|
|
266 |
BIN_SH=xpg4; export BIN_SH # for Tru64
|
|
267 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
268 |
|
|
269 |
:
|
|
270 |
(as_func_return () {
|
|
271 |
(exit $1)
|
|
272 |
}
|
|
273 |
as_func_success () {
|
|
274 |
as_func_return 0
|
|
275 |
}
|
|
276 |
as_func_failure () {
|
|
277 |
as_func_return 1
|
|
278 |
}
|
|
279 |
as_func_ret_success () {
|
|
280 |
return 0
|
|
281 |
}
|
|
282 |
as_func_ret_failure () {
|
|
283 |
return 1
|
|
284 |
}
|
|
285 |
|
|
286 |
exitcode=0
|
|
287 |
if as_func_success; then
|
|
288 |
:
|
|
289 |
else
|
|
290 |
exitcode=1
|
|
291 |
echo as_func_success failed.
|
|
292 |
fi
|
|
293 |
|
|
294 |
if as_func_failure; then
|
|
295 |
exitcode=1
|
|
296 |
echo as_func_failure succeeded.
|
|
297 |
fi
|
|
298 |
|
|
299 |
if as_func_ret_success; then
|
|
300 |
:
|
|
301 |
else
|
|
302 |
exitcode=1
|
|
303 |
echo as_func_ret_success failed.
|
|
304 |
fi
|
|
305 |
|
|
306 |
if as_func_ret_failure; then
|
|
307 |
exitcode=1
|
|
308 |
echo as_func_ret_failure succeeded.
|
|
309 |
fi
|
|
310 |
|
|
311 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
312 |
:
|
|
313 |
else
|
|
314 |
exitcode=1
|
|
315 |
echo positional parameters were not saved.
|
|
316 |
fi
|
|
317 |
|
|
318 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
319 |
|
|
320 |
(
|
138 | 321 |
as_lineno_1=$LINENO
|
139 | 322 |
as_lineno_2=$LINENO
|
140 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
141 | 323 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
142 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
143 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
144 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
145 | |
CONFIG_SHELL=$as_dir/$as_base
|
146 | |
export CONFIG_SHELL
|
147 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
148 | |
fi;;
|
149 | |
esac
|
150 | |
done
|
151 | |
done
|
152 | |
;;
|
153 | |
esac
|
|
324 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
325 |
|
|
326 |
_ASEOF
|
|
327 |
}; then
|
|
328 |
break
|
|
329 |
fi
|
|
330 |
|
|
331 |
fi
|
|
332 |
|
|
333 |
done
|
|
334 |
|
|
335 |
if test "x$CONFIG_SHELL" != x; then
|
|
336 |
for as_var in BASH_ENV ENV
|
|
337 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
338 |
done
|
|
339 |
export CONFIG_SHELL
|
|
340 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
341 |
fi
|
|
342 |
|
|
343 |
|
|
344 |
if test $as_have_required = no; then
|
|
345 |
echo This script requires a shell more modern than all the
|
|
346 |
echo shells that I found on your system. Please install a
|
|
347 |
echo modern shell, or manually run the script under such a
|
|
348 |
echo shell if you do have one.
|
|
349 |
{ (exit 1); exit 1; }
|
|
350 |
fi
|
|
351 |
|
|
352 |
|
|
353 |
fi
|
|
354 |
|
|
355 |
fi
|
|
356 |
|
|
357 |
|
|
358 |
|
|
359 |
(eval "as_func_return () {
|
|
360 |
(exit \$1)
|
|
361 |
}
|
|
362 |
as_func_success () {
|
|
363 |
as_func_return 0
|
|
364 |
}
|
|
365 |
as_func_failure () {
|
|
366 |
as_func_return 1
|
|
367 |
}
|
|
368 |
as_func_ret_success () {
|
|
369 |
return 0
|
|
370 |
}
|
|
371 |
as_func_ret_failure () {
|
|
372 |
return 1
|
|
373 |
}
|
|
374 |
|
|
375 |
exitcode=0
|
|
376 |
if as_func_success; then
|
|
377 |
:
|
|
378 |
else
|
|
379 |
exitcode=1
|
|
380 |
echo as_func_success failed.
|
|
381 |
fi
|
|
382 |
|
|
383 |
if as_func_failure; then
|
|
384 |
exitcode=1
|
|
385 |
echo as_func_failure succeeded.
|
|
386 |
fi
|
|
387 |
|
|
388 |
if as_func_ret_success; then
|
|
389 |
:
|
|
390 |
else
|
|
391 |
exitcode=1
|
|
392 |
echo as_func_ret_success failed.
|
|
393 |
fi
|
|
394 |
|
|
395 |
if as_func_ret_failure; then
|
|
396 |
exitcode=1
|
|
397 |
echo as_func_ret_failure succeeded.
|
|
398 |
fi
|
|
399 |
|
|
400 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
401 |
:
|
|
402 |
else
|
|
403 |
exitcode=1
|
|
404 |
echo positional parameters were not saved.
|
|
405 |
fi
|
|
406 |
|
|
407 |
test \$exitcode = 0") || {
|
|
408 |
echo No shell found that supports shell functions.
|
|
409 |
echo Please tell autoconf@gnu.org about your system,
|
|
410 |
echo including any error possibly output before this
|
|
411 |
echo message
|
|
412 |
}
|
|
413 |
|
|
414 |
|
|
415 |
|
|
416 |
as_lineno_1=$LINENO
|
|
417 |
as_lineno_2=$LINENO
|
|
418 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
419 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
154 | 420 |
|
155 | 421 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
156 | 422 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
157 | |
# line-number line before each line; the second 'sed' does the real
|
158 | |
# work. The second script uses 'N' to pair each line-number line
|
159 | |
# with the numbered line, and appends trailing '-' during
|
160 | |
# substitution so that $LINENO is not a special case at line end.
|
|
423 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
424 |
# does the real work. The second script uses 'N' to pair each
|
|
425 |
# line-number line with the line containing $LINENO, and appends
|
|
426 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
427 |
# case at line end.
|
161 | 428 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
162 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
163 | |
sed '=' <$as_myself |
|
|
429 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
430 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
431 |
sed -n '
|
|
432 |
p
|
|
433 |
/[$]LINENO/=
|
|
434 |
' <$as_myself |
|
164 | 435 |
sed '
|
|
436 |
s/[$]LINENO.*/&-/
|
|
437 |
t lineno
|
|
438 |
b
|
|
439 |
:lineno
|
165 | 440 |
N
|
166 | |
s,$,-,
|
167 | |
: loop
|
168 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
441 |
:loop
|
|
442 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
169 | 443 |
t loop
|
170 | |
s,-$,,
|
171 | |
s,^['$as_cr_digits']*\n,,
|
|
444 |
s/-\n.*//
|
172 | 445 |
' >$as_me.lineno &&
|
173 | |
chmod +x $as_me.lineno ||
|
|
446 |
chmod +x "$as_me.lineno" ||
|
174 | 447 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
175 | 448 |
{ (exit 1); exit 1; }; }
|
176 | 449 |
|
177 | 450 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
178 | 451 |
# (the dirname of $[0] is not the place where we might find the
|
179 | |
# original and so on. Autoconf is especially sensible to this).
|
180 | |
. ./$as_me.lineno
|
|
452 |
# original and so on. Autoconf is especially sensitive to this).
|
|
453 |
. "./$as_me.lineno"
|
181 | 454 |
# Exit status is that of the last command.
|
182 | 455 |
exit
|
183 | 456 |
}
|
184 | 457 |
|
185 | 458 |
|
186 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
187 | |
*c*,-n*) ECHO_N= ECHO_C='
|
188 | |
' ECHO_T=' ' ;;
|
189 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
190 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
191 | |
esac
|
192 | |
|
193 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
459 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
460 |
as_dirname=dirname
|
|
461 |
else
|
|
462 |
as_dirname=false
|
|
463 |
fi
|
|
464 |
|
|
465 |
ECHO_C= ECHO_N= ECHO_T=
|
|
466 |
case `echo -n x` in
|
|
467 |
-n*)
|
|
468 |
case `echo 'x\c'` in
|
|
469 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
470 |
*) ECHO_C='\c';;
|
|
471 |
esac;;
|
|
472 |
*)
|
|
473 |
ECHO_N='-n';;
|
|
474 |
esac
|
|
475 |
|
|
476 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
477 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
194 | 478 |
as_expr=expr
|
195 | 479 |
else
|
196 | 480 |
as_expr=false
|
197 | 481 |
fi
|
198 | 482 |
|
199 | 483 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
484 |
if test -d conf$$.dir; then
|
|
485 |
rm -f conf$$.dir/conf$$.file
|
|
486 |
else
|
|
487 |
rm -f conf$$.dir
|
|
488 |
mkdir conf$$.dir
|
|
489 |
fi
|
200 | 490 |
echo >conf$$.file
|
201 | 491 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
202 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
203 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
204 | |
if test -f conf$$.exe; then
|
205 | |
# Don't use ln at all; we don't have any links
|
|
492 |
as_ln_s='ln -s'
|
|
493 |
# ... but there are two gotchas:
|
|
494 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
495 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
496 |
# In both cases, we have to default to `cp -p'.
|
|
497 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
206 | 498 |
as_ln_s='cp -p'
|
207 | |
else
|
208 | |
as_ln_s='ln -s'
|
209 | |
fi
|
210 | 499 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
211 | 500 |
as_ln_s=ln
|
212 | 501 |
else
|
213 | 502 |
as_ln_s='cp -p'
|
214 | 503 |
fi
|
215 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
504 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
505 |
rmdir conf$$.dir 2>/dev/null
|
216 | 506 |
|
217 | 507 |
if mkdir -p . 2>/dev/null; then
|
218 | 508 |
as_mkdir_p=:
|
|
221 | 511 |
as_mkdir_p=false
|
222 | 512 |
fi
|
223 | 513 |
|
224 | |
as_executable_p="test -f"
|
|
514 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
|
|
515 |
# systems may use methods other than mode bits to determine executability.
|
|
516 |
cat >conf$$.file <<_ASEOF
|
|
517 |
#! /bin/sh
|
|
518 |
exit 0
|
|
519 |
_ASEOF
|
|
520 |
chmod +x conf$$.file
|
|
521 |
if test -x conf$$.file >/dev/null 2>&1; then
|
|
522 |
as_executable_p="test -x"
|
|
523 |
else
|
|
524 |
as_executable_p=:
|
|
525 |
fi
|
|
526 |
rm -f conf$$.file
|
225 | 527 |
|
226 | 528 |
# Sed expression to map a string onto a valid CPP name.
|
227 | 529 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
230 | 532 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
231 | 533 |
|
232 | 534 |
|
233 | |
# IFS
|
234 | |
# We need space, tab and new line, in precisely that order.
|
235 | |
as_nl='
|
236 | |
'
|
237 | |
IFS=" $as_nl"
|
238 | |
|
239 | |
# CDPATH.
|
240 | |
$as_unset CDPATH
|
241 | |
|
|
535 |
|
|
536 |
exec 7<&0 </dev/null 6>&1
|
242 | 537 |
|
243 | 538 |
# Name of the host.
|
244 | 539 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
245 | 540 |
# so uname gets run too.
|
246 | 541 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
247 | 542 |
|
248 | |
exec 6>&1
|
249 | |
|
250 | 543 |
#
|
251 | 544 |
# Initializations.
|
252 | 545 |
#
|
253 | 546 |
ac_default_prefix=/usr/local
|
|
547 |
ac_clean_files=
|
254 | 548 |
ac_config_libobj_dir=.
|
|
549 |
LIBOBJS=
|
255 | 550 |
cross_compiling=no
|
256 | 551 |
subdirs=
|
257 | 552 |
MFLAGS=
|
258 | 553 |
MAKEFLAGS=
|
259 | 554 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
260 | |
|
261 | |
# Maximum number of lines to put in a shell here document.
|
262 | |
# This variable seems obsolete. It should probably be removed, and
|
263 | |
# only ac_max_sed_lines should be used.
|
264 | |
: ${ac_max_here_lines=38}
|
265 | 555 |
|
266 | 556 |
# Identity of this package.
|
267 | 557 |
PACKAGE_NAME=
|
|
299 | 589 |
#endif
|
300 | 590 |
#if HAVE_INTTYPES_H
|
301 | 591 |
# include <inttypes.h>
|
302 | |
#else
|
303 | |
# if HAVE_STDINT_H
|
304 | |
# include <stdint.h>
|
305 | |
# endif
|
|
592 |
#endif
|
|
593 |
#if HAVE_STDINT_H
|
|
594 |
# include <stdint.h>
|
306 | 595 |
#endif
|
307 | 596 |
#if HAVE_UNISTD_H
|
308 | 597 |
# include <unistd.h>
|
309 | 598 |
#endif"
|
310 | 599 |
|
311 | |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP EGREP CXXCPP LIBOBJS LTLIBOBJS'
|
|
600 |
ac_subst_vars='SHELL
|
|
601 |
PATH_SEPARATOR
|
|
602 |
PACKAGE_NAME
|
|
603 |
PACKAGE_TARNAME
|
|
604 |
PACKAGE_VERSION
|
|
605 |
PACKAGE_STRING
|
|
606 |
PACKAGE_BUGREPORT
|
|
607 |
exec_prefix
|
|
608 |
prefix
|
|
609 |
program_transform_name
|
|
610 |
bindir
|
|
611 |
sbindir
|
|
612 |
libexecdir
|
|
613 |
datarootdir
|
|
614 |
datadir
|
|
615 |
sysconfdir
|
|
616 |
sharedstatedir
|
|
617 |
localstatedir
|
|
618 |
includedir
|
|
619 |
oldincludedir
|
|
620 |
docdir
|
|
621 |
infodir
|
|
622 |
htmldir
|
|
623 |
dvidir
|
|
624 |
pdfdir
|
|
625 |
psdir
|
|
626 |
libdir
|
|
627 |
localedir
|
|
628 |
mandir
|
|
629 |
DEFS
|
|
630 |
ECHO_C
|
|
631 |
ECHO_N
|
|
632 |
ECHO_T
|
|
633 |
LIBS
|
|
634 |
build_alias
|
|
635 |
host_alias
|
|
636 |
target_alias
|
|
637 |
INSTALL_PROGRAM
|
|
638 |
INSTALL_SCRIPT
|
|
639 |
INSTALL_DATA
|
|
640 |
PACKAGE
|
|
641 |
VERSION
|
|
642 |
ACLOCAL
|
|
643 |
AUTOCONF
|
|
644 |
AUTOMAKE
|
|
645 |
AUTOHEADER
|
|
646 |
MAKEINFO
|
|
647 |
SET_MAKE
|
|
648 |
CXX
|
|
649 |
CXXFLAGS
|
|
650 |
LDFLAGS
|
|
651 |
CPPFLAGS
|
|
652 |
ac_ct_CXX
|
|
653 |
EXEEXT
|
|
654 |
OBJEXT
|
|
655 |
CC
|
|
656 |
CFLAGS
|
|
657 |
ac_ct_CC
|
|
658 |
CPP
|
|
659 |
GREP
|
|
660 |
EGREP
|
|
661 |
CXXCPP
|
|
662 |
LIBOBJS
|
|
663 |
LTLIBOBJS'
|
312 | 664 |
ac_subst_files=''
|
|
665 |
ac_precious_vars='build_alias
|
|
666 |
host_alias
|
|
667 |
target_alias
|
|
668 |
CXX
|
|
669 |
CXXFLAGS
|
|
670 |
LDFLAGS
|
|
671 |
CPPFLAGS
|
|
672 |
CCC
|
|
673 |
CC
|
|
674 |
CFLAGS
|
|
675 |
CPP
|
|
676 |
CXXCPP'
|
|
677 |
|
313 | 678 |
|
314 | 679 |
# Initialize some variables set by options.
|
315 | 680 |
ac_init_help=
|
|
336 | 701 |
# and all the variables that are supposed to be based on exec_prefix
|
337 | 702 |
# by default will actually change.
|
338 | 703 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
704 |
# (The list follows the same order as the GNU Coding Standards.)
|
339 | 705 |
bindir='${exec_prefix}/bin'
|
340 | 706 |
sbindir='${exec_prefix}/sbin'
|
341 | 707 |
libexecdir='${exec_prefix}/libexec'
|
342 | |
datadir='${prefix}/share'
|
|
708 |
datarootdir='${prefix}/share'
|
|
709 |
datadir='${datarootdir}'
|
343 | 710 |
sysconfdir='${prefix}/etc'
|
344 | 711 |
sharedstatedir='${prefix}/com'
|
345 | 712 |
localstatedir='${prefix}/var'
|
346 | |
libdir='${exec_prefix}/lib'
|
347 | 713 |
includedir='${prefix}/include'
|
348 | 714 |
oldincludedir='/usr/include'
|
349 | |
infodir='${prefix}/info'
|
350 | |
mandir='${prefix}/man'
|
|
715 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
716 |
infodir='${datarootdir}/info'
|
|
717 |
htmldir='${docdir}'
|
|
718 |
dvidir='${docdir}'
|
|
719 |
pdfdir='${docdir}'
|
|
720 |
psdir='${docdir}'
|
|
721 |
libdir='${exec_prefix}/lib'
|
|
722 |
localedir='${datarootdir}/locale'
|
|
723 |
mandir='${datarootdir}/man'
|
351 | 724 |
|
352 | 725 |
ac_prev=
|
|
726 |
ac_dashdash=
|
353 | 727 |
for ac_option
|
354 | 728 |
do
|
355 | 729 |
# If the previous option needs an argument, assign it.
|
356 | 730 |
if test -n "$ac_prev"; then
|
357 | |
eval "$ac_prev=\$ac_option"
|
|
731 |
eval $ac_prev=\$ac_option
|
358 | 732 |
ac_prev=
|
359 | 733 |
continue
|
360 | 734 |
fi
|
361 | 735 |
|
362 | |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
736 |
case $ac_option in
|
|
737 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
738 |
*) ac_optarg=yes ;;
|
|
739 |
esac
|
363 | 740 |
|
364 | 741 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
365 | 742 |
|
366 | |
case $ac_option in
|
|
743 |
case $ac_dashdash$ac_option in
|
|
744 |
--)
|
|
745 |
ac_dashdash=yes ;;
|
367 | 746 |
|
368 | 747 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
369 | 748 |
ac_prev=bindir ;;
|
|
385 | 764 |
--config-cache | -C)
|
386 | 765 |
cache_file=config.cache ;;
|
387 | 766 |
|
388 | |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
767 |
-datadir | --datadir | --datadi | --datad)
|
389 | 768 |
ac_prev=datadir ;;
|
390 | |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
391 | |
| --da=*)
|
|
769 |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
392 | 770 |
datadir=$ac_optarg ;;
|
|
771 |
|
|
772 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|
773 |
| --dataroo | --dataro | --datar)
|
|
774 |
ac_prev=datarootdir ;;
|
|
775 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|
776 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|
777 |
datarootdir=$ac_optarg ;;
|
393 | 778 |
|
394 | 779 |
-disable-* | --disable-*)
|
395 | 780 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
398 | 783 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
399 | 784 |
{ (exit 1); exit 1; }; }
|
400 | 785 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
401 | |
eval "enable_$ac_feature=no" ;;
|
|
786 |
eval enable_$ac_feature=no ;;
|
|
787 |
|
|
788 |
-docdir | --docdir | --docdi | --doc | --do)
|
|
789 |
ac_prev=docdir ;;
|
|
790 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|
791 |
docdir=$ac_optarg ;;
|
|
792 |
|
|
793 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|
794 |
ac_prev=dvidir ;;
|
|
795 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|
796 |
dvidir=$ac_optarg ;;
|
402 | 797 |
|
403 | 798 |
-enable-* | --enable-*)
|
404 | 799 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
407 | 802 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
408 | 803 |
{ (exit 1); exit 1; }; }
|
409 | 804 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
410 | |
case $ac_option in
|
411 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
412 | |
*) ac_optarg=yes ;;
|
413 | |
esac
|
414 | |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
805 |
eval enable_$ac_feature=\$ac_optarg ;;
|
415 | 806 |
|
416 | 807 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
417 | 808 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
438 | 829 |
-host=* | --host=* | --hos=* | --ho=*)
|
439 | 830 |
host_alias=$ac_optarg ;;
|
440 | 831 |
|
|
832 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|
833 |
ac_prev=htmldir ;;
|
|
834 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|
835 |
| --ht=*)
|
|
836 |
htmldir=$ac_optarg ;;
|
|
837 |
|
441 | 838 |
-includedir | --includedir | --includedi | --included | --include \
|
442 | 839 |
| --includ | --inclu | --incl | --inc)
|
443 | 840 |
ac_prev=includedir ;;
|
|
462 | 859 |
| --libexe=* | --libex=* | --libe=*)
|
463 | 860 |
libexecdir=$ac_optarg ;;
|
464 | 861 |
|
|
862 |
-localedir | --localedir | --localedi | --localed | --locale)
|
|
863 |
ac_prev=localedir ;;
|
|
864 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|
865 |
localedir=$ac_optarg ;;
|
|
866 |
|
465 | 867 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
466 | |
| --localstate | --localstat | --localsta | --localst \
|
467 | |
| --locals | --local | --loca | --loc | --lo)
|
|
868 |
| --localstate | --localstat | --localsta | --localst | --locals)
|
468 | 869 |
ac_prev=localstatedir ;;
|
469 | 870 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
470 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
471 | |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
871 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
472 | 872 |
localstatedir=$ac_optarg ;;
|
473 | 873 |
|
474 | 874 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
533 | 933 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
534 | 934 |
program_transform_name=$ac_optarg ;;
|
535 | 935 |
|
|
936 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|
937 |
ac_prev=pdfdir ;;
|
|
938 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|
939 |
pdfdir=$ac_optarg ;;
|
|
940 |
|
|
941 |
-psdir | --psdir | --psdi | --psd | --ps)
|
|
942 |
ac_prev=psdir ;;
|
|
943 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|
944 |
psdir=$ac_optarg ;;
|
|
945 |
|
536 | 946 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
537 | 947 |
| -silent | --silent | --silen | --sile | --sil)
|
538 | 948 |
silent=yes ;;
|
|
589 | 999 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
590 | 1000 |
{ (exit 1); exit 1; }; }
|
591 | 1001 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
592 | |
case $ac_option in
|
593 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
594 | |
*) ac_optarg=yes ;;
|
595 | |
esac
|
596 | |
eval "with_$ac_package='$ac_optarg'" ;;
|
|
1002 |
eval with_$ac_package=\$ac_optarg ;;
|
597 | 1003 |
|
598 | 1004 |
-without-* | --without-*)
|
599 | 1005 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
602 | 1008 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
603 | 1009 |
{ (exit 1); exit 1; }; }
|
604 | 1010 |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
605 | |
eval "with_$ac_package=no" ;;
|
|
1011 |
eval with_$ac_package=no ;;
|
606 | 1012 |
|
607 | 1013 |
--x)
|
608 | 1014 |
# Obsolete; use --with-x.
|
|
633 | 1039 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
634 | 1040 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
635 | 1041 |
{ (exit 1); exit 1; }; }
|
636 | |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
637 | |
eval "$ac_envvar='$ac_optarg'"
|
|
1042 |
eval $ac_envvar=\$ac_optarg
|
638 | 1043 |
export $ac_envvar ;;
|
639 | 1044 |
|
640 | 1045 |
*)
|
|
654 | 1059 |
{ (exit 1); exit 1; }; }
|
655 | 1060 |
fi
|
656 | 1061 |
|
657 | |
# Be sure to have absolute paths.
|
658 | |
for ac_var in exec_prefix prefix
|
|
1062 |
# Be sure to have absolute directory names.
|
|
1063 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
1064 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1065 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1066 |
libdir localedir mandir
|
659 | 1067 |
do
|
660 | |
eval ac_val=$`echo $ac_var`
|
|
1068 |
eval ac_val=\$$ac_var
|
661 | 1069 |
case $ac_val in
|
662 | |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
663 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
664 | |
{ (exit 1); exit 1; }; };;
|
|
1070 |
[\\/$]* | ?:[\\/]* ) continue;;
|
|
1071 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
665 | 1072 |
esac
|
666 | |
done
|
667 | |
|
668 | |
# Be sure to have absolute paths.
|
669 | |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
670 | |
localstatedir libdir includedir oldincludedir infodir mandir
|
671 | |
do
|
672 | |
eval ac_val=$`echo $ac_var`
|
673 | |
case $ac_val in
|
674 | |
[\\/$]* | ?:[\\/]* ) ;;
|
675 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
676 | |
{ (exit 1); exit 1; }; };;
|
677 | |
esac
|
|
1073 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
1074 |
{ (exit 1); exit 1; }; }
|
678 | 1075 |
done
|
679 | 1076 |
|
680 | 1077 |
# There might be people who depend on the old broken behavior: `$host'
|
|
701 | 1098 |
test "$silent" = yes && exec 6>/dev/null
|
702 | 1099 |
|
703 | 1100 |
|
|
1101 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|
1102 |
ac_ls_di=`ls -di .` &&
|
|
1103 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|
1104 |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
|
1105 |
{ (exit 1); exit 1; }; }
|
|
1106 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|
1107 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
|
1108 |
{ (exit 1); exit 1; }; }
|
|
1109 |
|
|
1110 |
|
704 | 1111 |
# Find the source files, if location was not specified.
|
705 | 1112 |
if test -z "$srcdir"; then
|
706 | 1113 |
ac_srcdir_defaulted=yes
|
707 | |
# Try the directory containing this script, then its parent.
|
708 | |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|
1114 |
# Try the directory containing this script, then the parent directory.
|
|
1115 |
ac_confdir=`$as_dirname -- "$0" ||
|
709 | 1116 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
710 | 1117 |
X"$0" : 'X\(//\)[^/]' \| \
|
711 | 1118 |
X"$0" : 'X\(//\)$' \| \
|
712 | |
X"$0" : 'X\(/\)' \| \
|
713 | |
. : '\(.\)' 2>/dev/null ||
|
|
1119 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
714 | 1120 |
echo X"$0" |
|
715 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
716 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
717 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
718 | |
/^X\(\/\).*/{ s//\1/; q; }
|
719 | |
s/.*/./; q'`
|
|
1121 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
1122 |
s//\1/
|
|
1123 |
q
|
|
1124 |
}
|
|
1125 |
/^X\(\/\/\)[^/].*/{
|
|
1126 |
s//\1/
|
|
1127 |
q
|
|
1128 |
}
|
|
1129 |
/^X\(\/\/\)$/{
|
|
1130 |
s//\1/
|
|
1131 |
q
|
|
1132 |
}
|
|
1133 |
/^X\(\/\).*/{
|
|
1134 |
s//\1/
|
|
1135 |
q
|
|
1136 |
}
|
|
1137 |
s/.*/./; q'`
|
720 | 1138 |
srcdir=$ac_confdir
|
721 | 1139 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
722 | 1140 |
srcdir=..
|
|
725 | 1143 |
ac_srcdir_defaulted=no
|
726 | 1144 |
fi
|
727 | 1145 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
728 | |
if test "$ac_srcdir_defaulted" = yes; then
|
729 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
|
1146 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|
1147 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
730 | 1148 |
{ (exit 1); exit 1; }; }
|
731 | |
else
|
732 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
1149 |
fi
|
|
1150 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|
1151 |
ac_abs_confdir=`(
|
|
1152 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
733 | 1153 |
{ (exit 1); exit 1; }; }
|
734 | |
fi
|
735 | |
fi
|
736 | |
(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
|
737 | |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
738 | |
{ (exit 1); exit 1; }; }
|
739 | |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
740 | |
ac_env_build_alias_set=${build_alias+set}
|
741 | |
ac_env_build_alias_value=$build_alias
|
742 | |
ac_cv_env_build_alias_set=${build_alias+set}
|
743 | |
ac_cv_env_build_alias_value=$build_alias
|
744 | |
ac_env_host_alias_set=${host_alias+set}
|
745 | |
ac_env_host_alias_value=$host_alias
|
746 | |
ac_cv_env_host_alias_set=${host_alias+set}
|
747 | |
ac_cv_env_host_alias_value=$host_alias
|
748 | |
ac_env_target_alias_set=${target_alias+set}
|
749 | |
ac_env_target_alias_value=$target_alias
|
750 | |
ac_cv_env_target_alias_set=${target_alias+set}
|
751 | |
ac_cv_env_target_alias_value=$target_alias
|
752 | |
ac_env_CXX_set=${CXX+set}
|
753 | |
ac_env_CXX_value=$CXX
|
754 | |
ac_cv_env_CXX_set=${CXX+set}
|
755 | |
ac_cv_env_CXX_value=$CXX
|
756 | |
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
757 | |
ac_env_CXXFLAGS_value=$CXXFLAGS
|
758 | |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
759 | |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
760 | |
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
761 | |
ac_env_LDFLAGS_value=$LDFLAGS
|
762 | |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
763 | |
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
764 | |
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
765 | |
ac_env_CPPFLAGS_value=$CPPFLAGS
|
766 | |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
767 | |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
768 | |
ac_env_CC_set=${CC+set}
|
769 | |
ac_env_CC_value=$CC
|
770 | |
ac_cv_env_CC_set=${CC+set}
|
771 | |
ac_cv_env_CC_value=$CC
|
772 | |
ac_env_CFLAGS_set=${CFLAGS+set}
|
773 | |
ac_env_CFLAGS_value=$CFLAGS
|
774 | |
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
775 | |
ac_cv_env_CFLAGS_value=$CFLAGS
|
776 | |
ac_env_CPP_set=${CPP+set}
|
777 | |
ac_env_CPP_value=$CPP
|
778 | |
ac_cv_env_CPP_set=${CPP+set}
|
779 | |
ac_cv_env_CPP_value=$CPP
|
780 | |
ac_env_CXXCPP_set=${CXXCPP+set}
|
781 | |
ac_env_CXXCPP_value=$CXXCPP
|
782 | |
ac_cv_env_CXXCPP_set=${CXXCPP+set}
|
783 | |
ac_cv_env_CXXCPP_value=$CXXCPP
|
|
1154 |
pwd)`
|
|
1155 |
# When building in place, set srcdir=.
|
|
1156 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1157 |
srcdir=.
|
|
1158 |
fi
|
|
1159 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1160 |
# Double slashes in file names in object file debugging info
|
|
1161 |
# mess up M-x gdb in Emacs.
|
|
1162 |
case $srcdir in
|
|
1163 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|
1164 |
esac
|
|
1165 |
for ac_var in $ac_precious_vars; do
|
|
1166 |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|
1167 |
eval ac_env_${ac_var}_value=\$${ac_var}
|
|
1168 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|
1169 |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|
1170 |
done
|
784 | 1171 |
|
785 | 1172 |
#
|
786 | 1173 |
# Report the --help message.
|
|
809 | 1196 |
-n, --no-create do not create output files
|
810 | 1197 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
811 | 1198 |
|
812 | |
_ACEOF
|
813 | |
|
814 | |
cat <<_ACEOF
|
815 | 1199 |
Installation directories:
|
816 | 1200 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
817 | 1201 |
[$ac_default_prefix]
|
|
829 | 1213 |
--bindir=DIR user executables [EPREFIX/bin]
|
830 | 1214 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
831 | 1215 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
832 | |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
833 | 1216 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
834 | 1217 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
835 | 1218 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
836 | 1219 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
837 | 1220 |
--includedir=DIR C header files [PREFIX/include]
|
838 | 1221 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
839 | |
--infodir=DIR info documentation [PREFIX/info]
|
840 | |
--mandir=DIR man documentation [PREFIX/man]
|
|
1222 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1223 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1224 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1225 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1226 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1227 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1228 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1229 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1230 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1231 |
--psdir=DIR ps documentation [DOCDIR]
|
841 | 1232 |
_ACEOF
|
842 | 1233 |
|
843 | 1234 |
cat <<\_ACEOF
|
|
858 | 1249 |
CXXFLAGS C++ compiler flags
|
859 | 1250 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
860 | 1251 |
nonstandard directory <lib dir>
|
861 | |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
862 | |
headers in a nonstandard directory <include dir>
|
|
1252 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1253 |
you have headers in a nonstandard directory <include dir>
|
863 | 1254 |
CC C compiler command
|
864 | 1255 |
CFLAGS C compiler flags
|
865 | 1256 |
CPP C preprocessor
|
|
869 | 1260 |
it to find libraries and programs with nonstandard names/locations.
|
870 | 1261 |
|
871 | 1262 |
_ACEOF
|
|
1263 |
ac_status=$?
|
872 | 1264 |
fi
|
873 | 1265 |
|
874 | 1266 |
if test "$ac_init_help" = "recursive"; then
|
875 | 1267 |
# If there are subdirs, report their specific --help.
|
876 | |
ac_popdir=`pwd`
|
877 | 1268 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
878 | |
test -d $ac_dir || continue
|
|
1269 |
test -d "$ac_dir" || continue
|
879 | 1270 |
ac_builddir=.
|
880 | 1271 |
|
881 | |
if test "$ac_dir" != .; then
|
|
1272 |
case "$ac_dir" in
|
|
1273 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1274 |
*)
|
882 | 1275 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
883 | |
# A "../" for each directory in $ac_dir_suffix.
|
884 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
885 | |
else
|
886 | |
ac_dir_suffix= ac_top_builddir=
|
887 | |
fi
|
|
1276 |
# A ".." for each directory in $ac_dir_suffix.
|
|
1277 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1278 |
case $ac_top_builddir_sub in
|
|
1279 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1280 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1281 |
esac ;;
|
|
1282 |
esac
|
|
1283 |
ac_abs_top_builddir=$ac_pwd
|
|
1284 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
1285 |
# for backward compatibility:
|
|
1286 |
ac_top_builddir=$ac_top_build_prefix
|
888 | 1287 |
|
889 | 1288 |
case $srcdir in
|
890 | |
.) # No --srcdir option. We are building in place.
|
|
1289 |
.) # We are building in place.
|
891 | 1290 |
ac_srcdir=.
|
892 | |
if test -z "$ac_top_builddir"; then
|
893 | |
ac_top_srcdir=.
|
894 | |
else
|
895 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
896 | |
fi ;;
|
897 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
1291 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
1292 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
1293 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
898 | 1294 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
899 | |
ac_top_srcdir=$srcdir ;;
|
900 | |
*) # Relative path.
|
901 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
902 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
903 | |
esac
|
904 | |
|
905 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
906 | |
# the directories may not exist.
|
907 | |
case `pwd` in
|
908 | |
.) ac_abs_builddir="$ac_dir";;
|
909 | |
*)
|
910 | |
case "$ac_dir" in
|
911 | |
.) ac_abs_builddir=`pwd`;;
|
912 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
913 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
914 | |
esac;;
|
915 | |
esac
|
916 | |
case $ac_abs_builddir in
|
917 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
918 | |
*)
|
919 | |
case ${ac_top_builddir}. in
|
920 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
921 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
922 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
923 | |
esac;;
|
924 | |
esac
|
925 | |
case $ac_abs_builddir in
|
926 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
927 | |
*)
|
928 | |
case $ac_srcdir in
|
929 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
930 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
931 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
932 | |
esac;;
|
933 | |
esac
|
934 | |
case $ac_abs_builddir in
|
935 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
936 | |
*)
|
937 | |
case $ac_top_srcdir in
|
938 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
939 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
940 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
941 | |
esac;;
|
942 | |
esac
|
943 | |
|
944 | |
cd $ac_dir
|
945 | |
# Check for guested configure; otherwise get Cygnus style configure.
|
946 | |
if test -f $ac_srcdir/configure.gnu; then
|
947 | |
echo
|
948 | |
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
949 | |
elif test -f $ac_srcdir/configure; then
|
950 | |
echo
|
951 | |
$SHELL $ac_srcdir/configure --help=recursive
|
952 | |
elif test -f $ac_srcdir/configure.ac ||
|
953 | |
test -f $ac_srcdir/configure.in; then
|
954 | |
echo
|
955 | |
$ac_configure --help
|
|
1295 |
ac_top_srcdir=$srcdir
|
|
1296 |
ac_abs_top_srcdir=$srcdir ;;
|
|
1297 |
*) # Relative name.
|
|
1298 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
1299 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
1300 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
1301 |
esac
|
|
1302 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1303 |
|
|
1304 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
|
1305 |
# Check for guested configure.
|
|
1306 |
if test -f "$ac_srcdir/configure.gnu"; then
|
|
1307 |
echo &&
|
|
1308 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1309 |
elif test -f "$ac_srcdir/configure"; then
|
|
1310 |
echo &&
|
|
1311 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
956 | 1312 |
else
|
957 | 1313 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
958 | |
fi
|
959 | |
cd $ac_popdir
|
|
1314 |
fi || ac_status=$?
|
|
1315 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
960 | 1316 |
done
|
961 | 1317 |
fi
|
962 | 1318 |
|
963 | |
test -n "$ac_init_help" && exit 0
|
|
1319 |
test -n "$ac_init_help" && exit $ac_status
|
964 | 1320 |
if $ac_init_version; then
|
965 | 1321 |
cat <<\_ACEOF
|
966 | |
|
967 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
1322 |
configure
|
|
1323 |
generated by GNU Autoconf 2.60
|
|
1324 |
|
|
1325 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1326 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
968 | 1327 |
This configure script is free software; the Free Software Foundation
|
969 | 1328 |
gives unlimited permission to copy, distribute and modify it.
|
970 | 1329 |
_ACEOF
|
971 | |
exit 0
|
972 | |
fi
|
973 | |
exec 5>config.log
|
974 | |
cat >&5 <<_ACEOF
|
|
1330 |
exit
|
|
1331 |
fi
|
|
1332 |
cat >config.log <<_ACEOF
|
975 | 1333 |
This file contains any messages produced by compilers while
|
976 | 1334 |
running configure, to aid debugging if configure makes a mistake.
|
977 | 1335 |
|
978 | 1336 |
It was created by $as_me, which was
|
979 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
1337 |
generated by GNU Autoconf 2.60. Invocation command line was
|
980 | 1338 |
|
981 | 1339 |
$ $0 $@
|
982 | 1340 |
|
983 | 1341 |
_ACEOF
|
|
1342 |
exec 5>>config.log
|
984 | 1343 |
{
|
985 | 1344 |
cat <<_ASUNAME
|
986 | 1345 |
## --------- ##
|
|
999 | 1358 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
1000 | 1359 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
1001 | 1360 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
1002 | |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
1361 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
1003 | 1362 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1004 | 1363 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
1005 | 1364 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1013 | 1372 |
test -z "$as_dir" && as_dir=.
|
1014 | 1373 |
echo "PATH: $as_dir"
|
1015 | 1374 |
done
|
|
1375 |
IFS=$as_save_IFS
|
1016 | 1376 |
|
1017 | 1377 |
} >&5
|
1018 | 1378 |
|
|
1034 | 1394 |
ac_configure_args=
|
1035 | 1395 |
ac_configure_args0=
|
1036 | 1396 |
ac_configure_args1=
|
1037 | |
ac_sep=
|
1038 | 1397 |
ac_must_keep_next=false
|
1039 | 1398 |
for ac_pass in 1 2
|
1040 | 1399 |
do
|
|
1045 | 1404 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1046 | 1405 |
| -silent | --silent | --silen | --sile | --sil)
|
1047 | 1406 |
continue ;;
|
1048 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|
1407 |
*\'*)
|
1049 | 1408 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1050 | 1409 |
esac
|
1051 | 1410 |
case $ac_pass in
|
|
1067 | 1426 |
-* ) ac_must_keep_next=true ;;
|
1068 | 1427 |
esac
|
1069 | 1428 |
fi
|
1070 | |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1071 | |
# Get rid of the leading space.
|
1072 | |
ac_sep=" "
|
|
1429 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
1073 | 1430 |
;;
|
1074 | 1431 |
esac
|
1075 | 1432 |
done
|
|
1080 | 1437 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1081 | 1438 |
# config.log. We remove comments because anyway the quotes in there
|
1082 | 1439 |
# would cause problems or look ugly.
|
1083 | |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1084 | |
# such as our DU 5.0 friend, will then `close' the trap.
|
|
1440 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1441 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1085 | 1442 |
trap 'exit_status=$?
|
1086 | 1443 |
# Save into config.log some information that might help in debugging.
|
1087 | 1444 |
{
|
|
1094 | 1451 |
_ASBOX
|
1095 | 1452 |
echo
|
1096 | 1453 |
# The following way of writing the cache mishandles newlines in values,
|
1097 | |
{
|
|
1454 |
(
|
|
1455 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|
1456 |
eval ac_val=\$$ac_var
|
|
1457 |
case $ac_val in #(
|
|
1458 |
*${as_nl}*)
|
|
1459 |
case $ac_var in #(
|
|
1460 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
1461 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
1462 |
esac
|
|
1463 |
case $ac_var in #(
|
|
1464 |
_ | IFS | as_nl) ;; #(
|
|
1465 |
*) $as_unset $ac_var ;;
|
|
1466 |
esac ;;
|
|
1467 |
esac
|
|
1468 |
done
|
1098 | 1469 |
(set) 2>&1 |
|
1099 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1100 | |
*ac_space=\ *)
|
|
1470 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
1471 |
*${as_nl}ac_space=\ *)
|
1101 | 1472 |
sed -n \
|
1102 | |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1103 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
1473 |
"s/'\''/'\''\\\\'\'''\''/g;
|
|
1474 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|
1475 |
;; #(
|
|
1476 |
*)
|
|
1477 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1104 | 1478 |
;;
|
1105 | |
*)
|
1106 | |
sed -n \
|
1107 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1108 | |
;;
|
1109 | |
esac;
|
1110 | |
}
|
|
1479 |
esac |
|
|
1480 |
sort
|
|
1481 |
)
|
1111 | 1482 |
echo
|
1112 | 1483 |
|
1113 | 1484 |
cat <<\_ASBOX
|
|
1118 | 1489 |
echo
|
1119 | 1490 |
for ac_var in $ac_subst_vars
|
1120 | 1491 |
do
|
1121 | |
eval ac_val=$`echo $ac_var`
|
1122 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1492 |
eval ac_val=\$$ac_var
|
|
1493 |
case $ac_val in
|
|
1494 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1495 |
esac
|
|
1496 |
echo "$ac_var='\''$ac_val'\''"
|
1123 | 1497 |
done | sort
|
1124 | 1498 |
echo
|
1125 | 1499 |
|
1126 | 1500 |
if test -n "$ac_subst_files"; then
|
1127 | 1501 |
cat <<\_ASBOX
|
1128 | |
## ------------- ##
|
1129 | |
## Output files. ##
|
1130 | |
## ------------- ##
|
|
1502 |
## ------------------- ##
|
|
1503 |
## File substitutions. ##
|
|
1504 |
## ------------------- ##
|
1131 | 1505 |
_ASBOX
|
1132 | 1506 |
echo
|
1133 | 1507 |
for ac_var in $ac_subst_files
|
1134 | 1508 |
do
|
1135 | |
eval ac_val=$`echo $ac_var`
|
1136 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1509 |
eval ac_val=\$$ac_var
|
|
1510 |
case $ac_val in
|
|
1511 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1512 |
esac
|
|
1513 |
echo "$ac_var='\''$ac_val'\''"
|
1137 | 1514 |
done | sort
|
1138 | 1515 |
echo
|
1139 | 1516 |
fi
|
|
1145 | 1522 |
## ----------- ##
|
1146 | 1523 |
_ASBOX
|
1147 | 1524 |
echo
|
1148 | |
sed "/^$/d" confdefs.h | sort
|
|
1525 |
cat confdefs.h
|
1149 | 1526 |
echo
|
1150 | 1527 |
fi
|
1151 | 1528 |
test "$ac_signal" != 0 &&
|
1152 | 1529 |
echo "$as_me: caught signal $ac_signal"
|
1153 | 1530 |
echo "$as_me: exit $exit_status"
|
1154 | 1531 |
} >&5
|
1155 | |
rm -f core *.core &&
|
1156 | |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1532 |
rm -f core *.core core.conftest.* &&
|
|
1533 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1157 | 1534 |
exit $exit_status
|
1158 | |
' 0
|
|
1535 |
' 0
|
1159 | 1536 |
for ac_signal in 1 2 13 15; do
|
1160 | 1537 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1161 | 1538 |
done
|
1162 | 1539 |
ac_signal=0
|
1163 | 1540 |
|
1164 | 1541 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1165 | |
rm -rf conftest* confdefs.h
|
1166 | |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1167 | |
echo >confdefs.h
|
|
1542 |
rm -f -r conftest* confdefs.h
|
1168 | 1543 |
|
1169 | 1544 |
# Predefined preprocessor variables.
|
1170 | 1545 |
|
|
1195 | 1570 |
|
1196 | 1571 |
# Let the site file select an alternate cache file if it wants to.
|
1197 | 1572 |
# Prefer explicitly selected file to automatically selected ones.
|
1198 | |
if test -z "$CONFIG_SITE"; then
|
1199 | |
if test "x$prefix" != xNONE; then
|
1200 | |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1201 | |
else
|
1202 | |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1203 | |
fi
|
1204 | |
fi
|
1205 | |
for ac_site_file in $CONFIG_SITE; do
|
|
1573 |
if test -n "$CONFIG_SITE"; then
|
|
1574 |
set x "$CONFIG_SITE"
|
|
1575 |
elif test "x$prefix" != xNONE; then
|
|
1576 |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
|
1577 |
else
|
|
1578 |
set x "$ac_default_prefix/share/config.site" \
|
|
1579 |
"$ac_default_prefix/etc/config.site"
|
|
1580 |
fi
|
|
1581 |
shift
|
|
1582 |
for ac_site_file
|
|
1583 |
do
|
1206 | 1584 |
if test -r "$ac_site_file"; then
|
1207 | 1585 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1208 | 1586 |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1218 | 1596 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1219 | 1597 |
echo "$as_me: loading cache $cache_file" >&6;}
|
1220 | 1598 |
case $cache_file in
|
1221 | |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1222 | |
*) . ./$cache_file;;
|
|
1599 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1600 |
*) . "./$cache_file";;
|
1223 | 1601 |
esac
|
1224 | 1602 |
fi
|
1225 | 1603 |
else
|
|
1231 | 1609 |
# Check that the precious variables saved in the cache have kept the same
|
1232 | 1610 |
# value.
|
1233 | 1611 |
ac_cache_corrupted=false
|
1234 | |
for ac_var in `(set) 2>&1 |
|
1235 | |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
1612 |
for ac_var in $ac_precious_vars; do
|
1236 | 1613 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1237 | 1614 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1238 | |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1239 | |
eval ac_new_val="\$ac_env_${ac_var}_value"
|
|
1615 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|
1616 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1240 | 1617 |
case $ac_old_set,$ac_new_set in
|
1241 | 1618 |
set,)
|
1242 | 1619 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1261 | 1638 |
# Pass precious variables to config.status.
|
1262 | 1639 |
if test "$ac_new_set" = set; then
|
1263 | 1640 |
case $ac_new_val in
|
1264 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1265 | |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1641 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1266 | 1642 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1267 | 1643 |
esac
|
1268 | 1644 |
case " $ac_configure_args " in
|
|
1279 | 1655 |
{ (exit 1); exit 1; }; }
|
1280 | 1656 |
fi
|
1281 | 1657 |
|
|
1658 |
|
|
1659 |
|
|
1660 |
|
|
1661 |
|
|
1662 |
|
|
1663 |
|
|
1664 |
|
|
1665 |
|
|
1666 |
|
|
1667 |
|
|
1668 |
|
|
1669 |
|
|
1670 |
|
|
1671 |
|
|
1672 |
|
|
1673 |
|
1282 | 1674 |
ac_ext=c
|
1283 | 1675 |
ac_cpp='$CPP $CPPFLAGS'
|
1284 | 1676 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
1287 | 1679 |
|
1288 | 1680 |
|
1289 | 1681 |
|
1290 | |
|
1291 | |
|
1292 | |
|
1293 | |
|
1294 | |
|
1295 | |
|
1296 | |
|
1297 | |
|
1298 | |
|
1299 | |
|
1300 | |
|
1301 | |
|
1302 | |
|
1303 | |
|
1304 | |
|
1305 | |
|
1306 | |
|
1307 | |
ac_config_headers="$ac_config_headers config.h"
|
1308 | |
|
1309 | |
ac_config_commands="$ac_config_commands default-1"
|
|
1682 |
ac_config_headers="$ac_config_headers config.h"
|
|
1683 |
|
|
1684 |
ac_config_commands="$ac_config_commands default-1"
|
1310 | 1685 |
|
1311 | 1686 |
am__api_version="1.4"
|
1312 | 1687 |
ac_aux_dir=
|
1313 | |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1314 | |
if test -f $ac_dir/install-sh; then
|
|
1688 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1689 |
if test -f "$ac_dir/install-sh"; then
|
1315 | 1690 |
ac_aux_dir=$ac_dir
|
1316 | 1691 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1317 | 1692 |
break
|
1318 | |
elif test -f $ac_dir/install.sh; then
|
|
1693 |
elif test -f "$ac_dir/install.sh"; then
|
1319 | 1694 |
ac_aux_dir=$ac_dir
|
1320 | 1695 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1321 | 1696 |
break
|
1322 | |
elif test -f $ac_dir/shtool; then
|
|
1697 |
elif test -f "$ac_dir/shtool"; then
|
1323 | 1698 |
ac_aux_dir=$ac_dir
|
1324 | 1699 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1325 | 1700 |
break
|
1326 | 1701 |
fi
|
1327 | 1702 |
done
|
1328 | 1703 |
if test -z "$ac_aux_dir"; then
|
1329 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1330 | |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
|
1704 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
|
1705 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1331 | 1706 |
{ (exit 1); exit 1; }; }
|
1332 | 1707 |
fi
|
1333 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1334 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1335 | |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
1708 |
|
|
1709 |
# These three variables are undocumented and unsupported,
|
|
1710 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
1711 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
1712 |
# whose full name contains unusual characters.
|
|
1713 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
1714 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
1715 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1716 |
|
1336 | 1717 |
|
1337 | 1718 |
# Find a good install program. We prefer a C program (faster),
|
1338 | 1719 |
# so one script is as good as another. But avoid the broken or
|
|
1347 | 1728 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1348 | 1729 |
# OS/2's system install, which has a completely different semantic
|
1349 | 1730 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1350 | |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1351 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
1731 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
1732 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
1352 | 1733 |
if test -z "$INSTALL"; then
|
1353 | 1734 |
if test "${ac_cv_path_install+set}" = set; then
|
1354 | 1735 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1370 | 1751 |
# by default.
|
1371 | 1752 |
for ac_prog in ginstall scoinst install; do
|
1372 | 1753 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1373 | |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
1754 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
1374 | 1755 |
if test $ac_prog = install &&
|
1375 | 1756 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1376 | 1757 |
# AIX install. It has an incompatible calling convention.
|
|
1389 | 1770 |
;;
|
1390 | 1771 |
esac
|
1391 | 1772 |
done
|
|
1773 |
IFS=$as_save_IFS
|
1392 | 1774 |
|
1393 | 1775 |
|
1394 | 1776 |
fi
|
1395 | 1777 |
if test "${ac_cv_path_install+set}" = set; then
|
1396 | 1778 |
INSTALL=$ac_cv_path_install
|
1397 | 1779 |
else
|
1398 | |
# As a last resort, use the slow shell script. We don't cache a
|
1399 | |
# path for INSTALL within a source directory, because that will
|
|
1780 |
# As a last resort, use the slow shell script. Don't cache a
|
|
1781 |
# value for INSTALL within a source directory, because that will
|
1400 | 1782 |
# break other packages using the cache if that directory is
|
1401 | |
# removed, or if the path is relative.
|
|
1783 |
# removed, or if the value is a relative name.
|
1402 | 1784 |
INSTALL=$ac_install_sh
|
1403 | 1785 |
fi
|
1404 | 1786 |
fi
|
1405 | |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1406 | |
echo "${ECHO_T}$INSTALL" >&6
|
|
1787 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
1788 |
echo "${ECHO_T}$INSTALL" >&6; }
|
1407 | 1789 |
|
1408 | 1790 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1409 | 1791 |
# It thinks the first close brace ends the variable substitution.
|
|
1413 | 1795 |
|
1414 | 1796 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1415 | 1797 |
|
1416 | |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
1417 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
|
1798 |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
1799 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
1418 | 1800 |
# Just in case
|
1419 | 1801 |
sleep 1
|
1420 | 1802 |
echo timestamp > conftestfile
|
|
1456 | 1838 |
{ (exit 1); exit 1; }; }
|
1457 | 1839 |
fi
|
1458 | 1840 |
rm -f conftest*
|
1459 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1460 | |
echo "${ECHO_T}yes" >&6
|
|
1841 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
1842 |
echo "${ECHO_T}yes" >&6; }
|
1461 | 1843 |
test "$program_prefix" != NONE &&
|
1462 | |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
|
1844 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
1463 | 1845 |
# Use a double $ so make ignores it.
|
1464 | 1846 |
test "$program_suffix" != NONE &&
|
1465 | |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
|
1847 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
1466 | 1848 |
# Double any \ or $. echo might interpret backslashes.
|
1467 | 1849 |
# By default was `s,x,x', remove it if useless.
|
1468 | 1850 |
cat <<\_ACEOF >conftest.sed
|
1469 | 1851 |
s/[\\$]/&&/g;s/;s,x,x,$//
|
1470 | 1852 |
_ACEOF
|
1471 | 1853 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1472 | |
rm conftest.sed
|
1473 | |
|
1474 | |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
1475 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
1476 | |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
1477 | |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
|
1854 |
rm -f conftest.sed
|
|
1855 |
|
|
1856 |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
1857 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
|
1858 |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
1859 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
1478 | 1860 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1479 | 1861 |
else
|
1480 | 1862 |
cat >conftest.make <<\_ACEOF
|
|
1863 |
SHELL = /bin/sh
|
1481 | 1864 |
all:
|
1482 | |
@echo 'ac_maketemp="$(MAKE)"'
|
|
1865 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
1483 | 1866 |
_ACEOF
|
1484 | 1867 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1485 | |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1486 | |
if test -n "$ac_maketemp"; then
|
1487 | |
eval ac_cv_prog_make_${ac_make}_set=yes
|
1488 | |
else
|
1489 | |
eval ac_cv_prog_make_${ac_make}_set=no
|
1490 | |
fi
|
|
1868 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
1869 |
*@@@%%%=?*=@@@%%%*)
|
|
1870 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
1871 |
*)
|
|
1872 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
1873 |
esac
|
1491 | 1874 |
rm -f conftest.make
|
1492 | 1875 |
fi
|
1493 | |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1494 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1495 | |
echo "${ECHO_T}yes" >&6
|
|
1876 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
1877 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
1878 |
echo "${ECHO_T}yes" >&6; }
|
1496 | 1879 |
SET_MAKE=
|
1497 | 1880 |
else
|
1498 | |
echo "$as_me:$LINENO: result: no" >&5
|
1499 | |
echo "${ECHO_T}no" >&6
|
|
1881 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
1882 |
echo "${ECHO_T}no" >&6; }
|
1500 | 1883 |
SET_MAKE="MAKE=${MAKE-make}"
|
1501 | 1884 |
fi
|
1502 | 1885 |
|
1503 | 1886 |
|
1504 | 1887 |
PACKAGE=squidview
|
1505 | 1888 |
|
1506 | |
VERSION=0.70
|
|
1889 |
VERSION=0.71
|
1507 | 1890 |
|
1508 | 1891 |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
1509 | 1892 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
1523 | 1906 |
|
1524 | 1907 |
|
1525 | 1908 |
missing_dir=`cd $ac_aux_dir && pwd`
|
1526 | |
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
|
1527 | |
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
|
|
1909 |
{ echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
|
|
1910 |
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; }
|
1528 | 1911 |
# Run test in a subshell; some versions of sh will print an error if
|
1529 | 1912 |
# an executable is not found, even if stderr is redirected.
|
1530 | 1913 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1531 | 1914 |
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
|
1532 | 1915 |
ACLOCAL=aclocal-${am__api_version}
|
1533 | |
echo "$as_me:$LINENO: result: found" >&5
|
1534 | |
echo "${ECHO_T}found" >&6
|
|
1916 |
{ echo "$as_me:$LINENO: result: found" >&5
|
|
1917 |
echo "${ECHO_T}found" >&6; }
|
1535 | 1918 |
else
|
1536 | 1919 |
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
|
1537 | |
echo "$as_me:$LINENO: result: missing" >&5
|
1538 | |
echo "${ECHO_T}missing" >&6
|
1539 | |
fi
|
1540 | |
|
1541 | |
echo "$as_me:$LINENO: checking for working autoconf" >&5
|
1542 | |
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
|
|
1920 |
{ echo "$as_me:$LINENO: result: missing" >&5
|
|
1921 |
echo "${ECHO_T}missing" >&6; }
|
|
1922 |
fi
|
|
1923 |
|
|
1924 |
{ echo "$as_me:$LINENO: checking for working autoconf" >&5
|
|
1925 |
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; }
|
1543 | 1926 |
# Run test in a subshell; some versions of sh will print an error if
|
1544 | 1927 |
# an executable is not found, even if stderr is redirected.
|
1545 | 1928 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1546 | 1929 |
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
1547 | 1930 |
AUTOCONF=autoconf
|
1548 | |
echo "$as_me:$LINENO: result: found" >&5
|
1549 | |
echo "${ECHO_T}found" >&6
|
|
1931 |
{ echo "$as_me:$LINENO: result: found" >&5
|
|
1932 |
echo "${ECHO_T}found" >&6; }
|
1550 | 1933 |
else
|
1551 | 1934 |
AUTOCONF="$missing_dir/missing autoconf"
|
1552 | |
echo "$as_me:$LINENO: result: missing" >&5
|
1553 | |
echo "${ECHO_T}missing" >&6
|
1554 | |
fi
|
1555 | |
|
1556 | |
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
|
1557 | |
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
|
|
1935 |
{ echo "$as_me:$LINENO: result: missing" >&5
|
|
1936 |
echo "${ECHO_T}missing" >&6; }
|
|
1937 |
fi
|
|
1938 |
|
|
1939 |
{ echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
|
|
1940 |
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; }
|
1558 | 1941 |
# Run test in a subshell; some versions of sh will print an error if
|
1559 | 1942 |
# an executable is not found, even if stderr is redirected.
|
1560 | 1943 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1561 | 1944 |
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
|
1562 | 1945 |
AUTOMAKE=automake-${am__api_version}
|
1563 | |
echo "$as_me:$LINENO: result: found" >&5
|
1564 | |
echo "${ECHO_T}found" >&6
|
|
1946 |
{ echo "$as_me:$LINENO: result: found" >&5
|
|
1947 |
echo "${ECHO_T}found" >&6; }
|
1565 | 1948 |
else
|
1566 | 1949 |
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
|
1567 | |
echo "$as_me:$LINENO: result: missing" >&5
|
1568 | |
echo "${ECHO_T}missing" >&6
|
1569 | |
fi
|
1570 | |
|
1571 | |
echo "$as_me:$LINENO: checking for working autoheader" >&5
|
1572 | |
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
|
|
1950 |
{ echo "$as_me:$LINENO: result: missing" >&5
|
|
1951 |
echo "${ECHO_T}missing" >&6; }
|
|
1952 |
fi
|
|
1953 |
|
|
1954 |
{ echo "$as_me:$LINENO: checking for working autoheader" >&5
|
|
1955 |
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; }
|
1573 | 1956 |
# Run test in a subshell; some versions of sh will print an error if
|
1574 | 1957 |
# an executable is not found, even if stderr is redirected.
|
1575 | 1958 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1576 | 1959 |
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
1577 | 1960 |
AUTOHEADER=autoheader
|
1578 | |
echo "$as_me:$LINENO: result: found" >&5
|
1579 | |
echo "${ECHO_T}found" >&6
|
|
1961 |
{ echo "$as_me:$LINENO: result: found" >&5
|
|
1962 |
echo "${ECHO_T}found" >&6; }
|
1580 | 1963 |
else
|
1581 | 1964 |
AUTOHEADER="$missing_dir/missing autoheader"
|
1582 | |
echo "$as_me:$LINENO: result: missing" >&5
|
1583 | |
echo "${ECHO_T}missing" >&6
|
1584 | |
fi
|
1585 | |
|
1586 | |
echo "$as_me:$LINENO: checking for working makeinfo" >&5
|
1587 | |
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
|
|
1965 |
{ echo "$as_me:$LINENO: result: missing" >&5
|
|
1966 |
echo "${ECHO_T}missing" >&6; }
|
|
1967 |
fi
|
|
1968 |
|
|
1969 |
{ echo "$as_me:$LINENO: checking for working makeinfo" >&5
|
|
1970 |
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; }
|
1588 | 1971 |
# Run test in a subshell; some versions of sh will print an error if
|
1589 | 1972 |
# an executable is not found, even if stderr is redirected.
|
1590 | 1973 |
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1591 | 1974 |
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
1592 | 1975 |
MAKEINFO=makeinfo
|
1593 | |
echo "$as_me:$LINENO: result: found" >&5
|
1594 | |
echo "${ECHO_T}found" >&6
|
|
1976 |
{ echo "$as_me:$LINENO: result: found" >&5
|
|
1977 |
echo "${ECHO_T}found" >&6; }
|
1595 | 1978 |
else
|
1596 | 1979 |
MAKEINFO="$missing_dir/missing makeinfo"
|
1597 | |
echo "$as_me:$LINENO: result: missing" >&5
|
1598 | |
echo "${ECHO_T}missing" >&6
|
1599 | |
fi
|
1600 | |
|
1601 | |
|
1602 | |
ac_ext=cc
|
|
1980 |
{ echo "$as_me:$LINENO: result: missing" >&5
|
|
1981 |
echo "${ECHO_T}missing" >&6; }
|
|
1982 |
fi
|
|
1983 |
|
|
1984 |
|
|
1985 |
ac_ext=cpp
|
1603 | 1986 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
1604 | 1987 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1605 | 1988 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1606 | 1989 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
1607 | |
if test -n "$ac_tool_prefix"; then
|
1608 | |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
|
1990 |
if test -z "$CXX"; then
|
|
1991 |
if test -n "$CCC"; then
|
|
1992 |
CXX=$CCC
|
|
1993 |
else
|
|
1994 |
if test -n "$ac_tool_prefix"; then
|
|
1995 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
1609 | 1996 |
do
|
1610 | 1997 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1611 | 1998 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1612 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1613 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1999 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2000 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1614 | 2001 |
if test "${ac_cv_prog_CXX+set}" = set; then
|
1615 | 2002 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1616 | 2003 |
else
|
|
1623 | 2010 |
IFS=$as_save_IFS
|
1624 | 2011 |
test -z "$as_dir" && as_dir=.
|
1625 | 2012 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1626 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2013 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1627 | 2014 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
1628 | 2015 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1629 | 2016 |
break 2
|
1630 | 2017 |
fi
|
1631 | 2018 |
done
|
1632 | 2019 |
done
|
|
2020 |
IFS=$as_save_IFS
|
1633 | 2021 |
|
1634 | 2022 |
fi
|
1635 | 2023 |
fi
|
1636 | 2024 |
CXX=$ac_cv_prog_CXX
|
1637 | 2025 |
if test -n "$CXX"; then
|
1638 | |
echo "$as_me:$LINENO: result: $CXX" >&5
|
1639 | |
echo "${ECHO_T}$CXX" >&6
|
1640 | |
else
|
1641 | |
echo "$as_me:$LINENO: result: no" >&5
|
1642 | |
echo "${ECHO_T}no" >&6
|
1643 | |
fi
|
|
2026 |
{ echo "$as_me:$LINENO: result: $CXX" >&5
|
|
2027 |
echo "${ECHO_T}$CXX" >&6; }
|
|
2028 |
else
|
|
2029 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2030 |
echo "${ECHO_T}no" >&6; }
|
|
2031 |
fi
|
|
2032 |
|
1644 | 2033 |
|
1645 | 2034 |
test -n "$CXX" && break
|
1646 | 2035 |
done
|
1647 | 2036 |
fi
|
1648 | 2037 |
if test -z "$CXX"; then
|
1649 | 2038 |
ac_ct_CXX=$CXX
|
1650 | |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
|
2039 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
1651 | 2040 |
do
|
1652 | 2041 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1653 | 2042 |
set dummy $ac_prog; ac_word=$2
|
1654 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1655 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2043 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2044 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1656 | 2045 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
1657 | 2046 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1658 | 2047 |
else
|
|
1665 | 2054 |
IFS=$as_save_IFS
|
1666 | 2055 |
test -z "$as_dir" && as_dir=.
|
1667 | 2056 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1668 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2057 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1669 | 2058 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
1670 | 2059 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1671 | 2060 |
break 2
|
1672 | 2061 |
fi
|
1673 | 2062 |
done
|
1674 | 2063 |
done
|
|
2064 |
IFS=$as_save_IFS
|
1675 | 2065 |
|
1676 | 2066 |
fi
|
1677 | 2067 |
fi
|
1678 | 2068 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
1679 | 2069 |
if test -n "$ac_ct_CXX"; then
|
1680 | |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
1681 | |
echo "${ECHO_T}$ac_ct_CXX" >&6
|
1682 | |
else
|
1683 | |
echo "$as_me:$LINENO: result: no" >&5
|
1684 | |
echo "${ECHO_T}no" >&6
|
1685 | |
fi
|
|
2070 |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
|
2071 |
echo "${ECHO_T}$ac_ct_CXX" >&6; }
|
|
2072 |
else
|
|
2073 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2074 |
echo "${ECHO_T}no" >&6; }
|
|
2075 |
fi
|
|
2076 |
|
1686 | 2077 |
|
1687 | 2078 |
test -n "$ac_ct_CXX" && break
|
1688 | 2079 |
done
|
1689 | |
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
1690 | |
|
1691 | |
CXX=$ac_ct_CXX
|
1692 | |
fi
|
1693 | |
|
1694 | |
|
|
2080 |
|
|
2081 |
if test "x$ac_ct_CXX" = x; then
|
|
2082 |
CXX="g++"
|
|
2083 |
else
|
|
2084 |
case $cross_compiling:$ac_tool_warned in
|
|
2085 |
yes:)
|
|
2086 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2087 |
whose name does not start with the host triplet. If you think this
|
|
2088 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2089 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2090 |
whose name does not start with the host triplet. If you think this
|
|
2091 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2092 |
ac_tool_warned=yes ;;
|
|
2093 |
esac
|
|
2094 |
CXX=$ac_ct_CXX
|
|
2095 |
fi
|
|
2096 |
fi
|
|
2097 |
|
|
2098 |
fi
|
|
2099 |
fi
|
1695 | 2100 |
# Provide some information about the compiler.
|
1696 | |
echo "$as_me:$LINENO:" \
|
1697 | |
"checking for C++ compiler version" >&5
|
|
2101 |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
1698 | 2102 |
ac_compiler=`set X $ac_compile; echo $2`
|
1699 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
1700 | |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
2103 |
{ (ac_try="$ac_compiler --version >&5"
|
|
2104 |
case "(($ac_try" in
|
|
2105 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2106 |
*) ac_try_echo=$ac_try;;
|
|
2107 |
esac
|
|
2108 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2109 |
(eval "$ac_compiler --version >&5") 2>&5
|
1701 | 2110 |
ac_status=$?
|
1702 | 2111 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1703 | 2112 |
(exit $ac_status); }
|
1704 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
1705 | |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
|
2113 |
{ (ac_try="$ac_compiler -v >&5"
|
|
2114 |
case "(($ac_try" in
|
|
2115 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2116 |
*) ac_try_echo=$ac_try;;
|
|
2117 |
esac
|
|
2118 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2119 |
(eval "$ac_compiler -v >&5") 2>&5
|
1706 | 2120 |
ac_status=$?
|
1707 | 2121 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1708 | 2122 |
(exit $ac_status); }
|
1709 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
1710 | |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
|
2123 |
{ (ac_try="$ac_compiler -V >&5"
|
|
2124 |
case "(($ac_try" in
|
|
2125 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2126 |
*) ac_try_echo=$ac_try;;
|
|
2127 |
esac
|
|
2128 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2129 |
(eval "$ac_compiler -V >&5") 2>&5
|
1711 | 2130 |
ac_status=$?
|
1712 | 2131 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1713 | 2132 |
(exit $ac_status); }
|
|
1732 | 2151 |
# Try to create an executable without -o first, disregard a.out.
|
1733 | 2152 |
# It will help us diagnose broken compilers, and finding out an intuition
|
1734 | 2153 |
# of exeext.
|
1735 | |
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
1736 | |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
|
|
2154 |
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
|
2155 |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
|
1737 | 2156 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
1738 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
1739 | |
(eval $ac_link_default) 2>&5
|
|
2157 |
#
|
|
2158 |
# List of possible output files, starting from the most likely.
|
|
2159 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
|
2160 |
# only as a last resort. b.out is created by i960 compilers.
|
|
2161 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
|
2162 |
#
|
|
2163 |
# The IRIX 6 linker writes into existing files which may not be
|
|
2164 |
# executable, retaining their permissions. Remove them first so a
|
|
2165 |
# subsequent execution test works.
|
|
2166 |
ac_rmfiles=
|
|
2167 |
for ac_file in $ac_files
|
|
2168 |
do
|
|
2169 |
case $ac_file in
|
|
2170 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
2171 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2172 |
esac
|
|
2173 |
done
|
|
2174 |
rm -f $ac_rmfiles
|
|
2175 |
|
|
2176 |
if { (ac_try="$ac_link_default"
|
|
2177 |
case "(($ac_try" in
|
|
2178 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2179 |
*) ac_try_echo=$ac_try;;
|
|
2180 |
esac
|
|
2181 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2182 |
(eval "$ac_link_default") 2>&5
|
1740 | 2183 |
ac_status=$?
|
1741 | 2184 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1742 | 2185 |
(exit $ac_status); }; then
|
1743 | |
# Find the output, starting from the most likely. This scheme is
|
1744 | |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
1745 | |
# resort.
|
1746 | |
|
1747 | |
# Be careful to initialize this variable, since it used to be cached.
|
1748 | |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
1749 | |
ac_cv_exeext=
|
1750 | |
# b.out is created by i960 compilers.
|
1751 | |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
|
2186 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
2187 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
2188 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2189 |
# so that the user can short-circuit this test for compilers unknown to
|
|
2190 |
# Autoconf.
|
|
2191 |
for ac_file in $ac_files
|
1752 | 2192 |
do
|
1753 | 2193 |
test -f "$ac_file" || continue
|
1754 | 2194 |
case $ac_file in
|
1755 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
1756 | |
;;
|
1757 | |
conftest.$ac_ext )
|
1758 | |
# This is the source file.
|
|
2195 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
1759 | 2196 |
;;
|
1760 | 2197 |
[ab].out )
|
1761 | 2198 |
# We found the default executable, but exeext='' is most
|
1762 | 2199 |
# certainly right.
|
1763 | 2200 |
break;;
|
1764 | 2201 |
*.* )
|
1765 | |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1766 | |
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
1767 | |
# but it would be cool to find out if it's true. Does anybody
|
1768 | |
# maintain Libtool? --akim.
|
1769 | |
export ac_cv_exeext
|
|
2202 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2203 |
then :; else
|
|
2204 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2205 |
fi
|
|
2206 |
# We set ac_cv_exeext here because the later test for it is not
|
|
2207 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
2208 |
# argument, so we may need to know it at that point already.
|
|
2209 |
# Even if this section looks crufty: it has the advantage of
|
|
2210 |
# actually working.
|
1770 | 2211 |
break;;
|
1771 | 2212 |
* )
|
1772 | 2213 |
break;;
|
1773 | 2214 |
esac
|
1774 | 2215 |
done
|
|
2216 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
2217 |
|
1775 | 2218 |
else
|
1776 | 2219 |
echo "$as_me: failed program was:" >&5
|
1777 | 2220 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1784 | 2227 |
fi
|
1785 | 2228 |
|
1786 | 2229 |
ac_exeext=$ac_cv_exeext
|
1787 | |
echo "$as_me:$LINENO: result: $ac_file" >&5
|
1788 | |
echo "${ECHO_T}$ac_file" >&6
|
1789 | |
|
1790 | |
# Check the compiler produces executables we can run. If not, either
|
|
2230 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2231 |
echo "${ECHO_T}$ac_file" >&6; }
|
|
2232 |
|
|
2233 |
# Check that the compiler produces executables we can run. If not, either
|
1791 | 2234 |
# the compiler is broken, or we cross compile.
|
1792 | |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
1793 | |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
|
|
2235 |
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
|
2236 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
|
1794 | 2237 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
1795 | 2238 |
# If not cross compiling, check that we can run a simple program.
|
1796 | 2239 |
if test "$cross_compiling" != yes; then
|
1797 | 2240 |
if { ac_try='./$ac_file'
|
1798 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1799 | |
(eval $ac_try) 2>&5
|
|
2241 |
{ (case "(($ac_try" in
|
|
2242 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2243 |
*) ac_try_echo=$ac_try;;
|
|
2244 |
esac
|
|
2245 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2246 |
(eval "$ac_try") 2>&5
|
1800 | 2247 |
ac_status=$?
|
1801 | 2248 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1802 | 2249 |
(exit $ac_status); }; }; then
|
|
1815 | 2262 |
fi
|
1816 | 2263 |
fi
|
1817 | 2264 |
fi
|
1818 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1819 | |
echo "${ECHO_T}yes" >&6
|
|
2265 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2266 |
echo "${ECHO_T}yes" >&6; }
|
1820 | 2267 |
|
1821 | 2268 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
1822 | 2269 |
ac_clean_files=$ac_clean_files_save
|
1823 | |
# Check the compiler produces executables we can run. If not, either
|
|
2270 |
# Check that the compiler produces executables we can run. If not, either
|
1824 | 2271 |
# the compiler is broken, or we cross compile.
|
1825 | |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
1826 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
1827 | |
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
1828 | |
echo "${ECHO_T}$cross_compiling" >&6
|
1829 | |
|
1830 | |
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
1831 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
1832 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
1833 | |
(eval $ac_link) 2>&5
|
|
2272 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2273 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
|
2274 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2275 |
echo "${ECHO_T}$cross_compiling" >&6; }
|
|
2276 |
|
|
2277 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2278 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
|
2279 |
if { (ac_try="$ac_link"
|
|
2280 |
case "(($ac_try" in
|
|
2281 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2282 |
*) ac_try_echo=$ac_try;;
|
|
2283 |
esac
|
|
2284 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2285 |
(eval "$ac_link") 2>&5
|
1834 | 2286 |
ac_status=$?
|
1835 | 2287 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1836 | 2288 |
(exit $ac_status); }; then
|
|
1841 | 2293 |
for ac_file in conftest.exe conftest conftest.*; do
|
1842 | 2294 |
test -f "$ac_file" || continue
|
1843 | 2295 |
case $ac_file in
|
1844 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
2296 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
1845 | 2297 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1846 | |
export ac_cv_exeext
|
1847 | 2298 |
break;;
|
1848 | 2299 |
* ) break;;
|
1849 | 2300 |
esac
|
|
1857 | 2308 |
fi
|
1858 | 2309 |
|
1859 | 2310 |
rm -f conftest$ac_cv_exeext
|
1860 | |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
1861 | |
echo "${ECHO_T}$ac_cv_exeext" >&6
|
|
2311 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2312 |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
1862 | 2313 |
|
1863 | 2314 |
rm -f conftest.$ac_ext
|
1864 | 2315 |
EXEEXT=$ac_cv_exeext
|
1865 | 2316 |
ac_exeext=$EXEEXT
|
1866 | |
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
1867 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
|
2317 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2318 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
1868 | 2319 |
if test "${ac_cv_objext+set}" = set; then
|
1869 | 2320 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1870 | 2321 |
else
|
|
1884 | 2335 |
}
|
1885 | 2336 |
_ACEOF
|
1886 | 2337 |
rm -f conftest.o conftest.obj
|
1887 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1888 | |
(eval $ac_compile) 2>&5
|
|
2338 |
if { (ac_try="$ac_compile"
|
|
2339 |
case "(($ac_try" in
|
|
2340 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2341 |
*) ac_try_echo=$ac_try;;
|
|
2342 |
esac
|
|
2343 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2344 |
(eval "$ac_compile") 2>&5
|
1889 | 2345 |
ac_status=$?
|
1890 | 2346 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1891 | 2347 |
(exit $ac_status); }; then
|
1892 | |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
|
2348 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
|
2349 |
test -f "$ac_file" || continue;
|
1893 | 2350 |
case $ac_file in
|
1894 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
|
2351 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
1895 | 2352 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
1896 | 2353 |
break;;
|
1897 | 2354 |
esac
|
|
1909 | 2366 |
|
1910 | 2367 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
1911 | 2368 |
fi
|
1912 | |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
1913 | |
echo "${ECHO_T}$ac_cv_objext" >&6
|
|
2369 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2370 |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
1914 | 2371 |
OBJEXT=$ac_cv_objext
|
1915 | 2372 |
ac_objext=$OBJEXT
|
1916 | |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
1917 | |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
|
2373 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
|
2374 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
|
1918 | 2375 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
1919 | 2376 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1920 | 2377 |
else
|
|
1937 | 2394 |
}
|
1938 | 2395 |
_ACEOF
|
1939 | 2396 |
rm -f conftest.$ac_objext
|
1940 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1941 | |
(eval $ac_compile) 2>conftest.er1
|
|
2397 |
if { (ac_try="$ac_compile"
|
|
2398 |
case "(($ac_try" in
|
|
2399 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2400 |
*) ac_try_echo=$ac_try;;
|
|
2401 |
esac
|
|
2402 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2403 |
(eval "$ac_compile") 2>conftest.er1
|
1942 | 2404 |
ac_status=$?
|
1943 | 2405 |
grep -v '^ *+' conftest.er1 >conftest.err
|
1944 | 2406 |
rm -f conftest.er1
|
1945 | 2407 |
cat conftest.err >&5
|
1946 | 2408 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1947 | 2409 |
(exit $ac_status); } &&
|
1948 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
1949 | |
|| test ! -s conftest.err'
|
1950 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1951 | |
(eval $ac_try) 2>&5
|
|
2410 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
2411 |
{ (case "(($ac_try" in
|
|
2412 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2413 |
*) ac_try_echo=$ac_try;;
|
|
2414 |
esac
|
|
2415 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2416 |
(eval "$ac_try") 2>&5
|
1952 | 2417 |
ac_status=$?
|
1953 | 2418 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1954 | 2419 |
(exit $ac_status); }; } &&
|
1955 | 2420 |
{ ac_try='test -s conftest.$ac_objext'
|
1956 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1957 | |
(eval $ac_try) 2>&5
|
|
2421 |
{ (case "(($ac_try" in
|
|
2422 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2423 |
*) ac_try_echo=$ac_try;;
|
|
2424 |
esac
|
|
2425 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2426 |
(eval "$ac_try") 2>&5
|
1958 | 2427 |
ac_status=$?
|
1959 | 2428 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1960 | 2429 |
(exit $ac_status); }; }; then
|
|
1963 | 2432 |
echo "$as_me: failed program was:" >&5
|
1964 | 2433 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1965 | 2434 |
|
1966 | |
ac_compiler_gnu=no
|
1967 | |
fi
|
1968 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2435 |
ac_compiler_gnu=no
|
|
2436 |
fi
|
|
2437 |
|
|
2438 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1969 | 2439 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
1970 | 2440 |
|
1971 | 2441 |
fi
|
1972 | |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
1973 | |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
|
2442 |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
2443 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
|
1974 | 2444 |
GXX=`test $ac_compiler_gnu = yes && echo yes`
|
1975 | 2445 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
1976 | 2446 |
ac_save_CXXFLAGS=$CXXFLAGS
|
1977 | |
CXXFLAGS="-g"
|
1978 | |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
1979 | |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
|
2447 |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
|
2448 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
|
1980 | 2449 |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
1981 | 2450 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1982 | 2451 |
else
|
1983 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
2452 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
|
2453 |
ac_cxx_werror_flag=yes
|
|
2454 |
ac_cv_prog_cxx_g=no
|
|
2455 |
CXXFLAGS="-g"
|
|
2456 |
cat >conftest.$ac_ext <<_ACEOF
|
1984 | 2457 |
/* confdefs.h. */
|
1985 | 2458 |
_ACEOF
|
1986 | 2459 |
cat confdefs.h >>conftest.$ac_ext
|
|
1996 | 2469 |
}
|
1997 | 2470 |
_ACEOF
|
1998 | 2471 |
rm -f conftest.$ac_objext
|
1999 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2000 | |
(eval $ac_compile) 2>conftest.er1
|
|
2472 |
if { (ac_try="$ac_compile"
|
|
2473 |
case "(($ac_try" in
|
|
2474 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2475 |
*) ac_try_echo=$ac_try;;
|
|
2476 |
esac
|
|
2477 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2478 |
(eval "$ac_compile") 2>conftest.er1
|
2001 | 2479 |
ac_status=$?
|
2002 | 2480 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2003 | 2481 |
rm -f conftest.er1
|
2004 | 2482 |
cat conftest.err >&5
|
2005 | 2483 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2006 | 2484 |
(exit $ac_status); } &&
|
2007 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
2008 | |
|| test ! -s conftest.err'
|
2009 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2010 | |
(eval $ac_try) 2>&5
|
|
2485 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
2486 |
{ (case "(($ac_try" in
|
|
2487 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2488 |
*) ac_try_echo=$ac_try;;
|
|
2489 |
esac
|
|
2490 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2491 |
(eval "$ac_try") 2>&5
|
2011 | 2492 |
ac_status=$?
|
2012 | 2493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2013 | 2494 |
(exit $ac_status); }; } &&
|
2014 | 2495 |
{ ac_try='test -s conftest.$ac_objext'
|
2015 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2016 | |
(eval $ac_try) 2>&5
|
|
2496 |
{ (case "(($ac_try" in
|
|
2497 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2498 |
*) ac_try_echo=$ac_try;;
|
|
2499 |
esac
|
|
2500 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2501 |
(eval "$ac_try") 2>&5
|
2017 | 2502 |
ac_status=$?
|
2018 | 2503 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2019 | 2504 |
(exit $ac_status); }; }; then
|
|
2022 | 2507 |
echo "$as_me: failed program was:" >&5
|
2023 | 2508 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2024 | 2509 |
|
2025 | |
ac_cv_prog_cxx_g=no
|
2026 | |
fi
|
2027 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2028 | |
fi
|
2029 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
2030 | |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
|
2510 |
CXXFLAGS=""
|
|
2511 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2512 |
/* confdefs.h. */
|
|
2513 |
_ACEOF
|
|
2514 |
cat confdefs.h >>conftest.$ac_ext
|
|
2515 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2516 |
/* end confdefs.h. */
|
|
2517 |
|
|
2518 |
int
|
|
2519 |
main ()
|
|
2520 |
{
|
|
2521 |
|
|
2522 |
;
|
|
2523 |
return 0;
|
|
2524 |
}
|
|
2525 |
_ACEOF
|
|
2526 |
rm -f conftest.$ac_objext
|
|
2527 |
if { (ac_try="$ac_compile"
|
|
2528 |
case "(($ac_try" in
|
|
2529 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2530 |
*) ac_try_echo=$ac_try;;
|
|
2531 |
esac
|
|
2532 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2533 |
(eval "$ac_compile") 2>conftest.er1
|
|
2534 |
ac_status=$?
|
|
2535 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2536 |
rm -f conftest.er1
|
|
2537 |
cat conftest.err >&5
|
|
2538 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2539 |
(exit $ac_status); } &&
|
|
2540 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
2541 |
{ (case "(($ac_try" in
|
|
2542 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2543 |
*) ac_try_echo=$ac_try;;
|
|
2544 |
esac
|
|
2545 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2546 |
(eval "$ac_try") 2>&5
|
|
2547 |
ac_status=$?
|
|
2548 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2549 |
(exit $ac_status); }; } &&
|
|
2550 |
{ ac_try='test -s conftest.$ac_objext'
|
|
2551 |
{ (case "(($ac_try" in
|
|
2552 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2553 |
*) ac_try_echo=$ac_try;;
|
|
2554 |
esac
|
|
2555 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2556 |
(eval "$ac_try") 2>&5
|
|
2557 |
ac_status=$?
|
|
2558 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2559 |
(exit $ac_status); }; }; then
|
|
2560 |
:
|
|
2561 |
else
|
|
2562 |
echo "$as_me: failed program was:" >&5
|
|
2563 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2564 |
|
|
2565 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
2566 |
CXXFLAGS="-g"
|
|
2567 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2568 |
/* confdefs.h. */
|
|
2569 |
_ACEOF
|
|
2570 |
cat confdefs.h >>conftest.$ac_ext
|
|
2571 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2572 |
/* end confdefs.h. */
|
|
2573 |
|
|
2574 |
int
|
|
2575 |
main ()
|
|
2576 |
{
|
|
2577 |
|
|
2578 |
;
|
|
2579 |
return 0;
|
|
2580 |
}
|
|
2581 |
_ACEOF
|
|
2582 |
rm -f conftest.$ac_objext
|
|
2583 |
if { (ac_try="$ac_compile"
|
|
2584 |
case "(($ac_try" in
|
|
2585 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2586 |
*) ac_try_echo=$ac_try;;
|
|
2587 |
esac
|
|
2588 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2589 |
(eval "$ac_compile") 2>conftest.er1
|
|
2590 |
ac_status=$?
|
|
2591 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2592 |
rm -f conftest.er1
|
|
2593 |
cat conftest.err >&5
|
|
2594 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2595 |
(exit $ac_status); } &&
|
|
2596 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
2597 |
{ (case "(($ac_try" in
|
|
2598 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2599 |
*) ac_try_echo=$ac_try;;
|
|
2600 |
esac
|
|
2601 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2602 |
(eval "$ac_try") 2>&5
|
|
2603 |
ac_status=$?
|
|
2604 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2605 |
(exit $ac_status); }; } &&
|
|
2606 |
{ ac_try='test -s conftest.$ac_objext'
|
|
2607 |
{ (case "(($ac_try" in
|
|
2608 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2609 |
*) ac_try_echo=$ac_try;;
|
|
2610 |
esac
|
|
2611 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2612 |
(eval "$ac_try") 2>&5
|
|
2613 |
ac_status=$?
|
|
2614 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2615 |
(exit $ac_status); }; }; then
|
|
2616 |
ac_cv_prog_cxx_g=yes
|
|
2617 |
else
|
|
2618 |
echo "$as_me: failed program was:" >&5
|
|
2619 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2620 |
|
|
2621 |
|
|
2622 |
fi
|
|
2623 |
|
|
2624 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2625 |
fi
|
|
2626 |
|
|
2627 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2628 |
fi
|
|
2629 |
|
|
2630 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2631 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
2632 |
fi
|
|
2633 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
|
2634 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
|
2031 | 2635 |
if test "$ac_test_CXXFLAGS" = set; then
|
2032 | 2636 |
CXXFLAGS=$ac_save_CXXFLAGS
|
2033 | 2637 |
elif test $ac_cv_prog_cxx_g = yes; then
|
|
2043 | 2647 |
CXXFLAGS=
|
2044 | 2648 |
fi
|
2045 | 2649 |
fi
|
2046 | |
for ac_declaration in \
|
2047 | |
'' \
|
2048 | |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2049 | |
'extern "C" void std::exit (int); using std::exit;' \
|
2050 | |
'extern "C" void exit (int) throw ();' \
|
2051 | |
'extern "C" void exit (int);' \
|
2052 | |
'void exit (int);'
|
2053 | |
do
|
2054 | |
cat >conftest.$ac_ext <<_ACEOF
|
2055 | |
/* confdefs.h. */
|
2056 | |
_ACEOF
|
2057 | |
cat confdefs.h >>conftest.$ac_ext
|
2058 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2059 | |
/* end confdefs.h. */
|
2060 | |
$ac_declaration
|
2061 | |
#include <stdlib.h>
|
2062 | |
int
|
2063 | |
main ()
|
2064 | |
{
|
2065 | |
exit (42);
|
2066 | |
;
|
2067 | |
return 0;
|
2068 | |
}
|
2069 | |
_ACEOF
|
2070 | |
rm -f conftest.$ac_objext
|
2071 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2072 | |
(eval $ac_compile) 2>conftest.er1
|
2073 | |
ac_status=$?
|
2074 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2075 | |
rm -f conftest.er1
|
2076 | |
cat conftest.err >&5
|
2077 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2078 | |
(exit $ac_status); } &&
|
2079 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
2080 | |
|| test ! -s conftest.err'
|
2081 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2082 | |
(eval $ac_try) 2>&5
|
2083 | |
ac_status=$?
|
2084 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2085 | |
(exit $ac_status); }; } &&
|
2086 | |
{ ac_try='test -s conftest.$ac_objext'
|
2087 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2088 | |
(eval $ac_try) 2>&5
|
2089 | |
ac_status=$?
|
2090 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2091 | |
(exit $ac_status); }; }; then
|
2092 | |
:
|
2093 | |
else
|
2094 | |
echo "$as_me: failed program was:" >&5
|
2095 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2096 | |
|
2097 | |
continue
|
2098 | |
fi
|
2099 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2100 | |
cat >conftest.$ac_ext <<_ACEOF
|
2101 | |
/* confdefs.h. */
|
2102 | |
_ACEOF
|
2103 | |
cat confdefs.h >>conftest.$ac_ext
|
2104 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2105 | |
/* end confdefs.h. */
|
2106 | |
$ac_declaration
|
2107 | |
int
|
2108 | |
main ()
|
2109 | |
{
|
2110 | |
exit (42);
|
2111 | |
;
|
2112 | |
return 0;
|
2113 | |
}
|
2114 | |
_ACEOF
|
2115 | |
rm -f conftest.$ac_objext
|
2116 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2117 | |
(eval $ac_compile) 2>conftest.er1
|
2118 | |
ac_status=$?
|
2119 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2120 | |
rm -f conftest.er1
|
2121 | |
cat conftest.err >&5
|
2122 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2123 | |
(exit $ac_status); } &&
|
2124 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
2125 | |
|| test ! -s conftest.err'
|
2126 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2127 | |
(eval $ac_try) 2>&5
|
2128 | |
ac_status=$?
|
2129 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2130 | |
(exit $ac_status); }; } &&
|
2131 | |
{ ac_try='test -s conftest.$ac_objext'
|
2132 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2133 | |
(eval $ac_try) 2>&5
|
2134 | |
ac_status=$?
|
2135 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2136 | |
(exit $ac_status); }; }; then
|
2137 | |
break
|
2138 | |
else
|
2139 | |
echo "$as_me: failed program was:" >&5
|
2140 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2141 | |
|
2142 | |
fi
|
2143 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2144 | |
done
|
2145 | |
rm -f conftest*
|
2146 | |
if test -n "$ac_declaration"; then
|
2147 | |
echo '#ifdef __cplusplus' >>confdefs.h
|
2148 | |
echo $ac_declaration >>confdefs.h
|
2149 | |
echo '#endif' >>confdefs.h
|
2150 | |
fi
|
2151 | |
|
2152 | 2650 |
ac_ext=c
|
2153 | 2651 |
ac_cpp='$CPP $CPPFLAGS'
|
2154 | 2652 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
2168 | 2666 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2169 | 2667 |
# OS/2's system install, which has a completely different semantic
|
2170 | 2668 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2171 | |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
2172 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
2669 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2670 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
2173 | 2671 |
if test -z "$INSTALL"; then
|
2174 | 2672 |
if test "${ac_cv_path_install+set}" = set; then
|
2175 | 2673 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2191 | 2689 |
# by default.
|
2192 | 2690 |
for ac_prog in ginstall scoinst install; do
|
2193 | 2691 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2194 | |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
2692 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
2195 | 2693 |
if test $ac_prog = install &&
|
2196 | 2694 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2197 | 2695 |
# AIX install. It has an incompatible calling convention.
|
|
2210 | 2708 |
;;
|
2211 | 2709 |
esac
|
2212 | 2710 |
done
|
|
2711 |
IFS=$as_save_IFS
|
2213 | 2712 |
|
2214 | 2713 |
|
2215 | 2714 |
fi
|
2216 | 2715 |
if test "${ac_cv_path_install+set}" = set; then
|
2217 | 2716 |
INSTALL=$ac_cv_path_install
|
2218 | 2717 |
else
|
2219 | |
# As a last resort, use the slow shell script. We don't cache a
|
2220 | |
# path for INSTALL within a source directory, because that will
|
|
2718 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2719 |
# value for INSTALL within a source directory, because that will
|
2221 | 2720 |
# break other packages using the cache if that directory is
|
2222 | |
# removed, or if the path is relative.
|
|
2721 |
# removed, or if the value is a relative name.
|
2223 | 2722 |
INSTALL=$ac_install_sh
|
2224 | 2723 |
fi
|
2225 | 2724 |
fi
|
2226 | |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
2227 | |
echo "${ECHO_T}$INSTALL" >&6
|
|
2725 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2726 |
echo "${ECHO_T}$INSTALL" >&6; }
|
2228 | 2727 |
|
2229 | 2728 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2230 | 2729 |
# It thinks the first close brace ends the variable substitution.
|
|
2244 | 2743 |
if test -n "$ac_tool_prefix"; then
|
2245 | 2744 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2246 | 2745 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2247 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2248 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2746 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2747 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2249 | 2748 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2250 | 2749 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2251 | 2750 |
else
|
|
2258 | 2757 |
IFS=$as_save_IFS
|
2259 | 2758 |
test -z "$as_dir" && as_dir=.
|
2260 | 2759 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2261 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2760 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2262 | 2761 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2263 | 2762 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2264 | 2763 |
break 2
|
2265 | 2764 |
fi
|
2266 | 2765 |
done
|
2267 | 2766 |
done
|
|
2767 |
IFS=$as_save_IFS
|
2268 | 2768 |
|
2269 | 2769 |
fi
|
2270 | 2770 |
fi
|
2271 | 2771 |
CC=$ac_cv_prog_CC
|
2272 | 2772 |
if test -n "$CC"; then
|
2273 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2274 | |
echo "${ECHO_T}$CC" >&6
|
2275 | |
else
|
2276 | |
echo "$as_me:$LINENO: result: no" >&5
|
2277 | |
echo "${ECHO_T}no" >&6
|
2278 | |
fi
|
|
2773 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2774 |
echo "${ECHO_T}$CC" >&6; }
|
|
2775 |
else
|
|
2776 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2777 |
echo "${ECHO_T}no" >&6; }
|
|
2778 |
fi
|
|
2779 |
|
2279 | 2780 |
|
2280 | 2781 |
fi
|
2281 | 2782 |
if test -z "$ac_cv_prog_CC"; then
|
2282 | 2783 |
ac_ct_CC=$CC
|
2283 | 2784 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2284 | 2785 |
set dummy gcc; ac_word=$2
|
2285 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2286 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2786 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2787 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2287 | 2788 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2288 | 2789 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2289 | 2790 |
else
|
|
2296 | 2797 |
IFS=$as_save_IFS
|
2297 | 2798 |
test -z "$as_dir" && as_dir=.
|
2298 | 2799 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2299 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2800 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2300 | 2801 |
ac_cv_prog_ac_ct_CC="gcc"
|
2301 | 2802 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2302 | 2803 |
break 2
|
2303 | 2804 |
fi
|
2304 | 2805 |
done
|
2305 | 2806 |
done
|
|
2807 |
IFS=$as_save_IFS
|
2306 | 2808 |
|
2307 | 2809 |
fi
|
2308 | 2810 |
fi
|
2309 | 2811 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2310 | 2812 |
if test -n "$ac_ct_CC"; then
|
2311 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2312 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
2313 | |
else
|
2314 | |
echo "$as_me:$LINENO: result: no" >&5
|
2315 | |
echo "${ECHO_T}no" >&6
|
2316 | |
fi
|
2317 | |
|
2318 | |
CC=$ac_ct_CC
|
|
2813 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2814 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
2815 |
else
|
|
2816 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2817 |
echo "${ECHO_T}no" >&6; }
|
|
2818 |
fi
|
|
2819 |
|
|
2820 |
if test "x$ac_ct_CC" = x; then
|
|
2821 |
CC=""
|
|
2822 |
else
|
|
2823 |
case $cross_compiling:$ac_tool_warned in
|
|
2824 |
yes:)
|
|
2825 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2826 |
whose name does not start with the host triplet. If you think this
|
|
2827 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2828 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2829 |
whose name does not start with the host triplet. If you think this
|
|
2830 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2831 |
ac_tool_warned=yes ;;
|
|
2832 |
esac
|
|
2833 |
CC=$ac_ct_CC
|
|
2834 |
fi
|
2319 | 2835 |
else
|
2320 | 2836 |
CC="$ac_cv_prog_CC"
|
2321 | 2837 |
fi
|
2322 | 2838 |
|
2323 | 2839 |
if test -z "$CC"; then
|
2324 | |
if test -n "$ac_tool_prefix"; then
|
2325 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2840 |
if test -n "$ac_tool_prefix"; then
|
|
2841 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2326 | 2842 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2327 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2328 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2843 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2844 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2329 | 2845 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2330 | 2846 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2331 | 2847 |
else
|
|
2338 | 2854 |
IFS=$as_save_IFS
|
2339 | 2855 |
test -z "$as_dir" && as_dir=.
|
2340 | 2856 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2341 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2857 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2342 | 2858 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2343 | 2859 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2344 | 2860 |
break 2
|
2345 | 2861 |
fi
|
2346 | 2862 |
done
|
2347 | 2863 |
done
|
|
2864 |
IFS=$as_save_IFS
|
2348 | 2865 |
|
2349 | 2866 |
fi
|
2350 | 2867 |
fi
|
2351 | 2868 |
CC=$ac_cv_prog_CC
|
2352 | 2869 |
if test -n "$CC"; then
|
2353 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2354 | |
echo "${ECHO_T}$CC" >&6
|
2355 | |
else
|
2356 | |
echo "$as_me:$LINENO: result: no" >&5
|
2357 | |
echo "${ECHO_T}no" >&6
|
2358 | |
fi
|
2359 | |
|
2360 | |
fi
|
2361 | |
if test -z "$ac_cv_prog_CC"; then
|
2362 | |
ac_ct_CC=$CC
|
2363 | |
# Extract the first word of "cc", so it can be a program name with args.
|
2364 | |
set dummy cc; ac_word=$2
|
2365 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2366 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2367 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2368 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2369 | |
else
|
2370 | |
if test -n "$ac_ct_CC"; then
|
2371 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2372 | |
else
|
2373 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2374 | |
for as_dir in $PATH
|
2375 | |
do
|
2376 | |
IFS=$as_save_IFS
|
2377 | |
test -z "$as_dir" && as_dir=.
|
2378 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2379 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2380 | |
ac_cv_prog_ac_ct_CC="cc"
|
2381 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2382 | |
break 2
|
|
2870 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2871 |
echo "${ECHO_T}$CC" >&6; }
|
|
2872 |
else
|
|
2873 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2874 |
echo "${ECHO_T}no" >&6; }
|
|
2875 |
fi
|
|
2876 |
|
|
2877 |
|
2383 | 2878 |
fi
|
2384 | |
done
|
2385 | |
done
|
2386 | |
|
2387 | |
fi
|
2388 | |
fi
|
2389 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2390 | |
if test -n "$ac_ct_CC"; then
|
2391 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2392 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
2393 | |
else
|
2394 | |
echo "$as_me:$LINENO: result: no" >&5
|
2395 | |
echo "${ECHO_T}no" >&6
|
2396 | |
fi
|
2397 | |
|
2398 | |
CC=$ac_ct_CC
|
2399 | |
else
|
2400 | |
CC="$ac_cv_prog_CC"
|
2401 | |
fi
|
2402 | |
|
2403 | 2879 |
fi
|
2404 | 2880 |
if test -z "$CC"; then
|
2405 | 2881 |
# Extract the first word of "cc", so it can be a program name with args.
|
2406 | 2882 |
set dummy cc; ac_word=$2
|
2407 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2408 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2883 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2884 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2409 | 2885 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2410 | 2886 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2411 | 2887 |
else
|
|
2419 | 2895 |
IFS=$as_save_IFS
|
2420 | 2896 |
test -z "$as_dir" && as_dir=.
|
2421 | 2897 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2422 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2898 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2423 | 2899 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2424 | 2900 |
ac_prog_rejected=yes
|
2425 | 2901 |
continue
|
|
2430 | 2906 |
fi
|
2431 | 2907 |
done
|
2432 | 2908 |
done
|
|
2909 |
IFS=$as_save_IFS
|
2433 | 2910 |
|
2434 | 2911 |
if test $ac_prog_rejected = yes; then
|
2435 | 2912 |
# We found a bogon in the path, so make sure we never use it.
|
|
2447 | 2924 |
fi
|
2448 | 2925 |
CC=$ac_cv_prog_CC
|
2449 | 2926 |
if test -n "$CC"; then
|
2450 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2451 | |
echo "${ECHO_T}$CC" >&6
|
2452 | |
else
|
2453 | |
echo "$as_me:$LINENO: result: no" >&5
|
2454 | |
echo "${ECHO_T}no" >&6
|
2455 | |
fi
|
|
2927 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2928 |
echo "${ECHO_T}$CC" >&6; }
|
|
2929 |
else
|
|
2930 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2931 |
echo "${ECHO_T}no" >&6; }
|
|
2932 |
fi
|
|
2933 |
|
2456 | 2934 |
|
2457 | 2935 |
fi
|
2458 | 2936 |
if test -z "$CC"; then
|
2459 | 2937 |
if test -n "$ac_tool_prefix"; then
|
2460 | |
for ac_prog in cl
|
|
2938 |
for ac_prog in cl.exe
|
2461 | 2939 |
do
|
2462 | 2940 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2463 | 2941 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2464 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2465 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2942 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2943 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2466 | 2944 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2467 | 2945 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2468 | 2946 |
else
|
|
2475 | 2953 |
IFS=$as_save_IFS
|
2476 | 2954 |
test -z "$as_dir" && as_dir=.
|
2477 | 2955 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2478 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2956 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2479 | 2957 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2480 | 2958 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2481 | 2959 |
break 2
|
2482 | 2960 |
fi
|
2483 | 2961 |
done
|
2484 | 2962 |
done
|
|
2963 |
IFS=$as_save_IFS
|
2485 | 2964 |
|
2486 | 2965 |
fi
|
2487 | 2966 |
fi
|
2488 | 2967 |
CC=$ac_cv_prog_CC
|
2489 | 2968 |
if test -n "$CC"; then
|
2490 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2491 | |
echo "${ECHO_T}$CC" >&6
|
2492 | |
else
|
2493 | |
echo "$as_me:$LINENO: result: no" >&5
|
2494 | |
echo "${ECHO_T}no" >&6
|
2495 | |
fi
|
|
2969 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2970 |
echo "${ECHO_T}$CC" >&6; }
|
|
2971 |
else
|
|
2972 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2973 |
echo "${ECHO_T}no" >&6; }
|
|
2974 |
fi
|
|
2975 |
|
2496 | 2976 |
|
2497 | 2977 |
test -n "$CC" && break
|
2498 | 2978 |
done
|
2499 | 2979 |
fi
|
2500 | 2980 |
if test -z "$CC"; then
|
2501 | 2981 |
ac_ct_CC=$CC
|
2502 | |
for ac_prog in cl
|
|
2982 |
for ac_prog in cl.exe
|
2503 | 2983 |
do
|
2504 | 2984 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2505 | 2985 |
set dummy $ac_prog; ac_word=$2
|
2506 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2507 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2986 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2987 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2508 | 2988 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2509 | 2989 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2510 | 2990 |
else
|
|
2517 | 2997 |
IFS=$as_save_IFS
|
2518 | 2998 |
test -z "$as_dir" && as_dir=.
|
2519 | 2999 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2520 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3000 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2521 | 3001 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2522 | 3002 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2523 | 3003 |
break 2
|
2524 | 3004 |
fi
|
2525 | 3005 |
done
|
2526 | 3006 |
done
|
|
3007 |
IFS=$as_save_IFS
|
2527 | 3008 |
|
2528 | 3009 |
fi
|
2529 | 3010 |
fi
|
2530 | 3011 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2531 | 3012 |
if test -n "$ac_ct_CC"; then
|
2532 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2533 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
2534 | |
else
|
2535 | |
echo "$as_me:$LINENO: result: no" >&5
|
2536 | |
echo "${ECHO_T}no" >&6
|
2537 | |
fi
|
|
3013 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
3014 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
3015 |
else
|
|
3016 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
3017 |
echo "${ECHO_T}no" >&6; }
|
|
3018 |
fi
|
|
3019 |
|
2538 | 3020 |
|
2539 | 3021 |
test -n "$ac_ct_CC" && break
|
2540 | 3022 |
done
|
2541 | 3023 |
|
2542 | |
CC=$ac_ct_CC
|
|
3024 |
if test "x$ac_ct_CC" = x; then
|
|
3025 |
CC=""
|
|
3026 |
else
|
|
3027 |
case $cross_compiling:$ac_tool_warned in
|
|
3028 |
yes:)
|
|
3029 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3030 |
whose name does not start with the host triplet. If you think this
|
|
3031 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
3032 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3033 |
whose name does not start with the host triplet. If you think this
|
|
3034 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3035 |
ac_tool_warned=yes ;;
|
|
3036 |
esac
|
|
3037 |
CC=$ac_ct_CC
|
|
3038 |
fi
|
2543 | 3039 |
fi
|
2544 | 3040 |
|
2545 | 3041 |
fi
|
|
2552 | 3048 |
{ (exit 1); exit 1; }; }
|
2553 | 3049 |
|
2554 | 3050 |
# Provide some information about the compiler.
|
2555 | |
echo "$as_me:$LINENO:" \
|
2556 | |
"checking for C compiler version" >&5
|
|
3051 |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
2557 | 3052 |
ac_compiler=`set X $ac_compile; echo $2`
|
2558 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
2559 | |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
3053 |
{ (ac_try="$ac_compiler --version >&5"
|
|
3054 |
case "(($ac_try" in
|
|
3055 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3056 |
*) ac_try_echo=$ac_try;;
|
|
3057 |
esac
|
|
3058 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3059 |
(eval "$ac_compiler --version >&5") 2>&5
|
2560 | 3060 |
ac_status=$?
|
2561 | 3061 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2562 | 3062 |
(exit $ac_status); }
|
2563 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
2564 | |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
|
3063 |
{ (ac_try="$ac_compiler -v >&5"
|
|
3064 |
case "(($ac_try" in
|
|
3065 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3066 |
*) ac_try_echo=$ac_try;;
|
|
3067 |
esac
|
|
3068 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3069 |
(eval "$ac_compiler -v >&5") 2>&5
|
2565 | 3070 |
ac_status=$?
|
2566 | 3071 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2567 | 3072 |
(exit $ac_status); }
|
2568 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
2569 | |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
|
3073 |
{ (ac_try="$ac_compiler -V >&5"
|
|
3074 |
case "(($ac_try" in
|
|
3075 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3076 |
*) ac_try_echo=$ac_try;;
|
|
3077 |
esac
|
|
3078 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3079 |
(eval "$ac_compiler -V >&5") 2>&5
|
2570 | 3080 |
ac_status=$?
|
2571 | 3081 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2572 | 3082 |
(exit $ac_status); }
|
2573 | 3083 |
|
2574 | |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2575 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
|
3084 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3085 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
2576 | 3086 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2577 | 3087 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2578 | 3088 |
else
|
|
2595 | 3105 |
}
|
2596 | 3106 |
_ACEOF
|
2597 | 3107 |
rm -f conftest.$ac_objext
|
2598 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2599 | |
(eval $ac_compile) 2>conftest.er1
|
|
3108 |
if { (ac_try="$ac_compile"
|
|
3109 |
case "(($ac_try" in
|
|
3110 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3111 |
*) ac_try_echo=$ac_try;;
|
|
3112 |
esac
|
|
3113 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3114 |
(eval "$ac_compile") 2>conftest.er1
|
2600 | 3115 |
ac_status=$?
|
2601 | 3116 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2602 | 3117 |
rm -f conftest.er1
|
2603 | 3118 |
cat conftest.err >&5
|
2604 | 3119 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2605 | 3120 |
(exit $ac_status); } &&
|
2606 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2607 | |
|| test ! -s conftest.err'
|
2608 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2609 | |
(eval $ac_try) 2>&5
|
|
3121 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3122 |
{ (case "(($ac_try" in
|
|
3123 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3124 |
*) ac_try_echo=$ac_try;;
|
|
3125 |
esac
|
|
3126 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3127 |
(eval "$ac_try") 2>&5
|
2610 | 3128 |
ac_status=$?
|
2611 | 3129 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2612 | 3130 |
(exit $ac_status); }; } &&
|
2613 | 3131 |
{ ac_try='test -s conftest.$ac_objext'
|
2614 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2615 | |
(eval $ac_try) 2>&5
|
|
3132 |
{ (case "(($ac_try" in
|
|
3133 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3134 |
*) ac_try_echo=$ac_try;;
|
|
3135 |
esac
|
|
3136 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3137 |
(eval "$ac_try") 2>&5
|
2616 | 3138 |
ac_status=$?
|
2617 | 3139 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2618 | 3140 |
(exit $ac_status); }; }; then
|
|
2621 | 3143 |
echo "$as_me: failed program was:" >&5
|
2622 | 3144 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2623 | 3145 |
|
2624 | |
ac_compiler_gnu=no
|
2625 | |
fi
|
2626 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3146 |
ac_compiler_gnu=no
|
|
3147 |
fi
|
|
3148 |
|
|
3149 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2627 | 3150 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2628 | 3151 |
|
2629 | 3152 |
fi
|
2630 | |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2631 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
|
3153 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3154 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2632 | 3155 |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2633 | 3156 |
ac_test_CFLAGS=${CFLAGS+set}
|
2634 | 3157 |
ac_save_CFLAGS=$CFLAGS
|
2635 | |
CFLAGS="-g"
|
2636 | |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2637 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
|
3158 |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3159 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2638 | 3160 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2639 | 3161 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2640 | 3162 |
else
|
2641 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
3163 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
3164 |
ac_c_werror_flag=yes
|
|
3165 |
ac_cv_prog_cc_g=no
|
|
3166 |
CFLAGS="-g"
|
|
3167 |
cat >conftest.$ac_ext <<_ACEOF
|
2642 | 3168 |
/* confdefs.h. */
|
2643 | 3169 |
_ACEOF
|
2644 | 3170 |
cat confdefs.h >>conftest.$ac_ext
|
|
2654 | 3180 |
}
|
2655 | 3181 |
_ACEOF
|
2656 | 3182 |
rm -f conftest.$ac_objext
|
2657 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2658 | |
(eval $ac_compile) 2>conftest.er1
|
|
3183 |
if { (ac_try="$ac_compile"
|
|
3184 |
case "(($ac_try" in
|
|
3185 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3186 |
*) ac_try_echo=$ac_try;;
|
|
3187 |
esac
|
|
3188 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3189 |
(eval "$ac_compile") 2>conftest.er1
|
2659 | 3190 |
ac_status=$?
|
2660 | 3191 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2661 | 3192 |
rm -f conftest.er1
|
2662 | 3193 |
cat conftest.err >&5
|
2663 | 3194 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2664 | 3195 |
(exit $ac_status); } &&
|
2665 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2666 | |
|| test ! -s conftest.err'
|
2667 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2668 | |
(eval $ac_try) 2>&5
|
|
3196 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3197 |
{ (case "(($ac_try" in
|
|
3198 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3199 |
*) ac_try_echo=$ac_try;;
|
|
3200 |
esac
|
|
3201 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3202 |
(eval "$ac_try") 2>&5
|
2669 | 3203 |
ac_status=$?
|
2670 | 3204 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2671 | 3205 |
(exit $ac_status); }; } &&
|
2672 | 3206 |
{ ac_try='test -s conftest.$ac_objext'
|
2673 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2674 | |
(eval $ac_try) 2>&5
|
|
3207 |
{ (case "(($ac_try" in
|
|
3208 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3209 |
*) ac_try_echo=$ac_try;;
|
|
3210 |
esac
|
|
3211 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3212 |
(eval "$ac_try") 2>&5
|
2675 | 3213 |
ac_status=$?
|
2676 | 3214 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2677 | 3215 |
(exit $ac_status); }; }; then
|
|
2680 | 3218 |
echo "$as_me: failed program was:" >&5
|
2681 | 3219 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2682 | 3220 |
|
2683 | |
ac_cv_prog_cc_g=no
|
2684 | |
fi
|
2685 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2686 | |
fi
|
2687 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2688 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
3221 |
CFLAGS=""
|
|
3222 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3223 |
/* confdefs.h. */
|
|
3224 |
_ACEOF
|
|
3225 |
cat confdefs.h >>conftest.$ac_ext
|
|
3226 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3227 |
/* end confdefs.h. */
|
|
3228 |
|
|
3229 |
int
|
|
3230 |
main ()
|
|
3231 |
{
|
|
3232 |
|
|
3233 |
;
|
|
3234 |
return 0;
|
|
3235 |
}
|
|
3236 |
_ACEOF
|
|
3237 |
rm -f conftest.$ac_objext
|
|
3238 |
if { (ac_try="$ac_compile"
|
|
3239 |
case "(($ac_try" in
|
|
3240 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3241 |
*) ac_try_echo=$ac_try;;
|
|
3242 |
esac
|
|
3243 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3244 |
(eval "$ac_compile") 2>conftest.er1
|
|
3245 |
ac_status=$?
|
|
3246 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3247 |
rm -f conftest.er1
|
|
3248 |
cat conftest.err >&5
|
|
3249 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3250 |
(exit $ac_status); } &&
|
|
3251 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3252 |
{ (case "(($ac_try" in
|
|
3253 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3254 |
*) ac_try_echo=$ac_try;;
|
|
3255 |
esac
|
|
3256 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3257 |
(eval "$ac_try") 2>&5
|
|
3258 |
ac_status=$?
|
|
3259 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3260 |
(exit $ac_status); }; } &&
|
|
3261 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3262 |
{ (case "(($ac_try" in
|
|
3263 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3264 |
*) ac_try_echo=$ac_try;;
|
|
3265 |
esac
|
|
3266 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3267 |
(eval "$ac_try") 2>&5
|
|
3268 |
ac_status=$?
|
|
3269 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3270 |
(exit $ac_status); }; }; then
|
|
3271 |
:
|
|
3272 |
else
|
|
3273 |
echo "$as_me: failed program was:" >&5
|
|
3274 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3275 |
|
|
3276 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3277 |
CFLAGS="-g"
|
|
3278 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3279 |
/* confdefs.h. */
|
|
3280 |
_ACEOF
|
|
3281 |
cat confdefs.h >>conftest.$ac_ext
|
|
3282 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3283 |
/* end confdefs.h. */
|
|
3284 |
|
|
3285 |
int
|
|
3286 |
main ()
|
|
3287 |
{
|
|
3288 |
|
|
3289 |
;
|
|
3290 |
return 0;
|
|
3291 |
}
|
|
3292 |
_ACEOF
|
|
3293 |
rm -f conftest.$ac_objext
|
|
3294 |
if { (ac_try="$ac_compile"
|
|
3295 |
case "(($ac_try" in
|
|
3296 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3297 |
*) ac_try_echo=$ac_try;;
|
|
3298 |
esac
|
|
3299 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3300 |
(eval "$ac_compile") 2>conftest.er1
|
|
3301 |
ac_status=$?
|
|
3302 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3303 |
rm -f conftest.er1
|
|
3304 |
cat conftest.err >&5
|
|
3305 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3306 |
(exit $ac_status); } &&
|
|
3307 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3308 |
{ (case "(($ac_try" in
|
|
3309 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3310 |
*) ac_try_echo=$ac_try;;
|
|
3311 |
esac
|
|
3312 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3313 |
(eval "$ac_try") 2>&5
|
|
3314 |
ac_status=$?
|
|
3315 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3316 |
(exit $ac_status); }; } &&
|
|
3317 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3318 |
{ (case "(($ac_try" in
|
|
3319 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3320 |
*) ac_try_echo=$ac_try;;
|
|
3321 |
esac
|
|
3322 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3323 |
(eval "$ac_try") 2>&5
|
|
3324 |
ac_status=$?
|
|
3325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3326 |
(exit $ac_status); }; }; then
|
|
3327 |
ac_cv_prog_cc_g=yes
|
|
3328 |
else
|
|
3329 |
echo "$as_me: failed program was:" >&5
|
|
3330 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3331 |
|
|
3332 |
|
|
3333 |
fi
|
|
3334 |
|
|
3335 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3336 |
fi
|
|
3337 |
|
|
3338 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3339 |
fi
|
|
3340 |
|
|
3341 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3342 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3343 |
fi
|
|
3344 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3345 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
2689 | 3346 |
if test "$ac_test_CFLAGS" = set; then
|
2690 | 3347 |
CFLAGS=$ac_save_CFLAGS
|
2691 | 3348 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2701 | 3358 |
CFLAGS=
|
2702 | 3359 |
fi
|
2703 | 3360 |
fi
|
2704 | |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
2705 | |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2706 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
|
3361 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3362 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
|
3363 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2707 | 3364 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2708 | 3365 |
else
|
2709 | |
ac_cv_prog_cc_stdc=no
|
|
3366 |
ac_cv_prog_cc_c89=no
|
2710 | 3367 |
ac_save_CC=$CC
|
2711 | 3368 |
cat >conftest.$ac_ext <<_ACEOF
|
2712 | 3369 |
/* confdefs.h. */
|
|
2740 | 3397 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
2741 | 3398 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
2742 | 3399 |
These don't provoke an error unfortunately, instead are silently treated
|
2743 | |
as 'x'. The following induces an error, until -std1 is added to get
|
|
3400 |
as 'x'. The following induces an error, until -std is added to get
|
2744 | 3401 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
2745 | 3402 |
array size at least. It's necessary to write '\x00'==0 to get something
|
2746 | |
that's true only with -std1. */
|
|
3403 |
that's true only with -std. */
|
2747 | 3404 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
3405 |
|
|
3406 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
3407 |
inside strings and character constants. */
|
|
3408 |
#define FOO(x) 'x'
|
|
3409 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
2748 | 3410 |
|
2749 | 3411 |
int test (int i, double x);
|
2750 | 3412 |
struct s1 {int (*f) (int a);};
|
|
2760 | 3422 |
return 0;
|
2761 | 3423 |
}
|
2762 | 3424 |
_ACEOF
|
2763 | |
# Don't try gcc -ansi; that turns off useful extensions and
|
2764 | |
# breaks some systems' header files.
|
2765 | |
# AIX -qlanglvl=ansi
|
2766 | |
# Ultrix and OSF/1 -std1
|
2767 | |
# HP-UX 10.20 and later -Ae
|
2768 | |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2769 | |
# SVR4 -Xc -D__EXTENSIONS__
|
2770 | |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
3425 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
3426 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2771 | 3427 |
do
|
2772 | 3428 |
CC="$ac_save_CC $ac_arg"
|
2773 | 3429 |
rm -f conftest.$ac_objext
|
2774 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2775 | |
(eval $ac_compile) 2>conftest.er1
|
|
3430 |
if { (ac_try="$ac_compile"
|
|
3431 |
case "(($ac_try" in
|
|
3432 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3433 |
*) ac_try_echo=$ac_try;;
|
|
3434 |
esac
|
|
3435 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3436 |
(eval "$ac_compile") 2>conftest.er1
|
2776 | 3437 |
ac_status=$?
|
2777 | 3438 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2778 | 3439 |
rm -f conftest.er1
|
2779 | 3440 |
cat conftest.err >&5
|
2780 | 3441 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2781 | 3442 |
(exit $ac_status); } &&
|
2782 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2783 | |
|| test ! -s conftest.err'
|
2784 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2785 | |
(eval $ac_try) 2>&5
|
|
3443 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3444 |
{ (case "(($ac_try" in
|
|
3445 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3446 |
*) ac_try_echo=$ac_try;;
|
|
3447 |
esac
|
|
3448 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3449 |
(eval "$ac_try") 2>&5
|
2786 | 3450 |
ac_status=$?
|
2787 | 3451 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2788 | 3452 |
(exit $ac_status); }; } &&
|
2789 | 3453 |
{ ac_try='test -s conftest.$ac_objext'
|
2790 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2791 | |
(eval $ac_try) 2>&5
|
|
3454 |
{ (case "(($ac_try" in
|
|
3455 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3456 |
*) ac_try_echo=$ac_try;;
|
|
3457 |
esac
|
|
3458 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3459 |
(eval "$ac_try") 2>&5
|
2792 | 3460 |
ac_status=$?
|
2793 | 3461 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2794 | 3462 |
(exit $ac_status); }; }; then
|
2795 | |
ac_cv_prog_cc_stdc=$ac_arg
|
2796 | |
break
|
|
3463 |
ac_cv_prog_cc_c89=$ac_arg
|
2797 | 3464 |
else
|
2798 | 3465 |
echo "$as_me: failed program was:" >&5
|
2799 | 3466 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2800 | 3467 |
|
2801 | |
fi
|
2802 | |
rm -f conftest.err conftest.$ac_objext
|
|
3468 |
|
|
3469 |
fi
|
|
3470 |
|
|
3471 |
rm -f core conftest.err conftest.$ac_objext
|
|
3472 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2803 | 3473 |
done
|
2804 | |
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
3474 |
rm -f conftest.$ac_ext
|
2805 | 3475 |
CC=$ac_save_CC
|
2806 | 3476 |
|
2807 | 3477 |
fi
|
2808 | |
|
2809 | |
case "x$ac_cv_prog_cc_stdc" in
|
2810 | |
x|xno)
|
2811 | |
echo "$as_me:$LINENO: result: none needed" >&5
|
2812 | |
echo "${ECHO_T}none needed" >&6 ;;
|
|
3478 |
# AC_CACHE_VAL
|
|
3479 |
case "x$ac_cv_prog_cc_c89" in
|
|
3480 |
x)
|
|
3481 |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
|
3482 |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
3483 |
xno)
|
|
3484 |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3485 |
echo "${ECHO_T}unsupported" >&6; } ;;
|
2813 | 3486 |
*)
|
2814 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2815 | |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2816 | |
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
2817 | |
esac
|
2818 | |
|
2819 | |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2820 | |
# in C++ we need to declare it. In case someone uses the same compiler
|
2821 | |
# for both compiling C and C++ we need to have the C++ compiler decide
|
2822 | |
# the declaration of exit, since it's the most demanding environment.
|
2823 | |
cat >conftest.$ac_ext <<_ACEOF
|
2824 | |
#ifndef __cplusplus
|
2825 | |
choke me
|
2826 | |
#endif
|
2827 | |
_ACEOF
|
2828 | |
rm -f conftest.$ac_objext
|
2829 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2830 | |
(eval $ac_compile) 2>conftest.er1
|
2831 | |
ac_status=$?
|
2832 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2833 | |
rm -f conftest.er1
|
2834 | |
cat conftest.err >&5
|
2835 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2836 | |
(exit $ac_status); } &&
|
2837 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2838 | |
|| test ! -s conftest.err'
|
2839 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2840 | |
(eval $ac_try) 2>&5
|
2841 | |
ac_status=$?
|
2842 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2843 | |
(exit $ac_status); }; } &&
|
2844 | |
{ ac_try='test -s conftest.$ac_objext'
|
2845 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2846 | |
(eval $ac_try) 2>&5
|
2847 | |
ac_status=$?
|
2848 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2849 | |
(exit $ac_status); }; }; then
|
2850 | |
for ac_declaration in \
|
2851 | |
'' \
|
2852 | |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2853 | |
'extern "C" void std::exit (int); using std::exit;' \
|
2854 | |
'extern "C" void exit (int) throw ();' \
|
2855 | |
'extern "C" void exit (int);' \
|
2856 | |
'void exit (int);'
|
2857 | |
do
|
2858 | |
cat >conftest.$ac_ext <<_ACEOF
|
2859 | |
/* confdefs.h. */
|
2860 | |
_ACEOF
|
2861 | |
cat confdefs.h >>conftest.$ac_ext
|
2862 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2863 | |
/* end confdefs.h. */
|
2864 | |
$ac_declaration
|
2865 | |
#include <stdlib.h>
|
2866 | |
int
|
2867 | |
main ()
|
2868 | |
{
|
2869 | |
exit (42);
|
2870 | |
;
|
2871 | |
return 0;
|
2872 | |
}
|
2873 | |
_ACEOF
|
2874 | |
rm -f conftest.$ac_objext
|
2875 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2876 | |
(eval $ac_compile) 2>conftest.er1
|
2877 | |
ac_status=$?
|
2878 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2879 | |
rm -f conftest.er1
|
2880 | |
cat conftest.err >&5
|
2881 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2882 | |
(exit $ac_status); } &&
|
2883 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2884 | |
|| test ! -s conftest.err'
|
2885 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2886 | |
(eval $ac_try) 2>&5
|
2887 | |
ac_status=$?
|
2888 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2889 | |
(exit $ac_status); }; } &&
|
2890 | |
{ ac_try='test -s conftest.$ac_objext'
|
2891 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2892 | |
(eval $ac_try) 2>&5
|
2893 | |
ac_status=$?
|
2894 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2895 | |
(exit $ac_status); }; }; then
|
2896 | |
:
|
2897 | |
else
|
2898 | |
echo "$as_me: failed program was:" >&5
|
2899 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2900 | |
|
2901 | |
continue
|
2902 | |
fi
|
2903 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2904 | |
cat >conftest.$ac_ext <<_ACEOF
|
2905 | |
/* confdefs.h. */
|
2906 | |
_ACEOF
|
2907 | |
cat confdefs.h >>conftest.$ac_ext
|
2908 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2909 | |
/* end confdefs.h. */
|
2910 | |
$ac_declaration
|
2911 | |
int
|
2912 | |
main ()
|
2913 | |
{
|
2914 | |
exit (42);
|
2915 | |
;
|
2916 | |
return 0;
|
2917 | |
}
|
2918 | |
_ACEOF
|
2919 | |
rm -f conftest.$ac_objext
|
2920 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2921 | |
(eval $ac_compile) 2>conftest.er1
|
2922 | |
ac_status=$?
|
2923 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2924 | |
rm -f conftest.er1
|
2925 | |
cat conftest.err >&5
|
2926 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2927 | |
(exit $ac_status); } &&
|
2928 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2929 | |
|| test ! -s conftest.err'
|
2930 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2931 | |
(eval $ac_try) 2>&5
|
2932 | |
ac_status=$?
|
2933 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2934 | |
(exit $ac_status); }; } &&
|
2935 | |
{ ac_try='test -s conftest.$ac_objext'
|
2936 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2937 | |
(eval $ac_try) 2>&5
|
2938 | |
ac_status=$?
|
2939 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2940 | |
(exit $ac_status); }; }; then
|
2941 | |
break
|
2942 | |
else
|
2943 | |
echo "$as_me: failed program was:" >&5
|
2944 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2945 | |
|
2946 | |
fi
|
2947 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2948 | |
done
|
2949 | |
rm -f conftest*
|
2950 | |
if test -n "$ac_declaration"; then
|
2951 | |
echo '#ifdef __cplusplus' >>confdefs.h
|
2952 | |
echo $ac_declaration >>confdefs.h
|
2953 | |
echo '#endif' >>confdefs.h
|
2954 | |
fi
|
2955 | |
|
2956 | |
else
|
2957 | |
echo "$as_me: failed program was:" >&5
|
2958 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2959 | |
|
2960 | |
fi
|
2961 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3487 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
3488 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3489 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3490 |
esac
|
|
3491 |
|
|
3492 |
|
2962 | 3493 |
ac_ext=c
|
2963 | 3494 |
ac_cpp='$CPP $CPPFLAGS'
|
2964 | 3495 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
2971 | 3502 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2972 | 3503 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2973 | 3504 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2974 | |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2975 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
|
3505 |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3506 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
2976 | 3507 |
# On Suns, sometimes $CPP names a directory.
|
2977 | 3508 |
if test -n "$CPP" && test -d "$CPP"; then
|
2978 | 3509 |
CPP=
|
|
3006 | 3537 |
#endif
|
3007 | 3538 |
Syntax error
|
3008 | 3539 |
_ACEOF
|
3009 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3010 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3540 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3541 |
case "(($ac_try" in
|
|
3542 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3543 |
*) ac_try_echo=$ac_try;;
|
|
3544 |
esac
|
|
3545 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3546 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3011 | 3547 |
ac_status=$?
|
3012 | 3548 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3013 | 3549 |
rm -f conftest.er1
|
|
3032 | 3568 |
# Broken: fails on valid input.
|
3033 | 3569 |
continue
|
3034 | 3570 |
fi
|
|
3571 |
|
3035 | 3572 |
rm -f conftest.err conftest.$ac_ext
|
3036 | 3573 |
|
3037 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3574 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3038 | 3575 |
# can be detected and how.
|
3039 | 3576 |
cat >conftest.$ac_ext <<_ACEOF
|
3040 | 3577 |
/* confdefs.h. */
|
|
3044 | 3581 |
/* end confdefs.h. */
|
3045 | 3582 |
#include <ac_nonexistent.h>
|
3046 | 3583 |
_ACEOF
|
3047 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3048 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3584 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3585 |
case "(($ac_try" in
|
|
3586 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3587 |
*) ac_try_echo=$ac_try;;
|
|
3588 |
esac
|
|
3589 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3590 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3049 | 3591 |
ac_status=$?
|
3050 | 3592 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3051 | 3593 |
rm -f conftest.er1
|
|
3072 | 3614 |
ac_preproc_ok=:
|
3073 | 3615 |
break
|
3074 | 3616 |
fi
|
|
3617 |
|
3075 | 3618 |
rm -f conftest.err conftest.$ac_ext
|
3076 | 3619 |
|
3077 | 3620 |
done
|
|
3089 | 3632 |
else
|
3090 | 3633 |
ac_cv_prog_CPP=$CPP
|
3091 | 3634 |
fi
|
3092 | |
echo "$as_me:$LINENO: result: $CPP" >&5
|
3093 | |
echo "${ECHO_T}$CPP" >&6
|
|
3635 |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3636 |
echo "${ECHO_T}$CPP" >&6; }
|
3094 | 3637 |
ac_preproc_ok=false
|
3095 | 3638 |
for ac_c_preproc_warn_flag in '' yes
|
3096 | 3639 |
do
|
|
3113 | 3656 |
#endif
|
3114 | 3657 |
Syntax error
|
3115 | 3658 |
_ACEOF
|
3116 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3117 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3659 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3660 |
case "(($ac_try" in
|
|
3661 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3662 |
*) ac_try_echo=$ac_try;;
|
|
3663 |
esac
|
|
3664 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3665 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3118 | 3666 |
ac_status=$?
|
3119 | 3667 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3120 | 3668 |
rm -f conftest.er1
|
|
3139 | 3687 |
# Broken: fails on valid input.
|
3140 | 3688 |
continue
|
3141 | 3689 |
fi
|
|
3690 |
|
3142 | 3691 |
rm -f conftest.err conftest.$ac_ext
|
3143 | 3692 |
|
3144 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3693 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3145 | 3694 |
# can be detected and how.
|
3146 | 3695 |
cat >conftest.$ac_ext <<_ACEOF
|
3147 | 3696 |
/* confdefs.h. */
|
|
3151 | 3700 |
/* end confdefs.h. */
|
3152 | 3701 |
#include <ac_nonexistent.h>
|
3153 | 3702 |
_ACEOF
|
3154 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3155 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3703 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3704 |
case "(($ac_try" in
|
|
3705 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3706 |
*) ac_try_echo=$ac_try;;
|
|
3707 |
esac
|
|
3708 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3709 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3156 | 3710 |
ac_status=$?
|
3157 | 3711 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3158 | 3712 |
rm -f conftest.er1
|
|
3179 | 3733 |
ac_preproc_ok=:
|
3180 | 3734 |
break
|
3181 | 3735 |
fi
|
|
3736 |
|
3182 | 3737 |
rm -f conftest.err conftest.$ac_ext
|
3183 | 3738 |
|
3184 | 3739 |
done
|
|
3201 | 3756 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3202 | 3757 |
|
3203 | 3758 |
|
3204 | |
echo "$as_me:$LINENO: checking for egrep" >&5
|
3205 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
3206 | |
if test "${ac_cv_prog_egrep+set}" = set; then
|
|
3759 |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
3760 |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
3761 |
if test "${ac_cv_path_GREP+set}" = set; then
|
3207 | 3762 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3208 | 3763 |
else
|
3209 | |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
3210 | |
then ac_cv_prog_egrep='grep -E'
|
3211 | |
else ac_cv_prog_egrep='egrep'
|
|
3764 |
# Extract the first word of "grep ggrep" to use in msg output
|
|
3765 |
if test -z "$GREP"; then
|
|
3766 |
set dummy grep ggrep; ac_prog_name=$2
|
|
3767 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3768 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3769 |
else
|
|
3770 |
ac_path_GREP_found=false
|
|
3771 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3772 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3773 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3774 |
do
|
|
3775 |
IFS=$as_save_IFS
|
|
3776 |
test -z "$as_dir" && as_dir=.
|
|
3777 |
for ac_prog in grep ggrep; do
|
|
3778 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3779 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3780 |
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
|
|
3781 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
3782 |
# Check for GNU $ac_path_GREP
|
|
3783 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
3784 |
*GNU*)
|
|
3785 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
3786 |
*)
|
|
3787 |
ac_count=0
|
|
3788 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3789 |
while :
|
|
3790 |
do
|
|
3791 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3792 |
mv "conftest.tmp" "conftest.in"
|
|
3793 |
cp "conftest.in" "conftest.nl"
|
|
3794 |
echo 'GREP' >> "conftest.nl"
|
|
3795 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3796 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3797 |
ac_count=`expr $ac_count + 1`
|
|
3798 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
3799 |
# Best one so far, save it but keep looking for a better one
|
|
3800 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3801 |
ac_path_GREP_max=$ac_count
|
3212 | 3802 |
fi
|
3213 | |
fi
|
3214 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
3215 | |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
3216 | |
EGREP=$ac_cv_prog_egrep
|
3217 | |
|
3218 | |
|
3219 | |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3220 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
|
3803 |
# 10*(2^10) chars as input seems more than enough
|
|
3804 |
test $ac_count -gt 10 && break
|
|
3805 |
done
|
|
3806 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3807 |
esac
|
|
3808 |
|
|
3809 |
|
|
3810 |
$ac_path_GREP_found && break 3
|
|
3811 |
done
|
|
3812 |
done
|
|
3813 |
|
|
3814 |
done
|
|
3815 |
IFS=$as_save_IFS
|
|
3816 |
|
|
3817 |
|
|
3818 |
fi
|
|
3819 |
|
|
3820 |
GREP="$ac_cv_path_GREP"
|
|
3821 |
if test -z "$GREP"; then
|
|
3822 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3823 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3824 |
{ (exit 1); exit 1; }; }
|
|
3825 |
fi
|
|
3826 |
|
|
3827 |
else
|
|
3828 |
ac_cv_path_GREP=$GREP
|
|
3829 |
fi
|
|
3830 |
|
|
3831 |
|
|
3832 |
fi
|
|
3833 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
3834 |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
3835 |
GREP="$ac_cv_path_GREP"
|
|
3836 |
|
|
3837 |
|
|
3838 |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
|
3839 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
3840 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3841 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3842 |
else
|
|
3843 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
3844 |
then ac_cv_path_EGREP="$GREP -E"
|
|
3845 |
else
|
|
3846 |
# Extract the first word of "egrep" to use in msg output
|
|
3847 |
if test -z "$EGREP"; then
|
|
3848 |
set dummy egrep; ac_prog_name=$2
|
|
3849 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3850 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3851 |
else
|
|
3852 |
ac_path_EGREP_found=false
|
|
3853 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3854 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3855 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3856 |
do
|
|
3857 |
IFS=$as_save_IFS
|
|
3858 |
test -z "$as_dir" && as_dir=.
|
|
3859 |
for ac_prog in egrep; do
|
|
3860 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3861 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3862 |
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
|
|
3863 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
3864 |
# Check for GNU $ac_path_EGREP
|
|
3865 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
3866 |
*GNU*)
|
|
3867 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
3868 |
*)
|
|
3869 |
ac_count=0
|
|
3870 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3871 |
while :
|
|
3872 |
do
|
|
3873 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3874 |
mv "conftest.tmp" "conftest.in"
|
|
3875 |
cp "conftest.in" "conftest.nl"
|
|
3876 |
echo 'EGREP' >> "conftest.nl"
|
|
3877 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3878 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3879 |
ac_count=`expr $ac_count + 1`
|
|
3880 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
3881 |
# Best one so far, save it but keep looking for a better one
|
|
3882 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3883 |
ac_path_EGREP_max=$ac_count
|
|
3884 |
fi
|
|
3885 |
# 10*(2^10) chars as input seems more than enough
|
|
3886 |
test $ac_count -gt 10 && break
|
|
3887 |
done
|
|
3888 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3889 |
esac
|
|
3890 |
|
|
3891 |
|
|
3892 |
$ac_path_EGREP_found && break 3
|
|
3893 |
done
|
|
3894 |
done
|
|
3895 |
|
|
3896 |
done
|
|
3897 |
IFS=$as_save_IFS
|
|
3898 |
|
|
3899 |
|
|
3900 |
fi
|
|
3901 |
|
|
3902 |
EGREP="$ac_cv_path_EGREP"
|
|
3903 |
if test -z "$EGREP"; then
|
|
3904 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3905 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3906 |
{ (exit 1); exit 1; }; }
|
|
3907 |
fi
|
|
3908 |
|
|
3909 |
else
|
|
3910 |
ac_cv_path_EGREP=$EGREP
|
|
3911 |
fi
|
|
3912 |
|
|
3913 |
|
|
3914 |
fi
|
|
3915 |
fi
|
|
3916 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
3917 |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
3918 |
EGREP="$ac_cv_path_EGREP"
|
|
3919 |
|
|
3920 |
|
|
3921 |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
3922 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3221 | 3923 |
if test "${ac_cv_header_stdc+set}" = set; then
|
3222 | 3924 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3223 | 3925 |
else
|
|
3241 | 3943 |
}
|
3242 | 3944 |
_ACEOF
|
3243 | 3945 |
rm -f conftest.$ac_objext
|
3244 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3245 | |
(eval $ac_compile) 2>conftest.er1
|
|
3946 |
if { (ac_try="$ac_compile"
|
|
3947 |
case "(($ac_try" in
|
|
3948 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3949 |
*) ac_try_echo=$ac_try;;
|
|
3950 |
esac
|
|
3951 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3952 |
(eval "$ac_compile") 2>conftest.er1
|
3246 | 3953 |
ac_status=$?
|
3247 | 3954 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3248 | 3955 |
rm -f conftest.er1
|
3249 | 3956 |
cat conftest.err >&5
|
3250 | 3957 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3251 | 3958 |
(exit $ac_status); } &&
|
3252 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3253 | |
|| test ! -s conftest.err'
|
3254 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3255 | |
(eval $ac_try) 2>&5
|
|
3959 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
3960 |
{ (case "(($ac_try" in
|
|
3961 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3962 |
*) ac_try_echo=$ac_try;;
|
|
3963 |
esac
|
|
3964 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3965 |
(eval "$ac_try") 2>&5
|
3256 | 3966 |
ac_status=$?
|
3257 | 3967 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3258 | 3968 |
(exit $ac_status); }; } &&
|
3259 | 3969 |
{ ac_try='test -s conftest.$ac_objext'
|
3260 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3261 | |
(eval $ac_try) 2>&5
|
|
3970 |
{ (case "(($ac_try" in
|
|
3971 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3972 |
*) ac_try_echo=$ac_try;;
|
|
3973 |
esac
|
|
3974 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3975 |
(eval "$ac_try") 2>&5
|
3262 | 3976 |
ac_status=$?
|
3263 | 3977 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3264 | 3978 |
(exit $ac_status); }; }; then
|
|
3267 | 3981 |
echo "$as_me: failed program was:" >&5
|
3268 | 3982 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3269 | 3983 |
|
3270 | |
ac_cv_header_stdc=no
|
3271 | |
fi
|
3272 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3984 |
ac_cv_header_stdc=no
|
|
3985 |
fi
|
|
3986 |
|
|
3987 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3273 | 3988 |
|
3274 | 3989 |
if test $ac_cv_header_stdc = yes; then
|
3275 | 3990 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
3325 | 4040 |
cat >>conftest.$ac_ext <<_ACEOF
|
3326 | 4041 |
/* end confdefs.h. */
|
3327 | 4042 |
#include <ctype.h>
|
|
4043 |
#include <stdlib.h>
|
3328 | 4044 |
#if ((' ' & 0x0FF) == 0x020)
|
3329 | 4045 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3330 | 4046 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
3344 | 4060 |
for (i = 0; i < 256; i++)
|
3345 | 4061 |
if (XOR (islower (i), ISLOWER (i))
|
3346 | 4062 |
|| toupper (i) != TOUPPER (i))
|
3347 | |
exit(2);
|
3348 | |
exit (0);
|
|
4063 |
return 2;
|
|
4064 |
return 0;
|
3349 | 4065 |
}
|
3350 | 4066 |
_ACEOF
|
3351 | 4067 |
rm -f conftest$ac_exeext
|
3352 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3353 | |
(eval $ac_link) 2>&5
|
|
4068 |
if { (ac_try="$ac_link"
|
|
4069 |
case "(($ac_try" in
|
|
4070 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4071 |
*) ac_try_echo=$ac_try;;
|
|
4072 |
esac
|
|
4073 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4074 |
(eval "$ac_link") 2>&5
|
3354 | 4075 |
ac_status=$?
|
3355 | 4076 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3356 | 4077 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3357 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3358 | |
(eval $ac_try) 2>&5
|
|
4078 |
{ (case "(($ac_try" in
|
|
4079 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4080 |
*) ac_try_echo=$ac_try;;
|
|
4081 |
esac
|
|
4082 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4083 |
(eval "$ac_try") 2>&5
|
3359 | 4084 |
ac_status=$?
|
3360 | 4085 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3361 | 4086 |
(exit $ac_status); }; }; then
|
|
3368 | 4093 |
( exit $ac_status )
|
3369 | 4094 |
ac_cv_header_stdc=no
|
3370 | 4095 |
fi
|
3371 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3372 | |
fi
|
3373 | |
fi
|
3374 | |
fi
|
3375 | |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3376 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
|
4096 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
4097 |
fi
|
|
4098 |
|
|
4099 |
|
|
4100 |
fi
|
|
4101 |
fi
|
|
4102 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4103 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
3377 | 4104 |
if test $ac_cv_header_stdc = yes; then
|
3378 | 4105 |
|
3379 | 4106 |
cat >>confdefs.h <<\_ACEOF
|
|
3396 | 4123 |
inttypes.h stdint.h unistd.h
|
3397 | 4124 |
do
|
3398 | 4125 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3399 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3400 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3401 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4126 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4127 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4128 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3402 | 4129 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3403 | 4130 |
else
|
3404 | 4131 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3412 | 4139 |
#include <$ac_header>
|
3413 | 4140 |
_ACEOF
|
3414 | 4141 |
rm -f conftest.$ac_objext
|
3415 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3416 | |
(eval $ac_compile) 2>conftest.er1
|
|
4142 |
if { (ac_try="$ac_compile"
|
|
4143 |
case "(($ac_try" in
|
|
4144 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4145 |
*) ac_try_echo=$ac_try;;
|
|
4146 |
esac
|
|
4147 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4148 |
(eval "$ac_compile") 2>conftest.er1
|
3417 | 4149 |
ac_status=$?
|
3418 | 4150 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3419 | 4151 |
rm -f conftest.er1
|
3420 | 4152 |
cat conftest.err >&5
|
3421 | 4153 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3422 | 4154 |
(exit $ac_status); } &&
|
3423 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3424 | |
|| test ! -s conftest.err'
|
3425 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3426 | |
(eval $ac_try) 2>&5
|
|
4155 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
4156 |
{ (case "(($ac_try" in
|
|
4157 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4158 |
*) ac_try_echo=$ac_try;;
|
|
4159 |
esac
|
|
4160 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4161 |
(eval "$ac_try") 2>&5
|
3427 | 4162 |
ac_status=$?
|
3428 | 4163 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3429 | 4164 |
(exit $ac_status); }; } &&
|
3430 | 4165 |
{ ac_try='test -s conftest.$ac_objext'
|
3431 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3432 | |
(eval $ac_try) 2>&5
|
|
4166 |
{ (case "(($ac_try" in
|
|
4167 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4168 |
*) ac_try_echo=$ac_try;;
|
|
4169 |
esac
|
|
4170 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4171 |
(eval "$ac_try") 2>&5
|
3433 | 4172 |
ac_status=$?
|
3434 | 4173 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3435 | 4174 |
(exit $ac_status); }; }; then
|
|
3438 | 4177 |
echo "$as_me: failed program was:" >&5
|
3439 | 4178 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3440 | 4179 |
|
3441 | |
eval "$as_ac_Header=no"
|
3442 | |
fi
|
3443 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3444 | |
fi
|
3445 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3446 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4180 |
eval "$as_ac_Header=no"
|
|
4181 |
fi
|
|
4182 |
|
|
4183 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4184 |
fi
|
|
4185 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4186 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4187 |
echo "${ECHO_T}$ac_res" >&6; }
|
3447 | 4188 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3448 | 4189 |
cat >>confdefs.h <<_ACEOF
|
3449 | 4190 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
3468 | 4209 |
unistd.h fcntl.h time.h stdlib.h math.h
|
3469 | 4210 |
do
|
3470 | 4211 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3471 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3472 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3473 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3474 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4212 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4213 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4214 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4215 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3475 | 4216 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3476 | 4217 |
fi
|
3477 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3478 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4218 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4219 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4220 |
echo "${ECHO_T}$ac_res" >&6; }
|
3479 | 4221 |
else
|
3480 | 4222 |
# Is the header compilable?
|
3481 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
3482 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
4223 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4224 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
3483 | 4225 |
cat >conftest.$ac_ext <<_ACEOF
|
3484 | 4226 |
/* confdefs.h. */
|
3485 | 4227 |
_ACEOF
|
|
3490 | 4232 |
#include <$ac_header>
|
3491 | 4233 |
_ACEOF
|
3492 | 4234 |
rm -f conftest.$ac_objext
|
3493 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3494 | |
(eval $ac_compile) 2>conftest.er1
|
|
4235 |
if { (ac_try="$ac_compile"
|
|
4236 |
case "(($ac_try" in
|
|
4237 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4238 |
*) ac_try_echo=$ac_try;;
|
|
4239 |
esac
|
|
4240 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4241 |
(eval "$ac_compile") 2>conftest.er1
|
3495 | 4242 |
ac_status=$?
|
3496 | 4243 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3497 | 4244 |
rm -f conftest.er1
|
3498 | 4245 |
cat conftest.err >&5
|
3499 | 4246 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3500 | 4247 |
(exit $ac_status); } &&
|
3501 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3502 | |
|| test ! -s conftest.err'
|
3503 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3504 | |
(eval $ac_try) 2>&5
|
|
4248 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
4249 |
{ (case "(($ac_try" in
|
|
4250 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4251 |
*) ac_try_echo=$ac_try;;
|
|
4252 |
esac
|
|
4253 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4254 |
(eval "$ac_try") 2>&5
|
3505 | 4255 |
ac_status=$?
|
3506 | 4256 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3507 | 4257 |
(exit $ac_status); }; } &&
|
3508 | 4258 |
{ ac_try='test -s conftest.$ac_objext'
|
3509 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3510 | |
(eval $ac_try) 2>&5
|
|
4259 |
{ (case "(($ac_try" in
|
|
4260 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4261 |
*) ac_try_echo=$ac_try;;
|
|
4262 |
esac
|
|
4263 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4264 |
(eval "$ac_try") 2>&5
|
3511 | 4265 |
ac_status=$?
|
3512 | 4266 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3513 | 4267 |
(exit $ac_status); }; }; then
|
|
3516 | 4270 |
echo "$as_me: failed program was:" >&5
|
3517 | 4271 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3518 | 4272 |
|
3519 | |
ac_header_compiler=no
|
3520 | |
fi
|
3521 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3522 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3523 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
4273 |
ac_header_compiler=no
|
|
4274 |
fi
|
|
4275 |
|
|
4276 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4277 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4278 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3524 | 4279 |
|
3525 | 4280 |
# Is the header present?
|
3526 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
3527 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
4281 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
4282 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
3528 | 4283 |
cat >conftest.$ac_ext <<_ACEOF
|
3529 | 4284 |
/* confdefs.h. */
|
3530 | 4285 |
_ACEOF
|
|
3533 | 4288 |
/* end confdefs.h. */
|
3534 | 4289 |
#include <$ac_header>
|
3535 | 4290 |
_ACEOF
|
3536 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3537 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4291 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4292 |
case "(($ac_try" in
|
|
4293 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4294 |
*) ac_try_echo=$ac_try;;
|
|
4295 |
esac
|
|
4296 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4297 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3538 | 4298 |
ac_status=$?
|
3539 | 4299 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3540 | 4300 |
rm -f conftest.er1
|
|
3558 | 4318 |
|
3559 | 4319 |
ac_header_preproc=no
|
3560 | 4320 |
fi
|
|
4321 |
|
3561 | 4322 |
rm -f conftest.err conftest.$ac_ext
|
3562 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3563 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4323 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4324 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3564 | 4325 |
|
3565 | 4326 |
# So? What about this header?
|
3566 | 4327 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
3584 | 4345 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
3585 | 4346 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
3586 | 4347 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
3587 | |
(
|
3588 | |
cat <<\_ASBOX
|
3589 | |
## ------------------------------------------ ##
|
3590 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
3591 | |
## ------------------------------------------ ##
|
3592 | |
_ASBOX
|
3593 | |
) |
|
3594 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
4348 |
|
3595 | 4349 |
;;
|
3596 | 4350 |
esac
|
3597 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3598 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3599 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4351 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4352 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4353 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3600 | 4354 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3601 | 4355 |
else
|
3602 | 4356 |
eval "$as_ac_Header=\$ac_header_preproc"
|
3603 | 4357 |
fi
|
3604 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3605 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4358 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4359 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4360 |
echo "${ECHO_T}$ac_res" >&6; }
|
3606 | 4361 |
|
3607 | 4362 |
fi
|
3608 | 4363 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
3620 | 4375 |
done
|
3621 | 4376 |
|
3622 | 4377 |
|
3623 | |
echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
|
3624 | |
echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
|
|
4378 |
{ echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
|
|
4379 |
echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6; }
|
3625 | 4380 |
if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
|
3626 | 4381 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3627 | 4382 |
else
|
|
3634 | 4389 |
cat >>conftest.$ac_ext <<_ACEOF
|
3635 | 4390 |
/* end confdefs.h. */
|
3636 | 4391 |
|
3637 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4392 |
/* Override any GCC internal prototype to avoid an error.
|
|
4393 |
Use char because int might match the return type of a GCC
|
|
4394 |
builtin and then its argument prototype would still apply. */
|
3638 | 4395 |
#ifdef __cplusplus
|
3639 | 4396 |
extern "C"
|
3640 | 4397 |
#endif
|
3641 | |
/* We use char because int might match the return type of a gcc2
|
3642 | |
builtin and then its argument prototype would still apply. */
|
3643 | 4398 |
char wgetch ();
|
3644 | 4399 |
int
|
3645 | 4400 |
main ()
|
3646 | 4401 |
{
|
3647 | |
wgetch ();
|
|
4402 |
return wgetch ();
|
3648 | 4403 |
;
|
3649 | 4404 |
return 0;
|
3650 | 4405 |
}
|
3651 | 4406 |
_ACEOF
|
3652 | 4407 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3653 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3654 | |
(eval $ac_link) 2>conftest.er1
|
|
4408 |
if { (ac_try="$ac_link"
|
|
4409 |
case "(($ac_try" in
|
|
4410 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4411 |
*) ac_try_echo=$ac_try;;
|
|
4412 |
esac
|
|
4413 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4414 |
(eval "$ac_link") 2>conftest.er1
|
3655 | 4415 |
ac_status=$?
|
3656 | 4416 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3657 | 4417 |
rm -f conftest.er1
|
3658 | 4418 |
cat conftest.err >&5
|
3659 | 4419 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3660 | 4420 |
(exit $ac_status); } &&
|
3661 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3662 | |
|| test ! -s conftest.err'
|
3663 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3664 | |
(eval $ac_try) 2>&5
|
|
4421 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
4422 |
{ (case "(($ac_try" in
|
|
4423 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4424 |
*) ac_try_echo=$ac_try;;
|
|
4425 |
esac
|
|
4426 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4427 |
(eval "$ac_try") 2>&5
|
3665 | 4428 |
ac_status=$?
|
3666 | 4429 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3667 | 4430 |
(exit $ac_status); }; } &&
|
3668 | 4431 |
{ ac_try='test -s conftest$ac_exeext'
|
3669 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3670 | |
(eval $ac_try) 2>&5
|
|
4432 |
{ (case "(($ac_try" in
|
|
4433 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4434 |
*) ac_try_echo=$ac_try;;
|
|
4435 |
esac
|
|
4436 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4437 |
(eval "$ac_try") 2>&5
|
3671 | 4438 |
ac_status=$?
|
3672 | 4439 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3673 | 4440 |
(exit $ac_status); }; }; then
|
|
3676 | 4443 |
echo "$as_me: failed program was:" >&5
|
3677 | 4444 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3678 | 4445 |
|
3679 | |
ac_cv_lib_ncurses_wgetch=no
|
3680 | |
fi
|
3681 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4446 |
ac_cv_lib_ncurses_wgetch=no
|
|
4447 |
fi
|
|
4448 |
|
|
4449 |
rm -f core conftest.err conftest.$ac_objext \
|
3682 | 4450 |
conftest$ac_exeext conftest.$ac_ext
|
3683 | 4451 |
LIBS=$ac_check_lib_save_LIBS
|
3684 | 4452 |
fi
|
3685 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
|
3686 | |
echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
|
|
4453 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
|
|
4454 |
echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6; }
|
3687 | 4455 |
if test $ac_cv_lib_ncurses_wgetch = yes; then
|
3688 | 4456 |
cat >>confdefs.h <<_ACEOF
|
3689 | 4457 |
#define HAVE_LIBNCURSES 1
|
|
3698 | 4466 |
fi
|
3699 | 4467 |
|
3700 | 4468 |
|
3701 | |
ac_ext=cc
|
|
4469 |
ac_ext=cpp
|
3702 | 4470 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
3703 | 4471 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3704 | 4472 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3705 | 4473 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
3706 | 4474 |
|
3707 | 4475 |
|
3708 | |
ac_ext=cc
|
|
4476 |
ac_ext=cpp
|
3709 | 4477 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
3710 | 4478 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3711 | 4479 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3712 | 4480 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
3713 | |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
3714 | |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
|
|
4481 |
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
|
4482 |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
|
3715 | 4483 |
if test -z "$CXXCPP"; then
|
3716 | 4484 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then
|
3717 | 4485 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3741 | 4509 |
#endif
|
3742 | 4510 |
Syntax error
|
3743 | 4511 |
_ACEOF
|
3744 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3745 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4512 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4513 |
case "(($ac_try" in
|
|
4514 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4515 |
*) ac_try_echo=$ac_try;;
|
|
4516 |
esac
|
|
4517 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4518 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3746 | 4519 |
ac_status=$?
|
3747 | 4520 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3748 | 4521 |
rm -f conftest.er1
|
|
3767 | 4540 |
# Broken: fails on valid input.
|
3768 | 4541 |
continue
|
3769 | 4542 |
fi
|
|
4543 |
|
3770 | 4544 |
rm -f conftest.err conftest.$ac_ext
|
3771 | 4545 |
|
3772 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
4546 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3773 | 4547 |
# can be detected and how.
|
3774 | 4548 |
cat >conftest.$ac_ext <<_ACEOF
|
3775 | 4549 |
/* confdefs.h. */
|
|
3779 | 4553 |
/* end confdefs.h. */
|
3780 | 4554 |
#include <ac_nonexistent.h>
|
3781 | 4555 |
_ACEOF
|
3782 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3783 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4556 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4557 |
case "(($ac_try" in
|
|
4558 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4559 |
*) ac_try_echo=$ac_try;;
|
|
4560 |
esac
|
|
4561 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4562 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3784 | 4563 |
ac_status=$?
|
3785 | 4564 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3786 | 4565 |
rm -f conftest.er1
|
|
3807 | 4586 |
ac_preproc_ok=:
|
3808 | 4587 |
break
|
3809 | 4588 |
fi
|
|
4589 |
|
3810 | 4590 |
rm -f conftest.err conftest.$ac_ext
|
3811 | 4591 |
|
3812 | 4592 |
done
|
|
3824 | 4604 |
else
|
3825 | 4605 |
ac_cv_prog_CXXCPP=$CXXCPP
|
3826 | 4606 |
fi
|
3827 | |
echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
3828 | |
echo "${ECHO_T}$CXXCPP" >&6
|
|
4607 |
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
|
4608 |
echo "${ECHO_T}$CXXCPP" >&6; }
|
3829 | 4609 |
ac_preproc_ok=false
|
3830 | 4610 |
for ac_cxx_preproc_warn_flag in '' yes
|
3831 | 4611 |
do
|
|
3848 | 4628 |
#endif
|
3849 | 4629 |
Syntax error
|
3850 | 4630 |
_ACEOF
|
3851 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3852 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4631 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4632 |
case "(($ac_try" in
|
|
4633 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4634 |
*) ac_try_echo=$ac_try;;
|
|
4635 |
esac
|
|
4636 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4637 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3853 | 4638 |
ac_status=$?
|
3854 | 4639 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3855 | 4640 |
rm -f conftest.er1
|
|
3874 | 4659 |
# Broken: fails on valid input.
|
3875 | 4660 |
continue
|
3876 | 4661 |
fi
|
|
4662 |
|
3877 | 4663 |
rm -f conftest.err conftest.$ac_ext
|
3878 | 4664 |
|
3879 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
4665 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3880 | 4666 |
# can be detected and how.
|
3881 | 4667 |
cat >conftest.$ac_ext <<_ACEOF
|
3882 | 4668 |
/* confdefs.h. */
|
|
3886 | 4672 |
/* end confdefs.h. */
|
3887 | 4673 |
#include <ac_nonexistent.h>
|
3888 | 4674 |
_ACEOF
|
3889 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3890 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4675 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4676 |
case "(($ac_try" in
|
|
4677 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4678 |
*) ac_try_echo=$ac_try;;
|
|
4679 |
esac
|
|
4680 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4681 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3891 | 4682 |
ac_status=$?
|
3892 | 4683 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3893 | 4684 |
rm -f conftest.er1
|
|
3914 | 4705 |
ac_preproc_ok=:
|
3915 | 4706 |
break
|
3916 | 4707 |
fi
|
|
4708 |
|
3917 | 4709 |
rm -f conftest.err conftest.$ac_ext
|
3918 | 4710 |
|
3919 | 4711 |
done
|
|
3929 | 4721 |
{ (exit 1); exit 1; }; }
|
3930 | 4722 |
fi
|
3931 | 4723 |
|
3932 | |
ac_ext=cc
|
|
4724 |
ac_ext=cpp
|
3933 | 4725 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
3934 | 4726 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3935 | 4727 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
3937 | 4729 |
|
3938 | 4730 |
|
3939 | 4731 |
if test "${ac_cv_header_string+set}" = set; then
|
3940 | |
echo "$as_me:$LINENO: checking for string" >&5
|
3941 | |
echo $ECHO_N "checking for string... $ECHO_C" >&6
|
|
4732 |
{ echo "$as_me:$LINENO: checking for string" >&5
|
|
4733 |
echo $ECHO_N "checking for string... $ECHO_C" >&6; }
|
3942 | 4734 |
if test "${ac_cv_header_string+set}" = set; then
|
3943 | 4735 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3944 | 4736 |
fi
|
3945 | |
echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
3946 | |
echo "${ECHO_T}$ac_cv_header_string" >&6
|
|
4737 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
|
4738 |
echo "${ECHO_T}$ac_cv_header_string" >&6; }
|
3947 | 4739 |
else
|
3948 | 4740 |
# Is the header compilable?
|
3949 | |
echo "$as_me:$LINENO: checking string usability" >&5
|
3950 | |
echo $ECHO_N "checking string usability... $ECHO_C" >&6
|
|
4741 |
{ echo "$as_me:$LINENO: checking string usability" >&5
|
|
4742 |
echo $ECHO_N "checking string usability... $ECHO_C" >&6; }
|
3951 | 4743 |
cat >conftest.$ac_ext <<_ACEOF
|
3952 | 4744 |
/* confdefs.h. */
|
3953 | 4745 |
_ACEOF
|
|
3958 | 4750 |
#include <string>
|
3959 | 4751 |
_ACEOF
|
3960 | 4752 |
rm -f conftest.$ac_objext
|
3961 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3962 | |
(eval $ac_compile) 2>conftest.er1
|
|
4753 |
if { (ac_try="$ac_compile"
|
|
4754 |
case "(($ac_try" in
|
|
4755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4756 |
*) ac_try_echo=$ac_try;;
|
|
4757 |
esac
|
|
4758 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4759 |
(eval "$ac_compile") 2>conftest.er1
|
3963 | 4760 |
ac_status=$?
|
3964 | 4761 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3965 | 4762 |
rm -f conftest.er1
|
3966 | 4763 |
cat conftest.err >&5
|
3967 | 4764 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3968 | 4765 |
(exit $ac_status); } &&
|
3969 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
3970 | |
|| test ! -s conftest.err'
|
3971 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3972 | |
(eval $ac_try) 2>&5
|
|
4766 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
4767 |
{ (case "(($ac_try" in
|
|
4768 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4769 |
*) ac_try_echo=$ac_try;;
|
|
4770 |
esac
|
|
4771 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4772 |
(eval "$ac_try") 2>&5
|
3973 | 4773 |
ac_status=$?
|
3974 | 4774 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3975 | 4775 |
(exit $ac_status); }; } &&
|
3976 | 4776 |
{ ac_try='test -s conftest.$ac_objext'
|
3977 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3978 | |
(eval $ac_try) 2>&5
|
|
4777 |
{ (case "(($ac_try" in
|
|
4778 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4779 |
*) ac_try_echo=$ac_try;;
|
|
4780 |
esac
|
|
4781 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4782 |
(eval "$ac_try") 2>&5
|
3979 | 4783 |
ac_status=$?
|
3980 | 4784 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3981 | 4785 |
(exit $ac_status); }; }; then
|
|
3984 | 4788 |
echo "$as_me: failed program was:" >&5
|
3985 | 4789 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3986 | 4790 |
|
3987 | |
ac_header_compiler=no
|
3988 | |
fi
|
3989 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3990 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3991 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
4791 |
ac_header_compiler=no
|
|
4792 |
fi
|
|
4793 |
|
|
4794 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4795 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4796 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3992 | 4797 |
|
3993 | 4798 |
# Is the header present?
|
3994 | |
echo "$as_me:$LINENO: checking string presence" >&5
|
3995 | |
echo $ECHO_N "checking string presence... $ECHO_C" >&6
|
|
4799 |
{ echo "$as_me:$LINENO: checking string presence" >&5
|
|
4800 |
echo $ECHO_N "checking string presence... $ECHO_C" >&6; }
|
3996 | 4801 |
cat >conftest.$ac_ext <<_ACEOF
|
3997 | 4802 |
/* confdefs.h. */
|
3998 | 4803 |
_ACEOF
|
|
4001 | 4806 |
/* end confdefs.h. */
|
4002 | 4807 |
#include <string>
|
4003 | 4808 |
_ACEOF
|
4004 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4005 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4809 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4810 |
case "(($ac_try" in
|
|
4811 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4812 |
*) ac_try_echo=$ac_try;;
|
|
4813 |
esac
|
|
4814 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4815 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4006 | 4816 |
ac_status=$?
|
4007 | 4817 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4008 | 4818 |
rm -f conftest.er1
|
|
4026 | 4836 |
|
4027 | 4837 |
ac_header_preproc=no
|
4028 | 4838 |
fi
|
|
4839 |
|
4029 | 4840 |
rm -f conftest.err conftest.$ac_ext
|
4030 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4031 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4841 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4842 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
4032 | 4843 |
|
4033 | 4844 |
# So? What about this header?
|
4034 | 4845 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
|
4052 | 4863 |
echo "$as_me: WARNING: string: proceeding with the preprocessor's result" >&2;}
|
4053 | 4864 |
{ echo "$as_me:$LINENO: WARNING: string: in the future, the compiler will take precedence" >&5
|
4054 | 4865 |
echo "$as_me: WARNING: string: in the future, the compiler will take precedence" >&2;}
|
4055 | |
(
|
4056 | |
cat <<\_ASBOX
|
4057 | |
## ------------------------------------------ ##
|
4058 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
4059 | |
## ------------------------------------------ ##
|
4060 | |
_ASBOX
|
4061 | |
) |
|
4062 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
4866 |
|
4063 | 4867 |
;;
|
4064 | 4868 |
esac
|
4065 | |
echo "$as_me:$LINENO: checking for string" >&5
|
4066 | |
echo $ECHO_N "checking for string... $ECHO_C" >&6
|
|
4869 |
{ echo "$as_me:$LINENO: checking for string" >&5
|
|
4870 |
echo $ECHO_N "checking for string... $ECHO_C" >&6; }
|
4067 | 4871 |
if test "${ac_cv_header_string+set}" = set; then
|
4068 | 4872 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4069 | 4873 |
else
|
4070 | 4874 |
ac_cv_header_string=$ac_header_preproc
|
4071 | 4875 |
fi
|
4072 | |
echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
4073 | |
echo "${ECHO_T}$ac_cv_header_string" >&6
|
|
4876 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
|
|
4877 |
echo "${ECHO_T}$ac_cv_header_string" >&6; }
|
4074 | 4878 |
|
4075 | 4879 |
fi
|
4076 | 4880 |
if test $ac_cv_header_string = yes; then
|
|
4083 | 4887 |
|
4084 | 4888 |
|
4085 | 4889 |
if test "${ac_cv_header_vector+set}" = set; then
|
4086 | |
echo "$as_me:$LINENO: checking for vector" >&5
|
4087 | |
echo $ECHO_N "checking for vector... $ECHO_C" >&6
|
|
4890 |
{ echo "$as_me:$LINENO: checking for vector" >&5
|
|
4891 |
echo $ECHO_N "checking for vector... $ECHO_C" >&6; }
|
4088 | 4892 |
if test "${ac_cv_header_vector+set}" = set; then
|
4089 | 4893 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4090 | 4894 |
fi
|
4091 | |
echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
4092 | |
echo "${ECHO_T}$ac_cv_header_vector" >&6
|
|
4895 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
|
4896 |
echo "${ECHO_T}$ac_cv_header_vector" >&6; }
|
4093 | 4897 |
else
|
4094 | 4898 |
# Is the header compilable?
|
4095 | |
echo "$as_me:$LINENO: checking vector usability" >&5
|
4096 | |
echo $ECHO_N "checking vector usability... $ECHO_C" >&6
|
|
4899 |
{ echo "$as_me:$LINENO: checking vector usability" >&5
|
|
4900 |
echo $ECHO_N "checking vector usability... $ECHO_C" >&6; }
|
4097 | 4901 |
cat >conftest.$ac_ext <<_ACEOF
|
4098 | 4902 |
/* confdefs.h. */
|
4099 | 4903 |
_ACEOF
|
|
4104 | 4908 |
#include <vector>
|
4105 | 4909 |
_ACEOF
|
4106 | 4910 |
rm -f conftest.$ac_objext
|
4107 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4108 | |
(eval $ac_compile) 2>conftest.er1
|
|
4911 |
if { (ac_try="$ac_compile"
|
|
4912 |
case "(($ac_try" in
|
|
4913 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4914 |
*) ac_try_echo=$ac_try;;
|
|
4915 |
esac
|
|
4916 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4917 |
(eval "$ac_compile") 2>conftest.er1
|
4109 | 4918 |
ac_status=$?
|
4110 | 4919 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4111 | 4920 |
rm -f conftest.er1
|
4112 | 4921 |
cat conftest.err >&5
|
4113 | 4922 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4114 | 4923 |
(exit $ac_status); } &&
|
4115 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
4116 | |
|| test ! -s conftest.err'
|
4117 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4118 | |
(eval $ac_try) 2>&5
|
|
4924 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
4925 |
{ (case "(($ac_try" in
|
|
4926 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4927 |
*) ac_try_echo=$ac_try;;
|
|
4928 |
esac
|
|
4929 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4930 |
(eval "$ac_try") 2>&5
|
4119 | 4931 |
ac_status=$?
|
4120 | 4932 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4121 | 4933 |
(exit $ac_status); }; } &&
|
4122 | 4934 |
{ ac_try='test -s conftest.$ac_objext'
|
4123 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4124 | |
(eval $ac_try) 2>&5
|
|
4935 |
{ (case "(($ac_try" in
|
|
4936 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4937 |
*) ac_try_echo=$ac_try;;
|
|
4938 |
esac
|
|
4939 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4940 |
(eval "$ac_try") 2>&5
|
4125 | 4941 |
ac_status=$?
|
4126 | 4942 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4127 | 4943 |
(exit $ac_status); }; }; then
|
|
4130 | 4946 |
echo "$as_me: failed program was:" >&5
|
4131 | 4947 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4132 | 4948 |
|
4133 | |
ac_header_compiler=no
|
4134 | |
fi
|
4135 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4136 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4137 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
4949 |
ac_header_compiler=no
|
|
4950 |
fi
|
|
4951 |
|
|
4952 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4953 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4954 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
4138 | 4955 |
|
4139 | 4956 |
# Is the header present?
|
4140 | |
echo "$as_me:$LINENO: checking vector presence" >&5
|
4141 | |
echo $ECHO_N "checking vector presence... $ECHO_C" >&6
|
|
4957 |
{ echo "$as_me:$LINENO: checking vector presence" >&5
|
|
4958 |
echo $ECHO_N "checking vector presence... $ECHO_C" >&6; }
|
4142 | 4959 |
cat >conftest.$ac_ext <<_ACEOF
|
4143 | 4960 |
/* confdefs.h. */
|
4144 | 4961 |
_ACEOF
|
|
4147 | 4964 |
/* end confdefs.h. */
|
4148 | 4965 |
#include <vector>
|
4149 | 4966 |
_ACEOF
|
4150 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4151 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4967 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4968 |
case "(($ac_try" in
|
|
4969 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4970 |
*) ac_try_echo=$ac_try;;
|
|
4971 |
esac
|
|
4972 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4973 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4152 | 4974 |
ac_status=$?
|
4153 | 4975 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4154 | 4976 |
rm -f conftest.er1
|
|
4172 | 4994 |
|
4173 | 4995 |
ac_header_preproc=no
|
4174 | 4996 |
fi
|
|
4997 |
|
4175 | 4998 |
rm -f conftest.err conftest.$ac_ext
|
4176 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4177 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4999 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5000 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
4178 | 5001 |
|
4179 | 5002 |
# So? What about this header?
|
4180 | 5003 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
|
4198 | 5021 |
echo "$as_me: WARNING: vector: proceeding with the preprocessor's result" >&2;}
|
4199 | 5022 |
{ echo "$as_me:$LINENO: WARNING: vector: in the future, the compiler will take precedence" >&5
|
4200 | 5023 |
echo "$as_me: WARNING: vector: in the future, the compiler will take precedence" >&2;}
|
4201 | |
(
|
4202 | |
cat <<\_ASBOX
|
4203 | |
## ------------------------------------------ ##
|
4204 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
4205 | |
## ------------------------------------------ ##
|
4206 | |
_ASBOX
|
4207 | |
) |
|
4208 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5024 |
|
4209 | 5025 |
;;
|
4210 | 5026 |
esac
|
4211 | |
echo "$as_me:$LINENO: checking for vector" >&5
|
4212 | |
echo $ECHO_N "checking for vector... $ECHO_C" >&6
|
|
5027 |
{ echo "$as_me:$LINENO: checking for vector" >&5
|
|
5028 |
echo $ECHO_N "checking for vector... $ECHO_C" >&6; }
|
4213 | 5029 |
if test "${ac_cv_header_vector+set}" = set; then
|
4214 | 5030 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4215 | 5031 |
else
|
4216 | 5032 |
ac_cv_header_vector=$ac_header_preproc
|
4217 | 5033 |
fi
|
4218 | |
echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
4219 | |
echo "${ECHO_T}$ac_cv_header_vector" >&6
|
|
5034 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
|
|
5035 |
echo "${ECHO_T}$ac_cv_header_vector" >&6; }
|
4220 | 5036 |
|
4221 | 5037 |
fi
|
4222 | 5038 |
if test $ac_cv_header_vector = yes; then
|
|
4229 | 5045 |
|
4230 | 5046 |
|
4231 | 5047 |
if test "${ac_cv_header_algorithm+set}" = set; then
|
4232 | |
echo "$as_me:$LINENO: checking for algorithm" >&5
|
4233 | |
echo $ECHO_N "checking for algorithm... $ECHO_C" >&6
|
|
5048 |
{ echo "$as_me:$LINENO: checking for algorithm" >&5
|
|
5049 |
echo $ECHO_N "checking for algorithm... $ECHO_C" >&6; }
|
4234 | 5050 |
if test "${ac_cv_header_algorithm+set}" = set; then
|
4235 | 5051 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4236 | 5052 |
fi
|
4237 | |
echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
4238 | |
echo "${ECHO_T}$ac_cv_header_algorithm" >&6
|
|
5053 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
|
5054 |
echo "${ECHO_T}$ac_cv_header_algorithm" >&6; }
|
4239 | 5055 |
else
|
4240 | 5056 |
# Is the header compilable?
|
4241 | |
echo "$as_me:$LINENO: checking algorithm usability" >&5
|
4242 | |
echo $ECHO_N "checking algorithm usability... $ECHO_C" >&6
|
|
5057 |
{ echo "$as_me:$LINENO: checking algorithm usability" >&5
|
|
5058 |
echo $ECHO_N "checking algorithm usability... $ECHO_C" >&6; }
|
4243 | 5059 |
cat >conftest.$ac_ext <<_ACEOF
|
4244 | 5060 |
/* confdefs.h. */
|
4245 | 5061 |
_ACEOF
|
|
4250 | 5066 |
#include <algorithm>
|
4251 | 5067 |
_ACEOF
|
4252 | 5068 |
rm -f conftest.$ac_objext
|
4253 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4254 | |
(eval $ac_compile) 2>conftest.er1
|
|
5069 |
if { (ac_try="$ac_compile"
|
|
5070 |
case "(($ac_try" in
|
|
5071 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5072 |
*) ac_try_echo=$ac_try;;
|
|
5073 |
esac
|
|
5074 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5075 |
(eval "$ac_compile") 2>conftest.er1
|
4255 | 5076 |
ac_status=$?
|
4256 | 5077 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4257 | 5078 |
rm -f conftest.er1
|
4258 | 5079 |
cat conftest.err >&5
|
4259 | 5080 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4260 | 5081 |
(exit $ac_status); } &&
|
4261 | |
{ ac_try='test -z "$ac_cxx_werror_flag"
|
4262 | |
|| test ! -s conftest.err'
|
4263 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4264 | |
(eval $ac_try) 2>&5
|
|
5082 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
|
|
5083 |
{ (case "(($ac_try" in
|
|
5084 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5085 |
*) ac_try_echo=$ac_try;;
|
|
5086 |
esac
|
|
5087 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5088 |
(eval "$ac_try") 2>&5
|
4265 | 5089 |
ac_status=$?
|
4266 | 5090 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4267 | 5091 |
(exit $ac_status); }; } &&
|
4268 | 5092 |
{ ac_try='test -s conftest.$ac_objext'
|
4269 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4270 | |
(eval $ac_try) 2>&5
|
|
5093 |
{ (case "(($ac_try" in
|
|
5094 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5095 |
*) ac_try_echo=$ac_try;;
|
|
5096 |
esac
|
|
5097 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5098 |
(eval "$ac_try") 2>&5
|
4271 | 5099 |
ac_status=$?
|
4272 | 5100 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4273 | 5101 |
(exit $ac_status); }; }; then
|
|
4276 | 5104 |
echo "$as_me: failed program was:" >&5
|
4277 | 5105 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4278 | 5106 |
|
4279 | |
ac_header_compiler=no
|
4280 | |
fi
|
4281 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4282 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4283 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
5107 |
ac_header_compiler=no
|
|
5108 |
fi
|
|
5109 |
|
|
5110 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5111 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5112 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
4284 | 5113 |
|
4285 | 5114 |
# Is the header present?
|
4286 | |
echo "$as_me:$LINENO: checking algorithm presence" >&5
|
4287 | |
echo $ECHO_N "checking algorithm presence... $ECHO_C" >&6
|
|
5115 |
{ echo "$as_me:$LINENO: checking algorithm presence" >&5
|
|
5116 |
echo $ECHO_N "checking algorithm presence... $ECHO_C" >&6; }
|
4288 | 5117 |
cat >conftest.$ac_ext <<_ACEOF
|
4289 | 5118 |
/* confdefs.h. */
|
4290 | 5119 |
_ACEOF
|
|
4293 | 5122 |
/* end confdefs.h. */
|
4294 | 5123 |
#include <algorithm>
|
4295 | 5124 |
_ACEOF
|
4296 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4297 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5125 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5126 |
case "(($ac_try" in
|
|
5127 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5128 |
*) ac_try_echo=$ac_try;;
|
|
5129 |
esac
|
|
5130 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5131 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4298 | 5132 |
ac_status=$?
|
4299 | 5133 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4300 | 5134 |
rm -f conftest.er1
|
|
4318 | 5152 |
|
4319 | 5153 |
ac_header_preproc=no
|
4320 | 5154 |
fi
|
|
5155 |
|
4321 | 5156 |
rm -f conftest.err conftest.$ac_ext
|
4322 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4323 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
5157 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5158 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
4324 | 5159 |
|
4325 | 5160 |
# So? What about this header?
|
4326 | 5161 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
|
4344 | 5179 |
echo "$as_me: WARNING: algorithm: proceeding with the preprocessor's result" >&2;}
|
4345 | 5180 |
{ echo "$as_me:$LINENO: WARNING: algorithm: in the future, the compiler will take precedence" >&5
|
4346 | 5181 |
echo "$as_me: WARNING: algorithm: in the future, the compiler will take precedence" >&2;}
|
4347 | |
(
|
4348 | |
cat <<\_ASBOX
|
4349 | |
## ------------------------------------------ ##
|
4350 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
4351 | |
## ------------------------------------------ ##
|
4352 | |
_ASBOX
|
4353 | |
) |
|
4354 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5182 |
|
4355 | 5183 |
;;
|
4356 | 5184 |
esac
|
4357 | |
echo "$as_me:$LINENO: checking for algorithm" >&5
|
4358 | |
echo $ECHO_N "checking for algorithm... $ECHO_C" >&6
|
|
5185 |
{ echo "$as_me:$LINENO: checking for algorithm" >&5
|
|
5186 |
echo $ECHO_N "checking for algorithm... $ECHO_C" >&6; }
|
4359 | 5187 |
if test "${ac_cv_header_algorithm+set}" = set; then
|
4360 | 5188 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4361 | 5189 |
else
|
4362 | 5190 |
ac_cv_header_algorithm=$ac_header_preproc
|
4363 | 5191 |
fi
|
4364 | |
echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
4365 | |
echo "${ECHO_T}$ac_cv_header_algorithm" >&6
|
|
5192 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
|
|
5193 |
echo "${ECHO_T}$ac_cv_header_algorithm" >&6; }
|
4366 | 5194 |
|
4367 | 5195 |
fi
|
4368 | 5196 |
if test $ac_cv_header_algorithm = yes; then
|
|
4384 | 5212 |
#define SHAREDIR "$sv2"
|
4385 | 5213 |
_ACEOF
|
4386 | 5214 |
|
4387 | |
ac_config_files="$ac_config_files Makefile"
|
|
5215 |
ac_config_files="$ac_config_files Makefile"
|
|
5216 |
|
4388 | 5217 |
cat >confcache <<\_ACEOF
|
4389 | 5218 |
# This file is a shell script that caches the results of configure
|
4390 | 5219 |
# tests run on this system so they can be shared between configure
|
|
4403 | 5232 |
|
4404 | 5233 |
# The following way of writing the cache mishandles newlines in values,
|
4405 | 5234 |
# but we know of no workaround that is simple, portable, and efficient.
|
4406 | |
# So, don't put newlines in cache variables' values.
|
|
5235 |
# So, we kill variables containing newlines.
|
4407 | 5236 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
4408 | 5237 |
# and sets the high bit in the cache file unless we assign to the vars.
|
4409 | |
{
|
|
5238 |
(
|
|
5239 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|
5240 |
eval ac_val=\$$ac_var
|
|
5241 |
case $ac_val in #(
|
|
5242 |
*${as_nl}*)
|
|
5243 |
case $ac_var in #(
|
|
5244 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
5245 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
5246 |
esac
|
|
5247 |
case $ac_var in #(
|
|
5248 |
_ | IFS | as_nl) ;; #(
|
|
5249 |
*) $as_unset $ac_var ;;
|
|
5250 |
esac ;;
|
|
5251 |
esac
|
|
5252 |
done
|
|
5253 |
|
4410 | 5254 |
(set) 2>&1 |
|
4411 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
4412 | |
*ac_space=\ *)
|
|
5255 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|
5256 |
*${as_nl}ac_space=\ *)
|
4413 | 5257 |
# `set' does not quote correctly, so add quotes (double-quote
|
4414 | 5258 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
4415 | 5259 |
sed -n \
|
4416 | 5260 |
"s/'/'\\\\''/g;
|
4417 | 5261 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
4418 | |
;;
|
|
5262 |
;; #(
|
4419 | 5263 |
*)
|
4420 | 5264 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
4421 | |
sed -n \
|
4422 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
5265 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
4423 | 5266 |
;;
|
4424 | |
esac;
|
4425 | |
} |
|
|
5267 |
esac |
|
|
5268 |
sort
|
|
5269 |
) |
|
4426 | 5270 |
sed '
|
|
5271 |
/^ac_cv_env_/b end
|
4427 | 5272 |
t clear
|
4428 | |
: clear
|
|
5273 |
:clear
|
4429 | 5274 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
4430 | 5275 |
t end
|
4431 | |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
4432 | |
: end' >>confcache
|
4433 | |
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
4434 | |
if test -w $cache_file; then
|
4435 | |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|
5276 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
5277 |
:end' >>confcache
|
|
5278 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|
5279 |
if test -w "$cache_file"; then
|
|
5280 |
test "x$cache_file" != "x/dev/null" &&
|
|
5281 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
5282 |
echo "$as_me: updating cache $cache_file" >&6;}
|
4436 | 5283 |
cat confcache >$cache_file
|
4437 | 5284 |
else
|
4438 | |
echo "not updating unwritable cache $cache_file"
|
|
5285 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
5286 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
4439 | 5287 |
fi
|
4440 | 5288 |
fi
|
4441 | 5289 |
rm -f confcache
|
|
4443 | 5291 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
4444 | 5292 |
# Let make expand exec_prefix.
|
4445 | 5293 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
4446 | |
|
4447 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
4448 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
4449 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
4450 | |
# (actually we leave an empty line to preserve line numbers).
|
4451 | |
if test "x$srcdir" = x.; then
|
4452 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
4453 | |
s/:*\$(srcdir):*/:/;
|
4454 | |
s/:*\${srcdir}:*/:/;
|
4455 | |
s/:*@srcdir@:*/:/;
|
4456 | |
s/^\([^=]*=[ ]*\):*/\1/;
|
4457 | |
s/:*$//;
|
4458 | |
s/^[^=]*=[ ]*$//;
|
4459 | |
}'
|
4460 | |
fi
|
4461 | 5294 |
|
4462 | 5295 |
DEFS=-DHAVE_CONFIG_H
|
4463 | 5296 |
|
|
4465 | 5298 |
ac_ltlibobjs=
|
4466 | 5299 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
4467 | 5300 |
# 1. Remove the extension, and $U if already installed.
|
4468 | |
ac_i=`echo "$ac_i" |
|
4469 | |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
4470 | |
# 2. Add them.
|
4471 | |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
4472 | |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
5301 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
5302 |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
5303 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|
5304 |
# will be set to the directory where LIBOBJS objects are built.
|
|
5305 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
5306 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
4473 | 5307 |
done
|
4474 | 5308 |
LIBOBJS=$ac_libobjs
|
4475 | 5309 |
|
|
4507 | 5341 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
4508 | 5342 |
# is contrary to our usage. Disable this feature.
|
4509 | 5343 |
alias -g '${1+"$@"}'='"$@"'
|
4510 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
4511 | |
set -o posix
|
4512 | |
fi
|
|
5344 |
setopt NO_GLOB_SUBST
|
|
5345 |
else
|
|
5346 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
|
5347 |
fi
|
|
5348 |
BIN_SH=xpg4; export BIN_SH # for Tru64
|
4513 | 5349 |
DUALCASE=1; export DUALCASE # for MKS sh
|
4514 | 5350 |
|
4515 | |
# Support unset when possible.
|
4516 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
4517 | |
as_unset=unset
|
4518 | |
else
|
4519 | |
as_unset=false
|
4520 | |
fi
|
4521 | |
|
4522 | |
|
4523 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
4524 | |
$as_unset ENV MAIL MAILPATH
|
4525 | |
PS1='$ '
|
4526 | |
PS2='> '
|
4527 | |
PS4='+ '
|
4528 | |
|
4529 | |
# NLS nuisances.
|
4530 | |
for as_var in \
|
4531 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
4532 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
4533 | |
LC_TELEPHONE LC_TIME
|
4534 | |
do
|
4535 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
4536 | |
eval $as_var=C; export $as_var
|
4537 | |
else
|
4538 | |
$as_unset $as_var
|
4539 | |
fi
|
4540 | |
done
|
4541 | |
|
4542 | |
# Required to use basename.
|
4543 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
4544 | |
as_expr=expr
|
4545 | |
else
|
4546 | |
as_expr=false
|
4547 | |
fi
|
4548 | |
|
4549 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
4550 | |
as_basename=basename
|
4551 | |
else
|
4552 | |
as_basename=false
|
4553 | |
fi
|
4554 | |
|
4555 | |
|
4556 | |
# Name of the executable.
|
4557 | |
as_me=`$as_basename "$0" ||
|
4558 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
4559 | |
X"$0" : 'X\(//\)$' \| \
|
4560 | |
X"$0" : 'X\(/\)$' \| \
|
4561 | |
. : '\(.\)' 2>/dev/null ||
|
4562 | |
echo X/"$0" |
|
4563 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
4564 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
4565 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
4566 | |
s/.*/./; q'`
|
4567 | |
|
4568 | |
|
4569 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
5351 |
|
|
5352 |
# PATH needs CR
|
4570 | 5353 |
# Avoid depending upon Character Ranges.
|
4571 | 5354 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
4572 | 5355 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
4587 | 5370 |
rm -f conf$$.sh
|
4588 | 5371 |
fi
|
4589 | 5372 |
|
4590 | |
|
4591 | |
as_lineno_1=$LINENO
|
4592 | |
as_lineno_2=$LINENO
|
4593 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
4594 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
4595 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
4596 | |
# Find who we are. Look in the path if we contain no path at all
|
4597 | |
# relative or not.
|
4598 | |
case $0 in
|
4599 | |
*[\\/]* ) as_myself=$0 ;;
|
4600 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
5373 |
# Support unset when possible.
|
|
5374 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
5375 |
as_unset=unset
|
|
5376 |
else
|
|
5377 |
as_unset=false
|
|
5378 |
fi
|
|
5379 |
|
|
5380 |
|
|
5381 |
# IFS
|
|
5382 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
5383 |
# there to prevent editors from complaining about space-tab.
|
|
5384 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
5385 |
# splitting by setting IFS to empty value.)
|
|
5386 |
as_nl='
|
|
5387 |
'
|
|
5388 |
IFS=" "" $as_nl"
|
|
5389 |
|
|
5390 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
5391 |
case $0 in
|
|
5392 |
*[\\/]* ) as_myself=$0 ;;
|
|
5393 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4601 | 5394 |
for as_dir in $PATH
|
4602 | 5395 |
do
|
4603 | 5396 |
IFS=$as_save_IFS
|
4604 | 5397 |
test -z "$as_dir" && as_dir=.
|
4605 | 5398 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
4606 | 5399 |
done
|
4607 | |
|
4608 | |
;;
|
4609 | |
esac
|
4610 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
4611 | |
# in which case we are not to be found in the path.
|
4612 | |
if test "x$as_myself" = x; then
|
4613 | |
as_myself=$0
|
|
5400 |
IFS=$as_save_IFS
|
|
5401 |
|
|
5402 |
;;
|
|
5403 |
esac
|
|
5404 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
5405 |
# in which case we are not to be found in the path.
|
|
5406 |
if test "x$as_myself" = x; then
|
|
5407 |
as_myself=$0
|
|
5408 |
fi
|
|
5409 |
if test ! -f "$as_myself"; then
|
|
5410 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
5411 |
{ (exit 1); exit 1; }
|
|
5412 |
fi
|
|
5413 |
|
|
5414 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
5415 |
for as_var in ENV MAIL MAILPATH
|
|
5416 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
5417 |
done
|
|
5418 |
PS1='$ '
|
|
5419 |
PS2='> '
|
|
5420 |
PS4='+ '
|
|
5421 |
|
|
5422 |
# NLS nuisances.
|
|
5423 |
for as_var in \
|
|
5424 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
5425 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
5426 |
LC_TELEPHONE LC_TIME
|
|
5427 |
do
|
|
5428 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
5429 |
eval $as_var=C; export $as_var
|
|
5430 |
else
|
|
5431 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
4614 | 5432 |
fi
|
4615 | |
if test ! -f "$as_myself"; then
|
4616 | |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
4617 | |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
4618 | |
{ (exit 1); exit 1; }; }
|
4619 | |
fi
|
4620 | |
case $CONFIG_SHELL in
|
4621 | |
'')
|
4622 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4623 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
4624 | |
do
|
4625 | |
IFS=$as_save_IFS
|
4626 | |
test -z "$as_dir" && as_dir=.
|
4627 | |
for as_base in sh bash ksh sh5; do
|
4628 | |
case $as_dir in
|
4629 | |
/*)
|
4630 | |
if ("$as_dir/$as_base" -c '
|
|
5433 |
done
|
|
5434 |
|
|
5435 |
# Required to use basename.
|
|
5436 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
5437 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
5438 |
as_expr=expr
|
|
5439 |
else
|
|
5440 |
as_expr=false
|
|
5441 |
fi
|
|
5442 |
|
|
5443 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
5444 |
as_basename=basename
|
|
5445 |
else
|
|
5446 |
as_basename=false
|
|
5447 |
fi
|
|
5448 |
|
|
5449 |
|
|
5450 |
# Name of the executable.
|
|
5451 |
as_me=`$as_basename -- "$0" ||
|
|
5452 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
5453 |
X"$0" : 'X\(//\)$' \| \
|
|
5454 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
5455 |
echo X/"$0" |
|
|
5456 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
5457 |
s//\1/
|
|
5458 |
q
|
|
5459 |
}
|
|
5460 |
/^X\/\(\/\/\)$/{
|
|
5461 |
s//\1/
|
|
5462 |
q
|
|
5463 |
}
|
|
5464 |
/^X\/\(\/\).*/{
|
|
5465 |
s//\1/
|
|
5466 |
q
|
|
5467 |
}
|
|
5468 |
s/.*/./; q'`
|
|
5469 |
|
|
5470 |
# CDPATH.
|
|
5471 |
$as_unset CDPATH
|
|
5472 |
|
|
5473 |
|
|
5474 |
|
4631 | 5475 |
as_lineno_1=$LINENO
|
4632 | 5476 |
as_lineno_2=$LINENO
|
4633 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
4634 | 5477 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
4635 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
4636 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
4637 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
4638 | |
CONFIG_SHELL=$as_dir/$as_base
|
4639 | |
export CONFIG_SHELL
|
4640 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
4641 | |
fi;;
|
4642 | |
esac
|
4643 | |
done
|
4644 | |
done
|
4645 | |
;;
|
4646 | |
esac
|
|
5478 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
4647 | 5479 |
|
4648 | 5480 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
4649 | 5481 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
4650 | |
# line-number line before each line; the second 'sed' does the real
|
4651 | |
# work. The second script uses 'N' to pair each line-number line
|
4652 | |
# with the numbered line, and appends trailing '-' during
|
4653 | |
# substitution so that $LINENO is not a special case at line end.
|
|
5482 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
5483 |
# does the real work. The second script uses 'N' to pair each
|
|
5484 |
# line-number line with the line containing $LINENO, and appends
|
|
5485 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
5486 |
# case at line end.
|
4654 | 5487 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
4655 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
4656 | |
sed '=' <$as_myself |
|
|
5488 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
5489 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
5490 |
sed -n '
|
|
5491 |
p
|
|
5492 |
/[$]LINENO/=
|
|
5493 |
' <$as_myself |
|
4657 | 5494 |
sed '
|
|
5495 |
s/[$]LINENO.*/&-/
|
|
5496 |
t lineno
|
|
5497 |
b
|
|
5498 |
:lineno
|
4658 | 5499 |
N
|
4659 | |
s,$,-,
|
4660 | |
: loop
|
4661 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
5500 |
:loop
|
|
5501 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
4662 | 5502 |
t loop
|
4663 | |
s,-$,,
|
4664 | |
s,^['$as_cr_digits']*\n,,
|
|
5503 |
s/-\n.*//
|
4665 | 5504 |
' >$as_me.lineno &&
|
4666 | |
chmod +x $as_me.lineno ||
|
4667 | |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
4668 | |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|
5505 |
chmod +x "$as_me.lineno" ||
|
|
5506 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
4669 | 5507 |
{ (exit 1); exit 1; }; }
|
4670 | 5508 |
|
4671 | 5509 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
4672 | 5510 |
# (the dirname of $[0] is not the place where we might find the
|
4673 | |
# original and so on. Autoconf is especially sensible to this).
|
4674 | |
. ./$as_me.lineno
|
|
5511 |
# original and so on. Autoconf is especially sensitive to this).
|
|
5512 |
. "./$as_me.lineno"
|
4675 | 5513 |
# Exit status is that of the last command.
|
4676 | 5514 |
exit
|
4677 | 5515 |
}
|
4678 | 5516 |
|
4679 | 5517 |
|
4680 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
4681 | |
*c*,-n*) ECHO_N= ECHO_C='
|
4682 | |
' ECHO_T=' ' ;;
|
4683 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
4684 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
4685 | |
esac
|
4686 | |
|
4687 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
5518 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
5519 |
as_dirname=dirname
|
|
5520 |
else
|
|
5521 |
as_dirname=false
|
|
5522 |
fi
|
|
5523 |
|
|
5524 |
ECHO_C= ECHO_N= ECHO_T=
|
|
5525 |
case `echo -n x` in
|
|
5526 |
-n*)
|
|
5527 |
case `echo 'x\c'` in
|
|
5528 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
5529 |
*) ECHO_C='\c';;
|
|
5530 |
esac;;
|
|
5531 |
*)
|
|
5532 |
ECHO_N='-n';;
|
|
5533 |
esac
|
|
5534 |
|
|
5535 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
5536 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
4688 | 5537 |
as_expr=expr
|
4689 | 5538 |
else
|
4690 | 5539 |
as_expr=false
|
4691 | 5540 |
fi
|
4692 | 5541 |
|
4693 | 5542 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
5543 |
if test -d conf$$.dir; then
|
|
5544 |
rm -f conf$$.dir/conf$$.file
|
|
5545 |
else
|
|
5546 |
rm -f conf$$.dir
|
|
5547 |
mkdir conf$$.dir
|
|
5548 |
fi
|
4694 | 5549 |
echo >conf$$.file
|
4695 | 5550 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
4696 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
4697 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
4698 | |
if test -f conf$$.exe; then
|
4699 | |
# Don't use ln at all; we don't have any links
|
|
5551 |
as_ln_s='ln -s'
|
|
5552 |
# ... but there are two gotchas:
|
|
5553 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
5554 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
5555 |
# In both cases, we have to default to `cp -p'.
|
|
5556 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
4700 | 5557 |
as_ln_s='cp -p'
|
4701 | |
else
|
4702 | |
as_ln_s='ln -s'
|
4703 | |
fi
|
4704 | 5558 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
4705 | 5559 |
as_ln_s=ln
|
4706 | 5560 |
else
|
4707 | 5561 |
as_ln_s='cp -p'
|
4708 | 5562 |
fi
|
4709 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
5563 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
5564 |
rmdir conf$$.dir 2>/dev/null
|
4710 | 5565 |
|
4711 | 5566 |
if mkdir -p . 2>/dev/null; then
|
4712 | 5567 |
as_mkdir_p=:
|
|
4715 | 5570 |
as_mkdir_p=false
|
4716 | 5571 |
fi
|
4717 | 5572 |
|
4718 | |
as_executable_p="test -f"
|
|
5573 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
|
|
5574 |
# systems may use methods other than mode bits to determine executability.
|
|
5575 |
cat >conf$$.file <<_ASEOF
|
|
5576 |
#! /bin/sh
|
|
5577 |
exit 0
|
|
5578 |
_ASEOF
|
|
5579 |
chmod +x conf$$.file
|
|
5580 |
if test -x conf$$.file >/dev/null 2>&1; then
|
|
5581 |
as_executable_p="test -x"
|
|
5582 |
else
|
|
5583 |
as_executable_p=:
|
|
5584 |
fi
|
|
5585 |
rm -f conf$$.file
|
4719 | 5586 |
|
4720 | 5587 |
# Sed expression to map a string onto a valid CPP name.
|
4721 | 5588 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
4724 | 5591 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
4725 | 5592 |
|
4726 | 5593 |
|
4727 | |
# IFS
|
4728 | |
# We need space, tab and new line, in precisely that order.
|
4729 | |
as_nl='
|
4730 | |
'
|
4731 | |
IFS=" $as_nl"
|
4732 | |
|
4733 | |
# CDPATH.
|
4734 | |
$as_unset CDPATH
|
4735 | |
|
4736 | 5594 |
exec 6>&1
|
4737 | 5595 |
|
4738 | |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
5596 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
4739 | 5597 |
# report actual input values of CONFIG_FILES etc. instead of their
|
4740 | |
# values after options handling. Logging --version etc. is OK.
|
4741 | |
exec 5>>config.log
|
4742 | |
{
|
4743 | |
echo
|
4744 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
4745 | |
## Running $as_me. ##
|
4746 | |
_ASBOX
|
4747 | |
} >&5
|
4748 | |
cat >&5 <<_CSEOF
|
4749 | |
|
|
5598 |
# values after options handling.
|
|
5599 |
ac_log="
|
4750 | 5600 |
This file was extended by $as_me, which was
|
4751 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
5601 |
generated by GNU Autoconf 2.60. Invocation command line was
|
4752 | 5602 |
|
4753 | 5603 |
CONFIG_FILES = $CONFIG_FILES
|
4754 | 5604 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
4756 | 5606 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
4757 | 5607 |
$ $0 $@
|
4758 | 5608 |
|
4759 | |
_CSEOF
|
4760 | |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
4761 | |
echo >&5
|
4762 | |
_ACEOF
|
4763 | |
|
|
5609 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
5610 |
"
|
|
5611 |
|
|
5612 |
_ACEOF
|
|
5613 |
|
|
5614 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4764 | 5615 |
# Files that config.status was made for.
|
4765 | |
if test -n "$ac_config_files"; then
|
4766 | |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
4767 | |
fi
|
4768 | |
|
4769 | |
if test -n "$ac_config_headers"; then
|
4770 | |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
4771 | |
fi
|
4772 | |
|
4773 | |
if test -n "$ac_config_links"; then
|
4774 | |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
4775 | |
fi
|
4776 | |
|
4777 | |
if test -n "$ac_config_commands"; then
|
4778 | |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
4779 | |
fi
|
|
5616 |
config_files="$ac_config_files"
|
|
5617 |
config_headers="$ac_config_headers"
|
|
5618 |
config_commands="$ac_config_commands"
|
|
5619 |
|
|
5620 |
_ACEOF
|
4780 | 5621 |
|
4781 | 5622 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4782 | |
|
4783 | 5623 |
ac_cs_usage="\
|
4784 | 5624 |
\`$as_me' instantiates files from templates according to the
|
4785 | 5625 |
current configuration.
|
|
4806 | 5646 |
$config_commands
|
4807 | 5647 |
|
4808 | 5648 |
Report bugs to <bug-autoconf@gnu.org>."
|
4809 | |
_ACEOF
|
4810 | |
|
|
5649 |
|
|
5650 |
_ACEOF
|
4811 | 5651 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4812 | 5652 |
ac_cs_version="\\
|
4813 | 5653 |
config.status
|
4814 | |
configured by $0, generated by GNU Autoconf 2.59,
|
4815 | |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
4816 | |
|
4817 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
5654 |
configured by $0, generated by GNU Autoconf 2.60,
|
|
5655 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
5656 |
|
|
5657 |
Copyright (C) 2006 Free Software Foundation, Inc.
|
4818 | 5658 |
This config.status script is free software; the Free Software Foundation
|
4819 | 5659 |
gives unlimited permission to copy, distribute and modify it."
|
4820 | |
srcdir=$srcdir
|
4821 | |
INSTALL="$INSTALL"
|
|
5660 |
|
|
5661 |
ac_pwd='$ac_pwd'
|
|
5662 |
srcdir='$srcdir'
|
|
5663 |
INSTALL='$INSTALL'
|
4822 | 5664 |
_ACEOF
|
4823 | 5665 |
|
4824 | 5666 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
4829 | 5671 |
do
|
4830 | 5672 |
case $1 in
|
4831 | 5673 |
--*=*)
|
4832 | |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
4833 | |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
|
5674 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
5675 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
4834 | 5676 |
ac_shift=:
|
4835 | 5677 |
;;
|
4836 | |
-*)
|
|
5678 |
*)
|
4837 | 5679 |
ac_option=$1
|
4838 | 5680 |
ac_optarg=$2
|
4839 | 5681 |
ac_shift=shift
|
4840 | 5682 |
;;
|
4841 | |
*) # This is not an option, so the user has probably given explicit
|
4842 | |
# arguments.
|
4843 | |
ac_option=$1
|
4844 | |
ac_need_defaults=false;;
|
4845 | 5683 |
esac
|
4846 | 5684 |
|
4847 | 5685 |
case $ac_option in
|
4848 | 5686 |
# Handling of the options.
|
4849 | |
_ACEOF
|
4850 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4851 | 5687 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
4852 | 5688 |
ac_cs_recheck=: ;;
|
4853 | |
--version | --vers* | -V )
|
4854 | |
echo "$ac_cs_version"; exit 0 ;;
|
4855 | |
--he | --h)
|
4856 | |
# Conflict between --help and --header
|
4857 | |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
4858 | |
Try \`$0 --help' for more information." >&5
|
4859 | |
echo "$as_me: error: ambiguous option: $1
|
4860 | |
Try \`$0 --help' for more information." >&2;}
|
4861 | |
{ (exit 1); exit 1; }; };;
|
4862 | |
--help | --hel | -h )
|
4863 | |
echo "$ac_cs_usage"; exit 0 ;;
|
4864 | |
--debug | --d* | -d )
|
|
5689 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
5690 |
echo "$ac_cs_version"; exit ;;
|
|
5691 |
--debug | --debu | --deb | --de | --d | -d )
|
4865 | 5692 |
debug=: ;;
|
4866 | 5693 |
--file | --fil | --fi | --f )
|
4867 | 5694 |
$ac_shift
|
|
4871 | 5698 |
$ac_shift
|
4872 | 5699 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
4873 | 5700 |
ac_need_defaults=false;;
|
|
5701 |
--he | --h)
|
|
5702 |
# Conflict between --help and --header
|
|
5703 |
{ echo "$as_me: error: ambiguous option: $1
|
|
5704 |
Try \`$0 --help' for more information." >&2
|
|
5705 |
{ (exit 1); exit 1; }; };;
|
|
5706 |
--help | --hel | -h )
|
|
5707 |
echo "$ac_cs_usage"; exit ;;
|
4874 | 5708 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
4875 | 5709 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
4876 | 5710 |
ac_cs_silent=: ;;
|
4877 | 5711 |
|
4878 | 5712 |
# This is an error.
|
4879 | |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
4880 | |
Try \`$0 --help' for more information." >&5
|
4881 | |
echo "$as_me: error: unrecognized option: $1
|
4882 | |
Try \`$0 --help' for more information." >&2;}
|
|
5713 |
-*) { echo "$as_me: error: unrecognized option: $1
|
|
5714 |
Try \`$0 --help' for more information." >&2
|
4883 | 5715 |
{ (exit 1); exit 1; }; } ;;
|
4884 | 5716 |
|
4885 | |
*) ac_config_targets="$ac_config_targets $1" ;;
|
|
5717 |
*) ac_config_targets="$ac_config_targets $1"
|
|
5718 |
ac_need_defaults=false ;;
|
4886 | 5719 |
|
4887 | 5720 |
esac
|
4888 | 5721 |
shift
|
|
4898 | 5731 |
_ACEOF
|
4899 | 5732 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4900 | 5733 |
if \$ac_cs_recheck; then
|
4901 | |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
4902 | |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
4903 | |
fi
|
4904 | |
|
4905 | |
_ACEOF
|
4906 | |
|
|
5734 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
5735 |
CONFIG_SHELL=$SHELL
|
|
5736 |
export CONFIG_SHELL
|
|
5737 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
5738 |
fi
|
|
5739 |
|
|
5740 |
_ACEOF
|
|
5741 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5742 |
exec 5>>config.log
|
|
5743 |
{
|
|
5744 |
echo
|
|
5745 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
5746 |
## Running $as_me. ##
|
|
5747 |
_ASBOX
|
|
5748 |
echo "$ac_log"
|
|
5749 |
} >&5
|
|
5750 |
|
|
5751 |
_ACEOF
|
4907 | 5752 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4908 | 5753 |
#
|
4909 | |
# INIT-COMMANDS section.
|
|
5754 |
# INIT-COMMANDS
|
4910 | 5755 |
#
|
4911 | 5756 |
|
4912 | 5757 |
|
4913 | |
|
4914 | |
_ACEOF
|
4915 | |
|
4916 | |
|
|
5758 |
_ACEOF
|
4917 | 5759 |
|
4918 | 5760 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5761 |
|
|
5762 |
# Handling of arguments.
|
4919 | 5763 |
for ac_config_target in $ac_config_targets
|
4920 | 5764 |
do
|
4921 | |
case "$ac_config_target" in
|
4922 | |
# Handling of arguments.
|
4923 | |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
4924 | |
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
4925 | |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
5765 |
case $ac_config_target in
|
|
5766 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
5767 |
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
|
5768 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
5769 |
|
4926 | 5770 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
4927 | 5771 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
4928 | 5772 |
{ (exit 1); exit 1; }; };;
|
4929 | 5773 |
esac
|
4930 | 5774 |
done
|
|
5775 |
|
4931 | 5776 |
|
4932 | 5777 |
# If the user did not use the arguments to specify the items to instantiate,
|
4933 | 5778 |
# then the envvar interface is used. Set only those that are not.
|
|
4940 | 5785 |
fi
|
4941 | 5786 |
|
4942 | 5787 |
# Have a temporary directory for convenience. Make it in the build tree
|
4943 | |
# simply because there is no reason to put it here, and in addition,
|
|
5788 |
# simply because there is no reason against having it here, and in addition,
|
4944 | 5789 |
# creating and moving files from /tmp can sometimes cause problems.
|
4945 | |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
5790 |
# Hook for its removal unless debugging.
|
|
5791 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
5792 |
# after its creation but before its name has been assigned to `$tmp'.
|
4946 | 5793 |
$debug ||
|
4947 | 5794 |
{
|
4948 | |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
5795 |
tmp=
|
|
5796 |
trap 'exit_status=$?
|
|
5797 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
5798 |
' 0
|
4949 | 5799 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
4950 | 5800 |
}
|
4951 | |
|
4952 | 5801 |
# Create a (secure) tmp directory for tmp files.
|
4953 | 5802 |
|
4954 | 5803 |
{
|
4955 | |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
|
5804 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
4956 | 5805 |
test -n "$tmp" && test -d "$tmp"
|
4957 | 5806 |
} ||
|
4958 | 5807 |
{
|
4959 | |
tmp=./confstat$$-$RANDOM
|
4960 | |
(umask 077 && mkdir $tmp)
|
|
5808 |
tmp=./conf$$-$RANDOM
|
|
5809 |
(umask 077 && mkdir "$tmp")
|
4961 | 5810 |
} ||
|
4962 | 5811 |
{
|
4963 | 5812 |
echo "$me: cannot create a temporary directory in ." >&2
|
4964 | 5813 |
{ (exit 1); exit 1; }
|
4965 | 5814 |
}
|
4966 | 5815 |
|
4967 | |
_ACEOF
|
4968 | |
|
4969 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
4970 | |
|
4971 | 5816 |
#
|
4972 | |
# CONFIG_FILES section.
|
|
5817 |
# Set up the sed scripts for CONFIG_FILES section.
|
4973 | 5818 |
#
|
4974 | 5819 |
|
4975 | 5820 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
4976 | 5821 |
# This happens for instance when ./config.status config.h
|
4977 | |
if test -n "\$CONFIG_FILES"; then
|
4978 | |
# Protect against being on the right side of a sed subst in config.status.
|
4979 | |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
4980 | |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
4981 | |
s,@SHELL@,$SHELL,;t t
|
4982 | |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
4983 | |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
4984 | |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
4985 | |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
4986 | |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
4987 | |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
4988 | |
s,@exec_prefix@,$exec_prefix,;t t
|
4989 | |
s,@prefix@,$prefix,;t t
|
4990 | |
s,@program_transform_name@,$program_transform_name,;t t
|
4991 | |
s,@bindir@,$bindir,;t t
|
4992 | |
s,@sbindir@,$sbindir,;t t
|
4993 | |
s,@libexecdir@,$libexecdir,;t t
|
4994 | |
s,@datadir@,$datadir,;t t
|
4995 | |
s,@sysconfdir@,$sysconfdir,;t t
|
4996 | |
s,@sharedstatedir@,$sharedstatedir,;t t
|
4997 | |
s,@localstatedir@,$localstatedir,;t t
|
4998 | |
s,@libdir@,$libdir,;t t
|
4999 | |
s,@includedir@,$includedir,;t t
|
5000 | |
s,@oldincludedir@,$oldincludedir,;t t
|
5001 | |
s,@infodir@,$infodir,;t t
|
5002 | |
s,@mandir@,$mandir,;t t
|
5003 | |
s,@build_alias@,$build_alias,;t t
|
5004 | |
s,@host_alias@,$host_alias,;t t
|
5005 | |
s,@target_alias@,$target_alias,;t t
|
5006 | |
s,@DEFS@,$DEFS,;t t
|
5007 | |
s,@ECHO_C@,$ECHO_C,;t t
|
5008 | |
s,@ECHO_N@,$ECHO_N,;t t
|
5009 | |
s,@ECHO_T@,$ECHO_T,;t t
|
5010 | |
s,@LIBS@,$LIBS,;t t
|
5011 | |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
5012 | |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
5013 | |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
5014 | |
s,@PACKAGE@,$PACKAGE,;t t
|
5015 | |
s,@VERSION@,$VERSION,;t t
|
5016 | |
s,@ACLOCAL@,$ACLOCAL,;t t
|
5017 | |
s,@AUTOCONF@,$AUTOCONF,;t t
|
5018 | |
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
5019 | |
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
5020 | |
s,@MAKEINFO@,$MAKEINFO,;t t
|
5021 | |
s,@SET_MAKE@,$SET_MAKE,;t t
|
5022 | |
s,@CXX@,$CXX,;t t
|
5023 | |
s,@CXXFLAGS@,$CXXFLAGS,;t t
|
5024 | |
s,@LDFLAGS@,$LDFLAGS,;t t
|
5025 | |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
5026 | |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
5027 | |
s,@EXEEXT@,$EXEEXT,;t t
|
5028 | |
s,@OBJEXT@,$OBJEXT,;t t
|
5029 | |
s,@CC@,$CC,;t t
|
5030 | |
s,@CFLAGS@,$CFLAGS,;t t
|
5031 | |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
5032 | |
s,@CPP@,$CPP,;t t
|
5033 | |
s,@EGREP@,$EGREP,;t t
|
5034 | |
s,@CXXCPP@,$CXXCPP,;t t
|
5035 | |
s,@LIBOBJS@,$LIBOBJS,;t t
|
5036 | |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
5037 | |
CEOF
|
5038 | |
|
5039 | |
_ACEOF
|
5040 | |
|
5041 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5042 | |
# Split the substitutions into bite-sized pieces for seds with
|
5043 | |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
5044 | |
ac_max_sed_lines=48
|
5045 | |
ac_sed_frag=1 # Number of current file.
|
5046 | |
ac_beg=1 # First line for current file.
|
5047 | |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
5048 | |
ac_more_lines=:
|
5049 | |
ac_sed_cmds=
|
5050 | |
while $ac_more_lines; do
|
5051 | |
if test $ac_beg -gt 1; then
|
5052 | |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
5053 | |
else
|
5054 | |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
5822 |
if test -n "$CONFIG_FILES"; then
|
|
5823 |
|
|
5824 |
_ACEOF
|
|
5825 |
|
|
5826 |
|
|
5827 |
|
|
5828 |
ac_delim='%!_!# '
|
|
5829 |
for ac_last_try in false false false false false :; do
|
|
5830 |
cat >conf$$subs.sed <<_ACEOF
|
|
5831 |
SHELL!$SHELL$ac_delim
|
|
5832 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
|
5833 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
|
5834 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
|
5835 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
|
5836 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
|
5837 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
|
5838 |
exec_prefix!$exec_prefix$ac_delim
|
|
5839 |
prefix!$prefix$ac_delim
|
|
5840 |
program_transform_name!$program_transform_name$ac_delim
|
|
5841 |
bindir!$bindir$ac_delim
|
|
5842 |
sbindir!$sbindir$ac_delim
|
|
5843 |
libexecdir!$libexecdir$ac_delim
|
|
5844 |
datarootdir!$datarootdir$ac_delim
|
|
5845 |
datadir!$datadir$ac_delim
|
|
5846 |
sysconfdir!$sysconfdir$ac_delim
|
|
5847 |
sharedstatedir!$sharedstatedir$ac_delim
|
|
5848 |
localstatedir!$localstatedir$ac_delim
|
|
5849 |
includedir!$includedir$ac_delim
|
|
5850 |
oldincludedir!$oldincludedir$ac_delim
|
|
5851 |
docdir!$docdir$ac_delim
|
|
5852 |
infodir!$infodir$ac_delim
|
|
5853 |
htmldir!$htmldir$ac_delim
|
|
5854 |
dvidir!$dvidir$ac_delim
|
|
5855 |
pdfdir!$pdfdir$ac_delim
|
|
5856 |
psdir!$psdir$ac_delim
|
|
5857 |
libdir!$libdir$ac_delim
|
|
5858 |
localedir!$localedir$ac_delim
|
|
5859 |
mandir!$mandir$ac_delim
|
|
5860 |
DEFS!$DEFS$ac_delim
|
|
5861 |
ECHO_C!$ECHO_C$ac_delim
|
|
5862 |
ECHO_N!$ECHO_N$ac_delim
|
|
5863 |
ECHO_T!$ECHO_T$ac_delim
|
|
5864 |
LIBS!$LIBS$ac_delim
|
|
5865 |
build_alias!$build_alias$ac_delim
|
|
5866 |
host_alias!$host_alias$ac_delim
|
|
5867 |
target_alias!$target_alias$ac_delim
|
|
5868 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
5869 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
5870 |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
5871 |
PACKAGE!$PACKAGE$ac_delim
|
|
5872 |
VERSION!$VERSION$ac_delim
|
|
5873 |
ACLOCAL!$ACLOCAL$ac_delim
|
|
5874 |
AUTOCONF!$AUTOCONF$ac_delim
|
|
5875 |
AUTOMAKE!$AUTOMAKE$ac_delim
|
|
5876 |
AUTOHEADER!$AUTOHEADER$ac_delim
|
|
5877 |
MAKEINFO!$MAKEINFO$ac_delim
|
|
5878 |
SET_MAKE!$SET_MAKE$ac_delim
|
|
5879 |
CXX!$CXX$ac_delim
|
|
5880 |
CXXFLAGS!$CXXFLAGS$ac_delim
|
|
5881 |
LDFLAGS!$LDFLAGS$ac_delim
|
|
5882 |
CPPFLAGS!$CPPFLAGS$ac_delim
|
|
5883 |
ac_ct_CXX!$ac_ct_CXX$ac_delim
|
|
5884 |
EXEEXT!$EXEEXT$ac_delim
|
|
5885 |
OBJEXT!$OBJEXT$ac_delim
|
|
5886 |
CC!$CC$ac_delim
|
|
5887 |
CFLAGS!$CFLAGS$ac_delim
|
|
5888 |
ac_ct_CC!$ac_ct_CC$ac_delim
|
|
5889 |
CPP!$CPP$ac_delim
|
|
5890 |
GREP!$GREP$ac_delim
|
|
5891 |
EGREP!$EGREP$ac_delim
|
|
5892 |
CXXCPP!$CXXCPP$ac_delim
|
|
5893 |
LIBOBJS!$LIBOBJS$ac_delim
|
|
5894 |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
5895 |
_ACEOF
|
|
5896 |
|
|
5897 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
|
|
5898 |
break
|
|
5899 |
elif $ac_last_try; then
|
|
5900 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
5901 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
5902 |
{ (exit 1); exit 1; }; }
|
|
5903 |
else
|
|
5904 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
5905 |
fi
|
|
5906 |
done
|
|
5907 |
|
|
5908 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
|
5909 |
if test -n "$ac_eof"; then
|
|
5910 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
|
5911 |
ac_eof=`expr $ac_eof + 1`
|
|
5912 |
fi
|
|
5913 |
|
|
5914 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5915 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
|
5916 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
|
5917 |
_ACEOF
|
|
5918 |
sed '
|
|
5919 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
|
5920 |
s/^/s,@/; s/!/@,|#_!!_#|/
|
|
5921 |
:n
|
|
5922 |
t n
|
|
5923 |
s/'"$ac_delim"'$/,g/; t
|
|
5924 |
s/$/\\/; p
|
|
5925 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
|
5926 |
' >>$CONFIG_STATUS <conf$$subs.sed
|
|
5927 |
rm -f conf$$subs.sed
|
|
5928 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5929 |
:end
|
|
5930 |
s/|#_!!_#|//g
|
|
5931 |
CEOF$ac_eof
|
|
5932 |
_ACEOF
|
|
5933 |
|
|
5934 |
|
|
5935 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
5936 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
5937 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
5938 |
# (actually we leave an empty line to preserve line numbers).
|
|
5939 |
if test "x$srcdir" = x.; then
|
|
5940 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
5941 |
s/:*\$(srcdir):*/:/
|
|
5942 |
s/:*\${srcdir}:*/:/
|
|
5943 |
s/:*@srcdir@:*/:/
|
|
5944 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
5945 |
s/:*$//
|
|
5946 |
s/^[^=]*=[ ]*$//
|
|
5947 |
}'
|
|
5948 |
fi
|
|
5949 |
|
|
5950 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5951 |
fi # test -n "$CONFIG_FILES"
|
|
5952 |
|
|
5953 |
|
|
5954 |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
|
5955 |
do
|
|
5956 |
case $ac_tag in
|
|
5957 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
5958 |
esac
|
|
5959 |
case $ac_mode$ac_tag in
|
|
5960 |
:[FHL]*:*);;
|
|
5961 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
|
5962 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
5963 |
{ (exit 1); exit 1; }; };;
|
|
5964 |
:[FH]-) ac_tag=-:-;;
|
|
5965 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
5966 |
esac
|
|
5967 |
ac_save_IFS=$IFS
|
|
5968 |
IFS=:
|
|
5969 |
set x $ac_tag
|
|
5970 |
IFS=$ac_save_IFS
|
|
5971 |
shift
|
|
5972 |
ac_file=$1
|
|
5973 |
shift
|
|
5974 |
|
|
5975 |
case $ac_mode in
|
|
5976 |
:L) ac_source=$1;;
|
|
5977 |
:[FH])
|
|
5978 |
ac_file_inputs=
|
|
5979 |
for ac_f
|
|
5980 |
do
|
|
5981 |
case $ac_f in
|
|
5982 |
-) ac_f="$tmp/stdin";;
|
|
5983 |
*) # Look for the file first in the build tree, then in the source tree
|
|
5984 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
5985 |
# because $ac_f cannot contain `:'.
|
|
5986 |
test -f "$ac_f" ||
|
|
5987 |
case $ac_f in
|
|
5988 |
[\\/$]*) false;;
|
|
5989 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
5990 |
esac ||
|
|
5991 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
5992 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
5993 |
{ (exit 1); exit 1; }; };;
|
|
5994 |
esac
|
|
5995 |
ac_file_inputs="$ac_file_inputs $ac_f"
|
|
5996 |
done
|
|
5997 |
|
|
5998 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
5999 |
# use $as_me), people would be surprised to read:
|
|
6000 |
# /* config.h. Generated by config.status. */
|
|
6001 |
configure_input="Generated from "`IFS=:
|
|
6002 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
6003 |
if test x"$ac_file" != x-; then
|
|
6004 |
configure_input="$ac_file. $configure_input"
|
|
6005 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
6006 |
echo "$as_me: creating $ac_file" >&6;}
|
5055 | 6007 |
fi
|
5056 | |
if test ! -s $tmp/subs.frag; then
|
5057 | |
ac_more_lines=false
|
5058 | |
else
|
5059 | |
# The purpose of the label and of the branching condition is to
|
5060 | |
# speed up the sed processing (if there are no `@' at all, there
|
5061 | |
# is no need to browse any of the substitutions).
|
5062 | |
# These are the two extra sed commands mentioned above.
|
5063 | |
(echo ':t
|
5064 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
5065 | |
if test -z "$ac_sed_cmds"; then
|
5066 | |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
5067 | |
else
|
5068 | |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
5069 | |
fi
|
5070 | |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
5071 | |
ac_beg=$ac_end
|
5072 | |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
5073 | |
fi
|
5074 | |
done
|
5075 | |
if test -z "$ac_sed_cmds"; then
|
5076 | |
ac_sed_cmds=cat
|
5077 | |
fi
|
5078 | |
fi # test -n "$CONFIG_FILES"
|
5079 | |
|
5080 | |
_ACEOF
|
5081 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5082 | |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
5083 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5084 | |
case $ac_file in
|
5085 | |
- | *:- | *:-:* ) # input from stdin
|
5086 | |
cat >$tmp/stdin
|
5087 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5088 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5089 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5090 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5091 | |
* ) ac_file_in=$ac_file.in ;;
|
|
6008 |
|
|
6009 |
case $ac_tag in
|
|
6010 |
*:-:* | *:-) cat >"$tmp/stdin";;
|
|
6011 |
esac
|
|
6012 |
;;
|
5092 | 6013 |
esac
|
5093 | 6014 |
|
5094 | |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
5095 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
6015 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
5096 | 6016 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5097 | 6017 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
5098 | 6018 |
X"$ac_file" : 'X\(//\)$' \| \
|
5099 | |
X"$ac_file" : 'X\(/\)' \| \
|
5100 | |
. : '\(.\)' 2>/dev/null ||
|
|
6019 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
5101 | 6020 |
echo X"$ac_file" |
|
5102 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5103 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5104 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5105 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5106 | |
s/.*/./; q'`
|
5107 | |
{ if $as_mkdir_p; then
|
5108 | |
mkdir -p "$ac_dir"
|
5109 | |
else
|
5110 | |
as_dir="$ac_dir"
|
|
6021 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
6022 |
s//\1/
|
|
6023 |
q
|
|
6024 |
}
|
|
6025 |
/^X\(\/\/\)[^/].*/{
|
|
6026 |
s//\1/
|
|
6027 |
q
|
|
6028 |
}
|
|
6029 |
/^X\(\/\/\)$/{
|
|
6030 |
s//\1/
|
|
6031 |
q
|
|
6032 |
}
|
|
6033 |
/^X\(\/\).*/{
|
|
6034 |
s//\1/
|
|
6035 |
q
|
|
6036 |
}
|
|
6037 |
s/.*/./; q'`
|
|
6038 |
{ as_dir="$ac_dir"
|
|
6039 |
case $as_dir in #(
|
|
6040 |
-*) as_dir=./$as_dir;;
|
|
6041 |
esac
|
|
6042 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
5111 | 6043 |
as_dirs=
|
5112 | |
while test ! -d "$as_dir"; do
|
5113 | |
as_dirs="$as_dir $as_dirs"
|
5114 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
6044 |
while :; do
|
|
6045 |
case $as_dir in #(
|
|
6046 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
6047 |
*) as_qdir=$as_dir;;
|
|
6048 |
esac
|
|
6049 |
as_dirs="'$as_qdir' $as_dirs"
|
|
6050 |
as_dir=`$as_dirname -- "$as_dir" ||
|
5115 | 6051 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5116 | 6052 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5117 | 6053 |
X"$as_dir" : 'X\(//\)$' \| \
|
5118 | |
X"$as_dir" : 'X\(/\)' \| \
|
5119 | |
. : '\(.\)' 2>/dev/null ||
|
|
6054 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
5120 | 6055 |
echo X"$as_dir" |
|
5121 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5122 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5123 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5124 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5125 | |
s/.*/./; q'`
|
|
6056 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
6057 |
s//\1/
|
|
6058 |
q
|
|
6059 |
}
|
|
6060 |
/^X\(\/\/\)[^/].*/{
|
|
6061 |
s//\1/
|
|
6062 |
q
|
|
6063 |
}
|
|
6064 |
/^X\(\/\/\)$/{
|
|
6065 |
s//\1/
|
|
6066 |
q
|
|
6067 |
}
|
|
6068 |
/^X\(\/\).*/{
|
|
6069 |
s//\1/
|
|
6070 |
q
|
|
6071 |
}
|
|
6072 |
s/.*/./; q'`
|
|
6073 |
test -d "$as_dir" && break
|
5126 | 6074 |
done
|
5127 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
5128 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5129 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
6075 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
6076 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
6077 |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
5130 | 6078 |
{ (exit 1); exit 1; }; }; }
|
5131 | |
|
5132 | 6079 |
ac_builddir=.
|
5133 | 6080 |
|
5134 | |
if test "$ac_dir" != .; then
|
|
6081 |
case "$ac_dir" in
|
|
6082 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
6083 |
*)
|
5135 | 6084 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
5136 | |
# A "../" for each directory in $ac_dir_suffix.
|
5137 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
5138 | |
else
|
5139 | |
ac_dir_suffix= ac_top_builddir=
|
5140 | |
fi
|
|
6085 |
# A ".." for each directory in $ac_dir_suffix.
|
|
6086 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
6087 |
case $ac_top_builddir_sub in
|
|
6088 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
6089 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
6090 |
esac ;;
|
|
6091 |
esac
|
|
6092 |
ac_abs_top_builddir=$ac_pwd
|
|
6093 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
6094 |
# for backward compatibility:
|
|
6095 |
ac_top_builddir=$ac_top_build_prefix
|
5141 | 6096 |
|
5142 | 6097 |
case $srcdir in
|
5143 | |
.) # No --srcdir option. We are building in place.
|
|
6098 |
.) # We are building in place.
|
5144 | 6099 |
ac_srcdir=.
|
5145 | |
if test -z "$ac_top_builddir"; then
|
5146 | |
ac_top_srcdir=.
|
5147 | |
else
|
5148 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
5149 | |
fi ;;
|
5150 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
6100 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
6101 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
6102 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
5151 | 6103 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
5152 | |
ac_top_srcdir=$srcdir ;;
|
5153 | |
*) # Relative path.
|
5154 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
5155 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
5156 | |
esac
|
5157 | |
|
5158 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
5159 | |
# the directories may not exist.
|
5160 | |
case `pwd` in
|
5161 | |
.) ac_abs_builddir="$ac_dir";;
|
5162 | |
*)
|
5163 | |
case "$ac_dir" in
|
5164 | |
.) ac_abs_builddir=`pwd`;;
|
5165 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
5166 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
5167 | |
esac;;
|
5168 | |
esac
|
5169 | |
case $ac_abs_builddir in
|
5170 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5171 | |
*)
|
5172 | |
case ${ac_top_builddir}. in
|
5173 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
5174 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5175 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
5176 | |
esac;;
|
5177 | |
esac
|
5178 | |
case $ac_abs_builddir in
|
5179 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
5180 | |
*)
|
5181 | |
case $ac_srcdir in
|
5182 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
5183 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
5184 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
5185 | |
esac;;
|
5186 | |
esac
|
5187 | |
case $ac_abs_builddir in
|
5188 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5189 | |
*)
|
5190 | |
case $ac_top_srcdir in
|
5191 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
5192 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5193 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
5194 | |
esac;;
|
5195 | |
esac
|
5196 | |
|
|
6104 |
ac_top_srcdir=$srcdir
|
|
6105 |
ac_abs_top_srcdir=$srcdir ;;
|
|
6106 |
*) # Relative name.
|
|
6107 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
6108 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
6109 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
6110 |
esac
|
|
6111 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
6112 |
|
|
6113 |
|
|
6114 |
case $ac_mode in
|
|
6115 |
:F)
|
|
6116 |
#
|
|
6117 |
# CONFIG_FILE
|
|
6118 |
#
|
5197 | 6119 |
|
5198 | 6120 |
case $INSTALL in
|
5199 | 6121 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
5200 | |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
6122 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
5201 | 6123 |
esac
|
5202 | |
|
5203 | |
if test x"$ac_file" != x-; then
|
5204 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
5205 | |
echo "$as_me: creating $ac_file" >&6;}
|
5206 | |
rm -f "$ac_file"
|
5207 | |
fi
|
5208 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5209 | |
# use $as_me), people would be surprised to read:
|
5210 | |
# /* config.h. Generated by config.status. */
|
5211 | |
if test x"$ac_file" = x-; then
|
5212 | |
configure_input=
|
5213 | |
else
|
5214 | |
configure_input="$ac_file. "
|
5215 | |
fi
|
5216 | |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
5217 | |
sed 's,.*/,,'` by configure."
|
5218 | |
|
5219 | |
# First look for the input files in the build tree, otherwise in the
|
5220 | |
# src tree.
|
5221 | |
ac_file_inputs=`IFS=:
|
5222 | |
for f in $ac_file_in; do
|
5223 | |
case $f in
|
5224 | |
-) echo $tmp/stdin ;;
|
5225 | |
[\\/$]*)
|
5226 | |
# Absolute (can't be DOS-style, as IFS=:)
|
5227 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5228 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5229 | |
{ (exit 1); exit 1; }; }
|
5230 | |
echo "$f";;
|
5231 | |
*) # Relative
|
5232 | |
if test -f "$f"; then
|
5233 | |
# Build tree
|
5234 | |
echo "$f"
|
5235 | |
elif test -f "$srcdir/$f"; then
|
5236 | |
# Source tree
|
5237 | |
echo "$srcdir/$f"
|
5238 | |
else
|
5239 | |
# /dev/null tree
|
5240 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5241 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5242 | |
{ (exit 1); exit 1; }; }
|
5243 | |
fi;;
|
5244 | |
esac
|
5245 | |
done` || { (exit 1); exit 1; }
|
5246 | |
_ACEOF
|
|
6124 |
_ACEOF
|
|
6125 |
|
|
6126 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6127 |
# If the template does not know about datarootdir, expand it.
|
|
6128 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
6129 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
6130 |
|
|
6131 |
case `sed -n '/datarootdir/ {
|
|
6132 |
p
|
|
6133 |
q
|
|
6134 |
}
|
|
6135 |
/@datadir@/p
|
|
6136 |
/@docdir@/p
|
|
6137 |
/@infodir@/p
|
|
6138 |
/@localedir@/p
|
|
6139 |
/@mandir@/p
|
|
6140 |
' $ac_file_inputs` in
|
|
6141 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
6142 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
6143 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
6144 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
6145 |
_ACEOF
|
|
6146 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6147 |
ac_datarootdir_hack='
|
|
6148 |
s&@datadir@&$datadir&g
|
|
6149 |
s&@docdir@&$docdir&g
|
|
6150 |
s&@infodir@&$infodir&g
|
|
6151 |
s&@localedir@&$localedir&g
|
|
6152 |
s&@mandir@&$mandir&g
|
|
6153 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
6154 |
esac
|
|
6155 |
_ACEOF
|
|
6156 |
|
|
6157 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
6158 |
# Shell code in configure.ac might set extrasub.
|
|
6159 |
# FIXME: do we really want to maintain this feature?
|
5247 | 6160 |
cat >>$CONFIG_STATUS <<_ACEOF
|
5248 | 6161 |
sed "$ac_vpsub
|
5249 | 6162 |
$extrasub
|
|
5251 | 6164 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5252 | 6165 |
:t
|
5253 | 6166 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
5254 | |
s,@configure_input@,$configure_input,;t t
|
5255 | |
s,@srcdir@,$ac_srcdir,;t t
|
5256 | |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
5257 | |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
5258 | |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
5259 | |
s,@builddir@,$ac_builddir,;t t
|
5260 | |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
5261 | |
s,@top_builddir@,$ac_top_builddir,;t t
|
5262 | |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
5263 | |
s,@INSTALL@,$ac_INSTALL,;t t
|
5264 | |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
5265 | |
rm -f $tmp/stdin
|
5266 | |
if test x"$ac_file" != x-; then
|
5267 | |
mv $tmp/out $ac_file
|
5268 | |
else
|
5269 | |
cat $tmp/out
|
5270 | |
rm -f $tmp/out
|
5271 | |
fi
|
5272 | |
|
5273 | |
done
|
5274 | |
_ACEOF
|
5275 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5276 | |
|
5277 | |
#
|
5278 | |
# CONFIG_HEADER section.
|
5279 | |
#
|
5280 | |
|
5281 | |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
5282 | |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
5283 | |
#
|
5284 | |
# ac_d sets the value in "#define NAME VALUE" lines.
|
5285 | |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
5286 | |
ac_dB='[ ].*$,\1#\2'
|
|
6167 |
s&@configure_input@&$configure_input&;t t
|
|
6168 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
6169 |
s&@srcdir@&$ac_srcdir&;t t
|
|
6170 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
6171 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
6172 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
6173 |
s&@builddir@&$ac_builddir&;t t
|
|
6174 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
6175 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
6176 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
6177 |
$ac_datarootdir_hack
|
|
6178 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
|
6179 |
|
|
6180 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
6181 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
6182 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
6183 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6184 |
which seems to be undefined. Please make sure it is defined." >&5
|
|
6185 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6186 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
6187 |
|
|
6188 |
rm -f "$tmp/stdin"
|
|
6189 |
case $ac_file in
|
|
6190 |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
|
6191 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
|
6192 |
esac
|
|
6193 |
;;
|
|
6194 |
:H)
|
|
6195 |
#
|
|
6196 |
# CONFIG_HEADER
|
|
6197 |
#
|
|
6198 |
_ACEOF
|
|
6199 |
|
|
6200 |
# Transform confdefs.h into a sed script `conftest.defines', that
|
|
6201 |
# substitutes the proper values into config.h.in to produce config.h.
|
|
6202 |
rm -f conftest.defines conftest.tail
|
|
6203 |
# First, append a space to every undef/define line, to ease matching.
|
|
6204 |
echo 's/$/ /' >conftest.defines
|
|
6205 |
# Then, protect against being on the right side of a sed subst, or in
|
|
6206 |
# an unquoted here document, in config.status. If some macros were
|
|
6207 |
# called several times there might be several #defines for the same
|
|
6208 |
# symbol, which is useless. But do not sort them, since the last
|
|
6209 |
# AC_DEFINE must be honored.
|
|
6210 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
6211 |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
|
6212 |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
|
6213 |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
|
6214 |
# just an empty string.
|
|
6215 |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
|
6216 |
ac_dB='\\)[ (].*,\\1define\\2'
|
5287 | 6217 |
ac_dC=' '
|
5288 | |
ac_dD=',;t'
|
5289 | |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
5290 | |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
5291 | |
ac_uB='$,\1#\2define\3'
|
5292 | |
ac_uC=' '
|
5293 | |
ac_uD=',;t'
|
5294 | |
|
5295 | |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
5296 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5297 | |
case $ac_file in
|
5298 | |
- | *:- | *:-:* ) # input from stdin
|
5299 | |
cat >$tmp/stdin
|
5300 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5301 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5302 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5303 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5304 | |
* ) ac_file_in=$ac_file.in ;;
|
5305 | |
esac
|
5306 | |
|
5307 | |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
5308 | |
echo "$as_me: creating $ac_file" >&6;}
|
5309 | |
|
5310 | |
# First look for the input files in the build tree, otherwise in the
|
5311 | |
# src tree.
|
5312 | |
ac_file_inputs=`IFS=:
|
5313 | |
for f in $ac_file_in; do
|
5314 | |
case $f in
|
5315 | |
-) echo $tmp/stdin ;;
|
5316 | |
[\\/$]*)
|
5317 | |
# Absolute (can't be DOS-style, as IFS=:)
|
5318 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5319 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5320 | |
{ (exit 1); exit 1; }; }
|
5321 | |
# Do quote $f, to prevent DOS paths from being IFS'd.
|
5322 | |
echo "$f";;
|
5323 | |
*) # Relative
|
5324 | |
if test -f "$f"; then
|
5325 | |
# Build tree
|
5326 | |
echo "$f"
|
5327 | |
elif test -f "$srcdir/$f"; then
|
5328 | |
# Source tree
|
5329 | |
echo "$srcdir/$f"
|
5330 | |
else
|
5331 | |
# /dev/null tree
|
5332 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5333 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5334 | |
{ (exit 1); exit 1; }; }
|
5335 | |
fi;;
|
5336 | |
esac
|
5337 | |
done` || { (exit 1); exit 1; }
|
5338 | |
# Remove the trailing spaces.
|
5339 | |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
5340 | |
|
5341 | |
_ACEOF
|
5342 | |
|
5343 | |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
5344 | |
# `conftest.undefs', that substitutes the proper values into
|
5345 | |
# config.h.in to produce config.h. The first handles `#define'
|
5346 | |
# templates, and the second `#undef' templates.
|
5347 | |
# And first: Protect against being on the right side of a sed subst in
|
5348 | |
# config.status. Protect against being in an unquoted here document
|
5349 | |
# in config.status.
|
5350 | |
rm -f conftest.defines conftest.undefs
|
5351 | |
# Using a here document instead of a string reduces the quoting nightmare.
|
5352 | |
# Putting comments in sed scripts is not portable.
|
5353 | |
#
|
5354 | |
# `end' is used to avoid that the second main sed command (meant for
|
5355 | |
# 0-ary CPP macros) applies to n-ary macro definitions.
|
5356 | |
# See the Autoconf documentation for `clear'.
|
5357 | |
cat >confdef2sed.sed <<\_ACEOF
|
5358 | |
s/[\\&,]/\\&/g
|
5359 | |
s,[\\$`],\\&,g
|
5360 | |
t clear
|
5361 | |
: clear
|
5362 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
5363 | |
t end
|
5364 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
5365 | |
: end
|
5366 | |
_ACEOF
|
5367 | |
# If some macros were called several times there might be several times
|
5368 | |
# the same #defines, which is useless. Nevertheless, we may not want to
|
5369 | |
# sort them, since we want the *last* AC-DEFINE to be honored.
|
5370 | |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
5371 | |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
5372 | |
rm -f confdef2sed.sed
|
5373 | |
|
5374 | |
# This sed command replaces #undef with comments. This is necessary, for
|
|
6218 |
ac_dD=' ,'
|
|
6219 |
|
|
6220 |
uniq confdefs.h |
|
|
6221 |
sed -n '
|
|
6222 |
t rset
|
|
6223 |
:rset
|
|
6224 |
s/^[ ]*#[ ]*define[ ][ ]*//
|
|
6225 |
t ok
|
|
6226 |
d
|
|
6227 |
:ok
|
|
6228 |
s/[\\&,]/\\&/g
|
|
6229 |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
|
6230 |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
|
6231 |
' >>conftest.defines
|
|
6232 |
|
|
6233 |
# Remove the space that was appended to ease matching.
|
|
6234 |
# Then replace #undef with comments. This is necessary, for
|
5375 | 6235 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
5376 | 6236 |
# on some systems where configure will not decide to define it.
|
5377 | |
cat >>conftest.undefs <<\_ACEOF
|
5378 | |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
5379 | |
_ACEOF
|
5380 | |
|
5381 | |
# Break up conftest.defines because some shells have a limit on the size
|
5382 | |
# of here documents, and old seds have small limits too (100 cmds).
|
5383 | |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
5384 | |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
5385 | |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
5386 | |
echo ' :' >>$CONFIG_STATUS
|
5387 | |
rm -f conftest.tail
|
5388 | |
while grep . conftest.defines >/dev/null
|
|
6237 |
# (The regexp can be short, since the line contains either #define or #undef.)
|
|
6238 |
echo 's/ $//
|
|
6239 |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
|
6240 |
|
|
6241 |
# Break up conftest.defines:
|
|
6242 |
ac_max_sed_lines=50
|
|
6243 |
|
|
6244 |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
|
6245 |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
|
6246 |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
|
6247 |
# et cetera.
|
|
6248 |
ac_in='$ac_file_inputs'
|
|
6249 |
ac_out='"$tmp/out1"'
|
|
6250 |
ac_nxt='"$tmp/out2"'
|
|
6251 |
|
|
6252 |
while :
|
5389 | 6253 |
do
|
5390 | |
# Write a limited-size here document to $tmp/defines.sed.
|
5391 | |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
5392 | |
# Speed up: don't consider the non `#define' lines.
|
5393 | |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
5394 | |
# Work around the forget-to-reset-the-flag bug.
|
5395 | |
echo 't clr' >>$CONFIG_STATUS
|
5396 | |
echo ': clr' >>$CONFIG_STATUS
|
5397 | |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
|
6254 |
# Write a here document:
|
|
6255 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6256 |
# First, check the format of the line:
|
|
6257 |
cat >"\$tmp/defines.sed" <<\\CEOF
|
|
6258 |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
|
6259 |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
|
6260 |
b
|
|
6261 |
:def
|
|
6262 |
_ACEOF
|
|
6263 |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
5398 | 6264 |
echo 'CEOF
|
5399 | |
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
5400 | |
rm -f $tmp/in
|
5401 | |
mv $tmp/out $tmp/in
|
5402 | |
' >>$CONFIG_STATUS
|
5403 | |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
|
6265 |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
|
6266 |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
|
6267 |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
|
6268 |
grep . conftest.tail >/dev/null || break
|
5404 | 6269 |
rm -f conftest.defines
|
5405 | 6270 |
mv conftest.tail conftest.defines
|
5406 | 6271 |
done
|
5407 | |
rm -f conftest.defines
|
5408 | |
echo ' fi # grep' >>$CONFIG_STATUS
|
5409 | |
echo >>$CONFIG_STATUS
|
5410 | |
|
5411 | |
# Break up conftest.undefs because some shells have a limit on the size
|
5412 | |
# of here documents, and old seds have small limits too (100 cmds).
|
5413 | |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
5414 | |
rm -f conftest.tail
|
5415 | |
while grep . conftest.undefs >/dev/null
|
5416 | |
do
|
5417 | |
# Write a limited-size here document to $tmp/undefs.sed.
|
5418 | |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
5419 | |
# Speed up: don't consider the non `#undef'
|
5420 | |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
5421 | |
# Work around the forget-to-reset-the-flag bug.
|
5422 | |
echo 't clr' >>$CONFIG_STATUS
|
5423 | |
echo ': clr' >>$CONFIG_STATUS
|
5424 | |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
5425 | |
echo 'CEOF
|
5426 | |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
5427 | |
rm -f $tmp/in
|
5428 | |
mv $tmp/out $tmp/in
|
5429 | |
' >>$CONFIG_STATUS
|
5430 | |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
5431 | |
rm -f conftest.undefs
|
5432 | |
mv conftest.tail conftest.undefs
|
5433 | |
done
|
5434 | |
rm -f conftest.undefs
|
5435 | |
|
|
6272 |
rm -f conftest.defines conftest.tail
|
|
6273 |
|
|
6274 |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
5436 | 6275 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5437 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5438 | |
# use $as_me), people would be surprised to read:
|
5439 | |
# /* config.h. Generated by config.status. */
|
5440 | |
if test x"$ac_file" = x-; then
|
5441 | |
echo "/* Generated by configure. */" >$tmp/config.h
|
5442 | |
else
|
5443 | |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
5444 | |
fi
|
5445 | |
cat $tmp/in >>$tmp/config.h
|
5446 | |
rm -f $tmp/in
|
5447 | 6276 |
if test x"$ac_file" != x-; then
|
5448 | |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
|
6277 |
echo "/* $configure_input */" >"$tmp/config.h"
|
|
6278 |
cat "$ac_result" >>"$tmp/config.h"
|
|
6279 |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
5449 | 6280 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
5450 | 6281 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
5451 | 6282 |
else
|
5452 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
5453 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5454 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
5455 | |
X"$ac_file" : 'X\(//\)$' \| \
|
5456 | |
X"$ac_file" : 'X\(/\)' \| \
|
5457 | |
. : '\(.\)' 2>/dev/null ||
|
5458 | |
echo X"$ac_file" |
|
5459 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5460 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5461 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5462 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5463 | |
s/.*/./; q'`
|
5464 | |
{ if $as_mkdir_p; then
|
5465 | |
mkdir -p "$ac_dir"
|
5466 | |
else
|
5467 | |
as_dir="$ac_dir"
|
5468 | |
as_dirs=
|
5469 | |
while test ! -d "$as_dir"; do
|
5470 | |
as_dirs="$as_dir $as_dirs"
|
5471 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
5472 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5473 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5474 | |
X"$as_dir" : 'X\(//\)$' \| \
|
5475 | |
X"$as_dir" : 'X\(/\)' \| \
|
5476 | |
. : '\(.\)' 2>/dev/null ||
|
5477 | |
echo X"$as_dir" |
|
5478 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5479 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5480 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5481 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5482 | |
s/.*/./; q'`
|
5483 | |
done
|
5484 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
5485 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5486 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
5487 | |
{ (exit 1); exit 1; }; }; }
|
5488 | |
|
5489 | 6283 |
rm -f $ac_file
|
5490 | |
mv $tmp/config.h $ac_file
|
|
6284 |
mv "$tmp/config.h" $ac_file
|
5491 | 6285 |
fi
|
5492 | 6286 |
else
|
5493 | |
cat $tmp/config.h
|
5494 | |
rm -f $tmp/config.h
|
|
6287 |
echo "/* $configure_input */"
|
|
6288 |
cat "$ac_result"
|
5495 | 6289 |
fi
|
5496 | |
done
|
5497 | |
_ACEOF
|
5498 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5499 | |
|
5500 | |
#
|
5501 | |
# CONFIG_COMMANDS section.
|
5502 | |
#
|
5503 | |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
5504 | |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
5505 | |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5506 | |
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
5507 | |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5508 | |
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
5509 | |
X"$ac_dest" : 'X\(//\)$' \| \
|
5510 | |
X"$ac_dest" : 'X\(/\)' \| \
|
5511 | |
. : '\(.\)' 2>/dev/null ||
|
5512 | |
echo X"$ac_dest" |
|
5513 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5514 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5515 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5516 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5517 | |
s/.*/./; q'`
|
5518 | |
{ if $as_mkdir_p; then
|
5519 | |
mkdir -p "$ac_dir"
|
5520 | |
else
|
5521 | |
as_dir="$ac_dir"
|
5522 | |
as_dirs=
|
5523 | |
while test ! -d "$as_dir"; do
|
5524 | |
as_dirs="$as_dir $as_dirs"
|
5525 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
5526 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5527 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5528 | |
X"$as_dir" : 'X\(//\)$' \| \
|
5529 | |
X"$as_dir" : 'X\(/\)' \| \
|
5530 | |
. : '\(.\)' 2>/dev/null ||
|
5531 | |
echo X"$as_dir" |
|
5532 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5533 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5534 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5535 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5536 | |
s/.*/./; q'`
|
5537 | |
done
|
5538 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
5539 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5540 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
5541 | |
{ (exit 1); exit 1; }; }; }
|
5542 | |
|
5543 | |
ac_builddir=.
|
5544 | |
|
5545 | |
if test "$ac_dir" != .; then
|
5546 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
5547 | |
# A "../" for each directory in $ac_dir_suffix.
|
5548 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
5549 | |
else
|
5550 | |
ac_dir_suffix= ac_top_builddir=
|
5551 | |
fi
|
5552 | |
|
5553 | |
case $srcdir in
|
5554 | |
.) # No --srcdir option. We are building in place.
|
5555 | |
ac_srcdir=.
|
5556 | |
if test -z "$ac_top_builddir"; then
|
5557 | |
ac_top_srcdir=.
|
5558 | |
else
|
5559 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
5560 | |
fi ;;
|
5561 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
5562 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
5563 | |
ac_top_srcdir=$srcdir ;;
|
5564 | |
*) # Relative path.
|
5565 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
5566 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
5567 | |
esac
|
5568 | |
|
5569 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
5570 | |
# the directories may not exist.
|
5571 | |
case `pwd` in
|
5572 | |
.) ac_abs_builddir="$ac_dir";;
|
5573 | |
*)
|
5574 | |
case "$ac_dir" in
|
5575 | |
.) ac_abs_builddir=`pwd`;;
|
5576 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
5577 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
5578 | |
esac;;
|
5579 | |
esac
|
5580 | |
case $ac_abs_builddir in
|
5581 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5582 | |
*)
|
5583 | |
case ${ac_top_builddir}. in
|
5584 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
5585 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5586 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
5587 | |
esac;;
|
5588 | |
esac
|
5589 | |
case $ac_abs_builddir in
|
5590 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
5591 | |
*)
|
5592 | |
case $ac_srcdir in
|
5593 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
5594 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
5595 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
5596 | |
esac;;
|
5597 | |
esac
|
5598 | |
case $ac_abs_builddir in
|
5599 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5600 | |
*)
|
5601 | |
case $ac_top_srcdir in
|
5602 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
5603 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5604 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
5605 | |
esac;;
|
5606 | |
esac
|
5607 | |
|
5608 | |
|
5609 | |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
5610 | |
echo "$as_me: executing $ac_dest commands" >&6;}
|
5611 | |
case $ac_dest in
|
5612 | |
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
|
|
6290 |
rm -f "$tmp/out12"
|
|
6291 |
;;
|
|
6292 |
|
|
6293 |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
6294 |
echo "$as_me: executing $ac_file commands" >&6;}
|
|
6295 |
;;
|
5613 | 6296 |
esac
|
5614 | |
done
|
5615 | |
_ACEOF
|
5616 | |
|
5617 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6297 |
|
|
6298 |
|
|
6299 |
case $ac_file$ac_mode in
|
|
6300 |
"default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
|
|
6301 |
|
|
6302 |
esac
|
|
6303 |
done # for ac_tag
|
|
6304 |
|
5618 | 6305 |
|
5619 | 6306 |
{ (exit 0); exit 0; }
|
5620 | 6307 |
_ACEOF
|