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)'
|
|
3187 | 3748 |
|
3188 | 3749 |
|
3189 | 3750 |
# Checks for programs.
|
|
3751 |
|
|
3752 |
|
|
3753 |
|
|
3754 |
|
|
3755 |
|
|
3756 |
|
3190 | 3757 |
ac_ext=cpp
|
3191 | 3758 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
3192 | 3759 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3197 | 3764 |
CXX=$CCC
|
3198 | 3765 |
else
|
3199 | 3766 |
if test -n "$ac_tool_prefix"; then
|
3200 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
3767 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
3201 | 3768 |
do
|
3202 | 3769 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3203 | 3770 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3204 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3205 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3206 | |
if ${ac_cv_prog_CXX+:} false; then :
|
3207 | |
$as_echo_n "(cached) " >&6
|
3208 | |
else
|
|
3771 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3772 |
printf %s "checking for $ac_word... " >&6; }
|
|
3773 |
if test ${ac_cv_prog_CXX+y}
|
|
3774 |
then :
|
|
3775 |
printf %s "(cached) " >&6
|
|
3776 |
else $as_nop
|
3209 | 3777 |
if test -n "$CXX"; then
|
3210 | 3778 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
3211 | 3779 |
else
|
|
3213 | 3781 |
for as_dir in $PATH
|
3214 | 3782 |
do
|
3215 | 3783 |
IFS=$as_save_IFS
|
3216 | |
test -z "$as_dir" && as_dir=.
|
|
3784 |
case $as_dir in #(((
|
|
3785 |
'') as_dir=./ ;;
|
|
3786 |
*/) ;;
|
|
3787 |
*) as_dir=$as_dir/ ;;
|
|
3788 |
esac
|
3217 | 3789 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3218 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3790 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3219 | 3791 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
3220 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3792 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3221 | 3793 |
break 2
|
3222 | 3794 |
fi
|
3223 | 3795 |
done
|
|
3228 | 3800 |
fi
|
3229 | 3801 |
CXX=$ac_cv_prog_CXX
|
3230 | 3802 |
if test -n "$CXX"; then
|
3231 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
3232 | |
$as_echo "$CXX" >&6; }
|
|
3803 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
|
3804 |
printf "%s\n" "$CXX" >&6; }
|
3233 | 3805 |
else
|
3234 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3235 | |
$as_echo "no" >&6; }
|
|
3806 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3807 |
printf "%s\n" "no" >&6; }
|
3236 | 3808 |
fi
|
3237 | 3809 |
|
3238 | 3810 |
|
|
3241 | 3813 |
fi
|
3242 | 3814 |
if test -z "$CXX"; then
|
3243 | 3815 |
ac_ct_CXX=$CXX
|
3244 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
3816 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
3245 | 3817 |
do
|
3246 | 3818 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3247 | 3819 |
set dummy $ac_prog; ac_word=$2
|
3248 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3249 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3250 | |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
3251 | |
$as_echo_n "(cached) " >&6
|
3252 | |
else
|
|
3820 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3821 |
printf %s "checking for $ac_word... " >&6; }
|
|
3822 |
if test ${ac_cv_prog_ac_ct_CXX+y}
|
|
3823 |
then :
|
|
3824 |
printf %s "(cached) " >&6
|
|
3825 |
else $as_nop
|
3253 | 3826 |
if test -n "$ac_ct_CXX"; then
|
3254 | 3827 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
3255 | 3828 |
else
|
|
3257 | 3830 |
for as_dir in $PATH
|
3258 | 3831 |
do
|
3259 | 3832 |
IFS=$as_save_IFS
|
3260 | |
test -z "$as_dir" && as_dir=.
|
|
3833 |
case $as_dir in #(((
|
|
3834 |
'') as_dir=./ ;;
|
|
3835 |
*/) ;;
|
|
3836 |
*) as_dir=$as_dir/ ;;
|
|
3837 |
esac
|
3261 | 3838 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3262 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3839 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3263 | 3840 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
3264 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3841 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3265 | 3842 |
break 2
|
3266 | 3843 |
fi
|
3267 | 3844 |
done
|
|
3272 | 3849 |
fi
|
3273 | 3850 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
3274 | 3851 |
if test -n "$ac_ct_CXX"; then
|
3275 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
3276 | |
$as_echo "$ac_ct_CXX" >&6; }
|
|
3852 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
|
3853 |
printf "%s\n" "$ac_ct_CXX" >&6; }
|
3277 | 3854 |
else
|
3278 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3279 | |
$as_echo "no" >&6; }
|
|
3855 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3856 |
printf "%s\n" "no" >&6; }
|
3280 | 3857 |
fi
|
3281 | 3858 |
|
3282 | 3859 |
|
|
3288 | 3865 |
else
|
3289 | 3866 |
case $cross_compiling:$ac_tool_warned in
|
3290 | 3867 |
yes:)
|
3291 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3292 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3868 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3869 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3293 | 3870 |
ac_tool_warned=yes ;;
|
3294 | 3871 |
esac
|
3295 | 3872 |
CXX=$ac_ct_CXX
|
|
3299 | 3876 |
fi
|
3300 | 3877 |
fi
|
3301 | 3878 |
# Provide some information about the compiler.
|
3302 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
|
3879 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
3303 | 3880 |
set X $ac_compile
|
3304 | 3881 |
ac_compiler=$2
|
3305 | 3882 |
for ac_option in --version -v -V -qversion; do
|
|
3309 | 3886 |
*) ac_try_echo=$ac_try;;
|
3310 | 3887 |
esac
|
3311 | 3888 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3312 | |
$as_echo "$ac_try_echo"; } >&5
|
|
3889 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3313 | 3890 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3314 | 3891 |
ac_status=$?
|
3315 | 3892 |
if test -s conftest.err; then
|
|
3319 | 3896 |
cat conftest.er1 >&5
|
3320 | 3897 |
fi
|
3321 | 3898 |
rm -f conftest.er1 conftest.err
|
3322 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3899 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3323 | 3900 |
test $ac_status = 0; }
|
3324 | 3901 |
done
|
3325 | 3902 |
|
|
3327 | 3904 |
/* end confdefs.h. */
|
3328 | 3905 |
|
3329 | 3906 |
int
|
3330 | |
main ()
|
|
3907 |
main (void)
|
3331 | 3908 |
{
|
3332 | 3909 |
|
3333 | 3910 |
;
|
|
3339 | 3916 |
# Try to create an executable without -o first, disregard a.out.
|
3340 | 3917 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3341 | 3918 |
# of exeext.
|
3342 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
3343 | |
$as_echo_n "checking whether the C++ compiler works... " >&6; }
|
3344 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
3919 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
|
|
3920 |
printf %s "checking whether the C++ compiler works... " >&6; }
|
|
3921 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3345 | 3922 |
|
3346 | 3923 |
# The possible output files:
|
3347 | 3924 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3362 | 3939 |
*) ac_try_echo=$ac_try;;
|
3363 | 3940 |
esac
|
3364 | 3941 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3365 | |
$as_echo "$ac_try_echo"; } >&5
|
|
3942 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3366 | 3943 |
(eval "$ac_link_default") 2>&5
|
3367 | 3944 |
ac_status=$?
|
3368 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3369 | |
test $ac_status = 0; }; then :
|
|
3945 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3946 |
test $ac_status = 0; }
|
|
3947 |
then :
|
3370 | 3948 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3371 | 3949 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3372 | 3950 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3383 | 3961 |
# certainly right.
|
3384 | 3962 |
break;;
|
3385 | 3963 |
*.* )
|
3386 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3964 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
|
3387 | 3965 |
then :; else
|
3388 | 3966 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3389 | 3967 |
fi
|
|
3399 | 3977 |
done
|
3400 | 3978 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3401 | 3979 |
|
3402 | |
else
|
|
3980 |
else $as_nop
|
3403 | 3981 |
ac_file=''
|
3404 | 3982 |
fi
|
3405 | |
if test -z "$ac_file"; then :
|
3406 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3407 | |
$as_echo "no" >&6; }
|
3408 | |
$as_echo "$as_me: failed program was:" >&5
|
|
3983 |
if test -z "$ac_file"
|
|
3984 |
then :
|
|
3985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3986 |
printf "%s\n" "no" >&6; }
|
|
3987 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3409 | 3988 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3410 | 3989 |
|
3411 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3412 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3990 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3991 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3413 | 3992 |
as_fn_error 77 "C++ compiler cannot create executables
|
3414 | 3993 |
See \`config.log' for more details" "$LINENO" 5; }
|
3415 | |
else
|
3416 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3417 | |
$as_echo "yes" >&6; }
|
3418 | |
fi
|
3419 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
3420 | |
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
3421 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3422 | |
$as_echo "$ac_file" >&6; }
|
|
3994 |
else $as_nop
|
|
3995 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3996 |
printf "%s\n" "yes" >&6; }
|
|
3997 |
fi
|
|
3998 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
|
|
3999 |
printf %s "checking for C++ compiler default output file name... " >&6; }
|
|
4000 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
4001 |
printf "%s\n" "$ac_file" >&6; }
|
3423 | 4002 |
ac_exeext=$ac_cv_exeext
|
3424 | 4003 |
|
3425 | 4004 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3426 | 4005 |
ac_clean_files=$ac_clean_files_save
|
3427 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3428 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
4006 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
4007 |
printf %s "checking for suffix of executables... " >&6; }
|
3429 | 4008 |
if { { ac_try="$ac_link"
|
3430 | 4009 |
case "(($ac_try" in
|
3431 | 4010 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3432 | 4011 |
*) ac_try_echo=$ac_try;;
|
3433 | 4012 |
esac
|
3434 | 4013 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3435 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4014 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3436 | 4015 |
(eval "$ac_link") 2>&5
|
3437 | 4016 |
ac_status=$?
|
3438 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3439 | |
test $ac_status = 0; }; then :
|
|
4017 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4018 |
test $ac_status = 0; }
|
|
4019 |
then :
|
3440 | 4020 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3441 | 4021 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3442 | 4022 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3450 | 4030 |
* ) break;;
|
3451 | 4031 |
esac
|
3452 | 4032 |
done
|
3453 | |
else
|
3454 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3455 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4033 |
else $as_nop
|
|
4034 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4035 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3456 | 4036 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
3457 | 4037 |
See \`config.log' for more details" "$LINENO" 5; }
|
3458 | 4038 |
fi
|
3459 | 4039 |
rm -f conftest conftest$ac_cv_exeext
|
3460 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3461 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
4040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
4041 |
printf "%s\n" "$ac_cv_exeext" >&6; }
|
3462 | 4042 |
|
3463 | 4043 |
rm -f conftest.$ac_ext
|
3464 | 4044 |
EXEEXT=$ac_cv_exeext
|
|
3467 | 4047 |
/* end confdefs.h. */
|
3468 | 4048 |
#include <stdio.h>
|
3469 | 4049 |
int
|
3470 | |
main ()
|
|
4050 |
main (void)
|
3471 | 4051 |
{
|
3472 | 4052 |
FILE *f = fopen ("conftest.out", "w");
|
3473 | 4053 |
return ferror (f) || fclose (f) != 0;
|
|
3479 | 4059 |
ac_clean_files="$ac_clean_files conftest.out"
|
3480 | 4060 |
# Check that the compiler produces executables we can run. If not, either
|
3481 | 4061 |
# the compiler is broken, or we cross compile.
|
3482 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3483 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
4062 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
4063 |
printf %s "checking whether we are cross compiling... " >&6; }
|
3484 | 4064 |
if test "$cross_compiling" != yes; then
|
3485 | 4065 |
{ { ac_try="$ac_link"
|
3486 | 4066 |
case "(($ac_try" in
|
|
3488 | 4068 |
*) ac_try_echo=$ac_try;;
|
3489 | 4069 |
esac
|
3490 | 4070 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3491 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4071 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3492 | 4072 |
(eval "$ac_link") 2>&5
|
3493 | 4073 |
ac_status=$?
|
3494 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4074 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3495 | 4075 |
test $ac_status = 0; }
|
3496 | 4076 |
if { ac_try='./conftest$ac_cv_exeext'
|
3497 | 4077 |
{ { case "(($ac_try" in
|
|
3499 | 4079 |
*) ac_try_echo=$ac_try;;
|
3500 | 4080 |
esac
|
3501 | 4081 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3502 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4082 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3503 | 4083 |
(eval "$ac_try") 2>&5
|
3504 | 4084 |
ac_status=$?
|
3505 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4085 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3506 | 4086 |
test $ac_status = 0; }; }; then
|
3507 | 4087 |
cross_compiling=no
|
3508 | 4088 |
else
|
3509 | 4089 |
if test "$cross_compiling" = maybe; then
|
3510 | 4090 |
cross_compiling=yes
|
3511 | 4091 |
else
|
3512 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3513 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3514 | |
as_fn_error $? "cannot run C++ compiled programs.
|
|
4092 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4093 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4094 |
as_fn_error 77 "cannot run C++ compiled programs.
|
3515 | 4095 |
If you meant to cross compile, use \`--host'.
|
3516 | 4096 |
See \`config.log' for more details" "$LINENO" 5; }
|
3517 | 4097 |
fi
|
3518 | 4098 |
fi
|
3519 | 4099 |
fi
|
3520 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3521 | |
$as_echo "$cross_compiling" >&6; }
|
|
4100 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
4101 |
printf "%s\n" "$cross_compiling" >&6; }
|
3522 | 4102 |
|
3523 | 4103 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
3524 | 4104 |
ac_clean_files=$ac_clean_files_save
|
3525 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3526 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3527 | |
if ${ac_cv_objext+:} false; then :
|
3528 | |
$as_echo_n "(cached) " >&6
|
3529 | |
else
|
|
4105 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
4106 |
printf %s "checking for suffix of object files... " >&6; }
|
|
4107 |
if test ${ac_cv_objext+y}
|
|
4108 |
then :
|
|
4109 |
printf %s "(cached) " >&6
|
|
4110 |
else $as_nop
|
3530 | 4111 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3531 | 4112 |
/* end confdefs.h. */
|
3532 | 4113 |
|
3533 | 4114 |
int
|
3534 | |
main ()
|
|
4115 |
main (void)
|
3535 | 4116 |
{
|
3536 | 4117 |
|
3537 | 4118 |
;
|
|
3545 | 4126 |
*) ac_try_echo=$ac_try;;
|
3546 | 4127 |
esac
|
3547 | 4128 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3548 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4129 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3549 | 4130 |
(eval "$ac_compile") 2>&5
|
3550 | 4131 |
ac_status=$?
|
3551 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3552 | |
test $ac_status = 0; }; then :
|
|
4132 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4133 |
test $ac_status = 0; }
|
|
4134 |
then :
|
3553 | 4135 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3554 | 4136 |
test -f "$ac_file" || continue;
|
3555 | 4137 |
case $ac_file in
|
|
3558 | 4140 |
break;;
|
3559 | 4141 |
esac
|
3560 | 4142 |
done
|
3561 | |
else
|
3562 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4143 |
else $as_nop
|
|
4144 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3563 | 4145 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3564 | 4146 |
|
3565 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3566 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4147 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4148 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3567 | 4149 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
3568 | 4150 |
See \`config.log' for more details" "$LINENO" 5; }
|
3569 | 4151 |
fi
|
3570 | 4152 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3571 | 4153 |
fi
|
3572 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3573 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
4154 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
4155 |
printf "%s\n" "$ac_cv_objext" >&6; }
|
3574 | 4156 |
OBJEXT=$ac_cv_objext
|
3575 | 4157 |
ac_objext=$OBJEXT
|
3576 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
3577 | |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
3578 | |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
3579 | |
$as_echo_n "(cached) " >&6
|
3580 | |
else
|
|
4158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
|
|
4159 |
printf %s "checking whether the compiler supports GNU C++... " >&6; }
|
|
4160 |
if test ${ac_cv_cxx_compiler_gnu+y}
|
|
4161 |
then :
|
|
4162 |
printf %s "(cached) " >&6
|
|
4163 |
else $as_nop
|
3581 | 4164 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3582 | 4165 |
/* end confdefs.h. */
|
3583 | 4166 |
|
3584 | 4167 |
int
|
3585 | |
main ()
|
|
4168 |
main (void)
|
3586 | 4169 |
{
|
3587 | 4170 |
#ifndef __GNUC__
|
3588 | 4171 |
choke me
|
|
3592 | 4175 |
return 0;
|
3593 | 4176 |
}
|
3594 | 4177 |
_ACEOF
|
3595 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4178 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4179 |
then :
|
3596 | 4180 |
ac_compiler_gnu=yes
|
3597 | |
else
|
|
4181 |
else $as_nop
|
3598 | 4182 |
ac_compiler_gnu=no
|
3599 | 4183 |
fi
|
3600 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4184 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3601 | 4185 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
3602 | 4186 |
|
3603 | 4187 |
fi
|
3604 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
3605 | |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
4188 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
4189 |
printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
4190 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
4191 |
|
3606 | 4192 |
if test $ac_compiler_gnu = yes; then
|
3607 | 4193 |
GXX=yes
|
3608 | 4194 |
else
|
3609 | 4195 |
GXX=
|
3610 | 4196 |
fi
|
3611 | |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
|
4197 |
ac_test_CXXFLAGS=${CXXFLAGS+y}
|
3612 | 4198 |
ac_save_CXXFLAGS=$CXXFLAGS
|
3613 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
3614 | |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
3615 | |
if ${ac_cv_prog_cxx_g+:} false; then :
|
3616 | |
$as_echo_n "(cached) " >&6
|
3617 | |
else
|
|
4199 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
|
4200 |
printf %s "checking whether $CXX accepts -g... " >&6; }
|
|
4201 |
if test ${ac_cv_prog_cxx_g+y}
|
|
4202 |
then :
|
|
4203 |
printf %s "(cached) " >&6
|
|
4204 |
else $as_nop
|
3618 | 4205 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
3619 | 4206 |
ac_cxx_werror_flag=yes
|
3620 | 4207 |
ac_cv_prog_cxx_g=no
|
|
3623 | 4210 |
/* end confdefs.h. */
|
3624 | 4211 |
|
3625 | 4212 |
int
|
3626 | |
main ()
|
|
4213 |
main (void)
|
3627 | 4214 |
{
|
3628 | 4215 |
|
3629 | 4216 |
;
|
3630 | 4217 |
return 0;
|
3631 | 4218 |
}
|
3632 | 4219 |
_ACEOF
|
3633 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4220 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4221 |
then :
|
3634 | 4222 |
ac_cv_prog_cxx_g=yes
|
3635 | |
else
|
|
4223 |
else $as_nop
|
3636 | 4224 |
CXXFLAGS=""
|
3637 | 4225 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3638 | 4226 |
/* end confdefs.h. */
|
3639 | 4227 |
|
3640 | 4228 |
int
|
3641 | |
main ()
|
|
4229 |
main (void)
|
3642 | 4230 |
{
|
3643 | 4231 |
|
3644 | 4232 |
;
|
3645 | 4233 |
return 0;
|
3646 | 4234 |
}
|
3647 | 4235 |
_ACEOF
|
3648 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3649 | |
|
3650 | |
else
|
|
4236 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4237 |
then :
|
|
4238 |
|
|
4239 |
else $as_nop
|
3651 | 4240 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3652 | 4241 |
CXXFLAGS="-g"
|
3653 | 4242 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3654 | 4243 |
/* end confdefs.h. */
|
3655 | 4244 |
|
3656 | 4245 |
int
|
3657 | |
main ()
|
|
4246 |
main (void)
|
3658 | 4247 |
{
|
3659 | 4248 |
|
3660 | 4249 |
;
|
3661 | 4250 |
return 0;
|
3662 | 4251 |
}
|
3663 | 4252 |
_ACEOF
|
3664 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4253 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4254 |
then :
|
3665 | 4255 |
ac_cv_prog_cxx_g=yes
|
3666 | 4256 |
fi
|
3667 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3668 | |
fi
|
3669 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3670 | |
fi
|
3671 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4257 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4258 |
fi
|
|
4259 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4260 |
fi
|
|
4261 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3672 | 4262 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
3673 | 4263 |
fi
|
3674 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
3675 | |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
3676 | |
if test "$ac_test_CXXFLAGS" = set; then
|
|
4264 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
|
4265 |
printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
|
|
4266 |
if test $ac_test_CXXFLAGS; then
|
3677 | 4267 |
CXXFLAGS=$ac_save_CXXFLAGS
|
3678 | 4268 |
elif test $ac_cv_prog_cxx_g = yes; then
|
3679 | 4269 |
if test "$GXX" = yes; then
|
|
3688 | 4278 |
CXXFLAGS=
|
3689 | 4279 |
fi
|
3690 | 4280 |
fi
|
|
4281 |
ac_prog_cxx_stdcxx=no
|
|
4282 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
4283 |
then :
|
|
4284 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
|
|
4285 |
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
|
|
4286 |
if test ${ac_cv_prog_cxx_11+y}
|
|
4287 |
then :
|
|
4288 |
printf %s "(cached) " >&6
|
|
4289 |
else $as_nop
|
|
4290 |
ac_cv_prog_cxx_11=no
|
|
4291 |
ac_save_CXX=$CXX
|
|
4292 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4293 |
/* end confdefs.h. */
|
|
4294 |
$ac_cxx_conftest_cxx11_program
|
|
4295 |
_ACEOF
|
|
4296 |
for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
|
|
4297 |
do
|
|
4298 |
CXX="$ac_save_CXX $ac_arg"
|
|
4299 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4300 |
then :
|
|
4301 |
ac_cv_prog_cxx_cxx11=$ac_arg
|
|
4302 |
fi
|
|
4303 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4304 |
test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
|
|
4305 |
done
|
|
4306 |
rm -f conftest.$ac_ext
|
|
4307 |
CXX=$ac_save_CXX
|
|
4308 |
fi
|
|
4309 |
|
|
4310 |
if test "x$ac_cv_prog_cxx_cxx11" = xno
|
|
4311 |
then :
|
|
4312 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4313 |
printf "%s\n" "unsupported" >&6; }
|
|
4314 |
else $as_nop
|
|
4315 |
if test "x$ac_cv_prog_cxx_cxx11" = x
|
|
4316 |
then :
|
|
4317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4318 |
printf "%s\n" "none needed" >&6; }
|
|
4319 |
else $as_nop
|
|
4320 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
|
|
4321 |
printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
|
|
4322 |
CXX="$CXX $ac_cv_prog_cxx_cxx11"
|
|
4323 |
fi
|
|
4324 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
|
|
4325 |
ac_prog_cxx_stdcxx=cxx11
|
|
4326 |
fi
|
|
4327 |
fi
|
|
4328 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
4329 |
then :
|
|
4330 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
|
|
4331 |
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
|
|
4332 |
if test ${ac_cv_prog_cxx_98+y}
|
|
4333 |
then :
|
|
4334 |
printf %s "(cached) " >&6
|
|
4335 |
else $as_nop
|
|
4336 |
ac_cv_prog_cxx_98=no
|
|
4337 |
ac_save_CXX=$CXX
|
|
4338 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4339 |
/* end confdefs.h. */
|
|
4340 |
$ac_cxx_conftest_cxx98_program
|
|
4341 |
_ACEOF
|
|
4342 |
for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
|
|
4343 |
do
|
|
4344 |
CXX="$ac_save_CXX $ac_arg"
|
|
4345 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
4346 |
then :
|
|
4347 |
ac_cv_prog_cxx_cxx98=$ac_arg
|
|
4348 |
fi
|
|
4349 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4350 |
test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
|
|
4351 |
done
|
|
4352 |
rm -f conftest.$ac_ext
|
|
4353 |
CXX=$ac_save_CXX
|
|
4354 |
fi
|
|
4355 |
|
|
4356 |
if test "x$ac_cv_prog_cxx_cxx98" = xno
|
|
4357 |
then :
|
|
4358 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4359 |
printf "%s\n" "unsupported" >&6; }
|
|
4360 |
else $as_nop
|
|
4361 |
if test "x$ac_cv_prog_cxx_cxx98" = x
|
|
4362 |
then :
|
|
4363 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4364 |
printf "%s\n" "none needed" >&6; }
|
|
4365 |
else $as_nop
|
|
4366 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
|
|
4367 |
printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
|
|
4368 |
CXX="$CXX $ac_cv_prog_cxx_cxx98"
|
|
4369 |
fi
|
|
4370 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
|
|
4371 |
ac_prog_cxx_stdcxx=cxx98
|
|
4372 |
fi
|
|
4373 |
fi
|
|
4374 |
|
3691 | 4375 |
ac_ext=c
|
3692 | 4376 |
ac_cpp='$CPP $CPPFLAGS'
|
3693 | 4377 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3697 | 4381 |
|
3698 | 4382 |
ac_config_commands="$ac_config_commands depfiles"
|
3699 | 4383 |
|
3700 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
3701 | |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
4384 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
4385 |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
3702 | 4386 |
cat > confinc.mk << 'END'
|
3703 | 4387 |
am__doit:
|
3704 | 4388 |
@echo this is the am__doit target >confinc.out
|
|
3734 | 4418 |
fi
|
3735 | 4419 |
done
|
3736 | 4420 |
rm -f confinc.* confmf.*
|
3737 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
3738 | |
$as_echo "${_am_result}" >&6; }
|
|
4421 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
4422 |
printf "%s\n" "${_am_result}" >&6; }
|
3739 | 4423 |
|
3740 | 4424 |
# Check whether --enable-dependency-tracking was given.
|
3741 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
4425 |
if test ${enable_dependency_tracking+y}
|
|
4426 |
then :
|
3742 | 4427 |
enableval=$enable_dependency_tracking;
|
3743 | 4428 |
fi
|
3744 | 4429 |
|
|
3759 | 4444 |
|
3760 | 4445 |
depcc="$CXX" am_compiler_list=
|
3761 | 4446 |
|
3762 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3763 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3764 | |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
3765 | |
$as_echo_n "(cached) " >&6
|
3766 | |
else
|
|
4447 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4448 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
4449 |
if test ${am_cv_CXX_dependencies_compiler_type+y}
|
|
4450 |
then :
|
|
4451 |
printf %s "(cached) " >&6
|
|
4452 |
else $as_nop
|
3767 | 4453 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3768 | 4454 |
# We make a subdir and do the tests there. Otherwise we can end up
|
3769 | 4455 |
# making bogus files that we don't know about and never remove. For
|
|
3870 | 4556 |
fi
|
3871 | 4557 |
|
3872 | 4558 |
fi
|
3873 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
3874 | |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
|
4559 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
4560 |
printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
3875 | 4561 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
3876 | 4562 |
|
3877 | 4563 |
if
|
|
3885 | 4571 |
fi
|
3886 | 4572 |
|
3887 | 4573 |
|
|
4574 |
|
|
4575 |
|
|
4576 |
|
|
4577 |
|
|
4578 |
|
|
4579 |
|
|
4580 |
|
|
4581 |
|
|
4582 |
|
3888 | 4583 |
ac_ext=c
|
3889 | 4584 |
ac_cpp='$CPP $CPPFLAGS'
|
3890 | 4585 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3893 | 4588 |
if test -n "$ac_tool_prefix"; then
|
3894 | 4589 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3895 | 4590 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3896 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3897 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3898 | |
if ${ac_cv_prog_CC+:} false; then :
|
3899 | |
$as_echo_n "(cached) " >&6
|
3900 | |
else
|
|
4591 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4592 |
printf %s "checking for $ac_word... " >&6; }
|
|
4593 |
if test ${ac_cv_prog_CC+y}
|
|
4594 |
then :
|
|
4595 |
printf %s "(cached) " >&6
|
|
4596 |
else $as_nop
|
3901 | 4597 |
if test -n "$CC"; then
|
3902 | 4598 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3903 | 4599 |
else
|
|
3905 | 4601 |
for as_dir in $PATH
|
3906 | 4602 |
do
|
3907 | 4603 |
IFS=$as_save_IFS
|
3908 | |
test -z "$as_dir" && as_dir=.
|
|
4604 |
case $as_dir in #(((
|
|
4605 |
'') as_dir=./ ;;
|
|
4606 |
*/) ;;
|
|
4607 |
*) as_dir=$as_dir/ ;;
|
|
4608 |
esac
|
3909 | 4609 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3910 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4610 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3911 | 4611 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3912 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4612 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3913 | 4613 |
break 2
|
3914 | 4614 |
fi
|
3915 | 4615 |
done
|
|
3920 | 4620 |
fi
|
3921 | 4621 |
CC=$ac_cv_prog_CC
|
3922 | 4622 |
if test -n "$CC"; then
|
3923 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3924 | |
$as_echo "$CC" >&6; }
|
|
4623 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4624 |
printf "%s\n" "$CC" >&6; }
|
3925 | 4625 |
else
|
3926 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3927 | |
$as_echo "no" >&6; }
|
|
4626 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4627 |
printf "%s\n" "no" >&6; }
|
3928 | 4628 |
fi
|
3929 | 4629 |
|
3930 | 4630 |
|
|
3933 | 4633 |
ac_ct_CC=$CC
|
3934 | 4634 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3935 | 4635 |
set dummy gcc; ac_word=$2
|
3936 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3937 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3938 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3939 | |
$as_echo_n "(cached) " >&6
|
3940 | |
else
|
|
4636 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4637 |
printf %s "checking for $ac_word... " >&6; }
|
|
4638 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4639 |
then :
|
|
4640 |
printf %s "(cached) " >&6
|
|
4641 |
else $as_nop
|
3941 | 4642 |
if test -n "$ac_ct_CC"; then
|
3942 | 4643 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3943 | 4644 |
else
|
|
3945 | 4646 |
for as_dir in $PATH
|
3946 | 4647 |
do
|
3947 | 4648 |
IFS=$as_save_IFS
|
3948 | |
test -z "$as_dir" && as_dir=.
|
|
4649 |
case $as_dir in #(((
|
|
4650 |
'') as_dir=./ ;;
|
|
4651 |
*/) ;;
|
|
4652 |
*) as_dir=$as_dir/ ;;
|
|
4653 |
esac
|
3949 | 4654 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3950 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4655 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3951 | 4656 |
ac_cv_prog_ac_ct_CC="gcc"
|
3952 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4657 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3953 | 4658 |
break 2
|
3954 | 4659 |
fi
|
3955 | 4660 |
done
|
|
3960 | 4665 |
fi
|
3961 | 4666 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3962 | 4667 |
if test -n "$ac_ct_CC"; then
|
3963 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3964 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
4668 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4669 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
3965 | 4670 |
else
|
3966 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3967 | |
$as_echo "no" >&6; }
|
|
4671 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4672 |
printf "%s\n" "no" >&6; }
|
3968 | 4673 |
fi
|
3969 | 4674 |
|
3970 | 4675 |
if test "x$ac_ct_CC" = x; then
|
|
3972 | 4677 |
else
|
3973 | 4678 |
case $cross_compiling:$ac_tool_warned in
|
3974 | 4679 |
yes:)
|
3975 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3976 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4680 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4681 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3977 | 4682 |
ac_tool_warned=yes ;;
|
3978 | 4683 |
esac
|
3979 | 4684 |
CC=$ac_ct_CC
|
|
3986 | 4691 |
if test -n "$ac_tool_prefix"; then
|
3987 | 4692 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3988 | 4693 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3989 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3990 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3991 | |
if ${ac_cv_prog_CC+:} false; then :
|
3992 | |
$as_echo_n "(cached) " >&6
|
3993 | |
else
|
|
4694 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4695 |
printf %s "checking for $ac_word... " >&6; }
|
|
4696 |
if test ${ac_cv_prog_CC+y}
|
|
4697 |
then :
|
|
4698 |
printf %s "(cached) " >&6
|
|
4699 |
else $as_nop
|
3994 | 4700 |
if test -n "$CC"; then
|
3995 | 4701 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3996 | 4702 |
else
|
|
3998 | 4704 |
for as_dir in $PATH
|
3999 | 4705 |
do
|
4000 | 4706 |
IFS=$as_save_IFS
|
4001 | |
test -z "$as_dir" && as_dir=.
|
|
4707 |
case $as_dir in #(((
|
|
4708 |
'') as_dir=./ ;;
|
|
4709 |
*/) ;;
|
|
4710 |
*) as_dir=$as_dir/ ;;
|
|
4711 |
esac
|
4002 | 4712 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4003 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4713 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4004 | 4714 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
4005 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4715 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4006 | 4716 |
break 2
|
4007 | 4717 |
fi
|
4008 | 4718 |
done
|
|
4013 | 4723 |
fi
|
4014 | 4724 |
CC=$ac_cv_prog_CC
|
4015 | 4725 |
if test -n "$CC"; then
|
4016 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
4017 | |
$as_echo "$CC" >&6; }
|
|
4726 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4727 |
printf "%s\n" "$CC" >&6; }
|
4018 | 4728 |
else
|
4019 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4020 | |
$as_echo "no" >&6; }
|
|
4729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4730 |
printf "%s\n" "no" >&6; }
|
4021 | 4731 |
fi
|
4022 | 4732 |
|
4023 | 4733 |
|
|
4026 | 4736 |
if test -z "$CC"; then
|
4027 | 4737 |
# Extract the first word of "cc", so it can be a program name with args.
|
4028 | 4738 |
set dummy cc; ac_word=$2
|
4029 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4030 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4031 | |
if ${ac_cv_prog_CC+:} false; then :
|
4032 | |
$as_echo_n "(cached) " >&6
|
4033 | |
else
|
|
4739 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4740 |
printf %s "checking for $ac_word... " >&6; }
|
|
4741 |
if test ${ac_cv_prog_CC+y}
|
|
4742 |
then :
|
|
4743 |
printf %s "(cached) " >&6
|
|
4744 |
else $as_nop
|
4034 | 4745 |
if test -n "$CC"; then
|
4035 | 4746 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
4036 | 4747 |
else
|
|
4039 | 4750 |
for as_dir in $PATH
|
4040 | 4751 |
do
|
4041 | 4752 |
IFS=$as_save_IFS
|
4042 | |
test -z "$as_dir" && as_dir=.
|
|
4753 |
case $as_dir in #(((
|
|
4754 |
'') as_dir=./ ;;
|
|
4755 |
*/) ;;
|
|
4756 |
*) as_dir=$as_dir/ ;;
|
|
4757 |
esac
|
4043 | 4758 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4044 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4045 | |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
4759 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4760 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
4046 | 4761 |
ac_prog_rejected=yes
|
4047 | 4762 |
continue
|
4048 | 4763 |
fi
|
4049 | 4764 |
ac_cv_prog_CC="cc"
|
4050 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4765 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4051 | 4766 |
break 2
|
4052 | 4767 |
fi
|
4053 | 4768 |
done
|
|
4063 | 4778 |
# However, it has the same basename, so the bogon will be chosen
|
4064 | 4779 |
# first if we set CC to just the basename; use the full file name.
|
4065 | 4780 |
shift
|
4066 | |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
4781 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
|
4067 | 4782 |
fi
|
4068 | 4783 |
fi
|
4069 | 4784 |
fi
|
4070 | 4785 |
fi
|
4071 | 4786 |
CC=$ac_cv_prog_CC
|
4072 | 4787 |
if test -n "$CC"; then
|
4073 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
4074 | |
$as_echo "$CC" >&6; }
|
|
4788 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4789 |
printf "%s\n" "$CC" >&6; }
|
4075 | 4790 |
else
|
4076 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4077 | |
$as_echo "no" >&6; }
|
|
4791 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4792 |
printf "%s\n" "no" >&6; }
|
4078 | 4793 |
fi
|
4079 | 4794 |
|
4080 | 4795 |
|
|
4085 | 4800 |
do
|
4086 | 4801 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4087 | 4802 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4088 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4089 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4090 | |
if ${ac_cv_prog_CC+:} false; then :
|
4091 | |
$as_echo_n "(cached) " >&6
|
4092 | |
else
|
|
4803 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4804 |
printf %s "checking for $ac_word... " >&6; }
|
|
4805 |
if test ${ac_cv_prog_CC+y}
|
|
4806 |
then :
|
|
4807 |
printf %s "(cached) " >&6
|
|
4808 |
else $as_nop
|
4093 | 4809 |
if test -n "$CC"; then
|
4094 | 4810 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
4095 | 4811 |
else
|
|
4097 | 4813 |
for as_dir in $PATH
|
4098 | 4814 |
do
|
4099 | 4815 |
IFS=$as_save_IFS
|
4100 | |
test -z "$as_dir" && as_dir=.
|
|
4816 |
case $as_dir in #(((
|
|
4817 |
'') as_dir=./ ;;
|
|
4818 |
*/) ;;
|
|
4819 |
*) as_dir=$as_dir/ ;;
|
|
4820 |
esac
|
4101 | 4821 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4102 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4822 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4103 | 4823 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
4104 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4824 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4105 | 4825 |
break 2
|
4106 | 4826 |
fi
|
4107 | 4827 |
done
|
|
4112 | 4832 |
fi
|
4113 | 4833 |
CC=$ac_cv_prog_CC
|
4114 | 4834 |
if test -n "$CC"; then
|
4115 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
4116 | |
$as_echo "$CC" >&6; }
|
|
4835 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4836 |
printf "%s\n" "$CC" >&6; }
|
4117 | 4837 |
else
|
4118 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4119 | |
$as_echo "no" >&6; }
|
|
4838 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4839 |
printf "%s\n" "no" >&6; }
|
4120 | 4840 |
fi
|
4121 | 4841 |
|
4122 | 4842 |
|
|
4129 | 4849 |
do
|
4130 | 4850 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4131 | 4851 |
set dummy $ac_prog; ac_word=$2
|
4132 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4133 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4134 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
4135 | |
$as_echo_n "(cached) " >&6
|
4136 | |
else
|
|
4852 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4853 |
printf %s "checking for $ac_word... " >&6; }
|
|
4854 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4855 |
then :
|
|
4856 |
printf %s "(cached) " >&6
|
|
4857 |
else $as_nop
|
4137 | 4858 |
if test -n "$ac_ct_CC"; then
|
4138 | 4859 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
4139 | 4860 |
else
|
|
4141 | 4862 |
for as_dir in $PATH
|
4142 | 4863 |
do
|
4143 | 4864 |
IFS=$as_save_IFS
|
4144 | |
test -z "$as_dir" && as_dir=.
|
|
4865 |
case $as_dir in #(((
|
|
4866 |
'') as_dir=./ ;;
|
|
4867 |
*/) ;;
|
|
4868 |
*) as_dir=$as_dir/ ;;
|
|
4869 |
esac
|
4145 | 4870 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4146 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4871 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4147 | 4872 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
4148 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4873 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4149 | 4874 |
break 2
|
4150 | 4875 |
fi
|
4151 | 4876 |
done
|
|
4156 | 4881 |
fi
|
4157 | 4882 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
4158 | 4883 |
if test -n "$ac_ct_CC"; then
|
4159 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
4160 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
4884 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4885 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
4161 | 4886 |
else
|
4162 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4163 | |
$as_echo "no" >&6; }
|
|
4887 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4888 |
printf "%s\n" "no" >&6; }
|
4164 | 4889 |
fi
|
4165 | 4890 |
|
4166 | 4891 |
|
|
4172 | 4897 |
else
|
4173 | 4898 |
case $cross_compiling:$ac_tool_warned in
|
4174 | 4899 |
yes:)
|
4175 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4176 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4900 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4901 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4177 | 4902 |
ac_tool_warned=yes ;;
|
4178 | 4903 |
esac
|
4179 | 4904 |
CC=$ac_ct_CC
|
|
4181 | 4906 |
fi
|
4182 | 4907 |
|
4183 | 4908 |
fi
|
4184 | |
|
4185 | |
|
4186 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4187 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4909 |
if test -z "$CC"; then
|
|
4910 |
if test -n "$ac_tool_prefix"; then
|
|
4911 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
|
|
4912 |
set dummy ${ac_tool_prefix}clang; ac_word=$2
|
|
4913 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4914 |
printf %s "checking for $ac_word... " >&6; }
|
|
4915 |
if test ${ac_cv_prog_CC+y}
|
|
4916 |
then :
|
|
4917 |
printf %s "(cached) " >&6
|
|
4918 |
else $as_nop
|
|
4919 |
if test -n "$CC"; then
|
|
4920 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4921 |
else
|
|
4922 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4923 |
for as_dir in $PATH
|
|
4924 |
do
|
|
4925 |
IFS=$as_save_IFS
|
|
4926 |
case $as_dir in #(((
|
|
4927 |
'') as_dir=./ ;;
|
|
4928 |
*/) ;;
|
|
4929 |
*) as_dir=$as_dir/ ;;
|
|
4930 |
esac
|
|
4931 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4932 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4933 |
ac_cv_prog_CC="${ac_tool_prefix}clang"
|
|
4934 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4935 |
break 2
|
|
4936 |
fi
|
|
4937 |
done
|
|
4938 |
done
|
|
4939 |
IFS=$as_save_IFS
|
|
4940 |
|
|
4941 |
fi
|
|
4942 |
fi
|
|
4943 |
CC=$ac_cv_prog_CC
|
|
4944 |
if test -n "$CC"; then
|
|
4945 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4946 |
printf "%s\n" "$CC" >&6; }
|
|
4947 |
else
|
|
4948 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4949 |
printf "%s\n" "no" >&6; }
|
|
4950 |
fi
|
|
4951 |
|
|
4952 |
|
|
4953 |
fi
|
|
4954 |
if test -z "$ac_cv_prog_CC"; then
|
|
4955 |
ac_ct_CC=$CC
|
|
4956 |
# Extract the first word of "clang", so it can be a program name with args.
|
|
4957 |
set dummy clang; ac_word=$2
|
|
4958 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4959 |
printf %s "checking for $ac_word... " >&6; }
|
|
4960 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4961 |
then :
|
|
4962 |
printf %s "(cached) " >&6
|
|
4963 |
else $as_nop
|
|
4964 |
if test -n "$ac_ct_CC"; then
|
|
4965 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4966 |
else
|
|
4967 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4968 |
for as_dir in $PATH
|
|
4969 |
do
|
|
4970 |
IFS=$as_save_IFS
|
|
4971 |
case $as_dir in #(((
|
|
4972 |
'') as_dir=./ ;;
|
|
4973 |
*/) ;;
|
|
4974 |
*) as_dir=$as_dir/ ;;
|
|
4975 |
esac
|
|
4976 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4977 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4978 |
ac_cv_prog_ac_ct_CC="clang"
|
|
4979 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4980 |
break 2
|
|
4981 |
fi
|
|
4982 |
done
|
|
4983 |
done
|
|
4984 |
IFS=$as_save_IFS
|
|
4985 |
|
|
4986 |
fi
|
|
4987 |
fi
|
|
4988 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
4989 |
if test -n "$ac_ct_CC"; then
|
|
4990 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4991 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4992 |
else
|
|
4993 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4994 |
printf "%s\n" "no" >&6; }
|
|
4995 |
fi
|
|
4996 |
|
|
4997 |
if test "x$ac_ct_CC" = x; then
|
|
4998 |
CC=""
|
|
4999 |
else
|
|
5000 |
case $cross_compiling:$ac_tool_warned in
|
|
5001 |
yes:)
|
|
5002 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5003 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
5004 |
ac_tool_warned=yes ;;
|
|
5005 |
esac
|
|
5006 |
CC=$ac_ct_CC
|
|
5007 |
fi
|
|
5008 |
else
|
|
5009 |
CC="$ac_cv_prog_CC"
|
|
5010 |
fi
|
|
5011 |
|
|
5012 |
fi
|
|
5013 |
|
|
5014 |
|
|
5015 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5016 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
4188 | 5017 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
4189 | 5018 |
See \`config.log' for more details" "$LINENO" 5; }
|
4190 | 5019 |
|
4191 | 5020 |
# Provide some information about the compiler.
|
4192 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
5021 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
4193 | 5022 |
set X $ac_compile
|
4194 | 5023 |
ac_compiler=$2
|
4195 | |
for ac_option in --version -v -V -qversion; do
|
|
5024 |
for ac_option in --version -v -V -qversion -version; do
|
4196 | 5025 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
4197 | 5026 |
case "(($ac_try" in
|
4198 | 5027 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4199 | 5028 |
*) ac_try_echo=$ac_try;;
|
4200 | 5029 |
esac
|
4201 | 5030 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4202 | |
$as_echo "$ac_try_echo"; } >&5
|
|
5031 |
printf "%s\n" "$ac_try_echo"; } >&5
|
4203 | 5032 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
4204 | 5033 |
ac_status=$?
|
4205 | 5034 |
if test -s conftest.err; then
|
|
4209 | 5038 |
cat conftest.er1 >&5
|
4210 | 5039 |
fi
|
4211 | 5040 |
rm -f conftest.er1 conftest.err
|
4212 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5041 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4213 | 5042 |
test $ac_status = 0; }
|
4214 | 5043 |
done
|
4215 | 5044 |
|
4216 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
4217 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
4218 | |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
4219 | |
$as_echo_n "(cached) " >&6
|
4220 | |
else
|
|
5045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
|
|
5046 |
printf %s "checking whether the compiler supports GNU C... " >&6; }
|
|
5047 |
if test ${ac_cv_c_compiler_gnu+y}
|
|
5048 |
then :
|
|
5049 |
printf %s "(cached) " >&6
|
|
5050 |
else $as_nop
|
4221 | 5051 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4222 | 5052 |
/* end confdefs.h. */
|
4223 | 5053 |
|
4224 | 5054 |
int
|
4225 | |
main ()
|
|
5055 |
main (void)
|
4226 | 5056 |
{
|
4227 | 5057 |
#ifndef __GNUC__
|
4228 | 5058 |
choke me
|
|
4232 | 5062 |
return 0;
|
4233 | 5063 |
}
|
4234 | 5064 |
_ACEOF
|
4235 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5065 |
if ac_fn_c_try_compile "$LINENO"
|
|
5066 |
then :
|
4236 | 5067 |
ac_compiler_gnu=yes
|
4237 | |
else
|
|
5068 |
else $as_nop
|
4238 | 5069 |
ac_compiler_gnu=no
|
4239 | 5070 |
fi
|
4240 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5071 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4241 | 5072 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4242 | 5073 |
|
4243 | 5074 |
fi
|
4244 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
4245 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
5075 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
5076 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
|
|
5077 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
5078 |
|
4246 | 5079 |
if test $ac_compiler_gnu = yes; then
|
4247 | 5080 |
GCC=yes
|
4248 | 5081 |
else
|
4249 | 5082 |
GCC=
|
4250 | 5083 |
fi
|
4251 | |
ac_test_CFLAGS=${CFLAGS+set}
|
|
5084 |
ac_test_CFLAGS=${CFLAGS+y}
|
4252 | 5085 |
ac_save_CFLAGS=$CFLAGS
|
4253 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
4254 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
4255 | |
if ${ac_cv_prog_cc_g+:} false; then :
|
4256 | |
$as_echo_n "(cached) " >&6
|
4257 | |
else
|
|
5086 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
5087 |
printf %s "checking whether $CC accepts -g... " >&6; }
|
|
5088 |
if test ${ac_cv_prog_cc_g+y}
|
|
5089 |
then :
|
|
5090 |
printf %s "(cached) " >&6
|
|
5091 |
else $as_nop
|
4258 | 5092 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
4259 | 5093 |
ac_c_werror_flag=yes
|
4260 | 5094 |
ac_cv_prog_cc_g=no
|
|
4263 | 5097 |
/* end confdefs.h. */
|
4264 | 5098 |
|
4265 | 5099 |
int
|
4266 | |
main ()
|
|
5100 |
main (void)
|
4267 | 5101 |
{
|
4268 | 5102 |
|
4269 | 5103 |
;
|
4270 | 5104 |
return 0;
|
4271 | 5105 |
}
|
4272 | 5106 |
_ACEOF
|
4273 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5107 |
if ac_fn_c_try_compile "$LINENO"
|
|
5108 |
then :
|
4274 | 5109 |
ac_cv_prog_cc_g=yes
|
4275 | |
else
|
|
5110 |
else $as_nop
|
4276 | 5111 |
CFLAGS=""
|
4277 | 5112 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4278 | 5113 |
/* end confdefs.h. */
|
4279 | 5114 |
|
4280 | 5115 |
int
|
4281 | |
main ()
|
|
5116 |
main (void)
|
4282 | 5117 |
{
|
4283 | 5118 |
|
4284 | 5119 |
;
|
4285 | 5120 |
return 0;
|
4286 | 5121 |
}
|
4287 | 5122 |
_ACEOF
|
4288 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4289 | |
|
4290 | |
else
|
|
5123 |
if ac_fn_c_try_compile "$LINENO"
|
|
5124 |
then :
|
|
5125 |
|
|
5126 |
else $as_nop
|
4291 | 5127 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4292 | 5128 |
CFLAGS="-g"
|
4293 | 5129 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4294 | 5130 |
/* end confdefs.h. */
|
4295 | 5131 |
|
4296 | 5132 |
int
|
4297 | |
main ()
|
|
5133 |
main (void)
|
4298 | 5134 |
{
|
4299 | 5135 |
|
4300 | 5136 |
;
|
4301 | 5137 |
return 0;
|
4302 | 5138 |
}
|
4303 | 5139 |
_ACEOF
|
4304 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5140 |
if ac_fn_c_try_compile "$LINENO"
|
|
5141 |
then :
|
4305 | 5142 |
ac_cv_prog_cc_g=yes
|
4306 | 5143 |
fi
|
4307 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4308 | |
fi
|
4309 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4310 | |
fi
|
4311 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5144 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5145 |
fi
|
|
5146 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5147 |
fi
|
|
5148 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4312 | 5149 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4313 | 5150 |
fi
|
4314 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
4315 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
4316 | |
if test "$ac_test_CFLAGS" = set; then
|
|
5151 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
5152 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
|
5153 |
if test $ac_test_CFLAGS; then
|
4317 | 5154 |
CFLAGS=$ac_save_CFLAGS
|
4318 | 5155 |
elif test $ac_cv_prog_cc_g = yes; then
|
4319 | 5156 |
if test "$GCC" = yes; then
|
|
4328 | 5165 |
CFLAGS=
|
4329 | 5166 |
fi
|
4330 | 5167 |
fi
|
4331 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4332 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4333 | |
if ${ac_cv_prog_cc_c89+:} false; then :
|
4334 | |
$as_echo_n "(cached) " >&6
|
4335 | |
else
|
|
5168 |
ac_prog_cc_stdc=no
|
|
5169 |
if test x$ac_prog_cc_stdc = xno
|
|
5170 |
then :
|
|
5171 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
|
|
5172 |
printf %s "checking for $CC option to enable C11 features... " >&6; }
|
|
5173 |
if test ${ac_cv_prog_cc_c11+y}
|
|
5174 |
then :
|
|
5175 |
printf %s "(cached) " >&6
|
|
5176 |
else $as_nop
|
|
5177 |
ac_cv_prog_cc_c11=no
|
|
5178 |
ac_save_CC=$CC
|
|
5179 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5180 |
/* end confdefs.h. */
|
|
5181 |
$ac_c_conftest_c11_program
|
|
5182 |
_ACEOF
|
|
5183 |
for ac_arg in '' -std=gnu11
|
|
5184 |
do
|
|
5185 |
CC="$ac_save_CC $ac_arg"
|
|
5186 |
if ac_fn_c_try_compile "$LINENO"
|
|
5187 |
then :
|
|
5188 |
ac_cv_prog_cc_c11=$ac_arg
|
|
5189 |
fi
|
|
5190 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5191 |
test "x$ac_cv_prog_cc_c11" != "xno" && break
|
|
5192 |
done
|
|
5193 |
rm -f conftest.$ac_ext
|
|
5194 |
CC=$ac_save_CC
|
|
5195 |
fi
|
|
5196 |
|
|
5197 |
if test "x$ac_cv_prog_cc_c11" = xno
|
|
5198 |
then :
|
|
5199 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5200 |
printf "%s\n" "unsupported" >&6; }
|
|
5201 |
else $as_nop
|
|
5202 |
if test "x$ac_cv_prog_cc_c11" = x
|
|
5203 |
then :
|
|
5204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5205 |
printf "%s\n" "none needed" >&6; }
|
|
5206 |
else $as_nop
|
|
5207 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
|
|
5208 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
|
|
5209 |
CC="$CC $ac_cv_prog_cc_c11"
|
|
5210 |
fi
|
|
5211 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
|
|
5212 |
ac_prog_cc_stdc=c11
|
|
5213 |
fi
|
|
5214 |
fi
|
|
5215 |
if test x$ac_prog_cc_stdc = xno
|
|
5216 |
then :
|
|
5217 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
|
|
5218 |
printf %s "checking for $CC option to enable C99 features... " >&6; }
|
|
5219 |
if test ${ac_cv_prog_cc_c99+y}
|
|
5220 |
then :
|
|
5221 |
printf %s "(cached) " >&6
|
|
5222 |
else $as_nop
|
|
5223 |
ac_cv_prog_cc_c99=no
|
|
5224 |
ac_save_CC=$CC
|
|
5225 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5226 |
/* end confdefs.h. */
|
|
5227 |
$ac_c_conftest_c99_program
|
|
5228 |
_ACEOF
|
|
5229 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
|
|
5230 |
do
|
|
5231 |
CC="$ac_save_CC $ac_arg"
|
|
5232 |
if ac_fn_c_try_compile "$LINENO"
|
|
5233 |
then :
|
|
5234 |
ac_cv_prog_cc_c99=$ac_arg
|
|
5235 |
fi
|
|
5236 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5237 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
5238 |
done
|
|
5239 |
rm -f conftest.$ac_ext
|
|
5240 |
CC=$ac_save_CC
|
|
5241 |
fi
|
|
5242 |
|
|
5243 |
if test "x$ac_cv_prog_cc_c99" = xno
|
|
5244 |
then :
|
|
5245 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5246 |
printf "%s\n" "unsupported" >&6; }
|
|
5247 |
else $as_nop
|
|
5248 |
if test "x$ac_cv_prog_cc_c99" = x
|
|
5249 |
then :
|
|
5250 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5251 |
printf "%s\n" "none needed" >&6; }
|
|
5252 |
else $as_nop
|
|
5253 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
5254 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
|
|
5255 |
CC="$CC $ac_cv_prog_cc_c99"
|
|
5256 |
fi
|
|
5257 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
5258 |
ac_prog_cc_stdc=c99
|
|
5259 |
fi
|
|
5260 |
fi
|
|
5261 |
if test x$ac_prog_cc_stdc = xno
|
|
5262 |
then :
|
|
5263 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
|
|
5264 |
printf %s "checking for $CC option to enable C89 features... " >&6; }
|
|
5265 |
if test ${ac_cv_prog_cc_c89+y}
|
|
5266 |
then :
|
|
5267 |
printf %s "(cached) " >&6
|
|
5268 |
else $as_nop
|
4336 | 5269 |
ac_cv_prog_cc_c89=no
|
4337 | 5270 |
ac_save_CC=$CC
|
4338 | 5271 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4339 | 5272 |
/* end confdefs.h. */
|
4340 | |
#include <stdarg.h>
|
4341 | |
#include <stdio.h>
|
4342 | |
struct stat;
|
4343 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4344 | |
struct buf { int x; };
|
4345 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
4346 | |
static char *e (p, i)
|
4347 | |
char **p;
|
4348 | |
int i;
|
4349 | |
{
|
4350 | |
return p[i];
|
4351 | |
}
|
4352 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
4353 | |
{
|
4354 | |
char *s;
|
4355 | |
va_list v;
|
4356 | |
va_start (v,p);
|
4357 | |
s = g (p, va_arg (v,int));
|
4358 | |
va_end (v);
|
4359 | |
return s;
|
4360 | |
}
|
4361 | |
|
4362 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4363 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
4364 | |
These don't provoke an error unfortunately, instead are silently treated
|
4365 | |
as 'x'. The following induces an error, until -std is added to get
|
4366 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4367 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
4368 | |
that's true only with -std. */
|
4369 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4370 | |
|
4371 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4372 | |
inside strings and character constants. */
|
4373 | |
#define FOO(x) 'x'
|
4374 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4375 | |
|
4376 | |
int test (int i, double x);
|
4377 | |
struct s1 {int (*f) (int a);};
|
4378 | |
struct s2 {int (*f) (double a);};
|
4379 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
4380 | |
int argc;
|
4381 | |
char **argv;
|
4382 | |
int
|
4383 | |
main ()
|
4384 | |
{
|
4385 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
4386 | |
;
|
4387 | |
return 0;
|
4388 | |
}
|
|
5273 |
$ac_c_conftest_c89_program
|
4389 | 5274 |
_ACEOF
|
4390 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4391 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
5275 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4392 | 5276 |
do
|
4393 | 5277 |
CC="$ac_save_CC $ac_arg"
|
4394 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5278 |
if ac_fn_c_try_compile "$LINENO"
|
|
5279 |
then :
|
4395 | 5280 |
ac_cv_prog_cc_c89=$ac_arg
|
4396 | 5281 |
fi
|
4397 | |
rm -f core conftest.err conftest.$ac_objext
|
|
5282 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
4398 | 5283 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4399 | 5284 |
done
|
4400 | 5285 |
rm -f conftest.$ac_ext
|
4401 | 5286 |
CC=$ac_save_CC
|
4402 | |
|
4403 | |
fi
|
4404 | |
# AC_CACHE_VAL
|
4405 | |
case "x$ac_cv_prog_cc_c89" in
|
4406 | |
x)
|
4407 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4408 | |
$as_echo "none needed" >&6; } ;;
|
4409 | |
xno)
|
4410 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4411 | |
$as_echo "unsupported" >&6; } ;;
|
4412 | |
*)
|
4413 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4414 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4415 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4416 | |
esac
|
4417 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4418 | |
|
|
5287 |
fi
|
|
5288 |
|
|
5289 |
if test "x$ac_cv_prog_cc_c89" = xno
|
|
5290 |
then :
|
|
5291 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5292 |
printf "%s\n" "unsupported" >&6; }
|
|
5293 |
else $as_nop
|
|
5294 |
if test "x$ac_cv_prog_cc_c89" = x
|
|
5295 |
then :
|
|
5296 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5297 |
printf "%s\n" "none needed" >&6; }
|
|
5298 |
else $as_nop
|
|
5299 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
5300 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
|
|
5301 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
5302 |
fi
|
|
5303 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
5304 |
ac_prog_cc_stdc=c89
|
|
5305 |
fi
|
4419 | 5306 |
fi
|
4420 | 5307 |
|
4421 | 5308 |
ac_ext=c
|
|
4424 | 5311 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4425 | 5312 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4426 | 5313 |
|
4427 | |
ac_ext=c
|
|
5314 |
|
|
5315 |
ac_ext=c
|
4428 | 5316 |
ac_cpp='$CPP $CPPFLAGS'
|
4429 | 5317 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4430 | 5318 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4431 | 5319 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4432 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
4433 | |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
4434 | |
if ${am_cv_prog_cc_c_o+:} false; then :
|
4435 | |
$as_echo_n "(cached) " >&6
|
4436 | |
else
|
|
5320 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
5321 |
printf %s "checking whether $CC understands -c and -o together... " >&6; }
|
|
5322 |
if test ${am_cv_prog_cc_c_o+y}
|
|
5323 |
then :
|
|
5324 |
printf %s "(cached) " >&6
|
|
5325 |
else $as_nop
|
4437 | 5326 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4438 | 5327 |
/* end confdefs.h. */
|
4439 | 5328 |
|
4440 | 5329 |
int
|
4441 | |
main ()
|
|
5330 |
main (void)
|
4442 | 5331 |
{
|
4443 | 5332 |
|
4444 | 5333 |
;
|
|
4466 | 5355 |
rm -f core conftest*
|
4467 | 5356 |
unset am_i
|
4468 | 5357 |
fi
|
4469 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
4470 | |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
5358 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
5359 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
|
4471 | 5360 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
4472 | 5361 |
# Losing compiler, so override with the script.
|
4473 | 5362 |
# FIXME: It is wrong to rewrite CC.
|
|
4485 | 5374 |
|
4486 | 5375 |
depcc="$CC" am_compiler_list=
|
4487 | 5376 |
|
4488 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4489 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4490 | |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
4491 | |
$as_echo_n "(cached) " >&6
|
4492 | |
else
|
|
5377 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
5378 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
5379 |
if test ${am_cv_CC_dependencies_compiler_type+y}
|
|
5380 |
then :
|
|
5381 |
printf %s "(cached) " >&6
|
|
5382 |
else $as_nop
|
4493 | 5383 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4494 | 5384 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4495 | 5385 |
# making bogus files that we don't know about and never remove. For
|
|
4596 | 5486 |
fi
|
4597 | 5487 |
|
4598 | 5488 |
fi
|
4599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4600 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
5489 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
5490 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4601 | 5491 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4602 | 5492 |
|
4603 | 5493 |
if
|
|
4615 | 5505 |
|
4616 | 5506 |
case `pwd` in
|
4617 | 5507 |
*\ * | *\ *)
|
4618 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
4619 | |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
5508 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
5509 |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
4620 | 5510 |
esac
|
4621 | 5511 |
|
4622 | 5512 |
|
4623 | 5513 |
|
4624 | 5514 |
macro_version='2.4.6'
|
4625 | 5515 |
macro_revision='2.4.6'
|
|
5516 |
|
4626 | 5517 |
|
4627 | 5518 |
|
4628 | 5519 |
|
|
4659 | 5550 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
4660 | 5551 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
4661 | 5552 |
|
4662 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
4663 | |
$as_echo_n "checking how to print strings... " >&6; }
|
|
5553 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
|
5554 |
printf %s "checking how to print strings... " >&6; }
|
4664 | 5555 |
# Test print first, because it will be a builtin if present.
|
4665 | 5556 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
4666 | 5557 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
|
4686 | 5577 |
}
|
4687 | 5578 |
|
4688 | 5579 |
case $ECHO in
|
4689 | |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
4690 | |
$as_echo "printf" >&6; } ;;
|
4691 | |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
4692 | |
$as_echo "print -r" >&6; } ;;
|
4693 | |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
4694 | |
$as_echo "cat" >&6; } ;;
|
|
5580 |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
|
5581 |
printf "%s\n" "printf" >&6; } ;;
|
|
5582 |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
|
5583 |
printf "%s\n" "print -r" >&6; } ;;
|
|
5584 |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
|
5585 |
printf "%s\n" "cat" >&6; } ;;
|
4695 | 5586 |
esac
|
4696 | 5587 |
|
4697 | 5588 |
|
|
4707 | 5598 |
|
4708 | 5599 |
|
4709 | 5600 |
|
4710 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
4711 | |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
4712 | |
if ${ac_cv_path_SED+:} false; then :
|
4713 | |
$as_echo_n "(cached) " >&6
|
4714 | |
else
|
|
5601 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
|
5602 |
printf %s "checking for a sed that does not truncate output... " >&6; }
|
|
5603 |
if test ${ac_cv_path_SED+y}
|
|
5604 |
then :
|
|
5605 |
printf %s "(cached) " >&6
|
|
5606 |
else $as_nop
|
4715 | 5607 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
4716 | 5608 |
for ac_i in 1 2 3 4 5 6 7; do
|
4717 | 5609 |
ac_script="$ac_script$as_nl$ac_script"
|
|
4725 | 5617 |
for as_dir in $PATH
|
4726 | 5618 |
do
|
4727 | 5619 |
IFS=$as_save_IFS
|
4728 | |
test -z "$as_dir" && as_dir=.
|
4729 | |
for ac_prog in sed gsed; do
|
|
5620 |
case $as_dir in #(((
|
|
5621 |
'') as_dir=./ ;;
|
|
5622 |
*/) ;;
|
|
5623 |
*) as_dir=$as_dir/ ;;
|
|
5624 |
esac
|
|
5625 |
for ac_prog in sed gsed
|
|
5626 |
do
|
4730 | 5627 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4731 | |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
5628 |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
|
4732 | 5629 |
as_fn_executable_p "$ac_path_SED" || continue
|
4733 | 5630 |
# Check for GNU ac_path_SED and select it if it is found.
|
4734 | 5631 |
# Check for GNU $ac_path_SED
|
|
4737 | 5634 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
4738 | 5635 |
*)
|
4739 | 5636 |
ac_count=0
|
4740 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5637 |
printf %s 0123456789 >"conftest.in"
|
4741 | 5638 |
while :
|
4742 | 5639 |
do
|
4743 | 5640 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4744 | 5641 |
mv "conftest.tmp" "conftest.in"
|
4745 | 5642 |
cp "conftest.in" "conftest.nl"
|
4746 | |
$as_echo '' >> "conftest.nl"
|
|
5643 |
printf "%s\n" '' >> "conftest.nl"
|
4747 | 5644 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4748 | 5645 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4749 | 5646 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4771 | 5668 |
fi
|
4772 | 5669 |
|
4773 | 5670 |
fi
|
4774 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
4775 | |
$as_echo "$ac_cv_path_SED" >&6; }
|
|
5671 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
|
5672 |
printf "%s\n" "$ac_cv_path_SED" >&6; }
|
4776 | 5673 |
SED="$ac_cv_path_SED"
|
4777 | 5674 |
rm -f conftest.sed
|
4778 | 5675 |
|
|
4789 | 5686 |
|
4790 | 5687 |
|
4791 | 5688 |
|
4792 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4793 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4794 | |
if ${ac_cv_path_GREP+:} false; then :
|
4795 | |
$as_echo_n "(cached) " >&6
|
4796 | |
else
|
|
5689 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
5690 |
printf %s "checking for grep that handles long lines and -e... " >&6; }
|
|
5691 |
if test ${ac_cv_path_GREP+y}
|
|
5692 |
then :
|
|
5693 |
printf %s "(cached) " >&6
|
|
5694 |
else $as_nop
|
4797 | 5695 |
if test -z "$GREP"; then
|
4798 | 5696 |
ac_path_GREP_found=false
|
4799 | 5697 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4801 | 5699 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4802 | 5700 |
do
|
4803 | 5701 |
IFS=$as_save_IFS
|
4804 | |
test -z "$as_dir" && as_dir=.
|
4805 | |
for ac_prog in grep ggrep; do
|
|
5702 |
case $as_dir in #(((
|
|
5703 |
'') as_dir=./ ;;
|
|
5704 |
*/) ;;
|
|
5705 |
*) as_dir=$as_dir/ ;;
|
|
5706 |
esac
|
|
5707 |
for ac_prog in grep ggrep
|
|
5708 |
do
|
4806 | 5709 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4807 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5710 |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
|
4808 | 5711 |
as_fn_executable_p "$ac_path_GREP" || continue
|
4809 | 5712 |
# Check for GNU ac_path_GREP and select it if it is found.
|
4810 | 5713 |
# Check for GNU $ac_path_GREP
|
|
4813 | 5716 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
4814 | 5717 |
*)
|
4815 | 5718 |
ac_count=0
|
4816 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5719 |
printf %s 0123456789 >"conftest.in"
|
4817 | 5720 |
while :
|
4818 | 5721 |
do
|
4819 | 5722 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4820 | 5723 |
mv "conftest.tmp" "conftest.in"
|
4821 | 5724 |
cp "conftest.in" "conftest.nl"
|
4822 | |
$as_echo 'GREP' >> "conftest.nl"
|
|
5725 |
printf "%s\n" 'GREP' >> "conftest.nl"
|
4823 | 5726 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4824 | 5727 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4825 | 5728 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4847 | 5750 |
fi
|
4848 | 5751 |
|
4849 | 5752 |
fi
|
4850 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4851 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
|
5753 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
5754 |
printf "%s\n" "$ac_cv_path_GREP" >&6; }
|
4852 | 5755 |
GREP="$ac_cv_path_GREP"
|
4853 | 5756 |
|
4854 | 5757 |
|
4855 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4856 | |
$as_echo_n "checking for egrep... " >&6; }
|
4857 | |
if ${ac_cv_path_EGREP+:} false; then :
|
4858 | |
$as_echo_n "(cached) " >&6
|
4859 | |
else
|
|
5758 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
5759 |
printf %s "checking for egrep... " >&6; }
|
|
5760 |
if test ${ac_cv_path_EGREP+y}
|
|
5761 |
then :
|
|
5762 |
printf %s "(cached) " >&6
|
|
5763 |
else $as_nop
|
4860 | 5764 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
4861 | 5765 |
then ac_cv_path_EGREP="$GREP -E"
|
4862 | 5766 |
else
|
|
4867 | 5771 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4868 | 5772 |
do
|
4869 | 5773 |
IFS=$as_save_IFS
|
4870 | |
test -z "$as_dir" && as_dir=.
|
4871 | |
for ac_prog in egrep; do
|
|
5774 |
case $as_dir in #(((
|
|
5775 |
'') as_dir=./ ;;
|
|
5776 |
*/) ;;
|
|
5777 |
*) as_dir=$as_dir/ ;;
|
|
5778 |
esac
|
|
5779 |
for ac_prog in egrep
|
|
5780 |
do
|
4872 | 5781 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4873 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5782 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
|
4874 | 5783 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
4875 | 5784 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4876 | 5785 |
# Check for GNU $ac_path_EGREP
|
|
4879 | 5788 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
4880 | 5789 |
*)
|
4881 | 5790 |
ac_count=0
|
4882 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5791 |
printf %s 0123456789 >"conftest.in"
|
4883 | 5792 |
while :
|
4884 | 5793 |
do
|
4885 | 5794 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4886 | 5795 |
mv "conftest.tmp" "conftest.in"
|
4887 | 5796 |
cp "conftest.in" "conftest.nl"
|
4888 | |
$as_echo 'EGREP' >> "conftest.nl"
|
|
5797 |
printf "%s\n" 'EGREP' >> "conftest.nl"
|
4889 | 5798 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4890 | 5799 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4891 | 5800 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4914 | 5823 |
|
4915 | 5824 |
fi
|
4916 | 5825 |
fi
|
4917 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
4918 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
|
5826 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
5827 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
|
4919 | 5828 |
EGREP="$ac_cv_path_EGREP"
|
4920 | 5829 |
|
4921 | 5830 |
|
4922 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
4923 | |
$as_echo_n "checking for fgrep... " >&6; }
|
4924 | |
if ${ac_cv_path_FGREP+:} false; then :
|
4925 | |
$as_echo_n "(cached) " >&6
|
4926 | |
else
|
|
5831 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
|
5832 |
printf %s "checking for fgrep... " >&6; }
|
|
5833 |
if test ${ac_cv_path_FGREP+y}
|
|
5834 |
then :
|
|
5835 |
printf %s "(cached) " >&6
|
|
5836 |
else $as_nop
|
4927 | 5837 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
4928 | 5838 |
then ac_cv_path_FGREP="$GREP -F"
|
4929 | 5839 |
else
|
|
4934 | 5844 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4935 | 5845 |
do
|
4936 | 5846 |
IFS=$as_save_IFS
|
4937 | |
test -z "$as_dir" && as_dir=.
|
4938 | |
for ac_prog in fgrep; do
|
|
5847 |
case $as_dir in #(((
|
|
5848 |
'') as_dir=./ ;;
|
|
5849 |
*/) ;;
|
|
5850 |
*) as_dir=$as_dir/ ;;
|
|
5851 |
esac
|
|
5852 |
for ac_prog in fgrep
|
|
5853 |
do
|
4939 | 5854 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4940 | |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5855 |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
|
4941 | 5856 |
as_fn_executable_p "$ac_path_FGREP" || continue
|
4942 | 5857 |
# Check for GNU ac_path_FGREP and select it if it is found.
|
4943 | 5858 |
# Check for GNU $ac_path_FGREP
|
|
4946 | 5861 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
4947 | 5862 |
*)
|
4948 | 5863 |
ac_count=0
|
4949 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5864 |
printf %s 0123456789 >"conftest.in"
|
4950 | 5865 |
while :
|
4951 | 5866 |
do
|
4952 | 5867 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4953 | 5868 |
mv "conftest.tmp" "conftest.in"
|
4954 | 5869 |
cp "conftest.in" "conftest.nl"
|
4955 | |
$as_echo 'FGREP' >> "conftest.nl"
|
|
5870 |
printf "%s\n" 'FGREP' >> "conftest.nl"
|
4956 | 5871 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4957 | 5872 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4958 | 5873 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4981 | 5896 |
|
4982 | 5897 |
fi
|
4983 | 5898 |
fi
|
4984 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
4985 | |
$as_echo "$ac_cv_path_FGREP" >&6; }
|
|
5899 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
|
5900 |
printf "%s\n" "$ac_cv_path_FGREP" >&6; }
|
4986 | 5901 |
FGREP="$ac_cv_path_FGREP"
|
4987 | 5902 |
|
4988 | 5903 |
|
|
5007 | 5922 |
|
5008 | 5923 |
|
5009 | 5924 |
# Check whether --with-gnu-ld was given.
|
5010 | |
if test "${with_gnu_ld+set}" = set; then :
|
|
5925 |
if test ${with_gnu_ld+y}
|
|
5926 |
then :
|
5011 | 5927 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
|
5012 | |
else
|
|
5928 |
else $as_nop
|
5013 | 5929 |
with_gnu_ld=no
|
5014 | 5930 |
fi
|
5015 | 5931 |
|
5016 | 5932 |
ac_prog=ld
|
5017 | 5933 |
if test yes = "$GCC"; then
|
5018 | 5934 |
# Check if gcc -print-prog-name=ld gives a path.
|
5019 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
5020 | |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
|
5935 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
5936 |
printf %s "checking for ld used by $CC... " >&6; }
|
5021 | 5937 |
case $host in
|
5022 | 5938 |
*-*-mingw*)
|
5023 | 5939 |
# gcc leaves a trailing carriage return, which upsets mingw
|
|
5046 | 5962 |
;;
|
5047 | 5963 |
esac
|
5048 | 5964 |
elif test yes = "$with_gnu_ld"; then
|
5049 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
5050 | |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
5965 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
5966 |
printf %s "checking for GNU ld... " >&6; }
|
5051 | 5967 |
else
|
5052 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
5053 | |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
5054 | |
fi
|
5055 | |
if ${lt_cv_path_LD+:} false; then :
|
5056 | |
$as_echo_n "(cached) " >&6
|
5057 | |
else
|
|
5968 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
5969 |
printf %s "checking for non-GNU ld... " >&6; }
|
|
5970 |
fi
|
|
5971 |
if test ${lt_cv_path_LD+y}
|
|
5972 |
then :
|
|
5973 |
printf %s "(cached) " >&6
|
|
5974 |
else $as_nop
|
5058 | 5975 |
if test -z "$LD"; then
|
5059 | 5976 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
5060 | 5977 |
for ac_dir in $PATH; do
|
|
5083 | 6000 |
|
5084 | 6001 |
LD=$lt_cv_path_LD
|
5085 | 6002 |
if test -n "$LD"; then
|
5086 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
5087 | |
$as_echo "$LD" >&6; }
|
|
6003 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
6004 |
printf "%s\n" "$LD" >&6; }
|
5088 | 6005 |
else
|
5089 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5090 | |
$as_echo "no" >&6; }
|
|
6006 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6007 |
printf "%s\n" "no" >&6; }
|
5091 | 6008 |
fi
|
5092 | 6009 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
5093 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
5094 | |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
5095 | |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
5096 | |
$as_echo_n "(cached) " >&6
|
5097 | |
else
|
|
6010 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
6011 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
6012 |
if test ${lt_cv_prog_gnu_ld+y}
|
|
6013 |
then :
|
|
6014 |
printf %s "(cached) " >&6
|
|
6015 |
else $as_nop
|
5098 | 6016 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
5099 | 6017 |
case `$LD -v 2>&1 </dev/null` in
|
5100 | 6018 |
*GNU* | *'with BFD'*)
|
|
5105 | 6023 |
;;
|
5106 | 6024 |
esac
|
5107 | 6025 |
fi
|
5108 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
5109 | |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
|
6026 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
6027 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
|
5110 | 6028 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
5111 | 6029 |
|
5112 | 6030 |
|
|
5117 | 6035 |
|
5118 | 6036 |
|
5119 | 6037 |
|
5120 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
5121 | |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
5122 | |
if ${lt_cv_path_NM+:} false; then :
|
5123 | |
$as_echo_n "(cached) " >&6
|
5124 | |
else
|
|
6038 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
|
6039 |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
|
6040 |
if test ${lt_cv_path_NM+y}
|
|
6041 |
then :
|
|
6042 |
printf %s "(cached) " >&6
|
|
6043 |
else $as_nop
|
5125 | 6044 |
if test -n "$NM"; then
|
5126 | 6045 |
# Let the user override the test.
|
5127 | 6046 |
lt_cv_path_NM=$NM
|
|
5171 | 6090 |
: ${lt_cv_path_NM=no}
|
5172 | 6091 |
fi
|
5173 | 6092 |
fi
|
5174 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
5175 | |
$as_echo "$lt_cv_path_NM" >&6; }
|
|
6093 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
|
6094 |
printf "%s\n" "$lt_cv_path_NM" >&6; }
|
5176 | 6095 |
if test no != "$lt_cv_path_NM"; then
|
5177 | 6096 |
NM=$lt_cv_path_NM
|
5178 | 6097 |
else
|
|
5185 | 6104 |
do
|
5186 | 6105 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
5187 | 6106 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
5188 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5189 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5190 | |
if ${ac_cv_prog_DUMPBIN+:} false; then :
|
5191 | |
$as_echo_n "(cached) " >&6
|
5192 | |
else
|
|
6107 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6108 |
printf %s "checking for $ac_word... " >&6; }
|
|
6109 |
if test ${ac_cv_prog_DUMPBIN+y}
|
|
6110 |
then :
|
|
6111 |
printf %s "(cached) " >&6
|
|
6112 |
else $as_nop
|
5193 | 6113 |
if test -n "$DUMPBIN"; then
|
5194 | 6114 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
5195 | 6115 |
else
|
|
5197 | 6117 |
for as_dir in $PATH
|
5198 | 6118 |
do
|
5199 | 6119 |
IFS=$as_save_IFS
|
5200 | |
test -z "$as_dir" && as_dir=.
|
|
6120 |
case $as_dir in #(((
|
|
6121 |
'') as_dir=./ ;;
|
|
6122 |
*/) ;;
|
|
6123 |
*) as_dir=$as_dir/ ;;
|
|
6124 |
esac
|
5201 | 6125 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5202 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6126 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5203 | 6127 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
5204 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6128 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5205 | 6129 |
break 2
|
5206 | 6130 |
fi
|
5207 | 6131 |
done
|
|
5212 | 6136 |
fi
|
5213 | 6137 |
DUMPBIN=$ac_cv_prog_DUMPBIN
|
5214 | 6138 |
if test -n "$DUMPBIN"; then
|
5215 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
5216 | |
$as_echo "$DUMPBIN" >&6; }
|
|
6139 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
|
6140 |
printf "%s\n" "$DUMPBIN" >&6; }
|
5217 | 6141 |
else
|
5218 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5219 | |
$as_echo "no" >&6; }
|
|
6142 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6143 |
printf "%s\n" "no" >&6; }
|
5220 | 6144 |
fi
|
5221 | 6145 |
|
5222 | 6146 |
|
|
5229 | 6153 |
do
|
5230 | 6154 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5231 | 6155 |
set dummy $ac_prog; ac_word=$2
|
5232 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5233 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5234 | |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
|
5235 | |
$as_echo_n "(cached) " >&6
|
5236 | |
else
|
|
6156 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6157 |
printf %s "checking for $ac_word... " >&6; }
|
|
6158 |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
|
|
6159 |
then :
|
|
6160 |
printf %s "(cached) " >&6
|
|
6161 |
else $as_nop
|
5237 | 6162 |
if test -n "$ac_ct_DUMPBIN"; then
|
5238 | 6163 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
5239 | 6164 |
else
|
|
5241 | 6166 |
for as_dir in $PATH
|
5242 | 6167 |
do
|
5243 | 6168 |
IFS=$as_save_IFS
|
5244 | |
test -z "$as_dir" && as_dir=.
|
|
6169 |
case $as_dir in #(((
|
|
6170 |
'') as_dir=./ ;;
|
|
6171 |
*/) ;;
|
|
6172 |
*) as_dir=$as_dir/ ;;
|
|
6173 |
esac
|
5245 | 6174 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5246 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6175 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5247 | 6176 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
5248 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6177 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5249 | 6178 |
break 2
|
5250 | 6179 |
fi
|
5251 | 6180 |
done
|
|
5256 | 6185 |
fi
|
5257 | 6186 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
5258 | 6187 |
if test -n "$ac_ct_DUMPBIN"; then
|
5259 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
5260 | |
$as_echo "$ac_ct_DUMPBIN" >&6; }
|
|
6188 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
|
6189 |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
|
5261 | 6190 |
else
|
5262 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5263 | |
$as_echo "no" >&6; }
|
|
6191 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6192 |
printf "%s\n" "no" >&6; }
|
5264 | 6193 |
fi
|
5265 | 6194 |
|
5266 | 6195 |
|
|
5272 | 6201 |
else
|
5273 | 6202 |
case $cross_compiling:$ac_tool_warned in
|
5274 | 6203 |
yes:)
|
5275 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5276 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6205 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5277 | 6206 |
ac_tool_warned=yes ;;
|
5278 | 6207 |
esac
|
5279 | 6208 |
DUMPBIN=$ac_ct_DUMPBIN
|
|
5301 | 6230 |
|
5302 | 6231 |
|
5303 | 6232 |
|
5304 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
5305 | |
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
5306 | |
if ${lt_cv_nm_interface+:} false; then :
|
5307 | |
$as_echo_n "(cached) " >&6
|
5308 | |
else
|
|
6233 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
|
6234 |
printf %s "checking the name lister ($NM) interface... " >&6; }
|
|
6235 |
if test ${lt_cv_nm_interface+y}
|
|
6236 |
then :
|
|
6237 |
printf %s "(cached) " >&6
|
|
6238 |
else $as_nop
|
5309 | 6239 |
lt_cv_nm_interface="BSD nm"
|
5310 | 6240 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
5311 | 6241 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
|
5321 | 6251 |
fi
|
5322 | 6252 |
rm -f conftest*
|
5323 | 6253 |
fi
|
5324 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
5325 | |
$as_echo "$lt_cv_nm_interface" >&6; }
|
5326 | |
|
5327 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
5328 | |
$as_echo_n "checking whether ln -s works... " >&6; }
|
|
6254 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
|
6255 |
printf "%s\n" "$lt_cv_nm_interface" >&6; }
|
|
6256 |
|
|
6257 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
|
6258 |
printf %s "checking whether ln -s works... " >&6; }
|
5329 | 6259 |
LN_S=$as_ln_s
|
5330 | 6260 |
if test "$LN_S" = "ln -s"; then
|
5331 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5332 | |
$as_echo "yes" >&6; }
|
|
6261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
6262 |
printf "%s\n" "yes" >&6; }
|
5333 | 6263 |
else
|
5334 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
5335 | |
$as_echo "no, using $LN_S" >&6; }
|
|
6264 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
|
6265 |
printf "%s\n" "no, using $LN_S" >&6; }
|
5336 | 6266 |
fi
|
5337 | 6267 |
|
5338 | 6268 |
# find the maximum length of command line arguments
|
5339 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
5340 | |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
5341 | |
if ${lt_cv_sys_max_cmd_len+:} false; then :
|
5342 | |
$as_echo_n "(cached) " >&6
|
5343 | |
else
|
|
6269 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
|
6270 |
printf %s "checking the maximum length of command line arguments... " >&6; }
|
|
6271 |
if test ${lt_cv_sys_max_cmd_len+y}
|
|
6272 |
then :
|
|
6273 |
printf %s "(cached) " >&6
|
|
6274 |
else $as_nop
|
5344 | 6275 |
i=0
|
5345 | 6276 |
teststring=ABCD
|
5346 | 6277 |
|
|
5467 | 6398 |
fi
|
5468 | 6399 |
|
5469 | 6400 |
if test -n "$lt_cv_sys_max_cmd_len"; then
|
5470 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
5471 | |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
|
6401 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
|
6402 |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
|
5472 | 6403 |
else
|
5473 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
5474 | |
$as_echo "none" >&6; }
|
|
6404 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
6405 |
printf "%s\n" "none" >&6; }
|
5475 | 6406 |
fi
|
5476 | 6407 |
max_cmd_len=$lt_cv_sys_max_cmd_len
|
5477 | 6408 |
|
|
5515 | 6446 |
|
5516 | 6447 |
|
5517 | 6448 |
|
5518 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
5519 | |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
5520 | |
if ${lt_cv_to_host_file_cmd+:} false; then :
|
5521 | |
$as_echo_n "(cached) " >&6
|
5522 | |
else
|
|
6449 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
|
6450 |
printf %s "checking how to convert $build file names to $host format... " >&6; }
|
|
6451 |
if test ${lt_cv_to_host_file_cmd+y}
|
|
6452 |
then :
|
|
6453 |
printf %s "(cached) " >&6
|
|
6454 |
else $as_nop
|
5523 | 6455 |
case $host in
|
5524 | 6456 |
*-*-mingw* )
|
5525 | 6457 |
case $build in
|
|
5555 | 6487 |
fi
|
5556 | 6488 |
|
5557 | 6489 |
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
5558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
5559 | |
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
5560 | |
|
5561 | |
|
5562 | |
|
5563 | |
|
5564 | |
|
5565 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
5566 | |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
5567 | |
if ${lt_cv_to_tool_file_cmd+:} false; then :
|
5568 | |
$as_echo_n "(cached) " >&6
|
5569 | |
else
|
|
6490 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
|
6491 |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
|
|
6492 |
|
|
6493 |
|
|
6494 |
|
|
6495 |
|
|
6496 |
|
|
6497 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
|
6498 |
printf %s "checking how to convert $build file names to toolchain format... " >&6; }
|
|
6499 |
if test ${lt_cv_to_tool_file_cmd+y}
|
|
6500 |
then :
|
|
6501 |
printf %s "(cached) " >&6
|
|
6502 |
else $as_nop
|
5570 | 6503 |
#assume ordinary cross tools, or native build.
|
5571 | 6504 |
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
5572 | 6505 |
case $host in
|
|
5582 | 6515 |
fi
|
5583 | 6516 |
|
5584 | 6517 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
5585 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
5586 | |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
5587 | |
|
5588 | |
|
5589 | |
|
5590 | |
|
5591 | |
|
5592 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
5593 | |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
5594 | |
if ${lt_cv_ld_reload_flag+:} false; then :
|
5595 | |
$as_echo_n "(cached) " >&6
|
5596 | |
else
|
|
6518 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
|
6519 |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
|
|
6520 |
|
|
6521 |
|
|
6522 |
|
|
6523 |
|
|
6524 |
|
|
6525 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
|
6526 |
printf %s "checking for $LD option to reload object files... " >&6; }
|
|
6527 |
if test ${lt_cv_ld_reload_flag+y}
|
|
6528 |
then :
|
|
6529 |
printf %s "(cached) " >&6
|
|
6530 |
else $as_nop
|
5597 | 6531 |
lt_cv_ld_reload_flag='-r'
|
5598 | 6532 |
fi
|
5599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
5600 | |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
|
6533 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
|
6534 |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
|
5601 | 6535 |
reload_flag=$lt_cv_ld_reload_flag
|
5602 | 6536 |
case $reload_flag in
|
5603 | 6537 |
"" | " "*) ;;
|
|
5630 | 6564 |
if test -n "$ac_tool_prefix"; then
|
5631 | 6565 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
5632 | 6566 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
5633 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5634 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5635 | |
if ${ac_cv_prog_OBJDUMP+:} false; then :
|
5636 | |
$as_echo_n "(cached) " >&6
|
5637 | |
else
|
|
6567 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6568 |
printf %s "checking for $ac_word... " >&6; }
|
|
6569 |
if test ${ac_cv_prog_OBJDUMP+y}
|
|
6570 |
then :
|
|
6571 |
printf %s "(cached) " >&6
|
|
6572 |
else $as_nop
|
5638 | 6573 |
if test -n "$OBJDUMP"; then
|
5639 | 6574 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
5640 | 6575 |
else
|
|
5642 | 6577 |
for as_dir in $PATH
|
5643 | 6578 |
do
|
5644 | 6579 |
IFS=$as_save_IFS
|
5645 | |
test -z "$as_dir" && as_dir=.
|
|
6580 |
case $as_dir in #(((
|
|
6581 |
'') as_dir=./ ;;
|
|
6582 |
*/) ;;
|
|
6583 |
*) as_dir=$as_dir/ ;;
|
|
6584 |
esac
|
5646 | 6585 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5647 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6586 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5648 | 6587 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
5649 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6588 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5650 | 6589 |
break 2
|
5651 | 6590 |
fi
|
5652 | 6591 |
done
|
|
5657 | 6596 |
fi
|
5658 | 6597 |
OBJDUMP=$ac_cv_prog_OBJDUMP
|
5659 | 6598 |
if test -n "$OBJDUMP"; then
|
5660 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
5661 | |
$as_echo "$OBJDUMP" >&6; }
|
|
6599 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
|
6600 |
printf "%s\n" "$OBJDUMP" >&6; }
|
5662 | 6601 |
else
|
5663 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5664 | |
$as_echo "no" >&6; }
|
|
6602 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6603 |
printf "%s\n" "no" >&6; }
|
5665 | 6604 |
fi
|
5666 | 6605 |
|
5667 | 6606 |
|
|
5670 | 6609 |
ac_ct_OBJDUMP=$OBJDUMP
|
5671 | 6610 |
# Extract the first word of "objdump", so it can be a program name with args.
|
5672 | 6611 |
set dummy objdump; ac_word=$2
|
5673 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5674 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5675 | |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
|
5676 | |
$as_echo_n "(cached) " >&6
|
5677 | |
else
|
|
6612 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6613 |
printf %s "checking for $ac_word... " >&6; }
|
|
6614 |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
|
|
6615 |
then :
|
|
6616 |
printf %s "(cached) " >&6
|
|
6617 |
else $as_nop
|
5678 | 6618 |
if test -n "$ac_ct_OBJDUMP"; then
|
5679 | 6619 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
5680 | 6620 |
else
|
|
5682 | 6622 |
for as_dir in $PATH
|
5683 | 6623 |
do
|
5684 | 6624 |
IFS=$as_save_IFS
|
5685 | |
test -z "$as_dir" && as_dir=.
|
|
6625 |
case $as_dir in #(((
|
|
6626 |
'') as_dir=./ ;;
|
|
6627 |
*/) ;;
|
|
6628 |
*) as_dir=$as_dir/ ;;
|
|
6629 |
esac
|
5686 | 6630 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5687 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6631 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5688 | 6632 |
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
5689 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6633 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5690 | 6634 |
break 2
|
5691 | 6635 |
fi
|
5692 | 6636 |
done
|
|
5697 | 6641 |
fi
|
5698 | 6642 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
5699 | 6643 |
if test -n "$ac_ct_OBJDUMP"; then
|
5700 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
5701 | |
$as_echo "$ac_ct_OBJDUMP" >&6; }
|
|
6644 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
|
6645 |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
|
5702 | 6646 |
else
|
5703 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5704 | |
$as_echo "no" >&6; }
|
|
6647 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6648 |
printf "%s\n" "no" >&6; }
|
5705 | 6649 |
fi
|
5706 | 6650 |
|
5707 | 6651 |
if test "x$ac_ct_OBJDUMP" = x; then
|
|
5709 | 6653 |
else
|
5710 | 6654 |
case $cross_compiling:$ac_tool_warned in
|
5711 | 6655 |
yes:)
|
5712 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5713 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6656 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6657 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5714 | 6658 |
ac_tool_warned=yes ;;
|
5715 | 6659 |
esac
|
5716 | 6660 |
OBJDUMP=$ac_ct_OBJDUMP
|
|
5729 | 6673 |
|
5730 | 6674 |
|
5731 | 6675 |
|
5732 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
5733 | |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
5734 | |
if ${lt_cv_deplibs_check_method+:} false; then :
|
5735 | |
$as_echo_n "(cached) " >&6
|
5736 | |
else
|
|
6676 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
|
6677 |
printf %s "checking how to recognize dependent libraries... " >&6; }
|
|
6678 |
if test ${lt_cv_deplibs_check_method+y}
|
|
6679 |
then :
|
|
6680 |
printf %s "(cached) " >&6
|
|
6681 |
else $as_nop
|
5737 | 6682 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
5738 | 6683 |
lt_cv_file_magic_test_file=
|
5739 | 6684 |
lt_cv_deplibs_check_method='unknown'
|
|
5929 | 6874 |
esac
|
5930 | 6875 |
|
5931 | 6876 |
fi
|
5932 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
5933 | |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
|
6877 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
|
6878 |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
|
5934 | 6879 |
|
5935 | 6880 |
file_magic_glob=
|
5936 | 6881 |
want_nocaseglob=no
|
|
5974 | 6919 |
if test -n "$ac_tool_prefix"; then
|
5975 | 6920 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
5976 | 6921 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
5977 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5978 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5979 | |
if ${ac_cv_prog_DLLTOOL+:} false; then :
|
5980 | |
$as_echo_n "(cached) " >&6
|
5981 | |
else
|
|
6922 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6923 |
printf %s "checking for $ac_word... " >&6; }
|
|
6924 |
if test ${ac_cv_prog_DLLTOOL+y}
|
|
6925 |
then :
|
|
6926 |
printf %s "(cached) " >&6
|
|
6927 |
else $as_nop
|
5982 | 6928 |
if test -n "$DLLTOOL"; then
|
5983 | 6929 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
5984 | 6930 |
else
|
|
5986 | 6932 |
for as_dir in $PATH
|
5987 | 6933 |
do
|
5988 | 6934 |
IFS=$as_save_IFS
|
5989 | |
test -z "$as_dir" && as_dir=.
|
|
6935 |
case $as_dir in #(((
|
|
6936 |
'') as_dir=./ ;;
|
|
6937 |
*/) ;;
|
|
6938 |
*) as_dir=$as_dir/ ;;
|
|
6939 |
esac
|
5990 | 6940 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5991 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6941 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5992 | 6942 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
5993 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6943 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5994 | 6944 |
break 2
|
5995 | 6945 |
fi
|
5996 | 6946 |
done
|
|
6001 | 6951 |
fi
|
6002 | 6952 |
DLLTOOL=$ac_cv_prog_DLLTOOL
|
6003 | 6953 |
if test -n "$DLLTOOL"; then
|
6004 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
6005 | |
$as_echo "$DLLTOOL" >&6; }
|
|
6954 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
|
6955 |
printf "%s\n" "$DLLTOOL" >&6; }
|
6006 | 6956 |
else
|
6007 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6008 | |
$as_echo "no" >&6; }
|
|
6957 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6958 |
printf "%s\n" "no" >&6; }
|
6009 | 6959 |
fi
|
6010 | 6960 |
|
6011 | 6961 |
|
|
6014 | 6964 |
ac_ct_DLLTOOL=$DLLTOOL
|
6015 | 6965 |
# Extract the first word of "dlltool", so it can be a program name with args.
|
6016 | 6966 |
set dummy dlltool; ac_word=$2
|
6017 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6018 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6019 | |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
6020 | |
$as_echo_n "(cached) " >&6
|
6021 | |
else
|
|
6967 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6968 |
printf %s "checking for $ac_word... " >&6; }
|
|
6969 |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
|
|
6970 |
then :
|
|
6971 |
printf %s "(cached) " >&6
|
|
6972 |
else $as_nop
|
6022 | 6973 |
if test -n "$ac_ct_DLLTOOL"; then
|
6023 | 6974 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
6024 | 6975 |
else
|
|
6026 | 6977 |
for as_dir in $PATH
|
6027 | 6978 |
do
|
6028 | 6979 |
IFS=$as_save_IFS
|
6029 | |
test -z "$as_dir" && as_dir=.
|
|
6980 |
case $as_dir in #(((
|
|
6981 |
'') as_dir=./ ;;
|
|
6982 |
*/) ;;
|
|
6983 |
*) as_dir=$as_dir/ ;;
|
|
6984 |
esac
|
6030 | 6985 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6031 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6986 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6032 | 6987 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
6033 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6988 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6034 | 6989 |
break 2
|
6035 | 6990 |
fi
|
6036 | 6991 |
done
|
|
6041 | 6996 |
fi
|
6042 | 6997 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
6043 | 6998 |
if test -n "$ac_ct_DLLTOOL"; then
|
6044 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
6045 | |
$as_echo "$ac_ct_DLLTOOL" >&6; }
|
|
6999 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
|
7000 |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
|
6046 | 7001 |
else
|
6047 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6048 | |
$as_echo "no" >&6; }
|
|
7002 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7003 |
printf "%s\n" "no" >&6; }
|
6049 | 7004 |
fi
|
6050 | 7005 |
|
6051 | 7006 |
if test "x$ac_ct_DLLTOOL" = x; then
|
|
6053 | 7008 |
else
|
6054 | 7009 |
case $cross_compiling:$ac_tool_warned in
|
6055 | 7010 |
yes:)
|
6056 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6057 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7011 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7012 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6058 | 7013 |
ac_tool_warned=yes ;;
|
6059 | 7014 |
esac
|
6060 | 7015 |
DLLTOOL=$ac_ct_DLLTOOL
|
|
6074 | 7029 |
|
6075 | 7030 |
|
6076 | 7031 |
|
6077 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
6078 | |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
6079 | |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
6080 | |
$as_echo_n "(cached) " >&6
|
6081 | |
else
|
|
7032 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
|
7033 |
printf %s "checking how to associate runtime and link libraries... " >&6; }
|
|
7034 |
if test ${lt_cv_sharedlib_from_linklib_cmd+y}
|
|
7035 |
then :
|
|
7036 |
printf %s "(cached) " >&6
|
|
7037 |
else $as_nop
|
6082 | 7038 |
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
6083 | 7039 |
|
6084 | 7040 |
case $host_os in
|
|
6101 | 7057 |
esac
|
6102 | 7058 |
|
6103 | 7059 |
fi
|
6104 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
6105 | |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
|
7060 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
|
7061 |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
6106 | 7062 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
6107 | 7063 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
6108 | 7064 |
|
|
6118 | 7074 |
do
|
6119 | 7075 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
6120 | 7076 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
6121 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6122 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6123 | |
if ${ac_cv_prog_AR+:} false; then :
|
6124 | |
$as_echo_n "(cached) " >&6
|
6125 | |
else
|
|
7077 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7078 |
printf %s "checking for $ac_word... " >&6; }
|
|
7079 |
if test ${ac_cv_prog_AR+y}
|
|
7080 |
then :
|
|
7081 |
printf %s "(cached) " >&6
|
|
7082 |
else $as_nop
|
6126 | 7083 |
if test -n "$AR"; then
|
6127 | 7084 |
ac_cv_prog_AR="$AR" # Let the user override the test.
|
6128 | 7085 |
else
|
|
6130 | 7087 |
for as_dir in $PATH
|
6131 | 7088 |
do
|
6132 | 7089 |
IFS=$as_save_IFS
|
6133 | |
test -z "$as_dir" && as_dir=.
|
|
7090 |
case $as_dir in #(((
|
|
7091 |
'') as_dir=./ ;;
|
|
7092 |
*/) ;;
|
|
7093 |
*) as_dir=$as_dir/ ;;
|
|
7094 |
esac
|
6134 | 7095 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6135 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7096 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6136 | 7097 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
6137 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7098 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6138 | 7099 |
break 2
|
6139 | 7100 |
fi
|
6140 | 7101 |
done
|
|
6145 | 7106 |
fi
|
6146 | 7107 |
AR=$ac_cv_prog_AR
|
6147 | 7108 |
if test -n "$AR"; then
|
6148 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
6149 | |
$as_echo "$AR" >&6; }
|
|
7109 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
|
7110 |
printf "%s\n" "$AR" >&6; }
|
6150 | 7111 |
else
|
6151 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6152 | |
$as_echo "no" >&6; }
|
|
7112 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7113 |
printf "%s\n" "no" >&6; }
|
6153 | 7114 |
fi
|
6154 | 7115 |
|
6155 | 7116 |
|
|
6162 | 7123 |
do
|
6163 | 7124 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
6164 | 7125 |
set dummy $ac_prog; ac_word=$2
|
6165 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6166 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6167 | |
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
6168 | |
$as_echo_n "(cached) " >&6
|
6169 | |
else
|
|
7126 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7127 |
printf %s "checking for $ac_word... " >&6; }
|
|
7128 |
if test ${ac_cv_prog_ac_ct_AR+y}
|
|
7129 |
then :
|
|
7130 |
printf %s "(cached) " >&6
|
|
7131 |
else $as_nop
|
6170 | 7132 |
if test -n "$ac_ct_AR"; then
|
6171 | 7133 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
6172 | 7134 |
else
|
|
6174 | 7136 |
for as_dir in $PATH
|
6175 | 7137 |
do
|
6176 | 7138 |
IFS=$as_save_IFS
|
6177 | |
test -z "$as_dir" && as_dir=.
|
|
7139 |
case $as_dir in #(((
|
|
7140 |
'') as_dir=./ ;;
|
|
7141 |
*/) ;;
|
|
7142 |
*) as_dir=$as_dir/ ;;
|
|
7143 |
esac
|
6178 | 7144 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6179 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7145 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6180 | 7146 |
ac_cv_prog_ac_ct_AR="$ac_prog"
|
6181 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7147 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6182 | 7148 |
break 2
|
6183 | 7149 |
fi
|
6184 | 7150 |
done
|
|
6189 | 7155 |
fi
|
6190 | 7156 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
6191 | 7157 |
if test -n "$ac_ct_AR"; then
|
6192 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
6193 | |
$as_echo "$ac_ct_AR" >&6; }
|
|
7158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
|
7159 |
printf "%s\n" "$ac_ct_AR" >&6; }
|
6194 | 7160 |
else
|
6195 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6196 | |
$as_echo "no" >&6; }
|
|
7161 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7162 |
printf "%s\n" "no" >&6; }
|
6197 | 7163 |
fi
|
6198 | 7164 |
|
6199 | 7165 |
|
|
6205 | 7171 |
else
|
6206 | 7172 |
case $cross_compiling:$ac_tool_warned in
|
6207 | 7173 |
yes:)
|
6208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6209 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7175 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6210 | 7176 |
ac_tool_warned=yes ;;
|
6211 | 7177 |
esac
|
6212 | 7178 |
AR=$ac_ct_AR
|
|
6226 | 7192 |
|
6227 | 7193 |
|
6228 | 7194 |
|
6229 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
6230 | |
$as_echo_n "checking for archiver @FILE support... " >&6; }
|
6231 | |
if ${lt_cv_ar_at_file+:} false; then :
|
6232 | |
$as_echo_n "(cached) " >&6
|
6233 | |
else
|
|
7195 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
|
7196 |
printf %s "checking for archiver @FILE support... " >&6; }
|
|
7197 |
if test ${lt_cv_ar_at_file+y}
|
|
7198 |
then :
|
|
7199 |
printf %s "(cached) " >&6
|
|
7200 |
else $as_nop
|
6234 | 7201 |
lt_cv_ar_at_file=no
|
6235 | 7202 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6236 | 7203 |
/* end confdefs.h. */
|
6237 | 7204 |
|
6238 | 7205 |
int
|
6239 | |
main ()
|
|
7206 |
main (void)
|
6240 | 7207 |
{
|
6241 | 7208 |
|
6242 | 7209 |
;
|
6243 | 7210 |
return 0;
|
6244 | 7211 |
}
|
6245 | 7212 |
_ACEOF
|
6246 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7213 |
if ac_fn_c_try_compile "$LINENO"
|
|
7214 |
then :
|
6247 | 7215 |
echo conftest.$ac_objext > conftest.lst
|
6248 | 7216 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
6249 | 7217 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
6250 | 7218 |
(eval $lt_ar_try) 2>&5
|
6251 | 7219 |
ac_status=$?
|
6252 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7220 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6253 | 7221 |
test $ac_status = 0; }
|
6254 | 7222 |
if test 0 -eq "$ac_status"; then
|
6255 | 7223 |
# Ensure the archiver fails upon bogus file names.
|
|
6257 | 7225 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
6258 | 7226 |
(eval $lt_ar_try) 2>&5
|
6259 | 7227 |
ac_status=$?
|
6260 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7228 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6261 | 7229 |
test $ac_status = 0; }
|
6262 | 7230 |
if test 0 -ne "$ac_status"; then
|
6263 | 7231 |
lt_cv_ar_at_file=@
|
|
6266 | 7234 |
rm -f conftest.* libconftest.a
|
6267 | 7235 |
|
6268 | 7236 |
fi
|
6269 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6270 | |
|
6271 | |
fi
|
6272 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
6273 | |
$as_echo "$lt_cv_ar_at_file" >&6; }
|
|
7237 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
7238 |
|
|
7239 |
fi
|
|
7240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
|
7241 |
printf "%s\n" "$lt_cv_ar_at_file" >&6; }
|
6274 | 7242 |
|
6275 | 7243 |
if test no = "$lt_cv_ar_at_file"; then
|
6276 | 7244 |
archiver_list_spec=
|
|
6287 | 7255 |
if test -n "$ac_tool_prefix"; then
|
6288 | 7256 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
6289 | 7257 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
6290 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6291 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6292 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
6293 | |
$as_echo_n "(cached) " >&6
|
6294 | |
else
|
|
7258 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7259 |
printf %s "checking for $ac_word... " >&6; }
|
|
7260 |
if test ${ac_cv_prog_STRIP+y}
|
|
7261 |
then :
|
|
7262 |
printf %s "(cached) " >&6
|
|
7263 |
else $as_nop
|
6295 | 7264 |
if test -n "$STRIP"; then
|
6296 | 7265 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
6297 | 7266 |
else
|
|
6299 | 7268 |
for as_dir in $PATH
|
6300 | 7269 |
do
|
6301 | 7270 |
IFS=$as_save_IFS
|
6302 | |
test -z "$as_dir" && as_dir=.
|
|
7271 |
case $as_dir in #(((
|
|
7272 |
'') as_dir=./ ;;
|
|
7273 |
*/) ;;
|
|
7274 |
*) as_dir=$as_dir/ ;;
|
|
7275 |
esac
|
6303 | 7276 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6304 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7277 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6305 | 7278 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
6306 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7279 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6307 | 7280 |
break 2
|
6308 | 7281 |
fi
|
6309 | 7282 |
done
|
|
6314 | 7287 |
fi
|
6315 | 7288 |
STRIP=$ac_cv_prog_STRIP
|
6316 | 7289 |
if test -n "$STRIP"; then
|
6317 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
6318 | |
$as_echo "$STRIP" >&6; }
|
|
7290 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
7291 |
printf "%s\n" "$STRIP" >&6; }
|
6319 | 7292 |
else
|
6320 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6321 | |
$as_echo "no" >&6; }
|
|
7293 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7294 |
printf "%s\n" "no" >&6; }
|
6322 | 7295 |
fi
|
6323 | 7296 |
|
6324 | 7297 |
|
|
6327 | 7300 |
ac_ct_STRIP=$STRIP
|
6328 | 7301 |
# Extract the first word of "strip", so it can be a program name with args.
|
6329 | 7302 |
set dummy strip; ac_word=$2
|
6330 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6331 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6332 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
6333 | |
$as_echo_n "(cached) " >&6
|
6334 | |
else
|
|
7303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7304 |
printf %s "checking for $ac_word... " >&6; }
|
|
7305 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
7306 |
then :
|
|
7307 |
printf %s "(cached) " >&6
|
|
7308 |
else $as_nop
|
6335 | 7309 |
if test -n "$ac_ct_STRIP"; then
|
6336 | 7310 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
6337 | 7311 |
else
|
|
6339 | 7313 |
for as_dir in $PATH
|
6340 | 7314 |
do
|
6341 | 7315 |
IFS=$as_save_IFS
|
6342 | |
test -z "$as_dir" && as_dir=.
|
|
7316 |
case $as_dir in #(((
|
|
7317 |
'') as_dir=./ ;;
|
|
7318 |
*/) ;;
|
|
7319 |
*) as_dir=$as_dir/ ;;
|
|
7320 |
esac
|
6343 | 7321 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6344 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7322 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6345 | 7323 |
ac_cv_prog_ac_ct_STRIP="strip"
|
6346 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7324 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6347 | 7325 |
break 2
|
6348 | 7326 |
fi
|
6349 | 7327 |
done
|
|
6354 | 7332 |
fi
|
6355 | 7333 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
6356 | 7334 |
if test -n "$ac_ct_STRIP"; then
|
6357 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
6358 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
7335 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
7336 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
6359 | 7337 |
else
|
6360 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6361 | |
$as_echo "no" >&6; }
|
|
7338 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7339 |
printf "%s\n" "no" >&6; }
|
6362 | 7340 |
fi
|
6363 | 7341 |
|
6364 | 7342 |
if test "x$ac_ct_STRIP" = x; then
|
|
6366 | 7344 |
else
|
6367 | 7345 |
case $cross_compiling:$ac_tool_warned in
|
6368 | 7346 |
yes:)
|
6369 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6370 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7347 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7348 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6371 | 7349 |
ac_tool_warned=yes ;;
|
6372 | 7350 |
esac
|
6373 | 7351 |
STRIP=$ac_ct_STRIP
|
|
6386 | 7364 |
if test -n "$ac_tool_prefix"; then
|
6387 | 7365 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
6388 | 7366 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6389 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6390 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6391 | |
if ${ac_cv_prog_RANLIB+:} false; then :
|
6392 | |
$as_echo_n "(cached) " >&6
|
6393 | |
else
|
|
7367 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7368 |
printf %s "checking for $ac_word... " >&6; }
|
|
7369 |
if test ${ac_cv_prog_RANLIB+y}
|
|
7370 |
then :
|
|
7371 |
printf %s "(cached) " >&6
|
|
7372 |
else $as_nop
|
6394 | 7373 |
if test -n "$RANLIB"; then
|
6395 | 7374 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
6396 | 7375 |
else
|
|
6398 | 7377 |
for as_dir in $PATH
|
6399 | 7378 |
do
|
6400 | 7379 |
IFS=$as_save_IFS
|
6401 | |
test -z "$as_dir" && as_dir=.
|
|
7380 |
case $as_dir in #(((
|
|
7381 |
'') as_dir=./ ;;
|
|
7382 |
*/) ;;
|
|
7383 |
*) as_dir=$as_dir/ ;;
|
|
7384 |
esac
|
6402 | 7385 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6403 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7386 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6404 | 7387 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
6405 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7388 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6406 | 7389 |
break 2
|
6407 | 7390 |
fi
|
6408 | 7391 |
done
|
|
6413 | 7396 |
fi
|
6414 | 7397 |
RANLIB=$ac_cv_prog_RANLIB
|
6415 | 7398 |
if test -n "$RANLIB"; then
|
6416 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
6417 | |
$as_echo "$RANLIB" >&6; }
|
|
7399 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
7400 |
printf "%s\n" "$RANLIB" >&6; }
|
6418 | 7401 |
else
|
6419 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6420 | |
$as_echo "no" >&6; }
|
|
7402 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7403 |
printf "%s\n" "no" >&6; }
|
6421 | 7404 |
fi
|
6422 | 7405 |
|
6423 | 7406 |
|
|
6426 | 7409 |
ac_ct_RANLIB=$RANLIB
|
6427 | 7410 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
6428 | 7411 |
set dummy ranlib; ac_word=$2
|
6429 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6430 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6431 | |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
6432 | |
$as_echo_n "(cached) " >&6
|
6433 | |
else
|
|
7412 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7413 |
printf %s "checking for $ac_word... " >&6; }
|
|
7414 |
if test ${ac_cv_prog_ac_ct_RANLIB+y}
|
|
7415 |
then :
|
|
7416 |
printf %s "(cached) " >&6
|
|
7417 |
else $as_nop
|
6434 | 7418 |
if test -n "$ac_ct_RANLIB"; then
|
6435 | 7419 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
6436 | 7420 |
else
|
|
6438 | 7422 |
for as_dir in $PATH
|
6439 | 7423 |
do
|
6440 | 7424 |
IFS=$as_save_IFS
|
6441 | |
test -z "$as_dir" && as_dir=.
|
|
7425 |
case $as_dir in #(((
|
|
7426 |
'') as_dir=./ ;;
|
|
7427 |
*/) ;;
|
|
7428 |
*) as_dir=$as_dir/ ;;
|
|
7429 |
esac
|
6442 | 7430 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6443 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7431 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6444 | 7432 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
6445 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7433 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6446 | 7434 |
break 2
|
6447 | 7435 |
fi
|
6448 | 7436 |
done
|
|
6453 | 7441 |
fi
|
6454 | 7442 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
6455 | 7443 |
if test -n "$ac_ct_RANLIB"; then
|
6456 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
6457 | |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
7444 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
7445 |
printf "%s\n" "$ac_ct_RANLIB" >&6; }
|
6458 | 7446 |
else
|
6459 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6460 | |
$as_echo "no" >&6; }
|
|
7447 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7448 |
printf "%s\n" "no" >&6; }
|
6461 | 7449 |
fi
|
6462 | 7450 |
|
6463 | 7451 |
if test "x$ac_ct_RANLIB" = x; then
|
|
6465 | 7453 |
else
|
6466 | 7454 |
case $cross_compiling:$ac_tool_warned in
|
6467 | 7455 |
yes:)
|
6468 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6469 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7456 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7457 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6470 | 7458 |
ac_tool_warned=yes ;;
|
6471 | 7459 |
esac
|
6472 | 7460 |
RANLIB=$ac_ct_RANLIB
|
|
6555 | 7543 |
|
6556 | 7544 |
|
6557 | 7545 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
6558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
6559 | |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
6560 | |
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
6561 | |
$as_echo_n "(cached) " >&6
|
6562 | |
else
|
|
7546 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
|
7547 |
printf %s "checking command to parse $NM output from $compiler object... " >&6; }
|
|
7548 |
if test ${lt_cv_sys_global_symbol_pipe+y}
|
|
7549 |
then :
|
|
7550 |
printf %s "(cached) " >&6
|
|
7551 |
else $as_nop
|
6563 | 7552 |
|
6564 | 7553 |
# These are sane defaults that work on at least a few old systems.
|
6565 | 7554 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
|
6711 | 7700 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
6712 | 7701 |
(eval $ac_compile) 2>&5
|
6713 | 7702 |
ac_status=$?
|
6714 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7703 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6715 | 7704 |
test $ac_status = 0; }; then
|
6716 | 7705 |
# Now try to grab the symbols.
|
6717 | 7706 |
nlist=conftest.nm
|
|
6784 | 7773 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
6785 | 7774 |
(eval $ac_link) 2>&5
|
6786 | 7775 |
ac_status=$?
|
6787 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7776 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6788 | 7777 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then
|
6789 | 7778 |
pipe_works=yes
|
6790 | 7779 |
fi
|
|
6819 | 7808 |
lt_cv_sys_global_symbol_to_cdecl=
|
6820 | 7809 |
fi
|
6821 | 7810 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
6822 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
6823 | |
$as_echo "failed" >&6; }
|
|
7811 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
7812 |
printf "%s\n" "failed" >&6; }
|
6824 | 7813 |
else
|
6825 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
6826 | |
$as_echo "ok" >&6; }
|
|
7814 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
|
7815 |
printf "%s\n" "ok" >&6; }
|
6827 | 7816 |
fi
|
6828 | 7817 |
|
6829 | 7818 |
# Response file support.
|
|
6869 | 7858 |
|
6870 | 7859 |
|
6871 | 7860 |
|
6872 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
6873 | |
$as_echo_n "checking for sysroot... " >&6; }
|
|
7861 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
|
7862 |
printf %s "checking for sysroot... " >&6; }
|
6874 | 7863 |
|
6875 | 7864 |
# Check whether --with-sysroot was given.
|
6876 | |
if test "${with_sysroot+set}" = set; then :
|
|
7865 |
if test ${with_sysroot+y}
|
|
7866 |
then :
|
6877 | 7867 |
withval=$with_sysroot;
|
6878 | |
else
|
|
7868 |
else $as_nop
|
6879 | 7869 |
with_sysroot=no
|
6880 | 7870 |
fi
|
6881 | 7871 |
|
|
6893 | 7883 |
no|'')
|
6894 | 7884 |
;; #(
|
6895 | 7885 |
*)
|
6896 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
6897 | |
$as_echo "$with_sysroot" >&6; }
|
|
7886 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
|
7887 |
printf "%s\n" "$with_sysroot" >&6; }
|
6898 | 7888 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
6899 | 7889 |
;;
|
6900 | 7890 |
esac
|
6901 | 7891 |
|
6902 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
6903 | |
$as_echo "${lt_sysroot:-no}" >&6; }
|
6904 | |
|
6905 | |
|
6906 | |
|
6907 | |
|
6908 | |
|
6909 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
6910 | |
$as_echo_n "checking for a working dd... " >&6; }
|
6911 | |
if ${ac_cv_path_lt_DD+:} false; then :
|
6912 | |
$as_echo_n "(cached) " >&6
|
6913 | |
else
|
|
7892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
|
7893 |
printf "%s\n" "${lt_sysroot:-no}" >&6; }
|
|
7894 |
|
|
7895 |
|
|
7896 |
|
|
7897 |
|
|
7898 |
|
|
7899 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
|
7900 |
printf %s "checking for a working dd... " >&6; }
|
|
7901 |
if test ${ac_cv_path_lt_DD+y}
|
|
7902 |
then :
|
|
7903 |
printf %s "(cached) " >&6
|
|
7904 |
else $as_nop
|
6914 | 7905 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
6915 | 7906 |
cat conftest.i conftest.i >conftest2.i
|
6916 | 7907 |
: ${lt_DD:=$DD}
|
|
6921 | 7912 |
for as_dir in $PATH
|
6922 | 7913 |
do
|
6923 | 7914 |
IFS=$as_save_IFS
|
6924 | |
test -z "$as_dir" && as_dir=.
|
6925 | |
for ac_prog in dd; do
|
|
7915 |
case $as_dir in #(((
|
|
7916 |
'') as_dir=./ ;;
|
|
7917 |
*/) ;;
|
|
7918 |
*) as_dir=$as_dir/ ;;
|
|
7919 |
esac
|
|
7920 |
for ac_prog in dd
|
|
7921 |
do
|
6926 | 7922 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6927 | |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
|
|
7923 |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
|
6928 | 7924 |
as_fn_executable_p "$ac_path_lt_DD" || continue
|
6929 | 7925 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
|
6930 | 7926 |
cmp -s conftest.i conftest.out \
|
|
6944 | 7940 |
|
6945 | 7941 |
rm -f conftest.i conftest2.i conftest.out
|
6946 | 7942 |
fi
|
6947 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
6948 | |
$as_echo "$ac_cv_path_lt_DD" >&6; }
|
6949 | |
|
6950 | |
|
6951 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
6952 | |
$as_echo_n "checking how to truncate binary pipes... " >&6; }
|
6953 | |
if ${lt_cv_truncate_bin+:} false; then :
|
6954 | |
$as_echo_n "(cached) " >&6
|
6955 | |
else
|
|
7943 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
|
7944 |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
|
|
7945 |
|
|
7946 |
|
|
7947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
|
7948 |
printf %s "checking how to truncate binary pipes... " >&6; }
|
|
7949 |
if test ${lt_cv_truncate_bin+y}
|
|
7950 |
then :
|
|
7951 |
printf %s "(cached) " >&6
|
|
7952 |
else $as_nop
|
6956 | 7953 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
6957 | 7954 |
cat conftest.i conftest.i >conftest2.i
|
6958 | 7955 |
lt_cv_truncate_bin=
|
|
6963 | 7960 |
rm -f conftest.i conftest2.i conftest.out
|
6964 | 7961 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
|
6965 | 7962 |
fi
|
6966 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
6967 | |
$as_echo "$lt_cv_truncate_bin" >&6; }
|
|
7963 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
|
7964 |
printf "%s\n" "$lt_cv_truncate_bin" >&6; }
|
6968 | 7965 |
|
6969 | 7966 |
|
6970 | 7967 |
|
|
6987 | 7984 |
}
|
6988 | 7985 |
|
6989 | 7986 |
# Check whether --enable-libtool-lock was given.
|
6990 | |
if test "${enable_libtool_lock+set}" = set; then :
|
|
7987 |
if test ${enable_libtool_lock+y}
|
|
7988 |
then :
|
6991 | 7989 |
enableval=$enable_libtool_lock;
|
6992 | 7990 |
fi
|
6993 | 7991 |
|
|
7003 | 8001 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7004 | 8002 |
(eval $ac_compile) 2>&5
|
7005 | 8003 |
ac_status=$?
|
7006 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8004 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7007 | 8005 |
test $ac_status = 0; }; then
|
7008 | 8006 |
case `/usr/bin/file conftest.$ac_objext` in
|
7009 | 8007 |
*ELF-32*)
|
|
7023 | 8021 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7024 | 8022 |
(eval $ac_compile) 2>&5
|
7025 | 8023 |
ac_status=$?
|
7026 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8024 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7027 | 8025 |
test $ac_status = 0; }; then
|
7028 | 8026 |
if test yes = "$lt_cv_prog_gnu_ld"; then
|
7029 | 8027 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
7061 | 8059 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7062 | 8060 |
(eval $ac_compile) 2>&5
|
7063 | 8061 |
ac_status=$?
|
7064 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8062 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7065 | 8063 |
test $ac_status = 0; }; then
|
7066 | 8064 |
emul=elf
|
7067 | 8065 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
7102 | 8100 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7103 | 8101 |
(eval $ac_compile) 2>&5
|
7104 | 8102 |
ac_status=$?
|
7105 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8103 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7106 | 8104 |
test $ac_status = 0; }; then
|
7107 | 8105 |
case `/usr/bin/file conftest.o` in
|
7108 | 8106 |
*32-bit*)
|
|
7165 | 8163 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
7166 | 8164 |
SAVE_CFLAGS=$CFLAGS
|
7167 | 8165 |
CFLAGS="$CFLAGS -belf"
|
7168 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
7169 | |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
7170 | |
if ${lt_cv_cc_needs_belf+:} false; then :
|
7171 | |
$as_echo_n "(cached) " >&6
|
7172 | |
else
|
|
8166 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
|
8167 |
printf %s "checking whether the C compiler needs -belf... " >&6; }
|
|
8168 |
if test ${lt_cv_cc_needs_belf+y}
|
|
8169 |
then :
|
|
8170 |
printf %s "(cached) " >&6
|
|
8171 |
else $as_nop
|
7173 | 8172 |
ac_ext=c
|
7174 | 8173 |
ac_cpp='$CPP $CPPFLAGS'
|
7175 | 8174 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
7180 | 8179 |
/* end confdefs.h. */
|
7181 | 8180 |
|
7182 | 8181 |
int
|
7183 | |
main ()
|
|
8182 |
main (void)
|
7184 | 8183 |
{
|
7185 | 8184 |
|
7186 | 8185 |
;
|
7187 | 8186 |
return 0;
|
7188 | 8187 |
}
|
7189 | 8188 |
_ACEOF
|
7190 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
8189 |
if ac_fn_c_try_link "$LINENO"
|
|
8190 |
then :
|
7191 | 8191 |
lt_cv_cc_needs_belf=yes
|
7192 | |
else
|
|
8192 |
else $as_nop
|
7193 | 8193 |
lt_cv_cc_needs_belf=no
|
7194 | 8194 |
fi
|
7195 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
8195 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
7196 | 8196 |
conftest$ac_exeext conftest.$ac_ext
|
7197 | 8197 |
ac_ext=c
|
7198 | 8198 |
ac_cpp='$CPP $CPPFLAGS'
|
|
7201 | 8201 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7202 | 8202 |
|
7203 | 8203 |
fi
|
7204 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
7205 | |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|
8204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
|
8205 |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
|
7206 | 8206 |
if test yes != "$lt_cv_cc_needs_belf"; then
|
7207 | 8207 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
7208 | 8208 |
CFLAGS=$SAVE_CFLAGS
|
|
7215 | 8215 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7216 | 8216 |
(eval $ac_compile) 2>&5
|
7217 | 8217 |
ac_status=$?
|
7218 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8218 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7219 | 8219 |
test $ac_status = 0; }; then
|
7220 | 8220 |
case `/usr/bin/file conftest.o` in
|
7221 | 8221 |
*64-bit*)
|
|
7252 | 8252 |
if test -n "$ac_tool_prefix"; then
|
7253 | 8253 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
7254 | 8254 |
set dummy ${ac_tool_prefix}mt; ac_word=$2
|
7255 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7256 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7257 | |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
7258 | |
$as_echo_n "(cached) " >&6
|
7259 | |
else
|
|
8255 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8256 |
printf %s "checking for $ac_word... " >&6; }
|
|
8257 |
if test ${ac_cv_prog_MANIFEST_TOOL+y}
|
|
8258 |
then :
|
|
8259 |
printf %s "(cached) " >&6
|
|
8260 |
else $as_nop
|
7260 | 8261 |
if test -n "$MANIFEST_TOOL"; then
|
7261 | 8262 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
7262 | 8263 |
else
|
|
7264 | 8265 |
for as_dir in $PATH
|
7265 | 8266 |
do
|
7266 | 8267 |
IFS=$as_save_IFS
|
7267 | |
test -z "$as_dir" && as_dir=.
|
|
8268 |
case $as_dir in #(((
|
|
8269 |
'') as_dir=./ ;;
|
|
8270 |
*/) ;;
|
|
8271 |
*) as_dir=$as_dir/ ;;
|
|
8272 |
esac
|
7268 | 8273 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7269 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8274 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7270 | 8275 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
7271 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8276 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7272 | 8277 |
break 2
|
7273 | 8278 |
fi
|
7274 | 8279 |
done
|
|
7279 | 8284 |
fi
|
7280 | 8285 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
7281 | 8286 |
if test -n "$MANIFEST_TOOL"; then
|
7282 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
7283 | |
$as_echo "$MANIFEST_TOOL" >&6; }
|
|
8287 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
|
8288 |
printf "%s\n" "$MANIFEST_TOOL" >&6; }
|
7284 | 8289 |
else
|
7285 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7286 | |
$as_echo "no" >&6; }
|
|
8290 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8291 |
printf "%s\n" "no" >&6; }
|
7287 | 8292 |
fi
|
7288 | 8293 |
|
7289 | 8294 |
|
|
7292 | 8297 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
7293 | 8298 |
# Extract the first word of "mt", so it can be a program name with args.
|
7294 | 8299 |
set dummy mt; ac_word=$2
|
7295 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7296 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7297 | |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
7298 | |
$as_echo_n "(cached) " >&6
|
7299 | |
else
|
|
8300 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8301 |
printf %s "checking for $ac_word... " >&6; }
|
|
8302 |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
|
|
8303 |
then :
|
|
8304 |
printf %s "(cached) " >&6
|
|
8305 |
else $as_nop
|
7300 | 8306 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
7301 | 8307 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
7302 | 8308 |
else
|
|
7304 | 8310 |
for as_dir in $PATH
|
7305 | 8311 |
do
|
7306 | 8312 |
IFS=$as_save_IFS
|
7307 | |
test -z "$as_dir" && as_dir=.
|
|
8313 |
case $as_dir in #(((
|
|
8314 |
'') as_dir=./ ;;
|
|
8315 |
*/) ;;
|
|
8316 |
*) as_dir=$as_dir/ ;;
|
|
8317 |
esac
|
7308 | 8318 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7309 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8319 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7310 | 8320 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
7311 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8321 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7312 | 8322 |
break 2
|
7313 | 8323 |
fi
|
7314 | 8324 |
done
|
|
7319 | 8329 |
fi
|
7320 | 8330 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
7321 | 8331 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
7322 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
7323 | |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
|
8332 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
|
8333 |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
|
7324 | 8334 |
else
|
7325 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7326 | |
$as_echo "no" >&6; }
|
|
8335 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8336 |
printf "%s\n" "no" >&6; }
|
7327 | 8337 |
fi
|
7328 | 8338 |
|
7329 | 8339 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
|
7331 | 8341 |
else
|
7332 | 8342 |
case $cross_compiling:$ac_tool_warned in
|
7333 | 8343 |
yes:)
|
7334 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7335 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8344 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8345 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7336 | 8346 |
ac_tool_warned=yes ;;
|
7337 | 8347 |
esac
|
7338 | 8348 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
|
7342 | 8352 |
fi
|
7343 | 8353 |
|
7344 | 8354 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
7345 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
7346 | |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
7347 | |
if ${lt_cv_path_mainfest_tool+:} false; then :
|
7348 | |
$as_echo_n "(cached) " >&6
|
7349 | |
else
|
|
8355 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
|
8356 |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
|
8357 |
if test ${lt_cv_path_mainfest_tool+y}
|
|
8358 |
then :
|
|
8359 |
printf %s "(cached) " >&6
|
|
8360 |
else $as_nop
|
7350 | 8361 |
lt_cv_path_mainfest_tool=no
|
7351 | 8362 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
7352 | 8363 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
|
7356 | 8367 |
fi
|
7357 | 8368 |
rm -f conftest*
|
7358 | 8369 |
fi
|
7359 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
7360 | |
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
|
8370 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
|
8371 |
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
|
7361 | 8372 |
if test yes != "$lt_cv_path_mainfest_tool"; then
|
7362 | 8373 |
MANIFEST_TOOL=:
|
7363 | 8374 |
fi
|
|
7372 | 8383 |
if test -n "$ac_tool_prefix"; then
|
7373 | 8384 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
7374 | 8385 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
7375 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7376 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7377 | |
if ${ac_cv_prog_DSYMUTIL+:} false; then :
|
7378 | |
$as_echo_n "(cached) " >&6
|
7379 | |
else
|
|
8386 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8387 |
printf %s "checking for $ac_word... " >&6; }
|
|
8388 |
if test ${ac_cv_prog_DSYMUTIL+y}
|
|
8389 |
then :
|
|
8390 |
printf %s "(cached) " >&6
|
|
8391 |
else $as_nop
|
7380 | 8392 |
if test -n "$DSYMUTIL"; then
|
7381 | 8393 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
7382 | 8394 |
else
|
|
7384 | 8396 |
for as_dir in $PATH
|
7385 | 8397 |
do
|
7386 | 8398 |
IFS=$as_save_IFS
|
7387 | |
test -z "$as_dir" && as_dir=.
|
|
8399 |
case $as_dir in #(((
|
|
8400 |
'') as_dir=./ ;;
|
|
8401 |
*/) ;;
|
|
8402 |
*) as_dir=$as_dir/ ;;
|
|
8403 |
esac
|
7388 | 8404 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7389 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8405 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7390 | 8406 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
7391 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8407 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7392 | 8408 |
break 2
|
7393 | 8409 |
fi
|
7394 | 8410 |
done
|
|
7399 | 8415 |
fi
|
7400 | 8416 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
7401 | 8417 |
if test -n "$DSYMUTIL"; then
|
7402 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
7403 | |
$as_echo "$DSYMUTIL" >&6; }
|
|
8418 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
|
8419 |
printf "%s\n" "$DSYMUTIL" >&6; }
|
7404 | 8420 |
else
|
7405 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7406 | |
$as_echo "no" >&6; }
|
|
8421 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8422 |
printf "%s\n" "no" >&6; }
|
7407 | 8423 |
fi
|
7408 | 8424 |
|
7409 | 8425 |
|
|
7412 | 8428 |
ac_ct_DSYMUTIL=$DSYMUTIL
|
7413 | 8429 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
7414 | 8430 |
set dummy dsymutil; ac_word=$2
|
7415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7416 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7417 | |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
|
7418 | |
$as_echo_n "(cached) " >&6
|
7419 | |
else
|
|
8431 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8432 |
printf %s "checking for $ac_word... " >&6; }
|
|
8433 |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
|
|
8434 |
then :
|
|
8435 |
printf %s "(cached) " >&6
|
|
8436 |
else $as_nop
|
7420 | 8437 |
if test -n "$ac_ct_DSYMUTIL"; then
|
7421 | 8438 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
7422 | 8439 |
else
|
|
7424 | 8441 |
for as_dir in $PATH
|
7425 | 8442 |
do
|
7426 | 8443 |
IFS=$as_save_IFS
|
7427 | |
test -z "$as_dir" && as_dir=.
|
|
8444 |
case $as_dir in #(((
|
|
8445 |
'') as_dir=./ ;;
|
|
8446 |
*/) ;;
|
|
8447 |
*) as_dir=$as_dir/ ;;
|
|
8448 |
esac
|
7428 | 8449 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7429 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8450 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7430 | 8451 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
7431 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8452 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7432 | 8453 |
break 2
|
7433 | 8454 |
fi
|
7434 | 8455 |
done
|
|
7439 | 8460 |
fi
|
7440 | 8461 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
7441 | 8462 |
if test -n "$ac_ct_DSYMUTIL"; then
|
7442 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
7443 | |
$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
|
8463 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
|
8464 |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
|
7444 | 8465 |
else
|
7445 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7446 | |
$as_echo "no" >&6; }
|
|
8466 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8467 |
printf "%s\n" "no" >&6; }
|
7447 | 8468 |
fi
|
7448 | 8469 |
|
7449 | 8470 |
if test "x$ac_ct_DSYMUTIL" = x; then
|
|
7451 | 8472 |
else
|
7452 | 8473 |
case $cross_compiling:$ac_tool_warned in
|
7453 | 8474 |
yes:)
|
7454 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7455 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8475 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8476 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7456 | 8477 |
ac_tool_warned=yes ;;
|
7457 | 8478 |
esac
|
7458 | 8479 |
DSYMUTIL=$ac_ct_DSYMUTIL
|
|
7464 | 8485 |
if test -n "$ac_tool_prefix"; then
|
7465 | 8486 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
7466 | 8487 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
7467 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7468 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7469 | |
if ${ac_cv_prog_NMEDIT+:} false; then :
|
7470 | |
$as_echo_n "(cached) " >&6
|
7471 | |
else
|
|
8488 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8489 |
printf %s "checking for $ac_word... " >&6; }
|
|
8490 |
if test ${ac_cv_prog_NMEDIT+y}
|
|
8491 |
then :
|
|
8492 |
printf %s "(cached) " >&6
|
|
8493 |
else $as_nop
|
7472 | 8494 |
if test -n "$NMEDIT"; then
|
7473 | 8495 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
7474 | 8496 |
else
|
|
7476 | 8498 |
for as_dir in $PATH
|
7477 | 8499 |
do
|
7478 | 8500 |
IFS=$as_save_IFS
|
7479 | |
test -z "$as_dir" && as_dir=.
|
|
8501 |
case $as_dir in #(((
|
|
8502 |
'') as_dir=./ ;;
|
|
8503 |
*/) ;;
|
|
8504 |
*) as_dir=$as_dir/ ;;
|
|
8505 |
esac
|
7480 | 8506 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7481 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8507 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7482 | 8508 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
7483 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8509 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7484 | 8510 |
break 2
|
7485 | 8511 |
fi
|
7486 | 8512 |
done
|
|
7491 | 8517 |
fi
|
7492 | 8518 |
NMEDIT=$ac_cv_prog_NMEDIT
|
7493 | 8519 |
if test -n "$NMEDIT"; then
|
7494 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
7495 | |
$as_echo "$NMEDIT" >&6; }
|
|
8520 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
|
8521 |
printf "%s\n" "$NMEDIT" >&6; }
|
7496 | 8522 |
else
|
7497 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7498 | |
$as_echo "no" >&6; }
|
|
8523 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8524 |
printf "%s\n" "no" >&6; }
|
7499 | 8525 |
fi
|
7500 | 8526 |
|
7501 | 8527 |
|
|
7504 | 8530 |
ac_ct_NMEDIT=$NMEDIT
|
7505 | 8531 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
7506 | 8532 |
set dummy nmedit; ac_word=$2
|
7507 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7508 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7509 | |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
|
7510 | |
$as_echo_n "(cached) " >&6
|
7511 | |
else
|
|
8533 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8534 |
printf %s "checking for $ac_word... " >&6; }
|
|
8535 |
if test ${ac_cv_prog_ac_ct_NMEDIT+y}
|
|
8536 |
then :
|
|
8537 |
printf %s "(cached) " >&6
|
|
8538 |
else $as_nop
|
7512 | 8539 |
if test -n "$ac_ct_NMEDIT"; then
|
7513 | 8540 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
7514 | 8541 |
else
|
|
7516 | 8543 |
for as_dir in $PATH
|
7517 | 8544 |
do
|
7518 | 8545 |
IFS=$as_save_IFS
|
7519 | |
test -z "$as_dir" && as_dir=.
|
|
8546 |
case $as_dir in #(((
|
|
8547 |
'') as_dir=./ ;;
|
|
8548 |
*/) ;;
|
|
8549 |
*) as_dir=$as_dir/ ;;
|
|
8550 |
esac
|
7520 | 8551 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7521 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8552 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7522 | 8553 |
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
7523 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8554 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7524 | 8555 |
break 2
|
7525 | 8556 |
fi
|
7526 | 8557 |
done
|
|
7531 | 8562 |
fi
|
7532 | 8563 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
7533 | 8564 |
if test -n "$ac_ct_NMEDIT"; then
|
7534 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
7535 | |
$as_echo "$ac_ct_NMEDIT" >&6; }
|
|
8565 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
|
8566 |
printf "%s\n" "$ac_ct_NMEDIT" >&6; }
|
7536 | 8567 |
else
|
7537 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7538 | |
$as_echo "no" >&6; }
|
|
8568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8569 |
printf "%s\n" "no" >&6; }
|
7539 | 8570 |
fi
|
7540 | 8571 |
|
7541 | 8572 |
if test "x$ac_ct_NMEDIT" = x; then
|
|
7543 | 8574 |
else
|
7544 | 8575 |
case $cross_compiling:$ac_tool_warned in
|
7545 | 8576 |
yes:)
|
7546 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7547 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8577 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8578 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7548 | 8579 |
ac_tool_warned=yes ;;
|
7549 | 8580 |
esac
|
7550 | 8581 |
NMEDIT=$ac_ct_NMEDIT
|
|
7556 | 8587 |
if test -n "$ac_tool_prefix"; then
|
7557 | 8588 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
7558 | 8589 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
7559 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7560 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7561 | |
if ${ac_cv_prog_LIPO+:} false; then :
|
7562 | |
$as_echo_n "(cached) " >&6
|
7563 | |
else
|
|
8590 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8591 |
printf %s "checking for $ac_word... " >&6; }
|
|
8592 |
if test ${ac_cv_prog_LIPO+y}
|
|
8593 |
then :
|
|
8594 |
printf %s "(cached) " >&6
|
|
8595 |
else $as_nop
|
7564 | 8596 |
if test -n "$LIPO"; then
|
7565 | 8597 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
7566 | 8598 |
else
|
|
7568 | 8600 |
for as_dir in $PATH
|
7569 | 8601 |
do
|
7570 | 8602 |
IFS=$as_save_IFS
|
7571 | |
test -z "$as_dir" && as_dir=.
|
|
8603 |
case $as_dir in #(((
|
|
8604 |
'') as_dir=./ ;;
|
|
8605 |
*/) ;;
|
|
8606 |
*) as_dir=$as_dir/ ;;
|
|
8607 |
esac
|
7572 | 8608 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7573 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8609 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7574 | 8610 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
7575 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8611 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7576 | 8612 |
break 2
|
7577 | 8613 |
fi
|
7578 | 8614 |
done
|
|
7583 | 8619 |
fi
|
7584 | 8620 |
LIPO=$ac_cv_prog_LIPO
|
7585 | 8621 |
if test -n "$LIPO"; then
|
7586 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
7587 | |
$as_echo "$LIPO" >&6; }
|
|
8622 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
|
8623 |
printf "%s\n" "$LIPO" >&6; }
|
7588 | 8624 |
else
|
7589 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7590 | |
$as_echo "no" >&6; }
|
|
8625 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8626 |
printf "%s\n" "no" >&6; }
|
7591 | 8627 |
fi
|
7592 | 8628 |
|
7593 | 8629 |
|
|
7596 | 8632 |
ac_ct_LIPO=$LIPO
|
7597 | 8633 |
# Extract the first word of "lipo", so it can be a program name with args.
|
7598 | 8634 |
set dummy lipo; ac_word=$2
|
7599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7600 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7601 | |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
|
7602 | |
$as_echo_n "(cached) " >&6
|
7603 | |
else
|
|
8635 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8636 |
printf %s "checking for $ac_word... " >&6; }
|
|
8637 |
if test ${ac_cv_prog_ac_ct_LIPO+y}
|
|
8638 |
then :
|
|
8639 |
printf %s "(cached) " >&6
|
|
8640 |
else $as_nop
|
7604 | 8641 |
if test -n "$ac_ct_LIPO"; then
|
7605 | 8642 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
7606 | 8643 |
else
|
|
7608 | 8645 |
for as_dir in $PATH
|
7609 | 8646 |
do
|
7610 | 8647 |
IFS=$as_save_IFS
|
7611 | |
test -z "$as_dir" && as_dir=.
|
|
8648 |
case $as_dir in #(((
|
|
8649 |
'') as_dir=./ ;;
|
|
8650 |
*/) ;;
|
|
8651 |
*) as_dir=$as_dir/ ;;
|
|
8652 |
esac
|
7612 | 8653 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7613 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8654 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7614 | 8655 |
ac_cv_prog_ac_ct_LIPO="lipo"
|
7615 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8656 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7616 | 8657 |
break 2
|
7617 | 8658 |
fi
|
7618 | 8659 |
done
|
|
7623 | 8664 |
fi
|
7624 | 8665 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
7625 | 8666 |
if test -n "$ac_ct_LIPO"; then
|
7626 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
7627 | |
$as_echo "$ac_ct_LIPO" >&6; }
|
|
8667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
|
8668 |
printf "%s\n" "$ac_ct_LIPO" >&6; }
|
7628 | 8669 |
else
|
7629 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7630 | |
$as_echo "no" >&6; }
|
|
8670 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8671 |
printf "%s\n" "no" >&6; }
|
7631 | 8672 |
fi
|
7632 | 8673 |
|
7633 | 8674 |
if test "x$ac_ct_LIPO" = x; then
|
|
7635 | 8676 |
else
|
7636 | 8677 |
case $cross_compiling:$ac_tool_warned in
|
7637 | 8678 |
yes:)
|
7638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7639 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8679 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8680 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7640 | 8681 |
ac_tool_warned=yes ;;
|
7641 | 8682 |
esac
|
7642 | 8683 |
LIPO=$ac_ct_LIPO
|
|
7648 | 8689 |
if test -n "$ac_tool_prefix"; then
|
7649 | 8690 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
7650 | 8691 |
set dummy ${ac_tool_prefix}otool; ac_word=$2
|
7651 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7652 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7653 | |
if ${ac_cv_prog_OTOOL+:} false; then :
|
7654 | |
$as_echo_n "(cached) " >&6
|
7655 | |
else
|
|
8692 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8693 |
printf %s "checking for $ac_word... " >&6; }
|
|
8694 |
if test ${ac_cv_prog_OTOOL+y}
|
|
8695 |
then :
|
|
8696 |
printf %s "(cached) " >&6
|
|
8697 |
else $as_nop
|
7656 | 8698 |
if test -n "$OTOOL"; then
|
7657 | 8699 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
7658 | 8700 |
else
|
|
7660 | 8702 |
for as_dir in $PATH
|
7661 | 8703 |
do
|
7662 | 8704 |
IFS=$as_save_IFS
|
7663 | |
test -z "$as_dir" && as_dir=.
|
|
8705 |
case $as_dir in #(((
|
|
8706 |
'') as_dir=./ ;;
|
|
8707 |
*/) ;;
|
|
8708 |
*) as_dir=$as_dir/ ;;
|
|
8709 |
esac
|
7664 | 8710 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7665 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8711 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7666 | 8712 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
7667 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8713 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7668 | 8714 |
break 2
|
7669 | 8715 |
fi
|
7670 | 8716 |
done
|
|
7675 | 8721 |
fi
|
7676 | 8722 |
OTOOL=$ac_cv_prog_OTOOL
|
7677 | 8723 |
if test -n "$OTOOL"; then
|
7678 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
7679 | |
$as_echo "$OTOOL" >&6; }
|
|
8724 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
|
8725 |
printf "%s\n" "$OTOOL" >&6; }
|
7680 | 8726 |
else
|
7681 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7682 | |
$as_echo "no" >&6; }
|
|
8727 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8728 |
printf "%s\n" "no" >&6; }
|
7683 | 8729 |
fi
|
7684 | 8730 |
|
7685 | 8731 |
|
|
7688 | 8734 |
ac_ct_OTOOL=$OTOOL
|
7689 | 8735 |
# Extract the first word of "otool", so it can be a program name with args.
|
7690 | 8736 |
set dummy otool; ac_word=$2
|
7691 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7692 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7693 | |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
|
7694 | |
$as_echo_n "(cached) " >&6
|
7695 | |
else
|
|
8737 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8738 |
printf %s "checking for $ac_word... " >&6; }
|
|
8739 |
if test ${ac_cv_prog_ac_ct_OTOOL+y}
|
|
8740 |
then :
|
|
8741 |
printf %s "(cached) " >&6
|
|
8742 |
else $as_nop
|
7696 | 8743 |
if test -n "$ac_ct_OTOOL"; then
|
7697 | 8744 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
7698 | 8745 |
else
|
|
7700 | 8747 |
for as_dir in $PATH
|
7701 | 8748 |
do
|
7702 | 8749 |
IFS=$as_save_IFS
|
7703 | |
test -z "$as_dir" && as_dir=.
|
|
8750 |
case $as_dir in #(((
|
|
8751 |
'') as_dir=./ ;;
|
|
8752 |
*/) ;;
|
|
8753 |
*) as_dir=$as_dir/ ;;
|
|
8754 |
esac
|
7704 | 8755 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7705 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8756 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7706 | 8757 |
ac_cv_prog_ac_ct_OTOOL="otool"
|
7707 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8758 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7708 | 8759 |
break 2
|
7709 | 8760 |
fi
|
7710 | 8761 |
done
|
|
7715 | 8766 |
fi
|
7716 | 8767 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
7717 | 8768 |
if test -n "$ac_ct_OTOOL"; then
|
7718 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
7719 | |
$as_echo "$ac_ct_OTOOL" >&6; }
|
|
8769 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
|
8770 |
printf "%s\n" "$ac_ct_OTOOL" >&6; }
|
7720 | 8771 |
else
|
7721 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7722 | |
$as_echo "no" >&6; }
|
|
8772 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8773 |
printf "%s\n" "no" >&6; }
|
7723 | 8774 |
fi
|
7724 | 8775 |
|
7725 | 8776 |
if test "x$ac_ct_OTOOL" = x; then
|
|
7727 | 8778 |
else
|
7728 | 8779 |
case $cross_compiling:$ac_tool_warned in
|
7729 | 8780 |
yes:)
|
7730 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7731 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8781 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8782 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7732 | 8783 |
ac_tool_warned=yes ;;
|
7733 | 8784 |
esac
|
7734 | 8785 |
OTOOL=$ac_ct_OTOOL
|
|
7740 | 8791 |
if test -n "$ac_tool_prefix"; then
|
7741 | 8792 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
7742 | 8793 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
7743 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7744 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7745 | |
if ${ac_cv_prog_OTOOL64+:} false; then :
|
7746 | |
$as_echo_n "(cached) " >&6
|
7747 | |
else
|
|
8794 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8795 |
printf %s "checking for $ac_word... " >&6; }
|
|
8796 |
if test ${ac_cv_prog_OTOOL64+y}
|
|
8797 |
then :
|
|
8798 |
printf %s "(cached) " >&6
|
|
8799 |
else $as_nop
|
7748 | 8800 |
if test -n "$OTOOL64"; then
|
7749 | 8801 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
7750 | 8802 |
else
|
|
7752 | 8804 |
for as_dir in $PATH
|
7753 | 8805 |
do
|
7754 | 8806 |
IFS=$as_save_IFS
|
7755 | |
test -z "$as_dir" && as_dir=.
|
|
8807 |
case $as_dir in #(((
|
|
8808 |
'') as_dir=./ ;;
|
|
8809 |
*/) ;;
|
|
8810 |
*) as_dir=$as_dir/ ;;
|
|
8811 |
esac
|
7756 | 8812 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7757 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8813 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7758 | 8814 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
7759 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8815 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7760 | 8816 |
break 2
|
7761 | 8817 |
fi
|
7762 | 8818 |
done
|
|
7767 | 8823 |
fi
|
7768 | 8824 |
OTOOL64=$ac_cv_prog_OTOOL64
|
7769 | 8825 |
if test -n "$OTOOL64"; then
|
7770 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
7771 | |
$as_echo "$OTOOL64" >&6; }
|
|
8826 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
|
8827 |
printf "%s\n" "$OTOOL64" >&6; }
|
7772 | 8828 |
else
|
7773 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7774 | |
$as_echo "no" >&6; }
|
|
8829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8830 |
printf "%s\n" "no" >&6; }
|
7775 | 8831 |
fi
|
7776 | 8832 |
|
7777 | 8833 |
|
|
7780 | 8836 |
ac_ct_OTOOL64=$OTOOL64
|
7781 | 8837 |
# Extract the first word of "otool64", so it can be a program name with args.
|
7782 | 8838 |
set dummy otool64; ac_word=$2
|
7783 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7784 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7785 | |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
|
7786 | |
$as_echo_n "(cached) " >&6
|
7787 | |
else
|
|
8839 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8840 |
printf %s "checking for $ac_word... " >&6; }
|
|
8841 |
if test ${ac_cv_prog_ac_ct_OTOOL64+y}
|
|
8842 |
then :
|
|
8843 |
printf %s "(cached) " >&6
|
|
8844 |
else $as_nop
|
7788 | 8845 |
if test -n "$ac_ct_OTOOL64"; then
|
7789 | 8846 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
7790 | 8847 |
else
|
|
7792 | 8849 |
for as_dir in $PATH
|
7793 | 8850 |
do
|
7794 | 8851 |
IFS=$as_save_IFS
|
7795 | |
test -z "$as_dir" && as_dir=.
|
|
8852 |
case $as_dir in #(((
|
|
8853 |
'') as_dir=./ ;;
|
|
8854 |
*/) ;;
|
|
8855 |
*) as_dir=$as_dir/ ;;
|
|
8856 |
esac
|
7796 | 8857 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7797 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8858 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7798 | 8859 |
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
7799 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8860 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7800 | 8861 |
break 2
|
7801 | 8862 |
fi
|
7802 | 8863 |
done
|
|
7807 | 8868 |
fi
|
7808 | 8869 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
7809 | 8870 |
if test -n "$ac_ct_OTOOL64"; then
|
7810 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
7811 | |
$as_echo "$ac_ct_OTOOL64" >&6; }
|
|
8871 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
|
8872 |
printf "%s\n" "$ac_ct_OTOOL64" >&6; }
|
7812 | 8873 |
else
|
7813 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7814 | |
$as_echo "no" >&6; }
|
|
8874 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8875 |
printf "%s\n" "no" >&6; }
|
7815 | 8876 |
fi
|
7816 | 8877 |
|
7817 | 8878 |
if test "x$ac_ct_OTOOL64" = x; then
|
|
7819 | 8880 |
else
|
7820 | 8881 |
case $cross_compiling:$ac_tool_warned in
|
7821 | 8882 |
yes:)
|
7822 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7823 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8883 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8884 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7824 | 8885 |
ac_tool_warned=yes ;;
|
7825 | 8886 |
esac
|
7826 | 8887 |
OTOOL64=$ac_ct_OTOOL64
|
|
7855 | 8916 |
|
7856 | 8917 |
|
7857 | 8918 |
|
7858 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
7859 | |
$as_echo_n "checking for -single_module linker flag... " >&6; }
|
7860 | |
if ${lt_cv_apple_cc_single_mod+:} false; then :
|
7861 | |
$as_echo_n "(cached) " >&6
|
7862 | |
else
|
|
8919 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
|
8920 |
printf %s "checking for -single_module linker flag... " >&6; }
|
|
8921 |
if test ${lt_cv_apple_cc_single_mod+y}
|
|
8922 |
then :
|
|
8923 |
printf %s "(cached) " >&6
|
|
8924 |
else $as_nop
|
7863 | 8925 |
lt_cv_apple_cc_single_mod=no
|
7864 | 8926 |
if test -z "$LT_MULTI_MODULE"; then
|
7865 | 8927 |
# By default we will add the -single_module flag. You can override
|
|
7888 | 8950 |
rm -f conftest.*
|
7889 | 8951 |
fi
|
7890 | 8952 |
fi
|
7891 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
7892 | |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
7893 | |
|
7894 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
7895 | |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
7896 | |
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
7897 | |
$as_echo_n "(cached) " >&6
|
7898 | |
else
|
|
8953 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
|
8954 |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
|
|
8955 |
|
|
8956 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
|
8957 |
printf %s "checking for -exported_symbols_list linker flag... " >&6; }
|
|
8958 |
if test ${lt_cv_ld_exported_symbols_list+y}
|
|
8959 |
then :
|
|
8960 |
printf %s "(cached) " >&6
|
|
8961 |
else $as_nop
|
7899 | 8962 |
lt_cv_ld_exported_symbols_list=no
|
7900 | 8963 |
save_LDFLAGS=$LDFLAGS
|
7901 | 8964 |
echo "_main" > conftest.sym
|
|
7904 | 8967 |
/* end confdefs.h. */
|
7905 | 8968 |
|
7906 | 8969 |
int
|
7907 | |
main ()
|
|
8970 |
main (void)
|
7908 | 8971 |
{
|
7909 | 8972 |
|
7910 | 8973 |
;
|
7911 | 8974 |
return 0;
|
7912 | 8975 |
}
|
7913 | 8976 |
_ACEOF
|
7914 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
8977 |
if ac_fn_c_try_link "$LINENO"
|
|
8978 |
then :
|
7915 | 8979 |
lt_cv_ld_exported_symbols_list=yes
|
7916 | |
else
|
|
8980 |
else $as_nop
|
7917 | 8981 |
lt_cv_ld_exported_symbols_list=no
|
7918 | 8982 |
fi
|
7919 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
8983 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
7920 | 8984 |
conftest$ac_exeext conftest.$ac_ext
|
7921 | 8985 |
LDFLAGS=$save_LDFLAGS
|
7922 | 8986 |
|
7923 | 8987 |
fi
|
7924 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
7925 | |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
7926 | |
|
7927 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
7928 | |
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
7929 | |
if ${lt_cv_ld_force_load+:} false; then :
|
7930 | |
$as_echo_n "(cached) " >&6
|
7931 | |
else
|
|
8988 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
|
8989 |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
|
|
8990 |
|
|
8991 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
|
8992 |
printf %s "checking for -force_load linker flag... " >&6; }
|
|
8993 |
if test ${lt_cv_ld_force_load+y}
|
|
8994 |
then :
|
|
8995 |
printf %s "(cached) " >&6
|
|
8996 |
else $as_nop
|
7932 | 8997 |
lt_cv_ld_force_load=no
|
7933 | 8998 |
cat > conftest.c << _LT_EOF
|
7934 | 8999 |
int forced_loaded() { return 2;}
|
|
7956 | 9021 |
rm -rf conftest.dSYM
|
7957 | 9022 |
|
7958 | 9023 |
fi
|
7959 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
7960 | |
$as_echo "$lt_cv_ld_force_load" >&6; }
|
|
9024 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
|
9025 |
printf "%s\n" "$lt_cv_ld_force_load" >&6; }
|
7961 | 9026 |
case $host_os in
|
7962 | 9027 |
rhapsody* | darwin1.[012])
|
7963 | 9028 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
|
7968 | 9033 |
# to the OS version, if on x86, and 10.4, the deployment
|
7969 | 9034 |
# target defaults to 10.4. Don't you love it?
|
7970 | 9035 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
7971 | |
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
|
9036 |
10.0,*86*-darwin8*|10.0,*-darwin[912]*)
|
7972 | 9037 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
7973 | 9038 |
10.[012][,.]*)
|
7974 | 9039 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
7975 | |
10.*)
|
|
9040 |
10.*|11.*)
|
7976 | 9041 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
7977 | 9042 |
esac
|
7978 | 9043 |
;;
|
|
8028 | 9093 |
esac
|
8029 | 9094 |
}
|
8030 | 9095 |
|
8031 | |
ac_ext=c
|
8032 | |
ac_cpp='$CPP $CPPFLAGS'
|
8033 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
8034 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
8035 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8036 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
8037 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
8038 | |
# On Suns, sometimes $CPP names a directory.
|
8039 | |
if test -n "$CPP" && test -d "$CPP"; then
|
8040 | |
CPP=
|
8041 | |
fi
|
8042 | |
if test -z "$CPP"; then
|
8043 | |
if ${ac_cv_prog_CPP+:} false; then :
|
8044 | |
$as_echo_n "(cached) " >&6
|
8045 | |
else
|
8046 | |
# Double quotes because CPP needs to be expanded
|
8047 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
8048 | |
do
|
8049 | |
ac_preproc_ok=false
|
8050 | |
for ac_c_preproc_warn_flag in '' yes
|
|
9096 |
ac_header= ac_cache=
|
|
9097 |
for ac_item in $ac_header_c_list
|
8051 | 9098 |
do
|
8052 | |
# Use a header file that comes with gcc, so configuring glibc
|
8053 | |
# with a fresh cross-compiler works.
|
8054 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
8055 | |
# <limits.h> exists even on freestanding compilers.
|
8056 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8057 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
8058 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8059 | |
/* end confdefs.h. */
|
8060 | |
#ifdef __STDC__
|
8061 | |
# include <limits.h>
|
8062 | |
#else
|
8063 | |
# include <assert.h>
|
8064 | |
#endif
|
8065 | |
Syntax error
|
8066 | |
_ACEOF
|
8067 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8068 | |
|
8069 | |
else
|
8070 | |
# Broken: fails on valid input.
|
8071 | |
continue
|
8072 | |
fi
|
8073 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8074 | |
|
8075 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
8076 | |
# can be detected and how.
|
8077 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8078 | |
/* end confdefs.h. */
|
8079 | |
#include <ac_nonexistent.h>
|
8080 | |
_ACEOF
|
8081 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8082 | |
# Broken: success on invalid input.
|
8083 | |
continue
|
8084 | |
else
|
8085 | |
# Passes both tests.
|
8086 | |
ac_preproc_ok=:
|
8087 | |
break
|
8088 | |
fi
|
8089 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8090 | |
|
|
9099 |
if test $ac_cache; then
|
|
9100 |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
|
|
9101 |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
|
|
9102 |
printf "%s\n" "#define $ac_item 1" >> confdefs.h
|
|
9103 |
fi
|
|
9104 |
ac_header= ac_cache=
|
|
9105 |
elif test $ac_header; then
|
|
9106 |
ac_cache=$ac_item
|
|
9107 |
else
|
|
9108 |
ac_header=$ac_item
|
|
9109 |
fi
|
8091 | 9110 |
done
|
8092 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8093 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
8094 | |
if $ac_preproc_ok; then :
|
8095 | |
break
|
8096 | |
fi
|
8097 | |
|
8098 | |
done
|
8099 | |
ac_cv_prog_CPP=$CPP
|
8100 | |
|
8101 | |
fi
|
8102 | |
CPP=$ac_cv_prog_CPP
|
8103 | |
else
|
8104 | |
ac_cv_prog_CPP=$CPP
|
8105 | |
fi
|
8106 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
8107 | |
$as_echo "$CPP" >&6; }
|
8108 | |
ac_preproc_ok=false
|
8109 | |
for ac_c_preproc_warn_flag in '' yes
|
8110 | |
do
|
8111 | |
# Use a header file that comes with gcc, so configuring glibc
|
8112 | |
# with a fresh cross-compiler works.
|
8113 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
8114 | |
# <limits.h> exists even on freestanding compilers.
|
8115 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8116 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
8117 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8118 | |
/* end confdefs.h. */
|
8119 | |
#ifdef __STDC__
|
8120 | |
# include <limits.h>
|
8121 | |
#else
|
8122 | |
# include <assert.h>
|
8123 | |
#endif
|
8124 | |
Syntax error
|
8125 | |
_ACEOF
|
8126 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8127 | |
|
8128 | |
else
|
8129 | |
# Broken: fails on valid input.
|
8130 | |
continue
|
8131 | |
fi
|
8132 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8133 | |
|
8134 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
8135 | |
# can be detected and how.
|
8136 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8137 | |
/* end confdefs.h. */
|
8138 | |
#include <ac_nonexistent.h>
|
8139 | |
_ACEOF
|
8140 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8141 | |
# Broken: success on invalid input.
|
8142 | |
continue
|
8143 | |
else
|
8144 | |
# Passes both tests.
|
8145 | |
ac_preproc_ok=:
|
8146 | |
break
|
8147 | |
fi
|
8148 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8149 | |
|
8150 | |
done
|
8151 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8152 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
8153 | |
if $ac_preproc_ok; then :
|
8154 | |
|
8155 | |
else
|
8156 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
8157 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
8158 | |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
8159 | |
See \`config.log' for more details" "$LINENO" 5; }
|
8160 | |
fi
|
8161 | |
|
8162 | |
ac_ext=c
|
8163 | |
ac_cpp='$CPP $CPPFLAGS'
|
8164 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
8165 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
8166 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8167 | |
|
8168 | |
|
8169 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
8170 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
8171 | |
if ${ac_cv_header_stdc+:} false; then :
|
8172 | |
$as_echo_n "(cached) " >&6
|
8173 | |
else
|
8174 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8175 | |
/* end confdefs.h. */
|
8176 | |
#include <stdlib.h>
|
8177 | |
#include <stdarg.h>
|
8178 | |
#include <string.h>
|
8179 | |
#include <float.h>
|
8180 | |
|
8181 | |
int
|
8182 | |
main ()
|
8183 | |
{
|
8184 | |
|
8185 | |
;
|
8186 | |
return 0;
|
8187 | |
}
|
8188 | |
_ACEOF
|
8189 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
8190 | |
ac_cv_header_stdc=yes
|
8191 | |
else
|
8192 | |
ac_cv_header_stdc=no
|
8193 | |
fi
|
8194 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8195 | |
|
8196 | |
if test $ac_cv_header_stdc = yes; then
|
8197 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
8198 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8199 | |
/* end confdefs.h. */
|
8200 | |
#include <string.h>
|
8201 | |
|
8202 | |
_ACEOF
|
8203 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
8204 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
8205 | |
|
8206 | |
else
|
8207 | |
ac_cv_header_stdc=no
|
8208 | |
fi
|
8209 | |
rm -f conftest*
|
8210 | |
|
8211 | |
fi
|
8212 | |
|
8213 | |
if test $ac_cv_header_stdc = yes; then
|
8214 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
8215 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8216 | |
/* end confdefs.h. */
|
8217 | |
#include <stdlib.h>
|
8218 | |
|
8219 | |
_ACEOF
|
8220 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
8221 | |
$EGREP "free" >/dev/null 2>&1; then :
|
8222 | |
|
8223 | |
else
|
8224 | |
ac_cv_header_stdc=no
|
8225 | |
fi
|
8226 | |
rm -f conftest*
|
8227 | |
|
8228 | |
fi
|
8229 | |
|
8230 | |
if test $ac_cv_header_stdc = yes; then
|
8231 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
8232 | |
if test "$cross_compiling" = yes; then :
|
8233 | |
:
|
8234 | |
else
|
8235 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8236 | |
/* end confdefs.h. */
|
8237 | |
#include <ctype.h>
|
8238 | |
#include <stdlib.h>
|
8239 | |
#if ((' ' & 0x0FF) == 0x020)
|
8240 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
8241 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
8242 | |
#else
|
8243 | |
# define ISLOWER(c) \
|
8244 | |
(('a' <= (c) && (c) <= 'i') \
|
8245 | |
|| ('j' <= (c) && (c) <= 'r') \
|
8246 | |
|| ('s' <= (c) && (c) <= 'z'))
|
8247 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
8248 | |
#endif
|
8249 | |
|
8250 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
8251 | |
int
|
8252 | |
main ()
|
8253 | |
{
|
8254 | |
int i;
|
8255 | |
for (i = 0; i < 256; i++)
|
8256 | |
if (XOR (islower (i), ISLOWER (i))
|
8257 | |
|| toupper (i) != TOUPPER (i))
|
8258 | |
return 2;
|
8259 | |
return 0;
|
8260 | |
}
|
8261 | |
_ACEOF
|
8262 | |
if ac_fn_c_try_run "$LINENO"; then :
|
8263 | |
|
8264 | |
else
|
8265 | |
ac_cv_header_stdc=no
|
8266 | |
fi
|
8267 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
8268 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
8269 | |
fi
|
8270 | |
|
8271 | |
fi
|
8272 | |
fi
|
8273 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
8274 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
8275 | |
if test $ac_cv_header_stdc = yes; then
|
8276 | |
|
8277 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
8278 | |
|
8279 | |
fi
|
8280 | |
|
8281 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
8282 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
8283 | |
inttypes.h stdint.h unistd.h
|
8284 | |
do :
|
8285 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
8286 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
9111 |
|
|
9112 |
|
|
9113 |
|
|
9114 |
|
|
9115 |
|
|
9116 |
|
|
9117 |
|
|
9118 |
|
|
9119 |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
|
|
9120 |
then :
|
|
9121 |
|
|
9122 |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
|
9123 |
|
|
9124 |
fi
|
|
9125 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
8287 | 9126 |
"
|
8288 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
8289 | |
cat >>confdefs.h <<_ACEOF
|
8290 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
8291 | |
_ACEOF
|
8292 | |
|
8293 | |
fi
|
8294 | |
|
8295 | |
done
|
8296 | |
|
8297 | |
|
8298 | |
for ac_header in dlfcn.h
|
8299 | |
do :
|
8300 | |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
8301 | |
"
|
8302 | |
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
8303 | |
cat >>confdefs.h <<_ACEOF
|
8304 | |
#define HAVE_DLFCN_H 1
|
8305 | |
_ACEOF
|
8306 | |
|
8307 | |
fi
|
8308 | |
|
8309 | |
done
|
|
9127 |
if test "x$ac_cv_header_dlfcn_h" = xyes
|
|
9128 |
then :
|
|
9129 |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
|
|
9130 |
|
|
9131 |
fi
|
8310 | 9132 |
|
8311 | 9133 |
|
8312 | 9134 |
|
|
8334 | 9156 |
|
8335 | 9157 |
|
8336 | 9158 |
# Check whether --enable-shared was given.
|
8337 | |
if test "${enable_shared+set}" = set; then :
|
|
9159 |
if test ${enable_shared+y}
|
|
9160 |
then :
|
8338 | 9161 |
enableval=$enable_shared; p=${PACKAGE-default}
|
8339 | 9162 |
case $enableval in
|
8340 | 9163 |
yes) enable_shared=yes ;;
|
|
8352 | 9175 |
IFS=$lt_save_ifs
|
8353 | 9176 |
;;
|
8354 | 9177 |
esac
|
8355 | |
else
|
|
9178 |
else $as_nop
|
8356 | 9179 |
enable_shared=yes
|
8357 | 9180 |
fi
|
8358 | 9181 |
|
|
8365 | 9188 |
|
8366 | 9189 |
|
8367 | 9190 |
# Check whether --enable-static was given.
|
8368 | |
if test "${enable_static+set}" = set; then :
|
|
9191 |
if test ${enable_static+y}
|
|
9192 |
then :
|
8369 | 9193 |
enableval=$enable_static; p=${PACKAGE-default}
|
8370 | 9194 |
case $enableval in
|
8371 | 9195 |
yes) enable_static=yes ;;
|
|
8383 | 9207 |
IFS=$lt_save_ifs
|
8384 | 9208 |
;;
|
8385 | 9209 |
esac
|
8386 | |
else
|
|
9210 |
else $as_nop
|
8387 | 9211 |
enable_static=yes
|
8388 | 9212 |
fi
|
8389 | 9213 |
|
|
8397 | 9221 |
|
8398 | 9222 |
|
8399 | 9223 |
# Check whether --with-pic was given.
|
8400 | |
if test "${with_pic+set}" = set; then :
|
|
9224 |
if test ${with_pic+y}
|
|
9225 |
then :
|
8401 | 9226 |
withval=$with_pic; lt_p=${PACKAGE-default}
|
8402 | 9227 |
case $withval in
|
8403 | 9228 |
yes|no) pic_mode=$withval ;;
|
|
8414 | 9239 |
IFS=$lt_save_ifs
|
8415 | 9240 |
;;
|
8416 | 9241 |
esac
|
8417 | |
else
|
|
9242 |
else $as_nop
|
8418 | 9243 |
pic_mode=default
|
8419 | 9244 |
fi
|
8420 | 9245 |
|
|
8426 | 9251 |
|
8427 | 9252 |
|
8428 | 9253 |
# Check whether --enable-fast-install was given.
|
8429 | |
if test "${enable_fast_install+set}" = set; then :
|
|
9254 |
if test ${enable_fast_install+y}
|
|
9255 |
then :
|
8430 | 9256 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
8431 | 9257 |
case $enableval in
|
8432 | 9258 |
yes) enable_fast_install=yes ;;
|
|
8444 | 9270 |
IFS=$lt_save_ifs
|
8445 | 9271 |
;;
|
8446 | 9272 |
esac
|
8447 | |
else
|
|
9273 |
else $as_nop
|
8448 | 9274 |
enable_fast_install=yes
|
8449 | 9275 |
fi
|
8450 | 9276 |
|
|
8458 | 9284 |
shared_archive_member_spec=
|
8459 | 9285 |
case $host,$enable_shared in
|
8460 | 9286 |
power*-*-aix[5-9]*,yes)
|
8461 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
8462 | |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
|
|
9287 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
|
9288 |
printf %s "checking which variant of shared library versioning to provide... " >&6; }
|
8463 | 9289 |
|
8464 | 9290 |
# Check whether --with-aix-soname was given.
|
8465 | |
if test "${with_aix_soname+set}" = set; then :
|
|
9291 |
if test ${with_aix_soname+y}
|
|
9292 |
then :
|
8466 | 9293 |
withval=$with_aix_soname; case $withval in
|
8467 | 9294 |
aix|svr4|both)
|
8468 | 9295 |
;;
|
|
8471 | 9298 |
;;
|
8472 | 9299 |
esac
|
8473 | 9300 |
lt_cv_with_aix_soname=$with_aix_soname
|
8474 | |
else
|
8475 | |
if ${lt_cv_with_aix_soname+:} false; then :
|
8476 | |
$as_echo_n "(cached) " >&6
|
8477 | |
else
|
|
9301 |
else $as_nop
|
|
9302 |
if test ${lt_cv_with_aix_soname+y}
|
|
9303 |
then :
|
|
9304 |
printf %s "(cached) " >&6
|
|
9305 |
else $as_nop
|
8478 | 9306 |
lt_cv_with_aix_soname=aix
|
8479 | 9307 |
fi
|
8480 | 9308 |
|
8481 | 9309 |
with_aix_soname=$lt_cv_with_aix_soname
|
8482 | 9310 |
fi
|
8483 | 9311 |
|
8484 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
8485 | |
$as_echo "$with_aix_soname" >&6; }
|
|
9312 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
|
9313 |
printf "%s\n" "$with_aix_soname" >&6; }
|
8486 | 9314 |
if test aix != "$with_aix_soname"; then
|
8487 | 9315 |
# For the AIX way of multilib, we name the shared archive member
|
8488 | 9316 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
|
8564 | 9392 |
setopt NO_GLOB_SUBST
|
8565 | 9393 |
fi
|
8566 | 9394 |
|
8567 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
8568 | |
$as_echo_n "checking for objdir... " >&6; }
|
8569 | |
if ${lt_cv_objdir+:} false; then :
|
8570 | |
$as_echo_n "(cached) " >&6
|
8571 | |
else
|
|
9395 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
|
9396 |
printf %s "checking for objdir... " >&6; }
|
|
9397 |
if test ${lt_cv_objdir+y}
|
|
9398 |
then :
|
|
9399 |
printf %s "(cached) " >&6
|
|
9400 |
else $as_nop
|
8572 | 9401 |
rm -f .libs 2>/dev/null
|
8573 | 9402 |
mkdir .libs 2>/dev/null
|
8574 | 9403 |
if test -d .libs; then
|
|
8579 | 9408 |
fi
|
8580 | 9409 |
rmdir .libs 2>/dev/null
|
8581 | 9410 |
fi
|
8582 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
8583 | |
$as_echo "$lt_cv_objdir" >&6; }
|
|
9411 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
|
9412 |
printf "%s\n" "$lt_cv_objdir" >&6; }
|
8584 | 9413 |
objdir=$lt_cv_objdir
|
8585 | 9414 |
|
8586 | 9415 |
|
8587 | 9416 |
|
8588 | 9417 |
|
8589 | 9418 |
|
8590 | |
cat >>confdefs.h <<_ACEOF
|
8591 | |
#define LT_OBJDIR "$lt_cv_objdir/"
|
8592 | |
_ACEOF
|
|
9419 |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
|
8593 | 9420 |
|
8594 | 9421 |
|
8595 | 9422 |
|
|
8635 | 9462 |
case $deplibs_check_method in
|
8636 | 9463 |
file_magic*)
|
8637 | 9464 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
8638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
8639 | |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
8640 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
8641 | |
$as_echo_n "(cached) " >&6
|
8642 | |
else
|
|
9465 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
|
9466 |
printf %s "checking for ${ac_tool_prefix}file... " >&6; }
|
|
9467 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9468 |
then :
|
|
9469 |
printf %s "(cached) " >&6
|
|
9470 |
else $as_nop
|
8643 | 9471 |
case $MAGIC_CMD in
|
8644 | 9472 |
[\\/*] | ?:[\\/]*)
|
8645 | 9473 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
8688 | 9516 |
|
8689 | 9517 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
8690 | 9518 |
if test -n "$MAGIC_CMD"; then
|
8691 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
8692 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9519 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9520 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
8693 | 9521 |
else
|
8694 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8695 | |
$as_echo "no" >&6; }
|
|
9522 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9523 |
printf "%s\n" "no" >&6; }
|
8696 | 9524 |
fi
|
8697 | 9525 |
|
8698 | 9526 |
|
|
8701 | 9529 |
|
8702 | 9530 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
8703 | 9531 |
if test -n "$ac_tool_prefix"; then
|
8704 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
8705 | |
$as_echo_n "checking for file... " >&6; }
|
8706 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
8707 | |
$as_echo_n "(cached) " >&6
|
8708 | |
else
|
|
9532 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
|
9533 |
printf %s "checking for file... " >&6; }
|
|
9534 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9535 |
then :
|
|
9536 |
printf %s "(cached) " >&6
|
|
9537 |
else $as_nop
|
8709 | 9538 |
case $MAGIC_CMD in
|
8710 | 9539 |
[\\/*] | ?:[\\/]*)
|
8711 | 9540 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
8754 | 9583 |
|
8755 | 9584 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
8756 | 9585 |
if test -n "$MAGIC_CMD"; then
|
8757 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
8758 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9586 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9587 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
8759 | 9588 |
else
|
8760 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8761 | |
$as_echo "no" >&6; }
|
|
9589 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9590 |
printf "%s\n" "no" >&6; }
|
8762 | 9591 |
fi
|
8763 | 9592 |
|
8764 | 9593 |
|
|
8843 | 9672 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
8844 | 9673 |
esac
|
8845 | 9674 |
|
8846 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
8847 | |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
8848 | |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
8849 | |
$as_echo_n "(cached) " >&6
|
8850 | |
else
|
|
9675 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
9676 |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
|
9677 |
if test ${lt_cv_prog_compiler_rtti_exceptions+y}
|
|
9678 |
then :
|
|
9679 |
printf %s "(cached) " >&6
|
|
9680 |
else $as_nop
|
8851 | 9681 |
lt_cv_prog_compiler_rtti_exceptions=no
|
8852 | 9682 |
ac_outfile=conftest.$ac_objext
|
8853 | 9683 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
8878 | 9708 |
$RM conftest*
|
8879 | 9709 |
|
8880 | 9710 |
fi
|
8881 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
8882 | |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
9711 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
9712 |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
8883 | 9713 |
|
8884 | 9714 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
|
8885 | 9715 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
|
9242 | 10072 |
;;
|
9243 | 10073 |
esac
|
9244 | 10074 |
|
9245 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
9246 | |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
9247 | |
if ${lt_cv_prog_compiler_pic+:} false; then :
|
9248 | |
$as_echo_n "(cached) " >&6
|
9249 | |
else
|
|
10075 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
10076 |
printf %s "checking for $compiler option to produce PIC... " >&6; }
|
|
10077 |
if test ${lt_cv_prog_compiler_pic+y}
|
|
10078 |
then :
|
|
10079 |
printf %s "(cached) " >&6
|
|
10080 |
else $as_nop
|
9250 | 10081 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
9251 | 10082 |
fi
|
9252 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
9253 | |
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
|
10083 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
|
10084 |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
|
9254 | 10085 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
9255 | 10086 |
|
9256 | 10087 |
#
|
9257 | 10088 |
# Check to make sure the PIC flag actually works.
|
9258 | 10089 |
#
|
9259 | 10090 |
if test -n "$lt_prog_compiler_pic"; then
|
9260 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
9261 | |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
9262 | |
if ${lt_cv_prog_compiler_pic_works+:} false; then :
|
9263 | |
$as_echo_n "(cached) " >&6
|
9264 | |
else
|
|
10091 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
10092 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
|
10093 |
if test ${lt_cv_prog_compiler_pic_works+y}
|
|
10094 |
then :
|
|
10095 |
printf %s "(cached) " >&6
|
|
10096 |
else $as_nop
|
9265 | 10097 |
lt_cv_prog_compiler_pic_works=no
|
9266 | 10098 |
ac_outfile=conftest.$ac_objext
|
9267 | 10099 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
9292 | 10124 |
$RM conftest*
|
9293 | 10125 |
|
9294 | 10126 |
fi
|
9295 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
9296 | |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
|
10127 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
|
10128 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
|
9297 | 10129 |
|
9298 | 10130 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then
|
9299 | 10131 |
case $lt_prog_compiler_pic in
|
|
9321 | 10153 |
# Check to make sure the static flag actually works.
|
9322 | 10154 |
#
|
9323 | 10155 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
9324 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
9325 | |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
9326 | |
if ${lt_cv_prog_compiler_static_works+:} false; then :
|
9327 | |
$as_echo_n "(cached) " >&6
|
9328 | |
else
|
|
10156 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
10157 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
10158 |
if test ${lt_cv_prog_compiler_static_works+y}
|
|
10159 |
then :
|
|
10160 |
printf %s "(cached) " >&6
|
|
10161 |
else $as_nop
|
9329 | 10162 |
lt_cv_prog_compiler_static_works=no
|
9330 | 10163 |
save_LDFLAGS=$LDFLAGS
|
9331 | 10164 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
9349 | 10182 |
LDFLAGS=$save_LDFLAGS
|
9350 | 10183 |
|
9351 | 10184 |
fi
|
9352 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
9353 | |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
|
10185 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
|
10186 |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
|
9354 | 10187 |
|
9355 | 10188 |
if test yes = "$lt_cv_prog_compiler_static_works"; then
|
9356 | 10189 |
:
|
|
9364 | 10197 |
|
9365 | 10198 |
|
9366 | 10199 |
|
9367 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9368 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9369 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
9370 | |
$as_echo_n "(cached) " >&6
|
9371 | |
else
|
|
10200 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
10201 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
10202 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
10203 |
then :
|
|
10204 |
printf %s "(cached) " >&6
|
|
10205 |
else $as_nop
|
9372 | 10206 |
lt_cv_prog_compiler_c_o=no
|
9373 | 10207 |
$RM -r conftest 2>/dev/null
|
9374 | 10208 |
mkdir conftest
|
|
9411 | 10245 |
$RM conftest*
|
9412 | 10246 |
|
9413 | 10247 |
fi
|
9414 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9415 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
9416 | |
|
9417 | |
|
9418 | |
|
9419 | |
|
9420 | |
|
9421 | |
|
9422 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9423 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9424 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
9425 | |
$as_echo_n "(cached) " >&6
|
9426 | |
else
|
|
10248 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
10249 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
|
10250 |
|
|
10251 |
|
|
10252 |
|
|
10253 |
|
|
10254 |
|
|
10255 |
|
|
10256 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
10257 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
10258 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
10259 |
then :
|
|
10260 |
printf %s "(cached) " >&6
|
|
10261 |
else $as_nop
|
9427 | 10262 |
lt_cv_prog_compiler_c_o=no
|
9428 | 10263 |
$RM -r conftest 2>/dev/null
|
9429 | 10264 |
mkdir conftest
|
|
9466 | 10301 |
$RM conftest*
|
9467 | 10302 |
|
9468 | 10303 |
fi
|
9469 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9470 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
10304 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
10305 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
9471 | 10306 |
|
9472 | 10307 |
|
9473 | 10308 |
|
|
9475 | 10310 |
hard_links=nottested
|
9476 | 10311 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
|
9477 | 10312 |
# do not overwrite the value of need_locks provided by the user
|
9478 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
9479 | |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
|
10313 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
10314 |
printf %s "checking if we can lock with hard links... " >&6; }
|
9480 | 10315 |
hard_links=yes
|
9481 | 10316 |
$RM conftest*
|
9482 | 10317 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
9483 | 10318 |
touch conftest.a
|
9484 | 10319 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
9485 | 10320 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
9486 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
9487 | |
$as_echo "$hard_links" >&6; }
|
|
10321 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
10322 |
printf "%s\n" "$hard_links" >&6; }
|
9488 | 10323 |
if test no = "$hard_links"; then
|
9489 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
9490 | |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
|
10324 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
|
10325 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
9491 | 10326 |
need_locks=warn
|
9492 | 10327 |
fi
|
9493 | 10328 |
else
|
|
9499 | 10334 |
|
9500 | 10335 |
|
9501 | 10336 |
|
9502 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
9503 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
10337 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
10338 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
9504 | 10339 |
|
9505 | 10340 |
runpath_var=
|
9506 | 10341 |
allow_undefined_flag=
|
|
10058 | 10893 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10059 | 10894 |
aix_libpath=$lt_cv_aix_libpath
|
10060 | 10895 |
else
|
10061 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10062 | |
$as_echo_n "(cached) " >&6
|
10063 | |
else
|
|
10896 |
if test ${lt_cv_aix_libpath_+y}
|
|
10897 |
then :
|
|
10898 |
printf %s "(cached) " >&6
|
|
10899 |
else $as_nop
|
10064 | 10900 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10065 | 10901 |
/* end confdefs.h. */
|
10066 | 10902 |
|
10067 | 10903 |
int
|
10068 | |
main ()
|
|
10904 |
main (void)
|
10069 | 10905 |
{
|
10070 | 10906 |
|
10071 | 10907 |
;
|
10072 | 10908 |
return 0;
|
10073 | 10909 |
}
|
10074 | 10910 |
_ACEOF
|
10075 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10911 |
if ac_fn_c_try_link "$LINENO"
|
|
10912 |
then :
|
10076 | 10913 |
|
10077 | 10914 |
lt_aix_libpath_sed='
|
10078 | 10915 |
/Import File Strings/,/^$/ {
|
|
10087 | 10924 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10088 | 10925 |
fi
|
10089 | 10926 |
fi
|
10090 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
10927 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10091 | 10928 |
conftest$ac_exeext conftest.$ac_ext
|
10092 | 10929 |
if test -z "$lt_cv_aix_libpath_"; then
|
10093 | 10930 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
10111 | 10948 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10112 | 10949 |
aix_libpath=$lt_cv_aix_libpath
|
10113 | 10950 |
else
|
10114 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10115 | |
$as_echo_n "(cached) " >&6
|
10116 | |
else
|
|
10951 |
if test ${lt_cv_aix_libpath_+y}
|
|
10952 |
then :
|
|
10953 |
printf %s "(cached) " >&6
|
|
10954 |
else $as_nop
|
10117 | 10955 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10118 | 10956 |
/* end confdefs.h. */
|
10119 | 10957 |
|
10120 | 10958 |
int
|
10121 | |
main ()
|
|
10959 |
main (void)
|
10122 | 10960 |
{
|
10123 | 10961 |
|
10124 | 10962 |
;
|
10125 | 10963 |
return 0;
|
10126 | 10964 |
}
|
10127 | 10965 |
_ACEOF
|
10128 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10966 |
if ac_fn_c_try_link "$LINENO"
|
|
10967 |
then :
|
10129 | 10968 |
|
10130 | 10969 |
lt_aix_libpath_sed='
|
10131 | 10970 |
/Import File Strings/,/^$/ {
|
|
10140 | 10979 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10141 | 10980 |
fi
|
10142 | 10981 |
fi
|
10143 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
10982 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10144 | 10983 |
conftest$ac_exeext conftest.$ac_ext
|
10145 | 10984 |
if test -z "$lt_cv_aix_libpath_"; then
|
10146 | 10985 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
10391 | 11230 |
|
10392 | 11231 |
# Older versions of the 11.00 compiler do not understand -b yet
|
10393 | 11232 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
10394 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
10395 | |
$as_echo_n "checking if $CC understands -b... " >&6; }
|
10396 | |
if ${lt_cv_prog_compiler__b+:} false; then :
|
10397 | |
$as_echo_n "(cached) " >&6
|
10398 | |
else
|
|
11233 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
|
11234 |
printf %s "checking if $CC understands -b... " >&6; }
|
|
11235 |
if test ${lt_cv_prog_compiler__b+y}
|
|
11236 |
then :
|
|
11237 |
printf %s "(cached) " >&6
|
|
11238 |
else $as_nop
|
10399 | 11239 |
lt_cv_prog_compiler__b=no
|
10400 | 11240 |
save_LDFLAGS=$LDFLAGS
|
10401 | 11241 |
LDFLAGS="$LDFLAGS -b"
|
|
10419 | 11259 |
LDFLAGS=$save_LDFLAGS
|
10420 | 11260 |
|
10421 | 11261 |
fi
|
10422 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
10423 | |
$as_echo "$lt_cv_prog_compiler__b" >&6; }
|
|
11262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
|
11263 |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
|
10424 | 11264 |
|
10425 | 11265 |
if test yes = "$lt_cv_prog_compiler__b"; then
|
10426 | 11266 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
10460 | 11300 |
# work, assume that -exports_file does not work either and
|
10461 | 11301 |
# implicitly export all symbols.
|
10462 | 11302 |
# This should be the same for all languages, so no per-tag cache variable.
|
10463 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
10464 | |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
10465 | |
if ${lt_cv_irix_exported_symbol+:} false; then :
|
10466 | |
$as_echo_n "(cached) " >&6
|
10467 | |
else
|
|
11303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
|
11304 |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
|
11305 |
if test ${lt_cv_irix_exported_symbol+y}
|
|
11306 |
then :
|
|
11307 |
printf %s "(cached) " >&6
|
|
11308 |
else $as_nop
|
10468 | 11309 |
save_LDFLAGS=$LDFLAGS
|
10469 | 11310 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
|
10470 | 11311 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10471 | 11312 |
/* end confdefs.h. */
|
10472 | 11313 |
int foo (void) { return 0; }
|
10473 | 11314 |
_ACEOF
|
10474 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
11315 |
if ac_fn_c_try_link "$LINENO"
|
|
11316 |
then :
|
10475 | 11317 |
lt_cv_irix_exported_symbol=yes
|
10476 | |
else
|
|
11318 |
else $as_nop
|
10477 | 11319 |
lt_cv_irix_exported_symbol=no
|
10478 | 11320 |
fi
|
10479 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
11321 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10480 | 11322 |
conftest$ac_exeext conftest.$ac_ext
|
10481 | 11323 |
LDFLAGS=$save_LDFLAGS
|
10482 | 11324 |
fi
|
10483 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
10484 | |
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
11325 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
|
11326 |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
|
10485 | 11327 |
if test yes = "$lt_cv_irix_exported_symbol"; then
|
10486 | 11328 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
|
10487 | 11329 |
fi
|
|
10762 | 11604 |
fi
|
10763 | 11605 |
fi
|
10764 | 11606 |
|
10765 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
10766 | |
$as_echo "$ld_shlibs" >&6; }
|
|
11607 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
|
11608 |
printf "%s\n" "$ld_shlibs" >&6; }
|
10767 | 11609 |
test no = "$ld_shlibs" && can_build_shared=no
|
10768 | 11610 |
|
10769 | 11611 |
with_gnu_ld=$with_gnu_ld
|
|
10799 | 11641 |
# Test whether the compiler implicitly links with -lc since on some
|
10800 | 11642 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
10801 | 11643 |
# to ld, don't add -lc before -lgcc.
|
10802 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
10803 | |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
10804 | |
if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
10805 | |
$as_echo_n "(cached) " >&6
|
10806 | |
else
|
|
11644 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
11645 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; }
|
|
11646 |
if test ${lt_cv_archive_cmds_need_lc+y}
|
|
11647 |
then :
|
|
11648 |
printf %s "(cached) " >&6
|
|
11649 |
else $as_nop
|
10807 | 11650 |
$RM conftest*
|
10808 | 11651 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
10809 | 11652 |
|
10810 | 11653 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
10811 | 11654 |
(eval $ac_compile) 2>&5
|
10812 | 11655 |
ac_status=$?
|
10813 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11656 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
10814 | 11657 |
test $ac_status = 0; } 2>conftest.err; then
|
10815 | 11658 |
soname=conftest
|
10816 | 11659 |
lib=conftest
|
|
10828 | 11671 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
10829 | 11672 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
10830 | 11673 |
ac_status=$?
|
10831 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11674 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
10832 | 11675 |
test $ac_status = 0; }
|
10833 | 11676 |
then
|
10834 | 11677 |
lt_cv_archive_cmds_need_lc=no
|
|
10842 | 11685 |
$RM conftest*
|
10843 | 11686 |
|
10844 | 11687 |
fi
|
10845 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
10846 | |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
|
11688 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
|
11689 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
|
10847 | 11690 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
10848 | 11691 |
;;
|
10849 | 11692 |
esac
|
|
11002 | 11845 |
|
11003 | 11846 |
|
11004 | 11847 |
|
11005 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
11006 | |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
11848 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
11849 |
printf %s "checking dynamic linker characteristics... " >&6; }
|
11007 | 11850 |
|
11008 | 11851 |
if test yes = "$GCC"; then
|
11009 | 11852 |
case $host_os in
|
|
11564 | 12407 |
shlibpath_overrides_runpath=no
|
11565 | 12408 |
|
11566 | 12409 |
# Some binutils ld are patched to set DT_RUNPATH
|
11567 | |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
11568 | |
$as_echo_n "(cached) " >&6
|
11569 | |
else
|
|
12410 |
if test ${lt_cv_shlibpath_overrides_runpath+y}
|
|
12411 |
then :
|
|
12412 |
printf %s "(cached) " >&6
|
|
12413 |
else $as_nop
|
11570 | 12414 |
lt_cv_shlibpath_overrides_runpath=no
|
11571 | 12415 |
save_LDFLAGS=$LDFLAGS
|
11572 | 12416 |
save_libdir=$libdir
|
|
11576 | 12420 |
/* end confdefs.h. */
|
11577 | 12421 |
|
11578 | 12422 |
int
|
11579 | |
main ()
|
|
12423 |
main (void)
|
11580 | 12424 |
{
|
11581 | 12425 |
|
11582 | 12426 |
;
|
11583 | 12427 |
return 0;
|
11584 | 12428 |
}
|
11585 | 12429 |
_ACEOF
|
11586 | |
if ac_fn_c_try_link "$LINENO"; then :
|
11587 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
12430 |
if ac_fn_c_try_link "$LINENO"
|
|
12431 |
then :
|
|
12432 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
|
|
12433 |
then :
|
11588 | 12434 |
lt_cv_shlibpath_overrides_runpath=yes
|
11589 | 12435 |
fi
|
11590 | 12436 |
fi
|
11591 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12437 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
11592 | 12438 |
conftest$ac_exeext conftest.$ac_ext
|
11593 | 12439 |
LDFLAGS=$save_LDFLAGS
|
11594 | 12440 |
libdir=$save_libdir
|
|
11832 | 12678 |
dynamic_linker=no
|
11833 | 12679 |
;;
|
11834 | 12680 |
esac
|
11835 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
11836 | |
$as_echo "$dynamic_linker" >&6; }
|
|
12681 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
12682 |
printf "%s\n" "$dynamic_linker" >&6; }
|
11837 | 12683 |
test no = "$dynamic_linker" && can_build_shared=no
|
11838 | 12684 |
|
11839 | 12685 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
11954 | 12800 |
|
11955 | 12801 |
|
11956 | 12802 |
|
11957 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
11958 | |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
12803 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
12804 |
printf %s "checking how to hardcode library paths into programs... " >&6; }
|
11959 | 12805 |
hardcode_action=
|
11960 | 12806 |
if test -n "$hardcode_libdir_flag_spec" ||
|
11961 | 12807 |
test -n "$runpath_var" ||
|
|
11979 | 12825 |
# directories.
|
11980 | 12826 |
hardcode_action=unsupported
|
11981 | 12827 |
fi
|
11982 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
11983 | |
$as_echo "$hardcode_action" >&6; }
|
|
12828 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
|
12829 |
printf "%s\n" "$hardcode_action" >&6; }
|
11984 | 12830 |
|
11985 | 12831 |
if test relink = "$hardcode_action" ||
|
11986 | 12832 |
test yes = "$inherit_rpath"; then
|
|
12024 | 12870 |
|
12025 | 12871 |
darwin*)
|
12026 | 12872 |
# if libdl is installed we need to link against it
|
12027 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12028 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12029 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12030 | |
$as_echo_n "(cached) " >&6
|
12031 | |
else
|
|
12873 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
12874 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
12875 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
12876 |
then :
|
|
12877 |
printf %s "(cached) " >&6
|
|
12878 |
else $as_nop
|
12032 | 12879 |
ac_check_lib_save_LIBS=$LIBS
|
12033 | 12880 |
LIBS="-ldl $LIBS"
|
12034 | 12881 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12037 | 12884 |
/* Override any GCC internal prototype to avoid an error.
|
12038 | 12885 |
Use char because int might match the return type of a GCC
|
12039 | 12886 |
builtin and then its argument prototype would still apply. */
|
12040 | |
#ifdef __cplusplus
|
12041 | |
extern "C"
|
12042 | |
#endif
|
12043 | 12887 |
char dlopen ();
|
12044 | 12888 |
int
|
12045 | |
main ()
|
|
12889 |
main (void)
|
12046 | 12890 |
{
|
12047 | 12891 |
return dlopen ();
|
12048 | 12892 |
;
|
12049 | 12893 |
return 0;
|
12050 | 12894 |
}
|
12051 | 12895 |
_ACEOF
|
12052 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12896 |
if ac_fn_c_try_link "$LINENO"
|
|
12897 |
then :
|
12053 | 12898 |
ac_cv_lib_dl_dlopen=yes
|
12054 | |
else
|
|
12899 |
else $as_nop
|
12055 | 12900 |
ac_cv_lib_dl_dlopen=no
|
12056 | 12901 |
fi
|
12057 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12902 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12058 | 12903 |
conftest$ac_exeext conftest.$ac_ext
|
12059 | 12904 |
LIBS=$ac_check_lib_save_LIBS
|
12060 | 12905 |
fi
|
12061 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12062 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12063 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
12906 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
12907 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
12908 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
12909 |
then :
|
12064 | 12910 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12065 | |
else
|
|
12911 |
else $as_nop
|
12066 | 12912 |
|
12067 | 12913 |
lt_cv_dlopen=dyld
|
12068 | 12914 |
lt_cv_dlopen_libs=
|
|
12082 | 12928 |
|
12083 | 12929 |
*)
|
12084 | 12930 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
12085 | |
if test "x$ac_cv_func_shl_load" = xyes; then :
|
|
12931 |
if test "x$ac_cv_func_shl_load" = xyes
|
|
12932 |
then :
|
12086 | 12933 |
lt_cv_dlopen=shl_load
|
12087 | |
else
|
12088 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
12089 | |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
12090 | |
if ${ac_cv_lib_dld_shl_load+:} false; then :
|
12091 | |
$as_echo_n "(cached) " >&6
|
12092 | |
else
|
|
12934 |
else $as_nop
|
|
12935 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
|
12936 |
printf %s "checking for shl_load in -ldld... " >&6; }
|
|
12937 |
if test ${ac_cv_lib_dld_shl_load+y}
|
|
12938 |
then :
|
|
12939 |
printf %s "(cached) " >&6
|
|
12940 |
else $as_nop
|
12093 | 12941 |
ac_check_lib_save_LIBS=$LIBS
|
12094 | 12942 |
LIBS="-ldld $LIBS"
|
12095 | 12943 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12098 | 12946 |
/* Override any GCC internal prototype to avoid an error.
|
12099 | 12947 |
Use char because int might match the return type of a GCC
|
12100 | 12948 |
builtin and then its argument prototype would still apply. */
|
12101 | |
#ifdef __cplusplus
|
12102 | |
extern "C"
|
12103 | |
#endif
|
12104 | 12949 |
char shl_load ();
|
12105 | 12950 |
int
|
12106 | |
main ()
|
|
12951 |
main (void)
|
12107 | 12952 |
{
|
12108 | 12953 |
return shl_load ();
|
12109 | 12954 |
;
|
12110 | 12955 |
return 0;
|
12111 | 12956 |
}
|
12112 | 12957 |
_ACEOF
|
12113 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12958 |
if ac_fn_c_try_link "$LINENO"
|
|
12959 |
then :
|
12114 | 12960 |
ac_cv_lib_dld_shl_load=yes
|
12115 | |
else
|
|
12961 |
else $as_nop
|
12116 | 12962 |
ac_cv_lib_dld_shl_load=no
|
12117 | 12963 |
fi
|
12118 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12964 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12119 | 12965 |
conftest$ac_exeext conftest.$ac_ext
|
12120 | 12966 |
LIBS=$ac_check_lib_save_LIBS
|
12121 | 12967 |
fi
|
12122 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
12123 | |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
12124 | |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
|
12968 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
|
12969 |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
|
|
12970 |
if test "x$ac_cv_lib_dld_shl_load" = xyes
|
|
12971 |
then :
|
12125 | 12972 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
|
12126 | |
else
|
|
12973 |
else $as_nop
|
12127 | 12974 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
12128 | |
if test "x$ac_cv_func_dlopen" = xyes; then :
|
|
12975 |
if test "x$ac_cv_func_dlopen" = xyes
|
|
12976 |
then :
|
12129 | 12977 |
lt_cv_dlopen=dlopen
|
12130 | |
else
|
12131 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12132 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12133 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12134 | |
$as_echo_n "(cached) " >&6
|
12135 | |
else
|
|
12978 |
else $as_nop
|
|
12979 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
12980 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
12981 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
12982 |
then :
|
|
12983 |
printf %s "(cached) " >&6
|
|
12984 |
else $as_nop
|
12136 | 12985 |
ac_check_lib_save_LIBS=$LIBS
|
12137 | 12986 |
LIBS="-ldl $LIBS"
|
12138 | 12987 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12141 | 12990 |
/* Override any GCC internal prototype to avoid an error.
|
12142 | 12991 |
Use char because int might match the return type of a GCC
|
12143 | 12992 |
builtin and then its argument prototype would still apply. */
|
12144 | |
#ifdef __cplusplus
|
12145 | |
extern "C"
|
12146 | |
#endif
|
12147 | 12993 |
char dlopen ();
|
12148 | 12994 |
int
|
12149 | |
main ()
|
|
12995 |
main (void)
|
12150 | 12996 |
{
|
12151 | 12997 |
return dlopen ();
|
12152 | 12998 |
;
|
12153 | 12999 |
return 0;
|
12154 | 13000 |
}
|
12155 | 13001 |
_ACEOF
|
12156 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13002 |
if ac_fn_c_try_link "$LINENO"
|
|
13003 |
then :
|
12157 | 13004 |
ac_cv_lib_dl_dlopen=yes
|
12158 | |
else
|
|
13005 |
else $as_nop
|
12159 | 13006 |
ac_cv_lib_dl_dlopen=no
|
12160 | 13007 |
fi
|
12161 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13008 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12162 | 13009 |
conftest$ac_exeext conftest.$ac_ext
|
12163 | 13010 |
LIBS=$ac_check_lib_save_LIBS
|
12164 | 13011 |
fi
|
12165 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12166 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12167 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
13012 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
13013 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
13014 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
13015 |
then :
|
12168 | 13016 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12169 | |
else
|
12170 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
12171 | |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
12172 | |
if ${ac_cv_lib_svld_dlopen+:} false; then :
|
12173 | |
$as_echo_n "(cached) " >&6
|
12174 | |
else
|
|
13017 |
else $as_nop
|
|
13018 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
|
13019 |
printf %s "checking for dlopen in -lsvld... " >&6; }
|
|
13020 |
if test ${ac_cv_lib_svld_dlopen+y}
|
|
13021 |
then :
|
|
13022 |
printf %s "(cached) " >&6
|
|
13023 |
else $as_nop
|
12175 | 13024 |
ac_check_lib_save_LIBS=$LIBS
|
12176 | 13025 |
LIBS="-lsvld $LIBS"
|
12177 | 13026 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12180 | 13029 |
/* Override any GCC internal prototype to avoid an error.
|
12181 | 13030 |
Use char because int might match the return type of a GCC
|
12182 | 13031 |
builtin and then its argument prototype would still apply. */
|
12183 | |
#ifdef __cplusplus
|
12184 | |
extern "C"
|
12185 | |
#endif
|
12186 | 13032 |
char dlopen ();
|
12187 | 13033 |
int
|
12188 | |
main ()
|
|
13034 |
main (void)
|
12189 | 13035 |
{
|
12190 | 13036 |
return dlopen ();
|
12191 | 13037 |
;
|
12192 | 13038 |
return 0;
|
12193 | 13039 |
}
|
12194 | 13040 |
_ACEOF
|
12195 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13041 |
if ac_fn_c_try_link "$LINENO"
|
|
13042 |
then :
|
12196 | 13043 |
ac_cv_lib_svld_dlopen=yes
|
12197 | |
else
|
|
13044 |
else $as_nop
|
12198 | 13045 |
ac_cv_lib_svld_dlopen=no
|
12199 | 13046 |
fi
|
12200 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13047 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12201 | 13048 |
conftest$ac_exeext conftest.$ac_ext
|
12202 | 13049 |
LIBS=$ac_check_lib_save_LIBS
|
12203 | 13050 |
fi
|
12204 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
12205 | |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
12206 | |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
|
13051 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
|
13052 |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
|
|
13053 |
if test "x$ac_cv_lib_svld_dlopen" = xyes
|
|
13054 |
then :
|
12207 | 13055 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
|
12208 | |
else
|
12209 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
12210 | |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
12211 | |
if ${ac_cv_lib_dld_dld_link+:} false; then :
|
12212 | |
$as_echo_n "(cached) " >&6
|
12213 | |
else
|
|
13056 |
else $as_nop
|
|
13057 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
|
13058 |
printf %s "checking for dld_link in -ldld... " >&6; }
|
|
13059 |
if test ${ac_cv_lib_dld_dld_link+y}
|
|
13060 |
then :
|
|
13061 |
printf %s "(cached) " >&6
|
|
13062 |
else $as_nop
|
12214 | 13063 |
ac_check_lib_save_LIBS=$LIBS
|
12215 | 13064 |
LIBS="-ldld $LIBS"
|
12216 | 13065 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12219 | 13068 |
/* Override any GCC internal prototype to avoid an error.
|
12220 | 13069 |
Use char because int might match the return type of a GCC
|
12221 | 13070 |
builtin and then its argument prototype would still apply. */
|
12222 | |
#ifdef __cplusplus
|
12223 | |
extern "C"
|
12224 | |
#endif
|
12225 | 13071 |
char dld_link ();
|
12226 | 13072 |
int
|
12227 | |
main ()
|
|
13073 |
main (void)
|
12228 | 13074 |
{
|
12229 | 13075 |
return dld_link ();
|
12230 | 13076 |
;
|
12231 | 13077 |
return 0;
|
12232 | 13078 |
}
|
12233 | 13079 |
_ACEOF
|
12234 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13080 |
if ac_fn_c_try_link "$LINENO"
|
|
13081 |
then :
|
12235 | 13082 |
ac_cv_lib_dld_dld_link=yes
|
12236 | |
else
|
|
13083 |
else $as_nop
|
12237 | 13084 |
ac_cv_lib_dld_dld_link=no
|
12238 | 13085 |
fi
|
12239 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13086 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12240 | 13087 |
conftest$ac_exeext conftest.$ac_ext
|
12241 | 13088 |
LIBS=$ac_check_lib_save_LIBS
|
12242 | 13089 |
fi
|
12243 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
12244 | |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
12245 | |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
|
13090 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
|
13091 |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
|
|
13092 |
if test "x$ac_cv_lib_dld_dld_link" = xyes
|
|
13093 |
then :
|
12246 | 13094 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
|
12247 | 13095 |
fi
|
12248 | 13096 |
|
|
12281 | 13129 |
save_LIBS=$LIBS
|
12282 | 13130 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
12283 | 13131 |
|
12284 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
12285 | |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
12286 | |
if ${lt_cv_dlopen_self+:} false; then :
|
12287 | |
$as_echo_n "(cached) " >&6
|
12288 | |
else
|
|
13132 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
|
13133 |
printf %s "checking whether a program can dlopen itself... " >&6; }
|
|
13134 |
if test ${lt_cv_dlopen_self+y}
|
|
13135 |
then :
|
|
13136 |
printf %s "(cached) " >&6
|
|
13137 |
else $as_nop
|
12289 | 13138 |
if test yes = "$cross_compiling"; then :
|
12290 | 13139 |
lt_cv_dlopen_self=cross
|
12291 | 13140 |
else
|
|
12364 | 13213 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12365 | 13214 |
(eval $ac_link) 2>&5
|
12366 | 13215 |
ac_status=$?
|
12367 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13216 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
12368 | 13217 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
12369 | 13218 |
(./conftest; exit; ) >&5 2>/dev/null
|
12370 | 13219 |
lt_status=$?
|
|
12382 | 13231 |
|
12383 | 13232 |
|
12384 | 13233 |
fi
|
12385 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
12386 | |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
|
13234 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
|
13235 |
printf "%s\n" "$lt_cv_dlopen_self" >&6; }
|
12387 | 13236 |
|
12388 | 13237 |
if test yes = "$lt_cv_dlopen_self"; then
|
12389 | 13238 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
12390 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
12391 | |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
12392 | |
if ${lt_cv_dlopen_self_static+:} false; then :
|
12393 | |
$as_echo_n "(cached) " >&6
|
12394 | |
else
|
|
13239 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
|
13240 |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
|
|
13241 |
if test ${lt_cv_dlopen_self_static+y}
|
|
13242 |
then :
|
|
13243 |
printf %s "(cached) " >&6
|
|
13244 |
else $as_nop
|
12395 | 13245 |
if test yes = "$cross_compiling"; then :
|
12396 | 13246 |
lt_cv_dlopen_self_static=cross
|
12397 | 13247 |
else
|
|
12470 | 13320 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12471 | 13321 |
(eval $ac_link) 2>&5
|
12472 | 13322 |
ac_status=$?
|
12473 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13323 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
12474 | 13324 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
12475 | 13325 |
(./conftest; exit; ) >&5 2>/dev/null
|
12476 | 13326 |
lt_status=$?
|
|
12488 | 13338 |
|
12489 | 13339 |
|
12490 | 13340 |
fi
|
12491 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
12492 | |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
|
13341 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
|
13342 |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
|
12493 | 13343 |
fi
|
12494 | 13344 |
|
12495 | 13345 |
CPPFLAGS=$save_CPPFLAGS
|
|
12527 | 13377 |
|
12528 | 13378 |
striplib=
|
12529 | 13379 |
old_striplib=
|
12530 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
12531 | |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
|
13380 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
|
13381 |
printf %s "checking whether stripping libraries is possible... " >&6; }
|
12532 | 13382 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
12533 | 13383 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
12534 | 13384 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
12535 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12536 | |
$as_echo "yes" >&6; }
|
|
13385 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13386 |
printf "%s\n" "yes" >&6; }
|
12537 | 13387 |
else
|
12538 | 13388 |
# FIXME - insert some real tests, host_os isn't really good enough
|
12539 | 13389 |
case $host_os in
|
|
12541 | 13391 |
if test -n "$STRIP"; then
|
12542 | 13392 |
striplib="$STRIP -x"
|
12543 | 13393 |
old_striplib="$STRIP -S"
|
12544 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12545 | |
$as_echo "yes" >&6; }
|
|
13394 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13395 |
printf "%s\n" "yes" >&6; }
|
12546 | 13396 |
else
|
12547 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12548 | |
$as_echo "no" >&6; }
|
|
13397 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13398 |
printf "%s\n" "no" >&6; }
|
12549 | 13399 |
fi
|
12550 | 13400 |
;;
|
12551 | 13401 |
*)
|
12552 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12553 | |
$as_echo "no" >&6; }
|
|
13402 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13403 |
printf "%s\n" "no" >&6; }
|
12554 | 13404 |
;;
|
12555 | 13405 |
esac
|
12556 | 13406 |
fi
|
|
12567 | 13417 |
|
12568 | 13418 |
|
12569 | 13419 |
# Report what library types will actually be built
|
12570 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
12571 | |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
12572 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
12573 | |
$as_echo "$can_build_shared" >&6; }
|
12574 | |
|
12575 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
12576 | |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
|
13420 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
13421 |
printf %s "checking if libtool supports shared libraries... " >&6; }
|
|
13422 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
13423 |
printf "%s\n" "$can_build_shared" >&6; }
|
|
13424 |
|
|
13425 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
|
13426 |
printf %s "checking whether to build shared libraries... " >&6; }
|
12577 | 13427 |
test no = "$can_build_shared" && enable_shared=no
|
12578 | 13428 |
|
12579 | 13429 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
12597 | 13447 |
fi
|
12598 | 13448 |
;;
|
12599 | 13449 |
esac
|
12600 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
12601 | |
$as_echo "$enable_shared" >&6; }
|
12602 | |
|
12603 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
12604 | |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
|
13450 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
13451 |
printf "%s\n" "$enable_shared" >&6; }
|
|
13452 |
|
|
13453 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
|
13454 |
printf %s "checking whether to build static libraries... " >&6; }
|
12605 | 13455 |
# Make sure either enable_shared or enable_static is yes.
|
12606 | 13456 |
test yes = "$enable_shared" || enable_static=yes
|
12607 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
12608 | |
$as_echo "$enable_static" >&6; }
|
|
13457 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
|
13458 |
printf "%s\n" "$enable_static" >&6; }
|
12609 | 13459 |
|
12610 | 13460 |
|
12611 | 13461 |
|
|
12627 | 13477 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
12628 | 13478 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
12629 | 13479 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
12630 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
12631 | |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
|
13480 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
|
13481 |
printf %s "checking how to run the C++ preprocessor... " >&6; }
|
12632 | 13482 |
if test -z "$CXXCPP"; then
|
12633 | |
if ${ac_cv_prog_CXXCPP+:} false; then :
|
12634 | |
$as_echo_n "(cached) " >&6
|
12635 | |
else
|
12636 | |
# Double quotes because CXXCPP needs to be expanded
|
12637 | |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
|
13483 |
if test ${ac_cv_prog_CXXCPP+y}
|
|
13484 |
then :
|
|
13485 |
printf %s "(cached) " >&6
|
|
13486 |
else $as_nop
|
|
13487 |
# Double quotes because $CXX needs to be expanded
|
|
13488 |
for CXXCPP in "$CXX -E" cpp /lib/cpp
|
12638 | 13489 |
do
|
12639 | 13490 |
ac_preproc_ok=false
|
12640 | 13491 |
for ac_cxx_preproc_warn_flag in '' yes
|
12641 | 13492 |
do
|
12642 | 13493 |
# Use a header file that comes with gcc, so configuring glibc
|
12643 | 13494 |
# with a fresh cross-compiler works.
|
12644 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
12645 | |
# <limits.h> exists even on freestanding compilers.
|
12646 | 13495 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
12647 | 13496 |
# not just through cpp. "Syntax error" is here to catch this case.
|
12648 | 13497 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12649 | 13498 |
/* end confdefs.h. */
|
12650 | |
#ifdef __STDC__
|
12651 | |
# include <limits.h>
|
12652 | |
#else
|
12653 | |
# include <assert.h>
|
12654 | |
#endif
|
|
13499 |
#include <limits.h>
|
12655 | 13500 |
Syntax error
|
12656 | 13501 |
_ACEOF
|
12657 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
12658 | |
|
12659 | |
else
|
|
13502 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13503 |
then :
|
|
13504 |
|
|
13505 |
else $as_nop
|
12660 | 13506 |
# Broken: fails on valid input.
|
12661 | 13507 |
continue
|
12662 | 13508 |
fi
|
|
12668 | 13514 |
/* end confdefs.h. */
|
12669 | 13515 |
#include <ac_nonexistent.h>
|
12670 | 13516 |
_ACEOF
|
12671 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
13517 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13518 |
then :
|
12672 | 13519 |
# Broken: success on invalid input.
|
12673 | 13520 |
continue
|
12674 | |
else
|
|
13521 |
else $as_nop
|
12675 | 13522 |
# Passes both tests.
|
12676 | 13523 |
ac_preproc_ok=:
|
12677 | 13524 |
break
|
|
12681 | 13528 |
done
|
12682 | 13529 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
12683 | 13530 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
12684 | |
if $ac_preproc_ok; then :
|
|
13531 |
if $ac_preproc_ok
|
|
13532 |
then :
|
12685 | 13533 |
break
|
12686 | 13534 |
fi
|
12687 | 13535 |
|
|
12693 | 13541 |
else
|
12694 | 13542 |
ac_cv_prog_CXXCPP=$CXXCPP
|
12695 | 13543 |
fi
|
12696 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
12697 | |
$as_echo "$CXXCPP" >&6; }
|
|
13544 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
|
13545 |
printf "%s\n" "$CXXCPP" >&6; }
|
12698 | 13546 |
ac_preproc_ok=false
|
12699 | 13547 |
for ac_cxx_preproc_warn_flag in '' yes
|
12700 | 13548 |
do
|
12701 | 13549 |
# Use a header file that comes with gcc, so configuring glibc
|
12702 | 13550 |
# with a fresh cross-compiler works.
|
12703 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
12704 | |
# <limits.h> exists even on freestanding compilers.
|
12705 | 13551 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
12706 | 13552 |
# not just through cpp. "Syntax error" is here to catch this case.
|
12707 | 13553 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12708 | 13554 |
/* end confdefs.h. */
|
12709 | |
#ifdef __STDC__
|
12710 | |
# include <limits.h>
|
12711 | |
#else
|
12712 | |
# include <assert.h>
|
12713 | |
#endif
|
|
13555 |
#include <limits.h>
|
12714 | 13556 |
Syntax error
|
12715 | 13557 |
_ACEOF
|
12716 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
12717 | |
|
12718 | |
else
|
|
13558 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13559 |
then :
|
|
13560 |
|
|
13561 |
else $as_nop
|
12719 | 13562 |
# Broken: fails on valid input.
|
12720 | 13563 |
continue
|
12721 | 13564 |
fi
|
|
12727 | 13570 |
/* end confdefs.h. */
|
12728 | 13571 |
#include <ac_nonexistent.h>
|
12729 | 13572 |
_ACEOF
|
12730 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
13573 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13574 |
then :
|
12731 | 13575 |
# Broken: success on invalid input.
|
12732 | 13576 |
continue
|
12733 | |
else
|
|
13577 |
else $as_nop
|
12734 | 13578 |
# Passes both tests.
|
12735 | 13579 |
ac_preproc_ok=:
|
12736 | 13580 |
break
|
|
12740 | 13584 |
done
|
12741 | 13585 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
12742 | 13586 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
12743 | |
if $ac_preproc_ok; then :
|
12744 | |
|
12745 | |
else
|
12746 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
12747 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
13587 |
if $ac_preproc_ok
|
|
13588 |
then :
|
|
13589 |
|
|
13590 |
else $as_nop
|
|
13591 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
13592 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
12748 | 13593 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
12749 | 13594 |
See \`config.log' for more details" "$LINENO" 5; }
|
12750 | 13595 |
fi
|
|
12880 | 13725 |
|
12881 | 13726 |
|
12882 | 13727 |
# Check whether --with-gnu-ld was given.
|
12883 | |
if test "${with_gnu_ld+set}" = set; then :
|
|
13728 |
if test ${with_gnu_ld+y}
|
|
13729 |
then :
|
12884 | 13730 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
|
12885 | |
else
|
|
13731 |
else $as_nop
|
12886 | 13732 |
with_gnu_ld=no
|
12887 | 13733 |
fi
|
12888 | 13734 |
|
12889 | 13735 |
ac_prog=ld
|
12890 | 13736 |
if test yes = "$GCC"; then
|
12891 | 13737 |
# Check if gcc -print-prog-name=ld gives a path.
|
12892 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
12893 | |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
|
13738 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
13739 |
printf %s "checking for ld used by $CC... " >&6; }
|
12894 | 13740 |
case $host in
|
12895 | 13741 |
*-*-mingw*)
|
12896 | 13742 |
# gcc leaves a trailing carriage return, which upsets mingw
|
|
12919 | 13765 |
;;
|
12920 | 13766 |
esac
|
12921 | 13767 |
elif test yes = "$with_gnu_ld"; then
|
12922 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
12923 | |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
13768 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
13769 |
printf %s "checking for GNU ld... " >&6; }
|
12924 | 13770 |
else
|
12925 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
12926 | |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
12927 | |
fi
|
12928 | |
if ${lt_cv_path_LD+:} false; then :
|
12929 | |
$as_echo_n "(cached) " >&6
|
12930 | |
else
|
|
13771 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
13772 |
printf %s "checking for non-GNU ld... " >&6; }
|
|
13773 |
fi
|
|
13774 |
if test ${lt_cv_path_LD+y}
|
|
13775 |
then :
|
|
13776 |
printf %s "(cached) " >&6
|
|
13777 |
else $as_nop
|
12931 | 13778 |
if test -z "$LD"; then
|
12932 | 13779 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
12933 | 13780 |
for ac_dir in $PATH; do
|
|
12956 | 13803 |
|
12957 | 13804 |
LD=$lt_cv_path_LD
|
12958 | 13805 |
if test -n "$LD"; then
|
12959 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
12960 | |
$as_echo "$LD" >&6; }
|
|
13806 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
13807 |
printf "%s\n" "$LD" >&6; }
|
12961 | 13808 |
else
|
12962 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12963 | |
$as_echo "no" >&6; }
|
|
13809 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13810 |
printf "%s\n" "no" >&6; }
|
12964 | 13811 |
fi
|
12965 | 13812 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
12966 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
12967 | |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
12968 | |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
12969 | |
$as_echo_n "(cached) " >&6
|
12970 | |
else
|
|
13813 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
13814 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
13815 |
if test ${lt_cv_prog_gnu_ld+y}
|
|
13816 |
then :
|
|
13817 |
printf %s "(cached) " >&6
|
|
13818 |
else $as_nop
|
12971 | 13819 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
12972 | 13820 |
case `$LD -v 2>&1 </dev/null` in
|
12973 | 13821 |
*GNU* | *'with BFD'*)
|
|
12978 | 13826 |
;;
|
12979 | 13827 |
esac
|
12980 | 13828 |
fi
|
12981 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
12982 | |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
|
13829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
13830 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
|
12983 | 13831 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
12984 | 13832 |
|
12985 | 13833 |
|
|
13033 | 13881 |
fi
|
13034 | 13882 |
|
13035 | 13883 |
# PORTME: fill in a description of your system's C++ link characteristics
|
13036 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
13037 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
13884 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
13885 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
13038 | 13886 |
ld_shlibs_CXX=yes
|
13039 | 13887 |
case $host_os in
|
13040 | 13888 |
aix3*)
|
|
13172 | 14020 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
13173 | 14021 |
aix_libpath=$lt_cv_aix_libpath
|
13174 | 14022 |
else
|
13175 | |
if ${lt_cv_aix_libpath__CXX+:} false; then :
|
13176 | |
$as_echo_n "(cached) " >&6
|
13177 | |
else
|
|
14023 |
if test ${lt_cv_aix_libpath__CXX+y}
|
|
14024 |
then :
|
|
14025 |
printf %s "(cached) " >&6
|
|
14026 |
else $as_nop
|
13178 | 14027 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13179 | 14028 |
/* end confdefs.h. */
|
13180 | 14029 |
|
13181 | 14030 |
int
|
13182 | |
main ()
|
|
14031 |
main (void)
|
13183 | 14032 |
{
|
13184 | 14033 |
|
13185 | 14034 |
;
|
13186 | 14035 |
return 0;
|
13187 | 14036 |
}
|
13188 | 14037 |
_ACEOF
|
13189 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
14038 |
if ac_fn_cxx_try_link "$LINENO"
|
|
14039 |
then :
|
13190 | 14040 |
|
13191 | 14041 |
lt_aix_libpath_sed='
|
13192 | 14042 |
/Import File Strings/,/^$/ {
|
|
13201 | 14051 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13202 | 14052 |
fi
|
13203 | 14053 |
fi
|
13204 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14054 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13205 | 14055 |
conftest$ac_exeext conftest.$ac_ext
|
13206 | 14056 |
if test -z "$lt_cv_aix_libpath__CXX"; then
|
13207 | 14057 |
lt_cv_aix_libpath__CXX=/usr/lib:/lib
|
|
13226 | 14076 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
13227 | 14077 |
aix_libpath=$lt_cv_aix_libpath
|
13228 | 14078 |
else
|
13229 | |
if ${lt_cv_aix_libpath__CXX+:} false; then :
|
13230 | |
$as_echo_n "(cached) " >&6
|
13231 | |
else
|
|
14079 |
if test ${lt_cv_aix_libpath__CXX+y}
|
|
14080 |
then :
|
|
14081 |
printf %s "(cached) " >&6
|
|
14082 |
else $as_nop
|
13232 | 14083 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13233 | 14084 |
/* end confdefs.h. */
|
13234 | 14085 |
|
13235 | 14086 |
int
|
13236 | |
main ()
|
|
14087 |
main (void)
|
13237 | 14088 |
{
|
13238 | 14089 |
|
13239 | 14090 |
;
|
13240 | 14091 |
return 0;
|
13241 | 14092 |
}
|
13242 | 14093 |
_ACEOF
|
13243 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
14094 |
if ac_fn_cxx_try_link "$LINENO"
|
|
14095 |
then :
|
13244 | 14096 |
|
13245 | 14097 |
lt_aix_libpath_sed='
|
13246 | 14098 |
/Import File Strings/,/^$/ {
|
|
13255 | 14107 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13256 | 14108 |
fi
|
13257 | 14109 |
fi
|
13258 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14110 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13259 | 14111 |
conftest$ac_exeext conftest.$ac_ext
|
13260 | 14112 |
if test -z "$lt_cv_aix_libpath__CXX"; then
|
13261 | 14113 |
lt_cv_aix_libpath__CXX=/usr/lib:/lib
|
|
14106 | 14958 |
;;
|
14107 | 14959 |
esac
|
14108 | 14960 |
|
14109 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
14110 | |
$as_echo "$ld_shlibs_CXX" >&6; }
|
|
14961 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
14962 |
printf "%s\n" "$ld_shlibs_CXX" >&6; }
|
14111 | 14963 |
test no = "$ld_shlibs_CXX" && can_build_shared=no
|
14112 | 14964 |
|
14113 | 14965 |
GCC_CXX=$GXX
|
|
14145 | 14997 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
14146 | 14998 |
(eval $ac_compile) 2>&5
|
14147 | 14999 |
ac_status=$?
|
14148 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15000 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14149 | 15001 |
test $ac_status = 0; }; then
|
14150 | 15002 |
# Parse the compiler output and extract the necessary
|
14151 | 15003 |
# objects, libraries and library flags.
|
|
14626 | 15478 |
;;
|
14627 | 15479 |
esac
|
14628 | 15480 |
|
14629 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
14630 | |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
14631 | |
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
|
14632 | |
$as_echo_n "(cached) " >&6
|
14633 | |
else
|
|
15481 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
15482 |
printf %s "checking for $compiler option to produce PIC... " >&6; }
|
|
15483 |
if test ${lt_cv_prog_compiler_pic_CXX+y}
|
|
15484 |
then :
|
|
15485 |
printf %s "(cached) " >&6
|
|
15486 |
else $as_nop
|
14634 | 15487 |
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
|
14635 | 15488 |
fi
|
14636 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
|
14637 | |
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
|
|
15489 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
|
|
15490 |
printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
|
14638 | 15491 |
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
|
14639 | 15492 |
|
14640 | 15493 |
#
|
14641 | 15494 |
# Check to make sure the PIC flag actually works.
|
14642 | 15495 |
#
|
14643 | 15496 |
if test -n "$lt_prog_compiler_pic_CXX"; then
|
14644 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
14645 | |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
14646 | |
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
|
14647 | |
$as_echo_n "(cached) " >&6
|
14648 | |
else
|
|
15497 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
|
15498 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
|
15499 |
if test ${lt_cv_prog_compiler_pic_works_CXX+y}
|
|
15500 |
then :
|
|
15501 |
printf %s "(cached) " >&6
|
|
15502 |
else $as_nop
|
14649 | 15503 |
lt_cv_prog_compiler_pic_works_CXX=no
|
14650 | 15504 |
ac_outfile=conftest.$ac_objext
|
14651 | 15505 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
14676 | 15530 |
$RM conftest*
|
14677 | 15531 |
|
14678 | 15532 |
fi
|
14679 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
14680 | |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
|
15533 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
|
15534 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
14681 | 15535 |
|
14682 | 15536 |
if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
|
14683 | 15537 |
case $lt_prog_compiler_pic_CXX in
|
|
14699 | 15553 |
# Check to make sure the static flag actually works.
|
14700 | 15554 |
#
|
14701 | 15555 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
|
14702 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
14703 | |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
14704 | |
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
|
14705 | |
$as_echo_n "(cached) " >&6
|
14706 | |
else
|
|
15556 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
15557 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
15558 |
if test ${lt_cv_prog_compiler_static_works_CXX+y}
|
|
15559 |
then :
|
|
15560 |
printf %s "(cached) " >&6
|
|
15561 |
else $as_nop
|
14707 | 15562 |
lt_cv_prog_compiler_static_works_CXX=no
|
14708 | 15563 |
save_LDFLAGS=$LDFLAGS
|
14709 | 15564 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
14727 | 15582 |
LDFLAGS=$save_LDFLAGS
|
14728 | 15583 |
|
14729 | 15584 |
fi
|
14730 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
14731 | |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
|
15585 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
|
15586 |
printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
14732 | 15587 |
|
14733 | 15588 |
if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
|
14734 | 15589 |
:
|
|
14739 | 15594 |
|
14740 | 15595 |
|
14741 | 15596 |
|
14742 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
14743 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
14744 | |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
|
14745 | |
$as_echo_n "(cached) " >&6
|
14746 | |
else
|
|
15597 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
15598 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
15599 |
if test ${lt_cv_prog_compiler_c_o_CXX+y}
|
|
15600 |
then :
|
|
15601 |
printf %s "(cached) " >&6
|
|
15602 |
else $as_nop
|
14747 | 15603 |
lt_cv_prog_compiler_c_o_CXX=no
|
14748 | 15604 |
$RM -r conftest 2>/dev/null
|
14749 | 15605 |
mkdir conftest
|
|
14786 | 15642 |
$RM conftest*
|
14787 | 15643 |
|
14788 | 15644 |
fi
|
14789 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
14790 | |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
14791 | |
|
14792 | |
|
14793 | |
|
14794 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
14795 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
14796 | |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
|
14797 | |
$as_echo_n "(cached) " >&6
|
14798 | |
else
|
|
15645 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
15646 |
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
|
15647 |
|
|
15648 |
|
|
15649 |
|
|
15650 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
15651 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
15652 |
if test ${lt_cv_prog_compiler_c_o_CXX+y}
|
|
15653 |
then :
|
|
15654 |
printf %s "(cached) " >&6
|
|
15655 |
else $as_nop
|
14799 | 15656 |
lt_cv_prog_compiler_c_o_CXX=no
|
14800 | 15657 |
$RM -r conftest 2>/dev/null
|
14801 | 15658 |
mkdir conftest
|
|
14838 | 15695 |
$RM conftest*
|
14839 | 15696 |
|
14840 | 15697 |
fi
|
14841 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
14842 | |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
|
15698 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
15699 |
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
14843 | 15700 |
|
14844 | 15701 |
|
14845 | 15702 |
|
|
14847 | 15704 |
hard_links=nottested
|
14848 | 15705 |
if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
|
14849 | 15706 |
# do not overwrite the value of need_locks provided by the user
|
14850 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
14851 | |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
|
15707 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
15708 |
printf %s "checking if we can lock with hard links... " >&6; }
|
14852 | 15709 |
hard_links=yes
|
14853 | 15710 |
$RM conftest*
|
14854 | 15711 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
14855 | 15712 |
touch conftest.a
|
14856 | 15713 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
14857 | 15714 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
14858 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
14859 | |
$as_echo "$hard_links" >&6; }
|
|
15715 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
15716 |
printf "%s\n" "$hard_links" >&6; }
|
14860 | 15717 |
if test no = "$hard_links"; then
|
14861 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
14862 | |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
|
15718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
|
15719 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
14863 | 15720 |
need_locks=warn
|
14864 | 15721 |
fi
|
14865 | 15722 |
else
|
|
14868 | 15725 |
|
14869 | 15726 |
|
14870 | 15727 |
|
14871 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
14872 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
15728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
15729 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
14873 | 15730 |
|
14874 | 15731 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
14875 | 15732 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
|
14911 | 15768 |
;;
|
14912 | 15769 |
esac
|
14913 | 15770 |
|
14914 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
14915 | |
$as_echo "$ld_shlibs_CXX" >&6; }
|
|
15771 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
15772 |
printf "%s\n" "$ld_shlibs_CXX" >&6; }
|
14916 | 15773 |
test no = "$ld_shlibs_CXX" && can_build_shared=no
|
14917 | 15774 |
|
14918 | 15775 |
with_gnu_ld_CXX=$with_gnu_ld
|
|
14939 | 15796 |
# Test whether the compiler implicitly links with -lc since on some
|
14940 | 15797 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
14941 | 15798 |
# to ld, don't add -lc before -lgcc.
|
14942 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
14943 | |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
14944 | |
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
|
14945 | |
$as_echo_n "(cached) " >&6
|
14946 | |
else
|
|
15799 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
15800 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; }
|
|
15801 |
if test ${lt_cv_archive_cmds_need_lc_CXX+y}
|
|
15802 |
then :
|
|
15803 |
printf %s "(cached) " >&6
|
|
15804 |
else $as_nop
|
14947 | 15805 |
$RM conftest*
|
14948 | 15806 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
14949 | 15807 |
|
14950 | 15808 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
14951 | 15809 |
(eval $ac_compile) 2>&5
|
14952 | 15810 |
ac_status=$?
|
14953 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15811 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14954 | 15812 |
test $ac_status = 0; } 2>conftest.err; then
|
14955 | 15813 |
soname=conftest
|
14956 | 15814 |
lib=conftest
|
|
14968 | 15826 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
14969 | 15827 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
14970 | 15828 |
ac_status=$?
|
14971 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15829 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14972 | 15830 |
test $ac_status = 0; }
|
14973 | 15831 |
then
|
14974 | 15832 |
lt_cv_archive_cmds_need_lc_CXX=no
|
|
14982 | 15840 |
$RM conftest*
|
14983 | 15841 |
|
14984 | 15842 |
fi
|
14985 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
|
14986 | |
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
|
|
15843 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
|
|
15844 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
|
14987 | 15845 |
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
|
14988 | 15846 |
;;
|
14989 | 15847 |
esac
|
|
15052 | 15910 |
|
15053 | 15911 |
|
15054 | 15912 |
|
15055 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
15056 | |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
15913 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
15914 |
printf %s "checking dynamic linker characteristics... " >&6; }
|
15057 | 15915 |
|
15058 | 15916 |
library_names_spec=
|
15059 | 15917 |
libname_spec='lib$name'
|
|
15541 | 16399 |
shlibpath_overrides_runpath=no
|
15542 | 16400 |
|
15543 | 16401 |
# Some binutils ld are patched to set DT_RUNPATH
|
15544 | |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
15545 | |
$as_echo_n "(cached) " >&6
|
15546 | |
else
|
|
16402 |
if test ${lt_cv_shlibpath_overrides_runpath+y}
|
|
16403 |
then :
|
|
16404 |
printf %s "(cached) " >&6
|
|
16405 |
else $as_nop
|
15547 | 16406 |
lt_cv_shlibpath_overrides_runpath=no
|
15548 | 16407 |
save_LDFLAGS=$LDFLAGS
|
15549 | 16408 |
save_libdir=$libdir
|
|
15553 | 16412 |
/* end confdefs.h. */
|
15554 | 16413 |
|
15555 | 16414 |
int
|
15556 | |
main ()
|
|
16415 |
main (void)
|
15557 | 16416 |
{
|
15558 | 16417 |
|
15559 | 16418 |
;
|
15560 | 16419 |
return 0;
|
15561 | 16420 |
}
|
15562 | 16421 |
_ACEOF
|
15563 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
15564 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
16422 |
if ac_fn_cxx_try_link "$LINENO"
|
|
16423 |
then :
|
|
16424 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
|
|
16425 |
then :
|
15565 | 16426 |
lt_cv_shlibpath_overrides_runpath=yes
|
15566 | 16427 |
fi
|
15567 | 16428 |
fi
|
15568 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
16429 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
15569 | 16430 |
conftest$ac_exeext conftest.$ac_ext
|
15570 | 16431 |
LDFLAGS=$save_LDFLAGS
|
15571 | 16432 |
libdir=$save_libdir
|
|
15809 | 16670 |
dynamic_linker=no
|
15810 | 16671 |
;;
|
15811 | 16672 |
esac
|
15812 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
15813 | |
$as_echo "$dynamic_linker" >&6; }
|
|
16673 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
16674 |
printf "%s\n" "$dynamic_linker" >&6; }
|
15814 | 16675 |
test no = "$dynamic_linker" && can_build_shared=no
|
15815 | 16676 |
|
15816 | 16677 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
15874 | 16735 |
|
15875 | 16736 |
|
15876 | 16737 |
|
15877 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
15878 | |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
16738 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
16739 |
printf %s "checking how to hardcode library paths into programs... " >&6; }
|
15879 | 16740 |
hardcode_action_CXX=
|
15880 | 16741 |
if test -n "$hardcode_libdir_flag_spec_CXX" ||
|
15881 | 16742 |
test -n "$runpath_var_CXX" ||
|
|
15899 | 16760 |
# directories.
|
15900 | 16761 |
hardcode_action_CXX=unsupported
|
15901 | 16762 |
fi
|
15902 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
15903 | |
$as_echo "$hardcode_action_CXX" >&6; }
|
|
16763 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
|
16764 |
printf "%s\n" "$hardcode_action_CXX" >&6; }
|
15904 | 16765 |
|
15905 | 16766 |
if test relink = "$hardcode_action_CXX" ||
|
15906 | 16767 |
test yes = "$inherit_rpath_CXX"; then
|
|
15966 | 16827 |
if test -n "$ac_tool_prefix"; then
|
15967 | 16828 |
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
|
15968 | 16829 |
set dummy ${ac_tool_prefix}windres; ac_word=$2
|
15969 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
15970 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
15971 | |
if ${ac_cv_prog_RC+:} false; then :
|
15972 | |
$as_echo_n "(cached) " >&6
|
15973 | |
else
|
|
16830 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
16831 |
printf %s "checking for $ac_word... " >&6; }
|
|
16832 |
if test ${ac_cv_prog_RC+y}
|
|
16833 |
then :
|
|
16834 |
printf %s "(cached) " >&6
|
|
16835 |
else $as_nop
|
15974 | 16836 |
if test -n "$RC"; then
|
15975 | 16837 |
ac_cv_prog_RC="$RC" # Let the user override the test.
|
15976 | 16838 |
else
|
|
15978 | 16840 |
for as_dir in $PATH
|
15979 | 16841 |
do
|
15980 | 16842 |
IFS=$as_save_IFS
|
15981 | |
test -z "$as_dir" && as_dir=.
|
|
16843 |
case $as_dir in #(((
|
|
16844 |
'') as_dir=./ ;;
|
|
16845 |
*/) ;;
|
|
16846 |
*) as_dir=$as_dir/ ;;
|
|
16847 |
esac
|
15982 | 16848 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
15983 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
16849 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
15984 | 16850 |
ac_cv_prog_RC="${ac_tool_prefix}windres"
|
15985 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
16851 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
15986 | 16852 |
break 2
|
15987 | 16853 |
fi
|
15988 | 16854 |
done
|
|
15993 | 16859 |
fi
|
15994 | 16860 |
RC=$ac_cv_prog_RC
|
15995 | 16861 |
if test -n "$RC"; then
|
15996 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
|
15997 | |
$as_echo "$RC" >&6; }
|
|
16862 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
|
|
16863 |
printf "%s\n" "$RC" >&6; }
|
15998 | 16864 |
else
|
15999 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16000 | |
$as_echo "no" >&6; }
|
|
16865 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
16866 |
printf "%s\n" "no" >&6; }
|
16001 | 16867 |
fi
|
16002 | 16868 |
|
16003 | 16869 |
|
|
16006 | 16872 |
ac_ct_RC=$RC
|
16007 | 16873 |
# Extract the first word of "windres", so it can be a program name with args.
|
16008 | 16874 |
set dummy windres; ac_word=$2
|
16009 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
16010 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
16011 | |
if ${ac_cv_prog_ac_ct_RC+:} false; then :
|
16012 | |
$as_echo_n "(cached) " >&6
|
16013 | |
else
|
|
16875 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
16876 |
printf %s "checking for $ac_word... " >&6; }
|
|
16877 |
if test ${ac_cv_prog_ac_ct_RC+y}
|
|
16878 |
then :
|
|
16879 |
printf %s "(cached) " >&6
|
|
16880 |
else $as_nop
|
16014 | 16881 |
if test -n "$ac_ct_RC"; then
|
16015 | 16882 |
ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
|
16016 | 16883 |
else
|
|
16018 | 16885 |
for as_dir in $PATH
|
16019 | 16886 |
do
|
16020 | 16887 |
IFS=$as_save_IFS
|
16021 | |
test -z "$as_dir" && as_dir=.
|
|
16888 |
case $as_dir in #(((
|
|
16889 |
'') as_dir=./ ;;
|
|
16890 |
*/) ;;
|
|
16891 |
*) as_dir=$as_dir/ ;;
|
|
16892 |
esac
|
16022 | 16893 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
16023 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
16894 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
16024 | 16895 |
ac_cv_prog_ac_ct_RC="windres"
|
16025 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
16896 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
16026 | 16897 |
break 2
|
16027 | 16898 |
fi
|
16028 | 16899 |
done
|
|
16033 | 16904 |
fi
|
16034 | 16905 |
ac_ct_RC=$ac_cv_prog_ac_ct_RC
|
16035 | 16906 |
if test -n "$ac_ct_RC"; then
|
16036 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
|
16037 | |
$as_echo "$ac_ct_RC" >&6; }
|
|
16907 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
|
|
16908 |
printf "%s\n" "$ac_ct_RC" >&6; }
|
16038 | 16909 |
else
|
16039 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16040 | |
$as_echo "no" >&6; }
|
|
16910 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
16911 |
printf "%s\n" "no" >&6; }
|
16041 | 16912 |
fi
|
16042 | 16913 |
|
16043 | 16914 |
if test "x$ac_ct_RC" = x; then
|
|
16045 | 16916 |
else
|
16046 | 16917 |
case $cross_compiling:$ac_tool_warned in
|
16047 | 16918 |
yes:)
|
16048 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
16049 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
16919 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
16920 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
16050 | 16921 |
ac_tool_warned=yes ;;
|
16051 | 16922 |
esac
|
16052 | 16923 |
RC=$ac_ct_RC
|
|
16137 | 17008 |
|
16138 | 17009 |
|
16139 | 17010 |
# Check whether --with-old-lib-names was given.
|
16140 | |
if test "${with_old_lib_names+set}" = set; then :
|
|
17011 |
if test ${with_old_lib_names+y}
|
|
17012 |
then :
|
16141 | 17013 |
withval=$with_old_lib_names; case "${withval}" in
|
16142 | 17014 |
yes) oldnames=true ;;
|
16143 | 17015 |
no) oldnames=false ;;
|
16144 | 17016 |
*) as_fn_error $? "bad value ${withval} for --with-old-lib-names" "$LINENO" 5 ;;
|
16145 | 17017 |
esac
|
16146 | |
else
|
|
17018 |
else $as_nop
|
16147 | 17019 |
oldnames=false
|
16148 | 17020 |
fi
|
16149 | 17021 |
|
|
16158 | 17030 |
|
16159 | 17031 |
# Checks for libraries.
|
16160 | 17032 |
# Check whether --enable-tetex-build was given.
|
16161 | |
if test "${enable_tetex_build+set}" = set; then :
|
|
17033 |
if test ${enable_tetex_build+y}
|
|
17034 |
then :
|
16162 | 17035 |
enableval=$enable_tetex_build;
|
16163 | 17036 |
fi
|
16164 | 17037 |
|
16165 | 17038 |
if test x$enable_tetex_build = xyes; then
|
16166 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building within teTeX/TeXLive" >&5
|
16167 | |
$as_echo "$as_me: Building within teTeX/TeXLive" >&6;}
|
|
17039 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Building within teTeX/TeXLive" >&5
|
|
17040 |
printf "%s\n" "$as_me: Building within teTeX/TeXLive" >&6;}
|
16168 | 17041 |
|
16169 | 17042 |
|
16170 | 17043 |
ZLIBDIR=../zlib
|
16171 | 17044 |
else
|
16172 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not doing a teTeX/TeXLive-style build" >&5
|
16173 | |
$as_echo "$as_me: Not doing a teTeX/TeXLive-style build" >&6;}
|
|
17045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Not doing a teTeX/TeXLive-style build" >&5
|
|
17046 |
printf "%s\n" "$as_me: Not doing a teTeX/TeXLive-style build" >&6;}
|
16174 | 17047 |
|
16175 | 17048 |
# Check whether --with-system_zlib was given.
|
16176 | |
if test "${with_system_zlib+set}" = set; then :
|
|
17049 |
if test ${with_system_zlib+y}
|
|
17050 |
then :
|
16177 | 17051 |
withval=$with_system_zlib;
|
16178 | |
else
|
|
17052 |
else $as_nop
|
16179 | 17053 |
with_system_zlib=yes
|
16180 | 17054 |
fi
|
16181 | 17055 |
|
16182 | 17056 |
|
16183 | 17057 |
|
16184 | 17058 |
# Check whether --with-zlib_libdir was given.
|
16185 | |
if test "${with_zlib_libdir+set}" = set; then :
|
|
17059 |
if test ${with_zlib_libdir+y}
|
|
17060 |
then :
|
16186 | 17061 |
withval=$with_zlib_libdir;
|
16187 | 17062 |
fi
|
16188 | 17063 |
|
16189 | 17064 |
|
16190 | 17065 |
|
16191 | 17066 |
# Check whether --with-zlib_include was given.
|
16192 | |
if test "${with_zlib_include+set}" = set; then :
|
|
17067 |
if test ${with_zlib_include+y}
|
|
17068 |
then :
|
16193 | 17069 |
withval=$with_zlib_include;
|
16194 | 17070 |
fi
|
16195 | 17071 |
|
|
16216 | 17092 |
CPP="$CPP $EXTRA_ZLIB_INCLUDE"
|
16217 | 17093 |
|
16218 | 17094 |
if test "$with_system_zlib" = yes; then
|
16219 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
|
16220 | |
$as_echo_n "checking for inflate in -lz... " >&6; }
|
16221 | |
if ${ac_cv_lib_z_inflate+:} false; then :
|
16222 | |
$as_echo_n "(cached) " >&6
|
16223 | |
else
|
|
17095 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
|
|
17096 |
printf %s "checking for inflate in -lz... " >&6; }
|
|
17097 |
if test ${ac_cv_lib_z_inflate+y}
|
|
17098 |
then :
|
|
17099 |
printf %s "(cached) " >&6
|
|
17100 |
else $as_nop
|
16224 | 17101 |
ac_check_lib_save_LIBS=$LIBS
|
16225 | 17102 |
LIBS="-lz $LIBS"
|
16226 | 17103 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
16229 | 17106 |
/* Override any GCC internal prototype to avoid an error.
|
16230 | 17107 |
Use char because int might match the return type of a GCC
|
16231 | 17108 |
builtin and then its argument prototype would still apply. */
|
16232 | |
#ifdef __cplusplus
|
16233 | |
extern "C"
|
16234 | |
#endif
|
16235 | 17109 |
char inflate ();
|
16236 | 17110 |
int
|
16237 | |
main ()
|
|
17111 |
main (void)
|
16238 | 17112 |
{
|
16239 | 17113 |
return inflate ();
|
16240 | 17114 |
;
|
16241 | 17115 |
return 0;
|
16242 | 17116 |
}
|
16243 | 17117 |
_ACEOF
|
16244 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
17118 |
if ac_fn_c_try_link "$LINENO"
|
|
17119 |
then :
|
16245 | 17120 |
ac_cv_lib_z_inflate=yes
|
16246 | |
else
|
|
17121 |
else $as_nop
|
16247 | 17122 |
ac_cv_lib_z_inflate=no
|
16248 | 17123 |
fi
|
16249 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
17124 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
16250 | 17125 |
conftest$ac_exeext conftest.$ac_ext
|
16251 | 17126 |
LIBS=$ac_check_lib_save_LIBS
|
16252 | 17127 |
fi
|
16253 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
|
16254 | |
$as_echo "$ac_cv_lib_z_inflate" >&6; }
|
16255 | |
if test "x$ac_cv_lib_z_inflate" = xyes; then :
|
16256 | |
cat >>confdefs.h <<_ACEOF
|
16257 | |
#define HAVE_LIBZ 1
|
16258 | |
_ACEOF
|
|
17128 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
|
|
17129 |
printf "%s\n" "$ac_cv_lib_z_inflate" >&6; }
|
|
17130 |
if test "x$ac_cv_lib_z_inflate" = xyes
|
|
17131 |
then :
|
|
17132 |
printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h
|
16259 | 17133 |
|
16260 | 17134 |
LIBS="-lz $LIBS"
|
16261 | 17135 |
|
16262 | |
else
|
16263 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Standard ZLIB library not found. Compiling my own." >&5
|
16264 | |
$as_echo "$as_me: WARNING: Standard ZLIB library not found. Compiling my own." >&2;}
|
|
17136 |
else $as_nop
|
|
17137 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Standard ZLIB library not found. Compiling my own." >&5
|
|
17138 |
printf "%s\n" "$as_me: WARNING: Standard ZLIB library not found. Compiling my own." >&2;}
|
16265 | 17139 |
with_system_zlib=no
|
16266 | 17140 |
fi
|
16267 | 17141 |
|
16268 | 17142 |
fi
|
16269 | 17143 |
|
16270 | 17144 |
if test "$with_system_zlib" = yes; then
|
16271 | |
for ac_header in zlib.h
|
16272 | |
do :
|
16273 | |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
16274 | |
if test "x$ac_cv_header_zlib_h" = xyes; then :
|
16275 | |
cat >>confdefs.h <<_ACEOF
|
16276 | |
#define HAVE_ZLIB_H 1
|
16277 | |
_ACEOF
|
16278 | |
|
16279 | |
fi
|
16280 | |
|
16281 | |
done
|
|
17145 |
ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
|
17146 |
if test "x$ac_cv_header_zlib_h" = xyes
|
|
17147 |
then :
|
|
17148 |
printf "%s\n" "#define HAVE_ZLIB_H 1" >>confdefs.h
|
|
17149 |
|
|
17150 |
fi
|
16282 | 17151 |
|
16283 | 17152 |
if test "$ac_cv_header_zlib_h" != yes; then
|
16284 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib.h not found. Using my own zlib sources." >&5
|
16285 | |
$as_echo "$as_me: WARNING: zlib.h not found. Using my own zlib sources." >&2;}
|
|
17153 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib.h not found. Using my own zlib sources." >&5
|
|
17154 |
printf "%s\n" "$as_me: WARNING: zlib.h not found. Using my own zlib sources." >&2;}
|
16286 | 17155 |
with_system_zlib=no
|
16287 | 17156 |
fi
|
16288 | 17157 |
fi
|
|
16321 | 17190 |
|
16322 | 17191 |
|
16323 | 17192 |
# Checks for header files.
|
16324 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
16325 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
16326 | |
if ${ac_cv_header_stdc+:} false; then :
|
16327 | |
$as_echo_n "(cached) " >&6
|
|
17193 |
# Autoupdate added the next two lines to ensure that your configure
|
|
17194 |
# script's behavior did not change. They are probably safe to remove.
|
|
17195 |
|
|
17196 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
17197 |
printf %s "checking for egrep... " >&6; }
|
|
17198 |
if test ${ac_cv_path_EGREP+y}
|
|
17199 |
then :
|
|
17200 |
printf %s "(cached) " >&6
|
|
17201 |
else $as_nop
|
|
17202 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
17203 |
then ac_cv_path_EGREP="$GREP -E"
|
|
17204 |
else
|
|
17205 |
if test -z "$EGREP"; then
|
|
17206 |
ac_path_EGREP_found=false
|
|
17207 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
17208 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
17209 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
17210 |
do
|
|
17211 |
IFS=$as_save_IFS
|
|
17212 |
case $as_dir in #(((
|
|
17213 |
'') as_dir=./ ;;
|
|
17214 |
*/) ;;
|
|
17215 |
*) as_dir=$as_dir/ ;;
|
|
17216 |
esac
|
|
17217 |
for ac_prog in egrep
|
|
17218 |
do
|
|
17219 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
17220 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
|
|
17221 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
|
17222 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
17223 |
# Check for GNU $ac_path_EGREP
|
|
17224 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
17225 |
*GNU*)
|
|
17226 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
17227 |
*)
|
|
17228 |
ac_count=0
|
|
17229 |
printf %s 0123456789 >"conftest.in"
|
|
17230 |
while :
|
|
17231 |
do
|
|
17232 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
17233 |
mv "conftest.tmp" "conftest.in"
|
|
17234 |
cp "conftest.in" "conftest.nl"
|
|
17235 |
printf "%s\n" 'EGREP' >> "conftest.nl"
|
|
17236 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
17237 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
17238 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
17239 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
17240 |
# Best one so far, save it but keep looking for a better one
|
|
17241 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
17242 |
ac_path_EGREP_max=$ac_count
|
|
17243 |
fi
|
|
17244 |
# 10*(2^10) chars as input seems more than enough
|
|
17245 |
test $ac_count -gt 10 && break
|
|
17246 |
done
|
|
17247 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
17248 |
esac
|
|
17249 |
|
|
17250 |
$ac_path_EGREP_found && break 3
|
|
17251 |
done
|
|
17252 |
done
|
|
17253 |
done
|
|
17254 |
IFS=$as_save_IFS
|
|
17255 |
if test -z "$ac_cv_path_EGREP"; then
|
|
17256 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
17257 |
fi
|
16328 | 17258 |
else
|
16329 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16330 | |
/* end confdefs.h. */
|
16331 | |
#include <stdlib.h>
|
16332 | |
#include <stdarg.h>
|
16333 | |
#include <string.h>
|
16334 | |
#include <float.h>
|
16335 | |
|
16336 | |
int
|
16337 | |
main ()
|
16338 | |
{
|
16339 | |
|
16340 | |
;
|
16341 | |
return 0;
|
16342 | |
}
|
16343 | |
_ACEOF
|
16344 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
16345 | |
ac_cv_header_stdc=yes
|
16346 | |
else
|
16347 | |
ac_cv_header_stdc=no
|
16348 | |
fi
|
16349 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16350 | |
|
16351 | |
if test $ac_cv_header_stdc = yes; then
|
16352 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
16353 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16354 | |
/* end confdefs.h. */
|
16355 | |
#include <string.h>
|
16356 | |
|
16357 | |
_ACEOF
|
16358 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
16359 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
16360 | |
|
16361 | |
else
|
16362 | |
ac_cv_header_stdc=no
|
16363 | |
fi
|
16364 | |
rm -f conftest*
|
16365 | |
|
16366 | |
fi
|
16367 | |
|
16368 | |
if test $ac_cv_header_stdc = yes; then
|
16369 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
16370 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16371 | |
/* end confdefs.h. */
|
16372 | |
#include <stdlib.h>
|
16373 | |
|
16374 | |
_ACEOF
|
16375 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
16376 | |
$EGREP "free" >/dev/null 2>&1; then :
|
16377 | |
|
16378 | |
else
|
16379 | |
ac_cv_header_stdc=no
|
16380 | |
fi
|
16381 | |
rm -f conftest*
|
16382 | |
|
16383 | |
fi
|
16384 | |
|
16385 | |
if test $ac_cv_header_stdc = yes; then
|
16386 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
16387 | |
if test "$cross_compiling" = yes; then :
|
16388 | |
:
|
16389 | |
else
|
16390 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16391 | |
/* end confdefs.h. */
|
16392 | |
#include <ctype.h>
|
16393 | |
#include <stdlib.h>
|
16394 | |
#if ((' ' & 0x0FF) == 0x020)
|
16395 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
16396 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
16397 | |
#else
|
16398 | |
# define ISLOWER(c) \
|
16399 | |
(('a' <= (c) && (c) <= 'i') \
|
16400 | |
|| ('j' <= (c) && (c) <= 'r') \
|
16401 | |
|| ('s' <= (c) && (c) <= 'z'))
|
16402 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
16403 | |
#endif
|
16404 | |
|
16405 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
16406 | |
int
|
16407 | |
main ()
|
16408 | |
{
|
16409 | |
int i;
|
16410 | |
for (i = 0; i < 256; i++)
|
16411 | |
if (XOR (islower (i), ISLOWER (i))
|
16412 | |
|| toupper (i) != TOUPPER (i))
|
16413 | |
return 2;
|
16414 | |
return 0;
|
16415 | |
}
|
16416 | |
_ACEOF
|
16417 | |
if ac_fn_c_try_run "$LINENO"; then :
|
16418 | |
|
16419 | |
else
|
16420 | |
ac_cv_header_stdc=no
|
16421 | |
fi
|
16422 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
16423 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16424 | |
fi
|
16425 | |
|
16426 | |
fi
|
16427 | |
fi
|
16428 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
16429 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
16430 | |
if test $ac_cv_header_stdc = yes; then
|
16431 | |
|
16432 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
16433 | |
|
16434 | |
fi
|
16435 | |
|
16436 | |
for ac_header in stdlib.h string.h
|
16437 | |
do :
|
16438 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
16439 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
16440 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
16441 | |
cat >>confdefs.h <<_ACEOF
|
16442 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
16443 | |
_ACEOF
|
16444 | |
|
16445 | |
fi
|
16446 | |
|
16447 | |
done
|
16448 | |
|
16449 | |
|
16450 | |
|
16451 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
16452 | |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
16453 | |
if ${ac_cv_c_bigendian+:} false; then :
|
16454 | |
$as_echo_n "(cached) " >&6
|
16455 | |
else
|
|
17259 |
ac_cv_path_EGREP=$EGREP
|
|
17260 |
fi
|
|
17261 |
|
|
17262 |
fi
|
|
17263 |
fi
|
|
17264 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
17265 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
|
|
17266 |
EGREP="$ac_cv_path_EGREP"
|
|
17267 |
|
|
17268 |
|
|
17269 |
|
|
17270 |
ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
|
17271 |
if test "x$ac_cv_header_stdlib_h" = xyes
|
|
17272 |
then :
|
|
17273 |
printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
|
|
17274 |
|
|
17275 |
fi
|
|
17276 |
ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
|
|
17277 |
if test "x$ac_cv_header_string_h" = xyes
|
|
17278 |
then :
|
|
17279 |
printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
|
|
17280 |
|
|
17281 |
fi
|
|
17282 |
|
|
17283 |
|
|
17284 |
|
|
17285 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
|
17286 |
printf %s "checking whether byte ordering is bigendian... " >&6; }
|
|
17287 |
if test ${ac_cv_c_bigendian+y}
|
|
17288 |
then :
|
|
17289 |
printf %s "(cached) " >&6
|
|
17290 |
else $as_nop
|
16456 | 17291 |
ac_cv_c_bigendian=unknown
|
16457 | 17292 |
# See if we're dealing with a universal compiler.
|
16458 | 17293 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
16463 | 17298 |
typedef int dummy;
|
16464 | 17299 |
|
16465 | 17300 |
_ACEOF
|
16466 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17301 |
if ac_fn_c_try_compile "$LINENO"
|
|
17302 |
then :
|
16467 | 17303 |
|
16468 | 17304 |
# Check for potential -arch flags. It is not universal unless
|
16469 | 17305 |
# there are at least two -arch flags with different values.
|
|
16487 | 17323 |
fi
|
16488 | 17324 |
done
|
16489 | 17325 |
fi
|
16490 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17326 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16491 | 17327 |
if test $ac_cv_c_bigendian = unknown; then
|
16492 | 17328 |
# See if sys/param.h defines the BYTE_ORDER macro.
|
16493 | 17329 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
16496 | 17332 |
#include <sys/param.h>
|
16497 | 17333 |
|
16498 | 17334 |
int
|
16499 | |
main ()
|
|
17335 |
main (void)
|
16500 | 17336 |
{
|
16501 | 17337 |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
16502 | 17338 |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
|
16508 | 17344 |
return 0;
|
16509 | 17345 |
}
|
16510 | 17346 |
_ACEOF
|
16511 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17347 |
if ac_fn_c_try_compile "$LINENO"
|
|
17348 |
then :
|
16512 | 17349 |
# It does; now see whether it defined to BIG_ENDIAN or not.
|
16513 | 17350 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16514 | 17351 |
/* end confdefs.h. */
|
|
16516 | 17353 |
#include <sys/param.h>
|
16517 | 17354 |
|
16518 | 17355 |
int
|
16519 | |
main ()
|
|
17356 |
main (void)
|
16520 | 17357 |
{
|
16521 | 17358 |
#if BYTE_ORDER != BIG_ENDIAN
|
16522 | 17359 |
not big endian
|
|
16526 | 17363 |
return 0;
|
16527 | 17364 |
}
|
16528 | 17365 |
_ACEOF
|
16529 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17366 |
if ac_fn_c_try_compile "$LINENO"
|
|
17367 |
then :
|
16530 | 17368 |
ac_cv_c_bigendian=yes
|
16531 | |
else
|
|
17369 |
else $as_nop
|
16532 | 17370 |
ac_cv_c_bigendian=no
|
16533 | 17371 |
fi
|
16534 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16535 | |
fi
|
16536 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17372 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
17373 |
fi
|
|
17374 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16537 | 17375 |
fi
|
16538 | 17376 |
if test $ac_cv_c_bigendian = unknown; then
|
16539 | 17377 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
|
16542 | 17380 |
#include <limits.h>
|
16543 | 17381 |
|
16544 | 17382 |
int
|
16545 | |
main ()
|
|
17383 |
main (void)
|
16546 | 17384 |
{
|
16547 | 17385 |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
16548 | 17386 |
bogus endian macros
|
|
16552 | 17390 |
return 0;
|
16553 | 17391 |
}
|
16554 | 17392 |
_ACEOF
|
16555 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17393 |
if ac_fn_c_try_compile "$LINENO"
|
|
17394 |
then :
|
16556 | 17395 |
# It does; now see whether it defined to _BIG_ENDIAN or not.
|
16557 | 17396 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16558 | 17397 |
/* end confdefs.h. */
|
16559 | 17398 |
#include <limits.h>
|
16560 | 17399 |
|
16561 | 17400 |
int
|
16562 | |
main ()
|
|
17401 |
main (void)
|
16563 | 17402 |
{
|
16564 | 17403 |
#ifndef _BIG_ENDIAN
|
16565 | 17404 |
not big endian
|
|
16569 | 17408 |
return 0;
|
16570 | 17409 |
}
|
16571 | 17410 |
_ACEOF
|
16572 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17411 |
if ac_fn_c_try_compile "$LINENO"
|
|
17412 |
then :
|
16573 | 17413 |
ac_cv_c_bigendian=yes
|
16574 | |
else
|
|
17414 |
else $as_nop
|
16575 | 17415 |
ac_cv_c_bigendian=no
|
16576 | 17416 |
fi
|
16577 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16578 | |
fi
|
16579 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17417 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
17418 |
fi
|
|
17419 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16580 | 17420 |
fi
|
16581 | 17421 |
if test $ac_cv_c_bigendian = unknown; then
|
16582 | 17422 |
# Compile a test program.
|
16583 | |
if test "$cross_compiling" = yes; then :
|
|
17423 |
if test "$cross_compiling" = yes
|
|
17424 |
then :
|
16584 | 17425 |
# Try to guess by grepping values from an object file.
|
16585 | 17426 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16586 | 17427 |
/* end confdefs.h. */
|
16587 | |
short int ascii_mm[] =
|
|
17428 |
unsigned short int ascii_mm[] =
|
16588 | 17429 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
16589 | |
short int ascii_ii[] =
|
|
17430 |
unsigned short int ascii_ii[] =
|
16590 | 17431 |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
16591 | 17432 |
int use_ascii (int i) {
|
16592 | 17433 |
return ascii_mm[i] + ascii_ii[i];
|
16593 | 17434 |
}
|
16594 | |
short int ebcdic_ii[] =
|
|
17435 |
unsigned short int ebcdic_ii[] =
|
16595 | 17436 |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
16596 | |
short int ebcdic_mm[] =
|
|
17437 |
unsigned short int ebcdic_mm[] =
|
16597 | 17438 |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
16598 | 17439 |
int use_ebcdic (int i) {
|
16599 | 17440 |
return ebcdic_mm[i] + ebcdic_ii[i];
|
|
16601 | 17442 |
extern int foo;
|
16602 | 17443 |
|
16603 | 17444 |
int
|
16604 | |
main ()
|
|
17445 |
main (void)
|
16605 | 17446 |
{
|
16606 | 17447 |
return use_ascii (foo) == use_ebcdic (foo);
|
16607 | 17448 |
;
|
16608 | 17449 |
return 0;
|
16609 | 17450 |
}
|
16610 | 17451 |
_ACEOF
|
16611 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17452 |
if ac_fn_c_try_compile "$LINENO"
|
|
17453 |
then :
|
16612 | 17454 |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
16613 | 17455 |
ac_cv_c_bigendian=yes
|
16614 | 17456 |
fi
|
|
16621 | 17463 |
fi
|
16622 | 17464 |
fi
|
16623 | 17465 |
fi
|
16624 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16625 | |
else
|
|
17466 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
17467 |
else $as_nop
|
16626 | 17468 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16627 | 17469 |
/* end confdefs.h. */
|
16628 | 17470 |
$ac_includes_default
|
16629 | 17471 |
int
|
16630 | |
main ()
|
|
17472 |
main (void)
|
16631 | 17473 |
{
|
16632 | 17474 |
|
16633 | 17475 |
/* Are we little or big endian? From Harbison&Steele. */
|
|
16643 | 17485 |
return 0;
|
16644 | 17486 |
}
|
16645 | 17487 |
_ACEOF
|
16646 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
17488 |
if ac_fn_c_try_run "$LINENO"
|
|
17489 |
then :
|
16647 | 17490 |
ac_cv_c_bigendian=no
|
16648 | |
else
|
|
17491 |
else $as_nop
|
16649 | 17492 |
ac_cv_c_bigendian=yes
|
16650 | 17493 |
fi
|
16651 | 17494 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
16654 | 17497 |
|
16655 | 17498 |
fi
|
16656 | 17499 |
fi
|
16657 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
16658 | |
$as_echo "$ac_cv_c_bigendian" >&6; }
|
|
17500 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
|
17501 |
printf "%s\n" "$ac_cv_c_bigendian" >&6; }
|
16659 | 17502 |
case $ac_cv_c_bigendian in #(
|
16660 | 17503 |
yes)
|
16661 | |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
|
17504 |
printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
16662 | 17505 |
;; #(
|
16663 | 17506 |
no)
|
16664 | 17507 |
;; #(
|
16665 | 17508 |
universal)
|
16666 | 17509 |
|
16667 | |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
|
17510 |
printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
16668 | 17511 |
|
16669 | 17512 |
;; #(
|
16670 | 17513 |
*)
|
|
16675 | 17518 |
|
16676 | 17519 |
# Enable debug
|
16677 | 17520 |
# Check whether --enable-debug was given.
|
16678 | |
if test "${enable_debug+set}" = set; then :
|
|
17521 |
if test ${enable_debug+y}
|
|
17522 |
then :
|
16679 | 17523 |
enableval=$enable_debug;
|
16680 | 17524 |
fi
|
16681 | 17525 |
|
|
16698 | 17542 |
|
16699 | 17543 |
# Enable final
|
16700 | 17544 |
# Check whether --enable-final was given.
|
16701 | |
if test "${enable_final+set}" = set; then :
|
|
17545 |
if test ${enable_final+y}
|
|
17546 |
then :
|
16702 | 17547 |
enableval=$enable_final;
|
16703 | 17548 |
fi
|
16704 | 17549 |
|
|
16709 | 17554 |
|
16710 | 17555 |
# Enable profile
|
16711 | 17556 |
# Check whether --enable-profile was given.
|
16712 | |
if test "${enable_profile+set}" = set; then :
|
|
17557 |
if test ${enable_profile+y}
|
|
17558 |
then :
|
16713 | 17559 |
enableval=$enable_profile;
|
16714 | 17560 |
fi
|
16715 | 17561 |
|
|
16718 | 17564 |
CXXFLAGS="$CXXFLAGS -pg "
|
16719 | 17565 |
fi
|
16720 | 17566 |
# Check whether --enable-profilefn was given.
|
16721 | |
if test "${enable_profilefn+set}" = set; then :
|
|
17567 |
if test ${enable_profilefn+y}
|
|
17568 |
then :
|
16722 | 17569 |
enableval=$enable_profilefn;
|
16723 | 17570 |
fi
|
16724 | 17571 |
|
|
16732 | 17579 |
# (this seems really hacky, but I don't know the proper way....!)
|
16733 | 17580 |
noexpat_CFLAGS="$CFLAGS"
|
16734 | 17581 |
noexpat_LIBS="$LIBS"
|
16735 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ExpatVersion in -lexpat" >&5
|
16736 | |
$as_echo_n "checking for XML_ExpatVersion in -lexpat... " >&6; }
|
16737 | |
if ${ac_cv_lib_expat_XML_ExpatVersion+:} false; then :
|
16738 | |
$as_echo_n "(cached) " >&6
|
16739 | |
else
|
|
17582 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ExpatVersion in -lexpat" >&5
|
|
17583 |
printf %s "checking for XML_ExpatVersion in -lexpat... " >&6; }
|
|
17584 |
if test ${ac_cv_lib_expat_XML_ExpatVersion+y}
|
|
17585 |
then :
|
|
17586 |
printf %s "(cached) " >&6
|
|
17587 |
else $as_nop
|
16740 | 17588 |
ac_check_lib_save_LIBS=$LIBS
|
16741 | 17589 |
LIBS="-lexpat $LIBS"
|
16742 | 17590 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
16745 | 17593 |
/* Override any GCC internal prototype to avoid an error.
|
16746 | 17594 |
Use char because int might match the return type of a GCC
|
16747 | 17595 |
builtin and then its argument prototype would still apply. */
|
16748 | |
#ifdef __cplusplus
|
16749 | |
extern "C"
|
16750 | |
#endif
|
16751 | 17596 |
char XML_ExpatVersion ();
|
16752 | 17597 |
int
|
16753 | |
main ()
|
|
17598 |
main (void)
|
16754 | 17599 |
{
|
16755 | 17600 |
return XML_ExpatVersion ();
|
16756 | 17601 |
;
|
16757 | 17602 |
return 0;
|
16758 | 17603 |
}
|
16759 | 17604 |
_ACEOF
|
16760 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
17605 |
if ac_fn_c_try_link "$LINENO"
|
|
17606 |
then :
|
16761 | 17607 |
ac_cv_lib_expat_XML_ExpatVersion=yes
|
16762 | |
else
|
|
17608 |
else $as_nop
|
16763 | 17609 |
ac_cv_lib_expat_XML_ExpatVersion=no
|
16764 | 17610 |
fi
|
16765 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
17611 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
16766 | 17612 |
conftest$ac_exeext conftest.$ac_ext
|
16767 | 17613 |
LIBS=$ac_check_lib_save_LIBS
|
16768 | 17614 |
fi
|
16769 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ExpatVersion" >&5
|
16770 | |
$as_echo "$ac_cv_lib_expat_XML_ExpatVersion" >&6; }
|
16771 | |
if test "x$ac_cv_lib_expat_XML_ExpatVersion" = xyes; then :
|
16772 | |
cat >>confdefs.h <<_ACEOF
|
16773 | |
#define HAVE_LIBEXPAT 1
|
16774 | |
_ACEOF
|
|
17615 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ExpatVersion" >&5
|
|
17616 |
printf "%s\n" "$ac_cv_lib_expat_XML_ExpatVersion" >&6; }
|
|
17617 |
if test "x$ac_cv_lib_expat_XML_ExpatVersion" = xyes
|
|
17618 |
then :
|
|
17619 |
printf "%s\n" "#define HAVE_LIBEXPAT 1" >>confdefs.h
|
16775 | 17620 |
|
16776 | 17621 |
LIBS="-lexpat $LIBS"
|
16777 | 17622 |
|
|
16822 | 17667 |
case $ac_val in #(
|
16823 | 17668 |
*${as_nl}*)
|
16824 | 17669 |
case $ac_var in #(
|
16825 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
16826 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
17670 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
17671 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
16827 | 17672 |
esac
|
16828 | 17673 |
case $ac_var in #(
|
16829 | 17674 |
_ | IFS | as_nl) ;; #(
|
|
16853 | 17698 |
/^ac_cv_env_/b end
|
16854 | 17699 |
t clear
|
16855 | 17700 |
:clear
|
16856 | |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
17701 |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
|
16857 | 17702 |
t end
|
16858 | 17703 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
16859 | 17704 |
:end' >>confcache
|
16860 | 17705 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
16861 | 17706 |
if test -w "$cache_file"; then
|
16862 | 17707 |
if test "x$cache_file" != "x/dev/null"; then
|
16863 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
16864 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
17708 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
17709 |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
|
16865 | 17710 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
16866 | 17711 |
cat confcache >"$cache_file"
|
16867 | 17712 |
else
|
|
16875 | 17720 |
fi
|
16876 | 17721 |
fi
|
16877 | 17722 |
else
|
16878 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
16879 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
17723 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
17724 |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
|
16880 | 17725 |
fi
|
16881 | 17726 |
fi
|
16882 | 17727 |
rm -f confcache
|
|
16892 | 17737 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
16893 | 17738 |
# 1. Remove the extension, and $U if already installed.
|
16894 | 17739 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
16895 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
17740 |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
|
16896 | 17741 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
16897 | 17742 |
# will be set to the directory where LIBOBJS objects are built.
|
16898 | 17743 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
16903 | 17748 |
LTLIBOBJS=$ac_ltlibobjs
|
16904 | 17749 |
|
16905 | 17750 |
|
16906 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
16907 | |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
17751 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
17752 |
printf %s "checking that generated files are newer than configure... " >&6; }
|
16908 | 17753 |
if test -n "$am_sleep_pid"; then
|
16909 | 17754 |
# Hide warnings about reused PIDs.
|
16910 | 17755 |
wait $am_sleep_pid 2>/dev/null
|
16911 | 17756 |
fi
|
16912 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
16913 | |
$as_echo "done" >&6; }
|
|
17757 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
17758 |
printf "%s\n" "done" >&6; }
|
16914 | 17759 |
if test -n "$EXEEXT"; then
|
16915 | 17760 |
am__EXEEXT_TRUE=
|
16916 | 17761 |
am__EXEEXT_FALSE='#'
|
|
16953 | 17798 |
ac_write_fail=0
|
16954 | 17799 |
ac_clean_files_save=$ac_clean_files
|
16955 | 17800 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
16956 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
16957 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
17801 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
17802 |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
|
16958 | 17803 |
as_write_fail=0
|
16959 | 17804 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
16960 | 17805 |
#! $SHELL
|
|
16977 | 17822 |
|
16978 | 17823 |
# Be more Bourne compatible
|
16979 | 17824 |
DUALCASE=1; export DUALCASE # for MKS sh
|
16980 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
17825 |
as_nop=:
|
|
17826 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
17827 |
then :
|
16981 | 17828 |
emulate sh
|
16982 | 17829 |
NULLCMD=:
|
16983 | 17830 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
16984 | 17831 |
# is contrary to our usage. Disable this feature.
|
16985 | 17832 |
alias -g '${1+"$@"}'='"$@"'
|
16986 | 17833 |
setopt NO_GLOB_SUBST
|
16987 | |
else
|
|
17834 |
else $as_nop
|
16988 | 17835 |
case `(set -o) 2>/dev/null` in #(
|
16989 | 17836 |
*posix*) :
|
16990 | 17837 |
set -o posix ;; #(
|
|
16994 | 17841 |
fi
|
16995 | 17842 |
|
16996 | 17843 |
|
|
17844 |
|
|
17845 |
# Reset variables that may have inherited troublesome values from
|
|
17846 |
# the environment.
|
|
17847 |
|
|
17848 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
17849 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
17850 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
17851 |
# Quoting is to prevent editors from complaining about space-tab.
|
16997 | 17852 |
as_nl='
|
16998 | 17853 |
'
|
16999 | 17854 |
export as_nl
|
17000 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
17001 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
17002 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
17003 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
17004 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
17005 | |
# but without wasting forks for bash or zsh.
|
17006 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
17007 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
17008 | |
as_echo='print -r --'
|
17009 | |
as_echo_n='print -rn --'
|
17010 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
17011 | |
as_echo='printf %s\n'
|
17012 | |
as_echo_n='printf %s'
|
17013 | |
else
|
17014 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
17015 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
17016 | |
as_echo_n='/usr/ucb/echo -n'
|
17017 | |
else
|
17018 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
17019 | |
as_echo_n_body='eval
|
17020 | |
arg=$1;
|
17021 | |
case $arg in #(
|
17022 | |
*"$as_nl"*)
|
17023 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
17024 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
17025 | |
esac;
|
17026 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
17027 | |
'
|
17028 | |
export as_echo_n_body
|
17029 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
17030 | |
fi
|
17031 | |
export as_echo_body
|
17032 | |
as_echo='sh -c $as_echo_body as_echo'
|
17033 | |
fi
|
|
17855 |
IFS=" "" $as_nl"
|
|
17856 |
|
|
17857 |
PS1='$ '
|
|
17858 |
PS2='> '
|
|
17859 |
PS4='+ '
|
|
17860 |
|
|
17861 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
17862 |
LC_ALL=C
|
|
17863 |
export LC_ALL
|
|
17864 |
LANGUAGE=C
|
|
17865 |
export LANGUAGE
|
|
17866 |
|
|
17867 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
17868 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
17869 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
17870 |
# also avoids known problems related to "unset" and subshell syntax
|
|
17871 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
17872 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
17873 |
do eval test \${$as_var+y} \
|
|
17874 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
17875 |
done
|
|
17876 |
|
|
17877 |
# Ensure that fds 0, 1, and 2 are open.
|
|
17878 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
17879 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
17880 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
17034 | 17881 |
|
17035 | 17882 |
# The user is always right.
|
17036 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
17883 |
if ${PATH_SEPARATOR+false} :; then
|
17037 | 17884 |
PATH_SEPARATOR=:
|
17038 | 17885 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
17039 | 17886 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
17041 | 17888 |
}
|
17042 | 17889 |
fi
|
17043 | 17890 |
|
17044 | |
|
17045 | |
# IFS
|
17046 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
17047 | |
# there to prevent editors from complaining about space-tab.
|
17048 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
17049 | |
# splitting by setting IFS to empty value.)
|
17050 | |
IFS=" "" $as_nl"
|
17051 | 17891 |
|
17052 | 17892 |
# Find who we are. Look in the path if we contain no directory separator.
|
17053 | 17893 |
as_myself=
|
|
17057 | 17897 |
for as_dir in $PATH
|
17058 | 17898 |
do
|
17059 | 17899 |
IFS=$as_save_IFS
|
17060 | |
test -z "$as_dir" && as_dir=.
|
17061 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
17900 |
case $as_dir in #(((
|
|
17901 |
'') as_dir=./ ;;
|
|
17902 |
*/) ;;
|
|
17903 |
*) as_dir=$as_dir/ ;;
|
|
17904 |
esac
|
|
17905 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
17062 | 17906 |
done
|
17063 | 17907 |
IFS=$as_save_IFS
|
17064 | 17908 |
|
|
17070 | 17914 |
as_myself=$0
|
17071 | 17915 |
fi
|
17072 | 17916 |
if test ! -f "$as_myself"; then
|
17073 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
17917 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
17074 | 17918 |
exit 1
|
17075 | 17919 |
fi
|
17076 | 17920 |
|
17077 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
17078 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
17079 | |
# suppresses any "Segmentation fault" message there. '((' could
|
17080 | |
# trigger a bug in pdksh 5.2.14.
|
17081 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
17082 | |
do eval test x\${$as_var+set} = xset \
|
17083 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
17084 | |
done
|
17085 | |
PS1='$ '
|
17086 | |
PS2='> '
|
17087 | |
PS4='+ '
|
17088 | |
|
17089 | |
# NLS nuisances.
|
17090 | |
LC_ALL=C
|
17091 | |
export LC_ALL
|
17092 | |
LANGUAGE=C
|
17093 | |
export LANGUAGE
|
17094 | |
|
17095 | |
# CDPATH.
|
17096 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
17097 | 17921 |
|
17098 | 17922 |
|
17099 | 17923 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
17106 | 17930 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
17107 | 17931 |
if test "$4"; then
|
17108 | 17932 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
17109 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
17933 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
17110 | 17934 |
fi
|
17111 | |
$as_echo "$as_me: error: $2" >&2
|
|
17935 |
printf "%s\n" "$as_me: error: $2" >&2
|
17112 | 17936 |
as_fn_exit $as_status
|
17113 | 17937 |
} # as_fn_error
|
|
17938 |
|
17114 | 17939 |
|
17115 | 17940 |
|
17116 | 17941 |
# as_fn_set_status STATUS
|
|
17139 | 17964 |
{ eval $1=; unset $1;}
|
17140 | 17965 |
}
|
17141 | 17966 |
as_unset=as_fn_unset
|
|
17967 |
|
17142 | 17968 |
# as_fn_append VAR VALUE
|
17143 | 17969 |
# ----------------------
|
17144 | 17970 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
17145 | 17971 |
# advantage of any shell optimizations that allow amortized linear growth over
|
17146 | 17972 |
# repeated appends, instead of the typical quadratic growth present in naive
|
17147 | 17973 |
# implementations.
|
17148 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
17974 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
17975 |
then :
|
17149 | 17976 |
eval 'as_fn_append ()
|
17150 | 17977 |
{
|
17151 | 17978 |
eval $1+=\$2
|
17152 | 17979 |
}'
|
17153 | |
else
|
|
17980 |
else $as_nop
|
17154 | 17981 |
as_fn_append ()
|
17155 | 17982 |
{
|
17156 | 17983 |
eval $1=\$$1\$2
|
|
17162 | 17989 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
17163 | 17990 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
17164 | 17991 |
# must be portable across $(()) and expr.
|
17165 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
17992 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
17993 |
then :
|
17166 | 17994 |
eval 'as_fn_arith ()
|
17167 | 17995 |
{
|
17168 | 17996 |
as_val=$(( $* ))
|
17169 | 17997 |
}'
|
17170 | |
else
|
|
17998 |
else $as_nop
|
17171 | 17999 |
as_fn_arith ()
|
17172 | 18000 |
{
|
17173 | 18001 |
as_val=`expr "$@" || test $? -eq 1`
|
|
17198 | 18026 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
17199 | 18027 |
X"$0" : 'X\(//\)$' \| \
|
17200 | 18028 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
17201 | |
$as_echo X/"$0" |
|
|
18029 |
printf "%s\n" X/"$0" |
|
17202 | 18030 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
17203 | 18031 |
s//\1/
|
17204 | 18032 |
q
|
|
17220 | 18048 |
as_cr_digits='0123456789'
|
17221 | 18049 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
17222 | 18050 |
|
|
18051 |
|
|
18052 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
18053 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
18054 |
# for compatibility with existing Makefiles.
|
17223 | 18055 |
ECHO_C= ECHO_N= ECHO_T=
|
17224 | 18056 |
case `echo -n x` in #(((((
|
17225 | 18057 |
-n*)
|
|
17232 | 18064 |
*)
|
17233 | 18065 |
ECHO_N='-n';;
|
17234 | 18066 |
esac
|
|
18067 |
|
|
18068 |
# For backward compatibility with old third-party macros, we provide
|
|
18069 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
18070 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
18071 |
as_echo='printf %s\n'
|
|
18072 |
as_echo_n='printf %s'
|
17235 | 18073 |
|
17236 | 18074 |
rm -f conf$$ conf$$.exe conf$$.file
|
17237 | 18075 |
if test -d conf$$.dir; then
|
|
17274 | 18112 |
as_dirs=
|
17275 | 18113 |
while :; do
|
17276 | 18114 |
case $as_dir in #(
|
17277 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
18115 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
17278 | 18116 |
*) as_qdir=$as_dir;;
|
17279 | 18117 |
esac
|
17280 | 18118 |
as_dirs="'$as_qdir' $as_dirs"
|
|
17283 | 18121 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
17284 | 18122 |
X"$as_dir" : 'X\(//\)$' \| \
|
17285 | 18123 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
17286 | |
$as_echo X"$as_dir" |
|
|
18124 |
printf "%s\n" X"$as_dir" |
|
17287 | 18125 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
17288 | 18126 |
s//\1/
|
17289 | 18127 |
q
|
|
17346 | 18184 |
# values after options handling.
|
17347 | 18185 |
ac_log="
|
17348 | 18186 |
This file was extended by teckit $as_me 2.5.11, which was
|
17349 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
18187 |
generated by GNU Autoconf 2.71. Invocation command line was
|
17350 | 18188 |
|
17351 | 18189 |
CONFIG_FILES = $CONFIG_FILES
|
17352 | 18190 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
17408 | 18246 |
Report bugs to <wstech@sil.org>."
|
17409 | 18247 |
|
17410 | 18248 |
_ACEOF
|
|
18249 |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
|
|
18250 |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
|
17411 | 18251 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
17412 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
18252 |
ac_cs_config='$ac_cs_config_escaped'
|
17413 | 18253 |
ac_cs_version="\\
|
17414 | 18254 |
teckit config.status 2.5.11
|
17415 | |
configured by $0, generated by GNU Autoconf 2.69,
|
|
18255 |
configured by $0, generated by GNU Autoconf 2.71,
|
17416 | 18256 |
with options \\"\$ac_cs_config\\"
|
17417 | 18257 |
|
17418 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
18258 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
17419 | 18259 |
This config.status script is free software; the Free Software Foundation
|
17420 | 18260 |
gives unlimited permission to copy, distribute and modify it."
|
17421 | 18261 |
|
|
17455 | 18295 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
17456 | 18296 |
ac_cs_recheck=: ;;
|
17457 | 18297 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
17458 | |
$as_echo "$ac_cs_version"; exit ;;
|
|
18298 |
printf "%s\n" "$ac_cs_version"; exit ;;
|
17459 | 18299 |
--config | --confi | --conf | --con | --co | --c )
|
17460 | |
$as_echo "$ac_cs_config"; exit ;;
|
|
18300 |
printf "%s\n" "$ac_cs_config"; exit ;;
|
17461 | 18301 |
--debug | --debu | --deb | --de | --d | -d )
|
17462 | 18302 |
debug=: ;;
|
17463 | 18303 |
--file | --fil | --fi | --f )
|
17464 | 18304 |
$ac_shift
|
17465 | 18305 |
case $ac_optarg in
|
17466 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
18306 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
17467 | 18307 |
'') as_fn_error $? "missing file argument" ;;
|
17468 | 18308 |
esac
|
17469 | 18309 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
17471 | 18311 |
--header | --heade | --head | --hea )
|
17472 | 18312 |
$ac_shift
|
17473 | 18313 |
case $ac_optarg in
|
17474 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
18314 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
17475 | 18315 |
esac
|
17476 | 18316 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
17477 | 18317 |
ac_need_defaults=false;;
|
|
17480 | 18320 |
as_fn_error $? "ambiguous option: \`$1'
|
17481 | 18321 |
Try \`$0 --help' for more information.";;
|
17482 | 18322 |
--help | --hel | -h )
|
17483 | |
$as_echo "$ac_cs_usage"; exit ;;
|
|
18323 |
printf "%s\n" "$ac_cs_usage"; exit ;;
|
17484 | 18324 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
17485 | 18325 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
17486 | 18326 |
ac_cs_silent=: ;;
|
|
17508 | 18348 |
if \$ac_cs_recheck; then
|
17509 | 18349 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
17510 | 18350 |
shift
|
17511 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
18351 |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
|
17512 | 18352 |
CONFIG_SHELL='$SHELL'
|
17513 | 18353 |
export CONFIG_SHELL
|
17514 | 18354 |
exec "\$@"
|
|
17522 | 18362 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
17523 | 18363 |
## Running $as_me. ##
|
17524 | 18364 |
_ASBOX
|
17525 | |
$as_echo "$ac_log"
|
|
18365 |
printf "%s\n" "$ac_log"
|
17526 | 18366 |
} >&5
|
17527 | 18367 |
|
17528 | 18368 |
_ACEOF
|
|
18028 | 18868 |
# We use the long form for the default assignment because of an extremely
|
18029 | 18869 |
# bizarre bug on SunOS 4.1.3.
|
18030 | 18870 |
if $ac_need_defaults; then
|
18031 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
18032 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
18033 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
18871 |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
|
18872 |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
|
18873 |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
18034 | 18874 |
fi
|
18035 | 18875 |
|
18036 | 18876 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
18366 | 19206 |
esac ||
|
18367 | 19207 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
18368 | 19208 |
esac
|
18369 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
19209 |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
18370 | 19210 |
as_fn_append ac_file_inputs " '$ac_f'"
|
18371 | 19211 |
done
|
18372 | 19212 |
|
|
18374 | 19214 |
# use $as_me), people would be surprised to read:
|
18375 | 19215 |
# /* config.h. Generated by config.status. */
|
18376 | 19216 |
configure_input='Generated from '`
|
18377 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
19217 |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
18378 | 19218 |
`' by configure.'
|
18379 | 19219 |
if test x"$ac_file" != x-; then
|
18380 | 19220 |
configure_input="$ac_file. $configure_input"
|
18381 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
18382 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
19221 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
19222 |
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
18383 | 19223 |
fi
|
18384 | 19224 |
# Neutralize special characters interpreted by sed in replacement strings.
|
18385 | 19225 |
case $configure_input in #(
|
18386 | 19226 |
*\&* | *\|* | *\\* )
|
18387 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
19227 |
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
18388 | 19228 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
18389 | 19229 |
*) ac_sed_conf_input=$configure_input;;
|
18390 | 19230 |
esac
|
|
18401 | 19241 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
18402 | 19242 |
X"$ac_file" : 'X\(//\)$' \| \
|
18403 | 19243 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
18404 | |
$as_echo X"$ac_file" |
|
|
19244 |
printf "%s\n" X"$ac_file" |
|
18405 | 19245 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
18406 | 19246 |
s//\1/
|
18407 | 19247 |
q
|
|
18425 | 19265 |
case "$ac_dir" in
|
18426 | 19266 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
18427 | 19267 |
*)
|
18428 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
19268 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
18429 | 19269 |
# A ".." for each directory in $ac_dir_suffix.
|
18430 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
19270 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
18431 | 19271 |
case $ac_top_builddir_sub in
|
18432 | 19272 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
18433 | 19273 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
18489 | 19329 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
18490 | 19330 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
18491 | 19331 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
18492 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
18493 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
19332 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
19333 |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
18494 | 19334 |
_ACEOF
|
18495 | 19335 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
18496 | 19336 |
ac_datarootdir_hack='
|
|
18534 | 19374 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
18535 | 19375 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
18536 | 19376 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
18537 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
19377 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
18538 | 19378 |
which seems to be undefined. Please make sure it is defined" >&5
|
18539 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
19379 |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
18540 | 19380 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
18541 | 19381 |
|
18542 | 19382 |
rm -f "$ac_tmp/stdin"
|
|
18552 | 19392 |
#
|
18553 | 19393 |
if test x"$ac_file" != x-; then
|
18554 | 19394 |
{
|
18555 | |
$as_echo "/* $configure_input */" \
|
|
19395 |
printf "%s\n" "/* $configure_input */" >&1 \
|
18556 | 19396 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
18557 | 19397 |
} >"$ac_tmp/config.h" \
|
18558 | 19398 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
18559 | 19399 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
18560 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
18561 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
19400 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
19401 |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
18562 | 19402 |
else
|
18563 | 19403 |
rm -f "$ac_file"
|
18564 | 19404 |
mv "$ac_tmp/config.h" "$ac_file" \
|
18565 | 19405 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
18566 | 19406 |
fi
|
18567 | 19407 |
else
|
18568 | |
$as_echo "/* $configure_input */" \
|
|
19408 |
printf "%s\n" "/* $configure_input */" >&1 \
|
18569 | 19409 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
18570 | 19410 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
18571 | 19411 |
fi
|
|
18585 | 19425 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
18586 | 19426 |
X"$_am_arg" : 'X\(//\)$' \| \
|
18587 | 19427 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
18588 | |
$as_echo X"$_am_arg" |
|
|
19428 |
printf "%s\n" X"$_am_arg" |
|
18589 | 19429 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
18590 | 19430 |
s//\1/
|
18591 | 19431 |
q
|
|
18605 | 19445 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
18606 | 19446 |
;;
|
18607 | 19447 |
|
18608 | |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
18609 | |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
19448 |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
19449 |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
18610 | 19450 |
;;
|
18611 | 19451 |
esac
|
18612 | 19452 |
|
|
18632 | 19472 |
for am_mf
|
18633 | 19473 |
do
|
18634 | 19474 |
# Strip MF so we end up with the name of the file.
|
18635 | |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
|
19475 |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
18636 | 19476 |
# Check whether this is an Automake generated Makefile which includes
|
18637 | 19477 |
# dependency-tracking related rules and includes.
|
18638 | 19478 |
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
18644 | 19484 |
X"$am_mf" : 'X\(//\)[^/]' \| \
|
18645 | 19485 |
X"$am_mf" : 'X\(//\)$' \| \
|
18646 | 19486 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
18647 | |
$as_echo X"$am_mf" |
|
|
19487 |
printf "%s\n" X"$am_mf" |
|
18648 | 19488 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
18649 | 19489 |
s//\1/
|
18650 | 19490 |
q
|
|
18666 | 19506 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
18667 | 19507 |
X"$am_mf" : 'X\(//\)$' \| \
|
18668 | 19508 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
18669 | |
$as_echo X/"$am_mf" |
|
|
19509 |
printf "%s\n" X/"$am_mf" |
|
18670 | 19510 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
18671 | 19511 |
s//\1/
|
18672 | 19512 |
q
|
|
18691 | 19531 |
(exit $ac_status); } || am_rc=$?
|
18692 | 19532 |
done
|
18693 | 19533 |
if test $am_rc -ne 0; then
|
18694 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
18695 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
19534 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
19535 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
18696 | 19536 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
18697 | |
for automatic dependency tracking. Try re-running configure with the
|
|
19537 |
for automatic dependency tracking. If GNU make was not used, consider
|
|
19538 |
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
19539 |
necessary). You can also try re-running configure with the
|
18698 | 19540 |
'--disable-dependency-tracking' option to at least be able to build
|
18699 | 19541 |
the package (albeit without support for automatic dependency tracking).
|
18700 | 19542 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
19247 | 20089 |
esac
|
19248 | 20090 |
|
19249 | 20091 |
|
|
20092 |
|
19250 | 20093 |
ltmain=$ac_aux_dir/ltmain.sh
|
19251 | 20094 |
|
19252 | 20095 |
|
|
19602 | 20445 |
$ac_cs_success || as_fn_exit 1
|
19603 | 20446 |
fi
|
19604 | 20447 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
19605 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
19606 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
19607 | |
fi
|
19608 | |
|
|
20448 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
20449 |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
20450 |
fi
|
|
20451 |
|
|
20452 |
|