0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.69 for librelp 1.10.0.
|
|
2 |
# Generated by GNU Autoconf 2.71 for librelp 1.10.0.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <rgerhards@adiscon.com>.
|
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
|
|
277 |
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
|
277 | 278 |
$0: rgerhards@adiscon.com about your system, including any
|
278 | 279 |
$0: error possibly output before this message. Then install
|
279 | 280 |
$0: a modern shell, or manually run the script under such a
|
|
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="src/relp.c"
|
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
|
|
655 | 682 |
PKG_CONFIG_LIBDIR
|
656 | 683 |
PKG_CONFIG_PATH
|
657 | 684 |
PKG_CONFIG
|
658 | |
CPP
|
659 | 685 |
LT_SYS_LIBRARY_PATH
|
660 | 686 |
OTOOL64
|
661 | 687 |
OTOOL
|
|
726 | 752 |
AM_DEFAULT_VERBOSITY
|
727 | 753 |
AM_DEFAULT_V
|
728 | 754 |
AM_V
|
|
755 |
CSCOPE
|
|
756 |
ETAGS
|
|
757 |
CTAGS
|
729 | 758 |
am__untar
|
730 | 759 |
am__tar
|
731 | 760 |
AMTAR
|
|
793 | 822 |
ac_user_opts='
|
794 | 823 |
enable_option_checking
|
795 | 824 |
enable_silent_rules
|
|
825 |
with_python_prefix
|
|
826 |
with_python_exec_prefix
|
796 | 827 |
enable_dependency_tracking
|
797 | 828 |
enable_shared
|
798 | 829 |
enable_static
|
|
819 | 850 |
LIBS
|
820 | 851 |
CPPFLAGS
|
821 | 852 |
LT_SYS_LIBRARY_PATH
|
822 | |
CPP
|
823 | 853 |
PKG_CONFIG
|
824 | 854 |
PKG_CONFIG_PATH
|
825 | 855 |
PKG_CONFIG_LIBDIR
|
|
895 | 925 |
*) ac_optarg=yes ;;
|
896 | 926 |
esac
|
897 | 927 |
|
898 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
899 | |
|
900 | 928 |
case $ac_dashdash$ac_option in
|
901 | 929 |
--)
|
902 | 930 |
ac_dashdash=yes ;;
|
|
937 | 965 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
938 | 966 |
# Reject names that are not valid shell variable names.
|
939 | 967 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
940 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
968 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
941 | 969 |
ac_useropt_orig=$ac_useropt
|
942 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
970 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
943 | 971 |
case $ac_user_opts in
|
944 | 972 |
*"
|
945 | 973 |
"enable_$ac_useropt"
|
|
963 | 991 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
964 | 992 |
# Reject names that are not valid shell variable names.
|
965 | 993 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
966 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
994 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
967 | 995 |
ac_useropt_orig=$ac_useropt
|
968 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
996 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
969 | 997 |
case $ac_user_opts in
|
970 | 998 |
*"
|
971 | 999 |
"enable_$ac_useropt"
|
|
1176 | 1204 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1177 | 1205 |
# Reject names that are not valid shell variable names.
|
1178 | 1206 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1179 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1207 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1180 | 1208 |
ac_useropt_orig=$ac_useropt
|
1181 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1209 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1182 | 1210 |
case $ac_user_opts in
|
1183 | 1211 |
*"
|
1184 | 1212 |
"with_$ac_useropt"
|
|
1192 | 1220 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1193 | 1221 |
# Reject names that are not valid shell variable names.
|
1194 | 1222 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1195 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1223 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1196 | 1224 |
ac_useropt_orig=$ac_useropt
|
1197 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1225 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1198 | 1226 |
case $ac_user_opts in
|
1199 | 1227 |
*"
|
1200 | 1228 |
"with_$ac_useropt"
|
|
1238 | 1266 |
|
1239 | 1267 |
*)
|
1240 | 1268 |
# FIXME: should be removed in autoconf 3.0.
|
1241 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1269 |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1242 | 1270 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1243 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1271 |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1244 | 1272 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1245 | 1273 |
;;
|
1246 | 1274 |
|
|
1256 | 1284 |
case $enable_option_checking in
|
1257 | 1285 |
no) ;;
|
1258 | 1286 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1259 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1287 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1260 | 1288 |
esac
|
1261 | 1289 |
fi
|
1262 | 1290 |
|
|
1320 | 1348 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1321 | 1349 |
X"$as_myself" : 'X\(//\)$' \| \
|
1322 | 1350 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1323 | |
$as_echo X"$as_myself" |
|
|
1351 |
printf "%s\n" X"$as_myself" |
|
1324 | 1352 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1325 | 1353 |
s//\1/
|
1326 | 1354 |
q
|
|
1478 | 1506 |
Optional Packages:
|
1479 | 1507 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
1480 | 1508 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
1509 |
--with-python_prefix override the default PYTHON_PREFIX
|
|
1510 |
--with-python_exec_prefix
|
|
1511 |
override the default PYTHON_EXEC_PREFIX
|
1481 | 1512 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
1482 | 1513 |
both]
|
1483 | 1514 |
--with-aix-soname=aix|svr4|both
|
|
1498 | 1529 |
you have headers in a nonstandard directory <include dir>
|
1499 | 1530 |
LT_SYS_LIBRARY_PATH
|
1500 | 1531 |
User-defined run-time library search path.
|
1501 | |
CPP C preprocessor
|
1502 | 1532 |
PKG_CONFIG path to pkg-config utility
|
1503 | 1533 |
PKG_CONFIG_PATH
|
1504 | 1534 |
directories to add to pkg-config's search path
|
|
1531 | 1561 |
case "$ac_dir" in
|
1532 | 1562 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1533 | 1563 |
*)
|
1534 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1564 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
1535 | 1565 |
# A ".." for each directory in $ac_dir_suffix.
|
1536 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1566 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1537 | 1567 |
case $ac_top_builddir_sub in
|
1538 | 1568 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1539 | 1569 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1561 | 1591 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1562 | 1592 |
|
1563 | 1593 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1564 | |
# Check for guested configure.
|
|
1594 |
# Check for configure.gnu first; this name is used for a wrapper for
|
|
1595 |
# Metaconfig's "Configure" on case-insensitive file systems.
|
1565 | 1596 |
if test -f "$ac_srcdir/configure.gnu"; then
|
1566 | 1597 |
echo &&
|
1567 | 1598 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1569 | 1600 |
echo &&
|
1570 | 1601 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1571 | 1602 |
else
|
1572 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1603 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1573 | 1604 |
fi || ac_status=$?
|
1574 | 1605 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1575 | 1606 |
done
|
|
1579 | 1610 |
if $ac_init_version; then
|
1580 | 1611 |
cat <<\_ACEOF
|
1581 | 1612 |
librelp configure 1.10.0
|
1582 | |
generated by GNU Autoconf 2.69
|
1583 | |
|
1584 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
1613 |
generated by GNU Autoconf 2.71
|
|
1614 |
|
|
1615 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
1585 | 1616 |
This configure script is free software; the Free Software Foundation
|
1586 | 1617 |
gives unlimited permission to copy, distribute and modify it.
|
1587 | 1618 |
_ACEOF
|
|
1598 | 1629 |
ac_fn_c_try_compile ()
|
1599 | 1630 |
{
|
1600 | 1631 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1601 | |
rm -f conftest.$ac_objext
|
|
1632 |
rm -f conftest.$ac_objext conftest.beam
|
1602 | 1633 |
if { { ac_try="$ac_compile"
|
1603 | 1634 |
case "(($ac_try" in
|
1604 | 1635 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1605 | 1636 |
*) ac_try_echo=$ac_try;;
|
1606 | 1637 |
esac
|
1607 | 1638 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1608 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1639 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1609 | 1640 |
(eval "$ac_compile") 2>conftest.err
|
1610 | 1641 |
ac_status=$?
|
1611 | 1642 |
if test -s conftest.err; then
|
|
1613 | 1644 |
cat conftest.er1 >&5
|
1614 | 1645 |
mv -f conftest.er1 conftest.err
|
1615 | 1646 |
fi
|
1616 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1647 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1617 | 1648 |
test $ac_status = 0; } && {
|
1618 | 1649 |
test -z "$ac_c_werror_flag" ||
|
1619 | 1650 |
test ! -s conftest.err
|
1620 | |
} && test -s conftest.$ac_objext; then :
|
|
1651 |
} && test -s conftest.$ac_objext
|
|
1652 |
then :
|
1621 | 1653 |
ac_retval=0
|
1622 | |
else
|
1623 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1654 |
else $as_nop
|
|
1655 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1624 | 1656 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1625 | 1657 |
|
1626 | 1658 |
ac_retval=1
|
|
1636 | 1668 |
ac_fn_c_try_link ()
|
1637 | 1669 |
{
|
1638 | 1670 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1639 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1671 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
1640 | 1672 |
if { { ac_try="$ac_link"
|
1641 | 1673 |
case "(($ac_try" in
|
1642 | 1674 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1643 | 1675 |
*) ac_try_echo=$ac_try;;
|
1644 | 1676 |
esac
|
1645 | 1677 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1646 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1678 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1647 | 1679 |
(eval "$ac_link") 2>conftest.err
|
1648 | 1680 |
ac_status=$?
|
1649 | 1681 |
if test -s conftest.err; then
|
|
1651 | 1683 |
cat conftest.er1 >&5
|
1652 | 1684 |
mv -f conftest.er1 conftest.err
|
1653 | 1685 |
fi
|
1654 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1686 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1655 | 1687 |
test $ac_status = 0; } && {
|
1656 | 1688 |
test -z "$ac_c_werror_flag" ||
|
1657 | 1689 |
test ! -s conftest.err
|
1658 | 1690 |
} && test -s conftest$ac_exeext && {
|
1659 | 1691 |
test "$cross_compiling" = yes ||
|
1660 | 1692 |
test -x conftest$ac_exeext
|
1661 | |
}; then :
|
|
1693 |
}
|
|
1694 |
then :
|
1662 | 1695 |
ac_retval=0
|
1663 | |
else
|
1664 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1696 |
else $as_nop
|
|
1697 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1665 | 1698 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1666 | 1699 |
|
1667 | 1700 |
ac_retval=1
|
|
1683 | 1716 |
ac_fn_c_check_header_compile ()
|
1684 | 1717 |
{
|
1685 | 1718 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1686 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1687 | |
$as_echo_n "checking for $2... " >&6; }
|
1688 | |
if eval \${$3+:} false; then :
|
1689 | |
$as_echo_n "(cached) " >&6
|
1690 | |
else
|
|
1719 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1720 |
printf %s "checking for $2... " >&6; }
|
|
1721 |
if eval test \${$3+y}
|
|
1722 |
then :
|
|
1723 |
printf %s "(cached) " >&6
|
|
1724 |
else $as_nop
|
1691 | 1725 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1692 | 1726 |
/* end confdefs.h. */
|
1693 | 1727 |
$4
|
1694 | 1728 |
#include <$2>
|
1695 | 1729 |
_ACEOF
|
1696 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1730 |
if ac_fn_c_try_compile "$LINENO"
|
|
1731 |
then :
|
1697 | 1732 |
eval "$3=yes"
|
1698 | |
else
|
|
1733 |
else $as_nop
|
1699 | 1734 |
eval "$3=no"
|
1700 | 1735 |
fi
|
1701 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1736 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1702 | 1737 |
fi
|
1703 | 1738 |
eval ac_res=\$$3
|
1704 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1705 | |
$as_echo "$ac_res" >&6; }
|
|
1739 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1740 |
printf "%s\n" "$ac_res" >&6; }
|
1706 | 1741 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1707 | 1742 |
|
1708 | 1743 |
} # ac_fn_c_check_header_compile
|
1709 | |
|
1710 | |
# ac_fn_c_try_cpp LINENO
|
1711 | |
# ----------------------
|
1712 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1713 | |
ac_fn_c_try_cpp ()
|
1714 | |
{
|
1715 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1716 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1717 | |
case "(($ac_try" in
|
1718 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1719 | |
*) ac_try_echo=$ac_try;;
|
1720 | |
esac
|
1721 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1722 | |
$as_echo "$ac_try_echo"; } >&5
|
1723 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1724 | |
ac_status=$?
|
1725 | |
if test -s conftest.err; then
|
1726 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1727 | |
cat conftest.er1 >&5
|
1728 | |
mv -f conftest.er1 conftest.err
|
1729 | |
fi
|
1730 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1731 | |
test $ac_status = 0; } > conftest.i && {
|
1732 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1733 | |
test ! -s conftest.err
|
1734 | |
}; then :
|
1735 | |
ac_retval=0
|
1736 | |
else
|
1737 | |
$as_echo "$as_me: failed program was:" >&5
|
1738 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1739 | |
|
1740 | |
ac_retval=1
|
1741 | |
fi
|
1742 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1743 | |
as_fn_set_status $ac_retval
|
1744 | |
|
1745 | |
} # ac_fn_c_try_cpp
|
1746 | |
|
1747 | |
# ac_fn_c_try_run LINENO
|
1748 | |
# ----------------------
|
1749 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1750 | |
# that executables *can* be run.
|
1751 | |
ac_fn_c_try_run ()
|
1752 | |
{
|
1753 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1754 | |
if { { ac_try="$ac_link"
|
1755 | |
case "(($ac_try" in
|
1756 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1757 | |
*) ac_try_echo=$ac_try;;
|
1758 | |
esac
|
1759 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1760 | |
$as_echo "$ac_try_echo"; } >&5
|
1761 | |
(eval "$ac_link") 2>&5
|
1762 | |
ac_status=$?
|
1763 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1764 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1765 | |
{ { case "(($ac_try" in
|
1766 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1767 | |
*) ac_try_echo=$ac_try;;
|
1768 | |
esac
|
1769 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1770 | |
$as_echo "$ac_try_echo"; } >&5
|
1771 | |
(eval "$ac_try") 2>&5
|
1772 | |
ac_status=$?
|
1773 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1774 | |
test $ac_status = 0; }; }; then :
|
1775 | |
ac_retval=0
|
1776 | |
else
|
1777 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1778 | |
$as_echo "$as_me: failed program was:" >&5
|
1779 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1780 | |
|
1781 | |
ac_retval=$ac_status
|
1782 | |
fi
|
1783 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1784 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1785 | |
as_fn_set_status $ac_retval
|
1786 | |
|
1787 | |
} # ac_fn_c_try_run
|
1788 | 1744 |
|
1789 | 1745 |
# ac_fn_c_check_func LINENO FUNC VAR
|
1790 | 1746 |
# ----------------------------------
|
|
1792 | 1748 |
ac_fn_c_check_func ()
|
1793 | 1749 |
{
|
1794 | 1750 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1795 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1796 | |
$as_echo_n "checking for $2... " >&6; }
|
1797 | |
if eval \${$3+:} false; then :
|
1798 | |
$as_echo_n "(cached) " >&6
|
1799 | |
else
|
|
1751 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1752 |
printf %s "checking for $2... " >&6; }
|
|
1753 |
if eval test \${$3+y}
|
|
1754 |
then :
|
|
1755 |
printf %s "(cached) " >&6
|
|
1756 |
else $as_nop
|
1800 | 1757 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1801 | 1758 |
/* end confdefs.h. */
|
1802 | 1759 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1804 | 1761 |
#define $2 innocuous_$2
|
1805 | 1762 |
|
1806 | 1763 |
/* System header to define __stub macros and hopefully few prototypes,
|
1807 | |
which can conflict with char $2 (); below.
|
1808 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1809 | |
<limits.h> exists even on freestanding compilers. */
|
1810 | |
|
1811 | |
#ifdef __STDC__
|
1812 | |
# include <limits.h>
|
1813 | |
#else
|
1814 | |
# include <assert.h>
|
1815 | |
#endif
|
1816 | |
|
|
1764 |
which can conflict with char $2 (); below. */
|
|
1765 |
|
|
1766 |
#include <limits.h>
|
1817 | 1767 |
#undef $2
|
1818 | 1768 |
|
1819 | 1769 |
/* Override any GCC internal prototype to avoid an error.
|
|
1831 | 1781 |
#endif
|
1832 | 1782 |
|
1833 | 1783 |
int
|
1834 | |
main ()
|
|
1784 |
main (void)
|
1835 | 1785 |
{
|
1836 | 1786 |
return $2 ();
|
1837 | 1787 |
;
|
1838 | 1788 |
return 0;
|
1839 | 1789 |
}
|
1840 | 1790 |
_ACEOF
|
1841 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1791 |
if ac_fn_c_try_link "$LINENO"
|
|
1792 |
then :
|
1842 | 1793 |
eval "$3=yes"
|
1843 | |
else
|
|
1794 |
else $as_nop
|
1844 | 1795 |
eval "$3=no"
|
1845 | 1796 |
fi
|
1846 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
1797 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
1847 | 1798 |
conftest$ac_exeext conftest.$ac_ext
|
1848 | 1799 |
fi
|
1849 | 1800 |
eval ac_res=\$$3
|
1850 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1851 | |
$as_echo "$ac_res" >&6; }
|
|
1801 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1802 |
printf "%s\n" "$ac_res" >&6; }
|
1852 | 1803 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1853 | 1804 |
|
1854 | 1805 |
} # ac_fn_c_check_func
|
1855 | |
|
1856 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1857 | |
# -------------------------------------------------------
|
1858 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1859 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1860 | |
# accordingly.
|
1861 | |
ac_fn_c_check_header_mongrel ()
|
1862 | |
{
|
1863 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1864 | |
if eval \${$3+:} false; then :
|
1865 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1866 | |
$as_echo_n "checking for $2... " >&6; }
|
1867 | |
if eval \${$3+:} false; then :
|
1868 | |
$as_echo_n "(cached) " >&6
|
1869 | |
fi
|
1870 | |
eval ac_res=\$$3
|
1871 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1872 | |
$as_echo "$ac_res" >&6; }
|
1873 | |
else
|
1874 | |
# Is the header compilable?
|
1875 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1876 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1877 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1878 | |
/* end confdefs.h. */
|
1879 | |
$4
|
1880 | |
#include <$2>
|
1881 | |
_ACEOF
|
1882 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1883 | |
ac_header_compiler=yes
|
1884 | |
else
|
1885 | |
ac_header_compiler=no
|
1886 | |
fi
|
1887 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1888 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1889 | |
$as_echo "$ac_header_compiler" >&6; }
|
1890 | |
|
1891 | |
# Is the header present?
|
1892 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1893 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1894 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1895 | |
/* end confdefs.h. */
|
1896 | |
#include <$2>
|
1897 | |
_ACEOF
|
1898 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1899 | |
ac_header_preproc=yes
|
1900 | |
else
|
1901 | |
ac_header_preproc=no
|
1902 | |
fi
|
1903 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1904 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1905 | |
$as_echo "$ac_header_preproc" >&6; }
|
1906 | |
|
1907 | |
# So? What about this header?
|
1908 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1909 | |
yes:no: )
|
1910 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1911 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1912 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1913 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1914 | |
;;
|
1915 | |
no:yes:* )
|
1916 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1917 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1918 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1919 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1920 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1921 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1922 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1923 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1924 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1925 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1926 | |
( $as_echo "## ------------------------------------ ##
|
1927 | |
## Report this to rgerhards@adiscon.com ##
|
1928 | |
## ------------------------------------ ##"
|
1929 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
1930 | |
;;
|
1931 | |
esac
|
1932 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1933 | |
$as_echo_n "checking for $2... " >&6; }
|
1934 | |
if eval \${$3+:} false; then :
|
1935 | |
$as_echo_n "(cached) " >&6
|
1936 | |
else
|
1937 | |
eval "$3=\$ac_header_compiler"
|
1938 | |
fi
|
1939 | |
eval ac_res=\$$3
|
1940 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1941 | |
$as_echo "$ac_res" >&6; }
|
1942 | |
fi
|
1943 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1944 | |
|
1945 | |
} # ac_fn_c_check_header_mongrel
|
1946 | 1806 |
|
1947 | 1807 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
1948 | 1808 |
# -------------------------------------------
|
|
1951 | 1811 |
ac_fn_c_check_type ()
|
1952 | 1812 |
{
|
1953 | 1813 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1954 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1955 | |
$as_echo_n "checking for $2... " >&6; }
|
1956 | |
if eval \${$3+:} false; then :
|
1957 | |
$as_echo_n "(cached) " >&6
|
1958 | |
else
|
|
1814 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1815 |
printf %s "checking for $2... " >&6; }
|
|
1816 |
if eval test \${$3+y}
|
|
1817 |
then :
|
|
1818 |
printf %s "(cached) " >&6
|
|
1819 |
else $as_nop
|
1959 | 1820 |
eval "$3=no"
|
1960 | 1821 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1961 | 1822 |
/* end confdefs.h. */
|
1962 | 1823 |
$4
|
1963 | 1824 |
int
|
1964 | |
main ()
|
|
1825 |
main (void)
|
1965 | 1826 |
{
|
1966 | 1827 |
if (sizeof ($2))
|
1967 | 1828 |
return 0;
|
|
1969 | 1830 |
return 0;
|
1970 | 1831 |
}
|
1971 | 1832 |
_ACEOF
|
1972 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1833 |
if ac_fn_c_try_compile "$LINENO"
|
|
1834 |
then :
|
1973 | 1835 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1974 | 1836 |
/* end confdefs.h. */
|
1975 | 1837 |
$4
|
1976 | 1838 |
int
|
1977 | |
main ()
|
|
1839 |
main (void)
|
1978 | 1840 |
{
|
1979 | 1841 |
if (sizeof (($2)))
|
1980 | 1842 |
return 0;
|
|
1982 | 1844 |
return 0;
|
1983 | 1845 |
}
|
1984 | 1846 |
_ACEOF
|
1985 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1986 | |
|
1987 | |
else
|
|
1847 |
if ac_fn_c_try_compile "$LINENO"
|
|
1848 |
then :
|
|
1849 |
|
|
1850 |
else $as_nop
|
1988 | 1851 |
eval "$3=yes"
|
1989 | 1852 |
fi
|
1990 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1991 | |
fi
|
1992 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1853 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1854 |
fi
|
|
1855 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1993 | 1856 |
fi
|
1994 | 1857 |
eval ac_res=\$$3
|
1995 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1996 | |
$as_echo "$ac_res" >&6; }
|
|
1858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1859 |
printf "%s\n" "$ac_res" >&6; }
|
1997 | 1860 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1998 | 1861 |
|
1999 | 1862 |
} # ac_fn_c_check_type
|
|
2005 | 1868 |
ac_fn_c_check_member ()
|
2006 | 1869 |
{
|
2007 | 1870 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2008 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
|
2009 | |
$as_echo_n "checking for $2.$3... " >&6; }
|
2010 | |
if eval \${$4+:} false; then :
|
2011 | |
$as_echo_n "(cached) " >&6
|
2012 | |
else
|
|
1871 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
|
|
1872 |
printf %s "checking for $2.$3... " >&6; }
|
|
1873 |
if eval test \${$4+y}
|
|
1874 |
then :
|
|
1875 |
printf %s "(cached) " >&6
|
|
1876 |
else $as_nop
|
2013 | 1877 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2014 | 1878 |
/* end confdefs.h. */
|
2015 | 1879 |
$5
|
2016 | 1880 |
int
|
2017 | |
main ()
|
|
1881 |
main (void)
|
2018 | 1882 |
{
|
2019 | 1883 |
static $2 ac_aggr;
|
2020 | 1884 |
if (ac_aggr.$3)
|
|
2023 | 1887 |
return 0;
|
2024 | 1888 |
}
|
2025 | 1889 |
_ACEOF
|
2026 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1890 |
if ac_fn_c_try_compile "$LINENO"
|
|
1891 |
then :
|
2027 | 1892 |
eval "$4=yes"
|
2028 | |
else
|
|
1893 |
else $as_nop
|
2029 | 1894 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2030 | 1895 |
/* end confdefs.h. */
|
2031 | 1896 |
$5
|
2032 | 1897 |
int
|
2033 | |
main ()
|
|
1898 |
main (void)
|
2034 | 1899 |
{
|
2035 | 1900 |
static $2 ac_aggr;
|
2036 | 1901 |
if (sizeof ac_aggr.$3)
|
|
2039 | 1904 |
return 0;
|
2040 | 1905 |
}
|
2041 | 1906 |
_ACEOF
|
2042 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1907 |
if ac_fn_c_try_compile "$LINENO"
|
|
1908 |
then :
|
2043 | 1909 |
eval "$4=yes"
|
2044 | |
else
|
|
1910 |
else $as_nop
|
2045 | 1911 |
eval "$4=no"
|
2046 | 1912 |
fi
|
2047 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2048 | |
fi
|
2049 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1913 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1914 |
fi
|
|
1915 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
2050 | 1916 |
fi
|
2051 | 1917 |
eval ac_res=\$$4
|
2052 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2053 | |
$as_echo "$ac_res" >&6; }
|
|
1918 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1919 |
printf "%s\n" "$ac_res" >&6; }
|
2054 | 1920 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2055 | 1921 |
|
2056 | 1922 |
} # ac_fn_c_check_member
|
2057 | 1923 |
|
2058 | |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
|
2059 | |
# ---------------------------------------------
|
|
1924 |
# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
|
|
1925 |
# ------------------------------------------------------------------
|
2060 | 1926 |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
|
2061 | |
# accordingly.
|
2062 | |
ac_fn_c_check_decl ()
|
|
1927 |
# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
|
|
1928 |
ac_fn_check_decl ()
|
2063 | 1929 |
{
|
2064 | 1930 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2065 | 1931 |
as_decl_name=`echo $2|sed 's/ *(.*//'`
|
|
1932 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
|
|
1933 |
printf %s "checking whether $as_decl_name is declared... " >&6; }
|
|
1934 |
if eval test \${$3+y}
|
|
1935 |
then :
|
|
1936 |
printf %s "(cached) " >&6
|
|
1937 |
else $as_nop
|
2066 | 1938 |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
|
2067 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
|
2068 | |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
|
2069 | |
if eval \${$3+:} false; then :
|
2070 | |
$as_echo_n "(cached) " >&6
|
2071 | |
else
|
|
1939 |
eval ac_save_FLAGS=\$$6
|
|
1940 |
as_fn_append $6 " $5"
|
2072 | 1941 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2073 | 1942 |
/* end confdefs.h. */
|
2074 | 1943 |
$4
|
2075 | 1944 |
int
|
2076 | |
main ()
|
|
1945 |
main (void)
|
2077 | 1946 |
{
|
2078 | 1947 |
#ifndef $as_decl_name
|
2079 | 1948 |
#ifdef __cplusplus
|
|
2087 | 1956 |
return 0;
|
2088 | 1957 |
}
|
2089 | 1958 |
_ACEOF
|
2090 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1959 |
if ac_fn_c_try_compile "$LINENO"
|
|
1960 |
then :
|
2091 | 1961 |
eval "$3=yes"
|
2092 | |
else
|
|
1962 |
else $as_nop
|
2093 | 1963 |
eval "$3=no"
|
2094 | 1964 |
fi
|
2095 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1965 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1966 |
eval $6=\$ac_save_FLAGS
|
|
1967 |
|
2096 | 1968 |
fi
|
2097 | 1969 |
eval ac_res=\$$3
|
2098 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2099 | |
$as_echo "$ac_res" >&6; }
|
|
1970 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1971 |
printf "%s\n" "$ac_res" >&6; }
|
2100 | 1972 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2101 | 1973 |
|
2102 | |
} # ac_fn_c_check_decl
|
|
1974 |
} # ac_fn_check_decl
|
|
1975 |
ac_configure_args_raw=
|
|
1976 |
for ac_arg
|
|
1977 |
do
|
|
1978 |
case $ac_arg in
|
|
1979 |
*\'*)
|
|
1980 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1981 |
esac
|
|
1982 |
as_fn_append ac_configure_args_raw " '$ac_arg'"
|
|
1983 |
done
|
|
1984 |
|
|
1985 |
case $ac_configure_args_raw in
|
|
1986 |
*$as_nl*)
|
|
1987 |
ac_safe_unquote= ;;
|
|
1988 |
*)
|
|
1989 |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
|
|
1990 |
ac_unsafe_a="$ac_unsafe_z#~"
|
|
1991 |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
|
|
1992 |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
|
|
1993 |
esac
|
|
1994 |
|
2103 | 1995 |
cat >config.log <<_ACEOF
|
2104 | 1996 |
This file contains any messages produced by compilers while
|
2105 | 1997 |
running configure, to aid debugging if configure makes a mistake.
|
2106 | 1998 |
|
2107 | 1999 |
It was created by librelp $as_me 1.10.0, which was
|
2108 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
2109 | |
|
2110 | |
$ $0 $@
|
|
2000 |
generated by GNU Autoconf 2.71. Invocation command line was
|
|
2001 |
|
|
2002 |
$ $0$ac_configure_args_raw
|
2111 | 2003 |
|
2112 | 2004 |
_ACEOF
|
2113 | 2005 |
exec 5>>config.log
|
|
2140 | 2032 |
for as_dir in $PATH
|
2141 | 2033 |
do
|
2142 | 2034 |
IFS=$as_save_IFS
|
2143 | |
test -z "$as_dir" && as_dir=.
|
2144 | |
$as_echo "PATH: $as_dir"
|
|
2035 |
case $as_dir in #(((
|
|
2036 |
'') as_dir=./ ;;
|
|
2037 |
*/) ;;
|
|
2038 |
*) as_dir=$as_dir/ ;;
|
|
2039 |
esac
|
|
2040 |
printf "%s\n" "PATH: $as_dir"
|
2145 | 2041 |
done
|
2146 | 2042 |
IFS=$as_save_IFS
|
2147 | 2043 |
|
|
2176 | 2072 |
| -silent | --silent | --silen | --sile | --sil)
|
2177 | 2073 |
continue ;;
|
2178 | 2074 |
*\'*)
|
2179 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2075 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2180 | 2076 |
esac
|
2181 | 2077 |
case $ac_pass in
|
2182 | 2078 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
2211 | 2107 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2212 | 2108 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
2213 | 2109 |
trap 'exit_status=$?
|
|
2110 |
# Sanitize IFS.
|
|
2111 |
IFS=" "" $as_nl"
|
2214 | 2112 |
# Save into config.log some information that might help in debugging.
|
2215 | 2113 |
{
|
2216 | 2114 |
echo
|
2217 | 2115 |
|
2218 | |
$as_echo "## ---------------- ##
|
|
2116 |
printf "%s\n" "## ---------------- ##
|
2219 | 2117 |
## Cache variables. ##
|
2220 | 2118 |
## ---------------- ##"
|
2221 | 2119 |
echo
|
|
2226 | 2124 |
case $ac_val in #(
|
2227 | 2125 |
*${as_nl}*)
|
2228 | 2126 |
case $ac_var in #(
|
2229 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2230 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
2127 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2128 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2231 | 2129 |
esac
|
2232 | 2130 |
case $ac_var in #(
|
2233 | 2131 |
_ | IFS | as_nl) ;; #(
|
|
2251 | 2149 |
)
|
2252 | 2150 |
echo
|
2253 | 2151 |
|
2254 | |
$as_echo "## ----------------- ##
|
|
2152 |
printf "%s\n" "## ----------------- ##
|
2255 | 2153 |
## Output variables. ##
|
2256 | 2154 |
## ----------------- ##"
|
2257 | 2155 |
echo
|
|
2259 | 2157 |
do
|
2260 | 2158 |
eval ac_val=\$$ac_var
|
2261 | 2159 |
case $ac_val in
|
2262 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2160 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2263 | 2161 |
esac
|
2264 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2162 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2265 | 2163 |
done | sort
|
2266 | 2164 |
echo
|
2267 | 2165 |
|
2268 | 2166 |
if test -n "$ac_subst_files"; then
|
2269 | |
$as_echo "## ------------------- ##
|
|
2167 |
printf "%s\n" "## ------------------- ##
|
2270 | 2168 |
## File substitutions. ##
|
2271 | 2169 |
## ------------------- ##"
|
2272 | 2170 |
echo
|
|
2274 | 2172 |
do
|
2275 | 2173 |
eval ac_val=\$$ac_var
|
2276 | 2174 |
case $ac_val in
|
2277 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2175 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2278 | 2176 |
esac
|
2279 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2177 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2280 | 2178 |
done | sort
|
2281 | 2179 |
echo
|
2282 | 2180 |
fi
|
2283 | 2181 |
|
2284 | 2182 |
if test -s confdefs.h; then
|
2285 | |
$as_echo "## ----------- ##
|
|
2183 |
printf "%s\n" "## ----------- ##
|
2286 | 2184 |
## confdefs.h. ##
|
2287 | 2185 |
## ----------- ##"
|
2288 | 2186 |
echo
|
|
2290 | 2188 |
echo
|
2291 | 2189 |
fi
|
2292 | 2190 |
test "$ac_signal" != 0 &&
|
2293 | |
$as_echo "$as_me: caught signal $ac_signal"
|
2294 | |
$as_echo "$as_me: exit $exit_status"
|
|
2191 |
printf "%s\n" "$as_me: caught signal $ac_signal"
|
|
2192 |
printf "%s\n" "$as_me: exit $exit_status"
|
2295 | 2193 |
} >&5
|
2296 | 2194 |
rm -f core *.core core.conftest.* &&
|
2297 | 2195 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
2305 | 2203 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2306 | 2204 |
rm -f -r conftest* confdefs.h
|
2307 | 2205 |
|
2308 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2206 |
printf "%s\n" "/* confdefs.h */" > confdefs.h
|
2309 | 2207 |
|
2310 | 2208 |
# Predefined preprocessor variables.
|
2311 | 2209 |
|
2312 | |
cat >>confdefs.h <<_ACEOF
|
2313 | |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2314 | |
_ACEOF
|
2315 | |
|
2316 | |
cat >>confdefs.h <<_ACEOF
|
2317 | |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2318 | |
_ACEOF
|
2319 | |
|
2320 | |
cat >>confdefs.h <<_ACEOF
|
2321 | |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2322 | |
_ACEOF
|
2323 | |
|
2324 | |
cat >>confdefs.h <<_ACEOF
|
2325 | |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2326 | |
_ACEOF
|
2327 | |
|
2328 | |
cat >>confdefs.h <<_ACEOF
|
2329 | |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2330 | |
_ACEOF
|
2331 | |
|
2332 | |
cat >>confdefs.h <<_ACEOF
|
2333 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2334 | |
_ACEOF
|
|
2210 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
|
|
2211 |
|
|
2212 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
|
|
2213 |
|
|
2214 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
|
|
2215 |
|
|
2216 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
|
|
2217 |
|
|
2218 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
|
|
2219 |
|
|
2220 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
|
2335 | 2221 |
|
2336 | 2222 |
|
2337 | 2223 |
# Let the site file select an alternate cache file if it wants to.
|
2338 | 2224 |
# Prefer an explicitly selected file to automatically selected ones.
|
2339 | |
ac_site_file1=NONE
|
2340 | |
ac_site_file2=NONE
|
2341 | 2225 |
if test -n "$CONFIG_SITE"; then
|
2342 | |
# We do not want a PATH search for config.site.
|
2343 | |
case $CONFIG_SITE in #((
|
2344 | |
-*) ac_site_file1=./$CONFIG_SITE;;
|
2345 | |
*/*) ac_site_file1=$CONFIG_SITE;;
|
2346 | |
*) ac_site_file1=./$CONFIG_SITE;;
|
2347 | |
esac
|
|
2226 |
ac_site_files="$CONFIG_SITE"
|
2348 | 2227 |
elif test "x$prefix" != xNONE; then
|
2349 | |
ac_site_file1=$prefix/share/config.site
|
2350 | |
ac_site_file2=$prefix/etc/config.site
|
|
2228 |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
|
2351 | 2229 |
else
|
2352 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2353 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2354 | |
fi
|
2355 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
2230 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
2231 |
fi
|
|
2232 |
|
|
2233 |
for ac_site_file in $ac_site_files
|
2356 | 2234 |
do
|
2357 | |
test "x$ac_site_file" = xNONE && continue
|
2358 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2359 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2360 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2235 |
case $ac_site_file in #(
|
|
2236 |
*/*) :
|
|
2237 |
;; #(
|
|
2238 |
*) :
|
|
2239 |
ac_site_file=./$ac_site_file ;;
|
|
2240 |
esac
|
|
2241 |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2242 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2243 |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
|
2361 | 2244 |
sed 's/^/| /' "$ac_site_file" >&5
|
2362 | 2245 |
. "$ac_site_file" \
|
2363 | |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2364 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2246 |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2247 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
2365 | 2248 |
as_fn_error $? "failed to load site script $ac_site_file
|
2366 | 2249 |
See \`config.log' for more details" "$LINENO" 5; }
|
2367 | 2250 |
fi
|
|
2371 | 2254 |
# Some versions of bash will fail to source /dev/null (special files
|
2372 | 2255 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2373 | 2256 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2374 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2375 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
2257 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2258 |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
|
2376 | 2259 |
case $cache_file in
|
2377 | 2260 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2378 | 2261 |
*) . "./$cache_file";;
|
2379 | 2262 |
esac
|
2380 | 2263 |
fi
|
2381 | 2264 |
else
|
2382 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2383 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
2265 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2266 |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
|
2384 | 2267 |
>$cache_file
|
|
2268 |
fi
|
|
2269 |
|
|
2270 |
# Test code for whether the C compiler supports C89 (global declarations)
|
|
2271 |
ac_c_conftest_c89_globals='
|
|
2272 |
/* Does the compiler advertise C89 conformance?
|
|
2273 |
Do not test the value of __STDC__, because some compilers set it to 0
|
|
2274 |
while being otherwise adequately conformant. */
|
|
2275 |
#if !defined __STDC__
|
|
2276 |
# error "Compiler does not advertise C89 conformance"
|
|
2277 |
#endif
|
|
2278 |
|
|
2279 |
#include <stddef.h>
|
|
2280 |
#include <stdarg.h>
|
|
2281 |
struct stat;
|
|
2282 |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
|
2283 |
struct buf { int x; };
|
|
2284 |
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2285 |
static char *e (p, i)
|
|
2286 |
char **p;
|
|
2287 |
int i;
|
|
2288 |
{
|
|
2289 |
return p[i];
|
|
2290 |
}
|
|
2291 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
2292 |
{
|
|
2293 |
char *s;
|
|
2294 |
va_list v;
|
|
2295 |
va_start (v,p);
|
|
2296 |
s = g (p, va_arg (v,int));
|
|
2297 |
va_end (v);
|
|
2298 |
return s;
|
|
2299 |
}
|
|
2300 |
|
|
2301 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
2302 |
function prototypes and stuff, but not \xHH hex character constants.
|
|
2303 |
These do not provoke an error unfortunately, instead are silently treated
|
|
2304 |
as an "x". The following induces an error, until -std is added to get
|
|
2305 |
proper ANSI mode. Curiously \x00 != x always comes out true, for an
|
|
2306 |
array size at least. It is necessary to write \x00 == 0 to get something
|
|
2307 |
that is true only with -std. */
|
|
2308 |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
|
|
2309 |
|
|
2310 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
2311 |
inside strings and character constants. */
|
|
2312 |
#define FOO(x) '\''x'\''
|
|
2313 |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
|
|
2314 |
|
|
2315 |
int test (int i, double x);
|
|
2316 |
struct s1 {int (*f) (int a);};
|
|
2317 |
struct s2 {int (*f) (double a);};
|
|
2318 |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
|
|
2319 |
int, int);'
|
|
2320 |
|
|
2321 |
# Test code for whether the C compiler supports C89 (body of main).
|
|
2322 |
ac_c_conftest_c89_main='
|
|
2323 |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
2324 |
'
|
|
2325 |
|
|
2326 |
# Test code for whether the C compiler supports C99 (global declarations)
|
|
2327 |
ac_c_conftest_c99_globals='
|
|
2328 |
// Does the compiler advertise C99 conformance?
|
|
2329 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
|
|
2330 |
# error "Compiler does not advertise C99 conformance"
|
|
2331 |
#endif
|
|
2332 |
|
|
2333 |
#include <stdbool.h>
|
|
2334 |
extern int puts (const char *);
|
|
2335 |
extern int printf (const char *, ...);
|
|
2336 |
extern int dprintf (int, const char *, ...);
|
|
2337 |
extern void *malloc (size_t);
|
|
2338 |
|
|
2339 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
2340 |
// dprintf is used instead of fprintf to avoid needing to declare
|
|
2341 |
// FILE and stderr.
|
|
2342 |
#define debug(...) dprintf (2, __VA_ARGS__)
|
|
2343 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
2344 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
2345 |
static void
|
|
2346 |
test_varargs_macros (void)
|
|
2347 |
{
|
|
2348 |
int x = 1234;
|
|
2349 |
int y = 5678;
|
|
2350 |
debug ("Flag");
|
|
2351 |
debug ("X = %d\n", x);
|
|
2352 |
showlist (The first, second, and third items.);
|
|
2353 |
report (x>y, "x is %d but y is %d", x, y);
|
|
2354 |
}
|
|
2355 |
|
|
2356 |
// Check long long types.
|
|
2357 |
#define BIG64 18446744073709551615ull
|
|
2358 |
#define BIG32 4294967295ul
|
|
2359 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
2360 |
#if !BIG_OK
|
|
2361 |
#error "your preprocessor is broken"
|
|
2362 |
#endif
|
|
2363 |
#if BIG_OK
|
|
2364 |
#else
|
|
2365 |
#error "your preprocessor is broken"
|
|
2366 |
#endif
|
|
2367 |
static long long int bignum = -9223372036854775807LL;
|
|
2368 |
static unsigned long long int ubignum = BIG64;
|
|
2369 |
|
|
2370 |
struct incomplete_array
|
|
2371 |
{
|
|
2372 |
int datasize;
|
|
2373 |
double data[];
|
|
2374 |
};
|
|
2375 |
|
|
2376 |
struct named_init {
|
|
2377 |
int number;
|
|
2378 |
const wchar_t *name;
|
|
2379 |
double average;
|
|
2380 |
};
|
|
2381 |
|
|
2382 |
typedef const char *ccp;
|
|
2383 |
|
|
2384 |
static inline int
|
|
2385 |
test_restrict (ccp restrict text)
|
|
2386 |
{
|
|
2387 |
// See if C++-style comments work.
|
|
2388 |
// Iterate through items via the restricted pointer.
|
|
2389 |
// Also check for declarations in for loops.
|
|
2390 |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
|
|
2391 |
continue;
|
|
2392 |
return 0;
|
|
2393 |
}
|
|
2394 |
|
|
2395 |
// Check varargs and va_copy.
|
|
2396 |
static bool
|
|
2397 |
test_varargs (const char *format, ...)
|
|
2398 |
{
|
|
2399 |
va_list args;
|
|
2400 |
va_start (args, format);
|
|
2401 |
va_list args_copy;
|
|
2402 |
va_copy (args_copy, args);
|
|
2403 |
|
|
2404 |
const char *str = "";
|
|
2405 |
int number = 0;
|
|
2406 |
float fnumber = 0;
|
|
2407 |
|
|
2408 |
while (*format)
|
|
2409 |
{
|
|
2410 |
switch (*format++)
|
|
2411 |
{
|
|
2412 |
case '\''s'\'': // string
|
|
2413 |
str = va_arg (args_copy, const char *);
|
|
2414 |
break;
|
|
2415 |
case '\''d'\'': // int
|
|
2416 |
number = va_arg (args_copy, int);
|
|
2417 |
break;
|
|
2418 |
case '\''f'\'': // float
|
|
2419 |
fnumber = va_arg (args_copy, double);
|
|
2420 |
break;
|
|
2421 |
default:
|
|
2422 |
break;
|
|
2423 |
}
|
|
2424 |
}
|
|
2425 |
va_end (args_copy);
|
|
2426 |
va_end (args);
|
|
2427 |
|
|
2428 |
return *str && number && fnumber;
|
|
2429 |
}
|
|
2430 |
'
|
|
2431 |
|
|
2432 |
# Test code for whether the C compiler supports C99 (body of main).
|
|
2433 |
ac_c_conftest_c99_main='
|
|
2434 |
// Check bool.
|
|
2435 |
_Bool success = false;
|
|
2436 |
success |= (argc != 0);
|
|
2437 |
|
|
2438 |
// Check restrict.
|
|
2439 |
if (test_restrict ("String literal") == 0)
|
|
2440 |
success = true;
|
|
2441 |
char *restrict newvar = "Another string";
|
|
2442 |
|
|
2443 |
// Check varargs.
|
|
2444 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
|
|
2445 |
test_varargs_macros ();
|
|
2446 |
|
|
2447 |
// Check flexible array members.
|
|
2448 |
struct incomplete_array *ia =
|
|
2449 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
2450 |
ia->datasize = 10;
|
|
2451 |
for (int i = 0; i < ia->datasize; ++i)
|
|
2452 |
ia->data[i] = i * 1.234;
|
|
2453 |
|
|
2454 |
// Check named initializers.
|
|
2455 |
struct named_init ni = {
|
|
2456 |
.number = 34,
|
|
2457 |
.name = L"Test wide string",
|
|
2458 |
.average = 543.34343,
|
|
2459 |
};
|
|
2460 |
|
|
2461 |
ni.number = 58;
|
|
2462 |
|
|
2463 |
int dynamic_array[ni.number];
|
|
2464 |
dynamic_array[0] = argv[0][0];
|
|
2465 |
dynamic_array[ni.number - 1] = 543;
|
|
2466 |
|
|
2467 |
// work around unused variable warnings
|
|
2468 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|
|
2469 |
|| dynamic_array[ni.number - 1] != 543);
|
|
2470 |
'
|
|
2471 |
|
|
2472 |
# Test code for whether the C compiler supports C11 (global declarations)
|
|
2473 |
ac_c_conftest_c11_globals='
|
|
2474 |
// Does the compiler advertise C11 conformance?
|
|
2475 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
|
|
2476 |
# error "Compiler does not advertise C11 conformance"
|
|
2477 |
#endif
|
|
2478 |
|
|
2479 |
// Check _Alignas.
|
|
2480 |
char _Alignas (double) aligned_as_double;
|
|
2481 |
char _Alignas (0) no_special_alignment;
|
|
2482 |
extern char aligned_as_int;
|
|
2483 |
char _Alignas (0) _Alignas (int) aligned_as_int;
|
|
2484 |
|
|
2485 |
// Check _Alignof.
|
|
2486 |
enum
|
|
2487 |
{
|
|
2488 |
int_alignment = _Alignof (int),
|
|
2489 |
int_array_alignment = _Alignof (int[100]),
|
|
2490 |
char_alignment = _Alignof (char)
|
|
2491 |
};
|
|
2492 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
|
2493 |
|
|
2494 |
// Check _Noreturn.
|
|
2495 |
int _Noreturn does_not_return (void) { for (;;) continue; }
|
|
2496 |
|
|
2497 |
// Check _Static_assert.
|
|
2498 |
struct test_static_assert
|
|
2499 |
{
|
|
2500 |
int x;
|
|
2501 |
_Static_assert (sizeof (int) <= sizeof (long int),
|
|
2502 |
"_Static_assert does not work in struct");
|
|
2503 |
long int y;
|
|
2504 |
};
|
|
2505 |
|
|
2506 |
// Check UTF-8 literals.
|
|
2507 |
#define u8 syntax error!
|
|
2508 |
char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
|
2509 |
|
|
2510 |
// Check duplicate typedefs.
|
|
2511 |
typedef long *long_ptr;
|
|
2512 |
typedef long int *long_ptr;
|
|
2513 |
typedef long_ptr long_ptr;
|
|
2514 |
|
|
2515 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
|
|
2516 |
struct anonymous
|
|
2517 |
{
|
|
2518 |
union {
|
|
2519 |
struct { int i; int j; };
|
|
2520 |
struct { int k; long int l; } w;
|
|
2521 |
};
|
|
2522 |
int m;
|
|
2523 |
} v1;
|
|
2524 |
'
|
|
2525 |
|
|
2526 |
# Test code for whether the C compiler supports C11 (body of main).
|
|
2527 |
ac_c_conftest_c11_main='
|
|
2528 |
_Static_assert ((offsetof (struct anonymous, i)
|
|
2529 |
== offsetof (struct anonymous, w.k)),
|
|
2530 |
"Anonymous union alignment botch");
|
|
2531 |
v1.i = 2;
|
|
2532 |
v1.w.k = 5;
|
|
2533 |
ok |= v1.i != 5;
|
|
2534 |
'
|
|
2535 |
|
|
2536 |
# Test code for whether the C compiler supports C11 (complete).
|
|
2537 |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
|
|
2538 |
${ac_c_conftest_c99_globals}
|
|
2539 |
${ac_c_conftest_c11_globals}
|
|
2540 |
|
|
2541 |
int
|
|
2542 |
main (int argc, char **argv)
|
|
2543 |
{
|
|
2544 |
int ok = 0;
|
|
2545 |
${ac_c_conftest_c89_main}
|
|
2546 |
${ac_c_conftest_c99_main}
|
|
2547 |
${ac_c_conftest_c11_main}
|
|
2548 |
return ok;
|
|
2549 |
}
|
|
2550 |
"
|
|
2551 |
|
|
2552 |
# Test code for whether the C compiler supports C99 (complete).
|
|
2553 |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
|
|
2554 |
${ac_c_conftest_c99_globals}
|
|
2555 |
|
|
2556 |
int
|
|
2557 |
main (int argc, char **argv)
|
|
2558 |
{
|
|
2559 |
int ok = 0;
|
|
2560 |
${ac_c_conftest_c89_main}
|
|
2561 |
${ac_c_conftest_c99_main}
|
|
2562 |
return ok;
|
|
2563 |
}
|
|
2564 |
"
|
|
2565 |
|
|
2566 |
# Test code for whether the C compiler supports C89 (complete).
|
|
2567 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
|
|
2568 |
|
|
2569 |
int
|
|
2570 |
main (int argc, char **argv)
|
|
2571 |
{
|
|
2572 |
int ok = 0;
|
|
2573 |
${ac_c_conftest_c89_main}
|
|
2574 |
return ok;
|
|
2575 |
}
|
|
2576 |
"
|
|
2577 |
|
|
2578 |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
|
|
2579 |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
|
|
2580 |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
|
|
2581 |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
|
|
2582 |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
|
|
2583 |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
|
|
2584 |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
|
|
2585 |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
|
|
2586 |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
|
|
2587 |
as_fn_append ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H"
|
|
2588 |
as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H"
|
|
2589 |
|
|
2590 |
# Auxiliary files required by this configure script.
|
|
2591 |
ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
|
|
2592 |
|
|
2593 |
# Locations in which to look for auxiliary files.
|
|
2594 |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
|
|
2595 |
|
|
2596 |
# Search for a directory containing all of the required auxiliary files,
|
|
2597 |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
|
|
2598 |
# If we don't find one directory that contains all the files we need,
|
|
2599 |
# we report the set of missing files from the *first* directory in
|
|
2600 |
# $ac_aux_dir_candidates and give up.
|
|
2601 |
ac_missing_aux_files=""
|
|
2602 |
ac_first_candidate=:
|
|
2603 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
|
|
2604 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2605 |
as_found=false
|
|
2606 |
for as_dir in $ac_aux_dir_candidates
|
|
2607 |
do
|
|
2608 |
IFS=$as_save_IFS
|
|
2609 |
case $as_dir in #(((
|
|
2610 |
'') as_dir=./ ;;
|
|
2611 |
*/) ;;
|
|
2612 |
*) as_dir=$as_dir/ ;;
|
|
2613 |
esac
|
|
2614 |
as_found=:
|
|
2615 |
|
|
2616 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
|
|
2617 |
ac_aux_dir_found=yes
|
|
2618 |
ac_install_sh=
|
|
2619 |
for ac_aux in $ac_aux_files
|
|
2620 |
do
|
|
2621 |
# As a special case, if "install-sh" is required, that requirement
|
|
2622 |
# can be satisfied by any of "install-sh", "install.sh", or "shtool",
|
|
2623 |
# and $ac_install_sh is set appropriately for whichever one is found.
|
|
2624 |
if test x"$ac_aux" = x"install-sh"
|
|
2625 |
then
|
|
2626 |
if test -f "${as_dir}install-sh"; then
|
|
2627 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
|
|
2628 |
ac_install_sh="${as_dir}install-sh -c"
|
|
2629 |
elif test -f "${as_dir}install.sh"; then
|
|
2630 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
|
|
2631 |
ac_install_sh="${as_dir}install.sh -c"
|
|
2632 |
elif test -f "${as_dir}shtool"; then
|
|
2633 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
|
|
2634 |
ac_install_sh="${as_dir}shtool install -c"
|
|
2635 |
else
|
|
2636 |
ac_aux_dir_found=no
|
|
2637 |
if $ac_first_candidate; then
|
|
2638 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh"
|
|
2639 |
else
|
|
2640 |
break
|
|
2641 |
fi
|
|
2642 |
fi
|
|
2643 |
else
|
|
2644 |
if test -f "${as_dir}${ac_aux}"; then
|
|
2645 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
|
|
2646 |
else
|
|
2647 |
ac_aux_dir_found=no
|
|
2648 |
if $ac_first_candidate; then
|
|
2649 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
|
|
2650 |
else
|
|
2651 |
break
|
|
2652 |
fi
|
|
2653 |
fi
|
|
2654 |
fi
|
|
2655 |
done
|
|
2656 |
if test "$ac_aux_dir_found" = yes; then
|
|
2657 |
ac_aux_dir="$as_dir"
|
|
2658 |
break
|
|
2659 |
fi
|
|
2660 |
ac_first_candidate=false
|
|
2661 |
|
|
2662 |
as_found=false
|
|
2663 |
done
|
|
2664 |
IFS=$as_save_IFS
|
|
2665 |
if $as_found
|
|
2666 |
then :
|
|
2667 |
|
|
2668 |
else $as_nop
|
|
2669 |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
|
|
2670 |
fi
|
|
2671 |
|
|
2672 |
|
|
2673 |
# These three variables are undocumented and unsupported,
|
|
2674 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2675 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2676 |
# whose full name contains unusual characters.
|
|
2677 |
if test -f "${ac_aux_dir}config.guess"; then
|
|
2678 |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
|
|
2679 |
fi
|
|
2680 |
if test -f "${ac_aux_dir}config.sub"; then
|
|
2681 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
|
|
2682 |
fi
|
|
2683 |
if test -f "$ac_aux_dir/configure"; then
|
|
2684 |
ac_configure="$SHELL ${ac_aux_dir}configure"
|
2385 | 2685 |
fi
|
2386 | 2686 |
|
2387 | 2687 |
# Check that the precious variables saved in the cache have kept the same
|
|
2394 | 2694 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2395 | 2695 |
case $ac_old_set,$ac_new_set in
|
2396 | 2696 |
set,)
|
2397 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2398 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2697 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2698 |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2399 | 2699 |
ac_cache_corrupted=: ;;
|
2400 | 2700 |
,set)
|
2401 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2402 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2701 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2702 |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2403 | 2703 |
ac_cache_corrupted=: ;;
|
2404 | 2704 |
,);;
|
2405 | 2705 |
*)
|
|
2408 | 2708 |
ac_old_val_w=`echo x $ac_old_val`
|
2409 | 2709 |
ac_new_val_w=`echo x $ac_new_val`
|
2410 | 2710 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2411 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2412 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2711 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2712 |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2413 | 2713 |
ac_cache_corrupted=:
|
2414 | 2714 |
else
|
2415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2416 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2715 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2716 |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2417 | 2717 |
eval $ac_var=\$ac_old_val
|
2418 | 2718 |
fi
|
2419 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2420 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2421 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2422 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
2719 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2720 |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2721 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2722 |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
|
2423 | 2723 |
fi;;
|
2424 | 2724 |
esac
|
2425 | 2725 |
# Pass precious variables to config.status.
|
2426 | 2726 |
if test "$ac_new_set" = set; then
|
2427 | 2727 |
case $ac_new_val in
|
2428 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2728 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2429 | 2729 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2430 | 2730 |
esac
|
2431 | 2731 |
case " $ac_configure_args " in
|
|
2435 | 2735 |
fi
|
2436 | 2736 |
done
|
2437 | 2737 |
if $ac_cache_corrupted; then
|
2438 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2439 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2440 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2441 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2442 | |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2738 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2739 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2740 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2741 |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2742 |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
|
|
2743 |
and start over" "$LINENO" 5
|
2443 | 2744 |
fi
|
2444 | 2745 |
## -------------------- ##
|
2445 | 2746 |
## Main body of script. ##
|
|
2457 | 2758 |
#AM_INIT_AUTOMAKE([subdir-objects serial-tests])
|
2458 | 2759 |
am__api_version='1.16'
|
2459 | 2760 |
|
2460 | |
ac_aux_dir=
|
2461 | |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2462 | |
if test -f "$ac_dir/install-sh"; then
|
2463 | |
ac_aux_dir=$ac_dir
|
2464 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2465 | |
break
|
2466 | |
elif test -f "$ac_dir/install.sh"; then
|
2467 | |
ac_aux_dir=$ac_dir
|
2468 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2469 | |
break
|
2470 | |
elif test -f "$ac_dir/shtool"; then
|
2471 | |
ac_aux_dir=$ac_dir
|
2472 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2473 | |
break
|
2474 | |
fi
|
2475 | |
done
|
2476 | |
if test -z "$ac_aux_dir"; then
|
2477 | |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2478 | |
fi
|
2479 | |
|
2480 | |
# These three variables are undocumented and unsupported,
|
2481 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2482 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2483 | |
# whose full name contains unusual characters.
|
2484 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2485 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2486 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2487 | |
|
2488 | |
|
2489 | |
# Find a good install program. We prefer a C program (faster),
|
|
2761 |
|
|
2762 |
|
|
2763 |
# Find a good install program. We prefer a C program (faster),
|
2490 | 2764 |
# so one script is as good as another. But avoid the broken or
|
2491 | 2765 |
# incompatible versions:
|
2492 | 2766 |
# SysV /etc/install, /usr/sbin/install
|
|
2500 | 2774 |
# OS/2's system install, which has a completely different semantic
|
2501 | 2775 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2502 | 2776 |
# Reject install programs that cannot install multiple files.
|
2503 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2504 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
2777 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
2778 |
printf %s "checking for a BSD-compatible install... " >&6; }
|
2505 | 2779 |
if test -z "$INSTALL"; then
|
2506 | |
if ${ac_cv_path_install+:} false; then :
|
2507 | |
$as_echo_n "(cached) " >&6
|
2508 | |
else
|
|
2780 |
if test ${ac_cv_path_install+y}
|
|
2781 |
then :
|
|
2782 |
printf %s "(cached) " >&6
|
|
2783 |
else $as_nop
|
2509 | 2784 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2510 | 2785 |
for as_dir in $PATH
|
2511 | 2786 |
do
|
2512 | 2787 |
IFS=$as_save_IFS
|
2513 | |
test -z "$as_dir" && as_dir=.
|
2514 | |
# Account for people who put trailing slashes in PATH elements.
|
2515 | |
case $as_dir/ in #((
|
2516 | |
./ | .// | /[cC]/* | \
|
|
2788 |
case $as_dir in #(((
|
|
2789 |
'') as_dir=./ ;;
|
|
2790 |
*/) ;;
|
|
2791 |
*) as_dir=$as_dir/ ;;
|
|
2792 |
esac
|
|
2793 |
# Account for fact that we put trailing slashes in our PATH walk.
|
|
2794 |
case $as_dir in #((
|
|
2795 |
./ | /[cC]/* | \
|
2517 | 2796 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2518 | 2797 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2519 | 2798 |
/usr/ucb/* ) ;;
|
|
2523 | 2802 |
# by default.
|
2524 | 2803 |
for ac_prog in ginstall scoinst install; do
|
2525 | 2804 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2526 | |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
2805 |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
|
2527 | 2806 |
if test $ac_prog = install &&
|
2528 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
2807 |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2529 | 2808 |
# AIX install. It has an incompatible calling convention.
|
2530 | 2809 |
:
|
2531 | 2810 |
elif test $ac_prog = install &&
|
2532 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
2811 |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2533 | 2812 |
# program-specific install script used by HP pwplus--don't use.
|
2534 | 2813 |
:
|
2535 | 2814 |
else
|
|
2537 | 2816 |
echo one > conftest.one
|
2538 | 2817 |
echo two > conftest.two
|
2539 | 2818 |
mkdir conftest.dir
|
2540 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
2819 |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
|
2541 | 2820 |
test -s conftest.one && test -s conftest.two &&
|
2542 | 2821 |
test -s conftest.dir/conftest.one &&
|
2543 | 2822 |
test -s conftest.dir/conftest.two
|
2544 | 2823 |
then
|
2545 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
2824 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
|
2546 | 2825 |
break 3
|
2547 | 2826 |
fi
|
2548 | 2827 |
fi
|
|
2558 | 2837 |
rm -rf conftest.one conftest.two conftest.dir
|
2559 | 2838 |
|
2560 | 2839 |
fi
|
2561 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2840 |
if test ${ac_cv_path_install+y}; then
|
2562 | 2841 |
INSTALL=$ac_cv_path_install
|
2563 | 2842 |
else
|
2564 | 2843 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2568 | 2847 |
INSTALL=$ac_install_sh
|
2569 | 2848 |
fi
|
2570 | 2849 |
fi
|
2571 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2572 | |
$as_echo "$INSTALL" >&6; }
|
|
2850 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
2851 |
printf "%s\n" "$INSTALL" >&6; }
|
2573 | 2852 |
|
2574 | 2853 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2575 | 2854 |
# It thinks the first close brace ends the variable substitution.
|
|
2579 | 2858 |
|
2580 | 2859 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2581 | 2860 |
|
2582 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2583 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
2861 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
2862 |
printf %s "checking whether build environment is sane... " >&6; }
|
2584 | 2863 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2585 | 2864 |
# name. Accept space and tab only in the latter.
|
2586 | 2865 |
am_lf='
|
|
2634 | 2913 |
as_fn_error $? "newly created file is older than distributed files!
|
2635 | 2914 |
Check your system clock" "$LINENO" 5
|
2636 | 2915 |
fi
|
2637 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2638 | |
$as_echo "yes" >&6; }
|
|
2916 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2917 |
printf "%s\n" "yes" >&6; }
|
2639 | 2918 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2640 | 2919 |
# generated files are strictly newer.
|
2641 | 2920 |
am_sleep_pid=
|
|
2654 | 2933 |
# Double any \ or $.
|
2655 | 2934 |
# By default was `s,x,x', remove it if useless.
|
2656 | 2935 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2657 | |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
2936 |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
|
|
2937 |
|
2658 | 2938 |
|
2659 | 2939 |
# Expand $ac_aux_dir to an absolute path.
|
2660 | 2940 |
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
2661 | 2941 |
|
2662 | |
if test x"${MISSING+set}" != xset; then
|
2663 | |
case $am_aux_dir in
|
2664 | |
*\ * | *\ *)
|
2665 | |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
2666 | |
*)
|
2667 | |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
2668 | |
esac
|
|
2942 |
|
|
2943 |
if test x"${MISSING+set}" != xset; then
|
|
2944 |
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
2669 | 2945 |
fi
|
2670 | 2946 |
# Use eval to expand $SHELL
|
2671 | 2947 |
if eval "$MISSING --is-lightweight"; then
|
2672 | 2948 |
am_missing_run="$MISSING "
|
2673 | 2949 |
else
|
2674 | 2950 |
am_missing_run=
|
2675 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
2676 | |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
2951 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
2952 |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
2677 | 2953 |
fi
|
2678 | 2954 |
|
2679 | 2955 |
if test x"${install_sh+set}" != xset; then
|
|
2693 | 2969 |
if test -n "$ac_tool_prefix"; then
|
2694 | 2970 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2695 | 2971 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2696 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2697 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2698 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
2699 | |
$as_echo_n "(cached) " >&6
|
2700 | |
else
|
|
2972 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2973 |
printf %s "checking for $ac_word... " >&6; }
|
|
2974 |
if test ${ac_cv_prog_STRIP+y}
|
|
2975 |
then :
|
|
2976 |
printf %s "(cached) " >&6
|
|
2977 |
else $as_nop
|
2701 | 2978 |
if test -n "$STRIP"; then
|
2702 | 2979 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2703 | 2980 |
else
|
|
2705 | 2982 |
for as_dir in $PATH
|
2706 | 2983 |
do
|
2707 | 2984 |
IFS=$as_save_IFS
|
2708 | |
test -z "$as_dir" && as_dir=.
|
|
2985 |
case $as_dir in #(((
|
|
2986 |
'') as_dir=./ ;;
|
|
2987 |
*/) ;;
|
|
2988 |
*) as_dir=$as_dir/ ;;
|
|
2989 |
esac
|
2709 | 2990 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2710 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2991 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2711 | 2992 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2712 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2993 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2713 | 2994 |
break 2
|
2714 | 2995 |
fi
|
2715 | 2996 |
done
|
|
2720 | 3001 |
fi
|
2721 | 3002 |
STRIP=$ac_cv_prog_STRIP
|
2722 | 3003 |
if test -n "$STRIP"; then
|
2723 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2724 | |
$as_echo "$STRIP" >&6; }
|
|
3004 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
3005 |
printf "%s\n" "$STRIP" >&6; }
|
2725 | 3006 |
else
|
2726 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2727 | |
$as_echo "no" >&6; }
|
|
3007 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3008 |
printf "%s\n" "no" >&6; }
|
2728 | 3009 |
fi
|
2729 | 3010 |
|
2730 | 3011 |
|
|
2733 | 3014 |
ac_ct_STRIP=$STRIP
|
2734 | 3015 |
# Extract the first word of "strip", so it can be a program name with args.
|
2735 | 3016 |
set dummy strip; ac_word=$2
|
2736 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2737 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2738 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2739 | |
$as_echo_n "(cached) " >&6
|
2740 | |
else
|
|
3017 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3018 |
printf %s "checking for $ac_word... " >&6; }
|
|
3019 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
3020 |
then :
|
|
3021 |
printf %s "(cached) " >&6
|
|
3022 |
else $as_nop
|
2741 | 3023 |
if test -n "$ac_ct_STRIP"; then
|
2742 | 3024 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2743 | 3025 |
else
|
|
2745 | 3027 |
for as_dir in $PATH
|
2746 | 3028 |
do
|
2747 | 3029 |
IFS=$as_save_IFS
|
2748 | |
test -z "$as_dir" && as_dir=.
|
|
3030 |
case $as_dir in #(((
|
|
3031 |
'') as_dir=./ ;;
|
|
3032 |
*/) ;;
|
|
3033 |
*) as_dir=$as_dir/ ;;
|
|
3034 |
esac
|
2749 | 3035 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2750 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3036 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2751 | 3037 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2752 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3038 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2753 | 3039 |
break 2
|
2754 | 3040 |
fi
|
2755 | 3041 |
done
|
|
2760 | 3046 |
fi
|
2761 | 3047 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2762 | 3048 |
if test -n "$ac_ct_STRIP"; then
|
2763 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2764 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
3049 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
3050 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
2765 | 3051 |
else
|
2766 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2767 | |
$as_echo "no" >&6; }
|
|
3052 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3053 |
printf "%s\n" "no" >&6; }
|
2768 | 3054 |
fi
|
2769 | 3055 |
|
2770 | 3056 |
if test "x$ac_ct_STRIP" = x; then
|
|
2772 | 3058 |
else
|
2773 | 3059 |
case $cross_compiling:$ac_tool_warned in
|
2774 | 3060 |
yes:)
|
2775 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2776 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3061 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3062 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2777 | 3063 |
ac_tool_warned=yes ;;
|
2778 | 3064 |
esac
|
2779 | 3065 |
STRIP=$ac_ct_STRIP
|
|
2785 | 3071 |
fi
|
2786 | 3072 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2787 | 3073 |
|
2788 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2789 | |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
3074 |
|
|
3075 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
|
|
3076 |
printf %s "checking for a race-free mkdir -p... " >&6; }
|
2790 | 3077 |
if test -z "$MKDIR_P"; then
|
2791 | |
if ${ac_cv_path_mkdir+:} false; then :
|
2792 | |
$as_echo_n "(cached) " >&6
|
2793 | |
else
|
|
3078 |
if test ${ac_cv_path_mkdir+y}
|
|
3079 |
then :
|
|
3080 |
printf %s "(cached) " >&6
|
|
3081 |
else $as_nop
|
2794 | 3082 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2795 | 3083 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
2796 | 3084 |
do
|
2797 | 3085 |
IFS=$as_save_IFS
|
2798 | |
test -z "$as_dir" && as_dir=.
|
|
3086 |
case $as_dir in #(((
|
|
3087 |
'') as_dir=./ ;;
|
|
3088 |
*/) ;;
|
|
3089 |
*) as_dir=$as_dir/ ;;
|
|
3090 |
esac
|
2799 | 3091 |
for ac_prog in mkdir gmkdir; do
|
2800 | 3092 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2801 | |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
2802 | |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
2803 | |
'mkdir (GNU coreutils) '* | \
|
2804 | |
'mkdir (coreutils) '* | \
|
|
3093 |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
|
|
3094 |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
3095 |
'mkdir ('*'coreutils) '* | \
|
|
3096 |
'BusyBox '* | \
|
2805 | 3097 |
'mkdir (fileutils) '4.1*)
|
2806 | |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
3098 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
|
2807 | 3099 |
break 3;;
|
2808 | 3100 |
esac
|
2809 | 3101 |
done
|
|
2814 | 3106 |
fi
|
2815 | 3107 |
|
2816 | 3108 |
test -d ./--version && rmdir ./--version
|
2817 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
3109 |
if test ${ac_cv_path_mkdir+y}; then
|
2818 | 3110 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2819 | 3111 |
else
|
2820 | 3112 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2824 | 3116 |
MKDIR_P="$ac_install_sh -d"
|
2825 | 3117 |
fi
|
2826 | 3118 |
fi
|
2827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2828 | |
$as_echo "$MKDIR_P" >&6; }
|
|
3119 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
3120 |
printf "%s\n" "$MKDIR_P" >&6; }
|
2829 | 3121 |
|
2830 | 3122 |
for ac_prog in gawk mawk nawk awk
|
2831 | 3123 |
do
|
2832 | 3124 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2833 | 3125 |
set dummy $ac_prog; ac_word=$2
|
2834 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2835 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2836 | |
if ${ac_cv_prog_AWK+:} false; then :
|
2837 | |
$as_echo_n "(cached) " >&6
|
2838 | |
else
|
|
3126 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3127 |
printf %s "checking for $ac_word... " >&6; }
|
|
3128 |
if test ${ac_cv_prog_AWK+y}
|
|
3129 |
then :
|
|
3130 |
printf %s "(cached) " >&6
|
|
3131 |
else $as_nop
|
2839 | 3132 |
if test -n "$AWK"; then
|
2840 | 3133 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
2841 | 3134 |
else
|
|
2843 | 3136 |
for as_dir in $PATH
|
2844 | 3137 |
do
|
2845 | 3138 |
IFS=$as_save_IFS
|
2846 | |
test -z "$as_dir" && as_dir=.
|
|
3139 |
case $as_dir in #(((
|
|
3140 |
'') as_dir=./ ;;
|
|
3141 |
*/) ;;
|
|
3142 |
*) as_dir=$as_dir/ ;;
|
|
3143 |
esac
|
2847 | 3144 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2848 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3145 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2849 | 3146 |
ac_cv_prog_AWK="$ac_prog"
|
2850 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3147 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2851 | 3148 |
break 2
|
2852 | 3149 |
fi
|
2853 | 3150 |
done
|
|
2858 | 3155 |
fi
|
2859 | 3156 |
AWK=$ac_cv_prog_AWK
|
2860 | 3157 |
if test -n "$AWK"; then
|
2861 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2862 | |
$as_echo "$AWK" >&6; }
|
|
3158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
3159 |
printf "%s\n" "$AWK" >&6; }
|
2863 | 3160 |
else
|
2864 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2865 | |
$as_echo "no" >&6; }
|
|
3161 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3162 |
printf "%s\n" "no" >&6; }
|
2866 | 3163 |
fi
|
2867 | 3164 |
|
2868 | 3165 |
|
2869 | 3166 |
test -n "$AWK" && break
|
2870 | 3167 |
done
|
2871 | 3168 |
|
2872 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2873 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3169 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3170 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2874 | 3171 |
set x ${MAKE-make}
|
2875 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2876 | |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2877 | |
$as_echo_n "(cached) " >&6
|
2878 | |
else
|
|
3172 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3173 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
|
|
3174 |
then :
|
|
3175 |
printf %s "(cached) " >&6
|
|
3176 |
else $as_nop
|
2879 | 3177 |
cat >conftest.make <<\_ACEOF
|
2880 | 3178 |
SHELL = /bin/sh
|
2881 | 3179 |
all:
|
|
2891 | 3189 |
rm -f conftest.make
|
2892 | 3190 |
fi
|
2893 | 3191 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2894 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2895 | |
$as_echo "yes" >&6; }
|
|
3192 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3193 |
printf "%s\n" "yes" >&6; }
|
2896 | 3194 |
SET_MAKE=
|
2897 | 3195 |
else
|
2898 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2899 | |
$as_echo "no" >&6; }
|
|
3196 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3197 |
printf "%s\n" "no" >&6; }
|
2900 | 3198 |
SET_MAKE="MAKE=${MAKE-make}"
|
2901 | 3199 |
fi
|
2902 | 3200 |
|
|
2910 | 3208 |
rmdir .tst 2>/dev/null
|
2911 | 3209 |
|
2912 | 3210 |
# Check whether --enable-silent-rules was given.
|
2913 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3211 |
if test ${enable_silent_rules+y}
|
|
3212 |
then :
|
2914 | 3213 |
enableval=$enable_silent_rules;
|
2915 | 3214 |
fi
|
2916 | 3215 |
|
|
2920 | 3219 |
*) AM_DEFAULT_VERBOSITY=1;;
|
2921 | 3220 |
esac
|
2922 | 3221 |
am_make=${MAKE-make}
|
2923 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
2924 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
2925 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
2926 | |
$as_echo_n "(cached) " >&6
|
2927 | |
else
|
2928 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3222 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3223 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3224 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3225 |
then :
|
|
3226 |
printf %s "(cached) " >&6
|
|
3227 |
else $as_nop
|
|
3228 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
2929 | 3229 |
BAR0=false
|
2930 | 3230 |
BAR1=true
|
2931 | 3231 |
V=1
|
|
2937 | 3237 |
am_cv_make_support_nested_variables=no
|
2938 | 3238 |
fi
|
2939 | 3239 |
fi
|
2940 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
2941 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3241 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
2942 | 3242 |
if test $am_cv_make_support_nested_variables = yes; then
|
2943 | 3243 |
AM_V='$(V)'
|
2944 | 3244 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
2973 | 3273 |
VERSION='1.10.0'
|
2974 | 3274 |
|
2975 | 3275 |
|
2976 | |
cat >>confdefs.h <<_ACEOF
|
2977 | |
#define PACKAGE "$PACKAGE"
|
2978 | |
_ACEOF
|
2979 | |
|
2980 | |
|
2981 | |
cat >>confdefs.h <<_ACEOF
|
2982 | |
#define VERSION "$VERSION"
|
2983 | |
_ACEOF
|
|
3276 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
|
3277 |
|
|
3278 |
|
|
3279 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
|
2984 | 3280 |
|
2985 | 3281 |
# Some tools Automake needs.
|
2986 | 3282 |
|
|
3018 | 3314 |
|
3019 | 3315 |
|
3020 | 3316 |
|
|
3317 |
|
|
3318 |
|
|
3319 |
# Variables for tags utilities; see am/tags.am
|
|
3320 |
if test -z "$CTAGS"; then
|
|
3321 |
CTAGS=ctags
|
|
3322 |
fi
|
|
3323 |
|
|
3324 |
if test -z "$ETAGS"; then
|
|
3325 |
ETAGS=etags
|
|
3326 |
fi
|
|
3327 |
|
|
3328 |
if test -z "$CSCOPE"; then
|
|
3329 |
CSCOPE=cscope
|
|
3330 |
fi
|
3021 | 3331 |
|
3022 | 3332 |
|
3023 | 3333 |
|
|
3065 | 3375 |
|
3066 | 3376 |
|
3067 | 3377 |
# Check whether --enable-silent-rules was given.
|
3068 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3378 |
if test ${enable_silent_rules+y}
|
|
3379 |
then :
|
3069 | 3380 |
enableval=$enable_silent_rules;
|
3070 | 3381 |
fi
|
3071 | 3382 |
|
|
3075 | 3386 |
*) AM_DEFAULT_VERBOSITY=0;;
|
3076 | 3387 |
esac
|
3077 | 3388 |
am_make=${MAKE-make}
|
3078 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
3079 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
3080 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
3081 | |
$as_echo_n "(cached) " >&6
|
3082 | |
else
|
3083 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3389 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3390 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3391 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3392 |
then :
|
|
3393 |
printf %s "(cached) " >&6
|
|
3394 |
else $as_nop
|
|
3395 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
3084 | 3396 |
BAR0=false
|
3085 | 3397 |
BAR1=true
|
3086 | 3398 |
V=1
|
|
3092 | 3404 |
am_cv_make_support_nested_variables=no
|
3093 | 3405 |
fi
|
3094 | 3406 |
fi
|
3095 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
3096 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3407 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3408 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
3097 | 3409 |
if test $am_cv_make_support_nested_variables = yes; then
|
3098 | 3410 |
AM_V='$(V)'
|
3099 | 3411 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
3112 | 3424 |
case "${host}" in
|
3113 | 3425 |
*-*-linux*)
|
3114 | 3426 |
|
3115 | |
$as_echo "#define OS_LINUX 1" >>confdefs.h
|
|
3427 |
printf "%s\n" "#define OS_LINUX 1" >>confdefs.h
|
3116 | 3428 |
|
3117 | 3429 |
os_type="linux"
|
3118 | 3430 |
;;
|
3119 | 3431 |
*-*-*darwin*|*-*-dragonfly*|*-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
|
3120 | 3432 |
|
3121 | |
$as_echo "#define OS_BSD 1" >>confdefs.h
|
|
3433 |
printf "%s\n" "#define OS_BSD 1" >>confdefs.h
|
3122 | 3434 |
|
3123 | 3435 |
os_type="bsd"
|
3124 | 3436 |
;;
|
3125 | 3437 |
*-apple-*)
|
3126 | 3438 |
|
3127 | |
$as_echo "#define OS_APPLE 1" >>confdefs.h
|
|
3439 |
printf "%s\n" "#define OS_APPLE 1" >>confdefs.h
|
3128 | 3440 |
|
3129 | 3441 |
os_type="apple"
|
3130 | 3442 |
;;
|
|
3136 | 3448 |
*-*-solaris*)
|
3137 | 3449 |
os_type="solaris"
|
3138 | 3450 |
|
3139 | |
$as_echo "#define OS_SOLARIS 1" >>confdefs.h
|
3140 | |
|
3141 | |
|
3142 | |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
3143 | |
|
3144 | |
|
3145 | |
$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
|
|
3451 |
printf "%s\n" "#define OS_SOLARIS 1" >>confdefs.h
|
|
3452 |
|
|
3453 |
|
|
3454 |
printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
3455 |
|
|
3456 |
|
|
3457 |
printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
|
3146 | 3458 |
|
3147 | 3459 |
CPPFLAGS="-std=c99 $CPPFLAGS"
|
3148 | 3460 |
AM_CFLAGS="-std=c99 $CFLAGS"
|
|
3156 | 3468 |
*-*-aix*)
|
3157 | 3469 |
os_type="aix"
|
3158 | 3470 |
|
3159 | |
$as_echo "#define OS_AIX 1" >>confdefs.h
|
|
3471 |
printf "%s\n" "#define OS_AIX 1" >>confdefs.h
|
3160 | 3472 |
|
3161 | 3473 |
AM_CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT"
|
3162 | 3474 |
LDFLAGS="$LDFLAGS -brtl"
|
|
3215 | 3527 |
do
|
3216 | 3528 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3217 | 3529 |
set dummy $ac_prog; ac_word=$2
|
3218 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3219 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3220 | |
if ${ac_cv_path_PYTHON+:} false; then :
|
3221 | |
$as_echo_n "(cached) " >&6
|
3222 | |
else
|
|
3530 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3531 |
printf %s "checking for $ac_word... " >&6; }
|
|
3532 |
if test ${ac_cv_path_PYTHON+y}
|
|
3533 |
then :
|
|
3534 |
printf %s "(cached) " >&6
|
|
3535 |
else $as_nop
|
3223 | 3536 |
case $PYTHON in
|
3224 | 3537 |
[\\/]* | ?:[\\/]*)
|
3225 | 3538 |
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
|
|
3229 | 3542 |
for as_dir in $PATH
|
3230 | 3543 |
do
|
3231 | 3544 |
IFS=$as_save_IFS
|
3232 | |
test -z "$as_dir" && as_dir=.
|
|
3545 |
case $as_dir in #(((
|
|
3546 |
'') as_dir=./ ;;
|
|
3547 |
*/) ;;
|
|
3548 |
*) as_dir=$as_dir/ ;;
|
|
3549 |
esac
|
3233 | 3550 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3234 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3235 | |
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
|
3236 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3551 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
3552 |
ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
|
|
3553 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3237 | 3554 |
break 2
|
3238 | 3555 |
fi
|
3239 | 3556 |
done
|
|
3245 | 3562 |
fi
|
3246 | 3563 |
PYTHON=$ac_cv_path_PYTHON
|
3247 | 3564 |
if test -n "$PYTHON"; then
|
3248 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
|
3249 | |
$as_echo "$PYTHON" >&6; }
|
|
3565 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
|
|
3566 |
printf "%s\n" "$PYTHON" >&6; }
|
3250 | 3567 |
else
|
3251 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3252 | |
$as_echo "no" >&6; }
|
|
3568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3569 |
printf "%s\n" "no" >&6; }
|
3253 | 3570 |
fi
|
3254 | 3571 |
|
3255 | 3572 |
|
|
3266 | 3583 |
else
|
3267 | 3584 |
|
3268 | 3585 |
|
3269 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
|
3270 | |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
|
3271 | |
if ${am_cv_python_version+:} false; then :
|
3272 | |
$as_echo_n "(cached) " >&6
|
3273 | |
else
|
3274 | |
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
3275 | |
fi
|
3276 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
3277 | |
$as_echo "$am_cv_python_version" >&6; }
|
|
3586 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
|
|
3587 |
printf %s "checking for $am_display_PYTHON version... " >&6; }
|
|
3588 |
if test ${am_cv_python_version+y}
|
|
3589 |
then :
|
|
3590 |
printf %s "(cached) " >&6
|
|
3591 |
else $as_nop
|
|
3592 |
am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
|
|
3593 |
fi
|
|
3594 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
|
3595 |
printf "%s\n" "$am_cv_python_version" >&6; }
|
3278 | 3596 |
PYTHON_VERSION=$am_cv_python_version
|
3279 | 3597 |
|
3280 | 3598 |
|
3281 | 3599 |
|
3282 | |
PYTHON_PREFIX='${prefix}'
|
3283 | |
|
3284 | |
PYTHON_EXEC_PREFIX='${exec_prefix}'
|
3285 | |
|
3286 | |
|
3287 | |
|
3288 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
|
3289 | |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
|
3290 | |
if ${am_cv_python_platform+:} false; then :
|
3291 | |
$as_echo_n "(cached) " >&6
|
3292 | |
else
|
|
3600 |
if test "x$prefix" = xNONE
|
|
3601 |
then
|
|
3602 |
am__usable_prefix=$ac_default_prefix
|
|
3603 |
else
|
|
3604 |
am__usable_prefix=$prefix
|
|
3605 |
fi
|
|
3606 |
|
|
3607 |
|
|
3608 |
# Check whether --with-python_prefix was given.
|
|
3609 |
if test ${with_python_prefix+y}
|
|
3610 |
then :
|
|
3611 |
withval=$with_python_prefix; am_python_prefix_subst="$withval"
|
|
3612 |
am_cv_python_prefix="$withval"
|
|
3613 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON prefix" >&5
|
|
3614 |
printf %s "checking for $am_display_PYTHON prefix... " >&6; }
|
|
3615 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
|
|
3616 |
printf "%s\n" "$am_cv_python_prefix" >&6; }
|
|
3617 |
else $as_nop
|
|
3618 |
|
|
3619 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON prefix" >&5
|
|
3620 |
printf %s "checking for $am_display_PYTHON prefix... " >&6; }
|
|
3621 |
if test ${am_cv_python_prefix+y}
|
|
3622 |
then :
|
|
3623 |
printf %s "(cached) " >&6
|
|
3624 |
else $as_nop
|
|
3625 |
am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
|
|
3626 |
fi
|
|
3627 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
|
|
3628 |
printf "%s\n" "$am_cv_python_prefix" >&6; }
|
|
3629 |
|
|
3630 |
case $am_cv_python_prefix in
|
|
3631 |
$am__usable_prefix*)
|
|
3632 |
am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
|
|
3633 |
am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
|
|
3634 |
;;
|
|
3635 |
*)
|
|
3636 |
am_python_prefix_subst=$am_cv_python_prefix
|
|
3637 |
;;
|
|
3638 |
esac
|
|
3639 |
|
|
3640 |
fi
|
|
3641 |
|
|
3642 |
PYTHON_PREFIX=$am_python_prefix_subst
|
|
3643 |
|
|
3644 |
|
|
3645 |
|
|
3646 |
# Check whether --with-python_exec_prefix was given.
|
|
3647 |
if test ${with_python_exec_prefix+y}
|
|
3648 |
then :
|
|
3649 |
withval=$with_python_exec_prefix; am_python_exec_prefix_subst="$withval"
|
|
3650 |
am_cv_python_exec_prefix="$withval"
|
|
3651 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
|
|
3652 |
printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
|
|
3653 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
|
|
3654 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
|
|
3655 |
else $as_nop
|
|
3656 |
|
|
3657 |
if test -n "$with_python_prefix"
|
|
3658 |
then :
|
|
3659 |
am_python_exec_prefix_subst="$with_python_prefix"
|
|
3660 |
am_cv_python_exec_prefix="$with_python_prefix"
|
|
3661 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
|
|
3662 |
printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
|
|
3663 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
|
|
3664 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
|
|
3665 |
else $as_nop
|
|
3666 |
|
|
3667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
|
|
3668 |
printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
|
|
3669 |
if test ${am_cv_python_exec_prefix+y}
|
|
3670 |
then :
|
|
3671 |
printf %s "(cached) " >&6
|
|
3672 |
else $as_nop
|
|
3673 |
am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
|
|
3674 |
fi
|
|
3675 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
|
|
3676 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
|
|
3677 |
if test "x$exec_prefix" = xNONE
|
|
3678 |
then
|
|
3679 |
am__usable_exec_prefix=$am__usable_prefix
|
|
3680 |
else
|
|
3681 |
am__usable_exec_prefix=$exec_prefix
|
|
3682 |
fi
|
|
3683 |
case $am_cv_python_exec_prefix in
|
|
3684 |
$am__usable_exec_prefix*)
|
|
3685 |
am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
|
|
3686 |
am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
|
|
3687 |
;;
|
|
3688 |
*)
|
|
3689 |
am_python_exec_prefix_subst=$am_cv_python_exec_prefix
|
|
3690 |
;;
|
|
3691 |
esac
|
|
3692 |
|
|
3693 |
fi
|
|
3694 |
fi
|
|
3695 |
|
|
3696 |
PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
|
|
3697 |
|
|
3698 |
|
|
3699 |
|
|
3700 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
|
|
3701 |
printf %s "checking for $am_display_PYTHON platform... " >&6; }
|
|
3702 |
if test ${am_cv_python_platform+y}
|
|
3703 |
then :
|
|
3704 |
printf %s "(cached) " >&6
|
|
3705 |
else $as_nop
|
3293 | 3706 |
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
|
3294 | 3707 |
fi
|
3295 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
|
3296 | |
$as_echo "$am_cv_python_platform" >&6; }
|
|
3708 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
|
|
3709 |
printf "%s\n" "$am_cv_python_platform" >&6; }
|
3297 | 3710 |
PYTHON_PLATFORM=$am_cv_python_platform
|
3298 | 3711 |
|
3299 | 3712 |
|
|
3318 | 3731 |
pass"
|
3319 | 3732 |
|
3320 | 3733 |
|
3321 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
|
3322 | |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
|
3323 | |
if ${am_cv_python_pythondir+:} false; then :
|
3324 | |
$as_echo_n "(cached) " >&6
|
3325 | |
else
|
3326 | |
if test "x$prefix" = xNONE
|
|
3734 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
|
|
3735 |
printf %s "checking for $am_display_PYTHON script directory... " >&6; }
|
|
3736 |
if test ${am_cv_python_pythondir+y}
|
|
3737 |
then :
|
|
3738 |
printf %s "(cached) " >&6
|
|
3739 |
else $as_nop
|
|
3740 |
if test "x$am_cv_python_prefix" = x
|
3327 | 3741 |
then
|
3328 | |
am_py_prefix=$ac_default_prefix
|
|
3742 |
am_py_prefix=$am__usable_prefix
|
3329 | 3743 |
else
|
3330 | |
am_py_prefix=$prefix
|
|
3744 |
am_py_prefix=$am_cv_python_prefix
|
3331 | 3745 |
fi
|
3332 | 3746 |
am_cv_python_pythondir=`$PYTHON -c "
|
3333 | 3747 |
$am_python_setup_sysconfig
|
|
3340 | 3754 |
case $am_cv_python_pythondir in
|
3341 | 3755 |
$am_py_prefix*)
|
3342 | 3756 |
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
|
3343 | |
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
|
|
3757 |
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
|
3344 | 3758 |
;;
|
3345 | 3759 |
*)
|
3346 | 3760 |
case $am_py_prefix in
|
3347 | 3761 |
/usr|/System*) ;;
|
3348 | 3762 |
*)
|
3349 | |
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
|
|
3763 |
am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
|
3350 | 3764 |
;;
|
3351 | 3765 |
esac
|
3352 | 3766 |
;;
|
3353 | 3767 |
esac
|
3354 | 3768 |
|
3355 | 3769 |
fi
|
3356 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
|
3357 | |
$as_echo "$am_cv_python_pythondir" >&6; }
|
|
3770 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
|
|
3771 |
printf "%s\n" "$am_cv_python_pythondir" >&6; }
|
3358 | 3772 |
pythondir=$am_cv_python_pythondir
|
3359 | 3773 |
|
3360 | 3774 |
|
|
3362 | 3776 |
pkgpythondir=\${pythondir}/$PACKAGE
|
3363 | 3777 |
|
3364 | 3778 |
|
3365 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
|
3366 | |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
|
3367 | |
if ${am_cv_python_pyexecdir+:} false; then :
|
3368 | |
$as_echo_n "(cached) " >&6
|
3369 | |
else
|
3370 | |
if test "x$exec_prefix" = xNONE
|
|
3779 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
|
|
3780 |
printf %s "checking for $am_display_PYTHON extension module directory... " >&6; }
|
|
3781 |
if test ${am_cv_python_pyexecdir+y}
|
|
3782 |
then :
|
|
3783 |
printf %s "(cached) " >&6
|
|
3784 |
else $as_nop
|
|
3785 |
if test "x$am_cv_python_exec_prefix" = x
|
3371 | 3786 |
then
|
3372 | |
am_py_exec_prefix=$am_py_prefix
|
|
3787 |
am_py_exec_prefix=$am__usable_exec_prefix
|
3373 | 3788 |
else
|
3374 | |
am_py_exec_prefix=$exec_prefix
|
|
3789 |
am_py_exec_prefix=$am_cv_python_exec_prefix
|
3375 | 3790 |
fi
|
3376 | 3791 |
am_cv_python_pyexecdir=`$PYTHON -c "
|
3377 | 3792 |
$am_python_setup_sysconfig
|
3378 | 3793 |
if can_use_sysconfig:
|
3379 | |
sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
|
|
3794 |
sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
|
3380 | 3795 |
else:
|
3381 | 3796 |
from distutils import sysconfig
|
3382 | |
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
|
|
3797 |
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
|
3383 | 3798 |
sys.stdout.write(sitedir)"`
|
3384 | 3799 |
case $am_cv_python_pyexecdir in
|
3385 | 3800 |
$am_py_exec_prefix*)
|
3386 | 3801 |
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
|
3387 | |
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
|
|
3802 |
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
|
3388 | 3803 |
;;
|
3389 | 3804 |
*)
|
3390 | 3805 |
case $am_py_exec_prefix in
|
3391 | 3806 |
/usr|/System*) ;;
|
3392 | 3807 |
*)
|
3393 | |
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
|
|
3808 |
am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
|
3394 | 3809 |
;;
|
3395 | 3810 |
esac
|
3396 | 3811 |
;;
|
3397 | 3812 |
esac
|
3398 | 3813 |
|
3399 | 3814 |
fi
|
3400 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
|
3401 | |
$as_echo "$am_cv_python_pyexecdir" >&6; }
|
|
3815 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
|
|
3816 |
printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
|
3402 | 3817 |
pyexecdir=$am_cv_python_pyexecdir
|
3403 | 3818 |
|
3404 | 3819 |
|
|
3412 | 3827 |
|
3413 | 3828 |
|
3414 | 3829 |
# Checks for programs.
|
|
3830 |
|
|
3831 |
|
|
3832 |
|
|
3833 |
|
|
3834 |
|
|
3835 |
|
|
3836 |
|
|
3837 |
|
|
3838 |
|
3415 | 3839 |
ac_ext=c
|
3416 | 3840 |
ac_cpp='$CPP $CPPFLAGS'
|
3417 | 3841 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3420 | 3844 |
if test -n "$ac_tool_prefix"; then
|
3421 | 3845 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3422 | 3846 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3423 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3424 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3425 | |
if ${ac_cv_prog_CC+:} false; then :
|
3426 | |
$as_echo_n "(cached) " >&6
|
3427 | |
else
|
|
3847 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3848 |
printf %s "checking for $ac_word... " >&6; }
|
|
3849 |
if test ${ac_cv_prog_CC+y}
|
|
3850 |
then :
|
|
3851 |
printf %s "(cached) " >&6
|
|
3852 |
else $as_nop
|
3428 | 3853 |
if test -n "$CC"; then
|
3429 | 3854 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3430 | 3855 |
else
|
|
3432 | 3857 |
for as_dir in $PATH
|
3433 | 3858 |
do
|
3434 | 3859 |
IFS=$as_save_IFS
|
3435 | |
test -z "$as_dir" && as_dir=.
|
|
3860 |
case $as_dir in #(((
|
|
3861 |
'') as_dir=./ ;;
|
|
3862 |
*/) ;;
|
|
3863 |
*) as_dir=$as_dir/ ;;
|
|
3864 |
esac
|
3436 | 3865 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3437 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3866 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3438 | 3867 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3439 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3868 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3440 | 3869 |
break 2
|
3441 | 3870 |
fi
|
3442 | 3871 |
done
|
|
3447 | 3876 |
fi
|
3448 | 3877 |
CC=$ac_cv_prog_CC
|
3449 | 3878 |
if test -n "$CC"; then
|
3450 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3451 | |
$as_echo "$CC" >&6; }
|
|
3879 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3880 |
printf "%s\n" "$CC" >&6; }
|
3452 | 3881 |
else
|
3453 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3454 | |
$as_echo "no" >&6; }
|
|
3882 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3883 |
printf "%s\n" "no" >&6; }
|
3455 | 3884 |
fi
|
3456 | 3885 |
|
3457 | 3886 |
|
|
3460 | 3889 |
ac_ct_CC=$CC
|
3461 | 3890 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3462 | 3891 |
set dummy gcc; ac_word=$2
|
3463 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3464 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3465 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3466 | |
$as_echo_n "(cached) " >&6
|
3467 | |
else
|
|
3892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3893 |
printf %s "checking for $ac_word... " >&6; }
|
|
3894 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
3895 |
then :
|
|
3896 |
printf %s "(cached) " >&6
|
|
3897 |
else $as_nop
|
3468 | 3898 |
if test -n "$ac_ct_CC"; then
|
3469 | 3899 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3470 | 3900 |
else
|
|
3472 | 3902 |
for as_dir in $PATH
|
3473 | 3903 |
do
|
3474 | 3904 |
IFS=$as_save_IFS
|
3475 | |
test -z "$as_dir" && as_dir=.
|
|
3905 |
case $as_dir in #(((
|
|
3906 |
'') as_dir=./ ;;
|
|
3907 |
*/) ;;
|
|
3908 |
*) as_dir=$as_dir/ ;;
|
|
3909 |
esac
|
3476 | 3910 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3477 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3911 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3478 | 3912 |
ac_cv_prog_ac_ct_CC="gcc"
|
3479 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3913 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3480 | 3914 |
break 2
|
3481 | 3915 |
fi
|
3482 | 3916 |
done
|
|
3487 | 3921 |
fi
|
3488 | 3922 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3489 | 3923 |
if test -n "$ac_ct_CC"; then
|
3490 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3491 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
3924 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3925 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
3492 | 3926 |
else
|
3493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3494 | |
$as_echo "no" >&6; }
|
|
3927 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3928 |
printf "%s\n" "no" >&6; }
|
3495 | 3929 |
fi
|
3496 | 3930 |
|
3497 | 3931 |
if test "x$ac_ct_CC" = x; then
|
|
3499 | 3933 |
else
|
3500 | 3934 |
case $cross_compiling:$ac_tool_warned in
|
3501 | 3935 |
yes:)
|
3502 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3503 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3936 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3937 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3504 | 3938 |
ac_tool_warned=yes ;;
|
3505 | 3939 |
esac
|
3506 | 3940 |
CC=$ac_ct_CC
|
|
3513 | 3947 |
if test -n "$ac_tool_prefix"; then
|
3514 | 3948 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3515 | 3949 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3516 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3517 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3518 | |
if ${ac_cv_prog_CC+:} false; then :
|
3519 | |
$as_echo_n "(cached) " >&6
|
3520 | |
else
|
|
3950 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3951 |
printf %s "checking for $ac_word... " >&6; }
|
|
3952 |
if test ${ac_cv_prog_CC+y}
|
|
3953 |
then :
|
|
3954 |
printf %s "(cached) " >&6
|
|
3955 |
else $as_nop
|
3521 | 3956 |
if test -n "$CC"; then
|
3522 | 3957 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3523 | 3958 |
else
|
|
3525 | 3960 |
for as_dir in $PATH
|
3526 | 3961 |
do
|
3527 | 3962 |
IFS=$as_save_IFS
|
3528 | |
test -z "$as_dir" && as_dir=.
|
|
3963 |
case $as_dir in #(((
|
|
3964 |
'') as_dir=./ ;;
|
|
3965 |
*/) ;;
|
|
3966 |
*) as_dir=$as_dir/ ;;
|
|
3967 |
esac
|
3529 | 3968 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3530 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3969 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3531 | 3970 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3532 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3971 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3533 | 3972 |
break 2
|
3534 | 3973 |
fi
|
3535 | 3974 |
done
|
|
3540 | 3979 |
fi
|
3541 | 3980 |
CC=$ac_cv_prog_CC
|
3542 | 3981 |
if test -n "$CC"; then
|
3543 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3544 | |
$as_echo "$CC" >&6; }
|
|
3982 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3983 |
printf "%s\n" "$CC" >&6; }
|
3545 | 3984 |
else
|
3546 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3547 | |
$as_echo "no" >&6; }
|
|
3985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3986 |
printf "%s\n" "no" >&6; }
|
3548 | 3987 |
fi
|
3549 | 3988 |
|
3550 | 3989 |
|
|
3553 | 3992 |
if test -z "$CC"; then
|
3554 | 3993 |
# Extract the first word of "cc", so it can be a program name with args.
|
3555 | 3994 |
set dummy cc; ac_word=$2
|
3556 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3557 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3558 | |
if ${ac_cv_prog_CC+:} false; then :
|
3559 | |
$as_echo_n "(cached) " >&6
|
3560 | |
else
|
|
3995 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3996 |
printf %s "checking for $ac_word... " >&6; }
|
|
3997 |
if test ${ac_cv_prog_CC+y}
|
|
3998 |
then :
|
|
3999 |
printf %s "(cached) " >&6
|
|
4000 |
else $as_nop
|
3561 | 4001 |
if test -n "$CC"; then
|
3562 | 4002 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3563 | 4003 |
else
|
|
3566 | 4006 |
for as_dir in $PATH
|
3567 | 4007 |
do
|
3568 | 4008 |
IFS=$as_save_IFS
|
3569 | |
test -z "$as_dir" && as_dir=.
|
|
4009 |
case $as_dir in #(((
|
|
4010 |
'') as_dir=./ ;;
|
|
4011 |
*/) ;;
|
|
4012 |
*) as_dir=$as_dir/ ;;
|
|
4013 |
esac
|
3570 | 4014 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3571 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3572 | |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
4015 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4016 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3573 | 4017 |
ac_prog_rejected=yes
|
3574 | 4018 |
continue
|
3575 | 4019 |
fi
|
3576 | 4020 |
ac_cv_prog_CC="cc"
|
3577 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4021 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3578 | 4022 |
break 2
|
3579 | 4023 |
fi
|
3580 | 4024 |
done
|
|
3590 | 4034 |
# However, it has the same basename, so the bogon will be chosen
|
3591 | 4035 |
# first if we set CC to just the basename; use the full file name.
|
3592 | 4036 |
shift
|
3593 | |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
4037 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
|
3594 | 4038 |
fi
|
3595 | 4039 |
fi
|
3596 | 4040 |
fi
|
3597 | 4041 |
fi
|
3598 | 4042 |
CC=$ac_cv_prog_CC
|
3599 | 4043 |
if test -n "$CC"; then
|
3600 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3601 | |
$as_echo "$CC" >&6; }
|
|
4044 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4045 |
printf "%s\n" "$CC" >&6; }
|
3602 | 4046 |
else
|
3603 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3604 | |
$as_echo "no" >&6; }
|
|
4047 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4048 |
printf "%s\n" "no" >&6; }
|
3605 | 4049 |
fi
|
3606 | 4050 |
|
3607 | 4051 |
|
|
3612 | 4056 |
do
|
3613 | 4057 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3614 | 4058 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3615 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3616 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3617 | |
if ${ac_cv_prog_CC+:} false; then :
|
3618 | |
$as_echo_n "(cached) " >&6
|
3619 | |
else
|
|
4059 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4060 |
printf %s "checking for $ac_word... " >&6; }
|
|
4061 |
if test ${ac_cv_prog_CC+y}
|
|
4062 |
then :
|
|
4063 |
printf %s "(cached) " >&6
|
|
4064 |
else $as_nop
|
3620 | 4065 |
if test -n "$CC"; then
|
3621 | 4066 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3622 | 4067 |
else
|
|
3624 | 4069 |
for as_dir in $PATH
|
3625 | 4070 |
do
|
3626 | 4071 |
IFS=$as_save_IFS
|
3627 | |
test -z "$as_dir" && as_dir=.
|
|
4072 |
case $as_dir in #(((
|
|
4073 |
'') as_dir=./ ;;
|
|
4074 |
*/) ;;
|
|
4075 |
*) as_dir=$as_dir/ ;;
|
|
4076 |
esac
|
3628 | 4077 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3629 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4078 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3630 | 4079 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3631 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4080 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3632 | 4081 |
break 2
|
3633 | 4082 |
fi
|
3634 | 4083 |
done
|
|
3639 | 4088 |
fi
|
3640 | 4089 |
CC=$ac_cv_prog_CC
|
3641 | 4090 |
if test -n "$CC"; then
|
3642 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3643 | |
$as_echo "$CC" >&6; }
|
|
4091 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4092 |
printf "%s\n" "$CC" >&6; }
|
3644 | 4093 |
else
|
3645 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3646 | |
$as_echo "no" >&6; }
|
|
4094 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4095 |
printf "%s\n" "no" >&6; }
|
3647 | 4096 |
fi
|
3648 | 4097 |
|
3649 | 4098 |
|
|
3656 | 4105 |
do
|
3657 | 4106 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3658 | 4107 |
set dummy $ac_prog; ac_word=$2
|
3659 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3660 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3661 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3662 | |
$as_echo_n "(cached) " >&6
|
3663 | |
else
|
|
4108 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4109 |
printf %s "checking for $ac_word... " >&6; }
|
|
4110 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4111 |
then :
|
|
4112 |
printf %s "(cached) " >&6
|
|
4113 |
else $as_nop
|
3664 | 4114 |
if test -n "$ac_ct_CC"; then
|
3665 | 4115 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3666 | 4116 |
else
|
|
3668 | 4118 |
for as_dir in $PATH
|
3669 | 4119 |
do
|
3670 | 4120 |
IFS=$as_save_IFS
|
3671 | |
test -z "$as_dir" && as_dir=.
|
|
4121 |
case $as_dir in #(((
|
|
4122 |
'') as_dir=./ ;;
|
|
4123 |
*/) ;;
|
|
4124 |
*) as_dir=$as_dir/ ;;
|
|
4125 |
esac
|
3672 | 4126 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3673 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4127 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3674 | 4128 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3675 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4129 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3676 | 4130 |
break 2
|
3677 | 4131 |
fi
|
3678 | 4132 |
done
|
|
3683 | 4137 |
fi
|
3684 | 4138 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3685 | 4139 |
if test -n "$ac_ct_CC"; then
|
3686 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3687 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
4140 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4141 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
3688 | 4142 |
else
|
3689 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3690 | |
$as_echo "no" >&6; }
|
|
4143 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4144 |
printf "%s\n" "no" >&6; }
|
3691 | 4145 |
fi
|
3692 | 4146 |
|
3693 | 4147 |
|
|
3699 | 4153 |
else
|
3700 | 4154 |
case $cross_compiling:$ac_tool_warned in
|
3701 | 4155 |
yes:)
|
3702 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3703 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4156 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4157 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3704 | 4158 |
ac_tool_warned=yes ;;
|
3705 | 4159 |
esac
|
3706 | 4160 |
CC=$ac_ct_CC
|
|
3708 | 4162 |
fi
|
3709 | 4163 |
|
3710 | 4164 |
fi
|
3711 | |
|
3712 | |
|
3713 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3714 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4165 |
if test -z "$CC"; then
|
|
4166 |
if test -n "$ac_tool_prefix"; then
|
|
4167 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
|
|
4168 |
set dummy ${ac_tool_prefix}clang; ac_word=$2
|
|
4169 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4170 |
printf %s "checking for $ac_word... " >&6; }
|
|
4171 |
if test ${ac_cv_prog_CC+y}
|
|
4172 |
then :
|
|
4173 |
printf %s "(cached) " >&6
|
|
4174 |
else $as_nop
|
|
4175 |
if test -n "$CC"; then
|
|
4176 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4177 |
else
|
|
4178 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4179 |
for as_dir in $PATH
|
|
4180 |
do
|
|
4181 |
IFS=$as_save_IFS
|
|
4182 |
case $as_dir in #(((
|
|
4183 |
'') as_dir=./ ;;
|
|
4184 |
*/) ;;
|
|
4185 |
*) as_dir=$as_dir/ ;;
|
|
4186 |
esac
|
|
4187 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4188 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4189 |
ac_cv_prog_CC="${ac_tool_prefix}clang"
|
|
4190 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4191 |
break 2
|
|
4192 |
fi
|
|
4193 |
done
|
|
4194 |
done
|
|
4195 |
IFS=$as_save_IFS
|
|
4196 |
|
|
4197 |
fi
|
|
4198 |
fi
|
|
4199 |
CC=$ac_cv_prog_CC
|
|
4200 |
if test -n "$CC"; then
|
|
4201 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4202 |
printf "%s\n" "$CC" >&6; }
|
|
4203 |
else
|
|
4204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4205 |
printf "%s\n" "no" >&6; }
|
|
4206 |
fi
|
|
4207 |
|
|
4208 |
|
|
4209 |
fi
|
|
4210 |
if test -z "$ac_cv_prog_CC"; then
|
|
4211 |
ac_ct_CC=$CC
|
|
4212 |
# Extract the first word of "clang", so it can be a program name with args.
|
|
4213 |
set dummy clang; ac_word=$2
|
|
4214 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4215 |
printf %s "checking for $ac_word... " >&6; }
|
|
4216 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4217 |
then :
|
|
4218 |
printf %s "(cached) " >&6
|
|
4219 |
else $as_nop
|
|
4220 |
if test -n "$ac_ct_CC"; then
|
|
4221 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4222 |
else
|
|
4223 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4224 |
for as_dir in $PATH
|
|
4225 |
do
|
|
4226 |
IFS=$as_save_IFS
|
|
4227 |
case $as_dir in #(((
|
|
4228 |
'') as_dir=./ ;;
|
|
4229 |
*/) ;;
|
|
4230 |
*) as_dir=$as_dir/ ;;
|
|
4231 |
esac
|
|
4232 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4233 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4234 |
ac_cv_prog_ac_ct_CC="clang"
|
|
4235 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4236 |
break 2
|
|
4237 |
fi
|
|
4238 |
done
|
|
4239 |
done
|
|
4240 |
IFS=$as_save_IFS
|
|
4241 |
|
|
4242 |
fi
|
|
4243 |
fi
|
|
4244 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
4245 |
if test -n "$ac_ct_CC"; then
|
|
4246 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4247 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4248 |
else
|
|
4249 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4250 |
printf "%s\n" "no" >&6; }
|
|
4251 |
fi
|
|
4252 |
|
|
4253 |
if test "x$ac_ct_CC" = x; then
|
|
4254 |
CC=""
|
|
4255 |
else
|
|
4256 |
case $cross_compiling:$ac_tool_warned in
|
|
4257 |
yes:)
|
|
4258 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4259 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4260 |
ac_tool_warned=yes ;;
|
|
4261 |
esac
|
|
4262 |
CC=$ac_ct_CC
|
|
4263 |
fi
|
|
4264 |
else
|
|
4265 |
CC="$ac_cv_prog_CC"
|
|
4266 |
fi
|
|
4267 |
|
|
4268 |
fi
|
|
4269 |
|
|
4270 |
|
|
4271 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4272 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3715 | 4273 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
3716 | 4274 |
See \`config.log' for more details" "$LINENO" 5; }
|
3717 | 4275 |
|
3718 | 4276 |
# Provide some information about the compiler.
|
3719 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
4277 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3720 | 4278 |
set X $ac_compile
|
3721 | 4279 |
ac_compiler=$2
|
3722 | |
for ac_option in --version -v -V -qversion; do
|
|
4280 |
for ac_option in --version -v -V -qversion -version; do
|
3723 | 4281 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3724 | 4282 |
case "(($ac_try" in
|
3725 | 4283 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3726 | 4284 |
*) ac_try_echo=$ac_try;;
|
3727 | 4285 |
esac
|
3728 | 4286 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3729 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4287 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3730 | 4288 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3731 | 4289 |
ac_status=$?
|
3732 | 4290 |
if test -s conftest.err; then
|
|
3736 | 4294 |
cat conftest.er1 >&5
|
3737 | 4295 |
fi
|
3738 | 4296 |
rm -f conftest.er1 conftest.err
|
3739 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4297 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3740 | 4298 |
test $ac_status = 0; }
|
3741 | 4299 |
done
|
3742 | 4300 |
|
|
3744 | 4302 |
/* end confdefs.h. */
|
3745 | 4303 |
|
3746 | 4304 |
int
|
3747 | |
main ()
|
|
4305 |
main (void)
|
3748 | 4306 |
{
|
3749 | 4307 |
|
3750 | 4308 |
;
|
|
3756 | 4314 |
# Try to create an executable without -o first, disregard a.out.
|
3757 | 4315 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3758 | 4316 |
# of exeext.
|
3759 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
3760 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3761 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
4317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
4318 |
printf %s "checking whether the C compiler works... " >&6; }
|
|
4319 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3762 | 4320 |
|
3763 | 4321 |
# The possible output files:
|
3764 | 4322 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3779 | 4337 |
*) ac_try_echo=$ac_try;;
|
3780 | 4338 |
esac
|
3781 | 4339 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3782 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4340 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3783 | 4341 |
(eval "$ac_link_default") 2>&5
|
3784 | 4342 |
ac_status=$?
|
3785 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3786 | |
test $ac_status = 0; }; then :
|
|
4343 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4344 |
test $ac_status = 0; }
|
|
4345 |
then :
|
3787 | 4346 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3788 | 4347 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3789 | 4348 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3800 | 4359 |
# certainly right.
|
3801 | 4360 |
break;;
|
3802 | 4361 |
*.* )
|
3803 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
4362 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
|
3804 | 4363 |
then :; else
|
3805 | 4364 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3806 | 4365 |
fi
|
|
3816 | 4375 |
done
|
3817 | 4376 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3818 | 4377 |
|
3819 | |
else
|
|
4378 |
else $as_nop
|
3820 | 4379 |
ac_file=''
|
3821 | 4380 |
fi
|
3822 | |
if test -z "$ac_file"; then :
|
3823 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3824 | |
$as_echo "no" >&6; }
|
3825 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4381 |
if test -z "$ac_file"
|
|
4382 |
then :
|
|
4383 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4384 |
printf "%s\n" "no" >&6; }
|
|
4385 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3826 | 4386 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3827 | 4387 |
|
3828 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3829 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4388 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4389 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3830 | 4390 |
as_fn_error 77 "C compiler cannot create executables
|
3831 | 4391 |
See \`config.log' for more details" "$LINENO" 5; }
|
3832 | |
else
|
3833 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3834 | |
$as_echo "yes" >&6; }
|
3835 | |
fi
|
3836 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
3837 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
3838 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3839 | |
$as_echo "$ac_file" >&6; }
|
|
4392 |
else $as_nop
|
|
4393 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
4394 |
printf "%s\n" "yes" >&6; }
|
|
4395 |
fi
|
|
4396 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
4397 |
printf %s "checking for C compiler default output file name... " >&6; }
|
|
4398 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
4399 |
printf "%s\n" "$ac_file" >&6; }
|
3840 | 4400 |
ac_exeext=$ac_cv_exeext
|
3841 | 4401 |
|
3842 | 4402 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3843 | 4403 |
ac_clean_files=$ac_clean_files_save
|
3844 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3845 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
4404 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
4405 |
printf %s "checking for suffix of executables... " >&6; }
|
3846 | 4406 |
if { { ac_try="$ac_link"
|
3847 | 4407 |
case "(($ac_try" in
|
3848 | 4408 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3849 | 4409 |
*) ac_try_echo=$ac_try;;
|
3850 | 4410 |
esac
|
3851 | 4411 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3852 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4412 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3853 | 4413 |
(eval "$ac_link") 2>&5
|
3854 | 4414 |
ac_status=$?
|
3855 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3856 | |
test $ac_status = 0; }; then :
|
|
4415 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4416 |
test $ac_status = 0; }
|
|
4417 |
then :
|
3857 | 4418 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3858 | 4419 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3859 | 4420 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3867 | 4428 |
* ) break;;
|
3868 | 4429 |
esac
|
3869 | 4430 |
done
|
3870 | |
else
|
3871 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3872 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4431 |
else $as_nop
|
|
4432 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4433 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3873 | 4434 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
3874 | 4435 |
See \`config.log' for more details" "$LINENO" 5; }
|
3875 | 4436 |
fi
|
3876 | 4437 |
rm -f conftest conftest$ac_cv_exeext
|
3877 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3878 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
4438 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
4439 |
printf "%s\n" "$ac_cv_exeext" >&6; }
|
3879 | 4440 |
|
3880 | 4441 |
rm -f conftest.$ac_ext
|
3881 | 4442 |
EXEEXT=$ac_cv_exeext
|
|
3884 | 4445 |
/* end confdefs.h. */
|
3885 | 4446 |
#include <stdio.h>
|
3886 | 4447 |
int
|
3887 | |
main ()
|
|
4448 |
main (void)
|
3888 | 4449 |
{
|
3889 | 4450 |
FILE *f = fopen ("conftest.out", "w");
|
3890 | 4451 |
return ferror (f) || fclose (f) != 0;
|
|
3896 | 4457 |
ac_clean_files="$ac_clean_files conftest.out"
|
3897 | 4458 |
# Check that the compiler produces executables we can run. If not, either
|
3898 | 4459 |
# the compiler is broken, or we cross compile.
|
3899 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3900 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
4460 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
4461 |
printf %s "checking whether we are cross compiling... " >&6; }
|
3901 | 4462 |
if test "$cross_compiling" != yes; then
|
3902 | 4463 |
{ { ac_try="$ac_link"
|
3903 | 4464 |
case "(($ac_try" in
|
|
3905 | 4466 |
*) ac_try_echo=$ac_try;;
|
3906 | 4467 |
esac
|
3907 | 4468 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3908 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4469 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3909 | 4470 |
(eval "$ac_link") 2>&5
|
3910 | 4471 |
ac_status=$?
|
3911 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4472 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3912 | 4473 |
test $ac_status = 0; }
|
3913 | 4474 |
if { ac_try='./conftest$ac_cv_exeext'
|
3914 | 4475 |
{ { case "(($ac_try" in
|
|
3916 | 4477 |
*) ac_try_echo=$ac_try;;
|
3917 | 4478 |
esac
|
3918 | 4479 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3919 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4480 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3920 | 4481 |
(eval "$ac_try") 2>&5
|
3921 | 4482 |
ac_status=$?
|
3922 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4483 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3923 | 4484 |
test $ac_status = 0; }; }; then
|
3924 | 4485 |
cross_compiling=no
|
3925 | 4486 |
else
|
3926 | 4487 |
if test "$cross_compiling" = maybe; then
|
3927 | 4488 |
cross_compiling=yes
|
3928 | 4489 |
else
|
3929 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3930 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3931 | |
as_fn_error $? "cannot run C compiled programs.
|
|
4490 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4491 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4492 |
as_fn_error 77 "cannot run C compiled programs.
|
3932 | 4493 |
If you meant to cross compile, use \`--host'.
|
3933 | 4494 |
See \`config.log' for more details" "$LINENO" 5; }
|
3934 | 4495 |
fi
|
3935 | 4496 |
fi
|
3936 | 4497 |
fi
|
3937 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3938 | |
$as_echo "$cross_compiling" >&6; }
|
|
4498 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
4499 |
printf "%s\n" "$cross_compiling" >&6; }
|
3939 | 4500 |
|
3940 | 4501 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
3941 | 4502 |
ac_clean_files=$ac_clean_files_save
|
3942 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3943 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3944 | |
if ${ac_cv_objext+:} false; then :
|
3945 | |
$as_echo_n "(cached) " >&6
|
3946 | |
else
|
|
4503 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
4504 |
printf %s "checking for suffix of object files... " >&6; }
|
|
4505 |
if test ${ac_cv_objext+y}
|
|
4506 |
then :
|
|
4507 |
printf %s "(cached) " >&6
|
|
4508 |
else $as_nop
|
3947 | 4509 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3948 | 4510 |
/* end confdefs.h. */
|
3949 | 4511 |
|
3950 | 4512 |
int
|
3951 | |
main ()
|
|
4513 |
main (void)
|
3952 | 4514 |
{
|
3953 | 4515 |
|
3954 | 4516 |
;
|
|
3962 | 4524 |
*) ac_try_echo=$ac_try;;
|
3963 | 4525 |
esac
|
3964 | 4526 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3965 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4527 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3966 | 4528 |
(eval "$ac_compile") 2>&5
|
3967 | 4529 |
ac_status=$?
|
3968 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3969 | |
test $ac_status = 0; }; then :
|
|
4530 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4531 |
test $ac_status = 0; }
|
|
4532 |
then :
|
3970 | 4533 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3971 | 4534 |
test -f "$ac_file" || continue;
|
3972 | 4535 |
case $ac_file in
|
|
3975 | 4538 |
break;;
|
3976 | 4539 |
esac
|
3977 | 4540 |
done
|
3978 | |
else
|
3979 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4541 |
else $as_nop
|
|
4542 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3980 | 4543 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3981 | 4544 |
|
3982 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3983 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4545 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4546 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3984 | 4547 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
3985 | 4548 |
See \`config.log' for more details" "$LINENO" 5; }
|
3986 | 4549 |
fi
|
3987 | 4550 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3988 | 4551 |
fi
|
3989 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3990 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
4552 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
4553 |
printf "%s\n" "$ac_cv_objext" >&6; }
|
3991 | 4554 |
OBJEXT=$ac_cv_objext
|
3992 | 4555 |
ac_objext=$OBJEXT
|
3993 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3994 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3995 | |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
3996 | |
$as_echo_n "(cached) " >&6
|
3997 | |
else
|
|
4556 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
|
|
4557 |
printf %s "checking whether the compiler supports GNU C... " >&6; }
|
|
4558 |
if test ${ac_cv_c_compiler_gnu+y}
|
|
4559 |
then :
|
|
4560 |
printf %s "(cached) " >&6
|
|
4561 |
else $as_nop
|
3998 | 4562 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3999 | 4563 |
/* end confdefs.h. */
|
4000 | 4564 |
|
4001 | 4565 |
int
|
4002 | |
main ()
|
|
4566 |
main (void)
|
4003 | 4567 |
{
|
4004 | 4568 |
#ifndef __GNUC__
|
4005 | 4569 |
choke me
|
|
4009 | 4573 |
return 0;
|
4010 | 4574 |
}
|
4011 | 4575 |
_ACEOF
|
4012 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4576 |
if ac_fn_c_try_compile "$LINENO"
|
|
4577 |
then :
|
4013 | 4578 |
ac_compiler_gnu=yes
|
4014 | |
else
|
|
4579 |
else $as_nop
|
4015 | 4580 |
ac_compiler_gnu=no
|
4016 | 4581 |
fi
|
4017 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4582 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4018 | 4583 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4019 | 4584 |
|
4020 | 4585 |
fi
|
4021 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
4022 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
4586 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
4587 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
|
|
4588 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4589 |
|
4023 | 4590 |
if test $ac_compiler_gnu = yes; then
|
4024 | 4591 |
GCC=yes
|
4025 | 4592 |
else
|
4026 | 4593 |
GCC=
|
4027 | 4594 |
fi
|
4028 | |
ac_test_CFLAGS=${CFLAGS+set}
|
|
4595 |
ac_test_CFLAGS=${CFLAGS+y}
|
4029 | 4596 |
ac_save_CFLAGS=$CFLAGS
|
4030 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
4031 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
4032 | |
if ${ac_cv_prog_cc_g+:} false; then :
|
4033 | |
$as_echo_n "(cached) " >&6
|
4034 | |
else
|
|
4597 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
4598 |
printf %s "checking whether $CC accepts -g... " >&6; }
|
|
4599 |
if test ${ac_cv_prog_cc_g+y}
|
|
4600 |
then :
|
|
4601 |
printf %s "(cached) " >&6
|
|
4602 |
else $as_nop
|
4035 | 4603 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
4036 | 4604 |
ac_c_werror_flag=yes
|
4037 | 4605 |
ac_cv_prog_cc_g=no
|
|
4040 | 4608 |
/* end confdefs.h. */
|
4041 | 4609 |
|
4042 | 4610 |
int
|
4043 | |
main ()
|
|
4611 |
main (void)
|
4044 | 4612 |
{
|
4045 | 4613 |
|
4046 | 4614 |
;
|
4047 | 4615 |
return 0;
|
4048 | 4616 |
}
|
4049 | 4617 |
_ACEOF
|
4050 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4618 |
if ac_fn_c_try_compile "$LINENO"
|
|
4619 |
then :
|
4051 | 4620 |
ac_cv_prog_cc_g=yes
|
4052 | |
else
|
|
4621 |
else $as_nop
|
4053 | 4622 |
CFLAGS=""
|
4054 | 4623 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4055 | 4624 |
/* end confdefs.h. */
|
4056 | 4625 |
|
4057 | 4626 |
int
|
4058 | |
main ()
|
|
4627 |
main (void)
|
4059 | 4628 |
{
|
4060 | 4629 |
|
4061 | 4630 |
;
|
4062 | 4631 |
return 0;
|
4063 | 4632 |
}
|
4064 | 4633 |
_ACEOF
|
4065 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4066 | |
|
4067 | |
else
|
|
4634 |
if ac_fn_c_try_compile "$LINENO"
|
|
4635 |
then :
|
|
4636 |
|
|
4637 |
else $as_nop
|
4068 | 4638 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4069 | 4639 |
CFLAGS="-g"
|
4070 | 4640 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4071 | 4641 |
/* end confdefs.h. */
|
4072 | 4642 |
|
4073 | 4643 |
int
|
4074 | |
main ()
|
|
4644 |
main (void)
|
4075 | 4645 |
{
|
4076 | 4646 |
|
4077 | 4647 |
;
|
4078 | 4648 |
return 0;
|
4079 | 4649 |
}
|
4080 | 4650 |
_ACEOF
|
4081 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4651 |
if ac_fn_c_try_compile "$LINENO"
|
|
4652 |
then :
|
4082 | 4653 |
ac_cv_prog_cc_g=yes
|
4083 | 4654 |
fi
|
4084 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4085 | |
fi
|
4086 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4087 | |
fi
|
4088 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4655 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4656 |
fi
|
|
4657 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4658 |
fi
|
|
4659 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4089 | 4660 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4090 | 4661 |
fi
|
4091 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
4092 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
4093 | |
if test "$ac_test_CFLAGS" = set; then
|
|
4662 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
4663 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
|
4664 |
if test $ac_test_CFLAGS; then
|
4094 | 4665 |
CFLAGS=$ac_save_CFLAGS
|
4095 | 4666 |
elif test $ac_cv_prog_cc_g = yes; then
|
4096 | 4667 |
if test "$GCC" = yes; then
|
|
4105 | 4676 |
CFLAGS=
|
4106 | 4677 |
fi
|
4107 | 4678 |
fi
|
4108 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4109 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4110 | |
if ${ac_cv_prog_cc_c89+:} false; then :
|
4111 | |
$as_echo_n "(cached) " >&6
|
4112 | |
else
|
|
4679 |
ac_prog_cc_stdc=no
|
|
4680 |
if test x$ac_prog_cc_stdc = xno
|
|
4681 |
then :
|
|
4682 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
|
|
4683 |
printf %s "checking for $CC option to enable C11 features... " >&6; }
|
|
4684 |
if test ${ac_cv_prog_cc_c11+y}
|
|
4685 |
then :
|
|
4686 |
printf %s "(cached) " >&6
|
|
4687 |
else $as_nop
|
|
4688 |
ac_cv_prog_cc_c11=no
|
|
4689 |
ac_save_CC=$CC
|
|
4690 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4691 |
/* end confdefs.h. */
|
|
4692 |
$ac_c_conftest_c11_program
|
|
4693 |
_ACEOF
|
|
4694 |
for ac_arg in '' -std=gnu11
|
|
4695 |
do
|
|
4696 |
CC="$ac_save_CC $ac_arg"
|
|
4697 |
if ac_fn_c_try_compile "$LINENO"
|
|
4698 |
then :
|
|
4699 |
ac_cv_prog_cc_c11=$ac_arg
|
|
4700 |
fi
|
|
4701 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4702 |
test "x$ac_cv_prog_cc_c11" != "xno" && break
|
|
4703 |
done
|
|
4704 |
rm -f conftest.$ac_ext
|
|
4705 |
CC=$ac_save_CC
|
|
4706 |
fi
|
|
4707 |
|
|
4708 |
if test "x$ac_cv_prog_cc_c11" = xno
|
|
4709 |
then :
|
|
4710 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4711 |
printf "%s\n" "unsupported" >&6; }
|
|
4712 |
else $as_nop
|
|
4713 |
if test "x$ac_cv_prog_cc_c11" = x
|
|
4714 |
then :
|
|
4715 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4716 |
printf "%s\n" "none needed" >&6; }
|
|
4717 |
else $as_nop
|
|
4718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
|
|
4719 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
|
|
4720 |
CC="$CC $ac_cv_prog_cc_c11"
|
|
4721 |
fi
|
|
4722 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
|
|
4723 |
ac_prog_cc_stdc=c11
|
|
4724 |
fi
|
|
4725 |
fi
|
|
4726 |
if test x$ac_prog_cc_stdc = xno
|
|
4727 |
then :
|
|
4728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
|
|
4729 |
printf %s "checking for $CC option to enable C99 features... " >&6; }
|
|
4730 |
if test ${ac_cv_prog_cc_c99+y}
|
|
4731 |
then :
|
|
4732 |
printf %s "(cached) " >&6
|
|
4733 |
else $as_nop
|
|
4734 |
ac_cv_prog_cc_c99=no
|
|
4735 |
ac_save_CC=$CC
|
|
4736 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4737 |
/* end confdefs.h. */
|
|
4738 |
$ac_c_conftest_c99_program
|
|
4739 |
_ACEOF
|
|
4740 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
|
|
4741 |
do
|
|
4742 |
CC="$ac_save_CC $ac_arg"
|
|
4743 |
if ac_fn_c_try_compile "$LINENO"
|
|
4744 |
then :
|
|
4745 |
ac_cv_prog_cc_c99=$ac_arg
|
|
4746 |
fi
|
|
4747 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4748 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
4749 |
done
|
|
4750 |
rm -f conftest.$ac_ext
|
|
4751 |
CC=$ac_save_CC
|
|
4752 |
fi
|
|
4753 |
|
|
4754 |
if test "x$ac_cv_prog_cc_c99" = xno
|
|
4755 |
then :
|
|
4756 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4757 |
printf "%s\n" "unsupported" >&6; }
|
|
4758 |
else $as_nop
|
|
4759 |
if test "x$ac_cv_prog_cc_c99" = x
|
|
4760 |
then :
|
|
4761 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4762 |
printf "%s\n" "none needed" >&6; }
|
|
4763 |
else $as_nop
|
|
4764 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
4765 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
|
|
4766 |
CC="$CC $ac_cv_prog_cc_c99"
|
|
4767 |
fi
|
|
4768 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
4769 |
ac_prog_cc_stdc=c99
|
|
4770 |
fi
|
|
4771 |
fi
|
|
4772 |
if test x$ac_prog_cc_stdc = xno
|
|
4773 |
then :
|
|
4774 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
|
|
4775 |
printf %s "checking for $CC option to enable C89 features... " >&6; }
|
|
4776 |
if test ${ac_cv_prog_cc_c89+y}
|
|
4777 |
then :
|
|
4778 |
printf %s "(cached) " >&6
|
|
4779 |
else $as_nop
|
4113 | 4780 |
ac_cv_prog_cc_c89=no
|
4114 | 4781 |
ac_save_CC=$CC
|
4115 | 4782 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4116 | 4783 |
/* end confdefs.h. */
|
4117 | |
#include <stdarg.h>
|
4118 | |
#include <stdio.h>
|
4119 | |
struct stat;
|
4120 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4121 | |
struct buf { int x; };
|
4122 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
4123 | |
static char *e (p, i)
|
4124 | |
char **p;
|
4125 | |
int i;
|
4126 | |
{
|
4127 | |
return p[i];
|
4128 | |
}
|
4129 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
4130 | |
{
|
4131 | |
char *s;
|
4132 | |
va_list v;
|
4133 | |
va_start (v,p);
|
4134 | |
s = g (p, va_arg (v,int));
|
4135 | |
va_end (v);
|
4136 | |
return s;
|
4137 | |
}
|
4138 | |
|
4139 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4140 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
4141 | |
These don't provoke an error unfortunately, instead are silently treated
|
4142 | |
as 'x'. The following induces an error, until -std is added to get
|
4143 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4144 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
4145 | |
that's true only with -std. */
|
4146 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4147 | |
|
4148 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4149 | |
inside strings and character constants. */
|
4150 | |
#define FOO(x) 'x'
|
4151 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4152 | |
|
4153 | |
int test (int i, double x);
|
4154 | |
struct s1 {int (*f) (int a);};
|
4155 | |
struct s2 {int (*f) (double a);};
|
4156 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
4157 | |
int argc;
|
4158 | |
char **argv;
|
4159 | |
int
|
4160 | |
main ()
|
4161 | |
{
|
4162 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
4163 | |
;
|
4164 | |
return 0;
|
4165 | |
}
|
|
4784 |
$ac_c_conftest_c89_program
|
4166 | 4785 |
_ACEOF
|
4167 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4168 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
4786 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4169 | 4787 |
do
|
4170 | 4788 |
CC="$ac_save_CC $ac_arg"
|
4171 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4789 |
if ac_fn_c_try_compile "$LINENO"
|
|
4790 |
then :
|
4172 | 4791 |
ac_cv_prog_cc_c89=$ac_arg
|
4173 | 4792 |
fi
|
4174 | |
rm -f core conftest.err conftest.$ac_objext
|
|
4793 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
4175 | 4794 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4176 | 4795 |
done
|
4177 | 4796 |
rm -f conftest.$ac_ext
|
4178 | 4797 |
CC=$ac_save_CC
|
4179 | |
|
4180 | |
fi
|
4181 | |
# AC_CACHE_VAL
|
4182 | |
case "x$ac_cv_prog_cc_c89" in
|
4183 | |
x)
|
4184 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4185 | |
$as_echo "none needed" >&6; } ;;
|
4186 | |
xno)
|
4187 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4188 | |
$as_echo "unsupported" >&6; } ;;
|
4189 | |
*)
|
4190 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4191 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4192 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4193 | |
esac
|
4194 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4195 | |
|
|
4798 |
fi
|
|
4799 |
|
|
4800 |
if test "x$ac_cv_prog_cc_c89" = xno
|
|
4801 |
then :
|
|
4802 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4803 |
printf "%s\n" "unsupported" >&6; }
|
|
4804 |
else $as_nop
|
|
4805 |
if test "x$ac_cv_prog_cc_c89" = x
|
|
4806 |
then :
|
|
4807 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4808 |
printf "%s\n" "none needed" >&6; }
|
|
4809 |
else $as_nop
|
|
4810 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
4811 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
|
|
4812 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
4813 |
fi
|
|
4814 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
4815 |
ac_prog_cc_stdc=c89
|
|
4816 |
fi
|
4196 | 4817 |
fi
|
4197 | 4818 |
|
4198 | 4819 |
ac_ext=c
|
|
4201 | 4822 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4202 | 4823 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4203 | 4824 |
|
4204 | |
ac_ext=c
|
|
4825 |
|
|
4826 |
ac_ext=c
|
4205 | 4827 |
ac_cpp='$CPP $CPPFLAGS'
|
4206 | 4828 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4207 | 4829 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4208 | 4830 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4209 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
4210 | |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
4211 | |
if ${am_cv_prog_cc_c_o+:} false; then :
|
4212 | |
$as_echo_n "(cached) " >&6
|
4213 | |
else
|
|
4831 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
4832 |
printf %s "checking whether $CC understands -c and -o together... " >&6; }
|
|
4833 |
if test ${am_cv_prog_cc_c_o+y}
|
|
4834 |
then :
|
|
4835 |
printf %s "(cached) " >&6
|
|
4836 |
else $as_nop
|
4214 | 4837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4215 | 4838 |
/* end confdefs.h. */
|
4216 | 4839 |
|
4217 | 4840 |
int
|
4218 | |
main ()
|
|
4841 |
main (void)
|
4219 | 4842 |
{
|
4220 | 4843 |
|
4221 | 4844 |
;
|
|
4243 | 4866 |
rm -f core conftest*
|
4244 | 4867 |
unset am_i
|
4245 | 4868 |
fi
|
4246 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
4247 | |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
4869 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
4870 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
|
4248 | 4871 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
4249 | 4872 |
# Losing compiler, so override with the script.
|
4250 | 4873 |
# FIXME: It is wrong to rewrite CC.
|
|
4263 | 4886 |
|
4264 | 4887 |
ac_config_commands="$ac_config_commands depfiles"
|
4265 | 4888 |
|
4266 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
4267 | |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
4889 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
4890 |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
4268 | 4891 |
cat > confinc.mk << 'END'
|
4269 | 4892 |
am__doit:
|
4270 | 4893 |
@echo this is the am__doit target >confinc.out
|
|
4300 | 4923 |
fi
|
4301 | 4924 |
done
|
4302 | 4925 |
rm -f confinc.* confmf.*
|
4303 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
4304 | |
$as_echo "${_am_result}" >&6; }
|
|
4926 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
4927 |
printf "%s\n" "${_am_result}" >&6; }
|
4305 | 4928 |
|
4306 | 4929 |
# Check whether --enable-dependency-tracking was given.
|
4307 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
4930 |
if test ${enable_dependency_tracking+y}
|
|
4931 |
then :
|
4308 | 4932 |
enableval=$enable_dependency_tracking;
|
4309 | 4933 |
fi
|
4310 | 4934 |
|
|
4325 | 4949 |
|
4326 | 4950 |
depcc="$CC" am_compiler_list=
|
4327 | 4951 |
|
4328 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4329 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4330 | |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
4331 | |
$as_echo_n "(cached) " >&6
|
4332 | |
else
|
|
4952 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4953 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
4954 |
if test ${am_cv_CC_dependencies_compiler_type+y}
|
|
4955 |
then :
|
|
4956 |
printf %s "(cached) " >&6
|
|
4957 |
else $as_nop
|
4333 | 4958 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4334 | 4959 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4335 | 4960 |
# making bogus files that we don't know about and never remove. For
|
|
4436 | 5061 |
fi
|
4437 | 5062 |
|
4438 | 5063 |
fi
|
4439 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4440 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
5064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
5065 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4441 | 5066 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4442 | 5067 |
|
4443 | 5068 |
if
|
|
4451 | 5076 |
fi
|
4452 | 5077 |
|
4453 | 5078 |
|
4454 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
4455 | |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
4456 | |
if ${ac_cv_prog_cc_c99+:} false; then :
|
4457 | |
$as_echo_n "(cached) " >&6
|
4458 | |
else
|
4459 | |
ac_cv_prog_cc_c99=no
|
4460 | |
ac_save_CC=$CC
|
4461 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4462 | |
/* end confdefs.h. */
|
4463 | |
#include <stdarg.h>
|
4464 | |
#include <stdbool.h>
|
4465 | |
#include <stdlib.h>
|
4466 | |
#include <wchar.h>
|
4467 | |
#include <stdio.h>
|
4468 | |
|
4469 | |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
4470 | |
#define debug(...) fprintf (stderr, __VA_ARGS__)
|
4471 | |
#define showlist(...) puts (#__VA_ARGS__)
|
4472 | |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
4473 | |
static void
|
4474 | |
test_varargs_macros (void)
|
4475 | |
{
|
4476 | |
int x = 1234;
|
4477 | |
int y = 5678;
|
4478 | |
debug ("Flag");
|
4479 | |
debug ("X = %d\n", x);
|
4480 | |
showlist (The first, second, and third items.);
|
4481 | |
report (x>y, "x is %d but y is %d", x, y);
|
4482 | |
}
|
4483 | |
|
4484 | |
// Check long long types.
|
4485 | |
#define BIG64 18446744073709551615ull
|
4486 | |
#define BIG32 4294967295ul
|
4487 | |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
4488 | |
#if !BIG_OK
|
4489 | |
your preprocessor is broken;
|
4490 | |
#endif
|
4491 | |
#if BIG_OK
|
4492 | |
#else
|
4493 | |
your preprocessor is broken;
|
4494 | |
#endif
|
4495 | |
static long long int bignum = -9223372036854775807LL;
|
4496 | |
static unsigned long long int ubignum = BIG64;
|
4497 | |
|
4498 | |
struct incomplete_array
|
4499 | |
{
|
4500 | |
int datasize;
|
4501 | |
double data[];
|
4502 | |
};
|
4503 | |
|
4504 | |
struct named_init {
|
4505 | |
int number;
|
4506 | |
const wchar_t *name;
|
4507 | |
double average;
|
4508 | |
};
|
4509 | |
|
4510 | |
typedef const char *ccp;
|
4511 | |
|
4512 | |
static inline int
|
4513 | |
test_restrict (ccp restrict text)
|
4514 | |
{
|
4515 | |
// See if C++-style comments work.
|
4516 | |
// Iterate through items via the restricted pointer.
|
4517 | |
// Also check for declarations in for loops.
|
4518 | |
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
4519 | |
continue;
|
4520 | |
return 0;
|
4521 | |
}
|
4522 | |
|
4523 | |
// Check varargs and va_copy.
|
4524 | |
static void
|
4525 | |
test_varargs (const char *format, ...)
|
4526 | |
{
|
4527 | |
va_list args;
|
4528 | |
va_start (args, format);
|
4529 | |
va_list args_copy;
|
4530 | |
va_copy (args_copy, args);
|
4531 | |
|
4532 | |
const char *str;
|
4533 | |
int number;
|
4534 | |
float fnumber;
|
4535 | |
|
4536 | |
while (*format)
|
4537 | |
{
|
4538 | |
switch (*format++)
|
4539 | |
{
|
4540 | |
case 's': // string
|
4541 | |
str = va_arg (args_copy, const char *);
|
4542 | |
break;
|
4543 | |
case 'd': // int
|
4544 | |
number = va_arg (args_copy, int);
|
4545 | |
break;
|
4546 | |
case 'f': // float
|
4547 | |
fnumber = va_arg (args_copy, double);
|
4548 | |
break;
|
4549 | |
default:
|
4550 | |
break;
|
4551 | |
}
|
4552 | |
}
|
4553 | |
va_end (args_copy);
|
4554 | |
va_end (args);
|
4555 | |
}
|
4556 | |
|
4557 | |
int
|
4558 | |
main ()
|
4559 | |
{
|
4560 | |
|
4561 | |
// Check bool.
|
4562 | |
_Bool success = false;
|
4563 | |
|
4564 | |
// Check restrict.
|
4565 | |
if (test_restrict ("String literal") == 0)
|
4566 | |
success = true;
|
4567 | |
char *restrict newvar = "Another string";
|
4568 | |
|
4569 | |
// Check varargs.
|
4570 | |
test_varargs ("s, d' f .", "string", 65, 34.234);
|
4571 | |
test_varargs_macros ();
|
4572 | |
|
4573 | |
// Check flexible array members.
|
4574 | |
struct incomplete_array *ia =
|
4575 | |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
4576 | |
ia->datasize = 10;
|
4577 | |
for (int i = 0; i < ia->datasize; ++i)
|
4578 | |
ia->data[i] = i * 1.234;
|
4579 | |
|
4580 | |
// Check named initializers.
|
4581 | |
struct named_init ni = {
|
4582 | |
.number = 34,
|
4583 | |
.name = L"Test wide string",
|
4584 | |
.average = 543.34343,
|
4585 | |
};
|
4586 | |
|
4587 | |
ni.number = 58;
|
4588 | |
|
4589 | |
int dynamic_array[ni.number];
|
4590 | |
dynamic_array[ni.number - 1] = 543;
|
4591 | |
|
4592 | |
// work around unused variable warnings
|
4593 | |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
4594 | |
|| dynamic_array[ni.number - 1] != 543);
|
4595 | |
|
4596 | |
;
|
4597 | |
return 0;
|
4598 | |
}
|
4599 | |
_ACEOF
|
4600 | |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
|
4601 | |
do
|
4602 | |
CC="$ac_save_CC $ac_arg"
|
4603 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4604 | |
ac_cv_prog_cc_c99=$ac_arg
|
4605 | |
fi
|
4606 | |
rm -f core conftest.err conftest.$ac_objext
|
4607 | |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
4608 | |
done
|
4609 | |
rm -f conftest.$ac_ext
|
4610 | |
CC=$ac_save_CC
|
4611 | |
|
4612 | |
fi
|
4613 | |
# AC_CACHE_VAL
|
4614 | |
case "x$ac_cv_prog_cc_c99" in
|
4615 | |
x)
|
4616 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4617 | |
$as_echo "none needed" >&6; } ;;
|
4618 | |
xno)
|
4619 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4620 | |
$as_echo "unsupported" >&6; } ;;
|
4621 | |
*)
|
4622 | |
CC="$CC $ac_cv_prog_cc_c99"
|
4623 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
4624 | |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
4625 | |
esac
|
4626 | |
if test "x$ac_cv_prog_cc_c99" != xno; then :
|
4627 | |
|
4628 | |
fi
|
4629 | |
|
4630 | 5079 |
|
4631 | 5080 |
|
4632 | 5081 |
if test "$GCC" = "yes"
|
|
4635 | 5084 |
|
4636 | 5085 |
case `pwd` in
|
4637 | 5086 |
*\ * | *\ *)
|
4638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
4639 | |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
5087 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
5088 |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
4640 | 5089 |
esac
|
4641 | 5090 |
|
4642 | 5091 |
|
|
4656 | 5105 |
|
4657 | 5106 |
|
4658 | 5107 |
|
|
5108 |
|
4659 | 5109 |
ltmain=$ac_aux_dir/ltmain.sh
|
4660 | 5110 |
|
4661 | |
# Make sure we can run config.sub.
|
4662 | |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
4663 | |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
4664 | |
|
4665 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
4666 | |
$as_echo_n "checking build system type... " >&6; }
|
4667 | |
if ${ac_cv_build+:} false; then :
|
4668 | |
$as_echo_n "(cached) " >&6
|
4669 | |
else
|
|
5111 |
|
|
5112 |
|
|
5113 |
# Make sure we can run config.sub.
|
|
5114 |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
|
|
5115 |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
|
|
5116 |
|
|
5117 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
5118 |
printf %s "checking build system type... " >&6; }
|
|
5119 |
if test ${ac_cv_build+y}
|
|
5120 |
then :
|
|
5121 |
printf %s "(cached) " >&6
|
|
5122 |
else $as_nop
|
4670 | 5123 |
ac_build_alias=$build_alias
|
4671 | 5124 |
test "x$ac_build_alias" = x &&
|
4672 | |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|
5125 |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
|
4673 | 5126 |
test "x$ac_build_alias" = x &&
|
4674 | 5127 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
4675 | |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
4676 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
4677 | |
|
4678 | |
fi
|
4679 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
4680 | |
$as_echo "$ac_cv_build" >&6; }
|
|
5128 |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
|
|
5129 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
|
|
5130 |
|
|
5131 |
fi
|
|
5132 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
5133 |
printf "%s\n" "$ac_cv_build" >&6; }
|
4681 | 5134 |
case $ac_cv_build in
|
4682 | 5135 |
*-*-*) ;;
|
4683 | 5136 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
|
4696 | 5149 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
4697 | 5150 |
|
4698 | 5151 |
|
4699 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
4700 | |
$as_echo_n "checking host system type... " >&6; }
|
4701 | |
if ${ac_cv_host+:} false; then :
|
4702 | |
$as_echo_n "(cached) " >&6
|
4703 | |
else
|
|
5152 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
5153 |
printf %s "checking host system type... " >&6; }
|
|
5154 |
if test ${ac_cv_host+y}
|
|
5155 |
then :
|
|
5156 |
printf %s "(cached) " >&6
|
|
5157 |
else $as_nop
|
4704 | 5158 |
if test "x$host_alias" = x; then
|
4705 | 5159 |
ac_cv_host=$ac_cv_build
|
4706 | 5160 |
else
|
4707 | |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
4708 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
4709 | |
fi
|
4710 | |
|
4711 | |
fi
|
4712 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
4713 | |
$as_echo "$ac_cv_host" >&6; }
|
|
5161 |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
|
|
5162 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
|
|
5163 |
fi
|
|
5164 |
|
|
5165 |
fi
|
|
5166 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
5167 |
printf "%s\n" "$ac_cv_host" >&6; }
|
4714 | 5168 |
case $ac_cv_host in
|
4715 | 5169 |
*-*-*) ;;
|
4716 | 5170 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
|
4750 | 5204 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
4751 | 5205 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
4752 | 5206 |
|
4753 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
4754 | |
$as_echo_n "checking how to print strings... " >&6; }
|
|
5207 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
|
5208 |
printf %s "checking how to print strings... " >&6; }
|
4755 | 5209 |
# Test print first, because it will be a builtin if present.
|
4756 | 5210 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
4757 | 5211 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
|
4777 | 5231 |
}
|
4778 | 5232 |
|
4779 | 5233 |
case $ECHO in
|
4780 | |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
4781 | |
$as_echo "printf" >&6; } ;;
|
4782 | |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
4783 | |
$as_echo "print -r" >&6; } ;;
|
4784 | |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
4785 | |
$as_echo "cat" >&6; } ;;
|
|
5234 |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
|
5235 |
printf "%s\n" "printf" >&6; } ;;
|
|
5236 |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
|
5237 |
printf "%s\n" "print -r" >&6; } ;;
|
|
5238 |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
|
5239 |
printf "%s\n" "cat" >&6; } ;;
|
4786 | 5240 |
esac
|
4787 | 5241 |
|
4788 | 5242 |
|
|
4798 | 5252 |
|
4799 | 5253 |
|
4800 | 5254 |
|
4801 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
4802 | |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
4803 | |
if ${ac_cv_path_SED+:} false; then :
|
4804 | |
$as_echo_n "(cached) " >&6
|
4805 | |
else
|
|
5255 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
|
5256 |
printf %s "checking for a sed that does not truncate output... " >&6; }
|
|
5257 |
if test ${ac_cv_path_SED+y}
|
|
5258 |
then :
|
|
5259 |
printf %s "(cached) " >&6
|
|
5260 |
else $as_nop
|
4806 | 5261 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
4807 | 5262 |
for ac_i in 1 2 3 4 5 6 7; do
|
4808 | 5263 |
ac_script="$ac_script$as_nl$ac_script"
|
|
4816 | 5271 |
for as_dir in $PATH
|
4817 | 5272 |
do
|
4818 | 5273 |
IFS=$as_save_IFS
|
4819 | |
test -z "$as_dir" && as_dir=.
|
4820 | |
for ac_prog in sed gsed; do
|
|
5274 |
case $as_dir in #(((
|
|
5275 |
'') as_dir=./ ;;
|
|
5276 |
*/) ;;
|
|
5277 |
*) as_dir=$as_dir/ ;;
|
|
5278 |
esac
|
|
5279 |
for ac_prog in sed gsed
|
|
5280 |
do
|
4821 | 5281 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4822 | |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
5282 |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
|
4823 | 5283 |
as_fn_executable_p "$ac_path_SED" || continue
|
4824 | 5284 |
# Check for GNU ac_path_SED and select it if it is found.
|
4825 | 5285 |
# Check for GNU $ac_path_SED
|
|
4828 | 5288 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
4829 | 5289 |
*)
|
4830 | 5290 |
ac_count=0
|
4831 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5291 |
printf %s 0123456789 >"conftest.in"
|
4832 | 5292 |
while :
|
4833 | 5293 |
do
|
4834 | 5294 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4835 | 5295 |
mv "conftest.tmp" "conftest.in"
|
4836 | 5296 |
cp "conftest.in" "conftest.nl"
|
4837 | |
$as_echo '' >> "conftest.nl"
|
|
5297 |
printf "%s\n" '' >> "conftest.nl"
|
4838 | 5298 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4839 | 5299 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4840 | 5300 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4862 | 5322 |
fi
|
4863 | 5323 |
|
4864 | 5324 |
fi
|
4865 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
4866 | |
$as_echo "$ac_cv_path_SED" >&6; }
|
|
5325 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
|
5326 |
printf "%s\n" "$ac_cv_path_SED" >&6; }
|
4867 | 5327 |
SED="$ac_cv_path_SED"
|
4868 | 5328 |
rm -f conftest.sed
|
4869 | 5329 |
|
|
4880 | 5340 |
|
4881 | 5341 |
|
4882 | 5342 |
|
4883 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4884 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4885 | |
if ${ac_cv_path_GREP+:} false; then :
|
4886 | |
$as_echo_n "(cached) " >&6
|
4887 | |
else
|
|
5343 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
5344 |
printf %s "checking for grep that handles long lines and -e... " >&6; }
|
|
5345 |
if test ${ac_cv_path_GREP+y}
|
|
5346 |
then :
|
|
5347 |
printf %s "(cached) " >&6
|
|
5348 |
else $as_nop
|
4888 | 5349 |
if test -z "$GREP"; then
|
4889 | 5350 |
ac_path_GREP_found=false
|
4890 | 5351 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4892 | 5353 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4893 | 5354 |
do
|
4894 | 5355 |
IFS=$as_save_IFS
|
4895 | |
test -z "$as_dir" && as_dir=.
|
4896 | |
for ac_prog in grep ggrep; do
|
|
5356 |
case $as_dir in #(((
|
|
5357 |
'') as_dir=./ ;;
|
|
5358 |
*/) ;;
|
|
5359 |
*) as_dir=$as_dir/ ;;
|
|
5360 |
esac
|
|
5361 |
for ac_prog in grep ggrep
|
|
5362 |
do
|
4897 | 5363 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4898 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5364 |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
|
4899 | 5365 |
as_fn_executable_p "$ac_path_GREP" || continue
|
4900 | 5366 |
# Check for GNU ac_path_GREP and select it if it is found.
|
4901 | 5367 |
# Check for GNU $ac_path_GREP
|
|
4904 | 5370 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
4905 | 5371 |
*)
|
4906 | 5372 |
ac_count=0
|
4907 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5373 |
printf %s 0123456789 >"conftest.in"
|
4908 | 5374 |
while :
|
4909 | 5375 |
do
|
4910 | 5376 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4911 | 5377 |
mv "conftest.tmp" "conftest.in"
|
4912 | 5378 |
cp "conftest.in" "conftest.nl"
|
4913 | |
$as_echo 'GREP' >> "conftest.nl"
|
|
5379 |
printf "%s\n" 'GREP' >> "conftest.nl"
|
4914 | 5380 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4915 | 5381 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4916 | 5382 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4938 | 5404 |
fi
|
4939 | 5405 |
|
4940 | 5406 |
fi
|
4941 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4942 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
|
5407 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
5408 |
printf "%s\n" "$ac_cv_path_GREP" >&6; }
|
4943 | 5409 |
GREP="$ac_cv_path_GREP"
|
4944 | 5410 |
|
4945 | 5411 |
|
4946 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4947 | |
$as_echo_n "checking for egrep... " >&6; }
|
4948 | |
if ${ac_cv_path_EGREP+:} false; then :
|
4949 | |
$as_echo_n "(cached) " >&6
|
4950 | |
else
|
|
5412 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
5413 |
printf %s "checking for egrep... " >&6; }
|
|
5414 |
if test ${ac_cv_path_EGREP+y}
|
|
5415 |
then :
|
|
5416 |
printf %s "(cached) " >&6
|
|
5417 |
else $as_nop
|
4951 | 5418 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
4952 | 5419 |
then ac_cv_path_EGREP="$GREP -E"
|
4953 | 5420 |
else
|
|
4958 | 5425 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4959 | 5426 |
do
|
4960 | 5427 |
IFS=$as_save_IFS
|
4961 | |
test -z "$as_dir" && as_dir=.
|
4962 | |
for ac_prog in egrep; do
|
|
5428 |
case $as_dir in #(((
|
|
5429 |
'') as_dir=./ ;;
|
|
5430 |
*/) ;;
|
|
5431 |
*) as_dir=$as_dir/ ;;
|
|
5432 |
esac
|
|
5433 |
for ac_prog in egrep
|
|
5434 |
do
|
4963 | 5435 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4964 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5436 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
|
4965 | 5437 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
4966 | 5438 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4967 | 5439 |
# Check for GNU $ac_path_EGREP
|
|
4970 | 5442 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
4971 | 5443 |
*)
|
4972 | 5444 |
ac_count=0
|
4973 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5445 |
printf %s 0123456789 >"conftest.in"
|
4974 | 5446 |
while :
|
4975 | 5447 |
do
|
4976 | 5448 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4977 | 5449 |
mv "conftest.tmp" "conftest.in"
|
4978 | 5450 |
cp "conftest.in" "conftest.nl"
|
4979 | |
$as_echo 'EGREP' >> "conftest.nl"
|
|
5451 |
printf "%s\n" 'EGREP' >> "conftest.nl"
|
4980 | 5452 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4981 | 5453 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4982 | 5454 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
5005 | 5477 |
|
5006 | 5478 |
fi
|
5007 | 5479 |
fi
|
5008 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
5009 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
|
5480 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
5481 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
|
5010 | 5482 |
EGREP="$ac_cv_path_EGREP"
|
5011 | 5483 |
|
5012 | 5484 |
|
5013 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
5014 | |
$as_echo_n "checking for fgrep... " >&6; }
|
5015 | |
if ${ac_cv_path_FGREP+:} false; then :
|
5016 | |
$as_echo_n "(cached) " >&6
|
5017 | |
else
|
|
5485 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
|
5486 |
printf %s "checking for fgrep... " >&6; }
|
|
5487 |
if test ${ac_cv_path_FGREP+y}
|
|
5488 |
then :
|
|
5489 |
printf %s "(cached) " >&6
|
|
5490 |
else $as_nop
|
5018 | 5491 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
5019 | 5492 |
then ac_cv_path_FGREP="$GREP -F"
|
5020 | 5493 |
else
|
|
5025 | 5498 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5026 | 5499 |
do
|
5027 | 5500 |
IFS=$as_save_IFS
|
5028 | |
test -z "$as_dir" && as_dir=.
|
5029 | |
for ac_prog in fgrep; do
|
|
5501 |
case $as_dir in #(((
|
|
5502 |
'') as_dir=./ ;;
|
|
5503 |
*/) ;;
|
|
5504 |
*) as_dir=$as_dir/ ;;
|
|
5505 |
esac
|
|
5506 |
for ac_prog in fgrep
|
|
5507 |
do
|
5030 | 5508 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5031 | |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
5509 |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
|
5032 | 5510 |
as_fn_executable_p "$ac_path_FGREP" || continue
|
5033 | 5511 |
# Check for GNU ac_path_FGREP and select it if it is found.
|
5034 | 5512 |
# Check for GNU $ac_path_FGREP
|
|
5037 | 5515 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
5038 | 5516 |
*)
|
5039 | 5517 |
ac_count=0
|
5040 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
5518 |
printf %s 0123456789 >"conftest.in"
|
5041 | 5519 |
while :
|
5042 | 5520 |
do
|
5043 | 5521 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5044 | 5522 |
mv "conftest.tmp" "conftest.in"
|
5045 | 5523 |
cp "conftest.in" "conftest.nl"
|
5046 | |
$as_echo 'FGREP' >> "conftest.nl"
|
|
5524 |
printf "%s\n" 'FGREP' >> "conftest.nl"
|
5047 | 5525 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5048 | 5526 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5049 | 5527 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
5072 | 5550 |
|
5073 | 5551 |
fi
|
5074 | 5552 |
fi
|
5075 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
5076 | |
$as_echo "$ac_cv_path_FGREP" >&6; }
|
|
5553 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
|
5554 |
printf "%s\n" "$ac_cv_path_FGREP" >&6; }
|
5077 | 5555 |
FGREP="$ac_cv_path_FGREP"
|
5078 | 5556 |
|
5079 | 5557 |
|
|
5098 | 5576 |
|
5099 | 5577 |
|
5100 | 5578 |
# Check whether --with-gnu-ld was given.
|
5101 | |
if test "${with_gnu_ld+set}" = set; then :
|
|
5579 |
if test ${with_gnu_ld+y}
|
|
5580 |
then :
|
5102 | 5581 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
|
5103 | |
else
|
|
5582 |
else $as_nop
|
5104 | 5583 |
with_gnu_ld=no
|
5105 | 5584 |
fi
|
5106 | 5585 |
|
5107 | 5586 |
ac_prog=ld
|
5108 | 5587 |
if test yes = "$GCC"; then
|
5109 | 5588 |
# Check if gcc -print-prog-name=ld gives a path.
|
5110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
5111 | |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
|
5589 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
5590 |
printf %s "checking for ld used by $CC... " >&6; }
|
5112 | 5591 |
case $host in
|
5113 | 5592 |
*-*-mingw*)
|
5114 | 5593 |
# gcc leaves a trailing carriage return, which upsets mingw
|
|
5137 | 5616 |
;;
|
5138 | 5617 |
esac
|
5139 | 5618 |
elif test yes = "$with_gnu_ld"; then
|
5140 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
5141 | |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
5619 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
5620 |
printf %s "checking for GNU ld... " >&6; }
|
5142 | 5621 |
else
|
5143 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
5144 | |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
5145 | |
fi
|
5146 | |
if ${lt_cv_path_LD+:} false; then :
|
5147 | |
$as_echo_n "(cached) " >&6
|
5148 | |
else
|
|
5622 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
5623 |
printf %s "checking for non-GNU ld... " >&6; }
|
|
5624 |
fi
|
|
5625 |
if test ${lt_cv_path_LD+y}
|
|
5626 |
then :
|
|
5627 |
printf %s "(cached) " >&6
|
|
5628 |
else $as_nop
|
5149 | 5629 |
if test -z "$LD"; then
|
5150 | 5630 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
5151 | 5631 |
for ac_dir in $PATH; do
|
|
5174 | 5654 |
|
5175 | 5655 |
LD=$lt_cv_path_LD
|
5176 | 5656 |
if test -n "$LD"; then
|
5177 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
5178 | |
$as_echo "$LD" >&6; }
|
|
5657 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
5658 |
printf "%s\n" "$LD" >&6; }
|
5179 | 5659 |
else
|
5180 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5181 | |
$as_echo "no" >&6; }
|
|
5660 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5661 |
printf "%s\n" "no" >&6; }
|
5182 | 5662 |
fi
|
5183 | 5663 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
5184 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
5185 | |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
5186 | |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
5187 | |
$as_echo_n "(cached) " >&6
|
5188 | |
else
|
|
5664 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
5665 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
5666 |
if test ${lt_cv_prog_gnu_ld+y}
|
|
5667 |
then :
|
|
5668 |
printf %s "(cached) " >&6
|
|
5669 |
else $as_nop
|
5189 | 5670 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
5190 | 5671 |
case `$LD -v 2>&1 </dev/null` in
|
5191 | 5672 |
*GNU* | *'with BFD'*)
|
|
5196 | 5677 |
;;
|
5197 | 5678 |
esac
|
5198 | 5679 |
fi
|
5199 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
5200 | |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
|
5680 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
5681 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
|
5201 | 5682 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
5202 | 5683 |
|
5203 | 5684 |
|
|
5208 | 5689 |
|
5209 | 5690 |
|
5210 | 5691 |
|
5211 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
5212 | |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
5213 | |
if ${lt_cv_path_NM+:} false; then :
|
5214 | |
$as_echo_n "(cached) " >&6
|
5215 | |
else
|
|
5692 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
|
5693 |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
|
5694 |
if test ${lt_cv_path_NM+y}
|
|
5695 |
then :
|
|
5696 |
printf %s "(cached) " >&6
|
|
5697 |
else $as_nop
|
5216 | 5698 |
if test -n "$NM"; then
|
5217 | 5699 |
# Let the user override the test.
|
5218 | 5700 |
lt_cv_path_NM=$NM
|
|
5262 | 5744 |
: ${lt_cv_path_NM=no}
|
5263 | 5745 |
fi
|
5264 | 5746 |
fi
|
5265 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
5266 | |
$as_echo "$lt_cv_path_NM" >&6; }
|
|
5747 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
|
5748 |
printf "%s\n" "$lt_cv_path_NM" >&6; }
|
5267 | 5749 |
if test no != "$lt_cv_path_NM"; then
|
5268 | 5750 |
NM=$lt_cv_path_NM
|
5269 | 5751 |
else
|
|
5276 | 5758 |
do
|
5277 | 5759 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
5278 | 5760 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
5279 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5280 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5281 | |
if ${ac_cv_prog_DUMPBIN+:} false; then :
|
5282 | |
$as_echo_n "(cached) " >&6
|
5283 | |
else
|
|
5761 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5762 |
printf %s "checking for $ac_word... " >&6; }
|
|
5763 |
if test ${ac_cv_prog_DUMPBIN+y}
|
|
5764 |
then :
|
|
5765 |
printf %s "(cached) " >&6
|
|
5766 |
else $as_nop
|
5284 | 5767 |
if test -n "$DUMPBIN"; then
|
5285 | 5768 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
5286 | 5769 |
else
|
|
5288 | 5771 |
for as_dir in $PATH
|
5289 | 5772 |
do
|
5290 | 5773 |
IFS=$as_save_IFS
|
5291 | |
test -z "$as_dir" && as_dir=.
|
|
5774 |
case $as_dir in #(((
|
|
5775 |
'') as_dir=./ ;;
|
|
5776 |
*/) ;;
|
|
5777 |
*) as_dir=$as_dir/ ;;
|
|
5778 |
esac
|
5292 | 5779 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5293 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
5780 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5294 | 5781 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
5295 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5782 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5296 | 5783 |
break 2
|
5297 | 5784 |
fi
|
5298 | 5785 |
done
|
|
5303 | 5790 |
fi
|
5304 | 5791 |
DUMPBIN=$ac_cv_prog_DUMPBIN
|
5305 | 5792 |
if test -n "$DUMPBIN"; then
|
5306 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
5307 | |
$as_echo "$DUMPBIN" >&6; }
|
|
5793 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
|
5794 |
printf "%s\n" "$DUMPBIN" >&6; }
|
5308 | 5795 |
else
|
5309 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5310 | |
$as_echo "no" >&6; }
|
|
5796 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5797 |
printf "%s\n" "no" >&6; }
|
5311 | 5798 |
fi
|
5312 | 5799 |
|
5313 | 5800 |
|
|
5320 | 5807 |
do
|
5321 | 5808 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5322 | 5809 |
set dummy $ac_prog; ac_word=$2
|
5323 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5324 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5325 | |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
|
5326 | |
$as_echo_n "(cached) " >&6
|
5327 | |
else
|
|
5810 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5811 |
printf %s "checking for $ac_word... " >&6; }
|
|
5812 |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
|
|
5813 |
then :
|
|
5814 |
printf %s "(cached) " >&6
|
|
5815 |
else $as_nop
|
5328 | 5816 |
if test -n "$ac_ct_DUMPBIN"; then
|
5329 | 5817 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
5330 | 5818 |
else
|
|
5332 | 5820 |
for as_dir in $PATH
|
5333 | 5821 |
do
|
5334 | 5822 |
IFS=$as_save_IFS
|
5335 | |
test -z "$as_dir" && as_dir=.
|
|
5823 |
case $as_dir in #(((
|
|
5824 |
'') as_dir=./ ;;
|
|
5825 |
*/) ;;
|
|
5826 |
*) as_dir=$as_dir/ ;;
|
|
5827 |
esac
|
5336 | 5828 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5337 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
5829 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5338 | 5830 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
5339 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5831 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5340 | 5832 |
break 2
|
5341 | 5833 |
fi
|
5342 | 5834 |
done
|
|
5347 | 5839 |
fi
|
5348 | 5840 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
5349 | 5841 |
if test -n "$ac_ct_DUMPBIN"; then
|
5350 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
5351 | |
$as_echo "$ac_ct_DUMPBIN" >&6; }
|
|
5842 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
|
5843 |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
|
5352 | 5844 |
else
|
5353 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5354 | |
$as_echo "no" >&6; }
|
|
5845 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5846 |
printf "%s\n" "no" >&6; }
|
5355 | 5847 |
fi
|
5356 | 5848 |
|
5357 | 5849 |
|
|
5363 | 5855 |
else
|
5364 | 5856 |
case $cross_compiling:$ac_tool_warned in
|
5365 | 5857 |
yes:)
|
5366 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5367 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
5858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5859 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5368 | 5860 |
ac_tool_warned=yes ;;
|
5369 | 5861 |
esac
|
5370 | 5862 |
DUMPBIN=$ac_ct_DUMPBIN
|
|
5392 | 5884 |
|
5393 | 5885 |
|
5394 | 5886 |
|
5395 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
5396 | |
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
5397 | |
if ${lt_cv_nm_interface+:} false; then :
|
5398 | |
$as_echo_n "(cached) " >&6
|
5399 | |
else
|
|
5887 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
|
5888 |
printf %s "checking the name lister ($NM) interface... " >&6; }
|
|
5889 |
if test ${lt_cv_nm_interface+y}
|
|
5890 |
then :
|
|
5891 |
printf %s "(cached) " >&6
|
|
5892 |
else $as_nop
|
5400 | 5893 |
lt_cv_nm_interface="BSD nm"
|
5401 | 5894 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
5402 | 5895 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
|
5412 | 5905 |
fi
|
5413 | 5906 |
rm -f conftest*
|
5414 | 5907 |
fi
|
5415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
5416 | |
$as_echo "$lt_cv_nm_interface" >&6; }
|
5417 | |
|
5418 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
5419 | |
$as_echo_n "checking whether ln -s works... " >&6; }
|
|
5908 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
|
5909 |
printf "%s\n" "$lt_cv_nm_interface" >&6; }
|
|
5910 |
|
|
5911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
|
5912 |
printf %s "checking whether ln -s works... " >&6; }
|
5420 | 5913 |
LN_S=$as_ln_s
|
5421 | 5914 |
if test "$LN_S" = "ln -s"; then
|
5422 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5423 | |
$as_echo "yes" >&6; }
|
|
5915 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5916 |
printf "%s\n" "yes" >&6; }
|
5424 | 5917 |
else
|
5425 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
5426 | |
$as_echo "no, using $LN_S" >&6; }
|
|
5918 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
|
5919 |
printf "%s\n" "no, using $LN_S" >&6; }
|
5427 | 5920 |
fi
|
5428 | 5921 |
|
5429 | 5922 |
# find the maximum length of command line arguments
|
5430 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
5431 | |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
5432 | |
if ${lt_cv_sys_max_cmd_len+:} false; then :
|
5433 | |
$as_echo_n "(cached) " >&6
|
5434 | |
else
|
|
5923 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
|
5924 |
printf %s "checking the maximum length of command line arguments... " >&6; }
|
|
5925 |
if test ${lt_cv_sys_max_cmd_len+y}
|
|
5926 |
then :
|
|
5927 |
printf %s "(cached) " >&6
|
|
5928 |
else $as_nop
|
5435 | 5929 |
i=0
|
5436 | 5930 |
teststring=ABCD
|
5437 | 5931 |
|
|
5558 | 6052 |
fi
|
5559 | 6053 |
|
5560 | 6054 |
if test -n "$lt_cv_sys_max_cmd_len"; then
|
5561 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
5562 | |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
|
6055 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
|
6056 |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
|
5563 | 6057 |
else
|
5564 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
5565 | |
$as_echo "none" >&6; }
|
|
6058 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
6059 |
printf "%s\n" "none" >&6; }
|
5566 | 6060 |
fi
|
5567 | 6061 |
max_cmd_len=$lt_cv_sys_max_cmd_len
|
5568 | 6062 |
|
|
5606 | 6100 |
|
5607 | 6101 |
|
5608 | 6102 |
|
5609 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
5610 | |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
5611 | |
if ${lt_cv_to_host_file_cmd+:} false; then :
|
5612 | |
$as_echo_n "(cached) " >&6
|
5613 | |
else
|
|
6103 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
|
6104 |
printf %s "checking how to convert $build file names to $host format... " >&6; }
|
|
6105 |
if test ${lt_cv_to_host_file_cmd+y}
|
|
6106 |
then :
|
|
6107 |
printf %s "(cached) " >&6
|
|
6108 |
else $as_nop
|
5614 | 6109 |
case $host in
|
5615 | 6110 |
*-*-mingw* )
|
5616 | 6111 |
case $build in
|
|
5646 | 6141 |
fi
|
5647 | 6142 |
|
5648 | 6143 |
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
5649 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
5650 | |
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
5651 | |
|
5652 | |
|
5653 | |
|
5654 | |
|
5655 | |
|
5656 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
5657 | |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
5658 | |
if ${lt_cv_to_tool_file_cmd+:} false; then :
|
5659 | |
$as_echo_n "(cached) " >&6
|
5660 | |
else
|
|
6144 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
|
6145 |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
|
|
6146 |
|
|
6147 |
|
|
6148 |
|
|
6149 |
|
|
6150 |
|
|
6151 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
|
6152 |
printf %s "checking how to convert $build file names to toolchain format... " >&6; }
|
|
6153 |
if test ${lt_cv_to_tool_file_cmd+y}
|
|
6154 |
then :
|
|
6155 |
printf %s "(cached) " >&6
|
|
6156 |
else $as_nop
|
5661 | 6157 |
#assume ordinary cross tools, or native build.
|
5662 | 6158 |
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
5663 | 6159 |
case $host in
|
|
5673 | 6169 |
fi
|
5674 | 6170 |
|
5675 | 6171 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
5676 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
5677 | |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
5678 | |
|
5679 | |
|
5680 | |
|
5681 | |
|
5682 | |
|
5683 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
5684 | |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
5685 | |
if ${lt_cv_ld_reload_flag+:} false; then :
|
5686 | |
$as_echo_n "(cached) " >&6
|
5687 | |
else
|
|
6172 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
|
6173 |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
|
|
6174 |
|
|
6175 |
|
|
6176 |
|
|
6177 |
|
|
6178 |
|
|
6179 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
|
6180 |
printf %s "checking for $LD option to reload object files... " >&6; }
|
|
6181 |
if test ${lt_cv_ld_reload_flag+y}
|
|
6182 |
then :
|
|
6183 |
printf %s "(cached) " >&6
|
|
6184 |
else $as_nop
|
5688 | 6185 |
lt_cv_ld_reload_flag='-r'
|
5689 | 6186 |
fi
|
5690 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
5691 | |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
|
6187 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
|
6188 |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
|
5692 | 6189 |
reload_flag=$lt_cv_ld_reload_flag
|
5693 | 6190 |
case $reload_flag in
|
5694 | 6191 |
"" | " "*) ;;
|
|
5721 | 6218 |
if test -n "$ac_tool_prefix"; then
|
5722 | 6219 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
5723 | 6220 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
5724 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5725 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5726 | |
if ${ac_cv_prog_OBJDUMP+:} false; then :
|
5727 | |
$as_echo_n "(cached) " >&6
|
5728 | |
else
|
|
6221 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6222 |
printf %s "checking for $ac_word... " >&6; }
|
|
6223 |
if test ${ac_cv_prog_OBJDUMP+y}
|
|
6224 |
then :
|
|
6225 |
printf %s "(cached) " >&6
|
|
6226 |
else $as_nop
|
5729 | 6227 |
if test -n "$OBJDUMP"; then
|
5730 | 6228 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
5731 | 6229 |
else
|
|
5733 | 6231 |
for as_dir in $PATH
|
5734 | 6232 |
do
|
5735 | 6233 |
IFS=$as_save_IFS
|
5736 | |
test -z "$as_dir" && as_dir=.
|
|
6234 |
case $as_dir in #(((
|
|
6235 |
'') as_dir=./ ;;
|
|
6236 |
*/) ;;
|
|
6237 |
*) as_dir=$as_dir/ ;;
|
|
6238 |
esac
|
5737 | 6239 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5738 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6240 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5739 | 6241 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
5740 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6242 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5741 | 6243 |
break 2
|
5742 | 6244 |
fi
|
5743 | 6245 |
done
|
|
5748 | 6250 |
fi
|
5749 | 6251 |
OBJDUMP=$ac_cv_prog_OBJDUMP
|
5750 | 6252 |
if test -n "$OBJDUMP"; then
|
5751 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
5752 | |
$as_echo "$OBJDUMP" >&6; }
|
|
6253 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
|
6254 |
printf "%s\n" "$OBJDUMP" >&6; }
|
5753 | 6255 |
else
|
5754 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5755 | |
$as_echo "no" >&6; }
|
|
6256 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6257 |
printf "%s\n" "no" >&6; }
|
5756 | 6258 |
fi
|
5757 | 6259 |
|
5758 | 6260 |
|
|
5761 | 6263 |
ac_ct_OBJDUMP=$OBJDUMP
|
5762 | 6264 |
# Extract the first word of "objdump", so it can be a program name with args.
|
5763 | 6265 |
set dummy objdump; ac_word=$2
|
5764 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5765 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5766 | |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
|
5767 | |
$as_echo_n "(cached) " >&6
|
5768 | |
else
|
|
6266 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6267 |
printf %s "checking for $ac_word... " >&6; }
|
|
6268 |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
|
|
6269 |
then :
|
|
6270 |
printf %s "(cached) " >&6
|
|
6271 |
else $as_nop
|
5769 | 6272 |
if test -n "$ac_ct_OBJDUMP"; then
|
5770 | 6273 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
5771 | 6274 |
else
|
|
5773 | 6276 |
for as_dir in $PATH
|
5774 | 6277 |
do
|
5775 | 6278 |
IFS=$as_save_IFS
|
5776 | |
test -z "$as_dir" && as_dir=.
|
|
6279 |
case $as_dir in #(((
|
|
6280 |
'') as_dir=./ ;;
|
|
6281 |
*/) ;;
|
|
6282 |
*) as_dir=$as_dir/ ;;
|
|
6283 |
esac
|
5777 | 6284 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5778 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6285 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
5779 | 6286 |
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
5780 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6287 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
5781 | 6288 |
break 2
|
5782 | 6289 |
fi
|
5783 | 6290 |
done
|
|
5788 | 6295 |
fi
|
5789 | 6296 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
5790 | 6297 |
if test -n "$ac_ct_OBJDUMP"; then
|
5791 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
5792 | |
$as_echo "$ac_ct_OBJDUMP" >&6; }
|
|
6298 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
|
6299 |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
|
5793 | 6300 |
else
|
5794 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5795 | |
$as_echo "no" >&6; }
|
|
6301 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6302 |
printf "%s\n" "no" >&6; }
|
5796 | 6303 |
fi
|
5797 | 6304 |
|
5798 | 6305 |
if test "x$ac_ct_OBJDUMP" = x; then
|
|
5800 | 6307 |
else
|
5801 | 6308 |
case $cross_compiling:$ac_tool_warned in
|
5802 | 6309 |
yes:)
|
5803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5804 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6310 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6311 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5805 | 6312 |
ac_tool_warned=yes ;;
|
5806 | 6313 |
esac
|
5807 | 6314 |
OBJDUMP=$ac_ct_OBJDUMP
|
|
5820 | 6327 |
|
5821 | 6328 |
|
5822 | 6329 |
|
5823 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
5824 | |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
5825 | |
if ${lt_cv_deplibs_check_method+:} false; then :
|
5826 | |
$as_echo_n "(cached) " >&6
|
5827 | |
else
|
|
6330 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
|
6331 |
printf %s "checking how to recognize dependent libraries... " >&6; }
|
|
6332 |
if test ${lt_cv_deplibs_check_method+y}
|
|
6333 |
then :
|
|
6334 |
printf %s "(cached) " >&6
|
|
6335 |
else $as_nop
|
5828 | 6336 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
5829 | 6337 |
lt_cv_file_magic_test_file=
|
5830 | 6338 |
lt_cv_deplibs_check_method='unknown'
|
|
6020 | 6528 |
esac
|
6021 | 6529 |
|
6022 | 6530 |
fi
|
6023 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
6024 | |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
|
6531 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
|
6532 |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
|
6025 | 6533 |
|
6026 | 6534 |
file_magic_glob=
|
6027 | 6535 |
want_nocaseglob=no
|
|
6065 | 6573 |
if test -n "$ac_tool_prefix"; then
|
6066 | 6574 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
6067 | 6575 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
6068 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6069 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6070 | |
if ${ac_cv_prog_DLLTOOL+:} false; then :
|
6071 | |
$as_echo_n "(cached) " >&6
|
6072 | |
else
|
|
6576 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6577 |
printf %s "checking for $ac_word... " >&6; }
|
|
6578 |
if test ${ac_cv_prog_DLLTOOL+y}
|
|
6579 |
then :
|
|
6580 |
printf %s "(cached) " >&6
|
|
6581 |
else $as_nop
|
6073 | 6582 |
if test -n "$DLLTOOL"; then
|
6074 | 6583 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
6075 | 6584 |
else
|
|
6077 | 6586 |
for as_dir in $PATH
|
6078 | 6587 |
do
|
6079 | 6588 |
IFS=$as_save_IFS
|
6080 | |
test -z "$as_dir" && as_dir=.
|
|
6589 |
case $as_dir in #(((
|
|
6590 |
'') as_dir=./ ;;
|
|
6591 |
*/) ;;
|
|
6592 |
*) as_dir=$as_dir/ ;;
|
|
6593 |
esac
|
6081 | 6594 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6082 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6595 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6083 | 6596 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
6084 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6597 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6085 | 6598 |
break 2
|
6086 | 6599 |
fi
|
6087 | 6600 |
done
|
|
6092 | 6605 |
fi
|
6093 | 6606 |
DLLTOOL=$ac_cv_prog_DLLTOOL
|
6094 | 6607 |
if test -n "$DLLTOOL"; then
|
6095 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
6096 | |
$as_echo "$DLLTOOL" >&6; }
|
|
6608 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
|
6609 |
printf "%s\n" "$DLLTOOL" >&6; }
|
6097 | 6610 |
else
|
6098 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6099 | |
$as_echo "no" >&6; }
|
|
6611 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6612 |
printf "%s\n" "no" >&6; }
|
6100 | 6613 |
fi
|
6101 | 6614 |
|
6102 | 6615 |
|
|
6105 | 6618 |
ac_ct_DLLTOOL=$DLLTOOL
|
6106 | 6619 |
# Extract the first word of "dlltool", so it can be a program name with args.
|
6107 | 6620 |
set dummy dlltool; ac_word=$2
|
6108 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6109 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6110 | |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
6111 | |
$as_echo_n "(cached) " >&6
|
6112 | |
else
|
|
6621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6622 |
printf %s "checking for $ac_word... " >&6; }
|
|
6623 |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
|
|
6624 |
then :
|
|
6625 |
printf %s "(cached) " >&6
|
|
6626 |
else $as_nop
|
6113 | 6627 |
if test -n "$ac_ct_DLLTOOL"; then
|
6114 | 6628 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
6115 | 6629 |
else
|
|
6117 | 6631 |
for as_dir in $PATH
|
6118 | 6632 |
do
|
6119 | 6633 |
IFS=$as_save_IFS
|
6120 | |
test -z "$as_dir" && as_dir=.
|
|
6634 |
case $as_dir in #(((
|
|
6635 |
'') as_dir=./ ;;
|
|
6636 |
*/) ;;
|
|
6637 |
*) as_dir=$as_dir/ ;;
|
|
6638 |
esac
|
6121 | 6639 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6122 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6640 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6123 | 6641 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
6124 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6642 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6125 | 6643 |
break 2
|
6126 | 6644 |
fi
|
6127 | 6645 |
done
|
|
6132 | 6650 |
fi
|
6133 | 6651 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
6134 | 6652 |
if test -n "$ac_ct_DLLTOOL"; then
|
6135 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
6136 | |
$as_echo "$ac_ct_DLLTOOL" >&6; }
|
|
6653 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
|
6654 |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
|
6137 | 6655 |
else
|
6138 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6139 | |
$as_echo "no" >&6; }
|
|
6656 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6657 |
printf "%s\n" "no" >&6; }
|
6140 | 6658 |
fi
|
6141 | 6659 |
|
6142 | 6660 |
if test "x$ac_ct_DLLTOOL" = x; then
|
|
6144 | 6662 |
else
|
6145 | 6663 |
case $cross_compiling:$ac_tool_warned in
|
6146 | 6664 |
yes:)
|
6147 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6148 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6665 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6666 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6149 | 6667 |
ac_tool_warned=yes ;;
|
6150 | 6668 |
esac
|
6151 | 6669 |
DLLTOOL=$ac_ct_DLLTOOL
|
|
6165 | 6683 |
|
6166 | 6684 |
|
6167 | 6685 |
|
6168 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
6169 | |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
6170 | |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
6171 | |
$as_echo_n "(cached) " >&6
|
6172 | |
else
|
|
6686 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
|
6687 |
printf %s "checking how to associate runtime and link libraries... " >&6; }
|
|
6688 |
if test ${lt_cv_sharedlib_from_linklib_cmd+y}
|
|
6689 |
then :
|
|
6690 |
printf %s "(cached) " >&6
|
|
6691 |
else $as_nop
|
6173 | 6692 |
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
6174 | 6693 |
|
6175 | 6694 |
case $host_os in
|
|
6192 | 6711 |
esac
|
6193 | 6712 |
|
6194 | 6713 |
fi
|
6195 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
6196 | |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
|
6714 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
|
6715 |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
6197 | 6716 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
6198 | 6717 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
6199 | 6718 |
|
|
6209 | 6728 |
do
|
6210 | 6729 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
6211 | 6730 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
6212 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6213 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6214 | |
if ${ac_cv_prog_AR+:} false; then :
|
6215 | |
$as_echo_n "(cached) " >&6
|
6216 | |
else
|
|
6731 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6732 |
printf %s "checking for $ac_word... " >&6; }
|
|
6733 |
if test ${ac_cv_prog_AR+y}
|
|
6734 |
then :
|
|
6735 |
printf %s "(cached) " >&6
|
|
6736 |
else $as_nop
|
6217 | 6737 |
if test -n "$AR"; then
|
6218 | 6738 |
ac_cv_prog_AR="$AR" # Let the user override the test.
|
6219 | 6739 |
else
|
|
6221 | 6741 |
for as_dir in $PATH
|
6222 | 6742 |
do
|
6223 | 6743 |
IFS=$as_save_IFS
|
6224 | |
test -z "$as_dir" && as_dir=.
|
|
6744 |
case $as_dir in #(((
|
|
6745 |
'') as_dir=./ ;;
|
|
6746 |
*/) ;;
|
|
6747 |
*) as_dir=$as_dir/ ;;
|
|
6748 |
esac
|
6225 | 6749 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6226 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6750 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6227 | 6751 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
6228 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6752 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6229 | 6753 |
break 2
|
6230 | 6754 |
fi
|
6231 | 6755 |
done
|
|
6236 | 6760 |
fi
|
6237 | 6761 |
AR=$ac_cv_prog_AR
|
6238 | 6762 |
if test -n "$AR"; then
|
6239 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
6240 | |
$as_echo "$AR" >&6; }
|
|
6763 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
|
6764 |
printf "%s\n" "$AR" >&6; }
|
6241 | 6765 |
else
|
6242 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6243 | |
$as_echo "no" >&6; }
|
|
6766 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6767 |
printf "%s\n" "no" >&6; }
|
6244 | 6768 |
fi
|
6245 | 6769 |
|
6246 | 6770 |
|
|
6253 | 6777 |
do
|
6254 | 6778 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
6255 | 6779 |
set dummy $ac_prog; ac_word=$2
|
6256 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6257 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6258 | |
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
6259 | |
$as_echo_n "(cached) " >&6
|
6260 | |
else
|
|
6780 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6781 |
printf %s "checking for $ac_word... " >&6; }
|
|
6782 |
if test ${ac_cv_prog_ac_ct_AR+y}
|
|
6783 |
then :
|
|
6784 |
printf %s "(cached) " >&6
|
|
6785 |
else $as_nop
|
6261 | 6786 |
if test -n "$ac_ct_AR"; then
|
6262 | 6787 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
6263 | 6788 |
else
|
|
6265 | 6790 |
for as_dir in $PATH
|
6266 | 6791 |
do
|
6267 | 6792 |
IFS=$as_save_IFS
|
6268 | |
test -z "$as_dir" && as_dir=.
|
|
6793 |
case $as_dir in #(((
|
|
6794 |
'') as_dir=./ ;;
|
|
6795 |
*/) ;;
|
|
6796 |
*) as_dir=$as_dir/ ;;
|
|
6797 |
esac
|
6269 | 6798 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6270 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6799 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6271 | 6800 |
ac_cv_prog_ac_ct_AR="$ac_prog"
|
6272 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6801 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6273 | 6802 |
break 2
|
6274 | 6803 |
fi
|
6275 | 6804 |
done
|
|
6280 | 6809 |
fi
|
6281 | 6810 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
6282 | 6811 |
if test -n "$ac_ct_AR"; then
|
6283 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
6284 | |
$as_echo "$ac_ct_AR" >&6; }
|
|
6812 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
|
6813 |
printf "%s\n" "$ac_ct_AR" >&6; }
|
6285 | 6814 |
else
|
6286 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6287 | |
$as_echo "no" >&6; }
|
|
6815 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6816 |
printf "%s\n" "no" >&6; }
|
6288 | 6817 |
fi
|
6289 | 6818 |
|
6290 | 6819 |
|
|
6296 | 6825 |
else
|
6297 | 6826 |
case $cross_compiling:$ac_tool_warned in
|
6298 | 6827 |
yes:)
|
6299 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6300 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6828 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6829 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6301 | 6830 |
ac_tool_warned=yes ;;
|
6302 | 6831 |
esac
|
6303 | 6832 |
AR=$ac_ct_AR
|
|
6317 | 6846 |
|
6318 | 6847 |
|
6319 | 6848 |
|
6320 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
6321 | |
$as_echo_n "checking for archiver @FILE support... " >&6; }
|
6322 | |
if ${lt_cv_ar_at_file+:} false; then :
|
6323 | |
$as_echo_n "(cached) " >&6
|
6324 | |
else
|
|
6849 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
|
6850 |
printf %s "checking for archiver @FILE support... " >&6; }
|
|
6851 |
if test ${lt_cv_ar_at_file+y}
|
|
6852 |
then :
|
|
6853 |
printf %s "(cached) " >&6
|
|
6854 |
else $as_nop
|
6325 | 6855 |
lt_cv_ar_at_file=no
|
6326 | 6856 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6327 | 6857 |
/* end confdefs.h. */
|
6328 | 6858 |
|
6329 | 6859 |
int
|
6330 | |
main ()
|
|
6860 |
main (void)
|
6331 | 6861 |
{
|
6332 | 6862 |
|
6333 | 6863 |
;
|
6334 | 6864 |
return 0;
|
6335 | 6865 |
}
|
6336 | 6866 |
_ACEOF
|
6337 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6867 |
if ac_fn_c_try_compile "$LINENO"
|
|
6868 |
then :
|
6338 | 6869 |
echo conftest.$ac_objext > conftest.lst
|
6339 | 6870 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
6340 | 6871 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
6341 | 6872 |
(eval $lt_ar_try) 2>&5
|
6342 | 6873 |
ac_status=$?
|
6343 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6874 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6344 | 6875 |
test $ac_status = 0; }
|
6345 | 6876 |
if test 0 -eq "$ac_status"; then
|
6346 | 6877 |
# Ensure the archiver fails upon bogus file names.
|
|
6348 | 6879 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
6349 | 6880 |
(eval $lt_ar_try) 2>&5
|
6350 | 6881 |
ac_status=$?
|
6351 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6882 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6352 | 6883 |
test $ac_status = 0; }
|
6353 | 6884 |
if test 0 -ne "$ac_status"; then
|
6354 | 6885 |
lt_cv_ar_at_file=@
|
|
6357 | 6888 |
rm -f conftest.* libconftest.a
|
6358 | 6889 |
|
6359 | 6890 |
fi
|
6360 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6361 | |
|
6362 | |
fi
|
6363 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
6364 | |
$as_echo "$lt_cv_ar_at_file" >&6; }
|
|
6891 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
6892 |
|
|
6893 |
fi
|
|
6894 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
|
6895 |
printf "%s\n" "$lt_cv_ar_at_file" >&6; }
|
6365 | 6896 |
|
6366 | 6897 |
if test no = "$lt_cv_ar_at_file"; then
|
6367 | 6898 |
archiver_list_spec=
|
|
6378 | 6909 |
if test -n "$ac_tool_prefix"; then
|
6379 | 6910 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
6380 | 6911 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
6381 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6382 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6383 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
6384 | |
$as_echo_n "(cached) " >&6
|
6385 | |
else
|
|
6912 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6913 |
printf %s "checking for $ac_word... " >&6; }
|
|
6914 |
if test ${ac_cv_prog_STRIP+y}
|
|
6915 |
then :
|
|
6916 |
printf %s "(cached) " >&6
|
|
6917 |
else $as_nop
|
6386 | 6918 |
if test -n "$STRIP"; then
|
6387 | 6919 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
6388 | 6920 |
else
|
|
6390 | 6922 |
for as_dir in $PATH
|
6391 | 6923 |
do
|
6392 | 6924 |
IFS=$as_save_IFS
|
6393 | |
test -z "$as_dir" && as_dir=.
|
|
6925 |
case $as_dir in #(((
|
|
6926 |
'') as_dir=./ ;;
|
|
6927 |
*/) ;;
|
|
6928 |
*) as_dir=$as_dir/ ;;
|
|
6929 |
esac
|
6394 | 6930 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6395 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6931 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6396 | 6932 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
6397 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6933 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6398 | 6934 |
break 2
|
6399 | 6935 |
fi
|
6400 | 6936 |
done
|
|
6405 | 6941 |
fi
|
6406 | 6942 |
STRIP=$ac_cv_prog_STRIP
|
6407 | 6943 |
if test -n "$STRIP"; then
|
6408 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
6409 | |
$as_echo "$STRIP" >&6; }
|
|
6944 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
6945 |
printf "%s\n" "$STRIP" >&6; }
|
6410 | 6946 |
else
|
6411 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6412 | |
$as_echo "no" >&6; }
|
|
6947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6948 |
printf "%s\n" "no" >&6; }
|
6413 | 6949 |
fi
|
6414 | 6950 |
|
6415 | 6951 |
|
|
6418 | 6954 |
ac_ct_STRIP=$STRIP
|
6419 | 6955 |
# Extract the first word of "strip", so it can be a program name with args.
|
6420 | 6956 |
set dummy strip; ac_word=$2
|
6421 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6422 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6423 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
6424 | |
$as_echo_n "(cached) " >&6
|
6425 | |
else
|
|
6957 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6958 |
printf %s "checking for $ac_word... " >&6; }
|
|
6959 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
6960 |
then :
|
|
6961 |
printf %s "(cached) " >&6
|
|
6962 |
else $as_nop
|
6426 | 6963 |
if test -n "$ac_ct_STRIP"; then
|
6427 | 6964 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
6428 | 6965 |
else
|
|
6430 | 6967 |
for as_dir in $PATH
|
6431 | 6968 |
do
|
6432 | 6969 |
IFS=$as_save_IFS
|
6433 | |
test -z "$as_dir" && as_dir=.
|
|
6970 |
case $as_dir in #(((
|
|
6971 |
'') as_dir=./ ;;
|
|
6972 |
*/) ;;
|
|
6973 |
*) as_dir=$as_dir/ ;;
|
|
6974 |
esac
|
6434 | 6975 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6435 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6976 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6436 | 6977 |
ac_cv_prog_ac_ct_STRIP="strip"
|
6437 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6978 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6438 | 6979 |
break 2
|
6439 | 6980 |
fi
|
6440 | 6981 |
done
|
|
6445 | 6986 |
fi
|
6446 | 6987 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
6447 | 6988 |
if test -n "$ac_ct_STRIP"; then
|
6448 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
6449 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
6989 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
6990 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
6450 | 6991 |
else
|
6451 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6452 | |
$as_echo "no" >&6; }
|
|
6992 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6993 |
printf "%s\n" "no" >&6; }
|
6453 | 6994 |
fi
|
6454 | 6995 |
|
6455 | 6996 |
if test "x$ac_ct_STRIP" = x; then
|
|
6457 | 6998 |
else
|
6458 | 6999 |
case $cross_compiling:$ac_tool_warned in
|
6459 | 7000 |
yes:)
|
6460 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6461 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7001 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7002 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6462 | 7003 |
ac_tool_warned=yes ;;
|
6463 | 7004 |
esac
|
6464 | 7005 |
STRIP=$ac_ct_STRIP
|
|
6477 | 7018 |
if test -n "$ac_tool_prefix"; then
|
6478 | 7019 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
6479 | 7020 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6480 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6481 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6482 | |
if ${ac_cv_prog_RANLIB+:} false; then :
|
6483 | |
$as_echo_n "(cached) " >&6
|
6484 | |
else
|
|
7021 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7022 |
printf %s "checking for $ac_word... " >&6; }
|
|
7023 |
if test ${ac_cv_prog_RANLIB+y}
|
|
7024 |
then :
|
|
7025 |
printf %s "(cached) " >&6
|
|
7026 |
else $as_nop
|
6485 | 7027 |
if test -n "$RANLIB"; then
|
6486 | 7028 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
6487 | 7029 |
else
|
|
6489 | 7031 |
for as_dir in $PATH
|
6490 | 7032 |
do
|
6491 | 7033 |
IFS=$as_save_IFS
|
6492 | |
test -z "$as_dir" && as_dir=.
|
|
7034 |
case $as_dir in #(((
|
|
7035 |
'') as_dir=./ ;;
|
|
7036 |
*/) ;;
|
|
7037 |
*) as_dir=$as_dir/ ;;
|
|
7038 |
esac
|
6493 | 7039 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6494 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7040 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6495 | 7041 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
6496 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7042 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6497 | 7043 |
break 2
|
6498 | 7044 |
fi
|
6499 | 7045 |
done
|
|
6504 | 7050 |
fi
|
6505 | 7051 |
RANLIB=$ac_cv_prog_RANLIB
|
6506 | 7052 |
if test -n "$RANLIB"; then
|
6507 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
6508 | |
$as_echo "$RANLIB" >&6; }
|
|
7053 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
7054 |
printf "%s\n" "$RANLIB" >&6; }
|
6509 | 7055 |
else
|
6510 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6511 | |
$as_echo "no" >&6; }
|
|
7056 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7057 |
printf "%s\n" "no" >&6; }
|
6512 | 7058 |
fi
|
6513 | 7059 |
|
6514 | 7060 |
|
|
6517 | 7063 |
ac_ct_RANLIB=$RANLIB
|
6518 | 7064 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
6519 | 7065 |
set dummy ranlib; ac_word=$2
|
6520 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6521 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6522 | |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
6523 | |
$as_echo_n "(cached) " >&6
|
6524 | |
else
|
|
7066 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7067 |
printf %s "checking for $ac_word... " >&6; }
|
|
7068 |
if test ${ac_cv_prog_ac_ct_RANLIB+y}
|
|
7069 |
then :
|
|
7070 |
printf %s "(cached) " >&6
|
|
7071 |
else $as_nop
|
6525 | 7072 |
if test -n "$ac_ct_RANLIB"; then
|
6526 | 7073 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
6527 | 7074 |
else
|
|
6529 | 7076 |
for as_dir in $PATH
|
6530 | 7077 |
do
|
6531 | 7078 |
IFS=$as_save_IFS
|
6532 | |
test -z "$as_dir" && as_dir=.
|
|
7079 |
case $as_dir in #(((
|
|
7080 |
'') as_dir=./ ;;
|
|
7081 |
*/) ;;
|
|
7082 |
*) as_dir=$as_dir/ ;;
|
|
7083 |
esac
|
6533 | 7084 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6534 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7085 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6535 | 7086 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
6536 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7087 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6537 | 7088 |
break 2
|
6538 | 7089 |
fi
|
6539 | 7090 |
done
|
|
6544 | 7095 |
fi
|
6545 | 7096 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
6546 | 7097 |
if test -n "$ac_ct_RANLIB"; then
|
6547 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
6548 | |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
7098 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
7099 |
printf "%s\n" "$ac_ct_RANLIB" >&6; }
|
6549 | 7100 |
else
|
6550 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6551 | |
$as_echo "no" >&6; }
|
|
7101 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7102 |
printf "%s\n" "no" >&6; }
|
6552 | 7103 |
fi
|
6553 | 7104 |
|
6554 | 7105 |
if test "x$ac_ct_RANLIB" = x; then
|
|
6556 | 7107 |
else
|
6557 | 7108 |
case $cross_compiling:$ac_tool_warned in
|
6558 | 7109 |
yes:)
|
6559 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6560 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7110 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7111 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6561 | 7112 |
ac_tool_warned=yes ;;
|
6562 | 7113 |
esac
|
6563 | 7114 |
RANLIB=$ac_ct_RANLIB
|
|
6646 | 7197 |
|
6647 | 7198 |
|
6648 | 7199 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
6649 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
6650 | |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
6651 | |
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
6652 | |
$as_echo_n "(cached) " >&6
|
6653 | |
else
|
|
7200 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
|
7201 |
printf %s "checking command to parse $NM output from $compiler object... " >&6; }
|
|
7202 |
if test ${lt_cv_sys_global_symbol_pipe+y}
|
|
7203 |
then :
|
|
7204 |
printf %s "(cached) " >&6
|
|
7205 |
else $as_nop
|
6654 | 7206 |
|
6655 | 7207 |
# These are sane defaults that work on at least a few old systems.
|
6656 | 7208 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
|
6802 | 7354 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
6803 | 7355 |
(eval $ac_compile) 2>&5
|
6804 | 7356 |
ac_status=$?
|
6805 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7357 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6806 | 7358 |
test $ac_status = 0; }; then
|
6807 | 7359 |
# Now try to grab the symbols.
|
6808 | 7360 |
nlist=conftest.nm
|
|
6875 | 7427 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
6876 | 7428 |
(eval $ac_link) 2>&5
|
6877 | 7429 |
ac_status=$?
|
6878 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7430 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
6879 | 7431 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then
|
6880 | 7432 |
pipe_works=yes
|
6881 | 7433 |
fi
|
|
6910 | 7462 |
lt_cv_sys_global_symbol_to_cdecl=
|
6911 | 7463 |
fi
|
6912 | 7464 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
6913 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
6914 | |
$as_echo "failed" >&6; }
|
|
7465 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
7466 |
printf "%s\n" "failed" >&6; }
|
6915 | 7467 |
else
|
6916 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
6917 | |
$as_echo "ok" >&6; }
|
|
7468 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
|
7469 |
printf "%s\n" "ok" >&6; }
|
6918 | 7470 |
fi
|
6919 | 7471 |
|
6920 | 7472 |
# Response file support.
|
|
6960 | 7512 |
|
6961 | 7513 |
|
6962 | 7514 |
|
6963 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
6964 | |
$as_echo_n "checking for sysroot... " >&6; }
|
|
7515 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
|
7516 |
printf %s "checking for sysroot... " >&6; }
|
6965 | 7517 |
|
6966 | 7518 |
# Check whether --with-sysroot was given.
|
6967 | |
if test "${with_sysroot+set}" = set; then :
|
|
7519 |
if test ${with_sysroot+y}
|
|
7520 |
then :
|
6968 | 7521 |
withval=$with_sysroot;
|
6969 | |
else
|
|
7522 |
else $as_nop
|
6970 | 7523 |
with_sysroot=no
|
6971 | 7524 |
fi
|
6972 | 7525 |
|
|
6984 | 7537 |
no|'')
|
6985 | 7538 |
;; #(
|
6986 | 7539 |
*)
|
6987 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
6988 | |
$as_echo "$with_sysroot" >&6; }
|
|
7540 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
|
7541 |
printf "%s\n" "$with_sysroot" >&6; }
|
6989 | 7542 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
6990 | 7543 |
;;
|
6991 | 7544 |
esac
|
6992 | 7545 |
|
6993 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
6994 | |
$as_echo "${lt_sysroot:-no}" >&6; }
|
6995 | |
|
6996 | |
|
6997 | |
|
6998 | |
|
6999 | |
|
7000 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
7001 | |
$as_echo_n "checking for a working dd... " >&6; }
|
7002 | |
if ${ac_cv_path_lt_DD+:} false; then :
|
7003 | |
$as_echo_n "(cached) " >&6
|
7004 | |
else
|
|
7546 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
|
7547 |
printf "%s\n" "${lt_sysroot:-no}" >&6; }
|
|
7548 |
|
|
7549 |
|
|
7550 |
|
|
7551 |
|
|
7552 |
|
|
7553 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
|
7554 |
printf %s "checking for a working dd... " >&6; }
|
|
7555 |
if test ${ac_cv_path_lt_DD+y}
|
|
7556 |
then :
|
|
7557 |
printf %s "(cached) " >&6
|
|
7558 |
else $as_nop
|
7005 | 7559 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
7006 | 7560 |
cat conftest.i conftest.i >conftest2.i
|
7007 | 7561 |
: ${lt_DD:=$DD}
|
|
7012 | 7566 |
for as_dir in $PATH
|
7013 | 7567 |
do
|
7014 | 7568 |
IFS=$as_save_IFS
|
7015 | |
test -z "$as_dir" && as_dir=.
|
7016 | |
for ac_prog in dd; do
|
|
7569 |
case $as_dir in #(((
|
|
7570 |
'') as_dir=./ ;;
|
|
7571 |
*/) ;;
|
|
7572 |
*) as_dir=$as_dir/ ;;
|
|
7573 |
esac
|
|
7574 |
for ac_prog in dd
|
|
7575 |
do
|
7017 | 7576 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7018 | |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
|
|
7577 |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
|
7019 | 7578 |
as_fn_executable_p "$ac_path_lt_DD" || continue
|
7020 | 7579 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
|
7021 | 7580 |
cmp -s conftest.i conftest.out \
|
|
7035 | 7594 |
|
7036 | 7595 |
rm -f conftest.i conftest2.i conftest.out
|
7037 | 7596 |
fi
|
7038 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
7039 | |
$as_echo "$ac_cv_path_lt_DD" >&6; }
|
7040 | |
|
7041 | |
|
7042 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
7043 | |
$as_echo_n "checking how to truncate binary pipes... " >&6; }
|
7044 | |
if ${lt_cv_truncate_bin+:} false; then :
|
7045 | |
$as_echo_n "(cached) " >&6
|
7046 | |
else
|
|
7597 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
|
7598 |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
|
|
7599 |
|
|
7600 |
|
|
7601 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
|
7602 |
printf %s "checking how to truncate binary pipes... " >&6; }
|
|
7603 |
if test ${lt_cv_truncate_bin+y}
|
|
7604 |
then :
|
|
7605 |
printf %s "(cached) " >&6
|
|
7606 |
else $as_nop
|
7047 | 7607 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
7048 | 7608 |
cat conftest.i conftest.i >conftest2.i
|
7049 | 7609 |
lt_cv_truncate_bin=
|
|
7054 | 7614 |
rm -f conftest.i conftest2.i conftest.out
|
7055 | 7615 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
|
7056 | 7616 |
fi
|
7057 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
7058 | |
$as_echo "$lt_cv_truncate_bin" >&6; }
|
|
7617 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
|
7618 |
printf "%s\n" "$lt_cv_truncate_bin" >&6; }
|
7059 | 7619 |
|
7060 | 7620 |
|
7061 | 7621 |
|
|
7078 | 7638 |
}
|
7079 | 7639 |
|
7080 | 7640 |
# Check whether --enable-libtool-lock was given.
|
7081 | |
if test "${enable_libtool_lock+set}" = set; then :
|
|
7641 |
if test ${enable_libtool_lock+y}
|
|
7642 |
then :
|
7082 | 7643 |
enableval=$enable_libtool_lock;
|
7083 | 7644 |
fi
|
7084 | 7645 |
|
|
7094 | 7655 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7095 | 7656 |
(eval $ac_compile) 2>&5
|
7096 | 7657 |
ac_status=$?
|
7097 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7658 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7098 | 7659 |
test $ac_status = 0; }; then
|
7099 | 7660 |
case `/usr/bin/file conftest.$ac_objext` in
|
7100 | 7661 |
*ELF-32*)
|
|
7114 | 7675 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7115 | 7676 |
(eval $ac_compile) 2>&5
|
7116 | 7677 |
ac_status=$?
|
7117 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7678 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7118 | 7679 |
test $ac_status = 0; }; then
|
7119 | 7680 |
if test yes = "$lt_cv_prog_gnu_ld"; then
|
7120 | 7681 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
7152 | 7713 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7153 | 7714 |
(eval $ac_compile) 2>&5
|
7154 | 7715 |
ac_status=$?
|
7155 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7716 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7156 | 7717 |
test $ac_status = 0; }; then
|
7157 | 7718 |
emul=elf
|
7158 | 7719 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
7193 | 7754 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7194 | 7755 |
(eval $ac_compile) 2>&5
|
7195 | 7756 |
ac_status=$?
|
7196 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7757 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7197 | 7758 |
test $ac_status = 0; }; then
|
7198 | 7759 |
case `/usr/bin/file conftest.o` in
|
7199 | 7760 |
*32-bit*)
|
|
7256 | 7817 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
7257 | 7818 |
SAVE_CFLAGS=$CFLAGS
|
7258 | 7819 |
CFLAGS="$CFLAGS -belf"
|
7259 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
7260 | |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
7261 | |
if ${lt_cv_cc_needs_belf+:} false; then :
|
7262 | |
$as_echo_n "(cached) " >&6
|
7263 | |
else
|
|
7820 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
|
7821 |
printf %s "checking whether the C compiler needs -belf... " >&6; }
|
|
7822 |
if test ${lt_cv_cc_needs_belf+y}
|
|
7823 |
then :
|
|
7824 |
printf %s "(cached) " >&6
|
|
7825 |
else $as_nop
|
7264 | 7826 |
ac_ext=c
|
7265 | 7827 |
ac_cpp='$CPP $CPPFLAGS'
|
7266 | 7828 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
7271 | 7833 |
/* end confdefs.h. */
|
7272 | 7834 |
|
7273 | 7835 |
int
|
7274 | |
main ()
|
|
7836 |
main (void)
|
7275 | 7837 |
{
|
7276 | 7838 |
|
7277 | 7839 |
;
|
7278 | 7840 |
return 0;
|
7279 | 7841 |
}
|
7280 | 7842 |
_ACEOF
|
7281 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
7843 |
if ac_fn_c_try_link "$LINENO"
|
|
7844 |
then :
|
7282 | 7845 |
lt_cv_cc_needs_belf=yes
|
7283 | |
else
|
|
7846 |
else $as_nop
|
7284 | 7847 |
lt_cv_cc_needs_belf=no
|
7285 | 7848 |
fi
|
7286 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
7849 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
7287 | 7850 |
conftest$ac_exeext conftest.$ac_ext
|
7288 | 7851 |
ac_ext=c
|
7289 | 7852 |
ac_cpp='$CPP $CPPFLAGS'
|
|
7292 | 7855 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7293 | 7856 |
|
7294 | 7857 |
fi
|
7295 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
7296 | |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|
7858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
|
7859 |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
|
7297 | 7860 |
if test yes != "$lt_cv_cc_needs_belf"; then
|
7298 | 7861 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
7299 | 7862 |
CFLAGS=$SAVE_CFLAGS
|
|
7306 | 7869 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7307 | 7870 |
(eval $ac_compile) 2>&5
|
7308 | 7871 |
ac_status=$?
|
7309 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7872 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7310 | 7873 |
test $ac_status = 0; }; then
|
7311 | 7874 |
case `/usr/bin/file conftest.o` in
|
7312 | 7875 |
*64-bit*)
|
|
7343 | 7906 |
if test -n "$ac_tool_prefix"; then
|
7344 | 7907 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
7345 | 7908 |
set dummy ${ac_tool_prefix}mt; ac_word=$2
|
7346 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7347 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7348 | |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
7349 | |
$as_echo_n "(cached) " >&6
|
7350 | |
else
|
|
7909 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7910 |
printf %s "checking for $ac_word... " >&6; }
|
|
7911 |
if test ${ac_cv_prog_MANIFEST_TOOL+y}
|
|
7912 |
then :
|
|
7913 |
printf %s "(cached) " >&6
|
|
7914 |
else $as_nop
|
7351 | 7915 |
if test -n "$MANIFEST_TOOL"; then
|
7352 | 7916 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
7353 | 7917 |
else
|
|
7355 | 7919 |
for as_dir in $PATH
|
7356 | 7920 |
do
|
7357 | 7921 |
IFS=$as_save_IFS
|
7358 | |
test -z "$as_dir" && as_dir=.
|
|
7922 |
case $as_dir in #(((
|
|
7923 |
'') as_dir=./ ;;
|
|
7924 |
*/) ;;
|
|
7925 |
*) as_dir=$as_dir/ ;;
|
|
7926 |
esac
|
7359 | 7927 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7360 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7928 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7361 | 7929 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
7362 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7930 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7363 | 7931 |
break 2
|
7364 | 7932 |
fi
|
7365 | 7933 |
done
|
|
7370 | 7938 |
fi
|
7371 | 7939 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
7372 | 7940 |
if test -n "$MANIFEST_TOOL"; then
|
7373 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
7374 | |
$as_echo "$MANIFEST_TOOL" >&6; }
|
|
7941 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
|
7942 |
printf "%s\n" "$MANIFEST_TOOL" >&6; }
|
7375 | 7943 |
else
|
7376 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7377 | |
$as_echo "no" >&6; }
|
|
7944 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7945 |
printf "%s\n" "no" >&6; }
|
7378 | 7946 |
fi
|
7379 | 7947 |
|
7380 | 7948 |
|
|
7383 | 7951 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
7384 | 7952 |
# Extract the first word of "mt", so it can be a program name with args.
|
7385 | 7953 |
set dummy mt; ac_word=$2
|
7386 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7387 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7388 | |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
7389 | |
$as_echo_n "(cached) " >&6
|
7390 | |
else
|
|
7954 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7955 |
printf %s "checking for $ac_word... " >&6; }
|
|
7956 |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
|
|
7957 |
then :
|
|
7958 |
printf %s "(cached) " >&6
|
|
7959 |
else $as_nop
|
7391 | 7960 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
7392 | 7961 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
7393 | 7962 |
else
|
|
7395 | 7964 |
for as_dir in $PATH
|
7396 | 7965 |
do
|
7397 | 7966 |
IFS=$as_save_IFS
|
7398 | |
test -z "$as_dir" && as_dir=.
|
|
7967 |
case $as_dir in #(((
|
|
7968 |
'') as_dir=./ ;;
|
|
7969 |
*/) ;;
|
|
7970 |
*) as_dir=$as_dir/ ;;
|
|
7971 |
esac
|
7399 | 7972 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7400 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7973 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7401 | 7974 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
7402 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7975 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7403 | 7976 |
break 2
|
7404 | 7977 |
fi
|
7405 | 7978 |
done
|
|
7410 | 7983 |
fi
|
7411 | 7984 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
7412 | 7985 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
7413 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
7414 | |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
|
7986 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
|
7987 |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
|
7415 | 7988 |
else
|
7416 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7417 | |
$as_echo "no" >&6; }
|
|
7989 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7990 |
printf "%s\n" "no" >&6; }
|
7418 | 7991 |
fi
|
7419 | 7992 |
|
7420 | 7993 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
|
7422 | 7995 |
else
|
7423 | 7996 |
case $cross_compiling:$ac_tool_warned in
|
7424 | 7997 |
yes:)
|
7425 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7426 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7998 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7999 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7427 | 8000 |
ac_tool_warned=yes ;;
|
7428 | 8001 |
esac
|
7429 | 8002 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
|
7433 | 8006 |
fi
|
7434 | 8007 |
|
7435 | 8008 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
7436 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
7437 | |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
7438 | |
if ${lt_cv_path_mainfest_tool+:} false; then :
|
7439 | |
$as_echo_n "(cached) " >&6
|
7440 | |
else
|
|
8009 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
|
8010 |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
|
8011 |
if test ${lt_cv_path_mainfest_tool+y}
|
|
8012 |
then :
|
|
8013 |
printf %s "(cached) " >&6
|
|
8014 |
else $as_nop
|
7441 | 8015 |
lt_cv_path_mainfest_tool=no
|
7442 | 8016 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
7443 | 8017 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
|
7447 | 8021 |
fi
|
7448 | 8022 |
rm -f conftest*
|
7449 | 8023 |
fi
|
7450 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
7451 | |
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
|
8024 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
|
8025 |
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
|
7452 | 8026 |
if test yes != "$lt_cv_path_mainfest_tool"; then
|
7453 | 8027 |
MANIFEST_TOOL=:
|
7454 | 8028 |
fi
|
|
7463 | 8037 |
if test -n "$ac_tool_prefix"; then
|
7464 | 8038 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
7465 | 8039 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
7466 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7467 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7468 | |
if ${ac_cv_prog_DSYMUTIL+:} false; then :
|
7469 | |
$as_echo_n "(cached) " >&6
|
7470 | |
else
|
|
8040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8041 |
printf %s "checking for $ac_word... " >&6; }
|
|
8042 |
if test ${ac_cv_prog_DSYMUTIL+y}
|
|
8043 |
then :
|
|
8044 |
printf %s "(cached) " >&6
|
|
8045 |
else $as_nop
|
7471 | 8046 |
if test -n "$DSYMUTIL"; then
|
7472 | 8047 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
7473 | 8048 |
else
|
|
7475 | 8050 |
for as_dir in $PATH
|
7476 | 8051 |
do
|
7477 | 8052 |
IFS=$as_save_IFS
|
7478 | |
test -z "$as_dir" && as_dir=.
|
|
8053 |
case $as_dir in #(((
|
|
8054 |
'') as_dir=./ ;;
|
|
8055 |
*/) ;;
|
|
8056 |
*) as_dir=$as_dir/ ;;
|
|
8057 |
esac
|
7479 | 8058 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7480 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8059 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7481 | 8060 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
7482 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8061 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7483 | 8062 |
break 2
|
7484 | 8063 |
fi
|
7485 | 8064 |
done
|
|
7490 | 8069 |
fi
|
7491 | 8070 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
7492 | 8071 |
if test -n "$DSYMUTIL"; then
|
7493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
7494 | |
$as_echo "$DSYMUTIL" >&6; }
|
|
8072 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
|
8073 |
printf "%s\n" "$DSYMUTIL" >&6; }
|
7495 | 8074 |
else
|
7496 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7497 | |
$as_echo "no" >&6; }
|
|
8075 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8076 |
printf "%s\n" "no" >&6; }
|
7498 | 8077 |
fi
|
7499 | 8078 |
|
7500 | 8079 |
|
|
7503 | 8082 |
ac_ct_DSYMUTIL=$DSYMUTIL
|
7504 | 8083 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
7505 | 8084 |
set dummy dsymutil; ac_word=$2
|
7506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7507 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7508 | |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
|
7509 | |
$as_echo_n "(cached) " >&6
|
7510 | |
else
|
|
8085 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8086 |
printf %s "checking for $ac_word... " >&6; }
|
|
8087 |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
|
|
8088 |
then :
|
|
8089 |
printf %s "(cached) " >&6
|
|
8090 |
else $as_nop
|
7511 | 8091 |
if test -n "$ac_ct_DSYMUTIL"; then
|
7512 | 8092 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
7513 | 8093 |
else
|
|
7515 | 8095 |
for as_dir in $PATH
|
7516 | 8096 |
do
|
7517 | 8097 |
IFS=$as_save_IFS
|
7518 | |
test -z "$as_dir" && as_dir=.
|
|
8098 |
case $as_dir in #(((
|
|
8099 |
'') as_dir=./ ;;
|
|
8100 |
*/) ;;
|
|
8101 |
*) as_dir=$as_dir/ ;;
|
|
8102 |
esac
|
7519 | 8103 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7520 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8104 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7521 | 8105 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
7522 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8106 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7523 | 8107 |
break 2
|
7524 | 8108 |
fi
|
7525 | 8109 |
done
|
|
7530 | 8114 |
fi
|
7531 | 8115 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
7532 | 8116 |
if test -n "$ac_ct_DSYMUTIL"; then
|
7533 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
7534 | |
$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
|
8117 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
|
8118 |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
|
7535 | 8119 |
else
|
7536 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7537 | |
$as_echo "no" >&6; }
|
|
8120 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8121 |
printf "%s\n" "no" >&6; }
|
7538 | 8122 |
fi
|
7539 | 8123 |
|
7540 | 8124 |
if test "x$ac_ct_DSYMUTIL" = x; then
|
|
7542 | 8126 |
else
|
7543 | 8127 |
case $cross_compiling:$ac_tool_warned in
|
7544 | 8128 |
yes:)
|
7545 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7546 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8129 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8130 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7547 | 8131 |
ac_tool_warned=yes ;;
|
7548 | 8132 |
esac
|
7549 | 8133 |
DSYMUTIL=$ac_ct_DSYMUTIL
|
|
7555 | 8139 |
if test -n "$ac_tool_prefix"; then
|
7556 | 8140 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
7557 | 8141 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
7558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7559 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7560 | |
if ${ac_cv_prog_NMEDIT+:} false; then :
|
7561 | |
$as_echo_n "(cached) " >&6
|
7562 | |
else
|
|
8142 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8143 |
printf %s "checking for $ac_word... " >&6; }
|
|
8144 |
if test ${ac_cv_prog_NMEDIT+y}
|
|
8145 |
then :
|
|
8146 |
printf %s "(cached) " >&6
|
|
8147 |
else $as_nop
|
7563 | 8148 |
if test -n "$NMEDIT"; then
|
7564 | 8149 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
7565 | 8150 |
else
|
|
7567 | 8152 |
for as_dir in $PATH
|
7568 | 8153 |
do
|
7569 | 8154 |
IFS=$as_save_IFS
|
7570 | |
test -z "$as_dir" && as_dir=.
|
|
8155 |
case $as_dir in #(((
|
|
8156 |
'') as_dir=./ ;;
|
|
8157 |
*/) ;;
|
|
8158 |
*) as_dir=$as_dir/ ;;
|
|
8159 |
esac
|
7571 | 8160 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7572 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8161 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7573 | 8162 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
7574 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8163 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7575 | 8164 |
break 2
|
7576 | 8165 |
fi
|
7577 | 8166 |
done
|
|
7582 | 8171 |
fi
|
7583 | 8172 |
NMEDIT=$ac_cv_prog_NMEDIT
|
7584 | 8173 |
if test -n "$NMEDIT"; then
|
7585 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
7586 | |
$as_echo "$NMEDIT" >&6; }
|
|
8174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
|
8175 |
printf "%s\n" "$NMEDIT" >&6; }
|
7587 | 8176 |
else
|
7588 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7589 | |
$as_echo "no" >&6; }
|
|
8177 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8178 |
printf "%s\n" "no" >&6; }
|
7590 | 8179 |
fi
|
7591 | 8180 |
|
7592 | 8181 |
|
|
7595 | 8184 |
ac_ct_NMEDIT=$NMEDIT
|
7596 | 8185 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
7597 | 8186 |
set dummy nmedit; ac_word=$2
|
7598 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7599 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7600 | |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
|
7601 | |
$as_echo_n "(cached) " >&6
|
7602 | |
else
|
|
8187 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8188 |
printf %s "checking for $ac_word... " >&6; }
|
|
8189 |
if test ${ac_cv_prog_ac_ct_NMEDIT+y}
|
|
8190 |
then :
|
|
8191 |
printf %s "(cached) " >&6
|
|
8192 |
else $as_nop
|
7603 | 8193 |
if test -n "$ac_ct_NMEDIT"; then
|
7604 | 8194 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
7605 | 8195 |
else
|
|
7607 | 8197 |
for as_dir in $PATH
|
7608 | 8198 |
do
|
7609 | 8199 |
IFS=$as_save_IFS
|
7610 | |
test -z "$as_dir" && as_dir=.
|
|
8200 |
case $as_dir in #(((
|
|
8201 |
'') as_dir=./ ;;
|
|
8202 |
*/) ;;
|
|
8203 |
*) as_dir=$as_dir/ ;;
|
|
8204 |
esac
|
7611 | 8205 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7612 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8206 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7613 | 8207 |
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
7614 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8208 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7615 | 8209 |
break 2
|
7616 | 8210 |
fi
|
7617 | 8211 |
done
|
|
7622 | 8216 |
fi
|
7623 | 8217 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
7624 | 8218 |
if test -n "$ac_ct_NMEDIT"; then
|
7625 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
7626 | |
$as_echo "$ac_ct_NMEDIT" >&6; }
|
|
8219 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
|
8220 |
printf "%s\n" "$ac_ct_NMEDIT" >&6; }
|
7627 | 8221 |
else
|
7628 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7629 | |
$as_echo "no" >&6; }
|
|
8222 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8223 |
printf "%s\n" "no" >&6; }
|
7630 | 8224 |
fi
|
7631 | 8225 |
|
7632 | 8226 |
if test "x$ac_ct_NMEDIT" = x; then
|
|
7634 | 8228 |
else
|
7635 | 8229 |
case $cross_compiling:$ac_tool_warned in
|
7636 | 8230 |
yes:)
|
7637 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7638 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8231 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8232 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7639 | 8233 |
ac_tool_warned=yes ;;
|
7640 | 8234 |
esac
|
7641 | 8235 |
NMEDIT=$ac_ct_NMEDIT
|
|
7647 | 8241 |
if test -n "$ac_tool_prefix"; then
|
7648 | 8242 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
7649 | 8243 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
7650 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7651 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7652 | |
if ${ac_cv_prog_LIPO+:} false; then :
|
7653 | |
$as_echo_n "(cached) " >&6
|
7654 | |
else
|
|
8244 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8245 |
printf %s "checking for $ac_word... " >&6; }
|
|
8246 |
if test ${ac_cv_prog_LIPO+y}
|
|
8247 |
then :
|
|
8248 |
printf %s "(cached) " >&6
|
|
8249 |
else $as_nop
|
7655 | 8250 |
if test -n "$LIPO"; then
|
7656 | 8251 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
7657 | 8252 |
else
|
|
7659 | 8254 |
for as_dir in $PATH
|
7660 | 8255 |
do
|
7661 | 8256 |
IFS=$as_save_IFS
|
7662 | |
test -z "$as_dir" && as_dir=.
|
|
8257 |
case $as_dir in #(((
|
|
8258 |
'') as_dir=./ ;;
|
|
8259 |
*/) ;;
|
|
8260 |
*) as_dir=$as_dir/ ;;
|
|
8261 |
esac
|
7663 | 8262 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7664 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8263 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7665 | 8264 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
7666 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8265 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7667 | 8266 |
break 2
|
7668 | 8267 |
fi
|
7669 | 8268 |
done
|
|
7674 | 8273 |
fi
|
7675 | 8274 |
LIPO=$ac_cv_prog_LIPO
|
7676 | 8275 |
if test -n "$LIPO"; then
|
7677 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
7678 | |
$as_echo "$LIPO" >&6; }
|
|
8276 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
|
8277 |
printf "%s\n" "$LIPO" >&6; }
|
7679 | 8278 |
else
|
7680 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7681 | |
$as_echo "no" >&6; }
|
|
8279 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8280 |
printf "%s\n" "no" >&6; }
|
7682 | 8281 |
fi
|
7683 | 8282 |
|
7684 | 8283 |
|
|
7687 | 8286 |
ac_ct_LIPO=$LIPO
|
7688 | 8287 |
# Extract the first word of "lipo", so it can be a program name with args.
|
7689 | 8288 |
set dummy lipo; ac_word=$2
|
7690 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7691 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7692 | |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
|
7693 | |
$as_echo_n "(cached) " >&6
|
7694 | |
else
|
|
8289 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8290 |
printf %s "checking for $ac_word... " >&6; }
|
|
8291 |
if test ${ac_cv_prog_ac_ct_LIPO+y}
|
|
8292 |
then :
|
|
8293 |
printf %s "(cached) " >&6
|
|
8294 |
else $as_nop
|
7695 | 8295 |
if test -n "$ac_ct_LIPO"; then
|
7696 | 8296 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
7697 | 8297 |
else
|
|
7699 | 8299 |
for as_dir in $PATH
|
7700 | 8300 |
do
|
7701 | 8301 |
IFS=$as_save_IFS
|
7702 | |
test -z "$as_dir" && as_dir=.
|
|
8302 |
case $as_dir in #(((
|
|
8303 |
'') as_dir=./ ;;
|
|
8304 |
*/) ;;
|
|
8305 |
*) as_dir=$as_dir/ ;;
|
|
8306 |
esac
|
7703 | 8307 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7704 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8308 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7705 | 8309 |
ac_cv_prog_ac_ct_LIPO="lipo"
|
7706 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8310 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7707 | 8311 |
break 2
|
7708 | 8312 |
fi
|
7709 | 8313 |
done
|
|
7714 | 8318 |
fi
|
7715 | 8319 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
7716 | 8320 |
if test -n "$ac_ct_LIPO"; then
|
7717 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
7718 | |
$as_echo "$ac_ct_LIPO" >&6; }
|
|
8321 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
|
8322 |
printf "%s\n" "$ac_ct_LIPO" >&6; }
|
7719 | 8323 |
else
|
7720 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7721 | |
$as_echo "no" >&6; }
|
|
8324 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8325 |
printf "%s\n" "no" >&6; }
|
7722 | 8326 |
fi
|
7723 | 8327 |
|
7724 | 8328 |
if test "x$ac_ct_LIPO" = x; then
|
|
7726 | 8330 |
else
|
7727 | 8331 |
case $cross_compiling:$ac_tool_warned in
|
7728 | 8332 |
yes:)
|
7729 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7730 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8333 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8334 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7731 | 8335 |
ac_tool_warned=yes ;;
|
7732 | 8336 |
esac
|
7733 | 8337 |
LIPO=$ac_ct_LIPO
|
|
7739 | 8343 |
if test -n "$ac_tool_prefix"; then
|
7740 | 8344 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
7741 | 8345 |
set dummy ${ac_tool_prefix}otool; ac_word=$2
|
7742 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7743 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7744 | |
if ${ac_cv_prog_OTOOL+:} false; then :
|
7745 | |
$as_echo_n "(cached) " >&6
|
7746 | |
else
|
|
8346 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8347 |
printf %s "checking for $ac_word... " >&6; }
|
|
8348 |
if test ${ac_cv_prog_OTOOL+y}
|
|
8349 |
then :
|
|
8350 |
printf %s "(cached) " >&6
|
|
8351 |
else $as_nop
|
7747 | 8352 |
if test -n "$OTOOL"; then
|
7748 | 8353 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
7749 | 8354 |
else
|
|
7751 | 8356 |
for as_dir in $PATH
|
7752 | 8357 |
do
|
7753 | 8358 |
IFS=$as_save_IFS
|
7754 | |
test -z "$as_dir" && as_dir=.
|
|
8359 |
case $as_dir in #(((
|
|
8360 |
'') as_dir=./ ;;
|
|
8361 |
*/) ;;
|
|
8362 |
*) as_dir=$as_dir/ ;;
|
|
8363 |
esac
|
7755 | 8364 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7756 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8365 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7757 | 8366 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
7758 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8367 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7759 | 8368 |
break 2
|
7760 | 8369 |
fi
|
7761 | 8370 |
done
|
|
7766 | 8375 |
fi
|
7767 | 8376 |
OTOOL=$ac_cv_prog_OTOOL
|
7768 | 8377 |
if test -n "$OTOOL"; then
|
7769 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
7770 | |
$as_echo "$OTOOL" >&6; }
|
|
8378 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
|
8379 |
printf "%s\n" "$OTOOL" >&6; }
|
7771 | 8380 |
else
|
7772 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7773 | |
$as_echo "no" >&6; }
|
|
8381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8382 |
printf "%s\n" "no" >&6; }
|
7774 | 8383 |
fi
|
7775 | 8384 |
|
7776 | 8385 |
|
|
7779 | 8388 |
ac_ct_OTOOL=$OTOOL
|
7780 | 8389 |
# Extract the first word of "otool", so it can be a program name with args.
|
7781 | 8390 |
set dummy otool; ac_word=$2
|
7782 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7783 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7784 | |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
|
7785 | |
$as_echo_n "(cached) " >&6
|
7786 | |
else
|
|
8391 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8392 |
printf %s "checking for $ac_word... " >&6; }
|
|
8393 |
if test ${ac_cv_prog_ac_ct_OTOOL+y}
|
|
8394 |
then :
|
|
8395 |
printf %s "(cached) " >&6
|
|
8396 |
else $as_nop
|
7787 | 8397 |
if test -n "$ac_ct_OTOOL"; then
|
7788 | 8398 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
7789 | 8399 |
else
|
|
7791 | 8401 |
for as_dir in $PATH
|
7792 | 8402 |
do
|
7793 | 8403 |
IFS=$as_save_IFS
|
7794 | |
test -z "$as_dir" && as_dir=.
|
|
8404 |
case $as_dir in #(((
|
|
8405 |
'') as_dir=./ ;;
|
|
8406 |
*/) ;;
|
|
8407 |
*) as_dir=$as_dir/ ;;
|
|
8408 |
esac
|
7795 | 8409 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7796 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8410 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7797 | 8411 |
ac_cv_prog_ac_ct_OTOOL="otool"
|
7798 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8412 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7799 | 8413 |
break 2
|
7800 | 8414 |
fi
|
7801 | 8415 |
done
|
|
7806 | 8420 |
fi
|
7807 | 8421 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
7808 | 8422 |
if test -n "$ac_ct_OTOOL"; then
|
7809 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
7810 | |
$as_echo "$ac_ct_OTOOL" >&6; }
|
|
8423 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
|
8424 |
printf "%s\n" "$ac_ct_OTOOL" >&6; }
|
7811 | 8425 |
else
|
7812 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7813 | |
$as_echo "no" >&6; }
|
|
8426 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8427 |
printf "%s\n" "no" >&6; }
|
7814 | 8428 |
fi
|
7815 | 8429 |
|
7816 | 8430 |
if test "x$ac_ct_OTOOL" = x; then
|
|
7818 | 8432 |
else
|
7819 | 8433 |
case $cross_compiling:$ac_tool_warned in
|
7820 | 8434 |
yes:)
|
7821 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7822 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8435 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8436 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7823 | 8437 |
ac_tool_warned=yes ;;
|
7824 | 8438 |
esac
|
7825 | 8439 |
OTOOL=$ac_ct_OTOOL
|
|
7831 | 8445 |
if test -n "$ac_tool_prefix"; then
|
7832 | 8446 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
7833 | 8447 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
7834 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7835 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7836 | |
if ${ac_cv_prog_OTOOL64+:} false; then :
|
7837 | |
$as_echo_n "(cached) " >&6
|
7838 | |
else
|
|
8448 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8449 |
printf %s "checking for $ac_word... " >&6; }
|
|
8450 |
if test ${ac_cv_prog_OTOOL64+y}
|
|
8451 |
then :
|
|
8452 |
printf %s "(cached) " >&6
|
|
8453 |
else $as_nop
|
7839 | 8454 |
if test -n "$OTOOL64"; then
|
7840 | 8455 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
7841 | 8456 |
else
|
|
7843 | 8458 |
for as_dir in $PATH
|
7844 | 8459 |
do
|
7845 | 8460 |
IFS=$as_save_IFS
|
7846 | |
test -z "$as_dir" && as_dir=.
|
|
8461 |
case $as_dir in #(((
|
|
8462 |
'') as_dir=./ ;;
|
|
8463 |
*/) ;;
|
|
8464 |
*) as_dir=$as_dir/ ;;
|
|
8465 |
esac
|
7847 | 8466 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7848 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8467 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7849 | 8468 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
7850 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8469 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7851 | 8470 |
break 2
|
7852 | 8471 |
fi
|
7853 | 8472 |
done
|
|
7858 | 8477 |
fi
|
7859 | 8478 |
OTOOL64=$ac_cv_prog_OTOOL64
|
7860 | 8479 |
if test -n "$OTOOL64"; then
|
7861 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
7862 | |
$as_echo "$OTOOL64" >&6; }
|
|
8480 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
|
8481 |
printf "%s\n" "$OTOOL64" >&6; }
|
7863 | 8482 |
else
|
7864 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7865 | |
$as_echo "no" >&6; }
|
|
8483 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8484 |
printf "%s\n" "no" >&6; }
|
7866 | 8485 |
fi
|
7867 | 8486 |
|
7868 | 8487 |
|
|
7871 | 8490 |
ac_ct_OTOOL64=$OTOOL64
|
7872 | 8491 |
# Extract the first word of "otool64", so it can be a program name with args.
|
7873 | 8492 |
set dummy otool64; ac_word=$2
|
7874 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7875 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7876 | |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
|
7877 | |
$as_echo_n "(cached) " >&6
|
7878 | |
else
|
|
8493 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8494 |
printf %s "checking for $ac_word... " >&6; }
|
|
8495 |
if test ${ac_cv_prog_ac_ct_OTOOL64+y}
|
|
8496 |
then :
|
|
8497 |
printf %s "(cached) " >&6
|
|
8498 |
else $as_nop
|
7879 | 8499 |
if test -n "$ac_ct_OTOOL64"; then
|
7880 | 8500 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
7881 | 8501 |
else
|
|
7883 | 8503 |
for as_dir in $PATH
|
7884 | 8504 |
do
|
7885 | 8505 |
IFS=$as_save_IFS
|
7886 | |
test -z "$as_dir" && as_dir=.
|
|
8506 |
case $as_dir in #(((
|
|
8507 |
'') as_dir=./ ;;
|
|
8508 |
*/) ;;
|
|
8509 |
*) as_dir=$as_dir/ ;;
|
|
8510 |
esac
|
7887 | 8511 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7888 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8512 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7889 | 8513 |
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
7890 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8514 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7891 | 8515 |
break 2
|
7892 | 8516 |
fi
|
7893 | 8517 |
done
|
|
7898 | 8522 |
fi
|
7899 | 8523 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
7900 | 8524 |
if test -n "$ac_ct_OTOOL64"; then
|
7901 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
7902 | |
$as_echo "$ac_ct_OTOOL64" >&6; }
|
|
8525 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
|
8526 |
printf "%s\n" "$ac_ct_OTOOL64" >&6; }
|
7903 | 8527 |
else
|
7904 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7905 | |
$as_echo "no" >&6; }
|
|
8528 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8529 |
printf "%s\n" "no" >&6; }
|
7906 | 8530 |
fi
|
7907 | 8531 |
|
7908 | 8532 |
if test "x$ac_ct_OTOOL64" = x; then
|
|
7910 | 8534 |
else
|
7911 | 8535 |
case $cross_compiling:$ac_tool_warned in
|
7912 | 8536 |
yes:)
|
7913 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7914 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8537 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8538 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7915 | 8539 |
ac_tool_warned=yes ;;
|
7916 | 8540 |
esac
|
7917 | 8541 |
OTOOL64=$ac_ct_OTOOL64
|
|
7946 | 8570 |
|
7947 | 8571 |
|
7948 | 8572 |
|
7949 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
7950 | |
$as_echo_n "checking for -single_module linker flag... " >&6; }
|
7951 | |
if ${lt_cv_apple_cc_single_mod+:} false; then :
|
7952 | |
$as_echo_n "(cached) " >&6
|
7953 | |
else
|
|
8573 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
|
8574 |
printf %s "checking for -single_module linker flag... " >&6; }
|
|
8575 |
if test ${lt_cv_apple_cc_single_mod+y}
|
|
8576 |
then :
|
|
8577 |
printf %s "(cached) " >&6
|
|
8578 |
else $as_nop
|
7954 | 8579 |
lt_cv_apple_cc_single_mod=no
|
7955 | 8580 |
if test -z "$LT_MULTI_MODULE"; then
|
7956 | 8581 |
# By default we will add the -single_module flag. You can override
|
|
7979 | 8604 |
rm -f conftest.*
|
7980 | 8605 |
fi
|
7981 | 8606 |
fi
|
7982 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
7983 | |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
7984 | |
|
7985 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
7986 | |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
7987 | |
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
7988 | |
$as_echo_n "(cached) " >&6
|
7989 | |
else
|
|
8607 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
|
8608 |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
|
|
8609 |
|
|
8610 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
|
8611 |
printf %s "checking for -exported_symbols_list linker flag... " >&6; }
|
|
8612 |
if test ${lt_cv_ld_exported_symbols_list+y}
|
|
8613 |
then :
|
|
8614 |
printf %s "(cached) " >&6
|
|
8615 |
else $as_nop
|
7990 | 8616 |
lt_cv_ld_exported_symbols_list=no
|
7991 | 8617 |
save_LDFLAGS=$LDFLAGS
|
7992 | 8618 |
echo "_main" > conftest.sym
|
|
7995 | 8621 |
/* end confdefs.h. */
|
7996 | 8622 |
|
7997 | 8623 |
int
|
7998 | |
main ()
|
|
8624 |
main (void)
|
7999 | 8625 |
{
|
8000 | 8626 |
|
8001 | 8627 |
;
|
8002 | 8628 |
return 0;
|
8003 | 8629 |
}
|
8004 | 8630 |
_ACEOF
|
8005 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
8631 |
if ac_fn_c_try_link "$LINENO"
|
|
8632 |
then :
|
8006 | 8633 |
lt_cv_ld_exported_symbols_list=yes
|
8007 | |
else
|
|
8634 |
else $as_nop
|
8008 | 8635 |
lt_cv_ld_exported_symbols_list=no
|
8009 | 8636 |
fi
|
8010 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
8637 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
8011 | 8638 |
conftest$ac_exeext conftest.$ac_ext
|
8012 | 8639 |
LDFLAGS=$save_LDFLAGS
|
8013 | 8640 |
|
8014 | 8641 |
fi
|
8015 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
8016 | |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
8017 | |
|
8018 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
8019 | |
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
8020 | |
if ${lt_cv_ld_force_load+:} false; then :
|
8021 | |
$as_echo_n "(cached) " >&6
|
8022 | |
else
|
|
8642 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
|
8643 |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
|
|
8644 |
|
|
8645 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
|
8646 |
printf %s "checking for -force_load linker flag... " >&6; }
|
|
8647 |
if test ${lt_cv_ld_force_load+y}
|
|
8648 |
then :
|
|
8649 |
printf %s "(cached) " >&6
|
|
8650 |
else $as_nop
|
8023 | 8651 |
lt_cv_ld_force_load=no
|
8024 | 8652 |
cat > conftest.c << _LT_EOF
|
8025 | 8653 |
int forced_loaded() { return 2;}
|
|
8047 | 8675 |
rm -rf conftest.dSYM
|
8048 | 8676 |
|
8049 | 8677 |
fi
|
8050 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
8051 | |
$as_echo "$lt_cv_ld_force_load" >&6; }
|
|
8678 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
|
8679 |
printf "%s\n" "$lt_cv_ld_force_load" >&6; }
|
8052 | 8680 |
case $host_os in
|
8053 | 8681 |
rhapsody* | darwin1.[012])
|
8054 | 8682 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
|
8059 | 8687 |
# to the OS version, if on x86, and 10.4, the deployment
|
8060 | 8688 |
# target defaults to 10.4. Don't you love it?
|
8061 | 8689 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
8062 | |
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
|
8690 |
10.0,*86*-darwin8*|10.0,*-darwin[912]*)
|
8063 | 8691 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
8064 | 8692 |
10.[012][,.]*)
|
8065 | 8693 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
8066 | |
10.*)
|
|
8694 |
10.*|11.*)
|
8067 | 8695 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
8068 | 8696 |
esac
|
8069 | 8697 |
;;
|
|
8119 | 8747 |
esac
|
8120 | 8748 |
}
|
8121 | 8749 |
|
8122 | |
ac_ext=c
|
8123 | |
ac_cpp='$CPP $CPPFLAGS'
|
8124 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
8125 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
8126 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8127 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
8128 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
8129 | |
# On Suns, sometimes $CPP names a directory.
|
8130 | |
if test -n "$CPP" && test -d "$CPP"; then
|
8131 | |
CPP=
|
8132 | |
fi
|
8133 | |
if test -z "$CPP"; then
|
8134 | |
if ${ac_cv_prog_CPP+:} false; then :
|
8135 | |
$as_echo_n "(cached) " >&6
|
8136 | |
else
|
8137 | |
# Double quotes because CPP needs to be expanded
|
8138 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
8139 | |
do
|
8140 | |
ac_preproc_ok=false
|
8141 | |
for ac_c_preproc_warn_flag in '' yes
|
|
8750 |
ac_header= ac_cache=
|
|
8751 |
for ac_item in $ac_header_c_list
|
8142 | 8752 |
do
|
8143 | |
# Use a header file that comes with gcc, so configuring glibc
|
8144 | |
# with a fresh cross-compiler works.
|
8145 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
8146 | |
# <limits.h> exists even on freestanding compilers.
|
8147 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8148 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
8149 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8150 | |
/* end confdefs.h. */
|
8151 | |
#ifdef __STDC__
|
8152 | |
# include <limits.h>
|
8153 | |
#else
|
8154 | |
# include <assert.h>
|
8155 | |
#endif
|
8156 | |
Syntax error
|
8157 | |
_ACEOF
|
8158 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8159 | |
|
8160 | |
else
|
8161 | |
# Broken: fails on valid input.
|
8162 | |
continue
|
8163 | |
fi
|
8164 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8165 | |
|
8166 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
8167 | |
# can be detected and how.
|
8168 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8169 | |
/* end confdefs.h. */
|
8170 | |
#include <ac_nonexistent.h>
|
8171 | |
_ACEOF
|
8172 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8173 | |
# Broken: success on invalid input.
|
8174 | |
continue
|
8175 | |
else
|
8176 | |
# Passes both tests.
|
8177 | |
ac_preproc_ok=:
|
8178 | |
break
|
8179 | |
fi
|
8180 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8181 | |
|
|
8753 |
if test $ac_cache; then
|
|
8754 |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
|
|
8755 |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
|
|
8756 |
printf "%s\n" "#define $ac_item 1" >> confdefs.h
|
|
8757 |
fi
|
|
8758 |
ac_header= ac_cache=
|
|
8759 |
elif test $ac_header; then
|
|
8760 |
ac_cache=$ac_item
|
|
8761 |
else
|
|
8762 |
ac_header=$ac_item
|
|
8763 |
fi
|
8182 | 8764 |
done
|
8183 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8184 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
8185 | |
if $ac_preproc_ok; then :
|
8186 | |
break
|
8187 | |
fi
|
8188 | |
|
8189 | |
done
|
8190 | |
ac_cv_prog_CPP=$CPP
|
8191 | |
|
8192 | |
fi
|
8193 | |
CPP=$ac_cv_prog_CPP
|
8194 | |
else
|
8195 | |
ac_cv_prog_CPP=$CPP
|
8196 | |
fi
|
8197 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
8198 | |
$as_echo "$CPP" >&6; }
|
8199 | |
ac_preproc_ok=false
|
8200 | |
for ac_c_preproc_warn_flag in '' yes
|
8201 | |
do
|
8202 | |
# Use a header file that comes with gcc, so configuring glibc
|
8203 | |
# with a fresh cross-compiler works.
|
8204 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
8205 | |
# <limits.h> exists even on freestanding compilers.
|
8206 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8207 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
8208 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8209 | |
/* end confdefs.h. */
|
8210 | |
#ifdef __STDC__
|
8211 | |
# include <limits.h>
|
8212 | |
#else
|
8213 | |
# include <assert.h>
|
8214 | |
#endif
|
8215 | |
Syntax error
|
8216 | |
_ACEOF
|
8217 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8218 | |
|
8219 | |
else
|
8220 | |
# Broken: fails on valid input.
|
8221 | |
continue
|
8222 | |
fi
|
8223 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8224 | |
|
8225 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
8226 | |
# can be detected and how.
|
8227 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8228 | |
/* end confdefs.h. */
|
8229 | |
#include <ac_nonexistent.h>
|
8230 | |
_ACEOF
|
8231 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
8232 | |
# Broken: success on invalid input.
|
8233 | |
continue
|
8234 | |
else
|
8235 | |
# Passes both tests.
|
8236 | |
ac_preproc_ok=:
|
8237 | |
break
|
8238 | |
fi
|
8239 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
8240 | |
|
8241 | |
done
|
8242 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8243 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
8244 | |
if $ac_preproc_ok; then :
|
8245 | |
|
8246 | |
else
|
8247 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
8248 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
8249 | |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
8250 | |
See \`config.log' for more details" "$LINENO" 5; }
|
8251 | |
fi
|
8252 | |
|
8253 | |
ac_ext=c
|
8254 | |
ac_cpp='$CPP $CPPFLAGS'
|
8255 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
8256 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
8257 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8258 | |
|
8259 | |
|
8260 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
8261 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
8262 | |
if ${ac_cv_header_stdc+:} false; then :
|
8263 | |
$as_echo_n "(cached) " >&6
|
8264 | |
else
|
8265 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8266 | |
/* end confdefs.h. */
|
8267 | |
#include <stdlib.h>
|
8268 | |
#include <stdarg.h>
|
8269 | |
#include <string.h>
|
8270 | |
#include <float.h>
|
8271 | |
|
8272 | |
int
|
8273 | |
main ()
|
8274 | |
{
|
8275 | |
|
8276 | |
;
|
8277 | |
return 0;
|
8278 | |
}
|
8279 | |
_ACEOF
|
8280 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
8281 | |
ac_cv_header_stdc=yes
|
8282 | |
else
|
8283 | |
ac_cv_header_stdc=no
|
8284 | |
fi
|
8285 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8286 | |
|
8287 | |
if test $ac_cv_header_stdc = yes; then
|
8288 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
8289 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8290 | |
/* end confdefs.h. */
|
8291 | |
#include <string.h>
|
8292 | |
|
8293 | |
_ACEOF
|
8294 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
8295 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
8296 | |
|
8297 | |
else
|
8298 | |
ac_cv_header_stdc=no
|
8299 | |
fi
|
8300 | |
rm -f conftest*
|
8301 | |
|
8302 | |
fi
|
8303 | |
|
8304 | |
if test $ac_cv_header_stdc = yes; then
|
8305 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
8306 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8307 | |
/* end confdefs.h. */
|
8308 | |
#include <stdlib.h>
|
8309 | |
|
8310 | |
_ACEOF
|
8311 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
8312 | |
$EGREP "free" >/dev/null 2>&1; then :
|
8313 | |
|
8314 | |
else
|
8315 | |
ac_cv_header_stdc=no
|
8316 | |
fi
|
8317 | |
rm -f conftest*
|
8318 | |
|
8319 | |
fi
|
8320 | |
|
8321 | |
if test $ac_cv_header_stdc = yes; then
|
8322 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
8323 | |
if test "$cross_compiling" = yes; then :
|
8324 | |
:
|
8325 | |
else
|
8326 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8327 | |
/* end confdefs.h. */
|
8328 | |
#include <ctype.h>
|
8329 | |
#include <stdlib.h>
|
8330 | |
#if ((' ' & 0x0FF) == 0x020)
|
8331 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
8332 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
8333 | |
#else
|
8334 | |
# define ISLOWER(c) \
|
8335 | |
(('a' <= (c) && (c) <= 'i') \
|
8336 | |
|| ('j' <= (c) && (c) <= 'r') \
|
8337 | |
|| ('s' <= (c) && (c) <= 'z'))
|
8338 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
8339 | |
#endif
|
8340 | |
|
8341 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
8342 | |
int
|
8343 | |
main ()
|
8344 | |
{
|
8345 | |
int i;
|
8346 | |
for (i = 0; i < 256; i++)
|
8347 | |
if (XOR (islower (i), ISLOWER (i))
|
8348 | |
|| toupper (i) != TOUPPER (i))
|
8349 | |
return 2;
|
8350 | |
return 0;
|
8351 | |
}
|
8352 | |
_ACEOF
|
8353 | |
if ac_fn_c_try_run "$LINENO"; then :
|
8354 | |
|
8355 | |
else
|
8356 | |
ac_cv_header_stdc=no
|
8357 | |
fi
|
8358 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
8359 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
8360 | |
fi
|
8361 | |
|
8362 | |
fi
|
8363 | |
fi
|
8364 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
8365 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
8366 | |
if test $ac_cv_header_stdc = yes; then
|
8367 | |
|
8368 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
8369 | |
|
8370 | |
fi
|
8371 | |
|
8372 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
8373 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
8374 | |
inttypes.h stdint.h unistd.h
|
8375 | |
do :
|
8376 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
8377 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
8765 |
|
|
8766 |
|
|
8767 |
|
|
8768 |
|
|
8769 |
|
|
8770 |
|
|
8771 |
|
|
8772 |
|
|
8773 |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
|
|
8774 |
then :
|
|
8775 |
|
|
8776 |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
|
8777 |
|
|
8778 |
fi
|
|
8779 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
8378 | 8780 |
"
|
8379 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
8380 | |
cat >>confdefs.h <<_ACEOF
|
8381 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
8382 | |
_ACEOF
|
8383 | |
|
8384 | |
fi
|
8385 | |
|
8386 | |
done
|
8387 | |
|
8388 | |
|
8389 | |
for ac_header in dlfcn.h
|
8390 | |
do :
|
8391 | |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
8392 | |
"
|
8393 | |
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
8394 | |
cat >>confdefs.h <<_ACEOF
|
8395 | |
#define HAVE_DLFCN_H 1
|
8396 | |
_ACEOF
|
8397 | |
|
8398 | |
fi
|
8399 | |
|
8400 | |
done
|
|
8781 |
if test "x$ac_cv_header_dlfcn_h" = xyes
|
|
8782 |
then :
|
|
8783 |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
|
|
8784 |
|
|
8785 |
fi
|
8401 | 8786 |
|
8402 | 8787 |
|
8403 | 8788 |
|
|
8414 | 8799 |
|
8415 | 8800 |
|
8416 | 8801 |
# Check whether --enable-shared was given.
|
8417 | |
if test "${enable_shared+set}" = set; then :
|
|
8802 |
if test ${enable_shared+y}
|
|
8803 |
then :
|
8418 | 8804 |
enableval=$enable_shared; p=${PACKAGE-default}
|
8419 | 8805 |
case $enableval in
|
8420 | 8806 |
yes) enable_shared=yes ;;
|
|
8432 | 8818 |
IFS=$lt_save_ifs
|
8433 | 8819 |
;;
|
8434 | 8820 |
esac
|
8435 | |
else
|
|
8821 |
else $as_nop
|
8436 | 8822 |
enable_shared=yes
|
8437 | 8823 |
fi
|
8438 | 8824 |
|
|
8445 | 8831 |
|
8446 | 8832 |
|
8447 | 8833 |
# Check whether --enable-static was given.
|
8448 | |
if test "${enable_static+set}" = set; then :
|
|
8834 |
if test ${enable_static+y}
|
|
8835 |
then :
|
8449 | 8836 |
enableval=$enable_static; p=${PACKAGE-default}
|
8450 | 8837 |
case $enableval in
|
8451 | 8838 |
yes) enable_static=yes ;;
|
|
8463 | 8850 |
IFS=$lt_save_ifs
|
8464 | 8851 |
;;
|
8465 | 8852 |
esac
|
8466 | |
else
|
|
8853 |
else $as_nop
|
8467 | 8854 |
enable_static=yes
|
8468 | 8855 |
fi
|
8469 | 8856 |
|
|
8477 | 8864 |
|
8478 | 8865 |
|
8479 | 8866 |
# Check whether --with-pic was given.
|
8480 | |
if test "${with_pic+set}" = set; then :
|
|
8867 |
if test ${with_pic+y}
|
|
8868 |
then :
|
8481 | 8869 |
withval=$with_pic; lt_p=${PACKAGE-default}
|
8482 | 8870 |
case $withval in
|
8483 | 8871 |
yes|no) pic_mode=$withval ;;
|
|
8494 | 8882 |
IFS=$lt_save_ifs
|
8495 | 8883 |
;;
|
8496 | 8884 |
esac
|
8497 | |
else
|
|
8885 |
else $as_nop
|
8498 | 8886 |
pic_mode=default
|
8499 | 8887 |
fi
|
8500 | 8888 |
|
|
8506 | 8894 |
|
8507 | 8895 |
|
8508 | 8896 |
# Check whether --enable-fast-install was given.
|
8509 | |
if test "${enable_fast_install+set}" = set; then :
|
|
8897 |
if test ${enable_fast_install+y}
|
|
8898 |
then :
|
8510 | 8899 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
8511 | 8900 |
case $enableval in
|
8512 | 8901 |
yes) enable_fast_install=yes ;;
|
|
8524 | 8913 |
IFS=$lt_save_ifs
|
8525 | 8914 |
;;
|
8526 | 8915 |
esac
|
8527 | |
else
|
|
8916 |
else $as_nop
|
8528 | 8917 |
enable_fast_install=yes
|
8529 | 8918 |
fi
|
8530 | 8919 |
|
|
8538 | 8927 |
shared_archive_member_spec=
|
8539 | 8928 |
case $host,$enable_shared in
|
8540 | 8929 |
power*-*-aix[5-9]*,yes)
|
8541 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
8542 | |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
|
|
8930 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
|
8931 |
printf %s "checking which variant of shared library versioning to provide... " >&6; }
|
8543 | 8932 |
|
8544 | 8933 |
# Check whether --with-aix-soname was given.
|
8545 | |
if test "${with_aix_soname+set}" = set; then :
|
|
8934 |
if test ${with_aix_soname+y}
|
|
8935 |
then :
|
8546 | 8936 |
withval=$with_aix_soname; case $withval in
|
8547 | 8937 |
aix|svr4|both)
|
8548 | 8938 |
;;
|
|
8551 | 8941 |
;;
|
8552 | 8942 |
esac
|
8553 | 8943 |
lt_cv_with_aix_soname=$with_aix_soname
|
8554 | |
else
|
8555 | |
if ${lt_cv_with_aix_soname+:} false; then :
|
8556 | |
$as_echo_n "(cached) " >&6
|
8557 | |
else
|
|
8944 |
else $as_nop
|
|
8945 |
if test ${lt_cv_with_aix_soname+y}
|
|
8946 |
then :
|
|
8947 |
printf %s "(cached) " >&6
|
|
8948 |
else $as_nop
|
8558 | 8949 |
lt_cv_with_aix_soname=aix
|
8559 | 8950 |
fi
|
8560 | 8951 |
|
8561 | 8952 |
with_aix_soname=$lt_cv_with_aix_soname
|
8562 | 8953 |
fi
|
8563 | 8954 |
|
8564 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
8565 | |
$as_echo "$with_aix_soname" >&6; }
|
|
8955 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
|
8956 |
printf "%s\n" "$with_aix_soname" >&6; }
|
8566 | 8957 |
if test aix != "$with_aix_soname"; then
|
8567 | 8958 |
# For the AIX way of multilib, we name the shared archive member
|
8568 | 8959 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
|
8644 | 9035 |
setopt NO_GLOB_SUBST
|
8645 | 9036 |
fi
|
8646 | 9037 |
|
8647 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
8648 | |
$as_echo_n "checking for objdir... " >&6; }
|
8649 | |
if ${lt_cv_objdir+:} false; then :
|
8650 | |
$as_echo_n "(cached) " >&6
|
8651 | |
else
|
|
9038 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
|
9039 |
printf %s "checking for objdir... " >&6; }
|
|
9040 |
if test ${lt_cv_objdir+y}
|
|
9041 |
then :
|
|
9042 |
printf %s "(cached) " >&6
|
|
9043 |
else $as_nop
|
8652 | 9044 |
rm -f .libs 2>/dev/null
|
8653 | 9045 |
mkdir .libs 2>/dev/null
|
8654 | 9046 |
if test -d .libs; then
|
|
8659 | 9051 |
fi
|
8660 | 9052 |
rmdir .libs 2>/dev/null
|
8661 | 9053 |
fi
|
8662 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
8663 | |
$as_echo "$lt_cv_objdir" >&6; }
|
|
9054 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
|
9055 |
printf "%s\n" "$lt_cv_objdir" >&6; }
|
8664 | 9056 |
objdir=$lt_cv_objdir
|
8665 | 9057 |
|
8666 | 9058 |
|
8667 | 9059 |
|
8668 | 9060 |
|
8669 | 9061 |
|
8670 | |
cat >>confdefs.h <<_ACEOF
|
8671 | |
#define LT_OBJDIR "$lt_cv_objdir/"
|
8672 | |
_ACEOF
|
|
9062 |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
|
8673 | 9063 |
|
8674 | 9064 |
|
8675 | 9065 |
|
|
8715 | 9105 |
case $deplibs_check_method in
|
8716 | 9106 |
file_magic*)
|
8717 | 9107 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
8718 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
8719 | |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
8720 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
8721 | |
$as_echo_n "(cached) " >&6
|
8722 | |
else
|
|
9108 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
|
9109 |
printf %s "checking for ${ac_tool_prefix}file... " >&6; }
|
|
9110 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9111 |
then :
|
|
9112 |
printf %s "(cached) " >&6
|
|
9113 |
else $as_nop
|
8723 | 9114 |
case $MAGIC_CMD in
|
8724 | 9115 |
[\\/*] | ?:[\\/]*)
|
8725 | 9116 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
8768 | 9159 |
|
8769 | 9160 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
8770 | 9161 |
if test -n "$MAGIC_CMD"; then
|
8771 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
8772 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9162 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9163 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
8773 | 9164 |
else
|
8774 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8775 | |
$as_echo "no" >&6; }
|
|
9165 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9166 |
printf "%s\n" "no" >&6; }
|
8776 | 9167 |
fi
|
8777 | 9168 |
|
8778 | 9169 |
|
|
8781 | 9172 |
|
8782 | 9173 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
8783 | 9174 |
if test -n "$ac_tool_prefix"; then
|
8784 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
8785 | |
$as_echo_n "checking for file... " >&6; }
|
8786 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
8787 | |
$as_echo_n "(cached) " >&6
|
8788 | |
else
|
|
9175 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
|
9176 |
printf %s "checking for file... " >&6; }
|
|
9177 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9178 |
then :
|
|
9179 |
printf %s "(cached) " >&6
|
|
9180 |
else $as_nop
|
8789 | 9181 |
case $MAGIC_CMD in
|
8790 | 9182 |
[\\/*] | ?:[\\/]*)
|
8791 | 9183 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
8834 | 9226 |
|
8835 | 9227 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
8836 | 9228 |
if test -n "$MAGIC_CMD"; then
|
8837 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
8838 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9229 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9230 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
8839 | 9231 |
else
|
8840 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8841 | |
$as_echo "no" >&6; }
|
|
9232 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9233 |
printf "%s\n" "no" >&6; }
|
8842 | 9234 |
fi
|
8843 | 9235 |
|
8844 | 9236 |
|
|
8923 | 9315 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
8924 | 9316 |
esac
|
8925 | 9317 |
|
8926 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
8927 | |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
8928 | |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
8929 | |
$as_echo_n "(cached) " >&6
|
8930 | |
else
|
|
9318 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
9319 |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
|
9320 |
if test ${lt_cv_prog_compiler_rtti_exceptions+y}
|
|
9321 |
then :
|
|
9322 |
printf %s "(cached) " >&6
|
|
9323 |
else $as_nop
|
8931 | 9324 |
lt_cv_prog_compiler_rtti_exceptions=no
|
8932 | 9325 |
ac_outfile=conftest.$ac_objext
|
8933 | 9326 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
8958 | 9351 |
$RM conftest*
|
8959 | 9352 |
|
8960 | 9353 |
fi
|
8961 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
8962 | |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
9354 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
9355 |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
8963 | 9356 |
|
8964 | 9357 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
|
8965 | 9358 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
|
9322 | 9715 |
;;
|
9323 | 9716 |
esac
|
9324 | 9717 |
|
9325 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
9326 | |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
9327 | |
if ${lt_cv_prog_compiler_pic+:} false; then :
|
9328 | |
$as_echo_n "(cached) " >&6
|
9329 | |
else
|
|
9718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
9719 |
printf %s "checking for $compiler option to produce PIC... " >&6; }
|
|
9720 |
if test ${lt_cv_prog_compiler_pic+y}
|
|
9721 |
then :
|
|
9722 |
printf %s "(cached) " >&6
|
|
9723 |
else $as_nop
|
9330 | 9724 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
9331 | 9725 |
fi
|
9332 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
9333 | |
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
|
9726 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
|
9727 |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
|
9334 | 9728 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
9335 | 9729 |
|
9336 | 9730 |
#
|
9337 | 9731 |
# Check to make sure the PIC flag actually works.
|
9338 | 9732 |
#
|
9339 | 9733 |
if test -n "$lt_prog_compiler_pic"; then
|
9340 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
9341 | |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
9342 | |
if ${lt_cv_prog_compiler_pic_works+:} false; then :
|
9343 | |
$as_echo_n "(cached) " >&6
|
9344 | |
else
|
|
9734 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
9735 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
|
9736 |
if test ${lt_cv_prog_compiler_pic_works+y}
|
|
9737 |
then :
|
|
9738 |
printf %s "(cached) " >&6
|
|
9739 |
else $as_nop
|
9345 | 9740 |
lt_cv_prog_compiler_pic_works=no
|
9346 | 9741 |
ac_outfile=conftest.$ac_objext
|
9347 | 9742 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
9372 | 9767 |
$RM conftest*
|
9373 | 9768 |
|
9374 | 9769 |
fi
|
9375 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
9376 | |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
|
9770 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
|
9771 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
|
9377 | 9772 |
|
9378 | 9773 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then
|
9379 | 9774 |
case $lt_prog_compiler_pic in
|
|
9401 | 9796 |
# Check to make sure the static flag actually works.
|
9402 | 9797 |
#
|
9403 | 9798 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
9404 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
9405 | |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
9406 | |
if ${lt_cv_prog_compiler_static_works+:} false; then :
|
9407 | |
$as_echo_n "(cached) " >&6
|
9408 | |
else
|
|
9799 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
9800 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
9801 |
if test ${lt_cv_prog_compiler_static_works+y}
|
|
9802 |
then :
|
|
9803 |
printf %s "(cached) " >&6
|
|
9804 |
else $as_nop
|
9409 | 9805 |
lt_cv_prog_compiler_static_works=no
|
9410 | 9806 |
save_LDFLAGS=$LDFLAGS
|
9411 | 9807 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
9429 | 9825 |
LDFLAGS=$save_LDFLAGS
|
9430 | 9826 |
|
9431 | 9827 |
fi
|
9432 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
9433 | |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
|
9828 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
|
9829 |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
|
9434 | 9830 |
|
9435 | 9831 |
if test yes = "$lt_cv_prog_compiler_static_works"; then
|
9436 | 9832 |
:
|
|
9444 | 9840 |
|
9445 | 9841 |
|
9446 | 9842 |
|
9447 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9448 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9449 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
9450 | |
$as_echo_n "(cached) " >&6
|
9451 | |
else
|
|
9843 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
9844 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
9845 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
9846 |
then :
|
|
9847 |
printf %s "(cached) " >&6
|
|
9848 |
else $as_nop
|
9452 | 9849 |
lt_cv_prog_compiler_c_o=no
|
9453 | 9850 |
$RM -r conftest 2>/dev/null
|
9454 | 9851 |
mkdir conftest
|
|
9491 | 9888 |
$RM conftest*
|
9492 | 9889 |
|
9493 | 9890 |
fi
|
9494 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9495 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
9496 | |
|
9497 | |
|
9498 | |
|
9499 | |
|
9500 | |
|
9501 | |
|
9502 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9503 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9504 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
9505 | |
$as_echo_n "(cached) " >&6
|
9506 | |
else
|
|
9891 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
9892 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
|
9893 |
|
|
9894 |
|
|
9895 |
|
|
9896 |
|
|
9897 |
|
|
9898 |
|
|
9899 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
9900 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
9901 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
9902 |
then :
|
|
9903 |
printf %s "(cached) " >&6
|
|
9904 |
else $as_nop
|
9507 | 9905 |
lt_cv_prog_compiler_c_o=no
|
9508 | 9906 |
$RM -r conftest 2>/dev/null
|
9509 | 9907 |
mkdir conftest
|
|
9546 | 9944 |
$RM conftest*
|
9547 | 9945 |
|
9548 | 9946 |
fi
|
9549 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9550 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
9947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
9948 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
9551 | 9949 |
|
9552 | 9950 |
|
9553 | 9951 |
|
|
9555 | 9953 |
hard_links=nottested
|
9556 | 9954 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
|
9557 | 9955 |
# do not overwrite the value of need_locks provided by the user
|
9558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
9559 | |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
|
9956 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
9957 |
printf %s "checking if we can lock with hard links... " >&6; }
|
9560 | 9958 |
hard_links=yes
|
9561 | 9959 |
$RM conftest*
|
9562 | 9960 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
9563 | 9961 |
touch conftest.a
|
9564 | 9962 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
9565 | 9963 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
9566 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
9567 | |
$as_echo "$hard_links" >&6; }
|
|
9964 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
9965 |
printf "%s\n" "$hard_links" >&6; }
|
9568 | 9966 |
if test no = "$hard_links"; then
|
9569 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
9570 | |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
|
9967 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
|
9968 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
9571 | 9969 |
need_locks=warn
|
9572 | 9970 |
fi
|
9573 | 9971 |
else
|
|
9579 | 9977 |
|
9580 | 9978 |
|
9581 | 9979 |
|
9582 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
9583 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
9980 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
9981 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
9584 | 9982 |
|
9585 | 9983 |
runpath_var=
|
9586 | 9984 |
allow_undefined_flag=
|
|
10138 | 10536 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10139 | 10537 |
aix_libpath=$lt_cv_aix_libpath
|
10140 | 10538 |
else
|
10141 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10142 | |
$as_echo_n "(cached) " >&6
|
10143 | |
else
|
|
10539 |
if test ${lt_cv_aix_libpath_+y}
|
|
10540 |
then :
|
|
10541 |
printf %s "(cached) " >&6
|
|
10542 |
else $as_nop
|
10144 | 10543 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10145 | 10544 |
/* end confdefs.h. */
|
10146 | 10545 |
|
10147 | 10546 |
int
|
10148 | |
main ()
|
|
10547 |
main (void)
|
10149 | 10548 |
{
|
10150 | 10549 |
|
10151 | 10550 |
;
|
10152 | 10551 |
return 0;
|
10153 | 10552 |
}
|
10154 | 10553 |
_ACEOF
|
10155 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10554 |
if ac_fn_c_try_link "$LINENO"
|
|
10555 |
then :
|
10156 | 10556 |
|
10157 | 10557 |
lt_aix_libpath_sed='
|
10158 | 10558 |
/Import File Strings/,/^$/ {
|
|
10167 | 10567 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10168 | 10568 |
fi
|
10169 | 10569 |
fi
|
10170 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
10570 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10171 | 10571 |
conftest$ac_exeext conftest.$ac_ext
|
10172 | 10572 |
if test -z "$lt_cv_aix_libpath_"; then
|
10173 | 10573 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
10191 | 10591 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10192 | 10592 |
aix_libpath=$lt_cv_aix_libpath
|
10193 | 10593 |
else
|
10194 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10195 | |
$as_echo_n "(cached) " >&6
|
10196 | |
else
|
|
10594 |
if test ${lt_cv_aix_libpath_+y}
|
|
10595 |
then :
|
|
10596 |
printf %s "(cached) " >&6
|
|
10597 |
else $as_nop
|
10197 | 10598 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10198 | 10599 |
/* end confdefs.h. */
|
10199 | 10600 |
|
10200 | 10601 |
int
|
10201 | |
main ()
|
|
10602 |
main (void)
|
10202 | 10603 |
{
|
10203 | 10604 |
|
10204 | 10605 |
;
|
10205 | 10606 |
return 0;
|
10206 | 10607 |
}
|
10207 | 10608 |
_ACEOF
|
10208 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10609 |
if ac_fn_c_try_link "$LINENO"
|
|
10610 |
then :
|
10209 | 10611 |
|
10210 | 10612 |
lt_aix_libpath_sed='
|
10211 | 10613 |
/Import File Strings/,/^$/ {
|
|
10220 | 10622 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10221 | 10623 |
fi
|
10222 | 10624 |
fi
|
10223 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
10625 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10224 | 10626 |
conftest$ac_exeext conftest.$ac_ext
|
10225 | 10627 |
if test -z "$lt_cv_aix_libpath_"; then
|
10226 | 10628 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
10471 | 10873 |
|
10472 | 10874 |
# Older versions of the 11.00 compiler do not understand -b yet
|
10473 | 10875 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
10474 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
10475 | |
$as_echo_n "checking if $CC understands -b... " >&6; }
|
10476 | |
if ${lt_cv_prog_compiler__b+:} false; then :
|
10477 | |
$as_echo_n "(cached) " >&6
|
10478 | |
else
|
|
10876 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
|
10877 |
printf %s "checking if $CC understands -b... " >&6; }
|
|
10878 |
if test ${lt_cv_prog_compiler__b+y}
|
|
10879 |
then :
|
|
10880 |
printf %s "(cached) " >&6
|
|
10881 |
else $as_nop
|
10479 | 10882 |
lt_cv_prog_compiler__b=no
|
10480 | 10883 |
save_LDFLAGS=$LDFLAGS
|
10481 | 10884 |
LDFLAGS="$LDFLAGS -b"
|
|
10499 | 10902 |
LDFLAGS=$save_LDFLAGS
|
10500 | 10903 |
|
10501 | 10904 |
fi
|
10502 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
10503 | |
$as_echo "$lt_cv_prog_compiler__b" >&6; }
|
|
10905 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
|
10906 |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
|
10504 | 10907 |
|
10505 | 10908 |
if test yes = "$lt_cv_prog_compiler__b"; then
|
10506 | 10909 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
10540 | 10943 |
# work, assume that -exports_file does not work either and
|
10541 | 10944 |
# implicitly export all symbols.
|
10542 | 10945 |
# This should be the same for all languages, so no per-tag cache variable.
|
10543 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
10544 | |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
10545 | |
if ${lt_cv_irix_exported_symbol+:} false; then :
|
10546 | |
$as_echo_n "(cached) " >&6
|
10547 | |
else
|
|
10946 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
|
10947 |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
|
10948 |
if test ${lt_cv_irix_exported_symbol+y}
|
|
10949 |
then :
|
|
10950 |
printf %s "(cached) " >&6
|
|
10951 |
else $as_nop
|
10548 | 10952 |
save_LDFLAGS=$LDFLAGS
|
10549 | 10953 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
|
10550 | 10954 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10551 | 10955 |
/* end confdefs.h. */
|
10552 | 10956 |
int foo (void) { return 0; }
|
10553 | 10957 |
_ACEOF
|
10554 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10958 |
if ac_fn_c_try_link "$LINENO"
|
|
10959 |
then :
|
10555 | 10960 |
lt_cv_irix_exported_symbol=yes
|
10556 | |
else
|
|
10961 |
else $as_nop
|
10557 | 10962 |
lt_cv_irix_exported_symbol=no
|
10558 | 10963 |
fi
|
10559 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
10964 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10560 | 10965 |
conftest$ac_exeext conftest.$ac_ext
|
10561 | 10966 |
LDFLAGS=$save_LDFLAGS
|
10562 | 10967 |
fi
|
10563 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
10564 | |
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
10968 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
|
10969 |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
|
10565 | 10970 |
if test yes = "$lt_cv_irix_exported_symbol"; then
|
10566 | 10971 |
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'
|
10567 | 10972 |
fi
|
|
10842 | 11247 |
fi
|
10843 | 11248 |
fi
|
10844 | 11249 |
|
10845 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
10846 | |
$as_echo "$ld_shlibs" >&6; }
|
|
11250 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
|
11251 |
printf "%s\n" "$ld_shlibs" >&6; }
|
10847 | 11252 |
test no = "$ld_shlibs" && can_build_shared=no
|
10848 | 11253 |
|
10849 | 11254 |
with_gnu_ld=$with_gnu_ld
|
|
10879 | 11284 |
# Test whether the compiler implicitly links with -lc since on some
|
10880 | 11285 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
10881 | 11286 |
# to ld, don't add -lc before -lgcc.
|
10882 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
10883 | |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
10884 | |
if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
10885 | |
$as_echo_n "(cached) " >&6
|
10886 | |
else
|
|
11287 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
11288 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; }
|
|
11289 |
if test ${lt_cv_archive_cmds_need_lc+y}
|
|
11290 |
then :
|
|
11291 |
printf %s "(cached) " >&6
|
|
11292 |
else $as_nop
|
10887 | 11293 |
$RM conftest*
|
10888 | 11294 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
10889 | 11295 |
|
10890 | 11296 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
10891 | 11297 |
(eval $ac_compile) 2>&5
|
10892 | 11298 |
ac_status=$?
|
10893 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11299 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
10894 | 11300 |
test $ac_status = 0; } 2>conftest.err; then
|
10895 | 11301 |
soname=conftest
|
10896 | 11302 |
lib=conftest
|
|
10908 | 11314 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
10909 | 11315 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
10910 | 11316 |
ac_status=$?
|
10911 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11317 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
10912 | 11318 |
test $ac_status = 0; }
|
10913 | 11319 |
then
|
10914 | 11320 |
lt_cv_archive_cmds_need_lc=no
|
|
10922 | 11328 |
$RM conftest*
|
10923 | 11329 |
|
10924 | 11330 |
fi
|
10925 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
10926 | |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
|
11331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
|
11332 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
|
10927 | 11333 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
10928 | 11334 |
;;
|
10929 | 11335 |
esac
|
|
11082 | 11488 |
|
11083 | 11489 |
|
11084 | 11490 |
|
11085 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
11086 | |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
11491 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
11492 |
printf %s "checking dynamic linker characteristics... " >&6; }
|
11087 | 11493 |
|
11088 | 11494 |
if test yes = "$GCC"; then
|
11089 | 11495 |
case $host_os in
|
|
11644 | 12050 |
shlibpath_overrides_runpath=no
|
11645 | 12051 |
|
11646 | 12052 |
# Some binutils ld are patched to set DT_RUNPATH
|
11647 | |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
11648 | |
$as_echo_n "(cached) " >&6
|
11649 | |
else
|
|
12053 |
if test ${lt_cv_shlibpath_overrides_runpath+y}
|
|
12054 |
then :
|
|
12055 |
printf %s "(cached) " >&6
|
|
12056 |
else $as_nop
|
11650 | 12057 |
lt_cv_shlibpath_overrides_runpath=no
|
11651 | 12058 |
save_LDFLAGS=$LDFLAGS
|
11652 | 12059 |
save_libdir=$libdir
|
|
11656 | 12063 |
/* end confdefs.h. */
|
11657 | 12064 |
|
11658 | 12065 |
int
|
11659 | |
main ()
|
|
12066 |
main (void)
|
11660 | 12067 |
{
|
11661 | 12068 |
|
11662 | 12069 |
;
|
11663 | 12070 |
return 0;
|
11664 | 12071 |
}
|
11665 | 12072 |
_ACEOF
|
11666 | |
if ac_fn_c_try_link "$LINENO"; then :
|
11667 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
12073 |
if ac_fn_c_try_link "$LINENO"
|
|
12074 |
then :
|
|
12075 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
|
|
12076 |
then :
|
11668 | 12077 |
lt_cv_shlibpath_overrides_runpath=yes
|
11669 | 12078 |
fi
|
11670 | 12079 |
fi
|
11671 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12080 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
11672 | 12081 |
conftest$ac_exeext conftest.$ac_ext
|
11673 | 12082 |
LDFLAGS=$save_LDFLAGS
|
11674 | 12083 |
libdir=$save_libdir
|
|
11912 | 12321 |
dynamic_linker=no
|
11913 | 12322 |
;;
|
11914 | 12323 |
esac
|
11915 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
11916 | |
$as_echo "$dynamic_linker" >&6; }
|
|
12324 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
12325 |
printf "%s\n" "$dynamic_linker" >&6; }
|
11917 | 12326 |
test no = "$dynamic_linker" && can_build_shared=no
|
11918 | 12327 |
|
11919 | 12328 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
12034 | 12443 |
|
12035 | 12444 |
|
12036 | 12445 |
|
12037 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
12038 | |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
12446 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
12447 |
printf %s "checking how to hardcode library paths into programs... " >&6; }
|
12039 | 12448 |
hardcode_action=
|
12040 | 12449 |
if test -n "$hardcode_libdir_flag_spec" ||
|
12041 | 12450 |
test -n "$runpath_var" ||
|
|
12059 | 12468 |
# directories.
|
12060 | 12469 |
hardcode_action=unsupported
|
12061 | 12470 |
fi
|
12062 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
12063 | |
$as_echo "$hardcode_action" >&6; }
|
|
12471 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
|
12472 |
printf "%s\n" "$hardcode_action" >&6; }
|
12064 | 12473 |
|
12065 | 12474 |
if test relink = "$hardcode_action" ||
|
12066 | 12475 |
test yes = "$inherit_rpath"; then
|
|
12104 | 12513 |
|
12105 | 12514 |
darwin*)
|
12106 | 12515 |
# if libdl is installed we need to link against it
|
12107 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12108 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12109 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12110 | |
$as_echo_n "(cached) " >&6
|
12111 | |
else
|
|
12516 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
12517 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
12518 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
12519 |
then :
|
|
12520 |
printf %s "(cached) " >&6
|
|
12521 |
else $as_nop
|
12112 | 12522 |
ac_check_lib_save_LIBS=$LIBS
|
12113 | 12523 |
LIBS="-ldl $LIBS"
|
12114 | 12524 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12117 | 12527 |
/* Override any GCC internal prototype to avoid an error.
|
12118 | 12528 |
Use char because int might match the return type of a GCC
|
12119 | 12529 |
builtin and then its argument prototype would still apply. */
|
12120 | |
#ifdef __cplusplus
|
12121 | |
extern "C"
|
12122 | |
#endif
|
12123 | 12530 |
char dlopen ();
|
12124 | 12531 |
int
|
12125 | |
main ()
|
|
12532 |
main (void)
|
12126 | 12533 |
{
|
12127 | 12534 |
return dlopen ();
|
12128 | 12535 |
;
|
12129 | 12536 |
return 0;
|
12130 | 12537 |
}
|
12131 | 12538 |
_ACEOF
|
12132 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12539 |
if ac_fn_c_try_link "$LINENO"
|
|
12540 |
then :
|
12133 | 12541 |
ac_cv_lib_dl_dlopen=yes
|
12134 | |
else
|
|
12542 |
else $as_nop
|
12135 | 12543 |
ac_cv_lib_dl_dlopen=no
|
12136 | 12544 |
fi
|
12137 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12545 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12138 | 12546 |
conftest$ac_exeext conftest.$ac_ext
|
12139 | 12547 |
LIBS=$ac_check_lib_save_LIBS
|
12140 | 12548 |
fi
|
12141 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12142 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12143 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
12549 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
12550 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
12551 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
12552 |
then :
|
12144 | 12553 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12145 | |
else
|
|
12554 |
else $as_nop
|
12146 | 12555 |
|
12147 | 12556 |
lt_cv_dlopen=dyld
|
12148 | 12557 |
lt_cv_dlopen_libs=
|
|
12162 | 12571 |
|
12163 | 12572 |
*)
|
12164 | 12573 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
12165 | |
if test "x$ac_cv_func_shl_load" = xyes; then :
|
|
12574 |
if test "x$ac_cv_func_shl_load" = xyes
|
|
12575 |
then :
|
12166 | 12576 |
lt_cv_dlopen=shl_load
|
12167 | |
else
|
12168 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
12169 | |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
12170 | |
if ${ac_cv_lib_dld_shl_load+:} false; then :
|
12171 | |
$as_echo_n "(cached) " >&6
|
12172 | |
else
|
|
12577 |
else $as_nop
|
|
12578 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
|
12579 |
printf %s "checking for shl_load in -ldld... " >&6; }
|
|
12580 |
if test ${ac_cv_lib_dld_shl_load+y}
|
|
12581 |
then :
|
|
12582 |
printf %s "(cached) " >&6
|
|
12583 |
else $as_nop
|
12173 | 12584 |
ac_check_lib_save_LIBS=$LIBS
|
12174 | 12585 |
LIBS="-ldld $LIBS"
|
12175 | 12586 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12178 | 12589 |
/* Override any GCC internal prototype to avoid an error.
|
12179 | 12590 |
Use char because int might match the return type of a GCC
|
12180 | 12591 |
builtin and then its argument prototype would still apply. */
|
12181 | |
#ifdef __cplusplus
|
12182 | |
extern "C"
|
12183 | |
#endif
|
12184 | 12592 |
char shl_load ();
|
12185 | 12593 |
int
|
12186 | |
main ()
|
|
12594 |
main (void)
|
12187 | 12595 |
{
|
12188 | 12596 |
return shl_load ();
|
12189 | 12597 |
;
|
12190 | 12598 |
return 0;
|
12191 | 12599 |
}
|
12192 | 12600 |
_ACEOF
|
12193 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12601 |
if ac_fn_c_try_link "$LINENO"
|
|
12602 |
then :
|
12194 | 12603 |
ac_cv_lib_dld_shl_load=yes
|
12195 | |
else
|
|
12604 |
else $as_nop
|
12196 | 12605 |
ac_cv_lib_dld_shl_load=no
|
12197 | 12606 |
fi
|
12198 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12607 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12199 | 12608 |
conftest$ac_exeext conftest.$ac_ext
|
12200 | 12609 |
LIBS=$ac_check_lib_save_LIBS
|
12201 | 12610 |
fi
|
12202 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
12203 | |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
12204 | |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
|
12611 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
|
12612 |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
|
|
12613 |
if test "x$ac_cv_lib_dld_shl_load" = xyes
|
|
12614 |
then :
|
12205 | 12615 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
|
12206 | |
else
|
|
12616 |
else $as_nop
|
12207 | 12617 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
12208 | |
if test "x$ac_cv_func_dlopen" = xyes; then :
|
|
12618 |
if test "x$ac_cv_func_dlopen" = xyes
|
|
12619 |
then :
|
12209 | 12620 |
lt_cv_dlopen=dlopen
|
12210 | |
else
|
12211 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12212 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12213 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12214 | |
$as_echo_n "(cached) " >&6
|
12215 | |
else
|
|
12621 |
else $as_nop
|
|
12622 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
12623 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
12624 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
12625 |
then :
|
|
12626 |
printf %s "(cached) " >&6
|
|
12627 |
else $as_nop
|
12216 | 12628 |
ac_check_lib_save_LIBS=$LIBS
|
12217 | 12629 |
LIBS="-ldl $LIBS"
|
12218 | 12630 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12221 | 12633 |
/* Override any GCC internal prototype to avoid an error.
|
12222 | 12634 |
Use char because int might match the return type of a GCC
|
12223 | 12635 |
builtin and then its argument prototype would still apply. */
|
12224 | |
#ifdef __cplusplus
|
12225 | |
extern "C"
|
12226 | |
#endif
|
12227 | 12636 |
char dlopen ();
|
12228 | 12637 |
int
|
12229 | |
main ()
|
|
12638 |
main (void)
|
12230 | 12639 |
{
|
12231 | 12640 |
return dlopen ();
|
12232 | 12641 |
;
|
12233 | 12642 |
return 0;
|
12234 | 12643 |
}
|
12235 | 12644 |
_ACEOF
|
12236 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12645 |
if ac_fn_c_try_link "$LINENO"
|
|
12646 |
then :
|
12237 | 12647 |
ac_cv_lib_dl_dlopen=yes
|
12238 | |
else
|
|
12648 |
else $as_nop
|
12239 | 12649 |
ac_cv_lib_dl_dlopen=no
|
12240 | 12650 |
fi
|
12241 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12651 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12242 | 12652 |
conftest$ac_exeext conftest.$ac_ext
|
12243 | 12653 |
LIBS=$ac_check_lib_save_LIBS
|
12244 | 12654 |
fi
|
12245 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12246 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12247 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
12655 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
12656 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
12657 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
12658 |
then :
|
12248 | 12659 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12249 | |
else
|
12250 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
12251 | |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
12252 | |
if ${ac_cv_lib_svld_dlopen+:} false; then :
|
12253 | |
$as_echo_n "(cached) " >&6
|
12254 | |
else
|
|
12660 |
else $as_nop
|
|
12661 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
|
12662 |
printf %s "checking for dlopen in -lsvld... " >&6; }
|
|
12663 |
if test ${ac_cv_lib_svld_dlopen+y}
|
|
12664 |
then :
|
|
12665 |
printf %s "(cached) " >&6
|
|
12666 |
else $as_nop
|
12255 | 12667 |
ac_check_lib_save_LIBS=$LIBS
|
12256 | 12668 |
LIBS="-lsvld $LIBS"
|
12257 | 12669 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12260 | 12672 |
/* Override any GCC internal prototype to avoid an error.
|
12261 | 12673 |
Use char because int might match the return type of a GCC
|
12262 | 12674 |
builtin and then its argument prototype would still apply. */
|
12263 | |
#ifdef __cplusplus
|
12264 | |
extern "C"
|
12265 | |
#endif
|
12266 | 12675 |
char dlopen ();
|
12267 | 12676 |
int
|
12268 | |
main ()
|
|
12677 |
main (void)
|
12269 | 12678 |
{
|
12270 | 12679 |
return dlopen ();
|
12271 | 12680 |
;
|
12272 | 12681 |
return 0;
|
12273 | 12682 |
}
|
12274 | 12683 |
_ACEOF
|
12275 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12684 |
if ac_fn_c_try_link "$LINENO"
|
|
12685 |
then :
|
12276 | 12686 |
ac_cv_lib_svld_dlopen=yes
|
12277 | |
else
|
|
12687 |
else $as_nop
|
12278 | 12688 |
ac_cv_lib_svld_dlopen=no
|
12279 | 12689 |
fi
|
12280 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12690 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12281 | 12691 |
conftest$ac_exeext conftest.$ac_ext
|
12282 | 12692 |
LIBS=$ac_check_lib_save_LIBS
|
12283 | 12693 |
fi
|
12284 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
12285 | |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
12286 | |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
|
12694 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
|
12695 |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
|
|
12696 |
if test "x$ac_cv_lib_svld_dlopen" = xyes
|
|
12697 |
then :
|
12287 | 12698 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
|
12288 | |
else
|
12289 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
12290 | |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
12291 | |
if ${ac_cv_lib_dld_dld_link+:} false; then :
|
12292 | |
$as_echo_n "(cached) " >&6
|
12293 | |
else
|
|
12699 |
else $as_nop
|
|
12700 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
|
12701 |
printf %s "checking for dld_link in -ldld... " >&6; }
|
|
12702 |
if test ${ac_cv_lib_dld_dld_link+y}
|
|
12703 |
then :
|
|
12704 |
printf %s "(cached) " >&6
|
|
12705 |
else $as_nop
|
12294 | 12706 |
ac_check_lib_save_LIBS=$LIBS
|
12295 | 12707 |
LIBS="-ldld $LIBS"
|
12296 | 12708 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12299 | 12711 |
/* Override any GCC internal prototype to avoid an error.
|
12300 | 12712 |
Use char because int might match the return type of a GCC
|
12301 | 12713 |
builtin and then its argument prototype would still apply. */
|
12302 | |
#ifdef __cplusplus
|
12303 | |
extern "C"
|
12304 | |
#endif
|
12305 | 12714 |
char dld_link ();
|
12306 | 12715 |
int
|
12307 | |
main ()
|
|
12716 |
main (void)
|
12308 | 12717 |
{
|
12309 | 12718 |
return dld_link ();
|
12310 | 12719 |
;
|
12311 | 12720 |
return 0;
|
12312 | 12721 |
}
|
12313 | 12722 |
_ACEOF
|
12314 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
12723 |
if ac_fn_c_try_link "$LINENO"
|
|
12724 |
then :
|
12315 | 12725 |
ac_cv_lib_dld_dld_link=yes
|
12316 | |
else
|
|
12726 |
else $as_nop
|
12317 | 12727 |
ac_cv_lib_dld_dld_link=no
|
12318 | 12728 |
fi
|
12319 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12729 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12320 | 12730 |
conftest$ac_exeext conftest.$ac_ext
|
12321 | 12731 |
LIBS=$ac_check_lib_save_LIBS
|
12322 | 12732 |
fi
|
12323 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
12324 | |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
12325 | |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
|
12733 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
|
12734 |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
|
|
12735 |
if test "x$ac_cv_lib_dld_dld_link" = xyes
|
|
12736 |
then :
|
12326 | 12737 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
|
12327 | 12738 |
fi
|
12328 | 12739 |
|
|
12361 | 12772 |
save_LIBS=$LIBS
|
12362 | 12773 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
12363 | 12774 |
|
12364 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
12365 | |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
12366 | |
if ${lt_cv_dlopen_self+:} false; then :
|
12367 | |
$as_echo_n "(cached) " >&6
|
12368 | |
else
|
|
12775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
|
12776 |
printf %s "checking whether a program can dlopen itself... " >&6; }
|
|
12777 |
if test ${lt_cv_dlopen_self+y}
|
|
12778 |
then :
|
|
12779 |
printf %s "(cached) " >&6
|
|
12780 |
else $as_nop
|
12369 | 12781 |
if test yes = "$cross_compiling"; then :
|
12370 | 12782 |
lt_cv_dlopen_self=cross
|
12371 | 12783 |
else
|
|
12444 | 12856 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12445 | 12857 |
(eval $ac_link) 2>&5
|
12446 | 12858 |
ac_status=$?
|
12447 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
12859 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
12448 | 12860 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
12449 | 12861 |
(./conftest; exit; ) >&5 2>/dev/null
|
12450 | 12862 |
lt_status=$?
|
|
12462 | 12874 |
|
12463 | 12875 |
|
12464 | 12876 |
fi
|
12465 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
12466 | |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
|
12877 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
|
12878 |
printf "%s\n" "$lt_cv_dlopen_self" >&6; }
|
12467 | 12879 |
|
12468 | 12880 |
if test yes = "$lt_cv_dlopen_self"; then
|
12469 | 12881 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
12470 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
12471 | |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
12472 | |
if ${lt_cv_dlopen_self_static+:} false; then :
|
12473 | |
$as_echo_n "(cached) " >&6
|
12474 | |
else
|
|
12882 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
|
12883 |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
|
|
12884 |
if test ${lt_cv_dlopen_self_static+y}
|
|
12885 |
then :
|
|
12886 |
printf %s "(cached) " >&6
|
|
12887 |
else $as_nop
|
12475 | 12888 |
if test yes = "$cross_compiling"; then :
|
12476 | 12889 |
lt_cv_dlopen_self_static=cross
|
12477 | 12890 |
else
|
|
12550 | 12963 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12551 | 12964 |
(eval $ac_link) 2>&5
|
12552 | 12965 |
ac_status=$?
|
12553 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
12966 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
12554 | 12967 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
12555 | 12968 |
(./conftest; exit; ) >&5 2>/dev/null
|
12556 | 12969 |
lt_status=$?
|
|
12568 | 12981 |
|
12569 | 12982 |
|
12570 | 12983 |
fi
|
12571 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
12572 | |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
|
12984 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
|
12985 |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
|
12573 | 12986 |
fi
|
12574 | 12987 |
|
12575 | 12988 |
CPPFLAGS=$save_CPPFLAGS
|
|
12607 | 13020 |
|
12608 | 13021 |
striplib=
|
12609 | 13022 |
old_striplib=
|
12610 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
12611 | |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
|
13023 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
|
13024 |
printf %s "checking whether stripping libraries is possible... " >&6; }
|
12612 | 13025 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
12613 | 13026 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
12614 | 13027 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
12615 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12616 | |
$as_echo "yes" >&6; }
|
|
13028 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13029 |
printf "%s\n" "yes" >&6; }
|
12617 | 13030 |
else
|
12618 | 13031 |
# FIXME - insert some real tests, host_os isn't really good enough
|
12619 | 13032 |
case $host_os in
|
|
12621 | 13034 |
if test -n "$STRIP"; then
|
12622 | 13035 |
striplib="$STRIP -x"
|
12623 | 13036 |
old_striplib="$STRIP -S"
|
12624 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12625 | |
$as_echo "yes" >&6; }
|
|
13037 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13038 |
printf "%s\n" "yes" >&6; }
|
12626 | 13039 |
else
|
12627 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12628 | |
$as_echo "no" >&6; }
|
|
13040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13041 |
printf "%s\n" "no" >&6; }
|
12629 | 13042 |
fi
|
12630 | 13043 |
;;
|
12631 | 13044 |
*)
|
12632 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12633 | |
$as_echo "no" >&6; }
|
|
13045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13046 |
printf "%s\n" "no" >&6; }
|
12634 | 13047 |
;;
|
12635 | 13048 |
esac
|
12636 | 13049 |
fi
|
|
12647 | 13060 |
|
12648 | 13061 |
|
12649 | 13062 |
# Report what library types will actually be built
|
12650 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
12651 | |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
12652 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
12653 | |
$as_echo "$can_build_shared" >&6; }
|
12654 | |
|
12655 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
12656 | |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
|
13063 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
13064 |
printf %s "checking if libtool supports shared libraries... " >&6; }
|
|
13065 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
13066 |
printf "%s\n" "$can_build_shared" >&6; }
|
|
13067 |
|
|
13068 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
|
13069 |
printf %s "checking whether to build shared libraries... " >&6; }
|
12657 | 13070 |
test no = "$can_build_shared" && enable_shared=no
|
12658 | 13071 |
|
12659 | 13072 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
12677 | 13090 |
fi
|
12678 | 13091 |
;;
|
12679 | 13092 |
esac
|
12680 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
12681 | |
$as_echo "$enable_shared" >&6; }
|
12682 | |
|
12683 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
12684 | |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
|
13093 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
13094 |
printf "%s\n" "$enable_shared" >&6; }
|
|
13095 |
|
|
13096 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
|
13097 |
printf %s "checking whether to build static libraries... " >&6; }
|
12685 | 13098 |
# Make sure either enable_shared or enable_static is yes.
|
12686 | 13099 |
test yes = "$enable_shared" || enable_static=yes
|
12687 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
12688 | |
$as_echo "$enable_static" >&6; }
|
|
13100 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
|
13101 |
printf "%s\n" "$enable_static" >&6; }
|
12689 | 13102 |
|
12690 | 13103 |
|
12691 | 13104 |
|
|
12733 | 13146 |
if test -n "$ac_tool_prefix"; then
|
12734 | 13147 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
12735 | 13148 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
12736 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
12737 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
12738 | |
if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
12739 | |
$as_echo_n "(cached) " >&6
|
12740 | |
else
|
|
13149 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
13150 |
printf %s "checking for $ac_word... " >&6; }
|
|
13151 |
if test ${ac_cv_path_PKG_CONFIG+y}
|
|
13152 |
then :
|
|
13153 |
printf %s "(cached) " >&6
|
|
13154 |
else $as_nop
|
12741 | 13155 |
case $PKG_CONFIG in
|
12742 | 13156 |
[\\/]* | ?:[\\/]*)
|
12743 | 13157 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
|
12747 | 13161 |
for as_dir in $PATH
|
12748 | 13162 |
do
|
12749 | 13163 |
IFS=$as_save_IFS
|
12750 | |
test -z "$as_dir" && as_dir=.
|
|
13164 |
case $as_dir in #(((
|
|
13165 |
'') as_dir=./ ;;
|
|
13166 |
*/) ;;
|
|
13167 |
*) as_dir=$as_dir/ ;;
|
|
13168 |
esac
|
12751 | 13169 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
12752 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
12753 | |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
12754 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
13170 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
13171 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
13172 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
12755 | 13173 |
break 2
|
12756 | 13174 |
fi
|
12757 | 13175 |
done
|
|
12763 | 13181 |
fi
|
12764 | 13182 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
12765 | 13183 |
if test -n "$PKG_CONFIG"; then
|
12766 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
12767 | |
$as_echo "$PKG_CONFIG" >&6; }
|
|
13184 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
|
13185 |
printf "%s\n" "$PKG_CONFIG" >&6; }
|
12768 | 13186 |
else
|
12769 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12770 | |
$as_echo "no" >&6; }
|
|
13187 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13188 |
printf "%s\n" "no" >&6; }
|
12771 | 13189 |
fi
|
12772 | 13190 |
|
12773 | 13191 |
|
|
12776 | 13194 |
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
12777 | 13195 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
12778 | 13196 |
set dummy pkg-config; ac_word=$2
|
12779 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
12780 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
12781 | |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
|
12782 | |
$as_echo_n "(cached) " >&6
|
12783 | |
else
|
|
13197 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
13198 |
printf %s "checking for $ac_word... " >&6; }
|
|
13199 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
|
|
13200 |
then :
|
|
13201 |
printf %s "(cached) " >&6
|
|
13202 |
else $as_nop
|
12784 | 13203 |
case $ac_pt_PKG_CONFIG in
|
12785 | 13204 |
[\\/]* | ?:[\\/]*)
|
12786 | 13205 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
|
12790 | 13209 |
for as_dir in $PATH
|
12791 | 13210 |
do
|
12792 | 13211 |
IFS=$as_save_IFS
|
12793 | |
test -z "$as_dir" && as_dir=.
|
|
13212 |
case $as_dir in #(((
|
|
13213 |
'') as_dir=./ ;;
|
|
13214 |
*/) ;;
|
|
13215 |
*) as_dir=$as_dir/ ;;
|
|
13216 |
esac
|
12794 | 13217 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
12795 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
12796 | |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
12797 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
13218 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
13219 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
13220 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
12798 | 13221 |
break 2
|
12799 | 13222 |
fi
|
12800 | 13223 |
done
|
|
12806 | 13229 |
fi
|
12807 | 13230 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
12808 | 13231 |
if test -n "$ac_pt_PKG_CONFIG"; then
|
12809 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
12810 | |
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
|
13232 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
|
13233 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
|
12811 | 13234 |
else
|
12812 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12813 | |
$as_echo "no" >&6; }
|
|
13235 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13236 |
printf "%s\n" "no" >&6; }
|
12814 | 13237 |
fi
|
12815 | 13238 |
|
12816 | 13239 |
if test "x$ac_pt_PKG_CONFIG" = x; then
|
|
12818 | 13241 |
else
|
12819 | 13242 |
case $cross_compiling:$ac_tool_warned in
|
12820 | 13243 |
yes:)
|
12821 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
12822 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
13244 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
13245 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
12823 | 13246 |
ac_tool_warned=yes ;;
|
12824 | 13247 |
esac
|
12825 | 13248 |
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
|
12831 | 13254 |
fi
|
12832 | 13255 |
if test -n "$PKG_CONFIG"; then
|
12833 | 13256 |
_pkg_min_version=0.9.0
|
12834 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
12835 | |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
|
13257 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
|
13258 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
12836 | 13259 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
12837 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12838 | |
$as_echo "yes" >&6; }
|
|
13260 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13261 |
printf "%s\n" "yes" >&6; }
|
12839 | 13262 |
else
|
12840 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12841 | |
$as_echo "no" >&6; }
|
|
13263 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13264 |
printf "%s\n" "no" >&6; }
|
12842 | 13265 |
PKG_CONFIG=""
|
12843 | 13266 |
fi
|
12844 | 13267 |
fi
|
|
12851 | 13274 |
|
12852 | 13275 |
|
12853 | 13276 |
# $is_release = (.git directory does not exist)
|
12854 | |
if test -d ${srcdir}/.git; then :
|
|
13277 |
if test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)
|
|
13278 |
then :
|
12855 | 13279 |
ax_is_release=no
|
12856 | |
else
|
|
13280 |
else $as_nop
|
12857 | 13281 |
ax_is_release=yes
|
12858 | 13282 |
fi
|
12859 | 13283 |
|
|
12875 | 13299 |
ax_compiler_flags_is_release=$ax_is_release
|
12876 | 13300 |
|
12877 | 13301 |
# Check whether --enable-compile-warnings was given.
|
12878 | |
if test "${enable_compile_warnings+set}" = set; then :
|
|
13302 |
if test ${enable_compile_warnings+y}
|
|
13303 |
then :
|
12879 | 13304 |
enableval=$enable_compile_warnings;
|
12880 | |
else
|
12881 | |
if test "$ax_compiler_flags_is_release" = "yes"; then :
|
|
13305 |
else $as_nop
|
|
13306 |
if test "$ax_compiler_flags_is_release" = "yes"
|
|
13307 |
then :
|
12882 | 13308 |
enable_compile_warnings="yes"
|
12883 | |
else
|
|
13309 |
else $as_nop
|
12884 | 13310 |
enable_compile_warnings="error"
|
12885 | 13311 |
fi
|
12886 | 13312 |
fi
|
12887 | 13313 |
|
12888 | 13314 |
# Check whether --enable-Werror was given.
|
12889 | |
if test "${enable_Werror+set}" = set; then :
|
|
13315 |
if test ${enable_Werror+y}
|
|
13316 |
then :
|
12890 | 13317 |
enableval=$enable_Werror;
|
12891 | |
else
|
|
13318 |
else $as_nop
|
12892 | 13319 |
enable_Werror=maybe
|
12893 | 13320 |
fi
|
12894 | 13321 |
|
12895 | 13322 |
|
12896 | 13323 |
# Return the user's chosen warning level
|
12897 | 13324 |
if test "$enable_Werror" = "no" -a \
|
12898 | |
"$enable_compile_warnings" = "error"; then :
|
|
13325 |
"$enable_compile_warnings" = "error"
|
|
13326 |
then :
|
12899 | 13327 |
|
12900 | 13328 |
enable_compile_warnings="yes"
|
12901 | 13329 |
|
|
12929 | 13357 |
#error "no C++"
|
12930 | 13358 |
#endif
|
12931 | 13359 |
int
|
12932 | |
main ()
|
|
13360 |
main (void)
|
12933 | 13361 |
{
|
12934 | 13362 |
|
12935 | 13363 |
;
|
12936 | 13364 |
return 0;
|
12937 | 13365 |
}
|
12938 | 13366 |
_ACEOF
|
12939 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13367 |
if ac_fn_c_try_compile "$LINENO"
|
|
13368 |
then :
|
12940 | 13369 |
ax_compiler_cxx=yes;
|
12941 | |
else
|
|
13370 |
else $as_nop
|
12942 | 13371 |
ax_compiler_cxx=no;
|
12943 | 13372 |
fi
|
12944 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13373 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
12945 | 13374 |
|
12946 | 13375 |
# Always pass -Werror=unknown-warning-option to get Clang to fail on bad
|
12947 | 13376 |
# flags, otherwise they are always appended to the warn_cflags variable, and
|
12948 | 13377 |
# Clang warns on them for every compilation unit.
|
12949 | 13378 |
# If this is passed to GCC, it will explode, so the flag must be enabled
|
12950 | 13379 |
# conditionally.
|
12951 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
|
12952 | |
$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
|
12953 | |
if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
|
12954 | |
$as_echo_n "(cached) " >&6
|
12955 | |
else
|
|
13380 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
|
|
13381 |
printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
|
|
13382 |
if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
|
|
13383 |
then :
|
|
13384 |
printf %s "(cached) " >&6
|
|
13385 |
else $as_nop
|
12956 | 13386 |
|
12957 | 13387 |
ax_check_save_flags=$CFLAGS
|
12958 | 13388 |
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
|
|
12960 | 13390 |
/* end confdefs.h. */
|
12961 | 13391 |
|
12962 | 13392 |
int
|
12963 | |
main ()
|
|
13393 |
main (void)
|
12964 | 13394 |
{
|
12965 | 13395 |
|
12966 | 13396 |
;
|
12967 | 13397 |
return 0;
|
12968 | 13398 |
}
|
12969 | 13399 |
_ACEOF
|
12970 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13400 |
if ac_fn_c_try_compile "$LINENO"
|
|
13401 |
then :
|
12971 | 13402 |
ax_cv_check_cflags___Werror_unknown_warning_option=yes
|
12972 | |
else
|
|
13403 |
else $as_nop
|
12973 | 13404 |
ax_cv_check_cflags___Werror_unknown_warning_option=no
|
12974 | 13405 |
fi
|
12975 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13406 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
12976 | 13407 |
CFLAGS=$ax_check_save_flags
|
12977 | 13408 |
fi
|
12978 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
|
12979 | |
$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
|
12980 | |
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
|
|
13409 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
|
|
13410 |
printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
|
|
13411 |
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
|
|
13412 |
then :
|
12981 | 13413 |
|
12982 | 13414 |
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
12983 | 13415 |
|
12984 | |
else
|
|
13416 |
else $as_nop
|
12985 | 13417 |
|
12986 | 13418 |
ax_compiler_flags_test=""
|
12987 | 13419 |
|
|
12989 | 13421 |
|
12990 | 13422 |
|
12991 | 13423 |
# Check that -Wno-suggest-attribute=format is supported
|
12992 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5
|
12993 | |
$as_echo_n "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; }
|
12994 | |
if ${ax_cv_check_cflags___Wno_suggest_attribute_format+:} false; then :
|
12995 | |
$as_echo_n "(cached) " >&6
|
12996 | |
else
|
|
13424 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5
|
|
13425 |
printf %s "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; }
|
|
13426 |
if test ${ax_cv_check_cflags___Wno_suggest_attribute_format+y}
|
|
13427 |
then :
|
|
13428 |
printf %s "(cached) " >&6
|
|
13429 |
else $as_nop
|
12997 | 13430 |
|
12998 | 13431 |
ax_check_save_flags=$CFLAGS
|
12999 | 13432 |
CFLAGS="$CFLAGS -Wno-suggest-attribute=format"
|
|
13001 | 13434 |
/* end confdefs.h. */
|
13002 | 13435 |
|
13003 | 13436 |
int
|
13004 | |
main ()
|
|
13437 |
main (void)
|
13005 | 13438 |
{
|
13006 | 13439 |
|
13007 | 13440 |
;
|
13008 | 13441 |
return 0;
|
13009 | 13442 |
}
|
13010 | 13443 |
_ACEOF
|
13011 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13444 |
if ac_fn_c_try_compile "$LINENO"
|
|
13445 |
then :
|
13012 | 13446 |
ax_cv_check_cflags___Wno_suggest_attribute_format=yes
|
13013 | |
else
|
|
13447 |
else $as_nop
|
13014 | 13448 |
ax_cv_check_cflags___Wno_suggest_attribute_format=no
|
13015 | 13449 |
fi
|
13016 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13450 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13017 | 13451 |
CFLAGS=$ax_check_save_flags
|
13018 | 13452 |
fi
|
13019 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5
|
13020 | |
$as_echo "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; }
|
13021 | |
if test "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes; then :
|
|
13453 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5
|
|
13454 |
printf "%s\n" "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; }
|
|
13455 |
if test "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes
|
|
13456 |
then :
|
13022 | 13457 |
|
13023 | 13458 |
ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"
|
13024 | 13459 |
|
13025 | |
else
|
|
13460 |
else $as_nop
|
13026 | 13461 |
|
13027 | 13462 |
ax_compiler_no_suggest_attribute_flags=""
|
13028 | 13463 |
|
|
13035 | 13470 |
|
13036 | 13471 |
|
13037 | 13472 |
for flag in -fno-strict-aliasing ; do
|
13038 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13039 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
13040 | |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
|
13041 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13042 | |
$as_echo_n "(cached) " >&6
|
13043 | |
else
|
|
13473 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
13474 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
|
13475 |
printf %s "checking whether C compiler accepts $flag... " >&6; }
|
|
13476 |
if eval test \${$as_CACHEVAR+y}
|
|
13477 |
then :
|
|
13478 |
printf %s "(cached) " >&6
|
|
13479 |
else $as_nop
|
13044 | 13480 |
|
13045 | 13481 |
ax_check_save_flags=$CFLAGS
|
13046 | 13482 |
CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
|
|
13048 | 13484 |
/* end confdefs.h. */
|
13049 | 13485 |
|
13050 | 13486 |
int
|
13051 | |
main ()
|
|
13487 |
main (void)
|
13052 | 13488 |
{
|
13053 | 13489 |
|
13054 | 13490 |
;
|
13055 | 13491 |
return 0;
|
13056 | 13492 |
}
|
13057 | 13493 |
_ACEOF
|
13058 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13494 |
if ac_fn_c_try_compile "$LINENO"
|
|
13495 |
then :
|
13059 | 13496 |
eval "$as_CACHEVAR=yes"
|
13060 | |
else
|
|
13497 |
else $as_nop
|
13061 | 13498 |
eval "$as_CACHEVAR=no"
|
13062 | 13499 |
fi
|
13063 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13500 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13064 | 13501 |
CFLAGS=$ax_check_save_flags
|
13065 | 13502 |
fi
|
13066 | 13503 |
eval ac_res=\$$as_CACHEVAR
|
13067 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13068 | |
$as_echo "$ac_res" >&6; }
|
13069 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13070 | |
|
13071 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13504 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
13505 |
printf "%s\n" "$ac_res" >&6; }
|
|
13506 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
13507 |
then :
|
|
13508 |
|
|
13509 |
if test ${WARN_CFLAGS+y}
|
|
13510 |
then :
|
13072 | 13511 |
|
13073 | 13512 |
case " $WARN_CFLAGS " in #(
|
13074 | 13513 |
*" $flag "*) :
|
13075 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
|
13514 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
13076 | 13515 |
(: WARN_CFLAGS already contains $flag) 2>&5
|
13077 | 13516 |
ac_status=$?
|
13078 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13517 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13079 | 13518 |
test $ac_status = 0; } ;; #(
|
13080 | 13519 |
*) :
|
13081 | 13520 |
|
13082 | 13521 |
as_fn_append WARN_CFLAGS " $flag"
|
13083 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13522 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13084 | 13523 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13085 | 13524 |
ac_status=$?
|
13086 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13525 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13087 | 13526 |
test $ac_status = 0; }
|
13088 | 13527 |
;;
|
13089 | 13528 |
esac
|
13090 | 13529 |
|
13091 | |
else
|
|
13530 |
else $as_nop
|
13092 | 13531 |
|
13093 | 13532 |
WARN_CFLAGS=$flag
|
13094 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13533 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13095 | 13534 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13096 | 13535 |
ac_status=$?
|
13097 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13536 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13098 | 13537 |
test $ac_status = 0; }
|
13099 | 13538 |
|
13100 | 13539 |
fi
|
13101 | 13540 |
|
13102 | |
else
|
|
13541 |
else $as_nop
|
13103 | 13542 |
:
|
13104 | 13543 |
fi
|
13105 | 13544 |
|
13106 | 13545 |
done
|
13107 | 13546 |
|
13108 | 13547 |
|
13109 | |
if test "$ax_enable_compile_warnings" != "no"; then :
|
|
13548 |
if test "$ax_enable_compile_warnings" != "no"
|
|
13549 |
then :
|
13110 | 13550 |
|
13111 | 13551 |
if test "$ax_compiler_cxx" = "no" ; then
|
13112 | 13552 |
# C-only flags. Warn in C++
|
|
13115 | 13555 |
|
13116 | 13556 |
|
13117 | 13557 |
for flag in -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init ; do
|
13118 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13119 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
13120 | |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
|
13121 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13122 | |
$as_echo_n "(cached) " >&6
|
13123 | |
else
|
|
13558 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
13559 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
|
13560 |
printf %s "checking whether C compiler accepts $flag... " >&6; }
|
|
13561 |
if eval test \${$as_CACHEVAR+y}
|
|
13562 |
then :
|
|
13563 |
printf %s "(cached) " >&6
|
|
13564 |
else $as_nop
|
13124 | 13565 |
|
13125 | 13566 |
ax_check_save_flags=$CFLAGS
|
13126 | 13567 |
CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
|
|
13128 | 13569 |
/* end confdefs.h. */
|
13129 | 13570 |
|
13130 | 13571 |
int
|
13131 | |
main ()
|
|
13572 |
main (void)
|
13132 | 13573 |
{
|
13133 | 13574 |
|
13134 | 13575 |
;
|
13135 | 13576 |
return 0;
|
13136 | 13577 |
}
|
13137 | 13578 |
_ACEOF
|
13138 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13579 |
if ac_fn_c_try_compile "$LINENO"
|
|
13580 |
then :
|
13139 | 13581 |
eval "$as_CACHEVAR=yes"
|
13140 | |
else
|
|
13582 |
else $as_nop
|
13141 | 13583 |
eval "$as_CACHEVAR=no"
|
13142 | 13584 |
fi
|
13143 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13585 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13144 | 13586 |
CFLAGS=$ax_check_save_flags
|
13145 | 13587 |
fi
|
13146 | 13588 |
eval ac_res=\$$as_CACHEVAR
|
13147 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13148 | |
$as_echo "$ac_res" >&6; }
|
13149 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13150 | |
|
13151 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13589 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
13590 |
printf "%s\n" "$ac_res" >&6; }
|
|
13591 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
13592 |
then :
|
|
13593 |
|
|
13594 |
if test ${WARN_CFLAGS+y}
|
|
13595 |
then :
|
13152 | 13596 |
|
13153 | 13597 |
case " $WARN_CFLAGS " in #(
|
13154 | 13598 |
*" $flag "*) :
|
13155 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
|
13599 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
13156 | 13600 |
(: WARN_CFLAGS already contains $flag) 2>&5
|
13157 | 13601 |
ac_status=$?
|
13158 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13602 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13159 | 13603 |
test $ac_status = 0; } ;; #(
|
13160 | 13604 |
*) :
|
13161 | 13605 |
|
13162 | 13606 |
as_fn_append WARN_CFLAGS " $flag"
|
13163 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13607 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13164 | 13608 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13165 | 13609 |
ac_status=$?
|
13166 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13610 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13167 | 13611 |
test $ac_status = 0; }
|
13168 | 13612 |
;;
|
13169 | 13613 |
esac
|
13170 | 13614 |
|
13171 | |
else
|
|
13615 |
else $as_nop
|
13172 | 13616 |
|
13173 | 13617 |
WARN_CFLAGS=$flag
|
13174 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13618 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13175 | 13619 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13176 | 13620 |
ac_status=$?
|
13177 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13621 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13178 | 13622 |
test $ac_status = 0; }
|
13179 | 13623 |
|
13180 | 13624 |
fi
|
13181 | 13625 |
|
13182 | |
else
|
|
13626 |
else $as_nop
|
13183 | 13627 |
:
|
13184 | 13628 |
fi
|
13185 | 13629 |
|
|
13193 | 13637 |
|
13194 | 13638 |
|
13195 | 13639 |
for flag in -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers ; do
|
13196 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13197 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
13198 | |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
|
13199 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13200 | |
$as_echo_n "(cached) " >&6
|
13201 | |
else
|
|
13640 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
13641 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
|
13642 |
printf %s "checking whether C compiler accepts $flag... " >&6; }
|
|
13643 |
if eval test \${$as_CACHEVAR+y}
|
|
13644 |
then :
|
|
13645 |
printf %s "(cached) " >&6
|
|
13646 |
else $as_nop
|
13202 | 13647 |
|
13203 | 13648 |
ax_check_save_flags=$CFLAGS
|
13204 | 13649 |
CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
|
|
13206 | 13651 |
/* end confdefs.h. */
|
13207 | 13652 |
|
13208 | 13653 |
int
|
13209 | |
main ()
|
|
13654 |
main (void)
|
13210 | 13655 |
{
|
13211 | 13656 |
|
13212 | 13657 |
;
|
13213 | 13658 |
return 0;
|
13214 | 13659 |
}
|
13215 | 13660 |
_ACEOF
|
13216 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13661 |
if ac_fn_c_try_compile "$LINENO"
|
|
13662 |
then :
|
13217 | 13663 |
eval "$as_CACHEVAR=yes"
|
13218 | |
else
|
|
13664 |
else $as_nop
|
13219 | 13665 |
eval "$as_CACHEVAR=no"
|
13220 | 13666 |
fi
|
13221 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13667 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13222 | 13668 |
CFLAGS=$ax_check_save_flags
|
13223 | 13669 |
fi
|
13224 | 13670 |
eval ac_res=\$$as_CACHEVAR
|
13225 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13226 | |
$as_echo "$ac_res" >&6; }
|
13227 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13228 | |
|
13229 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13671 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
13672 |
printf "%s\n" "$ac_res" >&6; }
|
|
13673 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
13674 |
then :
|
|
13675 |
|
|
13676 |
if test ${WARN_CFLAGS+y}
|
|
13677 |
then :
|
13230 | 13678 |
|
13231 | 13679 |
case " $WARN_CFLAGS " in #(
|
13232 | 13680 |
*" $flag "*) :
|
13233 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
|
13681 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
13234 | 13682 |
(: WARN_CFLAGS already contains $flag) 2>&5
|
13235 | 13683 |
ac_status=$?
|
13236 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13684 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13237 | 13685 |
test $ac_status = 0; } ;; #(
|
13238 | 13686 |
*) :
|
13239 | 13687 |
|
13240 | 13688 |
as_fn_append WARN_CFLAGS " $flag"
|
13241 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13689 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13242 | 13690 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13243 | 13691 |
ac_status=$?
|
13244 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13692 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13245 | 13693 |
test $ac_status = 0; }
|
13246 | 13694 |
;;
|
13247 | 13695 |
esac
|
13248 | 13696 |
|
13249 | |
else
|
|
13697 |
else $as_nop
|
13250 | 13698 |
|
13251 | 13699 |
WARN_CFLAGS=$flag
|
13252 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13700 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13253 | 13701 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13254 | 13702 |
ac_status=$?
|
13255 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13703 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13256 | 13704 |
test $ac_status = 0; }
|
13257 | 13705 |
|
13258 | 13706 |
fi
|
13259 | 13707 |
|
13260 | |
else
|
|
13708 |
else $as_nop
|
13261 | 13709 |
:
|
13262 | 13710 |
fi
|
13263 | 13711 |
|
|
13265 | 13713 |
|
13266 | 13714 |
|
13267 | 13715 |
fi
|
13268 | |
if test "$ax_enable_compile_warnings" = "error"; then :
|
|
13716 |
if test "$ax_enable_compile_warnings" = "error"
|
|
13717 |
then :
|
13269 | 13718 |
|
13270 | 13719 |
# "error" flags; -Werror has to be appended unconditionally because
|
13271 | 13720 |
# it's not possible to test for
|
|
13273 | 13722 |
# suggest-attribute=format is disabled because it gives too many false
|
13274 | 13723 |
# positives
|
13275 | 13724 |
|
13276 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13725 |
if test ${WARN_CFLAGS+y}
|
|
13726 |
then :
|
13277 | 13727 |
|
13278 | 13728 |
case " $WARN_CFLAGS " in #(
|
13279 | 13729 |
*" -Werror "*) :
|
13280 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5
|
|
13730 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5
|
13281 | 13731 |
(: WARN_CFLAGS already contains -Werror) 2>&5
|
13282 | 13732 |
ac_status=$?
|
13283 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13733 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13284 | 13734 |
test $ac_status = 0; } ;; #(
|
13285 | 13735 |
*) :
|
13286 | 13736 |
|
13287 | 13737 |
as_fn_append WARN_CFLAGS " -Werror"
|
13288 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13738 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13289 | 13739 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13290 | 13740 |
ac_status=$?
|
13291 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13741 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13292 | 13742 |
test $ac_status = 0; }
|
13293 | 13743 |
;;
|
13294 | 13744 |
esac
|
13295 | 13745 |
|
13296 | |
else
|
|
13746 |
else $as_nop
|
13297 | 13747 |
|
13298 | 13748 |
WARN_CFLAGS=-Werror
|
13299 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13749 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13300 | 13750 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13301 | 13751 |
ac_status=$?
|
13302 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13752 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13303 | 13753 |
test $ac_status = 0; }
|
13304 | 13754 |
|
13305 | 13755 |
fi
|
|
13310 | 13760 |
|
13311 | 13761 |
|
13312 | 13762 |
for flag in $ax_compiler_no_suggest_attribute_flags ; do
|
13313 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13314 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
13315 | |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
|
13316 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13317 | |
$as_echo_n "(cached) " >&6
|
13318 | |
else
|
|
13763 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
13764 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
|
13765 |
printf %s "checking whether C compiler accepts $flag... " >&6; }
|
|
13766 |
if eval test \${$as_CACHEVAR+y}
|
|
13767 |
then :
|
|
13768 |
printf %s "(cached) " >&6
|
|
13769 |
else $as_nop
|
13319 | 13770 |
|
13320 | 13771 |
ax_check_save_flags=$CFLAGS
|
13321 | 13772 |
CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
|
|
13323 | 13774 |
/* end confdefs.h. */
|
13324 | 13775 |
|
13325 | 13776 |
int
|
13326 | |
main ()
|
|
13777 |
main (void)
|
13327 | 13778 |
{
|
13328 | 13779 |
|
13329 | 13780 |
;
|
13330 | 13781 |
return 0;
|
13331 | 13782 |
}
|
13332 | 13783 |
_ACEOF
|
13333 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13784 |
if ac_fn_c_try_compile "$LINENO"
|
|
13785 |
then :
|
13334 | 13786 |
eval "$as_CACHEVAR=yes"
|
13335 | |
else
|
|
13787 |
else $as_nop
|
13336 | 13788 |
eval "$as_CACHEVAR=no"
|
13337 | 13789 |
fi
|
13338 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13790 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13339 | 13791 |
CFLAGS=$ax_check_save_flags
|
13340 | 13792 |
fi
|
13341 | 13793 |
eval ac_res=\$$as_CACHEVAR
|
13342 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13343 | |
$as_echo "$ac_res" >&6; }
|
13344 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13345 | |
|
13346 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13794 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
13795 |
printf "%s\n" "$ac_res" >&6; }
|
|
13796 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
13797 |
then :
|
|
13798 |
|
|
13799 |
if test ${WARN_CFLAGS+y}
|
|
13800 |
then :
|
13347 | 13801 |
|
13348 | 13802 |
case " $WARN_CFLAGS " in #(
|
13349 | 13803 |
*" $flag "*) :
|
13350 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
|
13804 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
13351 | 13805 |
(: WARN_CFLAGS already contains $flag) 2>&5
|
13352 | 13806 |
ac_status=$?
|
13353 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13807 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13354 | 13808 |
test $ac_status = 0; } ;; #(
|
13355 | 13809 |
*) :
|
13356 | 13810 |
|
13357 | 13811 |
as_fn_append WARN_CFLAGS " $flag"
|
13358 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13812 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13359 | 13813 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13360 | 13814 |
ac_status=$?
|
13361 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13815 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13362 | 13816 |
test $ac_status = 0; }
|
13363 | 13817 |
;;
|
13364 | 13818 |
esac
|
13365 | 13819 |
|
13366 | |
else
|
|
13820 |
else $as_nop
|
13367 | 13821 |
|
13368 | 13822 |
WARN_CFLAGS=$flag
|
13369 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13823 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13370 | 13824 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13371 | 13825 |
ac_status=$?
|
13372 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13826 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13373 | 13827 |
test $ac_status = 0; }
|
13374 | 13828 |
|
13375 | 13829 |
fi
|
13376 | 13830 |
|
13377 | |
else
|
|
13831 |
else $as_nop
|
13378 | 13832 |
:
|
13379 | 13833 |
fi
|
13380 | 13834 |
|
|
13397 | 13851 |
|
13398 | 13852 |
|
13399 | 13853 |
|
13400 | |
for flag in -Wno-error=$($as_echo $flag | $SED 's/^-Wno-//'); do
|
13401 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13402 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
13403 | |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
|
13404 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13405 | |
$as_echo_n "(cached) " >&6
|
13406 | |
else
|
|
13854 |
for flag in -Wno-error=$(printf "%s\n" $flag | $SED 's/^-Wno-//'); do
|
|
13855 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
13856 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
|
|
13857 |
printf %s "checking whether C compiler accepts $flag... " >&6; }
|
|
13858 |
if eval test \${$as_CACHEVAR+y}
|
|
13859 |
then :
|
|
13860 |
printf %s "(cached) " >&6
|
|
13861 |
else $as_nop
|
13407 | 13862 |
|
13408 | 13863 |
ax_check_save_flags=$CFLAGS
|
13409 | 13864 |
CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
|
|
13411 | 13866 |
/* end confdefs.h. */
|
13412 | 13867 |
|
13413 | 13868 |
int
|
13414 | |
main ()
|
|
13869 |
main (void)
|
13415 | 13870 |
{
|
13416 | 13871 |
|
13417 | 13872 |
;
|
13418 | 13873 |
return 0;
|
13419 | 13874 |
}
|
13420 | 13875 |
_ACEOF
|
13421 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13876 |
if ac_fn_c_try_compile "$LINENO"
|
|
13877 |
then :
|
13422 | 13878 |
eval "$as_CACHEVAR=yes"
|
13423 | |
else
|
|
13879 |
else $as_nop
|
13424 | 13880 |
eval "$as_CACHEVAR=no"
|
13425 | 13881 |
fi
|
13426 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13882 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13427 | 13883 |
CFLAGS=$ax_check_save_flags
|
13428 | 13884 |
fi
|
13429 | 13885 |
eval ac_res=\$$as_CACHEVAR
|
13430 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13431 | |
$as_echo "$ac_res" >&6; }
|
13432 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13433 | |
|
13434 | |
if ${WARN_CFLAGS+:} false; then :
|
|
13886 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
13887 |
printf "%s\n" "$ac_res" >&6; }
|
|
13888 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
13889 |
then :
|
|
13890 |
|
|
13891 |
if test ${WARN_CFLAGS+y}
|
|
13892 |
then :
|
13435 | 13893 |
|
13436 | 13894 |
case " $WARN_CFLAGS " in #(
|
13437 | 13895 |
*" $flag "*) :
|
13438 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
|
13896 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
|
13439 | 13897 |
(: WARN_CFLAGS already contains $flag) 2>&5
|
13440 | 13898 |
ac_status=$?
|
13441 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13899 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13442 | 13900 |
test $ac_status = 0; } ;; #(
|
13443 | 13901 |
*) :
|
13444 | 13902 |
|
13445 | 13903 |
as_fn_append WARN_CFLAGS " $flag"
|
13446 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13904 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13447 | 13905 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13448 | 13906 |
ac_status=$?
|
13449 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13907 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13450 | 13908 |
test $ac_status = 0; }
|
13451 | 13909 |
;;
|
13452 | 13910 |
esac
|
13453 | 13911 |
|
13454 | |
else
|
|
13912 |
else $as_nop
|
13455 | 13913 |
|
13456 | 13914 |
WARN_CFLAGS=$flag
|
13457 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
|
13915 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
|
13458 | 13916 |
(: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
|
13459 | 13917 |
ac_status=$?
|
13460 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13918 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13461 | 13919 |
test $ac_status = 0; }
|
13462 | 13920 |
|
13463 | 13921 |
fi
|
13464 | 13922 |
|
13465 | |
else
|
|
13923 |
else $as_nop
|
13466 | 13924 |
:
|
13467 | 13925 |
fi
|
13468 | 13926 |
|
|
13503 | 13961 |
# and Clang warns on them for every compilation unit.
|
13504 | 13962 |
# If this is passed to GCC, it will explode, so the flag must be enabled
|
13505 | 13963 |
# conditionally.
|
13506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
|
13507 | |
$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
|
13508 | |
if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
|
13509 | |
$as_echo_n "(cached) " >&6
|
13510 | |
else
|
|
13964 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
|
|
13965 |
printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
|
|
13966 |
if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
|
|
13967 |
then :
|
|
13968 |
printf %s "(cached) " >&6
|
|
13969 |
else $as_nop
|
13511 | 13970 |
|
13512 | 13971 |
ax_check_save_flags=$CFLAGS
|
13513 | 13972 |
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
|
|
13515 | 13974 |
/* end confdefs.h. */
|
13516 | 13975 |
|
13517 | 13976 |
int
|
13518 | |
main ()
|
|
13977 |
main (void)
|
13519 | 13978 |
{
|
13520 | 13979 |
|
13521 | 13980 |
;
|
13522 | 13981 |
return 0;
|
13523 | 13982 |
}
|
13524 | 13983 |
_ACEOF
|
13525 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
13984 |
if ac_fn_c_try_compile "$LINENO"
|
|
13985 |
then :
|
13526 | 13986 |
ax_cv_check_cflags___Werror_unknown_warning_option=yes
|
13527 | |
else
|
|
13987 |
else $as_nop
|
13528 | 13988 |
ax_cv_check_cflags___Werror_unknown_warning_option=no
|
13529 | 13989 |
fi
|
13530 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
13990 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
13531 | 13991 |
CFLAGS=$ax_check_save_flags
|
13532 | 13992 |
fi
|
13533 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
|
13534 | |
$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
|
13535 | |
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
|
|
13993 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
|
|
13994 |
printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
|
|
13995 |
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
|
|
13996 |
then :
|
13536 | 13997 |
|
13537 | 13998 |
ax_compiler_flags_test="-Werror=unknown-warning-option"
|
13538 | 13999 |
|
13539 | |
else
|
|
14000 |
else $as_nop
|
13540 | 14001 |
|
13541 | 14002 |
ax_compiler_flags_test=""
|
13542 | 14003 |
|
13543 | 14004 |
fi
|
13544 | 14005 |
|
13545 | 14006 |
|
13546 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
|
13547 | |
$as_echo_n "checking whether the linker accepts -Wl,--as-needed... " >&6; }
|
13548 | |
if ${ax_cv_check_ldflags___Wl___as_needed+:} false; then :
|
13549 | |
$as_echo_n "(cached) " >&6
|
13550 | |
else
|
|
14007 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
|
|
14008 |
printf %s "checking whether the linker accepts -Wl,--as-needed... " >&6; }
|
|
14009 |
if test ${ax_cv_check_ldflags___Wl___as_needed+y}
|
|
14010 |
then :
|
|
14011 |
printf %s "(cached) " >&6
|
|
14012 |
else $as_nop
|
13551 | 14013 |
|
13552 | 14014 |
ax_check_save_flags=$LDFLAGS
|
13553 | 14015 |
LDFLAGS="$LDFLAGS -Wl,--as-needed"
|
|
13555 | 14017 |
/* end confdefs.h. */
|
13556 | 14018 |
|
13557 | 14019 |
int
|
13558 | |
main ()
|
|
14020 |
main (void)
|
13559 | 14021 |
{
|
13560 | 14022 |
|
13561 | 14023 |
;
|
13562 | 14024 |
return 0;
|
13563 | 14025 |
}
|
13564 | 14026 |
_ACEOF
|
13565 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14027 |
if ac_fn_c_try_link "$LINENO"
|
|
14028 |
then :
|
13566 | 14029 |
ax_cv_check_ldflags___Wl___as_needed=yes
|
13567 | |
else
|
|
14030 |
else $as_nop
|
13568 | 14031 |
ax_cv_check_ldflags___Wl___as_needed=no
|
13569 | 14032 |
fi
|
13570 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14033 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13571 | 14034 |
conftest$ac_exeext conftest.$ac_ext
|
13572 | 14035 |
LDFLAGS=$ax_check_save_flags
|
13573 | 14036 |
fi
|
13574 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
|
13575 | |
$as_echo "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
|
13576 | |
if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes; then :
|
|
14037 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
|
|
14038 |
printf "%s\n" "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
|
|
14039 |
if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes
|
|
14040 |
then :
|
13577 | 14041 |
|
13578 | 14042 |
|
13579 | 14043 |
|
13580 | 14044 |
|
13581 | 14045 |
|
13582 | 14046 |
for flag in -Wl,--as-needed; do
|
13583 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13584 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
13585 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
13586 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13587 | |
$as_echo_n "(cached) " >&6
|
13588 | |
else
|
|
14047 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14048 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14049 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14050 |
if eval test \${$as_CACHEVAR+y}
|
|
14051 |
then :
|
|
14052 |
printf %s "(cached) " >&6
|
|
14053 |
else $as_nop
|
13589 | 14054 |
|
13590 | 14055 |
ax_check_save_flags=$LDFLAGS
|
13591 | 14056 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
13593 | 14058 |
/* end confdefs.h. */
|
13594 | 14059 |
|
13595 | 14060 |
int
|
13596 | |
main ()
|
|
14061 |
main (void)
|
13597 | 14062 |
{
|
13598 | 14063 |
|
13599 | 14064 |
;
|
13600 | 14065 |
return 0;
|
13601 | 14066 |
}
|
13602 | 14067 |
_ACEOF
|
13603 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14068 |
if ac_fn_c_try_link "$LINENO"
|
|
14069 |
then :
|
13604 | 14070 |
eval "$as_CACHEVAR=yes"
|
13605 | |
else
|
|
14071 |
else $as_nop
|
13606 | 14072 |
eval "$as_CACHEVAR=no"
|
13607 | 14073 |
fi
|
13608 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14074 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13609 | 14075 |
conftest$ac_exeext conftest.$ac_ext
|
13610 | 14076 |
LDFLAGS=$ax_check_save_flags
|
13611 | 14077 |
fi
|
13612 | 14078 |
eval ac_res=\$$as_CACHEVAR
|
13613 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13614 | |
$as_echo "$ac_res" >&6; }
|
13615 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13616 | |
|
13617 | |
if ${AM_LDFLAGS+:} false; then :
|
|
14079 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14080 |
printf "%s\n" "$ac_res" >&6; }
|
|
14081 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14082 |
then :
|
|
14083 |
|
|
14084 |
if test ${AM_LDFLAGS+y}
|
|
14085 |
then :
|
13618 | 14086 |
|
13619 | 14087 |
case " $AM_LDFLAGS " in #(
|
13620 | 14088 |
*" $flag "*) :
|
13621 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
|
14089 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
13622 | 14090 |
(: AM_LDFLAGS already contains $flag) 2>&5
|
13623 | 14091 |
ac_status=$?
|
13624 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14092 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13625 | 14093 |
test $ac_status = 0; } ;; #(
|
13626 | 14094 |
*) :
|
13627 | 14095 |
|
13628 | 14096 |
as_fn_append AM_LDFLAGS " $flag"
|
13629 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14097 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13630 | 14098 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13631 | 14099 |
ac_status=$?
|
13632 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14100 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13633 | 14101 |
test $ac_status = 0; }
|
13634 | 14102 |
;;
|
13635 | 14103 |
esac
|
13636 | 14104 |
|
13637 | |
else
|
|
14105 |
else $as_nop
|
13638 | 14106 |
|
13639 | 14107 |
AM_LDFLAGS=$flag
|
13640 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14108 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13641 | 14109 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13642 | 14110 |
ac_status=$?
|
13643 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14111 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13644 | 14112 |
test $ac_status = 0; }
|
13645 | 14113 |
|
13646 | 14114 |
fi
|
13647 | 14115 |
|
13648 | |
else
|
|
14116 |
else $as_nop
|
13649 | 14117 |
:
|
13650 | 14118 |
fi
|
13651 | 14119 |
|
13652 | 14120 |
done
|
13653 | 14121 |
|
13654 | 14122 |
|
13655 | |
else
|
|
14123 |
else $as_nop
|
13656 | 14124 |
:
|
13657 | 14125 |
fi
|
13658 | 14126 |
|
13659 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
|
13660 | |
$as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
|
13661 | |
if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
|
13662 | |
$as_echo_n "(cached) " >&6
|
13663 | |
else
|
|
14127 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
|
|
14128 |
printf %s "checking whether the linker accepts -Wl,-z,relro... " >&6; }
|
|
14129 |
if test ${ax_cv_check_ldflags___Wl__z_relro+y}
|
|
14130 |
then :
|
|
14131 |
printf %s "(cached) " >&6
|
|
14132 |
else $as_nop
|
13664 | 14133 |
|
13665 | 14134 |
ax_check_save_flags=$LDFLAGS
|
13666 | 14135 |
LDFLAGS="$LDFLAGS -Wl,-z,relro"
|
|
13668 | 14137 |
/* end confdefs.h. */
|
13669 | 14138 |
|
13670 | 14139 |
int
|
13671 | |
main ()
|
|
14140 |
main (void)
|
13672 | 14141 |
{
|
13673 | 14142 |
|
13674 | 14143 |
;
|
13675 | 14144 |
return 0;
|
13676 | 14145 |
}
|
13677 | 14146 |
_ACEOF
|
13678 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14147 |
if ac_fn_c_try_link "$LINENO"
|
|
14148 |
then :
|
13679 | 14149 |
ax_cv_check_ldflags___Wl__z_relro=yes
|
13680 | |
else
|
|
14150 |
else $as_nop
|
13681 | 14151 |
ax_cv_check_ldflags___Wl__z_relro=no
|
13682 | 14152 |
fi
|
13683 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14153 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13684 | 14154 |
conftest$ac_exeext conftest.$ac_ext
|
13685 | 14155 |
LDFLAGS=$ax_check_save_flags
|
13686 | 14156 |
fi
|
13687 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
|
13688 | |
$as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
|
13689 | |
if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes; then :
|
|
14157 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
|
|
14158 |
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
|
|
14159 |
if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes
|
|
14160 |
then :
|
13690 | 14161 |
|
13691 | 14162 |
|
13692 | 14163 |
|
13693 | 14164 |
|
13694 | 14165 |
|
13695 | 14166 |
for flag in -Wl,-z,relro; do
|
13696 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13697 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
13698 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
13699 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13700 | |
$as_echo_n "(cached) " >&6
|
13701 | |
else
|
|
14167 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14168 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14169 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14170 |
if eval test \${$as_CACHEVAR+y}
|
|
14171 |
then :
|
|
14172 |
printf %s "(cached) " >&6
|
|
14173 |
else $as_nop
|
13702 | 14174 |
|
13703 | 14175 |
ax_check_save_flags=$LDFLAGS
|
13704 | 14176 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
13706 | 14178 |
/* end confdefs.h. */
|
13707 | 14179 |
|
13708 | 14180 |
int
|
13709 | |
main ()
|
|
14181 |
main (void)
|
13710 | 14182 |
{
|
13711 | 14183 |
|
13712 | 14184 |
;
|
13713 | 14185 |
return 0;
|
13714 | 14186 |
}
|
13715 | 14187 |
_ACEOF
|
13716 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14188 |
if ac_fn_c_try_link "$LINENO"
|
|
14189 |
then :
|
13717 | 14190 |
eval "$as_CACHEVAR=yes"
|
13718 | |
else
|
|
14191 |
else $as_nop
|
13719 | 14192 |
eval "$as_CACHEVAR=no"
|
13720 | 14193 |
fi
|
13721 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14194 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13722 | 14195 |
conftest$ac_exeext conftest.$ac_ext
|
13723 | 14196 |
LDFLAGS=$ax_check_save_flags
|
13724 | 14197 |
fi
|
13725 | 14198 |
eval ac_res=\$$as_CACHEVAR
|
13726 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13727 | |
$as_echo "$ac_res" >&6; }
|
13728 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13729 | |
|
13730 | |
if ${AM_LDFLAGS+:} false; then :
|
|
14199 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14200 |
printf "%s\n" "$ac_res" >&6; }
|
|
14201 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14202 |
then :
|
|
14203 |
|
|
14204 |
if test ${AM_LDFLAGS+y}
|
|
14205 |
then :
|
13731 | 14206 |
|
13732 | 14207 |
case " $AM_LDFLAGS " in #(
|
13733 | 14208 |
*" $flag "*) :
|
13734 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
|
14209 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
13735 | 14210 |
(: AM_LDFLAGS already contains $flag) 2>&5
|
13736 | 14211 |
ac_status=$?
|
13737 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14212 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13738 | 14213 |
test $ac_status = 0; } ;; #(
|
13739 | 14214 |
*) :
|
13740 | 14215 |
|
13741 | 14216 |
as_fn_append AM_LDFLAGS " $flag"
|
13742 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14217 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13743 | 14218 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13744 | 14219 |
ac_status=$?
|
13745 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14220 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13746 | 14221 |
test $ac_status = 0; }
|
13747 | 14222 |
;;
|
13748 | 14223 |
esac
|
13749 | 14224 |
|
13750 | |
else
|
|
14225 |
else $as_nop
|
13751 | 14226 |
|
13752 | 14227 |
AM_LDFLAGS=$flag
|
13753 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14228 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13754 | 14229 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13755 | 14230 |
ac_status=$?
|
13756 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14231 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13757 | 14232 |
test $ac_status = 0; }
|
13758 | 14233 |
|
13759 | 14234 |
fi
|
13760 | 14235 |
|
13761 | |
else
|
|
14236 |
else $as_nop
|
13762 | 14237 |
:
|
13763 | 14238 |
fi
|
13764 | 14239 |
|
13765 | 14240 |
done
|
13766 | 14241 |
|
13767 | 14242 |
|
13768 | |
else
|
|
14243 |
else $as_nop
|
13769 | 14244 |
:
|
13770 | 14245 |
fi
|
13771 | 14246 |
|
13772 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
|
13773 | |
$as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
|
13774 | |
if ${ax_cv_check_ldflags___Wl__z_now+:} false; then :
|
13775 | |
$as_echo_n "(cached) " >&6
|
13776 | |
else
|
|
14247 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
|
|
14248 |
printf %s "checking whether the linker accepts -Wl,-z,now... " >&6; }
|
|
14249 |
if test ${ax_cv_check_ldflags___Wl__z_now+y}
|
|
14250 |
then :
|
|
14251 |
printf %s "(cached) " >&6
|
|
14252 |
else $as_nop
|
13777 | 14253 |
|
13778 | 14254 |
ax_check_save_flags=$LDFLAGS
|
13779 | 14255 |
LDFLAGS="$LDFLAGS -Wl,-z,now"
|
|
13781 | 14257 |
/* end confdefs.h. */
|
13782 | 14258 |
|
13783 | 14259 |
int
|
13784 | |
main ()
|
|
14260 |
main (void)
|
13785 | 14261 |
{
|
13786 | 14262 |
|
13787 | 14263 |
;
|
13788 | 14264 |
return 0;
|
13789 | 14265 |
}
|
13790 | 14266 |
_ACEOF
|
13791 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14267 |
if ac_fn_c_try_link "$LINENO"
|
|
14268 |
then :
|
13792 | 14269 |
ax_cv_check_ldflags___Wl__z_now=yes
|
13793 | |
else
|
|
14270 |
else $as_nop
|
13794 | 14271 |
ax_cv_check_ldflags___Wl__z_now=no
|
13795 | 14272 |
fi
|
13796 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14273 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13797 | 14274 |
conftest$ac_exeext conftest.$ac_ext
|
13798 | 14275 |
LDFLAGS=$ax_check_save_flags
|
13799 | 14276 |
fi
|
13800 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
|
13801 | |
$as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
|
13802 | |
if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes; then :
|
|
14277 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
|
|
14278 |
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_now" >&6; }
|
|
14279 |
if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes
|
|
14280 |
then :
|
13803 | 14281 |
|
13804 | 14282 |
|
13805 | 14283 |
|
13806 | 14284 |
|
13807 | 14285 |
|
13808 | 14286 |
for flag in -Wl,-z,now; do
|
13809 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13810 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
13811 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
13812 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13813 | |
$as_echo_n "(cached) " >&6
|
13814 | |
else
|
|
14287 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14288 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14289 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14290 |
if eval test \${$as_CACHEVAR+y}
|
|
14291 |
then :
|
|
14292 |
printf %s "(cached) " >&6
|
|
14293 |
else $as_nop
|
13815 | 14294 |
|
13816 | 14295 |
ax_check_save_flags=$LDFLAGS
|
13817 | 14296 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
13819 | 14298 |
/* end confdefs.h. */
|
13820 | 14299 |
|
13821 | 14300 |
int
|
13822 | |
main ()
|
|
14301 |
main (void)
|
13823 | 14302 |
{
|
13824 | 14303 |
|
13825 | 14304 |
;
|
13826 | 14305 |
return 0;
|
13827 | 14306 |
}
|
13828 | 14307 |
_ACEOF
|
13829 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14308 |
if ac_fn_c_try_link "$LINENO"
|
|
14309 |
then :
|
13830 | 14310 |
eval "$as_CACHEVAR=yes"
|
13831 | |
else
|
|
14311 |
else $as_nop
|
13832 | 14312 |
eval "$as_CACHEVAR=no"
|
13833 | 14313 |
fi
|
13834 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14314 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13835 | 14315 |
conftest$ac_exeext conftest.$ac_ext
|
13836 | 14316 |
LDFLAGS=$ax_check_save_flags
|
13837 | 14317 |
fi
|
13838 | 14318 |
eval ac_res=\$$as_CACHEVAR
|
13839 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13840 | |
$as_echo "$ac_res" >&6; }
|
13841 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13842 | |
|
13843 | |
if ${AM_LDFLAGS+:} false; then :
|
|
14319 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14320 |
printf "%s\n" "$ac_res" >&6; }
|
|
14321 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14322 |
then :
|
|
14323 |
|
|
14324 |
if test ${AM_LDFLAGS+y}
|
|
14325 |
then :
|
13844 | 14326 |
|
13845 | 14327 |
case " $AM_LDFLAGS " in #(
|
13846 | 14328 |
*" $flag "*) :
|
13847 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
|
14329 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
13848 | 14330 |
(: AM_LDFLAGS already contains $flag) 2>&5
|
13849 | 14331 |
ac_status=$?
|
13850 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14332 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13851 | 14333 |
test $ac_status = 0; } ;; #(
|
13852 | 14334 |
*) :
|
13853 | 14335 |
|
13854 | 14336 |
as_fn_append AM_LDFLAGS " $flag"
|
13855 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14337 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13856 | 14338 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13857 | 14339 |
ac_status=$?
|
13858 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14340 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13859 | 14341 |
test $ac_status = 0; }
|
13860 | 14342 |
;;
|
13861 | 14343 |
esac
|
13862 | 14344 |
|
13863 | |
else
|
|
14345 |
else $as_nop
|
13864 | 14346 |
|
13865 | 14347 |
AM_LDFLAGS=$flag
|
13866 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14348 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13867 | 14349 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13868 | 14350 |
ac_status=$?
|
13869 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14351 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13870 | 14352 |
test $ac_status = 0; }
|
13871 | 14353 |
|
13872 | 14354 |
fi
|
13873 | 14355 |
|
13874 | |
else
|
|
14356 |
else $as_nop
|
13875 | 14357 |
:
|
13876 | 14358 |
fi
|
13877 | 14359 |
|
13878 | 14360 |
done
|
13879 | 14361 |
|
13880 | 14362 |
|
13881 | |
else
|
|
14363 |
else $as_nop
|
13882 | 14364 |
:
|
13883 | 14365 |
fi
|
13884 | 14366 |
|
13885 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
|
13886 | |
$as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
|
13887 | |
if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false; then :
|
13888 | |
$as_echo_n "(cached) " >&6
|
13889 | |
else
|
|
14367 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
|
|
14368 |
printf %s "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
|
|
14369 |
if test ${ax_cv_check_ldflags___Wl__z_noexecstack+y}
|
|
14370 |
then :
|
|
14371 |
printf %s "(cached) " >&6
|
|
14372 |
else $as_nop
|
13890 | 14373 |
|
13891 | 14374 |
ax_check_save_flags=$LDFLAGS
|
13892 | 14375 |
LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
|
|
13894 | 14377 |
/* end confdefs.h. */
|
13895 | 14378 |
|
13896 | 14379 |
int
|
13897 | |
main ()
|
|
14380 |
main (void)
|
13898 | 14381 |
{
|
13899 | 14382 |
|
13900 | 14383 |
;
|
13901 | 14384 |
return 0;
|
13902 | 14385 |
}
|
13903 | 14386 |
_ACEOF
|
13904 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14387 |
if ac_fn_c_try_link "$LINENO"
|
|
14388 |
then :
|
13905 | 14389 |
ax_cv_check_ldflags___Wl__z_noexecstack=yes
|
13906 | |
else
|
|
14390 |
else $as_nop
|
13907 | 14391 |
ax_cv_check_ldflags___Wl__z_noexecstack=no
|
13908 | 14392 |
fi
|
13909 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14393 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13910 | 14394 |
conftest$ac_exeext conftest.$ac_ext
|
13911 | 14395 |
LDFLAGS=$ax_check_save_flags
|
13912 | 14396 |
fi
|
13913 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
|
13914 | |
$as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
|
13915 | |
if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes; then :
|
|
14397 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
|
|
14398 |
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
|
|
14399 |
if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
|
|
14400 |
then :
|
13916 | 14401 |
|
13917 | 14402 |
|
13918 | 14403 |
|
13919 | 14404 |
|
13920 | 14405 |
|
13921 | 14406 |
for flag in -Wl,-z,noexecstack; do
|
13922 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
13923 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
13924 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
13925 | |
if eval \${$as_CACHEVAR+:} false; then :
|
13926 | |
$as_echo_n "(cached) " >&6
|
13927 | |
else
|
|
14407 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14408 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14409 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14410 |
if eval test \${$as_CACHEVAR+y}
|
|
14411 |
then :
|
|
14412 |
printf %s "(cached) " >&6
|
|
14413 |
else $as_nop
|
13928 | 14414 |
|
13929 | 14415 |
ax_check_save_flags=$LDFLAGS
|
13930 | 14416 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
13932 | 14418 |
/* end confdefs.h. */
|
13933 | 14419 |
|
13934 | 14420 |
int
|
13935 | |
main ()
|
|
14421 |
main (void)
|
13936 | 14422 |
{
|
13937 | 14423 |
|
13938 | 14424 |
;
|
13939 | 14425 |
return 0;
|
13940 | 14426 |
}
|
13941 | 14427 |
_ACEOF
|
13942 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14428 |
if ac_fn_c_try_link "$LINENO"
|
|
14429 |
then :
|
13943 | 14430 |
eval "$as_CACHEVAR=yes"
|
13944 | |
else
|
|
14431 |
else $as_nop
|
13945 | 14432 |
eval "$as_CACHEVAR=no"
|
13946 | 14433 |
fi
|
13947 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14434 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13948 | 14435 |
conftest$ac_exeext conftest.$ac_ext
|
13949 | 14436 |
LDFLAGS=$ax_check_save_flags
|
13950 | 14437 |
fi
|
13951 | 14438 |
eval ac_res=\$$as_CACHEVAR
|
13952 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
13953 | |
$as_echo "$ac_res" >&6; }
|
13954 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
13955 | |
|
13956 | |
if ${AM_LDFLAGS+:} false; then :
|
|
14439 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14440 |
printf "%s\n" "$ac_res" >&6; }
|
|
14441 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14442 |
then :
|
|
14443 |
|
|
14444 |
if test ${AM_LDFLAGS+y}
|
|
14445 |
then :
|
13957 | 14446 |
|
13958 | 14447 |
case " $AM_LDFLAGS " in #(
|
13959 | 14448 |
*" $flag "*) :
|
13960 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
|
14449 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
|
13961 | 14450 |
(: AM_LDFLAGS already contains $flag) 2>&5
|
13962 | 14451 |
ac_status=$?
|
13963 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14452 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13964 | 14453 |
test $ac_status = 0; } ;; #(
|
13965 | 14454 |
*) :
|
13966 | 14455 |
|
13967 | 14456 |
as_fn_append AM_LDFLAGS " $flag"
|
13968 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14457 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13969 | 14458 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13970 | 14459 |
ac_status=$?
|
13971 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14460 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13972 | 14461 |
test $ac_status = 0; }
|
13973 | 14462 |
;;
|
13974 | 14463 |
esac
|
13975 | 14464 |
|
13976 | |
else
|
|
14465 |
else $as_nop
|
13977 | 14466 |
|
13978 | 14467 |
AM_LDFLAGS=$flag
|
13979 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
|
14468 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
|
13980 | 14469 |
(: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
|
13981 | 14470 |
ac_status=$?
|
13982 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14471 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13983 | 14472 |
test $ac_status = 0; }
|
13984 | 14473 |
|
13985 | 14474 |
fi
|
13986 | 14475 |
|
13987 | |
else
|
|
14476 |
else $as_nop
|
13988 | 14477 |
:
|
13989 | 14478 |
fi
|
13990 | 14479 |
|
13991 | 14480 |
done
|
13992 | 14481 |
|
13993 | 14482 |
|
13994 | |
else
|
|
14483 |
else $as_nop
|
13995 | 14484 |
:
|
13996 | 14485 |
fi
|
13997 | 14486 |
|
13998 | 14487 |
# textonly, retpolineplt not yet
|
13999 | 14488 |
|
14000 | 14489 |
# macOS and cygwin linker do not have --as-needed
|
14001 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
|
14002 | |
$as_echo_n "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
|
14003 | |
if ${ax_cv_check_ldflags___Wl___no_as_needed+:} false; then :
|
14004 | |
$as_echo_n "(cached) " >&6
|
14005 | |
else
|
|
14490 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
|
|
14491 |
printf %s "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
|
|
14492 |
if test ${ax_cv_check_ldflags___Wl___no_as_needed+y}
|
|
14493 |
then :
|
|
14494 |
printf %s "(cached) " >&6
|
|
14495 |
else $as_nop
|
14006 | 14496 |
|
14007 | 14497 |
ax_check_save_flags=$LDFLAGS
|
14008 | 14498 |
LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
|
|
14010 | 14500 |
/* end confdefs.h. */
|
14011 | 14501 |
|
14012 | 14502 |
int
|
14013 | |
main ()
|
|
14503 |
main (void)
|
14014 | 14504 |
{
|
14015 | 14505 |
|
14016 | 14506 |
;
|
14017 | 14507 |
return 0;
|
14018 | 14508 |
}
|
14019 | 14509 |
_ACEOF
|
14020 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14510 |
if ac_fn_c_try_link "$LINENO"
|
|
14511 |
then :
|
14021 | 14512 |
ax_cv_check_ldflags___Wl___no_as_needed=yes
|
14022 | |
else
|
|
14513 |
else $as_nop
|
14023 | 14514 |
ax_cv_check_ldflags___Wl___no_as_needed=no
|
14024 | 14515 |
fi
|
14025 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14516 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14026 | 14517 |
conftest$ac_exeext conftest.$ac_ext
|
14027 | 14518 |
LDFLAGS=$ax_check_save_flags
|
14028 | 14519 |
fi
|
14029 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5
|
14030 | |
$as_echo "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; }
|
14031 | |
if test "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes; then :
|
|
14520 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5
|
|
14521 |
printf "%s\n" "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; }
|
|
14522 |
if test "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes
|
|
14523 |
then :
|
14032 | 14524 |
|
14033 | 14525 |
ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"
|
14034 | 14526 |
|
14035 | |
else
|
|
14527 |
else $as_nop
|
14036 | 14528 |
|
14037 | 14529 |
ax_compiler_flags_as_needed_option=""
|
14038 | 14530 |
|
|
14041 | 14533 |
|
14042 | 14534 |
# macOS linker speaks with a different accent
|
14043 | 14535 |
ax_compiler_flags_fatal_warnings_option=""
|
14044 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5
|
14045 | |
$as_echo_n "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; }
|
14046 | |
if ${ax_cv_check_ldflags___Wl___fatal_warnings+:} false; then :
|
14047 | |
$as_echo_n "(cached) " >&6
|
14048 | |
else
|
|
14536 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5
|
|
14537 |
printf %s "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; }
|
|
14538 |
if test ${ax_cv_check_ldflags___Wl___fatal_warnings+y}
|
|
14539 |
then :
|
|
14540 |
printf %s "(cached) " >&6
|
|
14541 |
else $as_nop
|
14049 | 14542 |
|
14050 | 14543 |
ax_check_save_flags=$LDFLAGS
|
14051 | 14544 |
LDFLAGS="$LDFLAGS -Wl,--fatal-warnings"
|
|
14053 | 14546 |
/* end confdefs.h. */
|
14054 | 14547 |
|
14055 | 14548 |
int
|
14056 | |
main ()
|
|
14549 |
main (void)
|
14057 | 14550 |
{
|
14058 | 14551 |
|
14059 | 14552 |
;
|
14060 | 14553 |
return 0;
|
14061 | 14554 |
}
|
14062 | 14555 |
_ACEOF
|
14063 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14556 |
if ac_fn_c_try_link "$LINENO"
|
|
14557 |
then :
|
14064 | 14558 |
ax_cv_check_ldflags___Wl___fatal_warnings=yes
|
14065 | |
else
|
|
14559 |
else $as_nop
|
14066 | 14560 |
ax_cv_check_ldflags___Wl___fatal_warnings=no
|
14067 | 14561 |
fi
|
14068 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14562 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14069 | 14563 |
conftest$ac_exeext conftest.$ac_ext
|
14070 | 14564 |
LDFLAGS=$ax_check_save_flags
|
14071 | 14565 |
fi
|
14072 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5
|
14073 | |
$as_echo "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; }
|
14074 | |
if test "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes; then :
|
|
14566 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5
|
|
14567 |
printf "%s\n" "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; }
|
|
14568 |
if test "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes
|
|
14569 |
then :
|
14075 | 14570 |
|
14076 | 14571 |
ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings"
|
14077 | 14572 |
|
14078 | |
else
|
|
14573 |
else $as_nop
|
14079 | 14574 |
:
|
14080 | 14575 |
fi
|
14081 | 14576 |
|
14082 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5
|
14083 | |
$as_echo_n "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; }
|
14084 | |
if ${ax_cv_check_ldflags___Wl__fatal_warnings+:} false; then :
|
14085 | |
$as_echo_n "(cached) " >&6
|
14086 | |
else
|
|
14577 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5
|
|
14578 |
printf %s "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; }
|
|
14579 |
if test ${ax_cv_check_ldflags___Wl__fatal_warnings+y}
|
|
14580 |
then :
|
|
14581 |
printf %s "(cached) " >&6
|
|
14582 |
else $as_nop
|
14087 | 14583 |
|
14088 | 14584 |
ax_check_save_flags=$LDFLAGS
|
14089 | 14585 |
LDFLAGS="$LDFLAGS -Wl,-fatal_warnings"
|
|
14091 | 14587 |
/* end confdefs.h. */
|
14092 | 14588 |
|
14093 | 14589 |
int
|
14094 | |
main ()
|
|
14590 |
main (void)
|
14095 | 14591 |
{
|
14096 | 14592 |
|
14097 | 14593 |
;
|
14098 | 14594 |
return 0;
|
14099 | 14595 |
}
|
14100 | 14596 |
_ACEOF
|
14101 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14597 |
if ac_fn_c_try_link "$LINENO"
|
|
14598 |
then :
|
14102 | 14599 |
ax_cv_check_ldflags___Wl__fatal_warnings=yes
|
14103 | |
else
|
|
14600 |
else $as_nop
|
14104 | 14601 |
ax_cv_check_ldflags___Wl__fatal_warnings=no
|
14105 | 14602 |
fi
|
14106 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14603 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14107 | 14604 |
conftest$ac_exeext conftest.$ac_ext
|
14108 | 14605 |
LDFLAGS=$ax_check_save_flags
|
14109 | 14606 |
fi
|
14110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5
|
14111 | |
$as_echo "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; }
|
14112 | |
if test "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes; then :
|
|
14607 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5
|
|
14608 |
printf "%s\n" "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; }
|
|
14609 |
if test "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes
|
|
14610 |
then :
|
14113 | 14611 |
|
14114 | 14612 |
ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings"
|
14115 | 14613 |
|
14116 | |
else
|
|
14614 |
else $as_nop
|
14117 | 14615 |
:
|
14118 | 14616 |
fi
|
14119 | 14617 |
|
|
14124 | 14622 |
|
14125 | 14623 |
|
14126 | 14624 |
for flag in $ax_compiler_flags_as_needed_option ; do
|
14127 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
14128 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
14129 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
14130 | |
if eval \${$as_CACHEVAR+:} false; then :
|
14131 | |
$as_echo_n "(cached) " >&6
|
14132 | |
else
|
|
14625 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14626 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14627 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14628 |
if eval test \${$as_CACHEVAR+y}
|
|
14629 |
then :
|
|
14630 |
printf %s "(cached) " >&6
|
|
14631 |
else $as_nop
|
14133 | 14632 |
|
14134 | 14633 |
ax_check_save_flags=$LDFLAGS
|
14135 | 14634 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
14137 | 14636 |
/* end confdefs.h. */
|
14138 | 14637 |
|
14139 | 14638 |
int
|
14140 | |
main ()
|
|
14639 |
main (void)
|
14141 | 14640 |
{
|
14142 | 14641 |
|
14143 | 14642 |
;
|
14144 | 14643 |
return 0;
|
14145 | 14644 |
}
|
14146 | 14645 |
_ACEOF
|
14147 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14646 |
if ac_fn_c_try_link "$LINENO"
|
|
14647 |
then :
|
14148 | 14648 |
eval "$as_CACHEVAR=yes"
|
14149 | |
else
|
|
14649 |
else $as_nop
|
14150 | 14650 |
eval "$as_CACHEVAR=no"
|
14151 | 14651 |
fi
|
14152 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14652 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14153 | 14653 |
conftest$ac_exeext conftest.$ac_ext
|
14154 | 14654 |
LDFLAGS=$ax_check_save_flags
|
14155 | 14655 |
fi
|
14156 | 14656 |
eval ac_res=\$$as_CACHEVAR
|
14157 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
14158 | |
$as_echo "$ac_res" >&6; }
|
14159 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
14160 | |
|
14161 | |
if ${WARN_LDFLAGS+:} false; then :
|
|
14657 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14658 |
printf "%s\n" "$ac_res" >&6; }
|
|
14659 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14660 |
then :
|
|
14661 |
|
|
14662 |
if test ${WARN_LDFLAGS+y}
|
|
14663 |
then :
|
14162 | 14664 |
|
14163 | 14665 |
case " $WARN_LDFLAGS " in #(
|
14164 | 14666 |
*" $flag "*) :
|
14165 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
|
14667 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
14166 | 14668 |
(: WARN_LDFLAGS already contains $flag) 2>&5
|
14167 | 14669 |
ac_status=$?
|
14168 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14670 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14169 | 14671 |
test $ac_status = 0; } ;; #(
|
14170 | 14672 |
*) :
|
14171 | 14673 |
|
14172 | 14674 |
as_fn_append WARN_LDFLAGS " $flag"
|
14173 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14675 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14174 | 14676 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14175 | 14677 |
ac_status=$?
|
14176 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14678 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14177 | 14679 |
test $ac_status = 0; }
|
14178 | 14680 |
;;
|
14179 | 14681 |
esac
|
14180 | 14682 |
|
14181 | |
else
|
|
14683 |
else $as_nop
|
14182 | 14684 |
|
14183 | 14685 |
WARN_LDFLAGS=$flag
|
14184 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14686 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14185 | 14687 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14186 | 14688 |
ac_status=$?
|
14187 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14689 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14188 | 14690 |
test $ac_status = 0; }
|
14189 | 14691 |
|
14190 | 14692 |
fi
|
14191 | 14693 |
|
14192 | |
else
|
|
14694 |
else $as_nop
|
14193 | 14695 |
:
|
14194 | 14696 |
fi
|
14195 | 14697 |
|
14196 | 14698 |
done
|
14197 | 14699 |
|
14198 | 14700 |
|
14199 | |
if test "$ax_enable_compile_warnings" != "no"; then :
|
|
14701 |
if test "$ax_enable_compile_warnings" != "no"
|
|
14702 |
then :
|
14200 | 14703 |
|
14201 | 14704 |
# "yes" flags
|
14202 | 14705 |
|
|
14204 | 14707 |
|
14205 | 14708 |
|
14206 | 14709 |
for flag in ; do
|
14207 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
14208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
14209 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
14210 | |
if eval \${$as_CACHEVAR+:} false; then :
|
14211 | |
$as_echo_n "(cached) " >&6
|
14212 | |
else
|
|
14710 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14711 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14712 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14713 |
if eval test \${$as_CACHEVAR+y}
|
|
14714 |
then :
|
|
14715 |
printf %s "(cached) " >&6
|
|
14716 |
else $as_nop
|
14213 | 14717 |
|
14214 | 14718 |
ax_check_save_flags=$LDFLAGS
|
14215 | 14719 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
14217 | 14721 |
/* end confdefs.h. */
|
14218 | 14722 |
|
14219 | 14723 |
int
|
14220 | |
main ()
|
|
14724 |
main (void)
|
14221 | 14725 |
{
|
14222 | 14726 |
|
14223 | 14727 |
;
|
14224 | 14728 |
return 0;
|
14225 | 14729 |
}
|
14226 | 14730 |
_ACEOF
|
14227 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14731 |
if ac_fn_c_try_link "$LINENO"
|
|
14732 |
then :
|
14228 | 14733 |
eval "$as_CACHEVAR=yes"
|
14229 | |
else
|
|
14734 |
else $as_nop
|
14230 | 14735 |
eval "$as_CACHEVAR=no"
|
14231 | 14736 |
fi
|
14232 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14737 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14233 | 14738 |
conftest$ac_exeext conftest.$ac_ext
|
14234 | 14739 |
LDFLAGS=$ax_check_save_flags
|
14235 | 14740 |
fi
|
14236 | 14741 |
eval ac_res=\$$as_CACHEVAR
|
14237 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
14238 | |
$as_echo "$ac_res" >&6; }
|
14239 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
14240 | |
|
14241 | |
if ${WARN_LDFLAGS+:} false; then :
|
|
14742 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14743 |
printf "%s\n" "$ac_res" >&6; }
|
|
14744 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14745 |
then :
|
|
14746 |
|
|
14747 |
if test ${WARN_LDFLAGS+y}
|
|
14748 |
then :
|
14242 | 14749 |
|
14243 | 14750 |
case " $WARN_LDFLAGS " in #(
|
14244 | 14751 |
*" $flag "*) :
|
14245 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
|
14752 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
14246 | 14753 |
(: WARN_LDFLAGS already contains $flag) 2>&5
|
14247 | 14754 |
ac_status=$?
|
14248 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14755 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14249 | 14756 |
test $ac_status = 0; } ;; #(
|
14250 | 14757 |
*) :
|
14251 | 14758 |
|
14252 | 14759 |
as_fn_append WARN_LDFLAGS " $flag"
|
14253 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14760 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14254 | 14761 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14255 | 14762 |
ac_status=$?
|
14256 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14763 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14257 | 14764 |
test $ac_status = 0; }
|
14258 | 14765 |
;;
|
14259 | 14766 |
esac
|
14260 | 14767 |
|
14261 | |
else
|
|
14768 |
else $as_nop
|
14262 | 14769 |
|
14263 | 14770 |
WARN_LDFLAGS=$flag
|
14264 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14771 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14265 | 14772 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14266 | 14773 |
ac_status=$?
|
14267 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14774 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14268 | 14775 |
test $ac_status = 0; }
|
14269 | 14776 |
|
14270 | 14777 |
fi
|
14271 | 14778 |
|
14272 | |
else
|
|
14779 |
else $as_nop
|
14273 | 14780 |
:
|
14274 | 14781 |
fi
|
14275 | 14782 |
|
|
14277 | 14784 |
|
14278 | 14785 |
|
14279 | 14786 |
fi
|
14280 | |
if test "$ax_enable_compile_warnings" = "error"; then :
|
|
14787 |
if test "$ax_enable_compile_warnings" = "error"
|
|
14788 |
then :
|
14281 | 14789 |
|
14282 | 14790 |
# "error" flags; -Werror has to be appended unconditionally because
|
14283 | 14791 |
# it's not possible to test for
|
|
14289 | 14797 |
|
14290 | 14798 |
|
14291 | 14799 |
for flag in $ax_compiler_flags_fatal_warnings_option ; do
|
14292 | |
as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
14293 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
14294 | |
$as_echo_n "checking whether the linker accepts $flag... " >&6; }
|
14295 | |
if eval \${$as_CACHEVAR+:} false; then :
|
14296 | |
$as_echo_n "(cached) " >&6
|
14297 | |
else
|
|
14800 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
|
|
14801 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
|
|
14802 |
printf %s "checking whether the linker accepts $flag... " >&6; }
|
|
14803 |
if eval test \${$as_CACHEVAR+y}
|
|
14804 |
then :
|
|
14805 |
printf %s "(cached) " >&6
|
|
14806 |
else $as_nop
|
14298 | 14807 |
|
14299 | 14808 |
ax_check_save_flags=$LDFLAGS
|
14300 | 14809 |
LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
|
|
14302 | 14811 |
/* end confdefs.h. */
|
14303 | 14812 |
|
14304 | 14813 |
int
|
14305 | |
main ()
|
|
14814 |
main (void)
|
14306 | 14815 |
{
|
14307 | 14816 |
|
14308 | 14817 |
;
|
14309 | 14818 |
return 0;
|
14310 | 14819 |
}
|
14311 | 14820 |
_ACEOF
|
14312 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
14821 |
if ac_fn_c_try_link "$LINENO"
|
|
14822 |
then :
|
14313 | 14823 |
eval "$as_CACHEVAR=yes"
|
14314 | |
else
|
|
14824 |
else $as_nop
|
14315 | 14825 |
eval "$as_CACHEVAR=no"
|
14316 | 14826 |
fi
|
14317 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14827 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14318 | 14828 |
conftest$ac_exeext conftest.$ac_ext
|
14319 | 14829 |
LDFLAGS=$ax_check_save_flags
|
14320 | 14830 |
fi
|
14321 | 14831 |
eval ac_res=\$$as_CACHEVAR
|
14322 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
14323 | |
$as_echo "$ac_res" >&6; }
|
14324 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
14325 | |
|
14326 | |
if ${WARN_LDFLAGS+:} false; then :
|
|
14832 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
14833 |
printf "%s\n" "$ac_res" >&6; }
|
|
14834 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
14835 |
then :
|
|
14836 |
|
|
14837 |
if test ${WARN_LDFLAGS+y}
|
|
14838 |
then :
|
14327 | 14839 |
|
14328 | 14840 |
case " $WARN_LDFLAGS " in #(
|
14329 | 14841 |
*" $flag "*) :
|
14330 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
|
14842 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
|
14331 | 14843 |
(: WARN_LDFLAGS already contains $flag) 2>&5
|
14332 | 14844 |
ac_status=$?
|
14333 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14845 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14334 | 14846 |
test $ac_status = 0; } ;; #(
|
14335 | 14847 |
*) :
|
14336 | 14848 |
|
14337 | 14849 |
as_fn_append WARN_LDFLAGS " $flag"
|
14338 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14850 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14339 | 14851 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14340 | 14852 |
ac_status=$?
|
14341 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14853 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14342 | 14854 |
test $ac_status = 0; }
|
14343 | 14855 |
;;
|
14344 | 14856 |
esac
|
14345 | 14857 |
|
14346 | |
else
|
|
14858 |
else $as_nop
|
14347 | 14859 |
|
14348 | 14860 |
WARN_LDFLAGS=$flag
|
14349 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
|
14861 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
|
14350 | 14862 |
(: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
|
14351 | 14863 |
ac_status=$?
|
14352 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14864 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14353 | 14865 |
test $ac_status = 0; }
|
14354 | 14866 |
|
14355 | 14867 |
fi
|
14356 | 14868 |
|
14357 | |
else
|
|
14869 |
else $as_nop
|
14358 | 14870 |
:
|
14359 | 14871 |
fi
|
14360 | 14872 |
|
|
14375 | 14887 |
|
14376 | 14888 |
# Base flags
|
14377 | 14889 |
|
14378 | |
if ${WARN_SCANNERFLAGS+:} false; then :
|
|
14890 |
if test ${WARN_SCANNERFLAGS+y}
|
|
14891 |
then :
|
14379 | 14892 |
|
14380 | 14893 |
case " $WARN_SCANNERFLAGS " in #(
|
14381 | 14894 |
*" "*) :
|
14382 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5
|
|
14895 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5
|
14383 | 14896 |
(: WARN_SCANNERFLAGS already contains ) 2>&5
|
14384 | 14897 |
ac_status=$?
|
14385 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14898 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14386 | 14899 |
test $ac_status = 0; } ;; #(
|
14387 | 14900 |
*) :
|
14388 | 14901 |
|
14389 | 14902 |
as_fn_append WARN_SCANNERFLAGS " "
|
14390 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14903 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14391 | 14904 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14392 | 14905 |
ac_status=$?
|
14393 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14906 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14394 | 14907 |
test $ac_status = 0; }
|
14395 | 14908 |
;;
|
14396 | 14909 |
esac
|
14397 | 14910 |
|
14398 | |
else
|
|
14911 |
else $as_nop
|
14399 | 14912 |
|
14400 | 14913 |
WARN_SCANNERFLAGS=
|
14401 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14914 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14402 | 14915 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14403 | 14916 |
ac_status=$?
|
14404 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14917 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14405 | 14918 |
test $ac_status = 0; }
|
14406 | 14919 |
|
14407 | 14920 |
fi
|
14408 | 14921 |
|
14409 | 14922 |
|
14410 | |
if test "$ax_enable_compile_warnings" != "no"; then :
|
|
14923 |
if test "$ax_enable_compile_warnings" != "no"
|
|
14924 |
then :
|
14411 | 14925 |
|
14412 | 14926 |
# "yes" flags
|
14413 | 14927 |
|
14414 | |
if ${WARN_SCANNERFLAGS+:} false; then :
|
|
14928 |
if test ${WARN_SCANNERFLAGS+y}
|
|
14929 |
then :
|
14415 | 14930 |
|
14416 | 14931 |
case " $WARN_SCANNERFLAGS " in #(
|
14417 | 14932 |
*" --warn-all "*) :
|
14418 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5
|
|
14933 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5
|
14419 | 14934 |
(: WARN_SCANNERFLAGS already contains --warn-all ) 2>&5
|
14420 | 14935 |
ac_status=$?
|
14421 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14936 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14422 | 14937 |
test $ac_status = 0; } ;; #(
|
14423 | 14938 |
*) :
|
14424 | 14939 |
|
14425 | 14940 |
as_fn_append WARN_SCANNERFLAGS " --warn-all "
|
14426 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14941 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14427 | 14942 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14428 | 14943 |
ac_status=$?
|
14429 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14944 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14430 | 14945 |
test $ac_status = 0; }
|
14431 | 14946 |
;;
|
14432 | 14947 |
esac
|
14433 | 14948 |
|
14434 | |
else
|
|
14949 |
else $as_nop
|
14435 | 14950 |
|
14436 | 14951 |
WARN_SCANNERFLAGS= --warn-all
|
14437 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14952 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14438 | 14953 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14439 | 14954 |
ac_status=$?
|
14440 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14955 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14441 | 14956 |
test $ac_status = 0; }
|
14442 | 14957 |
|
14443 | 14958 |
fi
|
14444 | 14959 |
|
14445 | 14960 |
|
14446 | 14961 |
fi
|
14447 | |
if test "$ax_enable_compile_warnings" = "error"; then :
|
|
14962 |
if test "$ax_enable_compile_warnings" = "error"
|
|
14963 |
then :
|
14448 | 14964 |
|
14449 | 14965 |
# "error" flags
|
14450 | 14966 |
|
14451 | |
if ${WARN_SCANNERFLAGS+:} false; then :
|
|
14967 |
if test ${WARN_SCANNERFLAGS+y}
|
|
14968 |
then :
|
14452 | 14969 |
|
14453 | 14970 |
case " $WARN_SCANNERFLAGS " in #(
|
14454 | 14971 |
*" --warn-error "*) :
|
14455 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5
|
|
14972 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5
|
14456 | 14973 |
(: WARN_SCANNERFLAGS already contains --warn-error ) 2>&5
|
14457 | 14974 |
ac_status=$?
|
14458 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14975 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14459 | 14976 |
test $ac_status = 0; } ;; #(
|
14460 | 14977 |
*) :
|
14461 | 14978 |
|
14462 | 14979 |
as_fn_append WARN_SCANNERFLAGS " --warn-error "
|
14463 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14980 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14464 | 14981 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14465 | 14982 |
ac_status=$?
|
14466 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14983 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14467 | 14984 |
test $ac_status = 0; }
|
14468 | 14985 |
;;
|
14469 | 14986 |
esac
|
14470 | 14987 |
|
14471 | |
else
|
|
14988 |
else $as_nop
|
14472 | 14989 |
|
14473 | 14990 |
WARN_SCANNERFLAGS= --warn-error
|
14474 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
|
14991 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
|
14475 | 14992 |
(: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
|
14476 | 14993 |
ac_status=$?
|
14477 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14994 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14478 | 14995 |
test $ac_status = 0; }
|
14479 | 14996 |
|
14480 | 14997 |
fi
|
|
14496 | 15013 |
|
14497 | 15014 |
|
14498 | 15015 |
else
|
14499 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&5
|
14500 | |
$as_echo "$as_me: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&2;}
|
|
15016 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&5
|
|
15017 |
printf "%s\n" "$as_me: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&2;}
|
14501 | 15018 |
fi
|
14502 | 15019 |
|
14503 | 15020 |
# Checks for libraries.
|
14504 | 15021 |
save_LIBS=$LIBS
|
14505 | 15022 |
LIBS=
|
14506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
|
14507 | |
$as_echo_n "checking for library containing clock_gettime... " >&6; }
|
14508 | |
if ${ac_cv_search_clock_gettime+:} false; then :
|
14509 | |
$as_echo_n "(cached) " >&6
|
14510 | |
else
|
|
15023 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
|
|
15024 |
printf %s "checking for library containing clock_gettime... " >&6; }
|
|
15025 |
if test ${ac_cv_search_clock_gettime+y}
|
|
15026 |
then :
|
|
15027 |
printf %s "(cached) " >&6
|
|
15028 |
else $as_nop
|
14511 | 15029 |
ac_func_search_save_LIBS=$LIBS
|
14512 | 15030 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14513 | 15031 |
/* end confdefs.h. */
|
|
14515 | 15033 |
/* Override any GCC internal prototype to avoid an error.
|
14516 | 15034 |
Use char because int might match the return type of a GCC
|
14517 | 15035 |
builtin and then its argument prototype would still apply. */
|
14518 | |
#ifdef __cplusplus
|
14519 | |
extern "C"
|
14520 | |
#endif
|
14521 | 15036 |
char clock_gettime ();
|
14522 | 15037 |
int
|
14523 | |
main ()
|
|
15038 |
main (void)
|
14524 | 15039 |
{
|
14525 | 15040 |
return clock_gettime ();
|
14526 | 15041 |
;
|
14527 | 15042 |
return 0;
|
14528 | 15043 |
}
|
14529 | 15044 |
_ACEOF
|
14530 | |
for ac_lib in '' rt; do
|
|
15045 |
for ac_lib in '' rt
|
|
15046 |
do
|
14531 | 15047 |
if test -z "$ac_lib"; then
|
14532 | 15048 |
ac_res="none required"
|
14533 | 15049 |
else
|
14534 | 15050 |
ac_res=-l$ac_lib
|
14535 | 15051 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
14536 | 15052 |
fi
|
14537 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
15053 |
if ac_fn_c_try_link "$LINENO"
|
|
15054 |
then :
|
14538 | 15055 |
ac_cv_search_clock_gettime=$ac_res
|
14539 | 15056 |
fi
|
14540 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
15057 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
14541 | 15058 |
conftest$ac_exeext
|
14542 | |
if ${ac_cv_search_clock_gettime+:} false; then :
|
|
15059 |
if test ${ac_cv_search_clock_gettime+y}
|
|
15060 |
then :
|
14543 | 15061 |
break
|
14544 | 15062 |
fi
|
14545 | 15063 |
done
|
14546 | |
if ${ac_cv_search_clock_gettime+:} false; then :
|
14547 | |
|
14548 | |
else
|
|
15064 |
if test ${ac_cv_search_clock_gettime+y}
|
|
15065 |
then :
|
|
15066 |
|
|
15067 |
else $as_nop
|
14549 | 15068 |
ac_cv_search_clock_gettime=no
|
14550 | 15069 |
fi
|
14551 | 15070 |
rm conftest.$ac_ext
|
14552 | 15071 |
LIBS=$ac_func_search_save_LIBS
|
14553 | 15072 |
fi
|
14554 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
|
14555 | |
$as_echo "$ac_cv_search_clock_gettime" >&6; }
|
|
15073 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
|
|
15074 |
printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
|
14556 | 15075 |
ac_res=$ac_cv_search_clock_gettime
|
14557 | |
if test "$ac_res" != no; then :
|
|
15076 |
if test "$ac_res" != no
|
|
15077 |
then :
|
14558 | 15078 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
14559 | 15079 |
|
14560 | 15080 |
fi
|
|
14565 | 15085 |
|
14566 | 15086 |
|
14567 | 15087 |
# Checks for header files.
|
14568 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
14569 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
14570 | |
if ${ac_cv_header_stdc+:} false; then :
|
14571 | |
$as_echo_n "(cached) " >&6
|
|
15088 |
# Autoupdate added the next two lines to ensure that your configure
|
|
15089 |
# script's behavior did not change. They are probably safe to remove.
|
|
15090 |
|
|
15091 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
15092 |
printf %s "checking for egrep... " >&6; }
|
|
15093 |
if test ${ac_cv_path_EGREP+y}
|
|
15094 |
then :
|
|
15095 |
printf %s "(cached) " >&6
|
|
15096 |
else $as_nop
|
|
15097 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
15098 |
then ac_cv_path_EGREP="$GREP -E"
|
|
15099 |
else
|
|
15100 |
if test -z "$EGREP"; then
|
|
15101 |
ac_path_EGREP_found=false
|
|
15102 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
15103 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
15104 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
15105 |
do
|
|
15106 |
IFS=$as_save_IFS
|
|
15107 |
case $as_dir in #(((
|
|
15108 |
'') as_dir=./ ;;
|
|
15109 |
*/) ;;
|
|
15110 |
*) as_dir=$as_dir/ ;;
|
|
15111 |
esac
|
|
15112 |
for ac_prog in egrep
|
|
15113 |
do
|
|
15114 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
15115 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
|
|
15116 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
|
15117 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
15118 |
# Check for GNU $ac_path_EGREP
|
|
15119 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
15120 |
*GNU*)
|
|
15121 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
15122 |
*)
|
|
15123 |
ac_count=0
|
|
15124 |
printf %s 0123456789 >"conftest.in"
|
|
15125 |
while :
|
|
15126 |
do
|
|
15127 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
15128 |
mv "conftest.tmp" "conftest.in"
|
|
15129 |
cp "conftest.in" "conftest.nl"
|
|
15130 |
printf "%s\n" 'EGREP' >> "conftest.nl"
|
|
15131 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
15132 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
15133 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
15134 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
15135 |
# Best one so far, save it but keep looking for a better one
|
|
15136 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
15137 |
ac_path_EGREP_max=$ac_count
|
|
15138 |
fi
|
|
15139 |
# 10*(2^10) chars as input seems more than enough
|
|
15140 |
test $ac_count -gt 10 && break
|
|
15141 |
done
|
|
15142 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
15143 |
esac
|
|
15144 |
|
|
15145 |
$ac_path_EGREP_found && break 3
|
|
15146 |
done
|
|
15147 |
done
|
|
15148 |
done
|
|
15149 |
IFS=$as_save_IFS
|
|
15150 |
if test -z "$ac_cv_path_EGREP"; then
|
|
15151 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
15152 |
fi
|
14572 | 15153 |
else
|
|
15154 |
ac_cv_path_EGREP=$EGREP
|
|
15155 |
fi
|
|
15156 |
|
|
15157 |
fi
|
|
15158 |
fi
|
|
15159 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
15160 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
|
|
15161 |
EGREP="$ac_cv_path_EGREP"
|
|
15162 |
|
|
15163 |
|
|
15164 |
|
|
15165 |
ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
|
|
15166 |
if test "x$ac_cv_header_sys_epoll_h" = xyes
|
|
15167 |
then :
|
|
15168 |
printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
|
|
15169 |
|
|
15170 |
fi
|
|
15171 |
|
|
15172 |
|
|
15173 |
# Checks for typedefs, structures, and compiler characteristics.
|
|
15174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
15175 |
printf %s "checking for an ANSI C-conforming const... " >&6; }
|
|
15176 |
if test ${ac_cv_c_const+y}
|
|
15177 |
then :
|
|
15178 |
printf %s "(cached) " >&6
|
|
15179 |
else $as_nop
|
14573 | 15180 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14574 | 15181 |
/* end confdefs.h. */
|
14575 | |
#include <stdlib.h>
|
14576 | |
#include <stdarg.h>
|
14577 | |
#include <string.h>
|
14578 | |
#include <float.h>
|
14579 | 15182 |
|
14580 | 15183 |
int
|
14581 | |
main ()
|
14582 | |
{
|
14583 | |
|
14584 | |
;
|
14585 | |
return 0;
|
14586 | |
}
|
14587 | |
_ACEOF
|
14588 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
14589 | |
ac_cv_header_stdc=yes
|
14590 | |
else
|
14591 | |
ac_cv_header_stdc=no
|
14592 | |
fi
|
14593 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14594 | |
|
14595 | |
if test $ac_cv_header_stdc = yes; then
|
14596 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
14597 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14598 | |
/* end confdefs.h. */
|
14599 | |
#include <string.h>
|
14600 | |
|
14601 | |
_ACEOF
|
14602 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
14603 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
14604 | |
|
14605 | |
else
|
14606 | |
ac_cv_header_stdc=no
|
14607 | |
fi
|
14608 | |
rm -f conftest*
|
14609 | |
|
14610 | |
fi
|
14611 | |
|
14612 | |
if test $ac_cv_header_stdc = yes; then
|
14613 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
14614 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14615 | |
/* end confdefs.h. */
|
14616 | |
#include <stdlib.h>
|
14617 | |
|
14618 | |
_ACEOF
|
14619 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
14620 | |
$EGREP "free" >/dev/null 2>&1; then :
|
14621 | |
|
14622 | |
else
|
14623 | |
ac_cv_header_stdc=no
|
14624 | |
fi
|
14625 | |
rm -f conftest*
|
14626 | |
|
14627 | |
fi
|
14628 | |
|
14629 | |
if test $ac_cv_header_stdc = yes; then
|
14630 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
14631 | |
if test "$cross_compiling" = yes; then :
|
14632 | |
:
|
14633 | |
else
|
14634 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14635 | |
/* end confdefs.h. */
|
14636 | |
#include <ctype.h>
|
14637 | |
#include <stdlib.h>
|
14638 | |
#if ((' ' & 0x0FF) == 0x020)
|
14639 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
14640 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
14641 | |
#else
|
14642 | |
# define ISLOWER(c) \
|
14643 | |
(('a' <= (c) && (c) <= 'i') \
|
14644 | |
|| ('j' <= (c) && (c) <= 'r') \
|
14645 | |
|| ('s' <= (c) && (c) <= 'z'))
|
14646 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
14647 | |
#endif
|
14648 | |
|
14649 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
14650 | |
int
|
14651 | |
main ()
|
14652 | |
{
|
14653 | |
int i;
|
14654 | |
for (i = 0; i < 256; i++)
|
14655 | |
if (XOR (islower (i), ISLOWER (i))
|
14656 | |
|| toupper (i) != TOUPPER (i))
|
14657 | |
return 2;
|
14658 | |
return 0;
|
14659 | |
}
|
14660 | |
_ACEOF
|
14661 | |
if ac_fn_c_try_run "$LINENO"; then :
|
14662 | |
|
14663 | |
else
|
14664 | |
ac_cv_header_stdc=no
|
14665 | |
fi
|
14666 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
14667 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
14668 | |
fi
|
14669 | |
|
14670 | |
fi
|
14671 | |
fi
|
14672 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
14673 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
14674 | |
if test $ac_cv_header_stdc = yes; then
|
14675 | |
|
14676 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
14677 | |
|
14678 | |
fi
|
14679 | |
|
14680 | |
for ac_header in sys/epoll.h
|
14681 | |
do :
|
14682 | |
ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
|
14683 | |
if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
|
14684 | |
cat >>confdefs.h <<_ACEOF
|
14685 | |
#define HAVE_SYS_EPOLL_H 1
|
14686 | |
_ACEOF
|
14687 | |
|
14688 | |
fi
|
14689 | |
|
14690 | |
done
|
14691 | |
|
14692 | |
|
14693 | |
# Checks for typedefs, structures, and compiler characteristics.
|
14694 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
14695 | |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
14696 | |
if ${ac_cv_c_const+:} false; then :
|
14697 | |
$as_echo_n "(cached) " >&6
|
14698 | |
else
|
14699 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14700 | |
/* end confdefs.h. */
|
14701 | |
|
14702 | |
int
|
14703 | |
main ()
|
|
15184 |
main (void)
|
14704 | 15185 |
{
|
14705 | 15186 |
|
14706 | 15187 |
#ifndef __cplusplus
|
|
14713 | 15194 |
/* NEC SVR4.0.2 mips cc rejects this. */
|
14714 | 15195 |
struct point {int x, y;};
|
14715 | 15196 |
static struct point const zero = {0,0};
|
14716 | |
/* AIX XL C 1.02.0.0 rejects this.
|
|
15197 |
/* IBM XL C 1.02.0.0 rejects this.
|
14717 | 15198 |
It does not let you subtract one const X* pointer from another in
|
14718 | 15199 |
an arm of an if-expression whose if-part is not a constant
|
14719 | 15200 |
expression */
|
|
14741 | 15222 |
iptr p = 0;
|
14742 | 15223 |
++p;
|
14743 | 15224 |
}
|
14744 | |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
|
15225 |
{ /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
|
14745 | 15226 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
14746 | 15227 |
struct s { int j; const int *ap[3]; } bx;
|
14747 | 15228 |
struct s *b = &bx; b->j = 5;
|
|
14757 | 15238 |
return 0;
|
14758 | 15239 |
}
|
14759 | 15240 |
_ACEOF
|
14760 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
15241 |
if ac_fn_c_try_compile "$LINENO"
|
|
15242 |
then :
|
14761 | 15243 |
ac_cv_c_const=yes
|
14762 | |
else
|
|
15244 |
else $as_nop
|
14763 | 15245 |
ac_cv_c_const=no
|
14764 | 15246 |
fi
|
14765 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14766 | |
fi
|
14767 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
14768 | |
$as_echo "$ac_cv_c_const" >&6; }
|
|
15247 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
15248 |
fi
|
|
15249 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
|
15250 |
printf "%s\n" "$ac_cv_c_const" >&6; }
|
14769 | 15251 |
if test $ac_cv_c_const = no; then
|
14770 | 15252 |
|
14771 | |
$as_echo "#define const /**/" >>confdefs.h
|
|
15253 |
printf "%s\n" "#define const /**/" >>confdefs.h
|
14772 | 15254 |
|
14773 | 15255 |
fi
|
14774 | 15256 |
|
14775 | 15257 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
14776 | |
if test "x$ac_cv_type_size_t" = xyes; then :
|
14777 | |
|
14778 | |
else
|
14779 | |
|
14780 | |
cat >>confdefs.h <<_ACEOF
|
14781 | |
#define size_t unsigned int
|
14782 | |
_ACEOF
|
|
15258 |
if test "x$ac_cv_type_size_t" = xyes
|
|
15259 |
then :
|
|
15260 |
|
|
15261 |
else $as_nop
|
|
15262 |
|
|
15263 |
printf "%s\n" "#define size_t unsigned int" >>confdefs.h
|
14783 | 15264 |
|
14784 | 15265 |
fi
|
14785 | 15266 |
|
|
14788 | 15269 |
|
14789 | 15270 |
ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "$sa_includes
|
14790 | 15271 |
"
|
14791 | |
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
|
14792 | |
|
14793 | |
cat >>confdefs.h <<_ACEOF
|
14794 | |
#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
|
14795 | |
_ACEOF
|
|
15272 |
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
|
|
15273 |
then :
|
|
15274 |
|
|
15275 |
printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h
|
14796 | 15276 |
|
14797 | 15277 |
|
14798 | 15278 |
fi
|
14799 | 15279 |
|
14800 | 15280 |
|
14801 | 15281 |
# Checks for library functions.
|
14802 | |
for ac_header in sys/select.h sys/socket.h
|
14803 | |
do :
|
14804 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
14805 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
14806 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
14807 | |
cat >>confdefs.h <<_ACEOF
|
14808 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
14809 | |
_ACEOF
|
14810 | |
|
14811 | |
fi
|
14812 | |
|
14813 | |
done
|
14814 | |
|
14815 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
|
14816 | |
$as_echo_n "checking types of arguments for select... " >&6; }
|
14817 | |
if ${ac_cv_func_select_args+:} false; then :
|
14818 | |
$as_echo_n "(cached) " >&6
|
14819 | |
else
|
14820 | |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
|
|
15282 |
|
|
15283 |
|
|
15284 |
|
|
15285 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
|
|
15286 |
printf %s "checking types of arguments for select... " >&6; }
|
|
15287 |
if test ${ac_cv_func_select_args+y}
|
|
15288 |
then :
|
|
15289 |
printf %s "(cached) " >&6
|
|
15290 |
else $as_nop
|
|
15291 |
ac_cv_func_select_args='int,int *,struct timeval *'
|
|
15292 |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
|
14821 | 15293 |
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
|
14822 | 15294 |
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
|
14823 | 15295 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
14831 | 15303 |
#endif
|
14832 | 15304 |
|
14833 | 15305 |
int
|
14834 | |
main ()
|
|
15306 |
main (void)
|
14835 | 15307 |
{
|
14836 | 15308 |
extern int select ($ac_arg1,
|
14837 | 15309 |
$ac_arg234, $ac_arg234, $ac_arg234,
|
|
14840 | 15312 |
return 0;
|
14841 | 15313 |
}
|
14842 | 15314 |
_ACEOF
|
14843 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
15315 |
if ac_fn_c_try_compile "$LINENO"
|
|
15316 |
then :
|
14844 | 15317 |
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
|
14845 | 15318 |
fi
|
14846 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
15319 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
14847 | 15320 |
done
|
14848 | 15321 |
done
|
14849 | 15322 |
done
|
14850 | |
# Provide a safe default value.
|
14851 | |
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
|
14852 | |
|
14853 | |
fi
|
14854 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
|
14855 | |
$as_echo "$ac_cv_func_select_args" >&6; }
|
|
15323 |
|
|
15324 |
fi
|
|
15325 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
|
|
15326 |
printf "%s\n" "$ac_cv_func_select_args" >&6; }
|
14856 | 15327 |
ac_save_IFS=$IFS; IFS=','
|
14857 | 15328 |
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
|
14858 | 15329 |
IFS=$ac_save_IFS
|
14859 | 15330 |
shift
|
14860 | 15331 |
|
14861 | |
cat >>confdefs.h <<_ACEOF
|
14862 | |
#define SELECT_TYPE_ARG1 $1
|
|
15332 |
printf "%s\n" "#define SELECT_TYPE_ARG1 $1" >>confdefs.h
|
|
15333 |
|
|
15334 |
|
|
15335 |
printf "%s\n" "#define SELECT_TYPE_ARG234 ($2)" >>confdefs.h
|
|
15336 |
|
|
15337 |
|
|
15338 |
printf "%s\n" "#define SELECT_TYPE_ARG5 ($3)" >>confdefs.h
|
|
15339 |
|
|
15340 |
rm -rf conftest*
|
|
15341 |
|
|
15342 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
|
|
15343 |
printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
|
|
15344 |
if test ${ac_cv_c_undeclared_builtin_options+y}
|
|
15345 |
then :
|
|
15346 |
printf %s "(cached) " >&6
|
|
15347 |
else $as_nop
|
|
15348 |
ac_save_CFLAGS=$CFLAGS
|
|
15349 |
ac_cv_c_undeclared_builtin_options='cannot detect'
|
|
15350 |
for ac_arg in '' -fno-builtin; do
|
|
15351 |
CFLAGS="$ac_save_CFLAGS $ac_arg"
|
|
15352 |
# This test program should *not* compile successfully.
|
|
15353 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
15354 |
/* end confdefs.h. */
|
|
15355 |
|
|
15356 |
int
|
|
15357 |
main (void)
|
|
15358 |
{
|
|
15359 |
(void) strchr;
|
|
15360 |
;
|
|
15361 |
return 0;
|
|
15362 |
}
|
14863 | 15363 |
_ACEOF
|
14864 | |
|
14865 | |
|
14866 | |
cat >>confdefs.h <<_ACEOF
|
14867 | |
#define SELECT_TYPE_ARG234 ($2)
|
|
15364 |
if ac_fn_c_try_compile "$LINENO"
|
|
15365 |
then :
|
|
15366 |
|
|
15367 |
else $as_nop
|
|
15368 |
# This test program should compile successfully.
|
|
15369 |
# No library function is consistently available on
|
|
15370 |
# freestanding implementations, so test against a dummy
|
|
15371 |
# declaration. Include always-available headers on the
|
|
15372 |
# off chance that they somehow elicit warnings.
|
|
15373 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
15374 |
/* end confdefs.h. */
|
|
15375 |
#include <float.h>
|
|
15376 |
#include <limits.h>
|
|
15377 |
#include <stdarg.h>
|
|
15378 |
#include <stddef.h>
|
|
15379 |
extern void ac_decl (int, char *);
|
|
15380 |
|
|
15381 |
int
|
|
15382 |
main (void)
|
|
15383 |
{
|
|
15384 |
(void) ac_decl (0, (char *) 0);
|
|
15385 |
(void) ac_decl;
|
|
15386 |
|
|
15387 |
;
|
|
15388 |
return 0;
|
|
15389 |
}
|
14868 | 15390 |
_ACEOF
|
14869 | |
|
14870 | |
|
14871 | |
cat >>confdefs.h <<_ACEOF
|
14872 | |
#define SELECT_TYPE_ARG5 ($3)
|
14873 | |
_ACEOF
|
14874 | |
|
14875 | |
rm -f conftest*
|
14876 | |
|
14877 | |
ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
|
14878 | |
if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
|
|
15391 |
if ac_fn_c_try_compile "$LINENO"
|
|
15392 |
then :
|
|
15393 |
if test x"$ac_arg" = x
|
|
15394 |
then :
|
|
15395 |
ac_cv_c_undeclared_builtin_options='none needed'
|
|
15396 |
else $as_nop
|
|
15397 |
ac_cv_c_undeclared_builtin_options=$ac_arg
|
|
15398 |
fi
|
|
15399 |
break
|
|
15400 |
fi
|
|
15401 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
15402 |
fi
|
|
15403 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
15404 |
done
|
|
15405 |
CFLAGS=$ac_save_CFLAGS
|
|
15406 |
|
|
15407 |
fi
|
|
15408 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
|
|
15409 |
printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
|
|
15410 |
case $ac_cv_c_undeclared_builtin_options in #(
|
|
15411 |
'cannot detect') :
|
|
15412 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
15413 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
15414 |
as_fn_error $? "cannot make $CC report undeclared builtins
|
|
15415 |
See \`config.log' for more details" "$LINENO" 5; } ;; #(
|
|
15416 |
'none needed') :
|
|
15417 |
ac_c_undeclared_builtin_options='' ;; #(
|
|
15418 |
*) :
|
|
15419 |
ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
|
|
15420 |
esac
|
|
15421 |
|
|
15422 |
ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
|
|
15423 |
if test "x$ac_cv_have_decl_strerror_r" = xyes
|
|
15424 |
then :
|
14879 | 15425 |
ac_have_decl=1
|
14880 | |
else
|
|
15426 |
else $as_nop
|
14881 | 15427 |
ac_have_decl=0
|
14882 | 15428 |
fi
|
14883 | |
|
14884 | |
cat >>confdefs.h <<_ACEOF
|
14885 | |
#define HAVE_DECL_STRERROR_R $ac_have_decl
|
14886 | |
_ACEOF
|
14887 | |
|
14888 | |
for ac_func in strerror_r
|
14889 | |
do :
|
14890 | |
ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
|
14891 | |
if test "x$ac_cv_func_strerror_r" = xyes; then :
|
14892 | |
cat >>confdefs.h <<_ACEOF
|
14893 | |
#define HAVE_STRERROR_R 1
|
14894 | |
_ACEOF
|
14895 | |
|
14896 | |
fi
|
14897 | |
done
|
14898 | |
|
14899 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
|
14900 | |
$as_echo_n "checking whether strerror_r returns char *... " >&6; }
|
14901 | |
if ${ac_cv_func_strerror_r_char_p+:} false; then :
|
14902 | |
$as_echo_n "(cached) " >&6
|
14903 | |
else
|
|
15429 |
printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h
|
|
15430 |
|
|
15431 |
|
|
15432 |
if test $ac_cv_have_decl_strerror_r = yes; then
|
|
15433 |
# For backward compatibility's sake, define HAVE_STRERROR_R.
|
|
15434 |
# (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well
|
|
15435 |
# as AC_CHECK_DECLS_ONCE.)
|
|
15436 |
|
|
15437 |
printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
|
|
15438 |
|
|
15439 |
fi
|
|
15440 |
|
|
15441 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
|
|
15442 |
printf %s "checking whether strerror_r returns char *... " >&6; }
|
|
15443 |
if test ${ac_cv_func_strerror_r_char_p+y}
|
|
15444 |
then :
|
|
15445 |
printf %s "(cached) " >&6
|
|
15446 |
else $as_nop
|
14904 | 15447 |
|
14905 | 15448 |
ac_cv_func_strerror_r_char_p=no
|
14906 | 15449 |
if test $ac_cv_have_decl_strerror_r = yes; then
|
14907 | 15450 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14908 | 15451 |
/* end confdefs.h. */
|
14909 | |
$ac_includes_default
|
|
15452 |
#include <string.h>
|
14910 | 15453 |
int
|
14911 | |
main ()
|
|
15454 |
main (void)
|
14912 | 15455 |
{
|
14913 | 15456 |
|
14914 | 15457 |
char buf[100];
|
|
14920 | 15463 |
return 0;
|
14921 | 15464 |
}
|
14922 | 15465 |
_ACEOF
|
14923 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
15466 |
if ac_fn_c_try_compile "$LINENO"
|
|
15467 |
then :
|
14924 | 15468 |
ac_cv_func_strerror_r_char_p=yes
|
14925 | 15469 |
fi
|
14926 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14927 | |
else
|
14928 | |
# strerror_r is not declared. Choose between
|
14929 | |
# systems that have relatively inaccessible declarations for the
|
14930 | |
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
14931 | |
# former has a strerror_r that returns char*, while the latter
|
14932 | |
# has a strerror_r that returns `int'.
|
14933 | |
# This test should segfault on the DEC system.
|
14934 | |
if test "$cross_compiling" = yes; then :
|
14935 | |
:
|
14936 | |
else
|
14937 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14938 | |
/* end confdefs.h. */
|
14939 | |
$ac_includes_default
|
14940 | |
extern char *strerror_r ();
|
14941 | |
int
|
14942 | |
main ()
|
14943 | |
{
|
14944 | |
char buf[100];
|
14945 | |
char x = *strerror_r (0, buf, sizeof buf);
|
14946 | |
return ! isalpha (x);
|
14947 | |
;
|
14948 | |
return 0;
|
14949 | |
}
|
14950 | |
_ACEOF
|
14951 | |
if ac_fn_c_try_run "$LINENO"; then :
|
14952 | |
ac_cv_func_strerror_r_char_p=yes
|
14953 | |
fi
|
14954 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
14955 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
14956 | |
fi
|
|
15470 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
14957 | 15471 |
|
14958 | 15472 |
fi
|
14959 | 15473 |
|
14960 | 15474 |
fi
|
14961 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
|
14962 | |
$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
|
|
15475 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
|
|
15476 |
printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; }
|
14963 | 15477 |
if test $ac_cv_func_strerror_r_char_p = yes; then
|
14964 | 15478 |
|
14965 | |
$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
|
14966 | |
|
14967 | |
fi
|
14968 | |
|
14969 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
14970 | |
$as_echo_n "checking return type of signal handlers... " >&6; }
|
14971 | |
if ${ac_cv_type_signal+:} false; then :
|
14972 | |
$as_echo_n "(cached) " >&6
|
14973 | |
else
|
|
15479 |
printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h
|
|
15480 |
|
|
15481 |
fi
|
|
15482 |
|
|
15483 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
|
15484 |
printf %s "checking return type of signal handlers... " >&6; }
|
|
15485 |
if test ${ac_cv_type_signal+y}
|
|
15486 |
then :
|
|
15487 |
printf %s "(cached) " >&6
|
|
15488 |
else $as_nop
|
14974 | 15489 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14975 | 15490 |
/* end confdefs.h. */
|
14976 | 15491 |
#include <sys/types.h>
|
14977 | 15492 |
#include <signal.h>
|
14978 | 15493 |
|
14979 | 15494 |
int
|
14980 | |
main ()
|
|
15495 |
main (void)
|
14981 | 15496 |
{
|
14982 | 15497 |
return *(signal (0, 0)) (0) == 1;
|
14983 | 15498 |
;
|
14984 | 15499 |
return 0;
|
14985 | 15500 |
}
|
14986 | 15501 |
_ACEOF
|
14987 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
15502 |
if ac_fn_c_try_compile "$LINENO"
|
|
15503 |
then :
|
14988 | 15504 |
ac_cv_type_signal=int
|
14989 | |
else
|
|
15505 |
else $as_nop
|
14990 | 15506 |
ac_cv_type_signal=void
|
14991 | 15507 |
fi
|
14992 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14993 | |
fi
|
14994 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
14995 | |
$as_echo "$ac_cv_type_signal" >&6; }
|
14996 | |
|
14997 | |
cat >>confdefs.h <<_ACEOF
|
14998 | |
#define RETSIGTYPE $ac_cv_type_signal
|
14999 | |
_ACEOF
|
15000 | |
|
15001 | |
|
15002 | |
for ac_func in strerror_r strdup strndup epoll_create epoll_create1
|
15003 | |
do :
|
15004 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
15005 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
15006 | |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
15007 | |
cat >>confdefs.h <<_ACEOF
|
15008 | |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
15009 | |
_ACEOF
|
15010 | |
|
15011 | |
fi
|
15012 | |
done
|
|
15508 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
15509 |
fi
|
|
15510 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
|
15511 |
printf "%s\n" "$ac_cv_type_signal" >&6; }
|
|
15512 |
|
|
15513 |
printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h
|
|
15514 |
|
|
15515 |
|
|
15516 |
ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
|
|
15517 |
if test "x$ac_cv_func_strerror_r" = xyes
|
|
15518 |
then :
|
|
15519 |
printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
|
|
15520 |
|
|
15521 |
fi
|
|
15522 |
ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
|
|
15523 |
if test "x$ac_cv_func_strdup" = xyes
|
|
15524 |
then :
|
|
15525 |
printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
|
|
15526 |
|
|
15527 |
fi
|
|
15528 |
ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
|
|
15529 |
if test "x$ac_cv_func_strndup" = xyes
|
|
15530 |
then :
|
|
15531 |
printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
|
|
15532 |
|
|
15533 |
fi
|
|
15534 |
ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
|
|
15535 |
if test "x$ac_cv_func_epoll_create" = xyes
|
|
15536 |
then :
|
|
15537 |
printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
|
|
15538 |
|
|
15539 |
fi
|
|
15540 |
ac_fn_c_check_func "$LINENO" "epoll_create1" "ac_cv_func_epoll_create1"
|
|
15541 |
if test "x$ac_cv_func_epoll_create1" = xyes
|
|
15542 |
then :
|
|
15543 |
printf "%s\n" "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
|
|
15544 |
|
|
15545 |
fi
|
15013 | 15546 |
|
15014 | 15547 |
|
15015 | 15548 |
# enable TLS (may not be possible on platforms with too-old GnuTLS)
|
15016 | 15549 |
# Check whether --enable-tls was given.
|
15017 | |
if test "${enable_tls+set}" = set; then :
|
|
15550 |
if test ${enable_tls+y}
|
|
15551 |
then :
|
15018 | 15552 |
enableval=$enable_tls; case "${enableval}" in
|
15019 | 15553 |
yes) enable_tls="yes" ;;
|
15020 | 15554 |
no) enable_tls="no" ;;
|
15021 | 15555 |
*) as_fn_error $? "bad value ${enableval} for --enable-tls" "$LINENO" 5 ;;
|
15022 | 15556 |
esac
|
15023 | |
else
|
|
15557 |
else $as_nop
|
15024 | 15558 |
enable_tls="yes"
|
15025 | 15559 |
|
15026 | 15560 |
fi
|
15027 | 15561 |
|
15028 | 15562 |
# enable Openssl TLS
|
15029 | 15563 |
# Check whether --enable-tls-openssl was given.
|
15030 | |
if test "${enable_tls_openssl+set}" = set; then :
|
|
15564 |
if test ${enable_tls_openssl+y}
|
|
15565 |
then :
|
15031 | 15566 |
enableval=$enable_tls_openssl; case "${enableval}" in
|
15032 | 15567 |
yes) enable_tls_openssl="yes" ;;
|
15033 | 15568 |
no) enable_tls_openssl="no" ;;
|
15034 | 15569 |
*) as_fn_error $? "bad value ${enableval} for --enable-tls-openssl" "$LINENO" 5 ;;
|
15035 | 15570 |
esac
|
15036 | |
else
|
|
15571 |
else $as_nop
|
15037 | 15572 |
enable_tls_openssl="yes"
|
15038 | 15573 |
|
15039 | 15574 |
fi
|
|
15042 | 15577 |
if test "$enable_tls_openssl" = "yes"; then
|
15043 | 15578 |
|
15044 | 15579 |
pkg_failed=no
|
15045 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
|
15046 | |
$as_echo_n "checking for OPENSSL... " >&6; }
|
|
15580 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
|
|
15581 |
printf %s "checking for openssl... " >&6; }
|
15047 | 15582 |
|
15048 | 15583 |
if test -n "$OPENSSL_CFLAGS"; then
|
15049 | 15584 |
pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
|
15050 | 15585 |
elif test -n "$PKG_CONFIG"; then
|
15051 | 15586 |
if test -n "$PKG_CONFIG" && \
|
15052 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
|
15587 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
15053 | 15588 |
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
|
15054 | 15589 |
ac_status=$?
|
15055 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15590 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15056 | 15591 |
test $ac_status = 0; }; then
|
15057 | 15592 |
pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
|
15058 | 15593 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15066 | 15601 |
pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
|
15067 | 15602 |
elif test -n "$PKG_CONFIG"; then
|
15068 | 15603 |
if test -n "$PKG_CONFIG" && \
|
15069 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
|
15604 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
15070 | 15605 |
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
|
15071 | 15606 |
ac_status=$?
|
15072 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15607 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15073 | 15608 |
test $ac_status = 0; }; then
|
15074 | 15609 |
pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
|
15075 | 15610 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15083 | 15618 |
|
15084 | 15619 |
|
15085 | 15620 |
if test $pkg_failed = yes; then
|
15086 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15087 | |
$as_echo "no" >&6; }
|
|
15621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15622 |
printf "%s\n" "no" >&6; }
|
15088 | 15623 |
|
15089 | 15624 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
15090 | 15625 |
_pkg_short_errors_supported=yes
|
|
15110 | 15645 |
and OPENSSL_LIBS to avoid the need to call pkg-config.
|
15111 | 15646 |
See the pkg-config man page for more details." "$LINENO" 5
|
15112 | 15647 |
elif test $pkg_failed = untried; then
|
15113 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15114 | |
$as_echo "no" >&6; }
|
15115 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
15116 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
15648 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15649 |
printf "%s\n" "no" >&6; }
|
|
15650 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
15651 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
15117 | 15652 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
15118 | 15653 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
15119 | 15654 |
path to pkg-config.
|
|
15127 | 15662 |
else
|
15128 | 15663 |
OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
|
15129 | 15664 |
OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
|
15130 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
15131 | |
$as_echo "yes" >&6; }
|
15132 | |
|
15133 | |
fi
|
15134 | |
|
15135 | |
$as_echo "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
|
|
15665 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
15666 |
printf "%s\n" "yes" >&6; }
|
|
15667 |
|
|
15668 |
fi
|
|
15669 |
|
|
15670 |
printf "%s\n" "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
|
15136 | 15671 |
|
15137 | 15672 |
enable_tls_generic="yes"
|
15138 | 15673 |
save_CFLAGS="$CFLAGS"
|
|
15152 | 15687 |
if test "$enable_tls" = "yes"; then
|
15153 | 15688 |
|
15154 | 15689 |
pkg_failed=no
|
15155 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
|
15156 | |
$as_echo_n "checking for GNUTLS... " >&6; }
|
|
15690 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.0.0" >&5
|
|
15691 |
printf %s "checking for gnutls >= 2.0.0... " >&6; }
|
15157 | 15692 |
|
15158 | 15693 |
if test -n "$GNUTLS_CFLAGS"; then
|
15159 | 15694 |
pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
|
15160 | 15695 |
elif test -n "$PKG_CONFIG"; then
|
15161 | 15696 |
if test -n "$PKG_CONFIG" && \
|
15162 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
|
|
15697 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
|
15163 | 15698 |
($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
|
15164 | 15699 |
ac_status=$?
|
15165 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15700 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15166 | 15701 |
test $ac_status = 0; }; then
|
15167 | 15702 |
pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.0.0" 2>/dev/null`
|
15168 | 15703 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15176 | 15711 |
pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
|
15177 | 15712 |
elif test -n "$PKG_CONFIG"; then
|
15178 | 15713 |
if test -n "$PKG_CONFIG" && \
|
15179 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
|
|
15714 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
|
15180 | 15715 |
($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
|
15181 | 15716 |
ac_status=$?
|
15182 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15717 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15183 | 15718 |
test $ac_status = 0; }; then
|
15184 | 15719 |
pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.0.0" 2>/dev/null`
|
15185 | 15720 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15193 | 15728 |
|
15194 | 15729 |
|
15195 | 15730 |
if test $pkg_failed = yes; then
|
15196 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15197 | |
$as_echo "no" >&6; }
|
|
15731 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15732 |
printf "%s\n" "no" >&6; }
|
15198 | 15733 |
|
15199 | 15734 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
15200 | 15735 |
_pkg_short_errors_supported=yes
|
|
15220 | 15755 |
and GNUTLS_LIBS to avoid the need to call pkg-config.
|
15221 | 15756 |
See the pkg-config man page for more details." "$LINENO" 5
|
15222 | 15757 |
elif test $pkg_failed = untried; then
|
15223 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15224 | |
$as_echo "no" >&6; }
|
15225 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
15226 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
15758 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15759 |
printf "%s\n" "no" >&6; }
|
|
15760 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
15761 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
15227 | 15762 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
15228 | 15763 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
15229 | 15764 |
path to pkg-config.
|
|
15237 | 15772 |
else
|
15238 | 15773 |
GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
|
15239 | 15774 |
GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
|
15240 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
15241 | |
$as_echo "yes" >&6; }
|
15242 | |
|
15243 | |
fi
|
15244 | |
|
15245 | |
$as_echo "#define ENABLE_TLS 1" >>confdefs.h
|
|
15775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
15776 |
printf "%s\n" "yes" >&6; }
|
|
15777 |
|
|
15778 |
fi
|
|
15779 |
|
|
15780 |
printf "%s\n" "#define ENABLE_TLS 1" >>confdefs.h
|
15246 | 15781 |
|
15247 | 15782 |
enable_tls_generic="yes"
|
15248 | 15783 |
# Check if we have support for proper cert validation
|
15249 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have gnutls_certificate_set_verify_function" >&5
|
15250 | |
$as_echo_n "checking if we have gnutls_certificate_set_verify_function... " >&6; }
|
|
15784 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have gnutls_certificate_set_verify_function" >&5
|
|
15785 |
printf %s "checking if we have gnutls_certificate_set_verify_function... " >&6; }
|
15251 | 15786 |
save_CFLAGS="$CFLAGS"
|
15252 | 15787 |
CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
|
15253 | 15788 |
save_LIBS="$LIBS"
|
|
15259 | 15794 |
#include <gnutls/x509.h>
|
15260 | 15795 |
|
15261 | 15796 |
int
|
15262 | |
main ()
|
|
15797 |
main (void)
|
15263 | 15798 |
{
|
15264 | 15799 |
|
15265 | 15800 |
gnutls_certificate_set_verify_function(NULL, NULL);
|
|
15268 | 15803 |
return 0;
|
15269 | 15804 |
}
|
15270 | 15805 |
_ACEOF
|
15271 | |
if ac_fn_c_try_link "$LINENO"; then :
|
15272 | |
|
15273 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
15274 | |
$as_echo "yes" >&6; }
|
15275 | |
|
15276 | |
$as_echo "#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1" >>confdefs.h
|
|
15806 |
if ac_fn_c_try_link "$LINENO"
|
|
15807 |
then :
|
|
15808 |
|
|
15809 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
15810 |
printf "%s\n" "yes" >&6; }
|
|
15811 |
|
|
15812 |
printf "%s\n" "#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1" >>confdefs.h
|
15277 | 15813 |
|
15278 | 15814 |
have_gnutls_certificate_set_verify_function=yes
|
15279 | 15815 |
|
15280 | |
else
|
15281 | |
|
15282 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no; authentication disabled" >&5
|
15283 | |
$as_echo "no; authentication disabled" >&6; }
|
|
15816 |
else $as_nop
|
|
15817 |
|
|
15818 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no; authentication disabled" >&5
|
|
15819 |
printf "%s\n" "no; authentication disabled" >&6; }
|
15284 | 15820 |
have_gnutls_certificate_set_verify_function=no
|
15285 | 15821 |
|
15286 | 15822 |
|
15287 | 15823 |
fi
|
15288 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
15824 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
15289 | 15825 |
conftest$ac_exeext conftest.$ac_ext
|
15290 | 15826 |
CFLAGS="$save_CFLAGS"
|
15291 | 15827 |
LIBS="$save_LIBS"
|
|
15309 | 15845 |
|
15310 | 15846 |
if test "$enable_tls_generic" = "yes"; then
|
15311 | 15847 |
|
15312 | |
$as_echo "#define WITH_TLS 1" >>confdefs.h
|
|
15848 |
printf "%s\n" "#define WITH_TLS 1" >>confdefs.h
|
15313 | 15849 |
|
15314 | 15850 |
fi
|
15315 | 15851 |
|
15316 | 15852 |
# enable Openssl TLS
|
15317 | 15853 |
# Check whether --enable-tls-openssl was given.
|
15318 | |
if test "${enable_tls_openssl+set}" = set; then :
|
|
15854 |
if test ${enable_tls_openssl+y}
|
|
15855 |
then :
|
15319 | 15856 |
enableval=$enable_tls_openssl; case "${enableval}" in
|
15320 | 15857 |
yes) enable_tls_openssl="yes" ;;
|
15321 | 15858 |
no) enable_tls_openssl="no" ;;
|
15322 | 15859 |
*) as_fn_error $? "bad value ${enableval} for --enable-tls-openssl" "$LINENO" 5 ;;
|
15323 | 15860 |
esac
|
15324 | |
else
|
|
15861 |
else $as_nop
|
15325 | 15862 |
enable_tls_openssl="no"
|
15326 | 15863 |
|
15327 | 15864 |
fi
|
|
15330 | 15867 |
if test "$enable_tls_openssl" = "yes"; then
|
15331 | 15868 |
|
15332 | 15869 |
pkg_failed=no
|
15333 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
|
15334 | |
$as_echo_n "checking for OPENSSL... " >&6; }
|
|
15870 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
|
|
15871 |
printf %s "checking for openssl... " >&6; }
|
15335 | 15872 |
|
15336 | 15873 |
if test -n "$OPENSSL_CFLAGS"; then
|
15337 | 15874 |
pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
|
15338 | 15875 |
elif test -n "$PKG_CONFIG"; then
|
15339 | 15876 |
if test -n "$PKG_CONFIG" && \
|
15340 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
|
15877 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
15341 | 15878 |
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
|
15342 | 15879 |
ac_status=$?
|
15343 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15880 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15344 | 15881 |
test $ac_status = 0; }; then
|
15345 | 15882 |
pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
|
15346 | 15883 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15354 | 15891 |
pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
|
15355 | 15892 |
elif test -n "$PKG_CONFIG"; then
|
15356 | 15893 |
if test -n "$PKG_CONFIG" && \
|
15357 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
|
15894 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
|
15358 | 15895 |
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
|
15359 | 15896 |
ac_status=$?
|
15360 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15897 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15361 | 15898 |
test $ac_status = 0; }; then
|
15362 | 15899 |
pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
|
15363 | 15900 |
test "x$?" != "x0" && pkg_failed=yes
|
|
15371 | 15908 |
|
15372 | 15909 |
|
15373 | 15910 |
if test $pkg_failed = yes; then
|
15374 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15375 | |
$as_echo "no" >&6; }
|
|
15911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15912 |
printf "%s\n" "no" >&6; }
|
15376 | 15913 |
|
15377 | 15914 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
15378 | 15915 |
_pkg_short_errors_supported=yes
|
|
15398 | 15935 |
and OPENSSL_LIBS to avoid the need to call pkg-config.
|
15399 | 15936 |
See the pkg-config man page for more details." "$LINENO" 5
|
15400 | 15937 |
elif test $pkg_failed = untried; then
|
15401 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15402 | |
$as_echo "no" >&6; }
|
15403 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
15404 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
15938 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
15939 |
printf "%s\n" "no" >&6; }
|
|
15940 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
15941 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
15405 | 15942 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
15406 | 15943 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
15407 | 15944 |
path to pkg-config.
|
|
15415 | 15952 |
else
|
15416 | 15953 |
OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
|
15417 | 15954 |
OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
|
15418 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
15419 | |
$as_echo "yes" >&6; }
|
15420 | |
|
15421 | |
fi
|
15422 | |
|
15423 | |
$as_echo "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
|
|
15955 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
15956 |
printf "%s\n" "yes" >&6; }
|
|
15957 |
|
|
15958 |
fi
|
|
15959 |
|
|
15960 |
printf "%s\n" "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
|
15424 | 15961 |
|
15425 | 15962 |
save_CFLAGS="$CFLAGS"
|
15426 | 15963 |
CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
|
|
15438 | 15975 |
|
15439 | 15976 |
# debug mode settings
|
15440 | 15977 |
# Check whether --enable-debug was given.
|
15441 | |
if test "${enable_debug+set}" = set; then :
|
|
15978 |
if test ${enable_debug+y}
|
|
15979 |
then :
|
15442 | 15980 |
enableval=$enable_debug; case "${enableval}" in
|
15443 | 15981 |
yes) enable_debug="yes" ;;
|
15444 | 15982 |
no) enable_debug="no" ;;
|
15445 | 15983 |
*) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
|
15446 | 15984 |
esac
|
15447 | |
else
|
|
15985 |
else $as_nop
|
15448 | 15986 |
enable_debug="no"
|
15449 | 15987 |
|
15450 | 15988 |
fi
|
15451 | 15989 |
|
15452 | 15990 |
if test "$enable_debug" = "yes"; then
|
15453 | 15991 |
|
15454 | |
$as_echo "#define DEBUG 1" >>confdefs.h
|
|
15992 |
printf "%s\n" "#define DEBUG 1" >>confdefs.h
|
15455 | 15993 |
|
15456 | 15994 |
fi
|
15457 | 15995 |
if test "$enable_debug" = "no"; then
|
15458 | 15996 |
|
15459 | |
$as_echo "#define NDEBUG 1" >>confdefs.h
|
|
15997 |
printf "%s\n" "#define NDEBUG 1" >>confdefs.h
|
15460 | 15998 |
|
15461 | 15999 |
fi
|
15462 | 16000 |
|
15463 | 16001 |
# valgrind
|
15464 | 16002 |
# Check whether --enable-valgrind was given.
|
15465 | |
if test "${enable_valgrind+set}" = set; then :
|
|
16003 |
if test ${enable_valgrind+y}
|
|
16004 |
then :
|
15466 | 16005 |
enableval=$enable_valgrind; case "${enableval}" in
|
15467 | 16006 |
yes) enable_valgrind="yes" ;;
|
15468 | 16007 |
no) enable_valgrind="no" ;;
|
15469 | 16008 |
*) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
|
15470 | 16009 |
esac
|
15471 | |
else
|
|
16010 |
else $as_nop
|
15472 | 16011 |
enable_valgrind="yes"
|
15473 | 16012 |
|
15474 | 16013 |
fi
|
|
15476 | 16015 |
if test "$enable_valgrind" = "yes"; then
|
15477 | 16016 |
# Extract the first word of "valgrind", so it can be a program name with args.
|
15478 | 16017 |
set dummy valgrind; ac_word=$2
|
15479 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
15480 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
15481 | |
if ${ac_cv_prog_VALGRIND+:} false; then :
|
15482 | |
$as_echo_n "(cached) " >&6
|
15483 | |
else
|
|
16018 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
16019 |
printf %s "checking for $ac_word... " >&6; }
|
|
16020 |
if test ${ac_cv_prog_VALGRIND+y}
|
|
16021 |
then :
|
|
16022 |
printf %s "(cached) " >&6
|
|
16023 |
else $as_nop
|
15484 | 16024 |
if test -n "$VALGRIND"; then
|
15485 | 16025 |
ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
|
15486 | 16026 |
else
|
|
15488 | 16028 |
for as_dir in $PATH
|
15489 | 16029 |
do
|
15490 | 16030 |
IFS=$as_save_IFS
|
15491 | |
test -z "$as_dir" && as_dir=.
|
|
16031 |
case $as_dir in #(((
|
|
16032 |
'') as_dir=./ ;;
|
|
16033 |
*/) ;;
|
|
16034 |
*) as_dir=$as_dir/ ;;
|
|
16035 |
esac
|
15492 | 16036 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
15493 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
16037 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
15494 | 16038 |
ac_cv_prog_VALGRIND="valgrind"
|
15495 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
16039 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
15496 | 16040 |
break 2
|
15497 | 16041 |
fi
|
15498 | 16042 |
done
|
|
15504 | 16048 |
fi
|
15505 | 16049 |
VALGRIND=$ac_cv_prog_VALGRIND
|
15506 | 16050 |
if test -n "$VALGRIND"; then
|
15507 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
|
15508 | |
$as_echo "$VALGRIND" >&6; }
|
|
16051 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
|
|
16052 |
printf "%s\n" "$VALGRIND" >&6; }
|
15509 | 16053 |
else
|
15510 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15511 | |
$as_echo "no" >&6; }
|
|
16054 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
16055 |
printf "%s\n" "no" >&6; }
|
15512 | 16056 |
fi
|
15513 | 16057 |
|
15514 | 16058 |
|
|
15553 | 16097 |
case $ac_val in #(
|
15554 | 16098 |
*${as_nl}*)
|
15555 | 16099 |
case $ac_var in #(
|
15556 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
15557 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
16100 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
16101 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
15558 | 16102 |
esac
|
15559 | 16103 |
case $ac_var in #(
|
15560 | 16104 |
_ | IFS | as_nl) ;; #(
|
|
15584 | 16128 |
/^ac_cv_env_/b end
|
15585 | 16129 |
t clear
|
15586 | 16130 |
:clear
|
15587 | |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
16131 |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
|
15588 | 16132 |
t end
|
15589 | 16133 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
15590 | 16134 |
:end' >>confcache
|
15591 | 16135 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
15592 | 16136 |
if test -w "$cache_file"; then
|
15593 | 16137 |
if test "x$cache_file" != "x/dev/null"; then
|
15594 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
15595 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
16138 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
16139 |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
|
15596 | 16140 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
15597 | 16141 |
cat confcache >"$cache_file"
|
15598 | 16142 |
else
|
|
15606 | 16150 |
fi
|
15607 | 16151 |
fi
|
15608 | 16152 |
else
|
15609 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
15610 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
16153 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
16154 |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
|
15611 | 16155 |
fi
|
15612 | 16156 |
fi
|
15613 | 16157 |
rm -f confcache
|
|
15624 | 16168 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
15625 | 16169 |
# 1. Remove the extension, and $U if already installed.
|
15626 | 16170 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
15627 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
16171 |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
|
15628 | 16172 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
15629 | 16173 |
# will be set to the directory where LIBOBJS objects are built.
|
15630 | 16174 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
15635 | 16179 |
LTLIBOBJS=$ac_ltlibobjs
|
15636 | 16180 |
|
15637 | 16181 |
|
15638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
15639 | |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
16182 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
16183 |
printf %s "checking that generated files are newer than configure... " >&6; }
|
15640 | 16184 |
if test -n "$am_sleep_pid"; then
|
15641 | 16185 |
# Hide warnings about reused PIDs.
|
15642 | 16186 |
wait $am_sleep_pid 2>/dev/null
|
15643 | 16187 |
fi
|
15644 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
15645 | |
$as_echo "done" >&6; }
|
|
16188 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
16189 |
printf "%s\n" "done" >&6; }
|
15646 | 16190 |
if test -n "$EXEEXT"; then
|
15647 | 16191 |
am__EXEEXT_TRUE=
|
15648 | 16192 |
am__EXEEXT_FALSE='#'
|
|
15704 | 16248 |
ac_write_fail=0
|
15705 | 16249 |
ac_clean_files_save=$ac_clean_files
|
15706 | 16250 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
15707 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
15708 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
16251 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
16252 |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
|
15709 | 16253 |
as_write_fail=0
|
15710 | 16254 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
15711 | 16255 |
#! $SHELL
|
|
15728 | 16272 |
|
15729 | 16273 |
# Be more Bourne compatible
|
15730 | 16274 |
DUALCASE=1; export DUALCASE # for MKS sh
|
15731 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
16275 |
as_nop=:
|
|
16276 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
16277 |
then :
|
15732 | 16278 |
emulate sh
|
15733 | 16279 |
NULLCMD=:
|
15734 | 16280 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
15735 | 16281 |
# is contrary to our usage. Disable this feature.
|
15736 | 16282 |
alias -g '${1+"$@"}'='"$@"'
|
15737 | 16283 |
setopt NO_GLOB_SUBST
|
15738 | |
else
|
|
16284 |
else $as_nop
|
15739 | 16285 |
case `(set -o) 2>/dev/null` in #(
|
15740 | 16286 |
*posix*) :
|
15741 | 16287 |
set -o posix ;; #(
|
|
15745 | 16291 |
fi
|
15746 | 16292 |
|
15747 | 16293 |
|
|
16294 |
|
|
16295 |
# Reset variables that may have inherited troublesome values from
|
|
16296 |
# the environment.
|
|
16297 |
|
|
16298 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
16299 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
16300 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
16301 |
# Quoting is to prevent editors from complaining about space-tab.
|
15748 | 16302 |
as_nl='
|
15749 | 16303 |
'
|
15750 | 16304 |
export as_nl
|
15751 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
15752 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
15753 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
15754 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
15755 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
15756 | |
# but without wasting forks for bash or zsh.
|
15757 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
15758 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
15759 | |
as_echo='print -r --'
|
15760 | |
as_echo_n='print -rn --'
|
15761 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
15762 | |
as_echo='printf %s\n'
|
15763 | |
as_echo_n='printf %s'
|
15764 | |
else
|
15765 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
15766 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
15767 | |
as_echo_n='/usr/ucb/echo -n'
|
15768 | |
else
|
15769 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
15770 | |
as_echo_n_body='eval
|
15771 | |
arg=$1;
|
15772 | |
case $arg in #(
|
15773 | |
*"$as_nl"*)
|
15774 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
15775 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
15776 | |
esac;
|
15777 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
15778 | |
'
|
15779 | |
export as_echo_n_body
|
15780 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
15781 | |
fi
|
15782 | |
export as_echo_body
|
15783 | |
as_echo='sh -c $as_echo_body as_echo'
|
15784 | |
fi
|
|
16305 |
IFS=" "" $as_nl"
|
|
16306 |
|
|
16307 |
PS1='$ '
|
|
16308 |
PS2='> '
|
|
16309 |
PS4='+ '
|
|
16310 |
|
|
16311 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
16312 |
LC_ALL=C
|
|
16313 |
export LC_ALL
|
|
16314 |
LANGUAGE=C
|
|
16315 |
export LANGUAGE
|
|
16316 |
|
|
16317 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
16318 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
16319 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
16320 |
# also avoids known problems related to "unset" and subshell syntax
|
|
16321 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
16322 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
16323 |
do eval test \${$as_var+y} \
|
|
16324 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
16325 |
done
|
|
16326 |
|
|
16327 |
# Ensure that fds 0, 1, and 2 are open.
|
|
16328 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
16329 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
16330 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
15785 | 16331 |
|
15786 | 16332 |
# The user is always right.
|
15787 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
16333 |
if ${PATH_SEPARATOR+false} :; then
|
15788 | 16334 |
PATH_SEPARATOR=:
|
15789 | 16335 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
15790 | 16336 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
15792 | 16338 |
}
|
15793 | 16339 |
fi
|
15794 | 16340 |
|
15795 | |
|
15796 | |
# IFS
|
15797 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
15798 | |
# there to prevent editors from complaining about space-tab.
|
15799 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
15800 | |
# splitting by setting IFS to empty value.)
|
15801 | |
IFS=" "" $as_nl"
|
15802 | 16341 |
|
15803 | 16342 |
# Find who we are. Look in the path if we contain no directory separator.
|
15804 | 16343 |
as_myself=
|
|
15808 | 16347 |
for as_dir in $PATH
|
15809 | 16348 |
do
|
15810 | 16349 |
IFS=$as_save_IFS
|
15811 | |
test -z "$as_dir" && as_dir=.
|
15812 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
16350 |
case $as_dir in #(((
|
|
16351 |
'') as_dir=./ ;;
|
|
16352 |
*/) ;;
|
|
16353 |
*) as_dir=$as_dir/ ;;
|
|
16354 |
esac
|
|
16355 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
15813 | 16356 |
done
|
15814 | 16357 |
IFS=$as_save_IFS
|
15815 | 16358 |
|
|
15821 | 16364 |
as_myself=$0
|
15822 | 16365 |
fi
|
15823 | 16366 |
if test ! -f "$as_myself"; then
|
15824 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
16367 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
15825 | 16368 |
exit 1
|
15826 | 16369 |
fi
|
15827 | 16370 |
|
15828 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
15829 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
15830 | |
# suppresses any "Segmentation fault" message there. '((' could
|
15831 | |
# trigger a bug in pdksh 5.2.14.
|
15832 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
15833 | |
do eval test x\${$as_var+set} = xset \
|
15834 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
15835 | |
done
|
15836 | |
PS1='$ '
|
15837 | |
PS2='> '
|
15838 | |
PS4='+ '
|
15839 | |
|
15840 | |
# NLS nuisances.
|
15841 | |
LC_ALL=C
|
15842 | |
export LC_ALL
|
15843 | |
LANGUAGE=C
|
15844 | |
export LANGUAGE
|
15845 | |
|
15846 | |
# CDPATH.
|
15847 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
15848 | 16371 |
|
15849 | 16372 |
|
15850 | 16373 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
15857 | 16380 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
15858 | 16381 |
if test "$4"; then
|
15859 | 16382 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
15860 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
16383 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
15861 | 16384 |
fi
|
15862 | |
$as_echo "$as_me: error: $2" >&2
|
|
16385 |
printf "%s\n" "$as_me: error: $2" >&2
|
15863 | 16386 |
as_fn_exit $as_status
|
15864 | 16387 |
} # as_fn_error
|
|
16388 |
|
15865 | 16389 |
|
15866 | 16390 |
|
15867 | 16391 |
# as_fn_set_status STATUS
|
|
15890 | 16414 |
{ eval $1=; unset $1;}
|
15891 | 16415 |
}
|
15892 | 16416 |
as_unset=as_fn_unset
|
|
16417 |
|
15893 | 16418 |
# as_fn_append VAR VALUE
|
15894 | 16419 |
# ----------------------
|
15895 | 16420 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
15896 | 16421 |
# advantage of any shell optimizations that allow amortized linear growth over
|
15897 | 16422 |
# repeated appends, instead of the typical quadratic growth present in naive
|
15898 | 16423 |
# implementations.
|
15899 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
16424 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
16425 |
then :
|
15900 | 16426 |
eval 'as_fn_append ()
|
15901 | 16427 |
{
|
15902 | 16428 |
eval $1+=\$2
|
15903 | 16429 |
}'
|
15904 | |
else
|
|
16430 |
else $as_nop
|
15905 | 16431 |
as_fn_append ()
|
15906 | 16432 |
{
|
15907 | 16433 |
eval $1=\$$1\$2
|
|
15913 | 16439 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
15914 | 16440 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
15915 | 16441 |
# must be portable across $(()) and expr.
|
15916 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
16442 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
16443 |
then :
|
15917 | 16444 |
eval 'as_fn_arith ()
|
15918 | 16445 |
{
|
15919 | 16446 |
as_val=$(( $* ))
|
15920 | 16447 |
}'
|
15921 | |
else
|
|
16448 |
else $as_nop
|
15922 | 16449 |
as_fn_arith ()
|
15923 | 16450 |
{
|
15924 | 16451 |
as_val=`expr "$@" || test $? -eq 1`
|
|
15949 | 16476 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
15950 | 16477 |
X"$0" : 'X\(//\)$' \| \
|
15951 | 16478 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
15952 | |
$as_echo X/"$0" |
|
|
16479 |
printf "%s\n" X/"$0" |
|
15953 | 16480 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
15954 | 16481 |
s//\1/
|
15955 | 16482 |
q
|
|
15971 | 16498 |
as_cr_digits='0123456789'
|
15972 | 16499 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
15973 | 16500 |
|
|
16501 |
|
|
16502 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
16503 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
16504 |
# for compatibility with existing Makefiles.
|
15974 | 16505 |
ECHO_C= ECHO_N= ECHO_T=
|
15975 | 16506 |
case `echo -n x` in #(((((
|
15976 | 16507 |
-n*)
|
|
15983 | 16514 |
*)
|
15984 | 16515 |
ECHO_N='-n';;
|
15985 | 16516 |
esac
|
|
16517 |
|
|
16518 |
# For backward compatibility with old third-party macros, we provide
|
|
16519 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
16520 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
16521 |
as_echo='printf %s\n'
|
|
16522 |
as_echo_n='printf %s'
|
15986 | 16523 |
|
15987 | 16524 |
rm -f conf$$ conf$$.exe conf$$.file
|
15988 | 16525 |
if test -d conf$$.dir; then
|
|
16025 | 16562 |
as_dirs=
|
16026 | 16563 |
while :; do
|
16027 | 16564 |
case $as_dir in #(
|
16028 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
16565 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
16029 | 16566 |
*) as_qdir=$as_dir;;
|
16030 | 16567 |
esac
|
16031 | 16568 |
as_dirs="'$as_qdir' $as_dirs"
|
|
16034 | 16571 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
16035 | 16572 |
X"$as_dir" : 'X\(//\)$' \| \
|
16036 | 16573 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
16037 | |
$as_echo X"$as_dir" |
|
|
16574 |
printf "%s\n" X"$as_dir" |
|
16038 | 16575 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
16039 | 16576 |
s//\1/
|
16040 | 16577 |
q
|
|
16097 | 16634 |
# values after options handling.
|
16098 | 16635 |
ac_log="
|
16099 | 16636 |
This file was extended by librelp $as_me 1.10.0, which was
|
16100 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
16637 |
generated by GNU Autoconf 2.71. Invocation command line was
|
16101 | 16638 |
|
16102 | 16639 |
CONFIG_FILES = $CONFIG_FILES
|
16103 | 16640 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
16159 | 16696 |
Report bugs to <rgerhards@adiscon.com>."
|
16160 | 16697 |
|
16161 | 16698 |
_ACEOF
|
|
16699 |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
|
|
16700 |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
|
16162 | 16701 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
16163 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
16702 |
ac_cs_config='$ac_cs_config_escaped'
|
16164 | 16703 |
ac_cs_version="\\
|
16165 | 16704 |
librelp config.status 1.10.0
|
16166 | |
configured by $0, generated by GNU Autoconf 2.69,
|
|
16705 |
configured by $0, generated by GNU Autoconf 2.71,
|
16167 | 16706 |
with options \\"\$ac_cs_config\\"
|
16168 | 16707 |
|
16169 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
16708 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
16170 | 16709 |
This config.status script is free software; the Free Software Foundation
|
16171 | 16710 |
gives unlimited permission to copy, distribute and modify it."
|
16172 | 16711 |
|
|
16206 | 16745 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
16207 | 16746 |
ac_cs_recheck=: ;;
|
16208 | 16747 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
16209 | |
$as_echo "$ac_cs_version"; exit ;;
|
|
16748 |
printf "%s\n" "$ac_cs_version"; exit ;;
|
16210 | 16749 |
--config | --confi | --conf | --con | --co | --c )
|
16211 | |
$as_echo "$ac_cs_config"; exit ;;
|
|
16750 |
printf "%s\n" "$ac_cs_config"; exit ;;
|
16212 | 16751 |
--debug | --debu | --deb | --de | --d | -d )
|
16213 | 16752 |
debug=: ;;
|
16214 | 16753 |
--file | --fil | --fi | --f )
|
16215 | 16754 |
$ac_shift
|
16216 | 16755 |
case $ac_optarg in
|
16217 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
16756 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
16218 | 16757 |
'') as_fn_error $? "missing file argument" ;;
|
16219 | 16758 |
esac
|
16220 | 16759 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
16222 | 16761 |
--header | --heade | --head | --hea )
|
16223 | 16762 |
$ac_shift
|
16224 | 16763 |
case $ac_optarg in
|
16225 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
16764 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
16226 | 16765 |
esac
|
16227 | 16766 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
16228 | 16767 |
ac_need_defaults=false;;
|
|
16231 | 16770 |
as_fn_error $? "ambiguous option: \`$1'
|
16232 | 16771 |
Try \`$0 --help' for more information.";;
|
16233 | 16772 |
--help | --hel | -h )
|
16234 | |
$as_echo "$ac_cs_usage"; exit ;;
|
|
16773 |
printf "%s\n" "$ac_cs_usage"; exit ;;
|
16235 | 16774 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
16236 | 16775 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
16237 | 16776 |
ac_cs_silent=: ;;
|
|
16259 | 16798 |
if \$ac_cs_recheck; then
|
16260 | 16799 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
16261 | 16800 |
shift
|
16262 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
16801 |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
|
16263 | 16802 |
CONFIG_SHELL='$SHELL'
|
16264 | 16803 |
export CONFIG_SHELL
|
16265 | 16804 |
exec "\$@"
|
|
16273 | 16812 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
16274 | 16813 |
## Running $as_me. ##
|
16275 | 16814 |
_ASBOX
|
16276 | |
$as_echo "$ac_log"
|
|
16815 |
printf "%s\n" "$ac_log"
|
16277 | 16816 |
} >&5
|
16278 | 16817 |
|
16279 | 16818 |
_ACEOF
|
|
16594 | 17133 |
# We use the long form for the default assignment because of an extremely
|
16595 | 17134 |
# bizarre bug on SunOS 4.1.3.
|
16596 | 17135 |
if $ac_need_defaults; then
|
16597 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
16598 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
16599 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
17136 |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
|
17137 |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
|
17138 |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
16600 | 17139 |
fi
|
16601 | 17140 |
|
16602 | 17141 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
16932 | 17471 |
esac ||
|
16933 | 17472 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
16934 | 17473 |
esac
|
16935 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
17474 |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
16936 | 17475 |
as_fn_append ac_file_inputs " '$ac_f'"
|
16937 | 17476 |
done
|
16938 | 17477 |
|
|
16940 | 17479 |
# use $as_me), people would be surprised to read:
|
16941 | 17480 |
# /* config.h. Generated by config.status. */
|
16942 | 17481 |
configure_input='Generated from '`
|
16943 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
17482 |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
16944 | 17483 |
`' by configure.'
|
16945 | 17484 |
if test x"$ac_file" != x-; then
|
16946 | 17485 |
configure_input="$ac_file. $configure_input"
|
16947 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
16948 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
17486 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
17487 |
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
16949 | 17488 |
fi
|
16950 | 17489 |
# Neutralize special characters interpreted by sed in replacement strings.
|
16951 | 17490 |
case $configure_input in #(
|
16952 | 17491 |
*\&* | *\|* | *\\* )
|
16953 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
17492 |
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
16954 | 17493 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
16955 | 17494 |
*) ac_sed_conf_input=$configure_input;;
|
16956 | 17495 |
esac
|
|
16967 | 17506 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
16968 | 17507 |
X"$ac_file" : 'X\(//\)$' \| \
|
16969 | 17508 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
16970 | |
$as_echo X"$ac_file" |
|
|
17509 |
printf "%s\n" X"$ac_file" |
|
16971 | 17510 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
16972 | 17511 |
s//\1/
|
16973 | 17512 |
q
|
|
16991 | 17530 |
case "$ac_dir" in
|
16992 | 17531 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
16993 | 17532 |
*)
|
16994 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
17533 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
16995 | 17534 |
# A ".." for each directory in $ac_dir_suffix.
|
16996 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
17535 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
16997 | 17536 |
case $ac_top_builddir_sub in
|
16998 | 17537 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
16999 | 17538 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
17055 | 17594 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
17056 | 17595 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
17057 | 17596 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
17058 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
17059 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
17597 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
17598 |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
17060 | 17599 |
_ACEOF
|
17061 | 17600 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
17062 | 17601 |
ac_datarootdir_hack='
|
|
17100 | 17639 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
17101 | 17640 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
17102 | 17641 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
17103 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
17642 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
17104 | 17643 |
which seems to be undefined. Please make sure it is defined" >&5
|
17105 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
17644 |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
17106 | 17645 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
17107 | 17646 |
|
17108 | 17647 |
rm -f "$ac_tmp/stdin"
|
|
17118 | 17657 |
#
|
17119 | 17658 |
if test x"$ac_file" != x-; then
|
17120 | 17659 |
{
|
17121 | |
$as_echo "/* $configure_input */" \
|
|
17660 |
printf "%s\n" "/* $configure_input */" >&1 \
|
17122 | 17661 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
17123 | 17662 |
} >"$ac_tmp/config.h" \
|
17124 | 17663 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
17125 | 17664 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
17126 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
17127 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
17665 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
17666 |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
17128 | 17667 |
else
|
17129 | 17668 |
rm -f "$ac_file"
|
17130 | 17669 |
mv "$ac_tmp/config.h" "$ac_file" \
|
17131 | 17670 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
17132 | 17671 |
fi
|
17133 | 17672 |
else
|
17134 | |
$as_echo "/* $configure_input */" \
|
|
17673 |
printf "%s\n" "/* $configure_input */" >&1 \
|
17135 | 17674 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
17136 | 17675 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
17137 | 17676 |
fi
|
|
17151 | 17690 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
17152 | 17691 |
X"$_am_arg" : 'X\(//\)$' \| \
|
17153 | 17692 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
17154 | |
$as_echo X"$_am_arg" |
|
|
17693 |
printf "%s\n" X"$_am_arg" |
|
17155 | 17694 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
17156 | 17695 |
s//\1/
|
17157 | 17696 |
q
|
|
17171 | 17710 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
17172 | 17711 |
;;
|
17173 | 17712 |
|
17174 | |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
17175 | |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
17713 |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
17714 |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
17176 | 17715 |
;;
|
17177 | 17716 |
esac
|
17178 | 17717 |
|
|
17198 | 17737 |
for am_mf
|
17199 | 17738 |
do
|
17200 | 17739 |
# Strip MF so we end up with the name of the file.
|
17201 | |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
|
17740 |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
17202 | 17741 |
# Check whether this is an Automake generated Makefile which includes
|
17203 | 17742 |
# dependency-tracking related rules and includes.
|
17204 | 17743 |
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
17210 | 17749 |
X"$am_mf" : 'X\(//\)[^/]' \| \
|
17211 | 17750 |
X"$am_mf" : 'X\(//\)$' \| \
|
17212 | 17751 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
17213 | |
$as_echo X"$am_mf" |
|
|
17752 |
printf "%s\n" X"$am_mf" |
|
17214 | 17753 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
17215 | 17754 |
s//\1/
|
17216 | 17755 |
q
|
|
17232 | 17771 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
17233 | 17772 |
X"$am_mf" : 'X\(//\)$' \| \
|
17234 | 17773 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
17235 | |
$as_echo X/"$am_mf" |
|
|
17774 |
printf "%s\n" X/"$am_mf" |
|
17236 | 17775 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
17237 | 17776 |
s//\1/
|
17238 | 17777 |
q
|
|
17257 | 17796 |
(exit $ac_status); } || am_rc=$?
|
17258 | 17797 |
done
|
17259 | 17798 |
if test $am_rc -ne 0; then
|
17260 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
17261 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
17799 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
17800 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
17262 | 17801 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
17263 | |
for automatic dependency tracking. Try re-running configure with the
|
|
17802 |
for automatic dependency tracking. If GNU make was not used, consider
|
|
17803 |
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
17804 |
necessary). You can also try re-running configure with the
|
17264 | 17805 |
'--disable-dependency-tracking' option to at least be able to build
|
17265 | 17806 |
the package (albeit without support for automatic dependency tracking).
|
17266 | 17807 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
17799 | 18340 |
esac
|
17800 | 18341 |
|
17801 | 18342 |
|
|
18343 |
|
17802 | 18344 |
ltmain=$ac_aux_dir/ltmain.sh
|
17803 | 18345 |
|
17804 | 18346 |
|
|
17848 | 18390 |
$ac_cs_success || as_fn_exit 1
|
17849 | 18391 |
fi
|
17850 | 18392 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
17851 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
17852 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
18393 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
18394 |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
17853 | 18395 |
fi
|
17854 | 18396 |
|
17855 | 18397 |
|
|
17864 | 18406 |
echo "OPENSSL enabled: $enable_tls_openssl"
|
17865 | 18407 |
echo "generic TLS tests enabled: $enable_tls_generic"
|
17866 | 18408 |
|
|
18409 |
|