0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63.
|
|
2 |
# Generated by GNU Autoconf 2.69.
|
3 | 3 |
#
|
4 | |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
4 |
#
|
|
5 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
6 |
#
|
|
7 |
#
|
6 | 8 |
# This configure script is free software; the Free Software Foundation
|
7 | 9 |
# gives unlimited permission to copy, distribute and modify it.
|
8 | |
## --------------------- ##
|
9 | |
## M4sh Initialization. ##
|
10 | |
## --------------------- ##
|
|
10 |
## -------------------- ##
|
|
11 |
## M4sh Initialization. ##
|
|
12 |
## -------------------- ##
|
11 | 13 |
|
12 | 14 |
# Be more Bourne compatible
|
13 | 15 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
15 | 17 |
emulate sh
|
16 | 18 |
NULLCMD=:
|
17 | 19 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
19 | 21 |
alias -g '${1+"$@"}'='"$@"'
|
20 | 22 |
setopt NO_GLOB_SUBST
|
21 | 23 |
else
|
22 | |
case `(set -o) 2>/dev/null` in
|
23 | |
*posix*) set -o posix ;;
|
|
24 |
case `(set -o) 2>/dev/null` in #(
|
|
25 |
*posix*) :
|
|
26 |
set -o posix ;; #(
|
|
27 |
*) :
|
|
28 |
;;
|
24 | 29 |
esac
|
25 | |
|
26 | |
fi
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
# PATH needs CR
|
32 | |
# Avoid depending upon Character Ranges.
|
33 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
34 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
35 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
36 | |
as_cr_digits='0123456789'
|
37 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
30 |
fi
|
|
31 |
|
38 | 32 |
|
39 | 33 |
as_nl='
|
40 | 34 |
'
|
|
43 | 37 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
44 | 38 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
45 | 39 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
46 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
40 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
41 |
# but without wasting forks for bash or zsh.
|
|
42 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
43 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
44 |
as_echo='print -r --'
|
|
45 |
as_echo_n='print -rn --'
|
|
46 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
47 | 47 |
as_echo='printf %s\n'
|
48 | 48 |
as_echo_n='printf %s'
|
49 | 49 |
else
|
|
54 | 54 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
55 | 55 |
as_echo_n_body='eval
|
56 | 56 |
arg=$1;
|
57 | |
case $arg in
|
|
57 |
case $arg in #(
|
58 | 58 |
*"$as_nl"*)
|
59 | 59 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
60 | 60 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
77 | 77 |
}
|
78 | 78 |
fi
|
79 | 79 |
|
80 | |
# Support unset when possible.
|
81 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
82 | |
as_unset=unset
|
83 | |
else
|
84 | |
as_unset=false
|
85 | |
fi
|
86 | |
|
87 | 80 |
|
88 | 81 |
# IFS
|
89 | 82 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
93 | 86 |
IFS=" "" $as_nl"
|
94 | 87 |
|
95 | 88 |
# Find who we are. Look in the path if we contain no directory separator.
|
96 | |
case $0 in
|
|
89 |
as_myself=
|
|
90 |
case $0 in #((
|
97 | 91 |
*[\\/]* ) as_myself=$0 ;;
|
98 | 92 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
99 | 93 |
for as_dir in $PATH
|
100 | 94 |
do
|
101 | 95 |
IFS=$as_save_IFS
|
102 | 96 |
test -z "$as_dir" && as_dir=.
|
103 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
104 | |
done
|
|
97 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
98 |
done
|
105 | 99 |
IFS=$as_save_IFS
|
106 | 100 |
|
107 | 101 |
;;
|
|
113 | 107 |
fi
|
114 | 108 |
if test ! -f "$as_myself"; then
|
115 | 109 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
116 | |
{ (exit 1); exit 1; }
|
117 | |
fi
|
118 | |
|
119 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
120 | |
for as_var in ENV MAIL MAILPATH
|
121 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
110 |
exit 1
|
|
111 |
fi
|
|
112 |
|
|
113 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
114 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
115 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
116 |
# trigger a bug in pdksh 5.2.14.
|
|
117 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
118 |
do eval test x\${$as_var+set} = xset \
|
|
119 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
122 | 120 |
done
|
123 | 121 |
PS1='$ '
|
124 | 122 |
PS2='> '
|
|
130 | 128 |
LANGUAGE=C
|
131 | 129 |
export LANGUAGE
|
132 | 130 |
|
133 | |
# Required to use basename.
|
|
131 |
# CDPATH.
|
|
132 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
133 |
|
|
134 |
# Use a proper internal environment variable to ensure we don't fall
|
|
135 |
# into an infinite loop, continuously re-executing ourselves.
|
|
136 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
|
137 |
_as_can_reexec=no; export _as_can_reexec;
|
|
138 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
139 |
# neutralization value for shells without unset; and this also
|
|
140 |
# works around shells that cannot unset nonexistent variables.
|
|
141 |
# Preserve -v and -x to the replacement shell.
|
|
142 |
BASH_ENV=/dev/null
|
|
143 |
ENV=/dev/null
|
|
144 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
145 |
case $- in # ((((
|
|
146 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
147 |
*v* ) as_opts=-v ;;
|
|
148 |
*x* ) as_opts=-x ;;
|
|
149 |
* ) as_opts= ;;
|
|
150 |
esac
|
|
151 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
152 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
153 |
# out after a failed `exec'.
|
|
154 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
155 |
as_fn_exit 255
|
|
156 |
fi
|
|
157 |
# We don't want this to propagate to other subprocesses.
|
|
158 |
{ _as_can_reexec=; unset _as_can_reexec;}
|
|
159 |
if test "x$CONFIG_SHELL" = x; then
|
|
160 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
161 |
emulate sh
|
|
162 |
NULLCMD=:
|
|
163 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
164 |
# is contrary to our usage. Disable this feature.
|
|
165 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
166 |
setopt NO_GLOB_SUBST
|
|
167 |
else
|
|
168 |
case \`(set -o) 2>/dev/null\` in #(
|
|
169 |
*posix*) :
|
|
170 |
set -o posix ;; #(
|
|
171 |
*) :
|
|
172 |
;;
|
|
173 |
esac
|
|
174 |
fi
|
|
175 |
"
|
|
176 |
as_required="as_fn_return () { (exit \$1); }
|
|
177 |
as_fn_success () { as_fn_return 0; }
|
|
178 |
as_fn_failure () { as_fn_return 1; }
|
|
179 |
as_fn_ret_success () { return 0; }
|
|
180 |
as_fn_ret_failure () { return 1; }
|
|
181 |
|
|
182 |
exitcode=0
|
|
183 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
184 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
185 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
186 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
187 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
188 |
|
|
189 |
else
|
|
190 |
exitcode=1; echo positional parameters were not saved.
|
|
191 |
fi
|
|
192 |
test x\$exitcode = x0 || exit 1
|
|
193 |
test -x / || exit 1"
|
|
194 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
195 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
196 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
197 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
198 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
199 |
if (eval "$as_required") 2>/dev/null; then :
|
|
200 |
as_have_required=yes
|
|
201 |
else
|
|
202 |
as_have_required=no
|
|
203 |
fi
|
|
204 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
205 |
|
|
206 |
else
|
|
207 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
208 |
as_found=false
|
|
209 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
210 |
do
|
|
211 |
IFS=$as_save_IFS
|
|
212 |
test -z "$as_dir" && as_dir=.
|
|
213 |
as_found=:
|
|
214 |
case $as_dir in #(
|
|
215 |
/*)
|
|
216 |
for as_base in sh bash ksh sh5; do
|
|
217 |
# Try only shells that exist, to save several forks.
|
|
218 |
as_shell=$as_dir/$as_base
|
|
219 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
220 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
221 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
222 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
223 |
break 2
|
|
224 |
fi
|
|
225 |
fi
|
|
226 |
done;;
|
|
227 |
esac
|
|
228 |
as_found=false
|
|
229 |
done
|
|
230 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
231 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
232 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
233 |
fi; }
|
|
234 |
IFS=$as_save_IFS
|
|
235 |
|
|
236 |
|
|
237 |
if test "x$CONFIG_SHELL" != x; then :
|
|
238 |
export CONFIG_SHELL
|
|
239 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
240 |
# neutralization value for shells without unset; and this also
|
|
241 |
# works around shells that cannot unset nonexistent variables.
|
|
242 |
# Preserve -v and -x to the replacement shell.
|
|
243 |
BASH_ENV=/dev/null
|
|
244 |
ENV=/dev/null
|
|
245 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
246 |
case $- in # ((((
|
|
247 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
248 |
*v* ) as_opts=-v ;;
|
|
249 |
*x* ) as_opts=-x ;;
|
|
250 |
* ) as_opts= ;;
|
|
251 |
esac
|
|
252 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
253 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
254 |
# out after a failed `exec'.
|
|
255 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
256 |
exit 255
|
|
257 |
fi
|
|
258 |
|
|
259 |
if test x$as_have_required = xno; then :
|
|
260 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
261 |
$as_echo "$0: the shells that I found on your system."
|
|
262 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
263 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
264 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
265 |
else
|
|
266 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
267 |
$0: including any error possibly output before this
|
|
268 |
$0: message. Then install a modern shell, or manually run
|
|
269 |
$0: the script under such a shell if you do have one."
|
|
270 |
fi
|
|
271 |
exit 1
|
|
272 |
fi
|
|
273 |
fi
|
|
274 |
fi
|
|
275 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
276 |
export SHELL
|
|
277 |
# Unset more variables known to interfere with behavior of common tools.
|
|
278 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
279 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
280 |
|
|
281 |
## --------------------- ##
|
|
282 |
## M4sh Shell Functions. ##
|
|
283 |
## --------------------- ##
|
|
284 |
# as_fn_unset VAR
|
|
285 |
# ---------------
|
|
286 |
# Portably unset VAR.
|
|
287 |
as_fn_unset ()
|
|
288 |
{
|
|
289 |
{ eval $1=; unset $1;}
|
|
290 |
}
|
|
291 |
as_unset=as_fn_unset
|
|
292 |
|
|
293 |
# as_fn_set_status STATUS
|
|
294 |
# -----------------------
|
|
295 |
# Set $? to STATUS, without forking.
|
|
296 |
as_fn_set_status ()
|
|
297 |
{
|
|
298 |
return $1
|
|
299 |
} # as_fn_set_status
|
|
300 |
|
|
301 |
# as_fn_exit STATUS
|
|
302 |
# -----------------
|
|
303 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
304 |
as_fn_exit ()
|
|
305 |
{
|
|
306 |
set +e
|
|
307 |
as_fn_set_status $1
|
|
308 |
exit $1
|
|
309 |
} # as_fn_exit
|
|
310 |
|
|
311 |
# as_fn_mkdir_p
|
|
312 |
# -------------
|
|
313 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
314 |
as_fn_mkdir_p ()
|
|
315 |
{
|
|
316 |
|
|
317 |
case $as_dir in #(
|
|
318 |
-*) as_dir=./$as_dir;;
|
|
319 |
esac
|
|
320 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
321 |
as_dirs=
|
|
322 |
while :; do
|
|
323 |
case $as_dir in #(
|
|
324 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
325 |
*) as_qdir=$as_dir;;
|
|
326 |
esac
|
|
327 |
as_dirs="'$as_qdir' $as_dirs"
|
|
328 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
329 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
330 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
331 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
332 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
333 |
$as_echo X"$as_dir" |
|
|
334 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
335 |
s//\1/
|
|
336 |
q
|
|
337 |
}
|
|
338 |
/^X\(\/\/\)[^/].*/{
|
|
339 |
s//\1/
|
|
340 |
q
|
|
341 |
}
|
|
342 |
/^X\(\/\/\)$/{
|
|
343 |
s//\1/
|
|
344 |
q
|
|
345 |
}
|
|
346 |
/^X\(\/\).*/{
|
|
347 |
s//\1/
|
|
348 |
q
|
|
349 |
}
|
|
350 |
s/.*/./; q'`
|
|
351 |
test -d "$as_dir" && break
|
|
352 |
done
|
|
353 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
354 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
355 |
|
|
356 |
|
|
357 |
} # as_fn_mkdir_p
|
|
358 |
|
|
359 |
# as_fn_executable_p FILE
|
|
360 |
# -----------------------
|
|
361 |
# Test if FILE is an executable regular file.
|
|
362 |
as_fn_executable_p ()
|
|
363 |
{
|
|
364 |
test -f "$1" && test -x "$1"
|
|
365 |
} # as_fn_executable_p
|
|
366 |
# as_fn_append VAR VALUE
|
|
367 |
# ----------------------
|
|
368 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
369 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
370 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
371 |
# implementations.
|
|
372 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
373 |
eval 'as_fn_append ()
|
|
374 |
{
|
|
375 |
eval $1+=\$2
|
|
376 |
}'
|
|
377 |
else
|
|
378 |
as_fn_append ()
|
|
379 |
{
|
|
380 |
eval $1=\$$1\$2
|
|
381 |
}
|
|
382 |
fi # as_fn_append
|
|
383 |
|
|
384 |
# as_fn_arith ARG...
|
|
385 |
# ------------------
|
|
386 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
387 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
388 |
# must be portable across $(()) and expr.
|
|
389 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
390 |
eval 'as_fn_arith ()
|
|
391 |
{
|
|
392 |
as_val=$(( $* ))
|
|
393 |
}'
|
|
394 |
else
|
|
395 |
as_fn_arith ()
|
|
396 |
{
|
|
397 |
as_val=`expr "$@" || test $? -eq 1`
|
|
398 |
}
|
|
399 |
fi # as_fn_arith
|
|
400 |
|
|
401 |
|
|
402 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
403 |
# ----------------------------------------
|
|
404 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
405 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
406 |
# script with STATUS, using 1 if that was 0.
|
|
407 |
as_fn_error ()
|
|
408 |
{
|
|
409 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
410 |
if test "$4"; then
|
|
411 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
412 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
413 |
fi
|
|
414 |
$as_echo "$as_me: error: $2" >&2
|
|
415 |
as_fn_exit $as_status
|
|
416 |
} # as_fn_error
|
|
417 |
|
134 | 418 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
135 | 419 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
136 | 420 |
as_expr=expr
|
|
144 | 428 |
as_basename=false
|
145 | 429 |
fi
|
146 | 430 |
|
147 | |
|
148 | |
# Name of the executable.
|
|
431 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
432 |
as_dirname=dirname
|
|
433 |
else
|
|
434 |
as_dirname=false
|
|
435 |
fi
|
|
436 |
|
149 | 437 |
as_me=`$as_basename -- "$0" ||
|
150 | 438 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
151 | 439 |
X"$0" : 'X\(//\)$' \| \
|
|
165 | 453 |
}
|
166 | 454 |
s/.*/./; q'`
|
167 | 455 |
|
168 | |
# CDPATH.
|
169 | |
$as_unset CDPATH
|
170 | |
|
171 | |
|
172 | |
if test "x$CONFIG_SHELL" = x; then
|
173 | |
if (eval ":") 2>/dev/null; then
|
174 | |
as_have_required=yes
|
175 | |
else
|
176 | |
as_have_required=no
|
177 | |
fi
|
178 | |
|
179 | |
if test $as_have_required = yes && (eval ":
|
180 | |
(as_func_return () {
|
181 | |
(exit \$1)
|
182 | |
}
|
183 | |
as_func_success () {
|
184 | |
as_func_return 0
|
185 | |
}
|
186 | |
as_func_failure () {
|
187 | |
as_func_return 1
|
188 | |
}
|
189 | |
as_func_ret_success () {
|
190 | |
return 0
|
191 | |
}
|
192 | |
as_func_ret_failure () {
|
193 | |
return 1
|
194 | |
}
|
195 | |
|
196 | |
exitcode=0
|
197 | |
if as_func_success; then
|
198 | |
:
|
199 | |
else
|
200 | |
exitcode=1
|
201 | |
echo as_func_success failed.
|
202 | |
fi
|
203 | |
|
204 | |
if as_func_failure; then
|
205 | |
exitcode=1
|
206 | |
echo as_func_failure succeeded.
|
207 | |
fi
|
208 | |
|
209 | |
if as_func_ret_success; then
|
210 | |
:
|
211 | |
else
|
212 | |
exitcode=1
|
213 | |
echo as_func_ret_success failed.
|
214 | |
fi
|
215 | |
|
216 | |
if as_func_ret_failure; then
|
217 | |
exitcode=1
|
218 | |
echo as_func_ret_failure succeeded.
|
219 | |
fi
|
220 | |
|
221 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
222 | |
:
|
223 | |
else
|
224 | |
exitcode=1
|
225 | |
echo positional parameters were not saved.
|
226 | |
fi
|
227 | |
|
228 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
229 | |
|
230 | |
(
|
231 | |
as_lineno_1=\$LINENO
|
232 | |
as_lineno_2=\$LINENO
|
233 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
234 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
235 | |
") 2> /dev/null; then
|
236 | |
:
|
237 | |
else
|
238 | |
as_candidate_shells=
|
239 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
240 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
241 | |
do
|
242 | |
IFS=$as_save_IFS
|
243 | |
test -z "$as_dir" && as_dir=.
|
244 | |
case $as_dir in
|
245 | |
/*)
|
246 | |
for as_base in sh bash ksh sh5; do
|
247 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
248 | |
done;;
|
249 | |
esac
|
250 | |
done
|
251 | |
IFS=$as_save_IFS
|
252 | |
|
253 | |
|
254 | |
for as_shell in $as_candidate_shells $SHELL; do
|
255 | |
# Try only shells that exist, to save several forks.
|
256 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
257 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
258 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
259 | |
emulate sh
|
260 | |
NULLCMD=:
|
261 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
262 | |
# is contrary to our usage. Disable this feature.
|
263 | |
alias -g '${1+"$@"}'='"$@"'
|
264 | |
setopt NO_GLOB_SUBST
|
265 | |
else
|
266 | |
case `(set -o) 2>/dev/null` in
|
267 | |
*posix*) set -o posix ;;
|
268 | |
esac
|
269 | |
|
270 | |
fi
|
271 | |
|
272 | |
|
273 | |
:
|
274 | |
_ASEOF
|
275 | |
}; then
|
276 | |
CONFIG_SHELL=$as_shell
|
277 | |
as_have_required=yes
|
278 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
279 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
280 | |
emulate sh
|
281 | |
NULLCMD=:
|
282 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
283 | |
# is contrary to our usage. Disable this feature.
|
284 | |
alias -g '${1+"$@"}'='"$@"'
|
285 | |
setopt NO_GLOB_SUBST
|
286 | |
else
|
287 | |
case `(set -o) 2>/dev/null` in
|
288 | |
*posix*) set -o posix ;;
|
289 | |
esac
|
290 | |
|
291 | |
fi
|
292 | |
|
293 | |
|
294 | |
:
|
295 | |
(as_func_return () {
|
296 | |
(exit $1)
|
297 | |
}
|
298 | |
as_func_success () {
|
299 | |
as_func_return 0
|
300 | |
}
|
301 | |
as_func_failure () {
|
302 | |
as_func_return 1
|
303 | |
}
|
304 | |
as_func_ret_success () {
|
305 | |
return 0
|
306 | |
}
|
307 | |
as_func_ret_failure () {
|
308 | |
return 1
|
309 | |
}
|
310 | |
|
311 | |
exitcode=0
|
312 | |
if as_func_success; then
|
313 | |
:
|
314 | |
else
|
315 | |
exitcode=1
|
316 | |
echo as_func_success failed.
|
317 | |
fi
|
318 | |
|
319 | |
if as_func_failure; then
|
320 | |
exitcode=1
|
321 | |
echo as_func_failure succeeded.
|
322 | |
fi
|
323 | |
|
324 | |
if as_func_ret_success; then
|
325 | |
:
|
326 | |
else
|
327 | |
exitcode=1
|
328 | |
echo as_func_ret_success failed.
|
329 | |
fi
|
330 | |
|
331 | |
if as_func_ret_failure; then
|
332 | |
exitcode=1
|
333 | |
echo as_func_ret_failure succeeded.
|
334 | |
fi
|
335 | |
|
336 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
337 | |
:
|
338 | |
else
|
339 | |
exitcode=1
|
340 | |
echo positional parameters were not saved.
|
341 | |
fi
|
342 | |
|
343 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
344 | |
|
345 | |
(
|
346 | |
as_lineno_1=$LINENO
|
347 | |
as_lineno_2=$LINENO
|
348 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
349 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
350 | |
|
351 | |
_ASEOF
|
352 | |
}; then
|
353 | |
break
|
354 | |
fi
|
355 | |
|
356 | |
fi
|
357 | |
|
358 | |
done
|
359 | |
|
360 | |
if test "x$CONFIG_SHELL" != x; then
|
361 | |
for as_var in BASH_ENV ENV
|
362 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
363 | |
done
|
364 | |
export CONFIG_SHELL
|
365 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
366 | |
fi
|
367 | |
|
368 | |
|
369 | |
if test $as_have_required = no; then
|
370 | |
echo This script requires a shell more modern than all the
|
371 | |
echo shells that I found on your system. Please install a
|
372 | |
echo modern shell, or manually run the script under such a
|
373 | |
echo shell if you do have one.
|
374 | |
{ (exit 1); exit 1; }
|
375 | |
fi
|
376 | |
|
377 | |
|
378 | |
fi
|
379 | |
|
380 | |
fi
|
381 | |
|
382 | |
|
383 | |
|
384 | |
(eval "as_func_return () {
|
385 | |
(exit \$1)
|
386 | |
}
|
387 | |
as_func_success () {
|
388 | |
as_func_return 0
|
389 | |
}
|
390 | |
as_func_failure () {
|
391 | |
as_func_return 1
|
392 | |
}
|
393 | |
as_func_ret_success () {
|
394 | |
return 0
|
395 | |
}
|
396 | |
as_func_ret_failure () {
|
397 | |
return 1
|
398 | |
}
|
399 | |
|
400 | |
exitcode=0
|
401 | |
if as_func_success; then
|
402 | |
:
|
403 | |
else
|
404 | |
exitcode=1
|
405 | |
echo as_func_success failed.
|
406 | |
fi
|
407 | |
|
408 | |
if as_func_failure; then
|
409 | |
exitcode=1
|
410 | |
echo as_func_failure succeeded.
|
411 | |
fi
|
412 | |
|
413 | |
if as_func_ret_success; then
|
414 | |
:
|
415 | |
else
|
416 | |
exitcode=1
|
417 | |
echo as_func_ret_success failed.
|
418 | |
fi
|
419 | |
|
420 | |
if as_func_ret_failure; then
|
421 | |
exitcode=1
|
422 | |
echo as_func_ret_failure succeeded.
|
423 | |
fi
|
424 | |
|
425 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
426 | |
:
|
427 | |
else
|
428 | |
exitcode=1
|
429 | |
echo positional parameters were not saved.
|
430 | |
fi
|
431 | |
|
432 | |
test \$exitcode = 0") || {
|
433 | |
echo No shell found that supports shell functions.
|
434 | |
echo Please tell bug-autoconf@gnu.org about your system,
|
435 | |
echo including any error possibly output before this message.
|
436 | |
echo This can help us improve future autoconf versions.
|
437 | |
echo Configuration will now proceed without shell functions.
|
438 | |
}
|
439 | |
|
440 | |
|
441 | |
|
442 | |
as_lineno_1=$LINENO
|
443 | |
as_lineno_2=$LINENO
|
444 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
445 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
446 | |
|
447 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
448 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
449 | |
# line-number line after each line using $LINENO; the second 'sed'
|
450 | |
# does the real work. The second script uses 'N' to pair each
|
451 | |
# line-number line with the line containing $LINENO, and appends
|
452 | |
# trailing '-' during substitution so that $LINENO is not a special
|
453 | |
# case at line end.
|
454 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
455 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
456 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
456 |
# Avoid depending upon Character Ranges.
|
|
457 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
458 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
459 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
460 |
as_cr_digits='0123456789'
|
|
461 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
462 |
|
|
463 |
|
|
464 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
465 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
466 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
467 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
468 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
457 | 469 |
sed -n '
|
458 | 470 |
p
|
459 | 471 |
/[$]LINENO/=
|
|
470 | 482 |
s/-\n.*//
|
471 | 483 |
' >$as_me.lineno &&
|
472 | 484 |
chmod +x "$as_me.lineno" ||
|
473 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
474 | |
{ (exit 1); exit 1; }; }
|
475 | |
|
|
485 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
486 |
|
|
487 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
|
488 |
# already done that, so ensure we don't try to do so again and fall
|
|
489 |
# in an infinite loop. This has already happened in practice.
|
|
490 |
_as_can_reexec=no; export _as_can_reexec
|
476 | 491 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
477 | 492 |
# (the dirname of $[0] is not the place where we might find the
|
478 | 493 |
# original and so on. Autoconf is especially sensitive to this).
|
|
481 | 496 |
exit
|
482 | 497 |
}
|
483 | 498 |
|
484 | |
|
485 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
486 | |
as_dirname=dirname
|
487 | |
else
|
488 | |
as_dirname=false
|
489 | |
fi
|
490 | |
|
491 | 499 |
ECHO_C= ECHO_N= ECHO_T=
|
492 | |
case `echo -n x` in
|
|
500 |
case `echo -n x` in #(((((
|
493 | 501 |
-n*)
|
494 | |
case `echo 'x\c'` in
|
|
502 |
case `echo 'xy\c'` in
|
495 | 503 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
496 | |
*) ECHO_C='\c';;
|
|
504 |
xy) ECHO_C='\c';;
|
|
505 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
506 |
ECHO_T=' ';;
|
497 | 507 |
esac;;
|
498 | 508 |
*)
|
499 | 509 |
ECHO_N='-n';;
|
500 | 510 |
esac
|
501 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
502 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
503 | |
as_expr=expr
|
504 | |
else
|
505 | |
as_expr=false
|
506 | |
fi
|
507 | 511 |
|
508 | 512 |
rm -f conf$$ conf$$.exe conf$$.file
|
509 | 513 |
if test -d conf$$.dir; then
|
|
518 | 522 |
# ... but there are two gotchas:
|
519 | 523 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
520 | 524 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
521 | |
# In both cases, we have to default to `cp -p'.
|
|
525 |
# In both cases, we have to default to `cp -pR'.
|
522 | 526 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
523 | |
as_ln_s='cp -p'
|
|
527 |
as_ln_s='cp -pR'
|
524 | 528 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
525 | 529 |
as_ln_s=ln
|
526 | 530 |
else
|
527 | |
as_ln_s='cp -p'
|
|
531 |
as_ln_s='cp -pR'
|
528 | 532 |
fi
|
529 | 533 |
else
|
530 | |
as_ln_s='cp -p'
|
|
534 |
as_ln_s='cp -pR'
|
531 | 535 |
fi
|
532 | 536 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
533 | 537 |
rmdir conf$$.dir 2>/dev/null
|
534 | 538 |
|
535 | 539 |
if mkdir -p . 2>/dev/null; then
|
536 | |
as_mkdir_p=:
|
|
540 |
as_mkdir_p='mkdir -p "$as_dir"'
|
537 | 541 |
else
|
538 | 542 |
test -d ./-p && rmdir ./-p
|
539 | 543 |
as_mkdir_p=false
|
540 | 544 |
fi
|
541 | 545 |
|
542 | |
if test -x / >/dev/null 2>&1; then
|
543 | |
as_test_x='test -x'
|
544 | |
else
|
545 | |
if ls -dL / >/dev/null 2>&1; then
|
546 | |
as_ls_L_option=L
|
547 | |
else
|
548 | |
as_ls_L_option=
|
549 | |
fi
|
550 | |
as_test_x='
|
551 | |
eval sh -c '\''
|
552 | |
if test -d "$1"; then
|
553 | |
test -d "$1/.";
|
554 | |
else
|
555 | |
case $1 in
|
556 | |
-*)set "./$1";;
|
557 | |
esac;
|
558 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
559 | |
???[sx]*):;;*)false;;esac;fi
|
560 | |
'\'' sh
|
561 | |
'
|
562 | |
fi
|
563 | |
as_executable_p=$as_test_x
|
|
546 |
as_test_x='test -x'
|
|
547 |
as_executable_p=as_fn_executable_p
|
564 | 548 |
|
565 | 549 |
# Sed expression to map a string onto a valid CPP name.
|
566 | 550 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
569 | 553 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
570 | 554 |
|
571 | 555 |
|
572 | |
|
573 | |
exec 7<&0 </dev/null 6>&1
|
|
556 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
557 |
exec 6>&1
|
574 | 558 |
|
575 | 559 |
# Name of the host.
|
576 | |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
560 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
577 | 561 |
# so uname gets run too.
|
578 | 562 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
579 | 563 |
|
|
588 | 572 |
subdirs=
|
589 | 573 |
MFLAGS=
|
590 | 574 |
MAKEFLAGS=
|
591 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
592 | 575 |
|
593 | 576 |
# Identity of this package.
|
594 | 577 |
PACKAGE_NAME=
|
|
596 | 579 |
PACKAGE_VERSION=
|
597 | 580 |
PACKAGE_STRING=
|
598 | 581 |
PACKAGE_BUGREPORT=
|
|
582 |
PACKAGE_URL=
|
599 | 583 |
|
600 | 584 |
ac_unique_file="src/main.cpp"
|
601 | 585 |
# Factoring default headers for most tests.
|
|
721 | 705 |
docdir
|
722 | 706 |
oldincludedir
|
723 | 707 |
includedir
|
|
708 |
runstatedir
|
724 | 709 |
localstatedir
|
725 | 710 |
sharedstatedir
|
726 | 711 |
sysconfdir
|
|
732 | 717 |
program_transform_name
|
733 | 718 |
prefix
|
734 | 719 |
exec_prefix
|
|
720 |
PACKAGE_URL
|
735 | 721 |
PACKAGE_BUGREPORT
|
736 | 722 |
PACKAGE_STRING
|
737 | 723 |
PACKAGE_VERSION
|
|
797 | 783 |
sysconfdir='${prefix}/etc'
|
798 | 784 |
sharedstatedir='${prefix}/com'
|
799 | 785 |
localstatedir='${prefix}/var'
|
|
786 |
runstatedir='${localstatedir}/run'
|
800 | 787 |
includedir='${prefix}/include'
|
801 | 788 |
oldincludedir='/usr/include'
|
802 | 789 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
821 | 808 |
fi
|
822 | 809 |
|
823 | 810 |
case $ac_option in
|
824 | |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
825 | |
*) ac_optarg=yes ;;
|
|
811 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
812 |
*=) ac_optarg= ;;
|
|
813 |
*) ac_optarg=yes ;;
|
826 | 814 |
esac
|
827 | 815 |
|
828 | 816 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
867 | 855 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
868 | 856 |
# Reject names that are not valid shell variable names.
|
869 | 857 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
870 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
871 | |
{ (exit 1); exit 1; }; }
|
|
858 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
872 | 859 |
ac_useropt_orig=$ac_useropt
|
873 | 860 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
874 | 861 |
case $ac_user_opts in
|
|
894 | 881 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
895 | 882 |
# Reject names that are not valid shell variable names.
|
896 | 883 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
897 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
898 | |
{ (exit 1); exit 1; }; }
|
|
884 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
899 | 885 |
ac_useropt_orig=$ac_useropt
|
900 | 886 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
901 | 887 |
case $ac_user_opts in
|
|
1050 | 1036 |
| -silent | --silent | --silen | --sile | --sil)
|
1051 | 1037 |
silent=yes ;;
|
1052 | 1038 |
|
|
1039 |
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
|
1040 |
| --runstate | --runstat | --runsta | --runst | --runs \
|
|
1041 |
| --run | --ru | --r)
|
|
1042 |
ac_prev=runstatedir ;;
|
|
1043 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
|
1044 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
|
1045 |
| --run=* | --ru=* | --r=*)
|
|
1046 |
runstatedir=$ac_optarg ;;
|
|
1047 |
|
1053 | 1048 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
1054 | 1049 |
ac_prev=sbindir ;;
|
1055 | 1050 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
1099 | 1094 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1100 | 1095 |
# Reject names that are not valid shell variable names.
|
1101 | 1096 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1102 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1103 | |
{ (exit 1); exit 1; }; }
|
|
1097 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1104 | 1098 |
ac_useropt_orig=$ac_useropt
|
1105 | 1099 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1106 | 1100 |
case $ac_user_opts in
|
|
1116 | 1110 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1117 | 1111 |
# Reject names that are not valid shell variable names.
|
1118 | 1112 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1119 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1120 | |
{ (exit 1); exit 1; }; }
|
|
1113 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1121 | 1114 |
ac_useropt_orig=$ac_useropt
|
1122 | 1115 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1123 | 1116 |
case $ac_user_opts in
|
|
1147 | 1140 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1148 | 1141 |
x_libraries=$ac_optarg ;;
|
1149 | 1142 |
|
1150 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1151 | |
Try \`$0 --help' for more information." >&2
|
1152 | |
{ (exit 1); exit 1; }; }
|
|
1143 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|
1144 |
Try \`$0 --help' for more information"
|
1153 | 1145 |
;;
|
1154 | 1146 |
|
1155 | 1147 |
*=*)
|
1156 | 1148 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1157 | 1149 |
# Reject names that are not valid shell variable names.
|
1158 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1159 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1160 | |
{ (exit 1); exit 1; }; }
|
|
1150 |
case $ac_envvar in #(
|
|
1151 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1152 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
|
1153 |
esac
|
1161 | 1154 |
eval $ac_envvar=\$ac_optarg
|
1162 | 1155 |
export $ac_envvar ;;
|
1163 | 1156 |
|
|
1166 | 1159 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1167 | 1160 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1168 | 1161 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1169 | |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
1162 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1170 | 1163 |
;;
|
1171 | 1164 |
|
1172 | 1165 |
esac
|
|
1174 | 1167 |
|
1175 | 1168 |
if test -n "$ac_prev"; then
|
1176 | 1169 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1177 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1178 | |
{ (exit 1); exit 1; }; }
|
|
1170 |
as_fn_error $? "missing argument to $ac_option"
|
1179 | 1171 |
fi
|
1180 | 1172 |
|
1181 | 1173 |
if test -n "$ac_unrecognized_opts"; then
|
1182 | 1174 |
case $enable_option_checking in
|
1183 | 1175 |
no) ;;
|
1184 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1185 | |
{ (exit 1); exit 1; }; } ;;
|
|
1176 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1186 | 1177 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1187 | 1178 |
esac
|
1188 | 1179 |
fi
|
|
1191 | 1182 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1192 | 1183 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1193 | 1184 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1194 | |
libdir localedir mandir
|
|
1185 |
libdir localedir mandir runstatedir
|
1195 | 1186 |
do
|
1196 | 1187 |
eval ac_val=\$$ac_var
|
1197 | 1188 |
# Remove trailing slashes.
|
|
1205 | 1196 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1206 | 1197 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1207 | 1198 |
esac
|
1208 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1209 | |
{ (exit 1); exit 1; }; }
|
|
1199 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1210 | 1200 |
done
|
1211 | 1201 |
|
1212 | 1202 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1220 | 1210 |
if test "x$host_alias" != x; then
|
1221 | 1211 |
if test "x$build_alias" = x; then
|
1222 | 1212 |
cross_compiling=maybe
|
1223 | |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1224 | |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1225 | 1213 |
elif test "x$build_alias" != "x$host_alias"; then
|
1226 | 1214 |
cross_compiling=yes
|
1227 | 1215 |
fi
|
|
1236 | 1224 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1237 | 1225 |
ac_ls_di=`ls -di .` &&
|
1238 | 1226 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1239 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1240 | |
{ (exit 1); exit 1; }; }
|
|
1227 |
as_fn_error $? "working directory cannot be determined"
|
1241 | 1228 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1242 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1243 | |
{ (exit 1); exit 1; }; }
|
|
1229 |
as_fn_error $? "pwd does not report name of working directory"
|
1244 | 1230 |
|
1245 | 1231 |
|
1246 | 1232 |
# Find the source files, if location was not specified.
|
|
1279 | 1265 |
fi
|
1280 | 1266 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1281 | 1267 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1282 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1283 | |
{ (exit 1); exit 1; }; }
|
|
1268 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1284 | 1269 |
fi
|
1285 | 1270 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1286 | 1271 |
ac_abs_confdir=`(
|
1287 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1288 | |
{ (exit 1); exit 1; }; }
|
|
1272 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1289 | 1273 |
pwd)`
|
1290 | 1274 |
# When building in place, set srcdir=.
|
1291 | 1275 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1325 | 1309 |
--help=short display options specific to this package
|
1326 | 1310 |
--help=recursive display the short help of all the included packages
|
1327 | 1311 |
-V, --version display version information and exit
|
1328 | |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1312 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1329 | 1313 |
--cache-file=FILE cache test results in FILE [disabled]
|
1330 | 1314 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1331 | 1315 |
-n, --no-create do not create output files
|
|
1351 | 1335 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1352 | 1336 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1353 | 1337 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1338 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
1354 | 1339 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1355 | 1340 |
--includedir=DIR C header files [PREFIX/include]
|
1356 | 1341 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1404 | 1389 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1405 | 1390 |
nonstandard directory <lib dir>
|
1406 | 1391 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1407 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1392 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1408 | 1393 |
you have headers in a nonstandard directory <include dir>
|
1409 | 1394 |
CXX C++ compiler command
|
1410 | 1395 |
CXXFLAGS C++ compiler flags
|
|
1413 | 1398 |
Use these variables to override the choices made by `configure' or to help
|
1414 | 1399 |
it to find libraries and programs with nonstandard names/locations.
|
1415 | 1400 |
|
|
1401 |
Report bugs to the package provider.
|
1416 | 1402 |
_ACEOF
|
1417 | 1403 |
ac_status=$?
|
1418 | 1404 |
fi
|
|
1476 | 1462 |
if $ac_init_version; then
|
1477 | 1463 |
cat <<\_ACEOF
|
1478 | 1464 |
configure
|
1479 | |
generated by GNU Autoconf 2.63
|
1480 | |
|
1481 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1482 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1465 |
generated by GNU Autoconf 2.69
|
|
1466 |
|
|
1467 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1483 | 1468 |
This configure script is free software; the Free Software Foundation
|
1484 | 1469 |
gives unlimited permission to copy, distribute and modify it.
|
1485 | 1470 |
_ACEOF
|
1486 | 1471 |
exit
|
1487 | 1472 |
fi
|
|
1473 |
|
|
1474 |
## ------------------------ ##
|
|
1475 |
## Autoconf initialization. ##
|
|
1476 |
## ------------------------ ##
|
|
1477 |
|
|
1478 |
# ac_fn_c_try_compile LINENO
|
|
1479 |
# --------------------------
|
|
1480 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1481 |
ac_fn_c_try_compile ()
|
|
1482 |
{
|
|
1483 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1484 |
rm -f conftest.$ac_objext
|
|
1485 |
if { { ac_try="$ac_compile"
|
|
1486 |
case "(($ac_try" in
|
|
1487 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1488 |
*) ac_try_echo=$ac_try;;
|
|
1489 |
esac
|
|
1490 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1491 |
$as_echo "$ac_try_echo"; } >&5
|
|
1492 |
(eval "$ac_compile") 2>conftest.err
|
|
1493 |
ac_status=$?
|
|
1494 |
if test -s conftest.err; then
|
|
1495 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1496 |
cat conftest.er1 >&5
|
|
1497 |
mv -f conftest.er1 conftest.err
|
|
1498 |
fi
|
|
1499 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1500 |
test $ac_status = 0; } && {
|
|
1501 |
test -z "$ac_c_werror_flag" ||
|
|
1502 |
test ! -s conftest.err
|
|
1503 |
} && test -s conftest.$ac_objext; then :
|
|
1504 |
ac_retval=0
|
|
1505 |
else
|
|
1506 |
$as_echo "$as_me: failed program was:" >&5
|
|
1507 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1508 |
|
|
1509 |
ac_retval=1
|
|
1510 |
fi
|
|
1511 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1512 |
as_fn_set_status $ac_retval
|
|
1513 |
|
|
1514 |
} # ac_fn_c_try_compile
|
|
1515 |
|
|
1516 |
# ac_fn_cxx_try_compile LINENO
|
|
1517 |
# ----------------------------
|
|
1518 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1519 |
ac_fn_cxx_try_compile ()
|
|
1520 |
{
|
|
1521 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1522 |
rm -f conftest.$ac_objext
|
|
1523 |
if { { ac_try="$ac_compile"
|
|
1524 |
case "(($ac_try" in
|
|
1525 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1526 |
*) ac_try_echo=$ac_try;;
|
|
1527 |
esac
|
|
1528 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1529 |
$as_echo "$ac_try_echo"; } >&5
|
|
1530 |
(eval "$ac_compile") 2>conftest.err
|
|
1531 |
ac_status=$?
|
|
1532 |
if test -s conftest.err; then
|
|
1533 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1534 |
cat conftest.er1 >&5
|
|
1535 |
mv -f conftest.er1 conftest.err
|
|
1536 |
fi
|
|
1537 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1538 |
test $ac_status = 0; } && {
|
|
1539 |
test -z "$ac_cxx_werror_flag" ||
|
|
1540 |
test ! -s conftest.err
|
|
1541 |
} && test -s conftest.$ac_objext; then :
|
|
1542 |
ac_retval=0
|
|
1543 |
else
|
|
1544 |
$as_echo "$as_me: failed program was:" >&5
|
|
1545 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1546 |
|
|
1547 |
ac_retval=1
|
|
1548 |
fi
|
|
1549 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1550 |
as_fn_set_status $ac_retval
|
|
1551 |
|
|
1552 |
} # ac_fn_cxx_try_compile
|
|
1553 |
|
|
1554 |
# ac_fn_c_try_cpp LINENO
|
|
1555 |
# ----------------------
|
|
1556 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1557 |
ac_fn_c_try_cpp ()
|
|
1558 |
{
|
|
1559 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1560 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1561 |
case "(($ac_try" in
|
|
1562 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1563 |
*) ac_try_echo=$ac_try;;
|
|
1564 |
esac
|
|
1565 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1566 |
$as_echo "$ac_try_echo"; } >&5
|
|
1567 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1568 |
ac_status=$?
|
|
1569 |
if test -s conftest.err; then
|
|
1570 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1571 |
cat conftest.er1 >&5
|
|
1572 |
mv -f conftest.er1 conftest.err
|
|
1573 |
fi
|
|
1574 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1575 |
test $ac_status = 0; } > conftest.i && {
|
|
1576 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1577 |
test ! -s conftest.err
|
|
1578 |
}; then :
|
|
1579 |
ac_retval=0
|
|
1580 |
else
|
|
1581 |
$as_echo "$as_me: failed program was:" >&5
|
|
1582 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1583 |
|
|
1584 |
ac_retval=1
|
|
1585 |
fi
|
|
1586 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1587 |
as_fn_set_status $ac_retval
|
|
1588 |
|
|
1589 |
} # ac_fn_c_try_cpp
|
|
1590 |
|
|
1591 |
# ac_fn_c_try_run LINENO
|
|
1592 |
# ----------------------
|
|
1593 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1594 |
# that executables *can* be run.
|
|
1595 |
ac_fn_c_try_run ()
|
|
1596 |
{
|
|
1597 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1598 |
if { { ac_try="$ac_link"
|
|
1599 |
case "(($ac_try" in
|
|
1600 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1601 |
*) ac_try_echo=$ac_try;;
|
|
1602 |
esac
|
|
1603 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1604 |
$as_echo "$ac_try_echo"; } >&5
|
|
1605 |
(eval "$ac_link") 2>&5
|
|
1606 |
ac_status=$?
|
|
1607 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1608 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1609 |
{ { case "(($ac_try" in
|
|
1610 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1611 |
*) ac_try_echo=$ac_try;;
|
|
1612 |
esac
|
|
1613 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1614 |
$as_echo "$ac_try_echo"; } >&5
|
|
1615 |
(eval "$ac_try") 2>&5
|
|
1616 |
ac_status=$?
|
|
1617 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1618 |
test $ac_status = 0; }; }; then :
|
|
1619 |
ac_retval=0
|
|
1620 |
else
|
|
1621 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1622 |
$as_echo "$as_me: failed program was:" >&5
|
|
1623 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1624 |
|
|
1625 |
ac_retval=$ac_status
|
|
1626 |
fi
|
|
1627 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1628 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1629 |
as_fn_set_status $ac_retval
|
|
1630 |
|
|
1631 |
} # ac_fn_c_try_run
|
|
1632 |
|
|
1633 |
# ac_fn_c_try_link LINENO
|
|
1634 |
# -----------------------
|
|
1635 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1636 |
ac_fn_c_try_link ()
|
|
1637 |
{
|
|
1638 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1639 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1640 |
if { { ac_try="$ac_link"
|
|
1641 |
case "(($ac_try" in
|
|
1642 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1643 |
*) ac_try_echo=$ac_try;;
|
|
1644 |
esac
|
|
1645 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1646 |
$as_echo "$ac_try_echo"; } >&5
|
|
1647 |
(eval "$ac_link") 2>conftest.err
|
|
1648 |
ac_status=$?
|
|
1649 |
if test -s conftest.err; then
|
|
1650 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1651 |
cat conftest.er1 >&5
|
|
1652 |
mv -f conftest.er1 conftest.err
|
|
1653 |
fi
|
|
1654 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1655 |
test $ac_status = 0; } && {
|
|
1656 |
test -z "$ac_c_werror_flag" ||
|
|
1657 |
test ! -s conftest.err
|
|
1658 |
} && test -s conftest$ac_exeext && {
|
|
1659 |
test "$cross_compiling" = yes ||
|
|
1660 |
test -x conftest$ac_exeext
|
|
1661 |
}; then :
|
|
1662 |
ac_retval=0
|
|
1663 |
else
|
|
1664 |
$as_echo "$as_me: failed program was:" >&5
|
|
1665 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1666 |
|
|
1667 |
ac_retval=1
|
|
1668 |
fi
|
|
1669 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1670 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1671 |
# interfere with the next link command; also delete a directory that is
|
|
1672 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1673 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1674 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1675 |
as_fn_set_status $ac_retval
|
|
1676 |
|
|
1677 |
} # ac_fn_c_try_link
|
|
1678 |
|
|
1679 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1680 |
# -------------------------------------------------------
|
|
1681 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1682 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1683 |
# accordingly.
|
|
1684 |
ac_fn_c_check_header_mongrel ()
|
|
1685 |
{
|
|
1686 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1687 |
if eval \${$3+:} false; then :
|
|
1688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1689 |
$as_echo_n "checking for $2... " >&6; }
|
|
1690 |
if eval \${$3+:} false; then :
|
|
1691 |
$as_echo_n "(cached) " >&6
|
|
1692 |
fi
|
|
1693 |
eval ac_res=\$$3
|
|
1694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1695 |
$as_echo "$ac_res" >&6; }
|
|
1696 |
else
|
|
1697 |
# Is the header compilable?
|
|
1698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1699 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1700 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1701 |
/* end confdefs.h. */
|
|
1702 |
$4
|
|
1703 |
#include <$2>
|
|
1704 |
_ACEOF
|
|
1705 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1706 |
ac_header_compiler=yes
|
|
1707 |
else
|
|
1708 |
ac_header_compiler=no
|
|
1709 |
fi
|
|
1710 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1712 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1713 |
|
|
1714 |
# Is the header present?
|
|
1715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1716 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1717 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1718 |
/* end confdefs.h. */
|
|
1719 |
#include <$2>
|
|
1720 |
_ACEOF
|
|
1721 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1722 |
ac_header_preproc=yes
|
|
1723 |
else
|
|
1724 |
ac_header_preproc=no
|
|
1725 |
fi
|
|
1726 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
1727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1728 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1729 |
|
|
1730 |
# So? What about this header?
|
|
1731 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1732 |
yes:no: )
|
|
1733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1734 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1735 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1736 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1737 |
;;
|
|
1738 |
no:yes:* )
|
|
1739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1740 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1742 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1744 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1746 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1747 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1748 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1749 |
;;
|
|
1750 |
esac
|
|
1751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1752 |
$as_echo_n "checking for $2... " >&6; }
|
|
1753 |
if eval \${$3+:} false; then :
|
|
1754 |
$as_echo_n "(cached) " >&6
|
|
1755 |
else
|
|
1756 |
eval "$3=\$ac_header_compiler"
|
|
1757 |
fi
|
|
1758 |
eval ac_res=\$$3
|
|
1759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1760 |
$as_echo "$ac_res" >&6; }
|
|
1761 |
fi
|
|
1762 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1763 |
|
|
1764 |
} # ac_fn_c_check_header_mongrel
|
|
1765 |
|
|
1766 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1767 |
# -------------------------------------------------------
|
|
1768 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1769 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1770 |
ac_fn_c_check_header_compile ()
|
|
1771 |
{
|
|
1772 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1774 |
$as_echo_n "checking for $2... " >&6; }
|
|
1775 |
if eval \${$3+:} false; then :
|
|
1776 |
$as_echo_n "(cached) " >&6
|
|
1777 |
else
|
|
1778 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1779 |
/* end confdefs.h. */
|
|
1780 |
$4
|
|
1781 |
#include <$2>
|
|
1782 |
_ACEOF
|
|
1783 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1784 |
eval "$3=yes"
|
|
1785 |
else
|
|
1786 |
eval "$3=no"
|
|
1787 |
fi
|
|
1788 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1789 |
fi
|
|
1790 |
eval ac_res=\$$3
|
|
1791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1792 |
$as_echo "$ac_res" >&6; }
|
|
1793 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1794 |
|
|
1795 |
} # ac_fn_c_check_header_compile
|
1488 | 1796 |
cat >config.log <<_ACEOF
|
1489 | 1797 |
This file contains any messages produced by compilers while
|
1490 | 1798 |
running configure, to aid debugging if configure makes a mistake.
|
1491 | 1799 |
|
1492 | 1800 |
It was created by $as_me, which was
|
1493 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
1801 |
generated by GNU Autoconf 2.69. Invocation command line was
|
1494 | 1802 |
|
1495 | 1803 |
$ $0 $@
|
1496 | 1804 |
|
|
1526 | 1834 |
do
|
1527 | 1835 |
IFS=$as_save_IFS
|
1528 | 1836 |
test -z "$as_dir" && as_dir=.
|
1529 | |
$as_echo "PATH: $as_dir"
|
1530 | |
done
|
|
1837 |
$as_echo "PATH: $as_dir"
|
|
1838 |
done
|
1531 | 1839 |
IFS=$as_save_IFS
|
1532 | 1840 |
|
1533 | 1841 |
} >&5
|
|
1564 | 1872 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1565 | 1873 |
esac
|
1566 | 1874 |
case $ac_pass in
|
1567 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1875 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1568 | 1876 |
2)
|
1569 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1877 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1570 | 1878 |
if test $ac_must_keep_next = true; then
|
1571 | 1879 |
ac_must_keep_next=false # Got value, back to normal.
|
1572 | 1880 |
else
|
|
1582 | 1890 |
-* ) ac_must_keep_next=true ;;
|
1583 | 1891 |
esac
|
1584 | 1892 |
fi
|
1585 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1893 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1586 | 1894 |
;;
|
1587 | 1895 |
esac
|
1588 | 1896 |
done
|
1589 | 1897 |
done
|
1590 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1591 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1898 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1899 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1592 | 1900 |
|
1593 | 1901 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1594 | 1902 |
# config.log. We remove comments because anyway the quotes in there
|
|
1600 | 1908 |
{
|
1601 | 1909 |
echo
|
1602 | 1910 |
|
1603 | |
cat <<\_ASBOX
|
1604 | |
## ---------------- ##
|
|
1911 |
$as_echo "## ---------------- ##
|
1605 | 1912 |
## Cache variables. ##
|
1606 | |
## ---------------- ##
|
1607 | |
_ASBOX
|
|
1913 |
## ---------------- ##"
|
1608 | 1914 |
echo
|
1609 | 1915 |
# The following way of writing the cache mishandles newlines in values,
|
1610 | 1916 |
(
|
|
1613 | 1919 |
case $ac_val in #(
|
1614 | 1920 |
*${as_nl}*)
|
1615 | 1921 |
case $ac_var in #(
|
1616 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1922 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1617 | 1923 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1618 | 1924 |
esac
|
1619 | 1925 |
case $ac_var in #(
|
1620 | 1926 |
_ | IFS | as_nl) ;; #(
|
1621 | 1927 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1622 | |
*) $as_unset $ac_var ;;
|
|
1928 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1623 | 1929 |
esac ;;
|
1624 | 1930 |
esac
|
1625 | 1931 |
done
|
|
1638 | 1944 |
)
|
1639 | 1945 |
echo
|
1640 | 1946 |
|
1641 | |
cat <<\_ASBOX
|
1642 | |
## ----------------- ##
|
|
1947 |
$as_echo "## ----------------- ##
|
1643 | 1948 |
## Output variables. ##
|
1644 | |
## ----------------- ##
|
1645 | |
_ASBOX
|
|
1949 |
## ----------------- ##"
|
1646 | 1950 |
echo
|
1647 | 1951 |
for ac_var in $ac_subst_vars
|
1648 | 1952 |
do
|
|
1655 | 1959 |
echo
|
1656 | 1960 |
|
1657 | 1961 |
if test -n "$ac_subst_files"; then
|
1658 | |
cat <<\_ASBOX
|
1659 | |
## ------------------- ##
|
|
1962 |
$as_echo "## ------------------- ##
|
1660 | 1963 |
## File substitutions. ##
|
1661 | |
## ------------------- ##
|
1662 | |
_ASBOX
|
|
1964 |
## ------------------- ##"
|
1663 | 1965 |
echo
|
1664 | 1966 |
for ac_var in $ac_subst_files
|
1665 | 1967 |
do
|
|
1673 | 1975 |
fi
|
1674 | 1976 |
|
1675 | 1977 |
if test -s confdefs.h; then
|
1676 | |
cat <<\_ASBOX
|
1677 | |
## ----------- ##
|
|
1978 |
$as_echo "## ----------- ##
|
1678 | 1979 |
## confdefs.h. ##
|
1679 | |
## ----------- ##
|
1680 | |
_ASBOX
|
|
1980 |
## ----------- ##"
|
1681 | 1981 |
echo
|
1682 | 1982 |
cat confdefs.h
|
1683 | 1983 |
echo
|
|
1691 | 1991 |
exit $exit_status
|
1692 | 1992 |
' 0
|
1693 | 1993 |
for ac_signal in 1 2 13 15; do
|
1694 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
1994 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1695 | 1995 |
done
|
1696 | 1996 |
ac_signal=0
|
1697 | 1997 |
|
1698 | 1998 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1699 | 1999 |
rm -f -r conftest* confdefs.h
|
1700 | 2000 |
|
|
2001 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2002 |
|
1701 | 2003 |
# Predefined preprocessor variables.
|
1702 | 2004 |
|
1703 | 2005 |
cat >>confdefs.h <<_ACEOF
|
1704 | 2006 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1705 | 2007 |
_ACEOF
|
1706 | 2008 |
|
1707 | |
|
1708 | 2009 |
cat >>confdefs.h <<_ACEOF
|
1709 | 2010 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1710 | 2011 |
_ACEOF
|
1711 | 2012 |
|
1712 | |
|
1713 | 2013 |
cat >>confdefs.h <<_ACEOF
|
1714 | 2014 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1715 | 2015 |
_ACEOF
|
1716 | 2016 |
|
1717 | |
|
1718 | 2017 |
cat >>confdefs.h <<_ACEOF
|
1719 | 2018 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1720 | 2019 |
_ACEOF
|
1721 | 2020 |
|
1722 | |
|
1723 | 2021 |
cat >>confdefs.h <<_ACEOF
|
1724 | 2022 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2023 |
_ACEOF
|
|
2024 |
|
|
2025 |
cat >>confdefs.h <<_ACEOF
|
|
2026 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1725 | 2027 |
_ACEOF
|
1726 | 2028 |
|
1727 | 2029 |
|
|
1730 | 2032 |
ac_site_file1=NONE
|
1731 | 2033 |
ac_site_file2=NONE
|
1732 | 2034 |
if test -n "$CONFIG_SITE"; then
|
1733 | |
ac_site_file1=$CONFIG_SITE
|
|
2035 |
# We do not want a PATH search for config.site.
|
|
2036 |
case $CONFIG_SITE in #((
|
|
2037 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
2038 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
2039 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
2040 |
esac
|
1734 | 2041 |
elif test "x$prefix" != xNONE; then
|
1735 | 2042 |
ac_site_file1=$prefix/share/config.site
|
1736 | 2043 |
ac_site_file2=$prefix/etc/config.site
|
|
1741 | 2048 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1742 | 2049 |
do
|
1743 | 2050 |
test "x$ac_site_file" = xNONE && continue
|
1744 | |
if test -r "$ac_site_file"; then
|
1745 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
2051 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1746 | 2053 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1747 | 2054 |
sed 's/^/| /' "$ac_site_file" >&5
|
1748 | |
. "$ac_site_file"
|
|
2055 |
. "$ac_site_file" \
|
|
2056 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2057 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2058 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
2059 |
See \`config.log' for more details" "$LINENO" 5; }
|
1749 | 2060 |
fi
|
1750 | 2061 |
done
|
1751 | 2062 |
|
1752 | 2063 |
if test -r "$cache_file"; then
|
1753 | |
# Some versions of bash will fail to source /dev/null (special
|
1754 | |
# files actually), so we avoid doing that.
|
1755 | |
if test -f "$cache_file"; then
|
1756 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
2064 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2065 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2066 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2067 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1757 | 2068 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1758 | 2069 |
case $cache_file in
|
1759 | 2070 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1761 | 2072 |
esac
|
1762 | 2073 |
fi
|
1763 | 2074 |
else
|
1764 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
2075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1765 | 2076 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1766 | 2077 |
>$cache_file
|
1767 | 2078 |
fi
|
|
1776 | 2087 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1777 | 2088 |
case $ac_old_set,$ac_new_set in
|
1778 | 2089 |
set,)
|
1779 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2090 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1780 | 2091 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1781 | 2092 |
ac_cache_corrupted=: ;;
|
1782 | 2093 |
,set)
|
1783 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
2094 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1784 | 2095 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1785 | 2096 |
ac_cache_corrupted=: ;;
|
1786 | 2097 |
,);;
|
|
1790 | 2101 |
ac_old_val_w=`echo x $ac_old_val`
|
1791 | 2102 |
ac_new_val_w=`echo x $ac_new_val`
|
1792 | 2103 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1793 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1794 | 2105 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1795 | 2106 |
ac_cache_corrupted=:
|
1796 | 2107 |
else
|
1797 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2108 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1798 | 2109 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1799 | 2110 |
eval $ac_var=\$ac_old_val
|
1800 | 2111 |
fi
|
1801 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
2112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1802 | 2113 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1803 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
2114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1804 | 2115 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1805 | 2116 |
fi;;
|
1806 | 2117 |
esac
|
|
1812 | 2123 |
esac
|
1813 | 2124 |
case " $ac_configure_args " in
|
1814 | 2125 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1815 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2126 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1816 | 2127 |
esac
|
1817 | 2128 |
fi
|
1818 | 2129 |
done
|
1819 | 2130 |
if $ac_cache_corrupted; then
|
1820 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
1821 | 2132 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1822 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
2133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1823 | 2134 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1824 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1825 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1826 | |
{ (exit 1); exit 1; }; }
|
1827 | |
fi
|
1828 | |
|
1829 | |
|
1830 | |
|
1831 | |
|
1832 | |
|
1833 | |
|
1834 | |
|
1835 | |
|
1836 | |
|
1837 | |
|
1838 | |
|
1839 | |
|
1840 | |
|
1841 | |
|
1842 | |
|
1843 | |
|
|
2135 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2136 |
fi
|
|
2137 |
## -------------------- ##
|
|
2138 |
## Main body of script. ##
|
|
2139 |
## -------------------- ##
|
1844 | 2140 |
|
1845 | 2141 |
ac_ext=c
|
1846 | 2142 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1866 | 2162 |
fi
|
1867 | 2163 |
done
|
1868 | 2164 |
if test -z "$ac_aux_dir"; then
|
1869 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1870 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1871 | |
{ (exit 1); exit 1; }; }
|
|
2165 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1872 | 2166 |
fi
|
1873 | 2167 |
|
1874 | 2168 |
# These three variables are undocumented and unsupported,
|
|
1882 | 2176 |
|
1883 | 2177 |
# Make sure we can run config.sub.
|
1884 | 2178 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
1885 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
1886 | |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
1887 | |
{ (exit 1); exit 1; }; }
|
1888 | |
|
1889 | |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
|
|
2179 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
2180 |
|
|
2181 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
1890 | 2182 |
$as_echo_n "checking build system type... " >&6; }
|
1891 | |
if test "${ac_cv_build+set}" = set; then
|
|
2183 |
if ${ac_cv_build+:} false; then :
|
1892 | 2184 |
$as_echo_n "(cached) " >&6
|
1893 | 2185 |
else
|
1894 | 2186 |
ac_build_alias=$build_alias
|
1895 | 2187 |
test "x$ac_build_alias" = x &&
|
1896 | 2188 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
1897 | 2189 |
test "x$ac_build_alias" = x &&
|
1898 | |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1899 | |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1900 | |
{ (exit 1); exit 1; }; }
|
|
2190 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
1901 | 2191 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
1902 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
1903 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
1904 | |
{ (exit 1); exit 1; }; }
|
1905 | |
|
1906 | |
fi
|
1907 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|
2192 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
2193 |
|
|
2194 |
fi
|
|
2195 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
1908 | 2196 |
$as_echo "$ac_cv_build" >&6; }
|
1909 | 2197 |
case $ac_cv_build in
|
1910 | 2198 |
*-*-*) ;;
|
1911 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
1912 | |
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
|
1913 | |
{ (exit 1); exit 1; }; };;
|
|
2199 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
1914 | 2200 |
esac
|
1915 | 2201 |
build=$ac_cv_build
|
1916 | 2202 |
ac_save_IFS=$IFS; IFS='-'
|
|
1926 | 2212 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
1927 | 2213 |
|
1928 | 2214 |
|
1929 | |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
|
|
2215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
1930 | 2216 |
$as_echo_n "checking host system type... " >&6; }
|
1931 | |
if test "${ac_cv_host+set}" = set; then
|
|
2217 |
if ${ac_cv_host+:} false; then :
|
1932 | 2218 |
$as_echo_n "(cached) " >&6
|
1933 | 2219 |
else
|
1934 | 2220 |
if test "x$host_alias" = x; then
|
1935 | 2221 |
ac_cv_host=$ac_cv_build
|
1936 | 2222 |
else
|
1937 | 2223 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
1938 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
1939 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
1940 | |
{ (exit 1); exit 1; }; }
|
1941 | |
fi
|
1942 | |
|
1943 | |
fi
|
1944 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|
2224 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
2225 |
fi
|
|
2226 |
|
|
2227 |
fi
|
|
2228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
1945 | 2229 |
$as_echo "$ac_cv_host" >&6; }
|
1946 | 2230 |
case $ac_cv_host in
|
1947 | 2231 |
*-*-*) ;;
|
1948 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
1949 | |
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
1950 | |
{ (exit 1); exit 1; }; };;
|
|
2232 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
1951 | 2233 |
esac
|
1952 | 2234 |
host=$ac_cv_host
|
1953 | 2235 |
ac_save_IFS=$IFS; IFS='-'
|
|
1963 | 2245 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
1964 | 2246 |
|
1965 | 2247 |
|
1966 | |
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
|
|
2248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
1967 | 2249 |
$as_echo_n "checking target system type... " >&6; }
|
1968 | |
if test "${ac_cv_target+set}" = set; then
|
|
2250 |
if ${ac_cv_target+:} false; then :
|
1969 | 2251 |
$as_echo_n "(cached) " >&6
|
1970 | 2252 |
else
|
1971 | 2253 |
if test "x$target_alias" = x; then
|
1972 | 2254 |
ac_cv_target=$ac_cv_host
|
1973 | 2255 |
else
|
1974 | 2256 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
1975 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
1976 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
1977 | |
{ (exit 1); exit 1; }; }
|
1978 | |
fi
|
1979 | |
|
1980 | |
fi
|
1981 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
|
2257 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
|
2258 |
fi
|
|
2259 |
|
|
2260 |
fi
|
|
2261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
1982 | 2262 |
$as_echo "$ac_cv_target" >&6; }
|
1983 | 2263 |
case $ac_cv_target in
|
1984 | 2264 |
*-*-*) ;;
|
1985 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
1986 | |
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
|
1987 | |
{ (exit 1); exit 1; }; };;
|
|
2265 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
1988 | 2266 |
esac
|
1989 | 2267 |
target=$ac_cv_target
|
1990 | 2268 |
ac_save_IFS=$IFS; IFS='-'
|
|
2021 | 2299 |
# OS/2's system install, which has a completely different semantic
|
2022 | 2300 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2023 | 2301 |
# Reject install programs that cannot install multiple files.
|
2024 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2025 | 2303 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2026 | 2304 |
if test -z "$INSTALL"; then
|
2027 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2305 |
if ${ac_cv_path_install+:} false; then :
|
2028 | 2306 |
$as_echo_n "(cached) " >&6
|
2029 | 2307 |
else
|
2030 | 2308 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2032 | 2310 |
do
|
2033 | 2311 |
IFS=$as_save_IFS
|
2034 | 2312 |
test -z "$as_dir" && as_dir=.
|
2035 | |
# Account for people who put trailing slashes in PATH elements.
|
2036 | |
case $as_dir/ in
|
2037 | |
./ | .// | /cC/* | \
|
|
2313 |
# Account for people who put trailing slashes in PATH elements.
|
|
2314 |
case $as_dir/ in #((
|
|
2315 |
./ | .// | /[cC]/* | \
|
2038 | 2316 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2039 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2317 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2040 | 2318 |
/usr/ucb/* ) ;;
|
2041 | 2319 |
*)
|
2042 | 2320 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2044 | 2322 |
# by default.
|
2045 | 2323 |
for ac_prog in ginstall scoinst install; do
|
2046 | 2324 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2047 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
2325 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
2048 | 2326 |
if test $ac_prog = install &&
|
2049 | 2327 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2050 | 2328 |
# AIX install. It has an incompatible calling convention.
|
|
2073 | 2351 |
;;
|
2074 | 2352 |
esac
|
2075 | 2353 |
|
2076 | |
done
|
|
2354 |
done
|
2077 | 2355 |
IFS=$as_save_IFS
|
2078 | 2356 |
|
2079 | 2357 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2089 | 2367 |
INSTALL=$ac_install_sh
|
2090 | 2368 |
fi
|
2091 | 2369 |
fi
|
2092 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2370 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2093 | 2371 |
$as_echo "$INSTALL" >&6; }
|
2094 | 2372 |
|
2095 | 2373 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2100 | 2378 |
|
2101 | 2379 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2102 | 2380 |
|
2103 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
2381 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2104 | 2382 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2105 | 2383 |
# Just in case
|
2106 | 2384 |
sleep 1
|
|
2124 | 2402 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2125 | 2403 |
# broken ls alias from the environment. This has actually
|
2126 | 2404 |
# happened. Such a system could not be considered "sane".
|
2127 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
2128 | |
alias in your environment" >&5
|
2129 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
2130 | |
alias in your environment" >&2;}
|
2131 | |
{ (exit 1); exit 1; }; }
|
|
2405 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
2406 |
alias in your environment" "$LINENO" 5
|
2132 | 2407 |
fi
|
2133 | 2408 |
|
2134 | 2409 |
test "$2" = conftest.file
|
|
2137 | 2412 |
# Ok.
|
2138 | 2413 |
:
|
2139 | 2414 |
else
|
2140 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
2141 | |
Check your system clock" >&5
|
2142 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
2143 | |
Check your system clock" >&2;}
|
2144 | |
{ (exit 1); exit 1; }; }
|
2145 | |
fi
|
2146 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2415 |
as_fn_error $? "newly created file is older than distributed files!
|
|
2416 |
Check your system clock" "$LINENO" 5
|
|
2417 |
fi
|
|
2418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2147 | 2419 |
$as_echo "yes" >&6; }
|
2148 | 2420 |
test "$program_prefix" != NONE &&
|
2149 | 2421 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2164 | 2436 |
am_missing_run="$MISSING --run "
|
2165 | 2437 |
else
|
2166 | 2438 |
am_missing_run=
|
2167 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2168 | 2440 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2169 | 2441 |
fi
|
2170 | 2442 |
|
|
2205 | 2477 |
do
|
2206 | 2478 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2207 | 2479 |
set dummy $ac_prog; ac_word=$2
|
2208 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2480 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2209 | 2481 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2210 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2482 |
if ${ac_cv_prog_AWK+:} false; then :
|
2211 | 2483 |
$as_echo_n "(cached) " >&6
|
2212 | 2484 |
else
|
2213 | 2485 |
if test -n "$AWK"; then
|
|
2218 | 2490 |
do
|
2219 | 2491 |
IFS=$as_save_IFS
|
2220 | 2492 |
test -z "$as_dir" && as_dir=.
|
2221 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2222 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2493 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2494 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2223 | 2495 |
ac_cv_prog_AWK="$ac_prog"
|
2224 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2496 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2225 | 2497 |
break 2
|
2226 | 2498 |
fi
|
2227 | 2499 |
done
|
2228 | |
done
|
|
2500 |
done
|
2229 | 2501 |
IFS=$as_save_IFS
|
2230 | 2502 |
|
2231 | 2503 |
fi
|
2232 | 2504 |
fi
|
2233 | 2505 |
AWK=$ac_cv_prog_AWK
|
2234 | 2506 |
if test -n "$AWK"; then
|
2235 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2236 | 2508 |
$as_echo "$AWK" >&6; }
|
2237 | 2509 |
else
|
2238 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2239 | 2511 |
$as_echo "no" >&6; }
|
2240 | 2512 |
fi
|
2241 | 2513 |
|
|
2243 | 2515 |
test -n "$AWK" && break
|
2244 | 2516 |
done
|
2245 | 2517 |
|
2246 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2247 | 2519 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2248 | 2520 |
set x ${MAKE-make}
|
2249 | 2521 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2250 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2522 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2251 | 2523 |
$as_echo_n "(cached) " >&6
|
2252 | 2524 |
else
|
2253 | 2525 |
cat >conftest.make <<\_ACEOF
|
|
2255 | 2527 |
all:
|
2256 | 2528 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2257 | 2529 |
_ACEOF
|
2258 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2530 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2259 | 2531 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2260 | 2532 |
*@@@%%%=?*=@@@%%%*)
|
2261 | 2533 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2265 | 2537 |
rm -f conftest.make
|
2266 | 2538 |
fi
|
2267 | 2539 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2268 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2269 | 2541 |
$as_echo "yes" >&6; }
|
2270 | 2542 |
SET_MAKE=
|
2271 | 2543 |
else
|
2272 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2273 | 2545 |
$as_echo "no" >&6; }
|
2274 | 2546 |
SET_MAKE="MAKE=${MAKE-make}"
|
2275 | 2547 |
fi
|
|
2286 | 2558 |
# test to see if srcdir already configured
|
2287 | 2559 |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
2288 | 2560 |
test -f $srcdir/config.status; then
|
2289 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2290 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2291 | |
{ (exit 1); exit 1; }; }
|
|
2561 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2292 | 2562 |
fi
|
2293 | 2563 |
|
2294 | 2564 |
# test whether we have cygpath
|
|
2341 | 2611 |
if test -n "$ac_tool_prefix"; then
|
2342 | 2612 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2343 | 2613 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2344 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2345 | 2615 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2346 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2616 |
if ${ac_cv_prog_STRIP+:} false; then :
|
2347 | 2617 |
$as_echo_n "(cached) " >&6
|
2348 | 2618 |
else
|
2349 | 2619 |
if test -n "$STRIP"; then
|
|
2354 | 2624 |
do
|
2355 | 2625 |
IFS=$as_save_IFS
|
2356 | 2626 |
test -z "$as_dir" && as_dir=.
|
2357 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2358 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2627 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2628 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2359 | 2629 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2360 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2630 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2361 | 2631 |
break 2
|
2362 | 2632 |
fi
|
2363 | 2633 |
done
|
2364 | |
done
|
|
2634 |
done
|
2365 | 2635 |
IFS=$as_save_IFS
|
2366 | 2636 |
|
2367 | 2637 |
fi
|
2368 | 2638 |
fi
|
2369 | 2639 |
STRIP=$ac_cv_prog_STRIP
|
2370 | 2640 |
if test -n "$STRIP"; then
|
2371 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2372 | 2642 |
$as_echo "$STRIP" >&6; }
|
2373 | 2643 |
else
|
2374 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2375 | 2645 |
$as_echo "no" >&6; }
|
2376 | 2646 |
fi
|
2377 | 2647 |
|
|
2381 | 2651 |
ac_ct_STRIP=$STRIP
|
2382 | 2652 |
# Extract the first word of "strip", so it can be a program name with args.
|
2383 | 2653 |
set dummy strip; ac_word=$2
|
2384 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2385 | 2655 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2386 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2656 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2387 | 2657 |
$as_echo_n "(cached) " >&6
|
2388 | 2658 |
else
|
2389 | 2659 |
if test -n "$ac_ct_STRIP"; then
|
|
2394 | 2664 |
do
|
2395 | 2665 |
IFS=$as_save_IFS
|
2396 | 2666 |
test -z "$as_dir" && as_dir=.
|
2397 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2398 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2667 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2668 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2399 | 2669 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2400 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2670 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2401 | 2671 |
break 2
|
2402 | 2672 |
fi
|
2403 | 2673 |
done
|
2404 | |
done
|
|
2674 |
done
|
2405 | 2675 |
IFS=$as_save_IFS
|
2406 | 2676 |
|
2407 | 2677 |
fi
|
2408 | 2678 |
fi
|
2409 | 2679 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2410 | 2680 |
if test -n "$ac_ct_STRIP"; then
|
2411 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2681 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2412 | 2682 |
$as_echo "$ac_ct_STRIP" >&6; }
|
2413 | 2683 |
else
|
2414 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2415 | 2685 |
$as_echo "no" >&6; }
|
2416 | 2686 |
fi
|
2417 | 2687 |
|
|
2420 | 2690 |
else
|
2421 | 2691 |
case $cross_compiling:$ac_tool_warned in
|
2422 | 2692 |
yes:)
|
2423 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2424 | 2694 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2425 | 2695 |
ac_tool_warned=yes ;;
|
2426 | 2696 |
esac
|
|
2457 | 2727 |
if test -n "$ac_tool_prefix"; then
|
2458 | 2728 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2459 | 2729 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2460 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2461 | 2731 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2462 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2732 |
if ${ac_cv_prog_CC+:} false; then :
|
2463 | 2733 |
$as_echo_n "(cached) " >&6
|
2464 | 2734 |
else
|
2465 | 2735 |
if test -n "$CC"; then
|
|
2470 | 2740 |
do
|
2471 | 2741 |
IFS=$as_save_IFS
|
2472 | 2742 |
test -z "$as_dir" && as_dir=.
|
2473 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2474 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2743 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2744 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2475 | 2745 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2476 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2746 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2477 | 2747 |
break 2
|
2478 | 2748 |
fi
|
2479 | 2749 |
done
|
2480 | |
done
|
|
2750 |
done
|
2481 | 2751 |
IFS=$as_save_IFS
|
2482 | 2752 |
|
2483 | 2753 |
fi
|
2484 | 2754 |
fi
|
2485 | 2755 |
CC=$ac_cv_prog_CC
|
2486 | 2756 |
if test -n "$CC"; then
|
2487 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2488 | 2758 |
$as_echo "$CC" >&6; }
|
2489 | 2759 |
else
|
2490 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2491 | 2761 |
$as_echo "no" >&6; }
|
2492 | 2762 |
fi
|
2493 | 2763 |
|
|
2497 | 2767 |
ac_ct_CC=$CC
|
2498 | 2768 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2499 | 2769 |
set dummy gcc; ac_word=$2
|
2500 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2501 | 2771 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2502 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2772 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
2503 | 2773 |
$as_echo_n "(cached) " >&6
|
2504 | 2774 |
else
|
2505 | 2775 |
if test -n "$ac_ct_CC"; then
|
|
2510 | 2780 |
do
|
2511 | 2781 |
IFS=$as_save_IFS
|
2512 | 2782 |
test -z "$as_dir" && as_dir=.
|
2513 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2514 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2783 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2784 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2515 | 2785 |
ac_cv_prog_ac_ct_CC="gcc"
|
2516 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2786 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2517 | 2787 |
break 2
|
2518 | 2788 |
fi
|
2519 | 2789 |
done
|
2520 | |
done
|
|
2790 |
done
|
2521 | 2791 |
IFS=$as_save_IFS
|
2522 | 2792 |
|
2523 | 2793 |
fi
|
2524 | 2794 |
fi
|
2525 | 2795 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2526 | 2796 |
if test -n "$ac_ct_CC"; then
|
2527 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2528 | 2798 |
$as_echo "$ac_ct_CC" >&6; }
|
2529 | 2799 |
else
|
2530 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2531 | 2801 |
$as_echo "no" >&6; }
|
2532 | 2802 |
fi
|
2533 | 2803 |
|
|
2536 | 2806 |
else
|
2537 | 2807 |
case $cross_compiling:$ac_tool_warned in
|
2538 | 2808 |
yes:)
|
2539 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2540 | 2810 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2541 | 2811 |
ac_tool_warned=yes ;;
|
2542 | 2812 |
esac
|
|
2550 | 2820 |
if test -n "$ac_tool_prefix"; then
|
2551 | 2821 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2552 | 2822 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2553 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2554 | 2824 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2555 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2825 |
if ${ac_cv_prog_CC+:} false; then :
|
2556 | 2826 |
$as_echo_n "(cached) " >&6
|
2557 | 2827 |
else
|
2558 | 2828 |
if test -n "$CC"; then
|
|
2563 | 2833 |
do
|
2564 | 2834 |
IFS=$as_save_IFS
|
2565 | 2835 |
test -z "$as_dir" && as_dir=.
|
2566 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2567 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2836 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2837 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2568 | 2838 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2569 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2839 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2570 | 2840 |
break 2
|
2571 | 2841 |
fi
|
2572 | 2842 |
done
|
2573 | |
done
|
|
2843 |
done
|
2574 | 2844 |
IFS=$as_save_IFS
|
2575 | 2845 |
|
2576 | 2846 |
fi
|
2577 | 2847 |
fi
|
2578 | 2848 |
CC=$ac_cv_prog_CC
|
2579 | 2849 |
if test -n "$CC"; then
|
2580 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2850 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2581 | 2851 |
$as_echo "$CC" >&6; }
|
2582 | 2852 |
else
|
2583 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2853 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2584 | 2854 |
$as_echo "no" >&6; }
|
2585 | 2855 |
fi
|
2586 | 2856 |
|
|
2590 | 2860 |
if test -z "$CC"; then
|
2591 | 2861 |
# Extract the first word of "cc", so it can be a program name with args.
|
2592 | 2862 |
set dummy cc; ac_word=$2
|
2593 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2594 | 2864 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2595 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2865 |
if ${ac_cv_prog_CC+:} false; then :
|
2596 | 2866 |
$as_echo_n "(cached) " >&6
|
2597 | 2867 |
else
|
2598 | 2868 |
if test -n "$CC"; then
|
|
2604 | 2874 |
do
|
2605 | 2875 |
IFS=$as_save_IFS
|
2606 | 2876 |
test -z "$as_dir" && as_dir=.
|
2607 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2608 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2877 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2878 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2609 | 2879 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2610 | 2880 |
ac_prog_rejected=yes
|
2611 | 2881 |
continue
|
2612 | 2882 |
fi
|
2613 | 2883 |
ac_cv_prog_CC="cc"
|
2614 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2884 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2615 | 2885 |
break 2
|
2616 | 2886 |
fi
|
2617 | 2887 |
done
|
2618 | |
done
|
|
2888 |
done
|
2619 | 2889 |
IFS=$as_save_IFS
|
2620 | 2890 |
|
2621 | 2891 |
if test $ac_prog_rejected = yes; then
|
|
2634 | 2904 |
fi
|
2635 | 2905 |
CC=$ac_cv_prog_CC
|
2636 | 2906 |
if test -n "$CC"; then
|
2637 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2638 | 2908 |
$as_echo "$CC" >&6; }
|
2639 | 2909 |
else
|
2640 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2641 | 2911 |
$as_echo "no" >&6; }
|
2642 | 2912 |
fi
|
2643 | 2913 |
|
|
2649 | 2919 |
do
|
2650 | 2920 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2651 | 2921 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2652 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2922 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2653 | 2923 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2654 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2924 |
if ${ac_cv_prog_CC+:} false; then :
|
2655 | 2925 |
$as_echo_n "(cached) " >&6
|
2656 | 2926 |
else
|
2657 | 2927 |
if test -n "$CC"; then
|
|
2662 | 2932 |
do
|
2663 | 2933 |
IFS=$as_save_IFS
|
2664 | 2934 |
test -z "$as_dir" && as_dir=.
|
2665 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2666 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2935 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2936 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2667 | 2937 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2668 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2938 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2669 | 2939 |
break 2
|
2670 | 2940 |
fi
|
2671 | 2941 |
done
|
2672 | |
done
|
|
2942 |
done
|
2673 | 2943 |
IFS=$as_save_IFS
|
2674 | 2944 |
|
2675 | 2945 |
fi
|
2676 | 2946 |
fi
|
2677 | 2947 |
CC=$ac_cv_prog_CC
|
2678 | 2948 |
if test -n "$CC"; then
|
2679 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2680 | 2950 |
$as_echo "$CC" >&6; }
|
2681 | 2951 |
else
|
2682 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2683 | 2953 |
$as_echo "no" >&6; }
|
2684 | 2954 |
fi
|
2685 | 2955 |
|
|
2693 | 2963 |
do
|
2694 | 2964 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2695 | 2965 |
set dummy $ac_prog; ac_word=$2
|
2696 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2697 | 2967 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2698 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2968 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
2699 | 2969 |
$as_echo_n "(cached) " >&6
|
2700 | 2970 |
else
|
2701 | 2971 |
if test -n "$ac_ct_CC"; then
|
|
2706 | 2976 |
do
|
2707 | 2977 |
IFS=$as_save_IFS
|
2708 | 2978 |
test -z "$as_dir" && as_dir=.
|
2709 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2710 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2979 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2980 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2711 | 2981 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2712 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2982 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2713 | 2983 |
break 2
|
2714 | 2984 |
fi
|
2715 | 2985 |
done
|
2716 | |
done
|
|
2986 |
done
|
2717 | 2987 |
IFS=$as_save_IFS
|
2718 | 2988 |
|
2719 | 2989 |
fi
|
2720 | 2990 |
fi
|
2721 | 2991 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2722 | 2992 |
if test -n "$ac_ct_CC"; then
|
2723 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2993 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2724 | 2994 |
$as_echo "$ac_ct_CC" >&6; }
|
2725 | 2995 |
else
|
2726 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2996 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2727 | 2997 |
$as_echo "no" >&6; }
|
2728 | 2998 |
fi
|
2729 | 2999 |
|
|
2736 | 3006 |
else
|
2737 | 3007 |
case $cross_compiling:$ac_tool_warned in
|
2738 | 3008 |
yes:)
|
2739 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2740 | 3010 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2741 | 3011 |
ac_tool_warned=yes ;;
|
2742 | 3012 |
esac
|
|
2747 | 3017 |
fi
|
2748 | 3018 |
|
2749 | 3019 |
|
2750 | |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3020 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2751 | 3021 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2752 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2753 | |
See \`config.log' for more details." >&5
|
2754 | |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2755 | |
See \`config.log' for more details." >&2;}
|
2756 | |
{ (exit 1); exit 1; }; }; }
|
|
3022 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
3023 |
See \`config.log' for more details" "$LINENO" 5; }
|
2757 | 3024 |
|
2758 | 3025 |
# Provide some information about the compiler.
|
2759 | |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
3026 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2760 | 3027 |
set X $ac_compile
|
2761 | 3028 |
ac_compiler=$2
|
2762 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3029 |
for ac_option in --version -v -V -qversion; do
|
|
3030 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2763 | 3031 |
case "(($ac_try" in
|
2764 | 3032 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2765 | 3033 |
*) ac_try_echo=$ac_try;;
|
2766 | 3034 |
esac
|
2767 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2768 | |
$as_echo "$ac_try_echo") >&5
|
2769 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3035 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3036 |
$as_echo "$ac_try_echo"; } >&5
|
|
3037 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2770 | 3038 |
ac_status=$?
|
2771 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2772 | |
(exit $ac_status); }
|
2773 | |
{ (ac_try="$ac_compiler -v >&5"
|
2774 | |
case "(($ac_try" in
|
2775 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2776 | |
*) ac_try_echo=$ac_try;;
|
2777 | |
esac
|
2778 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2779 | |
$as_echo "$ac_try_echo") >&5
|
2780 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2781 | |
ac_status=$?
|
2782 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2783 | |
(exit $ac_status); }
|
2784 | |
{ (ac_try="$ac_compiler -V >&5"
|
2785 | |
case "(($ac_try" in
|
2786 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2787 | |
*) ac_try_echo=$ac_try;;
|
2788 | |
esac
|
2789 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2790 | |
$as_echo "$ac_try_echo") >&5
|
2791 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2792 | |
ac_status=$?
|
2793 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2794 | |
(exit $ac_status); }
|
2795 | |
|
2796 | |
cat >conftest.$ac_ext <<_ACEOF
|
2797 | |
/* confdefs.h. */
|
2798 | |
_ACEOF
|
2799 | |
cat confdefs.h >>conftest.$ac_ext
|
2800 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3039 |
if test -s conftest.err; then
|
|
3040 |
sed '10a\
|
|
3041 |
... rest of stderr output deleted ...
|
|
3042 |
10q' conftest.err >conftest.er1
|
|
3043 |
cat conftest.er1 >&5
|
|
3044 |
fi
|
|
3045 |
rm -f conftest.er1 conftest.err
|
|
3046 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3047 |
test $ac_status = 0; }
|
|
3048 |
done
|
|
3049 |
|
|
3050 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2801 | 3051 |
/* end confdefs.h. */
|
2802 | 3052 |
|
2803 | 3053 |
int
|
|
2813 | 3063 |
# Try to create an executable without -o first, disregard a.out.
|
2814 | 3064 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2815 | 3065 |
# of exeext.
|
2816 | |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2817 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3067 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2818 | 3068 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2819 | 3069 |
|
2820 | 3070 |
# The possible output files:
|
|
2830 | 3080 |
done
|
2831 | 3081 |
rm -f $ac_rmfiles
|
2832 | 3082 |
|
2833 | |
if { (ac_try="$ac_link_default"
|
|
3083 |
if { { ac_try="$ac_link_default"
|
2834 | 3084 |
case "(($ac_try" in
|
2835 | 3085 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2836 | 3086 |
*) ac_try_echo=$ac_try;;
|
2837 | 3087 |
esac
|
2838 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2839 | |
$as_echo "$ac_try_echo") >&5
|
|
3088 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3089 |
$as_echo "$ac_try_echo"; } >&5
|
2840 | 3090 |
(eval "$ac_link_default") 2>&5
|
2841 | 3091 |
ac_status=$?
|
2842 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2843 | |
(exit $ac_status); }; then
|
|
3092 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3093 |
test $ac_status = 0; }; then :
|
2844 | 3094 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2845 | 3095 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2846 | 3096 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2857 | 3107 |
# certainly right.
|
2858 | 3108 |
break;;
|
2859 | 3109 |
*.* )
|
2860 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3110 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2861 | 3111 |
then :; else
|
2862 | 3112 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2863 | 3113 |
fi
|
|
2876 | 3126 |
else
|
2877 | 3127 |
ac_file=''
|
2878 | 3128 |
fi
|
2879 | |
|
2880 | |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
3129 |
if test -z "$ac_file"; then :
|
|
3130 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3131 |
$as_echo "no" >&6; }
|
|
3132 |
$as_echo "$as_me: failed program was:" >&5
|
|
3133 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3134 |
|
|
3135 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3136 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3137 |
as_fn_error 77 "C compiler cannot create executables
|
|
3138 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3139 |
else
|
|
3140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3141 |
$as_echo "yes" >&6; }
|
|
3142 |
fi
|
|
3143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3144 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2881 | 3146 |
$as_echo "$ac_file" >&6; }
|
2882 | |
if test -z "$ac_file"; then
|
2883 | |
$as_echo "$as_me: failed program was:" >&5
|
2884 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2885 | |
|
2886 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2887 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2888 | |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2889 | |
See \`config.log' for more details." >&5
|
2890 | |
$as_echo "$as_me: error: C compiler cannot create executables
|
2891 | |
See \`config.log' for more details." >&2;}
|
2892 | |
{ (exit 77); exit 77; }; }; }
|
2893 | |
fi
|
2894 | |
|
2895 | 3147 |
ac_exeext=$ac_cv_exeext
|
2896 | |
|
2897 | |
# Check that the compiler produces executables we can run. If not, either
|
2898 | |
# the compiler is broken, or we cross compile.
|
2899 | |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2900 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2901 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2902 | |
# If not cross compiling, check that we can run a simple program.
|
2903 | |
if test "$cross_compiling" != yes; then
|
2904 | |
if { ac_try='./$ac_file'
|
2905 | |
{ (case "(($ac_try" in
|
2906 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2907 | |
*) ac_try_echo=$ac_try;;
|
2908 | |
esac
|
2909 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2910 | |
$as_echo "$ac_try_echo") >&5
|
2911 | |
(eval "$ac_try") 2>&5
|
2912 | |
ac_status=$?
|
2913 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2914 | |
(exit $ac_status); }; }; then
|
2915 | |
cross_compiling=no
|
2916 | |
else
|
2917 | |
if test "$cross_compiling" = maybe; then
|
2918 | |
cross_compiling=yes
|
2919 | |
else
|
2920 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
2921 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2922 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2923 | |
If you meant to cross compile, use \`--host'.
|
2924 | |
See \`config.log' for more details." >&5
|
2925 | |
$as_echo "$as_me: error: cannot run C compiled programs.
|
2926 | |
If you meant to cross compile, use \`--host'.
|
2927 | |
See \`config.log' for more details." >&2;}
|
2928 | |
{ (exit 1); exit 1; }; }; }
|
2929 | |
fi
|
2930 | |
fi
|
2931 | |
fi
|
2932 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
2933 | |
$as_echo "yes" >&6; }
|
2934 | 3148 |
|
2935 | 3149 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2936 | 3150 |
ac_clean_files=$ac_clean_files_save
|
2937 | |
# Check that the compiler produces executables we can run. If not, either
|
2938 | |
# the compiler is broken, or we cross compile.
|
2939 | |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2940 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
2941 | |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2942 | |
$as_echo "$cross_compiling" >&6; }
|
2943 | |
|
2944 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
3151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2945 | 3152 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2946 | |
if { (ac_try="$ac_link"
|
|
3153 |
if { { ac_try="$ac_link"
|
2947 | 3154 |
case "(($ac_try" in
|
2948 | 3155 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2949 | 3156 |
*) ac_try_echo=$ac_try;;
|
2950 | 3157 |
esac
|
2951 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2952 | |
$as_echo "$ac_try_echo") >&5
|
|
3158 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3159 |
$as_echo "$ac_try_echo"; } >&5
|
2953 | 3160 |
(eval "$ac_link") 2>&5
|
2954 | 3161 |
ac_status=$?
|
2955 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2956 | |
(exit $ac_status); }; then
|
|
3162 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3163 |
test $ac_status = 0; }; then :
|
2957 | 3164 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2958 | 3165 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2959 | 3166 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2968 | 3175 |
esac
|
2969 | 3176 |
done
|
2970 | 3177 |
else
|
2971 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3178 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2972 | 3179 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2973 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2974 | |
See \`config.log' for more details." >&5
|
2975 | |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2976 | |
See \`config.log' for more details." >&2;}
|
2977 | |
{ (exit 1); exit 1; }; }; }
|
2978 | |
fi
|
2979 | |
|
2980 | |
rm -f conftest$ac_cv_exeext
|
2981 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
3180 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
|
3181 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3182 |
fi
|
|
3183 |
rm -f conftest conftest$ac_cv_exeext
|
|
3184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2982 | 3185 |
$as_echo "$ac_cv_exeext" >&6; }
|
2983 | 3186 |
|
2984 | 3187 |
rm -f conftest.$ac_ext
|
2985 | 3188 |
EXEEXT=$ac_cv_exeext
|
2986 | 3189 |
ac_exeext=$EXEEXT
|
2987 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2988 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2989 | |
if test "${ac_cv_objext+set}" = set; then
|
2990 | |
$as_echo_n "(cached) " >&6
|
2991 | |
else
|
2992 | |
cat >conftest.$ac_ext <<_ACEOF
|
2993 | |
/* confdefs.h. */
|
2994 | |
_ACEOF
|
2995 | |
cat confdefs.h >>conftest.$ac_ext
|
2996 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3190 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2997 | 3191 |
/* end confdefs.h. */
|
2998 | |
|
|
3192 |
#include <stdio.h>
|
2999 | 3193 |
int
|
3000 | 3194 |
main ()
|
3001 | 3195 |
{
|
|
3196 |
FILE *f = fopen ("conftest.out", "w");
|
|
3197 |
return ferror (f) || fclose (f) != 0;
|
3002 | 3198 |
|
3003 | 3199 |
;
|
3004 | 3200 |
return 0;
|
3005 | 3201 |
}
|
3006 | 3202 |
_ACEOF
|
3007 | |
rm -f conftest.o conftest.obj
|
3008 | |
if { (ac_try="$ac_compile"
|
|
3203 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3204 |
# Check that the compiler produces executables we can run. If not, either
|
|
3205 |
# the compiler is broken, or we cross compile.
|
|
3206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3207 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3208 |
if test "$cross_compiling" != yes; then
|
|
3209 |
{ { ac_try="$ac_link"
|
3009 | 3210 |
case "(($ac_try" in
|
3010 | 3211 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3011 | 3212 |
*) ac_try_echo=$ac_try;;
|
3012 | 3213 |
esac
|
3013 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3014 | |
$as_echo "$ac_try_echo") >&5
|
|
3214 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3215 |
$as_echo "$ac_try_echo"; } >&5
|
|
3216 |
(eval "$ac_link") 2>&5
|
|
3217 |
ac_status=$?
|
|
3218 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3219 |
test $ac_status = 0; }
|
|
3220 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3221 |
{ { case "(($ac_try" in
|
|
3222 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3223 |
*) ac_try_echo=$ac_try;;
|
|
3224 |
esac
|
|
3225 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3226 |
$as_echo "$ac_try_echo"; } >&5
|
|
3227 |
(eval "$ac_try") 2>&5
|
|
3228 |
ac_status=$?
|
|
3229 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3230 |
test $ac_status = 0; }; }; then
|
|
3231 |
cross_compiling=no
|
|
3232 |
else
|
|
3233 |
if test "$cross_compiling" = maybe; then
|
|
3234 |
cross_compiling=yes
|
|
3235 |
else
|
|
3236 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3237 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3238 |
as_fn_error $? "cannot run C compiled programs.
|
|
3239 |
If you meant to cross compile, use \`--host'.
|
|
3240 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3241 |
fi
|
|
3242 |
fi
|
|
3243 |
fi
|
|
3244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3245 |
$as_echo "$cross_compiling" >&6; }
|
|
3246 |
|
|
3247 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3248 |
ac_clean_files=$ac_clean_files_save
|
|
3249 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3250 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3251 |
if ${ac_cv_objext+:} false; then :
|
|
3252 |
$as_echo_n "(cached) " >&6
|
|
3253 |
else
|
|
3254 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3255 |
/* end confdefs.h. */
|
|
3256 |
|
|
3257 |
int
|
|
3258 |
main ()
|
|
3259 |
{
|
|
3260 |
|
|
3261 |
;
|
|
3262 |
return 0;
|
|
3263 |
}
|
|
3264 |
_ACEOF
|
|
3265 |
rm -f conftest.o conftest.obj
|
|
3266 |
if { { ac_try="$ac_compile"
|
|
3267 |
case "(($ac_try" in
|
|
3268 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3269 |
*) ac_try_echo=$ac_try;;
|
|
3270 |
esac
|
|
3271 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3272 |
$as_echo "$ac_try_echo"; } >&5
|
3015 | 3273 |
(eval "$ac_compile") 2>&5
|
3016 | 3274 |
ac_status=$?
|
3017 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3018 | |
(exit $ac_status); }; then
|
|
3275 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3276 |
test $ac_status = 0; }; then :
|
3019 | 3277 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3020 | 3278 |
test -f "$ac_file" || continue;
|
3021 | 3279 |
case $ac_file in
|
|
3028 | 3286 |
$as_echo "$as_me: failed program was:" >&5
|
3029 | 3287 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3030 | 3288 |
|
3031 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3289 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3032 | 3290 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3033 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
3034 | |
See \`config.log' for more details." >&5
|
3035 | |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
3036 | |
See \`config.log' for more details." >&2;}
|
3037 | |
{ (exit 1); exit 1; }; }; }
|
3038 | |
fi
|
3039 | |
|
|
3291 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
|
3292 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3293 |
fi
|
3040 | 3294 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3041 | 3295 |
fi
|
3042 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
3296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3043 | 3297 |
$as_echo "$ac_cv_objext" >&6; }
|
3044 | 3298 |
OBJEXT=$ac_cv_objext
|
3045 | 3299 |
ac_objext=$OBJEXT
|
3046 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3047 | 3301 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3048 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
3302 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
3049 | 3303 |
$as_echo_n "(cached) " >&6
|
3050 | 3304 |
else
|
3051 | |
cat >conftest.$ac_ext <<_ACEOF
|
3052 | |
/* confdefs.h. */
|
3053 | |
_ACEOF
|
3054 | |
cat confdefs.h >>conftest.$ac_ext
|
3055 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3305 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3056 | 3306 |
/* end confdefs.h. */
|
3057 | 3307 |
|
3058 | 3308 |
int
|
|
3066 | 3316 |
return 0;
|
3067 | 3317 |
}
|
3068 | 3318 |
_ACEOF
|
3069 | |
rm -f conftest.$ac_objext
|
3070 | |
if { (ac_try="$ac_compile"
|
3071 | |
case "(($ac_try" in
|
3072 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3073 | |
*) ac_try_echo=$ac_try;;
|
3074 | |
esac
|
3075 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3076 | |
$as_echo "$ac_try_echo") >&5
|
3077 | |
(eval "$ac_compile") 2>conftest.er1
|
3078 | |
ac_status=$?
|
3079 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3080 | |
rm -f conftest.er1
|
3081 | |
cat conftest.err >&5
|
3082 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3083 | |
(exit $ac_status); } && {
|
3084 | |
test -z "$ac_c_werror_flag" ||
|
3085 | |
test ! -s conftest.err
|
3086 | |
} && test -s conftest.$ac_objext; then
|
|
3319 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3087 | 3320 |
ac_compiler_gnu=yes
|
3088 | 3321 |
else
|
3089 | |
$as_echo "$as_me: failed program was:" >&5
|
3090 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3091 | |
|
3092 | |
ac_compiler_gnu=no
|
3093 | |
fi
|
3094 | |
|
|
3322 |
ac_compiler_gnu=no
|
|
3323 |
fi
|
3095 | 3324 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3096 | 3325 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3097 | 3326 |
|
3098 | 3327 |
fi
|
3099 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3328 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
3100 | 3329 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
3101 | 3330 |
if test $ac_compiler_gnu = yes; then
|
3102 | 3331 |
GCC=yes
|
|
3105 | 3334 |
fi
|
3106 | 3335 |
ac_test_CFLAGS=${CFLAGS+set}
|
3107 | 3336 |
ac_save_CFLAGS=$CFLAGS
|
3108 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3109 | 3338 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3110 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3339 |
if ${ac_cv_prog_cc_g+:} false; then :
|
3111 | 3340 |
$as_echo_n "(cached) " >&6
|
3112 | 3341 |
else
|
3113 | 3342 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3114 | 3343 |
ac_c_werror_flag=yes
|
3115 | 3344 |
ac_cv_prog_cc_g=no
|
3116 | 3345 |
CFLAGS="-g"
|
3117 | |
cat >conftest.$ac_ext <<_ACEOF
|
3118 | |
/* confdefs.h. */
|
3119 | |
_ACEOF
|
3120 | |
cat confdefs.h >>conftest.$ac_ext
|
3121 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3346 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3122 | 3347 |
/* end confdefs.h. */
|
3123 | 3348 |
|
3124 | 3349 |
int
|
|
3129 | 3354 |
return 0;
|
3130 | 3355 |
}
|
3131 | 3356 |
_ACEOF
|
3132 | |
rm -f conftest.$ac_objext
|
3133 | |
if { (ac_try="$ac_compile"
|
3134 | |
case "(($ac_try" in
|
3135 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3136 | |
*) ac_try_echo=$ac_try;;
|
3137 | |
esac
|
3138 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3139 | |
$as_echo "$ac_try_echo") >&5
|
3140 | |
(eval "$ac_compile") 2>conftest.er1
|
3141 | |
ac_status=$?
|
3142 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3143 | |
rm -f conftest.er1
|
3144 | |
cat conftest.err >&5
|
3145 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3146 | |
(exit $ac_status); } && {
|
3147 | |
test -z "$ac_c_werror_flag" ||
|
3148 | |
test ! -s conftest.err
|
3149 | |
} && test -s conftest.$ac_objext; then
|
|
3357 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3150 | 3358 |
ac_cv_prog_cc_g=yes
|
3151 | 3359 |
else
|
3152 | |
$as_echo "$as_me: failed program was:" >&5
|
3153 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3154 | |
|
3155 | |
CFLAGS=""
|
3156 | |
cat >conftest.$ac_ext <<_ACEOF
|
3157 | |
/* confdefs.h. */
|
3158 | |
_ACEOF
|
3159 | |
cat confdefs.h >>conftest.$ac_ext
|
3160 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3360 |
CFLAGS=""
|
|
3361 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3161 | 3362 |
/* end confdefs.h. */
|
3162 | 3363 |
|
3163 | 3364 |
int
|
|
3168 | 3369 |
return 0;
|
3169 | 3370 |
}
|
3170 | 3371 |
_ACEOF
|
3171 | |
rm -f conftest.$ac_objext
|
3172 | |
if { (ac_try="$ac_compile"
|
3173 | |
case "(($ac_try" in
|
3174 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3175 | |
*) ac_try_echo=$ac_try;;
|
3176 | |
esac
|
3177 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3178 | |
$as_echo "$ac_try_echo") >&5
|
3179 | |
(eval "$ac_compile") 2>conftest.er1
|
3180 | |
ac_status=$?
|
3181 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3182 | |
rm -f conftest.er1
|
3183 | |
cat conftest.err >&5
|
3184 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3185 | |
(exit $ac_status); } && {
|
3186 | |
test -z "$ac_c_werror_flag" ||
|
3187 | |
test ! -s conftest.err
|
3188 | |
} && test -s conftest.$ac_objext; then
|
3189 | |
:
|
3190 | |
else
|
3191 | |
$as_echo "$as_me: failed program was:" >&5
|
3192 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3193 | |
|
3194 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3372 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3373 |
|
|
3374 |
else
|
|
3375 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3195 | 3376 |
CFLAGS="-g"
|
3196 | |
cat >conftest.$ac_ext <<_ACEOF
|
3197 | |
/* confdefs.h. */
|
3198 | |
_ACEOF
|
3199 | |
cat confdefs.h >>conftest.$ac_ext
|
3200 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3377 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3201 | 3378 |
/* end confdefs.h. */
|
3202 | 3379 |
|
3203 | 3380 |
int
|
|
3208 | 3385 |
return 0;
|
3209 | 3386 |
}
|
3210 | 3387 |
_ACEOF
|
3211 | |
rm -f conftest.$ac_objext
|
3212 | |
if { (ac_try="$ac_compile"
|
3213 | |
case "(($ac_try" in
|
3214 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3215 | |
*) ac_try_echo=$ac_try;;
|
3216 | |
esac
|
3217 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3218 | |
$as_echo "$ac_try_echo") >&5
|
3219 | |
(eval "$ac_compile") 2>conftest.er1
|
3220 | |
ac_status=$?
|
3221 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3222 | |
rm -f conftest.er1
|
3223 | |
cat conftest.err >&5
|
3224 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3225 | |
(exit $ac_status); } && {
|
3226 | |
test -z "$ac_c_werror_flag" ||
|
3227 | |
test ! -s conftest.err
|
3228 | |
} && test -s conftest.$ac_objext; then
|
|
3388 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3229 | 3389 |
ac_cv_prog_cc_g=yes
|
3230 | |
else
|
3231 | |
$as_echo "$as_me: failed program was:" >&5
|
3232 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3233 | |
|
3234 | |
|
3235 | |
fi
|
3236 | |
|
|
3390 |
fi
|
3237 | 3391 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3238 | 3392 |
fi
|
3239 | |
|
3240 | 3393 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3241 | 3394 |
fi
|
3242 | |
|
3243 | 3395 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3244 | 3396 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3245 | 3397 |
fi
|
3246 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3247 | 3399 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3248 | 3400 |
if test "$ac_test_CFLAGS" = set; then
|
3249 | 3401 |
CFLAGS=$ac_save_CFLAGS
|
|
3260 | 3412 |
CFLAGS=
|
3261 | 3413 |
fi
|
3262 | 3414 |
fi
|
3263 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3415 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3264 | 3416 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3265 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3417 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
3266 | 3418 |
$as_echo_n "(cached) " >&6
|
3267 | 3419 |
else
|
3268 | 3420 |
ac_cv_prog_cc_c89=no
|
3269 | 3421 |
ac_save_CC=$CC
|
3270 | |
cat >conftest.$ac_ext <<_ACEOF
|
3271 | |
/* confdefs.h. */
|
3272 | |
_ACEOF
|
3273 | |
cat confdefs.h >>conftest.$ac_ext
|
3274 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3422 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3275 | 3423 |
/* end confdefs.h. */
|
3276 | 3424 |
#include <stdarg.h>
|
3277 | 3425 |
#include <stdio.h>
|
3278 | |
#include <sys/types.h>
|
3279 | |
#include <sys/stat.h>
|
|
3426 |
struct stat;
|
3280 | 3427 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3281 | 3428 |
struct buf { int x; };
|
3282 | 3429 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3328 | 3475 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3329 | 3476 |
do
|
3330 | 3477 |
CC="$ac_save_CC $ac_arg"
|
3331 | |
rm -f conftest.$ac_objext
|
3332 | |
if { (ac_try="$ac_compile"
|
3333 | |
case "(($ac_try" in
|
3334 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3335 | |
*) ac_try_echo=$ac_try;;
|
3336 | |
esac
|
3337 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3338 | |
$as_echo "$ac_try_echo") >&5
|
3339 | |
(eval "$ac_compile") 2>conftest.er1
|
3340 | |
ac_status=$?
|
3341 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3342 | |
rm -f conftest.er1
|
3343 | |
cat conftest.err >&5
|
3344 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3345 | |
(exit $ac_status); } && {
|
3346 | |
test -z "$ac_c_werror_flag" ||
|
3347 | |
test ! -s conftest.err
|
3348 | |
} && test -s conftest.$ac_objext; then
|
|
3478 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3349 | 3479 |
ac_cv_prog_cc_c89=$ac_arg
|
3350 | |
else
|
3351 | |
$as_echo "$as_me: failed program was:" >&5
|
3352 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3353 | |
|
3354 | |
|
3355 | |
fi
|
3356 | |
|
|
3480 |
fi
|
3357 | 3481 |
rm -f core conftest.err conftest.$ac_objext
|
3358 | 3482 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3359 | 3483 |
done
|
|
3364 | 3488 |
# AC_CACHE_VAL
|
3365 | 3489 |
case "x$ac_cv_prog_cc_c89" in
|
3366 | 3490 |
x)
|
3367 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3368 | 3492 |
$as_echo "none needed" >&6; } ;;
|
3369 | 3493 |
xno)
|
3370 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3371 | 3495 |
$as_echo "unsupported" >&6; } ;;
|
3372 | 3496 |
*)
|
3373 | 3497 |
CC="$CC $ac_cv_prog_cc_c89"
|
3374 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3375 | 3499 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3376 | 3500 |
esac
|
3377 | |
|
|
3501 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3502 |
|
|
3503 |
fi
|
3378 | 3504 |
|
3379 | 3505 |
ac_ext=c
|
3380 | 3506 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3393 | 3519 |
.PHONY: am__doit
|
3394 | 3520 |
END
|
3395 | 3521 |
# If we don't find an include directive, just comment out the code.
|
3396 | |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
3397 | 3523 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3398 | 3524 |
am__include="#"
|
3399 | 3525 |
am__quote=
|
|
3421 | 3547 |
fi
|
3422 | 3548 |
|
3423 | 3549 |
|
3424 | |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
3425 | 3551 |
$as_echo "$_am_result" >&6; }
|
3426 | 3552 |
rm -f confinc confmf
|
3427 | 3553 |
|
3428 | 3554 |
# Check whether --enable-dependency-tracking was given.
|
3429 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
3555 |
if test "${enable_dependency_tracking+set}" = set; then :
|
3430 | 3556 |
enableval=$enable_dependency_tracking;
|
3431 | 3557 |
fi
|
3432 | 3558 |
|
|
3449 | 3575 |
|
3450 | 3576 |
depcc="$CC" am_compiler_list=
|
3451 | 3577 |
|
3452 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3453 | 3579 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3454 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3580 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
3455 | 3581 |
$as_echo_n "(cached) " >&6
|
3456 | 3582 |
else
|
3457 | 3583 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3539 | 3665 |
fi
|
3540 | 3666 |
|
3541 | 3667 |
fi
|
3542 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3543 | 3669 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3544 | 3670 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3545 | 3671 |
|
|
3570 | 3696 |
do
|
3571 | 3697 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3572 | 3698 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3573 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3574 | 3700 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3575 | |
if test "${ac_cv_prog_CXX+set}" = set; then
|
|
3701 |
if ${ac_cv_prog_CXX+:} false; then :
|
3576 | 3702 |
$as_echo_n "(cached) " >&6
|
3577 | 3703 |
else
|
3578 | 3704 |
if test -n "$CXX"; then
|
|
3583 | 3709 |
do
|
3584 | 3710 |
IFS=$as_save_IFS
|
3585 | 3711 |
test -z "$as_dir" && as_dir=.
|
3586 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3587 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3712 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3713 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3588 | 3714 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
3589 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3715 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3590 | 3716 |
break 2
|
3591 | 3717 |
fi
|
3592 | 3718 |
done
|
3593 | |
done
|
|
3719 |
done
|
3594 | 3720 |
IFS=$as_save_IFS
|
3595 | 3721 |
|
3596 | 3722 |
fi
|
3597 | 3723 |
fi
|
3598 | 3724 |
CXX=$ac_cv_prog_CXX
|
3599 | 3725 |
if test -n "$CXX"; then
|
3600 | |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
|
3726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
3601 | 3727 |
$as_echo "$CXX" >&6; }
|
3602 | 3728 |
else
|
3603 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3604 | 3730 |
$as_echo "no" >&6; }
|
3605 | 3731 |
fi
|
3606 | 3732 |
|
|
3614 | 3740 |
do
|
3615 | 3741 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3616 | 3742 |
set dummy $ac_prog; ac_word=$2
|
3617 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3618 | 3744 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3619 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
|
3745 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
3620 | 3746 |
$as_echo_n "(cached) " >&6
|
3621 | 3747 |
else
|
3622 | 3748 |
if test -n "$ac_ct_CXX"; then
|
|
3627 | 3753 |
do
|
3628 | 3754 |
IFS=$as_save_IFS
|
3629 | 3755 |
test -z "$as_dir" && as_dir=.
|
3630 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3631 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3756 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3757 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3632 | 3758 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
3633 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3759 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3634 | 3760 |
break 2
|
3635 | 3761 |
fi
|
3636 | 3762 |
done
|
3637 | |
done
|
|
3763 |
done
|
3638 | 3764 |
IFS=$as_save_IFS
|
3639 | 3765 |
|
3640 | 3766 |
fi
|
3641 | 3767 |
fi
|
3642 | 3768 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
3643 | 3769 |
if test -n "$ac_ct_CXX"; then
|
3644 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
|
3770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
3645 | 3771 |
$as_echo "$ac_ct_CXX" >&6; }
|
3646 | 3772 |
else
|
3647 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3648 | 3774 |
$as_echo "no" >&6; }
|
3649 | 3775 |
fi
|
3650 | 3776 |
|
|
3657 | 3783 |
else
|
3658 | 3784 |
case $cross_compiling:$ac_tool_warned in
|
3659 | 3785 |
yes:)
|
3660 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3786 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3661 | 3787 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3662 | 3788 |
ac_tool_warned=yes ;;
|
3663 | 3789 |
esac
|
|
3668 | 3794 |
fi
|
3669 | 3795 |
fi
|
3670 | 3796 |
# Provide some information about the compiler.
|
3671 | |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
|
3797 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
3672 | 3798 |
set X $ac_compile
|
3673 | 3799 |
ac_compiler=$2
|
3674 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3800 |
for ac_option in --version -v -V -qversion; do
|
|
3801 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3675 | 3802 |
case "(($ac_try" in
|
3676 | 3803 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3677 | 3804 |
*) ac_try_echo=$ac_try;;
|
3678 | 3805 |
esac
|
3679 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3680 | |
$as_echo "$ac_try_echo") >&5
|
3681 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3806 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3807 |
$as_echo "$ac_try_echo"; } >&5
|
|
3808 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3682 | 3809 |
ac_status=$?
|
3683 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3684 | |
(exit $ac_status); }
|
3685 | |
{ (ac_try="$ac_compiler -v >&5"
|
3686 | |
case "(($ac_try" in
|
3687 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3688 | |
*) ac_try_echo=$ac_try;;
|
3689 | |
esac
|
3690 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3691 | |
$as_echo "$ac_try_echo") >&5
|
3692 | |
(eval "$ac_compiler -v >&5") 2>&5
|
3693 | |
ac_status=$?
|
3694 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3695 | |
(exit $ac_status); }
|
3696 | |
{ (ac_try="$ac_compiler -V >&5"
|
3697 | |
case "(($ac_try" in
|
3698 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3699 | |
*) ac_try_echo=$ac_try;;
|
3700 | |
esac
|
3701 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3702 | |
$as_echo "$ac_try_echo") >&5
|
3703 | |
(eval "$ac_compiler -V >&5") 2>&5
|
3704 | |
ac_status=$?
|
3705 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3706 | |
(exit $ac_status); }
|
3707 | |
|
3708 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
|
3810 |
if test -s conftest.err; then
|
|
3811 |
sed '10a\
|
|
3812 |
... rest of stderr output deleted ...
|
|
3813 |
10q' conftest.err >conftest.er1
|
|
3814 |
cat conftest.er1 >&5
|
|
3815 |
fi
|
|
3816 |
rm -f conftest.er1 conftest.err
|
|
3817 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3818 |
test $ac_status = 0; }
|
|
3819 |
done
|
|
3820 |
|
|
3821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
3709 | 3822 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
3710 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
|
3823 |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
3711 | 3824 |
$as_echo_n "(cached) " >&6
|
3712 | 3825 |
else
|
3713 | |
cat >conftest.$ac_ext <<_ACEOF
|
3714 | |
/* confdefs.h. */
|
3715 | |
_ACEOF
|
3716 | |
cat confdefs.h >>conftest.$ac_ext
|
3717 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3826 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3718 | 3827 |
/* end confdefs.h. */
|
3719 | 3828 |
|
3720 | 3829 |
int
|
|
3728 | 3837 |
return 0;
|
3729 | 3838 |
}
|
3730 | 3839 |
_ACEOF
|
3731 | |
rm -f conftest.$ac_objext
|
3732 | |
if { (ac_try="$ac_compile"
|
3733 | |
case "(($ac_try" in
|
3734 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3735 | |
*) ac_try_echo=$ac_try;;
|
3736 | |
esac
|
3737 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3738 | |
$as_echo "$ac_try_echo") >&5
|
3739 | |
(eval "$ac_compile") 2>conftest.er1
|
3740 | |
ac_status=$?
|
3741 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3742 | |
rm -f conftest.er1
|
3743 | |
cat conftest.err >&5
|
3744 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3745 | |
(exit $ac_status); } && {
|
3746 | |
test -z "$ac_cxx_werror_flag" ||
|
3747 | |
test ! -s conftest.err
|
3748 | |
} && test -s conftest.$ac_objext; then
|
|
3840 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3749 | 3841 |
ac_compiler_gnu=yes
|
3750 | 3842 |
else
|
3751 | |
$as_echo "$as_me: failed program was:" >&5
|
3752 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3753 | |
|
3754 | |
ac_compiler_gnu=no
|
3755 | |
fi
|
3756 | |
|
|
3843 |
ac_compiler_gnu=no
|
|
3844 |
fi
|
3757 | 3845 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3758 | 3846 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
3759 | 3847 |
|
3760 | 3848 |
fi
|
3761 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
3849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
3762 | 3850 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
3763 | 3851 |
if test $ac_compiler_gnu = yes; then
|
3764 | 3852 |
GXX=yes
|
|
3767 | 3855 |
fi
|
3768 | 3856 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
3769 | 3857 |
ac_save_CXXFLAGS=$CXXFLAGS
|
3770 | |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
|
3858 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
3771 | 3859 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
3772 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
|
3860 |
if ${ac_cv_prog_cxx_g+:} false; then :
|
3773 | 3861 |
$as_echo_n "(cached) " >&6
|
3774 | 3862 |
else
|
3775 | 3863 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
3776 | 3864 |
ac_cxx_werror_flag=yes
|
3777 | 3865 |
ac_cv_prog_cxx_g=no
|
3778 | 3866 |
CXXFLAGS="-g"
|
3779 | |
cat >conftest.$ac_ext <<_ACEOF
|
3780 | |
/* confdefs.h. */
|
3781 | |
_ACEOF
|
3782 | |
cat confdefs.h >>conftest.$ac_ext
|
3783 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3867 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3784 | 3868 |
/* end confdefs.h. */
|
3785 | 3869 |
|
3786 | 3870 |
int
|
|
3791 | 3875 |
return 0;
|
3792 | 3876 |
}
|
3793 | 3877 |
_ACEOF
|
3794 | |
rm -f conftest.$ac_objext
|
3795 | |
if { (ac_try="$ac_compile"
|
3796 | |
case "(($ac_try" in
|
3797 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3798 | |
*) ac_try_echo=$ac_try;;
|
3799 | |
esac
|
3800 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3801 | |
$as_echo "$ac_try_echo") >&5
|
3802 | |
(eval "$ac_compile") 2>conftest.er1
|
3803 | |
ac_status=$?
|
3804 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3805 | |
rm -f conftest.er1
|
3806 | |
cat conftest.err >&5
|
3807 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3808 | |
(exit $ac_status); } && {
|
3809 | |
test -z "$ac_cxx_werror_flag" ||
|
3810 | |
test ! -s conftest.err
|
3811 | |
} && test -s conftest.$ac_objext; then
|
|
3878 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3812 | 3879 |
ac_cv_prog_cxx_g=yes
|
3813 | 3880 |
else
|
3814 | |
$as_echo "$as_me: failed program was:" >&5
|
3815 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3816 | |
|
3817 | |
CXXFLAGS=""
|
3818 | |
cat >conftest.$ac_ext <<_ACEOF
|
3819 | |
/* confdefs.h. */
|
3820 | |
_ACEOF
|
3821 | |
cat confdefs.h >>conftest.$ac_ext
|
3822 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3881 |
CXXFLAGS=""
|
|
3882 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3823 | 3883 |
/* end confdefs.h. */
|
3824 | 3884 |
|
3825 | 3885 |
int
|
|
3830 | 3890 |
return 0;
|
3831 | 3891 |
}
|
3832 | 3892 |
_ACEOF
|
3833 | |
rm -f conftest.$ac_objext
|
3834 | |
if { (ac_try="$ac_compile"
|
3835 | |
case "(($ac_try" in
|
3836 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3837 | |
*) ac_try_echo=$ac_try;;
|
3838 | |
esac
|
3839 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3840 | |
$as_echo "$ac_try_echo") >&5
|
3841 | |
(eval "$ac_compile") 2>conftest.er1
|
3842 | |
ac_status=$?
|
3843 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3844 | |
rm -f conftest.er1
|
3845 | |
cat conftest.err >&5
|
3846 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3847 | |
(exit $ac_status); } && {
|
3848 | |
test -z "$ac_cxx_werror_flag" ||
|
3849 | |
test ! -s conftest.err
|
3850 | |
} && test -s conftest.$ac_objext; then
|
3851 | |
:
|
3852 | |
else
|
3853 | |
$as_echo "$as_me: failed program was:" >&5
|
3854 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3855 | |
|
3856 | |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
3893 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
3894 |
|
|
3895 |
else
|
|
3896 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3857 | 3897 |
CXXFLAGS="-g"
|
3858 | |
cat >conftest.$ac_ext <<_ACEOF
|
3859 | |
/* confdefs.h. */
|
3860 | |
_ACEOF
|
3861 | |
cat confdefs.h >>conftest.$ac_ext
|
3862 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3898 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3863 | 3899 |
/* end confdefs.h. */
|
3864 | 3900 |
|
3865 | 3901 |
int
|
|
3870 | 3906 |
return 0;
|
3871 | 3907 |
}
|
3872 | 3908 |
_ACEOF
|
3873 | |
rm -f conftest.$ac_objext
|
3874 | |
if { (ac_try="$ac_compile"
|
3875 | |
case "(($ac_try" in
|
3876 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3877 | |
*) ac_try_echo=$ac_try;;
|
3878 | |
esac
|
3879 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3880 | |
$as_echo "$ac_try_echo") >&5
|
3881 | |
(eval "$ac_compile") 2>conftest.er1
|
3882 | |
ac_status=$?
|
3883 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3884 | |
rm -f conftest.er1
|
3885 | |
cat conftest.err >&5
|
3886 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3887 | |
(exit $ac_status); } && {
|
3888 | |
test -z "$ac_cxx_werror_flag" ||
|
3889 | |
test ! -s conftest.err
|
3890 | |
} && test -s conftest.$ac_objext; then
|
|
3909 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3891 | 3910 |
ac_cv_prog_cxx_g=yes
|
3892 | |
else
|
3893 | |
$as_echo "$as_me: failed program was:" >&5
|
3894 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3895 | |
|
3896 | |
|
3897 | |
fi
|
3898 | |
|
|
3911 |
fi
|
3899 | 3912 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3900 | 3913 |
fi
|
3901 | |
|
3902 | 3914 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3903 | 3915 |
fi
|
3904 | |
|
3905 | 3916 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3906 | 3917 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3907 | 3918 |
fi
|
3908 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
|
3919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
3909 | 3920 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
3910 | 3921 |
if test "$ac_test_CXXFLAGS" = set; then
|
3911 | 3922 |
CXXFLAGS=$ac_save_CXXFLAGS
|
|
3930 | 3941 |
|
3931 | 3942 |
depcc="$CXX" am_compiler_list=
|
3932 | 3943 |
|
3933 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3934 | 3945 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3935 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
|
3946 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
3936 | 3947 |
$as_echo_n "(cached) " >&6
|
3937 | 3948 |
else
|
3938 | 3949 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
4020 | 4031 |
fi
|
4021 | 4032 |
|
4022 | 4033 |
fi
|
4023 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
4034 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
4024 | 4035 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
4025 | 4036 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
4026 | 4037 |
|
|
4041 | 4052 |
if test -n "$ac_tool_prefix"; then
|
4042 | 4053 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
4043 | 4054 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
4044 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4055 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4045 | 4056 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4046 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
4057 |
if ${ac_cv_prog_RANLIB+:} false; then :
|
4047 | 4058 |
$as_echo_n "(cached) " >&6
|
4048 | 4059 |
else
|
4049 | 4060 |
if test -n "$RANLIB"; then
|
|
4054 | 4065 |
do
|
4055 | 4066 |
IFS=$as_save_IFS
|
4056 | 4067 |
test -z "$as_dir" && as_dir=.
|
4057 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4058 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4068 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4069 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4059 | 4070 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
4060 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4071 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4061 | 4072 |
break 2
|
4062 | 4073 |
fi
|
4063 | 4074 |
done
|
4064 | |
done
|
|
4075 |
done
|
4065 | 4076 |
IFS=$as_save_IFS
|
4066 | 4077 |
|
4067 | 4078 |
fi
|
4068 | 4079 |
fi
|
4069 | 4080 |
RANLIB=$ac_cv_prog_RANLIB
|
4070 | 4081 |
if test -n "$RANLIB"; then
|
4071 | |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
4082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
4072 | 4083 |
$as_echo "$RANLIB" >&6; }
|
4073 | 4084 |
else
|
4074 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4085 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4075 | 4086 |
$as_echo "no" >&6; }
|
4076 | 4087 |
fi
|
4077 | 4088 |
|
|
4081 | 4092 |
ac_ct_RANLIB=$RANLIB
|
4082 | 4093 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
4083 | 4094 |
set dummy ranlib; ac_word=$2
|
4084 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4095 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4085 | 4096 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4086 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
4097 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
4087 | 4098 |
$as_echo_n "(cached) " >&6
|
4088 | 4099 |
else
|
4089 | 4100 |
if test -n "$ac_ct_RANLIB"; then
|
|
4094 | 4105 |
do
|
4095 | 4106 |
IFS=$as_save_IFS
|
4096 | 4107 |
test -z "$as_dir" && as_dir=.
|
4097 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4098 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4108 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4109 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4099 | 4110 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
4100 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4111 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4101 | 4112 |
break 2
|
4102 | 4113 |
fi
|
4103 | 4114 |
done
|
4104 | |
done
|
|
4115 |
done
|
4105 | 4116 |
IFS=$as_save_IFS
|
4106 | 4117 |
|
4107 | 4118 |
fi
|
4108 | 4119 |
fi
|
4109 | 4120 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
4110 | 4121 |
if test -n "$ac_ct_RANLIB"; then
|
4111 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
4122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
4112 | 4123 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
4113 | 4124 |
else
|
4114 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4115 | 4126 |
$as_echo "no" >&6; }
|
4116 | 4127 |
fi
|
4117 | 4128 |
|
|
4120 | 4131 |
else
|
4121 | 4132 |
case $cross_compiling:$ac_tool_warned in
|
4122 | 4133 |
yes:)
|
4123 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4124 | 4135 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4125 | 4136 |
ac_tool_warned=yes ;;
|
4126 | 4137 |
esac
|
|
4137 | 4148 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4138 | 4149 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4139 | 4150 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4140 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
4151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
4141 | 4152 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
4142 | 4153 |
# On Suns, sometimes $CPP names a directory.
|
4143 | 4154 |
if test -n "$CPP" && test -d "$CPP"; then
|
4144 | 4155 |
CPP=
|
4145 | 4156 |
fi
|
4146 | 4157 |
if test -z "$CPP"; then
|
4147 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
4158 |
if ${ac_cv_prog_CPP+:} false; then :
|
4148 | 4159 |
$as_echo_n "(cached) " >&6
|
4149 | 4160 |
else
|
4150 | 4161 |
# Double quotes because CPP needs to be expanded
|
|
4159 | 4170 |
# <limits.h> exists even on freestanding compilers.
|
4160 | 4171 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4161 | 4172 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4162 | |
cat >conftest.$ac_ext <<_ACEOF
|
4163 | |
/* confdefs.h. */
|
4164 | |
_ACEOF
|
4165 | |
cat confdefs.h >>conftest.$ac_ext
|
4166 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4173 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4167 | 4174 |
/* end confdefs.h. */
|
4168 | 4175 |
#ifdef __STDC__
|
4169 | 4176 |
# include <limits.h>
|
|
4172 | 4179 |
#endif
|
4173 | 4180 |
Syntax error
|
4174 | 4181 |
_ACEOF
|
4175 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4176 | |
case "(($ac_try" in
|
4177 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4178 | |
*) ac_try_echo=$ac_try;;
|
4179 | |
esac
|
4180 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4181 | |
$as_echo "$ac_try_echo") >&5
|
4182 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4183 | |
ac_status=$?
|
4184 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4185 | |
rm -f conftest.er1
|
4186 | |
cat conftest.err >&5
|
4187 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4188 | |
(exit $ac_status); } >/dev/null && {
|
4189 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4190 | |
test ! -s conftest.err
|
4191 | |
}; then
|
4192 | |
:
|
4193 | |
else
|
4194 | |
$as_echo "$as_me: failed program was:" >&5
|
4195 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4196 | |
|
|
4182 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4183 |
|
|
4184 |
else
|
4197 | 4185 |
# Broken: fails on valid input.
|
4198 | 4186 |
continue
|
4199 | 4187 |
fi
|
4200 | |
|
4201 | |
rm -f conftest.err conftest.$ac_ext
|
|
4188 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4202 | 4189 |
|
4203 | 4190 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4204 | 4191 |
# can be detected and how.
|
4205 | |
cat >conftest.$ac_ext <<_ACEOF
|
4206 | |
/* confdefs.h. */
|
4207 | |
_ACEOF
|
4208 | |
cat confdefs.h >>conftest.$ac_ext
|
4209 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4192 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4210 | 4193 |
/* end confdefs.h. */
|
4211 | 4194 |
#include <ac_nonexistent.h>
|
4212 | 4195 |
_ACEOF
|
4213 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4214 | |
case "(($ac_try" in
|
4215 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4216 | |
*) ac_try_echo=$ac_try;;
|
4217 | |
esac
|
4218 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4219 | |
$as_echo "$ac_try_echo") >&5
|
4220 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4221 | |
ac_status=$?
|
4222 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4223 | |
rm -f conftest.er1
|
4224 | |
cat conftest.err >&5
|
4225 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4226 | |
(exit $ac_status); } >/dev/null && {
|
4227 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4228 | |
test ! -s conftest.err
|
4229 | |
}; then
|
|
4196 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4230 | 4197 |
# Broken: success on invalid input.
|
4231 | 4198 |
continue
|
4232 | 4199 |
else
|
4233 | |
$as_echo "$as_me: failed program was:" >&5
|
4234 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4235 | |
|
4236 | 4200 |
# Passes both tests.
|
4237 | 4201 |
ac_preproc_ok=:
|
4238 | 4202 |
break
|
4239 | 4203 |
fi
|
4240 | |
|
4241 | |
rm -f conftest.err conftest.$ac_ext
|
|
4204 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4242 | 4205 |
|
4243 | 4206 |
done
|
4244 | 4207 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4245 | |
rm -f conftest.err conftest.$ac_ext
|
4246 | |
if $ac_preproc_ok; then
|
|
4208 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
4209 |
if $ac_preproc_ok; then :
|
4247 | 4210 |
break
|
4248 | 4211 |
fi
|
4249 | 4212 |
|
|
4255 | 4218 |
else
|
4256 | 4219 |
ac_cv_prog_CPP=$CPP
|
4257 | 4220 |
fi
|
4258 | |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
4221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4259 | 4222 |
$as_echo "$CPP" >&6; }
|
4260 | 4223 |
ac_preproc_ok=false
|
4261 | 4224 |
for ac_c_preproc_warn_flag in '' yes
|
|
4266 | 4229 |
# <limits.h> exists even on freestanding compilers.
|
4267 | 4230 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4268 | 4231 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4269 | |
cat >conftest.$ac_ext <<_ACEOF
|
4270 | |
/* confdefs.h. */
|
4271 | |
_ACEOF
|
4272 | |
cat confdefs.h >>conftest.$ac_ext
|
4273 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4232 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4274 | 4233 |
/* end confdefs.h. */
|
4275 | 4234 |
#ifdef __STDC__
|
4276 | 4235 |
# include <limits.h>
|
|
4279 | 4238 |
#endif
|
4280 | 4239 |
Syntax error
|
4281 | 4240 |
_ACEOF
|
4282 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4283 | |
case "(($ac_try" in
|
4284 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4285 | |
*) ac_try_echo=$ac_try;;
|
4286 | |
esac
|
4287 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4288 | |
$as_echo "$ac_try_echo") >&5
|
4289 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4290 | |
ac_status=$?
|
4291 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4292 | |
rm -f conftest.er1
|
4293 | |
cat conftest.err >&5
|
4294 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4295 | |
(exit $ac_status); } >/dev/null && {
|
4296 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4297 | |
test ! -s conftest.err
|
4298 | |
}; then
|
4299 | |
:
|
4300 | |
else
|
4301 | |
$as_echo "$as_me: failed program was:" >&5
|
4302 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4303 | |
|
|
4241 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4242 |
|
|
4243 |
else
|
4304 | 4244 |
# Broken: fails on valid input.
|
4305 | 4245 |
continue
|
4306 | 4246 |
fi
|
4307 | |
|
4308 | |
rm -f conftest.err conftest.$ac_ext
|
|
4247 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4309 | 4248 |
|
4310 | 4249 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4311 | 4250 |
# can be detected and how.
|
4312 | |
cat >conftest.$ac_ext <<_ACEOF
|
4313 | |
/* confdefs.h. */
|
4314 | |
_ACEOF
|
4315 | |
cat confdefs.h >>conftest.$ac_ext
|
4316 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4251 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4317 | 4252 |
/* end confdefs.h. */
|
4318 | 4253 |
#include <ac_nonexistent.h>
|
4319 | 4254 |
_ACEOF
|
4320 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4321 | |
case "(($ac_try" in
|
4322 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4323 | |
*) ac_try_echo=$ac_try;;
|
4324 | |
esac
|
4325 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4326 | |
$as_echo "$ac_try_echo") >&5
|
4327 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4328 | |
ac_status=$?
|
4329 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4330 | |
rm -f conftest.er1
|
4331 | |
cat conftest.err >&5
|
4332 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4333 | |
(exit $ac_status); } >/dev/null && {
|
4334 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4335 | |
test ! -s conftest.err
|
4336 | |
}; then
|
|
4255 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4337 | 4256 |
# Broken: success on invalid input.
|
4338 | 4257 |
continue
|
4339 | 4258 |
else
|
4340 | |
$as_echo "$as_me: failed program was:" >&5
|
4341 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4342 | |
|
4343 | 4259 |
# Passes both tests.
|
4344 | 4260 |
ac_preproc_ok=:
|
4345 | 4261 |
break
|
4346 | 4262 |
fi
|
4347 | |
|
4348 | |
rm -f conftest.err conftest.$ac_ext
|
|
4263 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4349 | 4264 |
|
4350 | 4265 |
done
|
4351 | 4266 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4352 | |
rm -f conftest.err conftest.$ac_ext
|
4353 | |
if $ac_preproc_ok; then
|
4354 | |
:
|
4355 | |
else
|
4356 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
4267 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
4268 |
if $ac_preproc_ok; then :
|
|
4269 |
|
|
4270 |
else
|
|
4271 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4357 | 4272 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4358 | |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4359 | |
See \`config.log' for more details." >&5
|
4360 | |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4361 | |
See \`config.log' for more details." >&2;}
|
4362 | |
{ (exit 1); exit 1; }; }; }
|
|
4273 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
4274 |
See \`config.log' for more details" "$LINENO" 5; }
|
4363 | 4275 |
fi
|
4364 | 4276 |
|
4365 | 4277 |
ac_ext=c
|
|
4369 | 4281 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4370 | 4282 |
|
4371 | 4283 |
|
4372 | |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
4284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4373 | 4285 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4374 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
4286 |
if ${ac_cv_path_GREP+:} false; then :
|
4375 | 4287 |
$as_echo_n "(cached) " >&6
|
4376 | 4288 |
else
|
4377 | 4289 |
if test -z "$GREP"; then
|
|
4382 | 4294 |
do
|
4383 | 4295 |
IFS=$as_save_IFS
|
4384 | 4296 |
test -z "$as_dir" && as_dir=.
|
4385 | |
for ac_prog in grep ggrep; do
|
|
4297 |
for ac_prog in grep ggrep; do
|
4386 | 4298 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4387 | 4299 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4388 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
4300 |
as_fn_executable_p "$ac_path_GREP" || continue
|
4389 | 4301 |
# Check for GNU ac_path_GREP and select it if it is found.
|
4390 | 4302 |
# Check for GNU $ac_path_GREP
|
4391 | 4303 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
4402 | 4314 |
$as_echo 'GREP' >> "conftest.nl"
|
4403 | 4315 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4404 | 4316 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4405 | |
ac_count=`expr $ac_count + 1`
|
|
4317 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4406 | 4318 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4407 | 4319 |
# Best one so far, save it but keep looking for a better one
|
4408 | 4320 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
4417 | 4329 |
$ac_path_GREP_found && break 3
|
4418 | 4330 |
done
|
4419 | 4331 |
done
|
4420 | |
done
|
|
4332 |
done
|
4421 | 4333 |
IFS=$as_save_IFS
|
4422 | 4334 |
if test -z "$ac_cv_path_GREP"; then
|
4423 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4424 | |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4425 | |
{ (exit 1); exit 1; }; }
|
|
4335 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4426 | 4336 |
fi
|
4427 | 4337 |
else
|
4428 | 4338 |
ac_cv_path_GREP=$GREP
|
4429 | 4339 |
fi
|
4430 | 4340 |
|
4431 | 4341 |
fi
|
4432 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
4342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4433 | 4343 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
4434 | 4344 |
GREP="$ac_cv_path_GREP"
|
4435 | 4345 |
|
4436 | 4346 |
|
4437 | |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
|
4347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4438 | 4348 |
$as_echo_n "checking for egrep... " >&6; }
|
4439 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
4349 |
if ${ac_cv_path_EGREP+:} false; then :
|
4440 | 4350 |
$as_echo_n "(cached) " >&6
|
4441 | 4351 |
else
|
4442 | 4352 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4450 | 4360 |
do
|
4451 | 4361 |
IFS=$as_save_IFS
|
4452 | 4362 |
test -z "$as_dir" && as_dir=.
|
4453 | |
for ac_prog in egrep; do
|
|
4363 |
for ac_prog in egrep; do
|
4454 | 4364 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4455 | 4365 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4456 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
4366 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
4457 | 4367 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4458 | 4368 |
# Check for GNU $ac_path_EGREP
|
4459 | 4369 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
4470 | 4380 |
$as_echo 'EGREP' >> "conftest.nl"
|
4471 | 4381 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4472 | 4382 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4473 | |
ac_count=`expr $ac_count + 1`
|
|
4383 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4474 | 4384 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4475 | 4385 |
# Best one so far, save it but keep looking for a better one
|
4476 | 4386 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4485 | 4395 |
$ac_path_EGREP_found && break 3
|
4486 | 4396 |
done
|
4487 | 4397 |
done
|
4488 | |
done
|
|
4398 |
done
|
4489 | 4399 |
IFS=$as_save_IFS
|
4490 | 4400 |
if test -z "$ac_cv_path_EGREP"; then
|
4491 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4492 | |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4493 | |
{ (exit 1); exit 1; }; }
|
|
4401 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4494 | 4402 |
fi
|
4495 | 4403 |
else
|
4496 | 4404 |
ac_cv_path_EGREP=$EGREP
|
|
4498 | 4406 |
|
4499 | 4407 |
fi
|
4500 | 4408 |
fi
|
4501 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
4409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
4502 | 4410 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
4503 | 4411 |
EGREP="$ac_cv_path_EGREP"
|
4504 | 4412 |
|
4505 | 4413 |
|
4506 | |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
4414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
4507 | 4415 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
4508 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
4416 |
if ${ac_cv_header_stdc+:} false; then :
|
4509 | 4417 |
$as_echo_n "(cached) " >&6
|
4510 | 4418 |
else
|
4511 | |
cat >conftest.$ac_ext <<_ACEOF
|
4512 | |
/* confdefs.h. */
|
4513 | |
_ACEOF
|
4514 | |
cat confdefs.h >>conftest.$ac_ext
|
4515 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4419 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4516 | 4420 |
/* end confdefs.h. */
|
4517 | 4421 |
#include <stdlib.h>
|
4518 | 4422 |
#include <stdarg.h>
|
|
4527 | 4431 |
return 0;
|
4528 | 4432 |
}
|
4529 | 4433 |
_ACEOF
|
4530 | |
rm -f conftest.$ac_objext
|
4531 | |
if { (ac_try="$ac_compile"
|
4532 | |
case "(($ac_try" in
|
4533 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4534 | |
*) ac_try_echo=$ac_try;;
|
4535 | |
esac
|
4536 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4537 | |
$as_echo "$ac_try_echo") >&5
|
4538 | |
(eval "$ac_compile") 2>conftest.er1
|
4539 | |
ac_status=$?
|
4540 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4541 | |
rm -f conftest.er1
|
4542 | |
cat conftest.err >&5
|
4543 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4544 | |
(exit $ac_status); } && {
|
4545 | |
test -z "$ac_c_werror_flag" ||
|
4546 | |
test ! -s conftest.err
|
4547 | |
} && test -s conftest.$ac_objext; then
|
|
4434 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4548 | 4435 |
ac_cv_header_stdc=yes
|
4549 | 4436 |
else
|
4550 | |
$as_echo "$as_me: failed program was:" >&5
|
4551 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4552 | |
|
4553 | |
ac_cv_header_stdc=no
|
4554 | |
fi
|
4555 | |
|
|
4437 |
ac_cv_header_stdc=no
|
|
4438 |
fi
|
4556 | 4439 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4557 | 4440 |
|
4558 | 4441 |
if test $ac_cv_header_stdc = yes; then
|
4559 | 4442 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
4560 | |
cat >conftest.$ac_ext <<_ACEOF
|
4561 | |
/* confdefs.h. */
|
4562 | |
_ACEOF
|
4563 | |
cat confdefs.h >>conftest.$ac_ext
|
4564 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4443 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4565 | 4444 |
/* end confdefs.h. */
|
4566 | 4445 |
#include <string.h>
|
4567 | 4446 |
|
4568 | 4447 |
_ACEOF
|
4569 | 4448 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4570 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
4571 | |
:
|
|
4449 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
4450 |
|
4572 | 4451 |
else
|
4573 | 4452 |
ac_cv_header_stdc=no
|
4574 | 4453 |
fi
|
|
4578 | 4457 |
|
4579 | 4458 |
if test $ac_cv_header_stdc = yes; then
|
4580 | 4459 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4581 | |
cat >conftest.$ac_ext <<_ACEOF
|
4582 | |
/* confdefs.h. */
|
4583 | |
_ACEOF
|
4584 | |
cat confdefs.h >>conftest.$ac_ext
|
4585 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4460 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4586 | 4461 |
/* end confdefs.h. */
|
4587 | 4462 |
#include <stdlib.h>
|
4588 | 4463 |
|
4589 | 4464 |
_ACEOF
|
4590 | 4465 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4591 | |
$EGREP "free" >/dev/null 2>&1; then
|
4592 | |
:
|
|
4466 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
4467 |
|
4593 | 4468 |
else
|
4594 | 4469 |
ac_cv_header_stdc=no
|
4595 | 4470 |
fi
|
|
4599 | 4474 |
|
4600 | 4475 |
if test $ac_cv_header_stdc = yes; then
|
4601 | 4476 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
4602 | |
if test "$cross_compiling" = yes; then
|
|
4477 |
if test "$cross_compiling" = yes; then :
|
4603 | 4478 |
:
|
4604 | 4479 |
else
|
4605 | |
cat >conftest.$ac_ext <<_ACEOF
|
4606 | |
/* confdefs.h. */
|
4607 | |
_ACEOF
|
4608 | |
cat confdefs.h >>conftest.$ac_ext
|
4609 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4480 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4610 | 4481 |
/* end confdefs.h. */
|
4611 | 4482 |
#include <ctype.h>
|
4612 | 4483 |
#include <stdlib.h>
|
|
4633 | 4504 |
return 0;
|
4634 | 4505 |
}
|
4635 | 4506 |
_ACEOF
|
4636 | |
rm -f conftest$ac_exeext
|
4637 | |
if { (ac_try="$ac_link"
|
4638 | |
case "(($ac_try" in
|
4639 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4640 | |
*) ac_try_echo=$ac_try;;
|
4641 | |
esac
|
4642 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4643 | |
$as_echo "$ac_try_echo") >&5
|
4644 | |
(eval "$ac_link") 2>&5
|
4645 | |
ac_status=$?
|
4646 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4647 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4648 | |
{ (case "(($ac_try" in
|
4649 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4650 | |
*) ac_try_echo=$ac_try;;
|
4651 | |
esac
|
4652 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4653 | |
$as_echo "$ac_try_echo") >&5
|
4654 | |
(eval "$ac_try") 2>&5
|
4655 | |
ac_status=$?
|
4656 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4657 | |
(exit $ac_status); }; }; then
|
4658 | |
:
|
4659 | |
else
|
4660 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
4661 | |
$as_echo "$as_me: failed program was:" >&5
|
4662 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4663 | |
|
4664 | |
( exit $ac_status )
|
4665 | |
ac_cv_header_stdc=no
|
4666 | |
fi
|
4667 | |
rm -rf conftest.dSYM
|
4668 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4669 | |
fi
|
4670 | |
|
4671 | |
|
4672 | |
fi
|
4673 | |
fi
|
4674 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4507 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4508 |
|
|
4509 |
else
|
|
4510 |
ac_cv_header_stdc=no
|
|
4511 |
fi
|
|
4512 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4513 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4514 |
fi
|
|
4515 |
|
|
4516 |
fi
|
|
4517 |
fi
|
|
4518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4675 | 4519 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4676 | 4520 |
if test $ac_cv_header_stdc = yes; then
|
4677 | 4521 |
|
4678 | |
cat >>confdefs.h <<\_ACEOF
|
4679 | |
#define STDC_HEADERS 1
|
4680 | |
_ACEOF
|
4681 | |
|
4682 | |
fi
|
4683 | |
|
4684 | |
|
4685 | |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
4522 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
4523 |
|
|
4524 |
fi
|
|
4525 |
|
|
4526 |
|
|
4527 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
4686 | 4528 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
4687 | |
if test "${ac_cv_c_const+set}" = set; then
|
|
4529 |
if ${ac_cv_c_const+:} false; then :
|
4688 | 4530 |
$as_echo_n "(cached) " >&6
|
4689 | 4531 |
else
|
4690 | |
cat >conftest.$ac_ext <<_ACEOF
|
4691 | |
/* confdefs.h. */
|
4692 | |
_ACEOF
|
4693 | |
cat confdefs.h >>conftest.$ac_ext
|
4694 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4532 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4695 | 4533 |
/* end confdefs.h. */
|
4696 | 4534 |
|
4697 | 4535 |
int
|
4698 | 4536 |
main ()
|
4699 | 4537 |
{
|
4700 | |
/* FIXME: Include the comments suggested by Paul. */
|
|
4538 |
|
4701 | 4539 |
#ifndef __cplusplus
|
4702 | |
/* Ultrix mips cc rejects this. */
|
|
4540 |
/* Ultrix mips cc rejects this sort of thing. */
|
4703 | 4541 |
typedef int charset[2];
|
4704 | |
const charset cs;
|
|
4542 |
const charset cs = { 0, 0 };
|
4705 | 4543 |
/* SunOS 4.1.1 cc rejects this. */
|
4706 | 4544 |
char const *const *pcpcc;
|
4707 | 4545 |
char **ppc;
|
|
4718 | 4556 |
++pcpcc;
|
4719 | 4557 |
ppc = (char**) pcpcc;
|
4720 | 4558 |
pcpcc = (char const *const *) ppc;
|
4721 | |
{ /* SCO 3.2v4 cc rejects this. */
|
4722 | |
char *t;
|
|
4559 |
{ /* SCO 3.2v4 cc rejects this sort of thing. */
|
|
4560 |
char tx;
|
|
4561 |
char *t = &tx;
|
4723 | 4562 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
4724 | 4563 |
|
4725 | 4564 |
*t++ = 0;
|
|
4735 | 4574 |
iptr p = 0;
|
4736 | 4575 |
++p;
|
4737 | 4576 |
}
|
4738 | |
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
4577 |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
4739 | 4578 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
4740 | |
struct s { int j; const int *ap[3]; };
|
4741 | |
struct s *b; b->j = 5;
|
|
4579 |
struct s { int j; const int *ap[3]; } bx;
|
|
4580 |
struct s *b = &bx; b->j = 5;
|
4742 | 4581 |
}
|
4743 | 4582 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
4744 | 4583 |
const int foo = 10;
|
|
4751 | 4590 |
return 0;
|
4752 | 4591 |
}
|
4753 | 4592 |
_ACEOF
|
4754 | |
rm -f conftest.$ac_objext
|
4755 | |
if { (ac_try="$ac_compile"
|
4756 | |
case "(($ac_try" in
|
4757 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4758 | |
*) ac_try_echo=$ac_try;;
|
4759 | |
esac
|
4760 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4761 | |
$as_echo "$ac_try_echo") >&5
|
4762 | |
(eval "$ac_compile") 2>conftest.er1
|
4763 | |
ac_status=$?
|
4764 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4765 | |
rm -f conftest.er1
|
4766 | |
cat conftest.err >&5
|
4767 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4768 | |
(exit $ac_status); } && {
|
4769 | |
test -z "$ac_c_werror_flag" ||
|
4770 | |
test ! -s conftest.err
|
4771 | |
} && test -s conftest.$ac_objext; then
|
|
4593 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4772 | 4594 |
ac_cv_c_const=yes
|
4773 | 4595 |
else
|
4774 | |
$as_echo "$as_me: failed program was:" >&5
|
4775 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4776 | |
|
4777 | |
ac_cv_c_const=no
|
4778 | |
fi
|
4779 | |
|
|
4596 |
ac_cv_c_const=no
|
|
4597 |
fi
|
4780 | 4598 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4781 | 4599 |
fi
|
4782 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
4600 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
4783 | 4601 |
$as_echo "$ac_cv_c_const" >&6; }
|
4784 | 4602 |
if test $ac_cv_c_const = no; then
|
4785 | 4603 |
|
4786 | |
cat >>confdefs.h <<\_ACEOF
|
4787 | |
#define const /**/
|
4788 | |
_ACEOF
|
|
4604 |
$as_echo "#define const /**/" >>confdefs.h
|
4789 | 4605 |
|
4790 | 4606 |
fi
|
4791 | 4607 |
|
|
4813 | 4629 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
4814 | 4630 |
save_LIBS="$LIBS"
|
4815 | 4631 |
LIBS="$PTHREAD_LIBS $LIBS"
|
4816 | |
{ $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
|
|
4632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
|
4817 | 4633 |
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
|
4818 | |
cat >conftest.$ac_ext <<_ACEOF
|
4819 | |
/* confdefs.h. */
|
4820 | |
_ACEOF
|
4821 | |
cat confdefs.h >>conftest.$ac_ext
|
4822 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4634 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4823 | 4635 |
/* end confdefs.h. */
|
4824 | 4636 |
|
4825 | 4637 |
/* Override any GCC internal prototype to avoid an error.
|
|
4837 | 4649 |
return 0;
|
4838 | 4650 |
}
|
4839 | 4651 |
_ACEOF
|
4840 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4841 | |
if { (ac_try="$ac_link"
|
4842 | |
case "(($ac_try" in
|
4843 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4844 | |
*) ac_try_echo=$ac_try;;
|
4845 | |
esac
|
4846 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4847 | |
$as_echo "$ac_try_echo") >&5
|
4848 | |
(eval "$ac_link") 2>conftest.er1
|
4849 | |
ac_status=$?
|
4850 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4851 | |
rm -f conftest.er1
|
4852 | |
cat conftest.err >&5
|
4853 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4854 | |
(exit $ac_status); } && {
|
4855 | |
test -z "$ac_c_werror_flag" ||
|
4856 | |
test ! -s conftest.err
|
4857 | |
} && test -s conftest$ac_exeext && {
|
4858 | |
test "$cross_compiling" = yes ||
|
4859 | |
$as_test_x conftest$ac_exeext
|
4860 | |
}; then
|
|
4652 |
if ac_fn_c_try_link "$LINENO"; then :
|
4861 | 4653 |
acx_pthread_ok=yes
|
4862 | |
else
|
4863 | |
$as_echo "$as_me: failed program was:" >&5
|
4864 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4865 | |
|
4866 | |
|
4867 | |
fi
|
4868 | |
|
4869 | |
rm -rf conftest.dSYM
|
4870 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4871 | |
conftest$ac_exeext conftest.$ac_ext
|
4872 | |
{ $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
4654 |
fi
|
|
4655 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4656 |
conftest$ac_exeext conftest.$ac_ext
|
|
4657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
|
4873 | 4658 |
$as_echo "$acx_pthread_ok" >&6; }
|
4874 | 4659 |
if test x"$acx_pthread_ok" = xno; then
|
4875 | 4660 |
PTHREAD_LIBS=""
|
|
4931 | 4716 |
|
4932 | 4717 |
case $flag in
|
4933 | 4718 |
none)
|
4934 | |
{ $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
|
|
4719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
|
4935 | 4720 |
$as_echo_n "checking whether pthreads work without any flags... " >&6; }
|
4936 | 4721 |
;;
|
4937 | 4722 |
|
4938 | 4723 |
-*)
|
4939 | |
{ $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
|
|
4724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
|
4940 | 4725 |
$as_echo_n "checking whether pthreads work with $flag... " >&6; }
|
4941 | 4726 |
PTHREAD_CFLAGS="$flag"
|
4942 | 4727 |
;;
|
|
4944 | 4729 |
pthread-config)
|
4945 | 4730 |
# Extract the first word of "pthread-config", so it can be a program name with args.
|
4946 | 4731 |
set dummy pthread-config; ac_word=$2
|
4947 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4948 | 4733 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4949 | |
if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
|
|
4734 |
if ${ac_cv_prog_acx_pthread_config+:} false; then :
|
4950 | 4735 |
$as_echo_n "(cached) " >&6
|
4951 | 4736 |
else
|
4952 | 4737 |
if test -n "$acx_pthread_config"; then
|
|
4957 | 4742 |
do
|
4958 | 4743 |
IFS=$as_save_IFS
|
4959 | 4744 |
test -z "$as_dir" && as_dir=.
|
4960 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4961 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4745 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4746 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4962 | 4747 |
ac_cv_prog_acx_pthread_config="yes"
|
4963 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4748 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4964 | 4749 |
break 2
|
4965 | 4750 |
fi
|
4966 | 4751 |
done
|
4967 | |
done
|
|
4752 |
done
|
4968 | 4753 |
IFS=$as_save_IFS
|
4969 | 4754 |
|
4970 | 4755 |
test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
|
|
4972 | 4757 |
fi
|
4973 | 4758 |
acx_pthread_config=$ac_cv_prog_acx_pthread_config
|
4974 | 4759 |
if test -n "$acx_pthread_config"; then
|
4975 | |
{ $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
|
|
4760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
|
4976 | 4761 |
$as_echo "$acx_pthread_config" >&6; }
|
4977 | 4762 |
else
|
4978 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4763 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4979 | 4764 |
$as_echo "no" >&6; }
|
4980 | 4765 |
fi
|
4981 | 4766 |
|
|
4986 | 4771 |
;;
|
4987 | 4772 |
|
4988 | 4773 |
*)
|
4989 | |
{ $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
|
|
4774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
|
4990 | 4775 |
$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
|
4991 | 4776 |
PTHREAD_LIBS="-l$flag"
|
4992 | 4777 |
;;
|
|
5006 | 4791 |
# pthread_cleanup_push because it is one of the few pthread
|
5007 | 4792 |
# functions on Solaris that doesn't have a non-functional libc stub.
|
5008 | 4793 |
# We try pthread_create on general principles.
|
5009 | |
cat >conftest.$ac_ext <<_ACEOF
|
5010 | |
/* confdefs.h. */
|
5011 | |
_ACEOF
|
5012 | |
cat confdefs.h >>conftest.$ac_ext
|
5013 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4794 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5014 | 4795 |
/* end confdefs.h. */
|
5015 | 4796 |
#include <pthread.h>
|
5016 | 4797 |
int
|
|
5023 | 4804 |
return 0;
|
5024 | 4805 |
}
|
5025 | 4806 |
_ACEOF
|
5026 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5027 | |
if { (ac_try="$ac_link"
|
5028 | |
case "(($ac_try" in
|
5029 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5030 | |
*) ac_try_echo=$ac_try;;
|
5031 | |
esac
|
5032 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5033 | |
$as_echo "$ac_try_echo") >&5
|
5034 | |
(eval "$ac_link") 2>conftest.er1
|
5035 | |
ac_status=$?
|
5036 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5037 | |
rm -f conftest.er1
|
5038 | |
cat conftest.err >&5
|
5039 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5040 | |
(exit $ac_status); } && {
|
5041 | |
test -z "$ac_c_werror_flag" ||
|
5042 | |
test ! -s conftest.err
|
5043 | |
} && test -s conftest$ac_exeext && {
|
5044 | |
test "$cross_compiling" = yes ||
|
5045 | |
$as_test_x conftest$ac_exeext
|
5046 | |
}; then
|
|
4807 |
if ac_fn_c_try_link "$LINENO"; then :
|
5047 | 4808 |
acx_pthread_ok=yes
|
5048 | |
else
|
5049 | |
$as_echo "$as_me: failed program was:" >&5
|
5050 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5051 | |
|
5052 | |
|
5053 | |
fi
|
5054 | |
|
5055 | |
rm -rf conftest.dSYM
|
5056 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5057 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4809 |
fi
|
|
4810 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4811 |
conftest$ac_exeext conftest.$ac_ext
|
5058 | 4812 |
|
5059 | 4813 |
LIBS="$save_LIBS"
|
5060 | 4814 |
CFLAGS="$save_CFLAGS"
|
5061 | 4815 |
|
5062 | |
{ $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
4816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
|
5063 | 4817 |
$as_echo "$acx_pthread_ok" >&6; }
|
5064 | 4818 |
if test "x$acx_pthread_ok" = xyes; then
|
5065 | 4819 |
break;
|
|
5078 | 4832 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
5079 | 4833 |
|
5080 | 4834 |
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
|
5081 | |
{ $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
|
|
4835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
|
5082 | 4836 |
$as_echo_n "checking for joinable pthread attribute... " >&6; }
|
5083 | 4837 |
attr_name=unknown
|
5084 | 4838 |
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
|
5085 | |
cat >conftest.$ac_ext <<_ACEOF
|
5086 | |
/* confdefs.h. */
|
5087 | |
_ACEOF
|
5088 | |
cat confdefs.h >>conftest.$ac_ext
|
5089 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4839 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5090 | 4840 |
/* end confdefs.h. */
|
5091 | 4841 |
#include <pthread.h>
|
5092 | 4842 |
int
|
|
5097 | 4847 |
return 0;
|
5098 | 4848 |
}
|
5099 | 4849 |
_ACEOF
|
5100 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5101 | |
if { (ac_try="$ac_link"
|
5102 | |
case "(($ac_try" in
|
5103 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5104 | |
*) ac_try_echo=$ac_try;;
|
5105 | |
esac
|
5106 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5107 | |
$as_echo "$ac_try_echo") >&5
|
5108 | |
(eval "$ac_link") 2>conftest.er1
|
5109 | |
ac_status=$?
|
5110 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5111 | |
rm -f conftest.er1
|
5112 | |
cat conftest.err >&5
|
5113 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5114 | |
(exit $ac_status); } && {
|
5115 | |
test -z "$ac_c_werror_flag" ||
|
5116 | |
test ! -s conftest.err
|
5117 | |
} && test -s conftest$ac_exeext && {
|
5118 | |
test "$cross_compiling" = yes ||
|
5119 | |
$as_test_x conftest$ac_exeext
|
5120 | |
}; then
|
|
4850 |
if ac_fn_c_try_link "$LINENO"; then :
|
5121 | 4851 |
attr_name=$attr; break
|
5122 | |
else
|
5123 | |
$as_echo "$as_me: failed program was:" >&5
|
5124 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5125 | |
|
5126 | |
|
5127 | |
fi
|
5128 | |
|
5129 | |
rm -rf conftest.dSYM
|
5130 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5131 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4852 |
fi
|
|
4853 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4854 |
conftest$ac_exeext conftest.$ac_ext
|
5132 | 4855 |
done
|
5133 | |
{ $as_echo "$as_me:$LINENO: result: $attr_name" >&5
|
|
4856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
|
5134 | 4857 |
$as_echo "$attr_name" >&6; }
|
5135 | 4858 |
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
|
5136 | 4859 |
|
|
5140 | 4863 |
|
5141 | 4864 |
fi
|
5142 | 4865 |
|
5143 | |
{ $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
|
|
4866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
|
5144 | 4867 |
$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
|
5145 | 4868 |
flag=no
|
5146 | 4869 |
case "${host_cpu}-${host_os}" in
|
5147 | 4870 |
*-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
|
5148 | 4871 |
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
|
5149 | 4872 |
esac
|
5150 | |
{ $as_echo "$as_me:$LINENO: result: ${flag}" >&5
|
|
4873 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
|
5151 | 4874 |
$as_echo "${flag}" >&6; }
|
5152 | 4875 |
if test "x$flag" != xno; then
|
5153 | 4876 |
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
|
5159 | 4882 |
# More AIX lossage: must compile with cc_r
|
5160 | 4883 |
# Extract the first word of "cc_r", so it can be a program name with args.
|
5161 | 4884 |
set dummy cc_r; ac_word=$2
|
5162 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5163 | 4886 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5164 | |
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
|
|
4887 |
if ${ac_cv_prog_PTHREAD_CC+:} false; then :
|
5165 | 4888 |
$as_echo_n "(cached) " >&6
|
5166 | 4889 |
else
|
5167 | 4890 |
if test -n "$PTHREAD_CC"; then
|
|
5172 | 4895 |
do
|
5173 | 4896 |
IFS=$as_save_IFS
|
5174 | 4897 |
test -z "$as_dir" && as_dir=.
|
5175 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5176 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4898 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4899 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5177 | 4900 |
ac_cv_prog_PTHREAD_CC="cc_r"
|
5178 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4901 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5179 | 4902 |
break 2
|
5180 | 4903 |
fi
|
5181 | 4904 |
done
|
5182 | |
done
|
|
4905 |
done
|
5183 | 4906 |
IFS=$as_save_IFS
|
5184 | 4907 |
|
5185 | 4908 |
test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
|
|
5187 | 4910 |
fi
|
5188 | 4911 |
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
|
5189 | 4912 |
if test -n "$PTHREAD_CC"; then
|
5190 | |
{ $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
|
|
4913 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
|
5191 | 4914 |
$as_echo "$PTHREAD_CC" >&6; }
|
5192 | 4915 |
else
|
5193 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4916 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5194 | 4917 |
$as_echo "no" >&6; }
|
5195 | 4918 |
fi
|
5196 | 4919 |
|
|
5220 | 4943 |
|
5221 | 4944 |
|
5222 | 4945 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
5223 | |
|
5224 | |
|
5225 | |
|
5226 | |
|
5227 | |
|
5228 | |
|
5229 | |
|
5230 | |
|
5231 | |
|
5232 | 4946 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
5233 | 4947 |
inttypes.h stdint.h unistd.h
|
5234 | |
do
|
5235 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5236 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5237 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
5238 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5239 | |
$as_echo_n "(cached) " >&6
|
5240 | |
else
|
5241 | |
cat >conftest.$ac_ext <<_ACEOF
|
5242 | |
/* confdefs.h. */
|
5243 | |
_ACEOF
|
5244 | |
cat confdefs.h >>conftest.$ac_ext
|
5245 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5246 | |
/* end confdefs.h. */
|
5247 | |
$ac_includes_default
|
5248 | |
|
5249 | |
#include <$ac_header>
|
5250 | |
_ACEOF
|
5251 | |
rm -f conftest.$ac_objext
|
5252 | |
if { (ac_try="$ac_compile"
|
5253 | |
case "(($ac_try" in
|
5254 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5255 | |
*) ac_try_echo=$ac_try;;
|
5256 | |
esac
|
5257 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5258 | |
$as_echo "$ac_try_echo") >&5
|
5259 | |
(eval "$ac_compile") 2>conftest.er1
|
5260 | |
ac_status=$?
|
5261 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5262 | |
rm -f conftest.er1
|
5263 | |
cat conftest.err >&5
|
5264 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5265 | |
(exit $ac_status); } && {
|
5266 | |
test -z "$ac_c_werror_flag" ||
|
5267 | |
test ! -s conftest.err
|
5268 | |
} && test -s conftest.$ac_objext; then
|
5269 | |
eval "$as_ac_Header=yes"
|
5270 | |
else
|
5271 | |
$as_echo "$as_me: failed program was:" >&5
|
5272 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5273 | |
|
5274 | |
eval "$as_ac_Header=no"
|
5275 | |
fi
|
5276 | |
|
5277 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5278 | |
fi
|
5279 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
5280 | |
$as_echo "$as_val"'`
|
5281 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
5282 | |
$as_echo "$ac_res" >&6; }
|
5283 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
5284 | |
$as_echo "$as_val"'`
|
5285 | |
if test "x$as_val" = x""yes; then
|
|
4948 |
do :
|
|
4949 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4950 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4951 |
"
|
|
4952 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
5286 | 4953 |
cat >>confdefs.h <<_ACEOF
|
5287 | 4954 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5288 | 4955 |
_ACEOF
|
|
5292 | 4959 |
done
|
5293 | 4960 |
|
5294 | 4961 |
|
5295 | |
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
|
5296 | |
{ $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
|
5297 | |
$as_echo_n "checking for openssl/ssl.h... " >&6; }
|
5298 | |
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
|
5299 | |
$as_echo_n "(cached) " >&6
|
5300 | |
fi
|
5301 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
|
5302 | |
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
|
5303 | |
else
|
5304 | |
# Is the header compilable?
|
5305 | |
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
|
5306 | |
$as_echo_n "checking openssl/ssl.h usability... " >&6; }
|
5307 | |
cat >conftest.$ac_ext <<_ACEOF
|
5308 | |
/* confdefs.h. */
|
5309 | |
_ACEOF
|
5310 | |
cat confdefs.h >>conftest.$ac_ext
|
5311 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5312 | |
/* end confdefs.h. */
|
5313 | |
$ac_includes_default
|
5314 | |
#include <openssl/ssl.h>
|
5315 | |
_ACEOF
|
5316 | |
rm -f conftest.$ac_objext
|
5317 | |
if { (ac_try="$ac_compile"
|
5318 | |
case "(($ac_try" in
|
5319 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5320 | |
*) ac_try_echo=$ac_try;;
|
5321 | |
esac
|
5322 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5323 | |
$as_echo "$ac_try_echo") >&5
|
5324 | |
(eval "$ac_compile") 2>conftest.er1
|
5325 | |
ac_status=$?
|
5326 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5327 | |
rm -f conftest.er1
|
5328 | |
cat conftest.err >&5
|
5329 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5330 | |
(exit $ac_status); } && {
|
5331 | |
test -z "$ac_c_werror_flag" ||
|
5332 | |
test ! -s conftest.err
|
5333 | |
} && test -s conftest.$ac_objext; then
|
5334 | |
ac_header_compiler=yes
|
5335 | |
else
|
5336 | |
$as_echo "$as_me: failed program was:" >&5
|
5337 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5338 | |
|
5339 | |
ac_header_compiler=no
|
5340 | |
fi
|
5341 | |
|
5342 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5343 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5344 | |
$as_echo "$ac_header_compiler" >&6; }
|
5345 | |
|
5346 | |
# Is the header present?
|
5347 | |
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
|
5348 | |
$as_echo_n "checking openssl/ssl.h presence... " >&6; }
|
5349 | |
cat >conftest.$ac_ext <<_ACEOF
|
5350 | |
/* confdefs.h. */
|
5351 | |
_ACEOF
|
5352 | |
cat confdefs.h >>conftest.$ac_ext
|
5353 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5354 | |
/* end confdefs.h. */
|
5355 | |
#include <openssl/ssl.h>
|
5356 | |
_ACEOF
|
5357 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5358 | |
case "(($ac_try" in
|
5359 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5360 | |
*) ac_try_echo=$ac_try;;
|
5361 | |
esac
|
5362 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5363 | |
$as_echo "$ac_try_echo") >&5
|
5364 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5365 | |
ac_status=$?
|
5366 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5367 | |
rm -f conftest.er1
|
5368 | |
cat conftest.err >&5
|
5369 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5370 | |
(exit $ac_status); } >/dev/null && {
|
5371 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
5372 | |
test ! -s conftest.err
|
5373 | |
}; then
|
5374 | |
ac_header_preproc=yes
|
5375 | |
else
|
5376 | |
$as_echo "$as_me: failed program was:" >&5
|
5377 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5378 | |
|
5379 | |
ac_header_preproc=no
|
5380 | |
fi
|
5381 | |
|
5382 | |
rm -f conftest.err conftest.$ac_ext
|
5383 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5384 | |
$as_echo "$ac_header_preproc" >&6; }
|
5385 | |
|
5386 | |
# So? What about this header?
|
5387 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
5388 | |
yes:no: )
|
5389 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
5390 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5391 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
|
5392 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
|
5393 | |
ac_header_preproc=yes
|
5394 | |
;;
|
5395 | |
no:yes:* )
|
5396 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
|
5397 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
|
5398 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
|
5399 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
|
5400 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
|
5401 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
|
5402 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
|
5403 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
5404 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
|
5405 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
|
5406 | |
{ $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
|
5407 | |
$as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
|
5408 | |
|
5409 | |
;;
|
5410 | |
esac
|
5411 | |
{ $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
|
5412 | |
$as_echo_n "checking for openssl/ssl.h... " >&6; }
|
5413 | |
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
|
5414 | |
$as_echo_n "(cached) " >&6
|
5415 | |
else
|
5416 | |
ac_cv_header_openssl_ssl_h=$ac_header_preproc
|
5417 | |
fi
|
5418 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
|
5419 | |
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
|
5420 | |
|
5421 | |
fi
|
5422 | |
if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then
|
|
4962 |
ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
|
|
4963 |
if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
|
5423 | 4964 |
CFLAGS="$CFLAGS -DSOCK_SSL" LIBS="$LIBS -lssl"
|
5424 | 4965 |
fi
|
5425 | 4966 |
|
|
5430 | 4971 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
5431 | 4972 |
CC="$PTHREAD_CC"
|
5432 | 4973 |
else
|
5433 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find pthreads" >&5
|
5434 | |
$as_echo "$as_me: error: cannot find pthreads" >&2;}
|
5435 | |
{ (exit 1); exit 1; }; }
|
5436 | |
fi
|
5437 | |
|
5438 | |
|
5439 | |
{ $as_echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
|
|
4974 |
as_fn_error $? "cannot find pthreads" "$LINENO" 5
|
|
4975 |
fi
|
|
4976 |
|
|
4977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
|
5440 | 4978 |
$as_echo_n "checking for glBegin in -lGL... " >&6; }
|
5441 | |
if test "${ac_cv_lib_GL_glBegin+set}" = set; then
|
|
4979 |
if ${ac_cv_lib_GL_glBegin+:} false; then :
|
5442 | 4980 |
$as_echo_n "(cached) " >&6
|
5443 | 4981 |
else
|
5444 | 4982 |
ac_check_lib_save_LIBS=$LIBS
|
5445 | 4983 |
LIBS="-lGL $LIBS"
|
5446 | |
cat >conftest.$ac_ext <<_ACEOF
|
5447 | |
/* confdefs.h. */
|
5448 | |
_ACEOF
|
5449 | |
cat confdefs.h >>conftest.$ac_ext
|
5450 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4984 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5451 | 4985 |
/* end confdefs.h. */
|
5452 | 4986 |
|
5453 | 4987 |
/* Override any GCC internal prototype to avoid an error.
|
|
5465 | 4999 |
return 0;
|
5466 | 5000 |
}
|
5467 | 5001 |
_ACEOF
|
5468 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5469 | |
if { (ac_try="$ac_link"
|
5470 | |
case "(($ac_try" in
|
5471 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5472 | |
*) ac_try_echo=$ac_try;;
|
5473 | |
esac
|
5474 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5475 | |
$as_echo "$ac_try_echo") >&5
|
5476 | |
(eval "$ac_link") 2>conftest.er1
|
5477 | |
ac_status=$?
|
5478 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5479 | |
rm -f conftest.er1
|
5480 | |
cat conftest.err >&5
|
5481 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5482 | |
(exit $ac_status); } && {
|
5483 | |
test -z "$ac_c_werror_flag" ||
|
5484 | |
test ! -s conftest.err
|
5485 | |
} && test -s conftest$ac_exeext && {
|
5486 | |
test "$cross_compiling" = yes ||
|
5487 | |
$as_test_x conftest$ac_exeext
|
5488 | |
}; then
|
|
5002 |
if ac_fn_c_try_link "$LINENO"; then :
|
5489 | 5003 |
ac_cv_lib_GL_glBegin=yes
|
5490 | 5004 |
else
|
5491 | |
$as_echo "$as_me: failed program was:" >&5
|
5492 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5493 | |
|
5494 | |
ac_cv_lib_GL_glBegin=no
|
5495 | |
fi
|
5496 | |
|
5497 | |
rm -rf conftest.dSYM
|
5498 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5499 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5005 |
ac_cv_lib_GL_glBegin=no
|
|
5006 |
fi
|
|
5007 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5008 |
conftest$ac_exeext conftest.$ac_ext
|
5500 | 5009 |
LIBS=$ac_check_lib_save_LIBS
|
5501 | 5010 |
fi
|
5502 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
|
|
5011 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
|
5503 | 5012 |
$as_echo "$ac_cv_lib_GL_glBegin" >&6; }
|
5504 | |
if test "x$ac_cv_lib_GL_glBegin" = x""yes; then
|
|
5013 |
if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
|
5505 | 5014 |
cat >>confdefs.h <<_ACEOF
|
5506 | 5015 |
#define HAVE_LIBGL 1
|
5507 | 5016 |
_ACEOF
|
|
5509 | 5018 |
LIBS="-lGL $LIBS"
|
5510 | 5019 |
|
5511 | 5020 |
else
|
5512 | |
{ { $as_echo "$as_me:$LINENO: error: Error! You do not have OpenGL
|
5513 | |
installed. You will not be able to play this game." >&5
|
5514 | |
$as_echo "$as_me: error: Error! You do not have OpenGL
|
5515 | |
installed. You will not be able to play this game." >&2;}
|
5516 | |
{ (exit 1); exit 1; }; }
|
5517 | |
fi
|
5518 | |
|
5519 | |
|
5520 | |
|
5521 | |
{ $as_echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
|
|
5021 |
as_fn_error $? "Error! You do not have OpenGL
|
|
5022 |
installed. You will not be able to play this game." "$LINENO" 5
|
|
5023 |
fi
|
|
5024 |
|
|
5025 |
|
|
5026 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
|
5522 | 5027 |
$as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
|
5523 | |
if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
|
|
5028 |
if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
|
5524 | 5029 |
$as_echo_n "(cached) " >&6
|
5525 | 5030 |
else
|
5526 | 5031 |
ac_check_lib_save_LIBS=$LIBS
|
5527 | 5032 |
LIBS="-lGLU $LIBS"
|
5528 | |
cat >conftest.$ac_ext <<_ACEOF
|
5529 | |
/* confdefs.h. */
|
5530 | |
_ACEOF
|
5531 | |
cat confdefs.h >>conftest.$ac_ext
|
5532 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5033 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5533 | 5034 |
/* end confdefs.h. */
|
5534 | 5035 |
|
5535 | 5036 |
/* Override any GCC internal prototype to avoid an error.
|
|
5547 | 5048 |
return 0;
|
5548 | 5049 |
}
|
5549 | 5050 |
_ACEOF
|
5550 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5551 | |
if { (ac_try="$ac_link"
|
5552 | |
case "(($ac_try" in
|
5553 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5554 | |
*) ac_try_echo=$ac_try;;
|
5555 | |
esac
|
5556 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5557 | |
$as_echo "$ac_try_echo") >&5
|
5558 | |
(eval "$ac_link") 2>conftest.er1
|
5559 | |
ac_status=$?
|
5560 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5561 | |
rm -f conftest.er1
|
5562 | |
cat conftest.err >&5
|
5563 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5564 | |
(exit $ac_status); } && {
|
5565 | |
test -z "$ac_c_werror_flag" ||
|
5566 | |
test ! -s conftest.err
|
5567 | |
} && test -s conftest$ac_exeext && {
|
5568 | |
test "$cross_compiling" = yes ||
|
5569 | |
$as_test_x conftest$ac_exeext
|
5570 | |
}; then
|
|
5051 |
if ac_fn_c_try_link "$LINENO"; then :
|
5571 | 5052 |
ac_cv_lib_GLU_gluLookAt=yes
|
5572 | 5053 |
else
|
5573 | |
$as_echo "$as_me: failed program was:" >&5
|
5574 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5575 | |
|
5576 | |
ac_cv_lib_GLU_gluLookAt=no
|
5577 | |
fi
|
5578 | |
|
5579 | |
rm -rf conftest.dSYM
|
5580 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5581 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5054 |
ac_cv_lib_GLU_gluLookAt=no
|
|
5055 |
fi
|
|
5056 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5057 |
conftest$ac_exeext conftest.$ac_ext
|
5582 | 5058 |
LIBS=$ac_check_lib_save_LIBS
|
5583 | 5059 |
fi
|
5584 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
|
|
5060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
|
5585 | 5061 |
$as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
|
5586 | |
if test "x$ac_cv_lib_GLU_gluLookAt" = x""yes; then
|
|
5062 |
if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
|
5587 | 5063 |
cat >>confdefs.h <<_ACEOF
|
5588 | 5064 |
#define HAVE_LIBGLU 1
|
5589 | 5065 |
_ACEOF
|
|
5591 | 5067 |
LIBS="-lGLU $LIBS"
|
5592 | 5068 |
|
5593 | 5069 |
else
|
5594 | |
{ { $as_echo "$as_me:$LINENO: error: Error! You do not have OpenGL
|
5595 | |
installed. You will not be able to play this game." >&5
|
5596 | |
$as_echo "$as_me: error: Error! You do not have OpenGL
|
5597 | |
installed. You will not be able to play this game." >&2;}
|
5598 | |
{ (exit 1); exit 1; }; }
|
|
5070 |
as_fn_error $? "Error! You do not have OpenGL
|
|
5071 |
installed. You will not be able to play this game." "$LINENO" 5
|
5599 | 5072 |
fi
|
5600 | 5073 |
|
5601 | 5074 |
|
|
5606 | 5079 |
# AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont],, AC_MSG_ERROR([Error! You need SDL_ttf.
|
5607 | 5080 |
# Check out http://www.libsdl.org/projects/SDL_ttf/ for more info.]))
|
5608 | 5081 |
|
5609 | |
|
5610 | |
{ $as_echo "$as_me:$LINENO: checking for IMG_Load in -lSDL_image" >&5
|
|
5082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMG_Load in -lSDL_image" >&5
|
5611 | 5083 |
$as_echo_n "checking for IMG_Load in -lSDL_image... " >&6; }
|
5612 | |
if test "${ac_cv_lib_SDL_image_IMG_Load+set}" = set; then
|
|
5084 |
if ${ac_cv_lib_SDL_image_IMG_Load+:} false; then :
|
5613 | 5085 |
$as_echo_n "(cached) " >&6
|
5614 | 5086 |
else
|
5615 | 5087 |
ac_check_lib_save_LIBS=$LIBS
|
5616 | 5088 |
LIBS="-lSDL_image $LIBS"
|
5617 | |
cat >conftest.$ac_ext <<_ACEOF
|
5618 | |
/* confdefs.h. */
|
5619 | |
_ACEOF
|
5620 | |
cat confdefs.h >>conftest.$ac_ext
|
5621 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5089 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5622 | 5090 |
/* end confdefs.h. */
|
5623 | 5091 |
|
5624 | 5092 |
/* Override any GCC internal prototype to avoid an error.
|
|
5636 | 5104 |
return 0;
|
5637 | 5105 |
}
|
5638 | 5106 |
_ACEOF
|
5639 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5640 | |
if { (ac_try="$ac_link"
|
5641 | |
case "(($ac_try" in
|
5642 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5643 | |
*) ac_try_echo=$ac_try;;
|
5644 | |
esac
|
5645 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5646 | |
$as_echo "$ac_try_echo") >&5
|
5647 | |
(eval "$ac_link") 2>conftest.er1
|
5648 | |
ac_status=$?
|
5649 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5650 | |
rm -f conftest.er1
|
5651 | |
cat conftest.err >&5
|
5652 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5653 | |
(exit $ac_status); } && {
|
5654 | |
test -z "$ac_c_werror_flag" ||
|
5655 | |
test ! -s conftest.err
|
5656 | |
} && test -s conftest$ac_exeext && {
|
5657 | |
test "$cross_compiling" = yes ||
|
5658 | |
$as_test_x conftest$ac_exeext
|
5659 | |
}; then
|
|
5107 |
if ac_fn_c_try_link "$LINENO"; then :
|
5660 | 5108 |
ac_cv_lib_SDL_image_IMG_Load=yes
|
5661 | 5109 |
else
|
5662 | |
$as_echo "$as_me: failed program was:" >&5
|
5663 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5664 | |
|
5665 | |
ac_cv_lib_SDL_image_IMG_Load=no
|
5666 | |
fi
|
5667 | |
|
5668 | |
rm -rf conftest.dSYM
|
5669 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5670 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5110 |
ac_cv_lib_SDL_image_IMG_Load=no
|
|
5111 |
fi
|
|
5112 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5113 |
conftest$ac_exeext conftest.$ac_ext
|
5671 | 5114 |
LIBS=$ac_check_lib_save_LIBS
|
5672 | 5115 |
fi
|
5673 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_Load" >&5
|
|
5116 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_IMG_Load" >&5
|
5674 | 5117 |
$as_echo "$ac_cv_lib_SDL_image_IMG_Load" >&6; }
|
5675 | |
if test "x$ac_cv_lib_SDL_image_IMG_Load" = x""yes; then
|
|
5118 |
if test "x$ac_cv_lib_SDL_image_IMG_Load" = xyes; then :
|
5676 | 5119 |
cat >>confdefs.h <<_ACEOF
|
5677 | 5120 |
#define HAVE_LIBSDL_IMAGE 1
|
5678 | 5121 |
_ACEOF
|
|
5680 | 5123 |
LIBS="-lSDL_image $LIBS"
|
5681 | 5124 |
|
5682 | 5125 |
else
|
5683 | |
{ { $as_echo "$as_me:$LINENO: error: SDL_image not found!" >&5
|
5684 | |
$as_echo "$as_me: error: SDL_image not found!" >&2;}
|
5685 | |
{ (exit 1); exit 1; }; }
|
|
5126 |
as_fn_error $? "SDL_image not found!" "$LINENO" 5
|
5686 | 5127 |
fi
|
5687 | 5128 |
|
5688 | 5129 |
|
5689 | 5130 |
SDL_VERSION=1.2.4
|
5690 | 5131 |
|
5691 | 5132 |
# Check whether --with-sdl-prefix was given.
|
5692 | |
if test "${with_sdl_prefix+set}" = set; then
|
|
5133 |
if test "${with_sdl_prefix+set}" = set; then :
|
5693 | 5134 |
withval=$with_sdl_prefix; sdl_prefix="$withval"
|
5694 | 5135 |
else
|
5695 | 5136 |
sdl_prefix=""
|
|
5697 | 5138 |
|
5698 | 5139 |
|
5699 | 5140 |
# Check whether --with-sdl-exec-prefix was given.
|
5700 | |
if test "${with_sdl_exec_prefix+set}" = set; then
|
|
5141 |
if test "${with_sdl_exec_prefix+set}" = set; then :
|
5701 | 5142 |
withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
|
5702 | 5143 |
else
|
5703 | 5144 |
sdl_exec_prefix=""
|
5704 | 5145 |
fi
|
5705 | 5146 |
|
5706 | 5147 |
# Check whether --enable-sdltest was given.
|
5707 | |
if test "${enable_sdltest+set}" = set; then
|
|
5148 |
if test "${enable_sdltest+set}" = set; then :
|
5708 | 5149 |
enableval=$enable_sdltest;
|
5709 | 5150 |
else
|
5710 | 5151 |
enable_sdltest=yes
|
|
5729 | 5170 |
fi
|
5730 | 5171 |
# Extract the first word of "sdl-config", so it can be a program name with args.
|
5731 | 5172 |
set dummy sdl-config; ac_word=$2
|
5732 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5733 | 5174 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5734 | |
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
|
|
5175 |
if ${ac_cv_path_SDL_CONFIG+:} false; then :
|
5735 | 5176 |
$as_echo_n "(cached) " >&6
|
5736 | 5177 |
else
|
5737 | 5178 |
case $SDL_CONFIG in
|
|
5744 | 5185 |
do
|
5745 | 5186 |
IFS=$as_save_IFS
|
5746 | 5187 |
test -z "$as_dir" && as_dir=.
|
5747 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5748 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5188 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5189 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5749 | 5190 |
ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5750 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5191 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5751 | 5192 |
break 2
|
5752 | 5193 |
fi
|
5753 | 5194 |
done
|
5754 | |
done
|
|
5195 |
done
|
5755 | 5196 |
IFS=$as_save_IFS
|
5756 | 5197 |
|
5757 | 5198 |
test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
|
|
5760 | 5201 |
fi
|
5761 | 5202 |
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
|
5762 | 5203 |
if test -n "$SDL_CONFIG"; then
|
5763 | |
{ $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
|
|
5204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
|
5764 | 5205 |
$as_echo "$SDL_CONFIG" >&6; }
|
5765 | 5206 |
else
|
5766 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5207 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5767 | 5208 |
$as_echo "no" >&6; }
|
5768 | 5209 |
fi
|
5769 | 5210 |
|
5770 | 5211 |
|
5771 | 5212 |
min_sdl_version=$SDL_VERSION
|
5772 | |
{ $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
|
|
5213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
|
5773 | 5214 |
$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
|
5774 | 5215 |
no_sdl=""
|
5775 | 5216 |
if test "$SDL_CONFIG" = "no" ; then
|
|
5792 | 5233 |
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
5793 | 5234 |
LIBS="$LIBS $SDL_LIBS"
|
5794 | 5235 |
rm -f conf.sdltest
|
5795 | |
if test "$cross_compiling" = yes; then
|
|
5236 |
if test "$cross_compiling" = yes; then :
|
5796 | 5237 |
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
5797 | 5238 |
else
|
5798 | |
cat >conftest.$ac_ext <<_ACEOF
|
5799 | |
/* confdefs.h. */
|
5800 | |
_ACEOF
|
5801 | |
cat confdefs.h >>conftest.$ac_ext
|
5802 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5239 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5803 | 5240 |
/* end confdefs.h. */
|
5804 | 5241 |
|
5805 | 5242 |
#include <stdio.h>
|
|
5860 | 5297 |
|
5861 | 5298 |
|
5862 | 5299 |
_ACEOF
|
5863 | |
rm -f conftest$ac_exeext
|
5864 | |
if { (ac_try="$ac_link"
|
5865 | |
case "(($ac_try" in
|
5866 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5867 | |
*) ac_try_echo=$ac_try;;
|
5868 | |
esac
|
5869 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5870 | |
$as_echo "$ac_try_echo") >&5
|
5871 | |
(eval "$ac_link") 2>&5
|
5872 | |
ac_status=$?
|
5873 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5874 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5875 | |
{ (case "(($ac_try" in
|
5876 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5877 | |
*) ac_try_echo=$ac_try;;
|
5878 | |
esac
|
5879 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5880 | |
$as_echo "$ac_try_echo") >&5
|
5881 | |
(eval "$ac_try") 2>&5
|
5882 | |
ac_status=$?
|
5883 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5884 | |
(exit $ac_status); }; }; then
|
5885 | |
:
|
5886 | |
else
|
5887 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
5888 | |
$as_echo "$as_me: failed program was:" >&5
|
5889 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5890 | |
|
5891 | |
( exit $ac_status )
|
5892 | |
no_sdl=yes
|
5893 | |
fi
|
5894 | |
rm -rf conftest.dSYM
|
5895 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5896 | |
fi
|
5897 | |
|
|
5300 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5301 |
|
|
5302 |
else
|
|
5303 |
no_sdl=yes
|
|
5304 |
fi
|
|
5305 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5306 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5307 |
fi
|
5898 | 5308 |
|
5899 | 5309 |
CFLAGS="$ac_save_CFLAGS"
|
5900 | 5310 |
CXXFLAGS="$ac_save_CXXFLAGS"
|
|
5902 | 5312 |
fi
|
5903 | 5313 |
fi
|
5904 | 5314 |
if test "x$no_sdl" = x ; then
|
5905 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
5315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5906 | 5316 |
$as_echo "yes" >&6; }
|
5907 | 5317 |
:
|
5908 | 5318 |
else
|
5909 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5910 | 5320 |
$as_echo "no" >&6; }
|
5911 | 5321 |
if test "$SDL_CONFIG" = "no" ; then
|
5912 | 5322 |
echo "*** The sdl-config script installed by SDL could not be found"
|
|
5921 | 5331 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
5922 | 5332 |
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
5923 | 5333 |
LIBS="$LIBS $SDL_LIBS"
|
5924 | |
cat >conftest.$ac_ext <<_ACEOF
|
5925 | |
/* confdefs.h. */
|
5926 | |
_ACEOF
|
5927 | |
cat confdefs.h >>conftest.$ac_ext
|
5928 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5334 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5929 | 5335 |
/* end confdefs.h. */
|
5930 | 5336 |
|
5931 | 5337 |
#include <stdio.h>
|
|
5944 | 5350 |
return 0;
|
5945 | 5351 |
}
|
5946 | 5352 |
_ACEOF
|
5947 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5948 | |
if { (ac_try="$ac_link"
|
5949 | |
case "(($ac_try" in
|
5950 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5951 | |
*) ac_try_echo=$ac_try;;
|
5952 | |
esac
|
5953 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5954 | |
$as_echo "$ac_try_echo") >&5
|
5955 | |
(eval "$ac_link") 2>conftest.er1
|
5956 | |
ac_status=$?
|
5957 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5958 | |
rm -f conftest.er1
|
5959 | |
cat conftest.err >&5
|
5960 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5961 | |
(exit $ac_status); } && {
|
5962 | |
test -z "$ac_c_werror_flag" ||
|
5963 | |
test ! -s conftest.err
|
5964 | |
} && test -s conftest$ac_exeext && {
|
5965 | |
test "$cross_compiling" = yes ||
|
5966 | |
$as_test_x conftest$ac_exeext
|
5967 | |
}; then
|
|
5353 |
if ac_fn_c_try_link "$LINENO"; then :
|
5968 | 5354 |
echo "*** The test program compiled, but did not run. This usually means"
|
5969 | 5355 |
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
5970 | 5356 |
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
|
|
5975 | 5361 |
echo "*** If you have an old version installed, it is best to remove it, although"
|
5976 | 5362 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
5977 | 5363 |
else
|
5978 | |
$as_echo "$as_me: failed program was:" >&5
|
5979 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5980 | |
|
5981 | |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
5364 |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
5982 | 5365 |
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
|
5983 | 5366 |
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
|
5984 | 5367 |
echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
|
5985 | 5368 |
fi
|
5986 | |
|
5987 | |
rm -rf conftest.dSYM
|
5988 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5989 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5369 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5370 |
conftest$ac_exeext conftest.$ac_ext
|
5990 | 5371 |
CFLAGS="$ac_save_CFLAGS"
|
5991 | 5372 |
CXXFLAGS="$ac_save_CXXFLAGS"
|
5992 | 5373 |
LIBS="$ac_save_LIBS"
|
|
5994 | 5375 |
fi
|
5995 | 5376 |
SDL_CFLAGS=""
|
5996 | 5377 |
SDL_LIBS=""
|
5997 | |
{ { $as_echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
|
5998 | |
$as_echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
|
5999 | |
{ (exit 1); exit 1; }; }
|
|
5378 |
as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
|
6000 | 5379 |
fi
|
6001 | 5380 |
|
6002 | 5381 |
|
|
6035 | 5414 |
case $ac_val in #(
|
6036 | 5415 |
*${as_nl}*)
|
6037 | 5416 |
case $ac_var in #(
|
6038 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
5417 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
6039 | 5418 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
6040 | 5419 |
esac
|
6041 | 5420 |
case $ac_var in #(
|
6042 | 5421 |
_ | IFS | as_nl) ;; #(
|
6043 | 5422 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
6044 | |
*) $as_unset $ac_var ;;
|
|
5423 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
6045 | 5424 |
esac ;;
|
6046 | 5425 |
esac
|
6047 | 5426 |
done
|
|
6049 | 5428 |
(set) 2>&1 |
|
6050 | 5429 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
6051 | 5430 |
*${as_nl}ac_space=\ *)
|
6052 | |
# `set' does not quote correctly, so add quotes (double-quote
|
6053 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
5431 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
5432 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
6054 | 5433 |
sed -n \
|
6055 | 5434 |
"s/'/'\\\\''/g;
|
6056 | 5435 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
6072 | 5451 |
:end' >>confcache
|
6073 | 5452 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
6074 | 5453 |
if test -w "$cache_file"; then
|
6075 | |
test "x$cache_file" != "x/dev/null" &&
|
6076 | |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
5454 |
if test "x$cache_file" != "x/dev/null"; then
|
|
5455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
6077 | 5456 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
6078 | |
cat confcache >$cache_file
|
|
5457 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
|
5458 |
cat confcache >"$cache_file"
|
|
5459 |
else
|
|
5460 |
case $cache_file in #(
|
|
5461 |
*/* | ?:*)
|
|
5462 |
mv -f confcache "$cache_file"$$ &&
|
|
5463 |
mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|
5464 |
*)
|
|
5465 |
mv -f confcache "$cache_file" ;;
|
|
5466 |
esac
|
|
5467 |
fi
|
|
5468 |
fi
|
6079 | 5469 |
else
|
6080 | |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
5470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
6081 | 5471 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
6082 | 5472 |
fi
|
6083 | 5473 |
fi
|
|
6091 | 5481 |
|
6092 | 5482 |
ac_libobjs=
|
6093 | 5483 |
ac_ltlibobjs=
|
|
5484 |
U=
|
6094 | 5485 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
6095 | 5486 |
# 1. Remove the extension, and $U if already installed.
|
6096 | 5487 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
6097 | 5488 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
6098 | 5489 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
6099 | 5490 |
# will be set to the directory where LIBOBJS objects are built.
|
6100 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
6101 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
5491 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
5492 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
6102 | 5493 |
done
|
6103 | 5494 |
LIBOBJS=$ac_libobjs
|
6104 | 5495 |
|
|
6106 | 5497 |
|
6107 | 5498 |
|
6108 | 5499 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
6109 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
6110 | |
Usually this means the macro was only invoked conditionally." >&5
|
6111 | |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
6112 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
6113 | |
{ (exit 1); exit 1; }; }
|
|
5500 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|
5501 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
6114 | 5502 |
fi
|
6115 | 5503 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
6116 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
6117 | |
Usually this means the macro was only invoked conditionally." >&5
|
6118 | |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
6119 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
6120 | |
{ (exit 1); exit 1; }; }
|
|
5504 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
5505 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
6121 | 5506 |
fi
|
6122 | 5507 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
6123 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
6124 | |
Usually this means the macro was only invoked conditionally." >&5
|
6125 | |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
6126 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
6127 | |
{ (exit 1); exit 1; }; }
|
6128 | |
fi
|
6129 | |
|
6130 | |
: ${CONFIG_STATUS=./config.status}
|
|
5508 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
|
5509 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
5510 |
fi
|
|
5511 |
|
|
5512 |
: "${CONFIG_STATUS=./config.status}"
|
6131 | 5513 |
ac_write_fail=0
|
6132 | 5514 |
ac_clean_files_save=$ac_clean_files
|
6133 | 5515 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
6134 | |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
5516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
6135 | 5517 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
6136 | |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
5518 |
as_write_fail=0
|
|
5519 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
6137 | 5520 |
#! $SHELL
|
6138 | 5521 |
# Generated by $as_me.
|
6139 | 5522 |
# Run this file to recreate the current configuration.
|
|
6143 | 5526 |
debug=false
|
6144 | 5527 |
ac_cs_recheck=false
|
6145 | 5528 |
ac_cs_silent=false
|
|
5529 |
|
6146 | 5530 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
6147 | |
_ACEOF
|
6148 | |
|
6149 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6150 | |
## --------------------- ##
|
6151 | |
## M4sh Initialization. ##
|
6152 | |
## --------------------- ##
|
|
5531 |
export SHELL
|
|
5532 |
_ASEOF
|
|
5533 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
5534 |
## -------------------- ##
|
|
5535 |
## M4sh Initialization. ##
|
|
5536 |
## -------------------- ##
|
6153 | 5537 |
|
6154 | 5538 |
# Be more Bourne compatible
|
6155 | 5539 |
DUALCASE=1; export DUALCASE # for MKS sh
|
6156 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
5540 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
6157 | 5541 |
emulate sh
|
6158 | 5542 |
NULLCMD=:
|
6159 | 5543 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
6161 | 5545 |
alias -g '${1+"$@"}'='"$@"'
|
6162 | 5546 |
setopt NO_GLOB_SUBST
|
6163 | 5547 |
else
|
6164 | |
case `(set -o) 2>/dev/null` in
|
6165 | |
*posix*) set -o posix ;;
|
|
5548 |
case `(set -o) 2>/dev/null` in #(
|
|
5549 |
*posix*) :
|
|
5550 |
set -o posix ;; #(
|
|
5551 |
*) :
|
|
5552 |
;;
|
6166 | 5553 |
esac
|
6167 | |
|
6168 | |
fi
|
6169 | |
|
6170 | |
|
6171 | |
|
6172 | |
|
6173 | |
# PATH needs CR
|
6174 | |
# Avoid depending upon Character Ranges.
|
6175 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
6176 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
6177 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
6178 | |
as_cr_digits='0123456789'
|
6179 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
5554 |
fi
|
|
5555 |
|
6180 | 5556 |
|
6181 | 5557 |
as_nl='
|
6182 | 5558 |
'
|
|
6185 | 5561 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
6186 | 5562 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
6187 | 5563 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
6188 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
5564 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
5565 |
# but without wasting forks for bash or zsh.
|
|
5566 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
5567 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
5568 |
as_echo='print -r --'
|
|
5569 |
as_echo_n='print -rn --'
|
|
5570 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
6189 | 5571 |
as_echo='printf %s\n'
|
6190 | 5572 |
as_echo_n='printf %s'
|
6191 | 5573 |
else
|
|
6196 | 5578 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
6197 | 5579 |
as_echo_n_body='eval
|
6198 | 5580 |
arg=$1;
|
6199 | |
case $arg in
|
|
5581 |
case $arg in #(
|
6200 | 5582 |
*"$as_nl"*)
|
6201 | 5583 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
6202 | 5584 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
6219 | 5601 |
}
|
6220 | 5602 |
fi
|
6221 | 5603 |
|
6222 | |
# Support unset when possible.
|
6223 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
6224 | |
as_unset=unset
|
6225 | |
else
|
6226 | |
as_unset=false
|
6227 | |
fi
|
6228 | |
|
6229 | 5604 |
|
6230 | 5605 |
# IFS
|
6231 | 5606 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
6235 | 5610 |
IFS=" "" $as_nl"
|
6236 | 5611 |
|
6237 | 5612 |
# Find who we are. Look in the path if we contain no directory separator.
|
6238 | |
case $0 in
|
|
5613 |
as_myself=
|
|
5614 |
case $0 in #((
|
6239 | 5615 |
*[\\/]* ) as_myself=$0 ;;
|
6240 | 5616 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6241 | 5617 |
for as_dir in $PATH
|
6242 | 5618 |
do
|
6243 | 5619 |
IFS=$as_save_IFS
|
6244 | 5620 |
test -z "$as_dir" && as_dir=.
|
6245 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
6246 | |
done
|
|
5621 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
5622 |
done
|
6247 | 5623 |
IFS=$as_save_IFS
|
6248 | 5624 |
|
6249 | 5625 |
;;
|
|
6255 | 5631 |
fi
|
6256 | 5632 |
if test ! -f "$as_myself"; then
|
6257 | 5633 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
6258 | |
{ (exit 1); exit 1; }
|
6259 | |
fi
|
6260 | |
|
6261 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
6262 | |
for as_var in ENV MAIL MAILPATH
|
6263 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
5634 |
exit 1
|
|
5635 |
fi
|
|
5636 |
|
|
5637 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
5638 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
5639 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
5640 |
# trigger a bug in pdksh 5.2.14.
|
|
5641 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
5642 |
do eval test x\${$as_var+set} = xset \
|
|
5643 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
6264 | 5644 |
done
|
6265 | 5645 |
PS1='$ '
|
6266 | 5646 |
PS2='> '
|
|
6272 | 5652 |
LANGUAGE=C
|
6273 | 5653 |
export LANGUAGE
|
6274 | 5654 |
|
6275 | |
# Required to use basename.
|
|
5655 |
# CDPATH.
|
|
5656 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
5657 |
|
|
5658 |
|
|
5659 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
5660 |
# ----------------------------------------
|
|
5661 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
5662 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
5663 |
# script with STATUS, using 1 if that was 0.
|
|
5664 |
as_fn_error ()
|
|
5665 |
{
|
|
5666 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
5667 |
if test "$4"; then
|
|
5668 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
5669 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
5670 |
fi
|
|
5671 |
$as_echo "$as_me: error: $2" >&2
|
|
5672 |
as_fn_exit $as_status
|
|
5673 |
} # as_fn_error
|
|
5674 |
|
|
5675 |
|
|
5676 |
# as_fn_set_status STATUS
|
|
5677 |
# -----------------------
|
|
5678 |
# Set $? to STATUS, without forking.
|
|
5679 |
as_fn_set_status ()
|
|
5680 |
{
|
|
5681 |
return $1
|
|
5682 |
} # as_fn_set_status
|
|
5683 |
|
|
5684 |
# as_fn_exit STATUS
|
|
5685 |
# -----------------
|
|
5686 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
5687 |
as_fn_exit ()
|
|
5688 |
{
|
|
5689 |
set +e
|
|
5690 |
as_fn_set_status $1
|
|
5691 |
exit $1
|
|
5692 |
} # as_fn_exit
|
|
5693 |
|
|
5694 |
# as_fn_unset VAR
|
|
5695 |
# ---------------
|
|
5696 |
# Portably unset VAR.
|
|
5697 |
as_fn_unset ()
|
|
5698 |
{
|
|
5699 |
{ eval $1=; unset $1;}
|
|
5700 |
}
|
|
5701 |
as_unset=as_fn_unset
|
|
5702 |
# as_fn_append VAR VALUE
|
|
5703 |
# ----------------------
|
|
5704 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
5705 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
5706 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
5707 |
# implementations.
|
|
5708 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
5709 |
eval 'as_fn_append ()
|
|
5710 |
{
|
|
5711 |
eval $1+=\$2
|
|
5712 |
}'
|
|
5713 |
else
|
|
5714 |
as_fn_append ()
|
|
5715 |
{
|
|
5716 |
eval $1=\$$1\$2
|
|
5717 |
}
|
|
5718 |
fi # as_fn_append
|
|
5719 |
|
|
5720 |
# as_fn_arith ARG...
|
|
5721 |
# ------------------
|
|
5722 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
5723 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
5724 |
# must be portable across $(()) and expr.
|
|
5725 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
5726 |
eval 'as_fn_arith ()
|
|
5727 |
{
|
|
5728 |
as_val=$(( $* ))
|
|
5729 |
}'
|
|
5730 |
else
|
|
5731 |
as_fn_arith ()
|
|
5732 |
{
|
|
5733 |
as_val=`expr "$@" || test $? -eq 1`
|
|
5734 |
}
|
|
5735 |
fi # as_fn_arith
|
|
5736 |
|
|
5737 |
|
6276 | 5738 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
6277 | 5739 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
6278 | 5740 |
as_expr=expr
|
|
6286 | 5748 |
as_basename=false
|
6287 | 5749 |
fi
|
6288 | 5750 |
|
6289 | |
|
6290 | |
# Name of the executable.
|
|
5751 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
5752 |
as_dirname=dirname
|
|
5753 |
else
|
|
5754 |
as_dirname=false
|
|
5755 |
fi
|
|
5756 |
|
6291 | 5757 |
as_me=`$as_basename -- "$0" ||
|
6292 | 5758 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
6293 | 5759 |
X"$0" : 'X\(//\)$' \| \
|
|
6307 | 5773 |
}
|
6308 | 5774 |
s/.*/./; q'`
|
6309 | 5775 |
|
6310 | |
# CDPATH.
|
6311 | |
$as_unset CDPATH
|
6312 | |
|
6313 | |
|
6314 | |
|
6315 | |
as_lineno_1=$LINENO
|
6316 | |
as_lineno_2=$LINENO
|
6317 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
6318 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
6319 | |
|
6320 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
6321 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
6322 | |
# line-number line after each line using $LINENO; the second 'sed'
|
6323 | |
# does the real work. The second script uses 'N' to pair each
|
6324 | |
# line-number line with the line containing $LINENO, and appends
|
6325 | |
# trailing '-' during substitution so that $LINENO is not a special
|
6326 | |
# case at line end.
|
6327 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
6328 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
6329 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
6330 | |
sed -n '
|
6331 | |
p
|
6332 | |
/[$]LINENO/=
|
6333 | |
' <$as_myself |
|
6334 | |
sed '
|
6335 | |
s/[$]LINENO.*/&-/
|
6336 | |
t lineno
|
6337 | |
b
|
6338 | |
:lineno
|
6339 | |
N
|
6340 | |
:loop
|
6341 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
6342 | |
t loop
|
6343 | |
s/-\n.*//
|
6344 | |
' >$as_me.lineno &&
|
6345 | |
chmod +x "$as_me.lineno" ||
|
6346 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
6347 | |
{ (exit 1); exit 1; }; }
|
6348 | |
|
6349 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
6350 | |
# (the dirname of $[0] is not the place where we might find the
|
6351 | |
# original and so on. Autoconf is especially sensitive to this).
|
6352 | |
. "./$as_me.lineno"
|
6353 | |
# Exit status is that of the last command.
|
6354 | |
exit
|
6355 | |
}
|
6356 | |
|
6357 | |
|
6358 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
6359 | |
as_dirname=dirname
|
6360 | |
else
|
6361 | |
as_dirname=false
|
6362 | |
fi
|
|
5776 |
# Avoid depending upon Character Ranges.
|
|
5777 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
5778 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
5779 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
5780 |
as_cr_digits='0123456789'
|
|
5781 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
6363 | 5782 |
|
6364 | 5783 |
ECHO_C= ECHO_N= ECHO_T=
|
6365 | |
case `echo -n x` in
|
|
5784 |
case `echo -n x` in #(((((
|
6366 | 5785 |
-n*)
|
6367 | |
case `echo 'x\c'` in
|
|
5786 |
case `echo 'xy\c'` in
|
6368 | 5787 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
6369 | |
*) ECHO_C='\c';;
|
|
5788 |
xy) ECHO_C='\c';;
|
|
5789 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
5790 |
ECHO_T=' ';;
|
6370 | 5791 |
esac;;
|
6371 | 5792 |
*)
|
6372 | 5793 |
ECHO_N='-n';;
|
6373 | 5794 |
esac
|
6374 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
6375 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
6376 | |
as_expr=expr
|
6377 | |
else
|
6378 | |
as_expr=false
|
6379 | |
fi
|
6380 | 5795 |
|
6381 | 5796 |
rm -f conf$$ conf$$.exe conf$$.file
|
6382 | 5797 |
if test -d conf$$.dir; then
|
|
6391 | 5806 |
# ... but there are two gotchas:
|
6392 | 5807 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
6393 | 5808 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
6394 | |
# In both cases, we have to default to `cp -p'.
|
|
5809 |
# In both cases, we have to default to `cp -pR'.
|
6395 | 5810 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
6396 | |
as_ln_s='cp -p'
|
|
5811 |
as_ln_s='cp -pR'
|
6397 | 5812 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
6398 | 5813 |
as_ln_s=ln
|
6399 | 5814 |
else
|
6400 | |
as_ln_s='cp -p'
|
|
5815 |
as_ln_s='cp -pR'
|
6401 | 5816 |
fi
|
6402 | 5817 |
else
|
6403 | |
as_ln_s='cp -p'
|
|
5818 |
as_ln_s='cp -pR'
|
6404 | 5819 |
fi
|
6405 | 5820 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
6406 | 5821 |
rmdir conf$$.dir 2>/dev/null
|
6407 | 5822 |
|
|
5823 |
|
|
5824 |
# as_fn_mkdir_p
|
|
5825 |
# -------------
|
|
5826 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
5827 |
as_fn_mkdir_p ()
|
|
5828 |
{
|
|
5829 |
|
|
5830 |
case $as_dir in #(
|
|
5831 |
-*) as_dir=./$as_dir;;
|
|
5832 |
esac
|
|
5833 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
5834 |
as_dirs=
|
|
5835 |
while :; do
|
|
5836 |
case $as_dir in #(
|
|
5837 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
5838 |
*) as_qdir=$as_dir;;
|
|
5839 |
esac
|
|
5840 |
as_dirs="'$as_qdir' $as_dirs"
|
|
5841 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
5842 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
5843 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
5844 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
5845 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
5846 |
$as_echo X"$as_dir" |
|
|
5847 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
5848 |
s//\1/
|
|
5849 |
q
|
|
5850 |
}
|
|
5851 |
/^X\(\/\/\)[^/].*/{
|
|
5852 |
s//\1/
|
|
5853 |
q
|
|
5854 |
}
|
|
5855 |
/^X\(\/\/\)$/{
|
|
5856 |
s//\1/
|
|
5857 |
q
|
|
5858 |
}
|
|
5859 |
/^X\(\/\).*/{
|
|
5860 |
s//\1/
|
|
5861 |
q
|
|
5862 |
}
|
|
5863 |
s/.*/./; q'`
|
|
5864 |
test -d "$as_dir" && break
|
|
5865 |
done
|
|
5866 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
5867 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
5868 |
|
|
5869 |
|
|
5870 |
} # as_fn_mkdir_p
|
6408 | 5871 |
if mkdir -p . 2>/dev/null; then
|
6409 | |
as_mkdir_p=:
|
|
5872 |
as_mkdir_p='mkdir -p "$as_dir"'
|
6410 | 5873 |
else
|
6411 | 5874 |
test -d ./-p && rmdir ./-p
|
6412 | 5875 |
as_mkdir_p=false
|
6413 | 5876 |
fi
|
6414 | 5877 |
|
6415 | |
if test -x / >/dev/null 2>&1; then
|
6416 | |
as_test_x='test -x'
|
6417 | |
else
|
6418 | |
if ls -dL / >/dev/null 2>&1; then
|
6419 | |
as_ls_L_option=L
|
6420 | |
else
|
6421 | |
as_ls_L_option=
|
6422 | |
fi
|
6423 | |
as_test_x='
|
6424 | |
eval sh -c '\''
|
6425 | |
if test -d "$1"; then
|
6426 | |
test -d "$1/.";
|
6427 | |
else
|
6428 | |
case $1 in
|
6429 | |
-*)set "./$1";;
|
6430 | |
esac;
|
6431 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
6432 | |
???[sx]*):;;*)false;;esac;fi
|
6433 | |
'\'' sh
|
6434 | |
'
|
6435 | |
fi
|
6436 | |
as_executable_p=$as_test_x
|
|
5878 |
|
|
5879 |
# as_fn_executable_p FILE
|
|
5880 |
# -----------------------
|
|
5881 |
# Test if FILE is an executable regular file.
|
|
5882 |
as_fn_executable_p ()
|
|
5883 |
{
|
|
5884 |
test -f "$1" && test -x "$1"
|
|
5885 |
} # as_fn_executable_p
|
|
5886 |
as_test_x='test -x'
|
|
5887 |
as_executable_p=as_fn_executable_p
|
6437 | 5888 |
|
6438 | 5889 |
# Sed expression to map a string onto a valid CPP name.
|
6439 | 5890 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
6443 | 5894 |
|
6444 | 5895 |
|
6445 | 5896 |
exec 6>&1
|
6446 | |
|
6447 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
5897 |
## ----------------------------------- ##
|
|
5898 |
## Main body of $CONFIG_STATUS script. ##
|
|
5899 |
## ----------------------------------- ##
|
|
5900 |
_ASEOF
|
|
5901 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
5902 |
|
|
5903 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
5904 |
# Save the log message, to keep $0 and so on meaningful, and to
|
6448 | 5905 |
# report actual input values of CONFIG_FILES etc. instead of their
|
6449 | 5906 |
# values after options handling.
|
6450 | 5907 |
ac_log="
|
6451 | 5908 |
This file was extended by $as_me, which was
|
6452 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
5909 |
generated by GNU Autoconf 2.69. Invocation command line was
|
6453 | 5910 |
|
6454 | 5911 |
CONFIG_FILES = $CONFIG_FILES
|
6455 | 5912 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
6481 | 5938 |
|
6482 | 5939 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6483 | 5940 |
ac_cs_usage="\
|
6484 | |
\`$as_me' instantiates files from templates according to the
|
6485 | |
current configuration.
|
6486 | |
|
6487 | |
Usage: $0 [OPTION]... [FILE]...
|
|
5941 |
\`$as_me' instantiates files and other configuration actions
|
|
5942 |
from templates according to the current configuration. Unless the files
|
|
5943 |
and actions are specified as TAGs, all are instantiated by default.
|
|
5944 |
|
|
5945 |
Usage: $0 [OPTION]... [TAG]...
|
6488 | 5946 |
|
6489 | 5947 |
-h, --help print this help, then exit
|
6490 | 5948 |
-V, --version print version number and configuration settings, then exit
|
|
5949 |
--config print configuration, then exit
|
6491 | 5950 |
-q, --quiet, --silent
|
6492 | 5951 |
do not print progress messages
|
6493 | 5952 |
-d, --debug don't remove temporary files
|
|
6506 | 5965 |
Configuration commands:
|
6507 | 5966 |
$config_commands
|
6508 | 5967 |
|
6509 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
5968 |
Report bugs to the package provider."
|
6510 | 5969 |
|
6511 | 5970 |
_ACEOF
|
6512 | 5971 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
5972 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
6513 | 5973 |
ac_cs_version="\\
|
6514 | 5974 |
config.status
|
6515 | |
configured by $0, generated by GNU Autoconf 2.63,
|
6516 | |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
6517 | |
|
6518 | |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
5975 |
configured by $0, generated by GNU Autoconf 2.69,
|
|
5976 |
with options \\"\$ac_cs_config\\"
|
|
5977 |
|
|
5978 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
6519 | 5979 |
This config.status script is free software; the Free Software Foundation
|
6520 | 5980 |
gives unlimited permission to copy, distribute and modify it."
|
6521 | 5981 |
|
|
6532 | 5992 |
while test $# != 0
|
6533 | 5993 |
do
|
6534 | 5994 |
case $1 in
|
6535 | |
--*=*)
|
|
5995 |
--*=?*)
|
6536 | 5996 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
6537 | 5997 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
5998 |
ac_shift=:
|
|
5999 |
;;
|
|
6000 |
--*=)
|
|
6001 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6002 |
ac_optarg=
|
6538 | 6003 |
ac_shift=:
|
6539 | 6004 |
;;
|
6540 | 6005 |
*)
|
|
6550 | 6015 |
ac_cs_recheck=: ;;
|
6551 | 6016 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
6552 | 6017 |
$as_echo "$ac_cs_version"; exit ;;
|
|
6018 |
--config | --confi | --conf | --con | --co | --c )
|
|
6019 |
$as_echo "$ac_cs_config"; exit ;;
|
6553 | 6020 |
--debug | --debu | --deb | --de | --d | -d )
|
6554 | 6021 |
debug=: ;;
|
6555 | 6022 |
--file | --fil | --fi | --f )
|
6556 | 6023 |
$ac_shift
|
6557 | 6024 |
case $ac_optarg in
|
6558 | 6025 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6026 |
'') as_fn_error $? "missing file argument" ;;
|
6559 | 6027 |
esac
|
6560 | |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
6028 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
6561 | 6029 |
ac_need_defaults=false;;
|
6562 | 6030 |
--header | --heade | --head | --hea )
|
6563 | 6031 |
$ac_shift
|
6564 | 6032 |
case $ac_optarg in
|
6565 | 6033 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6566 | 6034 |
esac
|
6567 | |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
6035 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
6568 | 6036 |
ac_need_defaults=false;;
|
6569 | 6037 |
--he | --h)
|
6570 | 6038 |
# Conflict between --help and --header
|
6571 | |
{ $as_echo "$as_me: error: ambiguous option: $1
|
6572 | |
Try \`$0 --help' for more information." >&2
|
6573 | |
{ (exit 1); exit 1; }; };;
|
|
6039 |
as_fn_error $? "ambiguous option: \`$1'
|
|
6040 |
Try \`$0 --help' for more information.";;
|
6574 | 6041 |
--help | --hel | -h )
|
6575 | 6042 |
$as_echo "$ac_cs_usage"; exit ;;
|
6576 | 6043 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6578 | 6045 |
ac_cs_silent=: ;;
|
6579 | 6046 |
|
6580 | 6047 |
# This is an error.
|
6581 | |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
6582 | |
Try \`$0 --help' for more information." >&2
|
6583 | |
{ (exit 1); exit 1; }; } ;;
|
6584 | |
|
6585 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
6048 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
6049 |
Try \`$0 --help' for more information." ;;
|
|
6050 |
|
|
6051 |
*) as_fn_append ac_config_targets " $1"
|
6586 | 6052 |
ac_need_defaults=false ;;
|
6587 | 6053 |
|
6588 | 6054 |
esac
|
|
6599 | 6065 |
_ACEOF
|
6600 | 6066 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6601 | 6067 |
if \$ac_cs_recheck; then
|
6602 | |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
6068 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
6603 | 6069 |
shift
|
6604 | 6070 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
6605 | 6071 |
CONFIG_SHELL='$SHELL'
|
|
6640 | 6106 |
"src/grapple/Makefile") CONFIG_FILES="$CONFIG_FILES src/grapple/Makefile" ;;
|
6641 | 6107 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
|
6642 | 6108 |
|
6643 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6644 | |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
6645 | |
{ (exit 1); exit 1; }; };;
|
|
6109 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
6646 | 6110 |
esac
|
6647 | 6111 |
done
|
6648 | 6112 |
|
|
6665 | 6129 |
# after its creation but before its name has been assigned to `$tmp'.
|
6666 | 6130 |
$debug ||
|
6667 | 6131 |
{
|
6668 | |
tmp=
|
|
6132 |
tmp= ac_tmp=
|
6669 | 6133 |
trap 'exit_status=$?
|
6670 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
6134 |
: "${ac_tmp:=$tmp}"
|
|
6135 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
6671 | 6136 |
' 0
|
6672 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
6137 |
trap 'as_fn_exit 1' 1 2 13 15
|
6673 | 6138 |
}
|
6674 | 6139 |
# Create a (secure) tmp directory for tmp files.
|
6675 | 6140 |
|
6676 | 6141 |
{
|
6677 | 6142 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
6678 | |
test -n "$tmp" && test -d "$tmp"
|
|
6143 |
test -d "$tmp"
|
6679 | 6144 |
} ||
|
6680 | 6145 |
{
|
6681 | 6146 |
tmp=./conf$$-$RANDOM
|
6682 | 6147 |
(umask 077 && mkdir "$tmp")
|
6683 | |
} ||
|
6684 | |
{
|
6685 | |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
6686 | |
{ (exit 1); exit 1; }
|
6687 | |
}
|
|
6148 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
6149 |
ac_tmp=$tmp
|
6688 | 6150 |
|
6689 | 6151 |
# Set up the scripts for CONFIG_FILES section.
|
6690 | 6152 |
# No need to generate them if there are no CONFIG_FILES.
|
|
6692 | 6154 |
if test -n "$CONFIG_FILES"; then
|
6693 | 6155 |
|
6694 | 6156 |
|
6695 | |
ac_cr='
⏎
|
6696 | |
'
|
|
6157 |
ac_cr=`echo X | tr X '\015'`
|
|
6158 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
6159 |
# But we know of no other shell where ac_cr would be empty at this
|
|
6160 |
# point, so we can use a bashism as a fallback.
|
|
6161 |
if test "x$ac_cr" = x; then
|
|
6162 |
eval ac_cr=\$\'\\r\'
|
|
6163 |
fi
|
6697 | 6164 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
6698 | 6165 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
6699 | 6166 |
ac_cs_awk_cr='\\r'
|
|
6701 | 6168 |
ac_cs_awk_cr=$ac_cr
|
6702 | 6169 |
fi
|
6703 | 6170 |
|
6704 | |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
6171 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
6705 | 6172 |
_ACEOF
|
6706 | 6173 |
|
6707 | 6174 |
|
|
6710 | 6177 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
6711 | 6178 |
echo "_ACEOF"
|
6712 | 6179 |
} >conf$$subs.sh ||
|
6713 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6714 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6715 | |
{ (exit 1); exit 1; }; }
|
6716 | |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
6180 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
6181 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
6717 | 6182 |
ac_delim='%!_!# '
|
6718 | 6183 |
for ac_last_try in false false false false false :; do
|
6719 | 6184 |
. ./conf$$subs.sh ||
|
6720 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6721 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6722 | |
{ (exit 1); exit 1; }; }
|
|
6185 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
6723 | 6186 |
|
6724 | 6187 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
6725 | 6188 |
if test $ac_delim_n = $ac_delim_num; then
|
6726 | 6189 |
break
|
6727 | 6190 |
elif $ac_last_try; then
|
6728 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6729 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6730 | |
{ (exit 1); exit 1; }; }
|
|
6191 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
6731 | 6192 |
else
|
6732 | 6193 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6733 | 6194 |
fi
|
|
6735 | 6196 |
rm -f conf$$subs.sh
|
6736 | 6197 |
|
6737 | 6198 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6738 | |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
6199 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
6739 | 6200 |
_ACEOF
|
6740 | 6201 |
sed -n '
|
6741 | 6202 |
h
|
|
6749 | 6210 |
t delim
|
6750 | 6211 |
:nl
|
6751 | 6212 |
h
|
6752 | |
s/\(.\{148\}\).*/\1/
|
|
6213 |
s/\(.\{148\}\)..*/\1/
|
6753 | 6214 |
t more1
|
6754 | 6215 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
6755 | 6216 |
p
|
|
6763 | 6224 |
t nl
|
6764 | 6225 |
:delim
|
6765 | 6226 |
h
|
6766 | |
s/\(.\{148\}\).*/\1/
|
|
6227 |
s/\(.\{148\}\)..*/\1/
|
6767 | 6228 |
t more2
|
6768 | 6229 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
6769 | 6230 |
p
|
|
6783 | 6244 |
rm -f conf$$subs.awk
|
6784 | 6245 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6785 | 6246 |
_ACAWK
|
6786 | |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
6247 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
6787 | 6248 |
for (key in S) S_is_set[key] = 1
|
6788 | 6249 |
FS = ""
|
6789 | 6250 |
|
|
6815 | 6276 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
6816 | 6277 |
else
|
6817 | 6278 |
cat
|
6818 | |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
6819 | |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
6820 | |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
6821 | |
{ (exit 1); exit 1; }; }
|
6822 | |
_ACEOF
|
6823 | |
|
6824 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
6825 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
6279 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
6280 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
6281 |
_ACEOF
|
|
6282 |
|
|
6283 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
6284 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
6826 | 6285 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
6827 | 6286 |
# (actually we leave an empty line to preserve line numbers).
|
6828 | 6287 |
if test "x$srcdir" = x.; then
|
6829 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
6830 | |
s/:*\$(srcdir):*/:/
|
6831 | |
s/:*\${srcdir}:*/:/
|
6832 | |
s/:*@srcdir@:*/:/
|
6833 | |
s/^\([^=]*=[ ]*\):*/\1/
|
|
6288 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
6289 |
h
|
|
6290 |
s///
|
|
6291 |
s/^/:/
|
|
6292 |
s/[ ]*$/:/
|
|
6293 |
s/:\$(srcdir):/:/g
|
|
6294 |
s/:\${srcdir}:/:/g
|
|
6295 |
s/:@srcdir@:/:/g
|
|
6296 |
s/^:*//
|
6834 | 6297 |
s/:*$//
|
|
6298 |
x
|
|
6299 |
s/\(=[ ]*\).*/\1/
|
|
6300 |
G
|
|
6301 |
s/\n//
|
6835 | 6302 |
s/^[^=]*=[ ]*$//
|
6836 | 6303 |
}'
|
6837 | 6304 |
fi
|
|
6843 | 6310 |
# No need to generate them if there are no CONFIG_HEADERS.
|
6844 | 6311 |
# This happens for instance with `./config.status Makefile'.
|
6845 | 6312 |
if test -n "$CONFIG_HEADERS"; then
|
6846 | |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
6313 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
6847 | 6314 |
BEGIN {
|
6848 | 6315 |
_ACEOF
|
6849 | 6316 |
|
|
6855 | 6322 |
# handling of long lines.
|
6856 | 6323 |
ac_delim='%!_!# '
|
6857 | 6324 |
for ac_last_try in false false :; do
|
6858 | |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
6859 | |
if test -z "$ac_t"; then
|
|
6325 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
6326 |
if test -z "$ac_tt"; then
|
6860 | 6327 |
break
|
6861 | 6328 |
elif $ac_last_try; then
|
6862 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
6863 | |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
6864 | |
{ (exit 1); exit 1; }; }
|
|
6329 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
6865 | 6330 |
else
|
6866 | 6331 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6867 | 6332 |
fi
|
|
6946 | 6411 |
_ACAWK
|
6947 | 6412 |
_ACEOF
|
6948 | 6413 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6949 | |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
6950 | |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
6951 | |
{ (exit 1); exit 1; }; }
|
|
6414 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
6952 | 6415 |
fi # test -n "$CONFIG_HEADERS"
|
6953 | 6416 |
|
6954 | 6417 |
|
|
6961 | 6424 |
esac
|
6962 | 6425 |
case $ac_mode$ac_tag in
|
6963 | 6426 |
:[FHL]*:*);;
|
6964 | |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
6965 | |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
6966 | |
{ (exit 1); exit 1; }; };;
|
|
6427 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
6967 | 6428 |
:[FH]-) ac_tag=-:-;;
|
6968 | 6429 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
6969 | 6430 |
esac
|
|
6982 | 6443 |
for ac_f
|
6983 | 6444 |
do
|
6984 | 6445 |
case $ac_f in
|
6985 | |
-) ac_f="$tmp/stdin";;
|
|
6446 |
-) ac_f="$ac_tmp/stdin";;
|
6986 | 6447 |
*) # Look for the file first in the build tree, then in the source tree
|
6987 | 6448 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
6988 | 6449 |
# because $ac_f cannot contain `:'.
|
|
6991 | 6452 |
[\\/$]*) false;;
|
6992 | 6453 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
6993 | 6454 |
esac ||
|
6994 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
6995 | |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
6996 | |
{ (exit 1); exit 1; }; };;
|
|
6455 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
6997 | 6456 |
esac
|
6998 | 6457 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
6999 | |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
6458 |
as_fn_append ac_file_inputs " '$ac_f'"
|
7000 | 6459 |
done
|
7001 | 6460 |
|
7002 | 6461 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
7007 | 6466 |
`' by configure.'
|
7008 | 6467 |
if test x"$ac_file" != x-; then
|
7009 | 6468 |
configure_input="$ac_file. $configure_input"
|
7010 | |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
6469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
7011 | 6470 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
7012 | 6471 |
fi
|
7013 | 6472 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
7019 | 6478 |
esac
|
7020 | 6479 |
|
7021 | 6480 |
case $ac_tag in
|
7022 | |
*:-:* | *:-) cat >"$tmp/stdin" \
|
7023 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
7024 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7025 | |
{ (exit 1); exit 1; }; } ;;
|
|
6481 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
6482 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
7026 | 6483 |
esac
|
7027 | 6484 |
;;
|
7028 | 6485 |
esac
|
|
7050 | 6507 |
q
|
7051 | 6508 |
}
|
7052 | 6509 |
s/.*/./; q'`
|
7053 | |
{ as_dir="$ac_dir"
|
7054 | |
case $as_dir in #(
|
7055 | |
-*) as_dir=./$as_dir;;
|
7056 | |
esac
|
7057 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
7058 | |
as_dirs=
|
7059 | |
while :; do
|
7060 | |
case $as_dir in #(
|
7061 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
7062 | |
*) as_qdir=$as_dir;;
|
7063 | |
esac
|
7064 | |
as_dirs="'$as_qdir' $as_dirs"
|
7065 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
7066 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7067 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7068 | |
X"$as_dir" : 'X\(//\)$' \| \
|
7069 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
7070 | |
$as_echo X"$as_dir" |
|
7071 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7072 | |
s//\1/
|
7073 | |
q
|
7074 | |
}
|
7075 | |
/^X\(\/\/\)[^/].*/{
|
7076 | |
s//\1/
|
7077 | |
q
|
7078 | |
}
|
7079 | |
/^X\(\/\/\)$/{
|
7080 | |
s//\1/
|
7081 | |
q
|
7082 | |
}
|
7083 | |
/^X\(\/\).*/{
|
7084 | |
s//\1/
|
7085 | |
q
|
7086 | |
}
|
7087 | |
s/.*/./; q'`
|
7088 | |
test -d "$as_dir" && break
|
7089 | |
done
|
7090 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
7091 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
7092 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
7093 | |
{ (exit 1); exit 1; }; }; }
|
|
6510 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
7094 | 6511 |
ac_builddir=.
|
7095 | 6512 |
|
7096 | 6513 |
case "$ac_dir" in
|
|
7142 | 6559 |
# If the template does not know about datarootdir, expand it.
|
7143 | 6560 |
# FIXME: This hack should be removed a few years after 2.60.
|
7144 | 6561 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
7145 | |
|
7146 | 6562 |
ac_sed_dataroot='
|
7147 | 6563 |
/datarootdir/ {
|
7148 | 6564 |
p
|
|
7152 | 6568 |
/@docdir@/p
|
7153 | 6569 |
/@infodir@/p
|
7154 | 6570 |
/@localedir@/p
|
7155 | |
/@mandir@/p
|
7156 | |
'
|
|
6571 |
/@mandir@/p'
|
7157 | 6572 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
7158 | 6573 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
7159 | 6574 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
7160 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
6575 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
7161 | 6576 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
7162 | 6577 |
_ACEOF
|
7163 | 6578 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7167 | 6582 |
s&@infodir@&$infodir&g
|
7168 | 6583 |
s&@localedir@&$localedir&g
|
7169 | 6584 |
s&@mandir@&$mandir&g
|
7170 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
6585 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
7171 | 6586 |
esac
|
7172 | 6587 |
_ACEOF
|
7173 | 6588 |
|
|
7194 | 6609 |
s&@INSTALL@&$ac_INSTALL&;t t
|
7195 | 6610 |
$ac_datarootdir_hack
|
7196 | 6611 |
"
|
7197 | |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
7198 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
7199 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7200 | |
{ (exit 1); exit 1; }; }
|
|
6612 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
6613 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
7201 | 6614 |
|
7202 | 6615 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
7203 | |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
7204 | |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
7205 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
7206 | |
which seems to be undefined. Please make sure it is defined." >&5
|
|
6616 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|
6617 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
6618 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
6619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6620 |
which seems to be undefined. Please make sure it is defined" >&5
|
7207 | 6621 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
7208 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
7209 | |
|
7210 | |
rm -f "$tmp/stdin"
|
|
6622 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
|
6623 |
|
|
6624 |
rm -f "$ac_tmp/stdin"
|
7211 | 6625 |
case $ac_file in
|
7212 | |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
7213 | |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
6626 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|
6627 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
7214 | 6628 |
esac \
|
7215 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
7216 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7217 | |
{ (exit 1); exit 1; }; }
|
|
6629 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
7218 | 6630 |
;;
|
7219 | 6631 |
:H)
|
7220 | 6632 |
#
|
|
7223 | 6635 |
if test x"$ac_file" != x-; then
|
7224 | 6636 |
{
|
7225 | 6637 |
$as_echo "/* $configure_input */" \
|
7226 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
7227 | |
} >"$tmp/config.h" \
|
7228 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
7229 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7230 | |
{ (exit 1); exit 1; }; }
|
7231 | |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
7232 | |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
6638 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
6639 |
} >"$ac_tmp/config.h" \
|
|
6640 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
6641 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
6642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
7233 | 6643 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
7234 | 6644 |
else
|
7235 | 6645 |
rm -f "$ac_file"
|
7236 | |
mv "$tmp/config.h" "$ac_file" \
|
7237 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
7238 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7239 | |
{ (exit 1); exit 1; }; }
|
|
6646 |
mv "$ac_tmp/config.h" "$ac_file" \
|
|
6647 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
7240 | 6648 |
fi
|
7241 | 6649 |
else
|
7242 | 6650 |
$as_echo "/* $configure_input */" \
|
7243 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
7244 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
7245 | |
$as_echo "$as_me: error: could not create -" >&2;}
|
7246 | |
{ (exit 1); exit 1; }; }
|
|
6651 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
6652 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
7247 | 6653 |
fi
|
7248 | 6654 |
# Compute "$ac_file"'s index in $config_headers.
|
7249 | 6655 |
_am_stamp_count=1
|
|
7280 | 6686 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
7281 | 6687 |
;;
|
7282 | 6688 |
|
7283 | |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
6689 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
7284 | 6690 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
7285 | 6691 |
;;
|
7286 | 6692 |
esac
|
|
7364 | 6770 |
q
|
7365 | 6771 |
}
|
7366 | 6772 |
s/.*/./; q'`
|
7367 | |
{ as_dir=$dirpart/$fdir
|
7368 | |
case $as_dir in #(
|
7369 | |
-*) as_dir=./$as_dir;;
|
7370 | |
esac
|
7371 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
7372 | |
as_dirs=
|
7373 | |
while :; do
|
7374 | |
case $as_dir in #(
|
7375 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
7376 | |
*) as_qdir=$as_dir;;
|
7377 | |
esac
|
7378 | |
as_dirs="'$as_qdir' $as_dirs"
|
7379 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
7380 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7381 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7382 | |
X"$as_dir" : 'X\(//\)$' \| \
|
7383 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
7384 | |
$as_echo X"$as_dir" |
|
7385 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7386 | |
s//\1/
|
7387 | |
q
|
7388 | |
}
|
7389 | |
/^X\(\/\/\)[^/].*/{
|
7390 | |
s//\1/
|
7391 | |
q
|
7392 | |
}
|
7393 | |
/^X\(\/\/\)$/{
|
7394 | |
s//\1/
|
7395 | |
q
|
7396 | |
}
|
7397 | |
/^X\(\/\).*/{
|
7398 | |
s//\1/
|
7399 | |
q
|
7400 | |
}
|
7401 | |
s/.*/./; q'`
|
7402 | |
test -d "$as_dir" && break
|
7403 | |
done
|
7404 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
7405 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
7406 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
7407 | |
{ (exit 1); exit 1; }; }; }
|
|
6773 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
7408 | 6774 |
# echo "creating $dirpart/$file"
|
7409 | 6775 |
echo '# dummy' > "$dirpart/$file"
|
7410 | 6776 |
done
|
|
7415 | 6781 |
done # for ac_tag
|
7416 | 6782 |
|
7417 | 6783 |
|
7418 | |
{ (exit 0); exit 0; }
|
7419 | |
_ACEOF
|
7420 | |
chmod +x $CONFIG_STATUS
|
|
6784 |
as_fn_exit 0
|
|
6785 |
_ACEOF
|
7421 | 6786 |
ac_clean_files=$ac_clean_files_save
|
7422 | 6787 |
|
7423 | 6788 |
test $ac_write_fail = 0 ||
|
7424 | |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
7425 | |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
7426 | |
{ (exit 1); exit 1; }; }
|
|
6789 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
7427 | 6790 |
|
7428 | 6791 |
|
7429 | 6792 |
# configure is writing to config.log, and then calls config.status.
|
|
7444 | 6807 |
exec 5>>config.log
|
7445 | 6808 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
7446 | 6809 |
# would make configure fail if this is the last instruction.
|
7447 | |
$ac_cs_success || { (exit 1); exit 1; }
|
|
6810 |
$ac_cs_success || as_fn_exit 1
|
7448 | 6811 |
fi
|
7449 | 6812 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
7450 | |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
6813 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
7451 | 6814 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
7452 | 6815 |
fi
|
7453 | 6816 |
|