0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.69 for SLUDGE 2.2.2.
|
|
2 |
# Generated by GNU Autoconf 2.71 for SLUDGE 2.2.2.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <tobias.han@gmx.de>.
|
5 | 5 |
#
|
6 | 6 |
#
|
7 | |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
7 |
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
|
|
8 |
# Inc.
|
8 | 9 |
#
|
9 | 10 |
#
|
10 | 11 |
# This configure script is free software; the Free Software Foundation
|
|
15 | 16 |
|
16 | 17 |
# Be more Bourne compatible
|
17 | 18 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
19 |
as_nop=:
|
|
20 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
21 |
then :
|
19 | 22 |
emulate sh
|
20 | 23 |
NULLCMD=:
|
21 | 24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
22 | 25 |
# is contrary to our usage. Disable this feature.
|
23 | 26 |
alias -g '${1+"$@"}'='"$@"'
|
24 | 27 |
setopt NO_GLOB_SUBST
|
25 | |
else
|
|
28 |
else $as_nop
|
26 | 29 |
case `(set -o) 2>/dev/null` in #(
|
27 | 30 |
*posix*) :
|
28 | 31 |
set -o posix ;; #(
|
|
32 | 35 |
fi
|
33 | 36 |
|
34 | 37 |
|
|
38 |
|
|
39 |
# Reset variables that may have inherited troublesome values from
|
|
40 |
# the environment.
|
|
41 |
|
|
42 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
43 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
44 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
45 |
# Quoting is to prevent editors from complaining about space-tab.
|
35 | 46 |
as_nl='
|
36 | 47 |
'
|
37 | 48 |
export as_nl
|
38 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
39 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
40 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
41 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
42 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
43 | |
# but without wasting forks for bash or zsh.
|
44 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
45 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
46 | |
as_echo='print -r --'
|
47 | |
as_echo_n='print -rn --'
|
48 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | |
as_echo='printf %s\n'
|
50 | |
as_echo_n='printf %s'
|
51 | |
else
|
52 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
53 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
54 | |
as_echo_n='/usr/ucb/echo -n'
|
55 | |
else
|
56 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | |
as_echo_n_body='eval
|
58 | |
arg=$1;
|
59 | |
case $arg in #(
|
60 | |
*"$as_nl"*)
|
61 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
63 | |
esac;
|
64 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
65 | |
'
|
66 | |
export as_echo_n_body
|
67 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
68 | |
fi
|
69 | |
export as_echo_body
|
70 | |
as_echo='sh -c $as_echo_body as_echo'
|
71 | |
fi
|
|
49 |
IFS=" "" $as_nl"
|
|
50 |
|
|
51 |
PS1='$ '
|
|
52 |
PS2='> '
|
|
53 |
PS4='+ '
|
|
54 |
|
|
55 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
56 |
LC_ALL=C
|
|
57 |
export LC_ALL
|
|
58 |
LANGUAGE=C
|
|
59 |
export LANGUAGE
|
|
60 |
|
|
61 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
62 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
63 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
64 |
# also avoids known problems related to "unset" and subshell syntax
|
|
65 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
66 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
67 |
do eval test \${$as_var+y} \
|
|
68 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
69 |
done
|
|
70 |
|
|
71 |
# Ensure that fds 0, 1, and 2 are open.
|
|
72 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
73 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
74 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
72 | 75 |
|
73 | 76 |
# The user is always right.
|
74 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
77 |
if ${PATH_SEPARATOR+false} :; then
|
75 | 78 |
PATH_SEPARATOR=:
|
76 | 79 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
77 | 80 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
79 | 82 |
}
|
80 | 83 |
fi
|
81 | 84 |
|
82 | |
|
83 | |
# IFS
|
84 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
85 | |
# there to prevent editors from complaining about space-tab.
|
86 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
87 | |
# splitting by setting IFS to empty value.)
|
88 | |
IFS=" "" $as_nl"
|
89 | 85 |
|
90 | 86 |
# Find who we are. Look in the path if we contain no directory separator.
|
91 | 87 |
as_myself=
|
|
95 | 91 |
for as_dir in $PATH
|
96 | 92 |
do
|
97 | 93 |
IFS=$as_save_IFS
|
98 | |
test -z "$as_dir" && as_dir=.
|
99 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
94 |
case $as_dir in #(((
|
|
95 |
'') as_dir=./ ;;
|
|
96 |
*/) ;;
|
|
97 |
*) as_dir=$as_dir/ ;;
|
|
98 |
esac
|
|
99 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
100 | 100 |
done
|
101 | 101 |
IFS=$as_save_IFS
|
102 | 102 |
|
|
108 | 108 |
as_myself=$0
|
109 | 109 |
fi
|
110 | 110 |
if test ! -f "$as_myself"; then
|
111 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
111 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
112 | 112 |
exit 1
|
113 | 113 |
fi
|
114 | 114 |
|
115 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
116 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
117 | |
# suppresses any "Segmentation fault" message there. '((' could
|
118 | |
# trigger a bug in pdksh 5.2.14.
|
119 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
120 | |
do eval test x\${$as_var+set} = xset \
|
121 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
122 | |
done
|
123 | |
PS1='$ '
|
124 | |
PS2='> '
|
125 | |
PS4='+ '
|
126 | |
|
127 | |
# NLS nuisances.
|
128 | |
LC_ALL=C
|
129 | |
export LC_ALL
|
130 | |
LANGUAGE=C
|
131 | |
export LANGUAGE
|
132 | |
|
133 | |
# CDPATH.
|
134 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
135 | 115 |
|
136 | 116 |
# Use a proper internal environment variable to ensure we don't fall
|
137 | 117 |
# into an infinite loop, continuously re-executing ourselves.
|
|
153 | 133 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
154 | 134 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
155 | 135 |
# out after a failed `exec'.
|
156 | |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
157 | |
as_fn_exit 255
|
|
136 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
137 |
exit 255
|
158 | 138 |
fi
|
159 | 139 |
# We don't want this to propagate to other subprocesses.
|
160 | 140 |
{ _as_can_reexec=; unset _as_can_reexec;}
|
161 | 141 |
if test "x$CONFIG_SHELL" = x; then
|
162 | |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
142 |
as_bourne_compatible="as_nop=:
|
|
143 |
if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
144 |
then :
|
163 | 145 |
emulate sh
|
164 | 146 |
NULLCMD=:
|
165 | 147 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
166 | 148 |
# is contrary to our usage. Disable this feature.
|
167 | 149 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
168 | 150 |
setopt NO_GLOB_SUBST
|
169 | |
else
|
|
151 |
else \$as_nop
|
170 | 152 |
case \`(set -o) 2>/dev/null\` in #(
|
171 | 153 |
*posix*) :
|
172 | 154 |
set -o posix ;; #(
|
|
186 | 168 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
187 | 169 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
188 | 170 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
189 | |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
190 | |
|
191 | |
else
|
|
171 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
|
|
172 |
then :
|
|
173 |
|
|
174 |
else \$as_nop
|
192 | 175 |
exitcode=1; echo positional parameters were not saved.
|
193 | 176 |
fi
|
194 | 177 |
test x\$exitcode = x0 || exit 1
|
|
178 |
blah=\$(echo \$(echo blah))
|
|
179 |
test x\"\$blah\" = xblah || exit 1
|
195 | 180 |
test -x / || exit 1"
|
196 | 181 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
197 | 182 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
198 | 183 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
199 | |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
200 | |
test \$(( 1 + 1 )) = 2 || exit 1"
|
201 | |
if (eval "$as_required") 2>/dev/null; then :
|
|
184 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
|
|
185 |
if (eval "$as_required") 2>/dev/null
|
|
186 |
then :
|
202 | 187 |
as_have_required=yes
|
203 | |
else
|
|
188 |
else $as_nop
|
204 | 189 |
as_have_required=no
|
205 | 190 |
fi
|
206 | |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
207 | |
|
208 | |
else
|
|
191 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
|
|
192 |
then :
|
|
193 |
|
|
194 |
else $as_nop
|
209 | 195 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
210 | 196 |
as_found=false
|
211 | 197 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
212 | 198 |
do
|
213 | 199 |
IFS=$as_save_IFS
|
214 | |
test -z "$as_dir" && as_dir=.
|
|
200 |
case $as_dir in #(((
|
|
201 |
'') as_dir=./ ;;
|
|
202 |
*/) ;;
|
|
203 |
*) as_dir=$as_dir/ ;;
|
|
204 |
esac
|
215 | 205 |
as_found=:
|
216 | 206 |
case $as_dir in #(
|
217 | 207 |
/*)
|
218 | 208 |
for as_base in sh bash ksh sh5; do
|
219 | 209 |
# Try only shells that exist, to save several forks.
|
220 | |
as_shell=$as_dir/$as_base
|
|
210 |
as_shell=$as_dir$as_base
|
221 | 211 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
222 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
212 |
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
|
|
213 |
then :
|
223 | 214 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
224 | |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
215 |
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
|
|
216 |
then :
|
225 | 217 |
break 2
|
226 | 218 |
fi
|
227 | 219 |
fi
|
|
229 | 221 |
esac
|
230 | 222 |
as_found=false
|
231 | 223 |
done
|
232 | |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
233 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
224 |
IFS=$as_save_IFS
|
|
225 |
if $as_found
|
|
226 |
then :
|
|
227 |
|
|
228 |
else $as_nop
|
|
229 |
if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
230 |
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
|
|
231 |
then :
|
234 | 232 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
235 | |
fi; }
|
236 | |
IFS=$as_save_IFS
|
237 | |
|
238 | |
|
239 | |
if test "x$CONFIG_SHELL" != x; then :
|
|
233 |
fi
|
|
234 |
fi
|
|
235 |
|
|
236 |
|
|
237 |
if test "x$CONFIG_SHELL" != x
|
|
238 |
then :
|
240 | 239 |
export CONFIG_SHELL
|
241 | 240 |
# We cannot yet assume a decent shell, so we have to provide a
|
242 | 241 |
# neutralization value for shells without unset; and this also
|
|
254 | 253 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
255 | 254 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
256 | 255 |
# out after a failed `exec'.
|
257 | |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
256 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
|
258 | 257 |
exit 255
|
259 | 258 |
fi
|
260 | 259 |
|
261 | |
if test x$as_have_required = xno; then :
|
262 | |
$as_echo "$0: This script requires a shell more modern than all"
|
263 | |
$as_echo "$0: the shells that I found on your system."
|
264 | |
if test x${ZSH_VERSION+set} = xset ; then
|
265 | |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
266 | |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
260 |
if test x$as_have_required = xno
|
|
261 |
then :
|
|
262 |
printf "%s\n" "$0: This script requires a shell more modern than all"
|
|
263 |
printf "%s\n" "$0: the shells that I found on your system."
|
|
264 |
if test ${ZSH_VERSION+y} ; then
|
|
265 |
printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
266 |
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
|
267 | 267 |
else
|
268 | |
$as_echo "$0: Please tell bug-autoconf@gnu.org and tobias.han@gmx.de
|
|
268 |
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and tobias.han@gmx.de
|
269 | 269 |
$0: about your system, including any error possibly output
|
270 | 270 |
$0: before this message. Then install a modern shell, or
|
271 | 271 |
$0: manually run the script under such a shell if you do
|
|
293 | 293 |
}
|
294 | 294 |
as_unset=as_fn_unset
|
295 | 295 |
|
|
296 |
|
296 | 297 |
# as_fn_set_status STATUS
|
297 | 298 |
# -----------------------
|
298 | 299 |
# Set $? to STATUS, without forking.
|
|
310 | 311 |
as_fn_set_status $1
|
311 | 312 |
exit $1
|
312 | 313 |
} # as_fn_exit
|
|
314 |
# as_fn_nop
|
|
315 |
# ---------
|
|
316 |
# Do nothing but, unlike ":", preserve the value of $?.
|
|
317 |
as_fn_nop ()
|
|
318 |
{
|
|
319 |
return $?
|
|
320 |
}
|
|
321 |
as_nop=as_fn_nop
|
313 | 322 |
|
314 | 323 |
# as_fn_mkdir_p
|
315 | 324 |
# -------------
|
|
324 | 333 |
as_dirs=
|
325 | 334 |
while :; do
|
326 | 335 |
case $as_dir in #(
|
327 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
336 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
328 | 337 |
*) as_qdir=$as_dir;;
|
329 | 338 |
esac
|
330 | 339 |
as_dirs="'$as_qdir' $as_dirs"
|
|
333 | 342 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
334 | 343 |
X"$as_dir" : 'X\(//\)$' \| \
|
335 | 344 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
336 | |
$as_echo X"$as_dir" |
|
|
345 |
printf "%s\n" X"$as_dir" |
|
337 | 346 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
338 | 347 |
s//\1/
|
339 | 348 |
q
|
|
372 | 381 |
# advantage of any shell optimizations that allow amortized linear growth over
|
373 | 382 |
# repeated appends, instead of the typical quadratic growth present in naive
|
374 | 383 |
# implementations.
|
375 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
384 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
385 |
then :
|
376 | 386 |
eval 'as_fn_append ()
|
377 | 387 |
{
|
378 | 388 |
eval $1+=\$2
|
379 | 389 |
}'
|
380 | |
else
|
|
390 |
else $as_nop
|
381 | 391 |
as_fn_append ()
|
382 | 392 |
{
|
383 | 393 |
eval $1=\$$1\$2
|
|
389 | 399 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
390 | 400 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
391 | 401 |
# must be portable across $(()) and expr.
|
392 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
402 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
403 |
then :
|
393 | 404 |
eval 'as_fn_arith ()
|
394 | 405 |
{
|
395 | 406 |
as_val=$(( $* ))
|
396 | 407 |
}'
|
397 | |
else
|
|
408 |
else $as_nop
|
398 | 409 |
as_fn_arith ()
|
399 | 410 |
{
|
400 | 411 |
as_val=`expr "$@" || test $? -eq 1`
|
401 | 412 |
}
|
402 | 413 |
fi # as_fn_arith
|
403 | 414 |
|
|
415 |
# as_fn_nop
|
|
416 |
# ---------
|
|
417 |
# Do nothing but, unlike ":", preserve the value of $?.
|
|
418 |
as_fn_nop ()
|
|
419 |
{
|
|
420 |
return $?
|
|
421 |
}
|
|
422 |
as_nop=as_fn_nop
|
404 | 423 |
|
405 | 424 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
406 | 425 |
# ----------------------------------------
|
|
412 | 431 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
413 | 432 |
if test "$4"; then
|
414 | 433 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
415 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
434 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
416 | 435 |
fi
|
417 | |
$as_echo "$as_me: error: $2" >&2
|
|
436 |
printf "%s\n" "$as_me: error: $2" >&2
|
418 | 437 |
as_fn_exit $as_status
|
419 | 438 |
} # as_fn_error
|
420 | 439 |
|
|
441 | 460 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
442 | 461 |
X"$0" : 'X\(//\)$' \| \
|
443 | 462 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
444 | |
$as_echo X/"$0" |
|
|
463 |
printf "%s\n" X/"$0" |
|
445 | 464 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
446 | 465 |
s//\1/
|
447 | 466 |
q
|
|
485 | 504 |
s/-\n.*//
|
486 | 505 |
' >$as_me.lineno &&
|
487 | 506 |
chmod +x "$as_me.lineno" ||
|
488 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
507 |
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
489 | 508 |
|
490 | 509 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
491 | 510 |
# already done that, so ensure we don't try to do so again and fall
|
|
499 | 518 |
exit
|
500 | 519 |
}
|
501 | 520 |
|
|
521 |
|
|
522 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
523 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
524 |
# for compatibility with existing Makefiles.
|
502 | 525 |
ECHO_C= ECHO_N= ECHO_T=
|
503 | 526 |
case `echo -n x` in #(((((
|
504 | 527 |
-n*)
|
|
511 | 534 |
*)
|
512 | 535 |
ECHO_N='-n';;
|
513 | 536 |
esac
|
|
537 |
|
|
538 |
# For backward compatibility with old third-party macros, we provide
|
|
539 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
540 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
541 |
as_echo='printf %s\n'
|
|
542 |
as_echo_n='printf %s'
|
|
543 |
|
514 | 544 |
|
515 | 545 |
rm -f conf$$ conf$$.exe conf$$.file
|
516 | 546 |
if test -d conf$$.dir; then
|
|
587 | 617 |
ac_unique_file="source/CommonCode/tga.cpp"
|
588 | 618 |
# Factoring default headers for most tests.
|
589 | 619 |
ac_includes_default="\
|
590 | |
#include <stdio.h>
|
591 | |
#ifdef HAVE_SYS_TYPES_H
|
592 | |
# include <sys/types.h>
|
|
620 |
#include <stddef.h>
|
|
621 |
#ifdef HAVE_STDIO_H
|
|
622 |
# include <stdio.h>
|
593 | 623 |
#endif
|
594 | |
#ifdef HAVE_SYS_STAT_H
|
595 | |
# include <sys/stat.h>
|
596 | |
#endif
|
597 | |
#ifdef STDC_HEADERS
|
|
624 |
#ifdef HAVE_STDLIB_H
|
598 | 625 |
# include <stdlib.h>
|
599 | |
# include <stddef.h>
|
600 | |
#else
|
601 | |
# ifdef HAVE_STDLIB_H
|
602 | |
# include <stdlib.h>
|
603 | |
# endif
|
604 | 626 |
#endif
|
605 | 627 |
#ifdef HAVE_STRING_H
|
606 | |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
607 | |
# include <memory.h>
|
608 | |
# endif
|
609 | 628 |
# include <string.h>
|
610 | |
#endif
|
611 | |
#ifdef HAVE_STRINGS_H
|
612 | |
# include <strings.h>
|
613 | 629 |
#endif
|
614 | 630 |
#ifdef HAVE_INTTYPES_H
|
615 | 631 |
# include <inttypes.h>
|
|
617 | 633 |
#ifdef HAVE_STDINT_H
|
618 | 634 |
# include <stdint.h>
|
619 | 635 |
#endif
|
|
636 |
#ifdef HAVE_STRINGS_H
|
|
637 |
# include <strings.h>
|
|
638 |
#endif
|
|
639 |
#ifdef HAVE_SYS_TYPES_H
|
|
640 |
# include <sys/types.h>
|
|
641 |
#endif
|
|
642 |
#ifdef HAVE_SYS_STAT_H
|
|
643 |
# include <sys/stat.h>
|
|
644 |
#endif
|
620 | 645 |
#ifdef HAVE_UNISTD_H
|
621 | 646 |
# include <unistd.h>
|
622 | 647 |
#endif"
|
623 | 648 |
|
|
649 |
ac_header_c_list=
|
624 | 650 |
ac_subst_vars='am__EXEEXT_FALSE
|
625 | 651 |
am__EXEEXT_TRUE
|
626 | 652 |
LTLIBOBJS
|
|
639 | 665 |
COND_ENGINE_FALSE
|
640 | 666 |
COND_ENGINE_TRUE
|
641 | 667 |
LIBOBJS
|
642 | |
EGREP
|
643 | |
GREP
|
644 | |
CPP
|
|
668 |
host_os
|
|
669 |
host_vendor
|
|
670 |
host_cpu
|
|
671 |
host
|
|
672 |
build_os
|
|
673 |
build_vendor
|
|
674 |
build_cpu
|
|
675 |
build
|
645 | 676 |
LIBPNG_LIBS
|
646 | 677 |
LIBPNG_CFLAGS
|
647 | 678 |
GLIB_LIBS
|
|
672 | 703 |
AMDEPBACKSLASH
|
673 | 704 |
AMDEP_FALSE
|
674 | 705 |
AMDEP_TRUE
|
675 | |
am__quote
|
676 | 706 |
am__include
|
677 | 707 |
DEPDIR
|
678 | 708 |
OBJEXT
|
|
686 | 716 |
AM_DEFAULT_VERBOSITY
|
687 | 717 |
AM_DEFAULT_V
|
688 | 718 |
AM_V
|
|
719 |
CSCOPE
|
|
720 |
ETAGS
|
|
721 |
CTAGS
|
689 | 722 |
am__untar
|
690 | 723 |
am__tar
|
691 | 724 |
AMTAR
|
|
747 | 780 |
PACKAGE_TARNAME
|
748 | 781 |
PACKAGE_NAME
|
749 | 782 |
PATH_SEPARATOR
|
750 | |
SHELL'
|
|
783 |
SHELL
|
|
784 |
am__quote'
|
751 | 785 |
ac_subst_files=''
|
752 | 786 |
ac_user_opts='
|
753 | 787 |
enable_option_checking
|
|
786 | 820 |
GLIB_CFLAGS
|
787 | 821 |
GLIB_LIBS
|
788 | 822 |
LIBPNG_CFLAGS
|
789 | |
LIBPNG_LIBS
|
790 | |
CPP'
|
|
823 |
LIBPNG_LIBS'
|
791 | 824 |
|
792 | 825 |
|
793 | 826 |
# Initialize some variables set by options.
|
|
856 | 889 |
*) ac_optarg=yes ;;
|
857 | 890 |
esac
|
858 | 891 |
|
859 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
860 | |
|
861 | 892 |
case $ac_dashdash$ac_option in
|
862 | 893 |
--)
|
863 | 894 |
ac_dashdash=yes ;;
|
|
898 | 929 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
899 | 930 |
# Reject names that are not valid shell variable names.
|
900 | 931 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
901 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
932 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
902 | 933 |
ac_useropt_orig=$ac_useropt
|
903 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
934 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
904 | 935 |
case $ac_user_opts in
|
905 | 936 |
*"
|
906 | 937 |
"enable_$ac_useropt"
|
|
924 | 955 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
925 | 956 |
# Reject names that are not valid shell variable names.
|
926 | 957 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
927 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
958 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
928 | 959 |
ac_useropt_orig=$ac_useropt
|
929 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
960 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
930 | 961 |
case $ac_user_opts in
|
931 | 962 |
*"
|
932 | 963 |
"enable_$ac_useropt"
|
|
1137 | 1168 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1138 | 1169 |
# Reject names that are not valid shell variable names.
|
1139 | 1170 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1140 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1171 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1141 | 1172 |
ac_useropt_orig=$ac_useropt
|
1142 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1173 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1143 | 1174 |
case $ac_user_opts in
|
1144 | 1175 |
*"
|
1145 | 1176 |
"with_$ac_useropt"
|
|
1153 | 1184 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1154 | 1185 |
# Reject names that are not valid shell variable names.
|
1155 | 1186 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1156 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1187 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1157 | 1188 |
ac_useropt_orig=$ac_useropt
|
1158 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1189 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1159 | 1190 |
case $ac_user_opts in
|
1160 | 1191 |
*"
|
1161 | 1192 |
"with_$ac_useropt"
|
|
1199 | 1230 |
|
1200 | 1231 |
*)
|
1201 | 1232 |
# FIXME: should be removed in autoconf 3.0.
|
1202 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1233 |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1203 | 1234 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1204 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1235 |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1205 | 1236 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1206 | 1237 |
;;
|
1207 | 1238 |
|
|
1217 | 1248 |
case $enable_option_checking in
|
1218 | 1249 |
no) ;;
|
1219 | 1250 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1220 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1251 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1221 | 1252 |
esac
|
1222 | 1253 |
fi
|
1223 | 1254 |
|
|
1281 | 1312 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1282 | 1313 |
X"$as_myself" : 'X\(//\)$' \| \
|
1283 | 1314 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1284 | |
$as_echo X"$as_myself" |
|
|
1315 |
printf "%s\n" X"$as_myself" |
|
1285 | 1316 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1286 | 1317 |
s//\1/
|
1287 | 1318 |
q
|
|
1400 | 1431 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
1401 | 1432 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
1402 | 1433 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
1434 |
|
|
1435 |
System types:
|
|
1436 |
--build=BUILD configure for building on BUILD [guessed]
|
|
1437 |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
1403 | 1438 |
_ACEOF
|
1404 | 1439 |
fi
|
1405 | 1440 |
|
|
1456 | 1491 |
LIBPNG_CFLAGS
|
1457 | 1492 |
C compiler flags for LIBPNG, overriding pkg-config
|
1458 | 1493 |
LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
|
1459 | |
CPP C preprocessor
|
1460 | 1494 |
|
1461 | 1495 |
Use these variables to override the choices made by `configure' or to help
|
1462 | 1496 |
it to find libraries and programs with nonstandard names/locations.
|
|
1478 | 1512 |
case "$ac_dir" in
|
1479 | 1513 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1480 | 1514 |
*)
|
1481 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1515 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
1482 | 1516 |
# A ".." for each directory in $ac_dir_suffix.
|
1483 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1517 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1484 | 1518 |
case $ac_top_builddir_sub in
|
1485 | 1519 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1486 | 1520 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1508 | 1542 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1509 | 1543 |
|
1510 | 1544 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1511 | |
# Check for guested configure.
|
|
1545 |
# Check for configure.gnu first; this name is used for a wrapper for
|
|
1546 |
# Metaconfig's "Configure" on case-insensitive file systems.
|
1512 | 1547 |
if test -f "$ac_srcdir/configure.gnu"; then
|
1513 | 1548 |
echo &&
|
1514 | 1549 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1516 | 1551 |
echo &&
|
1517 | 1552 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1518 | 1553 |
else
|
1519 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1554 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1520 | 1555 |
fi || ac_status=$?
|
1521 | 1556 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1522 | 1557 |
done
|
|
1526 | 1561 |
if $ac_init_version; then
|
1527 | 1562 |
cat <<\_ACEOF
|
1528 | 1563 |
SLUDGE configure 2.2.2
|
1529 | |
generated by GNU Autoconf 2.69
|
1530 | |
|
1531 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
1564 |
generated by GNU Autoconf 2.71
|
|
1565 |
|
|
1566 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
1532 | 1567 |
This configure script is free software; the Free Software Foundation
|
1533 | 1568 |
gives unlimited permission to copy, distribute and modify it.
|
1534 | 1569 |
_ACEOF
|
|
1545 | 1580 |
ac_fn_cxx_try_compile ()
|
1546 | 1581 |
{
|
1547 | 1582 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1548 | |
rm -f conftest.$ac_objext
|
|
1583 |
rm -f conftest.$ac_objext conftest.beam
|
1549 | 1584 |
if { { ac_try="$ac_compile"
|
1550 | 1585 |
case "(($ac_try" in
|
1551 | 1586 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1552 | 1587 |
*) ac_try_echo=$ac_try;;
|
1553 | 1588 |
esac
|
1554 | 1589 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1555 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1590 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1556 | 1591 |
(eval "$ac_compile") 2>conftest.err
|
1557 | 1592 |
ac_status=$?
|
1558 | 1593 |
if test -s conftest.err; then
|
|
1560 | 1595 |
cat conftest.er1 >&5
|
1561 | 1596 |
mv -f conftest.er1 conftest.err
|
1562 | 1597 |
fi
|
1563 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1598 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1564 | 1599 |
test $ac_status = 0; } && {
|
1565 | 1600 |
test -z "$ac_cxx_werror_flag" ||
|
1566 | 1601 |
test ! -s conftest.err
|
1567 | |
} && test -s conftest.$ac_objext; then :
|
|
1602 |
} && test -s conftest.$ac_objext
|
|
1603 |
then :
|
1568 | 1604 |
ac_retval=0
|
1569 | |
else
|
1570 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1605 |
else $as_nop
|
|
1606 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1571 | 1607 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1572 | 1608 |
|
1573 | 1609 |
ac_retval=1
|
|
1583 | 1619 |
ac_fn_c_try_compile ()
|
1584 | 1620 |
{
|
1585 | 1621 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1586 | |
rm -f conftest.$ac_objext
|
|
1622 |
rm -f conftest.$ac_objext conftest.beam
|
1587 | 1623 |
if { { ac_try="$ac_compile"
|
1588 | 1624 |
case "(($ac_try" in
|
1589 | 1625 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1590 | 1626 |
*) ac_try_echo=$ac_try;;
|
1591 | 1627 |
esac
|
1592 | 1628 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1593 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1629 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1594 | 1630 |
(eval "$ac_compile") 2>conftest.err
|
1595 | 1631 |
ac_status=$?
|
1596 | 1632 |
if test -s conftest.err; then
|
|
1598 | 1634 |
cat conftest.er1 >&5
|
1599 | 1635 |
mv -f conftest.er1 conftest.err
|
1600 | 1636 |
fi
|
1601 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1637 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1602 | 1638 |
test $ac_status = 0; } && {
|
1603 | 1639 |
test -z "$ac_c_werror_flag" ||
|
1604 | 1640 |
test ! -s conftest.err
|
1605 | |
} && test -s conftest.$ac_objext; then :
|
|
1641 |
} && test -s conftest.$ac_objext
|
|
1642 |
then :
|
1606 | 1643 |
ac_retval=0
|
1607 | |
else
|
1608 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1644 |
else $as_nop
|
|
1645 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1609 | 1646 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1610 | 1647 |
|
1611 | 1648 |
ac_retval=1
|
|
1621 | 1658 |
ac_fn_c_try_link ()
|
1622 | 1659 |
{
|
1623 | 1660 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1624 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1661 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
1625 | 1662 |
if { { ac_try="$ac_link"
|
1626 | 1663 |
case "(($ac_try" in
|
1627 | 1664 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1628 | 1665 |
*) ac_try_echo=$ac_try;;
|
1629 | 1666 |
esac
|
1630 | 1667 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1631 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1668 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1632 | 1669 |
(eval "$ac_link") 2>conftest.err
|
1633 | 1670 |
ac_status=$?
|
1634 | 1671 |
if test -s conftest.err; then
|
|
1636 | 1673 |
cat conftest.er1 >&5
|
1637 | 1674 |
mv -f conftest.er1 conftest.err
|
1638 | 1675 |
fi
|
1639 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1676 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1640 | 1677 |
test $ac_status = 0; } && {
|
1641 | 1678 |
test -z "$ac_c_werror_flag" ||
|
1642 | 1679 |
test ! -s conftest.err
|
1643 | 1680 |
} && test -s conftest$ac_exeext && {
|
1644 | 1681 |
test "$cross_compiling" = yes ||
|
1645 | 1682 |
test -x conftest$ac_exeext
|
1646 | |
}; then :
|
|
1683 |
}
|
|
1684 |
then :
|
1647 | 1685 |
ac_retval=0
|
1648 | |
else
|
1649 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1686 |
else $as_nop
|
|
1687 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1650 | 1688 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1651 | 1689 |
|
1652 | 1690 |
ac_retval=1
|
|
1661 | 1699 |
|
1662 | 1700 |
} # ac_fn_c_try_link
|
1663 | 1701 |
|
1664 | |
# ac_fn_c_try_cpp LINENO
|
1665 | |
# ----------------------
|
1666 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1667 | |
ac_fn_c_try_cpp ()
|
1668 | |
{
|
1669 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1670 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1671 | |
case "(($ac_try" in
|
1672 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1673 | |
*) ac_try_echo=$ac_try;;
|
1674 | |
esac
|
1675 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1676 | |
$as_echo "$ac_try_echo"; } >&5
|
1677 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1678 | |
ac_status=$?
|
1679 | |
if test -s conftest.err; then
|
1680 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1681 | |
cat conftest.er1 >&5
|
1682 | |
mv -f conftest.er1 conftest.err
|
1683 | |
fi
|
1684 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1685 | |
test $ac_status = 0; } > conftest.i && {
|
1686 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1687 | |
test ! -s conftest.err
|
1688 | |
}; then :
|
1689 | |
ac_retval=0
|
1690 | |
else
|
1691 | |
$as_echo "$as_me: failed program was:" >&5
|
1692 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1693 | |
|
1694 | |
ac_retval=1
|
1695 | |
fi
|
1696 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1697 | |
as_fn_set_status $ac_retval
|
1698 | |
|
1699 | |
} # ac_fn_c_try_cpp
|
1700 | |
|
1701 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1702 | |
# -------------------------------------------------------
|
1703 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1704 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1705 | |
# accordingly.
|
1706 | |
ac_fn_c_check_header_mongrel ()
|
1707 | |
{
|
1708 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1709 | |
if eval \${$3+:} false; then :
|
1710 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1711 | |
$as_echo_n "checking for $2... " >&6; }
|
1712 | |
if eval \${$3+:} false; then :
|
1713 | |
$as_echo_n "(cached) " >&6
|
1714 | |
fi
|
1715 | |
eval ac_res=\$$3
|
1716 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1717 | |
$as_echo "$ac_res" >&6; }
|
1718 | |
else
|
1719 | |
# Is the header compilable?
|
1720 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1721 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1722 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1723 | |
/* end confdefs.h. */
|
1724 | |
$4
|
1725 | |
#include <$2>
|
1726 | |
_ACEOF
|
1727 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1728 | |
ac_header_compiler=yes
|
1729 | |
else
|
1730 | |
ac_header_compiler=no
|
1731 | |
fi
|
1732 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1733 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1734 | |
$as_echo "$ac_header_compiler" >&6; }
|
1735 | |
|
1736 | |
# Is the header present?
|
1737 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1738 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1739 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1740 | |
/* end confdefs.h. */
|
1741 | |
#include <$2>
|
1742 | |
_ACEOF
|
1743 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1744 | |
ac_header_preproc=yes
|
1745 | |
else
|
1746 | |
ac_header_preproc=no
|
1747 | |
fi
|
1748 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1749 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1750 | |
$as_echo "$ac_header_preproc" >&6; }
|
1751 | |
|
1752 | |
# So? What about this header?
|
1753 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1754 | |
yes:no: )
|
1755 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1756 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1757 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1758 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1759 | |
;;
|
1760 | |
no:yes:* )
|
1761 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1762 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1763 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1764 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1765 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1766 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1767 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1768 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1769 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1770 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1771 | |
( $as_echo "## -------------------------------- ##
|
1772 | |
## Report this to tobias.han@gmx.de ##
|
1773 | |
## -------------------------------- ##"
|
1774 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
1775 | |
;;
|
1776 | |
esac
|
1777 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1778 | |
$as_echo_n "checking for $2... " >&6; }
|
1779 | |
if eval \${$3+:} false; then :
|
1780 | |
$as_echo_n "(cached) " >&6
|
1781 | |
else
|
1782 | |
eval "$3=\$ac_header_compiler"
|
1783 | |
fi
|
1784 | |
eval ac_res=\$$3
|
1785 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1786 | |
$as_echo "$ac_res" >&6; }
|
1787 | |
fi
|
1788 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1789 | |
|
1790 | |
} # ac_fn_c_check_header_mongrel
|
1791 | |
|
1792 | |
# ac_fn_c_try_run LINENO
|
1793 | |
# ----------------------
|
1794 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1795 | |
# that executables *can* be run.
|
1796 | |
ac_fn_c_try_run ()
|
1797 | |
{
|
1798 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1799 | |
if { { ac_try="$ac_link"
|
1800 | |
case "(($ac_try" in
|
1801 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1802 | |
*) ac_try_echo=$ac_try;;
|
1803 | |
esac
|
1804 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1805 | |
$as_echo "$ac_try_echo"; } >&5
|
1806 | |
(eval "$ac_link") 2>&5
|
1807 | |
ac_status=$?
|
1808 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1809 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1810 | |
{ { case "(($ac_try" in
|
1811 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1812 | |
*) ac_try_echo=$ac_try;;
|
1813 | |
esac
|
1814 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1815 | |
$as_echo "$ac_try_echo"; } >&5
|
1816 | |
(eval "$ac_try") 2>&5
|
1817 | |
ac_status=$?
|
1818 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1819 | |
test $ac_status = 0; }; }; then :
|
1820 | |
ac_retval=0
|
1821 | |
else
|
1822 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1823 | |
$as_echo "$as_me: failed program was:" >&5
|
1824 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1825 | |
|
1826 | |
ac_retval=$ac_status
|
1827 | |
fi
|
1828 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1829 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1830 | |
as_fn_set_status $ac_retval
|
1831 | |
|
1832 | |
} # ac_fn_c_try_run
|
1833 | |
|
1834 | 1702 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1835 | 1703 |
# -------------------------------------------------------
|
1836 | 1704 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1838 | 1706 |
ac_fn_c_check_header_compile ()
|
1839 | 1707 |
{
|
1840 | 1708 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1841 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1842 | |
$as_echo_n "checking for $2... " >&6; }
|
1843 | |
if eval \${$3+:} false; then :
|
1844 | |
$as_echo_n "(cached) " >&6
|
1845 | |
else
|
|
1709 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1710 |
printf %s "checking for $2... " >&6; }
|
|
1711 |
if eval test \${$3+y}
|
|
1712 |
then :
|
|
1713 |
printf %s "(cached) " >&6
|
|
1714 |
else $as_nop
|
1846 | 1715 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1847 | 1716 |
/* end confdefs.h. */
|
1848 | 1717 |
$4
|
1849 | 1718 |
#include <$2>
|
1850 | 1719 |
_ACEOF
|
1851 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1720 |
if ac_fn_c_try_compile "$LINENO"
|
|
1721 |
then :
|
1852 | 1722 |
eval "$3=yes"
|
1853 | |
else
|
|
1723 |
else $as_nop
|
1854 | 1724 |
eval "$3=no"
|
1855 | 1725 |
fi
|
1856 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1726 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1857 | 1727 |
fi
|
1858 | 1728 |
eval ac_res=\$$3
|
1859 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1860 | |
$as_echo "$ac_res" >&6; }
|
|
1729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1730 |
printf "%s\n" "$ac_res" >&6; }
|
1861 | 1731 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1862 | 1732 |
|
1863 | 1733 |
} # ac_fn_c_check_header_compile
|
|
1869 | 1739 |
ac_fn_c_check_type ()
|
1870 | 1740 |
{
|
1871 | 1741 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1872 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1873 | |
$as_echo_n "checking for $2... " >&6; }
|
1874 | |
if eval \${$3+:} false; then :
|
1875 | |
$as_echo_n "(cached) " >&6
|
1876 | |
else
|
|
1742 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1743 |
printf %s "checking for $2... " >&6; }
|
|
1744 |
if eval test \${$3+y}
|
|
1745 |
then :
|
|
1746 |
printf %s "(cached) " >&6
|
|
1747 |
else $as_nop
|
1877 | 1748 |
eval "$3=no"
|
1878 | 1749 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1879 | 1750 |
/* end confdefs.h. */
|
1880 | 1751 |
$4
|
1881 | 1752 |
int
|
1882 | |
main ()
|
|
1753 |
main (void)
|
1883 | 1754 |
{
|
1884 | 1755 |
if (sizeof ($2))
|
1885 | 1756 |
return 0;
|
|
1887 | 1758 |
return 0;
|
1888 | 1759 |
}
|
1889 | 1760 |
_ACEOF
|
1890 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1761 |
if ac_fn_c_try_compile "$LINENO"
|
|
1762 |
then :
|
1891 | 1763 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1892 | 1764 |
/* end confdefs.h. */
|
1893 | 1765 |
$4
|
1894 | 1766 |
int
|
1895 | |
main ()
|
|
1767 |
main (void)
|
1896 | 1768 |
{
|
1897 | 1769 |
if (sizeof (($2)))
|
1898 | 1770 |
return 0;
|
|
1900 | 1772 |
return 0;
|
1901 | 1773 |
}
|
1902 | 1774 |
_ACEOF
|
1903 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1904 | |
|
1905 | |
else
|
|
1775 |
if ac_fn_c_try_compile "$LINENO"
|
|
1776 |
then :
|
|
1777 |
|
|
1778 |
else $as_nop
|
1906 | 1779 |
eval "$3=yes"
|
1907 | 1780 |
fi
|
1908 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1909 | |
fi
|
1910 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1781 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1782 |
fi
|
|
1783 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1911 | 1784 |
fi
|
1912 | 1785 |
eval ac_res=\$$3
|
1913 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1914 | |
$as_echo "$ac_res" >&6; }
|
|
1786 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1787 |
printf "%s\n" "$ac_res" >&6; }
|
1915 | 1788 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1916 | 1789 |
|
1917 | 1790 |
} # ac_fn_c_check_type
|
|
1923 | 1796 |
ac_fn_c_find_intX_t ()
|
1924 | 1797 |
{
|
1925 | 1798 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1926 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
|
1927 | |
$as_echo_n "checking for int$2_t... " >&6; }
|
1928 | |
if eval \${$3+:} false; then :
|
1929 | |
$as_echo_n "(cached) " >&6
|
1930 | |
else
|
|
1799 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
|
|
1800 |
printf %s "checking for int$2_t... " >&6; }
|
|
1801 |
if eval test \${$3+y}
|
|
1802 |
then :
|
|
1803 |
printf %s "(cached) " >&6
|
|
1804 |
else $as_nop
|
1931 | 1805 |
eval "$3=no"
|
1932 | 1806 |
# Order is important - never check a type that is potentially smaller
|
1933 | 1807 |
# than half of the expected target width.
|
|
1938 | 1812 |
$ac_includes_default
|
1939 | 1813 |
enum { N = $2 / 2 - 1 };
|
1940 | 1814 |
int
|
1941 | |
main ()
|
|
1815 |
main (void)
|
1942 | 1816 |
{
|
1943 | 1817 |
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
|
1944 | 1818 |
test_array [0] = 0;
|
|
1948 | 1822 |
return 0;
|
1949 | 1823 |
}
|
1950 | 1824 |
_ACEOF
|
1951 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1825 |
if ac_fn_c_try_compile "$LINENO"
|
|
1826 |
then :
|
1952 | 1827 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1953 | 1828 |
/* end confdefs.h. */
|
1954 | 1829 |
$ac_includes_default
|
1955 | 1830 |
enum { N = $2 / 2 - 1 };
|
1956 | 1831 |
int
|
1957 | |
main ()
|
|
1832 |
main (void)
|
1958 | 1833 |
{
|
1959 | 1834 |
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
|
1960 | 1835 |
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
|
|
1965 | 1840 |
return 0;
|
1966 | 1841 |
}
|
1967 | 1842 |
_ACEOF
|
1968 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1969 | |
|
1970 | |
else
|
|
1843 |
if ac_fn_c_try_compile "$LINENO"
|
|
1844 |
then :
|
|
1845 |
|
|
1846 |
else $as_nop
|
1971 | 1847 |
case $ac_type in #(
|
1972 | 1848 |
int$2_t) :
|
1973 | 1849 |
eval "$3=yes" ;; #(
|
|
1975 | 1851 |
eval "$3=\$ac_type" ;;
|
1976 | 1852 |
esac
|
1977 | 1853 |
fi
|
1978 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1979 | |
fi
|
1980 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1981 | |
if eval test \"x\$"$3"\" = x"no"; then :
|
1982 | |
|
1983 | |
else
|
|
1854 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1855 |
fi
|
|
1856 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1857 |
if eval test \"x\$"$3"\" = x"no"
|
|
1858 |
then :
|
|
1859 |
|
|
1860 |
else $as_nop
|
1984 | 1861 |
break
|
1985 | 1862 |
fi
|
1986 | 1863 |
done
|
1987 | 1864 |
fi
|
1988 | 1865 |
eval ac_res=\$$3
|
1989 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1990 | |
$as_echo "$ac_res" >&6; }
|
|
1866 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1867 |
printf "%s\n" "$ac_res" >&6; }
|
1991 | 1868 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1992 | 1869 |
|
1993 | 1870 |
} # ac_fn_c_find_intX_t
|
|
1999 | 1876 |
ac_fn_c_find_uintX_t ()
|
2000 | 1877 |
{
|
2001 | 1878 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2002 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
|
2003 | |
$as_echo_n "checking for uint$2_t... " >&6; }
|
2004 | |
if eval \${$3+:} false; then :
|
2005 | |
$as_echo_n "(cached) " >&6
|
2006 | |
else
|
|
1879 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
|
|
1880 |
printf %s "checking for uint$2_t... " >&6; }
|
|
1881 |
if eval test \${$3+y}
|
|
1882 |
then :
|
|
1883 |
printf %s "(cached) " >&6
|
|
1884 |
else $as_nop
|
2007 | 1885 |
eval "$3=no"
|
2008 | 1886 |
# Order is important - never check a type that is potentially smaller
|
2009 | 1887 |
# than half of the expected target width.
|
|
2013 | 1891 |
/* end confdefs.h. */
|
2014 | 1892 |
$ac_includes_default
|
2015 | 1893 |
int
|
2016 | |
main ()
|
|
1894 |
main (void)
|
2017 | 1895 |
{
|
2018 | 1896 |
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
|
2019 | 1897 |
test_array [0] = 0;
|
|
2023 | 1901 |
return 0;
|
2024 | 1902 |
}
|
2025 | 1903 |
_ACEOF
|
2026 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1904 |
if ac_fn_c_try_compile "$LINENO"
|
|
1905 |
then :
|
2027 | 1906 |
case $ac_type in #(
|
2028 | 1907 |
uint$2_t) :
|
2029 | 1908 |
eval "$3=yes" ;; #(
|
|
2031 | 1910 |
eval "$3=\$ac_type" ;;
|
2032 | 1911 |
esac
|
2033 | 1912 |
fi
|
2034 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2035 | |
if eval test \"x\$"$3"\" = x"no"; then :
|
2036 | |
|
2037 | |
else
|
|
1913 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1914 |
if eval test \"x\$"$3"\" = x"no"
|
|
1915 |
then :
|
|
1916 |
|
|
1917 |
else $as_nop
|
2038 | 1918 |
break
|
2039 | 1919 |
fi
|
2040 | 1920 |
done
|
2041 | 1921 |
fi
|
2042 | 1922 |
eval ac_res=\$$3
|
2043 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2044 | |
$as_echo "$ac_res" >&6; }
|
|
1923 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1924 |
printf "%s\n" "$ac_res" >&6; }
|
2045 | 1925 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2046 | 1926 |
|
2047 | 1927 |
} # ac_fn_c_find_uintX_t
|
|
1928 |
|
|
1929 |
# ac_fn_c_try_run LINENO
|
|
1930 |
# ----------------------
|
|
1931 |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
|
|
1932 |
# executables *can* be run.
|
|
1933 |
ac_fn_c_try_run ()
|
|
1934 |
{
|
|
1935 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1936 |
if { { ac_try="$ac_link"
|
|
1937 |
case "(($ac_try" in
|
|
1938 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1939 |
*) ac_try_echo=$ac_try;;
|
|
1940 |
esac
|
|
1941 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1942 |
printf "%s\n" "$ac_try_echo"; } >&5
|
|
1943 |
(eval "$ac_link") 2>&5
|
|
1944 |
ac_status=$?
|
|
1945 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1946 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1947 |
{ { case "(($ac_try" in
|
|
1948 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1949 |
*) ac_try_echo=$ac_try;;
|
|
1950 |
esac
|
|
1951 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1952 |
printf "%s\n" "$ac_try_echo"; } >&5
|
|
1953 |
(eval "$ac_try") 2>&5
|
|
1954 |
ac_status=$?
|
|
1955 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1956 |
test $ac_status = 0; }; }
|
|
1957 |
then :
|
|
1958 |
ac_retval=0
|
|
1959 |
else $as_nop
|
|
1960 |
printf "%s\n" "$as_me: program exited with status $ac_status" >&5
|
|
1961 |
printf "%s\n" "$as_me: failed program was:" >&5
|
|
1962 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1963 |
|
|
1964 |
ac_retval=$ac_status
|
|
1965 |
fi
|
|
1966 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1967 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1968 |
as_fn_set_status $ac_retval
|
|
1969 |
|
|
1970 |
} # ac_fn_c_try_run
|
2048 | 1971 |
|
2049 | 1972 |
# ac_fn_c_check_func LINENO FUNC VAR
|
2050 | 1973 |
# ----------------------------------
|
|
2052 | 1975 |
ac_fn_c_check_func ()
|
2053 | 1976 |
{
|
2054 | 1977 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2055 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2056 | |
$as_echo_n "checking for $2... " >&6; }
|
2057 | |
if eval \${$3+:} false; then :
|
2058 | |
$as_echo_n "(cached) " >&6
|
2059 | |
else
|
|
1978 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1979 |
printf %s "checking for $2... " >&6; }
|
|
1980 |
if eval test \${$3+y}
|
|
1981 |
then :
|
|
1982 |
printf %s "(cached) " >&6
|
|
1983 |
else $as_nop
|
2060 | 1984 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2061 | 1985 |
/* end confdefs.h. */
|
2062 | 1986 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
2064 | 1988 |
#define $2 innocuous_$2
|
2065 | 1989 |
|
2066 | 1990 |
/* System header to define __stub macros and hopefully few prototypes,
|
2067 | |
which can conflict with char $2 (); below.
|
2068 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2069 | |
<limits.h> exists even on freestanding compilers. */
|
2070 | |
|
2071 | |
#ifdef __STDC__
|
2072 | |
# include <limits.h>
|
2073 | |
#else
|
2074 | |
# include <assert.h>
|
2075 | |
#endif
|
2076 | |
|
|
1991 |
which can conflict with char $2 (); below. */
|
|
1992 |
|
|
1993 |
#include <limits.h>
|
2077 | 1994 |
#undef $2
|
2078 | 1995 |
|
2079 | 1996 |
/* Override any GCC internal prototype to avoid an error.
|
|
2091 | 2008 |
#endif
|
2092 | 2009 |
|
2093 | 2010 |
int
|
2094 | |
main ()
|
|
2011 |
main (void)
|
2095 | 2012 |
{
|
2096 | 2013 |
return $2 ();
|
2097 | 2014 |
;
|
2098 | 2015 |
return 0;
|
2099 | 2016 |
}
|
2100 | 2017 |
_ACEOF
|
2101 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
2018 |
if ac_fn_c_try_link "$LINENO"
|
|
2019 |
then :
|
2102 | 2020 |
eval "$3=yes"
|
2103 | |
else
|
|
2021 |
else $as_nop
|
2104 | 2022 |
eval "$3=no"
|
2105 | 2023 |
fi
|
2106 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
2024 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
2107 | 2025 |
conftest$ac_exeext conftest.$ac_ext
|
2108 | 2026 |
fi
|
2109 | 2027 |
eval ac_res=\$$3
|
2110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2111 | |
$as_echo "$ac_res" >&6; }
|
|
2028 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2029 |
printf "%s\n" "$ac_res" >&6; }
|
2112 | 2030 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2113 | 2031 |
|
2114 | 2032 |
} # ac_fn_c_check_func
|
|
2033 |
ac_configure_args_raw=
|
|
2034 |
for ac_arg
|
|
2035 |
do
|
|
2036 |
case $ac_arg in
|
|
2037 |
*\'*)
|
|
2038 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2039 |
esac
|
|
2040 |
as_fn_append ac_configure_args_raw " '$ac_arg'"
|
|
2041 |
done
|
|
2042 |
|
|
2043 |
case $ac_configure_args_raw in
|
|
2044 |
*$as_nl*)
|
|
2045 |
ac_safe_unquote= ;;
|
|
2046 |
*)
|
|
2047 |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
|
|
2048 |
ac_unsafe_a="$ac_unsafe_z#~"
|
|
2049 |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
|
|
2050 |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
|
|
2051 |
esac
|
|
2052 |
|
2115 | 2053 |
cat >config.log <<_ACEOF
|
2116 | 2054 |
This file contains any messages produced by compilers while
|
2117 | 2055 |
running configure, to aid debugging if configure makes a mistake.
|
2118 | 2056 |
|
2119 | 2057 |
It was created by SLUDGE $as_me 2.2.2, which was
|
2120 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
2121 | |
|
2122 | |
$ $0 $@
|
|
2058 |
generated by GNU Autoconf 2.71. Invocation command line was
|
|
2059 |
|
|
2060 |
$ $0$ac_configure_args_raw
|
2123 | 2061 |
|
2124 | 2062 |
_ACEOF
|
2125 | 2063 |
exec 5>>config.log
|
|
2152 | 2090 |
for as_dir in $PATH
|
2153 | 2091 |
do
|
2154 | 2092 |
IFS=$as_save_IFS
|
2155 | |
test -z "$as_dir" && as_dir=.
|
2156 | |
$as_echo "PATH: $as_dir"
|
|
2093 |
case $as_dir in #(((
|
|
2094 |
'') as_dir=./ ;;
|
|
2095 |
*/) ;;
|
|
2096 |
*) as_dir=$as_dir/ ;;
|
|
2097 |
esac
|
|
2098 |
printf "%s\n" "PATH: $as_dir"
|
2157 | 2099 |
done
|
2158 | 2100 |
IFS=$as_save_IFS
|
2159 | 2101 |
|
|
2188 | 2130 |
| -silent | --silent | --silen | --sile | --sil)
|
2189 | 2131 |
continue ;;
|
2190 | 2132 |
*\'*)
|
2191 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2133 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2192 | 2134 |
esac
|
2193 | 2135 |
case $ac_pass in
|
2194 | 2136 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
2223 | 2165 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2224 | 2166 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
2225 | 2167 |
trap 'exit_status=$?
|
|
2168 |
# Sanitize IFS.
|
|
2169 |
IFS=" "" $as_nl"
|
2226 | 2170 |
# Save into config.log some information that might help in debugging.
|
2227 | 2171 |
{
|
2228 | 2172 |
echo
|
2229 | 2173 |
|
2230 | |
$as_echo "## ---------------- ##
|
|
2174 |
printf "%s\n" "## ---------------- ##
|
2231 | 2175 |
## Cache variables. ##
|
2232 | 2176 |
## ---------------- ##"
|
2233 | 2177 |
echo
|
|
2238 | 2182 |
case $ac_val in #(
|
2239 | 2183 |
*${as_nl}*)
|
2240 | 2184 |
case $ac_var in #(
|
2241 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2242 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
2185 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2186 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2243 | 2187 |
esac
|
2244 | 2188 |
case $ac_var in #(
|
2245 | 2189 |
_ | IFS | as_nl) ;; #(
|
|
2263 | 2207 |
)
|
2264 | 2208 |
echo
|
2265 | 2209 |
|
2266 | |
$as_echo "## ----------------- ##
|
|
2210 |
printf "%s\n" "## ----------------- ##
|
2267 | 2211 |
## Output variables. ##
|
2268 | 2212 |
## ----------------- ##"
|
2269 | 2213 |
echo
|
|
2271 | 2215 |
do
|
2272 | 2216 |
eval ac_val=\$$ac_var
|
2273 | 2217 |
case $ac_val in
|
2274 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2218 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2275 | 2219 |
esac
|
2276 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2220 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2277 | 2221 |
done | sort
|
2278 | 2222 |
echo
|
2279 | 2223 |
|
2280 | 2224 |
if test -n "$ac_subst_files"; then
|
2281 | |
$as_echo "## ------------------- ##
|
|
2225 |
printf "%s\n" "## ------------------- ##
|
2282 | 2226 |
## File substitutions. ##
|
2283 | 2227 |
## ------------------- ##"
|
2284 | 2228 |
echo
|
|
2286 | 2230 |
do
|
2287 | 2231 |
eval ac_val=\$$ac_var
|
2288 | 2232 |
case $ac_val in
|
2289 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2233 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2290 | 2234 |
esac
|
2291 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2235 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2292 | 2236 |
done | sort
|
2293 | 2237 |
echo
|
2294 | 2238 |
fi
|
2295 | 2239 |
|
2296 | 2240 |
if test -s confdefs.h; then
|
2297 | |
$as_echo "## ----------- ##
|
|
2241 |
printf "%s\n" "## ----------- ##
|
2298 | 2242 |
## confdefs.h. ##
|
2299 | 2243 |
## ----------- ##"
|
2300 | 2244 |
echo
|
|
2302 | 2246 |
echo
|
2303 | 2247 |
fi
|
2304 | 2248 |
test "$ac_signal" != 0 &&
|
2305 | |
$as_echo "$as_me: caught signal $ac_signal"
|
2306 | |
$as_echo "$as_me: exit $exit_status"
|
|
2249 |
printf "%s\n" "$as_me: caught signal $ac_signal"
|
|
2250 |
printf "%s\n" "$as_me: exit $exit_status"
|
2307 | 2251 |
} >&5
|
2308 | 2252 |
rm -f core *.core core.conftest.* &&
|
2309 | 2253 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
2317 | 2261 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2318 | 2262 |
rm -f -r conftest* confdefs.h
|
2319 | 2263 |
|
2320 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2264 |
printf "%s\n" "/* confdefs.h */" > confdefs.h
|
2321 | 2265 |
|
2322 | 2266 |
# Predefined preprocessor variables.
|
2323 | 2267 |
|
2324 | |
cat >>confdefs.h <<_ACEOF
|
2325 | |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2326 | |
_ACEOF
|
2327 | |
|
2328 | |
cat >>confdefs.h <<_ACEOF
|
2329 | |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2330 | |
_ACEOF
|
2331 | |
|
2332 | |
cat >>confdefs.h <<_ACEOF
|
2333 | |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2334 | |
_ACEOF
|
2335 | |
|
2336 | |
cat >>confdefs.h <<_ACEOF
|
2337 | |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2338 | |
_ACEOF
|
2339 | |
|
2340 | |
cat >>confdefs.h <<_ACEOF
|
2341 | |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2342 | |
_ACEOF
|
2343 | |
|
2344 | |
cat >>confdefs.h <<_ACEOF
|
2345 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2346 | |
_ACEOF
|
|
2268 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
|
|
2269 |
|
|
2270 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
|
|
2271 |
|
|
2272 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
|
|
2273 |
|
|
2274 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
|
|
2275 |
|
|
2276 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
|
|
2277 |
|
|
2278 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
|
2347 | 2279 |
|
2348 | 2280 |
|
2349 | 2281 |
# Let the site file select an alternate cache file if it wants to.
|
2350 | 2282 |
# Prefer an explicitly selected file to automatically selected ones.
|
2351 | |
ac_site_file1=NONE
|
2352 | |
ac_site_file2=NONE
|
2353 | 2283 |
if test -n "$CONFIG_SITE"; then
|
2354 | |
# We do not want a PATH search for config.site.
|
2355 | |
case $CONFIG_SITE in #((
|
2356 | |
-*) ac_site_file1=./$CONFIG_SITE;;
|
2357 | |
*/*) ac_site_file1=$CONFIG_SITE;;
|
2358 | |
*) ac_site_file1=./$CONFIG_SITE;;
|
2359 | |
esac
|
|
2284 |
ac_site_files="$CONFIG_SITE"
|
2360 | 2285 |
elif test "x$prefix" != xNONE; then
|
2361 | |
ac_site_file1=$prefix/share/config.site
|
2362 | |
ac_site_file2=$prefix/etc/config.site
|
2363 | |
else
|
2364 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2365 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2366 | |
fi
|
2367 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
2286 |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
|
|
2287 |
else
|
|
2288 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
2289 |
fi
|
|
2290 |
|
|
2291 |
for ac_site_file in $ac_site_files
|
2368 | 2292 |
do
|
2369 | |
test "x$ac_site_file" = xNONE && continue
|
2370 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2371 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2372 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2293 |
case $ac_site_file in #(
|
|
2294 |
*/*) :
|
|
2295 |
;; #(
|
|
2296 |
*) :
|
|
2297 |
ac_site_file=./$ac_site_file ;;
|
|
2298 |
esac
|
|
2299 |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2300 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2301 |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
|
2373 | 2302 |
sed 's/^/| /' "$ac_site_file" >&5
|
2374 | 2303 |
. "$ac_site_file" \
|
2375 | |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2376 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2304 |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2305 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
2377 | 2306 |
as_fn_error $? "failed to load site script $ac_site_file
|
2378 | 2307 |
See \`config.log' for more details" "$LINENO" 5; }
|
2379 | 2308 |
fi
|
|
2383 | 2312 |
# Some versions of bash will fail to source /dev/null (special files
|
2384 | 2313 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2385 | 2314 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2386 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2387 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
2315 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2316 |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
|
2388 | 2317 |
case $cache_file in
|
2389 | 2318 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2390 | 2319 |
*) . "./$cache_file";;
|
2391 | 2320 |
esac
|
2392 | 2321 |
fi
|
2393 | 2322 |
else
|
2394 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2395 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
2323 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2324 |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
|
2396 | 2325 |
>$cache_file
|
|
2326 |
fi
|
|
2327 |
|
|
2328 |
# Test code for whether the C++ compiler supports C++98 (global declarations)
|
|
2329 |
ac_cxx_conftest_cxx98_globals='
|
|
2330 |
// Does the compiler advertise C++98 conformance?
|
|
2331 |
#if !defined __cplusplus || __cplusplus < 199711L
|
|
2332 |
# error "Compiler does not advertise C++98 conformance"
|
|
2333 |
#endif
|
|
2334 |
|
|
2335 |
// These inclusions are to reject old compilers that
|
|
2336 |
// lack the unsuffixed header files.
|
|
2337 |
#include <cstdlib>
|
|
2338 |
#include <exception>
|
|
2339 |
|
|
2340 |
// <cassert> and <cstring> are *not* freestanding headers in C++98.
|
|
2341 |
extern void assert (int);
|
|
2342 |
namespace std {
|
|
2343 |
extern int strcmp (const char *, const char *);
|
|
2344 |
}
|
|
2345 |
|
|
2346 |
// Namespaces, exceptions, and templates were all added after "C++ 2.0".
|
|
2347 |
using std::exception;
|
|
2348 |
using std::strcmp;
|
|
2349 |
|
|
2350 |
namespace {
|
|
2351 |
|
|
2352 |
void test_exception_syntax()
|
|
2353 |
{
|
|
2354 |
try {
|
|
2355 |
throw "test";
|
|
2356 |
} catch (const char *s) {
|
|
2357 |
// Extra parentheses suppress a warning when building autoconf itself,
|
|
2358 |
// due to lint rules shared with more typical C programs.
|
|
2359 |
assert (!(strcmp) (s, "test"));
|
|
2360 |
}
|
|
2361 |
}
|
|
2362 |
|
|
2363 |
template <typename T> struct test_template
|
|
2364 |
{
|
|
2365 |
T const val;
|
|
2366 |
explicit test_template(T t) : val(t) {}
|
|
2367 |
template <typename U> T add(U u) { return static_cast<T>(u) + val; }
|
|
2368 |
};
|
|
2369 |
|
|
2370 |
} // anonymous namespace
|
|
2371 |
'
|
|
2372 |
|
|
2373 |
# Test code for whether the C++ compiler supports C++98 (body of main)
|
|
2374 |
ac_cxx_conftest_cxx98_main='
|
|
2375 |
assert (argc);
|
|
2376 |
assert (! argv[0]);
|
|
2377 |
{
|
|
2378 |
test_exception_syntax ();
|
|
2379 |
test_template<double> tt (2.0);
|
|
2380 |
assert (tt.add (4) == 6.0);
|
|
2381 |
assert (true && !false);
|
|
2382 |
}
|
|
2383 |
'
|
|
2384 |
|
|
2385 |
# Test code for whether the C++ compiler supports C++11 (global declarations)
|
|
2386 |
ac_cxx_conftest_cxx11_globals='
|
|
2387 |
// Does the compiler advertise C++ 2011 conformance?
|
|
2388 |
#if !defined __cplusplus || __cplusplus < 201103L
|
|
2389 |
# error "Compiler does not advertise C++11 conformance"
|
|
2390 |
#endif
|
|
2391 |
|
|
2392 |
namespace cxx11test
|
|
2393 |
{
|
|
2394 |
constexpr int get_val() { return 20; }
|
|
2395 |
|
|
2396 |
struct testinit
|
|
2397 |
{
|
|
2398 |
int i;
|
|
2399 |
double d;
|
|
2400 |
};
|
|
2401 |
|
|
2402 |
class delegate
|
|
2403 |
{
|
|
2404 |
public:
|
|
2405 |
delegate(int n) : n(n) {}
|
|
2406 |
delegate(): delegate(2354) {}
|
|
2407 |
|
|
2408 |
virtual int getval() { return this->n; };
|
|
2409 |
protected:
|
|
2410 |
int n;
|
|
2411 |
};
|
|
2412 |
|
|
2413 |
class overridden : public delegate
|
|
2414 |
{
|
|
2415 |
public:
|
|
2416 |
overridden(int n): delegate(n) {}
|
|
2417 |
virtual int getval() override final { return this->n * 2; }
|
|
2418 |
};
|
|
2419 |
|
|
2420 |
class nocopy
|
|
2421 |
{
|
|
2422 |
public:
|
|
2423 |
nocopy(int i): i(i) {}
|
|
2424 |
nocopy() = default;
|
|
2425 |
nocopy(const nocopy&) = delete;
|
|
2426 |
nocopy & operator=(const nocopy&) = delete;
|
|
2427 |
private:
|
|
2428 |
int i;
|
|
2429 |
};
|
|
2430 |
|
|
2431 |
// for testing lambda expressions
|
|
2432 |
template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
|
|
2433 |
{
|
|
2434 |
return f(v);
|
|
2435 |
}
|
|
2436 |
|
|
2437 |
// for testing variadic templates and trailing return types
|
|
2438 |
template <typename V> auto sum(V first) -> V
|
|
2439 |
{
|
|
2440 |
return first;
|
|
2441 |
}
|
|
2442 |
template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
|
|
2443 |
{
|
|
2444 |
return first + sum(rest...);
|
|
2445 |
}
|
|
2446 |
}
|
|
2447 |
'
|
|
2448 |
|
|
2449 |
# Test code for whether the C++ compiler supports C++11 (body of main)
|
|
2450 |
ac_cxx_conftest_cxx11_main='
|
|
2451 |
{
|
|
2452 |
// Test auto and decltype
|
|
2453 |
auto a1 = 6538;
|
|
2454 |
auto a2 = 48573953.4;
|
|
2455 |
auto a3 = "String literal";
|
|
2456 |
|
|
2457 |
int total = 0;
|
|
2458 |
for (auto i = a3; *i; ++i) { total += *i; }
|
|
2459 |
|
|
2460 |
decltype(a2) a4 = 34895.034;
|
|
2461 |
}
|
|
2462 |
{
|
|
2463 |
// Test constexpr
|
|
2464 |
short sa[cxx11test::get_val()] = { 0 };
|
|
2465 |
}
|
|
2466 |
{
|
|
2467 |
// Test initializer lists
|
|
2468 |
cxx11test::testinit il = { 4323, 435234.23544 };
|
|
2469 |
}
|
|
2470 |
{
|
|
2471 |
// Test range-based for
|
|
2472 |
int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
|
|
2473 |
14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|
|
2474 |
for (auto &x : array) { x += 23; }
|
|
2475 |
}
|
|
2476 |
{
|
|
2477 |
// Test lambda expressions
|
|
2478 |
using cxx11test::eval;
|
|
2479 |
assert (eval ([](int x) { return x*2; }, 21) == 42);
|
|
2480 |
double d = 2.0;
|
|
2481 |
assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
|
|
2482 |
assert (d == 5.0);
|
|
2483 |
assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
|
|
2484 |
assert (d == 5.0);
|
|
2485 |
}
|
|
2486 |
{
|
|
2487 |
// Test use of variadic templates
|
|
2488 |
using cxx11test::sum;
|
|
2489 |
auto a = sum(1);
|
|
2490 |
auto b = sum(1, 2);
|
|
2491 |
auto c = sum(1.0, 2.0, 3.0);
|
|
2492 |
}
|
|
2493 |
{
|
|
2494 |
// Test constructor delegation
|
|
2495 |
cxx11test::delegate d1;
|
|
2496 |
cxx11test::delegate d2();
|
|
2497 |
cxx11test::delegate d3(45);
|
|
2498 |
}
|
|
2499 |
{
|
|
2500 |
// Test override and final
|
|
2501 |
cxx11test::overridden o1(55464);
|
|
2502 |
}
|
|
2503 |
{
|
|
2504 |
// Test nullptr
|
|
2505 |
char *c = nullptr;
|
|
2506 |
}
|
|
2507 |
{
|
|
2508 |
// Test template brackets
|
|
2509 |
test_template<::test_template<int>> v(test_template<int>(12));
|
|
2510 |
}
|
|
2511 |
{
|
|
2512 |
// Unicode literals
|
|
2513 |
char const *utf8 = u8"UTF-8 string \u2500";
|
|
2514 |
char16_t const *utf16 = u"UTF-8 string \u2500";
|
|
2515 |
char32_t const *utf32 = U"UTF-32 string \u2500";
|
|
2516 |
}
|
|
2517 |
'
|
|
2518 |
|
|
2519 |
# Test code for whether the C compiler supports C++11 (complete).
|
|
2520 |
ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
|
|
2521 |
${ac_cxx_conftest_cxx11_globals}
|
|
2522 |
|
|
2523 |
int
|
|
2524 |
main (int argc, char **argv)
|
|
2525 |
{
|
|
2526 |
int ok = 0;
|
|
2527 |
${ac_cxx_conftest_cxx98_main}
|
|
2528 |
${ac_cxx_conftest_cxx11_main}
|
|
2529 |
return ok;
|
|
2530 |
}
|
|
2531 |
"
|
|
2532 |
|
|
2533 |
# Test code for whether the C compiler supports C++98 (complete).
|
|
2534 |
ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
|
|
2535 |
int
|
|
2536 |
main (int argc, char **argv)
|
|
2537 |
{
|
|
2538 |
int ok = 0;
|
|
2539 |
${ac_cxx_conftest_cxx98_main}
|
|
2540 |
return ok;
|
|
2541 |
}
|
|
2542 |
"
|
|
2543 |
|
|
2544 |
# Test code for whether the C compiler supports C89 (global declarations)
|
|
2545 |
ac_c_conftest_c89_globals='
|
|
2546 |
/* Does the compiler advertise C89 conformance?
|
|
2547 |
Do not test the value of __STDC__, because some compilers set it to 0
|
|
2548 |
while being otherwise adequately conformant. */
|
|
2549 |
#if !defined __STDC__
|
|
2550 |
# error "Compiler does not advertise C89 conformance"
|
|
2551 |
#endif
|
|
2552 |
|
|
2553 |
#include <stddef.h>
|
|
2554 |
#include <stdarg.h>
|
|
2555 |
struct stat;
|
|
2556 |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
|
2557 |
struct buf { int x; };
|
|
2558 |
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2559 |
static char *e (p, i)
|
|
2560 |
char **p;
|
|
2561 |
int i;
|
|
2562 |
{
|
|
2563 |
return p[i];
|
|
2564 |
}
|
|
2565 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
2566 |
{
|
|
2567 |
char *s;
|
|
2568 |
va_list v;
|
|
2569 |
va_start (v,p);
|
|
2570 |
s = g (p, va_arg (v,int));
|
|
2571 |
va_end (v);
|
|
2572 |
return s;
|
|
2573 |
}
|
|
2574 |
|
|
2575 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
2576 |
function prototypes and stuff, but not \xHH hex character constants.
|
|
2577 |
These do not provoke an error unfortunately, instead are silently treated
|
|
2578 |
as an "x". The following induces an error, until -std is added to get
|
|
2579 |
proper ANSI mode. Curiously \x00 != x always comes out true, for an
|
|
2580 |
array size at least. It is necessary to write \x00 == 0 to get something
|
|
2581 |
that is true only with -std. */
|
|
2582 |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
|
|
2583 |
|
|
2584 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
2585 |
inside strings and character constants. */
|
|
2586 |
#define FOO(x) '\''x'\''
|
|
2587 |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
|
|
2588 |
|
|
2589 |
int test (int i, double x);
|
|
2590 |
struct s1 {int (*f) (int a);};
|
|
2591 |
struct s2 {int (*f) (double a);};
|
|
2592 |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
|
|
2593 |
int, int);'
|
|
2594 |
|
|
2595 |
# Test code for whether the C compiler supports C89 (body of main).
|
|
2596 |
ac_c_conftest_c89_main='
|
|
2597 |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
2598 |
'
|
|
2599 |
|
|
2600 |
# Test code for whether the C compiler supports C99 (global declarations)
|
|
2601 |
ac_c_conftest_c99_globals='
|
|
2602 |
// Does the compiler advertise C99 conformance?
|
|
2603 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
|
|
2604 |
# error "Compiler does not advertise C99 conformance"
|
|
2605 |
#endif
|
|
2606 |
|
|
2607 |
#include <stdbool.h>
|
|
2608 |
extern int puts (const char *);
|
|
2609 |
extern int printf (const char *, ...);
|
|
2610 |
extern int dprintf (int, const char *, ...);
|
|
2611 |
extern void *malloc (size_t);
|
|
2612 |
|
|
2613 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
2614 |
// dprintf is used instead of fprintf to avoid needing to declare
|
|
2615 |
// FILE and stderr.
|
|
2616 |
#define debug(...) dprintf (2, __VA_ARGS__)
|
|
2617 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
2618 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
2619 |
static void
|
|
2620 |
test_varargs_macros (void)
|
|
2621 |
{
|
|
2622 |
int x = 1234;
|
|
2623 |
int y = 5678;
|
|
2624 |
debug ("Flag");
|
|
2625 |
debug ("X = %d\n", x);
|
|
2626 |
showlist (The first, second, and third items.);
|
|
2627 |
report (x>y, "x is %d but y is %d", x, y);
|
|
2628 |
}
|
|
2629 |
|
|
2630 |
// Check long long types.
|
|
2631 |
#define BIG64 18446744073709551615ull
|
|
2632 |
#define BIG32 4294967295ul
|
|
2633 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
2634 |
#if !BIG_OK
|
|
2635 |
#error "your preprocessor is broken"
|
|
2636 |
#endif
|
|
2637 |
#if BIG_OK
|
|
2638 |
#else
|
|
2639 |
#error "your preprocessor is broken"
|
|
2640 |
#endif
|
|
2641 |
static long long int bignum = -9223372036854775807LL;
|
|
2642 |
static unsigned long long int ubignum = BIG64;
|
|
2643 |
|
|
2644 |
struct incomplete_array
|
|
2645 |
{
|
|
2646 |
int datasize;
|
|
2647 |
double data[];
|
|
2648 |
};
|
|
2649 |
|
|
2650 |
struct named_init {
|
|
2651 |
int number;
|
|
2652 |
const wchar_t *name;
|
|
2653 |
double average;
|
|
2654 |
};
|
|
2655 |
|
|
2656 |
typedef const char *ccp;
|
|
2657 |
|
|
2658 |
static inline int
|
|
2659 |
test_restrict (ccp restrict text)
|
|
2660 |
{
|
|
2661 |
// See if C++-style comments work.
|
|
2662 |
// Iterate through items via the restricted pointer.
|
|
2663 |
// Also check for declarations in for loops.
|
|
2664 |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
|
|
2665 |
continue;
|
|
2666 |
return 0;
|
|
2667 |
}
|
|
2668 |
|
|
2669 |
// Check varargs and va_copy.
|
|
2670 |
static bool
|
|
2671 |
test_varargs (const char *format, ...)
|
|
2672 |
{
|
|
2673 |
va_list args;
|
|
2674 |
va_start (args, format);
|
|
2675 |
va_list args_copy;
|
|
2676 |
va_copy (args_copy, args);
|
|
2677 |
|
|
2678 |
const char *str = "";
|
|
2679 |
int number = 0;
|
|
2680 |
float fnumber = 0;
|
|
2681 |
|
|
2682 |
while (*format)
|
|
2683 |
{
|
|
2684 |
switch (*format++)
|
|
2685 |
{
|
|
2686 |
case '\''s'\'': // string
|
|
2687 |
str = va_arg (args_copy, const char *);
|
|
2688 |
break;
|
|
2689 |
case '\''d'\'': // int
|
|
2690 |
number = va_arg (args_copy, int);
|
|
2691 |
break;
|
|
2692 |
case '\''f'\'': // float
|
|
2693 |
fnumber = va_arg (args_copy, double);
|
|
2694 |
break;
|
|
2695 |
default:
|
|
2696 |
break;
|
|
2697 |
}
|
|
2698 |
}
|
|
2699 |
va_end (args_copy);
|
|
2700 |
va_end (args);
|
|
2701 |
|
|
2702 |
return *str && number && fnumber;
|
|
2703 |
}
|
|
2704 |
'
|
|
2705 |
|
|
2706 |
# Test code for whether the C compiler supports C99 (body of main).
|
|
2707 |
ac_c_conftest_c99_main='
|
|
2708 |
// Check bool.
|
|
2709 |
_Bool success = false;
|
|
2710 |
success |= (argc != 0);
|
|
2711 |
|
|
2712 |
// Check restrict.
|
|
2713 |
if (test_restrict ("String literal") == 0)
|
|
2714 |
success = true;
|
|
2715 |
char *restrict newvar = "Another string";
|
|
2716 |
|
|
2717 |
// Check varargs.
|
|
2718 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
|
|
2719 |
test_varargs_macros ();
|
|
2720 |
|
|
2721 |
// Check flexible array members.
|
|
2722 |
struct incomplete_array *ia =
|
|
2723 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
2724 |
ia->datasize = 10;
|
|
2725 |
for (int i = 0; i < ia->datasize; ++i)
|
|
2726 |
ia->data[i] = i * 1.234;
|
|
2727 |
|
|
2728 |
// Check named initializers.
|
|
2729 |
struct named_init ni = {
|
|
2730 |
.number = 34,
|
|
2731 |
.name = L"Test wide string",
|
|
2732 |
.average = 543.34343,
|
|
2733 |
};
|
|
2734 |
|
|
2735 |
ni.number = 58;
|
|
2736 |
|
|
2737 |
int dynamic_array[ni.number];
|
|
2738 |
dynamic_array[0] = argv[0][0];
|
|
2739 |
dynamic_array[ni.number - 1] = 543;
|
|
2740 |
|
|
2741 |
// work around unused variable warnings
|
|
2742 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|
|
2743 |
|| dynamic_array[ni.number - 1] != 543);
|
|
2744 |
'
|
|
2745 |
|
|
2746 |
# Test code for whether the C compiler supports C11 (global declarations)
|
|
2747 |
ac_c_conftest_c11_globals='
|
|
2748 |
// Does the compiler advertise C11 conformance?
|
|
2749 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
|
|
2750 |
# error "Compiler does not advertise C11 conformance"
|
|
2751 |
#endif
|
|
2752 |
|
|
2753 |
// Check _Alignas.
|
|
2754 |
char _Alignas (double) aligned_as_double;
|
|
2755 |
char _Alignas (0) no_special_alignment;
|
|
2756 |
extern char aligned_as_int;
|
|
2757 |
char _Alignas (0) _Alignas (int) aligned_as_int;
|
|
2758 |
|
|
2759 |
// Check _Alignof.
|
|
2760 |
enum
|
|
2761 |
{
|
|
2762 |
int_alignment = _Alignof (int),
|
|
2763 |
int_array_alignment = _Alignof (int[100]),
|
|
2764 |
char_alignment = _Alignof (char)
|
|
2765 |
};
|
|
2766 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
|
2767 |
|
|
2768 |
// Check _Noreturn.
|
|
2769 |
int _Noreturn does_not_return (void) { for (;;) continue; }
|
|
2770 |
|
|
2771 |
// Check _Static_assert.
|
|
2772 |
struct test_static_assert
|
|
2773 |
{
|
|
2774 |
int x;
|
|
2775 |
_Static_assert (sizeof (int) <= sizeof (long int),
|
|
2776 |
"_Static_assert does not work in struct");
|
|
2777 |
long int y;
|
|
2778 |
};
|
|
2779 |
|
|
2780 |
// Check UTF-8 literals.
|
|
2781 |
#define u8 syntax error!
|
|
2782 |
char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
|
2783 |
|
|
2784 |
// Check duplicate typedefs.
|
|
2785 |
typedef long *long_ptr;
|
|
2786 |
typedef long int *long_ptr;
|
|
2787 |
typedef long_ptr long_ptr;
|
|
2788 |
|
|
2789 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
|
|
2790 |
struct anonymous
|
|
2791 |
{
|
|
2792 |
union {
|
|
2793 |
struct { int i; int j; };
|
|
2794 |
struct { int k; long int l; } w;
|
|
2795 |
};
|
|
2796 |
int m;
|
|
2797 |
} v1;
|
|
2798 |
'
|
|
2799 |
|
|
2800 |
# Test code for whether the C compiler supports C11 (body of main).
|
|
2801 |
ac_c_conftest_c11_main='
|
|
2802 |
_Static_assert ((offsetof (struct anonymous, i)
|
|
2803 |
== offsetof (struct anonymous, w.k)),
|
|
2804 |
"Anonymous union alignment botch");
|
|
2805 |
v1.i = 2;
|
|
2806 |
v1.w.k = 5;
|
|
2807 |
ok |= v1.i != 5;
|
|
2808 |
'
|
|
2809 |
|
|
2810 |
# Test code for whether the C compiler supports C11 (complete).
|
|
2811 |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
|
|
2812 |
${ac_c_conftest_c99_globals}
|
|
2813 |
${ac_c_conftest_c11_globals}
|
|
2814 |
|
|
2815 |
int
|
|
2816 |
main (int argc, char **argv)
|
|
2817 |
{
|
|
2818 |
int ok = 0;
|
|
2819 |
${ac_c_conftest_c89_main}
|
|
2820 |
${ac_c_conftest_c99_main}
|
|
2821 |
${ac_c_conftest_c11_main}
|
|
2822 |
return ok;
|
|
2823 |
}
|
|
2824 |
"
|
|
2825 |
|
|
2826 |
# Test code for whether the C compiler supports C99 (complete).
|
|
2827 |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
|
|
2828 |
${ac_c_conftest_c99_globals}
|
|
2829 |
|
|
2830 |
int
|
|
2831 |
main (int argc, char **argv)
|
|
2832 |
{
|
|
2833 |
int ok = 0;
|
|
2834 |
${ac_c_conftest_c89_main}
|
|
2835 |
${ac_c_conftest_c99_main}
|
|
2836 |
return ok;
|
|
2837 |
}
|
|
2838 |
"
|
|
2839 |
|
|
2840 |
# Test code for whether the C compiler supports C89 (complete).
|
|
2841 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
|
|
2842 |
|
|
2843 |
int
|
|
2844 |
main (int argc, char **argv)
|
|
2845 |
{
|
|
2846 |
int ok = 0;
|
|
2847 |
${ac_c_conftest_c89_main}
|
|
2848 |
return ok;
|
|
2849 |
}
|
|
2850 |
"
|
|
2851 |
|
|
2852 |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
|
|
2853 |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
|
|
2854 |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
|
|
2855 |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
|
|
2856 |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
|
|
2857 |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
|
|
2858 |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
|
|
2859 |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
|
|
2860 |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
|
|
2861 |
|
|
2862 |
# Auxiliary files required by this configure script.
|
|
2863 |
ac_aux_files="config.guess config.sub compile missing install-sh"
|
|
2864 |
|
|
2865 |
# Locations in which to look for auxiliary files.
|
|
2866 |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
|
|
2867 |
|
|
2868 |
# Search for a directory containing all of the required auxiliary files,
|
|
2869 |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
|
|
2870 |
# If we don't find one directory that contains all the files we need,
|
|
2871 |
# we report the set of missing files from the *first* directory in
|
|
2872 |
# $ac_aux_dir_candidates and give up.
|
|
2873 |
ac_missing_aux_files=""
|
|
2874 |
ac_first_candidate=:
|
|
2875 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
|
|
2876 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2877 |
as_found=false
|
|
2878 |
for as_dir in $ac_aux_dir_candidates
|
|
2879 |
do
|
|
2880 |
IFS=$as_save_IFS
|
|
2881 |
case $as_dir in #(((
|
|
2882 |
'') as_dir=./ ;;
|
|
2883 |
*/) ;;
|
|
2884 |
*) as_dir=$as_dir/ ;;
|
|
2885 |
esac
|
|
2886 |
as_found=:
|
|
2887 |
|
|
2888 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
|
|
2889 |
ac_aux_dir_found=yes
|
|
2890 |
ac_install_sh=
|
|
2891 |
for ac_aux in $ac_aux_files
|
|
2892 |
do
|
|
2893 |
# As a special case, if "install-sh" is required, that requirement
|
|
2894 |
# can be satisfied by any of "install-sh", "install.sh", or "shtool",
|
|
2895 |
# and $ac_install_sh is set appropriately for whichever one is found.
|
|
2896 |
if test x"$ac_aux" = x"install-sh"
|
|
2897 |
then
|
|
2898 |
if test -f "${as_dir}install-sh"; then
|
|
2899 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
|
|
2900 |
ac_install_sh="${as_dir}install-sh -c"
|
|
2901 |
elif test -f "${as_dir}install.sh"; then
|
|
2902 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
|
|
2903 |
ac_install_sh="${as_dir}install.sh -c"
|
|
2904 |
elif test -f "${as_dir}shtool"; then
|
|
2905 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
|
|
2906 |
ac_install_sh="${as_dir}shtool install -c"
|
|
2907 |
else
|
|
2908 |
ac_aux_dir_found=no
|
|
2909 |
if $ac_first_candidate; then
|
|
2910 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh"
|
|
2911 |
else
|
|
2912 |
break
|
|
2913 |
fi
|
|
2914 |
fi
|
|
2915 |
else
|
|
2916 |
if test -f "${as_dir}${ac_aux}"; then
|
|
2917 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
|
|
2918 |
else
|
|
2919 |
ac_aux_dir_found=no
|
|
2920 |
if $ac_first_candidate; then
|
|
2921 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
|
|
2922 |
else
|
|
2923 |
break
|
|
2924 |
fi
|
|
2925 |
fi
|
|
2926 |
fi
|
|
2927 |
done
|
|
2928 |
if test "$ac_aux_dir_found" = yes; then
|
|
2929 |
ac_aux_dir="$as_dir"
|
|
2930 |
break
|
|
2931 |
fi
|
|
2932 |
ac_first_candidate=false
|
|
2933 |
|
|
2934 |
as_found=false
|
|
2935 |
done
|
|
2936 |
IFS=$as_save_IFS
|
|
2937 |
if $as_found
|
|
2938 |
then :
|
|
2939 |
|
|
2940 |
else $as_nop
|
|
2941 |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
|
|
2942 |
fi
|
|
2943 |
|
|
2944 |
|
|
2945 |
# These three variables are undocumented and unsupported,
|
|
2946 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2947 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2948 |
# whose full name contains unusual characters.
|
|
2949 |
if test -f "${ac_aux_dir}config.guess"; then
|
|
2950 |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
|
|
2951 |
fi
|
|
2952 |
if test -f "${ac_aux_dir}config.sub"; then
|
|
2953 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
|
|
2954 |
fi
|
|
2955 |
if test -f "$ac_aux_dir/configure"; then
|
|
2956 |
ac_configure="$SHELL ${ac_aux_dir}configure"
|
2397 | 2957 |
fi
|
2398 | 2958 |
|
2399 | 2959 |
# Check that the precious variables saved in the cache have kept the same
|
|
2406 | 2966 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2407 | 2967 |
case $ac_old_set,$ac_new_set in
|
2408 | 2968 |
set,)
|
2409 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2410 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2969 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2970 |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2411 | 2971 |
ac_cache_corrupted=: ;;
|
2412 | 2972 |
,set)
|
2413 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2414 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2973 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2974 |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2415 | 2975 |
ac_cache_corrupted=: ;;
|
2416 | 2976 |
,);;
|
2417 | 2977 |
*)
|
|
2420 | 2980 |
ac_old_val_w=`echo x $ac_old_val`
|
2421 | 2981 |
ac_new_val_w=`echo x $ac_new_val`
|
2422 | 2982 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2423 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2424 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2983 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2984 |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2425 | 2985 |
ac_cache_corrupted=:
|
2426 | 2986 |
else
|
2427 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2428 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2987 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2988 |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2429 | 2989 |
eval $ac_var=\$ac_old_val
|
2430 | 2990 |
fi
|
2431 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2432 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2433 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2434 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
2991 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2992 |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2993 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2994 |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
|
2435 | 2995 |
fi;;
|
2436 | 2996 |
esac
|
2437 | 2997 |
# Pass precious variables to config.status.
|
2438 | 2998 |
if test "$ac_new_set" = set; then
|
2439 | 2999 |
case $ac_new_val in
|
2440 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
3000 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2441 | 3001 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2442 | 3002 |
esac
|
2443 | 3003 |
case " $ac_configure_args " in
|
|
2447 | 3007 |
fi
|
2448 | 3008 |
done
|
2449 | 3009 |
if $ac_cache_corrupted; then
|
2450 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2451 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2452 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2453 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2454 | |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
3010 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3011 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3012 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
3013 |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
3014 |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
|
|
3015 |
and start over" "$LINENO" 5
|
2455 | 3016 |
fi
|
2456 | 3017 |
## -------------------- ##
|
2457 | 3018 |
## Main body of script. ##
|
|
2465 | 3026 |
|
2466 | 3027 |
|
2467 | 3028 |
|
2468 | |
am__api_version='1.15'
|
2469 | |
|
2470 | |
ac_aux_dir=
|
2471 | |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2472 | |
if test -f "$ac_dir/install-sh"; then
|
2473 | |
ac_aux_dir=$ac_dir
|
2474 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2475 | |
break
|
2476 | |
elif test -f "$ac_dir/install.sh"; then
|
2477 | |
ac_aux_dir=$ac_dir
|
2478 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2479 | |
break
|
2480 | |
elif test -f "$ac_dir/shtool"; then
|
2481 | |
ac_aux_dir=$ac_dir
|
2482 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2483 | |
break
|
2484 | |
fi
|
2485 | |
done
|
2486 | |
if test -z "$ac_aux_dir"; then
|
2487 | |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2488 | |
fi
|
2489 | |
|
2490 | |
# These three variables are undocumented and unsupported,
|
2491 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2492 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2493 | |
# whose full name contains unusual characters.
|
2494 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2495 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2496 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2497 | |
|
2498 | |
|
2499 | |
# Find a good install program. We prefer a C program (faster),
|
|
3029 |
am__api_version='1.16'
|
|
3030 |
|
|
3031 |
|
|
3032 |
|
|
3033 |
# Find a good install program. We prefer a C program (faster),
|
2500 | 3034 |
# so one script is as good as another. But avoid the broken or
|
2501 | 3035 |
# incompatible versions:
|
2502 | 3036 |
# SysV /etc/install, /usr/sbin/install
|
|
2510 | 3044 |
# OS/2's system install, which has a completely different semantic
|
2511 | 3045 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2512 | 3046 |
# Reject install programs that cannot install multiple files.
|
2513 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2514 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
3047 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
3048 |
printf %s "checking for a BSD-compatible install... " >&6; }
|
2515 | 3049 |
if test -z "$INSTALL"; then
|
2516 | |
if ${ac_cv_path_install+:} false; then :
|
2517 | |
$as_echo_n "(cached) " >&6
|
2518 | |
else
|
|
3050 |
if test ${ac_cv_path_install+y}
|
|
3051 |
then :
|
|
3052 |
printf %s "(cached) " >&6
|
|
3053 |
else $as_nop
|
2519 | 3054 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2520 | 3055 |
for as_dir in $PATH
|
2521 | 3056 |
do
|
2522 | 3057 |
IFS=$as_save_IFS
|
2523 | |
test -z "$as_dir" && as_dir=.
|
2524 | |
# Account for people who put trailing slashes in PATH elements.
|
2525 | |
case $as_dir/ in #((
|
2526 | |
./ | .// | /[cC]/* | \
|
|
3058 |
case $as_dir in #(((
|
|
3059 |
'') as_dir=./ ;;
|
|
3060 |
*/) ;;
|
|
3061 |
*) as_dir=$as_dir/ ;;
|
|
3062 |
esac
|
|
3063 |
# Account for fact that we put trailing slashes in our PATH walk.
|
|
3064 |
case $as_dir in #((
|
|
3065 |
./ | /[cC]/* | \
|
2527 | 3066 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2528 | 3067 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2529 | 3068 |
/usr/ucb/* ) ;;
|
|
2533 | 3072 |
# by default.
|
2534 | 3073 |
for ac_prog in ginstall scoinst install; do
|
2535 | 3074 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2536 | |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
3075 |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
|
2537 | 3076 |
if test $ac_prog = install &&
|
2538 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3077 |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2539 | 3078 |
# AIX install. It has an incompatible calling convention.
|
2540 | 3079 |
:
|
2541 | 3080 |
elif test $ac_prog = install &&
|
2542 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3081 |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2543 | 3082 |
# program-specific install script used by HP pwplus--don't use.
|
2544 | 3083 |
:
|
2545 | 3084 |
else
|
|
2547 | 3086 |
echo one > conftest.one
|
2548 | 3087 |
echo two > conftest.two
|
2549 | 3088 |
mkdir conftest.dir
|
2550 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
3089 |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
|
2551 | 3090 |
test -s conftest.one && test -s conftest.two &&
|
2552 | 3091 |
test -s conftest.dir/conftest.one &&
|
2553 | 3092 |
test -s conftest.dir/conftest.two
|
2554 | 3093 |
then
|
2555 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
3094 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
|
2556 | 3095 |
break 3
|
2557 | 3096 |
fi
|
2558 | 3097 |
fi
|
|
2568 | 3107 |
rm -rf conftest.one conftest.two conftest.dir
|
2569 | 3108 |
|
2570 | 3109 |
fi
|
2571 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
3110 |
if test ${ac_cv_path_install+y}; then
|
2572 | 3111 |
INSTALL=$ac_cv_path_install
|
2573 | 3112 |
else
|
2574 | 3113 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2578 | 3117 |
INSTALL=$ac_install_sh
|
2579 | 3118 |
fi
|
2580 | 3119 |
fi
|
2581 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2582 | |
$as_echo "$INSTALL" >&6; }
|
|
3120 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
3121 |
printf "%s\n" "$INSTALL" >&6; }
|
2583 | 3122 |
|
2584 | 3123 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2585 | 3124 |
# It thinks the first close brace ends the variable substitution.
|
|
2589 | 3128 |
|
2590 | 3129 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2591 | 3130 |
|
2592 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2593 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
3131 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
3132 |
printf %s "checking whether build environment is sane... " >&6; }
|
2594 | 3133 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2595 | 3134 |
# name. Accept space and tab only in the latter.
|
2596 | 3135 |
am_lf='
|
|
2644 | 3183 |
as_fn_error $? "newly created file is older than distributed files!
|
2645 | 3184 |
Check your system clock" "$LINENO" 5
|
2646 | 3185 |
fi
|
2647 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2648 | |
$as_echo "yes" >&6; }
|
|
3186 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3187 |
printf "%s\n" "yes" >&6; }
|
2649 | 3188 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2650 | 3189 |
# generated files are strictly newer.
|
2651 | 3190 |
am_sleep_pid=
|
|
2664 | 3203 |
# Double any \ or $.
|
2665 | 3204 |
# By default was `s,x,x', remove it if useless.
|
2666 | 3205 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2667 | |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
3206 |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
|
|
3207 |
|
2668 | 3208 |
|
2669 | 3209 |
# Expand $ac_aux_dir to an absolute path.
|
2670 | 3210 |
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
2671 | 3211 |
|
2672 | |
if test x"${MISSING+set}" != xset; then
|
2673 | |
case $am_aux_dir in
|
2674 | |
*\ * | *\ *)
|
2675 | |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
2676 | |
*)
|
2677 | |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
2678 | |
esac
|
|
3212 |
|
|
3213 |
if test x"${MISSING+set}" != xset; then
|
|
3214 |
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
2679 | 3215 |
fi
|
2680 | 3216 |
# Use eval to expand $SHELL
|
2681 | 3217 |
if eval "$MISSING --is-lightweight"; then
|
2682 | 3218 |
am_missing_run="$MISSING "
|
2683 | 3219 |
else
|
2684 | 3220 |
am_missing_run=
|
2685 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
2686 | |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
3221 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
3222 |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
2687 | 3223 |
fi
|
2688 | 3224 |
|
2689 | 3225 |
if test x"${install_sh+set}" != xset; then
|
|
2703 | 3239 |
if test -n "$ac_tool_prefix"; then
|
2704 | 3240 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2705 | 3241 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2706 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2707 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2708 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
2709 | |
$as_echo_n "(cached) " >&6
|
2710 | |
else
|
|
3242 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3243 |
printf %s "checking for $ac_word... " >&6; }
|
|
3244 |
if test ${ac_cv_prog_STRIP+y}
|
|
3245 |
then :
|
|
3246 |
printf %s "(cached) " >&6
|
|
3247 |
else $as_nop
|
2711 | 3248 |
if test -n "$STRIP"; then
|
2712 | 3249 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2713 | 3250 |
else
|
|
2715 | 3252 |
for as_dir in $PATH
|
2716 | 3253 |
do
|
2717 | 3254 |
IFS=$as_save_IFS
|
2718 | |
test -z "$as_dir" && as_dir=.
|
|
3255 |
case $as_dir in #(((
|
|
3256 |
'') as_dir=./ ;;
|
|
3257 |
*/) ;;
|
|
3258 |
*) as_dir=$as_dir/ ;;
|
|
3259 |
esac
|
2719 | 3260 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2720 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3261 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2721 | 3262 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2722 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3263 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2723 | 3264 |
break 2
|
2724 | 3265 |
fi
|
2725 | 3266 |
done
|
|
2730 | 3271 |
fi
|
2731 | 3272 |
STRIP=$ac_cv_prog_STRIP
|
2732 | 3273 |
if test -n "$STRIP"; then
|
2733 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2734 | |
$as_echo "$STRIP" >&6; }
|
2735 | |
else
|
2736 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2737 | |
$as_echo "no" >&6; }
|
|
3274 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
3275 |
printf "%s\n" "$STRIP" >&6; }
|
|
3276 |
else
|
|
3277 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3278 |
printf "%s\n" "no" >&6; }
|
2738 | 3279 |
fi
|
2739 | 3280 |
|
2740 | 3281 |
|
|
2743 | 3284 |
ac_ct_STRIP=$STRIP
|
2744 | 3285 |
# Extract the first word of "strip", so it can be a program name with args.
|
2745 | 3286 |
set dummy strip; ac_word=$2
|
2746 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2747 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2748 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2749 | |
$as_echo_n "(cached) " >&6
|
2750 | |
else
|
|
3287 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3288 |
printf %s "checking for $ac_word... " >&6; }
|
|
3289 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
3290 |
then :
|
|
3291 |
printf %s "(cached) " >&6
|
|
3292 |
else $as_nop
|
2751 | 3293 |
if test -n "$ac_ct_STRIP"; then
|
2752 | 3294 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2753 | 3295 |
else
|
|
2755 | 3297 |
for as_dir in $PATH
|
2756 | 3298 |
do
|
2757 | 3299 |
IFS=$as_save_IFS
|
2758 | |
test -z "$as_dir" && as_dir=.
|
|
3300 |
case $as_dir in #(((
|
|
3301 |
'') as_dir=./ ;;
|
|
3302 |
*/) ;;
|
|
3303 |
*) as_dir=$as_dir/ ;;
|
|
3304 |
esac
|
2759 | 3305 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2760 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3306 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2761 | 3307 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2762 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3308 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2763 | 3309 |
break 2
|
2764 | 3310 |
fi
|
2765 | 3311 |
done
|
|
2770 | 3316 |
fi
|
2771 | 3317 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2772 | 3318 |
if test -n "$ac_ct_STRIP"; then
|
2773 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2774 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
2775 | |
else
|
2776 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2777 | |
$as_echo "no" >&6; }
|
|
3319 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
3320 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
|
3321 |
else
|
|
3322 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3323 |
printf "%s\n" "no" >&6; }
|
2778 | 3324 |
fi
|
2779 | 3325 |
|
2780 | 3326 |
if test "x$ac_ct_STRIP" = x; then
|
|
2782 | 3328 |
else
|
2783 | 3329 |
case $cross_compiling:$ac_tool_warned in
|
2784 | 3330 |
yes:)
|
2785 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2786 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3332 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2787 | 3333 |
ac_tool_warned=yes ;;
|
2788 | 3334 |
esac
|
2789 | 3335 |
STRIP=$ac_ct_STRIP
|
|
2795 | 3341 |
fi
|
2796 | 3342 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2797 | 3343 |
|
2798 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2799 | |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
3344 |
|
|
3345 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
|
|
3346 |
printf %s "checking for a race-free mkdir -p... " >&6; }
|
2800 | 3347 |
if test -z "$MKDIR_P"; then
|
2801 | |
if ${ac_cv_path_mkdir+:} false; then :
|
2802 | |
$as_echo_n "(cached) " >&6
|
2803 | |
else
|
|
3348 |
if test ${ac_cv_path_mkdir+y}
|
|
3349 |
then :
|
|
3350 |
printf %s "(cached) " >&6
|
|
3351 |
else $as_nop
|
2804 | 3352 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2805 | 3353 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
2806 | 3354 |
do
|
2807 | 3355 |
IFS=$as_save_IFS
|
2808 | |
test -z "$as_dir" && as_dir=.
|
|
3356 |
case $as_dir in #(((
|
|
3357 |
'') as_dir=./ ;;
|
|
3358 |
*/) ;;
|
|
3359 |
*) as_dir=$as_dir/ ;;
|
|
3360 |
esac
|
2809 | 3361 |
for ac_prog in mkdir gmkdir; do
|
2810 | 3362 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2811 | |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
2812 | |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
2813 | |
'mkdir (GNU coreutils) '* | \
|
2814 | |
'mkdir (coreutils) '* | \
|
|
3363 |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
|
|
3364 |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
3365 |
'mkdir ('*'coreutils) '* | \
|
|
3366 |
'BusyBox '* | \
|
2815 | 3367 |
'mkdir (fileutils) '4.1*)
|
2816 | |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
3368 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
|
2817 | 3369 |
break 3;;
|
2818 | 3370 |
esac
|
2819 | 3371 |
done
|
|
2824 | 3376 |
fi
|
2825 | 3377 |
|
2826 | 3378 |
test -d ./--version && rmdir ./--version
|
2827 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
3379 |
if test ${ac_cv_path_mkdir+y}; then
|
2828 | 3380 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2829 | 3381 |
else
|
2830 | 3382 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2834 | 3386 |
MKDIR_P="$ac_install_sh -d"
|
2835 | 3387 |
fi
|
2836 | 3388 |
fi
|
2837 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2838 | |
$as_echo "$MKDIR_P" >&6; }
|
|
3389 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
3390 |
printf "%s\n" "$MKDIR_P" >&6; }
|
2839 | 3391 |
|
2840 | 3392 |
for ac_prog in gawk mawk nawk awk
|
2841 | 3393 |
do
|
2842 | 3394 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2843 | 3395 |
set dummy $ac_prog; ac_word=$2
|
2844 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2845 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2846 | |
if ${ac_cv_prog_AWK+:} false; then :
|
2847 | |
$as_echo_n "(cached) " >&6
|
2848 | |
else
|
|
3396 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3397 |
printf %s "checking for $ac_word... " >&6; }
|
|
3398 |
if test ${ac_cv_prog_AWK+y}
|
|
3399 |
then :
|
|
3400 |
printf %s "(cached) " >&6
|
|
3401 |
else $as_nop
|
2849 | 3402 |
if test -n "$AWK"; then
|
2850 | 3403 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
2851 | 3404 |
else
|
|
2853 | 3406 |
for as_dir in $PATH
|
2854 | 3407 |
do
|
2855 | 3408 |
IFS=$as_save_IFS
|
2856 | |
test -z "$as_dir" && as_dir=.
|
|
3409 |
case $as_dir in #(((
|
|
3410 |
'') as_dir=./ ;;
|
|
3411 |
*/) ;;
|
|
3412 |
*) as_dir=$as_dir/ ;;
|
|
3413 |
esac
|
2857 | 3414 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2858 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3415 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2859 | 3416 |
ac_cv_prog_AWK="$ac_prog"
|
2860 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3417 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2861 | 3418 |
break 2
|
2862 | 3419 |
fi
|
2863 | 3420 |
done
|
|
2868 | 3425 |
fi
|
2869 | 3426 |
AWK=$ac_cv_prog_AWK
|
2870 | 3427 |
if test -n "$AWK"; then
|
2871 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2872 | |
$as_echo "$AWK" >&6; }
|
2873 | |
else
|
2874 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2875 | |
$as_echo "no" >&6; }
|
|
3428 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
3429 |
printf "%s\n" "$AWK" >&6; }
|
|
3430 |
else
|
|
3431 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3432 |
printf "%s\n" "no" >&6; }
|
2876 | 3433 |
fi
|
2877 | 3434 |
|
2878 | 3435 |
|
2879 | 3436 |
test -n "$AWK" && break
|
2880 | 3437 |
done
|
2881 | 3438 |
|
2882 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2883 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3439 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3440 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2884 | 3441 |
set x ${MAKE-make}
|
2885 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2886 | |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2887 | |
$as_echo_n "(cached) " >&6
|
2888 | |
else
|
|
3442 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3443 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
|
|
3444 |
then :
|
|
3445 |
printf %s "(cached) " >&6
|
|
3446 |
else $as_nop
|
2889 | 3447 |
cat >conftest.make <<\_ACEOF
|
2890 | 3448 |
SHELL = /bin/sh
|
2891 | 3449 |
all:
|
|
2901 | 3459 |
rm -f conftest.make
|
2902 | 3460 |
fi
|
2903 | 3461 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2904 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2905 | |
$as_echo "yes" >&6; }
|
|
3462 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3463 |
printf "%s\n" "yes" >&6; }
|
2906 | 3464 |
SET_MAKE=
|
2907 | 3465 |
else
|
2908 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2909 | |
$as_echo "no" >&6; }
|
|
3466 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3467 |
printf "%s\n" "no" >&6; }
|
2910 | 3468 |
SET_MAKE="MAKE=${MAKE-make}"
|
2911 | 3469 |
fi
|
2912 | 3470 |
|
|
2920 | 3478 |
rmdir .tst 2>/dev/null
|
2921 | 3479 |
|
2922 | 3480 |
# Check whether --enable-silent-rules was given.
|
2923 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3481 |
if test ${enable_silent_rules+y}
|
|
3482 |
then :
|
2924 | 3483 |
enableval=$enable_silent_rules;
|
2925 | 3484 |
fi
|
2926 | 3485 |
|
|
2930 | 3489 |
*) AM_DEFAULT_VERBOSITY=1;;
|
2931 | 3490 |
esac
|
2932 | 3491 |
am_make=${MAKE-make}
|
2933 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
2934 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
2935 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
2936 | |
$as_echo_n "(cached) " >&6
|
2937 | |
else
|
2938 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3492 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3493 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3494 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3495 |
then :
|
|
3496 |
printf %s "(cached) " >&6
|
|
3497 |
else $as_nop
|
|
3498 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
2939 | 3499 |
BAR0=false
|
2940 | 3500 |
BAR1=true
|
2941 | 3501 |
V=1
|
|
2947 | 3507 |
am_cv_make_support_nested_variables=no
|
2948 | 3508 |
fi
|
2949 | 3509 |
fi
|
2950 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
2951 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3510 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3511 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
2952 | 3512 |
if test $am_cv_make_support_nested_variables = yes; then
|
2953 | 3513 |
AM_V='$(V)'
|
2954 | 3514 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
2983 | 3543 |
VERSION='2.2.2'
|
2984 | 3544 |
|
2985 | 3545 |
|
2986 | |
cat >>confdefs.h <<_ACEOF
|
2987 | |
#define PACKAGE "$PACKAGE"
|
2988 | |
_ACEOF
|
2989 | |
|
2990 | |
|
2991 | |
cat >>confdefs.h <<_ACEOF
|
2992 | |
#define VERSION "$VERSION"
|
2993 | |
_ACEOF
|
|
3546 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
|
3547 |
|
|
3548 |
|
|
3549 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
|
2994 | 3550 |
|
2995 | 3551 |
# Some tools Automake needs.
|
2996 | 3552 |
|
|
3010 | 3566 |
|
3011 | 3567 |
# For better backward compatibility. To be removed once Automake 1.9.x
|
3012 | 3568 |
# dies out for good. For more background, see:
|
3013 | |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
3014 | |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
3569 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
3570 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
3015 | 3571 |
mkdir_p='$(MKDIR_P)'
|
3016 | 3572 |
|
3017 | 3573 |
# We need awk for the "check" target (and possibly the TAP driver). The
|
|
3028 | 3584 |
|
3029 | 3585 |
|
3030 | 3586 |
|
|
3587 |
|
|
3588 |
|
|
3589 |
# Variables for tags utilities; see am/tags.am
|
|
3590 |
if test -z "$CTAGS"; then
|
|
3591 |
CTAGS=ctags
|
|
3592 |
fi
|
|
3593 |
|
|
3594 |
if test -z "$ETAGS"; then
|
|
3595 |
ETAGS=etags
|
|
3596 |
fi
|
|
3597 |
|
|
3598 |
if test -z "$CSCOPE"; then
|
|
3599 |
CSCOPE=cscope
|
|
3600 |
fi
|
3031 | 3601 |
|
3032 | 3602 |
|
3033 | 3603 |
|
|
3062 | 3632 |
Aborting the configuration process, to ensure you take notice of the issue.
|
3063 | 3633 |
|
3064 | 3634 |
You can download and install GNU coreutils to get an 'rm' implementation
|
3065 | |
that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
|
3635 |
that behaves properly: <https://www.gnu.org/software/coreutils/>.
|
3066 | 3636 |
|
3067 | 3637 |
If you want to complete the configuration process using your problematic
|
3068 | 3638 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
|
3077 | 3647 |
|
3078 | 3648 |
|
3079 | 3649 |
# Check whether --enable-silent-rules was given.
|
3080 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3650 |
if test ${enable_silent_rules+y}
|
|
3651 |
then :
|
3081 | 3652 |
enableval=$enable_silent_rules;
|
3082 | 3653 |
fi
|
3083 | 3654 |
|
|
3087 | 3658 |
*) AM_DEFAULT_VERBOSITY=0;;
|
3088 | 3659 |
esac
|
3089 | 3660 |
am_make=${MAKE-make}
|
3090 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
3091 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
3092 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
3093 | |
$as_echo_n "(cached) " >&6
|
3094 | |
else
|
3095 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3661 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3662 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3663 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3664 |
then :
|
|
3665 |
printf %s "(cached) " >&6
|
|
3666 |
else $as_nop
|
|
3667 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
3096 | 3668 |
BAR0=false
|
3097 | 3669 |
BAR1=true
|
3098 | 3670 |
V=1
|
|
3104 | 3676 |
am_cv_make_support_nested_variables=no
|
3105 | 3677 |
fi
|
3106 | 3678 |
fi
|
3107 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
3108 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3679 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3680 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
3109 | 3681 |
if test $am_cv_make_support_nested_variables = yes; then
|
3110 | 3682 |
AM_V='$(V)'
|
3111 | 3683 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
3117 | 3689 |
|
3118 | 3690 |
|
3119 | 3691 |
# Checks for programs.
|
|
3692 |
|
|
3693 |
|
|
3694 |
|
|
3695 |
|
|
3696 |
|
|
3697 |
|
3120 | 3698 |
ac_ext=cpp
|
3121 | 3699 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
3122 | 3700 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3127 | 3705 |
CXX=$CCC
|
3128 | 3706 |
else
|
3129 | 3707 |
if test -n "$ac_tool_prefix"; then
|
3130 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
3708 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
3131 | 3709 |
do
|
3132 | 3710 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3133 | 3711 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3134 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3135 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3136 | |
if ${ac_cv_prog_CXX+:} false; then :
|
3137 | |
$as_echo_n "(cached) " >&6
|
3138 | |
else
|
|
3712 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3713 |
printf %s "checking for $ac_word... " >&6; }
|
|
3714 |
if test ${ac_cv_prog_CXX+y}
|
|
3715 |
then :
|
|
3716 |
printf %s "(cached) " >&6
|
|
3717 |
else $as_nop
|
3139 | 3718 |
if test -n "$CXX"; then
|
3140 | 3719 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
3141 | 3720 |
else
|
|
3143 | 3722 |
for as_dir in $PATH
|
3144 | 3723 |
do
|
3145 | 3724 |
IFS=$as_save_IFS
|
3146 | |
test -z "$as_dir" && as_dir=.
|
|
3725 |
case $as_dir in #(((
|
|
3726 |
'') as_dir=./ ;;
|
|
3727 |
*/) ;;
|
|
3728 |
*) as_dir=$as_dir/ ;;
|
|
3729 |
esac
|
3147 | 3730 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3148 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3731 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3149 | 3732 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
3150 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3733 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3151 | 3734 |
break 2
|
3152 | 3735 |
fi
|
3153 | 3736 |
done
|
|
3158 | 3741 |
fi
|
3159 | 3742 |
CXX=$ac_cv_prog_CXX
|
3160 | 3743 |
if test -n "$CXX"; then
|
3161 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
3162 | |
$as_echo "$CXX" >&6; }
|
3163 | |
else
|
3164 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3165 | |
$as_echo "no" >&6; }
|
|
3744 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
|
3745 |
printf "%s\n" "$CXX" >&6; }
|
|
3746 |
else
|
|
3747 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3748 |
printf "%s\n" "no" >&6; }
|
3166 | 3749 |
fi
|
3167 | 3750 |
|
3168 | 3751 |
|
|
3171 | 3754 |
fi
|
3172 | 3755 |
if test -z "$CXX"; then
|
3173 | 3756 |
ac_ct_CXX=$CXX
|
3174 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
3757 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
3175 | 3758 |
do
|
3176 | 3759 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3177 | 3760 |
set dummy $ac_prog; ac_word=$2
|
3178 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3179 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3180 | |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
3181 | |
$as_echo_n "(cached) " >&6
|
3182 | |
else
|
|
3761 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3762 |
printf %s "checking for $ac_word... " >&6; }
|
|
3763 |
if test ${ac_cv_prog_ac_ct_CXX+y}
|
|
3764 |
then :
|
|
3765 |
printf %s "(cached) " >&6
|
|
3766 |
else $as_nop
|
3183 | 3767 |
if test -n "$ac_ct_CXX"; then
|
3184 | 3768 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
3185 | 3769 |
else
|
|
3187 | 3771 |
for as_dir in $PATH
|
3188 | 3772 |
do
|
3189 | 3773 |
IFS=$as_save_IFS
|
3190 | |
test -z "$as_dir" && as_dir=.
|
|
3774 |
case $as_dir in #(((
|
|
3775 |
'') as_dir=./ ;;
|
|
3776 |
*/) ;;
|
|
3777 |
*) as_dir=$as_dir/ ;;
|
|
3778 |
esac
|
3191 | 3779 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3192 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3780 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3193 | 3781 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
3194 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3782 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3195 | 3783 |
break 2
|
3196 | 3784 |
fi
|
3197 | 3785 |
done
|
|
3202 | 3790 |
fi
|
3203 | 3791 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
3204 | 3792 |
if test -n "$ac_ct_CXX"; then
|
3205 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
3206 | |
$as_echo "$ac_ct_CXX" >&6; }
|
3207 | |
else
|
3208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3209 | |
$as_echo "no" >&6; }
|
|
3793 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
|
3794 |
printf "%s\n" "$ac_ct_CXX" >&6; }
|
|
3795 |
else
|
|
3796 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3797 |
printf "%s\n" "no" >&6; }
|
3210 | 3798 |
fi
|
3211 | 3799 |
|
3212 | 3800 |
|
|
3218 | 3806 |
else
|
3219 | 3807 |
case $cross_compiling:$ac_tool_warned in
|
3220 | 3808 |
yes:)
|
3221 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3222 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3809 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3810 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3223 | 3811 |
ac_tool_warned=yes ;;
|
3224 | 3812 |
esac
|
3225 | 3813 |
CXX=$ac_ct_CXX
|
|
3229 | 3817 |
fi
|
3230 | 3818 |
fi
|
3231 | 3819 |
# Provide some information about the compiler.
|
3232 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
|
3820 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
3233 | 3821 |
set X $ac_compile
|
3234 | 3822 |
ac_compiler=$2
|
3235 | 3823 |
for ac_option in --version -v -V -qversion; do
|
|
3239 | 3827 |
*) ac_try_echo=$ac_try;;
|
3240 | 3828 |
esac
|
3241 | 3829 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3242 | |
$as_echo "$ac_try_echo"; } >&5
|
|
3830 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3243 | 3831 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3244 | 3832 |
ac_status=$?
|
3245 | 3833 |
if test -s conftest.err; then
|
|
3249 | 3837 |
cat conftest.er1 >&5
|
3250 | 3838 |
fi
|
3251 | 3839 |
rm -f conftest.er1 conftest.err
|
3252 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3840 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3253 | 3841 |
test $ac_status = 0; }
|
3254 | 3842 |
done
|
3255 | 3843 |
|
|
3257 | 3845 |
/* end confdefs.h. */
|
3258 | 3846 |
|
3259 | 3847 |
int
|
3260 | |
main ()
|
|
3848 |
main (void)
|
3261 | 3849 |
{
|
3262 | 3850 |
|
3263 | 3851 |
;
|
|
3269 | 3857 |
# Try to create an executable without -o first, disregard a.out.
|
3270 | 3858 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3271 | 3859 |
# of exeext.
|
3272 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
3273 | |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
3274 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
3860 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
|
3861 |
printf %s "checking whether the C++ compiler works... " >&6; }
|
|
3862 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3275 | 3863 |
|
3276 | 3864 |
# The possible output files:
|
3277 | 3865 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3292 | 3880 |
*) ac_try_echo=$ac_try;;
|
3293 | 3881 |
esac
|
3294 | 3882 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3295 | |
$as_echo "$ac_try_echo"; } >&5
|
|
3883 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3296 | 3884 |
(eval "$ac_link_default") 2>&5
|
3297 | 3885 |
ac_status=$?
|
3298 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3299 | |
test $ac_status = 0; }; then :
|
|
3886 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3887 |
test $ac_status = 0; }
|
|
3888 |
then :
|
3300 | 3889 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3301 | 3890 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3302 | 3891 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3313 | 3902 |
# certainly right.
|
3314 | 3903 |
break;;
|
3315 | 3904 |
*.* )
|
3316 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3905 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
|
3317 | 3906 |
then :; else
|
3318 | 3907 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3319 | 3908 |
fi
|
|
3329 | 3918 |
done
|
3330 | 3919 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3331 | 3920 |
|
3332 | |
else
|
|
3921 |
else $as_nop
|
3333 | 3922 |
ac_file=''
|
3334 | 3923 |
fi
|
3335 | |
if test -z "$ac_file"; then :
|
3336 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3337 | |
$as_echo "no" >&6; }
|
3338 | |
$as_echo "$as_me: failed program was:" >&5
|
|
3924 |
if test -z "$ac_file"
|
|
3925 |
then :
|
|
3926 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3927 |
printf "%s\n" "no" >&6; }
|
|
3928 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3339 | 3929 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3340 | 3930 |
|
3341 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3342 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3931 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3932 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3343 | 3933 |
as_fn_error 77 "C++ compiler cannot create executables
|
3344 | 3934 |
See \`config.log' for more details" "$LINENO" 5; }
|
3345 | |
else
|
3346 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3347 | |
$as_echo "yes" >&6; }
|
3348 | |
fi
|
3349 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
3350 | |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
3351 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3352 | |
$as_echo "$ac_file" >&6; }
|
|
3935 |
else $as_nop
|
|
3936 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3937 |
printf "%s\n" "yes" >&6; }
|
|
3938 |
fi
|
|
3939 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
|
3940 |
printf %s "checking for C++ compiler default output file name... " >&6; }
|
|
3941 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
3942 |
printf "%s\n" "$ac_file" >&6; }
|
3353 | 3943 |
ac_exeext=$ac_cv_exeext
|
3354 | 3944 |
|
3355 | 3945 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3356 | 3946 |
ac_clean_files=$ac_clean_files_save
|
3357 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3358 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
3947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
3948 |
printf %s "checking for suffix of executables... " >&6; }
|
3359 | 3949 |
if { { ac_try="$ac_link"
|
3360 | 3950 |
case "(($ac_try" in
|
3361 | 3951 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3362 | 3952 |
*) ac_try_echo=$ac_try;;
|
3363 | 3953 |
esac
|
3364 | 3954 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3365 | |
$as_echo "$ac_try_echo"; } >&5
|
|
3955 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3366 | 3956 |
(eval "$ac_link") 2>&5
|
3367 | 3957 |
ac_status=$?
|
3368 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3369 | |
test $ac_status = 0; }; then :
|
|
3958 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3959 |
test $ac_status = 0; }
|
|
3960 |
then :
|
3370 | 3961 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3371 | 3962 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3372 | 3963 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3380 | 3971 |
* ) break;;
|
3381 | 3972 |
esac
|
3382 | 3973 |
done
|
3383 | |
else
|
3384 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3385 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3974 |
else $as_nop
|
|
3975 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3976 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3386 | 3977 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
3387 | 3978 |
See \`config.log' for more details" "$LINENO" 5; }
|
3388 | 3979 |
fi
|
3389 | 3980 |
rm -f conftest conftest$ac_cv_exeext
|
3390 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3391 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
3981 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3982 |
printf "%s\n" "$ac_cv_exeext" >&6; }
|
3392 | 3983 |
|
3393 | 3984 |
rm -f conftest.$ac_ext
|
3394 | 3985 |
EXEEXT=$ac_cv_exeext
|
|
3397 | 3988 |
/* end confdefs.h. */
|
3398 | 3989 |
#include <stdio.h>
|
3399 | 3990 |
int
|
3400 | |
main ()
|
|
3991 |
main (void)
|
3401 | 3992 |
{
|
3402 | 3993 |
FILE *f = fopen ("conftest.out", "w");
|
3403 | 3994 |
return ferror (f) || fclose (f) != 0;
|
|
3409 | 4000 |
ac_clean_files="$ac_clean_files conftest.out"
|
3410 | 4001 |
# Check that the compiler produces executables we can run. If not, either
|
3411 | 4002 |
# the compiler is broken, or we cross compile.
|
3412 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3413 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
4003 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
4004 |
printf %s "checking whether we are cross compiling... " >&6; }
|
3414 | 4005 |
if test "$cross_compiling" != yes; then
|
3415 | 4006 |
{ { ac_try="$ac_link"
|
3416 | 4007 |
case "(($ac_try" in
|
|
3418 | 4009 |
*) ac_try_echo=$ac_try;;
|
3419 | 4010 |
esac
|
3420 | 4011 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3421 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4012 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3422 | 4013 |
(eval "$ac_link") 2>&5
|
3423 | 4014 |
ac_status=$?
|
3424 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4015 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3425 | 4016 |
test $ac_status = 0; }
|
3426 | 4017 |
if { ac_try='./conftest$ac_cv_exeext'
|
3427 | 4018 |
{ { case "(($ac_try" in
|
|
3429 | 4020 |
*) ac_try_echo=$ac_try;;
|
3430 | 4021 |
esac
|
3431 | 4022 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3432 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4023 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3433 | 4024 |
(eval "$ac_try") 2>&5
|
3434 | 4025 |
ac_status=$?
|
3435 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4026 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3436 | 4027 |
test $ac_status = 0; }; }; then
|
3437 | 4028 |
cross_compiling=no
|
3438 | 4029 |
else
|
3439 | 4030 |
if test "$cross_compiling" = maybe; then
|
3440 | 4031 |
cross_compiling=yes
|
3441 | 4032 |
else
|
3442 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3443 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3444 | |
as_fn_error $? "cannot run C++ compiled programs.
|
|
4033 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4034 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4035 |
as_fn_error 77 "cannot run C++ compiled programs.
|
3445 | 4036 |
If you meant to cross compile, use \`--host'.
|
3446 | 4037 |
See \`config.log' for more details" "$LINENO" 5; }
|
3447 | 4038 |
fi
|
3448 | 4039 |
fi
|
3449 | 4040 |
fi
|
3450 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3451 | |
$as_echo "$cross_compiling" >&6; }
|
|
4041 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
4042 |
printf "%s\n" "$cross_compiling" >&6; }
|
3452 | 4043 |
|
3453 | 4044 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
3454 | 4045 |
ac_clean_files=$ac_clean_files_save
|
3455 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3456 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3457 | |
if ${ac_cv_objext+:} false; then :
|
3458 | |
$as_echo_n "(cached) " >&6
|
3459 | |
else
|
|
4046 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
4047 |
printf %s "checking for suffix of object files... " >&6; }
|
|
4048 |
if test ${ac_cv_objext+y}
|
|
4049 |
then :
|
|
4050 |
printf %s "(cached) " >&6
|
|
4051 |
else $as_nop
|
3460 | 4052 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3461 | 4053 |
/* end confdefs.h. */
|
3462 | 4054 |
|
3463 | 4055 |
int
|
3464 | |
main ()
|
|
4056 |
main (void)
|
3465 | 4057 |
{
|
3466 | 4058 |
|
3467 | 4059 |
;
|
|
3475 | 4067 |
*) ac_try_echo=$ac_try;;
|
3476 | 4068 |
esac
|
3477 | 4069 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3478 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4070 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3479 | 4071 |
(eval "$ac_compile") 2>&5
|
3480 | 4072 |
ac_status=$?
|
3481 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3482 | |
test $ac_status = 0; }; then :
|
|
4073 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4074 |
test $ac_status = 0; }
|
|
4075 |
then :
|
3483 | 4076 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3484 | 4077 |
test -f "$ac_file" || continue;
|
3485 | 4078 |
case $ac_file in
|
|
3488 | 4081 |
break;;
|
3489 | 4082 |
esac
|
3490 | 4083 |
done
|
3491 | |
else
|
3492 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4084 |
else $as_nop
|
|
4085 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3493 | 4086 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3494 | 4087 |
|
3495 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3496 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4088 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4089 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3497 | 4090 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
3498 | 4091 |
See \`config.log' for more details" "$LINENO" 5; }
|
3499 | 4092 |
fi
|
3500 | 4093 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3501 | 4094 |
fi
|
3502 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3503 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
4095 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
4096 |
printf "%s\n" "$ac_cv_objext" >&6; }
|
3504 | 4097 |
OBJEXT=$ac_cv_objext
|
3505 | 4098 |
ac_objext=$OBJEXT
|
3506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
3507 | |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
3508 | |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
3509 | |
$as_echo_n "(cached) " >&6
|
3510 | |
else
|
|
4099 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
|
|
4100 |
printf %s "checking whether the compiler supports GNU C++... " >&6; }
|
|
4101 |
if test ${ac_cv_cxx_compiler_gnu+y}
|
|
4102 |
then :
|
|
4103 |
printf %s "(cached) " >&6
|
|
4104 |
else $as_nop
|
3511 | 4105 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3512 | 4106 |
/* end confdefs.h. */
|
3513 | 4107 |
|
3514 | 4108 |
int
|
3515 | |
main ()
|
|
4109 |
main (void)
|
3516 | 4110 |
{
|
3517 | 4111 |
#ifndef __GNUC__
|
3518 | 4112 |
choke me
|
|
3522 | 4116 |
return 0;
|
3523 | 4117 |
}
|
3524 | 4118 |
_ACEOF
|
3525 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4119 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4120 |
then :
|
3526 | 4121 |
ac_compiler_gnu=yes
|
3527 | |
else
|
|
4122 |
else $as_nop
|
3528 | 4123 |
ac_compiler_gnu=no
|
3529 | 4124 |
fi
|
3530 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4125 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3531 | 4126 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
3532 | 4127 |
|
3533 | 4128 |
fi
|
3534 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
3535 | |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
4129 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
4130 |
printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
4131 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
4132 |
|
3536 | 4133 |
if test $ac_compiler_gnu = yes; then
|
3537 | 4134 |
GXX=yes
|
3538 | 4135 |
else
|
3539 | 4136 |
GXX=
|
3540 | 4137 |
fi
|
3541 | |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
|
4138 |
ac_test_CXXFLAGS=${CXXFLAGS+y}
|
3542 | 4139 |
ac_save_CXXFLAGS=$CXXFLAGS
|
3543 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
3544 | |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
3545 | |
if ${ac_cv_prog_cxx_g+:} false; then :
|
3546 | |
$as_echo_n "(cached) " >&6
|
3547 | |
else
|
|
4140 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
|
4141 |
printf %s "checking whether $CXX accepts -g... " >&6; }
|
|
4142 |
if test ${ac_cv_prog_cxx_g+y}
|
|
4143 |
then :
|
|
4144 |
printf %s "(cached) " >&6
|
|
4145 |
else $as_nop
|
3548 | 4146 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
3549 | 4147 |
ac_cxx_werror_flag=yes
|
3550 | 4148 |
ac_cv_prog_cxx_g=no
|
|
3553 | 4151 |
/* end confdefs.h. */
|
3554 | 4152 |
|
3555 | 4153 |
int
|
3556 | |
main ()
|
|
4154 |
main (void)
|
3557 | 4155 |
{
|
3558 | 4156 |
|
3559 | 4157 |
;
|
3560 | 4158 |
return 0;
|
3561 | 4159 |
}
|
3562 | 4160 |
_ACEOF
|
3563 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4161 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4162 |
then :
|
3564 | 4163 |
ac_cv_prog_cxx_g=yes
|
3565 | |
else
|
|
4164 |
else $as_nop
|
3566 | 4165 |
CXXFLAGS=""
|
3567 | 4166 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3568 | 4167 |
/* end confdefs.h. */
|
3569 | 4168 |
|
3570 | 4169 |
int
|
3571 | |
main ()
|
|
4170 |
main (void)
|
3572 | 4171 |
{
|
3573 | 4172 |
|
3574 | 4173 |
;
|
3575 | 4174 |
return 0;
|
3576 | 4175 |
}
|
3577 | 4176 |
_ACEOF
|
3578 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3579 | |
|
3580 | |
else
|
|
4177 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4178 |
then :
|
|
4179 |
|
|
4180 |
else $as_nop
|
3581 | 4181 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3582 | 4182 |
CXXFLAGS="-g"
|
3583 | 4183 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3584 | 4184 |
/* end confdefs.h. */
|
3585 | 4185 |
|
3586 | 4186 |
int
|
3587 | |
main ()
|
|
4187 |
main (void)
|
3588 | 4188 |
{
|
3589 | 4189 |
|
3590 | 4190 |
;
|
3591 | 4191 |
return 0;
|
3592 | 4192 |
}
|
3593 | 4193 |
_ACEOF
|
3594 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4194 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4195 |
then :
|
3595 | 4196 |
ac_cv_prog_cxx_g=yes
|
3596 | 4197 |
fi
|
3597 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3598 | |
fi
|
3599 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3600 | |
fi
|
3601 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4198 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4199 |
fi
|
|
4200 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4201 |
fi
|
|
4202 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3602 | 4203 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3603 | 4204 |
fi
|
3604 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
3605 | |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
3606 | |
if test "$ac_test_CXXFLAGS" = set; then
|
|
4205 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
|
4206 |
printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
|
|
4207 |
if test $ac_test_CXXFLAGS; then
|
3607 | 4208 |
CXXFLAGS=$ac_save_CXXFLAGS
|
3608 | 4209 |
elif test $ac_cv_prog_cxx_g = yes; then
|
3609 | 4210 |
if test "$GXX" = yes; then
|
|
3618 | 4219 |
CXXFLAGS=
|
3619 | 4220 |
fi
|
3620 | 4221 |
fi
|
|
4222 |
ac_prog_cxx_stdcxx=no
|
|
4223 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
4224 |
then :
|
|
4225 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
|
|
4226 |
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
|
|
4227 |
if test ${ac_cv_prog_cxx_11+y}
|
|
4228 |
then :
|
|
4229 |
printf %s "(cached) " >&6
|
|
4230 |
else $as_nop
|
|
4231 |
ac_cv_prog_cxx_11=no
|
|
4232 |
ac_save_CXX=$CXX
|
|
4233 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4234 |
/* end confdefs.h. */
|
|
4235 |
$ac_cxx_conftest_cxx11_program
|
|
4236 |
_ACEOF
|
|
4237 |
for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
|
|
4238 |
do
|
|
4239 |
CXX="$ac_save_CXX $ac_arg"
|
|
4240 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4241 |
then :
|
|
4242 |
ac_cv_prog_cxx_cxx11=$ac_arg
|
|
4243 |
fi
|
|
4244 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4245 |
test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
|
|
4246 |
done
|
|
4247 |
rm -f conftest.$ac_ext
|
|
4248 |
CXX=$ac_save_CXX
|
|
4249 |
fi
|
|
4250 |
|
|
4251 |
if test "x$ac_cv_prog_cxx_cxx11" = xno
|
|
4252 |
then :
|
|
4253 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4254 |
printf "%s\n" "unsupported" >&6; }
|
|
4255 |
else $as_nop
|
|
4256 |
if test "x$ac_cv_prog_cxx_cxx11" = x
|
|
4257 |
then :
|
|
4258 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4259 |
printf "%s\n" "none needed" >&6; }
|
|
4260 |
else $as_nop
|
|
4261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
|
|
4262 |
printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
|
|
4263 |
CXX="$CXX $ac_cv_prog_cxx_cxx11"
|
|
4264 |
fi
|
|
4265 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
|
|
4266 |
ac_prog_cxx_stdcxx=cxx11
|
|
4267 |
fi
|
|
4268 |
fi
|
|
4269 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
4270 |
then :
|
|
4271 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
|
|
4272 |
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
|
|
4273 |
if test ${ac_cv_prog_cxx_98+y}
|
|
4274 |
then :
|
|
4275 |
printf %s "(cached) " >&6
|
|
4276 |
else $as_nop
|
|
4277 |
ac_cv_prog_cxx_98=no
|
|
4278 |
ac_save_CXX=$CXX
|
|
4279 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4280 |
/* end confdefs.h. */
|
|
4281 |
$ac_cxx_conftest_cxx98_program
|
|
4282 |
_ACEOF
|
|
4283 |
for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
|
|
4284 |
do
|
|
4285 |
CXX="$ac_save_CXX $ac_arg"
|
|
4286 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4287 |
then :
|
|
4288 |
ac_cv_prog_cxx_cxx98=$ac_arg
|
|
4289 |
fi
|
|
4290 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4291 |
test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
|
|
4292 |
done
|
|
4293 |
rm -f conftest.$ac_ext
|
|
4294 |
CXX=$ac_save_CXX
|
|
4295 |
fi
|
|
4296 |
|
|
4297 |
if test "x$ac_cv_prog_cxx_cxx98" = xno
|
|
4298 |
then :
|
|
4299 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4300 |
printf "%s\n" "unsupported" >&6; }
|
|
4301 |
else $as_nop
|
|
4302 |
if test "x$ac_cv_prog_cxx_cxx98" = x
|
|
4303 |
then :
|
|
4304 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4305 |
printf "%s\n" "none needed" >&6; }
|
|
4306 |
else $as_nop
|
|
4307 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
|
|
4308 |
printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
|
|
4309 |
CXX="$CXX $ac_cv_prog_cxx_cxx98"
|
|
4310 |
fi
|
|
4311 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
|
|
4312 |
ac_prog_cxx_stdcxx=cxx98
|
|
4313 |
fi
|
|
4314 |
fi
|
|
4315 |
|
3621 | 4316 |
ac_ext=c
|
3622 | 4317 |
ac_cpp='$CPP $CPPFLAGS'
|
3623 | 4318 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3627 | 4322 |
|
3628 | 4323 |
ac_config_commands="$ac_config_commands depfiles"
|
3629 | 4324 |
|
3630 | |
|
3631 | |
am_make=${MAKE-make}
|
3632 | |
cat > confinc << 'END'
|
|
4325 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
4326 |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
4327 |
cat > confinc.mk << 'END'
|
3633 | 4328 |
am__doit:
|
3634 | |
@echo this is the am__doit target
|
|
4329 |
@echo this is the am__doit target >confinc.out
|
3635 | 4330 |
.PHONY: am__doit
|
3636 | 4331 |
END
|
3637 | |
# If we don't find an include directive, just comment out the code.
|
3638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
3639 | |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3640 | 4332 |
am__include="#"
|
3641 | 4333 |
am__quote=
|
3642 | |
_am_result=none
|
3643 | |
# First try GNU make style include.
|
3644 | |
echo "include confinc" > confmf
|
3645 | |
# Ignore all kinds of additional output from 'make'.
|
3646 | |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
3647 | |
*the\ am__doit\ target*)
|
3648 | |
am__include=include
|
3649 | |
am__quote=
|
3650 | |
_am_result=GNU
|
3651 | |
;;
|
|
4334 |
# BSD make does it like this.
|
|
4335 |
echo '.include "confinc.mk" # ignored' > confmf.BSD
|
|
4336 |
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
4337 |
echo 'include confinc.mk # ignored' > confmf.GNU
|
|
4338 |
_am_result=no
|
|
4339 |
for s in GNU BSD; do
|
|
4340 |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
|
|
4341 |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
|
|
4342 |
ac_status=$?
|
|
4343 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4344 |
(exit $ac_status); }
|
|
4345 |
case $?:`cat confinc.out 2>/dev/null` in #(
|
|
4346 |
'0:this is the am__doit target') :
|
|
4347 |
case $s in #(
|
|
4348 |
BSD) :
|
|
4349 |
am__include='.include' am__quote='"' ;; #(
|
|
4350 |
*) :
|
|
4351 |
am__include='include' am__quote='' ;;
|
|
4352 |
esac ;; #(
|
|
4353 |
*) :
|
|
4354 |
;;
|
3652 | 4355 |
esac
|
3653 | |
# Now try BSD make style include.
|
3654 | |
if test "$am__include" = "#"; then
|
3655 | |
echo '.include "confinc"' > confmf
|
3656 | |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
3657 | |
*the\ am__doit\ target*)
|
3658 | |
am__include=.include
|
3659 | |
am__quote="\""
|
3660 | |
_am_result=BSD
|
3661 | |
;;
|
3662 | |
esac
|
3663 | |
fi
|
3664 | |
|
3665 | |
|
3666 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
3667 | |
$as_echo "$_am_result" >&6; }
|
3668 | |
rm -f confinc confmf
|
|
4356 |
if test "$am__include" != "#"; then
|
|
4357 |
_am_result="yes ($s style)"
|
|
4358 |
break
|
|
4359 |
fi
|
|
4360 |
done
|
|
4361 |
rm -f confinc.* confmf.*
|
|
4362 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
4363 |
printf "%s\n" "${_am_result}" >&6; }
|
3669 | 4364 |
|
3670 | 4365 |
# Check whether --enable-dependency-tracking was given.
|
3671 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
4366 |
if test ${enable_dependency_tracking+y}
|
|
4367 |
then :
|
3672 | 4368 |
enableval=$enable_dependency_tracking;
|
3673 | 4369 |
fi
|
3674 | 4370 |
|
|
3689 | 4385 |
|
3690 | 4386 |
depcc="$CXX" am_compiler_list=
|
3691 | 4387 |
|
3692 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3693 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3694 | |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
3695 | |
$as_echo_n "(cached) " >&6
|
3696 | |
else
|
|
4388 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4389 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
4390 |
if test ${am_cv_CXX_dependencies_compiler_type+y}
|
|
4391 |
then :
|
|
4392 |
printf %s "(cached) " >&6
|
|
4393 |
else $as_nop
|
3697 | 4394 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3698 | 4395 |
# We make a subdir and do the tests there. Otherwise we can end up
|
3699 | 4396 |
# making bogus files that we don't know about and never remove. For
|
|
3800 | 4497 |
fi
|
3801 | 4498 |
|
3802 | 4499 |
fi
|
3803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
3804 | |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
|
4500 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
4501 |
printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
3805 | 4502 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
3806 | 4503 |
|
3807 | 4504 |
if
|
|
3813 | 4510 |
am__fastdepCXX_TRUE='#'
|
3814 | 4511 |
am__fastdepCXX_FALSE=
|
3815 | 4512 |
fi
|
|
4513 |
|
|
4514 |
|
|
4515 |
|
|
4516 |
|
|
4517 |
|
|
4518 |
|
|
4519 |
|
|
4520 |
|
|
4521 |
|
3816 | 4522 |
|
3817 | 4523 |
|
3818 | 4524 |
ac_ext=c
|
|
3823 | 4529 |
if test -n "$ac_tool_prefix"; then
|
3824 | 4530 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3825 | 4531 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3826 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3827 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3828 | |
if ${ac_cv_prog_CC+:} false; then :
|
3829 | |
$as_echo_n "(cached) " >&6
|
3830 | |
else
|
|
4532 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4533 |
printf %s "checking for $ac_word... " >&6; }
|
|
4534 |
if test ${ac_cv_prog_CC+y}
|
|
4535 |
then :
|
|
4536 |
printf %s "(cached) " >&6
|
|
4537 |
else $as_nop
|
3831 | 4538 |
if test -n "$CC"; then
|
3832 | 4539 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3833 | 4540 |
else
|
|
3835 | 4542 |
for as_dir in $PATH
|
3836 | 4543 |
do
|
3837 | 4544 |
IFS=$as_save_IFS
|
3838 | |
test -z "$as_dir" && as_dir=.
|
|
4545 |
case $as_dir in #(((
|
|
4546 |
'') as_dir=./ ;;
|
|
4547 |
*/) ;;
|
|
4548 |
*) as_dir=$as_dir/ ;;
|
|
4549 |
esac
|
3839 | 4550 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3840 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4551 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3841 | 4552 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3842 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4553 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3843 | 4554 |
break 2
|
3844 | 4555 |
fi
|
3845 | 4556 |
done
|
|
3850 | 4561 |
fi
|
3851 | 4562 |
CC=$ac_cv_prog_CC
|
3852 | 4563 |
if test -n "$CC"; then
|
3853 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3854 | |
$as_echo "$CC" >&6; }
|
3855 | |
else
|
3856 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3857 | |
$as_echo "no" >&6; }
|
|
4564 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4565 |
printf "%s\n" "$CC" >&6; }
|
|
4566 |
else
|
|
4567 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4568 |
printf "%s\n" "no" >&6; }
|
3858 | 4569 |
fi
|
3859 | 4570 |
|
3860 | 4571 |
|
|
3863 | 4574 |
ac_ct_CC=$CC
|
3864 | 4575 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3865 | 4576 |
set dummy gcc; ac_word=$2
|
3866 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3867 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3868 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3869 | |
$as_echo_n "(cached) " >&6
|
3870 | |
else
|
|
4577 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4578 |
printf %s "checking for $ac_word... " >&6; }
|
|
4579 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4580 |
then :
|
|
4581 |
printf %s "(cached) " >&6
|
|
4582 |
else $as_nop
|
3871 | 4583 |
if test -n "$ac_ct_CC"; then
|
3872 | 4584 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3873 | 4585 |
else
|
|
3875 | 4587 |
for as_dir in $PATH
|
3876 | 4588 |
do
|
3877 | 4589 |
IFS=$as_save_IFS
|
3878 | |
test -z "$as_dir" && as_dir=.
|
|
4590 |
case $as_dir in #(((
|
|
4591 |
'') as_dir=./ ;;
|
|
4592 |
*/) ;;
|
|
4593 |
*) as_dir=$as_dir/ ;;
|
|
4594 |
esac
|
3879 | 4595 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3880 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4596 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3881 | 4597 |
ac_cv_prog_ac_ct_CC="gcc"
|
3882 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4598 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3883 | 4599 |
break 2
|
3884 | 4600 |
fi
|
3885 | 4601 |
done
|
|
3890 | 4606 |
fi
|
3891 | 4607 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3892 | 4608 |
if test -n "$ac_ct_CC"; then
|
3893 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3894 | |
$as_echo "$ac_ct_CC" >&6; }
|
3895 | |
else
|
3896 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3897 | |
$as_echo "no" >&6; }
|
|
4609 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4610 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4611 |
else
|
|
4612 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4613 |
printf "%s\n" "no" >&6; }
|
3898 | 4614 |
fi
|
3899 | 4615 |
|
3900 | 4616 |
if test "x$ac_ct_CC" = x; then
|
|
3902 | 4618 |
else
|
3903 | 4619 |
case $cross_compiling:$ac_tool_warned in
|
3904 | 4620 |
yes:)
|
3905 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3906 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4622 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3907 | 4623 |
ac_tool_warned=yes ;;
|
3908 | 4624 |
esac
|
3909 | 4625 |
CC=$ac_ct_CC
|
|
3916 | 4632 |
if test -n "$ac_tool_prefix"; then
|
3917 | 4633 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3918 | 4634 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3919 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3920 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3921 | |
if ${ac_cv_prog_CC+:} false; then :
|
3922 | |
$as_echo_n "(cached) " >&6
|
3923 | |
else
|
|
4635 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4636 |
printf %s "checking for $ac_word... " >&6; }
|
|
4637 |
if test ${ac_cv_prog_CC+y}
|
|
4638 |
then :
|
|
4639 |
printf %s "(cached) " >&6
|
|
4640 |
else $as_nop
|
3924 | 4641 |
if test -n "$CC"; then
|
3925 | 4642 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3926 | 4643 |
else
|
|
3928 | 4645 |
for as_dir in $PATH
|
3929 | 4646 |
do
|
3930 | 4647 |
IFS=$as_save_IFS
|
3931 | |
test -z "$as_dir" && as_dir=.
|
|
4648 |
case $as_dir in #(((
|
|
4649 |
'') as_dir=./ ;;
|
|
4650 |
*/) ;;
|
|
4651 |
*) as_dir=$as_dir/ ;;
|
|
4652 |
esac
|
3932 | 4653 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3933 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4654 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3934 | 4655 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3935 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4656 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3936 | 4657 |
break 2
|
3937 | 4658 |
fi
|
3938 | 4659 |
done
|
|
3943 | 4664 |
fi
|
3944 | 4665 |
CC=$ac_cv_prog_CC
|
3945 | 4666 |
if test -n "$CC"; then
|
3946 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3947 | |
$as_echo "$CC" >&6; }
|
3948 | |
else
|
3949 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3950 | |
$as_echo "no" >&6; }
|
|
4667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4668 |
printf "%s\n" "$CC" >&6; }
|
|
4669 |
else
|
|
4670 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4671 |
printf "%s\n" "no" >&6; }
|
3951 | 4672 |
fi
|
3952 | 4673 |
|
3953 | 4674 |
|
|
3956 | 4677 |
if test -z "$CC"; then
|
3957 | 4678 |
# Extract the first word of "cc", so it can be a program name with args.
|
3958 | 4679 |
set dummy cc; ac_word=$2
|
3959 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3960 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3961 | |
if ${ac_cv_prog_CC+:} false; then :
|
3962 | |
$as_echo_n "(cached) " >&6
|
3963 | |
else
|
|
4680 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4681 |
printf %s "checking for $ac_word... " >&6; }
|
|
4682 |
if test ${ac_cv_prog_CC+y}
|
|
4683 |
then :
|
|
4684 |
printf %s "(cached) " >&6
|
|
4685 |
else $as_nop
|
3964 | 4686 |
if test -n "$CC"; then
|
3965 | 4687 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3966 | 4688 |
else
|
|
3969 | 4691 |
for as_dir in $PATH
|
3970 | 4692 |
do
|
3971 | 4693 |
IFS=$as_save_IFS
|
3972 | |
test -z "$as_dir" && as_dir=.
|
|
4694 |
case $as_dir in #(((
|
|
4695 |
'') as_dir=./ ;;
|
|
4696 |
*/) ;;
|
|
4697 |
*) as_dir=$as_dir/ ;;
|
|
4698 |
esac
|
3973 | 4699 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3974 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3975 | |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
4700 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4701 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3976 | 4702 |
ac_prog_rejected=yes
|
3977 | 4703 |
continue
|
3978 | 4704 |
fi
|
3979 | 4705 |
ac_cv_prog_CC="cc"
|
3980 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4706 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3981 | 4707 |
break 2
|
3982 | 4708 |
fi
|
3983 | 4709 |
done
|
|
3993 | 4719 |
# However, it has the same basename, so the bogon will be chosen
|
3994 | 4720 |
# first if we set CC to just the basename; use the full file name.
|
3995 | 4721 |
shift
|
3996 | |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
4722 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
|
3997 | 4723 |
fi
|
3998 | 4724 |
fi
|
3999 | 4725 |
fi
|
4000 | 4726 |
fi
|
4001 | 4727 |
CC=$ac_cv_prog_CC
|
4002 | 4728 |
if test -n "$CC"; then
|
4003 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
4004 | |
$as_echo "$CC" >&6; }
|
4005 | |
else
|
4006 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4007 | |
$as_echo "no" >&6; }
|
|
4729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4730 |
printf "%s\n" "$CC" >&6; }
|
|
4731 |
else
|
|
4732 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4733 |
printf "%s\n" "no" >&6; }
|
4008 | 4734 |
fi
|
4009 | 4735 |
|
4010 | 4736 |
|
|
4015 | 4741 |
do
|
4016 | 4742 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4017 | 4743 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4018 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4019 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4020 | |
if ${ac_cv_prog_CC+:} false; then :
|
4021 | |
$as_echo_n "(cached) " >&6
|
4022 | |
else
|
|
4744 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4745 |
printf %s "checking for $ac_word... " >&6; }
|
|
4746 |
if test ${ac_cv_prog_CC+y}
|
|
4747 |
then :
|
|
4748 |
printf %s "(cached) " >&6
|
|
4749 |
else $as_nop
|
4023 | 4750 |
if test -n "$CC"; then
|
4024 | 4751 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
4025 | 4752 |
else
|
|
4027 | 4754 |
for as_dir in $PATH
|
4028 | 4755 |
do
|
4029 | 4756 |
IFS=$as_save_IFS
|
4030 | |
test -z "$as_dir" && as_dir=.
|
|
4757 |
case $as_dir in #(((
|
|
4758 |
'') as_dir=./ ;;
|
|
4759 |
*/) ;;
|
|
4760 |
*) as_dir=$as_dir/ ;;
|
|
4761 |
esac
|
4031 | 4762 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4032 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4763 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4033 | 4764 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
4034 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4765 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4035 | 4766 |
break 2
|
4036 | 4767 |
fi
|
4037 | 4768 |
done
|
|
4042 | 4773 |
fi
|
4043 | 4774 |
CC=$ac_cv_prog_CC
|
4044 | 4775 |
if test -n "$CC"; then
|
4045 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
4046 | |
$as_echo "$CC" >&6; }
|
4047 | |
else
|
4048 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4049 | |
$as_echo "no" >&6; }
|
|
4776 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4777 |
printf "%s\n" "$CC" >&6; }
|
|
4778 |
else
|
|
4779 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4780 |
printf "%s\n" "no" >&6; }
|
4050 | 4781 |
fi
|
4051 | 4782 |
|
4052 | 4783 |
|
|
4059 | 4790 |
do
|
4060 | 4791 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4061 | 4792 |
set dummy $ac_prog; ac_word=$2
|
4062 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4063 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4064 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
4065 | |
$as_echo_n "(cached) " >&6
|
4066 | |
else
|
|
4793 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4794 |
printf %s "checking for $ac_word... " >&6; }
|
|
4795 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4796 |
then :
|
|
4797 |
printf %s "(cached) " >&6
|
|
4798 |
else $as_nop
|
4067 | 4799 |
if test -n "$ac_ct_CC"; then
|
4068 | 4800 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
4069 | 4801 |
else
|
|
4071 | 4803 |
for as_dir in $PATH
|
4072 | 4804 |
do
|
4073 | 4805 |
IFS=$as_save_IFS
|
4074 | |
test -z "$as_dir" && as_dir=.
|
|
4806 |
case $as_dir in #(((
|
|
4807 |
'') as_dir=./ ;;
|
|
4808 |
*/) ;;
|
|
4809 |
*) as_dir=$as_dir/ ;;
|
|
4810 |
esac
|
4075 | 4811 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4076 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4812 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4077 | 4813 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
4078 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4814 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4079 | 4815 |
break 2
|
4080 | 4816 |
fi
|
4081 | 4817 |
done
|
|
4086 | 4822 |
fi
|
4087 | 4823 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
4088 | 4824 |
if test -n "$ac_ct_CC"; then
|
4089 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
4090 | |
$as_echo "$ac_ct_CC" >&6; }
|
4091 | |
else
|
4092 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4093 | |
$as_echo "no" >&6; }
|
|
4825 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4826 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4827 |
else
|
|
4828 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4829 |
printf "%s\n" "no" >&6; }
|
4094 | 4830 |
fi
|
4095 | 4831 |
|
4096 | 4832 |
|
|
4102 | 4838 |
else
|
4103 | 4839 |
case $cross_compiling:$ac_tool_warned in
|
4104 | 4840 |
yes:)
|
4105 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4106 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4841 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4842 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4107 | 4843 |
ac_tool_warned=yes ;;
|
4108 | 4844 |
esac
|
4109 | 4845 |
CC=$ac_ct_CC
|
|
4111 | 4847 |
fi
|
4112 | 4848 |
|
4113 | 4849 |
fi
|
4114 | |
|
4115 | |
|
4116 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4117 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4850 |
if test -z "$CC"; then
|
|
4851 |
if test -n "$ac_tool_prefix"; then
|
|
4852 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
|
|
4853 |
set dummy ${ac_tool_prefix}clang; ac_word=$2
|
|
4854 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4855 |
printf %s "checking for $ac_word... " >&6; }
|
|
4856 |
if test ${ac_cv_prog_CC+y}
|
|
4857 |
then :
|
|
4858 |
printf %s "(cached) " >&6
|
|
4859 |
else $as_nop
|
|
4860 |
if test -n "$CC"; then
|
|
4861 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4862 |
else
|
|
4863 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4864 |
for as_dir in $PATH
|
|
4865 |
do
|
|
4866 |
IFS=$as_save_IFS
|
|
4867 |
case $as_dir in #(((
|
|
4868 |
'') as_dir=./ ;;
|
|
4869 |
*/) ;;
|
|
4870 |
*) as_dir=$as_dir/ ;;
|
|
4871 |
esac
|
|
4872 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4873 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4874 |
ac_cv_prog_CC="${ac_tool_prefix}clang"
|
|
4875 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4876 |
break 2
|
|
4877 |
fi
|
|
4878 |
done
|
|
4879 |
done
|
|
4880 |
IFS=$as_save_IFS
|
|
4881 |
|
|
4882 |
fi
|
|
4883 |
fi
|
|
4884 |
CC=$ac_cv_prog_CC
|
|
4885 |
if test -n "$CC"; then
|
|
4886 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4887 |
printf "%s\n" "$CC" >&6; }
|
|
4888 |
else
|
|
4889 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4890 |
printf "%s\n" "no" >&6; }
|
|
4891 |
fi
|
|
4892 |
|
|
4893 |
|
|
4894 |
fi
|
|
4895 |
if test -z "$ac_cv_prog_CC"; then
|
|
4896 |
ac_ct_CC=$CC
|
|
4897 |
# Extract the first word of "clang", so it can be a program name with args.
|
|
4898 |
set dummy clang; ac_word=$2
|
|
4899 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4900 |
printf %s "checking for $ac_word... " >&6; }
|
|
4901 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4902 |
then :
|
|
4903 |
printf %s "(cached) " >&6
|
|
4904 |
else $as_nop
|
|
4905 |
if test -n "$ac_ct_CC"; then
|
|
4906 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4907 |
else
|
|
4908 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4909 |
for as_dir in $PATH
|
|
4910 |
do
|
|
4911 |
IFS=$as_save_IFS
|
|
4912 |
case $as_dir in #(((
|
|
4913 |
'') as_dir=./ ;;
|
|
4914 |
*/) ;;
|
|
4915 |
*) as_dir=$as_dir/ ;;
|
|
4916 |
esac
|
|
4917 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4918 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4919 |
ac_cv_prog_ac_ct_CC="clang"
|
|
4920 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4921 |
break 2
|
|
4922 |
fi
|
|
4923 |
done
|
|
4924 |
done
|
|
4925 |
IFS=$as_save_IFS
|
|
4926 |
|
|
4927 |
fi
|
|
4928 |
fi
|
|
4929 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
4930 |
if test -n "$ac_ct_CC"; then
|
|
4931 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4932 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4933 |
else
|
|
4934 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4935 |
printf "%s\n" "no" >&6; }
|
|
4936 |
fi
|
|
4937 |
|
|
4938 |
if test "x$ac_ct_CC" = x; then
|
|
4939 |
CC=""
|
|
4940 |
else
|
|
4941 |
case $cross_compiling:$ac_tool_warned in
|
|
4942 |
yes:)
|
|
4943 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4944 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4945 |
ac_tool_warned=yes ;;
|
|
4946 |
esac
|
|
4947 |
CC=$ac_ct_CC
|
|
4948 |
fi
|
|
4949 |
else
|
|
4950 |
CC="$ac_cv_prog_CC"
|
|
4951 |
fi
|
|
4952 |
|
|
4953 |
fi
|
|
4954 |
|
|
4955 |
|
|
4956 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4957 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
4118 | 4958 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
4119 | 4959 |
See \`config.log' for more details" "$LINENO" 5; }
|
4120 | 4960 |
|
4121 | 4961 |
# Provide some information about the compiler.
|
4122 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
4962 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
4123 | 4963 |
set X $ac_compile
|
4124 | 4964 |
ac_compiler=$2
|
4125 | |
for ac_option in --version -v -V -qversion; do
|
|
4965 |
for ac_option in --version -v -V -qversion -version; do
|
4126 | 4966 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
4127 | 4967 |
case "(($ac_try" in
|
4128 | 4968 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4129 | 4969 |
*) ac_try_echo=$ac_try;;
|
4130 | 4970 |
esac
|
4131 | 4971 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4132 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4972 |
printf "%s\n" "$ac_try_echo"; } >&5
|
4133 | 4973 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
4134 | 4974 |
ac_status=$?
|
4135 | 4975 |
if test -s conftest.err; then
|
|
4139 | 4979 |
cat conftest.er1 >&5
|
4140 | 4980 |
fi
|
4141 | 4981 |
rm -f conftest.er1 conftest.err
|
4142 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4982 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4143 | 4983 |
test $ac_status = 0; }
|
4144 | 4984 |
done
|
4145 | 4985 |
|
4146 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
4147 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
4148 | |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
4149 | |
$as_echo_n "(cached) " >&6
|
4150 | |
else
|
|
4986 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
|
|
4987 |
printf %s "checking whether the compiler supports GNU C... " >&6; }
|
|
4988 |
if test ${ac_cv_c_compiler_gnu+y}
|
|
4989 |
then :
|
|
4990 |
printf %s "(cached) " >&6
|
|
4991 |
else $as_nop
|
4151 | 4992 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4152 | 4993 |
/* end confdefs.h. */
|
4153 | 4994 |
|
4154 | 4995 |
int
|
4155 | |
main ()
|
|
4996 |
main (void)
|
4156 | 4997 |
{
|
4157 | 4998 |
#ifndef __GNUC__
|
4158 | 4999 |
choke me
|
|
4162 | 5003 |
return 0;
|
4163 | 5004 |
}
|
4164 | 5005 |
_ACEOF
|
4165 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5006 |
if ac_fn_c_try_compile "$LINENO"
|
|
5007 |
then :
|
4166 | 5008 |
ac_compiler_gnu=yes
|
4167 | |
else
|
|
5009 |
else $as_nop
|
4168 | 5010 |
ac_compiler_gnu=no
|
4169 | 5011 |
fi
|
4170 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5012 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4171 | 5013 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4172 | 5014 |
|
4173 | 5015 |
fi
|
4174 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
4175 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
5016 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
5017 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
|
|
5018 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
5019 |
|
4176 | 5020 |
if test $ac_compiler_gnu = yes; then
|
4177 | 5021 |
GCC=yes
|
4178 | 5022 |
else
|
4179 | 5023 |
GCC=
|
4180 | 5024 |
fi
|
4181 | |
ac_test_CFLAGS=${CFLAGS+set}
|
|
5025 |
ac_test_CFLAGS=${CFLAGS+y}
|
4182 | 5026 |
ac_save_CFLAGS=$CFLAGS
|
4183 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
4184 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
4185 | |
if ${ac_cv_prog_cc_g+:} false; then :
|
4186 | |
$as_echo_n "(cached) " >&6
|
4187 | |
else
|
|
5027 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
5028 |
printf %s "checking whether $CC accepts -g... " >&6; }
|
|
5029 |
if test ${ac_cv_prog_cc_g+y}
|
|
5030 |
then :
|
|
5031 |
printf %s "(cached) " >&6
|
|
5032 |
else $as_nop
|
4188 | 5033 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
4189 | 5034 |
ac_c_werror_flag=yes
|
4190 | 5035 |
ac_cv_prog_cc_g=no
|
|
4193 | 5038 |
/* end confdefs.h. */
|
4194 | 5039 |
|
4195 | 5040 |
int
|
4196 | |
main ()
|
|
5041 |
main (void)
|
4197 | 5042 |
{
|
4198 | 5043 |
|
4199 | 5044 |
;
|
4200 | 5045 |
return 0;
|
4201 | 5046 |
}
|
4202 | 5047 |
_ACEOF
|
4203 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5048 |
if ac_fn_c_try_compile "$LINENO"
|
|
5049 |
then :
|
4204 | 5050 |
ac_cv_prog_cc_g=yes
|
4205 | |
else
|
|
5051 |
else $as_nop
|
4206 | 5052 |
CFLAGS=""
|
4207 | 5053 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4208 | 5054 |
/* end confdefs.h. */
|
4209 | 5055 |
|
4210 | 5056 |
int
|
4211 | |
main ()
|
|
5057 |
main (void)
|
4212 | 5058 |
{
|
4213 | 5059 |
|
4214 | 5060 |
;
|
4215 | 5061 |
return 0;
|
4216 | 5062 |
}
|
4217 | 5063 |
_ACEOF
|
4218 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4219 | |
|
4220 | |
else
|
|
5064 |
if ac_fn_c_try_compile "$LINENO"
|
|
5065 |
then :
|
|
5066 |
|
|
5067 |
else $as_nop
|
4221 | 5068 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4222 | 5069 |
CFLAGS="-g"
|
4223 | 5070 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4224 | 5071 |
/* end confdefs.h. */
|
4225 | 5072 |
|
4226 | 5073 |
int
|
4227 | |
main ()
|
|
5074 |
main (void)
|
4228 | 5075 |
{
|
4229 | 5076 |
|
4230 | 5077 |
;
|
4231 | 5078 |
return 0;
|
4232 | 5079 |
}
|
4233 | 5080 |
_ACEOF
|
4234 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5081 |
if ac_fn_c_try_compile "$LINENO"
|
|
5082 |
then :
|
4235 | 5083 |
ac_cv_prog_cc_g=yes
|
4236 | 5084 |
fi
|
4237 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4238 | |
fi
|
4239 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4240 | |
fi
|
4241 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5085 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5086 |
fi
|
|
5087 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5088 |
fi
|
|
5089 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4242 | 5090 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4243 | 5091 |
fi
|
4244 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
4245 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
4246 | |
if test "$ac_test_CFLAGS" = set; then
|
|
5092 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
5093 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
|
5094 |
if test $ac_test_CFLAGS; then
|
4247 | 5095 |
CFLAGS=$ac_save_CFLAGS
|
4248 | 5096 |
elif test $ac_cv_prog_cc_g = yes; then
|
4249 | 5097 |
if test "$GCC" = yes; then
|
|
4258 | 5106 |
CFLAGS=
|
4259 | 5107 |
fi
|
4260 | 5108 |
fi
|
4261 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4262 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4263 | |
if ${ac_cv_prog_cc_c89+:} false; then :
|
4264 | |
$as_echo_n "(cached) " >&6
|
4265 | |
else
|
|
5109 |
ac_prog_cc_stdc=no
|
|
5110 |
if test x$ac_prog_cc_stdc = xno
|
|
5111 |
then :
|
|
5112 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
|
|
5113 |
printf %s "checking for $CC option to enable C11 features... " >&6; }
|
|
5114 |
if test ${ac_cv_prog_cc_c11+y}
|
|
5115 |
then :
|
|
5116 |
printf %s "(cached) " >&6
|
|
5117 |
else $as_nop
|
|
5118 |
ac_cv_prog_cc_c11=no
|
|
5119 |
ac_save_CC=$CC
|
|
5120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5121 |
/* end confdefs.h. */
|
|
5122 |
$ac_c_conftest_c11_program
|
|
5123 |
_ACEOF
|
|
5124 |
for ac_arg in '' -std=gnu11
|
|
5125 |
do
|
|
5126 |
CC="$ac_save_CC $ac_arg"
|
|
5127 |
if ac_fn_c_try_compile "$LINENO"
|
|
5128 |
then :
|
|
5129 |
ac_cv_prog_cc_c11=$ac_arg
|
|
5130 |
fi
|
|
5131 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5132 |
test "x$ac_cv_prog_cc_c11" != "xno" && break
|
|
5133 |
done
|
|
5134 |
rm -f conftest.$ac_ext
|
|
5135 |
CC=$ac_save_CC
|
|
5136 |
fi
|
|
5137 |
|
|
5138 |
if test "x$ac_cv_prog_cc_c11" = xno
|
|
5139 |
then :
|
|
5140 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5141 |
printf "%s\n" "unsupported" >&6; }
|
|
5142 |
else $as_nop
|
|
5143 |
if test "x$ac_cv_prog_cc_c11" = x
|
|
5144 |
then :
|
|
5145 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5146 |
printf "%s\n" "none needed" >&6; }
|
|
5147 |
else $as_nop
|
|
5148 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
|
|
5149 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
|
|
5150 |
CC="$CC $ac_cv_prog_cc_c11"
|
|
5151 |
fi
|
|
5152 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
|
|
5153 |
ac_prog_cc_stdc=c11
|
|
5154 |
fi
|
|
5155 |
fi
|
|
5156 |
if test x$ac_prog_cc_stdc = xno
|
|
5157 |
then :
|
|
5158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
|
|
5159 |
printf %s "checking for $CC option to enable C99 features... " >&6; }
|
|
5160 |
if test ${ac_cv_prog_cc_c99+y}
|
|
5161 |
then :
|
|
5162 |
printf %s "(cached) " >&6
|
|
5163 |
else $as_nop
|
|
5164 |
ac_cv_prog_cc_c99=no
|
|
5165 |
ac_save_CC=$CC
|
|
5166 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5167 |
/* end confdefs.h. */
|
|
5168 |
$ac_c_conftest_c99_program
|
|
5169 |
_ACEOF
|
|
5170 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
|
|
5171 |
do
|
|
5172 |
CC="$ac_save_CC $ac_arg"
|
|
5173 |
if ac_fn_c_try_compile "$LINENO"
|
|
5174 |
then :
|
|
5175 |
ac_cv_prog_cc_c99=$ac_arg
|
|
5176 |
fi
|
|
5177 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5178 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
5179 |
done
|
|
5180 |
rm -f conftest.$ac_ext
|
|
5181 |
CC=$ac_save_CC
|
|
5182 |
fi
|
|
5183 |
|
|
5184 |
if test "x$ac_cv_prog_cc_c99" = xno
|
|
5185 |
then :
|
|
5186 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5187 |
printf "%s\n" "unsupported" >&6; }
|
|
5188 |
else $as_nop
|
|
5189 |
if test "x$ac_cv_prog_cc_c99" = x
|
|
5190 |
then :
|
|
5191 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5192 |
printf "%s\n" "none needed" >&6; }
|
|
5193 |
else $as_nop
|
|
5194 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
5195 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
|
|
5196 |
CC="$CC $ac_cv_prog_cc_c99"
|
|
5197 |
fi
|
|
5198 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
5199 |
ac_prog_cc_stdc=c99
|
|
5200 |
fi
|
|
5201 |
fi
|
|
5202 |
if test x$ac_prog_cc_stdc = xno
|
|
5203 |
then :
|
|
5204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
|
|
5205 |
printf %s "checking for $CC option to enable C89 features... " >&6; }
|
|
5206 |
if test ${ac_cv_prog_cc_c89+y}
|
|
5207 |
then :
|
|
5208 |
printf %s "(cached) " >&6
|
|
5209 |
else $as_nop
|
4266 | 5210 |
ac_cv_prog_cc_c89=no
|
4267 | 5211 |
ac_save_CC=$CC
|
4268 | 5212 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4269 | 5213 |
/* end confdefs.h. */
|
4270 | |
#include <stdarg.h>
|
4271 | |
#include <stdio.h>
|
4272 | |
struct stat;
|
4273 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4274 | |
struct buf { int x; };
|
4275 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
4276 | |
static char *e (p, i)
|
4277 | |
char **p;
|
4278 | |
int i;
|
4279 | |
{
|
4280 | |
return p[i];
|
4281 | |
}
|
4282 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
4283 | |
{
|
4284 | |
char *s;
|
4285 | |
va_list v;
|
4286 | |
va_start (v,p);
|
4287 | |
s = g (p, va_arg (v,int));
|
4288 | |
va_end (v);
|
4289 | |
return s;
|
4290 | |
}
|
4291 | |
|
4292 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4293 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
4294 | |
These don't provoke an error unfortunately, instead are silently treated
|
4295 | |
as 'x'. The following induces an error, until -std is added to get
|
4296 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4297 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
4298 | |
that's true only with -std. */
|
4299 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4300 | |
|
4301 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4302 | |
inside strings and character constants. */
|
4303 | |
#define FOO(x) 'x'
|
4304 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4305 | |
|
4306 | |
int test (int i, double x);
|
4307 | |
struct s1 {int (*f) (int a);};
|
4308 | |
struct s2 {int (*f) (double a);};
|
4309 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
4310 | |
int argc;
|
4311 | |
char **argv;
|
4312 | |
int
|
4313 | |
main ()
|
4314 | |
{
|
4315 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
4316 | |
;
|
4317 | |
return 0;
|
4318 | |
}
|
|
5214 |
$ac_c_conftest_c89_program
|
4319 | 5215 |
_ACEOF
|
4320 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4321 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
5216 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4322 | 5217 |
do
|
4323 | 5218 |
CC="$ac_save_CC $ac_arg"
|
4324 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5219 |
if ac_fn_c_try_compile "$LINENO"
|
|
5220 |
then :
|
4325 | 5221 |
ac_cv_prog_cc_c89=$ac_arg
|
4326 | 5222 |
fi
|
4327 | |
rm -f core conftest.err conftest.$ac_objext
|
|
5223 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
4328 | 5224 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4329 | 5225 |
done
|
4330 | 5226 |
rm -f conftest.$ac_ext
|
4331 | 5227 |
CC=$ac_save_CC
|
4332 | |
|
4333 | |
fi
|
4334 | |
# AC_CACHE_VAL
|
4335 | |
case "x$ac_cv_prog_cc_c89" in
|
4336 | |
x)
|
4337 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4338 | |
$as_echo "none needed" >&6; } ;;
|
4339 | |
xno)
|
4340 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4341 | |
$as_echo "unsupported" >&6; } ;;
|
4342 | |
*)
|
4343 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4344 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4345 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4346 | |
esac
|
4347 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4348 | |
|
|
5228 |
fi
|
|
5229 |
|
|
5230 |
if test "x$ac_cv_prog_cc_c89" = xno
|
|
5231 |
then :
|
|
5232 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5233 |
printf "%s\n" "unsupported" >&6; }
|
|
5234 |
else $as_nop
|
|
5235 |
if test "x$ac_cv_prog_cc_c89" = x
|
|
5236 |
then :
|
|
5237 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5238 |
printf "%s\n" "none needed" >&6; }
|
|
5239 |
else $as_nop
|
|
5240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
5241 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
|
|
5242 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
5243 |
fi
|
|
5244 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
5245 |
ac_prog_cc_stdc=c89
|
|
5246 |
fi
|
4349 | 5247 |
fi
|
4350 | 5248 |
|
4351 | 5249 |
ac_ext=c
|
|
4354 | 5252 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4355 | 5253 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4356 | 5254 |
|
4357 | |
ac_ext=c
|
|
5255 |
|
|
5256 |
ac_ext=c
|
4358 | 5257 |
ac_cpp='$CPP $CPPFLAGS'
|
4359 | 5258 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4360 | 5259 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4361 | 5260 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4362 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
4363 | |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
4364 | |
if ${am_cv_prog_cc_c_o+:} false; then :
|
4365 | |
$as_echo_n "(cached) " >&6
|
4366 | |
else
|
|
5261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
5262 |
printf %s "checking whether $CC understands -c and -o together... " >&6; }
|
|
5263 |
if test ${am_cv_prog_cc_c_o+y}
|
|
5264 |
then :
|
|
5265 |
printf %s "(cached) " >&6
|
|
5266 |
else $as_nop
|
4367 | 5267 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4368 | 5268 |
/* end confdefs.h. */
|
4369 | 5269 |
|
4370 | 5270 |
int
|
4371 | |
main ()
|
|
5271 |
main (void)
|
4372 | 5272 |
{
|
4373 | 5273 |
|
4374 | 5274 |
;
|
|
4396 | 5296 |
rm -f core conftest*
|
4397 | 5297 |
unset am_i
|
4398 | 5298 |
fi
|
4399 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
4400 | |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
5299 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
5300 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
|
4401 | 5301 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
4402 | 5302 |
# Losing compiler, so override with the script.
|
4403 | 5303 |
# FIXME: It is wrong to rewrite CC.
|
|
4415 | 5315 |
|
4416 | 5316 |
depcc="$CC" am_compiler_list=
|
4417 | 5317 |
|
4418 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4419 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4420 | |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
4421 | |
$as_echo_n "(cached) " >&6
|
4422 | |
else
|
|
5318 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
5319 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
5320 |
if test ${am_cv_CC_dependencies_compiler_type+y}
|
|
5321 |
then :
|
|
5322 |
printf %s "(cached) " >&6
|
|
5323 |
else $as_nop
|
4423 | 5324 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4424 | 5325 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4425 | 5326 |
# making bogus files that we don't know about and never remove. For
|
|
4526 | 5427 |
fi
|
4527 | 5428 |
|
4528 | 5429 |
fi
|
4529 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4530 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
5430 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
5431 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4531 | 5432 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4532 | 5433 |
|
4533 | 5434 |
if
|
|
4553 | 5454 |
if test -n "$ac_tool_prefix"; then
|
4554 | 5455 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
4555 | 5456 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
4556 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4557 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4558 | |
if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
4559 | |
$as_echo_n "(cached) " >&6
|
4560 | |
else
|
|
5457 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5458 |
printf %s "checking for $ac_word... " >&6; }
|
|
5459 |
if test ${ac_cv_path_PKG_CONFIG+y}
|
|
5460 |
then :
|
|
5461 |
printf %s "(cached) " >&6
|
|
5462 |
else $as_nop
|
4561 | 5463 |
case $PKG_CONFIG in
|
4562 | 5464 |
[\\/]* | ?:[\\/]*)
|
4563 | 5465 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
|
4567 | 5469 |
for as_dir in $PATH
|
4568 | 5470 |
do
|
4569 | 5471 |
IFS=$as_save_IFS
|
4570 | |
test -z "$as_dir" && as_dir=.
|
|
5472 |
case $as_dir in #(((
|
|
5473 |
'') as_dir=./ ;;
|
|
5474 |
*/) ;;
|
|
5475 |
*) as_dir=$as_dir/ ;;
|
|
5476 |
esac
|
4571 | 5477 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4572 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4573 | |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
4574 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5478 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
5479 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
5480 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4575 | 5481 |
break 2
|
4576 | 5482 |
fi
|
4577 | 5483 |
done
|
|
4583 | 5489 |
fi
|
4584 | 5490 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
4585 | 5491 |
if test -n "$PKG_CONFIG"; then
|
4586 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
4587 | |
$as_echo "$PKG_CONFIG" >&6; }
|
4588 | |
else
|
4589 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4590 | |
$as_echo "no" >&6; }
|
|
5492 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
|
5493 |
printf "%s\n" "$PKG_CONFIG" >&6; }
|
|
5494 |
else
|
|
5495 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5496 |
printf "%s\n" "no" >&6; }
|
4591 | 5497 |
fi
|
4592 | 5498 |
|
4593 | 5499 |
|
|
4596 | 5502 |
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
4597 | 5503 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
4598 | 5504 |
set dummy pkg-config; ac_word=$2
|
4599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4600 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4601 | |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
|
4602 | |
$as_echo_n "(cached) " >&6
|
4603 | |
else
|
|
5505 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5506 |
printf %s "checking for $ac_word... " >&6; }
|
|
5507 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
|
|
5508 |
then :
|
|
5509 |
printf %s "(cached) " >&6
|
|
5510 |
else $as_nop
|
4604 | 5511 |
case $ac_pt_PKG_CONFIG in
|
4605 | 5512 |
[\\/]* | ?:[\\/]*)
|
4606 | 5513 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
|
4610 | 5517 |
for as_dir in $PATH
|
4611 | 5518 |
do
|
4612 | 5519 |
IFS=$as_save_IFS
|
4613 | |
test -z "$as_dir" && as_dir=.
|
|
5520 |
case $as_dir in #(((
|
|
5521 |
'') as_dir=./ ;;
|
|
5522 |
*/) ;;
|
|
5523 |
*) as_dir=$as_dir/ ;;
|
|
5524 |
esac
|
4614 | 5525 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4615 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4616 | |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
4617 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5526 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
5527 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
5528 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4618 | 5529 |
break 2
|
4619 | 5530 |
fi
|
4620 | 5531 |
done
|
|
4626 | 5537 |
fi
|
4627 | 5538 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
4628 | 5539 |
if test -n "$ac_pt_PKG_CONFIG"; then
|
4629 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
4630 | |
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
4631 | |
else
|
4632 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4633 | |
$as_echo "no" >&6; }
|
|
5540 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
|
5541 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
|
|
5542 |
else
|
|
5543 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5544 |
printf "%s\n" "no" >&6; }
|
4634 | 5545 |
fi
|
4635 | 5546 |
|
4636 | 5547 |
if test "x$ac_pt_PKG_CONFIG" = x; then
|
|
4638 | 5549 |
else
|
4639 | 5550 |
case $cross_compiling:$ac_tool_warned in
|
4640 | 5551 |
yes:)
|
4641 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4642 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
5552 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5553 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4643 | 5554 |
ac_tool_warned=yes ;;
|
4644 | 5555 |
esac
|
4645 | 5556 |
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
|
4651 | 5562 |
fi
|
4652 | 5563 |
if test -n "$PKG_CONFIG"; then
|
4653 | 5564 |
_pkg_min_version=0.9.0
|
4654 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
4655 | |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
|
5565 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
|
5566 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
4656 | 5567 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
4657 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4658 | |
$as_echo "yes" >&6; }
|
|
5568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5569 |
printf "%s\n" "yes" >&6; }
|
4659 | 5570 |
else
|
4660 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4661 | |
$as_echo "no" >&6; }
|
|
5571 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5572 |
printf "%s\n" "no" >&6; }
|
4662 | 5573 |
PKG_CONFIG=""
|
4663 | 5574 |
fi
|
4664 | 5575 |
fi
|
4665 | 5576 |
|
4666 | 5577 |
# Check whether --enable-engine was given.
|
4667 | |
if test "${enable_engine+set}" = set; then :
|
|
5578 |
if test ${enable_engine+y}
|
|
5579 |
then :
|
4668 | 5580 |
enableval=$enable_engine;
|
4669 | 5581 |
fi
|
4670 | 5582 |
|
4671 | 5583 |
# Check whether --enable-devkit was given.
|
4672 | |
if test "${enable_devkit+set}" = set; then :
|
|
5584 |
if test ${enable_devkit+y}
|
|
5585 |
then :
|
4673 | 5586 |
enableval=$enable_devkit;
|
4674 | 5587 |
fi
|
4675 | 5588 |
|
4676 | 5589 |
# Check whether --enable-doc was given.
|
4677 | |
if test "${enable_doc+set}" = set; then :
|
|
5590 |
if test ${enable_doc+y}
|
|
5591 |
then :
|
4678 | 5592 |
enableval=$enable_doc;
|
4679 | 5593 |
fi
|
4680 | 5594 |
|
4681 | 5595 |
# Check whether --enable-gles2 was given.
|
4682 | |
if test "${enable_gles2+set}" = set; then :
|
|
5596 |
if test ${enable_gles2+y}
|
|
5597 |
then :
|
4683 | 5598 |
enableval=$enable_gles2;
|
4684 | 5599 |
fi
|
4685 | 5600 |
|
4686 | 5601 |
# Check whether --enable-pandora was given.
|
4687 | |
if test "${enable_pandora+set}" = set; then :
|
|
5602 |
if test ${enable_pandora+y}
|
|
5603 |
then :
|
4688 | 5604 |
enableval=$enable_pandora;
|
4689 | 5605 |
fi
|
4690 | 5606 |
|
4691 | 5607 |
# Check whether --enable-rpi was given.
|
4692 | |
if test "${enable_rpi+set}" = set; then :
|
|
5608 |
if test ${enable_rpi+y}
|
|
5609 |
then :
|
4693 | 5610 |
enableval=$enable_rpi;
|
4694 | 5611 |
fi
|
4695 | 5612 |
|
4696 | 5613 |
# Check whether --enable-odroid was given.
|
4697 | |
if test "${enable_odroid+set}" = set; then :
|
|
5614 |
if test ${enable_odroid+y}
|
|
5615 |
then :
|
4698 | 5616 |
enableval=$enable_odroid;
|
4699 | 5617 |
fi
|
4700 | 5618 |
|
|
4756 | 5674 |
if test "x$enable_gles2" = xno; then
|
4757 | 5675 |
|
4758 | 5676 |
pkg_failed=no
|
4759 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLEW" >&5
|
4760 | |
$as_echo_n "checking for GLEW... " >&6; }
|
|
5677 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glew" >&5
|
|
5678 |
printf %s "checking for glew... " >&6; }
|
4761 | 5679 |
|
4762 | 5680 |
if test -n "$GLEW_CFLAGS"; then
|
4763 | 5681 |
pkg_cv_GLEW_CFLAGS="$GLEW_CFLAGS"
|
4764 | 5682 |
elif test -n "$PKG_CONFIG"; then
|
4765 | 5683 |
if test -n "$PKG_CONFIG" && \
|
4766 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
|
5684 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
4767 | 5685 |
($PKG_CONFIG --exists --print-errors "glew") 2>&5
|
4768 | 5686 |
ac_status=$?
|
4769 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5687 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4770 | 5688 |
test $ac_status = 0; }; then
|
4771 | 5689 |
pkg_cv_GLEW_CFLAGS=`$PKG_CONFIG --cflags "glew" 2>/dev/null`
|
4772 | 5690 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4780 | 5698 |
pkg_cv_GLEW_LIBS="$GLEW_LIBS"
|
4781 | 5699 |
elif test -n "$PKG_CONFIG"; then
|
4782 | 5700 |
if test -n "$PKG_CONFIG" && \
|
4783 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
|
5701 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
4784 | 5702 |
($PKG_CONFIG --exists --print-errors "glew") 2>&5
|
4785 | 5703 |
ac_status=$?
|
4786 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5704 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4787 | 5705 |
test $ac_status = 0; }; then
|
4788 | 5706 |
pkg_cv_GLEW_LIBS=`$PKG_CONFIG --libs "glew" 2>/dev/null`
|
4789 | 5707 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4797 | 5715 |
|
4798 | 5716 |
|
4799 | 5717 |
if test $pkg_failed = yes; then
|
4800 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4801 | |
$as_echo "no" >&6; }
|
|
5718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5719 |
printf "%s\n" "no" >&6; }
|
4802 | 5720 |
|
4803 | 5721 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
4804 | 5722 |
_pkg_short_errors_supported=yes
|
|
4824 | 5742 |
and GLEW_LIBS to avoid the need to call pkg-config.
|
4825 | 5743 |
See the pkg-config man page for more details." "$LINENO" 5
|
4826 | 5744 |
elif test $pkg_failed = untried; then
|
4827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4828 | |
$as_echo "no" >&6; }
|
4829 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4830 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
5745 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5746 |
printf "%s\n" "no" >&6; }
|
|
5747 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5748 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
4831 | 5749 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
4832 | 5750 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
4833 | 5751 |
path to pkg-config.
|
|
4841 | 5759 |
else
|
4842 | 5760 |
GLEW_CFLAGS=$pkg_cv_GLEW_CFLAGS
|
4843 | 5761 |
GLEW_LIBS=$pkg_cv_GLEW_LIBS
|
4844 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4845 | |
$as_echo "yes" >&6; }
|
|
5762 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5763 |
printf "%s\n" "yes" >&6; }
|
4846 | 5764 |
|
4847 | 5765 |
fi
|
4848 | 5766 |
else
|
4849 | 5767 |
if test "x$enable_devkit" = xyes; then
|
4850 | 5768 |
|
4851 | 5769 |
pkg_failed=no
|
4852 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLEW" >&5
|
4853 | |
$as_echo_n "checking for GLEW... " >&6; }
|
|
5770 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glew" >&5
|
|
5771 |
printf %s "checking for glew... " >&6; }
|
4854 | 5772 |
|
4855 | 5773 |
if test -n "$GLEW_CFLAGS"; then
|
4856 | 5774 |
pkg_cv_GLEW_CFLAGS="$GLEW_CFLAGS"
|
4857 | 5775 |
elif test -n "$PKG_CONFIG"; then
|
4858 | 5776 |
if test -n "$PKG_CONFIG" && \
|
4859 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
|
5777 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
4860 | 5778 |
($PKG_CONFIG --exists --print-errors "glew") 2>&5
|
4861 | 5779 |
ac_status=$?
|
4862 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5780 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4863 | 5781 |
test $ac_status = 0; }; then
|
4864 | 5782 |
pkg_cv_GLEW_CFLAGS=`$PKG_CONFIG --cflags "glew" 2>/dev/null`
|
4865 | 5783 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4873 | 5791 |
pkg_cv_GLEW_LIBS="$GLEW_LIBS"
|
4874 | 5792 |
elif test -n "$PKG_CONFIG"; then
|
4875 | 5793 |
if test -n "$PKG_CONFIG" && \
|
4876 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
|
5794 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew\""; } >&5
|
4877 | 5795 |
($PKG_CONFIG --exists --print-errors "glew") 2>&5
|
4878 | 5796 |
ac_status=$?
|
4879 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5797 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4880 | 5798 |
test $ac_status = 0; }; then
|
4881 | 5799 |
pkg_cv_GLEW_LIBS=`$PKG_CONFIG --libs "glew" 2>/dev/null`
|
4882 | 5800 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4890 | 5808 |
|
4891 | 5809 |
|
4892 | 5810 |
if test $pkg_failed = yes; then
|
4893 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4894 | |
$as_echo "no" >&6; }
|
|
5811 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5812 |
printf "%s\n" "no" >&6; }
|
4895 | 5813 |
|
4896 | 5814 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
4897 | 5815 |
_pkg_short_errors_supported=yes
|
|
4917 | 5835 |
and GLEW_LIBS to avoid the need to call pkg-config.
|
4918 | 5836 |
See the pkg-config man page for more details." "$LINENO" 5
|
4919 | 5837 |
elif test $pkg_failed = untried; then
|
4920 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4921 | |
$as_echo "no" >&6; }
|
4922 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4923 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
5838 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5839 |
printf "%s\n" "no" >&6; }
|
|
5840 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5841 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
4924 | 5842 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
4925 | 5843 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
4926 | 5844 |
path to pkg-config.
|
|
4934 | 5852 |
else
|
4935 | 5853 |
GLEW_CFLAGS=$pkg_cv_GLEW_CFLAGS
|
4936 | 5854 |
GLEW_LIBS=$pkg_cv_GLEW_LIBS
|
4937 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4938 | |
$as_echo "yes" >&6; }
|
|
5855 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5856 |
printf "%s\n" "yes" >&6; }
|
4939 | 5857 |
|
4940 | 5858 |
fi
|
4941 | 5859 |
fi
|
|
4944 | 5862 |
if test "x$enable_engine" = xyes; then
|
4945 | 5863 |
|
4946 | 5864 |
pkg_failed=no
|
4947 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENGINE" >&5
|
4948 | |
$as_echo_n "checking for ENGINE... " >&6; }
|
|
5865 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sdl alure >= 1.1 openal vorbis ogg vpx" >&5
|
|
5866 |
printf %s "checking for sdl alure >= 1.1 openal vorbis ogg vpx... " >&6; }
|
4949 | 5867 |
|
4950 | 5868 |
if test -n "$ENGINE_CFLAGS"; then
|
4951 | 5869 |
pkg_cv_ENGINE_CFLAGS="$ENGINE_CFLAGS"
|
4952 | 5870 |
elif test -n "$PKG_CONFIG"; then
|
4953 | 5871 |
if test -n "$PKG_CONFIG" && \
|
4954 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl alure >= 1.1 openal vorbis ogg vpx\""; } >&5
|
|
5872 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl alure >= 1.1 openal vorbis ogg vpx\""; } >&5
|
4955 | 5873 |
($PKG_CONFIG --exists --print-errors "sdl alure >= 1.1 openal vorbis ogg vpx") 2>&5
|
4956 | 5874 |
ac_status=$?
|
4957 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5875 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4958 | 5876 |
test $ac_status = 0; }; then
|
4959 | 5877 |
pkg_cv_ENGINE_CFLAGS=`$PKG_CONFIG --cflags "sdl alure >= 1.1 openal vorbis ogg vpx" 2>/dev/null`
|
4960 | 5878 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4968 | 5886 |
pkg_cv_ENGINE_LIBS="$ENGINE_LIBS"
|
4969 | 5887 |
elif test -n "$PKG_CONFIG"; then
|
4970 | 5888 |
if test -n "$PKG_CONFIG" && \
|
4971 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl alure >= 1.1 openal vorbis ogg vpx\""; } >&5
|
|
5889 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl alure >= 1.1 openal vorbis ogg vpx\""; } >&5
|
4972 | 5890 |
($PKG_CONFIG --exists --print-errors "sdl alure >= 1.1 openal vorbis ogg vpx") 2>&5
|
4973 | 5891 |
ac_status=$?
|
4974 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5892 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4975 | 5893 |
test $ac_status = 0; }; then
|
4976 | 5894 |
pkg_cv_ENGINE_LIBS=`$PKG_CONFIG --libs "sdl alure >= 1.1 openal vorbis ogg vpx" 2>/dev/null`
|
4977 | 5895 |
test "x$?" != "x0" && pkg_failed=yes
|
|
4985 | 5903 |
|
4986 | 5904 |
|
4987 | 5905 |
if test $pkg_failed = yes; then
|
4988 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4989 | |
$as_echo "no" >&6; }
|
|
5906 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5907 |
printf "%s\n" "no" >&6; }
|
4990 | 5908 |
|
4991 | 5909 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
4992 | 5910 |
_pkg_short_errors_supported=yes
|
|
5012 | 5930 |
and ENGINE_LIBS to avoid the need to call pkg-config.
|
5013 | 5931 |
See the pkg-config man page for more details." "$LINENO" 5
|
5014 | 5932 |
elif test $pkg_failed = untried; then
|
5015 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5016 | |
$as_echo "no" >&6; }
|
5017 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5018 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
5933 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5934 |
printf "%s\n" "no" >&6; }
|
|
5935 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5936 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
5019 | 5937 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
5020 | 5938 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5021 | 5939 |
path to pkg-config.
|
|
5029 | 5947 |
else
|
5030 | 5948 |
ENGINE_CFLAGS=$pkg_cv_ENGINE_CFLAGS
|
5031 | 5949 |
ENGINE_LIBS=$pkg_cv_ENGINE_LIBS
|
5032 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5033 | |
$as_echo "yes" >&6; }
|
5034 | |
|
5035 | |
fi
|
5036 | |
|
5037 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for duh_render in -ldumb" >&5
|
5038 | |
$as_echo_n "checking for duh_render in -ldumb... " >&6; }
|
5039 | |
if ${ac_cv_lib_dumb_duh_render+:} false; then :
|
5040 | |
$as_echo_n "(cached) " >&6
|
5041 | |
else
|
|
5950 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5951 |
printf "%s\n" "yes" >&6; }
|
|
5952 |
|
|
5953 |
fi
|
|
5954 |
|
|
5955 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duh_render in -ldumb" >&5
|
|
5956 |
printf %s "checking for duh_render in -ldumb... " >&6; }
|
|
5957 |
if test ${ac_cv_lib_dumb_duh_render+y}
|
|
5958 |
then :
|
|
5959 |
printf %s "(cached) " >&6
|
|
5960 |
else $as_nop
|
5042 | 5961 |
ac_check_lib_save_LIBS=$LIBS
|
5043 | 5962 |
LIBS="-ldumb $LIBS"
|
5044 | 5963 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5047 | 5966 |
/* Override any GCC internal prototype to avoid an error.
|
5048 | 5967 |
Use char because int might match the return type of a GCC
|
5049 | 5968 |
builtin and then its argument prototype would still apply. */
|
5050 | |
#ifdef __cplusplus
|
5051 | |
extern "C"
|
5052 | |
#endif
|
5053 | 5969 |
char duh_render ();
|
5054 | 5970 |
int
|
5055 | |
main ()
|
|
5971 |
main (void)
|
5056 | 5972 |
{
|
5057 | 5973 |
return duh_render ();
|
5058 | 5974 |
;
|
5059 | 5975 |
return 0;
|
5060 | 5976 |
}
|
5061 | 5977 |
_ACEOF
|
5062 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5978 |
if ac_fn_c_try_link "$LINENO"
|
|
5979 |
then :
|
5063 | 5980 |
ac_cv_lib_dumb_duh_render=yes
|
5064 | |
else
|
|
5981 |
else $as_nop
|
5065 | 5982 |
ac_cv_lib_dumb_duh_render=no
|
5066 | 5983 |
fi
|
5067 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
5984 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
5068 | 5985 |
conftest$ac_exeext conftest.$ac_ext
|
5069 | 5986 |
LIBS=$ac_check_lib_save_LIBS
|
5070 | 5987 |
fi
|
5071 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dumb_duh_render" >&5
|
5072 | |
$as_echo "$ac_cv_lib_dumb_duh_render" >&6; }
|
5073 | |
if test "x$ac_cv_lib_dumb_duh_render" = xyes; then :
|
|
5988 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dumb_duh_render" >&5
|
|
5989 |
printf "%s\n" "$ac_cv_lib_dumb_duh_render" >&6; }
|
|
5990 |
if test "x$ac_cv_lib_dumb_duh_render" = xyes
|
|
5991 |
then :
|
5074 | 5992 |
ENGINE_LIBS="$ENGINE_LIBS -ldumb"
|
5075 | |
else
|
|
5993 |
else $as_nop
|
5076 | 5994 |
as_fn_error $? "cannot find DUMB library" "$LINENO" 5
|
5077 | 5995 |
fi
|
5078 | 5996 |
|
5079 | 5997 |
if test "x$enable_gles2" = xyes; then
|
5080 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lGLESv2" >&5
|
5081 | |
$as_echo_n "checking for glEnable in -lGLESv2... " >&6; }
|
5082 | |
if ${ac_cv_lib_GLESv2_glEnable+:} false; then :
|
5083 | |
$as_echo_n "(cached) " >&6
|
5084 | |
else
|
|
5998 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lGLESv2" >&5
|
|
5999 |
printf %s "checking for glEnable in -lGLESv2... " >&6; }
|
|
6000 |
if test ${ac_cv_lib_GLESv2_glEnable+y}
|
|
6001 |
then :
|
|
6002 |
printf %s "(cached) " >&6
|
|
6003 |
else $as_nop
|
5085 | 6004 |
ac_check_lib_save_LIBS=$LIBS
|
5086 | 6005 |
LIBS="-lGLESv2 $LIBS"
|
5087 | 6006 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5090 | 6009 |
/* Override any GCC internal prototype to avoid an error.
|
5091 | 6010 |
Use char because int might match the return type of a GCC
|
5092 | 6011 |
builtin and then its argument prototype would still apply. */
|
5093 | |
#ifdef __cplusplus
|
5094 | |
extern "C"
|
5095 | |
#endif
|
5096 | 6012 |
char glEnable ();
|
5097 | 6013 |
int
|
5098 | |
main ()
|
|
6014 |
main (void)
|
5099 | 6015 |
{
|
5100 | 6016 |
return glEnable ();
|
5101 | 6017 |
;
|
5102 | 6018 |
return 0;
|
5103 | 6019 |
}
|
5104 | 6020 |
_ACEOF
|
5105 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
6021 |
if ac_fn_c_try_link "$LINENO"
|
|
6022 |
then :
|
5106 | 6023 |
ac_cv_lib_GLESv2_glEnable=yes
|
5107 | |
else
|
|
6024 |
else $as_nop
|
5108 | 6025 |
ac_cv_lib_GLESv2_glEnable=no
|
5109 | 6026 |
fi
|
5110 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
6027 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
5111 | 6028 |
conftest$ac_exeext conftest.$ac_ext
|
5112 | 6029 |
LIBS=$ac_check_lib_save_LIBS
|
5113 | 6030 |
fi
|
5114 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glEnable" >&5
|
5115 | |
$as_echo "$ac_cv_lib_GLESv2_glEnable" >&6; }
|
5116 | |
if test "x$ac_cv_lib_GLESv2_glEnable" = xyes; then :
|
|
6031 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glEnable" >&5
|
|
6032 |
printf "%s\n" "$ac_cv_lib_GLESv2_glEnable" >&6; }
|
|
6033 |
if test "x$ac_cv_lib_GLESv2_glEnable" = xyes
|
|
6034 |
then :
|
5117 | 6035 |
ENGINE_LIBS="$ENGINE_LIBS -lGLESv2"
|
5118 | |
else
|
|
6036 |
else $as_nop
|
5119 | 6037 |
as_fn_error $? "cannot find GLESv2 library" "$LINENO" 5
|
5120 | 6038 |
fi
|
5121 | 6039 |
|
5122 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eglInitialize in -lEGL" >&5
|
5123 | |
$as_echo_n "checking for eglInitialize in -lEGL... " >&6; }
|
5124 | |
if ${ac_cv_lib_EGL_eglInitialize+:} false; then :
|
5125 | |
$as_echo_n "(cached) " >&6
|
5126 | |
else
|
|
6040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for eglInitialize in -lEGL" >&5
|
|
6041 |
printf %s "checking for eglInitialize in -lEGL... " >&6; }
|
|
6042 |
if test ${ac_cv_lib_EGL_eglInitialize+y}
|
|
6043 |
then :
|
|
6044 |
printf %s "(cached) " >&6
|
|
6045 |
else $as_nop
|
5127 | 6046 |
ac_check_lib_save_LIBS=$LIBS
|
5128 | 6047 |
LIBS="-lEGL $LIBS"
|
5129 | 6048 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5132 | 6051 |
/* Override any GCC internal prototype to avoid an error.
|
5133 | 6052 |
Use char because int might match the return type of a GCC
|
5134 | 6053 |
builtin and then its argument prototype would still apply. */
|
5135 | |
#ifdef __cplusplus
|
5136 | |
extern "C"
|
5137 | |
#endif
|
5138 | 6054 |
char eglInitialize ();
|
5139 | 6055 |
int
|
5140 | |
main ()
|
|
6056 |
main (void)
|
5141 | 6057 |
{
|
5142 | 6058 |
return eglInitialize ();
|
5143 | 6059 |
;
|
5144 | 6060 |
return 0;
|
5145 | 6061 |
}
|
5146 | 6062 |
_ACEOF
|
5147 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
6063 |
if ac_fn_c_try_link "$LINENO"
|
|
6064 |
then :
|
5148 | 6065 |
ac_cv_lib_EGL_eglInitialize=yes
|
5149 | |
else
|
|
6066 |
else $as_nop
|
5150 | 6067 |
ac_cv_lib_EGL_eglInitialize=no
|
5151 | 6068 |
fi
|
5152 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
6069 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
5153 | 6070 |
conftest$ac_exeext conftest.$ac_ext
|
5154 | 6071 |
LIBS=$ac_check_lib_save_LIBS
|
5155 | 6072 |
fi
|
5156 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_EGL_eglInitialize" >&5
|
5157 | |
$as_echo "$ac_cv_lib_EGL_eglInitialize" >&6; }
|
5158 | |
if test "x$ac_cv_lib_EGL_eglInitialize" = xyes; then :
|
|
6073 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_EGL_eglInitialize" >&5
|
|
6074 |
printf "%s\n" "$ac_cv_lib_EGL_eglInitialize" >&6; }
|
|
6075 |
if test "x$ac_cv_lib_EGL_eglInitialize" = xyes
|
|
6076 |
then :
|
5159 | 6077 |
ENGINE_LIBS="$ENGINE_LIBS -lEGL"
|
5160 | |
else
|
|
6078 |
else $as_nop
|
5161 | 6079 |
as_fn_error $? "cannot find EGL library" "$LINENO" 5
|
5162 | 6080 |
fi
|
5163 | 6081 |
|
5164 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
|
5165 | |
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
|
5166 | |
if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
|
5167 | |
$as_echo_n "(cached) " >&6
|
5168 | |
else
|
|
6082 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
|
|
6083 |
printf %s "checking for XOpenDisplay in -lX11... " >&6; }
|
|
6084 |
if test ${ac_cv_lib_X11_XOpenDisplay+y}
|
|
6085 |
then :
|
|
6086 |
printf %s "(cached) " >&6
|
|
6087 |
else $as_nop
|
5169 | 6088 |
ac_check_lib_save_LIBS=$LIBS
|
5170 | 6089 |
LIBS="-lX11 $LIBS"
|
5171 | 6090 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5174 | 6093 |
/* Override any GCC internal prototype to avoid an error.
|
5175 | 6094 |
Use char because int might match the return type of a GCC
|
5176 | 6095 |
builtin and then its argument prototype would still apply. */
|
5177 | |
#ifdef __cplusplus
|
5178 | |
extern "C"
|
5179 | |
#endif
|
5180 | 6096 |
char XOpenDisplay ();
|
5181 | 6097 |
int
|
5182 | |
main ()
|
|
6098 |
main (void)
|
5183 | 6099 |
{
|
5184 | 6100 |
return XOpenDisplay ();
|
5185 | 6101 |
;
|
5186 | 6102 |
return 0;
|
5187 | 6103 |
}
|
5188 | 6104 |
_ACEOF
|
5189 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
6105 |
if ac_fn_c_try_link "$LINENO"
|
|
6106 |
then :
|
5190 | 6107 |
ac_cv_lib_X11_XOpenDisplay=yes
|
5191 | |
else
|
|
6108 |
else $as_nop
|
5192 | 6109 |
ac_cv_lib_X11_XOpenDisplay=no
|
5193 | 6110 |
fi
|
5194 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
6111 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
5195 | 6112 |
conftest$ac_exeext conftest.$ac_ext
|
5196 | 6113 |
LIBS=$ac_check_lib_save_LIBS
|
5197 | 6114 |
fi
|
5198 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
|
5199 | |
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
|
5200 | |
if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
|
|
6115 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
|
|
6116 |
printf "%s\n" "$ac_cv_lib_X11_XOpenDisplay" >&6; }
|
|
6117 |
if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes
|
|
6118 |
then :
|
5201 | 6119 |
ENGINE_LIBS="$ENGINE_LIBS -lX11"
|
5202 | |
else
|
|
6120 |
else $as_nop
|
5203 | 6121 |
as_fn_error $? "cannot find X11 library" "$LINENO" 5
|
5204 | 6122 |
fi
|
5205 | 6123 |
|
5206 | 6124 |
else
|
5207 | 6125 |
|
5208 | 6126 |
pkg_failed=no
|
5209 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
|
5210 | |
$as_echo_n "checking for GL... " >&6; }
|
|
6127 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gl glu" >&5
|
|
6128 |
printf %s "checking for gl glu... " >&6; }
|
5211 | 6129 |
|
5212 | 6130 |
if test -n "$GL_CFLAGS"; then
|
5213 | 6131 |
pkg_cv_GL_CFLAGS="$GL_CFLAGS"
|
5214 | 6132 |
elif test -n "$PKG_CONFIG"; then
|
5215 | 6133 |
if test -n "$PKG_CONFIG" && \
|
5216 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl glu\""; } >&5
|
|
6134 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl glu\""; } >&5
|
5217 | 6135 |
($PKG_CONFIG --exists --print-errors "gl glu") 2>&5
|
5218 | 6136 |
ac_status=$?
|
5219 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6137 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5220 | 6138 |
test $ac_status = 0; }; then
|
5221 | 6139 |
pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "gl glu" 2>/dev/null`
|
5222 | 6140 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5230 | 6148 |
pkg_cv_GL_LIBS="$GL_LIBS"
|
5231 | 6149 |
elif test -n "$PKG_CONFIG"; then
|
5232 | 6150 |
if test -n "$PKG_CONFIG" && \
|
5233 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl glu\""; } >&5
|
|
6151 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl glu\""; } >&5
|
5234 | 6152 |
($PKG_CONFIG --exists --print-errors "gl glu") 2>&5
|
5235 | 6153 |
ac_status=$?
|
5236 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6154 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5237 | 6155 |
test $ac_status = 0; }; then
|
5238 | 6156 |
pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "gl glu" 2>/dev/null`
|
5239 | 6157 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5247 | 6165 |
|
5248 | 6166 |
|
5249 | 6167 |
if test $pkg_failed = yes; then
|
5250 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5251 | |
$as_echo "no" >&6; }
|
|
6168 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6169 |
printf "%s\n" "no" >&6; }
|
5252 | 6170 |
|
5253 | 6171 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
5254 | 6172 |
_pkg_short_errors_supported=yes
|
|
5274 | 6192 |
and GL_LIBS to avoid the need to call pkg-config.
|
5275 | 6193 |
See the pkg-config man page for more details." "$LINENO" 5
|
5276 | 6194 |
elif test $pkg_failed = untried; then
|
5277 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5278 | |
$as_echo "no" >&6; }
|
5279 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5280 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6195 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6196 |
printf "%s\n" "no" >&6; }
|
|
6197 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
6198 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
5281 | 6199 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
5282 | 6200 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5283 | 6201 |
path to pkg-config.
|
|
5291 | 6209 |
else
|
5292 | 6210 |
GL_CFLAGS=$pkg_cv_GL_CFLAGS
|
5293 | 6211 |
GL_LIBS=$pkg_cv_GL_LIBS
|
5294 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5295 | |
$as_echo "yes" >&6; }
|
|
6212 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
6213 |
printf "%s\n" "yes" >&6; }
|
5296 | 6214 |
|
5297 | 6215 |
fi
|
5298 | 6216 |
fi
|
|
5301 | 6219 |
if test "x$enable_devkit" = xyes; then
|
5302 | 6220 |
|
5303 | 6221 |
pkg_failed=no
|
5304 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
|
5305 | |
$as_echo_n "checking for GTK... " >&6; }
|
|
6222 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0" >&5
|
|
6223 |
printf %s "checking for gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0... " >&6; }
|
5306 | 6224 |
|
5307 | 6225 |
if test -n "$GTK_CFLAGS"; then
|
5308 | 6226 |
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
|
5309 | 6227 |
elif test -n "$PKG_CONFIG"; then
|
5310 | 6228 |
if test -n "$PKG_CONFIG" && \
|
5311 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0\""; } >&5
|
|
6229 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0\""; } >&5
|
5312 | 6230 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0") 2>&5
|
5313 | 6231 |
ac_status=$?
|
5314 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6232 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5315 | 6233 |
test $ac_status = 0; }; then
|
5316 | 6234 |
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0" 2>/dev/null`
|
5317 | 6235 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5325 | 6243 |
pkg_cv_GTK_LIBS="$GTK_LIBS"
|
5326 | 6244 |
elif test -n "$PKG_CONFIG"; then
|
5327 | 6245 |
if test -n "$PKG_CONFIG" && \
|
5328 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0\""; } >&5
|
|
6246 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0\""; } >&5
|
5329 | 6247 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0") 2>&5
|
5330 | 6248 |
ac_status=$?
|
5331 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6249 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5332 | 6250 |
test $ac_status = 0; }; then
|
5333 | 6251 |
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 gthread-2.0 gobject-2.0 gtkglext-1.0 gmodule-2.0" 2>/dev/null`
|
5334 | 6252 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5342 | 6260 |
|
5343 | 6261 |
|
5344 | 6262 |
if test $pkg_failed = yes; then
|
5345 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5346 | |
$as_echo "no" >&6; }
|
|
6263 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6264 |
printf "%s\n" "no" >&6; }
|
5347 | 6265 |
|
5348 | 6266 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
5349 | 6267 |
_pkg_short_errors_supported=yes
|
|
5369 | 6287 |
and GTK_LIBS to avoid the need to call pkg-config.
|
5370 | 6288 |
See the pkg-config man page for more details." "$LINENO" 5
|
5371 | 6289 |
elif test $pkg_failed = untried; then
|
5372 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5373 | |
$as_echo "no" >&6; }
|
5374 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5375 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6290 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6291 |
printf "%s\n" "no" >&6; }
|
|
6292 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
6293 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
5376 | 6294 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
5377 | 6295 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5378 | 6296 |
path to pkg-config.
|
|
5386 | 6304 |
else
|
5387 | 6305 |
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
|
5388 | 6306 |
GTK_LIBS=$pkg_cv_GTK_LIBS
|
5389 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5390 | |
$as_echo "yes" >&6; }
|
|
6307 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
6308 |
printf "%s\n" "yes" >&6; }
|
5391 | 6309 |
|
5392 | 6310 |
fi
|
5393 | 6311 |
|
5394 | 6312 |
pkg_failed=no
|
5395 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
|
5396 | |
$as_echo_n "checking for GLIB... " >&6; }
|
|
6313 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
|
|
6314 |
printf %s "checking for glib-2.0... " >&6; }
|
5397 | 6315 |
|
5398 | 6316 |
if test -n "$GLIB_CFLAGS"; then
|
5399 | 6317 |
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
|
5400 | 6318 |
elif test -n "$PKG_CONFIG"; then
|
5401 | 6319 |
if test -n "$PKG_CONFIG" && \
|
5402 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
|
6320 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
5403 | 6321 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
5404 | 6322 |
ac_status=$?
|
5405 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6323 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5406 | 6324 |
test $ac_status = 0; }; then
|
5407 | 6325 |
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
|
5408 | 6326 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5416 | 6334 |
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
|
5417 | 6335 |
elif test -n "$PKG_CONFIG"; then
|
5418 | 6336 |
if test -n "$PKG_CONFIG" && \
|
5419 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
|
6337 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
|
5420 | 6338 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
|
5421 | 6339 |
ac_status=$?
|
5422 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6340 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5423 | 6341 |
test $ac_status = 0; }; then
|
5424 | 6342 |
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
|
5425 | 6343 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5433 | 6351 |
|
5434 | 6352 |
|
5435 | 6353 |
if test $pkg_failed = yes; then
|
5436 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5437 | |
$as_echo "no" >&6; }
|
|
6354 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6355 |
printf "%s\n" "no" >&6; }
|
5438 | 6356 |
|
5439 | 6357 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
5440 | 6358 |
_pkg_short_errors_supported=yes
|
|
5460 | 6378 |
and GLIB_LIBS to avoid the need to call pkg-config.
|
5461 | 6379 |
See the pkg-config man page for more details." "$LINENO" 5
|
5462 | 6380 |
elif test $pkg_failed = untried; then
|
5463 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5464 | |
$as_echo "no" >&6; }
|
5465 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5466 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6382 |
printf "%s\n" "no" >&6; }
|
|
6383 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
6384 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
5467 | 6385 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
5468 | 6386 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5469 | 6387 |
path to pkg-config.
|
|
5477 | 6395 |
else
|
5478 | 6396 |
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
|
5479 | 6397 |
GLIB_LIBS=$pkg_cv_GLIB_LIBS
|
5480 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5481 | |
$as_echo "yes" >&6; }
|
|
6398 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
6399 |
printf "%s\n" "yes" >&6; }
|
5482 | 6400 |
|
5483 | 6401 |
fi
|
5484 | 6402 |
fi
|
5485 | 6403 |
|
5486 | 6404 |
|
5487 | 6405 |
pkg_failed=no
|
5488 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
|
5489 | |
$as_echo_n "checking for LIBPNG... " >&6; }
|
|
6406 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpng" >&5
|
|
6407 |
printf %s "checking for libpng... " >&6; }
|
5490 | 6408 |
|
5491 | 6409 |
if test -n "$LIBPNG_CFLAGS"; then
|
5492 | 6410 |
pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
|
5493 | 6411 |
elif test -n "$PKG_CONFIG"; then
|
5494 | 6412 |
if test -n "$PKG_CONFIG" && \
|
5495 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
|
|
6413 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
|
5496 | 6414 |
($PKG_CONFIG --exists --print-errors "libpng") 2>&5
|
5497 | 6415 |
ac_status=$?
|
5498 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6416 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5499 | 6417 |
test $ac_status = 0; }; then
|
5500 | 6418 |
pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
|
5501 | 6419 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5509 | 6427 |
pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
|
5510 | 6428 |
elif test -n "$PKG_CONFIG"; then
|
5511 | 6429 |
if test -n "$PKG_CONFIG" && \
|
5512 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
|
|
6430 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
|
5513 | 6431 |
($PKG_CONFIG --exists --print-errors "libpng") 2>&5
|
5514 | 6432 |
ac_status=$?
|
5515 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6433 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5516 | 6434 |
test $ac_status = 0; }; then
|
5517 | 6435 |
pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
|
5518 | 6436 |
test "x$?" != "x0" && pkg_failed=yes
|
|
5526 | 6444 |
|
5527 | 6445 |
|
5528 | 6446 |
if test $pkg_failed = yes; then
|
5529 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5530 | |
$as_echo "no" >&6; }
|
|
6447 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6448 |
printf "%s\n" "no" >&6; }
|
5531 | 6449 |
|
5532 | 6450 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
5533 | 6451 |
_pkg_short_errors_supported=yes
|
|
5553 | 6471 |
and LIBPNG_LIBS to avoid the need to call pkg-config.
|
5554 | 6472 |
See the pkg-config man page for more details." "$LINENO" 5
|
5555 | 6473 |
elif test $pkg_failed = untried; then
|
5556 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5557 | |
$as_echo "no" >&6; }
|
5558 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5559 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6474 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6475 |
printf "%s\n" "no" >&6; }
|
|
6476 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
6477 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
5560 | 6478 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
5561 | 6479 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5562 | 6480 |
path to pkg-config.
|
|
5570 | 6488 |
else
|
5571 | 6489 |
LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
|
5572 | 6490 |
LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
|
5573 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5574 | |
$as_echo "yes" >&6; }
|
|
6491 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
6492 |
printf "%s\n" "yes" >&6; }
|
5575 | 6493 |
|
5576 | 6494 |
fi
|
5577 | 6495 |
|
5578 | 6496 |
# Checks for header files.
|
5579 | |
ac_ext=c
|
5580 | |
ac_cpp='$CPP $CPPFLAGS'
|
5581 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5582 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5583 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5584 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
5585 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
5586 | |
# On Suns, sometimes $CPP names a directory.
|
5587 | |
if test -n "$CPP" && test -d "$CPP"; then
|
5588 | |
CPP=
|
5589 | |
fi
|
5590 | |
if test -z "$CPP"; then
|
5591 | |
if ${ac_cv_prog_CPP+:} false; then :
|
5592 | |
$as_echo_n "(cached) " >&6
|
5593 | |
else
|
5594 | |
# Double quotes because CPP needs to be expanded
|
5595 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
5596 | |
do
|
5597 | |
ac_preproc_ok=false
|
5598 | |
for ac_c_preproc_warn_flag in '' yes
|
|
6497 |
ac_header= ac_cache=
|
|
6498 |
for ac_item in $ac_header_c_list
|
5599 | 6499 |
do
|
5600 | |
# Use a header file that comes with gcc, so configuring glibc
|
5601 | |
# with a fresh cross-compiler works.
|
5602 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5603 | |
# <limits.h> exists even on freestanding compilers.
|
5604 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5605 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
6500 |
if test $ac_cache; then
|
|
6501 |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
|
|
6502 |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
|
|
6503 |
printf "%s\n" "#define $ac_item 1" >> confdefs.h
|
|
6504 |
fi
|
|
6505 |
ac_header= ac_cache=
|
|
6506 |
elif test $ac_header; then
|
|
6507 |
ac_cache=$ac_item
|
|
6508 |
else
|
|
6509 |
ac_header=$ac_item
|
|
6510 |
fi
|
|
6511 |
done
|
|
6512 |
|
|
6513 |
|
|
6514 |
|
|
6515 |
|
|
6516 |
|
|
6517 |
|
|
6518 |
|
|
6519 |
|
|
6520 |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
|
|
6521 |
then :
|
|
6522 |
|
|
6523 |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
|
6524 |
|
|
6525 |
fi
|
|
6526 |
for ac_header in limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h
|
|
6527 |
do :
|
|
6528 |
as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6529 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
6530 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"
|
|
6531 |
then :
|
|
6532 |
cat >>confdefs.h <<_ACEOF
|
|
6533 |
#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6534 |
_ACEOF
|
|
6535 |
|
|
6536 |
else $as_nop
|
|
6537 |
as_fn_error $? "cannot find one or more of these header files: limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h" "$LINENO" 5
|
|
6538 |
fi
|
|
6539 |
|
|
6540 |
done
|
|
6541 |
for ac_header in getopt.h
|
|
6542 |
do :
|
|
6543 |
ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
|
|
6544 |
if test "x$ac_cv_header_getopt_h" = xyes
|
|
6545 |
then :
|
|
6546 |
printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
|
|
6547 |
|
|
6548 |
else $as_nop
|
|
6549 |
as_fn_error $? "cannot find getopt header files" "$LINENO" 5
|
|
6550 |
fi
|
|
6551 |
|
|
6552 |
done
|
|
6553 |
|
|
6554 |
if test "x$enable_engine" = xyes; then
|
|
6555 |
for ac_header in SDL/SDL.h SDL/SDL_syswm.h
|
|
6556 |
do :
|
|
6557 |
as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6558 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
6559 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"
|
|
6560 |
then :
|
|
6561 |
cat >>confdefs.h <<_ACEOF
|
|
6562 |
#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6563 |
_ACEOF
|
|
6564 |
|
|
6565 |
else $as_nop
|
|
6566 |
as_fn_error $? "cannot find SDL header files" "$LINENO" 5
|
|
6567 |
fi
|
|
6568 |
|
|
6569 |
done
|
|
6570 |
for ac_header in AL/alure.h
|
|
6571 |
do :
|
|
6572 |
ac_fn_c_check_header_compile "$LINENO" "AL/alure.h" "ac_cv_header_AL_alure_h" "$ac_includes_default"
|
|
6573 |
if test "x$ac_cv_header_AL_alure_h" = xyes
|
|
6574 |
then :
|
|
6575 |
printf "%s\n" "#define HAVE_AL_ALURE_H 1" >>confdefs.h
|
|
6576 |
|
|
6577 |
else $as_nop
|
|
6578 |
as_fn_error $? "cannot find alure header files" "$LINENO" 5
|
|
6579 |
fi
|
|
6580 |
|
|
6581 |
done
|
|
6582 |
for ac_header in vpx/vpx_decoder.h
|
|
6583 |
do :
|
|
6584 |
ac_fn_c_check_header_compile "$LINENO" "vpx/vpx_decoder.h" "ac_cv_header_vpx_vpx_decoder_h" "$ac_includes_default"
|
|
6585 |
if test "x$ac_cv_header_vpx_vpx_decoder_h" = xyes
|
|
6586 |
then :
|
|
6587 |
printf "%s\n" "#define HAVE_VPX_VPX_DECODER_H 1" >>confdefs.h
|
|
6588 |
|
|
6589 |
else $as_nop
|
|
6590 |
as_fn_error $? "cannot find vpx header files" "$LINENO" 5
|
|
6591 |
fi
|
|
6592 |
|
|
6593 |
done
|
|
6594 |
for ac_header in vorbis/codec.h
|
|
6595 |
do :
|
|
6596 |
ac_fn_c_check_header_compile "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default"
|
|
6597 |
if test "x$ac_cv_header_vorbis_codec_h" = xyes
|
|
6598 |
then :
|
|
6599 |
printf "%s\n" "#define HAVE_VORBIS_CODEC_H 1" >>confdefs.h
|
|
6600 |
|
|
6601 |
else $as_nop
|
|
6602 |
as_fn_error $? "cannot find vorbis header files" "$LINENO" 5
|
|
6603 |
fi
|
|
6604 |
|
|
6605 |
done
|
|
6606 |
for ac_header in ogg/ogg.h
|
|
6607 |
do :
|
|
6608 |
ac_fn_c_check_header_compile "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
|
|
6609 |
if test "x$ac_cv_header_ogg_ogg_h" = xyes
|
|
6610 |
then :
|
|
6611 |
printf "%s\n" "#define HAVE_OGG_OGG_H 1" >>confdefs.h
|
|
6612 |
|
|
6613 |
else $as_nop
|
|
6614 |
as_fn_error $? "cannot find ogg header files" "$LINENO" 5
|
|
6615 |
fi
|
|
6616 |
|
|
6617 |
done
|
|
6618 |
for ac_header in dumb.h
|
|
6619 |
do :
|
|
6620 |
ac_fn_c_check_header_compile "$LINENO" "dumb.h" "ac_cv_header_dumb_h" "$ac_includes_default"
|
|
6621 |
if test "x$ac_cv_header_dumb_h" = xyes
|
|
6622 |
then :
|
|
6623 |
printf "%s\n" "#define HAVE_DUMB_H 1" >>confdefs.h
|
|
6624 |
|
|
6625 |
else $as_nop
|
|
6626 |
as_fn_error $? "cannot find DUMB header files" "$LINENO" 5
|
|
6627 |
fi
|
|
6628 |
|
|
6629 |
done
|
|
6630 |
if test "x$enable_gles2" = xyes; then
|
|
6631 |
for ac_header in GLES2/gl2.h
|
|
6632 |
do :
|
|
6633 |
ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
|
|
6634 |
if test "x$ac_cv_header_GLES2_gl2_h" = xyes
|
|
6635 |
then :
|
|
6636 |
printf "%s\n" "#define HAVE_GLES2_GL2_H 1" >>confdefs.h
|
|
6637 |
|
|
6638 |
else $as_nop
|
|
6639 |
as_fn_error $? "cannot find gles2 header files" "$LINENO" 5
|
|
6640 |
fi
|
|
6641 |
|
|
6642 |
done
|
|
6643 |
for ac_header in EGL/egl.h
|
|
6644 |
do :
|
|
6645 |
ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
|
|
6646 |
if test "x$ac_cv_header_EGL_egl_h" = xyes
|
|
6647 |
then :
|
|
6648 |
printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
|
|
6649 |
|
|
6650 |
else $as_nop
|
|
6651 |
as_fn_error $? "cannot find egl header files" "$LINENO" 5
|
|
6652 |
fi
|
|
6653 |
|
|
6654 |
done
|
|
6655 |
for ac_header in X11/Xlib.h X11/Xutil.h
|
|
6656 |
do :
|
|
6657 |
as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6658 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
6659 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"
|
|
6660 |
then :
|
|
6661 |
cat >>confdefs.h <<_ACEOF
|
|
6662 |
#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6663 |
_ACEOF
|
|
6664 |
|
|
6665 |
else $as_nop
|
|
6666 |
as_fn_error $? "cannot find x11 header files" "$LINENO" 5
|
|
6667 |
fi
|
|
6668 |
|
|
6669 |
done
|
|
6670 |
else
|
|
6671 |
for ac_header in GL/glu.h
|
|
6672 |
do :
|
|
6673 |
ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
|
|
6674 |
if test "x$ac_cv_header_GL_glu_h" = xyes
|
|
6675 |
then :
|
|
6676 |
printf "%s\n" "#define HAVE_GL_GLU_H 1" >>confdefs.h
|
|
6677 |
|
|
6678 |
else $as_nop
|
|
6679 |
as_fn_error $? "cannot find glu header files" "$LINENO" 5
|
|
6680 |
fi
|
|
6681 |
|
|
6682 |
done
|
|
6683 |
fi
|
|
6684 |
fi
|
|
6685 |
|
|
6686 |
# Checks for typedefs, structures, and compiler characteristics.
|
|
6687 |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
|
6688 |
if test "x$ac_cv_type__Bool" = xyes
|
|
6689 |
then :
|
|
6690 |
|
|
6691 |
printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
|
|
6692 |
|
|
6693 |
|
|
6694 |
fi
|
|
6695 |
|
|
6696 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
|
6697 |
printf %s "checking for stdbool.h that conforms to C99... " >&6; }
|
|
6698 |
if test ${ac_cv_header_stdbool_h+y}
|
|
6699 |
then :
|
|
6700 |
printf %s "(cached) " >&6
|
|
6701 |
else $as_nop
|
5606 | 6702 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5607 | 6703 |
/* end confdefs.h. */
|
5608 | |
#ifdef __STDC__
|
5609 | |
# include <limits.h>
|
5610 | |
#else
|
5611 | |
# include <assert.h>
|
5612 | |
#endif
|
5613 | |
Syntax error
|
5614 | |
_ACEOF
|
5615 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5616 | |
|
5617 | |
else
|
5618 | |
# Broken: fails on valid input.
|
5619 | |
continue
|
5620 | |
fi
|
5621 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5622 | |
|
5623 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
5624 | |
# can be detected and how.
|
5625 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5626 | |
/* end confdefs.h. */
|
5627 | |
#include <ac_nonexistent.h>
|
5628 | |
_ACEOF
|
5629 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5630 | |
# Broken: success on invalid input.
|
5631 | |
continue
|
5632 | |
else
|
5633 | |
# Passes both tests.
|
5634 | |
ac_preproc_ok=:
|
5635 | |
break
|
5636 | |
fi
|
5637 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5638 | |
|
5639 | |
done
|
5640 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5641 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
5642 | |
if $ac_preproc_ok; then :
|
5643 | |
break
|
5644 | |
fi
|
5645 | |
|
5646 | |
done
|
5647 | |
ac_cv_prog_CPP=$CPP
|
5648 | |
|
5649 | |
fi
|
5650 | |
CPP=$ac_cv_prog_CPP
|
5651 | |
else
|
5652 | |
ac_cv_prog_CPP=$CPP
|
5653 | |
fi
|
5654 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
5655 | |
$as_echo "$CPP" >&6; }
|
5656 | |
ac_preproc_ok=false
|
5657 | |
for ac_c_preproc_warn_flag in '' yes
|
5658 | |
do
|
5659 | |
# Use a header file that comes with gcc, so configuring glibc
|
5660 | |
# with a fresh cross-compiler works.
|
5661 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5662 | |
# <limits.h> exists even on freestanding compilers.
|
5663 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5664 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
5665 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5666 | |
/* end confdefs.h. */
|
5667 | |
#ifdef __STDC__
|
5668 | |
# include <limits.h>
|
5669 | |
#else
|
5670 | |
# include <assert.h>
|
5671 | |
#endif
|
5672 | |
Syntax error
|
5673 | |
_ACEOF
|
5674 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5675 | |
|
5676 | |
else
|
5677 | |
# Broken: fails on valid input.
|
5678 | |
continue
|
5679 | |
fi
|
5680 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5681 | |
|
5682 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
5683 | |
# can be detected and how.
|
5684 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5685 | |
/* end confdefs.h. */
|
5686 | |
#include <ac_nonexistent.h>
|
5687 | |
_ACEOF
|
5688 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5689 | |
# Broken: success on invalid input.
|
5690 | |
continue
|
5691 | |
else
|
5692 | |
# Passes both tests.
|
5693 | |
ac_preproc_ok=:
|
5694 | |
break
|
5695 | |
fi
|
5696 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5697 | |
|
5698 | |
done
|
5699 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5700 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
5701 | |
if $ac_preproc_ok; then :
|
5702 | |
|
5703 | |
else
|
5704 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5705 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5706 | |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
5707 | |
See \`config.log' for more details" "$LINENO" 5; }
|
5708 | |
fi
|
5709 | |
|
5710 | |
ac_ext=c
|
5711 | |
ac_cpp='$CPP $CPPFLAGS'
|
5712 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5713 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5714 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5715 | |
|
5716 | |
|
5717 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
5718 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
5719 | |
if ${ac_cv_path_GREP+:} false; then :
|
5720 | |
$as_echo_n "(cached) " >&6
|
5721 | |
else
|
5722 | |
if test -z "$GREP"; then
|
5723 | |
ac_path_GREP_found=false
|
5724 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5725 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5726 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5727 | |
do
|
5728 | |
IFS=$as_save_IFS
|
5729 | |
test -z "$as_dir" && as_dir=.
|
5730 | |
for ac_prog in grep ggrep; do
|
5731 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5732 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
5733 | |
as_fn_executable_p "$ac_path_GREP" || continue
|
5734 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
5735 | |
# Check for GNU $ac_path_GREP
|
5736 | |
case `"$ac_path_GREP" --version 2>&1` in
|
5737 | |
*GNU*)
|
5738 | |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
5739 | |
*)
|
5740 | |
ac_count=0
|
5741 | |
$as_echo_n 0123456789 >"conftest.in"
|
5742 | |
while :
|
5743 | |
do
|
5744 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5745 | |
mv "conftest.tmp" "conftest.in"
|
5746 | |
cp "conftest.in" "conftest.nl"
|
5747 | |
$as_echo 'GREP' >> "conftest.nl"
|
5748 | |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5749 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5750 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5751 | |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
5752 | |
# Best one so far, save it but keep looking for a better one
|
5753 | |
ac_cv_path_GREP="$ac_path_GREP"
|
5754 | |
ac_path_GREP_max=$ac_count
|
5755 | |
fi
|
5756 | |
# 10*(2^10) chars as input seems more than enough
|
5757 | |
test $ac_count -gt 10 && break
|
5758 | |
done
|
5759 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5760 | |
esac
|
5761 | |
|
5762 | |
$ac_path_GREP_found && break 3
|
5763 | |
done
|
5764 | |
done
|
5765 | |
done
|
5766 | |
IFS=$as_save_IFS
|
5767 | |
if test -z "$ac_cv_path_GREP"; then
|
5768 | |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5769 | |
fi
|
5770 | |
else
|
5771 | |
ac_cv_path_GREP=$GREP
|
5772 | |
fi
|
5773 | |
|
5774 | |
fi
|
5775 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
5776 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
5777 | |
GREP="$ac_cv_path_GREP"
|
5778 | |
|
5779 | |
|
5780 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
5781 | |
$as_echo_n "checking for egrep... " >&6; }
|
5782 | |
if ${ac_cv_path_EGREP+:} false; then :
|
5783 | |
$as_echo_n "(cached) " >&6
|
5784 | |
else
|
5785 | |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
5786 | |
then ac_cv_path_EGREP="$GREP -E"
|
5787 | |
else
|
5788 | |
if test -z "$EGREP"; then
|
5789 | |
ac_path_EGREP_found=false
|
5790 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5791 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5792 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5793 | |
do
|
5794 | |
IFS=$as_save_IFS
|
5795 | |
test -z "$as_dir" && as_dir=.
|
5796 | |
for ac_prog in egrep; do
|
5797 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5798 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
5799 | |
as_fn_executable_p "$ac_path_EGREP" || continue
|
5800 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
5801 | |
# Check for GNU $ac_path_EGREP
|
5802 | |
case `"$ac_path_EGREP" --version 2>&1` in
|
5803 | |
*GNU*)
|
5804 | |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
5805 | |
*)
|
5806 | |
ac_count=0
|
5807 | |
$as_echo_n 0123456789 >"conftest.in"
|
5808 | |
while :
|
5809 | |
do
|
5810 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5811 | |
mv "conftest.tmp" "conftest.in"
|
5812 | |
cp "conftest.in" "conftest.nl"
|
5813 | |
$as_echo 'EGREP' >> "conftest.nl"
|
5814 | |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5815 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5816 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5817 | |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
5818 | |
# Best one so far, save it but keep looking for a better one
|
5819 | |
ac_cv_path_EGREP="$ac_path_EGREP"
|
5820 | |
ac_path_EGREP_max=$ac_count
|
5821 | |
fi
|
5822 | |
# 10*(2^10) chars as input seems more than enough
|
5823 | |
test $ac_count -gt 10 && break
|
5824 | |
done
|
5825 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5826 | |
esac
|
5827 | |
|
5828 | |
$ac_path_EGREP_found && break 3
|
5829 | |
done
|
5830 | |
done
|
5831 | |
done
|
5832 | |
IFS=$as_save_IFS
|
5833 | |
if test -z "$ac_cv_path_EGREP"; then
|
5834 | |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5835 | |
fi
|
5836 | |
else
|
5837 | |
ac_cv_path_EGREP=$EGREP
|
5838 | |
fi
|
5839 | |
|
5840 | |
fi
|
5841 | |
fi
|
5842 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
5843 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
5844 | |
EGREP="$ac_cv_path_EGREP"
|
5845 | |
|
5846 | |
|
5847 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
5848 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
5849 | |
if ${ac_cv_header_stdc+:} false; then :
|
5850 | |
$as_echo_n "(cached) " >&6
|
5851 | |
else
|
5852 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5853 | |
/* end confdefs.h. */
|
5854 | |
#include <stdlib.h>
|
5855 | |
#include <stdarg.h>
|
5856 | |
#include <string.h>
|
5857 | |
#include <float.h>
|
|
6704 |
#include <stdbool.h>
|
|
6705 |
|
|
6706 |
#ifndef __bool_true_false_are_defined
|
|
6707 |
#error "__bool_true_false_are_defined is not defined"
|
|
6708 |
#endif
|
|
6709 |
char a[__bool_true_false_are_defined == 1 ? 1 : -1];
|
|
6710 |
|
|
6711 |
/* Regardless of whether this is C++ or "_Bool" is a
|
|
6712 |
valid type name, "true" and "false" should be usable
|
|
6713 |
in #if expressions and integer constant expressions,
|
|
6714 |
and "bool" should be a valid type name. */
|
|
6715 |
|
|
6716 |
#if !true
|
|
6717 |
#error "'true' is not true"
|
|
6718 |
#endif
|
|
6719 |
#if true != 1
|
|
6720 |
#error "'true' is not equal to 1"
|
|
6721 |
#endif
|
|
6722 |
char b[true == 1 ? 1 : -1];
|
|
6723 |
char c[true];
|
|
6724 |
|
|
6725 |
#if false
|
|
6726 |
#error "'false' is not false"
|
|
6727 |
#endif
|
|
6728 |
#if false != 0
|
|
6729 |
#error "'false' is not equal to 0"
|
|
6730 |
#endif
|
|
6731 |
char d[false == 0 ? 1 : -1];
|
|
6732 |
|
|
6733 |
enum { e = false, f = true, g = false * true, h = true * 256 };
|
|
6734 |
|
|
6735 |
char i[(bool) 0.5 == true ? 1 : -1];
|
|
6736 |
char j[(bool) 0.0 == false ? 1 : -1];
|
|
6737 |
char k[sizeof (bool) > 0 ? 1 : -1];
|
|
6738 |
|
|
6739 |
struct sb { bool s: 1; bool t; } s;
|
|
6740 |
char l[sizeof s.t > 0 ? 1 : -1];
|
|
6741 |
|
|
6742 |
/* The following fails for
|
|
6743 |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
|
6744 |
bool m[h];
|
|
6745 |
char n[sizeof m == h * sizeof m[0] ? 1 : -1];
|
|
6746 |
char o[-1 - (bool) 0 < 0 ? 1 : -1];
|
|
6747 |
/* Catch a bug in an HP-UX C compiler. See
|
|
6748 |
https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
|
6749 |
https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
|
6750 |
*/
|
|
6751 |
bool p = true;
|
|
6752 |
bool *pp = &p;
|
|
6753 |
|
|
6754 |
/* C 1999 specifies that bool, true, and false are to be
|
|
6755 |
macros, but C++ 2011 and later overrule this. */
|
|
6756 |
#if __cplusplus < 201103
|
|
6757 |
#ifndef bool
|
|
6758 |
#error "bool is not defined"
|
|
6759 |
#endif
|
|
6760 |
#ifndef false
|
|
6761 |
#error "false is not defined"
|
|
6762 |
#endif
|
|
6763 |
#ifndef true
|
|
6764 |
#error "true is not defined"
|
|
6765 |
#endif
|
|
6766 |
#endif
|
|
6767 |
|
|
6768 |
/* If _Bool is available, repeat with it all the tests
|
|
6769 |
above that used bool. */
|
|
6770 |
#ifdef HAVE__BOOL
|
|
6771 |
struct sB { _Bool s: 1; _Bool t; } t;
|
|
6772 |
|
|
6773 |
char q[(_Bool) 0.5 == true ? 1 : -1];
|
|
6774 |
char r[(_Bool) 0.0 == false ? 1 : -1];
|
|
6775 |
char u[sizeof (_Bool) > 0 ? 1 : -1];
|
|
6776 |
char v[sizeof t.t > 0 ? 1 : -1];
|
|
6777 |
|
|
6778 |
_Bool w[h];
|
|
6779 |
char x[sizeof m == h * sizeof m[0] ? 1 : -1];
|
|
6780 |
char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
|
|
6781 |
_Bool z = true;
|
|
6782 |
_Bool *pz = &p;
|
|
6783 |
#endif
|
5858 | 6784 |
|
5859 | 6785 |
int
|
5860 | |
main ()
|
|
6786 |
main (void)
|
5861 | 6787 |
{
|
|
6788 |
|
|
6789 |
bool ps = &s;
|
|
6790 |
*pp |= p;
|
|
6791 |
*pp |= ! p;
|
|
6792 |
|
|
6793 |
#ifdef HAVE__BOOL
|
|
6794 |
_Bool pt = &t;
|
|
6795 |
*pz |= z;
|
|
6796 |
*pz |= ! z;
|
|
6797 |
#endif
|
|
6798 |
|
|
6799 |
/* Refer to every declared value, so they cannot be
|
|
6800 |
discarded as unused. */
|
|
6801 |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
|
|
6802 |
+ !l + !m + !n + !o + !p + !pp + !ps
|
|
6803 |
#ifdef HAVE__BOOL
|
|
6804 |
+ !q + !r + !u + !v + !w + !x + !y + !z + !pt
|
|
6805 |
#endif
|
|
6806 |
);
|
5862 | 6807 |
|
5863 | 6808 |
;
|
5864 | 6809 |
return 0;
|
5865 | 6810 |
}
|
5866 | 6811 |
_ACEOF
|
5867 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5868 | |
ac_cv_header_stdc=yes
|
5869 | |
else
|
5870 | |
ac_cv_header_stdc=no
|
5871 | |
fi
|
5872 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5873 | |
|
5874 | |
if test $ac_cv_header_stdc = yes; then
|
5875 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
5876 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5877 | |
/* end confdefs.h. */
|
5878 | |
#include <string.h>
|
5879 | |
|
5880 | |
_ACEOF
|
5881 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5882 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
5883 | |
|
5884 | |
else
|
5885 | |
ac_cv_header_stdc=no
|
5886 | |
fi
|
5887 | |
rm -f conftest*
|
5888 | |
|
5889 | |
fi
|
5890 | |
|
5891 | |
if test $ac_cv_header_stdc = yes; then
|
5892 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
5893 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5894 | |
/* end confdefs.h. */
|
5895 | |
#include <stdlib.h>
|
5896 | |
|
5897 | |
_ACEOF
|
5898 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5899 | |
$EGREP "free" >/dev/null 2>&1; then :
|
5900 | |
|
5901 | |
else
|
5902 | |
ac_cv_header_stdc=no
|
5903 | |
fi
|
5904 | |
rm -f conftest*
|
5905 | |
|
5906 | |
fi
|
5907 | |
|
5908 | |
if test $ac_cv_header_stdc = yes; then
|
5909 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
5910 | |
if test "$cross_compiling" = yes; then :
|
5911 | |
:
|
5912 | |
else
|
5913 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5914 | |
/* end confdefs.h. */
|
5915 | |
#include <ctype.h>
|
5916 | |
#include <stdlib.h>
|
5917 | |
#if ((' ' & 0x0FF) == 0x020)
|
5918 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
5919 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
5920 | |
#else
|
5921 | |
# define ISLOWER(c) \
|
5922 | |
(('a' <= (c) && (c) <= 'i') \
|
5923 | |
|| ('j' <= (c) && (c) <= 'r') \
|
5924 | |
|| ('s' <= (c) && (c) <= 'z'))
|
5925 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
5926 | |
#endif
|
5927 | |
|
5928 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
5929 | |
int
|
5930 | |
main ()
|
5931 | |
{
|
5932 | |
int i;
|
5933 | |
for (i = 0; i < 256; i++)
|
5934 | |
if (XOR (islower (i), ISLOWER (i))
|
5935 | |
|| toupper (i) != TOUPPER (i))
|
5936 | |
return 2;
|
5937 | |
return 0;
|
5938 | |
}
|
5939 | |
_ACEOF
|
5940 | |
if ac_fn_c_try_run "$LINENO"; then :
|
5941 | |
|
5942 | |
else
|
5943 | |
ac_cv_header_stdc=no
|
5944 | |
fi
|
5945 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
5946 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5947 | |
fi
|
5948 | |
|
5949 | |
fi
|
5950 | |
fi
|
5951 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
5952 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
5953 | |
if test $ac_cv_header_stdc = yes; then
|
5954 | |
|
5955 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
5956 | |
|
5957 | |
fi
|
5958 | |
|
5959 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
5960 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
5961 | |
inttypes.h stdint.h unistd.h
|
5962 | |
do :
|
5963 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5964 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
5965 | |
"
|
5966 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
5967 | |
cat >>confdefs.h <<_ACEOF
|
5968 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5969 | |
_ACEOF
|
5970 | |
|
5971 | |
fi
|
5972 | |
|
5973 | |
done
|
5974 | |
|
5975 | |
|
5976 | |
for ac_header in limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h
|
5977 | |
do :
|
5978 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5979 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
5980 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
5981 | |
cat >>confdefs.h <<_ACEOF
|
5982 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5983 | |
_ACEOF
|
5984 | |
|
5985 | |
else
|
5986 | |
as_fn_error $? "cannot find one or more of these header files: limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h" "$LINENO" 5
|
5987 | |
fi
|
5988 | |
|
5989 | |
done
|
5990 | |
|
5991 | |
for ac_header in getopt.h
|
5992 | |
do :
|
5993 | |
ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
|
5994 | |
if test "x$ac_cv_header_getopt_h" = xyes; then :
|
5995 | |
cat >>confdefs.h <<_ACEOF
|
5996 | |
#define HAVE_GETOPT_H 1
|
5997 | |
_ACEOF
|
5998 | |
|
5999 | |
else
|
6000 | |
as_fn_error $? "cannot find getopt header files" "$LINENO" 5
|
6001 | |
fi
|
6002 | |
|
6003 | |
done
|
6004 | |
|
6005 | |
|
6006 | |
if test "x$enable_engine" = xyes; then
|
6007 | |
for ac_header in SDL/SDL.h SDL/SDL_syswm.h
|
6008 | |
do :
|
6009 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6010 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
6011 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
6012 | |
cat >>confdefs.h <<_ACEOF
|
6013 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6014 | |
_ACEOF
|
6015 | |
|
6016 | |
else
|
6017 | |
as_fn_error $? "cannot find SDL header files" "$LINENO" 5
|
6018 | |
fi
|
6019 | |
|
6020 | |
done
|
6021 | |
|
6022 | |
for ac_header in AL/alure.h
|
6023 | |
do :
|
6024 | |
ac_fn_c_check_header_mongrel "$LINENO" "AL/alure.h" "ac_cv_header_AL_alure_h" "$ac_includes_default"
|
6025 | |
if test "x$ac_cv_header_AL_alure_h" = xyes; then :
|
6026 | |
cat >>confdefs.h <<_ACEOF
|
6027 | |
#define HAVE_AL_ALURE_H 1
|
6028 | |
_ACEOF
|
6029 | |
|
6030 | |
else
|
6031 | |
as_fn_error $? "cannot find alure header files" "$LINENO" 5
|
6032 | |
fi
|
6033 | |
|
6034 | |
done
|
6035 | |
|
6036 | |
for ac_header in vpx/vpx_decoder.h
|
6037 | |
do :
|
6038 | |
ac_fn_c_check_header_mongrel "$LINENO" "vpx/vpx_decoder.h" "ac_cv_header_vpx_vpx_decoder_h" "$ac_includes_default"
|
6039 | |
if test "x$ac_cv_header_vpx_vpx_decoder_h" = xyes; then :
|
6040 | |
cat >>confdefs.h <<_ACEOF
|
6041 | |
#define HAVE_VPX_VPX_DECODER_H 1
|
6042 | |
_ACEOF
|
6043 | |
|
6044 | |
else
|
6045 | |
as_fn_error $? "cannot find vpx header files" "$LINENO" 5
|
6046 | |
fi
|
6047 | |
|
6048 | |
done
|
6049 | |
|
6050 | |
for ac_header in vorbis/codec.h
|
6051 | |
do :
|
6052 | |
ac_fn_c_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default"
|
6053 | |
if test "x$ac_cv_header_vorbis_codec_h" = xyes; then :
|
6054 | |
cat >>confdefs.h <<_ACEOF
|
6055 | |
#define HAVE_VORBIS_CODEC_H 1
|
6056 | |
_ACEOF
|
6057 | |
|
6058 | |
else
|
6059 | |
as_fn_error $? "cannot find vorbis header files" "$LINENO" 5
|
6060 | |
fi
|
6061 | |
|
6062 | |
done
|
6063 | |
|
6064 | |
for ac_header in ogg/ogg.h
|
6065 | |
do :
|
6066 | |
ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
|
6067 | |
if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
|
6068 | |
cat >>confdefs.h <<_ACEOF
|
6069 | |
#define HAVE_OGG_OGG_H 1
|
6070 | |
_ACEOF
|
6071 | |
|
6072 | |
else
|
6073 | |
as_fn_error $? "cannot find ogg header files" "$LINENO" 5
|
6074 | |
fi
|
6075 | |
|
6076 | |
done
|
6077 | |
|
6078 | |
for ac_header in dumb.h
|
6079 | |
do :
|
6080 | |
ac_fn_c_check_header_mongrel "$LINENO" "dumb.h" "ac_cv_header_dumb_h" "$ac_includes_default"
|
6081 | |
if test "x$ac_cv_header_dumb_h" = xyes; then :
|
6082 | |
cat >>confdefs.h <<_ACEOF
|
6083 | |
#define HAVE_DUMB_H 1
|
6084 | |
_ACEOF
|
6085 | |
|
6086 | |
else
|
6087 | |
as_fn_error $? "cannot find DUMB header files" "$LINENO" 5
|
6088 | |
fi
|
6089 | |
|
6090 | |
done
|
6091 | |
|
6092 | |
if test "x$enable_gles2" = xyes; then
|
6093 | |
for ac_header in GLES2/gl2.h
|
6094 | |
do :
|
6095 | |
ac_fn_c_check_header_mongrel "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "$ac_includes_default"
|
6096 | |
if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
|
6097 | |
cat >>confdefs.h <<_ACEOF
|
6098 | |
#define HAVE_GLES2_GL2_H 1
|
6099 | |
_ACEOF
|
6100 | |
|
6101 | |
else
|
6102 | |
as_fn_error $? "cannot find gles2 header files" "$LINENO" 5
|
6103 | |
fi
|
6104 | |
|
6105 | |
done
|
6106 | |
|
6107 | |
for ac_header in EGL/egl.h
|
6108 | |
do :
|
6109 | |
ac_fn_c_check_header_mongrel "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
|
6110 | |
if test "x$ac_cv_header_EGL_egl_h" = xyes; then :
|
6111 | |
cat >>confdefs.h <<_ACEOF
|
6112 | |
#define HAVE_EGL_EGL_H 1
|
6113 | |
_ACEOF
|
6114 | |
|
6115 | |
else
|
6116 | |
as_fn_error $? "cannot find egl header files" "$LINENO" 5
|
6117 | |
fi
|
6118 | |
|
6119 | |
done
|
6120 | |
|
6121 | |
for ac_header in X11/Xlib.h X11/Xutil.h
|
6122 | |
do :
|
6123 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6124 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
6125 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
6126 | |
cat >>confdefs.h <<_ACEOF
|
6127 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6128 | |
_ACEOF
|
6129 | |
|
6130 | |
else
|
6131 | |
as_fn_error $? "cannot find x11 header files" "$LINENO" 5
|
6132 | |
fi
|
6133 | |
|
6134 | |
done
|
6135 | |
|
6136 | |
else
|
6137 | |
for ac_header in GL/glu.h
|
6138 | |
do :
|
6139 | |
ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
|
6140 | |
if test "x$ac_cv_header_GL_glu_h" = xyes; then :
|
6141 | |
cat >>confdefs.h <<_ACEOF
|
6142 | |
#define HAVE_GL_GLU_H 1
|
6143 | |
_ACEOF
|
6144 | |
|
6145 | |
else
|
6146 | |
as_fn_error $? "cannot find glu header files" "$LINENO" 5
|
6147 | |
fi
|
6148 | |
|
6149 | |
done
|
6150 | |
|
6151 | |
fi
|
6152 | |
fi
|
6153 | |
|
6154 | |
# Checks for typedefs, structures, and compiler characteristics.
|
6155 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
6156 | |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
|
6157 | |
if ${ac_cv_header_stdbool_h+:} false; then :
|
6158 | |
$as_echo_n "(cached) " >&6
|
6159 | |
else
|
6160 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6161 | |
/* end confdefs.h. */
|
6162 | |
|
6163 | |
#include <stdbool.h>
|
6164 | |
#ifndef bool
|
6165 | |
"error: bool is not defined"
|
6166 | |
#endif
|
6167 | |
#ifndef false
|
6168 | |
"error: false is not defined"
|
6169 | |
#endif
|
6170 | |
#if false
|
6171 | |
"error: false is not 0"
|
6172 | |
#endif
|
6173 | |
#ifndef true
|
6174 | |
"error: true is not defined"
|
6175 | |
#endif
|
6176 | |
#if true != 1
|
6177 | |
"error: true is not 1"
|
6178 | |
#endif
|
6179 | |
#ifndef __bool_true_false_are_defined
|
6180 | |
"error: __bool_true_false_are_defined is not defined"
|
6181 | |
#endif
|
6182 | |
|
6183 | |
struct s { _Bool s: 1; _Bool t; } s;
|
6184 | |
|
6185 | |
char a[true == 1 ? 1 : -1];
|
6186 | |
char b[false == 0 ? 1 : -1];
|
6187 | |
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
6188 | |
char d[(bool) 0.5 == true ? 1 : -1];
|
6189 | |
/* See body of main program for 'e'. */
|
6190 | |
char f[(_Bool) 0.0 == false ? 1 : -1];
|
6191 | |
char g[true];
|
6192 | |
char h[sizeof (_Bool)];
|
6193 | |
char i[sizeof s.t];
|
6194 | |
enum { j = false, k = true, l = false * true, m = true * 256 };
|
6195 | |
/* The following fails for
|
6196 | |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
6197 | |
_Bool n[m];
|
6198 | |
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
6199 | |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
6200 | |
/* Catch a bug in an HP-UX C compiler. See
|
6201 | |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
6202 | |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
6203 | |
*/
|
6204 | |
_Bool q = true;
|
6205 | |
_Bool *pq = &q;
|
6206 | |
|
6207 | |
int
|
6208 | |
main ()
|
6209 | |
{
|
6210 | |
|
6211 | |
bool e = &s;
|
6212 | |
*pq |= q;
|
6213 | |
*pq |= ! q;
|
6214 | |
/* Refer to every declared value, to avoid compiler optimizations. */
|
6215 | |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
6216 | |
+ !m + !n + !o + !p + !q + !pq);
|
6217 | |
|
6218 | |
;
|
6219 | |
return 0;
|
6220 | |
}
|
6221 | |
_ACEOF
|
6222 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6812 |
if ac_fn_c_try_compile "$LINENO"
|
|
6813 |
then :
|
6223 | 6814 |
ac_cv_header_stdbool_h=yes
|
6224 | |
else
|
|
6815 |
else $as_nop
|
6225 | 6816 |
ac_cv_header_stdbool_h=no
|
6226 | 6817 |
fi
|
6227 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6228 | |
fi
|
6229 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
6230 | |
$as_echo "$ac_cv_header_stdbool_h" >&6; }
|
6231 | |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
6232 | |
if test "x$ac_cv_type__Bool" = xyes; then :
|
6233 | |
|
6234 | |
cat >>confdefs.h <<_ACEOF
|
6235 | |
#define HAVE__BOOL 1
|
6236 | |
_ACEOF
|
6237 | |
|
6238 | |
|
6239 | |
fi
|
6240 | |
|
|
6818 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
6819 |
fi
|
|
6820 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
|
6821 |
printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
|
6241 | 6822 |
|
6242 | 6823 |
if test $ac_cv_header_stdbool_h = yes; then
|
6243 | 6824 |
|
6244 | |
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
6245 | |
|
6246 | |
fi
|
6247 | |
|
6248 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
6249 | |
$as_echo_n "checking for inline... " >&6; }
|
6250 | |
if ${ac_cv_c_inline+:} false; then :
|
6251 | |
$as_echo_n "(cached) " >&6
|
6252 | |
else
|
|
6825 |
printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
|
6826 |
|
|
6827 |
fi
|
|
6828 |
|
|
6829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
|
6830 |
printf %s "checking for inline... " >&6; }
|
|
6831 |
if test ${ac_cv_c_inline+y}
|
|
6832 |
then :
|
|
6833 |
printf %s "(cached) " >&6
|
|
6834 |
else $as_nop
|
6253 | 6835 |
ac_cv_c_inline=no
|
6254 | 6836 |
for ac_kw in inline __inline__ __inline; do
|
6255 | 6837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6256 | 6838 |
/* end confdefs.h. */
|
6257 | 6839 |
#ifndef __cplusplus
|
6258 | 6840 |
typedef int foo_t;
|
6259 | |
static $ac_kw foo_t static_foo () {return 0; }
|
6260 | |
$ac_kw foo_t foo () {return 0; }
|
|
6841 |
static $ac_kw foo_t static_foo (void) {return 0; }
|
|
6842 |
$ac_kw foo_t foo (void) {return 0; }
|
6261 | 6843 |
#endif
|
6262 | 6844 |
|
6263 | 6845 |
_ACEOF
|
6264 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6846 |
if ac_fn_c_try_compile "$LINENO"
|
|
6847 |
then :
|
6265 | 6848 |
ac_cv_c_inline=$ac_kw
|
6266 | 6849 |
fi
|
6267 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6850 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
6268 | 6851 |
test "$ac_cv_c_inline" != no && break
|
6269 | 6852 |
done
|
6270 | 6853 |
|
6271 | 6854 |
fi
|
6272 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
6273 | |
$as_echo "$ac_cv_c_inline" >&6; }
|
|
6855 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
|
6856 |
printf "%s\n" "$ac_cv_c_inline" >&6; }
|
6274 | 6857 |
|
6275 | 6858 |
case $ac_cv_c_inline in
|
6276 | 6859 |
inline | yes) ;;
|
|
6292 | 6875 |
no|yes) ;; #(
|
6293 | 6876 |
*)
|
6294 | 6877 |
|
6295 | |
cat >>confdefs.h <<_ACEOF
|
6296 | |
#define int32_t $ac_cv_c_int32_t
|
6297 | |
_ACEOF
|
|
6878 |
printf "%s\n" "#define int32_t $ac_cv_c_int32_t" >>confdefs.h
|
6298 | 6879 |
;;
|
6299 | 6880 |
esac
|
6300 | 6881 |
|
|
6303 | 6884 |
no|yes) ;; #(
|
6304 | 6885 |
*)
|
6305 | 6886 |
|
6306 | |
cat >>confdefs.h <<_ACEOF
|
6307 | |
#define int64_t $ac_cv_c_int64_t
|
6308 | |
_ACEOF
|
|
6887 |
printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
|
6309 | 6888 |
;;
|
6310 | 6889 |
esac
|
6311 | 6890 |
|
6312 | 6891 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
6313 | |
if test "x$ac_cv_type_size_t" = xyes; then :
|
6314 | |
|
6315 | |
else
|
6316 | |
|
6317 | |
cat >>confdefs.h <<_ACEOF
|
6318 | |
#define size_t unsigned int
|
6319 | |
_ACEOF
|
|
6892 |
if test "x$ac_cv_type_size_t" = xyes
|
|
6893 |
then :
|
|
6894 |
|
|
6895 |
else $as_nop
|
|
6896 |
|
|
6897 |
printf "%s\n" "#define size_t unsigned int" >>confdefs.h
|
6320 | 6898 |
|
6321 | 6899 |
fi
|
6322 | 6900 |
|
|
6325 | 6903 |
no|yes) ;; #(
|
6326 | 6904 |
*)
|
6327 | 6905 |
|
6328 | |
$as_echo "#define _UINT32_T 1" >>confdefs.h
|
6329 | |
|
6330 | |
|
6331 | |
cat >>confdefs.h <<_ACEOF
|
6332 | |
#define uint32_t $ac_cv_c_uint32_t
|
6333 | |
_ACEOF
|
|
6906 |
printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
|
|
6907 |
|
|
6908 |
|
|
6909 |
printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
|
6334 | 6910 |
;;
|
6335 | 6911 |
esac
|
6336 | 6912 |
|
6337 | 6913 |
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
|
6338 | |
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
|
6339 | |
|
6340 | |
cat >>confdefs.h <<_ACEOF
|
6341 | |
#define HAVE_PTRDIFF_T 1
|
6342 | |
_ACEOF
|
|
6914 |
if test "x$ac_cv_type_ptrdiff_t" = xyes
|
|
6915 |
then :
|
|
6916 |
|
|
6917 |
printf "%s\n" "#define HAVE_PTRDIFF_T 1" >>confdefs.h
|
6343 | 6918 |
|
6344 | 6919 |
|
6345 | 6920 |
fi
|
6346 | 6921 |
|
6347 | 6922 |
|
6348 | 6923 |
# Checks for library functions.
|
6349 | |
for ac_header in stdlib.h
|
6350 | |
do :
|
6351 | |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
6352 | |
if test "x$ac_cv_header_stdlib_h" = xyes; then :
|
6353 | |
cat >>confdefs.h <<_ACEOF
|
6354 | |
#define HAVE_STDLIB_H 1
|
6355 | |
_ACEOF
|
6356 | |
|
6357 | |
fi
|
6358 | |
|
6359 | |
done
|
6360 | |
|
6361 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
|
6362 | |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
|
6363 | |
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
|
6364 | |
$as_echo_n "(cached) " >&6
|
6365 | |
else
|
6366 | |
if test "$cross_compiling" = yes; then :
|
6367 | |
ac_cv_func_malloc_0_nonnull=no
|
6368 | |
else
|
|
6924 |
|
|
6925 |
|
|
6926 |
# Make sure we can run config.sub.
|
|
6927 |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
|
|
6928 |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
|
|
6929 |
|
|
6930 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
6931 |
printf %s "checking build system type... " >&6; }
|
|
6932 |
if test ${ac_cv_build+y}
|
|
6933 |
then :
|
|
6934 |
printf %s "(cached) " >&6
|
|
6935 |
else $as_nop
|
|
6936 |
ac_build_alias=$build_alias
|
|
6937 |
test "x$ac_build_alias" = x &&
|
|
6938 |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
|
|
6939 |
test "x$ac_build_alias" = x &&
|
|
6940 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
|
6941 |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
|
|
6942 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
|
|
6943 |
|
|
6944 |
fi
|
|
6945 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
6946 |
printf "%s\n" "$ac_cv_build" >&6; }
|
|
6947 |
case $ac_cv_build in
|
|
6948 |
*-*-*) ;;
|
|
6949 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
|
6950 |
esac
|
|
6951 |
build=$ac_cv_build
|
|
6952 |
ac_save_IFS=$IFS; IFS='-'
|
|
6953 |
set x $ac_cv_build
|
|
6954 |
shift
|
|
6955 |
build_cpu=$1
|
|
6956 |
build_vendor=$2
|
|
6957 |
shift; shift
|
|
6958 |
# Remember, the first character of IFS is used to create $*,
|
|
6959 |
# except with old shells:
|
|
6960 |
build_os=$*
|
|
6961 |
IFS=$ac_save_IFS
|
|
6962 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
|
6963 |
|
|
6964 |
|
|
6965 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
6966 |
printf %s "checking host system type... " >&6; }
|
|
6967 |
if test ${ac_cv_host+y}
|
|
6968 |
then :
|
|
6969 |
printf %s "(cached) " >&6
|
|
6970 |
else $as_nop
|
|
6971 |
if test "x$host_alias" = x; then
|
|
6972 |
ac_cv_host=$ac_cv_build
|
|
6973 |
else
|
|
6974 |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
|
|
6975 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
|
|
6976 |
fi
|
|
6977 |
|
|
6978 |
fi
|
|
6979 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
6980 |
printf "%s\n" "$ac_cv_host" >&6; }
|
|
6981 |
case $ac_cv_host in
|
|
6982 |
*-*-*) ;;
|
|
6983 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
|
6984 |
esac
|
|
6985 |
host=$ac_cv_host
|
|
6986 |
ac_save_IFS=$IFS; IFS='-'
|
|
6987 |
set x $ac_cv_host
|
|
6988 |
shift
|
|
6989 |
host_cpu=$1
|
|
6990 |
host_vendor=$2
|
|
6991 |
shift; shift
|
|
6992 |
# Remember, the first character of IFS is used to create $*,
|
|
6993 |
# except with old shells:
|
|
6994 |
host_os=$*
|
|
6995 |
IFS=$ac_save_IFS
|
|
6996 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
6997 |
|
|
6998 |
|
|
6999 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
|
|
7000 |
printf %s "checking for GNU libc compatible malloc... " >&6; }
|
|
7001 |
if test ${ac_cv_func_malloc_0_nonnull+y}
|
|
7002 |
then :
|
|
7003 |
printf %s "(cached) " >&6
|
|
7004 |
else $as_nop
|
|
7005 |
if test "$cross_compiling" = yes
|
|
7006 |
then :
|
|
7007 |
case "$host_os" in # ((
|
|
7008 |
# Guess yes on platforms where we know the result.
|
|
7009 |
*-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
|
|
7010 |
| hpux* | solaris* | cygwin* | mingw* | msys* )
|
|
7011 |
ac_cv_func_malloc_0_nonnull=yes ;;
|
|
7012 |
# If we don't know, assume the worst.
|
|
7013 |
*) ac_cv_func_malloc_0_nonnull=no ;;
|
|
7014 |
esac
|
|
7015 |
else $as_nop
|
6369 | 7016 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6370 | 7017 |
/* end confdefs.h. */
|
6371 | |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
6372 | |
# include <stdlib.h>
|
6373 | |
#else
|
6374 | |
char *malloc ();
|
6375 | |
#endif
|
|
7018 |
#include <stdlib.h>
|
6376 | 7019 |
|
6377 | 7020 |
int
|
6378 | |
main ()
|
|
7021 |
main (void)
|
6379 | 7022 |
{
|
6380 | |
return ! malloc (0);
|
|
7023 |
void *p = malloc (0);
|
|
7024 |
int result = !p;
|
|
7025 |
free (p);
|
|
7026 |
return result;
|
6381 | 7027 |
;
|
6382 | 7028 |
return 0;
|
6383 | 7029 |
}
|
6384 | 7030 |
_ACEOF
|
6385 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
7031 |
if ac_fn_c_try_run "$LINENO"
|
|
7032 |
then :
|
6386 | 7033 |
ac_cv_func_malloc_0_nonnull=yes
|
6387 | |
else
|
|
7034 |
else $as_nop
|
6388 | 7035 |
ac_cv_func_malloc_0_nonnull=no
|
6389 | 7036 |
fi
|
6390 | 7037 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
6392 | 7039 |
fi
|
6393 | 7040 |
|
6394 | 7041 |
fi
|
6395 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
|
6396 | |
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
|
6397 | |
if test $ac_cv_func_malloc_0_nonnull = yes; then :
|
6398 | |
|
6399 | |
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
|
6400 | |
|
6401 | |
else
|
6402 | |
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
|
|
7042 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
|
|
7043 |
printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
|
|
7044 |
if test $ac_cv_func_malloc_0_nonnull = yes
|
|
7045 |
then :
|
|
7046 |
|
|
7047 |
printf "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
|
|
7048 |
|
|
7049 |
else $as_nop
|
|
7050 |
printf "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h
|
6403 | 7051 |
|
6404 | 7052 |
case " $LIBOBJS " in
|
6405 | 7053 |
*" malloc.$ac_objext "* ) ;;
|
|
6408 | 7056 |
esac
|
6409 | 7057 |
|
6410 | 7058 |
|
6411 | |
$as_echo "#define malloc rpl_malloc" >>confdefs.h
|
6412 | |
|
6413 | |
fi
|
6414 | |
|
6415 | |
|
6416 | |
for ac_header in stdlib.h
|
6417 | |
do :
|
6418 | |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
6419 | |
if test "x$ac_cv_header_stdlib_h" = xyes; then :
|
6420 | |
cat >>confdefs.h <<_ACEOF
|
6421 | |
#define HAVE_STDLIB_H 1
|
6422 | |
_ACEOF
|
6423 | |
|
6424 | |
fi
|
6425 | |
|
6426 | |
done
|
6427 | |
|
6428 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
|
6429 | |
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
|
6430 | |
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
|
6431 | |
$as_echo_n "(cached) " >&6
|
6432 | |
else
|
6433 | |
if test "$cross_compiling" = yes; then :
|
6434 | |
ac_cv_func_realloc_0_nonnull=no
|
6435 | |
else
|
|
7059 |
printf "%s\n" "#define malloc rpl_malloc" >>confdefs.h
|
|
7060 |
|
|
7061 |
fi
|
|
7062 |
|
|
7063 |
|
|
7064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
|
|
7065 |
printf %s "checking for GNU libc compatible realloc... " >&6; }
|
|
7066 |
if test ${ac_cv_func_realloc_0_nonnull+y}
|
|
7067 |
then :
|
|
7068 |
printf %s "(cached) " >&6
|
|
7069 |
else $as_nop
|
|
7070 |
if test "$cross_compiling" = yes
|
|
7071 |
then :
|
|
7072 |
case "$host_os" in # ((
|
|
7073 |
# Guess yes on platforms where we know the result.
|
|
7074 |
*-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
|
|
7075 |
| hpux* | solaris* | cygwin* | mingw* | msys* )
|
|
7076 |
ac_cv_func_realloc_0_nonnull=yes ;;
|
|
7077 |
# If we don't know, assume the worst.
|
|
7078 |
*) ac_cv_func_realloc_0_nonnull=no ;;
|
|
7079 |
esac
|
|
7080 |
else $as_nop
|
6436 | 7081 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6437 | 7082 |
/* end confdefs.h. */
|
6438 | |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
6439 | |
# include <stdlib.h>
|
6440 | |
#else
|
6441 | |
char *realloc ();
|
6442 | |
#endif
|
|
7083 |
#include <stdlib.h>
|
6443 | 7084 |
|
6444 | 7085 |
int
|
6445 | |
main ()
|
|
7086 |
main (void)
|
6446 | 7087 |
{
|
6447 | |
return ! realloc (0, 0);
|
|
7088 |
void *p = realloc (0, 0);
|
|
7089 |
int result = !p;
|
|
7090 |
free (p);
|
|
7091 |
return result;
|
6448 | 7092 |
;
|
6449 | 7093 |
return 0;
|
6450 | 7094 |
}
|
6451 | 7095 |
_ACEOF
|
6452 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
7096 |
if ac_fn_c_try_run "$LINENO"
|
|
7097 |
then :
|
6453 | 7098 |
ac_cv_func_realloc_0_nonnull=yes
|
6454 | |
else
|
|
7099 |
else $as_nop
|
6455 | 7100 |
ac_cv_func_realloc_0_nonnull=no
|
6456 | 7101 |
fi
|
6457 | 7102 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
6459 | 7104 |
fi
|
6460 | 7105 |
|
6461 | 7106 |
fi
|
6462 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
|
6463 | |
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
|
6464 | |
if test $ac_cv_func_realloc_0_nonnull = yes; then :
|
6465 | |
|
6466 | |
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
|
6467 | |
|
6468 | |
else
|
6469 | |
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
|
|
7107 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
|
|
7108 |
printf "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; }
|
|
7109 |
if test $ac_cv_func_realloc_0_nonnull = yes
|
|
7110 |
then :
|
|
7111 |
|
|
7112 |
printf "%s\n" "#define HAVE_REALLOC 1" >>confdefs.h
|
|
7113 |
|
|
7114 |
else $as_nop
|
|
7115 |
printf "%s\n" "#define HAVE_REALLOC 0" >>confdefs.h
|
6470 | 7116 |
|
6471 | 7117 |
case " $LIBOBJS " in
|
6472 | 7118 |
*" realloc.$ac_objext "* ) ;;
|
|
6475 | 7121 |
esac
|
6476 | 7122 |
|
6477 | 7123 |
|
6478 | |
$as_echo "#define realloc rpl_realloc" >>confdefs.h
|
6479 | |
|
6480 | |
fi
|
6481 | |
|
6482 | |
|
6483 | |
for ac_func in atexit getcwd memset mkdir rmdir sqrt strstr strtol
|
6484 | |
do :
|
6485 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6486 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
6487 | |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
6488 | |
cat >>confdefs.h <<_ACEOF
|
6489 | |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
6490 | |
_ACEOF
|
6491 | |
|
6492 | |
fi
|
6493 | |
done
|
|
7124 |
printf "%s\n" "#define realloc rpl_realloc" >>confdefs.h
|
|
7125 |
|
|
7126 |
fi
|
|
7127 |
|
|
7128 |
|
|
7129 |
ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
|
|
7130 |
if test "x$ac_cv_func_atexit" = xyes
|
|
7131 |
then :
|
|
7132 |
printf "%s\n" "#define HAVE_ATEXIT 1" >>confdefs.h
|
|
7133 |
|
|
7134 |
fi
|
|
7135 |
ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
|
|
7136 |
if test "x$ac_cv_func_getcwd" = xyes
|
|
7137 |
then :
|
|
7138 |
printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
|
|
7139 |
|
|
7140 |
fi
|
|
7141 |
ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
|
|
7142 |
if test "x$ac_cv_func_memset" = xyes
|
|
7143 |
then :
|
|
7144 |
printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
|
|
7145 |
|
|
7146 |
fi
|
|
7147 |
ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
|
|
7148 |
if test "x$ac_cv_func_mkdir" = xyes
|
|
7149 |
then :
|
|
7150 |
printf "%s\n" "#define HAVE_MKDIR 1" >>confdefs.h
|
|
7151 |
|
|
7152 |
fi
|
|
7153 |
ac_fn_c_check_func "$LINENO" "rmdir" "ac_cv_func_rmdir"
|
|
7154 |
if test "x$ac_cv_func_rmdir" = xyes
|
|
7155 |
then :
|
|
7156 |
printf "%s\n" "#define HAVE_RMDIR 1" >>confdefs.h
|
|
7157 |
|
|
7158 |
fi
|
|
7159 |
ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt"
|
|
7160 |
if test "x$ac_cv_func_sqrt" = xyes
|
|
7161 |
then :
|
|
7162 |
printf "%s\n" "#define HAVE_SQRT 1" >>confdefs.h
|
|
7163 |
|
|
7164 |
fi
|
|
7165 |
ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
|
7166 |
if test "x$ac_cv_func_strstr" = xyes
|
|
7167 |
then :
|
|
7168 |
printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h
|
|
7169 |
|
|
7170 |
fi
|
|
7171 |
ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
|
|
7172 |
if test "x$ac_cv_func_strtol" = xyes
|
|
7173 |
then :
|
|
7174 |
printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
|
|
7175 |
|
|
7176 |
fi
|
6494 | 7177 |
|
6495 | 7178 |
|
6496 | 7179 |
if test "x$enable_engine" = xyes; then
|
|
6579 | 7262 |
case $ac_val in #(
|
6580 | 7263 |
*${as_nl}*)
|
6581 | 7264 |
case $ac_var in #(
|
6582 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
6583 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
7265 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
7266 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
6584 | 7267 |
esac
|
6585 | 7268 |
case $ac_var in #(
|
6586 | 7269 |
_ | IFS | as_nl) ;; #(
|
|
6610 | 7293 |
/^ac_cv_env_/b end
|
6611 | 7294 |
t clear
|
6612 | 7295 |
:clear
|
6613 | |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
7296 |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
|
6614 | 7297 |
t end
|
6615 | 7298 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
6616 | 7299 |
:end' >>confcache
|
6617 | 7300 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
6618 | 7301 |
if test -w "$cache_file"; then
|
6619 | 7302 |
if test "x$cache_file" != "x/dev/null"; then
|
6620 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
6621 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
7303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
7304 |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
|
6622 | 7305 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
6623 | 7306 |
cat confcache >"$cache_file"
|
6624 | 7307 |
else
|
|
6632 | 7315 |
fi
|
6633 | 7316 |
fi
|
6634 | 7317 |
else
|
6635 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
6636 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
7318 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
7319 |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
|
6637 | 7320 |
fi
|
6638 | 7321 |
fi
|
6639 | 7322 |
rm -f confcache
|
|
6650 | 7333 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
6651 | 7334 |
# 1. Remove the extension, and $U if already installed.
|
6652 | 7335 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
6653 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
7336 |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
|
6654 | 7337 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
6655 | 7338 |
# will be set to the directory where LIBOBJS objects are built.
|
6656 | 7339 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
6661 | 7344 |
LTLIBOBJS=$ac_ltlibobjs
|
6662 | 7345 |
|
6663 | 7346 |
|
6664 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
6665 | |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
7347 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
7348 |
printf %s "checking that generated files are newer than configure... " >&6; }
|
6666 | 7349 |
if test -n "$am_sleep_pid"; then
|
6667 | 7350 |
# Hide warnings about reused PIDs.
|
6668 | 7351 |
wait $am_sleep_pid 2>/dev/null
|
6669 | 7352 |
fi
|
6670 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
6671 | |
$as_echo "done" >&6; }
|
|
7353 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
7354 |
printf "%s\n" "done" >&6; }
|
6672 | 7355 |
if test -n "$EXEEXT"; then
|
6673 | 7356 |
am__EXEEXT_TRUE=
|
6674 | 7357 |
am__EXEEXT_FALSE='#'
|
|
6726 | 7409 |
ac_write_fail=0
|
6727 | 7410 |
ac_clean_files_save=$ac_clean_files
|
6728 | 7411 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
6729 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
6730 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
7412 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
7413 |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
|
6731 | 7414 |
as_write_fail=0
|
6732 | 7415 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
6733 | 7416 |
#! $SHELL
|
|
6750 | 7433 |
|
6751 | 7434 |
# Be more Bourne compatible
|
6752 | 7435 |
DUALCASE=1; export DUALCASE # for MKS sh
|
6753 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
7436 |
as_nop=:
|
|
7437 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
7438 |
then :
|
6754 | 7439 |
emulate sh
|
6755 | 7440 |
NULLCMD=:
|
6756 | 7441 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
6757 | 7442 |
# is contrary to our usage. Disable this feature.
|
6758 | 7443 |
alias -g '${1+"$@"}'='"$@"'
|
6759 | 7444 |
setopt NO_GLOB_SUBST
|
6760 | |
else
|
|
7445 |
else $as_nop
|
6761 | 7446 |
case `(set -o) 2>/dev/null` in #(
|
6762 | 7447 |
*posix*) :
|
6763 | 7448 |
set -o posix ;; #(
|
|
6767 | 7452 |
fi
|
6768 | 7453 |
|
6769 | 7454 |
|
|
7455 |
|
|
7456 |
# Reset variables that may have inherited troublesome values from
|
|
7457 |
# the environment.
|
|
7458 |
|
|
7459 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
7460 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
7461 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
7462 |
# Quoting is to prevent editors from complaining about space-tab.
|
6770 | 7463 |
as_nl='
|
6771 | 7464 |
'
|
6772 | 7465 |
export as_nl
|
6773 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
6774 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
6775 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
6776 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
6777 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
6778 | |
# but without wasting forks for bash or zsh.
|
6779 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
6780 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
6781 | |
as_echo='print -r --'
|
6782 | |
as_echo_n='print -rn --'
|
6783 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
6784 | |
as_echo='printf %s\n'
|
6785 | |
as_echo_n='printf %s'
|
6786 | |
else
|
6787 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
6788 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
6789 | |
as_echo_n='/usr/ucb/echo -n'
|
6790 | |
else
|
6791 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
6792 | |
as_echo_n_body='eval
|
6793 | |
arg=$1;
|
6794 | |
case $arg in #(
|
6795 | |
*"$as_nl"*)
|
6796 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
6797 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
6798 | |
esac;
|
6799 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
6800 | |
'
|
6801 | |
export as_echo_n_body
|
6802 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
6803 | |
fi
|
6804 | |
export as_echo_body
|
6805 | |
as_echo='sh -c $as_echo_body as_echo'
|
6806 | |
fi
|
|
7466 |
IFS=" "" $as_nl"
|
|
7467 |
|
|
7468 |
PS1='$ '
|
|
7469 |
PS2='> '
|
|
7470 |
PS4='+ '
|
|
7471 |
|
|
7472 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
7473 |
LC_ALL=C
|
|
7474 |
export LC_ALL
|
|
7475 |
LANGUAGE=C
|
|
7476 |
export LANGUAGE
|
|
7477 |
|
|
7478 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
7479 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
7480 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
7481 |
# also avoids known problems related to "unset" and subshell syntax
|
|
7482 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
7483 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
7484 |
do eval test \${$as_var+y} \
|
|
7485 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
7486 |
done
|
|
7487 |
|
|
7488 |
# Ensure that fds 0, 1, and 2 are open.
|
|
7489 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
7490 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
7491 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
6807 | 7492 |
|
6808 | 7493 |
# The user is always right.
|
6809 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
7494 |
if ${PATH_SEPARATOR+false} :; then
|
6810 | 7495 |
PATH_SEPARATOR=:
|
6811 | 7496 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
6812 | 7497 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
6814 | 7499 |
}
|
6815 | 7500 |
fi
|
6816 | 7501 |
|
6817 | |
|
6818 | |
# IFS
|
6819 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
6820 | |
# there to prevent editors from complaining about space-tab.
|
6821 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
6822 | |
# splitting by setting IFS to empty value.)
|
6823 | |
IFS=" "" $as_nl"
|
6824 | 7502 |
|
6825 | 7503 |
# Find who we are. Look in the path if we contain no directory separator.
|
6826 | 7504 |
as_myself=
|
|
6830 | 7508 |
for as_dir in $PATH
|
6831 | 7509 |
do
|
6832 | 7510 |
IFS=$as_save_IFS
|
6833 | |
test -z "$as_dir" && as_dir=.
|
6834 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
7511 |
case $as_dir in #(((
|
|
7512 |
'') as_dir=./ ;;
|
|
7513 |
*/) ;;
|
|
7514 |
*) as_dir=$as_dir/ ;;
|
|
7515 |
esac
|
|
7516 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
6835 | 7517 |
done
|
6836 | 7518 |
IFS=$as_save_IFS
|
6837 | 7519 |
|
|
6843 | 7525 |
as_myself=$0
|
6844 | 7526 |
fi
|
6845 | 7527 |
if test ! -f "$as_myself"; then
|
6846 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
7528 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
6847 | 7529 |
exit 1
|
6848 | 7530 |
fi
|
6849 | 7531 |
|
6850 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
6851 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
6852 | |
# suppresses any "Segmentation fault" message there. '((' could
|
6853 | |
# trigger a bug in pdksh 5.2.14.
|
6854 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
6855 | |
do eval test x\${$as_var+set} = xset \
|
6856 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
6857 | |
done
|
6858 | |
PS1='$ '
|
6859 | |
PS2='> '
|
6860 | |
PS4='+ '
|
6861 | |
|
6862 | |
# NLS nuisances.
|
6863 | |
LC_ALL=C
|
6864 | |
export LC_ALL
|
6865 | |
LANGUAGE=C
|
6866 | |
export LANGUAGE
|
6867 | |
|
6868 | |
# CDPATH.
|
6869 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
6870 | 7532 |
|
6871 | 7533 |
|
6872 | 7534 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
6879 | 7541 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
6880 | 7542 |
if test "$4"; then
|
6881 | 7543 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
6882 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
7544 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
6883 | 7545 |
fi
|
6884 | |
$as_echo "$as_me: error: $2" >&2
|
|
7546 |
printf "%s\n" "$as_me: error: $2" >&2
|
6885 | 7547 |
as_fn_exit $as_status
|
6886 | 7548 |
} # as_fn_error
|
|
7549 |
|
6887 | 7550 |
|
6888 | 7551 |
|
6889 | 7552 |
# as_fn_set_status STATUS
|
|
6912 | 7575 |
{ eval $1=; unset $1;}
|
6913 | 7576 |
}
|
6914 | 7577 |
as_unset=as_fn_unset
|
|
7578 |
|
6915 | 7579 |
# as_fn_append VAR VALUE
|
6916 | 7580 |
# ----------------------
|
6917 | 7581 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
6918 | 7582 |
# advantage of any shell optimizations that allow amortized linear growth over
|
6919 | 7583 |
# repeated appends, instead of the typical quadratic growth present in naive
|
6920 | 7584 |
# implementations.
|
6921 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
7585 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
7586 |
then :
|
6922 | 7587 |
eval 'as_fn_append ()
|
6923 | 7588 |
{
|
6924 | 7589 |
eval $1+=\$2
|
6925 | 7590 |
}'
|
6926 | |
else
|
|
7591 |
else $as_nop
|
6927 | 7592 |
as_fn_append ()
|
6928 | 7593 |
{
|
6929 | 7594 |
eval $1=\$$1\$2
|
|
6935 | 7600 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
6936 | 7601 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
6937 | 7602 |
# must be portable across $(()) and expr.
|
6938 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
7603 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
7604 |
then :
|
6939 | 7605 |
eval 'as_fn_arith ()
|
6940 | 7606 |
{
|
6941 | 7607 |
as_val=$(( $* ))
|
6942 | 7608 |
}'
|
6943 | |
else
|
|
7609 |
else $as_nop
|
6944 | 7610 |
as_fn_arith ()
|
6945 | 7611 |
{
|
6946 | 7612 |
as_val=`expr "$@" || test $? -eq 1`
|
|
6971 | 7637 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
6972 | 7638 |
X"$0" : 'X\(//\)$' \| \
|
6973 | 7639 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
6974 | |
$as_echo X/"$0" |
|
|
7640 |
printf "%s\n" X/"$0" |
|
6975 | 7641 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
6976 | 7642 |
s//\1/
|
6977 | 7643 |
q
|
|
6993 | 7659 |
as_cr_digits='0123456789'
|
6994 | 7660 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
6995 | 7661 |
|
|
7662 |
|
|
7663 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
7664 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
7665 |
# for compatibility with existing Makefiles.
|
6996 | 7666 |
ECHO_C= ECHO_N= ECHO_T=
|
6997 | 7667 |
case `echo -n x` in #(((((
|
6998 | 7668 |
-n*)
|
|
7005 | 7675 |
*)
|
7006 | 7676 |
ECHO_N='-n';;
|
7007 | 7677 |
esac
|
|
7678 |
|
|
7679 |
# For backward compatibility with old third-party macros, we provide
|
|
7680 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
7681 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
7682 |
as_echo='printf %s\n'
|
|
7683 |
as_echo_n='printf %s'
|
7008 | 7684 |
|
7009 | 7685 |
rm -f conf$$ conf$$.exe conf$$.file
|
7010 | 7686 |
if test -d conf$$.dir; then
|
|
7047 | 7723 |
as_dirs=
|
7048 | 7724 |
while :; do
|
7049 | 7725 |
case $as_dir in #(
|
7050 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
7726 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
7051 | 7727 |
*) as_qdir=$as_dir;;
|
7052 | 7728 |
esac
|
7053 | 7729 |
as_dirs="'$as_qdir' $as_dirs"
|
|
7056 | 7732 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7057 | 7733 |
X"$as_dir" : 'X\(//\)$' \| \
|
7058 | 7734 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
7059 | |
$as_echo X"$as_dir" |
|
|
7735 |
printf "%s\n" X"$as_dir" |
|
7060 | 7736 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7061 | 7737 |
s//\1/
|
7062 | 7738 |
q
|
|
7119 | 7795 |
# values after options handling.
|
7120 | 7796 |
ac_log="
|
7121 | 7797 |
This file was extended by SLUDGE $as_me 2.2.2, which was
|
7122 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
7798 |
generated by GNU Autoconf 2.71. Invocation command line was
|
7123 | 7799 |
|
7124 | 7800 |
CONFIG_FILES = $CONFIG_FILES
|
7125 | 7801 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
7182 | 7858 |
SLUDGE home page: <http://opensludge.github.io/>."
|
7183 | 7859 |
|
7184 | 7860 |
_ACEOF
|
|
7861 |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
|
|
7862 |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
|
7185 | 7863 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7186 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
7864 |
ac_cs_config='$ac_cs_config_escaped'
|
7187 | 7865 |
ac_cs_version="\\
|
7188 | 7866 |
SLUDGE config.status 2.2.2
|
7189 | |
configured by $0, generated by GNU Autoconf 2.69,
|
|
7867 |
configured by $0, generated by GNU Autoconf 2.71,
|
7190 | 7868 |
with options \\"\$ac_cs_config\\"
|
7191 | 7869 |
|
7192 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
7870 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
7193 | 7871 |
This config.status script is free software; the Free Software Foundation
|
7194 | 7872 |
gives unlimited permission to copy, distribute and modify it."
|
7195 | 7873 |
|
|
7229 | 7907 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
7230 | 7908 |
ac_cs_recheck=: ;;
|
7231 | 7909 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
7232 | |
$as_echo "$ac_cs_version"; exit ;;
|
|
7910 |
printf "%s\n" "$ac_cs_version"; exit ;;
|
7233 | 7911 |
--config | --confi | --conf | --con | --co | --c )
|
7234 | |
$as_echo "$ac_cs_config"; exit ;;
|
|
7912 |
printf "%s\n" "$ac_cs_config"; exit ;;
|
7235 | 7913 |
--debug | --debu | --deb | --de | --d | -d )
|
7236 | 7914 |
debug=: ;;
|
7237 | 7915 |
--file | --fil | --fi | --f )
|
7238 | 7916 |
$ac_shift
|
7239 | 7917 |
case $ac_optarg in
|
7240 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
7918 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
7241 | 7919 |
'') as_fn_error $? "missing file argument" ;;
|
7242 | 7920 |
esac
|
7243 | 7921 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
7245 | 7923 |
--header | --heade | --head | --hea )
|
7246 | 7924 |
$ac_shift
|
7247 | 7925 |
case $ac_optarg in
|
7248 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
7926 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
7249 | 7927 |
esac
|
7250 | 7928 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
7251 | 7929 |
ac_need_defaults=false;;
|
|
7254 | 7932 |
as_fn_error $? "ambiguous option: \`$1'
|
7255 | 7933 |
Try \`$0 --help' for more information.";;
|
7256 | 7934 |
--help | --hel | -h )
|
7257 | |
$as_echo "$ac_cs_usage"; exit ;;
|
|
7935 |
printf "%s\n" "$ac_cs_usage"; exit ;;
|
7258 | 7936 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
7259 | 7937 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
7260 | 7938 |
ac_cs_silent=: ;;
|
|
7282 | 7960 |
if \$ac_cs_recheck; then
|
7283 | 7961 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
7284 | 7962 |
shift
|
7285 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
7963 |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
|
7286 | 7964 |
CONFIG_SHELL='$SHELL'
|
7287 | 7965 |
export CONFIG_SHELL
|
7288 | 7966 |
exec "\$@"
|
|
7296 | 7974 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
7297 | 7975 |
## Running $as_me. ##
|
7298 | 7976 |
_ASBOX
|
7299 | |
$as_echo "$ac_log"
|
|
7977 |
printf "%s\n" "$ac_log"
|
7300 | 7978 |
} >&5
|
7301 | 7979 |
|
7302 | 7980 |
_ACEOF
|
|
7304 | 7982 |
#
|
7305 | 7983 |
# INIT-COMMANDS
|
7306 | 7984 |
#
|
7307 | |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
7985 |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
|
7308 | 7986 |
|
7309 | 7987 |
_ACEOF
|
7310 | 7988 |
|
|
7333 | 8011 |
# We use the long form for the default assignment because of an extremely
|
7334 | 8012 |
# bizarre bug on SunOS 4.1.3.
|
7335 | 8013 |
if $ac_need_defaults; then
|
7336 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
7337 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
7338 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
8014 |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
|
8015 |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
|
8016 |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
7339 | 8017 |
fi
|
7340 | 8018 |
|
7341 | 8019 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
7671 | 8349 |
esac ||
|
7672 | 8350 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
7673 | 8351 |
esac
|
7674 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
8352 |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
7675 | 8353 |
as_fn_append ac_file_inputs " '$ac_f'"
|
7676 | 8354 |
done
|
7677 | 8355 |
|
|
7679 | 8357 |
# use $as_me), people would be surprised to read:
|
7680 | 8358 |
# /* config.h. Generated by config.status. */
|
7681 | 8359 |
configure_input='Generated from '`
|
7682 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
8360 |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
7683 | 8361 |
`' by configure.'
|
7684 | 8362 |
if test x"$ac_file" != x-; then
|
7685 | 8363 |
configure_input="$ac_file. $configure_input"
|
7686 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
7687 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
8364 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
8365 |
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
7688 | 8366 |
fi
|
7689 | 8367 |
# Neutralize special characters interpreted by sed in replacement strings.
|
7690 | 8368 |
case $configure_input in #(
|
7691 | 8369 |
*\&* | *\|* | *\\* )
|
7692 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
8370 |
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
7693 | 8371 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
7694 | 8372 |
*) ac_sed_conf_input=$configure_input;;
|
7695 | 8373 |
esac
|
|
7706 | 8384 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
7707 | 8385 |
X"$ac_file" : 'X\(//\)$' \| \
|
7708 | 8386 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
7709 | |
$as_echo X"$ac_file" |
|
|
8387 |
printf "%s\n" X"$ac_file" |
|
7710 | 8388 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7711 | 8389 |
s//\1/
|
7712 | 8390 |
q
|
|
7730 | 8408 |
case "$ac_dir" in
|
7731 | 8409 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
7732 | 8410 |
*)
|
7733 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
8411 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
7734 | 8412 |
# A ".." for each directory in $ac_dir_suffix.
|
7735 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
8413 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
7736 | 8414 |
case $ac_top_builddir_sub in
|
7737 | 8415 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
7738 | 8416 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
7794 | 8472 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
7795 | 8473 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
7796 | 8474 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
7797 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
7798 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
8475 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
8476 |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
7799 | 8477 |
_ACEOF
|
7800 | 8478 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7801 | 8479 |
ac_datarootdir_hack='
|
|
7839 | 8517 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
7840 | 8518 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
7841 | 8519 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
7842 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
8520 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
7843 | 8521 |
which seems to be undefined. Please make sure it is defined" >&5
|
7844 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
8522 |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
7845 | 8523 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
7846 | 8524 |
|
7847 | 8525 |
rm -f "$ac_tmp/stdin"
|
|
7857 | 8535 |
#
|
7858 | 8536 |
if test x"$ac_file" != x-; then
|
7859 | 8537 |
{
|
7860 | |
$as_echo "/* $configure_input */" \
|
|
8538 |
printf "%s\n" "/* $configure_input */" >&1 \
|
7861 | 8539 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
7862 | 8540 |
} >"$ac_tmp/config.h" \
|
7863 | 8541 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
7864 | 8542 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
7865 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
7866 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
8543 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
8544 |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
7867 | 8545 |
else
|
7868 | 8546 |
rm -f "$ac_file"
|
7869 | 8547 |
mv "$ac_tmp/config.h" "$ac_file" \
|
7870 | 8548 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
7871 | 8549 |
fi
|
7872 | 8550 |
else
|
7873 | |
$as_echo "/* $configure_input */" \
|
|
8551 |
printf "%s\n" "/* $configure_input */" >&1 \
|
7874 | 8552 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
7875 | 8553 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
7876 | 8554 |
fi
|
|
7890 | 8568 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
7891 | 8569 |
X"$_am_arg" : 'X\(//\)$' \| \
|
7892 | 8570 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
7893 | |
$as_echo X"$_am_arg" |
|
|
8571 |
printf "%s\n" X"$_am_arg" |
|
7894 | 8572 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7895 | 8573 |
s//\1/
|
7896 | 8574 |
q
|
|
7910 | 8588 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
7911 | 8589 |
;;
|
7912 | 8590 |
|
7913 | |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
7914 | |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
8591 |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
8592 |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
7915 | 8593 |
;;
|
7916 | 8594 |
esac
|
7917 | 8595 |
|
|
7921 | 8599 |
# Older Autoconf quotes --file arguments for eval, but not when files
|
7922 | 8600 |
# are listed without --file. Let's play safe and only enable the eval
|
7923 | 8601 |
# if we detect the quoting.
|
7924 | |
case $CONFIG_FILES in
|
7925 | |
*\'*) eval set x "$CONFIG_FILES" ;;
|
7926 | |
*) set x $CONFIG_FILES ;;
|
7927 | |
esac
|
|
8602 |
# TODO: see whether this extra hack can be removed once we start
|
|
8603 |
# requiring Autoconf 2.70 or later.
|
|
8604 |
case $CONFIG_FILES in #(
|
|
8605 |
*\'*) :
|
|
8606 |
eval set x "$CONFIG_FILES" ;; #(
|
|
8607 |
*) :
|
|
8608 |
set x $CONFIG_FILES ;; #(
|
|
8609 |
*) :
|
|
8610 |
;;
|
|
8611 |
esac
|
7928 | 8612 |
shift
|
7929 | |
for mf
|
|
8613 |
# Used to flag and report bootstrapping failures.
|
|
8614 |
am_rc=0
|
|
8615 |
for am_mf
|
7930 | 8616 |
do
|
7931 | 8617 |
# Strip MF so we end up with the name of the file.
|
7932 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
7933 | |
# Check whether this is an Automake generated Makefile or not.
|
7934 | |
# We used to match only the files named 'Makefile.in', but
|
7935 | |
# some people rename them; so instead we look at the file content.
|
7936 | |
# Grep'ing the first line is not enough: some people post-process
|
7937 | |
# each Makefile.in and add a new line on top of each file to say so.
|
7938 | |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
8618 |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
|
8619 |
# Check whether this is an Automake generated Makefile which includes
|
|
8620 |
# dependency-tracking related rules and includes.
|
|
8621 |
# Grep'ing the whole file directly is not great: AIX grep has a line
|
7939 | 8622 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
7940 | |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
7941 | |
dirpart=`$as_dirname -- "$mf" ||
|
7942 | |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7943 | |
X"$mf" : 'X\(//\)[^/]' \| \
|
7944 | |
X"$mf" : 'X\(//\)$' \| \
|
7945 | |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
7946 | |
$as_echo X"$mf" |
|
|
8623 |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
|
8624 |
|| continue
|
|
8625 |
am_dirpart=`$as_dirname -- "$am_mf" ||
|
|
8626 |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8627 |
X"$am_mf" : 'X\(//\)[^/]' \| \
|
|
8628 |
X"$am_mf" : 'X\(//\)$' \| \
|
|
8629 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8630 |
printf "%s\n" X"$am_mf" |
|
7947 | 8631 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7948 | 8632 |
s//\1/
|
7949 | 8633 |
q
|
|
7961 | 8645 |
q
|
7962 | 8646 |
}
|
7963 | 8647 |
s/.*/./; q'`
|
7964 | |
else
|
7965 | |
continue
|
7966 | |
fi
|
7967 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
7968 | |
# from the Makefile without running 'make'.
|
7969 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
7970 | |
test -z "$DEPDIR" && continue
|
7971 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
7972 | |
test -z "$am__include" && continue
|
7973 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
7974 | |
# Find all dependency output files, they are included files with
|
7975 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
7976 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
7977 | |
# expansion.
|
7978 | |
for file in `sed -n "
|
7979 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
7980 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
7981 | |
# Make sure the directory exists.
|
7982 | |
test -f "$dirpart/$file" && continue
|
7983 | |
fdir=`$as_dirname -- "$file" ||
|
7984 | |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7985 | |
X"$file" : 'X\(//\)[^/]' \| \
|
7986 | |
X"$file" : 'X\(//\)$' \| \
|
7987 | |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
7988 | |
$as_echo X"$file" |
|
7989 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8648 |
am_filepart=`$as_basename -- "$am_mf" ||
|
|
8649 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
|
8650 |
X"$am_mf" : 'X\(//\)$' \| \
|
|
8651 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8652 |
printf "%s\n" X/"$am_mf" |
|
|
8653 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
7990 | 8654 |
s//\1/
|
7991 | 8655 |
q
|
7992 | 8656 |
}
|
7993 | |
/^X\(\/\/\)[^/].*/{
|
|
8657 |
/^X\/\(\/\/\)$/{
|
7994 | 8658 |
s//\1/
|
7995 | 8659 |
q
|
7996 | 8660 |
}
|
7997 | |
/^X\(\/\/\)$/{
|
7998 | |
s//\1/
|
7999 | |
q
|
8000 | |
}
|
8001 | |
/^X\(\/\).*/{
|
|
8661 |
/^X\/\(\/\).*/{
|
8002 | 8662 |
s//\1/
|
8003 | 8663 |
q
|
8004 | 8664 |
}
|
8005 | 8665 |
s/.*/./; q'`
|
8006 | |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
8007 | |
# echo "creating $dirpart/$file"
|
8008 | |
echo '# dummy' > "$dirpart/$file"
|
8009 | |
done
|
|
8666 |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
|
|
8667 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
8668 |
| $MAKE -f - am--depfiles" >&5
|
|
8669 |
(cd "$am_dirpart" \
|
|
8670 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
8671 |
| $MAKE -f - am--depfiles) >&5 2>&5
|
|
8672 |
ac_status=$?
|
|
8673 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8674 |
(exit $ac_status); } || am_rc=$?
|
8010 | 8675 |
done
|
|
8676 |
if test $am_rc -ne 0; then
|
|
8677 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
8678 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
8679 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
|
8680 |
for automatic dependency tracking. If GNU make was not used, consider
|
|
8681 |
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
8682 |
necessary). You can also try re-running configure with the
|
|
8683 |
'--disable-dependency-tracking' option to at least be able to build
|
|
8684 |
the package (albeit without support for automatic dependency tracking).
|
|
8685 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
8686 |
fi
|
|
8687 |
{ am_dirpart=; unset am_dirpart;}
|
|
8688 |
{ am_filepart=; unset am_filepart;}
|
|
8689 |
{ am_mf=; unset am_mf;}
|
|
8690 |
{ am_rc=; unset am_rc;}
|
|
8691 |
rm -f conftest-deps.mk
|
8011 | 8692 |
}
|
8012 | 8693 |
;;
|
8013 | 8694 |
|
|
8044 | 8725 |
$ac_cs_success || as_fn_exit 1
|
8045 | 8726 |
fi
|
8046 | 8727 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
8047 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
8048 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
8728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
8729 |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
8049 | 8730 |
fi
|
8050 | 8731 |
|
8051 | 8732 |
|
|
8065 | 8746 |
Use the options --disable-engine, --enable-devkit and/or --enable-doc to (de)select components.
|
8066 | 8747 |
"
|
8067 | 8748 |
fi
|
|
8749 |
|