0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.69 for teckit 2.5.11.
|
|
2 |
# Generated by GNU Autoconf 2.71 for teckit 2.5.11.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <wstech@sil.org>.
|
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
|
|
206 | 191 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
207 | 192 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
|
208 | 193 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
209 | |
if (eval "$as_required") 2>/dev/null; then :
|
|
194 |
if (eval "$as_required") 2>/dev/null
|
|
195 |
then :
|
210 | 196 |
as_have_required=yes
|
211 | |
else
|
|
197 |
else $as_nop
|
212 | 198 |
as_have_required=no
|
213 | 199 |
fi
|
214 | |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
215 | |
|
216 | |
else
|
|
200 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
|
|
201 |
then :
|
|
202 |
|
|
203 |
else $as_nop
|
217 | 204 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
218 | 205 |
as_found=false
|
219 | 206 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
220 | 207 |
do
|
221 | 208 |
IFS=$as_save_IFS
|
222 | |
test -z "$as_dir" && as_dir=.
|
|
209 |
case $as_dir in #(((
|
|
210 |
'') as_dir=./ ;;
|
|
211 |
*/) ;;
|
|
212 |
*) as_dir=$as_dir/ ;;
|
|
213 |
esac
|
223 | 214 |
as_found=:
|
224 | 215 |
case $as_dir in #(
|
225 | 216 |
/*)
|
226 | 217 |
for as_base in sh bash ksh sh5; do
|
227 | 218 |
# Try only shells that exist, to save several forks.
|
228 | |
as_shell=$as_dir/$as_base
|
|
219 |
as_shell=$as_dir$as_base
|
229 | 220 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
230 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
221 |
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
|
|
222 |
then :
|
231 | 223 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
232 | |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
224 |
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
|
|
225 |
then :
|
233 | 226 |
break 2
|
234 | 227 |
fi
|
235 | 228 |
fi
|
|
237 | 230 |
esac
|
238 | 231 |
as_found=false
|
239 | 232 |
done
|
240 | |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
241 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
233 |
IFS=$as_save_IFS
|
|
234 |
if $as_found
|
|
235 |
then :
|
|
236 |
|
|
237 |
else $as_nop
|
|
238 |
if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
239 |
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
|
|
240 |
then :
|
242 | 241 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
243 | |
fi; }
|
244 | |
IFS=$as_save_IFS
|
245 | |
|
246 | |
|
247 | |
if test "x$CONFIG_SHELL" != x; then :
|
|
242 |
fi
|
|
243 |
fi
|
|
244 |
|
|
245 |
|
|
246 |
if test "x$CONFIG_SHELL" != x
|
|
247 |
then :
|
248 | 248 |
export CONFIG_SHELL
|
249 | 249 |
# We cannot yet assume a decent shell, so we have to provide a
|
250 | 250 |
# neutralization value for shells without unset; and this also
|
|
262 | 262 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
263 | 263 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
264 | 264 |
# out after a failed `exec'.
|
265 | |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
265 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
|
266 | 266 |
exit 255
|
267 | 267 |
fi
|
268 | 268 |
|
269 | |
if test x$as_have_required = xno; then :
|
270 | |
$as_echo "$0: This script requires a shell more modern than all"
|
271 | |
$as_echo "$0: the shells that I found on your system."
|
272 | |
if test x${ZSH_VERSION+set} = xset ; then
|
273 | |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
274 | |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
269 |
if test x$as_have_required = xno
|
|
270 |
then :
|
|
271 |
printf "%s\n" "$0: This script requires a shell more modern than all"
|
|
272 |
printf "%s\n" "$0: the shells that I found on your system."
|
|
273 |
if test ${ZSH_VERSION+y} ; then
|
|
274 |
printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
275 |
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
|
275 | 276 |
else
|
276 | |
$as_echo "$0: Please tell bug-autoconf@gnu.org and wstech@sil.org
|
|
277 |
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and wstech@sil.org
|
277 | 278 |
$0: about your system, including any error possibly output
|
278 | 279 |
$0: before this message. Then install a modern shell, or
|
279 | 280 |
$0: manually run the script under such a shell if you do
|
|
301 | 302 |
}
|
302 | 303 |
as_unset=as_fn_unset
|
303 | 304 |
|
|
305 |
|
304 | 306 |
# as_fn_set_status STATUS
|
305 | 307 |
# -----------------------
|
306 | 308 |
# Set $? to STATUS, without forking.
|
|
318 | 320 |
as_fn_set_status $1
|
319 | 321 |
exit $1
|
320 | 322 |
} # as_fn_exit
|
|
323 |
# as_fn_nop
|
|
324 |
# ---------
|
|
325 |
# Do nothing but, unlike ":", preserve the value of $?.
|
|
326 |
as_fn_nop ()
|
|
327 |
{
|
|
328 |
return $?
|
|
329 |
}
|
|
330 |
as_nop=as_fn_nop
|
321 | 331 |
|
322 | 332 |
# as_fn_mkdir_p
|
323 | 333 |
# -------------
|
|
332 | 342 |
as_dirs=
|
333 | 343 |
while :; do
|
334 | 344 |
case $as_dir in #(
|
335 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
345 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
336 | 346 |
*) as_qdir=$as_dir;;
|
337 | 347 |
esac
|
338 | 348 |
as_dirs="'$as_qdir' $as_dirs"
|
|
341 | 351 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
342 | 352 |
X"$as_dir" : 'X\(//\)$' \| \
|
343 | 353 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
344 | |
$as_echo X"$as_dir" |
|
|
354 |
printf "%s\n" X"$as_dir" |
|
345 | 355 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
346 | 356 |
s//\1/
|
347 | 357 |
q
|
|
380 | 390 |
# advantage of any shell optimizations that allow amortized linear growth over
|
381 | 391 |
# repeated appends, instead of the typical quadratic growth present in naive
|
382 | 392 |
# implementations.
|
383 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
393 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
394 |
then :
|
384 | 395 |
eval 'as_fn_append ()
|
385 | 396 |
{
|
386 | 397 |
eval $1+=\$2
|
387 | 398 |
}'
|
388 | |
else
|
|
399 |
else $as_nop
|
389 | 400 |
as_fn_append ()
|
390 | 401 |
{
|
391 | 402 |
eval $1=\$$1\$2
|
|
397 | 408 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
398 | 409 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
399 | 410 |
# must be portable across $(()) and expr.
|
400 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
411 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
412 |
then :
|
401 | 413 |
eval 'as_fn_arith ()
|
402 | 414 |
{
|
403 | 415 |
as_val=$(( $* ))
|
404 | 416 |
}'
|
405 | |
else
|
|
417 |
else $as_nop
|
406 | 418 |
as_fn_arith ()
|
407 | 419 |
{
|
408 | 420 |
as_val=`expr "$@" || test $? -eq 1`
|
409 | 421 |
}
|
410 | 422 |
fi # as_fn_arith
|
411 | 423 |
|
|
424 |
# as_fn_nop
|
|
425 |
# ---------
|
|
426 |
# Do nothing but, unlike ":", preserve the value of $?.
|
|
427 |
as_fn_nop ()
|
|
428 |
{
|
|
429 |
return $?
|
|
430 |
}
|
|
431 |
as_nop=as_fn_nop
|
412 | 432 |
|
413 | 433 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
414 | 434 |
# ----------------------------------------
|
|
420 | 440 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
421 | 441 |
if test "$4"; then
|
422 | 442 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
423 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
443 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
424 | 444 |
fi
|
425 | |
$as_echo "$as_me: error: $2" >&2
|
|
445 |
printf "%s\n" "$as_me: error: $2" >&2
|
426 | 446 |
as_fn_exit $as_status
|
427 | 447 |
} # as_fn_error
|
428 | 448 |
|
|
449 | 469 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
450 | 470 |
X"$0" : 'X\(//\)$' \| \
|
451 | 471 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
452 | |
$as_echo X/"$0" |
|
|
472 |
printf "%s\n" X/"$0" |
|
453 | 473 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
454 | 474 |
s//\1/
|
455 | 475 |
q
|
|
493 | 513 |
s/-\n.*//
|
494 | 514 |
' >$as_me.lineno &&
|
495 | 515 |
chmod +x "$as_me.lineno" ||
|
496 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
516 |
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
497 | 517 |
|
498 | 518 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
499 | 519 |
# already done that, so ensure we don't try to do so again and fall
|
|
507 | 527 |
exit
|
508 | 528 |
}
|
509 | 529 |
|
|
530 |
|
|
531 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
532 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
533 |
# for compatibility with existing Makefiles.
|
510 | 534 |
ECHO_C= ECHO_N= ECHO_T=
|
511 | 535 |
case `echo -n x` in #(((((
|
512 | 536 |
-n*)
|
|
519 | 543 |
*)
|
520 | 544 |
ECHO_N='-n';;
|
521 | 545 |
esac
|
|
546 |
|
|
547 |
# For backward compatibility with old third-party macros, we provide
|
|
548 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
549 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
550 |
as_echo='printf %s\n'
|
|
551 |
as_echo_n='printf %s'
|
|
552 |
|
522 | 553 |
|
523 | 554 |
rm -f conf$$ conf$$.exe conf$$.file
|
524 | 555 |
if test -d conf$$.dir; then
|
|
597 | 628 |
ac_unique_file="source/UnicodeNames.cpp"
|
598 | 629 |
# Factoring default headers for most tests.
|
599 | 630 |
ac_includes_default="\
|
600 | |
#include <stdio.h>
|
601 | |
#ifdef HAVE_SYS_TYPES_H
|
602 | |
# include <sys/types.h>
|
|
631 |
#include <stddef.h>
|
|
632 |
#ifdef HAVE_STDIO_H
|
|
633 |
# include <stdio.h>
|
603 | 634 |
#endif
|
604 | |
#ifdef HAVE_SYS_STAT_H
|
605 | |
# include <sys/stat.h>
|
606 | |
#endif
|
607 | |
#ifdef STDC_HEADERS
|
|
635 |
#ifdef HAVE_STDLIB_H
|
608 | 636 |
# include <stdlib.h>
|
609 | |
# include <stddef.h>
|
610 | |
#else
|
611 | |
# ifdef HAVE_STDLIB_H
|
612 | |
# include <stdlib.h>
|
613 | |
# endif
|
614 | 637 |
#endif
|
615 | 638 |
#ifdef HAVE_STRING_H
|
616 | |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
617 | |
# include <memory.h>
|
618 | |
# endif
|
619 | 639 |
# include <string.h>
|
620 | |
#endif
|
621 | |
#ifdef HAVE_STRINGS_H
|
622 | |
# include <strings.h>
|
623 | 640 |
#endif
|
624 | 641 |
#ifdef HAVE_INTTYPES_H
|
625 | 642 |
# include <inttypes.h>
|
|
627 | 644 |
#ifdef HAVE_STDINT_H
|
628 | 645 |
# include <stdint.h>
|
629 | 646 |
#endif
|
|
647 |
#ifdef HAVE_STRINGS_H
|
|
648 |
# include <strings.h>
|
|
649 |
#endif
|
|
650 |
#ifdef HAVE_SYS_TYPES_H
|
|
651 |
# include <sys/types.h>
|
|
652 |
#endif
|
|
653 |
#ifdef HAVE_SYS_STAT_H
|
|
654 |
# include <sys/stat.h>
|
|
655 |
#endif
|
630 | 656 |
#ifdef HAVE_UNISTD_H
|
631 | 657 |
# include <unistd.h>
|
632 | 658 |
#endif"
|
633 | 659 |
|
|
660 |
ac_header_c_list=
|
634 | 661 |
ac_subst_vars='am__EXEEXT_FALSE
|
635 | 662 |
am__EXEEXT_TRUE
|
636 | 663 |
LTLIBOBJS
|
|
649 | 676 |
OLD_LIB_NAMES_TRUE
|
650 | 677 |
RC
|
651 | 678 |
CXXCPP
|
652 | |
CPP
|
653 | 679 |
LT_SYS_LIBRARY_PATH
|
654 | 680 |
OTOOL64
|
655 | 681 |
OTOOL
|
|
701 | 727 |
AM_DEFAULT_VERBOSITY
|
702 | 728 |
AM_DEFAULT_V
|
703 | 729 |
AM_V
|
|
730 |
CSCOPE
|
|
731 |
ETAGS
|
|
732 |
CTAGS
|
704 | 733 |
am__untar
|
705 | 734 |
am__tar
|
706 | 735 |
AMTAR
|
|
812 | 841 |
CC
|
813 | 842 |
CFLAGS
|
814 | 843 |
LT_SYS_LIBRARY_PATH
|
815 | |
CPP
|
816 | 844 |
CXXCPP'
|
817 | 845 |
|
818 | 846 |
|
|
882 | 910 |
*) ac_optarg=yes ;;
|
883 | 911 |
esac
|
884 | 912 |
|
885 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
886 | |
|
887 | 913 |
case $ac_dashdash$ac_option in
|
888 | 914 |
--)
|
889 | 915 |
ac_dashdash=yes ;;
|
|
924 | 950 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
925 | 951 |
# Reject names that are not valid shell variable names.
|
926 | 952 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
927 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
953 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
928 | 954 |
ac_useropt_orig=$ac_useropt
|
929 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
955 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
930 | 956 |
case $ac_user_opts in
|
931 | 957 |
*"
|
932 | 958 |
"enable_$ac_useropt"
|
|
950 | 976 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
951 | 977 |
# Reject names that are not valid shell variable names.
|
952 | 978 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
953 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
979 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
954 | 980 |
ac_useropt_orig=$ac_useropt
|
955 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
981 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
956 | 982 |
case $ac_user_opts in
|
957 | 983 |
*"
|
958 | 984 |
"enable_$ac_useropt"
|
|
1163 | 1189 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1164 | 1190 |
# Reject names that are not valid shell variable names.
|
1165 | 1191 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1166 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1192 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1167 | 1193 |
ac_useropt_orig=$ac_useropt
|
1168 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1194 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1169 | 1195 |
case $ac_user_opts in
|
1170 | 1196 |
*"
|
1171 | 1197 |
"with_$ac_useropt"
|
|
1179 | 1205 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1180 | 1206 |
# Reject names that are not valid shell variable names.
|
1181 | 1207 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1182 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1208 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1183 | 1209 |
ac_useropt_orig=$ac_useropt
|
1184 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1210 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1185 | 1211 |
case $ac_user_opts in
|
1186 | 1212 |
*"
|
1187 | 1213 |
"with_$ac_useropt"
|
|
1225 | 1251 |
|
1226 | 1252 |
*)
|
1227 | 1253 |
# FIXME: should be removed in autoconf 3.0.
|
1228 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1254 |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1229 | 1255 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1230 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1256 |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1231 | 1257 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1232 | 1258 |
;;
|
1233 | 1259 |
|
|
1243 | 1269 |
case $enable_option_checking in
|
1244 | 1270 |
no) ;;
|
1245 | 1271 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1246 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1272 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1247 | 1273 |
esac
|
1248 | 1274 |
fi
|
1249 | 1275 |
|
|
1307 | 1333 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1308 | 1334 |
X"$as_myself" : 'X\(//\)$' \| \
|
1309 | 1335 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1310 | |
$as_echo X"$as_myself" |
|
|
1336 |
printf "%s\n" X"$as_myself" |
|
1311 | 1337 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1312 | 1338 |
s//\1/
|
1313 | 1339 |
q
|
|
1492 | 1518 |
CFLAGS C compiler flags
|
1493 | 1519 |
LT_SYS_LIBRARY_PATH
|
1494 | 1520 |
User-defined run-time library search path.
|
1495 | |
CPP C preprocessor
|
1496 | 1521 |
CXXCPP C++ preprocessor
|
1497 | 1522 |
|
1498 | 1523 |
Use these variables to override the choices made by `configure' or to help
|
|
1514 | 1539 |
case "$ac_dir" in
|
1515 | 1540 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1516 | 1541 |
*)
|
1517 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1542 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
1518 | 1543 |
# A ".." for each directory in $ac_dir_suffix.
|
1519 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1544 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1520 | 1545 |
case $ac_top_builddir_sub in
|
1521 | 1546 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1522 | 1547 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1544 | 1569 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1545 | 1570 |
|
1546 | 1571 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1547 | |
# Check for guested configure.
|
|
1572 |
# Check for configure.gnu first; this name is used for a wrapper for
|
|
1573 |
# Metaconfig's "Configure" on case-insensitive file systems.
|
1548 | 1574 |
if test -f "$ac_srcdir/configure.gnu"; then
|
1549 | 1575 |
echo &&
|
1550 | 1576 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1552 | 1578 |
echo &&
|
1553 | 1579 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1554 | 1580 |
else
|
1555 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1581 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1556 | 1582 |
fi || ac_status=$?
|
1557 | 1583 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1558 | 1584 |
done
|
|
1562 | 1588 |
if $ac_init_version; then
|
1563 | 1589 |
cat <<\_ACEOF
|
1564 | 1590 |
teckit configure 2.5.11
|
1565 | |
generated by GNU Autoconf 2.69
|
1566 | |
|
1567 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
1591 |
generated by GNU Autoconf 2.71
|
|
1592 |
|
|
1593 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
1568 | 1594 |
This configure script is free software; the Free Software Foundation
|
1569 | 1595 |
gives unlimited permission to copy, distribute and modify it.
|
1570 | 1596 |
_ACEOF
|
|
1581 | 1607 |
ac_fn_cxx_try_compile ()
|
1582 | 1608 |
{
|
1583 | 1609 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1584 | |
rm -f conftest.$ac_objext
|
|
1610 |
rm -f conftest.$ac_objext conftest.beam
|
1585 | 1611 |
if { { ac_try="$ac_compile"
|
1586 | 1612 |
case "(($ac_try" in
|
1587 | 1613 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1588 | 1614 |
*) ac_try_echo=$ac_try;;
|
1589 | 1615 |
esac
|
1590 | 1616 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1591 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1617 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1592 | 1618 |
(eval "$ac_compile") 2>conftest.err
|
1593 | 1619 |
ac_status=$?
|
1594 | 1620 |
if test -s conftest.err; then
|
|
1596 | 1622 |
cat conftest.er1 >&5
|
1597 | 1623 |
mv -f conftest.er1 conftest.err
|
1598 | 1624 |
fi
|
1599 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1625 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1600 | 1626 |
test $ac_status = 0; } && {
|
1601 | 1627 |
test -z "$ac_cxx_werror_flag" ||
|
1602 | 1628 |
test ! -s conftest.err
|
1603 | |
} && test -s conftest.$ac_objext; then :
|
|
1629 |
} && test -s conftest.$ac_objext
|
|
1630 |
then :
|
1604 | 1631 |
ac_retval=0
|
1605 | |
else
|
1606 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1632 |
else $as_nop
|
|
1633 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1607 | 1634 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1608 | 1635 |
|
1609 | 1636 |
ac_retval=1
|
|
1619 | 1646 |
ac_fn_c_try_compile ()
|
1620 | 1647 |
{
|
1621 | 1648 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1622 | |
rm -f conftest.$ac_objext
|
|
1649 |
rm -f conftest.$ac_objext conftest.beam
|
1623 | 1650 |
if { { ac_try="$ac_compile"
|
1624 | 1651 |
case "(($ac_try" in
|
1625 | 1652 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1626 | 1653 |
*) ac_try_echo=$ac_try;;
|
1627 | 1654 |
esac
|
1628 | 1655 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1629 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1656 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1630 | 1657 |
(eval "$ac_compile") 2>conftest.err
|
1631 | 1658 |
ac_status=$?
|
1632 | 1659 |
if test -s conftest.err; then
|
|
1634 | 1661 |
cat conftest.er1 >&5
|
1635 | 1662 |
mv -f conftest.er1 conftest.err
|
1636 | 1663 |
fi
|
1637 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1664 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1638 | 1665 |
test $ac_status = 0; } && {
|
1639 | 1666 |
test -z "$ac_c_werror_flag" ||
|
1640 | 1667 |
test ! -s conftest.err
|
1641 | |
} && test -s conftest.$ac_objext; then :
|
|
1668 |
} && test -s conftest.$ac_objext
|
|
1669 |
then :
|
1642 | 1670 |
ac_retval=0
|
1643 | |
else
|
1644 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1671 |
else $as_nop
|
|
1672 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1645 | 1673 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1646 | 1674 |
|
1647 | 1675 |
ac_retval=1
|
|
1657 | 1685 |
ac_fn_c_try_link ()
|
1658 | 1686 |
{
|
1659 | 1687 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1660 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1688 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
1661 | 1689 |
if { { ac_try="$ac_link"
|
1662 | 1690 |
case "(($ac_try" in
|
1663 | 1691 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1664 | 1692 |
*) ac_try_echo=$ac_try;;
|
1665 | 1693 |
esac
|
1666 | 1694 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1667 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1695 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1668 | 1696 |
(eval "$ac_link") 2>conftest.err
|
1669 | 1697 |
ac_status=$?
|
1670 | 1698 |
if test -s conftest.err; then
|
|
1672 | 1700 |
cat conftest.er1 >&5
|
1673 | 1701 |
mv -f conftest.er1 conftest.err
|
1674 | 1702 |
fi
|
1675 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1703 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1676 | 1704 |
test $ac_status = 0; } && {
|
1677 | 1705 |
test -z "$ac_c_werror_flag" ||
|
1678 | 1706 |
test ! -s conftest.err
|
1679 | 1707 |
} && test -s conftest$ac_exeext && {
|
1680 | 1708 |
test "$cross_compiling" = yes ||
|
1681 | 1709 |
test -x conftest$ac_exeext
|
1682 | |
}; then :
|
|
1710 |
}
|
|
1711 |
then :
|
1683 | 1712 |
ac_retval=0
|
1684 | |
else
|
1685 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1713 |
else $as_nop
|
|
1714 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1686 | 1715 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1687 | 1716 |
|
1688 | 1717 |
ac_retval=1
|
|
1704 | 1733 |
ac_fn_c_check_header_compile ()
|
1705 | 1734 |
{
|
1706 | 1735 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1707 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1708 | |
$as_echo_n "checking for $2... " >&6; }
|
1709 | |
if eval \${$3+:} false; then :
|
1710 | |
$as_echo_n "(cached) " >&6
|
1711 | |
else
|
|
1736 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1737 |
printf %s "checking for $2... " >&6; }
|
|
1738 |
if eval test \${$3+y}
|
|
1739 |
then :
|
|
1740 |
printf %s "(cached) " >&6
|
|
1741 |
else $as_nop
|
1712 | 1742 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1713 | 1743 |
/* end confdefs.h. */
|
1714 | 1744 |
$4
|
1715 | 1745 |
#include <$2>
|
1716 | 1746 |
_ACEOF
|
1717 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1747 |
if ac_fn_c_try_compile "$LINENO"
|
|
1748 |
then :
|
1718 | 1749 |
eval "$3=yes"
|
1719 | |
else
|
|
1750 |
else $as_nop
|
1720 | 1751 |
eval "$3=no"
|
1721 | 1752 |
fi
|
1722 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1753 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1723 | 1754 |
fi
|
1724 | 1755 |
eval ac_res=\$$3
|
1725 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1726 | |
$as_echo "$ac_res" >&6; }
|
|
1756 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1757 |
printf "%s\n" "$ac_res" >&6; }
|
1727 | 1758 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1728 | 1759 |
|
1729 | 1760 |
} # ac_fn_c_check_header_compile
|
1730 | |
|
1731 | |
# ac_fn_c_try_cpp LINENO
|
1732 | |
# ----------------------
|
1733 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1734 | |
ac_fn_c_try_cpp ()
|
1735 | |
{
|
1736 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1737 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1738 | |
case "(($ac_try" in
|
1739 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1740 | |
*) ac_try_echo=$ac_try;;
|
1741 | |
esac
|
1742 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1743 | |
$as_echo "$ac_try_echo"; } >&5
|
1744 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1745 | |
ac_status=$?
|
1746 | |
if test -s conftest.err; then
|
1747 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1748 | |
cat conftest.er1 >&5
|
1749 | |
mv -f conftest.er1 conftest.err
|
1750 | |
fi
|
1751 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1752 | |
test $ac_status = 0; } > conftest.i && {
|
1753 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1754 | |
test ! -s conftest.err
|
1755 | |
}; then :
|
1756 | |
ac_retval=0
|
1757 | |
else
|
1758 | |
$as_echo "$as_me: failed program was:" >&5
|
1759 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1760 | |
|
1761 | |
ac_retval=1
|
1762 | |
fi
|
1763 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1764 | |
as_fn_set_status $ac_retval
|
1765 | |
|
1766 | |
} # ac_fn_c_try_cpp
|
1767 | |
|
1768 | |
# ac_fn_c_try_run LINENO
|
1769 | |
# ----------------------
|
1770 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1771 | |
# that executables *can* be run.
|
1772 | |
ac_fn_c_try_run ()
|
1773 | |
{
|
1774 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1775 | |
if { { ac_try="$ac_link"
|
1776 | |
case "(($ac_try" in
|
1777 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1778 | |
*) ac_try_echo=$ac_try;;
|
1779 | |
esac
|
1780 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1781 | |
$as_echo "$ac_try_echo"; } >&5
|
1782 | |
(eval "$ac_link") 2>&5
|
1783 | |
ac_status=$?
|
1784 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1785 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1786 | |
{ { case "(($ac_try" in
|
1787 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1788 | |
*) ac_try_echo=$ac_try;;
|
1789 | |
esac
|
1790 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1791 | |
$as_echo "$ac_try_echo"; } >&5
|
1792 | |
(eval "$ac_try") 2>&5
|
1793 | |
ac_status=$?
|
1794 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1795 | |
test $ac_status = 0; }; }; then :
|
1796 | |
ac_retval=0
|
1797 | |
else
|
1798 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1799 | |
$as_echo "$as_me: failed program was:" >&5
|
1800 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1801 | |
|
1802 | |
ac_retval=$ac_status
|
1803 | |
fi
|
1804 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1805 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1806 | |
as_fn_set_status $ac_retval
|
1807 | |
|
1808 | |
} # ac_fn_c_try_run
|
1809 | 1761 |
|
1810 | 1762 |
# ac_fn_c_check_func LINENO FUNC VAR
|
1811 | 1763 |
# ----------------------------------
|
|
1813 | 1765 |
ac_fn_c_check_func ()
|
1814 | 1766 |
{
|
1815 | 1767 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1816 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1817 | |
$as_echo_n "checking for $2... " >&6; }
|
1818 | |
if eval \${$3+:} false; then :
|
1819 | |
$as_echo_n "(cached) " >&6
|
1820 | |
else
|
|
1768 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1769 |
printf %s "checking for $2... " >&6; }
|
|
1770 |
if eval test \${$3+y}
|
|
1771 |
then :
|
|
1772 |
printf %s "(cached) " >&6
|
|
1773 |
else $as_nop
|
1821 | 1774 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1822 | 1775 |
/* end confdefs.h. */
|
1823 | 1776 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1825 | 1778 |
#define $2 innocuous_$2
|
1826 | 1779 |
|
1827 | 1780 |
/* System header to define __stub macros and hopefully few prototypes,
|
1828 | |
which can conflict with char $2 (); below.
|
1829 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1830 | |
<limits.h> exists even on freestanding compilers. */
|
1831 | |
|
1832 | |
#ifdef __STDC__
|
1833 | |
# include <limits.h>
|
1834 | |
#else
|
1835 | |
# include <assert.h>
|
1836 | |
#endif
|
1837 | |
|
|
1781 |
which can conflict with char $2 (); below. */
|
|
1782 |
|
|
1783 |
#include <limits.h>
|
1838 | 1784 |
#undef $2
|
1839 | 1785 |
|
1840 | 1786 |
/* Override any GCC internal prototype to avoid an error.
|
|
1852 | 1798 |
#endif
|
1853 | 1799 |
|
1854 | 1800 |
int
|
1855 | |
main ()
|
|
1801 |
main (void)
|
1856 | 1802 |
{
|
1857 | 1803 |
return $2 ();
|
1858 | 1804 |
;
|
1859 | 1805 |
return 0;
|
1860 | 1806 |
}
|
1861 | 1807 |
_ACEOF
|
1862 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1808 |
if ac_fn_c_try_link "$LINENO"
|
|
1809 |
then :
|
1863 | 1810 |
eval "$3=yes"
|
1864 | |
else
|
|
1811 |
else $as_nop
|
1865 | 1812 |
eval "$3=no"
|
1866 | 1813 |
fi
|
1867 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
1814 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
1868 | 1815 |
conftest$ac_exeext conftest.$ac_ext
|
1869 | 1816 |
fi
|
1870 | 1817 |
eval ac_res=\$$3
|
1871 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1872 | |
$as_echo "$ac_res" >&6; }
|
|
1818 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1819 |
printf "%s\n" "$ac_res" >&6; }
|
1873 | 1820 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1874 | 1821 |
|
1875 | 1822 |
} # ac_fn_c_check_func
|
|
1886 | 1833 |
*) ac_try_echo=$ac_try;;
|
1887 | 1834 |
esac
|
1888 | 1835 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1889 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1836 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1890 | 1837 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1891 | 1838 |
ac_status=$?
|
1892 | 1839 |
if test -s conftest.err; then
|
|
1894 | 1841 |
cat conftest.er1 >&5
|
1895 | 1842 |
mv -f conftest.er1 conftest.err
|
1896 | 1843 |
fi
|
1897 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1844 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1898 | 1845 |
test $ac_status = 0; } > conftest.i && {
|
1899 | 1846 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
1900 | 1847 |
test ! -s conftest.err
|
1901 | |
}; then :
|
|
1848 |
}
|
|
1849 |
then :
|
1902 | 1850 |
ac_retval=0
|
1903 | |
else
|
1904 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1851 |
else $as_nop
|
|
1852 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1905 | 1853 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1906 | 1854 |
|
1907 | 1855 |
ac_retval=1
|
|
1917 | 1865 |
ac_fn_cxx_try_link ()
|
1918 | 1866 |
{
|
1919 | 1867 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1920 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1868 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
1921 | 1869 |
if { { ac_try="$ac_link"
|
1922 | 1870 |
case "(($ac_try" in
|
1923 | 1871 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1924 | 1872 |
*) ac_try_echo=$ac_try;;
|
1925 | 1873 |
esac
|
1926 | 1874 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1927 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1875 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1928 | 1876 |
(eval "$ac_link") 2>conftest.err
|
1929 | 1877 |
ac_status=$?
|
1930 | 1878 |
if test -s conftest.err; then
|
|
1932 | 1880 |
cat conftest.er1 >&5
|
1933 | 1881 |
mv -f conftest.er1 conftest.err
|
1934 | 1882 |
fi
|
1935 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1883 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1936 | 1884 |
test $ac_status = 0; } && {
|
1937 | 1885 |
test -z "$ac_cxx_werror_flag" ||
|
1938 | 1886 |
test ! -s conftest.err
|
1939 | 1887 |
} && test -s conftest$ac_exeext && {
|
1940 | 1888 |
test "$cross_compiling" = yes ||
|
1941 | 1889 |
test -x conftest$ac_exeext
|
1942 | |
}; then :
|
|
1890 |
}
|
|
1891 |
then :
|
1943 | 1892 |
ac_retval=0
|
1944 | |
else
|
1945 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1893 |
else $as_nop
|
|
1894 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1946 | 1895 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1947 | 1896 |
|
1948 | 1897 |
ac_retval=1
|
|
1957 | 1906 |
|
1958 | 1907 |
} # ac_fn_cxx_try_link
|
1959 | 1908 |
|
1960 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1961 | |
# -------------------------------------------------------
|
1962 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1963 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1964 | |
# accordingly.
|
1965 | |
ac_fn_c_check_header_mongrel ()
|
|
1909 |
# ac_fn_c_try_run LINENO
|
|
1910 |
# ----------------------
|
|
1911 |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
|
|
1912 |
# executables *can* be run.
|
|
1913 |
ac_fn_c_try_run ()
|
1966 | 1914 |
{
|
1967 | 1915 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1968 | |
if eval \${$3+:} false; then :
|
1969 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1970 | |
$as_echo_n "checking for $2... " >&6; }
|
1971 | |
if eval \${$3+:} false; then :
|
1972 | |
$as_echo_n "(cached) " >&6
|
1973 | |
fi
|
1974 | |
eval ac_res=\$$3
|
1975 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1976 | |
$as_echo "$ac_res" >&6; }
|
1977 | |
else
|
1978 | |
# Is the header compilable?
|
1979 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1980 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1981 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1982 | |
/* end confdefs.h. */
|
1983 | |
$4
|
1984 | |
#include <$2>
|
1985 | |
_ACEOF
|
1986 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1987 | |
ac_header_compiler=yes
|
1988 | |
else
|
1989 | |
ac_header_compiler=no
|
1990 | |
fi
|
1991 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1992 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1993 | |
$as_echo "$ac_header_compiler" >&6; }
|
1994 | |
|
1995 | |
# Is the header present?
|
1996 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1997 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1998 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1999 | |
/* end confdefs.h. */
|
2000 | |
#include <$2>
|
2001 | |
_ACEOF
|
2002 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
2003 | |
ac_header_preproc=yes
|
2004 | |
else
|
2005 | |
ac_header_preproc=no
|
2006 | |
fi
|
2007 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
2008 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
2009 | |
$as_echo "$ac_header_preproc" >&6; }
|
2010 | |
|
2011 | |
# So? What about this header?
|
2012 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
2013 | |
yes:no: )
|
2014 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
2015 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
2016 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2017 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2018 | |
;;
|
2019 | |
no:yes:* )
|
2020 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
2021 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
2022 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
2023 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
2024 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
2025 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
2026 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
2027 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
2028 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2029 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2030 | |
( $as_echo "## ----------------------------- ##
|
2031 | |
## Report this to wstech@sil.org ##
|
2032 | |
## ----------------------------- ##"
|
2033 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
2034 | |
;;
|
|
1916 |
if { { ac_try="$ac_link"
|
|
1917 |
case "(($ac_try" in
|
|
1918 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1919 |
*) ac_try_echo=$ac_try;;
|
2035 | 1920 |
esac
|
2036 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2037 | |
$as_echo_n "checking for $2... " >&6; }
|
2038 | |
if eval \${$3+:} false; then :
|
2039 | |
$as_echo_n "(cached) " >&6
|
2040 | |
else
|
2041 | |
eval "$3=\$ac_header_compiler"
|
2042 | |
fi
|
2043 | |
eval ac_res=\$$3
|
2044 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2045 | |
$as_echo "$ac_res" >&6; }
|
2046 | |
fi
|
|
1921 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1922 |
printf "%s\n" "$ac_try_echo"; } >&5
|
|
1923 |
(eval "$ac_link") 2>&5
|
|
1924 |
ac_status=$?
|
|
1925 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1926 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1927 |
{ { case "(($ac_try" in
|
|
1928 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1929 |
*) ac_try_echo=$ac_try;;
|
|
1930 |
esac
|
|
1931 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1932 |
printf "%s\n" "$ac_try_echo"; } >&5
|
|
1933 |
(eval "$ac_try") 2>&5
|
|
1934 |
ac_status=$?
|
|
1935 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1936 |
test $ac_status = 0; }; }
|
|
1937 |
then :
|
|
1938 |
ac_retval=0
|
|
1939 |
else $as_nop
|
|
1940 |
printf "%s\n" "$as_me: program exited with status $ac_status" >&5
|
|
1941 |
printf "%s\n" "$as_me: failed program was:" >&5
|
|
1942 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1943 |
|
|
1944 |
ac_retval=$ac_status
|
|
1945 |
fi
|
|
1946 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
2047 | 1947 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2048 | |
|
2049 | |
} # ac_fn_c_check_header_mongrel
|
|
1948 |
as_fn_set_status $ac_retval
|
|
1949 |
|
|
1950 |
} # ac_fn_c_try_run
|
|
1951 |
ac_configure_args_raw=
|
|
1952 |
for ac_arg
|
|
1953 |
do
|
|
1954 |
case $ac_arg in
|
|
1955 |
*\'*)
|
|
1956 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1957 |
esac
|
|
1958 |
as_fn_append ac_configure_args_raw " '$ac_arg'"
|
|
1959 |
done
|
|
1960 |
|
|
1961 |
case $ac_configure_args_raw in
|
|
1962 |
*$as_nl*)
|
|
1963 |
ac_safe_unquote= ;;
|
|
1964 |
*)
|
|
1965 |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
|
|
1966 |
ac_unsafe_a="$ac_unsafe_z#~"
|
|
1967 |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
|
|
1968 |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
|
|
1969 |
esac
|
|
1970 |
|
2050 | 1971 |
cat >config.log <<_ACEOF
|
2051 | 1972 |
This file contains any messages produced by compilers while
|
2052 | 1973 |
running configure, to aid debugging if configure makes a mistake.
|
2053 | 1974 |
|
2054 | 1975 |
It was created by teckit $as_me 2.5.11, which was
|
2055 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
2056 | |
|
2057 | |
$ $0 $@
|
|
1976 |
generated by GNU Autoconf 2.71. Invocation command line was
|
|
1977 |
|
|
1978 |
$ $0$ac_configure_args_raw
|
2058 | 1979 |
|
2059 | 1980 |
_ACEOF
|
2060 | 1981 |
exec 5>>config.log
|
|
2087 | 2008 |
for as_dir in $PATH
|
2088 | 2009 |
do
|
2089 | 2010 |
IFS=$as_save_IFS
|
2090 | |
test -z "$as_dir" && as_dir=.
|
2091 | |
$as_echo "PATH: $as_dir"
|
|
2011 |
case $as_dir in #(((
|
|
2012 |
'') as_dir=./ ;;
|
|
2013 |
*/) ;;
|
|
2014 |
*) as_dir=$as_dir/ ;;
|
|
2015 |
esac
|
|
2016 |
printf "%s\n" "PATH: $as_dir"
|
2092 | 2017 |
done
|
2093 | 2018 |
IFS=$as_save_IFS
|
2094 | 2019 |
|
|
2123 | 2048 |
| -silent | --silent | --silen | --sile | --sil)
|
2124 | 2049 |
continue ;;
|
2125 | 2050 |
*\'*)
|
2126 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2051 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2127 | 2052 |
esac
|
2128 | 2053 |
case $ac_pass in
|
2129 | 2054 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
2158 | 2083 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2159 | 2084 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
2160 | 2085 |
trap 'exit_status=$?
|
|
2086 |
# Sanitize IFS.
|
|
2087 |
IFS=" "" $as_nl"
|
2161 | 2088 |
# Save into config.log some information that might help in debugging.
|
2162 | 2089 |
{
|
2163 | 2090 |
echo
|
2164 | 2091 |
|
2165 | |
$as_echo "## ---------------- ##
|
|
2092 |
printf "%s\n" "## ---------------- ##
|
2166 | 2093 |
## Cache variables. ##
|
2167 | 2094 |
## ---------------- ##"
|
2168 | 2095 |
echo
|
|
2173 | 2100 |
case $ac_val in #(
|
2174 | 2101 |
*${as_nl}*)
|
2175 | 2102 |
case $ac_var in #(
|
2176 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2177 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
2103 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2104 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2178 | 2105 |
esac
|
2179 | 2106 |
case $ac_var in #(
|
2180 | 2107 |
_ | IFS | as_nl) ;; #(
|
|
2198 | 2125 |
)
|
2199 | 2126 |
echo
|
2200 | 2127 |
|
2201 | |
$as_echo "## ----------------- ##
|
|
2128 |
printf "%s\n" "## ----------------- ##
|
2202 | 2129 |
## Output variables. ##
|
2203 | 2130 |
## ----------------- ##"
|
2204 | 2131 |
echo
|
|
2206 | 2133 |
do
|
2207 | 2134 |
eval ac_val=\$$ac_var
|
2208 | 2135 |
case $ac_val in
|
2209 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2136 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2210 | 2137 |
esac
|
2211 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2138 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2212 | 2139 |
done | sort
|
2213 | 2140 |
echo
|
2214 | 2141 |
|
2215 | 2142 |
if test -n "$ac_subst_files"; then
|
2216 | |
$as_echo "## ------------------- ##
|
|
2143 |
printf "%s\n" "## ------------------- ##
|
2217 | 2144 |
## File substitutions. ##
|
2218 | 2145 |
## ------------------- ##"
|
2219 | 2146 |
echo
|
|
2221 | 2148 |
do
|
2222 | 2149 |
eval ac_val=\$$ac_var
|
2223 | 2150 |
case $ac_val in
|
2224 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2151 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2225 | 2152 |
esac
|
2226 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2153 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2227 | 2154 |
done | sort
|
2228 | 2155 |
echo
|
2229 | 2156 |
fi
|
2230 | 2157 |
|
2231 | 2158 |
if test -s confdefs.h; then
|
2232 | |
$as_echo "## ----------- ##
|
|
2159 |
printf "%s\n" "## ----------- ##
|
2233 | 2160 |
## confdefs.h. ##
|
2234 | 2161 |
## ----------- ##"
|
2235 | 2162 |
echo
|
|
2237 | 2164 |
echo
|
2238 | 2165 |
fi
|
2239 | 2166 |
test "$ac_signal" != 0 &&
|
2240 | |
$as_echo "$as_me: caught signal $ac_signal"
|
2241 | |
$as_echo "$as_me: exit $exit_status"
|
|
2167 |
printf "%s\n" "$as_me: caught signal $ac_signal"
|
|
2168 |
printf "%s\n" "$as_me: exit $exit_status"
|
2242 | 2169 |
} >&5
|
2243 | 2170 |
rm -f core *.core core.conftest.* &&
|
2244 | 2171 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
2252 | 2179 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2253 | 2180 |
rm -f -r conftest* confdefs.h
|
2254 | 2181 |
|
2255 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2182 |
printf "%s\n" "/* confdefs.h */" > confdefs.h
|
2256 | 2183 |
|
2257 | 2184 |
# Predefined preprocessor variables.
|
2258 | 2185 |
|
2259 | |
cat >>confdefs.h <<_ACEOF
|
2260 | |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2261 | |
_ACEOF
|
2262 | |
|
2263 | |
cat >>confdefs.h <<_ACEOF
|
2264 | |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2265 | |
_ACEOF
|
2266 | |
|
2267 | |
cat >>confdefs.h <<_ACEOF
|
2268 | |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2269 | |
_ACEOF
|
2270 | |
|
2271 | |
cat >>confdefs.h <<_ACEOF
|
2272 | |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2273 | |
_ACEOF
|
2274 | |
|
2275 | |
cat >>confdefs.h <<_ACEOF
|
2276 | |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2277 | |
_ACEOF
|
2278 | |
|
2279 | |
cat >>confdefs.h <<_ACEOF
|
2280 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2281 | |
_ACEOF
|
|
2186 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
|
|
2187 |
|
|
2188 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
|
|
2189 |
|
|
2190 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
|
|
2191 |
|
|
2192 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
|
|
2193 |
|
|
2194 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
|
|
2195 |
|
|
2196 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
|
2282 | 2197 |
|
2283 | 2198 |
|
2284 | 2199 |
# Let the site file select an alternate cache file if it wants to.
|
2285 | 2200 |
# Prefer an explicitly selected file to automatically selected ones.
|
2286 | |
ac_site_file1=NONE
|
2287 | |
ac_site_file2=NONE
|
2288 | 2201 |
if test -n "$CONFIG_SITE"; then
|
2289 | |
# We do not want a PATH search for config.site.
|
2290 | |
case $CONFIG_SITE in #((
|
2291 | |
-*) ac_site_file1=./$CONFIG_SITE;;
|
2292 | |
*/*) ac_site_file1=$CONFIG_SITE;;
|
2293 | |
*) ac_site_file1=./$CONFIG_SITE;;
|
2294 | |
esac
|
|
2202 |
ac_site_files="$CONFIG_SITE"
|
2295 | 2203 |
elif test "x$prefix" != xNONE; then
|
2296 | |
ac_site_file1=$prefix/share/config.site
|
2297 | |
ac_site_file2=$prefix/etc/config.site
|
|
2204 |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
|
2298 | 2205 |
else
|
2299 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2300 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2301 | |
fi
|
2302 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
2206 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
2207 |
fi
|
|
2208 |
|
|
2209 |
for ac_site_file in $ac_site_files
|
2303 | 2210 |
do
|
2304 | |
test "x$ac_site_file" = xNONE && continue
|
2305 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2306 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2307 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2211 |
case $ac_site_file in #(
|
|
2212 |
*/*) :
|
|
2213 |
;; #(
|
|
2214 |
*) :
|
|
2215 |
ac_site_file=./$ac_site_file ;;
|
|
2216 |
esac
|
|
2217 |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2218 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2219 |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
|
2308 | 2220 |
sed 's/^/| /' "$ac_site_file" >&5
|
2309 | 2221 |
. "$ac_site_file" \
|
2310 | |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2311 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2222 |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2223 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
2312 | 2224 |
as_fn_error $? "failed to load site script $ac_site_file
|
2313 | 2225 |
See \`config.log' for more details" "$LINENO" 5; }
|
2314 | 2226 |
fi
|
|
2318 | 2230 |
# Some versions of bash will fail to source /dev/null (special files
|
2319 | 2231 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2320 | 2232 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2321 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2322 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
2233 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2234 |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
|
2323 | 2235 |
case $cache_file in
|
2324 | 2236 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2325 | 2237 |
*) . "./$cache_file";;
|
2326 | 2238 |
esac
|
2327 | 2239 |
fi
|
2328 | 2240 |
else
|
2329 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2330 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
2241 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2242 |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
|
2331 | 2243 |
>$cache_file
|
|
2244 |
fi
|
|
2245 |
|
|
2246 |
# Test code for whether the C++ compiler supports C++98 (global declarations)
|
|
2247 |
ac_cxx_conftest_cxx98_globals='
|
|
2248 |
// Does the compiler advertise C++98 conformance?
|
|
2249 |
#if !defined __cplusplus || __cplusplus < 199711L
|
|
2250 |
# error "Compiler does not advertise C++98 conformance"
|
|
2251 |
#endif
|
|
2252 |
|
|
2253 |
// These inclusions are to reject old compilers that
|
|
2254 |
// lack the unsuffixed header files.
|
|
2255 |
#include <cstdlib>
|
|
2256 |
#include <exception>
|
|
2257 |
|
|
2258 |
// <cassert> and <cstring> are *not* freestanding headers in C++98.
|
|
2259 |
extern void assert (int);
|
|
2260 |
namespace std {
|
|
2261 |
extern int strcmp (const char *, const char *);
|
|
2262 |
}
|
|
2263 |
|
|
2264 |
// Namespaces, exceptions, and templates were all added after "C++ 2.0".
|
|
2265 |
using std::exception;
|
|
2266 |
using std::strcmp;
|
|
2267 |
|
|
2268 |
namespace {
|
|
2269 |
|
|
2270 |
void test_exception_syntax()
|
|
2271 |
{
|
|
2272 |
try {
|
|
2273 |
throw "test";
|
|
2274 |
} catch (const char *s) {
|
|
2275 |
// Extra parentheses suppress a warning when building autoconf itself,
|
|
2276 |
// due to lint rules shared with more typical C programs.
|
|
2277 |
assert (!(strcmp) (s, "test"));
|
|
2278 |
}
|
|
2279 |
}
|
|
2280 |
|
|
2281 |
template <typename T> struct test_template
|
|
2282 |
{
|
|
2283 |
T const val;
|
|
2284 |
explicit test_template(T t) : val(t) {}
|
|
2285 |
template <typename U> T add(U u) { return static_cast<T>(u) + val; }
|
|
2286 |
};
|
|
2287 |
|
|
2288 |
} // anonymous namespace
|
|
2289 |
'
|
|
2290 |
|
|
2291 |
# Test code for whether the C++ compiler supports C++98 (body of main)
|
|
2292 |
ac_cxx_conftest_cxx98_main='
|
|
2293 |
assert (argc);
|
|
2294 |
assert (! argv[0]);
|
|
2295 |
{
|
|
2296 |
test_exception_syntax ();
|
|
2297 |
test_template<double> tt (2.0);
|
|
2298 |
assert (tt.add (4) == 6.0);
|
|
2299 |
assert (true && !false);
|
|
2300 |
}
|
|
2301 |
'
|
|
2302 |
|
|
2303 |
# Test code for whether the C++ compiler supports C++11 (global declarations)
|
|
2304 |
ac_cxx_conftest_cxx11_globals='
|
|
2305 |
// Does the compiler advertise C++ 2011 conformance?
|
|
2306 |
#if !defined __cplusplus || __cplusplus < 201103L
|
|
2307 |
# error "Compiler does not advertise C++11 conformance"
|
|
2308 |
#endif
|
|
2309 |
|
|
2310 |
namespace cxx11test
|
|
2311 |
{
|
|
2312 |
constexpr int get_val() { return 20; }
|
|
2313 |
|
|
2314 |
struct testinit
|
|
2315 |
{
|
|
2316 |
int i;
|
|
2317 |
double d;
|
|
2318 |
};
|
|
2319 |
|
|
2320 |
class delegate
|
|
2321 |
{
|
|
2322 |
public:
|
|
2323 |
delegate(int n) : n(n) {}
|
|
2324 |
delegate(): delegate(2354) {}
|
|
2325 |
|
|
2326 |
virtual int getval() { return this->n; };
|
|
2327 |
protected:
|
|
2328 |
int n;
|
|
2329 |
};
|
|
2330 |
|
|
2331 |
class overridden : public delegate
|
|
2332 |
{
|
|
2333 |
public:
|
|
2334 |
overridden(int n): delegate(n) {}
|
|
2335 |
virtual int getval() override final { return this->n * 2; }
|
|
2336 |
};
|
|
2337 |
|
|
2338 |
class nocopy
|
|
2339 |
{
|
|
2340 |
public:
|
|
2341 |
nocopy(int i): i(i) {}
|
|
2342 |
nocopy() = default;
|
|
2343 |
nocopy(const nocopy&) = delete;
|
|
2344 |
nocopy & operator=(const nocopy&) = delete;
|
|
2345 |
private:
|
|
2346 |
int i;
|
|
2347 |
};
|
|
2348 |
|
|
2349 |
// for testing lambda expressions
|
|
2350 |
template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
|
|
2351 |
{
|
|
2352 |
return f(v);
|
|
2353 |
}
|
|
2354 |
|
|
2355 |
// for testing variadic templates and trailing return types
|
|
2356 |
template <typename V> auto sum(V first) -> V
|
|
2357 |
{
|
|
2358 |
return first;
|
|
2359 |
}
|
|
2360 |
template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
|
|
2361 |
{
|
|
2362 |
return first + sum(rest...);
|
|
2363 |
}
|
|
2364 |
}
|
|
2365 |
'
|
|
2366 |
|
|
2367 |
# Test code for whether the C++ compiler supports C++11 (body of main)
|
|
2368 |
ac_cxx_conftest_cxx11_main='
|
|
2369 |
{
|
|
2370 |
// Test auto and decltype
|
|
2371 |
auto a1 = 6538;
|
|
2372 |
auto a2 = 48573953.4;
|
|
2373 |
auto a3 = "String literal";
|
|
2374 |
|
|
2375 |
int total = 0;
|
|
2376 |
for (auto i = a3; *i; ++i) { total += *i; }
|
|
2377 |
|
|
2378 |
decltype(a2) a4 = 34895.034;
|
|
2379 |
}
|
|
2380 |
{
|
|
2381 |
// Test constexpr
|
|
2382 |
short sa[cxx11test::get_val()] = { 0 };
|
|
2383 |
}
|
|
2384 |
{
|
|
2385 |
// Test initializer lists
|
|
2386 |
cxx11test::testinit il = { 4323, 435234.23544 };
|
|
2387 |
}
|
|
2388 |
{
|
|
2389 |
// Test range-based for
|
|
2390 |
int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
|
|
2391 |
14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|
|
2392 |
for (auto &x : array) { x += 23; }
|
|
2393 |
}
|
|
2394 |
{
|
|
2395 |
// Test lambda expressions
|
|
2396 |
using cxx11test::eval;
|
|
2397 |
assert (eval ([](int x) { return x*2; }, 21) == 42);
|
|
2398 |
double d = 2.0;
|
|
2399 |
assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
|
|
2400 |
assert (d == 5.0);
|
|
2401 |
assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
|
|
2402 |
assert (d == 5.0);
|
|
2403 |
}
|
|
2404 |
{
|
|
2405 |
// Test use of variadic templates
|
|
2406 |
using cxx11test::sum;
|
|
2407 |
auto a = sum(1);
|
|
2408 |
auto b = sum(1, 2);
|
|
2409 |
auto c = sum(1.0, 2.0, 3.0);
|
|
2410 |
}
|
|
2411 |
{
|
|
2412 |
// Test constructor delegation
|
|
2413 |
cxx11test::delegate d1;
|
|
2414 |
cxx11test::delegate d2();
|
|
2415 |
cxx11test::delegate d3(45);
|
|
2416 |
}
|
|
2417 |
{
|
|
2418 |
// Test override and final
|
|
2419 |
cxx11test::overridden o1(55464);
|
|
2420 |
}
|
|
2421 |
{
|
|
2422 |
// Test nullptr
|
|
2423 |
char *c = nullptr;
|
|
2424 |
}
|
|
2425 |
{
|
|
2426 |
// Test template brackets
|
|
2427 |
test_template<::test_template<int>> v(test_template<int>(12));
|
|
2428 |
}
|
|
2429 |
{
|
|
2430 |
// Unicode literals
|
|
2431 |
char const *utf8 = u8"UTF-8 string \u2500";
|
|
2432 |
char16_t const *utf16 = u"UTF-8 string \u2500";
|
|
2433 |
char32_t const *utf32 = U"UTF-32 string \u2500";
|
|
2434 |
}
|
|
2435 |
'
|
|
2436 |
|
|
2437 |
# Test code for whether the C compiler supports C++11 (complete).
|
|
2438 |
ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
|
|
2439 |
${ac_cxx_conftest_cxx11_globals}
|
|
2440 |
|
|
2441 |
int
|
|
2442 |
main (int argc, char **argv)
|
|
2443 |
{
|
|
2444 |
int ok = 0;
|
|
2445 |
${ac_cxx_conftest_cxx98_main}
|
|
2446 |
${ac_cxx_conftest_cxx11_main}
|
|
2447 |
return ok;
|
|
2448 |
}
|
|
2449 |
"
|
|
2450 |
|
|
2451 |
# Test code for whether the C compiler supports C++98 (complete).
|
|
2452 |
ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
|
|
2453 |
int
|
|
2454 |
main (int argc, char **argv)
|
|
2455 |
{
|
|
2456 |
int ok = 0;
|
|
2457 |
${ac_cxx_conftest_cxx98_main}
|
|
2458 |
return ok;
|
|
2459 |
}
|
|
2460 |
"
|
|
2461 |
|
|
2462 |
# Test code for whether the C compiler supports C89 (global declarations)
|
|
2463 |
ac_c_conftest_c89_globals='
|
|
2464 |
/* Does the compiler advertise C89 conformance?
|
|
2465 |
Do not test the value of __STDC__, because some compilers set it to 0
|
|
2466 |
while being otherwise adequately conformant. */
|
|
2467 |
#if !defined __STDC__
|
|
2468 |
# error "Compiler does not advertise C89 conformance"
|
|
2469 |
#endif
|
|
2470 |
|
|
2471 |
#include <stddef.h>
|
|
2472 |
#include <stdarg.h>
|
|
2473 |
struct stat;
|
|
2474 |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
|
2475 |
struct buf { int x; };
|
|
2476 |
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2477 |
static char *e (p, i)
|
|
2478 |
char **p;
|
|
2479 |
int i;
|
|
2480 |
{
|
|
2481 |
return p[i];
|
|
2482 |
}
|
|
2483 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
2484 |
{
|
|
2485 |
char *s;
|
|
2486 |
va_list v;
|
|
2487 |
va_start (v,p);
|
|
2488 |
s = g (p, va_arg (v,int));
|
|
2489 |
va_end (v);
|
|
2490 |
return s;
|
|
2491 |
}
|
|
2492 |
|
|
2493 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
2494 |
function prototypes and stuff, but not \xHH hex character constants.
|
|
2495 |
These do not provoke an error unfortunately, instead are silently treated
|
|
2496 |
as an "x". The following induces an error, until -std is added to get
|
|
2497 |
proper ANSI mode. Curiously \x00 != x always comes out true, for an
|
|
2498 |
array size at least. It is necessary to write \x00 == 0 to get something
|
|
2499 |
that is true only with -std. */
|
|
2500 |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
|
|
2501 |
|
|
2502 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
2503 |
inside strings and character constants. */
|
|
2504 |
#define FOO(x) '\''x'\''
|
|
2505 |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
|
|
2506 |
|
|
2507 |
int test (int i, double x);
|
|
2508 |
struct s1 {int (*f) (int a);};
|
|
2509 |
struct s2 {int (*f) (double a);};
|
|
2510 |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
|
|
2511 |
int, int);'
|
|
2512 |
|
|
2513 |
# Test code for whether the C compiler supports C89 (body of main).
|
|
2514 |
ac_c_conftest_c89_main='
|
|
2515 |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
2516 |
'
|
|
2517 |
|
|
2518 |
# Test code for whether the C compiler supports C99 (global declarations)
|
|
2519 |
ac_c_conftest_c99_globals='
|
|
2520 |
// Does the compiler advertise C99 conformance?
|
|
2521 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
|
|
2522 |
# error "Compiler does not advertise C99 conformance"
|
|
2523 |
#endif
|
|
2524 |
|
|
2525 |
#include <stdbool.h>
|
|
2526 |
extern int puts (const char *);
|
|
2527 |
extern int printf (const char *, ...);
|
|
2528 |
extern int dprintf (int, const char *, ...);
|
|
2529 |
extern void *malloc (size_t);
|
|
2530 |
|
|
2531 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
2532 |
// dprintf is used instead of fprintf to avoid needing to declare
|
|
2533 |
// FILE and stderr.
|
|
2534 |
#define debug(...) dprintf (2, __VA_ARGS__)
|
|
2535 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
2536 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
2537 |
static void
|
|
2538 |
test_varargs_macros (void)
|
|
2539 |
{
|
|
2540 |
int x = 1234;
|
|
2541 |
int y = 5678;
|
|
2542 |
debug ("Flag");
|
|
2543 |
debug ("X = %d\n", x);
|
|
2544 |
showlist (The first, second, and third items.);
|
|
2545 |
report (x>y, "x is %d but y is %d", x, y);
|
|
2546 |
}
|
|
2547 |
|
|
2548 |
// Check long long types.
|
|
2549 |
#define BIG64 18446744073709551615ull
|
|
2550 |
#define BIG32 4294967295ul
|
|
2551 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
2552 |
#if !BIG_OK
|
|
2553 |
#error "your preprocessor is broken"
|
|
2554 |
#endif
|
|
2555 |
#if BIG_OK
|
|
2556 |
#else
|
|
2557 |
#error "your preprocessor is broken"
|
|
2558 |
#endif
|
|
2559 |
static long long int bignum = -9223372036854775807LL;
|
|
2560 |
static unsigned long long int ubignum = BIG64;
|
|
2561 |
|
|
2562 |
struct incomplete_array
|
|
2563 |
{
|
|
2564 |
int datasize;
|
|
2565 |
double data[];
|
|
2566 |
};
|
|
2567 |
|
|
2568 |
struct named_init {
|
|
2569 |
int number;
|
|
2570 |
const wchar_t *name;
|
|
2571 |
double average;
|
|
2572 |
};
|
|
2573 |
|
|
2574 |
typedef const char *ccp;
|
|
2575 |
|
|
2576 |
static inline int
|
|
2577 |
test_restrict (ccp restrict text)
|
|
2578 |
{
|
|
2579 |
// See if C++-style comments work.
|
|
2580 |
// Iterate through items via the restricted pointer.
|
|
2581 |
// Also check for declarations in for loops.
|
|
2582 |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
|
|
2583 |
continue;
|
|
2584 |
return 0;
|
|
2585 |
}
|
|
2586 |
|
|
2587 |
// Check varargs and va_copy.
|
|
2588 |
static bool
|
|
2589 |
test_varargs (const char *format, ...)
|
|
2590 |
{
|
|
2591 |
va_list args;
|
|
2592 |
va_start (args, format);
|
|
2593 |
va_list args_copy;
|
|
2594 |
va_copy (args_copy, args);
|
|
2595 |
|
|
2596 |
const char *str = "";
|
|
2597 |
int number = 0;
|
|
2598 |
float fnumber = 0;
|
|
2599 |
|
|
2600 |
while (*format)
|
|
2601 |
{
|
|
2602 |
switch (*format++)
|
|
2603 |
{
|
|
2604 |
case '\''s'\'': // string
|
|
2605 |
str = va_arg (args_copy, const char *);
|
|
2606 |
break;
|
|
2607 |
case '\''d'\'': // int
|
|
2608 |
number = va_arg (args_copy, int);
|
|
2609 |
break;
|
|
2610 |
case '\''f'\'': // float
|
|
2611 |
fnumber = va_arg (args_copy, double);
|
|
2612 |
break;
|
|
2613 |
default:
|
|
2614 |
break;
|
|
2615 |
}
|
|
2616 |
}
|
|
2617 |
va_end (args_copy);
|
|
2618 |
va_end (args);
|
|
2619 |
|
|
2620 |
return *str && number && fnumber;
|
|
2621 |
}
|
|
2622 |
'
|
|
2623 |
|
|
2624 |
# Test code for whether the C compiler supports C99 (body of main).
|
|
2625 |
ac_c_conftest_c99_main='
|
|
2626 |
// Check bool.
|
|
2627 |
_Bool success = false;
|
|
2628 |
success |= (argc != 0);
|
|
2629 |
|
|
2630 |
// Check restrict.
|
|
2631 |
if (test_restrict ("String literal") == 0)
|
|
2632 |
success = true;
|
|
2633 |
char *restrict newvar = "Another string";
|
|
2634 |
|
|
2635 |
// Check varargs.
|
|
2636 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
|
|
2637 |
test_varargs_macros ();
|
|
2638 |
|
|
2639 |
// Check flexible array members.
|
|
2640 |
struct incomplete_array *ia =
|
|
2641 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
2642 |
ia->datasize = 10;
|
|
2643 |
for (int i = 0; i < ia->datasize; ++i)
|
|
2644 |
ia->data[i] = i * 1.234;
|
|
2645 |
|
|
2646 |
// Check named initializers.
|
|
2647 |
struct named_init ni = {
|
|
2648 |
.number = 34,
|
|
2649 |
.name = L"Test wide string",
|
|
2650 |
.average = 543.34343,
|
|
2651 |
};
|
|
2652 |
|
|
2653 |
ni.number = 58;
|
|
2654 |
|
|
2655 |
int dynamic_array[ni.number];
|
|
2656 |
dynamic_array[0] = argv[0][0];
|
|
2657 |
dynamic_array[ni.number - 1] = 543;
|
|
2658 |
|
|
2659 |
// work around unused variable warnings
|
|
2660 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|
|
2661 |
|| dynamic_array[ni.number - 1] != 543);
|
|
2662 |
'
|
|
2663 |
|
|
2664 |
# Test code for whether the C compiler supports C11 (global declarations)
|
|
2665 |
ac_c_conftest_c11_globals='
|
|
2666 |
// Does the compiler advertise C11 conformance?
|
|
2667 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
|
|
2668 |
# error "Compiler does not advertise C11 conformance"
|
|
2669 |
#endif
|
|
2670 |
|
|
2671 |
// Check _Alignas.
|
|
2672 |
char _Alignas (double) aligned_as_double;
|
|
2673 |
char _Alignas (0) no_special_alignment;
|
|
2674 |
extern char aligned_as_int;
|
|
2675 |
char _Alignas (0) _Alignas (int) aligned_as_int;
|
|
2676 |
|
|
2677 |
// Check _Alignof.
|
|
2678 |
enum
|
|
2679 |
{
|
|
2680 |
int_alignment = _Alignof (int),
|
|
2681 |
int_array_alignment = _Alignof (int[100]),
|
|
2682 |
char_alignment = _Alignof (char)
|
|
2683 |
};
|
|
2684 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
|
2685 |
|
|
2686 |
// Check _Noreturn.
|
|
2687 |
int _Noreturn does_not_return (void) { for (;;) continue; }
|
|
2688 |
|
|
2689 |
// Check _Static_assert.
|
|
2690 |
struct test_static_assert
|
|
2691 |
{
|
|
2692 |
int x;
|
|
2693 |
_Static_assert (sizeof (int) <= sizeof (long int),
|
|
2694 |
"_Static_assert does not work in struct");
|
|
2695 |
long int y;
|
|
2696 |
};
|
|
2697 |
|
|
2698 |
// Check UTF-8 literals.
|
|
2699 |
#define u8 syntax error!
|
|
2700 |
char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
|
2701 |
|
|
2702 |
// Check duplicate typedefs.
|
|
2703 |
typedef long *long_ptr;
|
|
2704 |
typedef long int *long_ptr;
|
|
2705 |
typedef long_ptr long_ptr;
|
|
2706 |
|
|
2707 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
|
|
2708 |
struct anonymous
|
|
2709 |
{
|
|
2710 |
union {
|
|
2711 |
struct { int i; int j; };
|
|
2712 |
struct { int k; long int l; } w;
|
|
2713 |
};
|
|
2714 |
int m;
|
|
2715 |
} v1;
|
|
2716 |
'
|
|
2717 |
|
|
2718 |
# Test code for whether the C compiler supports C11 (body of main).
|
|
2719 |
ac_c_conftest_c11_main='
|
|
2720 |
_Static_assert ((offsetof (struct anonymous, i)
|
|
2721 |
== offsetof (struct anonymous, w.k)),
|
|
2722 |
"Anonymous union alignment botch");
|
|
2723 |
v1.i = 2;
|
|
2724 |
v1.w.k = 5;
|
|
2725 |
ok |= v1.i != 5;
|
|
2726 |
'
|
|
2727 |
|
|
2728 |
# Test code for whether the C compiler supports C11 (complete).
|
|
2729 |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
|
|
2730 |
${ac_c_conftest_c99_globals}
|
|
2731 |
${ac_c_conftest_c11_globals}
|
|
2732 |
|
|
2733 |
int
|
|
2734 |
main (int argc, char **argv)
|
|
2735 |
{
|
|
2736 |
int ok = 0;
|
|
2737 |
${ac_c_conftest_c89_main}
|
|
2738 |
${ac_c_conftest_c99_main}
|
|
2739 |
${ac_c_conftest_c11_main}
|
|
2740 |
return ok;
|
|
2741 |
}
|
|
2742 |
"
|
|
2743 |
|
|
2744 |
# Test code for whether the C compiler supports C99 (complete).
|
|
2745 |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
|
|
2746 |
${ac_c_conftest_c99_globals}
|
|
2747 |
|
|
2748 |
int
|
|
2749 |
main (int argc, char **argv)
|
|
2750 |
{
|
|
2751 |
int ok = 0;
|
|
2752 |
${ac_c_conftest_c89_main}
|
|
2753 |
${ac_c_conftest_c99_main}
|
|
2754 |
return ok;
|
|
2755 |
}
|
|
2756 |
"
|
|
2757 |
|
|
2758 |
# Test code for whether the C compiler supports C89 (complete).
|
|
2759 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
|
|
2760 |
|
|
2761 |
int
|
|
2762 |
main (int argc, char **argv)
|
|
2763 |
{
|
|
2764 |
int ok = 0;
|
|
2765 |
${ac_c_conftest_c89_main}
|
|
2766 |
return ok;
|
|
2767 |
}
|
|
2768 |
"
|
|
2769 |
|
|
2770 |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
|
|
2771 |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
|
|
2772 |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
|
|
2773 |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
|
|
2774 |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
|
|
2775 |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
|
|
2776 |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
|
|
2777 |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
|
|
2778 |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
|
|
2779 |
|
|
2780 |
# Auxiliary files required by this configure script.
|
|
2781 |
ac_aux_files="ltmain.sh compile missing install-sh config.guess config.sub"
|
|
2782 |
|
|
2783 |
# Locations in which to look for auxiliary files.
|
|
2784 |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
|
|
2785 |
|
|
2786 |
# Search for a directory containing all of the required auxiliary files,
|
|
2787 |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
|
|
2788 |
# If we don't find one directory that contains all the files we need,
|
|
2789 |
# we report the set of missing files from the *first* directory in
|
|
2790 |
# $ac_aux_dir_candidates and give up.
|
|
2791 |
ac_missing_aux_files=""
|
|
2792 |
ac_first_candidate=:
|
|
2793 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
|
|
2794 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2795 |
as_found=false
|
|
2796 |
for as_dir in $ac_aux_dir_candidates
|
|
2797 |
do
|
|
2798 |
IFS=$as_save_IFS
|
|
2799 |
case $as_dir in #(((
|
|
2800 |
'') as_dir=./ ;;
|
|
2801 |
*/) ;;
|
|
2802 |
*) as_dir=$as_dir/ ;;
|
|
2803 |
esac
|
|
2804 |
as_found=:
|
|
2805 |
|
|
2806 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
|
|
2807 |
ac_aux_dir_found=yes
|
|
2808 |
ac_install_sh=
|
|
2809 |
for ac_aux in $ac_aux_files
|
|
2810 |
do
|
|
2811 |
# As a special case, if "install-sh" is required, that requirement
|
|
2812 |
# can be satisfied by any of "install-sh", "install.sh", or "shtool",
|
|
2813 |
# and $ac_install_sh is set appropriately for whichever one is found.
|
|
2814 |
if test x"$ac_aux" = x"install-sh"
|
|
2815 |
then
|
|
2816 |
if test -f "${as_dir}install-sh"; then
|
|
2817 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
|
|
2818 |
ac_install_sh="${as_dir}install-sh -c"
|
|
2819 |
elif test -f "${as_dir}install.sh"; then
|
|
2820 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
|
|
2821 |
ac_install_sh="${as_dir}install.sh -c"
|
|
2822 |
elif test -f "${as_dir}shtool"; then
|
|
2823 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
|
|
2824 |
ac_install_sh="${as_dir}shtool install -c"
|
|
2825 |
else
|
|
2826 |
ac_aux_dir_found=no
|
|
2827 |
if $ac_first_candidate; then
|
|
2828 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh"
|
|
2829 |
else
|
|
2830 |
break
|
|
2831 |
fi
|
|
2832 |
fi
|
|
2833 |
else
|
|
2834 |
if test -f "${as_dir}${ac_aux}"; then
|
|
2835 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
|
|
2836 |
else
|
|
2837 |
ac_aux_dir_found=no
|
|
2838 |
if $ac_first_candidate; then
|
|
2839 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
|
|
2840 |
else
|
|
2841 |
break
|
|
2842 |
fi
|
|
2843 |
fi
|
|
2844 |
fi
|
|
2845 |
done
|
|
2846 |
if test "$ac_aux_dir_found" = yes; then
|
|
2847 |
ac_aux_dir="$as_dir"
|
|
2848 |
break
|
|
2849 |
fi
|
|
2850 |
ac_first_candidate=false
|
|
2851 |
|
|
2852 |
as_found=false
|
|
2853 |
done
|
|
2854 |
IFS=$as_save_IFS
|
|
2855 |
if $as_found
|
|
2856 |
then :
|
|
2857 |
|
|
2858 |
else $as_nop
|
|
2859 |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
|
|
2860 |
fi
|
|
2861 |
|
|
2862 |
|
|
2863 |
# These three variables are undocumented and unsupported,
|
|
2864 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2865 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2866 |
# whose full name contains unusual characters.
|
|
2867 |
if test -f "${ac_aux_dir}config.guess"; then
|
|
2868 |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
|
|
2869 |
fi
|
|
2870 |
if test -f "${ac_aux_dir}config.sub"; then
|
|
2871 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
|
|
2872 |
fi
|
|
2873 |
if test -f "$ac_aux_dir/configure"; then
|
|
2874 |
ac_configure="$SHELL ${ac_aux_dir}configure"
|
2332 | 2875 |
fi
|
2333 | 2876 |
|
2334 | 2877 |
# Check that the precious variables saved in the cache have kept the same
|
|
2341 | 2884 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2342 | 2885 |
case $ac_old_set,$ac_new_set in
|
2343 | 2886 |
set,)
|
2344 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2345 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2887 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2888 |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2346 | 2889 |
ac_cache_corrupted=: ;;
|
2347 | 2890 |
,set)
|
2348 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2349 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2891 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2892 |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2350 | 2893 |
ac_cache_corrupted=: ;;
|
2351 | 2894 |
,);;
|
2352 | 2895 |
*)
|
|
2355 | 2898 |
ac_old_val_w=`echo x $ac_old_val`
|
2356 | 2899 |
ac_new_val_w=`echo x $ac_new_val`
|
2357 | 2900 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2358 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2359 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2901 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2902 |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2360 | 2903 |
ac_cache_corrupted=:
|
2361 | 2904 |
else
|
2362 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2363 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2905 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2906 |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2364 | 2907 |
eval $ac_var=\$ac_old_val
|
2365 | 2908 |
fi
|
2366 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2367 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2368 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2369 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
2909 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2910 |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2912 |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
|
2370 | 2913 |
fi;;
|
2371 | 2914 |
esac
|
2372 | 2915 |
# Pass precious variables to config.status.
|
2373 | 2916 |
if test "$ac_new_set" = set; then
|
2374 | 2917 |
case $ac_new_val in
|
2375 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2918 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2376 | 2919 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2377 | 2920 |
esac
|
2378 | 2921 |
case " $ac_configure_args " in
|
|
2382 | 2925 |
fi
|
2383 | 2926 |
done
|
2384 | 2927 |
if $ac_cache_corrupted; then
|
2385 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2386 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2387 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2388 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2389 | |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2928 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2929 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2930 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2931 |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2932 |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
|
|
2933 |
and start over" "$LINENO" 5
|
2390 | 2934 |
fi
|
2391 | 2935 |
## -------------------- ##
|
2392 | 2936 |
## Main body of script. ##
|
|
2403 | 2947 |
|
2404 | 2948 |
|
2405 | 2949 |
|
2406 | |
ac_aux_dir=
|
2407 | |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2408 | |
if test -f "$ac_dir/install-sh"; then
|
2409 | |
ac_aux_dir=$ac_dir
|
2410 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2411 | |
break
|
2412 | |
elif test -f "$ac_dir/install.sh"; then
|
2413 | |
ac_aux_dir=$ac_dir
|
2414 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2415 | |
break
|
2416 | |
elif test -f "$ac_dir/shtool"; then
|
2417 | |
ac_aux_dir=$ac_dir
|
2418 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2419 | |
break
|
2420 | |
fi
|
2421 | |
done
|
2422 | |
if test -z "$ac_aux_dir"; then
|
2423 | |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2424 | |
fi
|
2425 | |
|
2426 | |
# These three variables are undocumented and unsupported,
|
2427 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2428 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2429 | |
# whose full name contains unusual characters.
|
2430 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2431 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2432 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2433 | |
|
2434 | |
|
2435 | |
# Make sure we can run config.sub.
|
2436 | |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2437 | |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
2438 | |
|
2439 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2440 | |
$as_echo_n "checking build system type... " >&6; }
|
2441 | |
if ${ac_cv_build+:} false; then :
|
2442 | |
$as_echo_n "(cached) " >&6
|
2443 | |
else
|
|
2950 |
|
|
2951 |
|
|
2952 |
|
|
2953 |
# Make sure we can run config.sub.
|
|
2954 |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
|
|
2955 |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
|
|
2956 |
|
|
2957 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
2958 |
printf %s "checking build system type... " >&6; }
|
|
2959 |
if test ${ac_cv_build+y}
|
|
2960 |
then :
|
|
2961 |
printf %s "(cached) " >&6
|
|
2962 |
else $as_nop
|
2444 | 2963 |
ac_build_alias=$build_alias
|
2445 | 2964 |
test "x$ac_build_alias" = x &&
|
2446 | |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|
2965 |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
|
2447 | 2966 |
test "x$ac_build_alias" = x &&
|
2448 | 2967 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
2449 | |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2450 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
2451 | |
|
2452 | |
fi
|
2453 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2454 | |
$as_echo "$ac_cv_build" >&6; }
|
|
2968 |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
|
|
2969 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
|
|
2970 |
|
|
2971 |
fi
|
|
2972 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
2973 |
printf "%s\n" "$ac_cv_build" >&6; }
|
2455 | 2974 |
case $ac_cv_build in
|
2456 | 2975 |
*-*-*) ;;
|
2457 | 2976 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
|
2470 | 2989 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2471 | 2990 |
|
2472 | 2991 |
|
2473 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2474 | |
$as_echo_n "checking host system type... " >&6; }
|
2475 | |
if ${ac_cv_host+:} false; then :
|
2476 | |
$as_echo_n "(cached) " >&6
|
2477 | |
else
|
|
2992 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
2993 |
printf %s "checking host system type... " >&6; }
|
|
2994 |
if test ${ac_cv_host+y}
|
|
2995 |
then :
|
|
2996 |
printf %s "(cached) " >&6
|
|
2997 |
else $as_nop
|
2478 | 2998 |
if test "x$host_alias" = x; then
|
2479 | 2999 |
ac_cv_host=$ac_cv_build
|
2480 | 3000 |
else
|
2481 | |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2482 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
2483 | |
fi
|
2484 | |
|
2485 | |
fi
|
2486 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2487 | |
$as_echo "$ac_cv_host" >&6; }
|
|
3001 |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
|
|
3002 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
|
|
3003 |
fi
|
|
3004 |
|
|
3005 |
fi
|
|
3006 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
3007 |
printf "%s\n" "$ac_cv_host" >&6; }
|
2488 | 3008 |
case $ac_cv_host in
|
2489 | 3009 |
*-*-*) ;;
|
2490 | 3010 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
|
2503 | 3023 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
2504 | 3024 |
|
2505 | 3025 |
|
2506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
2507 | |
$as_echo_n "checking target system type... " >&6; }
|
2508 | |
if ${ac_cv_target+:} false; then :
|
2509 | |
$as_echo_n "(cached) " >&6
|
2510 | |
else
|
|
3026 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
|
3027 |
printf %s "checking target system type... " >&6; }
|
|
3028 |
if test ${ac_cv_target+y}
|
|
3029 |
then :
|
|
3030 |
printf %s "(cached) " >&6
|
|
3031 |
else $as_nop
|
2511 | 3032 |
if test "x$target_alias" = x; then
|
2512 | 3033 |
ac_cv_target=$ac_cv_host
|
2513 | 3034 |
else
|
2514 | |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
2515 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
2516 | |
fi
|
2517 | |
|
2518 | |
fi
|
2519 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
2520 | |
$as_echo "$ac_cv_target" >&6; }
|
|
3035 |
ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
|
|
3036 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
|
|
3037 |
fi
|
|
3038 |
|
|
3039 |
fi
|
|
3040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
|
3041 |
printf "%s\n" "$ac_cv_target" >&6; }
|
2521 | 3042 |
case $ac_cv_target in
|
2522 | 3043 |
*-*-*) ;;
|
2523 | 3044 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
|
2545 | 3066 |
|
2546 | 3067 |
am__api_version='1.16'
|
2547 | 3068 |
|
2548 | |
# Find a good install program. We prefer a C program (faster),
|
|
3069 |
|
|
3070 |
# Find a good install program. We prefer a C program (faster),
|
2549 | 3071 |
# so one script is as good as another. But avoid the broken or
|
2550 | 3072 |
# incompatible versions:
|
2551 | 3073 |
# SysV /etc/install, /usr/sbin/install
|
|
2559 | 3081 |
# OS/2's system install, which has a completely different semantic
|
2560 | 3082 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2561 | 3083 |
# Reject install programs that cannot install multiple files.
|
2562 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2563 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
3084 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
3085 |
printf %s "checking for a BSD-compatible install... " >&6; }
|
2564 | 3086 |
if test -z "$INSTALL"; then
|
2565 | |
if ${ac_cv_path_install+:} false; then :
|
2566 | |
$as_echo_n "(cached) " >&6
|
2567 | |
else
|
|
3087 |
if test ${ac_cv_path_install+y}
|
|
3088 |
then :
|
|
3089 |
printf %s "(cached) " >&6
|
|
3090 |
else $as_nop
|
2568 | 3091 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2569 | 3092 |
for as_dir in $PATH
|
2570 | 3093 |
do
|
2571 | 3094 |
IFS=$as_save_IFS
|
2572 | |
test -z "$as_dir" && as_dir=.
|
2573 | |
# Account for people who put trailing slashes in PATH elements.
|
2574 | |
case $as_dir/ in #((
|
2575 | |
./ | .// | /[cC]/* | \
|
|
3095 |
case $as_dir in #(((
|
|
3096 |
'') as_dir=./ ;;
|
|
3097 |
*/) ;;
|
|
3098 |
*) as_dir=$as_dir/ ;;
|
|
3099 |
esac
|
|
3100 |
# Account for fact that we put trailing slashes in our PATH walk.
|
|
3101 |
case $as_dir in #((
|
|
3102 |
./ | /[cC]/* | \
|
2576 | 3103 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2577 | 3104 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2578 | 3105 |
/usr/ucb/* ) ;;
|
|
2582 | 3109 |
# by default.
|
2583 | 3110 |
for ac_prog in ginstall scoinst install; do
|
2584 | 3111 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2585 | |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
3112 |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
|
2586 | 3113 |
if test $ac_prog = install &&
|
2587 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3114 |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2588 | 3115 |
# AIX install. It has an incompatible calling convention.
|
2589 | 3116 |
:
|
2590 | 3117 |
elif test $ac_prog = install &&
|
2591 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3118 |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2592 | 3119 |
# program-specific install script used by HP pwplus--don't use.
|
2593 | 3120 |
:
|
2594 | 3121 |
else
|
|
2596 | 3123 |
echo one > conftest.one
|
2597 | 3124 |
echo two > conftest.two
|
2598 | 3125 |
mkdir conftest.dir
|
2599 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
3126 |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
|
2600 | 3127 |
test -s conftest.one && test -s conftest.two &&
|
2601 | 3128 |
test -s conftest.dir/conftest.one &&
|
2602 | 3129 |
test -s conftest.dir/conftest.two
|
2603 | 3130 |
then
|
2604 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
3131 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
|
2605 | 3132 |
break 3
|
2606 | 3133 |
fi
|
2607 | 3134 |
fi
|
|
2617 | 3144 |
rm -rf conftest.one conftest.two conftest.dir
|
2618 | 3145 |
|
2619 | 3146 |
fi
|
2620 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
3147 |
if test ${ac_cv_path_install+y}; then
|
2621 | 3148 |
INSTALL=$ac_cv_path_install
|
2622 | 3149 |
else
|
2623 | 3150 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2627 | 3154 |
INSTALL=$ac_install_sh
|
2628 | 3155 |
fi
|
2629 | 3156 |
fi
|
2630 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2631 | |
$as_echo "$INSTALL" >&6; }
|
|
3157 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
3158 |
printf "%s\n" "$INSTALL" >&6; }
|
2632 | 3159 |
|
2633 | 3160 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2634 | 3161 |
# It thinks the first close brace ends the variable substitution.
|
|
2638 | 3165 |
|
2639 | 3166 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2640 | 3167 |
|
2641 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2642 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
3168 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
3169 |
printf %s "checking whether build environment is sane... " >&6; }
|
2643 | 3170 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2644 | 3171 |
# name. Accept space and tab only in the latter.
|
2645 | 3172 |
am_lf='
|
|
2693 | 3220 |
as_fn_error $? "newly created file is older than distributed files!
|
2694 | 3221 |
Check your system clock" "$LINENO" 5
|
2695 | 3222 |
fi
|
2696 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2697 | |
$as_echo "yes" >&6; }
|
|
3223 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3224 |
printf "%s\n" "yes" >&6; }
|
2698 | 3225 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2699 | 3226 |
# generated files are strictly newer.
|
2700 | 3227 |
am_sleep_pid=
|
|
2713 | 3240 |
# Double any \ or $.
|
2714 | 3241 |
# By default was `s,x,x', remove it if useless.
|
2715 | 3242 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2716 | |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
3243 |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
|
|
3244 |
|
2717 | 3245 |
|
2718 | 3246 |
# Expand $ac_aux_dir to an absolute path.
|
2719 | 3247 |
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
2720 | 3248 |
|
2721 | |
if test x"${MISSING+set}" != xset; then
|
2722 | |
case $am_aux_dir in
|
2723 | |
*\ * | *\ *)
|
2724 | |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
2725 | |
*)
|
2726 | |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
2727 | |
esac
|
|
3249 |
|
|
3250 |
if test x"${MISSING+set}" != xset; then
|
|
3251 |
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
2728 | 3252 |
fi
|
2729 | 3253 |
# Use eval to expand $SHELL
|
2730 | 3254 |
if eval "$MISSING --is-lightweight"; then
|
2731 | 3255 |
am_missing_run="$MISSING "
|
2732 | 3256 |
else
|
2733 | 3257 |
am_missing_run=
|
2734 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
2735 | |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
3258 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
3259 |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
2736 | 3260 |
fi
|
2737 | 3261 |
|
2738 | 3262 |
if test x"${install_sh+set}" != xset; then
|
|
2752 | 3276 |
if test -n "$ac_tool_prefix"; then
|
2753 | 3277 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2754 | 3278 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2755 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2756 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2757 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
2758 | |
$as_echo_n "(cached) " >&6
|
2759 | |
else
|
|
3279 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3280 |
printf %s "checking for $ac_word... " >&6; }
|
|
3281 |
if test ${ac_cv_prog_STRIP+y}
|
|
3282 |
then :
|
|
3283 |
printf %s "(cached) " >&6
|
|
3284 |
else $as_nop
|
2760 | 3285 |
if test -n "$STRIP"; then
|
2761 | 3286 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2762 | 3287 |
else
|
|
2764 | 3289 |
for as_dir in $PATH
|
2765 | 3290 |
do
|
2766 | 3291 |
IFS=$as_save_IFS
|
2767 | |
test -z "$as_dir" && as_dir=.
|
|
3292 |
case $as_dir in #(((
|
|
3293 |
'') as_dir=./ ;;
|
|
3294 |
*/) ;;
|
|
3295 |
*) as_dir=$as_dir/ ;;
|
|
3296 |
esac
|
2768 | 3297 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2769 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3298 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2770 | 3299 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2771 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3300 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2772 | 3301 |
break 2
|
2773 | 3302 |
fi
|
2774 | 3303 |
done
|
|
2779 | 3308 |
fi
|
2780 | 3309 |
STRIP=$ac_cv_prog_STRIP
|
2781 | 3310 |
if test -n "$STRIP"; then
|
2782 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2783 | |
$as_echo "$STRIP" >&6; }
|
|
3311 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
3312 |
printf "%s\n" "$STRIP" >&6; }
|
2784 | 3313 |
else
|
2785 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2786 | |
$as_echo "no" >&6; }
|
|
3314 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3315 |
printf "%s\n" "no" >&6; }
|
2787 | 3316 |
fi
|
2788 | 3317 |
|
2789 | 3318 |
|
|
2792 | 3321 |
ac_ct_STRIP=$STRIP
|
2793 | 3322 |
# Extract the first word of "strip", so it can be a program name with args.
|
2794 | 3323 |
set dummy strip; ac_word=$2
|
2795 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2796 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2797 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2798 | |
$as_echo_n "(cached) " >&6
|
2799 | |
else
|
|
3324 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3325 |
printf %s "checking for $ac_word... " >&6; }
|
|
3326 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
3327 |
then :
|
|
3328 |
printf %s "(cached) " >&6
|
|
3329 |
else $as_nop
|
2800 | 3330 |
if test -n "$ac_ct_STRIP"; then
|
2801 | 3331 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2802 | 3332 |
else
|
|
2804 | 3334 |
for as_dir in $PATH
|
2805 | 3335 |
do
|
2806 | 3336 |
IFS=$as_save_IFS
|
2807 | |
test -z "$as_dir" && as_dir=.
|
|
3337 |
case $as_dir in #(((
|
|
3338 |
'') as_dir=./ ;;
|
|
3339 |
*/) ;;
|
|
3340 |
*) as_dir=$as_dir/ ;;
|
|
3341 |
esac
|
2808 | 3342 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2809 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3343 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2810 | 3344 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2811 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3345 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2812 | 3346 |
break 2
|
2813 | 3347 |
fi
|
2814 | 3348 |
done
|
|
2819 | 3353 |
fi
|
2820 | 3354 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2821 | 3355 |
if test -n "$ac_ct_STRIP"; then
|
2822 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2823 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
3356 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
3357 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
2824 | 3358 |
else
|
2825 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2826 | |
$as_echo "no" >&6; }
|
|
3359 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3360 |
printf "%s\n" "no" >&6; }
|
2827 | 3361 |
fi
|
2828 | 3362 |
|
2829 | 3363 |
if test "x$ac_ct_STRIP" = x; then
|
|
2831 | 3365 |
else
|
2832 | 3366 |
case $cross_compiling:$ac_tool_warned in
|
2833 | 3367 |
yes:)
|
2834 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2835 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3368 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3369 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2836 | 3370 |
ac_tool_warned=yes ;;
|
2837 | 3371 |
esac
|
2838 | 3372 |
STRIP=$ac_ct_STRIP
|
|
2844 | 3378 |
fi
|
2845 | 3379 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2846 | 3380 |
|
2847 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2848 | |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
3381 |
|
|
3382 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
|
|
3383 |
printf %s "checking for a race-free mkdir -p... " >&6; }
|
2849 | 3384 |
if test -z "$MKDIR_P"; then
|
2850 | |
if ${ac_cv_path_mkdir+:} false; then :
|
2851 | |
$as_echo_n "(cached) " >&6
|
2852 | |
else
|
|
3385 |
if test ${ac_cv_path_mkdir+y}
|
|
3386 |
then :
|
|
3387 |
printf %s "(cached) " >&6
|
|
3388 |
else $as_nop
|
2853 | 3389 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2854 | 3390 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
2855 | 3391 |
do
|
2856 | 3392 |
IFS=$as_save_IFS
|
2857 | |
test -z "$as_dir" && as_dir=.
|
|
3393 |
case $as_dir in #(((
|
|
3394 |
'') as_dir=./ ;;
|
|
3395 |
*/) ;;
|
|
3396 |
*) as_dir=$as_dir/ ;;
|
|
3397 |
esac
|
2858 | 3398 |
for ac_prog in mkdir gmkdir; do
|
2859 | 3399 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2860 | |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
2861 | |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
2862 | |
'mkdir (GNU coreutils) '* | \
|
2863 | |
'mkdir (coreutils) '* | \
|
|
3400 |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
|
|
3401 |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
3402 |
'mkdir ('*'coreutils) '* | \
|
|
3403 |
'BusyBox '* | \
|
2864 | 3404 |
'mkdir (fileutils) '4.1*)
|
2865 | |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
3405 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
|
2866 | 3406 |
break 3;;
|
2867 | 3407 |
esac
|
2868 | 3408 |
done
|
|
2873 | 3413 |
fi
|
2874 | 3414 |
|
2875 | 3415 |
test -d ./--version && rmdir ./--version
|
2876 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
3416 |
if test ${ac_cv_path_mkdir+y}; then
|
2877 | 3417 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2878 | 3418 |
else
|
2879 | 3419 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2883 | 3423 |
MKDIR_P="$ac_install_sh -d"
|
2884 | 3424 |
fi
|
2885 | 3425 |
fi
|
2886 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2887 | |
$as_echo "$MKDIR_P" >&6; }
|
|
3426 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
3427 |
printf "%s\n" "$MKDIR_P" >&6; }
|
2888 | 3428 |
|
2889 | 3429 |
for ac_prog in gawk mawk nawk awk
|
2890 | 3430 |
do
|
2891 | 3431 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2892 | 3432 |
set dummy $ac_prog; ac_word=$2
|
2893 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2894 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2895 | |
if ${ac_cv_prog_AWK+:} false; then :
|
2896 | |
$as_echo_n "(cached) " >&6
|
2897 | |
else
|
|
3433 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3434 |
printf %s "checking for $ac_word... " >&6; }
|
|
3435 |
if test ${ac_cv_prog_AWK+y}
|
|
3436 |
then :
|
|
3437 |
printf %s "(cached) " >&6
|
|
3438 |
else $as_nop
|
2898 | 3439 |
if test -n "$AWK"; then
|
2899 | 3440 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
2900 | 3441 |
else
|
|
2902 | 3443 |
for as_dir in $PATH
|
2903 | 3444 |
do
|
2904 | 3445 |
IFS=$as_save_IFS
|
2905 | |
test -z "$as_dir" && as_dir=.
|
|
3446 |
case $as_dir in #(((
|
|
3447 |
'') as_dir=./ ;;
|
|
3448 |
*/) ;;
|
|
3449 |
*) as_dir=$as_dir/ ;;
|
|
3450 |
esac
|
2906 | 3451 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2907 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3452 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2908 | 3453 |
ac_cv_prog_AWK="$ac_prog"
|
2909 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3454 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2910 | 3455 |
break 2
|
2911 | 3456 |
fi
|
2912 | 3457 |
done
|
|
2917 | 3462 |
fi
|
2918 | 3463 |
AWK=$ac_cv_prog_AWK
|
2919 | 3464 |
if test -n "$AWK"; then
|
2920 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2921 | |
$as_echo "$AWK" >&6; }
|
|
3465 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
3466 |
printf "%s\n" "$AWK" >&6; }
|
2922 | 3467 |
else
|
2923 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2924 | |
$as_echo "no" >&6; }
|
|
3468 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3469 |
printf "%s\n" "no" >&6; }
|
2925 | 3470 |
fi
|
2926 | 3471 |
|
2927 | 3472 |
|
2928 | 3473 |
test -n "$AWK" && break
|
2929 | 3474 |
done
|
2930 | 3475 |
|
2931 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2932 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3476 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3477 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2933 | 3478 |
set x ${MAKE-make}
|
2934 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2935 | |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2936 | |
$as_echo_n "(cached) " >&6
|
2937 | |
else
|
|
3479 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3480 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
|
|
3481 |
then :
|
|
3482 |
printf %s "(cached) " >&6
|
|
3483 |
else $as_nop
|
2938 | 3484 |
cat >conftest.make <<\_ACEOF
|
2939 | 3485 |
SHELL = /bin/sh
|
2940 | 3486 |
all:
|
|
2950 | 3496 |
rm -f conftest.make
|
2951 | 3497 |
fi
|
2952 | 3498 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2953 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2954 | |
$as_echo "yes" >&6; }
|
|
3499 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3500 |
printf "%s\n" "yes" >&6; }
|
2955 | 3501 |
SET_MAKE=
|
2956 | 3502 |
else
|
2957 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2958 | |
$as_echo "no" >&6; }
|
|
3503 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3504 |
printf "%s\n" "no" >&6; }
|
2959 | 3505 |
SET_MAKE="MAKE=${MAKE-make}"
|
2960 | 3506 |
fi
|
2961 | 3507 |
|
|
2969 | 3515 |
rmdir .tst 2>/dev/null
|
2970 | 3516 |
|
2971 | 3517 |
# Check whether --enable-silent-rules was given.
|
2972 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3518 |
if test ${enable_silent_rules+y}
|
|
3519 |
then :
|
2973 | 3520 |
enableval=$enable_silent_rules;
|
2974 | 3521 |
fi
|
2975 | 3522 |
|
|
2979 | 3526 |
*) AM_DEFAULT_VERBOSITY=1;;
|
2980 | 3527 |
esac
|
2981 | 3528 |
am_make=${MAKE-make}
|
2982 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
2983 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
2984 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
2985 | |
$as_echo_n "(cached) " >&6
|
2986 | |
else
|
2987 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3529 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3530 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3531 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3532 |
then :
|
|
3533 |
printf %s "(cached) " >&6
|
|
3534 |
else $as_nop
|
|
3535 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
2988 | 3536 |
BAR0=false
|
2989 | 3537 |
BAR1=true
|
2990 | 3538 |
V=1
|
|
2996 | 3544 |
am_cv_make_support_nested_variables=no
|
2997 | 3545 |
fi
|
2998 | 3546 |
fi
|
2999 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
3000 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3547 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3548 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
3001 | 3549 |
if test $am_cv_make_support_nested_variables = yes; then
|
3002 | 3550 |
AM_V='$(V)'
|
3003 | 3551 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
3032 | 3580 |
VERSION='2.5.11'
|
3033 | 3581 |
|
3034 | 3582 |
|
3035 | |
cat >>confdefs.h <<_ACEOF
|
3036 | |
#define PACKAGE "$PACKAGE"
|
3037 | |
_ACEOF
|
3038 | |
|
3039 | |
|
3040 | |
cat >>confdefs.h <<_ACEOF
|
3041 | |
#define VERSION "$VERSION"
|
3042 | |
_ACEOF
|
|
3583 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
|
3584 |
|
|
3585 |
|
|
3586 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
|
3043 | 3587 |
|
3044 | 3588 |
# Some tools Automake needs.
|
3045 | 3589 |
|
|
3077 | 3621 |
|
3078 | 3622 |
|
3079 | 3623 |
|
|
3624 |
|
|
3625 |
|
|
3626 |
# Variables for tags utilities; see am/tags.am
|
|
3627 |
if test -z "$CTAGS"; then
|
|
3628 |
CTAGS=ctags
|
|
3629 |
fi
|
|
3630 |
|
|
3631 |
if test -z "$ETAGS"; then
|
|
3632 |
ETAGS=etags
|
|
3633 |
fi
|
|
3634 |
|
|
3635 |
if test -z "$CSCOPE"; then
|
|
3636 |
CSCOPE=cscope
|
|
3637 |
fi
|
3080 | 3638 |
|
3081 | 3639 |
|
3082 | 3640 |
|
|
3124 | 3682 |
|
3125 | 3683 |
|
3126 | 3684 |
|
3127 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
3128 | |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
|
3685 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
3686 |
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
3129 | 3687 |
# Check whether --enable-maintainer-mode was given.
|
3130 | |
if test "${enable_maintainer_mode+set}" = set; then :
|
|
3688 |
if test ${enable_maintainer_mode+y}
|
|
3689 |
then :
|
3131 | 3690 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
3132 | |
else
|
|
3691 |
else $as_nop
|
3133 | 3692 |
USE_MAINTAINER_MODE=no
|
3134 | 3693 |
fi
|
3135 | 3694 |
|
3136 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
3137 | |
$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
|
3695 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
|
3696 |
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
|
3138 | 3697 |
if test $USE_MAINTAINER_MODE = yes; then
|
3139 | 3698 |
MAINTAINER_MODE_TRUE=
|
3140 | 3699 |
MAINTAINER_MODE_FALSE='#'
|
|
3147 | 3706 |
|
3148 | 3707 |
|
3149 | 3708 |
# Check whether --enable-silent-rules was given.
|
3150 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3709 |
if test ${enable_silent_rules+y}
|
|
3710 |
then :
|
3151 | 3711 |
enableval=$enable_silent_rules;
|
3152 | 3712 |
fi
|
3153 | 3713 |
|
|
3157 | 3717 |
*) AM_DEFAULT_VERBOSITY=0;;
|
3158 | 3718 |
esac
|
3159 | 3719 |
am_make=${MAKE-make}
|
3160 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
3161 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
3162 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
3163 | |
$as_echo_n "(cached) " >&6
|
3164 | |
else
|
3165 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3720 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3721 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3722 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3723 |
then :
|
|
3724 |
printf %s "(cached) " >&6
|
|
3725 |
else $as_nop
|
|
3726 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
3166 | 3727 |
BAR0=false
|
3167 | 3728 |
BAR1=true
|
3168 | 3729 |
V=1
|
|
3174 | 3735 |
am_cv_make_support_nested_variables=no
|
3175 | 3736 |
fi
|
3176 | 3737 |
fi
|
3177 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
3178 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3738 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3739 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
3179 | 3740 |
if test $am_cv_make_support_nested_variables = yes; then
|
3180 | 3741 |
AM_V='$(V)'
|
3181 | 3742 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|